/*
Theme Name: Foreign Affairs Committee
Theme URI: https://enga.ge
Author: Engage LLC
Author URI: https://enga.ge
*/

@font-face {
    font-family: 'Avenir Book';
    src: url('assets/fonts/Avenir-Book.woff') format('woff'),
        url('assets/fonts/Avenir-Book.woff2') format('woff2'),
        url('assets/fonts/Avenir-Book.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'American Captain';
    src: url('assets/fonts/American-Captain.woff') format('woff'),
        url('assets/fonts/American-Captain.woff2') format('woff2'),
        url('assets/fonts/American-Captain.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Avenir Heavy';
    src: url('assets/fonts/Avenir-Heavy.woff') format('woff'),
        url('assets/fonts/Avenir-Heavy.woff2') format('woff2'),
        url('assets/fonts/Avenir-Heavy.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

.content-with-sidebar :focus,
.content-with-sidebar a:focus {
    outline: 2px dotted rgb(243 181 73) !important;
    outline-offset: 2px;
    outline-width: 2px !important;
}

.social-icons :focus,
.social-icons a:focus {
    outline: 2px dotted rgb(243 181 73) !important;
    outline-offset: 2px;
    outline-width: 2px !important;
}

.share-box :focus,
.share-box a:focus {
    outline: 2px dotted rgb(243 181 73) !important;
    outline-offset: 2px;
    outline-width: 0 !important;
}

.sitewide .container {
    max-width: 1240px;
}

.header-button {
    padding-top: 10px;
}

.header-button .read-more {
    margin-left: 20px;
    margin-bottom: 10px;
    padding: 14px 20px;
}

.updates-posts--alt {
    border-left: none;
    padding-left: 0;
    padding-bottom: 40px;
}

.calendar--alt {
    max-width: 100%;
    margin-bottom: 40px;
}

.calendar-posts {
    margin-bottom: 30px;
}

.custom-calendar-wrapper #full-clndr .clndr-grid .current-calendar h4 {
    max-width: 200px;
}

.cal-header--alt {
    margin-top: 50px;
}

footer.sitewide .footer-bar a {
    color: #fff;
    text-decoration: underline;
}

footer.sitewide .footer-bar a:hover,
footer.sitewide .footer-bar a:focus {
    text-decoration: none;
    color: #fff;
}

.homepage-post .post-content p,
.calendar-event .calendar-content-box p,
footer.sitewide .footer-top-row .footer-social p,
.calendar-event .calendar-content-box p {
    line-height: 1.5;
}

.home-boxes .home-boxes-wrapper a {
    overflow: auto;
}

.home-boxes .home-boxes-wrapper a:hover .home-box {
    -ms-transform: none;
    transform: none;
}

/* ADA Color Contrast Issue Fix */
a,
.homepage-post .category,
.post .category,
.committee-member .committee-member-text {
    color: #020D2D;
}
a:hover,
.homepage-post .category:hover,
.post .category:hover,
.homepage-post h1.headline a:hover,
.committee-link:focus span,
.committee-link:hover span {
    color: #C48E59;
}
body,
.homepage-post .post-content p,
.homepage-post time,
.calendar-event .calendar-content-box p,
.calendar-event .calendar-content-box .calendar-bottom-details span,
time,
.post-info {
    color: #4F4F4F;
}

footer.sitewide .footer-menu h2 {
    color: #A7D7F1;
}

.sidebar .category-filter .filter-submit {
    background-color: #525252;
}


.homepage-post a.read-more,
.custom-calendar-wrapper #full-clndr .clndr-grid .current-calendar h4,
.custom-calendar-wrapper #full-clndr .days .today,
.calendar-event .calendar-date-box .event-month,
.committee-button.active {
    background-color: #020D2D;
}

.calendar-event .calendar-date-box .event-day,
.committee-button {
    color: #020D2D;
}

.content-with-sidebar .content-container {
    padding-bottom: 60px;
}

.content-with-sidebar .content-container .pagination {
    padding-bottom: 0;
}

.mejs-controls .mejs-time {
    overflow: auto;
}

.home-boxes {
    padding: 50px 0 0;
}

.twitter-slider {
    display: none;
}
header.sitewide .nav.navbar-nav a {
    color: #020D2D;
}
header.sitewide .nav.navbar-nav a:hover,
header.sitewide .nav.navbar-nav a:focus {
    color: #3E94C0;
}
header.sitewide .nav.navbar-nav a .fa-chevron-down {
    color: #C48E59;
}
.custom-calendar-wrapper #full-clndr .days .day.adjacent-month .day-number,
.custom-calendar-wrapper #full-clndr .days .empty.adjacent-month .day-number {
    opacity: .3;
    visibility: hidden;
}

.custom-calendar-wrapper #full-clndr .days .day.event .day-number {
    color: #020D2D;
}

.custom-calendar-wrapper #full-clndr .days .day.adjacent-month.today .day-number {
    color: #fff;
    opacity: 1;
}

.sidebar .category-filter .drawer button {
    color: #214A5F;
}

.sidebar .category-filter .drawer button.open {
    color: #020D2D;
    background-image: url('./assets/img/chevron-down.png');
}
h2.headline {
    color: #020D2D;
    font-weight: normal;
}
/* Accessibility */
/* Text meant only for screen readers. */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute !important;
    width: 1px;
    word-wrap: normal !important;
    /* Many screen reader and browser combinations announce broken words as they would appear visually. */
}

.screen-reader-text:focus {
    background-color: #f1f1f1;
    border-radius: 3px;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto !important;
    clip-path: none;
    color: #21759b;
    display: block;
    font-size: 14px;
    font-size: 0.875rem;
    font-weight: bold;
    height: auto;
    right: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
    /* Above WP toolbar. */
}

/* Do not show the outline on the skip link target. */
#content[tabindex="-1"]:focus {
    outline: 0;
}

.sidebar .category-filter .drawer button {
    color: #295266;
}

.homepage-social .social a:focus {
    /*border: 2px solid #31647d;*/
    outline: 2px dotted rgb(243 181 73) !important;
    outline-offset: 2px;
    outline-width: 2px !important;
}

body .gform_wrapper input:not([type=checkbox]):not([type=submit]):not([type=button]):not([type=image]):not([type=file]):focus,
body .gform_wrapper.gform_legacy_markup_wrapper input[type=color]:focus,
body .gform_wrapper.gform_legacy_markup_wrapper input[type=date]:focus,
body .gform_wrapper.gform_legacy_markup_wrapper input[type=datetime-local]:focus,
body .gform_wrapper.gform_legacy_markup_wrapper input[type=datetime]:focus,
body .gform_wrapper.gform_legacy_markup_wrapper input[type=email]:focus,
body .gform_wrapper.gform_legacy_markup_wrapper input[type=month]:focus,
body .gform_wrapper.gform_legacy_markup_wrapper input[type=number]:focus,
body .gform_wrapper.gform_legacy_markup_wrapper input[type=password]:focus,
body .gform_wrapper.gform_legacy_markup_wrapper input[type=search]:focus,
body .gform_wrapper.gform_legacy_markup_wrapper input[type=tel]:focus,
body .gform_wrapper.gform_legacy_markup_wrapper input[type=text]:focus,
body .gform_wrapper.gform_legacy_markup_wrapper input[type=time]:focus,
body .gform_wrapper.gform_legacy_markup_wrapper input[type=url]:focus,
body .gform_wrapper.gform_legacy_markup_wrapper input[type=week]:focus,
body .gform_wrapper.gform_legacy_markup_wrapper select:focus,
body .gform_wrapper select:focus,
body .gform_wrapper input[type="file"]:focus,
body .gform_wrapper.gform_legacy_markup_wrapper textarea:focus,
body .gform_wrapper textarea:focus {
    border: 2px solid #31647d;
}

body .gform_wrapper.gform_legacy_markup_wrapper .gfield_radio li input[type=radio]:focus {
    outline: 2px auto #31647d !important;
    outline-offset: 0px;
}

body ul.gform_fields li.gchoice input[type=radio]:focus,
body ul.gform_fields li.gchoice input[type=checkbox]:focus {
    border-color: #31647d;
}

body ul.gform_fields li.gchoice input[type=radio]:focus+label,
body ul.gform_fields li.gchoice input[type=checkbox]:focus+label {
    color: #31647d;
}

.sidebar .sidebar-signup .text-input:focus {
    outline: 2px dotted rgb(243 181 73) !important;
    outline-offset: 2px;
    outline-width: 2px !important;
}

.committee-members .committee-button:focus {
    outline: 2px dotted rgb(243 181 73) !important;
    outline-offset: 2px;
    outline-width: 2px !important;
}

.sidebar .category-filter .drawer button {
    color: #21546E;
}

.home-boxes .home-boxes-wrapper a h2 {
    background: #21546E;
}

.home-boxes .home-boxes-wrapper a:hover h2 {
    background: #235B76;
}

section.hero .next {
    border: none;
    box-shadow: none;
}

.hero-slider .hero-content .read-more:focus,
section.hero .next:focus,
section.hero .slick-prev:focus {
    outline: 2px dotted rgb(243 181 73) !important;
    outline-offset: 2px;
    outline-width: 2px !important;
}

/* Updated Style */
section.hero .hero-slider .hero-content {
    justify-content: flex-end;
    padding-bottom: 30px;
}

.navbar-header {
    float: none;
    text-align: center;
    position: relative;
}

header.sitewide a:has(.logo) {
    display: inline-block;
}

header.sitewide .logo {
    max-width: 75px;
    margin: 0 auto;
    width: 100%;
    height: auto;
}

.navbar-toggle {
    position: absolute;
    top: 50%;
    margin: 0;
    transform: translateY(-50%);
    right: 0;
}

.icon {
    display: inline-block;
    width: 1em;
    height: 1em;
    stroke-width: 0;
    stroke: currentColor;
    fill: currentColor;
}

div.share-box ul li a {
    color: #fff;
}

footer.sitewide .footer-top-row .footer-social .social-icons a.instagram:not(:hover) {
    background: linear-gradient(135deg, #F58529 0%, #DD2A7B 25%, #8134AF 50%, #515BD4 100%);
}

footer.sitewide .footer-top-row .logo {
    max-width: 120px;
}
.subhead {
    background-color: #020D2D;
    border-color: #C48E59;
    border-width: 4px 0 0;
}
.subhead nav ul li a:focus,
.subhead nav ul li a:hover,
.subhead nav ul li.active a:hover{
    background-color: #C48E59;
    color: #fff;
}
.subhead nav ul li.active a{
    color: #020D2D;
}

a.read-more.subscribe-read-more {
    background-color: #FFC661;
    color: #020D2D;
}
a.read-more.subscribe-read-more:hover,
a.read-more.subscribe-read-more:focus {
    background-color: #020D2D;
    color: #fff;
}
.sidebar .category-filter span,
.sidebar .category-filter .drawer button{
    color: #020D2D;
}
.sidebar .sidebar-signup{
    background-color: #020D2D;
}
.sidebar .sidebar-signup .submit-input {
    background-color: #FFC661;
    border: 1px solid #FFC661;
    color: #020D2D;
}
.sidebar .sidebar-signup .submit-input:hover,
.sidebar .sidebar-signup .submit-input:focus{
    background-color: #020D2D;
    color: #FFC661;
}
.sidebar div.share-box span,
.sidebar h3{
    color: #020D2D;
}
.sidebar div.share-box ul li {
    background-color: #FFC661;
    border-color: #FFC661;
}
.sidebar div.share-box ul li a {
    color: #020D2D;
}
.sidebar div.share-box ul li a:focus,
.sidebar div.share-box ul li a:hover {
    background-color: #020D2D;
    color: #fff;
}
.sidebar .related-post h4 a:focus,
.sidebar .related-post h4 a:hover {
    color: #C48E59;
}
.sidebar h3{
    font-weight: normal;
}
.homepage-header {
    color: #4f4f4f;
}
section.hero .hero-slider .hero-content h1:before,
.homepage-header:before{
    background-color: #FFC661;
}
.home-boxes{
    display: none;
}
.content-with-sidebar--home{
    margin-bottom: 50px;
}
.read-more {
    background-color: #FFC661;
    border-color: #FFC661;
    color: #020D2D;
}
.read-more:focus,
.read-more:hover {
    background-color: #020D2D;
    border-color: #020D2D;
    color: #fff;
}
.homepage-view-more {
    border-color: #FFC661;
    color: #020D2D;
}
.homepage-view-more:hover,
.homepage-view-more:focus{
    background-color: #FFC661;
    border-color: #FFC661;
    color: #020D2D;
}
.homepage-post a.read-more {
    color: #fff;
}
.homepage-post a.read-more:hover,
.homepage-post a.read-more:focus{
    background-color: #FFC661;
    color: #020D2D;
}

.custom-calendar-wrapper #full-clndr .days .day.event:hover,
.custom-calendar-wrapper #full-clndr .days .empty.event:hover {
    background-color: #FFC661;
    color: #020D2D;
}
.custom-calendar-wrapper #full-clndr .days .day.event:hover .day-number,
.custom-calendar-wrapper #full-clndr .days .empty.event:hover .day-number{
    color: #020D2D;
}
h1.headline {
    color: #020D2D;
    font-weight: normal;
}
.committee-member ul.committee-buttons li a,
.related-post h1.headline:hover a{
    color: #C48E59;
}
.committee-member ul.committee-buttons li a:hover {
    color: #020D2D;
}
.committee-link:focus .committee-headshot,
.committee-link:hover .committee-headshot {
    border-color: #C48E59;
}
footer.sitewide {
    background: #020D2D;
}
input[type=submit] {
    background-color: #FFC661;
    color: #020D2D;
}
input[type=submit]:hover,
input[type=submit]:focus {
    background-color: #020D2D;
    color: #FFC661;
}
.fa.fa-search,
.social a .icon,
.social a .fa {
    color: #020D2D;
}

p,
.calendar-event .calendar-content-box p,
.calendar-event .calendar-date-box .event-day,
.calendar-event .calendar-date-box .event-month,
.homepage-view-more,
.twitter-slider .tweets .tweet .tweet-content p,
.twitter-slider .twitter-top-wrapper .twitter-credentials,
a,
.post .category,
.committee-member .committee-member-text,
footer.sitewide .footer-menu h2+ul a,
footer.sitewide .footer-top-row .footer-social p,
header.sitewide .nav.navbar-nav .sub-nav .child-li,
header.sitewide .nav.navbar-nav li:hover .sub-nav .child-li a,
.post-content,
.homepage-post time,
.committee-button.active,
.custom-calendar-wrapper #full-clndr .days .today,
.calendar-event .calendar-date-box .event-month,
.homepage-post h1.headline a{
    font-family: Avenir Book;
}

.homepage-post .category,
.header-button .read-more,
.read-more,
.homepage-post a.read-more,
.custom-calendar-wrapper #full-clndr .clndr-grid .current-calendar h4,
header.sitewide .nav.navbar-nav a {
    font-family: Avenir Heavy;
}

.h1,
.h2,
.h3,
.h4,
.h5,
.h6,
h1,
h2,
h3,
h4,
h5,
h6,
footer.sitewide .footer-menu h2,
.custom-calendar-wrapper #full-clndr .clndr-grid .current-calendar h4,
.calendar-event .calendar-content-box h1.headline,
.twitter-slider .tweets .tweet .tweet-header-text h2,
.homepage-header,
section.hero .hero-slider .hero-content h1 {
    font-family: American Captain;
    font-weight: normal;
}

.home-boxes .home-boxes-wrapper a h2 {
    font-weight: normal;
}
ul.pages li a.active {
    background-color: #FFC661;
    color: #020D2D;
}
ul.pages li a {
    color: #020D2D;
}
a.page-next, a.page-prev, ul.pages li a:not(.active):hover {
    background-color: #020D2D;
    color: #FFC661;
}
a.page-next:hover,
a.page-prev:hover{
    background-color: #FFC661;
    color: #020D2D;
}
footer.sitewide .footer-top-row .footer-social .social-icons a:hover {
    background-color: #FFC661 !important;
}
header.sitewide .nav.navbar-nav a:hover,
header.sitewide .nav.navbar-nav a:focus {
    color: #C48E59;
}
header.sitewide .navbar-default .navbar-toggle.collapsed .icon-bar {
    background-color: #C48E59;
}
header.sitewide .navbar-default .navbar-toggle {
    background-color: #C48E59;
}
header.sitewide .nav.navbar-nav li.current-menu-item > a {
    color: #C48E59;
}
header.sitewide .nav.navbar-nav li:hover .sub-nav .child-li:hover {
    background-color: #C48E59;
}
.footer__logo{
    margin-right: auto;
}
@media (max-width: 960px) {
    header.sitewide .nav.navbar-nav li:hover .sub-nav .child-li a,
    header.sitewide .nav.navbar-nav li .sub-nav .child-li a{
        color: #020D2D;
    }
}
@media (min-width: 767px) {
    header.sitewide .logo {
        max-width: 105px;
    }
}
@media (min-width: 768px) {
    .subhead nav ul {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (min-width: 960px) {
    .navbar-collapse.collapse {
        justify-content: center;
        /*position: relative;*/
    }
   /* header.sitewide .navbar-form {
        margin-left: 80px;
    }*/
    header.sitewide .nav.navbar-nav > li:first-child{
        margin-left: 0;
    }
    /*.sitewide__right-col {
        display: flex;
        align-items: center;
        flex-wrap: wrap;
    }
    .sitewide__right-col:not(:has(.add-width)) {
        position: absolute;
        right: 0;
    }*/
    header.sitewide .nav.navbar-nav {
        position: absolute;
    }
}
@media (min-width: 961px) {
    header.sitewide .nav.navbar-nav li:hover .sub-nav {
        background: linear-gradient(#020D2D, #061b59);
    }
}

