
@font-face {
  font-family: "RedHatText";
  src: url('/control/fonts/red_hat_text/RedHatText-VariableFont_wght.ttf') format('truetype');
  font-family: "Red Hat Text";
  font-weight: 400;
  font-style: normal;
  font-size: 14px;
}

:root {
  --blue: #002072;
  --darkblue: #000D2E;
  --black: #000000;
  --darkgrey: #333333;
  --midgrey: #cccccc;
  --lightgrey: #e6e6e6;
  --palegrey: #f2f2f2;
  --cyan: #00aeef;
  --lightcyan: #99dff9;
  --paleblue: #ebf8fc;
  --white: #ffffff;  
  --transparentgrey: #00000099;

  --layoutpadding: 61px;
  --layoutpaddingNeg: -61px;

    --layoutpaddingMobile: 25px;
  --layoutpaddingMobileNeg: -25px;

  --smallRadius: 6px;
  --radius: 8px;
  --largeRadius: 20px;
}


*{
    font-family:RedHatText, Arial, sans-serif;
    font-size:17px;
    margin:0;
}

html{}

h1, h2, h3, h4, h5, h6{
    color:var(--blue);
}

a{
    color:var(--blue);
    text-underline-offset:3px;
    text-decoration-thickness:2px !important;
}
a:hover{
    text-underline-offset:3px;
    text-decoration-thickness:2px !important;
}

table{border:1px solid var(--blue);border-collapse:collapse;margin:var(--layoutpadding);}
table caption{background-color:var(--blue);color:var(--white);padding:8px;font-size:17px;border:1px solid var(--blue);border-bottom:1px solid var(--white);font-weight:bold;} 
table th{background-color:var(--blue);color:var(--white);padding:8px;font-size:17px;border:1px solid var(--white);}
table td{border:1px solid var(--blue);padding:8px;}

svg.externalLink{
    position:relative;
    top:7px;
    left:7px;
    margin-top:-7px;
}

section#cookieControl {
    position:fixed;
    top:0;
    left:0;
    width: 450px;
    background-color:var(--white);
    height: 100vh;
    z-index: 10000;
    padding:20px;
    max-width:90vw !important;
    overflow:scroll;
}

    section#cookieControl h1 {
        font-size:22px;
    }

    section#cookieControl h2 {
        font-size: 19px;
        margin:15px 0 0 0;
    }

    section#cookieControl p{
        margin:15px 0;
    }

    section#cookieControl a.cookieButton {
        display:inline-block;       
        width:215px;
        text-decoration:none;        
        border-radius:var(--radius);
        padding:15px 0;
        color:var(--white);
        background-color:var(--blue);
        text-align:center;
        margin:10px 0;
    }

    section#cookieControl label {
        display: block;
        margin: 0;
        padding: 4px 4px 6px 0;
        border: 0 solid var(--blue);
        border-radius: 5px;
        width: 16em;
    }

section#cookieControl label .label {
    display: inline-block;
    user-select: none;
}

    section#cookieControl label input[role="switch"] {
        opacity: 0;
    }

        section#cookieControl label input[role="switch"] ~ .state {
            display: inline-block;
            user-select: none;
            position:absolute;
            right:20px;
            padding:10px;
        }

            section#cookieControl label input[role="switch"] ~ .state > .container {
                position: relative;
                top: 2px;
                display: inline-block;
                border: 2px solid black;
                width: 40px;
                height: 20px;
                border-radius: 11px;
            }

                section#cookieControl label input[role="switch"] ~ .state > .container > .position {
                    position: relative;
                    top: 1px;
                    left: 2px;
                    display: inline-block;
                    border: 2px solid black;
                    border-radius: 9px;
                    width: 14px;
                    height: 14px;
                    background: black;
                    opacity: 0.6;
                }

        section#cookieControl label input[role="switch"]:not(:checked) ~ .state span.on {
            display: none;
        }

        section#cookieControl label input[role="switch"]:checked ~ .state > span.off {
            display: none;
        }

        section#cookieControl label input[role="switch"]:checked ~ .state > .container > .position {
            left: 20px;
            border-color: var(--blue);
            background: var(--blue);
            opacity: 1;
        }

    section#cookieControl label.focus,
    section#cookieControl label:hover {
        cursor: pointer;
    }

    div#cookieOverly {
        background-color: #00000040;
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        z-index: 9999;
    }

    header#mstHeader {
        color: var(--white);
        background-color: var(--blue);
        height: 100px;
        width: 100%;
    }
header#mstHeader.flex{
    display:flex;
    justify-content:center;
    gap:40px;
    height:100px;
    align-items:center;
}

header#mstHeader.flex div.headerlogo{
    
   margin-inline:auto;
   text-align:left;
}

header#mstHeader.flex div.headerlogo img{    
    height: 48px;     
    position:absolute;
    top:0;
    left:0;
    margin:25px 0 0 var(--layoutpadding);
    }

header#mstHeader.flex a.headerlink{
    color:var(--white);
    text-decoration:none;
    font-weight:bold;
    font-size:16px;
}

header#mstHeader.flex a.headerlink:hover{
    text-decoration:underline;
}

header#mstHeader.flex a.headerlink:active{
    text-decoration:underline;
    text-decoration-color:var(--cyan);
    text-underline-offset:20px;
    text-decoration-thickness:4px !important;
 }
    header#mstHeader.flex a#mstHeaderMyAccount{
        margin-top:-3px;
    }


    header#mstHeader.flex a#mstHeaderMyAccount::before {
        content: "";
        background-image: url('/control/images/svg/person_24dp_FFFFFF_FILL1_wght400_GRAD0_opsz24.svg');
        background-size: cover;
        width: 1.25rem;
        height: 1rem;
        display: inline-block;
        position: relative;
        left: -2px;
    }

    header#mstHeader.flex #headerSearchMobilePopout{
        display:none;
    }

    header#mstHeader.flex #headerMenuMobilePopout{
        display:none;
    }

header#mstHeader.flex div.headersearch {
  margin:0 var(--layoutpadding) 0 0;
}

    header#mstHeader.flex div.headersearch #mstSearchContainer{
        margin:0 -36px 0 0;
    }

    header#mstHeader.flex div.headersearch #mstSearchContainer input#msttxtSiteSearch {
        /*border:none;*/
        border: 1px solid var(--darkgrey);
        background-color: var(--white);
        padding: 0 20px 0 10px;
        border-radius: var(--radius);
        height: 40px;
    }

       header#mstHeader.flex div.headersearch #mstSearchContainer #mstSearchSubmit {
        position: relative;
        left: -36px;
        top: 5px;
         }

header#mstHeader.flex div.headersearch #mstSearchContainer input#msttxtSiteSearch::placeholder{
    color:var(--darkgrey);
 }

header#mstHeader.flex div.headersearch #mstSearchContainer label{
    position: absolute;
    clip: rect(1px, 1px, 1px, 1px);
    padding:0;
    margin:0;
    height:1px;
    width:1px;
    overflow:hidden;
}

header#mstHeader.flex .headersearchMobile, header#mstHeader.flex .headerMenuMobile{
        display:none;
    }

nav section#breadCrumb {
    height: 66px;
    display: flex;
    gap: 10px;
    background-color: var(--paleblue);
    padding: 0 0 0 var(--layoutpadding);
    align-items: flex-end;
    color: var(--darkgrey);
    font-size:14px;
}

    nav section#breadCrumb span{

    }

    nav section#breadCrumb a {
        text-decoration: none;
        color: var(--darkgrey);
        text-transform: capitalize;
    }

        nav section#breadCrumb a:hover{
            text-decoration:underline;
        }

        main section#pageHeading {
            height: 184px;
            background-color: var(--paleblue);
        }

    main section#pageHeading h1 {
        font-size:36px;
       padding:20px 0 20px var(--layoutpadding);
    }

    main section#pageHeading span {
        padding: 0 0 0 var(--layoutpadding);
        color:var(--darkgrey);
        font-size:17px;

    }


    footer#mstFooter {
        background-color: var(--blue);
        height: 450px;
        width: 100%;
        display: grid;
        grid-template-columns: repeat(2, 1fr) 2fr;
        grid-template-rows: 4fr 1fr;
        gap: 0px;
        color: var(--white);
    }

footer#mstFooter h2{color:var(--white);padding:0 0 20px 0;font-size:20px;}
footer#mstFooter a{color:var(--white);text-decoration:underline;font-weight:bold;}
footer#mstFooter a:hover{text-decoration:none;}

footer#mstFooter div#footerSect1{grid-row: span 2 / span 2;padding:var(--layoutpadding) 0 0 var(--layoutpadding);}
footer#mstFooter div#footerSect1 ul{display:flex;list-style:none;flex-direction:column;gap:1em;padding:0;}

footer#mstFooter div#footerSect2{grid-row: span 2 / span 2;padding:var(--layoutpadding) 0 0 0;}
footer#mstFooter div#footerSect2 ul{display:flex;list-style:none;flex-direction:column;gap:1em;padding:0;}


footer#mstFooter div#footerSect3{display:flex;list-style:none;gap:2em;padding:var(--layoutpadding) var(--layoutpadding) 0 0;justify-content:flex-end;}
footer#mstFooter div#footerSect3 a{height:24px;width:24px;}
    footer#mstFooter div#footerSect3 a img {
        height: 24px;
        
    }

        footer#mstFooter div#footerSect3 a img.under{}

        footer#mstFooter div#footerSect3 a img.over {display:none}

    footer#mstFooter div#footerSect3 a:hover img.under {display:none;}
    footer#mstFooter div#footerSect3 a:hover img.over {display: inline;}



    footer#mstFooter div#footerSect4 {
        grid-column-start: 3;
        padding: 0 var(--layoutpadding) var(--layoutpadding) 0;
    }
footer#mstFooter div#footerSect4 ul{display:flex;list-style:none;gap:2em;justify-content:flex-end;padding:0;}

main#mstMain{
    padding:0 var(--layoutpadding);
}

/* Service Pages */

main#mstMain section#serviceHeader{
    height:320px;
    background-color:var(--paleblue);
    padding:0 var(--layoutpadding);
    margin:0 var(--layoutpaddingNeg);
    }

main#mstMain section#serviceHeader h1{
    padding:20px 0 0 0;
    font-size:36px;
    height:auto;
    margin:0;
}

main#mstMain section#serviceHeader div#sectionIcon{
    height:200px;
    width:300px;
    background-color:var(--white);
    float:right;
    border-radius:var(--largeRadius);
    margin:20px 0 0 0;
}

main#mstMain section#serviceHeader div#sectionIcon svg{
    position:relative;
    top: calc(50% - 45px);
    left: calc(50% - 45px);
    fill:var(--cyan);
}

main#mstMain section#serviceHeader p{
    font-size:17px;
    padding: 10px 0 0 0;
    max-width:720px;
    }

main#mstMain section#serviceButtons{
    padding:40px var(--layoutpadding) 100px var(--layoutpadding);
}

main#mstMain section#serviceButtons div{    
    display:flex;
    flex-wrap:wrap;
    gap:24px 16px;
}

main#mstMain section#serviceButtons div a{
    display:inline-block;
    height:80px;
    width:300px;
    border:1px solid var(--midgrey);
    border-radius:var(--radius);
    text-decoration:none;
    font-size:17px;
    font-weight:bold;
    align-content:center;
    padding:0 30px 0  20px;
    background-image: url('/control/images/svg/arrow_forward_24dp_1F1F1F.svg');
    background-size: 24px;
    background-repeat:no-repeat;
    background-position-x:315px;
    background-position-y:center;
}

main#mstMain section#serviceButtons div a:hover{
    background-color:var(--midgrey);
    text-decoration:underline;
}

    main#mstMain section#serviceButtons table{
        margin-left:0;
        margin-right:0;
    }

    main#mstMain p a img[alt^="Follow us"]{
        float:unset !important;
    }

    main#mstMain p a img[alt^="Like us"] {
        float: unset !important;
    }

    /* Content Pages */
    main#mstMain h1 {
        padding: 20px var(--layoutpadding) 0 var(--layoutpadding);
        font-size: 36px;
        height: 170px;
        background-color: var(--paleblue);
        margin: 0 var(--layoutpaddingNeg) 40px var(--layoutpaddingNeg);
    }

main#mstMain h2{
    font-size:28px;
    margin:30px 0 14px 0;
    }

main#mstMain h3{
    font-size:20px;
    color:var(--darkgrey);
    margin:25px 0 14px 0;
    }

main#mstMain h4{
    font-size:17px;
    color:var(--darkgrey);
    margin:10px 0;
    }

main#mstMain p{
    max-width:800px;
    margin:15px 0;
    }

main#mstMain img{
    float:right;
}

main#mstMain img[alt="PDF"]{
    float:none;
}



img[title^='External Hyperlink'] {
    float: unset !important;
}


main#mstMain ul{
    }

main#mstMain ul li{
    margin:10px 0;
    max-width:800px;
    }

main#mstMain div.related{
    background-color:var(--palegrey);
    max-width:800px;
    border-radius:var(--radius);
    padding:20px;
    margin:20px 0;
    }

main#mstMain div.related a{
    display:inline-block;
    background-color:var(--blue);
    color:var(--white);
    padding:12px 24px;
    border-radius:var(--smallRadius);
}

main#mstMain section#search{
    position:relative;
    top: -132px;
}

main#mstMain section#search form#homeSearchContainer label{
    position:absolute;
    clip: rect(1px, 1px, 1px, 1px);
    padding:0;
    margin:0;
    height:1px;
    width:1px;
    overflow:hidden;
}

main#mstMain section#search form#homeSearchContainer input#hometxtSiteSearch{
    border:1px solid var(--darkgrey);
    background-color: var(--white);
    padding:0 20px 0 10px;
    border-radius:var(--radius);
    height:40px;
}

main#mstMain section#search form#homeSearchContainer input#homeSearchSubmit{
    position:relative;
    left:-36px;
    top:5px;
}

input#hometxtSiteSearch::-ms-clear{
    display: none; width : 0; height: 0;
}

input#hometxtSiteSearch::-ms-reveal{
    display: none; width : 0; height: 0;
}

input#hometxtSiteSearch::-webkit-search-decoration,
input#hometxtSiteSearch::-webkit-search-cancel-button,
input#hometxtSiteSearch::-webkit-search-results-button,
input#hometxtSiteSearch::-webkit-search-results-decoration { display: none; }

input#msttxtSiteSearch::-ms-clear{
    display: none; width : 0; height: 0;
}

input#msttxtSiteSearch::-ms-reveal{
    display: none; width : 0; height: 0;
}

input#msttxtSiteSearch::-webkit-search-decoration,
input#msttxtSiteSearch::-webkit-search-cancel-button,
input#msttxtSiteSearch::-webkit-search-results-button,
input#msttxtSiteSearch::-webkit-search-results-decoration { display: none; }



main#mstMain section#results{
    margin-top:-73px;
    margin-bottom:20px;
}

main#mstMain section#results a{
    text-decoration:none;
    display:inline-block;
    margin:-11px 0 20px 0;
}

main#mstMain section#results a:hover h2{
    text-decoration:underline;
}

div.ytPlaceHolder{
    display:inline-block;
    width:560px;
    height:315px;
    background-color:var(--blue);
    color:var(--white);
    border-radius:var(--radius);
    text-align:center;
    line-height:160px;
}

    div.ytPlaceHolder a {
        display: block;
        color: var(--white);
        text-decoration:none;
    }

    div.ytPlaceHolder a:hover {        
        text-decoration: underline;
    }

        div.ytPlaceHolder a.ytLink {
            font-size:22px;
            padding-top:35px;
        }

/* Grid of buttons */
ul.pageNavButtons {
    list-style: none;
    margin: 0 !important;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

    ul.pageNavButtons li {
        padding: 0 !important;
    }

        ul.pageNavButtons li a {
            position: relative;
            display: block;
            height: 180px;
            width: 345px;
            margin: 8px;
        }

            ul.pageNavButtons li a span {
                display: block;
                color: #fff;
                position: absolute;
                top: 140px;
                left: 10px;
                font-size: 110%;
            }


.fbcFigure {
    display: block;
    width: 502px;
    border: 1px solid black;
    margin: 20px;
    float: left;
}

    .fbcFigure img {
        height: 707px;
        max-width: 500px;
    }

    .fbcFigure figcaption {
        padding: 8px;
        height: 100px;
    }

/* Media Queries */
/* 1000px to 1200px */
@media only screen and (min-width: 1000px) and (max-width: 1200px) {

    main#mstMain section#serviceHeader div#sectionIcon{
        width:200px;
    }

    header #mstHeader.flex .headerMenuMobile {
        display: none;
    }
    header#mstHeader.flex{
        gap:20px;
    }
    header#mstHeader.flex div.headersearch #mstSearchContainer input#msttxtSiteSearch{
        width:225px;
    }
}

/* 769px to 999px */

@media only screen and (min-width: 769px) and (max-width: 999px){
     header#mstHeader.flex{
        gap:0px;
    }

    header#mstHeader.flex a.headerlink{
        display:none;
    }

    header#mstHeader.flex .headerMenuMobile{
        display:block;
        margin:0 var(--layoutpadding);
    }

    header#mstHeader.flex .headerMenuMobile svg{
        background-color:var(--cyan);
        width:35px;
        height:35px;
        padding:11px;
        border-radius:var(--smallRadius);
    }

    header#mstHeader.flex .headerMenuMobile:hover #headerMenuMobilePopout{
        display:flex;
    }

    header#mstHeader.flex .headerMenuMobile:focus #headerMenuMobilePopout{
        display:flex;
    }

    header#mstHeader.flex #headerMenuMobilePopout{
        display:none;
        height:500px;
        width:300px;
        position:absolute;
        background-color:var(--paleblue);
        top:80px;
        right:0;
        z-index:100;        
        flex-direction:column;
        border:1px solid var(--blue);
        border-top:20px solid var(--blue);
    }

    header#mstHeader.flex #headerMenuMobilePopout a{
        text-decoration:none;
        font-size:20px;
        margin:20px;
    }

    header#mstHeader.flex #headerMenuMobilePopout a:hover{
        text-decoration:underline;
    }

    header#mstHeader.flex #headerMenuMobilePopout a:first-of-type{
        font-size:17px;
    }

    
    
    
    header#mstHeader.flex .headersearchMobile:hover #headerSearchMobilePopout{
        display:flex;
    }

    header#mstHeader.flex .headersearchMobile:focus #headerSearchMobilePopout{
        display:flex;
    }

    header#mstHeader.flex #headerSearchMobilePopout{
        display:none;
        height:100px;
        width:300px;
        position:absolute;
        background-color:var(--paleblue);
        top:80px;
        right:0;
        z-index:100;        
        flex-direction:column;
        padding:20px;
        border:1px solid var(--blue);
        border-top:20px solid var(--blue);
    }

    header#mstHeader.flex #headerSearchMobilePopout label{
        color:var(--blue);
        font-weight:bold;
        margin-bottom:9px;
        display:inline-block;
    }

    header#mstHeader.flex #headerSearchMobilePopout input[type="search"]{
        border-radius:var(--radius);
        width:300px;
        height:40px;
    }

    header#mstHeader.flex #headerSearchMobilePopout input[type="image"]{
        position: relative;
        top:-30px;
        left:270px;
    }


    header#mstHeader.flex div.headersearch{
        display:none;
    }

    header#mstHeader.flex .headersearchMobile{
        display:block;
        margin:0 10px 0 0;
    }

        header#mstHeader.flex .headersearchMobile svg{
        fill: var(--blue);
        background-color:var(--white);
        width:35px;
        height:35px;
        padding:11px;
        border-radius:var(--smallRadius);
    }

         nav section#breadCrumb{
            padding-left:var(--layoutpaddingMobile);
        }

     footer#mstFooter{
       grid-template-columns:1fr 2fr;
       grid-template-rows:1fr 1fr 1fr;
       grid-template-areas:
           "footerSect1 footerSect3"
           "footerSect2 footerSect3"
           "footerSect2 footerSect4";
    }
     footer#mstFooter div#footerSect1{
       grid-area:footerSect1;
       padding:40px 0 0 0;
       text-align:center;
    }
     footer#mstFooter div#footerSect2{
       grid-area:footerSect2;
       padding:20px 0 0 0;
       text-align:center;
    }
     footer#mstFooter div#footerSect3{
       grid-area:footerSect3;
    }
     footer#mstFooter div#footerSect4{
       grid-area:footerSect4;
       align-content:end;
       padding:0 0 20px 0;
       margin:0 auto;
    }

 }

/* Less than 769px */

@media only screen and (max-width: 768px){
    header#mstHeader.flex{
        gap:7px;
    }
    header#mstHeader.flex div.headerlogo img{
        margin-left: var(--layoutpaddingMobile);
        height:35px;
        top:7px;
    }

        header#mstHeader.flex a.headerlink{
        display:none;
    }

    header#mstHeader.flex div.headersearch{
        display:none;
    }

    header#mstHeader.flex .headersearchMobile{
        display:block;
        margin:0 10px 0 0;
    }

    header#mstHeader.flex .headersearchMobile svg{
        fill: var(--blue);
        background-color:var(--white);
        width:35px;
        height:35px;
        padding:11px;
        border-radius:var(--smallRadius);
    }

    header#mstHeader.flex .headerMenuMobile{
        display:block;
        margin:0 var(--layoutpaddingMobile) 0 0;
    }

    header#mstHeader.flex .headerMenuMobile svg{
        fill: var(--blue);
        background-color:var(--cyan);
        width:35px;
        height:35px;
        padding:11px;
        border-radius:var(--smallRadius);
    }

  /*      header#mstHeader.flex .headerMenuMobile:hover #headerMenuMobilePopout{
        display:flex;
    }*/

    header#mstHeader.flex .headerMenuMobile:focus #headerMenuMobilePopout{
        display:flex;
    }
    header#mstHeader.flex .headerMenuMobile:focus-within #headerMenuMobilePopout{
        display:flex;
    }


    header#mstHeader.flex #headerMenuMobilePopout{
        display:none;
        height:500px;
        width:300px;
        position:absolute;
        background-color:var(--paleblue);
        top:80px;
        right:0;
        z-index:100;        
        flex-direction:column;
        border:1px solid var(--blue);
        border-top:20px solid var(--blue);
    }

    header#mstHeader.flex #headerMenuMobilePopout a{
        text-decoration:none;
        font-size:20px;
        margin:20px;
    }

    header#mstHeader.flex #headerMenuMobilePopout a:hover{
        text-decoration:underline;
    }

    header#mstHeader.flex #headerMenuMobilePopout a:first-of-type{
        font-size:17px;
    }

 /*   header#mstHeader.flex .headersearchMobile:hover #headerSearchMobilePopout{
        display:flex;
    }*/

    header#mstHeader.flex .headersearchMobile:focus #headerSearchMobilePopout{
        display:flex;
    }

    header#mstHeader.flex .headersearchMobile:focus-within #headerSearchMobilePopout{
        display:flex;
    }

    header#mstHeader.flex #headerSearchMobilePopout{
        display:none;
        height:100px;
        width:300px;
        position:absolute;
        background-color:var(--paleblue);
        top:80px;
        right:0;
        z-index:100;        
        flex-direction:column;
        padding:20px;
        border:1px solid var(--blue);
        border-top:20px solid var(--blue);
    }

    header#mstHeader.flex #headerSearchMobilePopout label{
        color:var(--blue);
        font-weight:bold;
        margin-bottom:9px;
        display:inline-block;
    }

    header#mstHeader.flex #headerSearchMobilePopout input[type="search"]{
        border-radius:var(--radius);
        width:300px;
        height:40px;
    }

    header#mstHeader.flex #headerSearchMobilePopout input[type="image"]{
        position: relative;
        top:-30px;
        left:270px;
    }


    header#mstHeader.flex div.headersearch{
        display:none;
    }

    header#mstHeader.flex .headersearchMobile{
        display:block;
        margin:0 10px 0 0;
    }

        header#mstHeader.flex .headersearchMobile svg{
        fill: var(--blue);
        background-color:var(--white);
        width:35px;
        height:35px;
        padding:11px;
        border-radius:var(--smallRadius);
    }

        nav section#breadCrumb{
            padding-left:var(--layoutpaddingMobile);
        }

    footer#mstFooter{
        display:flex;
        grid-template-columns:unset;
        grid-template-rows:unset;
        flex-direction:column;
        height:auto;
        width:100%;
        text-align:center;
    }

    footer#mstFooter div#footerSect1{
        padding-left:0;
    }

    footer#mstFooter div#footerSect3{
        flex-direction:row;
        padding-right:0;
        justify-content:center;
    }

    footer#mstFooter div#footerSect4{
        padding-right:0;
        margin-top:40px;
    }

    footer#mstFooter div#footerSect4 ul{
        flex-direction:column;
        gap:10px;
    }

}

/* Less than 999px */

@media only screen and (max-width: 999px){
    main#mstMain{
        padding:20px var(--layoutpaddingMobile);
    }

    main#mstMain h1{
        margin-top:-20px;
    }

    main#mstMain h1 img{
        display:none;
    }

    main#mstMain img{
        float:unset !important;
        width:100% !important;
        height: auto !important;
    }

    main#mstMain table{
        margin:20px 0;
    }

    main#mstMain img[title^='External Hyperlink']{
        width:auto !important;
    }

    main#mstMain img[title^='PDF']{
        width:auto !important;
    }

    #mstMain form ul.pageNavButtons{
        display:flex;
        flex-direction:column;
        padding:0;
    }

    #mstMain ul.pageNavButtons li{
        list-style:none;
        margin:0;
    }

    #mstMain ul.pageNavButtons li a{
        position:relative;
    }

    #mstMain ul.pageNavButtons li a span{
        position:absolute;
        bottom:16px;
        left:10px;
        color:var(--white);
    }

    main#mstMain section#serviceHeader{
        min-height:320px;
        height:auto;
        margin-top:-20px;
        padding-bottom:20px;
    }

    main#mstMain section#serviceHeader div#sectionIcon{
        display:none;
    }

    main#mstMain section#serviceButtons{
         padding:20px 0;
    }

    main#mstMain section#serviceButtons div{
        flex-direction:column;
        gap:10px;
    }

    main#mstMain section#serviceButtons div a{
        width:auto;
        background-image:none;
    }

}

/* Mobile Tables */

@media 
only screen and (max-width: 760px),
(min-device-width: 768px) and (max-device-width: 1024px)  {

table.scrollable{
    width:100%;
    overflow-x:scroll;
    display:block;
    border:none;
}

table.collapsible, table.collapsible caption, table.collapsible thead, table.collapsible tbody, table.collapsible th, table.collapsible td, table.collapsible tr{
    display: block !important;
}

table.collapsible tr:nth-of-type(odd){
    background:#eee;
}

table.collapsible tr:nth-of-type(odd) td{
    border-bottom: 1px solid #ccc !important;
}

table.collapsible thead tr{
    position: absolute !important;
		top: -9999px !important;
		left: -9999px !important;

}

table.collapsible thead tr th{
    width: 100% !important;
    text-align:center;
}

table.collapsible tr{
    border: 1px solid #ccc !important;
}

table.collapsible td{
   border: none !important;
		border-bottom: 1px solid #eee !important; 
		position: relative !important;
		width:100% !important;
        padding-left:120px !important;
}

table.collapsible td::before{
    content: attr(data-head);
    font-weight:bold;
    margin-right:5px;
    position:absolute;
    top:6px;
    left:6px;
    width: 115px;
    padding-right: 10px;
    white-space: nowrap;
}

}