/*------------ product-list ------------*/
.product-list {
    margin: 0 -15px;
}
.product-list li {
    width: calc((100% / 3) - 0.1px);
    padding: 0 15px 50px;
}
.product-list li:nth-child(3n+1) {
    clear: left;
}
.product-list > li .box {
    max-width: 346px;
    margin-left: auto;
    margin-right: auto;
}
.product-list .text {
    text-align: center;
    margin: 0 auto;
    background: rgba(12, 36, 64, 0.9);
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 40px;
    padding-left: 10px;
    padding-right: 10px;
    box-sizing: border-box;
    transition:all .3s ease;
}
.product-list .box:hover .text  {
    bottom:-40px;
}
.product-list .name {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 18px;
    color: #FFF;
    margin: 0;
    line-height: 40px;
    font-weight: 400;
}
.product-list .box{
    position: relative;
    box-sizing: border-box;
    overflow:hidden;
}
.product-list .cover {
    font-size: 0;
    position: absolute !important;
    width: 100%;
    top: 0;
    left: 0;
    height: 100%;
    z-index: 130;
}
.product-list .box:before {
    content: "";
    top: 0px;
    left: 0px;
    right: 1px;
    bottom: -2px;
    width: calc(100% - 2px);
    height: calc(100% - 2px);
    border: 1px solid rgba(0, 255, 255, 0.8);
    z-index: 50;
    position: absolute;
    opacity: 0;
    transition: all .3s ease;
}
.product-list .box:hover:before  {
    opacity: 1;
}
.product-list .box:hover  {
    box-shadow: 0px 2px 10px 0px rgb(0 255 255 / 80%);
}
.product-list .page-portfolio{
    position: relative;
}
.product-list .page-portfolio img{ 
    min-height: 241px;
    object-fit: cover;
}
.product-list .box:hover .portfolio-overlay {
    opacity: 1;
    z-index: 1;
}
.product-list .page-portfolio .portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    background: rgba(0, 124, 186, 0.80);
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0;
    transition-duration: 0.3s;
    -webkit-transition-duration: 0.3s;
    -o-transition-duration: 0.3s;
    pointer-events: none;
}
.product-list .page-portfolio .portfolio-overlay span{
    border-radius: 300px;
    transition: all 0.27s ease-in;
    -webkit-transition: all 0.27s ease-in;
    -o-transition: all 0.27s ease-in;
}
.product-list .page-portfolio .portfolio-overlay span:nth-child(1) {
    display: block;
    width: 3px;
    background:#fff;
    position: absolute;
    left: 0px;
    top: 0px;
}
.product-list .box:hover .portfolio-overlay span:nth-child(1) {
    height: 22px;
    left: 20px;
    top:20px;
}
.product-list .page-portfolio .portfolio-overlay span:nth-child(2) {
    display: block;
    background: #fff;
    position: absolute;
    left: 0px;
    top: 0px;
    height: 3px;
}
.product-list .box:hover .portfolio-overlay span:nth-child(2) {
    width: 22px;
    left: 20px;
    top:20px;
}
.product-list .page-portfolio .portfolio-overlay span:nth-child(3) {
    display: block;
    width: 3px;
    background:#fff;
    position: absolute;
    right: 0;
    top:0;
}
.product-list .box:hover .portfolio-overlay span:nth-child(3) {
    height: 22px;
    right: 20px;
    top: 20px;
}
.product-list .page-portfolio .portfolio-overlay span:nth-child(4) {
    display: block;
    background:#fff;
    position: absolute;
    height: 3px;
    right: 0;
    top:0;
}
.product-list .box:hover .portfolio-overlay span:nth-child(4) {
    width: 22px;
    right: 20px;
    top: 20px;
}
.product-list .page-portfolio .portfolio-overlay span:nth-child(5) {
    display: block;
    width: 3px;
    height: 0;
    background:#fff;
    position: absolute;
    left: 0px;
    bottom:  0px;
}
.product-list .box:hover .portfolio-overlay span:nth-child(5) {
    height: 22px;
    left: 20px;
    bottom:  20px;
}
.product-list .page-portfolio .portfolio-overlay span:nth-child(6) {
    display: block;
    background:#fff;
    position: absolute;
    left: 0px;
    bottom:  0px;
    width: 0px;
    height: 3px;
}
.product-list .box:hover .portfolio-overlay span:nth-child(6) {
    width: 22px;
    left: 20px;
    bottom:  20px;
}
.product-list .page-portfolio .portfolio-overlay span:nth-child(7) {
    display: block;
    width: 3px;
    height: 0;
    background:#fff;
    position: absolute;
    right: 0px;
    bottom:  0px;
}
.product-list .box:hover .portfolio-overlay span:nth-child(7) {
    height: 22px;
    right: 20px;
    bottom:  20px;
}
.product-list .page-portfolio .portfolio-overlay span:nth-child(8) {
    display: block;
    background:#fff;
    position: absolute;
    right: 0px;
    bottom:  0px;
    width: 0px;
    height: 3px;
}
.product-list .box:hover .portfolio-overlay span:nth-child(8) {
    width: 22px;
    right: 20px;
    bottom:  20px;
}
.product-list .page-portfolio .overlay-text{
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    flex-direction: column;
    opacity: 0;
    transition: all .3s ease;
}
.product-list .page-portfolio .overlay-text p{
    color: #FFF;
    font-size: 24px;
    font-family: 'Roboto Mono', monospace;
    font-weight: bold;
    margin-bottom: 1px;
    padding: 0;
    letter-spacing: -1px;
    margin: 0;
}
.product-list .page-portfolio .overlay-text div{
    width: 83px;
    height: 4px;
    background: #FFFFFF;
    margin-top: 1px;
}
.product-list .box:hover .overlay-text {
    opacity: 1;
}
/*------------ search-list ------------*/
.search-title {
    font-size: 22px;
    margin: 0 0 15px;
    font-weight: bold;
    color: #007cba;
}
/*------------ detail ------------*/
.products-info {
    margin-bottom: 40px;
}
.products-info .product-brand {
    font-size: 18px;
    line-height: 24px;
    margin: 0 0 5px;
    font-weight: bold;
    color: #0062D0;
}
.products-info .product-name {
    font-size: 22px;
    line-height: 28px;
    margin: 0 0 15px;
    font-weight: bold;
    color: #444444;
}
.products-info .txt {
    float: right;
    width: 37.8%;
    box-sizing: border-box;
}
.products-info .slider {
    float: left;
    width: 62%;
    padding: 0 30px 0 0;
    box-sizing: border-box;
}
.products-info .query-btn{
    display: block;
    color: #FFFFFF;
    font-size: 18px;
    text-align: center;
    width: 150px;
    height: 60px;
    line-height: 60px;
    transition: all .3s ease;
    background: #0062D0;
    margin-top: 25px;
}
.products-info .query-btn:hover{
    background: #0C2440;
}
.thumbnails ul {
    margin: 0 -4px;
}
.thumbnails li {
    width: 50%;
    padding: 0px 4px 7px;
    transition: all .2s;
}
.thumbnails li:hover,
.thumbnails li.active {
    opacity: .7;
    transition: all .2s;
}
/*------------ products-title ------------*/
.products-title {
    color: #5D5D5D;
    font-family: 'Ubuntu Condensed', sans-serif;
    font-size: 20px;
    text-align: center;
    line-height: 19px;
    letter-spacing: 3px;
    margin: 0 0 35px;
    position: relative;
}
.products-title span {
    background: #fff;
    display: inline-block;
    position: relative;
    z-index: 10;
    padding: 0 10px;
    border-left: 1px solid #D6D6D6;
    border-right: 1px solid #D6D6D6;
}
.products-title:before,
.products-title:after {
    content: "";
    width: 50%;
    height: 1px;
    display: block;
    background: #EEEEEE;
    top: 50%;
    left: 0;
    position: absolute;
}
.products-title:after {
    left: auto;
    right: 0;
}


.top-box {
    display: flex;
    margin-bottom: 52px;
    z-index: 150;
    position: relative;
}
.top-box > div {
    position: relative;
}
.top-box .top-btn {
    width: 300px;
    height: 60px;
    background: #FFF;
    box-shadow: 0px 2px 9px 0px #8282823b;
    line-height: 60px;
    color: #444444;
    font-size: 18px;
    text-align: center;
    display: block;
    transition: all .3s ease;
    position: relative;
}
.top-box .top-btn:hover, .top-box > div.active .top-btn{
    color: #FFF;
    background: #0062D0;
}
.top-box > div:nth-child(1) {
    margin-right: 20px;
}
.top-btn.btn-2:before{
    font-family: 'icon-font' !important;
    content: "\f107";
    font-size: 24px;
    color: #0062D0;
    position: absolute;
    right: 62px;
    top: 0;
    transition: all .3s ease;
}
.top-box > div.active .top-btn.btn-2:before,.top-btn.btn-2:hover:before{
    color: #FFF;
}
.top-box .list-box{
    width: 600px;
    box-sizing: border-box;
    padding: 20px 20px;
    box-shadow: 0px 4px 10px 3px #8282823b;
    position: absolute;
    left: calc(50% - 300px);
    top: 64px;
    background: #FFF;
    transition: all .6s ease;
    opacity: 0;
    visibility: hidden;
    padding-top: 35px;
    z-index: 51;
}
.top-box > div.active .list-box{
    opacity: 1;
    visibility: visible;
}
.top-box .list-box:before{
    content: "";
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 10px 13px 10px;
    border-color: transparent transparent #ffffff transparent;
    position: absolute;
    left: calc(50% - 10px);
    top: -12px;
    -webkit-filter: drop-shadow(0px -4px 3px #8282823b);
    filter: drop-shadow(0px -4px 3px #8282823b);
    z-index: 2;
}
.top-box .list-box a{
    color: #0062D0;
    font-size: 15px;
    display: inline-block;
    transition: all .3s ease;
    padding: 0 10px;
    border: 1px solid #D6D6D6;
    border-radius: 20px;
    margin: 0 4px 10px 4px;
}
.top-box .list-box a.active{
    color: #FFF;
    border: 1px solid #0062D0;
    background: #0062D0;
}
.top-box .list-box .closebtn{
    color: #808080;
    opacity: 1;
    font-size: 28px;
    position: absolute;
    right: 9px;
    top: 18px;
    transform: translateY(-50%);
    font-weight: 100;
    padding: 0;
    -webkit-appearance: none;
    cursor: pointer;
    background: 0 0;
    border: 0;
    line-height: 20px;
    transition: all .3s ease;
}
.top-box .list-box .closebtn:hover{
    color: #0062d0;
}
/*------------ rwd ------------*/
@media screen and (max-width: 1200px) {
    .top-box .list-box {
        width: 360px;
        left: calc(50% - 180px);
    }
}
@media screen and (max-width: 1100px) {
    .product-list li {
        width: 50%;
    }
    .product-list li:nth-child(3n+1) {
        clear: none;
    }
    .product-list li:nth-child(2n+1) {
        clear: left;
    }
}
@media screen and (max-width: 1024px) {

    .top-box {
       flex-direction: column;
       margin-bottom: 20px;
    }
    .top-box .top-btn {
        width: 100%;
        height: 40px;  
        line-height: 40px;
        margin-bottom: 10px;
        font-size: 15px;
    }
    .top-box > div:nth-child(1) {
        margin-right: 0px;
    }
    .top-btn.btn-2:before {
        right: 20px;
    }
    .top-box .list-box {
        width: 100%;
        position: relative;
        left:0;
        top: 0;
        display: none;
        margin-top: 20px;
    }
    .top-box > div.active .list-box {
        display: block;
    }

    .product-list {
        max-width: 900px;
        margin: 0 auto;
        text-align: center;
    }

    .products-info .query-btn {
        margin: auto;
        margin-top: 20px;
        margin-bottom: 20px;
    }
}
@media screen and (max-width: 767px) {
    .products-info .slider,
    .products-info .txt {
        float: none;
        width: auto;
        padding: 0;
        border: 0;
        max-width: 640px;
        margin: 0 auto;
    }
    .products-info .txt {
        margin: 20px auto 0;
    }
    .thumbnails li {
        width: calc((100% / 3) - 0.1px);
    }
}
@media screen and (max-width: 600px) {
    .search-title {
        margin: -25px 0 50px 0;
        text-align: center;
    }
    .product-list li {
        width: 100%;
        padding: 0 0 50px;
    }
    .products-title {
        margin: 0 0 25px;
    }
}
@media screen and (max-width: 400px) {
    .thumbnails li {
        width: 50%;
    }
}
