/* ******* LAST UPDATED: 4-23--2021 ******** */
/* ************ GENERAL STYLES ************ */
body {
    background-color: #eeeeee;
    /* styles for sticky footer */
    display: flex;
    min-height: 100vh;
    flex-direction: column;
}
#mainBodyContainer {
    flex: 1 0 auto; /* style for sticky footer */
}
/* using data image for external link icon, for any target="_blank" anchors - see https://stackoverflow.com/questions/1899772/new-window-icon-for-web-accessibility */
a[target="_blank"]::after {
    content: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAAQElEQVR42qXKwQkAIAxDUUdxtO6/RBQkQZvSi8I/pL4BoGw/XPkh4XigPmsUgh0626AjRsgxHTkUThsG2T/sIlzdTsp52kSS1wAAAABJRU5ErkJggg==);
    margin: 0 3px 0 5px;
}
a.btn[target="_blank"]::after {
    content: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAAQElEQVR42qXKwQkAIAxDUUdxtO6/RBQkQZvSi8I/pL4BoGw/XPkh4XigPmsUgh0626AjRsgxHTkUThsG2T/sIlzdTsp52kSS1wAAAABJRU5ErkJggg==);
    margin: 0 3px 0 5px;
    filter: invert(1); /* this changes the external link icon base64 to white so it shows up in buttons */
}
a {
    text-decoration: underline;
}
a:hover {
    text-decoration: none;
}
a.btn {
    text-decoration: none;
}
h1 {
    font-family: 'Lato', sans-serif;
    font-size: 3.2em;
    margin-top: 20px;
}
h2 {
    font-family: 'Lato', sans-serif;
    font-size: 1.3em;
    margin-top: 10px 0 30px;
}
/* color contrast override for this BS class to meet accessibility */
.text-muted {
    color: #737487 !important;
}
/* ************ THIN HEADER FROM APA.ORG ************ */
header {
    font-size: 75%;
    font-family: Arial, Helvetica, Sans-serif;
    line-height: 1.3em;
    letter-spacing: normal;
    word-spacing: normal;
    position: relative;
    border-bottom: 2px solid #555;
    overflow: visible;
    width: 100%;
    padding: 0;
    z-index: 110;
    margin: 0 auto;
}
header .banner {
    background: #ffffff;
    /* margin-top: 10px; */
    padding-top: 3px; /* added */
    width: 100%;
    overflow: hidden;
}
header .banner img {
    margin: 5px 0 8px 14px;
}
header .banner img.apaLogo {
    width: 155px;
}
header .banner .headLogo {
    float: left;
}
header .banner .headLogo img.large {
    max-width: 430px;
    height: auto;
}
header .banner .headLogo img.small,
header .banner .headLogo img.medium {
    display: none;
}
@media screen and (max-width: 995px) {
    header {
        width: auto;
        border: 0;
        margin: 0;
        clear: both;
    }
    header .header_top .header_left {
        display: none;
    }
    header .banner .headButton {
        display: block;
    }
    header .banner {
        margin-top: 0;
        overflow: visible;
        height: 57px;
        border-bottom: 2px solid #555;
    }
    header .banner .headLogo img {
        margin: 2px 0 0 20px;
        max-height: 55px;
    }
    h4.smaller-title, .card-title {
        font-size: 25px;
    }
}
@media screen and (min-width: 768px) and (max-width: 995px) {
    header .banner .headLogo img.large {
        margin-top: 12px;
    }
}
@media screen and (max-width: 767px) {
    header .banner .headLogo img.large {
        max-width: 320px;
        height: auto;
        margin: 17px 0 0 10px;
    }
}
@media screen and (max-width: 480px) {
    header .banner .headLogo img.small {
        display: block;
        max-height: 40px;
        margin: 2px 0 0 10px;
        padding-top: 8px;
    }
    header .banner .headLogo img.large {
        display: none;
    }
}
/* ************ FOOTER STYLES ************ */
footer {
    bottom: 0;
    margin-bottom: 0;
    flex-shrink: 0;
    /* style for sticky footer */
    border-top: 2px solid #555;
}
/* footer anchor overrides */
footer a {
    text-decoration: none;
}
footer a:hover {
    text-decoration:underline;
}
/* ************ BOOTSTRAP CARD FLIP CSS - See https://codepen.io/badams777/pen/zYvpBBZ ************ */
/* Visit https://nicolaskadis.info/posts/pure-css-flip-cards-using-bootstrap-4-and-css-grid-no-js for an explanation */
/* Flip Cards CSS */
.card-container {
    display: grid;
    perspective: 700px;
}
@media only screen and (max-width: 767px) {
  .card-container {
    margin: 20px 0;
}}
.card-flip {
    display: grid;
    grid-template: 1fr / 1fr;
    grid-template-areas: "frontAndBack";
    transform-style: preserve-3d;
    transition: all 0.7s ease;
}
.card-flip div {
    backface-visibility: hidden;
    transform-style: preserve-3d;
}
.front {
    grid-area: frontAndBack;
}
.back {
    grid-area: frontAndBack;
    transform: rotateY(-180deg);
}
.card-container:hover .card-flip {
    transform: rotateY(180deg);
}
/* ************ CUSTOM STYLES ************ */
.card {
    margin: 10px 0 40px;
    /* padding: 20px; - SK */
    cursor: pointer;
}
.card-title {
    margin: 15px 0;
    text-align: center;
}
/* triangle in corner of cards ; See http://jsfiddle.net/u8euZ/1 */
.inner-triangle{
    border-left: 20px solid transparent;
    border-right: 20px solid #004a98;
    border-bottom: 20px solid transparent;
    height: 0;
    width: 0;
    position: absolute;
    top:0;
    right: 0;
    z-index: 2;
}
.outer-triangle{
    border-left: 24px solid transparent;
    border-right: 24px solid #003a70;
    border-bottom: 24px solid transparent;
    height: 0;
    width: 0;
    position: absolute;
    top: 0;
    right: 0;
    z-index: 1;
}
/* ************ SK - 5-6-2020 ************ */
.card-img-top {
    border-bottom: 1px solid #ccc; 
    object-fit: cover;
}
.img-wrap {
    max-height: 170px;
    overflow: hidden;
    border-bottom: 1px solid #ccc;
    border-radius: 5px 5px 0px 0px;
}
.img-wrap-large {
    max-height: 300px;
    overflow: hidden;
    border-bottom: 1px solid #ccc;
    border-radius: 5px 5px 0px 0px;
}
h4.smaller-title {
    font-size: 25px;
}
.card-block {
    padding: 20px;
}

/* ************ BA - 10-29-2020 ************ */
/* used in the toggle buttons on the 6-26-2020 and 10-30-2020 pages for example, somehow the .btn-link color of #007bff was failing color contrast accessibility according to WAVE, coming from _buttons.scss - is this from our PL or from BS? */
.btn-link {
    color: #2a6496;
}

/* ************ BA - 4-23-2021 ************ */
/* used in the 4-30-2021 file - modified from https://codepen.io/cliftwalker/pen/XJaEXY - to consider a similar style for the IUX PL */
@import url(https://fonts.googleapis.com/css?family=Open+Sans:400italic);
blockquote{
  font-size: 1.4em;
  width: 94%; /* was 60% */
  margin: 20px auto; /* was 50px auto */
  font-family: Open Sans;
  font-style: italic;
  color: #555555;
  padding: 1.1em 20px 1.1em 55px; /* was 1.2em 30px 1.2em 75px */
  border-left: 8px solid #15bef0; /* was #78C0A8 - now using APA Cyan */
  line-height: 1.6;
  position: relative;
  background: #EDEDED;
}

blockquote::before{
  font-family: Arial;
  content: "\201C";
  color: #15bef0; /* was #78C0A8 - now using APA Cyan */
  font-size: 4em;
  position: absolute;
  left: 10px;
  top: -10px;
}

blockquote::after{
  content: '';
}

blockquote span{
  display: block;
  color: #333333;
  font-size: 14px; /* added */
  font-style: normal;
  font-weight: bold;
  margin-top: 1em;
}