:root {

    /* KERV Colors */

    --mainPink: #EF0078;
    --darkPink: #ce1582;
    --lightPink: #ee68a7;
    --lightestPink: #f1c3db;

    --mainOrange: #F97641;
    --darkOrange: #d96e37;
    --lightOrange: #f1c592;
    --lightestOrange: #f0d8c2;

    --mainYellow: #F6CE2F;
    --darkYellow: #dbbb26;
    --lightYellow: #ede80a;
    --lightestYellow: #efed88;

    --mainGreen: #00A45D;
    --darkGreen: #009C5A;
    --lightGreen: #9BCBA1;
    --lightestGreen: #B3D3B1;

    --mainBlue: #00B1D0;
    --darkBlue: #269FB0;
    --lightBlue: #96C8E8;
    --lightestBlue: #B5D7E9;


    /* Backgrounds */
    --blackBg: #090a0a;
    --darkGrayBg: #474747;
    --lightGrayBg: #F4F4F4;
    --darkBlueBg: #192f7b;
    --lightBg: #fff;

    /* Spacing */



    /* General Fonts */
    --blueFont: #1e90ff;
    --whiteFont: #ffffff;
    --xlargeFontSize: 4rem;
    --largeFontSize: 3rem;
    --mediumFontSize: 2rem;
    --regularFontSize: 1rem;
    --smallFontSize: .75rem;
    --xsmallFontSize: .5rem;
    --lightFont: 'IBM Plex Sans', sans-serif;
    --regularFont: 'IBM Plex Sans', sans-serif;
    --semiBoldFont: 'IBM Plex Sans', sans-serif;
    --boldFont: 'IBM Plex Sans', sans-serif;
    --boldItalicFont: 'IBM Plex Sans', sans-serif;
    --headingLineHeight: 2.113rem;
    --headingLetterSpacing: 1%;

    /* Header */
    --headerLinksColor: #666;

    /* Body */
    --bodyLinkColor: #666;


    /* Footer */
    --footerText: #fff;
    --footerBackground: #333434;
    --footerLinkColor: #fff;

    /* Buttons */

    --kervBtnBackgroundColor: #192F7B;
    --kervBtnFontColor: #fff;
    --kervBtnFontSize: 1.125rem;
    --kervBtnFontWeight: 600;
    --kervBtnLetterSpacing: 1;
    --kervBtnFontFamily: 'IBM Plex Sans', sans-serif;
    --kervBtnBorderRadius: 0;
    --kervBtnPadding: 12px 32px 12px 32px;
    /* OG Button Padding 
    --kervBtnPadding: 16px 10px; */
    --kervBtnMaxWidth: 120px;
    --kervBtnOutline: 1px solid #fff;
    --kervBtnTransBackground: transparent;

}

html {
    font-size: 16px;
    font-family: var(--regularFont);
}

body {
    background-color: var(--lightGrayBg);
    margin: 0;
    animation: fadeInAnimation ease 1s;
    animation-iteration-count: 1;
    animation-fill-mode: forwards;
    -webkit-animation-animation: fadeInAnimation ease 1s;
    -webkit-animation-animation-iteration-count: 1;
    -webkit-animation-animation-fill-mode: forwards;
    font-family: Arial, Helvetica, sans-serif;
    font-family: var(--regularFont);

}

h1,
h2,
h3,
h4,
h5 h6 {
    font-family: Arial, Helvetica, sans-serif;
    font-family: var(--regularFont);
    line-height: var(--headingLineHeight);
}

/* Header Font Sizes */

h1 {
    font-size: 4rem;
    letter-spacing: var(--headingLetterSpacing);
}

h2 {
    font-size: 3rem;
    letter-spacing: var(--headingLetterSpacing);
}

h3 {
    font-size: 1.5rem;
    letter-spacing: var(--headingLetterSpacing);
}

h4 {
    font-size: 1.3rem;
    letter-spacing: 5%;
    text-transform: uppercase;
}

h5 {
    font-size: 1.125rem;
}

h6 {
    font-size: .75rem;
}

/* Resource Page Fonts */

.blog-layout h2.wp-block-heading,
.blog-layout h2.elementor-heading-title.elementor-size-default {
    font-size: 2rem !important;
    margin-bottom: 22px;

}


.blog-layout h3.wp-block-heading,
.blog-layout h3.elementor-heading-title {
    font-size: 1.5rem;
    margin-bottom: 22px;
}

.blog-layout p {
    margin-bottom: 8px !important;
}

@media(max-width: 992px) {

    .blog-layout h2.wp-block-heading,
    .blog-layout h2.elementor-heading-title.elementor-size-default {
        font-size: 1.5rem !important;
    }

    .blog-layout h3.wp-block-heading,
    .blog-layout h3.elementor-heading-title {
        font-size: 1.5rem;
    }
}


@media(max-width: 768px) {

    .blog-layout h2.wp-block-heading,
    .blog-layout h2.elementor-heading-title.elementor-size-default {
        font-size: 1.375rem !important;
    }

    .blog-layout h3.wp-block-heading,
    .blog-layout h3.elementor-heading-title {
        font-size: 1.25rem;
    }
}

/* Page Level Font Sizes */

p {
    padding-bottom: 8px;
}

ul {
    margin-top: 8px;
    margin-bottom: 8px;
}

li {
    padding: 0;
}

p,
a,
li {
    font-size: var(--regularFontSize);
    line-height: 150%;
}



.kerv-btn {
    background-color: var(--kervBtnBackgroundColor);
    color: var(--kervBtnFontColor);
    border-radius: var(--kervBtnBorderRadius);
    font-family: var(--kervBtnFontFamily);
    font-size: var(--kervBtnFontSize);
    font-weight: var(--kervBtnFontWeight);
    letter-spacing: var(--kervBtnLetterSpacing);
    padding: var(--kervBtnPadding);
    display: inline;
    text-align: center;
    cursor: pointer;
}

.kerv-btn:hover,
.kerv-btn:focus {
    font-size: var(--kervBtnFontSize);
    cursor: pointer;
    text-decoration: none;
}

.wp-block-button__link,
.wp-block-button__link:link,
.wp-block-button__link:visited,
.wp-block-button__link:active {
    background-color: var(--kervBtnBackgroundColor);
    color: var(--kervBtnFontColor);
    border-radius: var(--kervBtnBorderRadius);
    font-family: var(--kervBtnFontFamily);
    font-size: var(--kervBtnFontSize);
    font-weight: var(--kervBtnFontWeight);
    letter-spacing: var(--kervBtnLetterSpacing);
    padding: var(--kervBtnPadding);
    min-width: 150px;
    display: inline;
    text-align: center;
    cursor: pointer;
}

.wp-block-button__link:hover,
.wp-block-button__link:focus {
    font-size: var(--kervBtnFontSize) !important;
    /* text-decoration: underline; */
    text-decoration: none;
    color: var(--kervBtnFontColor) !important;
    font-weight: var(--kervBtnFontWeight);
    cursor: pointer;

}

.kerv-btn-outline {
    background-color: var(--kervBtnTransBackground);
    border-radius: var(--kervBtnBorderRadius);
    border: var(--kervBtnOutline);
    font-family: var(--kervBtnFontFamily);
    font-size: var(--kervBtnFontSize);
    font-weight: var(--kervBtnFontWeight);
    letter-spacing: var(--kervBtnLetterSpacing);
    padding: var(--kervBtnPadding);
    display: inline;
    text-align: center;
    cursor: pointer;
}

.kerv-btn-outline:hover,
.kerv-btn-outline:focus {
    font-size: var(--kervBtnFontSize);
    cursor: pointer;
}

#kervHeaderNav .kerv-btn.menu-item {
    background-color: var(--kervBtnBackgroundColor);
    border-radius: var(--kervBtnBorderRadius);
    font-family: var(--kervBtnFontFamily);
    font-size: var(--kervBtnFontSize);
    font-weight: var(--kervBtnFontWeight);
    letter-spacing: var(--kervBtnLetterSpacing);
    padding: var(--kervBtnPadding);
    display: inline;
    text-align: center;
}

#kervHeaderNav .kerv-btn a {
    color: var(--kervBtnFontColor);
    font-size: var(--kervBtnFontSize);
    padding: 0;
    cursor: pointer;
}

#kervHeaderNav .kerv-btn a:hover,
#kervHeaderNav .kerv-btn a:focus {
    font-size: var(--kervBtnFontSize);
    /* text-decoration: underline; */
    text-decoration: none;
    cursor: pointer;
}

@-webkit-keyframes fadeInAnimation {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

.grecaptcha-badge {
    display: none !important;
}


.jumbotron {
    /* padding-top: 6rem; */
}

#randomPageHeader h2.elementor-heading-title {
    padding-bottom: 0;
}

#navbar button.navbar-toggler,
.navbar-light .navbar-toggler {
    background-color: #fff;
}

#navbar {
    position: sticky;
    position: -webkit-sticky;
    width: 100%;
    z-index: 10;
    background-color: #fff;
    /* min-height: 65px; */
    top: 0;
}

.navbar-collapse.show {
    padding-bottom: 1em;
}

@media(max-width: 767px) {
    .navbar-brand.kerv-logo img {
        max-height: 35px;
    }
}

@media(min-width: 768px) {
    .navbar-brand.kerv-logo img {
        max-height: 50px;
    }
}

#menu-header-nav li a {
    color: var(--headerLinksColor);
    padding: 7px;
}

#kervHeaderNav a.dropdown-item {
    color: var(--headerLinksColor);
}

#headerVideoContainer {
    height: 400px;
    overflow: hidden;
    position: relative;
}

#homeHeaderVideo {
    position: absolute;
}

#homeHeaderText {
    position: relative;
    color: var(--whiteFont);
}

.elementor-pagination {
    margin-top: 2em;
}

footer {
    background-color: var(--footerBackground);
    color: var(--footerText);
}

#kervLogo img {
    max-height: 85px;
    width: auto;
}

ul#menu-footer-navigation-menu,
ul#menu-footer-resources-menu {
    padding: 0px;
    list-style-type: none;
}

footer.footer section h3 {
    color: var(--footerLinkColor);
}

footer li {
    list-style-type: none;
    padding-top: 8px;
}

footer.footer li.menu-item a {
    color: var(--footerLinkColor);
}

#kervSubfooter {
    background-color: var(--blackBg);
}

/* Contact Form 7 Forms */

.wpcf7-form input,
.wpcf7-form textarea {
    background-color: #f5f8fa;
    height: 40px;
    line-height: 22px;
    border: 1px solid #cbd6e2;
    border-radius: 3px;
    width: 100%;
}

.wpcf7-form input[type="submit"] {
    height: 50px;
}

/* Hubspot Forms */

.hbspt-form label {
    font-size: 1.15rem;
    font-family: var(--regularFont);
    /* padding-top: 1em; */
}

.hbspt-form input {
    margin-bottom: 1em;
}

@media(max-width: 768px) {
    .input {
        margin-right: 0 !important;
    }
}

.hbspt-form li {
    list-style-type: none;
}

.hbspt-form[id*="hbspt-form-"] fieldset {
    max-width: 100%;
}

.hs-input:not([type=file]) {
    background-color: #f5f8fa;
    height: 40px;
    font-family: var(--regularFont);
    line-height: 22px;
    border: 1px solid #cbd6e2;
    border-radius: 3px;
    width: 100%;
}

.hs_submit.hs-submit {
    text-align: center;
    padding-top: 2rem;
}

.hs_submit.hs-submit input[type=submit] {
    min-width: 300px;
    min-height: 55px;
    background-color: #273081;
    color: #fff;
    border: none;
    border-radius: 0 !important;
    padding: .65rem;
    font-weight: 500;
    font-size: 18px;
}

@media(max-width: 400px) {
    .hs_submit.hs-submit input[type=submit] {
        min-width: 200px;
    }
}


.hs-input[type=checkbox] {
    height: auto !important;
    width: auto;
    margin: 3px
}

/* Elementor Overrides */

#kervBtn a:hover {
    color: #fff;
    font-size: var(--kervBtnFontSize);
    padding: 16px 32px 16px 32px;
}

h1.elementor-heading-title,
h2.elementor-heading-title,
h3.elementor-heading-title,
h4.elementor-heading-title,
h5.elementor-heading-title,
h6.elementor-heading-title {
    padding-bottom: .5em;
    word-wrap: break-word;
    white-space: normal;
}

a.elementor-button-link.elementor-button {
    text-decoration: none;
}


/* Accessibility Plugin */

#pojo-a11y-toolbar.pojo-a11y-toolbar-right.pojo-a11y-toolbar-open {
    left: 0 !important;
    right: -185px !important;
}


/* WordPress Blocks Overrides */

footer .wp-block-social-links .wp-social-link a,
footer li.wp-block-social-link {
    padding-top: 0;
    padding-bottom: 0;
    padding-right: 0;
    padding-left: 0;
    font-size: 2rem;
}

/*video override*/
video,
.wp-video {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
}


@media(min-width: 992px) {
    .navbar-expand-lg .navbar-nav {
        gap: 1.3em;
    }

    footer li {
        padding-top: 0;
    }
}

@media(max-width: 992px) {
    #headerVideoContainer {
        max-height: 200px;
    }

    h1 {
        font-size: 3rem;
    }

    h2 {
        font-size: 2.5rem;
    }

    h3 {
        font-size: 1.5rem;
    }
}

@media(max-width: 767px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    h3 {
        font-size: 1.25rem;
    }

    #kervLogo img {
        max-height: 50px;
    }
}

/* Greenhouse */

/* Greenhouse Job Board */

.career-title {
    color: #3bb6d4;
}

.careers-title a:hover,
.careers-title a:focus {
    text-decoration: underline !important;
}

.careers-location {
    font-size: .75rem !important;
    font-weight: bold;
}

.careers-description p {
    font-family: 'IBM Plex Sans', sans-serif;
    font-weight: 300 !important;
    font-style: italic;
}

.career-description h3,
.career-description ul {
    margin-bottom: 1em !important;
}

#wrapper h1,
h2#board_title {
    display: none;
}

.child {
    margin-left: 0 !important;
    background: #fff;
    padding: 1em 2em;
    margin-bottom: 2em;
}

.app-title,
.opening a {
    font-size: 1rem;
    color: #3bb6d4;
}

.greenhouse-job {
    background-color: #fff;
}

#wrapper #application,
#wrapper,
#wrapper #app_body {
    max-width: 100%;
}

/* #wrapper #header,
#wrapper #content {
    display: none;
} */

@media(max-width: 768px) {
    .accessible .level-0 h1 {
        font-size: 2.5rem;
    }

    .accessible .level-0 h2 {
        font-size: 2rem;
    }

    .accessible .level-0 h3 {
        font-size: 1.5rem;
    }

    .accessible .level-0 h4 {
        font-size: 1rem;
    }
}

@media(max-width: 467px) {
    .accessible .level-0 h1 {
        font-size: 2.5rem;
    }

    .accessible .level-0 h2 {
        font-size: 2rem;
    }

    .accessible .level-0 h3 {
        font-size: 1.25rem;
    }

    .accessible .level-0 h4 {
        font-size: 1rem;
    }
}