/****** custom CSS for Good Roads theme styling ******/

/*** colors ***/
/* iMIS variable overrides */
:root {
    --nav-color: #949494;
    --aux-bg: transparent;
}

/*** custom fonts ***/

@font-face {
    font-family: 'MessinaSansWeb';
    src: url('gr-fonts/MessinaSans_Web_Family/MessinaSansWeb-Regular.eot');
    /* IE9 Compat Modes */
    src: url('gr-fonts/MessinaSans_Web_Family/MessinaSansWeb-Regular.eot?#iefix') format('embedded-opentype'),
        /* IE6-IE8 */
        url('gr-fonts/MessinaSans_Web_Family/MessinaSansWeb-Regular.woff2') format('woff2'),
        /* Super Modern Browsers */
        url('gr-fonts/MessinaSans_Web_Family/MessinaSansWeb-Regular.woff') format('woff');
    /* Pretty Modern Browsers */
    font-weight: 400;
    font-style: normal;
    font-stretch: normal;
    unicode-range: U+000D-FB04;
}

@font-face {
    font-family: 'Suisse Works';
    src: url('gr-fonts/Suisse_Works_Regular/SuisseWorks-Regular.otf') format('opentype'),
        url('gr-fonts/Suisse_Works_Regular/SuisseWorks-Regular.woff2') format('woff2'),
        url('gr-fonts/Suisse_Works_Regular/SuisseWorks-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-stretch: normal;
}

/*** typography ***/

body {
    font-family: 'MessinaSansWeb';
    font-weight: 500;
    font-style: normal;
    font-size: 17px;
    line-height: 21px;
    color: #000;
    letter-spacing: -0.03em;
    background-color: #000;
    text-rendering: optimizeLegibility;
    /* emphasizes in legibility over rendering speed */
    -webkit-font-smoothing: antialiased;
    /* apply font anti-aliasing */
    -moz-osx-font-smoothing: grayscale;
    /* optimize font rendering */
    -moz-font-feature-settings: "kern" 1;
    /* turn on kerning, highly recomened */
    -ms-font-feature-settings: "kern" 1;
    /* turn on kerning, highly recomened */
    -o-font-feature-settings: "kern" 1;
    /* turn on kerning, highly recomened */
    -webkit-font-feature-settings: "kern" 1;
    /* turn on kerning, highly recomened */
    font-feature-settings: "kern" 1;
    /* turn on kerning, highly recomened */
    font-kerning: normal;
    /* turn on kerning, highly recomened */
    font-feature-settings: "liga" on;
    /* ligatures: on or off */
    font-feature-settings: "dlig" off;
    /* discretionary-ligatures: on or off */
    font-feature-settings: "tnum" off;
    /* tabular figures: on or off */
    font-feature-settings: "onum" off;
    /* old-style-figures: on or off */
    font-feature-settings: "ss01" off;
    /* alternate glyphs (stylistic Set): on or off */
}

a,
a:visited {
    color: inherit;
    cursor: pointer;
    text-decoration: underline;
}

a:hover,
a:focus,
a:active {
    color: inherit;
    text-decoration: underline;
}

/* Heading Styles */

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0;
}

h2,
h3 {
    font-family: 'Suisse Works';
    font-weight: normal;
}

h2 {
    margin-bottom: 20px;
    font-size: 37px;
    line-height: 37px;
}

h3 {
    margin-bottom: 5px;
    font-size: 28px;
    line-height: 28px;
}

h4,
h5,
h6 {
    font-family: 'MessinaSansWeb';
    font-weight: 500;
    font-style: normal;
}

h4 {
    font-size: 24px;
    line-height: 26px;
    letter-spacing: -0.04em;
}

@media only screen and (min-width: 576px) {
    h2 {
        font-size: 50px;
        line-height: 50px;
    }

    h4 {
        font-size: 21.5px;
        line-height: 24px;
    }
}

@media only screen and (min-width: 768px) {
    h2 {
        font-size: 37px;
        line-height: 37px;
    }
}

@media only screen and (min-width: 992px) {
    h2 {
        font-size: 50px;
        line-height: 50px;
        letter-spacing: -0.04em;
    }
}

@media only screen and (min-width: 1200px) {
    h3 {
        font-size: 30px;
        line-height: 30px;
    }
}

@media only screen and (min-width: 1440px) {
    h2 {
        font-size: 59px;
        line-height: 59px;
    }

    h3 {
        margin-bottom: 10px;
        font-size: 37px;
        line-height: 37px;
    }

    h4 {
        font-size: 24px;
        line-height: 26px;
    }
}


/*** menu styling ***/
/* font */
.RadMenu_Coffee .rmSlide .rmLink,
.RadMenu.RadMenu_Coffee .rmRootLink {
    color: var(--nav-color);
    font-family: 'MessinaSansWeb';
}

.RadMenu.RadMenu_Coffee .rmHorizontal .rmText,
.RadMenu.RadMenu_Coffee .rmText {
    padding: 5px 20px;
}

@media (max-height:900px) {

    .RadMenu.RadMenu_Coffee .rmHorizontal .rmText,
    .RadMenu.RadMenu_Coffee .rmText {
        padding: 0px 20px;
        line-height: initial;
    }

    .RadMenu.RadMenu_Coffee {
        margin-top: 0px;
        margin-bottom: 0px;
    }
}

@media (max-height:700px) {
    .gr-slide-drawer {
        padding: 20px;
    }
}

/* slide drawer background and layout */
.gr-slide-drawer {
    position: fixed;
    right: 0;
    background-color: #000;
    max-width: 600px;
    height: 100%;
    z-index: 2000;
    padding: 40px 37px 40px 20px;
    background-attachment: none !important;
}

@media (max-width:993px) {
    .gr-slide-drawer {
        width: 100%;
    }
}

/* re-aligning top menu items for vertical display */
.RadMenu.RadMenu_Coffee .rmItem {
    width: 100%;
    margin-bottom: 10px;
}

/* re-aligning aux menu items for vertical display */
.UtilitySection {
    display: inline-block;
}

/*close and open controls */
.gr-slide-drawer-close,
.gr-slide-drawer-open {
    float: right;
}

.gr-slide-drawer-close:hover,
.gr-slide-drawer-open:hover {
    opacity: 0.7;
    cursor: pointer;
}

/* non-icon icons for toggling the nav */
.gr-slide-drawer-open {
    position: absolute;
    display: block;
    top: 17px;
    right: 30px;
    width: 27px;
    height: 27px;
    background-color: transparent;
    border: 0;
    margin-top: 11px;
}

.gr-slide-drawer-open span {
    position: absolute;
    width: 28px;
    height: 2px;
    transition: all .2s;
    background-color: #000;
}

.gr-slide-drawer-open span:nth-child(1) {
    bottom: 21px;
    left: 0;
    opacity: 1;
}

.gr-slide-drawer-open span:nth-child(2) {
    bottom: 13px;
    left: 0;
}

.gr-slide-drawer-open span:nth-child(3) {
    bottom: 5px;
    left: 0;
    opacity: 1;
}

.gr-slide-drawer-close {
    display: inline-block;
    cursor: pointer;
    width: 30px;
    height: 30px;
    position: relative;
}

.gr-slide-drawer-close::before,
.gr-slide-drawer-close::after {
    position: absolute;
    right: 0;
    top: 0;
    content: ' ';
    height: 35px;
    width: 2px;
    background-color: #fff;
    transform: translate(-50%, -50%) rotate(45deg);
    transition: background-color 0.3s ease;
}

.gr-slide-drawer-close::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

/* animation */
.gr-slide-drawer {
    transform: translateX(100%);
    /* Initially slide it out to the right */
    transition: transform 0.3s ease-in-out;
    /* Smooth transition for the sliding effect */
}

.gr-slide-drawer.open {
    transform: translateX(0);
    /* Slide it into view */
    content-visibility: visible;
}

.gr-slide-drawer.closed {
    transform: translateX(100%);
    padding: 0;
    transition: transform 0.3s ease-in-out;
    padding: 40px 37px 40px 20px;
}

/* header logo and object alignment */
.header-logo-container {
    float: none;
    max-width: 1380px;
    margin: 0 auto;
    padding-left: 30px;
    padding-right: 30px;
    width: 100%;
}

/* header logo */
#masterHeaderImage {
    background-image: url("gr-images/GoodRoadsLogo-nobg.PNG");
    background-repeat: no-repeat;
    background-size: contain;
    width: 215px;
    /* The following are needed to hide the text, but allow it to be read by screen readers */
    text-indent: -9999px;
    overflow: hidden;
    float: left;
    margin-left: 12px;
    margin-top: 8px;

}

/* homepage logo */
.Wrapper-HomePage #masterHeaderImage {
    background-image: url("gr-images/GoodRoadsLogo-nobg.PNG");
}

@media (min-width: 992px) {
    #masterHeaderImage {
        background-image: url("gr-images/GoodRoadsLogo-nobg.PNG");
        width: 215px;
        height: 79px;
    }
}

/* remove scaling effect from logo hover */
@media (min-width: 992px) {
    #masterHeaderImage:hover {
        transform: none;
    }
}

/* center logo container */
.gr-pre-header {
    position: fixed;
    background: #fff;
    z-index: 1000;
    margin-right: auto;
    margin-left: auto;
    width: 100%;
}

@media (max-width:1400px) {
    .header-logo-container {
        width: 100%;
    }
}

/* disable menu mouse interactions animations */
.RadMenu.RadMenu_Coffee .rmRootGroup>li>div.rmSlide .rmGroup {
    animation: none;
    animation-fill-mode: none;
    visibility: visible;
    display: block;
}

/* change background color of footer */
footer.footer {
    background-color: #000;
}

/* G R alignment in footer */
.GR-footer-container {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    max-width: 1380px;
    margin: 0 auto;
}

.leftFooterG {
    border-right: 1px white solid;
}

.leftFooterR {
    border-left: 1px white solid;
}

.footer-content {
    flex-grow: 1;
    text-align: center;
}

.leftFooterG,
.leftFooterR {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    width: 175px;
    text-align: center;
}

.leftFooterG img,
.leftFooterR img {
    margin: 15px 15px 0 15px;
}

/*2nd and 3rd level navigation (dropdown menus)*/
.RadMenu_Coffee .rmSlide {
    display: block !important;
    /* hide the sub nav until requested */
    position: relative !important;
    height: auto !important;
    top: 0 !important;
    width: 100% !important;
}

.RadMenu_Coffee .rmSlide .rmItem {
    float: left;
    display: block;
}

.RadMenu_Coffee .rmSlide .rmText {
    float: left;
}

#ctl01_ciPrimaryNavigation_NavControl_NavMenu>ul>li.rmItem.rmLast.rmTwoLevels>div>ul>li>div {
    display: block !important;
    left: 0 !important;
}

/* make secondary nav items expanded by default */
.RadMenu.RadMenu_Coffee .rmSlide {
    visibility: visible;
    width: 138px;
    height: auto !important;
    z-index: 7;
    left: 0 !important;
}

.RadMenu.RadMenu_Coffee .rmToggle,
.RadMenu.RadMenu_Coffee .rmRootGroup .rmRootLink .rmToggle {
    display: none;
}

.RadMenu.RadMenu_Coffee .rmGroup {
    background-color: transparent;
}

.RadMenu_Coffee .rmSlide .rmLink {
    color: var(--nav-color);
    font-size: 18px;

}

.RadMenu.RadMenu_Coffee .rmSlide ul.rmGroup .rmLink .rmText {
    padding: 0;
}

.RadMenu.RadMenu_Coffee .rmTwoLevels .rmLevel2>.rmItem>.rmLink {
    margin-left: 15px;
    z-index: 7;
}

.RadMenu.RadMenu_Coffee .rmSlide ul.rmGroup .rmLink .rmText:before {
    content: '\2014';
    padding-left: 15px;
}

/* menu hover color */
.RadMenu_Coffee .rmSlide .rmLink:hover,
.RadMenu_Coffee .rmSlide .rmLink:focus,
.RadMenu_Coffee .rmSlide .rmLink.rmFocused,
.RadMenu_Coffee .rmSlide .rmLevel1>.rmItem>.rmLink:hover,
.RadMenu_Coffee .rmSlide .rmLevel1>.rmItem>.rmLink:focus,
.RadMenu_Coffee .rmSlide .rmLevel1>.rmItem>.rmLink.rmFocused {
    background-color: transparent;
    color: #fff;
}

.RadMenu.RadMenu_Coffee .rmRootLink.rmExpanded,
.RadMenu.RadMenu_Coffee .rmRootLink:hover,
.RadMenu.RadMenu_Coffee .rmRootLink.rmFocused,
.RadMenu.RadMenu_Coffee .rmSlide ul.rmGroup .rmLink:hover,
.RadMenu.RadMenu_Coffee .rmSlide ul.rmGroup .rmFocused,
.RadMenu.RadMenu_Coffee .rmSlide ul.rmGroup .rmExpanded,
.RadMenu.RadMenu_Coffee .rmTwoLevels .rmLevel1>.rmItem.rmDisabled>.rmLink:hover,
.RadMenu.RadMenu_Coffee .rmTwoLevels .rmLevel1>.rmItem.rmDisabled>.rmLink:focus,
.RadMenu_Coffee .rmSlide .rmFocused>.rmLink,
.RadMenu_Coffee .rmSlide .rmSelected>.rmLink,
.RadMenu_Coffee .rmSlide .rmItem.rmSelected>.rmLink,
.Wrapper-HomePage .RadMenu.RadMenu_Coffee .rmLink:hover,
.Wrapper-HomePage .RadMenu.RadMenu_Coffee .rmFocused,
.Wrapper-HomePage .RadMenu.RadMenu_Coffee .rmExpanded {
    color: #fff;
    transition: all 0.2s ease-in;
}


.RadMenu.RadMenu_Coffee .rmTwoLevels .rmLevel1>.rmItem>.rmLink {
    color: var(--nav-color)
}


.RadMenu.RadMenu_Coffee.MegaDropDownMenuOuter ul.rmLevel1 div.rmSlide,
.RadMenu.RadMenu_Coffee.MegaDropDownMenuOuter ul.rmLevel1 ul.rmVertical div.rmSlide {
    width: 100%;
}

.RadMenu.MegaDropDownMenuOuter ul.rmLevel2 {
    display: block !important;
}

.RadMenu.MegaDropDownMenuOuter ul.rmLevel2>.rmItem,
.RadMenu.MegaDropDownMenuOuter ul.rmLevel2>.rmItem .rmLink {
    width: 100% !important;
    display: block;
    float: left;
}

.RadMenu.RadMenu_Coffee .rmSlide ul.rmGroup .rmLink {
    transition: all 0.2s ease-in;
}

.RadMenu.RadMenu_Coffee .rmRootLink {
    font-size: 21.5px;
}

.RadMenu.RadMenu_Coffee .rmRootLink.rmSelected {
    /* root item selected styles */
    color: var(--nav-color);
}

.UtilitySection.UtilityAuthenticationLink {
    color: var(--nav-color);
    font-size: 21.5px;
    margin-top: -10px;
    margin-left: 15px;
    margin-bottom: 60px;
    text-decoration: none;
    transition: all 0.2s ease-in;
}

@media (min-height:900px) {
    .UtilitySection.UtilityAuthenticationLink {
        margin-bottom: 120px;
    }
}

.UtilitySection.UtilityAuthenticationLink:hover {
    color: #fff;
}

/* footer socials */
#ste_container_FooterSocialsHTML {
    margin-top: 15px;
    margin-bottom: 15px;
}

#ste_container_FooterSocialsHTML ul li.social-icon {
    display: inline-block;
    margin-right: 20px;
    height: 18px;
    background-color: #949494;
}

#ste_container_FooterSocialsHTML ul li.social-icon:hover {
    background-color: #fff;
}

#ste_container_FooterSocialsHTML ul li.social-icon img {
    vertical-align: top;
    height: 18px !important;
}

.footer-bottom {
    font-weight: 600;
    font-size: 11px;
}

.footer-bottom ul {
    list-style: none;
}

.footer-bottom ul li {
    display: inline;
    padding-left: 5px;
}

footer.footer a,
footer.footer a:focus,
footer.footer a:active,
footer.footer a:visited,
.footer-bottom ul li,
.footer-bottom ul li a {
    color: var(--nav-color)
}

footer.footer a:hover,
.footer-bottom ul li a:hover {
    color: #fff
}

footer.footer .footer-content>.container .footer-column:nth-child(3) .ContentItemContainer>ul {
    display: block;
}

#ste_container_FooterLinksLeftHTML,
#ste_container_FooterLinksRightHTML {
    width: 40%;
    float: left;
    margin-top: 10px;
}

footer.footer .footer-content>.container .footer-column:nth-child(3) .ContentItemContainer ul>li {
    width: 100%;
}


/* offset content so it's not hidden behind sticky header */
.col-primary {
    margin-top: 87px;
}


.header-primary-nav-container {
    margin-right: 10px;
}

/* prevent menu items from dissappearing on small screens */
.collapse {
    display: block;
}

.header-aux-container .UtilityNavigation {
    display: block;
}

/* adjust padding on aux menu items */
.header-aux-container>div {
    padding: 0 15px;
}


/**************************WIP *(*******? ***/

/****** custom CSS for Good Roads theme styling ******/

/*** colors ***/
/* iMIS variable overrides */
:root {
    --nav-color: #949494;
    --aux-bg: transparent;
}

/*** custom fonts ***/

@font-face {
    font-family: 'MessinaSansWeb';
    src: url('gr-fonts/MessinaSans_Web_Family/MessinaSansWeb-Regular.eot');
    /* IE9 Compat Modes */
    src: url('gr-fonts/MessinaSans_Web_Family/MessinaSansWeb-Regular.eot?#iefix') format('embedded-opentype'),
        /* IE6-IE8 */
        url('gr-fonts/MessinaSans_Web_Family/MessinaSansWeb-Regular.woff2') format('woff2'),
        /* Super Modern Browsers */
        url('gr-fonts/MessinaSans_Web_Family/MessinaSansWeb-Regular.woff') format('woff');
    /* Pretty Modern Browsers */
    font-weight: 400;
    font-style: normal;
    font-stretch: normal;
    unicode-range: U+000D-FB04;
}

@font-face {
    font-family: 'Suisse Works';
    src: url('gr-fonts/Suisse_Works_Regular/SuisseWorks-Regular.otf') format('opentype'),
        url('gr-fonts/Suisse_Works_Regular/SuisseWorks-Regular.woff2') format('woff2'),
        url('gr-fonts/Suisse_Works_Regular/SuisseWorks-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-stretch: normal;
}

/*** typography ***/

body {
    font-family: 'MessinaSansWeb';
    font-weight: 500;
    font-style: normal;
    font-size: 17px;
    line-height: 21px;
    color: #000;
    letter-spacing: -0.03em;
    background-color: #000;
    text-rendering: optimizeLegibility;
    /* emphasizes in legibility over rendering speed */
    -webkit-font-smoothing: antialiased;
    /* apply font anti-aliasing */
    -moz-osx-font-smoothing: grayscale;
    /* optimize font rendering */
    -moz-font-feature-settings: "kern" 1;
    /* turn on kerning, highly recomened */
    -ms-font-feature-settings: "kern" 1;
    /* turn on kerning, highly recomened */
    -o-font-feature-settings: "kern" 1;
    /* turn on kerning, highly recomened */
    -webkit-font-feature-settings: "kern" 1;
    /* turn on kerning, highly recomened */
    font-feature-settings: "kern" 1;
    /* turn on kerning, highly recomened */
    font-kerning: normal;
    /* turn on kerning, highly recomened */
    font-feature-settings: "liga" on;
    /* ligatures: on or off */
    font-feature-settings: "dlig" off;
    /* discretionary-ligatures: on or off */
    font-feature-settings: "tnum" off;
    /* tabular figures: on or off */
    font-feature-settings: "onum" off;
    /* old-style-figures: on or off */
    font-feature-settings: "ss01" off;
    /* alternate glyphs (stylistic Set): on or off */
}

body.loaded.in {
    background: #fefefe;
}

a,
a:visited {
    color: inherit;
    cursor: pointer;
    text-decoration: underline;
}

a:hover,
a:focus,
a:active {
    color: inherit;
    text-decoration: underline;
}

/* Heading Styles */

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0;
}

h2,
h3 {
    font-family: 'Suisse Works';
    font-weight: normal;
}

h2 {
    margin-bottom: 20px;
    font-size: 37px;
    line-height: 37px;
}

h3 {
    margin-bottom: 5px;
    font-size: 28px;
    line-height: 28px;
}

h4,
h5,
h6 {
    font-family: 'MessinaSansWeb';
    font-weight: 500;
    font-style: normal;
}

h4 {
    font-size: 24px;
    line-height: 26px;
    letter-spacing: -0.04em;
}

@media only screen and (min-width: 576px) {
    h2 {
        font-size: 50px;
        line-height: 50px;
    }

    h4 {
        font-size: 21.5px;
        line-height: 24px;
    }
}

@media only screen and (min-width: 768px) {
    h2 {
        font-size: 37px;
        line-height: 37px;
    }
}

@media only screen and (min-width: 992px) {
    h2 {
        font-size: 50px;
        line-height: 50px;
        letter-spacing: -0.04em;
    }
}

@media only screen and (min-width: 1200px) {
    h3 {
        font-size: 30px;
        line-height: 30px;
    }
}

@media only screen and (min-width: 1440px) {
    h2 {
        font-size: 59px;
        line-height: 59px;
    }

    h3 {
        margin-bottom: 10px;
        font-size: 37px;
        line-height: 37px;
    }

    h4 {
        font-size: 24px;
        line-height: 26px;
    }
}


/*** menu styling ***/
/* slide drawer background and layout */
.gr-slide-drawer {
    position: fixed;
    right: 0;
    background-color: #000;
    max-width: 600px;
    height: 100%;
    z-index: 2000;
    padding: 40px 37px 40px 20px;
    background-attachment: none !important;
}



/* re-aligning top menu items for vertical display */
.RadMenu.RadMenu_Coffee .rmItem {
    width: 100%;
    margin-bottom: 10px;
}

@media (max-height:700px) {
    .gr-slide-drawer {
        padding: 20px 10px;
    }

    .RadMenu.RadMenu_Coffee .rmItem {
        width: 100%;
        margin-bottom: 0px;
    }
}


/* re-aligning aux menu items for vertical display */
.UtilitySection {
    display: inline-block;
}

/*close and open controls */
.gr-slide-drawer-close,
.gr-slide-drawer-open {
    float: right;
}

.gr-slide-drawer-close:hover,
.gr-slide-drawer-open:hover {
    opacity: 0.7;
    cursor: pointer;
}

/* non-icon icons for toggling the nav */
.gr-slide-drawer-open {
    position: absolute;
    display: block;
    top: 17px;
    right: 30px;
    width: 27px;
    height: 27px;
    background-color: transparent;
    border: 0;
    margin-top: 11px;
}

.gr-slide-drawer-open span {
    position: absolute;
    width: 28px;
    height: 2px;
    transition: all .2s;
    background-color: #000;
}

.gr-slide-drawer-open span:nth-child(1) {
    bottom: 21px;
    left: 0;
    opacity: 1;
}

.gr-slide-drawer-open span:nth-child(2) {
    bottom: 13px;
    left: 0;
}

.gr-slide-drawer-open span:nth-child(3) {
    bottom: 5px;
    left: 0;
    opacity: 1;
}

.gr-slide-drawer-close {
    display: inline-block;
    cursor: pointer;
    width: 30px;
    height: 30px;
    position: relative;
}

.gr-slide-drawer-close::before,
.gr-slide-drawer-close::after {
    position: absolute;
    right: 0;
    top: 0;
    content: ' ';
    height: 35px;
    width: 2px;
    background-color: #fff;
    transform: translate(-50%, -50%) rotate(45deg);
    transition: background-color 0.3s ease;
}

.gr-slide-drawer-close::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

/* animation */
.gr-slide-drawer {
    transform: translateX(100%);
    /* Initially slide it out to the right */
    transition: transform 0.3s ease-in-out;
    /* Smooth transition for the sliding effect */
}

.gr-slide-drawer.open {
    transform: translateX(0);
    /* Slide it into view */
    content-visibility: visible;
}

.gr-slide-drawer.closed {
    transform: translateX(100%);
    padding: 0;
    transition: transform 0.3s ease-in-out;
    padding: 40px 37px 40px 20px;
}

/* header logo and object alignment */
.header-logo-container {
    float: none;
    max-width: 1380px;
    margin: 0 auto;
    padding-left: 30px;
    padding-right: 30px;
    width: 100%;
}

/* header logo */
#masterHeaderImage {
    background-image: url("gr-images/GoodRoadsLogo-nobg.PNG");
    background-repeat: no-repeat;
    background-size: contain;
    width: 215px;
    /* The following are needed to hide the text, but allow it to be read by screen readers */
    text-indent: -9999px;
    overflow: hidden;
    float: left;
    margin-left: 12px;
    margin-top: 8px;

}

/* homepage logo */
.Wrapper-HomePage #masterHeaderImage {
    background-image: url("gr-images/GoodRoadsLogo-nobg.PNG");
}

@media (min-width: 992px) {
    #masterHeaderImage {
        background-image: url("gr-images/GoodRoadsLogo-nobg.PNG");
        width: 215px;
        height: 79px;
    }
}

/* remove scaling effect from logo hover */
@media (min-width: 992px) {
    #masterHeaderImage:hover {
        transform: none;
    }
}

/* center logo container */
.gr-pre-header {
    position: fixed;
    background: #fff;
    z-index: 1000;
    margin-right: auto;
    margin-left: auto;
    width: 100%;
}

@media (max-width:1400px) {
    .header-logo-container {
        width: 100%;
    }
}

/* disable menu mouse interactions animations */
.RadMenu.RadMenu_Coffee .rmRootGroup>li>div.rmSlide .rmGroup {
    animation: none;
    animation-fill-mode: none;
    visibility: visible;
    display: block;
}

/* change background color of footer */
footer.footer {
    background-color: #000;
}

/* G R alignment in footer */
.GR-footer-container {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    max-width: 1380px;
    margin: 0 auto;
}

.leftFooterG {
    border-right: 1px white solid;
}

.leftFooterR {
    border-left: 1px white solid;
}

.footer-content {
    flex-grow: 1;
    text-align: center;
}

.leftFooterG,
.leftFooterR {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    width: 175px;
    text-align: center;
}

.leftFooterG img,
.leftFooterR img {
    margin: 15px 15px 0 15px;
}

/*2nd and 3rd level navigation (dropdown menus)*/
.RadMenu_Coffee .rmSlide {
    display: block !important;
    /* hide the sub nav until requested */
    position: relative !important;
    height: auto !important;
    top: 0 !important;
    width: 100% !important;
}

.RadMenu_Coffee .rmSlide .rmItem {
    float: left;
    display: block;
}

.RadMenu_Coffee .rmSlide .rmText {
    float: left;
}

#ctl01_ciPrimaryNavigation_NavControl_NavMenu>ul>li.rmItem.rmLast.rmTwoLevels>div>ul>li>div {
    display: block !important;
    left: 0 !important;
}

/* make secondary nav items expanded by default */
.RadMenu.RadMenu_Coffee .rmSlide {
    visibility: visible;
    width: 138px;
    height: auto !important;
    z-index: 7;
    left: 0 !important;
}

.RadMenu.RadMenu_Coffee .rmToggle,
.RadMenu.RadMenu_Coffee .rmRootGroup .rmRootLink .rmToggle {
    display: none;
}

.RadMenu.RadMenu_Coffee .rmGroup {
    background-color: transparent;
}

.RadMenu_Coffee .rmSlide .rmLink {
    color: var(--nav-color);
    font-size: 18px;

}

.RadMenu.RadMenu_Coffee .rmSlide ul.rmGroup .rmLink .rmText {
    padding: 0;
}

.RadMenu.RadMenu_Coffee .rmTwoLevels .rmLevel2>.rmItem>.rmLink {
    margin-left: 15px;
    z-index: 7;
}

.RadMenu.RadMenu_Coffee .rmSlide ul.rmGroup .rmLink .rmText:before {
    content: '\2014';
    padding-left: 20px;
}

/* menu hover color */
.RadMenu_Coffee .rmSlide .rmLink:hover,
.RadMenu_Coffee .rmSlide .rmLink:focus,
.RadMenu_Coffee .rmSlide .rmLink.rmFocused,
.RadMenu_Coffee .rmSlide .rmLevel1>.rmItem>.rmLink:hover,
.RadMenu_Coffee .rmSlide .rmLevel1>.rmItem>.rmLink:focus,
.RadMenu_Coffee .rmSlide .rmLevel1>.rmItem>.rmLink.rmFocused {
    background-color: transparent;
    color: #fff;
}

.RadMenu.RadMenu_Coffee .rmRootLink.rmExpanded,
.RadMenu.RadMenu_Coffee .rmRootLink:hover,
.RadMenu.RadMenu_Coffee .rmRootLink.rmFocused,
.RadMenu.RadMenu_Coffee .rmSlide ul.rmGroup .rmLink:hover,
.RadMenu.RadMenu_Coffee .rmSlide ul.rmGroup .rmFocused,
.RadMenu.RadMenu_Coffee .rmSlide ul.rmGroup .rmExpanded,
.RadMenu.RadMenu_Coffee .rmTwoLevels .rmLevel1>.rmItem.rmDisabled>.rmLink:hover,
.RadMenu.RadMenu_Coffee .rmTwoLevels .rmLevel1>.rmItem.rmDisabled>.rmLink:focus,
.RadMenu_Coffee .rmSlide .rmFocused>.rmLink,
.RadMenu_Coffee .rmSlide .rmSelected>.rmLink,
.RadMenu_Coffee .rmSlide .rmItem.rmSelected>.rmLink,
.Wrapper-HomePage .RadMenu.RadMenu_Coffee .rmLink:hover,
.Wrapper-HomePage .RadMenu.RadMenu_Coffee .rmFocused,
.Wrapper-HomePage .RadMenu.RadMenu_Coffee .rmExpanded {
    color: #fff;
    transition: all 0.2s ease-in;
}


.RadMenu.RadMenu_Coffee .rmTwoLevels .rmLevel1>.rmItem>.rmLink {
    color: var(--nav-color)
}


.RadMenu.RadMenu_Coffee.MegaDropDownMenuOuter ul.rmLevel1 div.rmSlide,
.RadMenu.RadMenu_Coffee.MegaDropDownMenuOuter ul.rmLevel1 ul.rmVertical div.rmSlide {
    width: 100%;
}

.RadMenu.MegaDropDownMenuOuter ul.rmLevel2 {
    display: block !important;
}

.RadMenu.MegaDropDownMenuOuter ul.rmLevel2>.rmItem,
.RadMenu.MegaDropDownMenuOuter ul.rmLevel2>.rmItem .rmLink {
    width: 100% !important;
    display: block;
    float: left;
}

.RadMenu.RadMenu_Coffee .rmSlide ul.rmGroup .rmLink {
    transition: all 0.2s ease-in;
}

.RadMenu.RadMenu_Coffee .rmRootLink {
    font-size: 21.5px;
}

.RadMenu.RadMenu_Coffee .rmRootLink.rmSelected {
    /* root item selected styles */
    color: var(--nav-color);
}

.UtilitySection.UtilityAuthenticationLink {
    color: var(--nav-color);
    font-size: 21.5px;
    margin-top: -10px;
    margin-left: 20px;
    margin-bottom: 60px;
    text-decoration: none;
    transition: all 0.2s ease-in;
}

@media (min-height:900px) {
    .UtilitySection.UtilityAuthenticationLink {
        margin-bottom: 80px;
    }
}

.UtilitySection.UtilityAuthenticationLink:hover {
    color: #fff;
}

/* footer socials */
#ste_container_FooterSocialsHTML {
    margin-top: 15px;
    margin-bottom: 15px;
}

#ste_container_FooterSocialsHTML ul li.social-icon {
    display: inline-block;
    margin-right: 20px;
    height: 18px;
    background-color: #949494;
}

#ste_container_FooterSocialsHTML ul li.social-icon:hover {
    background-color: #fff;
}

#ste_container_FooterSocialsHTML ul li.social-icon img {
    vertical-align: top;
    height: 18px !important;
}

.footer-bottom {
    font-weight: 600;
    font-size: 11px;
}

.footer-bottom ul {
    list-style: none;
}

.footer-bottom ul li {
    display: inline;
    padding-left: 5px;
}

footer.footer a,
footer.footer a:focus,
footer.footer a:active,
footer.footer a:visited,
.footer-bottom ul li,
.footer-bottom ul li a {
    color: var(--nav-color)
}

footer.footer a:hover,
.footer-bottom ul li a:hover {
    color: #fff
}

footer.footer .footer-content>.container .footer-column:nth-child(3) .ContentItemContainer>ul {
    display: block;
}

#ste_container_FooterLinksLeftHTML,
#ste_container_FooterLinksRightHTML {
    width: 40%;
    float: left;
    margin-top: 10px;
}

footer.footer .footer-content>.container .footer-column:nth-child(3) .ContentItemContainer ul>li {
    width: 100%;
}


/* offset content so it's not hidden behind sticky header */
.col-primary {
    margin-top: 87px;
}


.header-primary-nav-container {
    margin-right: 10px;
}

/* prevent menu items from dissappearing on small screens */
.collapse {
    display: block;
}

.header-aux-container .UtilityNavigation {
    display: block;
}

/* adjust padding on aux menu items */
.header-aux-container>div {
    padding: 0 15px;
}

/* porting nav menu styles from WP */
#searchInput {
    position: relative;
}

#searchInput {
    padding: 12px 60px 12px 0;
    width: 100%;
    font-size: 18px;
    background-color: transparent;
    border: 0;
    font-family: 'MessinaSansWeb';
}

/* Fix for Mozilla */
@-moz-document url-prefix() {
    #navigation-menu .navigation-menu-search form input[type=text] {
        padding: 13px 60px 11px 0;
    }
}

#submitArrow {
    position: relative;
    height: 30px;
    float: right;
    font-size: 30px;
    line-height: 0;
    color: #949494;
    background-color: transparent;
    border: 0;
    font-family: 'MessinaSansWeb';
}

/* Fix for Mozilla */
@-moz-document url-prefix() {
    #submitArrow {
        top: 0;
        padding-top: 2px;
    }
}

#searchInput,
#submitArrow {
    color: #949494 !important;
}

#searchInput::-webkit-input-placeholder {
    font-size: 16.5px;
    color: #949494 !important;
    opacity: 1 !important;
}

#searchInput::-moz-placeholder {
    font-size: 16.5px;
    color: #949494 !important;
    opacity: 1 !important;
}

#searchInput:-ms-input-placeholder {
    font-size: 16.5px;
    color: #949494 !important;
    opacity: 1 !important;
}

#searchInput:-moz-placeholder {
    font-size: 16.5px;
    color: #949494 !important;
    opacity: 1 !important;
}

/* admin tool spacing */
#ctl01_ciAdminUtilityAux_UtilityPlaceholder {
    margin-top: 10px;
}

.header-aux-container {
    margin-top: 40px;
    margin-left: 8px;
}

/* redo arrow positioning using flex */
.gr-menu-search>div {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    border-bottom: 1px solid #949494;
}

.gr-menu-search>div:focus-within {
    border-color: #66afe9;
    outline: 0;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(102, 175, 233, 0.6);
}

#searchInput {
    flex-grow: 1;
}

#submitArrow {
    margin-left: auto;
    margin-top: 7px;
    padding: 0;
}

.gr-menu-search input[type="text"]:focus {
    box-shadow: none;
}

/* restyling OBO area */
@media (min-width:700px) {
    .header-logo-container .ContentItemContainer {
        width: 50%;
        float: left;
    }
}

#ctl01_ciAdminUtilityAux_UtilityPlaceholder .UtilitySection>* {
    background-color: #404040;
    border-radius: 5px;
    padding: 5px;
}

@media (max-height:700px) {

    .RadMenu.RadMenu_Coffee .rmHorizontal .rmText,
    .RadMenu.RadMenu_Coffee .rmText,
    .UtilitySection.UtilityAuthenticationLink {
        font-size: 18px;
    }

}