﻿@charset "utf-8";
.b1-a {
    color: #fff;
    background: #005aa8;
    padding: 12px 30px;
    position: relative;
    top: 20px;
    border-radius: 20px;
}
.b1-a:hover{
    color:#005aa8;
    background:#fff;
    border:1px solid #005aa8;
}
.b2-a {
    color: #fff;
    position: relative;
    top: 20px;
    background: #ff6a00;
    padding: 12px 30px;
    margin: 0 30px;
    border-radius: 20px;
}

    .b2-a:hover {
        color: #ff6a00;
        background: #fff;
        border: 1px solid #ff6a00;
    }
body {
    font-family: Helvetica, Arial, Verdana;
   
    margin: 15px 0 0 0;
    font-size: 12px;
}
.zt {
    width: 100%;
    background: #d9e8fb;
    height: 41px;
    display:block
}
.choose {
    width: 1225px;
    
    line-height: 39px;
    margin: 0 auto;
    
}
.back {
    float: left;
  
    color: #005aa8;
    font-size: 14px;
}
.fen {
    float: right;
    margin-right: 50px;
}
    .fen > a {
        
        color: #005aa8;
        margin: 0 14px;
        font-size: 14px;
    }
        .fen > a:hover {
            color: #ff6a00;
            border-bottom: 2px solid #ff6a00;
        }
        .fen > a.active {
            color: #ff6a00;
            border-bottom: 2px solid #ff6a00;
        }
.container {
    position: relative;
    width: 1260px;
    margin: 0 auto;
    -webkit-transition: all 1s ease;
    -moz-transition: all 1s ease;
    -o-transition: all 1s ease;
    transition: all 1s ease;
}
/* filters */
#filters {
    margin: 1%;
    padding: 0;
    list-style: none;
}

    #filters li {
        float: left;
    }

        #filters li span {
            display: block;
            padding: 5px 20px;
            text-decoration: none;
            color: #666;
            cursor: pointer;
            font-size: 14px;
        }

            #filters li span.active {
                background: #005aa8;
                color: #fff;
            }

#portfoliolist .portfolio {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -o-box-sizing: border-box;
    width: 31%;
    *width: 30%;
    margin: 1%;
    display: none;
    float: left;
    overflow: hidden;
    box-shadow: 2px 2px 8px #e8e8e8
}
#portfoliolist1 .portfolio {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -o-box-sizing: border-box;
    width: 31%;
    *width: 30%;
    margin: 1%;
    display: none;
    float: left;
    overflow: hidden;
    box-shadow: 2px 2px 8px #e8e8e8
}
#portfoliolist2 .portfolio {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -o-box-sizing: border-box;
    width: 31%;
    *width: 30%;
    margin: 1%;
    display: none;
    float: left;
    overflow: hidden;
    box-shadow: 2px 2px 8px #e8e8e8
}
.portfolio-wrapper {
    overflow: hidden;
    position: relative !important;
    background: #666;
    
  cursor:pointer
    

}
.portfolio{
    
}
.portfolio img {
    max-width: 100%;
    position: relative;
}

.portfolio .label {
    position: absolute;
    width: 100%;
    height: 40px;
    bottom: -40px;
    left: 0;
}

.portfolio .label-bg {
    background: #005aa8;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.portfolio .label-text {
    color: #fff;
    position: relative;
    z-index: 500;
    padding: 5px 8px;
    font-size:14px;
    line-height:30px;
}

.portfolio .text-category {
    display: block;
    font-size: 9px;
}

.text-title {
    font-size: 16px;
    font-weight: 600;
   
    padding-left: 10px;
    padding-top: 10px;
}
.detail {
    cursor: pointer;
    color: #005aa8;
    border-bottom: 1px solid #005aa8
}
.detail:hover{
    color:#ff6a00
}
.text-detail:hover {
    color: #ff6a00
}
.text-detail {
color: #005aa8;
    font-size: 14px;
    line-height: 30px;
    padding-left: 10px;
    cursor: pointer;
}
.text-content {
    color: #777;
    line-height: 20px;
    padding-bottom: 22px;
    border-bottom: 1px solid #005aa8;
    margin-bottom: 20px;
    height: 76px;
    overflow: hidden;
    text-align: justify;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    padding:8px;
}
    /* #Tablet (Portrait) */
    @media only screen and (min-width:768px) and (max-width:959px) {
        .container {
        width: 768px;
    }
}


/*  #Mobile (Portrait) - Note:Design for a width of 320px */
@media only screen and (max-width:767px) {
    .container {
        width: 95%;
    }

    #portfoliolist .portfolio {
        width: 48%;
        margin: 1%;
    }
    #portfoliolist1 .portfolio {
        width: 48%;
        margin: 1%;
    }
    #portfoliolist2 .portfolio {
        width: 48%;
        margin: 1%;
    }
}


/* #Mobile (Landscape) - Note:Design for a width of 480px */
@media only screen and (min-width:480px) and (max-width:767px) {
    .container {
        width: 70%;
    }
}

/* #Clearing */

/* Self Clearing Goodness */
.container:after {
    content: "\0020";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}

.clearfix:before, .clearfix:after, .row:before, .row:after {
    content: '\0020';
    display: block;
    overflow: hidden;
    visibility: hidden;
    width: 0;
    height: 0;
}

.row:after, .clearfix:after {
    clear: both;
}

.row, .clearfix {
    zoom: 1;
}
