.mobile-menu{
    display: none;
}


.mobile-menu a{
    color: #4e4b49;
    font-size: 18px;
    text-decoration: none;
}

.mobile-menu li{
    margin-bottom: 15px;
}
.clearfix:after{
    content: '';
    clear: both;
}
#mobile-btn{
    display: none;
    height: 50px;
    width: 50px;
    position: fixed;
    right: 15px;
    top: 30px;
    background: linear-gradient(#6a97d6, #2c5083);
    border-radius: 50px;
    cursor: pointer;
}

#mobile-btn div{
    width: 30px;
    height: 3px;
    background: #fff;
    position: absolute;
}

#mobile-btn div:before,
#mobile-btn div:after{
    content: '';
    background: #fff;
    width: 30px;
    height: 3px;
    position: absolute;
}

#mobile-btn div:before{
    top: -6px;
}

#mobile-btn div:after{
    top: 6px;
}

#mobile-logo{
    margin-bottom: 15px;
    display: none;
}

#topSearch input[type="submit"] {
    background-size: 68%;
    background-position-y: 3px;
}

.cont{
    position: absolute;
    top: 165px;
    right: 130px;
    font-family: Tahoma;
    font-size: 18px;
    color: #00356F;
}

.cont a{
    color: #333;
}

#menu-directions li.directions-mobile-btn{
    display: none;
}

.advantages{
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    text-align: center;
}

.advantages-block{
    width: 25%;
    margin-bottom: 10px;
}

.advantages-block div{
    min-height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 5px;
}

#directions-btn{
    display: none;
}
.slider-wrapper{
    margin:0 auto;
    display:table;
}

#slider1_container{
    position: relative;
    top: 0px;
    left: 0px;
    width: 970px;
    height: 417px;
}

#slider1_container .slides{
    cursor: move;
    position: absolute;
    left: 0px;
    top: 0px;
    width: 970px;
    height: 417px;
    overflow: hidden;
}
.main-img{
    text-align: center;
}
#blurb .main-img img {
     float: none;
}


#footer #why-fasad-wrap,
#footer #why-fasad-text,
#footer #why-fasad-circle-wrap-one{
    width: 100%;
    height: auto;
}

#footer #why-fasad-text p{
    margin-bottom: 0;
}

#footer .td-fasad-img img,
#footer #why-fasad-circle-wrap-one {
    float: none;
}

#footer {
    margin: 0 auto;
    width: 990px;
}

#why-fasad-circle-wrap-one{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.td-fasad-img{
    width:33.33333%;
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    font-family: tahoma;
    font-size: 13px;
}

.td-fasad-img p{
   margin-bottom: 0;
    margin-left: 10px;
}

.td-fasad-img span {
    color: #2c5da4;
    font-weight: bold;
}

#footerActions #footerActionsInner{
    width: 100%;
}

#footerActions .under-slider{
    float: none;
}

#footerActions #footerActionsInner #quickContact,
#footerActions #footerActionsInner{
    float: none;
}

#footerActionsInner{
    display: flex;
}

#footer #quickContact form input[type="submit"]{
    margin-top: -20px;
}

#footer #footerWidgetsInner{
    width: auto;
    padding:0 15px;
}

.callback_button{
    position: fixed;
    top: 45%;
    right: 0%;
    background: url('/wp-content/themes/boldy/images/bttn_bg.png') repeat-x scroll 0 -5px transparent;
    border-top: 1px solid #FFFFFF;
    box-shadow: 1px 3px 5px #CCCCCC;
    color: #FFFFFF;
    width: 130px;
    font-style: normal;
    padding: 5px 8px;
    text-decoration: none;
    border-radius: 5px 5px 5px 5px;
    font-size: 13px;
}














/**
* first breakpoint
*/
@media all and (max-width: 1020px){
    .callback_button{
        bottom: 5%;
        top: auto;
    }
    #directions-btn{
        display: block;
    }

    .directions{
        margin: 0px 0 0px 0;
    }

    #menu-directions{
       display: flex;
        flex-direction: column;
        max-height: 0;
        transition: max-height .5s linear;
        overflow-y: hidden;
    }

    #menu-directions.active{
        max-height: 1000px;
    }

    #header {
         height: auto;
    }

    #wrapper,
    #footer {
        width: 750px;
    }
    .ddsmoothmenu{
        display: none;
    }
    .mobile-menu{
        display: block;
    }

    #topSearch{
        position: relative;
        right: 0;
        top: 0;
    }

    body#home #mainWrapper,
    #mainWrapper {
        background: url(../images/bk_main_wrapper_home-mobile.jpg) top no-repeat;
    }

    #logo{
        display: none;
    }

    #mobile-block{
        position:fixed ;
        z-index: 9999;
        background: url(../images/bk_body.jpg);
        width: 100%;
        left: 0;
        height: 100vh;
        transform: translateX(-100%);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: transform .3s;
    }

    #mobile-block.active{
        transform: translateX(0%);
    }

    #mobile-btn{
        display: flex;
        justify-content: center;
        align-items: center;
        z-index: 99999;
    }

    #mobile-logo{
        display: block;
        text-align: center;
    }

    #topSocial {
        position: relative;
        top: 0;
        right: 0;
    }

    .cont{
        text-align: center;
        padding-top: 20px;
        position: relative;
        top: 0;
        right: 0;
    }

    #topSocial ul{
        display: none;
    }

    #topSocial .cont{
        position: relative;

    }

    body#home #mainWrapper,
    #mainWrapper{
        top: 0;
    }

    #menu-directions a{
        background: none;
        box-shadow: none;
        border-top:none;
        display: block;
        margin: 0;
        padding: 0px 5px;
    }
    #menu-directions li{
        background: linear-gradient(#6a97d6, #2c5083);
        border-radius: 5px;
        box-shadow: 1px 3px 5px #ccc;
        margin: 10px 0 0 0;
    }

    #directions-btn{
        text-align: center;
        cursor: pointer;
        margin-top: 15px;
        margin-bottom: 10px;
    }

    #directions-btn span{
        background: linear-gradient(#6a97d6, #2c5083);
        color: #fff;
        border-radius: 5px;
        box-shadow: 1px 3px 5px #ccc;
        padding: 12px;
        margin-top: 15px;
    }

    .advantages{
        margin-top: 10px;
    }

    .td-fasad-img{
        width:50%;
    }

    #footerActionsInner{
        display: block;
    }

    #footerActions .under-slider{
        width: auto;
        border-right:none;
        text-align: center;
    }

    #footerActions #footerActionsInner #quickContact{
        width: auto;
        text-align: center;
        padding-left:0;
        margin-left:0;
        display: flex;
        justify-content: center;
        background-position-y: 42%;
    }

    #footerActions #footerActionsInner #quickContact{
        background: none;
        margin-top: 15px;
    }

    #footerWidgets {
        background-size: cover;
    }

    #content #colLeft {
        float: none;
        width: auto;
        margin-right: 0px;
        padding: 0 15px;
    }

    #content {
        background: none;
    }

    #content #colRight {
        float: none;
        width: auto;
        text-align: center;
        padding: 0 15px;
        display: flex;
        flex-wrap: wrap;
        justify-content: space-around;
    }

    #content #colRight .rightBox:first-child {
        width: 100%;
    }

    .rightBox ul{
        border-top: none;
    }

    .gallery {
        width: auto;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }

    .portfolioCategs,.portfolioCategs li {
        float: none;
        width: auto;
    }
    .portfolioCategs {
        height: auto;
        display: flex;
        flex-wrap: wrap;
        width: 100%;
    }
    .portfolioCategs li {
        width: 25%;
        margin-right: 0px;
    }

    .emm-paginate{
        text-align: center;
    }

    .emm-paginate .emm-page {
        margin: 0 5px;
    }

    #colLeft .ngg-galleryoverview,
    #colLeft_gallery .ngg-galleryoverview {
        display: flex!important;
        flex-wrap: wrap;
        justify-content: space-around;
    }

    .ngg-navigation{
        width: 100%;
    }

    #newReferenceForm,#newQuestionForm{
        text-align: center;
    }

    .catalog-col-left{
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }

    .catalog-col-left img{
        float: none;
    }

}
@media all and (max-width: 749px){
    #wrapper,
    #footer {
        width: 100%;
    }

    .advantages-block{
        width: 50%;
    }

    .td-fasad-img{
        width:100%;
        justify-content: left;
        padding: 0 15px;
    }


    #footerActionsInner #quickContact .leftSide,
    #footerActionsInner #quickContact .rightSide{
        float: none;
        width: auto;
    }


    #footer #quickContact form input[type="submit"]{
        margin-top: 10px;
        margin-right: auto;
        margin-left: auto;
        float: none;
    }
    #footer #quickContact .rightSide{
        margin-top: -15px;

    }

    #mobile-logo img{
        width: 90%;
        height: auto;
    }

    .portfolioCategs li {
        width: 50%;
    }

    #content #colLeft .wpg-thumb-container{
        display: flex;
        flex-wrap: wrap;
        justify-content: space-around;
    }
    #colLeft .postItem img{
        width: 100%;
        height: auto;
    }

}
@media all and (max-width: 450px){
    #blurb img,
    #content #colLeft img{
        width: 100%;
        height: auto;
    }


    #blurb img.no-resize,
    #content #colLeft img.no-resize{
        width: 25%;
        height: auto;
    }



    #colLeft::after{
        display: block;
        content: "";
        clear: both;
    }

    #content #colLeft .wpg-thumb-container a{
        width: 45%;
        margin: 10px 0 0 0;

    }

    #content #colLeft .wpg-thumb-container{
        display: flex;
        flex-wrap: wrap;
        justify-content: space-around;
    }
    .post_thumb_reference {
        float: none;
        margin-right: 0px;
    }


    #newReferenceForm input,
    #newQuestionForm input{
        width: auto;
    }
    #newReferenceForm .referenceText,
    #newQuestionForm .questionText{
        width: 80%;
    }

    #why-fasad-text {
        line-height: 44px;
        font-size: 26px;
    }
    .download-btn {
        width: calc(100% - 15px);
         float: left;
        margin-bottom: 10px;
    }

    .callback_architechtor-form {
        left: 10px;
        margin-left: 0;
        padding: 15px;
        top: 150px;
        width: 85%;
    }
}

@media all and (max-width: 330px){
    .portfolioCategs li {
        width: 100%;
    }
}