/*** site theme colors ***/
.governing-highlight {
    background-color: #ed202f;
}

.governing-color, .governing-hover:hover,
.governing-hover:active, .active.governing-hover {
    color: #ed202f;
    font-family: Helvetica, sans-serif;
}

h1.governing-highlight.flag:before, h2.governing-highlight.flag:before,
h3.governing-highlight.flag:before, h4.governing-highlight.flag:before,
h5.governing-highlight.flag:before {
    border-left: 15px solid #ed202f;
}

.governing-header, .governing-footer {
    background-color: #000;
}

.governing-header-hat {
    background-color: #ed202f;
}

.governing-heading {
    background-color: #333 !important;
}

.governing-heading h1 {
    color: #fff !important;
    text-transform: none !important;
    font-weight: 400 !important;
    letter-spacing: 0 !important;
    font-size: 5em;
}

.nav-link.governing-hover, .nav-link.governing-hover:active, .nav-link.governing-hover:hover {
    color: white;
}

.nav-link.governing-hover:active, .nav-link.governing-hover:hover, .nav-link.govtech-hover:active, .nav-link.govtech-hover:hover {
    text-decoration: underline;
}

.nav-tabs.governing-border>li.active>a,
.nav-tabs.governing-border>li.active>a:focus,
.nav-tabs.governing-border>li.active>a:hover {
    border: none;
    background-color: #333333;
    color: #fff;
}

.nav-tabs.governing-border>li.active>a:hover {
    color: #ed202f;
}

h3.governing-hover:hover, h4.governing-hover:hover, 
h3.govtech-hover:hover, h4.govtech-hover:hover {
    font-family: Helvetica, sans-serif;
}

.governing-body .sidebar-title {
    position: relative;
    border: 0;
}

.governing-after {
    font-weight: 400;
    line-height: 1.2;
    padding-top: 18px;
    margin-bottom: 20px;
    font-size: 2.5rem;
}

.governing-after::before {
    border-top: 12px solid #ed202f;
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 120px;
  }

.governing-after::after {
    border-top: 1px solid #e6e6e6;
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: -1;
}

.govtech-highlight {
    background-color: #f47421;
}

.govtech-color, .govtech-hover:hover, .govtech-hover:active, .active.govtech-hover {
    color: #f47421;
    font-family: Helvetica, sans-serif;
}

h1.govtech-highlight.flag:before, h2.govtech-highlight.flag:before,
h3.govtech-highlight.flag:before, h4.govtech-highlight.flag:before,
h5.govtech-highlight.flag:before {
    border-left: 15px solid #f47421;
}

.govtech-header-hat {
    background-color: #e6e6e6;
}

.govtech-header {
    display: flex;
    justify-content: space-between;
}

.govtech-header, .govtech-footer {
    background-color: #0f2933;
    letter-spacing: 1px;
    font-weight: 300;
}

.nav-link.govtech-border:hover,
.nav-tabs.govtech-border>li.active>a, 
.nav-tabs.govtech-border>li.active>a:focus,
.nav-tabs.govtech-border>li.active>a:hover {
    border: none;
    background-color: #f4f2ee;
}

.nav-tabs.govtech-border>li.active>a:hover {
    color: #f47421;
}

.sidebar-title .govtech-after {
    border-top: 1px solid #e6e6e6;
    border-bottom: 1px solid #e6e6e6;
    padding: 10px 0 8px;
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 1.2rem;
    letter-spacing: 3px;
    font-weight: 900;
    padding: 10px 10px 8px 20px;
    line-height: 1em;
    text-transform: uppercase;
}

.sidebar-title {
    border-left: 10px solid #f1722c;
  }
/*** end site theme ***/

/*** header navigation styling ***/
.hat-nav {
    display: -ms-flexbox;
    display: flex;
    color: #132934;
}
.hat-nav .hat-nav-items {
    display: -ms-flexbox;
    display: flex;
    width: 100%;
    letter-spacing: 0.5px;
    height: 35px;
}

.header-hat {
    height: 45px;
    padding: 5px;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 50;
    font-size: 1.4rem;
}

.header {
    padding: 0px 54px;
    height: 76px;
    width: 100%;
}

.hat-nav-items {
    margin: 0 auto;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: end;
    flex-wrap: wrap;
    font-size: 1.6rem;
    line-height: 1;
    justify-content: flex-end;
    overflow-wrap: anywhere;
    padding-inline-start: 0;
}

.hat-nav-items-item {
    list-style-type: none;
}

.hat-nav-items-item .nav-link {
    padding: 1rem 1.2rem;
    text-transform: capitalize;
}
/*** end header navigation styling ***/

body {
    margin: 0;
    font-family: Helvetica, sans-serif;
    font-size: 10px;
}

.page-heading {
    padding: 50px 0;
    background-color: #f4f2ee;
}

.page-heading h1 {
    text-transform: uppercase;
    font-weight: 300;
    letter-spacing: 3px;
}

.body-content {
    margin-top: 50px;
    min-height: calc(100vh - 240px);
    display: grid;
    grid-template-areas: "listing sidebar";
    grid-template-columns: 2fr 1fr;
    grid-gap: 1rem 5rem;
}

a {
    text-decoration: none;
    color: inherit;
}

a:hover {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

h2 {
    margin: 3rem 0 0;
    font-weight: 400;
    font-size: 2.5rem;
    border-bottom: 1px solid #e6e6e6;
    padding-bottom: 10px;
}

h3 {
    font-size: 2rem;
    font-weight: 300;
}

h2, h3, h4 {
    font-family: Helvetica, sans-serif;
}

.logo-container {
    display: inline-block;
    padding-right: 3rem;
}

.logo-container > a > img, .logo > a > svg {
    max-width: 300px;
    height: 76px;
}

.btn-container {
    margin-top: 1.5rem;
}

.btn-container .btn {
    color: #fff;
    border: 1px solid #fff;
}

.margin-top-3 {
    margin-top: 3rem;
}

.pull-right {
    padding-left: .5rem;
}

.cdeNav, .governingNav, .govtechNav {
    color: #fff;
    display: none;
}

.govtechNav > .links > .dropdown > .dropdown-menu {
    background-color: #292a2c;
    padding: 1.5rem 1rem .5rem;
}

.dropdown {
    padding-bottom: 10px;
}

.dropdown-menu {
    display: none;
    background-color: inherit;
    z-index: 2;
    padding: 15px 10px 10px;
    top: 20px;
    left: -5px;
}

.copyright {
    text-transform: uppercase;
    text-align: right;
    color: #fff;
    font-size: 1.2rem;
    padding-top: 3.2rem;
    padding-bottom: 1.6rem;
    display: grid;
    grid-gap: 1rem;
    grid-template-areas: "footer-left footer-right";
}

.copyright > a:hover {
    opacity: .8;
}

.footer-left {
    grid-area: footer-left;
    text-align: start;
}

.footer-right {
    grid-area: footer-right;
    text-align: end;
}

.container {
    max-width: 1170px;
    margin-left: auto;
    margin-right: auto;
}

.listing .listing-object {
    display: grid;
    grid-template-areas:
  "event-title event-date";
    grid-gap: .5rem;
    font-size: 1.6rem;
    margin: 2rem 0 1.5rem 0;
}

.governing-body .webinars-listing .listing-object {
    background-color: #efefef;
}

.governing-body .webinars-listing .listing-object:hover {
    background-color: #000;
}

.listing-object p {
    margin-bottom: 0;
}

.listing-object .date {
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 1.25rem;
    font-weight: 700;
    margin-top: 5px;
}

.event-items {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 3rem 3rem;
    margin-top: 2rem;
}
  
.event-image {
    grid-area: "event-image";
    margin-bottom: 10px;
}

.event-image img {
    max-width: 100%;
}

.event-title {
    grid-area: "event-title";
    text-align: start;
    margin: 0;
}

.event-date {
    grid-area: "event-date";
    text-align: end;
    margin: 0;
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

span {
    font-size: 1.6rem;
}

.listing {
    grid-area: listing;
    column-count: 1;
    padding: 0 0 1rem 0;
    column-gap: 5rem;
}

.webinars-listing .listing-object {
    font-size: 1.6rem;
    background-color: #f4f2ee;
    border-radius: 0px 0px 15px 0px;
    padding-bottom: 15px;
    margin: 0;
    display: block;
}

.webinars-listing .listing-object:hover {
    background-color: #0f2933;
    color: #fff;
}

.webinars-listing .event-title {
    grid-area: "event-title";
    text-align: start;
    margin: 15px 20px 0;
}

.webinars-listing .event-date {
    grid-area: "event-date";
    margin-top: 10px;
    margin: 10px 20px 0px;
    text-align: start;
}

.sidebar {
    grid-area: sidebar;
}

.sidebar .listing-object {
    margin: 2rem 0 1.5rem 0;
}

.btn {
    color: #0f2933;
    background: transparent;
    border-color: #0f2933;
    padding: 1.5rem;
    font-size: 1.2rem !important;
    font-weight: 700;
    line-height: 1;
    border-radius: 0;
    margin-bottom: 1rem;
    margin-right: 1em;
    font-size: 1.4rem;
    letter-spacing: .5px;
    text-transform: uppercase;
}

.btn:hover {
    color: #fff;
    background-color:#0f2933;
}

.email {
    color: #f47421;
}

.sidebar-content {
    background-color: #f4f2ee;
    padding: 3rem 4rem;
    margin-bottom: 4rem;
    font-size: 1.6rem;
}

.sidebar-content h4 {
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 400;
    font-size: 1.75rem;
    margin-top: 3rem;
  }

.tab-nav {
    grid-area: tab-nav;
    font-size: 1.6rem;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 2rem;
}

.nav-tabs {
    border-bottom: none;
}

.nav-tabs>li>a {
    border: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 1.25rem;
    font-weight: 700;
    border-radius: 0;
}

.nav-tabs>li>a:hover {
    border-color: transparent; 
    background-color: transparent;
}

.form-control {
    height: 45px;
    padding: 20px 15px 15px;
    background-color: #f4f2ee;
    border: none;
    border-radius: 0;
    box-shadow: none;
}

.governing-body .form-control {
    background-color: #efefef;
}

.input-group-addon {
    padding: 10px 15px;
    border: none;
    border-radius: 0;
}

/* Audience segmentation filter pills */
.listing-filters {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.audience-filter {
    display: flex;
    gap: 0;
    flex-shrink: 0;
}

.audience-pill {
    padding: 10px 18px;
    border: 1px solid #ccc;
    background: #fff;
    color: #333;
    font-size: 13px;
    font-family: Helvetica, sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: background-color 0.2s, color 0.2s, border-color 0.2s;
    line-height: 1;
}

.audience-pill:first-child {
    border-radius: 4px 0 0 4px;
}

.audience-pill:last-child {
    border-radius: 0 4px 4px 0;
}

.audience-pill:not(:first-child) {
    border-left: none;
}

.audience-pill:hover {
    background-color: #f5f5f5;
}

.audience-pill.govtech-pill.active {
    background-color: #f47421;
    border-color: #f47421;
    color: #fff;
}

.audience-pill.governing-pill.active {
    background-color: #ed202f;
    border-color: #ed202f;
    color: #fff;
}

.audience-pill.pill-education.active {
    background-color: #0BC58F;
    border-color: #0BC58F;
    color: #fff;
}

/* Region / Topic dropdown filters */
.filter-dropdown {
    padding: 10px 32px 10px 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23333'/%3E%3C/svg%3E") no-repeat right 12px center;
    color: #333;
    font-size: 13px;
    font-family: Helvetica, sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    line-height: 1;
    flex-shrink: 0;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.filter-dropdown:focus {
    outline: none;
    border-color: #999;
}

.listing-filters .input-group {
    flex: 1;
}

.listing-filters .form-control {
    height: auto;
    padding: 7px 12px;
    font-size: 13px;
    border: 1px solid #ccc;
    border-right: none;
    border-radius: 4px 0 0 4px;
}

.listing-filters .input-group-addon {
    padding: 5px 12px;
    border: 1px solid #ccc;
    border-left: none;
    border-radius: 0 4px 4px 0;
}

/* Education header elements — hidden by default */
.education-header-logo,
.education-header-btn {
    display: none;
}

/* Education audience color overrides — swaps brand orange to education green */
body.audience-education .govtech-highlight {
    background-color: #0BC58F;
}

body.audience-education .govtech-color,
body.audience-education .govtech-hover:hover,
body.audience-education .govtech-hover:active,
body.audience-education .active.govtech-hover {
    color: #0BC58F;
}

body.audience-education h1.govtech-highlight.flag:before,
body.audience-education h2.govtech-highlight.flag:before,
body.audience-education h3.govtech-highlight.flag:before,
body.audience-education h4.govtech-highlight.flag:before,
body.audience-education h5.govtech-highlight.flag:before {
    border-left-color: #0BC58F;
}

body.audience-education .nav-tabs.govtech-border>li.active>a:hover {
    color: #0BC58F;
}

body.audience-education .sidebar-title {
    border-left-color: #0BC58F;
}

body.audience-education .email {
    color: #0BC58F;
}

/* Education audience header overrides — swap logo, button, and header background */
body.audience-education .govtech-header {
    background-color: #0BC58F;
}

body.audience-education .default-header-logo,
body.audience-education .default-header-btn {
    display: none;
}

body.audience-education .education-header-logo,
body.audience-education .education-header-btn {
    display: inline-block;
}

body.audience-education .education-header-logo img {
    padding: 10px;
}

@media (max-width: 600px) {
    .listing-filters {
        flex-direction: column;
        align-items: stretch;
    }

    .audience-filter {
        justify-content: stretch;
    }

    .audience-pill {
        flex: 1;
        text-align: center;
        padding: 10px 12px;
    }
}

.governing-header-hat {
    height: 36px;
    padding: 0px;
    position: relative;
}

.governing-header-hat > .hat-nav {
    height: 36px;
}

.governing-header-hat > .hat-nav > .hat-nav-items {
    height: 36px;
    width: auto;
}

.governing-header-hat > .hat-nav > .hat-nav-items > .hat-nav-items-item {
    height: 36px;
    display: flex;
    justify-content: space-between;
}

.governing-header-hat > .hat-nav > .hat-nav-items > .hat-nav-items-item > .nav-link {
    padding: 10px;
}

.governing-header {
    height: 130px;
    top: 0 !important;
    position: relative;
}

.governing-header > .container > .logo {
    display: flex;
    align-items: center;
}

.governing-header > .container > .logo > svg {
    max-width: 400px;
    margin: 27px auto;
    display: block;
}

.governing-body .email {
    color: #ed202f;
}

.governing-body .btn {
    background-color: #ed202f;
    border-color: #ed202f;
    color: #fff;
}

/*** page size adjustments ***/
@media only screen and (max-width: 1200px) {
    .container {
        max-width: 970px;
    }

    .body-content {
        margin-top: 170px; 
    }

    .governing-body {
        margin-top: 0px;
    }

    .header {
        height: 80px;
        padding: 0px;
    }

    .header-subhat {
        top: 120px;
    }

    .logo-container > a > img {
        max-width: 300px;
        height: 80px;
    }

    .governing-header > .container > .logo > svg {
        max-width: 300px;
        margin: 0px auto;
        display: block;
    }
}

@media only screen and (max-width: 992px) {
    .container {
        max-width: 750px;
    }

    #webinars-listing, #past-webinars {
        column-count: 2;
    }

    .listing {
        column-count: 1;
    }
}

@media only screen and (max-width: 768px) {
    .container {
        max-width: 100%;
    }

    #webinars-listing, #past-webinars {
        column-count: 1;
    }

    .sidebar {
        margin-top: 4rem;
    }

    .page-heading {
        padding: 30px;
        text-align: center;
    }

    .body-content {
        display: block;
        margin-top: 20px;
    }

    .hat-nav-items {
        font-size: 1.2rem;
    }

    .hat-nav-items {
        justify-content: flex-start;
    }

    .header {
        height: 70px;
        padding: 0px;
    }

    .header-subhat {
        top: 110px;
    }

    .events-tabs #myTab li:nth-child(4) {
        display: none;
    }

    .event-items {
        grid-template-columns: 1fr;
    }

    #govtech .webinars-tabs #myTab li:nth-child(2) {
        display: none;
    }

    .logo-container > a > img, .logo > svg {
        height: 70px;
    }

    .governing-body {
        margin-top: 0px;
    }
}

@media only screen and (max-width: 480px) {
    .copyright {
        display: block;
    }

    .hat-nav-items-item .nav-link {
        padding: 10px 6px;
        text-transform: capitalize;
    }
    
    .footer-right {
        text-align: start;
    }
}