﻿html {
    width: 100vw;
    overflow-x: hidden;
}

.grid-section > section {
    /*padding: 1rem 0 5rem;*/
}

footer .grid-section > section {
    padding: 0 0 1.5rem !important;
}

body *[bgimage], .card-img-overlay, .card-img-top-overlay, .card-img-left {
    background-size: cover !important;
    background-position: center !important;
    background-blend-mode: multiply;
}

.card-img-top-wrap {
    position:relative;
}

.card-img-top-overlay {
    overflow: hidden;
}

.card-img-top-overlay > img {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
}

blockquote {
    padding-left: 1.5em;
    border-left: 5px solid #d1d2c4;
}

/*h1, h2, h3, h4, h5, h6,*/ 
p.lead {
    font-weight: 500;
}

.text-white h6, .text-white .h6, .text-white h5, .text-white .h5, .text-white h4, .text-white .h4, .text-white h3, .text-white .h3, .text-white h2, .text-white .h2, .text-white h1, .text-white .h1 {
    color: var(--bs-white);
}

.btn-outline-primary:hover,
.btn-outline-secondary:hover {
    color: var(--bs-white) !important;
}

.nested-grid-wrap .container,
.nested-grid-wrap .container-fluid {
    padding-left: 0;
    padding-right: 0;
}

.breadcrumbs > a:link,
.breadcrumbs > a:visited,
.breadcrumbs > a:hover {
    color: black;
}

.text-white .breadcrumbs > a:link,
.text-white .breadcrumbs > a:visited,
.text-white .breadcrumbs > a:hover {
    color: white;
}

/*HACK: fixed width images in grid*/
.grid-section .row img:not([class]):not([style]) {
    width: 100%;
}

.article-wrap .container {
    margin: -.5rem;
    padding: 0;
}

.embed-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    max-width: 100%;
}

.embed-container iframe, .embed-container object, .embed-container embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.text-acs-purple {
    color: #452659;
}

.bg-acs-purple {
    background-color: rgba(69, 38, 89, var(--bs-bg-opacity)) !important;
}

.text-acs-teal {
    color: #00a88c;
}

.bg-acs-teal {
    background-color: rgba(0, 168, 140, var(--bs-bg-opacity)) !important;
    
}

.text-acs-light-teal {
    color: #98c9d0;
}

.bg-acs-light-teal {
    background-color: rgba(152, 201, 208, var(--bs-bg-opacity)) !important;
}

.text-acs-light-blue {
    color: #a9d6f5;
}

.bg-acs-light-blue {
    background-color: rgba(169, 214, 245, var(--bs-bg-opacity)) !important;
}

.text-acs-navy-blue {
    color: #17203f;
}

.bg-acs-navy-blue {
    background-color: rgba(23, 32, 63, var(--bs-bg-opacity)) !important;
}

.text-acs-light-grey {
    color: #e8e0dd;
}

.bg-acs-light-grey {
    background-color: rgba(232, 224, 221, var(--bs-bg-opacity)) !important;
}

.archive-tab-pane {
    min-height: 12rem;
}

.navbar .search-submit {
    border: 0;
    border-radius: 0;
    background: none;
    box-shadow: none;
    display: inline-block;
    padding: 6px 10px;
    /*background:rgba(255,255,255,0.3);*/
    height: 40px;
    vertical-align: bottom;
}

.navbar .search-form label {
    display: inline-block;
    margin-bottom: 0;
}

.navbar .search-field {
    border: 0;
    border-radius: 0;
    padding-left: 10px;
}

.navbar .search-mask {
    height: 40px;
    /*overflow:hidden;*/
    margin-left: 8px;
    margin-top: 4px;
}

.navbar form #search {
    position: absolute;
    right: 45px;
    height: 40px;
    /*color: #fff;*/
    border: solid 1px #fff !important;
    border-radius: 0px;
    padding: 0 0 0 12px;
    width: 0px;
    opacity: 0;
    transition: width 0.3s, opacity 0.3s;
}

.navbar form #search:focus {
    outline: #fff auto 5px;
}

.navbar form #search::placeholder {
    color: var(--bs-light);
}

.search-mask:hover #search {
    width: 210px !important;
    opacity: 1 !important;
}

.navbar .search-submit,
.navbar .search-submit:hover,
.navbar .search-submit:focus,
.navbar .search-submit:active {
    outline: 0;
    box-shadow: none;
}

.navbar .search-submit {
    font-size: 18px;
    /*color:$grey-mid-main;*/
    color: #fff;
    text-shadow: 0 0 0 rgba(255,255,255,0.0);
}

.btn-outline-white {
    border-color: var(--bs-white);
}

.btn-outline-white:hover {
    background-color: rgba(255,255,255,0.2);
}