/* Font smoothing */

body {
    text-rendering: optimizeSpeed;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-tap-highlight-color: rgba(0,0,0,0);
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}


/* Hide overflow content */

.footercontainer,
.homenews,
.interiorheading,
.quicklinkitem,
#printArea {
    text-overflow: ellipsis;
    overflow: hidden;
}

.quicklinkscontainer {
    overflow: auto;
}
.quicklinkitem {
    cursor: pointer;
}

/* Header to table - fixes overflows, tabbing-order, vertical center */

.header {
    display: table;
    margin-right: auto;
    margin-left: auto;
    /* width: 94%; */
    width: 96%;
    opacity: 0;
}

.brand-logo,
.header-contact,
.navigation-container {
    display: table-cell;
    float: none;
    vertical-align: middle;
}

.footer-columns > * {
    padding-top: 20px !important;
}
.footer-columns a {
    display: inline-block;
}
.footer-columns img {
    max-width: 100%;
    height: auto;
}
@media (min-width: 768px) {
    .footer-columns {
        display: -ms-flex;
        display: flex;
        align-items: center;
        margin-right: auto;
        margin-left: auto;
        max-width: 75%;
    }
    .footer-columns > * {
        flex: 1 1 100%;
    }
}

.small-footer-text, .esol {
    text-align: center;
}
.small-footer-text {
    margin-left: 0;
}

@media (max-width: 991px) {
    .header-contact {
        padding: 25px 10px 18px;
        text-align: center !important;
        margin: auto;
        width: 100%;
        display: block;
    }
    .header-icon {
        width: 40px;
        height: 40px;
    }
}


/* Share dropdown */

.share {
    display: inline-block;
}

.share:hover .shareDropDown,
.share .actionshare:focus + .shareDropDown {
    display: block;
}

.share .actionshare {
    bottom: 0;
}

.shareDropDown {
    position: absolute;
    display: none;
    padding: 0;
    top: 100%;
    right: 0;
    list-style: none;
    min-width: 120px;
    background-color: white;
    border: solid 1px #E3E3E3;
    box-shadow: 0 .25rem .5rem rgba(0, 0, 0, .25);
    z-index: 5;
}

.shareDropDown img {
    margin-right: .5rem;
    height: 1rem;
    vertical-align: text-bottom;
}

.shareDropDown li:not(:last-child) {
    border-bottom: solid 1px #E3E3E3;
}

.shareDropDown li a {
    display: block;
    padding: .25rem .5rem;
}


/* Small overrides */

.w-slide {
    background-size: cover;
}

p {
    display: inherit;
}

.actionswrapper {
    top: 0;
    bottom: auto;
}

.banner {
    background-color: white;
}

.brand-logo {
    /* width: 215px; */
    width: 195px;
}

.hamburger {
    margin-top: 0;
}

.header-contact {
    margin-top: 0;
    margin-right: 0;
    /* min-width: 172px; */
    min-width: 225px;
    text-align: right;
}

.header-icon {
    float: none;
    margin-top: 0;
    margin-left: 0;
}

.navigation-link,
.navigation-link:visited {
    color: black;
}

.resizetext > a,
.actionshare {
    line-height: 1;
    text-indent: -9999px;
}

.resizetext > a:focus,
.actionshare:focus {
    outline: dotted 1px black;
}

.text-slider p a,
.text-slider p a:visited {
    color: inherit;
    border-bottom: dotted 1px;
}

.text-slider p a:focus,
.text-slider p a:hover {
    text-decoration: none;
    border-bottom-style: solid;
}

.subnavicon:focus,
.subnavicon:hover {
    text-decoration: none;
}

#mainNav {
    margin-top: 3px;
    width: 100%;
}
@media (min-width: 992px) {
    #mainNav {
        /* width: calc(94vw - (215px + 136px)); */
        width: calc(94vw - (195px + 120px));
    }
}

#nav {
    width: 100%;
}

#nav > li {
    padding-right: 10px;
    padding-left: 10px;
    min-width: 85px;
    height: auto;
    line-height: 1.2;
}

@media (min-width: 1200px) {
    #nav > li {
        padding-right: 15px;
        padding-left: 15px;
    }
}

.footerlink, .footerlink:visited {
    color: white;
}

.gsc-control-searchbox-only form.gsc-search-box input.gsc-input {
    background-color: rgba(255,255,255,.9) !important;
}

.pictureGrid {
    margin-bottom: 1rem;
    font-size: 0;
}
.pictureGrid img {
    margin: .125rem;
    width: 120px;
    height: 120px;
}
.pictureGrid p {
    display: inline;
    font-size: 0;
}

@media (max-height: 375px) {
    .feedback {
        top: 140px;
    }
}

@media (max-width: 991px) {
    .navigation-link,
    .navigation-link:visited {
        color: white;
        background: none;
        text-align: left !important;
    }
    .resizetext {
        margin-bottom: 25px;
    }
}

@media (max-width: 767px) {
    .interiorcontainer {
        padding-top: 20px;
    }
    .interiorcontainer {
        margin-top: 20px;
    }
    .interiorcontent {
        border-left-style: none;
        padding: 20px;
    }
    .interiortopcontent {
        padding-right: 20px;
        padding-left: 20px;
    }
    .section,
    .section.sectionwhite,
    .slider.interiorslider {
        padding-bottom: 20px;
    }
}

@media (min-width: 991px) {
    #subNavWrapper {
        display: block !important;
    }

    .wide #subNavWrapper{
        display: none !important;
    }
}