/* Responsive */

@media only screen and (min-width: 992px) and (max-width: 1199px) {
    .content_con2 {
        padding: 20px;
        padding-top: 0;
    }
    #contact_form textarea {
        width: 100%;
    }
    /*#footer .footer_con {*/
    /*    background: none !important;*/
    /*}*/
    .body-container .content_con,
    .body-container .page_curv_top {
        background-size: contain;
    }
    .sidebars2 .box.small {
        padding: 0 10px;
    }
    #footer .footer_con {
        background-size: contain !important;
        width: 96%;
    }
}

@media only screen and (min-width: 768px) and (max-width: 991px) {
    .content_con2 {
        padding: 20px 20px 0;
    }
    #logo img {
        width: 100%;
    }
    div#collapsibleNavbar {
        width: 100%;
    }
    .navbar-expand-md .navbar-nav .nav-link {
        font-size: 10px;
        padding: 0 5px;
    }
    #footer .part1 {
        margin-top: 60px !important;
    }
    #footer .part3 {
        margin-top: 60px !important;
    }
    .custom-container {
        max-width: 720px;
    }
    #contact_form textarea {
        width: 100% !important;
    }
    .sidebar {
        width: 100% !important;
    }
    .box.small {
        width: 100% !important;
        margin: 0;
    }
    .map-img {
        width: 100%;
    }
    .box.single {
        width: 100% !important;
    }
    /*#footer .footer_con {*/
    /*    background: none !important;*/
    /*}*/
    .body-container .content_con,
    .body-container .page_curv_top {
        background-size: contain;
    }
    div#slider_area .right_side h4 {
        font-size: 16px !important;
    }
    li.nav-item {
        margin: 0 2px;
    }
    .sidebars2 .box.small {
        padding: 0 10px;
    }
    #footer .footer_con {
        background: none !important;
    }
    div#slider_area,
    div#slider_con,
    div.slide,
    .slider_curv.png {
        width: 100%;
    }
    .slider_curv {
        height: 56px;
        position: relative;
    }
    .body-container img {
        object-fit: contain;
        width: 100%;
        height: auto;
    }
    body div#slider_area .right_side {
        margin: 10px 0;
        position: relative;
        padding: 20px;
        left: 0;
        height: auto;
        text-align: center;
        border-radius: unset;
        border-left: 5px solid #ffff;
        border-right: 5px solid #fff;
    }
    div#slider_area,
    div#slider_con {
        height: auto;
    }
    div.slider_curv {
        height: 56px;
        position: relative;
        top: 0;
        background-size: contain;
        width: 95% !important;
        margin: 0 auto;
    }
    .mobile-padding {
        padding: 0 6px;
    }
    div.slider_curv {
        height: 0 !important;
        background: none;
    }
    img.alignleft {
        float: left !important;
        width: auto !important;
        margin-bottom: 20px !important;
    }
    img.png.preload {
        left: 0;
    }
    .body-container {
        max-width: 720px !important;
    }
}

@media only screen and (min-width: 700px) and (max-width: 767px) {
    /*#footer .footer_con {*/
    /*    background: none !important;*/
    /*}*/
    .sidebars2 .box.small {
        padding: 0 10px;
    }
    .page_curv_top {
        height: 15px;
    }
}

@media only screen and (min-width: 480px) and (max-width: 699px) {
    .body-container .page_curv_top {
        height: 15px;
    }
    .page_curv_top {
        height: 15px;
    }
}



@media only screen and (max-width: 767px) {

    #footer .body-container .part1 {
        float: none;
        margin: 35px auto 20px;
        text-align: center;
    }
    #footer .body-container .part3 {
        float: none;
        margin-top: 0;
        text-align: center;
        margin-bottom: 20px;
    }
    .content.sub.fullwidth {
        padding: 10px 10px 0;
    }
    .body-container img {
        float: none !important;
        width: 100%;
        margin-bottom: 20px !important;
    }
    #header {
        max-width: 100%;
    }
    .current_page_item {
        background: none;
    }
    .navbar-nav .current_page_item a.nav-link {
        color: #10729c;
    }
    nav.navbar.navbar-expand-md {
        display: flex;
        /*justify-content: flex-end;*/
    }
    #logo {
        margin-left: -10% !important
    }
    #logo img {
        width: 100%;
    }
    button.navbar-toggler {
        margin-top: 0;
    }
    #footer .footer_con {
        background: none !important;
    }
    li.nav-item:hover {
        background: none;
    }
    li.nav-item:hover a.nav-link {
        color: #10729c;
    }
    .content_con2 {
        width: 100%;
        padding-right: 30px;
    }
    .sidebar {
        width: 100% !important;
        background: none !important;
        padding: 10px 0;
    }
    .sidebars1,
    .sidebars2 {
        background: none !important;
    }
    .content.sub {
        width: 100%;
        float: none;
        margin: 0 15px !important;
    }
    #contact_form input,
    #contact_form select,
    #contact_form textarea {
        width: 100% !important;
    }
    .box {
        margin: 10px 0 10px 20px !important;
    }
    .box.small {
        width: 100% !important;
        max-width: 100% !important;
    }
    .box.single {
        width: 98% !important;
    }

    /*#footer .footer_con {*/
    /*    background: none !important;*/
    /*}*/
    .body-container .content_con,
    .body-container .page_curv_top {
        background-size: contain;
    }
    .sidebars2 {
        padding-left: 0;
    }
    .sidebars2 .box.small {
        margin: 0 5px !important;
    }
    .mobile-padding {
        padding: 0;
    }
    img.png.preload {
        margin-bottom: 10px !important;
    }
    #footer .part1 {
        margin-top: 20px !important;
    }
    #footer .part3 {
        margin-top: 10px !important;
    }
    img.png.preload {
        left: 0;
    }
}


@media only screen and (max-width: 479px) {
    button.navbar-toggler {
        margin-top: -30px !important;
    }
    #logo img {
        width: 80% !important;
    }
    nav.navbar.navbar-expand-md {
        display: flex;
        justify-content: flex-end;
    }
    #logo {
        width: 100%;
    }
    .page_curv_top {
        height: 20px !important;
    }
}


/**********banner ************/

div#slider_area,
div#slider_con,
div.slide {
    width: 100%;
}

div.slider_curv {
    height: 56px;
    top: -30px;
    background-size: 95%;
    width: 100%;
    position: relative;
}

div#slider_area .right_side {
    left: auto;
    z-index: 6;
    border-top-right-radius: 20px;
    right: 10px;
    border-left: 10px solid #fff;
    border-right: 10px solid #fff;
    padding-left: 10px;
    top: 1px;
    width: 100%;
    height: 100%;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 10px;
}

div#slider_area .right_side h4 {
    color: #fff;
}

div#slider_area,
div#slider_con {
    height: auto;
}

@media only screen and (max-width: 767px) {
    div#slider_area,
    div#slider_con,
    div.slide,
    .slider_curv.png {
        width: 100%;
    }
    .slider_curv {
        height: 56px;
        position: relative;
    }
    .body-container img {
        object-fit: contain;
        height: auto;
    }
    body div#slider_area .right_side {
        margin: 0;
        position: relative;
        padding: 20px;
        left: 0;
        height: auto;
        border: none;
        text-align: center;
        border-top-right-radius: unset;
    }
    div#slider_area,
    div#slider_con {
        height: auto;
    }
    div.slider_curv {
        background: none;
        position: unset;
        height: 0;
        padding: 10px;
    }
    /*#footer .footer_con {
        */
    /*    background: transparent url(../images/footer.jpg) center top no-repeat !important;*/
    /*    background-size: contain;*/
    /*    background-position: 0 -10px;*/
    /*}*/
    img.alignleft {
        float: left !important;
        width: auto !important;
        margin-bottom: 20px !important;
    }
}
