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

.governing-color, .governing-hover:hover,
.governing-hover:active, .active.governing-hover {
    color: #ed202f;
    font-family: proximanovaregular;
}

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;
}

.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;
    border-bottom:2px solid #ed202f;
}

.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: proximanovabold;
}

.governing-after {
    width: 240px;
    border-bottom: 2px solid #ed202f;
}

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

.govtech-color, .govtech-hover:hover, .govtech-hover:active, .active.govtech-hover {
    color: #f47421;
    font-family: proximanovaregular;
}

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;
}

.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;
    border-bottom:2px solid #f47421;
}

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

.govtech-after {
    width: 240px;
    border-bottom: 2px solid #f47421;
}
/*** 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: 120px;
    position: fixed;
    top: 45px;
    z-index: 50;
    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.4rem;
    justify-content: flex-end;
    overflow-wrap: anywhere;
    padding-inline-start: 0;
}

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

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

body {
    margin: 0;
    font-family: proximanovaregular;
    font-size: 10px;
}

.body-content {
    margin-top: 165px;
    min-height: calc(100vh - 240px);
    display: grid;
    grid-template-areas: "tab-nav tab-nav"
                         "listing sidebar";
    grid-template-rows: 43px auto;
    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: 1rem 0;
}

h3 {
    font-size: 2rem;
}

h2, h3, h4 {
    font-family: proximanovabold;
}

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

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

.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;
}

.listing-object {
    font-size: 1.6rem;
    margin: 2rem 0 1.5rem 0;
}

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

.event-date {
    grid-area: "event-date";
    text-align: end;
    margin: 0;
}

span {
    font-size: 1.6rem;
}

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

.sidebar {
    grid-area: sidebar;
}

.btn {
    color: #fff;
    background-color: #f47421;
    border-color: #f47421;
    padding: .5rem 1rem;
    font-size: 1.25rem;
    line-height: 1.5;
    border-radius: .3rem;
    margin-bottom: 1rem;
    font-size: 1.4rem;
    font-weight: 700;
}

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

.email {
    color: #f47421;
}

.sidebar-content {
    background-color: #f6f6f6;
    padding: 0.1rem 1rem;
    margin-bottom: 1rem;
    font-size: 1.6rem;
}

.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;
}

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

.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;
}

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

/*** 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: 400px;
        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;
    }

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

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

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

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

    .header-subhat {
        top: 110px;
    }

    .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;
    }
}