/* Mobile */

.offcanvas-hamburger:after {
    font-size: 31px;
}

@media (max-width: 771px) {
    #offcanvas {
        display: block;
    }
    #navbar .menu {
        display: none;
    }
    /* Offcanvas */
    .offcanvas-menu > * {
        display: none;
    }
    .offcanvas-menu > .offcanvas-hamburger {
        display: block;
        float: right;
        margin-right: 30px;
        padding: 12px 0;
    }
    .ss-slideshow .ss-browse .nav-text {
        display: none !important;
    }
    #offcanvas ul ul {
        display: none;
    }
    #offcanvas ul li.opened > ul {
        display: block;
    }
}

@media (max-width:1107px) {
    #ss_part_widget-2 {
        /* display: none; */
    }
    div#ss_part_widget-2 i.fa.fa-envelope {
        /* display: none; */
    }
    div#footer-top div#navbar {
        display: none;
    }
    div#footer-top .col-md-4.widget_ss_container_open_widget {
        width: 100%;
    }
    .header-image {
        background-attachment: initial !important;
    }
}

@media (max-width: 768px) {
    #ss_parts_widget-2 {
        padding-top: 0;
    }
    div#ss_parts_widget-2 p {
        min-height: 48px;
    }
    div#ss_parts_widget-2 {
        padding-top: 0;
        padding-bottom: 40px;
    }
    .home-gallery-area {
        min-height: 350px !important;
        padding-top: 70px !important;
        background-attachment: initial;
    }
    .home .gallery .gallery-item {
        width: 32% !important;
        padding-bottom: 25% !important;
    }
    .home dt.gallery-icon > a {
        width: 100%;
        height: auto;
    }
    body.page-id-6 dt.gallery-icon > a > img {
        height: 210px !important;
    }
    body.page-id-6 dt.gallery-icon > a {
       /* width: 310px !important;
        height: 310px !important;*/
        height: 100%;
        width: 100%;
    }
}

@media (max-width: 767px) {
    div#ss_part_widget-2 {
        display: block;
        width: 160px;
    }
    .gallery .gallery-item {
        overflow: hidden;
        width: 48% !important;
        width: 42% !important;
        margin: 2%;
        height: 150px;
/*        padding-bottom: 30% !important;
        padding-bottom: 36% !important;*/
    }
    body.page-id-6 .gallery dl.gallery-item {
        width: 42% !important;
        margin: 6%;
        margin-left: 0;
        height: 200px !important;
/*        padding-bottom: 36% !important;*/
    }
    li#field_1_1,
    li#field_1_2 {
        display: inline-block;
        width: 100% !important;
    }
    div#ss_part_widget-2 p {
        float: left;
        margin-left: -10px;
        text-align: left;
    }
    div#home-top p {
        font-size: 18px;
    }
    div#ss_part_widget-3 p:last-child {
        font-size: 18px;
    }
    section#section-home-top {
        min-height: calc(100vh - 20px);
    }
    div#ss_part_widget-3 a {
        margin: 50px auto !important;
    }
    div#home-top {
        margin-top: calc(40vh - 12vh);
    }
    body #ss_parts_widget-2 .ss-parts-single-part a.btn {
        margin-top: -20px !important;
        margin-bottom: 50px !important;
    }
}

@media (max-width: 480px) {
    a.logo {
        width: 240px !important;
        height: 25px !important;
    }
    section#section-page-header {
        /*margin-top: -87px;*/
    }
    body.page-id-6 .gallery dl.gallery-item {
        width: 77% !important;
        margin: 6%;
        margin-left: 0;
/*        padding-bottom: 76% !important;*/
    }
    .social-icon-area {
        padding: 60px 0;
        padding-left: 10px;
    }
    body.home .gform_wrapper label.gfield_label+div.ginput_container {
        padding: 5px 0;
    }
    body.home .gfield_captcha_input_container.simple_captcha_medium {
        padding-left: 5px;
    }
}

@media (min-width: 481px) and (max-width: 769px) {
    .sidebar-image {
        position: relative;
        /* top: -160px; */
        display: inline-block;
        float: none;
        clear: both;
        overflow: hidden;
        width: 49%;
        vertical-align: top;
    }
    #ss_part_widget-8 .ss-part-image img {
        min-height: 220px;
        object-fit: contain;
    }
    #ss_part_widget-8 {
        overflow: hidden;
        /*  width: 49% !important;
    display: inline-block !important;
    top: -130px !important;
    position: relative !important; */
    }
    div#ss_parts_accordion_widget-2 {
        display: inline-block !important;
        float: none;
        clear: both;
        overflow: hidden;
        width: 49% !important;
        min-height: 470px;
        padding-top: 30px;
        vertical-align: top;
    }
    div#footer-top {
        width: 100% !important;
    }
    div#ss_part_widget-2 p {
        margin-right: 10px;
    }
}

@media (orientation: landscape) and (max-width: 769px) {
    #section-home-top {
        min-height: 600px;
        background-attachment: inherit !important;
    }
    div#home-top {
        margin-top: calc(40vh - 10vh);
    }
    div#ss_part_widget-3 a {
        margin: 30px auto 30px !important;
    }
    div#ss_part_widget-3 p:last-child {
        margin-bottom: 30px !important;
    }
    div#ss_part_widget-2 p {
        margin-right: 30px;
    }
}

@media (min-width: 599px) and (max-width: 601px) and (orientation: portrait) {
    div#ss_part_widget-2 {
        /*width: auto;*/
    }
    section#section-home-top {
        min-height: 80vh;
    }
}

@media (max-width: 320px) {
    section#section-home-top {
        min-height: 102vh;
    }
    div#home-top {
        margin-top: 20vh;
    }
}
