﻿@media screen and (max-width: 1449px) {
    #service-categories .flex .flex-4 {
        width: calc(33.3% - 30px);
        flex-basis: calc(33.3% - 30px);
        max-width: calc(33.3% - 30px);
        margin: 0 15px 30px 15px;
    }
    .layout,
    #banner .content {
        max-width: unset;
        margin: 0 50px;
    }
    #service-categories .tile {
        padding: 30px 38px 20px 60px;
    }
    #service-categories .tile .icon {
        left: 20px;
    }
    #service-categories .layout > h2 {
        margin: 0 0 0 15px;
    }
    footer .flex nav > a {
        font-size: 16px;
    }
    footer .flex h3 {
        font-size: 16px;
    }
}
@media screen and (max-width: 1200px) {
    .navigation--container {
        margin: 20px 60px 0 60px;
    }
    #menu-close {
        top: 36px;
        height: 24px;
        width: 24px;
    }
    #menu .menu--container > nav > a {
        font-size: 16px;
        margin: 24px 0;
    }
    .navigation--menu {
        right: 80px;
    }
    .navigation--menu > div > a {
        font-size: 16px;
    }
    .navigation--menu .controls .control > p {
        font-size: 16px;
    }
    .navigation--icons {
        height: 26px;
        width: 26px;
    }

    #service-categories .tile {
        padding: 50px 30px 20px 30px;
    }
    #service-categories .tile .icon {
        height: 26px;
        width: 26px;
        left: 30px;
        top: 14px;
    }
    #service-categories .tile > a.link > div {
        height: 16px;
        width: 16px;
    }
    #service-categories .tile > h3 {
        font-size: 14px;
        line-height: 18px;
    }
    #service-categories .tile > p {
        font-size: 12px;
        line-height: 18px;
    }

    #in-focus .tiles {
        justify-content: center;
    }
    #in-focus .tile .icon {
        height: 80px;
    }
    #in-focus .tile > h3 {
        font-size: 16px;
    }
    #in-focus .tile > p {
        font-size: 14px;
    }

    #popular-services .tile > h3 {
        font-size: 16px;
    }
    #popular-services .tile > p {
        font-size: 14px;        
    }
    footer .flex:last-of-type nav > a {
        line-height: 26px;
    }
    footer .flex:last-of-type h3 {
        line-height: 26px;
    }
}

@media screen and (max-width: 1080px) {
    .navigation--container {
        margin: 16px 60px 0 60px;
    }
    #navigation.sticky .navigation--container {
        margin: 5px 60px 5px 60px;
    }
    #menu-open {
        height: 24px;
        width: 24px;
    }
    #menu-close {
        top: 32px;
        height: 24px;
        width: 24px;
    }
    .navigation--menu .controls .control > p {
        padding: 6px 0;
    }
    .navigation--menu > div > a {
        padding: 6px 0;
    }
    .navigation--menu .controls .control > div {
        width: 8px;
        margin: 0 4px 0 0;
    }
    .navigation--menu .dropdown:after {
        top: 22px;
    }
    #banner .search {
        height: 60px;
    }
    #banner .search > .icon {
        width: 26px;
        height: 26px;
        top: 18px;
        left: 30px;
    }
    #banner .search > .button {
        line-height: 60px;
        font-size: 16px;
    }
    #banner .search > input[type=text] {
        font-size: 18px;
    }

    #menu .menu--container > nav > a {
        font-size: 16px;
        margin: 24px 0;
    }
    .navigation--menu {
        right: 80px;
    }
    .navigation--menu .controls .control > p {
        font-size: 16px;
    }
    .navigation--icons {
        height: 26px;
        width: 26px;
    }

    #service-categories .tile > h3 {
        font-size: 12px;
        line-height: 16px;
        margin: 0 0 5px 0;
    }
    #service-categories .tile > p {
        font-size: 11px;
        line-height: 16px;
    }
    .navigation--menu {
        right: 80px;
    }
    .navigation--menu > div > a {
        font-size: 14px;
    }
    .navigation--menu .controls .control > p {
        font-size: 14px;
    }
}

@media screen and (max-width: 960px) {
    #menu .menu--container > nav {
        padding: 100px 30px 100px 0;
    }
    #menu-close {
        right: 50px;
    }
    .navigation--menu {
        right: 50px;
    }
    .navigation--menu > div.font-size-control {
        display: none;
    }
    #banner {
        height: auto;
        background-position: center;
    }
    #banner .content > h1 {
        font-size: 34px;
        line-height: 40px;
        margin: 0 40px 0 0;
    }
    #banner .content > a {
        padding: 0 44px 0 20px;
        font-size: 14px;
        line-height: 36px;
        margin: 24px 0 0 0;
    }
    #banner .content > a > div {
        height: 22px;
        width: 22px;
        top: 6px;
    }
    #service-categories .flex .flex-4 {
        width: calc(50% - 30px);
        flex-basis: calc(50% - 30px);
        max-width: calc(50% - 30px);
    }
    #service-categories .flex .flex-4 br {
        display: none;
    }
    #in-focus .flex .flex-5 {
        width: calc(33.3% - 30px);
        flex-basis: calc(33.3% - 30px);
        max-width: calc(33.3% - 30px);
    }
    #popular-services .flex .flex-4 {
        width: calc(33.3% - 30px);
        flex-basis: calc(33.3% - 30px);
        max-width: calc(33.3% - 30px);
    }

    footer .flex:first-of-type {
        flex-direction: column-reverse;
    }
    footer .flex:last-of-type {
        margin: -80px 0 0 0;
    }
    footer .flex:last-of-type .flex-2:last-of-type {
        margin: 40px 0 0 0;
    }
    footer .flex .flex-2 {
        width: 100%;
        flex-basis: 100%;
        max-width: 100%;
    }
}

@media screen and (max-width: 700px) {
    .navigation--container {
        margin: 16px 15px 0 15px;
    }
    #navigation.sticky .navigation--container {
        margin: 5px 30px 5px 30px;
    }
    .layout, #banner .content {
        max-width: unset;
        margin: 0 30px;
    }
    #menu .menu--container {
        width: 100%;
    }
    #menu-close {
        right: 30px;
    }
    #menu .menu--container > nav {
        padding: 100px 30px 100px 0;
    }
    #service-categories .flex .flex-4 {
        width: calc(100% - 30px);
        flex-basis: calc(100% - 30px);
        max-width: calc(100% - 30px);
        height: 120px;
    }
    #in-focus .flex .flex-5 {
        width: calc(50% - 30px);
        flex-basis: calc(50% - 30px);
        max-width: calc(50% - 30px);
    }
    #popular-services .flex .flex-4 {
        width: calc(50% - 30px);
        flex-basis: calc(50% - 30px);
        max-width: calc(50% - 30px);
    }

    #service-categories .layout > h2 {
        margin: 0 0 0 0;
        margin: auto;
        display: table;
    }
    #service-categories .layout > h2:after {
        width: 30px;
        right: 0;
        margin: auto;
    }

    #popular-services .layout > h2 {
        margin: 0 0 0 0;
        margin: auto;
        display: table;
    }
    #popular-services .layout > h2:after {
        width: 30px;
        right: 0;
        margin: auto;
    }

    #banner .search {
        height: 50px;
        padding: 0 80px 0 60px;
    }
    #banner .search > input[type=text] {
        font-size: 14px;
    }
    #banner .search > .icon {
        width: 20px;
        height: 20px;
        top: 16px;
        left: 20px;
    }
    #banner .search > .button {
        line-height: 50px;
        font-size: 14px;
        padding: 0 22px;
    }

    footer {
        text-align: center;
    }
    footer .flex nav > a {
        font-size: 12px;
    }
    footer .flex:first-of-type nav > a {
        margin: 0 18px 90px 0;
    }
    footer .flex h3 {
        font-size: 14px;
    }
    footer .flex:last-of-type h3 {
        line-height: 16px;
        font-size: 12px;
    }
    footer .flex:last-of-type nav > a {
        line-height: 22px;
    }
    footer .flex:last-of-type nav > a {
        margin: 0 10px 0 0;
    }
    footer .social-media {
        margin: 20px 0 40px 0;
    }
    footer .social-media > div {
        height: 20px;
        margin: 0 20px 0 0;
    }
    footer .social-media > div:last-of-type {
        margin: 0;
    }
    footer .flex:last-of-type .flex-2:last-of-type {
        margin: 30px 0 0 0;
    }
}








/* =================== Responsiveness ====================== */


/* Desktops */

@media (min-width: 1281px) {
  
  /* CSS */
  
}

/* Laptops, Desktops */

@media (min-width: 1025px) and (max-width: 1280px) {
  
  /* CSS */
  
}

/* Tablets, Ipads (portrait) */

@media (min-width: 768px) and (max-width: 1024px) {
  
/* begin::Top bar and Top navigation */


/* end::Content area */
}

/* Tablets, Ipads (landscape) */

@media (min-width: 768px) and (max-width: 1024px) and (orientation: landscape) {
  
  
}

/* Low Resolution Tablets, Mobiles (Landscape) */

@media (min-width: 481px) and (max-width: 767px) {
  
  /* CSS */
  
}

/* Most of the Smartphones Mobiles (Portrait) */

@media (min-width: 320px) and (max-width: 480px) {
body.ms-backgroundImage {
    background-position-y: 60px;
}
section {
    margin: 0 auto;
    padding: 35px 0;
}
section .layout > h2 {
    font-size: 20px;
}
.layout, #banner .content {
    margin: 0 0px;
}

.navigation--container {
        margin: 0px 15px 0 15px;
    	display: flex;
    	flex-direction: column;
    }
    #DeltaSiteLogo, .ms-siteicon-a, .ms-siteicon-img {
    max-width: 70px;
    max-height: 60px;
	}
/*.navigation--menu {
    position: relative;
    right: initial;
    width: 100%;
    border-top: 1px solid #c6bbb6;
    display: flex;
    justify-content: center;
} */
.navigation--menu {
	display: block;
    position: absolute;
    top: 60px;
    right: -15px;
    width: calc(100% + 30px);
    display: flex;
    -webkit-overflow-scrolling: touch;
    overflow-x: overlay;
    overflow-y: hidden;
    background: rgb(0 0 0 / 10%);
}

.navigation--menu > div {
    margin: 0;
    white-space: nowrap;
    padding: 0 10px;    
}
/* begin:: Common content */

.welcome-box {
    height: 80%;
    width: 90%;
}
.close-btn {
    top: -22px;
    right: 0;
}
.welcome-box .splash_img {
    height: auto;
    width: calc(100% - 10px);
    border-radius: 7px;
    position: absolute;
    margin: auto;
    top: 0;
    bottom: 0;
}


#banner {
    height: auto;background-position-y: -5px;
}
#banner .content {
	padding-left:0;margin:0 10px
}
#banner .SliderBox, .SliderBox-slider {
height: auto;
}
#banner .SearchBox {height: 50px;padding: 15px 0 0px;}
#banner .search {
    padding: 0 0 0 50px;
}
.ms-srch-sb>input,.ms-srch-sbLarge>input {
    height: 50px;
    width: calc(100% - 106px);
    font-size: 16px;
}
.ms-srch-sb > .ms-srch-sb-searchLink,
.ms-srch-sbLarge > .ms-srch-sb-searchLink {
    height: 50px;
    width: 98px;
}
.ms-srch-siteSearchResults .ms-srch-sbLarge > .ms-srch-sb-searchLink {
	width: 93px;
}
.ms-srch-sb > .ms-srch-sb-searchLink::before,
.ms-srch-sbLarge > .ms-srch-sb-searchLink::before {
    font-size: 14px;
    line-height: 50px;
    padding: 0 12px;
}

/* Services links */
#service-categories .tile > a.link {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
}
#service-categories .tile > a.link > div {
    position: absolute;
    right: 0;
    top: 10px;
}
#service-categories .flex .flex-4 {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin: 0 20px 10px 20px;
}
#service-categories .tile .icon {
    left: calc((100% - 25px)/2);
}
	

#in-focus .slick-prev {left: 15px;}
#in-focus .slick-next {right: 30px;}
#popular-services .slick-prev {left: 5px;}
#popular-services .slick-next {right: 15px;}

#popular-services .flex .flex-4 { margin-bottom:0;    text-align: center;}
#popular-services .tile > h3 {
    margin: 0 auto;
    display: block;
    width: 80%;
}
#popular-services .tile > p, #popular-services .tile > span.p {
	    margin: 10px auto;width: 80%;
}
#popular-services .slick-prev, #popular-services .slick-next { top:45%}

}

@media (min-width: 320px) and (max-width: 376px) {

}

