/*=================================================

최종수정 : 조경아 매니저
최종수정날짜 : 21.04.16
적용부분 : 셀로맥스 홈페이지 reponsive.css

=================================================== */

@charset "UTF-8";

@media (max-width: 1280px) {
    .top_right_menu {
        /* display: none;  */
    }
}
@media (max-width: 1280px) {
    .footer .footer-menu {
        float: left;
    }
    
    
    /*.footer .footer-menu {
        padding-top: 25px;
        padding-bottom: 20px;
        background-color: #13161b;
        border-bottom: 1px #1f2226 solid;
    }
    .footer .footer-menu ul {
        padding-top: 18px;
        padding-bottom: 12px;
    }
    .footer .footer-menu ul li:before {
        color: #464646;
    }
    .footer .footer-menu ul li a {
        font-size: 13px;
        font-weight: 400;
        color: #f8f8f9;
        font-family: 'Nanum Barun Gothic', sans-serif;
    }*/
}

@media (max-width: 768px) {
    #header_wrap {
        overflow: hidden;
        position: absolute;
        left: 0;
        top: 0;
        z-index: 1000;
        width: 100%;
        height: 77px;
        transition: .5s height, .2s background;
    }

    #header_wrap.top_menu_06 {
        background-color: #fff;
    }

    #header_wrap.top_menu_06 h1 {
        width: 154px;
        padding-top: 1px;
        margin-top: 15px;
    }

    #header_wrap.top_menu_06 h1 a {
        overflow: hidden;
        display: block;
        height: 42px;
        line-height: 42px;
        background: url(../../img/main/logo-white.png) 0 0 no-repeat;
        text-indent: -9999px;
        /*    background: url(../../img/main/logo-white.png) top center no-repeat;*/
        text-indent: -9999px;
    }
    .js-offcanvas-btn {
        position: absolute;
        right: 0;
        margin-right: 10px;
        top: 12px;
        background-color: transparent;
        border: 0;
    }
    .content.pc {
        display: none
    }
    .content.mobile {
        display: block;
    }

    /* cellromax nut,cos bg */
    .img-box.vertical-align.mobile {
        display:block; position:relative; text-align: center;
    }
    .img-box.vertical-align.mobile .imgs .thumb_wrap {
        background-position-y: bottom; background-size: contain;
        position: relative; z-index:1; cursor: pointer; height: 180px;
    }
    .img-box.vertical-align.mobile .imgs .thumb_wrap.scale_nut {
        background-image:url('<?php echo G5_THEME_URL?>/img/main/nut_01.jpg');

    }
    .img-box.vertical-align.mobile .imgs .thumb_wrap.scale_cos {
        background-image:url('<?php echo G5_THEME_URL?>/img/main/cos_01.jpg');
    }
    .img-box.vertical-align.mobile .imgs .thumb_wrap.scale_cos_02 {
        background-image:url('<?php echo G5_THEME_URL?>/img/main/box_slide_03.jpg');
    }
    .img-box.vertical-align.mobile .imgs .thumb_wrap::before {
        content:""; position:absolute; left:0; top:0;
        display:block; width:100%; height:100%;
        background:rgba(0,0,0,0.3); z-index:-1; transition: all 0.5s;
    }
    .img-box.vertical-align.mobile .imgs:hover .thumb_wrap::before {
        background:rgba(0,0,0,0.5);
    }

    /* cellromax nut,cos 설명박스 */
    .img-box.vertical-align.mobile .imgs .thumb_wrap .text-box {
        padding:10px 15px!important;
    }
    .img-box.vertical-align.mobile .imgs .thumb_wrap .text-box h4 {
        font-size: 22px!important; font-weight: 900!important; color: whitesmoke!important;
    }
    .img-box.vertical-align.mobile .imgs .thumb_wrap .text-box p {
        font-weight:600!important; line-height:23px!important; color: whitesmoke!important;
        margin-bottom: 0!important; margin-top: 0!important;
    }
    .img-box.vertical-align.mobile .imgs .thumb_wrap button {
        padding:5px 20px; color: #fff; background:none!important; border: 1px solid #fff; border-radius: 14px; font-size: 0.85em; transition: all 0.5s;
        margin-bottom: 0!important; margin-top:10px!important;
    }
    .img-box.vertical-align.mobile .imgs:hover .thumb_wrap button {
        background:#fff!important; color:black
    }
   
}
@media (max-width:500px) {
    .img-box.vertical-align.mobile .imgs .thumb_wrap {
        background-size: cover;
    }
    .not_exist {display: none!important;}
}
@media (max-width:425px) {
    .img-box.vertical-align.mobile .imgs .thumb_wrap button {
        display: none;
    }
}
@media (max-width:375px) {
    .img-box.vertical-align.mobile .imgs .thumb_wrap .text-box p {
        font-weight:500!important; line-height:20px!important;
        font-size: 0.95em;
    }
    .content text-center mobile > .box_wrap > .gall_box > div:nth-child(1),
    .content text-center mobile  > .box_wrap > .gall_box > div:nth-child(2){
        margin-top:0px!important;
    }

}