/*Header*/
.headerContainer {
    position: relative;
    width: 100%;
}
.headerContainer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    z-index: -1; /* Place the background behind the content */

    clip-path: polygon(
        0% 0%,
        calc(50% - min(50%, var(--page-max-width)/2) - 90px + 1px) 0%,
        calc(50% - min(50%, var(--page-max-width)/2) + 80px + 1px) 100%,
        0% 100%
    );

    background: radial-gradient(circle, rgba(60, 60, 60, 1) 0%, rgba(60, 60, 60, .25) 100%);
}
.headerContainer::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    background: white;

    clip-path: polygon(
        calc(50% - min(50%, var(--page-max-width)/2) - 90px - 0px) 0%,
        calc(50% - min(50%, var(--page-max-width)/2) - 90px ) 0%,
        calc(50% - min(50%, var(--page-max-width)/2) + 80px ) 100%,
        calc(50% - min(50%, var(--page-max-width)/2) + 80px - 1px) 100%
    );

    z-index: -1; /* Place the background behind the content */
}
.headerTopContainer {
    position: relative;
    margin-left: auto;
    margin-right: auto;


    /* clip-path: polygon(
        calc(50% - var(--page-max-width)/2 - 100px) 0%,
        100% 0%,
        100% 100%,
        calc(50% - var(--page-max-width)/2 + 40px) 100%
    ); */
}
.headerTopContainer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    background: linear-gradient(90deg, rgba(17, 52, 91, .9) 0%, rgba(17, 52, 91, .9) 150px, rgba(17, 52, 91, 0) 100%),
        radial-gradient(circle, rgba(20, 56, 96, 1) 0%, rgba(20, 56, 96, .25) 100%);

    clip-path: polygon(
        calc(50% - min(50%, var(--page-max-width)/2) - 90px) 0%,
        100% 0%,
        100% 100%,
        calc(50% - min(50%, var(--page-max-width)/2) + 31px) 100%
    );

    z-index: -1; /* Place the background behind the content */
}
.headerTop {
    max-width: var(--page-max-width);
    margin-left: auto;
    margin-right: auto;
    position:relative;
    font-size: 16px;
    line-height: 1em;
    height: var(--header-top-height);

    display: flex;
    justify-content: space-between;
    gap: 10px;
}

@media screen and (max-width: 1600px) {
    .headerTopContainer::before {
        clip-path: none;
    }
    .headerBottomContainer::after {
        clip-path: none !important;
    }
    .headerContainer::after {
        content: none;
    }
}

/* Logo */
.bg_logoLine {
    position: absolute;
    bottom: 0px;
    width: 400px;
    max-width: calc(100% + 150px);
    height: 11px;
    margin-left: -150px;
    background: linear-gradient( 90deg, rgba(213,162,74,0) 0%, rgba(213,162,74,1) 50%, rgba(213,162,74,0) 100%);
}
.logo {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    height: 110px;
    
    flex-shrink: 1;
}
@media screen and (max-width:420px) {
    .logo {
        width:100%;
    }
}
.headerTop .citySeal {
    margin-left: 5px;
    align-self: flex-end; /* Keeps seal on bottom of the flexbox for the seal and logo */
    z-index: 3;
}
@media screen and (max-width: 570px) {
    .headerTop .citySeal {
        display:none;
    }
}
@media screen and (max-width: 470px) {
    .headerTop .citySeal {
        display: inline-block;
    }
}
/* @media screen and (max-width: 340px) {
    .headerTop {
        flex-shrink: 1;
    }
    .headerTop .citySeal {
        display: inline-block;
        background-size: contain;
        width: 100%;
    }
} */
@media screen and (max-width: 350px) {
    .headerTop .logo {
        display: none;
    }
    .headerTop {
        justify-content: center;
    }
}
.jacksonville_gov_logo {
    margin-left: 10px;
    padding-bottom: 5px;
    margin-top: -10px;
}
@media screen and (max-width: 570px) {
    .jacksonville_gov_logo {
        margin-left:10px;
    }
}
@media screen and (max-width: 470px) {
    .jacksonville_gov_logo.jacksonville_gov_logo {
        display:none;
    }
}
.jacksonville_gov_logo_jacksonville {
    font-size: 20.6px;
    padding-left: 1.65px;
    line-height: 1em;
    font-weight: bold;
    position: relative;
    display: inline-block;
    vertical-align: top;
    color: rgba(0,0,0,0);
}
.jacksonville_gov_logo_dot {
    font-size: 21px;
    line-height: 1em;
    vertical-align: top;
    display: inline-block;
    margin-top: -2px;
    margin-left: -1px;
    color: rgba(0,0,0,0);
}
.jacksonville_gov_logo_gov {
    font-size: 19px;
    display: inline-block;
    vertical-align: top;
    margin-top: 2px;
    color: rgba(0,0,0,0);
}
.jacksonville_gov_logo_line {
    display: block;
    width: 210px;
    height: 1px;
    background-color: rgba(255,255,255,0);
}
.jacksonville_gov_logo_text {
    font-size: 14px;
    letter-spacing: 1.25px;
    margin-left: 3px;
    margin-top: 1px;
    display: inline-block;
    vertical-align: top;
    color: rgba(0,0,0,0);
}



a.iconLinkList__item[href="https://myjax.custhelp.com/"] {
    width: 90px;
    /* height: 55px; */
    aspect-ratio: 115 / 70;
    margin-right: 5px;
    border: 1px solid white;
    border-radius: 4px;
    background-size: contain;
}

/*Social Media, Translate, and Search*/
.socialMediaTranslateSearch {
    display: flex;
    align-self: center;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-right: 10px;
}
.socialMedia {
    display: flex;
}
.headerSMLinks {
    display: inline-flex;
    align-items: center;
    flex-wrap: nowrap;
    flex-direction: row;
}
.headerSMLinks .iconLinkList__item {
    display: inline-block;
    width: 60px;
    height: 60px;
    vertical-align: top;
    background-repeat: no-repeat;
    background-size: cover;
    color: rgba(0,0,0);
    overflow: hidden;
    line-height: 150px;
}
@media screen and (max-width: 950px) {
    .socialMediaTranslateSearch {
        flex-direction: column-reverse;
        gap: 5px;
    }
    .headerSMLinks .iconLinkList__item {
        width: 40px;
        height: 40px;
        background-size: 36px;
        background-position: center;
    }
    a.iconLinkList__item[href="https://myjax.custhelp.com/"] {
        height: 34px;
        width: unset;
        /* height: 55px; */
        margin-right: 5px;
        border: 1px solid white;
        border-radius: 4px;
    }
}
@media screen and (max-width: 380px) {
    .socialMediaTranslateSearch {
        margin-right: 0;
    }
    .headerTop .citySeal {
        width: 100%;
        background-size: contain;
    }
}
@media screen and (max-width: 590px) {
    .socialMediaTranslateSearch {
        margin-right: 0;
    }
}
@media screen and (max-width: 245px) {
    .headerSMLinks a:nth-child(1) {
        display: none;
    }
}
/*Translate Menu*/
.skiptranslate {
    display: none;
}
.translate {
    display: inline-block;
    vertical-align: top;
    position: relative;
}
.translate .skiptranslate {
    font-size:0px;
    display:block;
}
.translate .skiptranslate span {
    display: none;
}
.translate .goog-te-gadget{
    font-size:0px;
}
.openTranslate {
    display: inline-block;
    width: 60px;
    height: 60px;
    vertical-align: top;
    /* margin-top: 16px; */
    background-image: url(/Content/Images/translate/translate.png);
    background-repeat: no-repeat;
    color: black;
    overflow: hidden;
    line-height: 150px;
}
@media screen and (max-width: 950px) {
    .openTranslate {
        width: 40px;
        height: 40px;
        background-size: contain;
    }
}
.translateMenu {
    background: white;
    box-shadow: 4px 4px 5px 0px rgba(0,0,0,0.5);
    border-radius: 15px;
    padding: 30px;
    display: none;
    animation-name: showTranslate;
    animation-duration: 0.8s;
    position: absolute;
    right: -5px;
    top: 80px;
    font-size:0px;
    z-index: 4;
}
@media screen and (max-width:1280px) {
    .translateMenu {
        padding:15px;
    }
}
@media screen and (max-width: 950px) {
    .translateMenu {
        right: 20px;
        top: 60px;
    }
}
.translateMenu.show{
    display:inline-block;
}
@keyframes showTranslate {
    from { margin-top:-15px; opacity:0; }
    to{ margin-top:0px; opacity:1; }
}
.translateMenuTail {
    width: 25px;
    height: 25px;
    position: absolute;
    top: -8px;
    right: 31px;
    transform: rotate(45deg);
    background-color: white;
}
@media screen and (max-width: 950px) {
    .translateMenuTail {
        top: -15px;
        right: 0px;
        transform: none;
        background-color: rgba(0,0,0,0);
        border-top: 20px solid transparent;
        border-bottom: 20px solid transparent;
        border-right: 20px solid white;
    }
}
.googleTranslateContainer {
    width: 180px;
    height: 30px;
    margin-bottom: 15px;
    text-align: left;
}
.googleTranslateContainer select{
    margin-top: 0px !important;
    margin-bottom: 0px !important;
    height: 29px;
    width: 135px;
    border-radius: 6px;
}
.closeTranslate {
    display: inline-block;
    width: 45px;
    height: 45px;
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 15px;
    overflow: hidden;
    line-height: 120px;
}
@media screen and (max-width: 1280px) {
    .closeTranslate {
        right: 10px;
        top: 8px;
    }
}
.closeTranslateX1 {
    width: 5px;
    height: 40px;
    top: 2px;
    right: 21px;
    position: absolute;
    border-radius: 5px;
    transform: rotate(45deg);
    background-color: black;
    display: inline-block;
}
.closeTranslateX2 {
    width: 5px;
    height: 40px;
    top: 2px;
    right: 21px;
    position: absolute;
    border-radius: 5px;
    transform: rotate(-45deg);
    background-color: black;
    display: inline-block;
}
.hiddenFlag {
    display: block;
    width: 50px;
    margin-left: auto;
    margin-right: auto;
    font-size: 0px;
    line-height: 1em;
}
.hiddenFlag > font {
    width: 50px;
    height: 50px;
    display: inline-block;
    background-image:url(/Content/Images/translate/English.jpg);
    margin-bottom:10px;
}
.translateFlags {
    display:block;
}
.translateFlag {
    vertical-align: top;
    width: 50px;
    height: 50px;
    display: inline-block;
    margin-bottom: 10px;
    font-size: 15px;
    line-height: 135px;
    overflow: hidden;
}
.translateFlag:nth-of-type(3n + 1){ margin-right:15px; }
.translateFlag:nth-of-type(3n + 2){ margin-right:15px; }
.translateFlag:nth-of-type(7n){ margin-bottom:0px; }
.translateFlag:nth-of-type(8n){ margin-bottom:0px; }
.translateFlag:nth-of-type(9n){ margin-bottom:0px; }
.translateFlag.esFlag{ background-image:url(/Content/Images/translate/Spanish.jpg); }
.translateFlag.frFlag{ background-image:url(/Content/Images/translate/French.jpg); }
.translateFlag.deFlag{ background-image:url(/Content/Images/translate/German.jpg); }
.translateFlag.hiFlag{ background-image:url(/Content/Images/translate/Hindi.jpg); }
.translateFlag.ptFlag{ background-image:url(/Content/Images/translate/Portuguese.jpg); }
.translateFlag.ruFlag{ background-image:url(/Content/Images/translate/Russian.jpg); }
.translateFlag.koFlag{ background-image:url(/Content/Images/translate/Korean.jpg); }
.translateFlag.zh-TWFlag{ background-image:url(/Content/Images/translate/Chinese.jpg); }
.translateFlag.viFlag{ background-image:url(/Content/Images/translate/Vietnamese.jpg); }

