@media(min-width: 1150px){
    .custom-logo-link img.custom-logo {
        width: 450px !important;
        max-width: inherit;
    }

    ul#primary-menu {
        margin-top: 70px;
        margin-right: -18px;
    }

    ul#primary-menu > li > a {
        letter-spacing: 2.2px;
        padding-left: 16px;
    }
    li.has_child:hover .submenu {
        top: 157px;
    }
}


@media (max-width: 1199px){
    .product_gallery_section .gallery a {
        width: 28%;
    }

    .store_location_section div#wpsl-gmap {
        max-width: 50%;
    }

    .services_listing .service_text {
        padding-left: 0px;
    }

    .services_listing .service_links li a {
        font-size: 16px;
        padding-left: 15px;
        padding-right: 15px;
        margin-right: 15px;
    }
    .services_listing .service_links ul {
        margin-left: 0px;
        margin-top: 30px;
    }
}

@media (max-width: 1030px){
    .product_gallery_section .gallery a{
        width: 27%;
    }
    .contact_us_section .contact_details {
        padding-left: 100px;
    }

    .contact_form form#gform_1 {
        padding-left: 0px;
    }
    
    .welcome_form_section {
        padding-left: 0px;
    }
}

@media (max-width: 850px){
    .product_gallery_section .gallery a{
        width: 25%;
    }
    #wpsl-search-wrap .wpsl-input {
        width: calc(100% - 250px);
    }

    .store_location_section input#wpsl-search-input {
        width: 100%;
    }
}


@media (max-width: 768px){
    .mobile_menu {
        position: absolute;
        display: block;
        right: 15px;
        top: 62px;
    }

    .mobile_menu img {
        width: 30px;
    }

    .site-branding img {
        height: 60px;
        width: auto;
        max-width: inherit;
    }

    .slidercontent .slidertext .col-sm-6 {
        width: 100%;
    }

    .icon_section_arae li {
        width: 100%;
        margin-bottom: 50px;
    }

    .icon_section_arae li:last-child {
        margin-bottom: 0px;
    }

    .welcome_section .col-sm-6 {
        width: 100%;
    }

    .welcome_form_section {
        padding-top: 50px;
        text-align: center;
    }

    .contact_form form#gform_1 {
        padding-left: 0px;
    }

    nav#site-navigation {
        display: none;
    }
    .menu-main-menu-container ul#primary-menu {
        display: block;
        max-width: 300px;
        background: #fff;
        width: 100%;
        box-shadow: 0px 0px 15px;
        margin-top: 0px;
    }

    ul#primary-menu > li > a {
        color: #7f94a6;
        font-weight: 400;
    }
    ul#primary-menu > li > a:hover {
        color: #000;
        font-weight: 600;
    }

    .menu-main-menu-container ul#primary-menu > li {
        margin-bottom: 0px !important;
        border-bottom: solid 1px #ccc;
        padding-top: 5px;
        padding-bottom: 5px;
    }

    .video_list_section ul li .video_details {
        width: 100%;
        margin-right: 0px;
        margin-top: 10px;
    }

    .video_list_section {
        padding: 0px;
    }
    .learn_more {
        opacity: 1;
    }

    .product_gallery_section .gallery a{
        width: 40%;
    }

    .store_location_section div#wpsl-gmap {
        max-width: 100%;
    }
    .store_location_section #wpsl-result-list {
        width: 100%;
    }

    .productdetails .col-sm-3, .productdetails .col-sm-9 {
        width: 100%;
    }

    .productdetails .producttitle {
        text-align: center;
    }

    .productdetails .productimage {
        margin: auto;
    }

    .contact_us_section .col-sm-6 {
        width: 100%;
    }

    .contact_us_section .contact_details h2 {
        margin-top: 30px;
        margin-bottom: 30px;
    }

    .contact_us_section .contact_details li {
        margin-bottom: 20px;
    }

    .contact_us_section h2 {
        margin-bottom: 30px;
    }
    .map_area iframe {
        width: 100%;
    }

    .header_section .headerimg img{
        height: 100%;
    }

    nav#site-navigation {
        position: absolute;
        right: 15px;
        top: 110px;
    }

    footer#colophon .col-sm-2 {
        order: 1;
        width:100%;
    }

    footer#colophon .col-sm-5:last-child {
        order: 2;
        width:100%;
    }

    footer#colophon .col-sm-5 {
        order: 3;
        width:100%;
    }

    .footer_contacts section:first-child ul li {
        margin: 0px;
        display: block;
        text-align: center;
    }

    .footer_contacts {
        /* display: grid; */padding-top: 0px;
    }

    .footer_contacts section:first-child {display: grid;    margin-bottom: 15px;}

    .footer_contacts section:first-child ul+p {
        order: 1;
        text-align: center;    color: #000;
    opacity: 1;
    }

    .footer_contacts section:first-child ul {
        order: 2;
    }

    .footer_contacts section:last-child li {
        display: block;
        text-align: center;
        margin: 0px;
    }

    .site-info {
        display: grid;
        text-align: center;
        margin-top: 0px;
        padding-top: 0px;
    }

    .site-info ul {
        max-width: 100%;
        opacity: 1;
    }

    .site-info li {
        margin: 0 15px;
        width: inherit;
    }

    .site-info li:last-child {
        float: none;
        text-align: center;
    }

    .site-info section {
        order: -1 !important;
    }

    .site-info section ul {
        margin-top: 0px !important;
        margin-bottom: 15px !important;
    }

    footer#colophon {
        line-height: 25px;
    }

    footer#colophon a {
        color: #000 !important;
        opacity: 1 !important;
        font-weight: 300;
    }


    .services_listing .col-sm-6 {
        width: 100%;
    }

    .services_listing .service_images {
        max-width: 100% !important;
        width: 100%;
    }

    .services_listing .service_images img {
        width: 100% !important;
        max-width: 100%;
    }

    .services_listing .row:nth-child(2n) .col-sm-6:nth-child(2) {
        order: 2;
    }

    .services_listing .row {
        padding-bottom: 30px;
        padding-top: 30px;
    }

    .services_listing h2 {
        margin-bottom: 10px;
    }

    li.has_child:hover .submenu {
        position: relative;
        top: inherit;
    }

    .menuimg_links {
        display: none;
    }

    .submenulinks {
        margin: 0px;
        border: 0px;
        min-height: inherit;
    }

    .submenubox h3 {
        display: none;
    }

    .main-navigation ul ul {
        margin: 0px;
    }

    ul.menusublinks li {
        margin-bottom: 10px !important;
    }

    .submenubox {
        margin-top: 10px;
        padding-left: 10px;
        margin-bottom: 0px;
    }
    .store_location_section .wpsl-search.wpsl-clearfix {
        padding-left: 0px;
        padding-right: 0px;
    }

    ul#primary-menu > li.has_child > span {
        position: absolute;
        top: 10px;
        right: 15px;
        display: block;
        width: 20px;
        height: 20px;
        z-index: 9;
        content:"";
        display:block;
        text-align: center;
        line-height: 20px;
        
    }

    ul#primary-menu > li.has_child > span:before {
        width: 0px;
        height: 0px;
        border-left: 7px solid transparent;
        border-right: 7px solid transparent;
        border-top: 8px solid #7f94a6;
        z-index: 9;content:"";
        display: inline-block;
        vertical-align: middle;
        margin-top: -5px;
    }
    
    ul#primary-menu > li.has_child {
        position: relative;
    }

    .modal-body.watch_videos_content {
        padding: 15px;
        border: 0;
    }

    #wpsl-wrap #wpsl-result-list {
        width: 100%;
    }

    .icon_section_arae .icon_title {
        max-width: inherit;
    }
    
    .footer_contacts .widget-title {
        display: block;
    }
    
    .menu-footer-menu-right-container {
        display: none;
        margin-bottom: 20px;
    }

}

@media (max-width: 600px){
    .product_gallery_section .gallery a {
        width: 100% !important;
        margin-left: 0px;
        margin-right: 0px;
    }
    .contact_form .gform_footer.top_label input{
        line-height: 1 !important;
    }
}

@media(max-width: 500px){
    .menu-main-menu-container ul#primary-menu {
        display: block;
        max-width: 300px;
        background: #fff;
        width: 100%;
        box-shadow: 0px 0px 15px;
        margin-top: 0px;
    }

    ul#primary-menu > li > a {
        color: #7f94a6;
    }

    .menu-main-menu-container ul#primary-menu > li {
        margin-bottom: 0px !important;
        border-bottom: solid 1px #ccc;
        padding-top: 5px;
        padding-bottom: 5px;
    }

    .slidercontent .slidertext h3 {
        font-size: 40px;
    }

    .slidercontent .slidertext h4 {
        font-size: 30px;
    }
    .slidercontent {
        height: 500px;
    }

    .mid_bar h2 a {font-size: 26px;}

    .mid_bar {
        padding-top: 28px;
        padding-bottom: 20px;
    }

    .welcome_title h1 {
        font-size: 28px;
    }

    .welcome_section .welcome_content {
        font-size: 20px;
    }

    .welcome_form_section h3 {
        font-size: 20px;
    }

    .welcome_form_section h2 {
        font-size: 30px;
    }

    .welcome_form_section a {
        font-size: 20px;
    }

    .visit_us_section_box h2 span {
        font-size: 20px;
    }

    .visit_us_section_box h2 {
        font-size: 30px;
    }

    .visit_us_section_box h2 a {
        display: inline-block;
    }

    .contact_form .gform_wrapper.gravity-theme .gfield_label {
        font-size: 18px;
        display: block;
        text-align: left;
        width: 100%;
    }
    .contact_form .ginput_container {
        display: block;
    }
    .gform_wrapper.gravity-theme input:not([type=radio]):not([type=checkbox]):not([type=image]):not([type=file]),
    .contact_form .ginput_container textarea {
        border: solid 1px rgba(7,67,105, .25);
        margin-left: 0;
        width: 100% !important;
        padding: 5px 10px !important;
    }
    .contact_form .gform_footer.top_label {
        padding-left: 0 !important;
    }
    
    .welcome_section .contact_form .gform_wrapper.gravity-theme .gform_footer.top_label input {
        border: solid 1px rgba(7,67,105, 1);
        padding: 15px 10px !important;
    }
    .header_section {
        height: 300px;
    }

    .innerpage_title h1 {
        font-size: 26px;
    }

    .innerpage_title {
        padding-top: 28px;
        padding-bottom: 20px;
    }
    .video_list_section ul .video_placeholder {
        max-width: 400px;
        width: 100%;
        height: auto;
    }
    .video_list_section ul li {
        margin-bottom: 40px;
    }
    .video_list_section ul li .video_title {
        font-size: 30px;
    }

    .productdetails .accordion {
        font-size: 24px;
    }

    .productdetails .panel {
        font-size: 20px;
    }
}