:root {
    --gray: #7d7d7d7d;
    --gray-light: #bcbcbc;
    --gray-dark: #777;
    --yellow: #ffc107;
    --darkYellow: #b28604;
}

body {
    font-family: sans-serif, "Arial";
    margin: 0;
    letter-spacing: .1rem;
}

.gray-txt {
    color: var(--gray-dark);
    line-height: 2rem;
}

.last-sec {
    margin-bottom: 100px;
}

hr {
    position: relative;
    z-index: -1;
}

/* Menu */
nav {
    height: 130px;
    margin-bottom: 40px;
    display: flex;
    position: sticky;
    top: 0;
    background-color: white;
}

.inner-nav {
    width: 1080px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.csu-logo img {
    width: 176px;
}

.site-menu {
    display: flex;
    transition: .5s;
}

.menu {
    margin-bottom: 0;
}

.social-media-section {
    display: flex;
    align-items: center;
}

.social-media-section:before {
    content: '|';
    font-size: 1.1rem;
    margin: 5px 5px 0;
}

dl,
ol,
ul {
    margin-top: auto;
}

nav ul {
    display: flex;
    justify-content: center;
}

nav ul li {
    list-style-type: none;
    margin: 10px;
}

nav ul li a {
    color: black;
    text-decoration: none;
    text-transform: uppercase;
    font-size: .6rem;
    font-weight: bold;
}

.menu-item-32>a:after {
    content: "\005E";
    margin-left: 6px;
    display: inline-block;
    transform: scaleX(2.5) rotate(180deg);
    font-weight: normal;
    font-family: fl-icons !important;
}

.menu-item-32>ul.sub-menu {
    display: none;
    padding: 0;
    position: absolute;
    margin-bottom: 0;
    box-shadow: 3px 3px 30px var(--gray);
    padding: 30px 40px;
    width: 220px;
    background-color: white;
    width: 300px;
}

.menu-item-32:hover>ul.sub-menu {
    display: flex;
    flex-direction: column;
    animation: fade;
    animation-duration: .5s;
}

ul.sub-menu li {
    margin: 2px 0;
    padding: 0 0 4px;
    border: solid;
    border-width: 0 0 1px 0;
    border-color: var(--gray);
}

ul.sub-menu li a {
    font-weight: normal;
    text-transform: none;
    font-size: .7rem;
}

ul.sub-menu>.menu-item-36 {
    border: none;
}

@keyframes fade {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

ul.sub-menu:before {
    content: "";
    position: absolute;
    content: "";
    top: -8px;
    border-style: solid;
    border-width: 0 10px 10px 10px;
    border-color: transparent transparent white transparent;
}

.facebook-icon img,
.mail-icon img {
    width: 17px;
    margin: 0 5px;
}

.menu-icon .bar1,
.menu-icon .bar2,
.menu-icon .bar3 {
    width: 28px;
    height: 3px;
    background-color: #333;
    margin: 5px 0;
    transition: 0.4s;
}

.menu-icon,
.check-button {
    cursor: pointer;
    display: none;
}

.check-button {
    border: none;
    background: transparent;
    height: 55px;
}

.close-icon {
    display: none;
    opacity: 0;
    transition: .5s;
}

/* Home */
.home-banner {
    text-align: center;
}

.addintional_txt {
    margin-top: 30px;
}

.home-result-txt {
    width: 290px;
    height: 120px;
    border-radius: 20px;
    color: white;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: auto;
    background-color: var(--yellow);
    text-align: center;
    transition: .5s;
}

.home-result-txt:hover {
    background-color: var(--darkYellow);
}

.home-result a {
    text-decoration: none;
}

.main-title {
    text-align: center;
    text-transform: uppercase;
    font-size: 2rem;
    font-weight: bold;
    margin-top: 100px;
}

.yellow-box {
    width: 100px;
    height: 15px;
    background-color: var(--yellow);
    margin: auto;
    margin-top: 15px;
    margin-bottom: 70px;
}

.yellow-sub,
.main-sub {
    text-transform: uppercase;
    font-size: 1.5rem;
    font-weight: bold;
}

.yellow-sub {
    color: var(--yellow);
}

.main-body img {
    width: 100%;
}

.body-img-wrap {
    text-align: right;
}

.sec-sub {
    font-weight: bold;
}

.date-wrapper {
    margin-bottom: 30px;
    line-height: 2rem;
}

.location-address,
.location-title {
    text-align: center;
}



/* Announcement */
.body-container {
    width: 850px;
    margin-bottom: 100px;
}

.announce-body {
    line-height: 2rem;
}

.announce-sub {
    text-align: center;
    margin: 50px auto;
}

/* Debate */
.debate-img {
    width: 1000px;
    height: 300px;
    background-image: url(../img/debate.png);
    background-size: contain;
    background-repeat: no-repeat;
    margin: auto;
}

.debate-txt {
    margin-top: 50px;
    color: var(--gray-dark);
}

.debate-txt a {
    text-decoration: none;
}

/* Candidates */
.candidate-wrap {
    display: flex;
}

.candidate-container {
    margin-top: 30px;
    width: 70vw;
    margin: auto;
}

.candidate-img {
    width: 200px;
    height: 200px;
}

.candidate-txt {
    margin-left: 20px;
}

.candidate-name {
    color: var(--gray);
}

/* Documents */
.doc-sub {
    text-align: center;
}

.doc-link a {
    text-decoration: none !important;
}

.doc-main-btn a {
    width: 400px;
    height: 40px;
    border-radius: 20px;
    background-color: var(--yellow);
    color: white;
    margin: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: .5s;
    margin-top: 20px;
    margin-bottom: 70px;
}

.doc-main-btn a:hover {
    background-color: var(--darkYellow);
}

.doc-body {
    margin-top: 30px;
    text-align: center;
}

.doc-end-txt {
    background-color: var(--yellow);
    width: 800px;
    margin: auto;
    height: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}


.doc-end-btn {
    width: 330px;
    height: 50px;
    color: black;
    text-transform: uppercase;
    border: solid;
    border-width: 2px;
    border-radius: 20px;
    border-color: black;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
    transition: .5s;
}

.doc-end-txt a {
    text-decoration: none;
}

.doc-end-btn:hover {
    background-color: black;
    color: white;
}

/* By-elections */
.center-title {
    text-align: center;
    margin-bottom: 50px;
}

.by-txt {
    width: 800px;
    font-weight: bold;
    margin: auto;
    margin-bottom: 100px;
}

.center-column {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* Referendum */
.referendum-body {
    min-height: calc(100vh - 365px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 80vw;
    margin: auto;
}

/* Footer */
footer {
    text-align: center;
    background-color: black;
    color: white;
    height: 195px;
    padding: 50px;
    position: relative;
    bottom: 0;
}

footer a {
    color: white;
    text-decoration: none;
}

.body-404 {
/* Firefox */
height: -moz-calc(100vh - 365px);
/* WebKit */
height: -webkit-calc(100vh - 365px);
/* Opera */
height: -o-calc(100vh - 365px);
/* Standard */
height: calc(100vh - 365px);
}

.txt-404 {
    text-align: center;
    margin-bottom: 50px;
    color: red;
}

.img-404 {
    display: flex;
    justify-content: center;
    align-items: center;
}


.img-404 img {
    width: 200px;
}

/* Media Query */
@media only screen and (max-width: 872px) {
    .menu-icon,
    .check-button {
        display: block;
    }

    nav ul {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .social-media-section:before {
        display: none;
    }

    .social-media-section {
        margin-top: 15px;
    }

    .site-menu {
        position: absolute;
        left: 0;
        top: 0;
        margin-left: -100vw;
        background-color: white;
        width: 100vw;
        display: flex;
        align-items: center;
        flex-direction: column;
        padding-top: 30px;
        height: 100vh;
    }

    ol,
    ul {
        padding: 0;
    }

    .close-icon {
        display: block;
        margin-bottom: 20px;
        cursor: pointer;
    }

    .close-icon img {
        width: 15px;
    }

    .menu-item-32>ul.sub-menu{
        left: 50%;
        margin-left: -153px;
    }
}

@media only screen and (max-width:850px){
    .by-txt{
        width: 90vw;
        text-align: center;
    }
}