@import url('https://fonts.googleapis.com/css?family=Raleway');

#book {
    min-height: inherit !important;
}

#page {
    margin-bottom: 0 !important;
}

#main-menu, #masthead, #footer {
    display: none;
}

#ballot_desc {
    display: none;
}

div.cpanel input.button {
    background-color: #0f7bb6;
}

div.cpanel {
    margin-left: 0;
    margin-right: 0;
}

.go-menu-container {
    border: 0;
    width: 100%;
    background-color: #666;
}

.go-menu-inner {
    margin: 0 auto;
    max-width: 1000px;
    min-width: 0;
    padding: 5px 5px 5px 0;
}

.go-menu {
    list-style: none;
    padding-left: 0;
    min-height: 20px;
}

.go-menu li {
    padding-right: 25px;
    position: relative;
    display: inline;
}

.go-menu li a {
    color: #FFF;
    text-transform: uppercase;
    font-family: 'Raleway', sans-serif;
    text-decoration: none;
    font-weight: 300;
}

.go-menu li a:hover {
    color: #d6ae28
}

.go-menu > li:after {
    content: '';
    position: absolute;
    right: 12px;
    top: 0;
    width: 2px;
    height: 20px;
    background-color: #e7e7e7;
}

.go-menu > li:last-child:after {
    content: none;
}

.go-logo {
    width: 218px;
}

.go-header {
    margin: 0 auto;
    border: 0;
    max-width: 1000px;
    min-width: 0;
    background-color: #ffffff !important;
    padding: 10px 0 10px 0;
    -js-display: flex;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    -ms-flex-pack: justify;
    justify-content: space-between;
}

.go-material-container {
    background-color: #b1a97e;
    width: 350px;
}

.go-material-container ul {
    background-color: #d1cbb3;
    padding: 5px 10px 10px 30px;
    border-left: 5px solid #b1a97e;
    border-right: 5px solid #b1a97e;
    margin-top: 5px;
    margin-bottom: 7px;
}

.go-material-container ul > li {
    margin-top: 5px;
}

.go-material-title {
    color: white;
    text-align: center;
    padding-top: 5px;
}

.go-material-container a {
    color: black;
}

.go-footer {
    margin: 10px auto;
    max-width: 1000px;
    min-width: 0;
    border-top: 1px solid #CCC;
    padding-top: 25px;
    padding-bottom: 25px;
}

.go-footer a {
    text-decoration: none;
}

.go-footer img {
    display: block;
    width: 100%;
}

@media only screen and (max-width: 650px) {
    .go-menu {
        padding-left: 5px;
    }

    body.voting {
        padding: 5px;
    }

    .go-header {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -webkit-flex-direction: column;
        -ms-flex-direction: column;
        flex-direction: column;
    }

    .go-footer {
        margin-top: 25px;
    }

    .go-footer img {
        margin-bottom: 25px;
    }

    /* Fixes HorizontalOptions on mobile */
    .ccform .ballot .field-row.horizontal {
        margin-left: 2em;
    }
}

@media only screen and (min-width: 649px) and (max-width: 1024px) {
    .go-menu li {
        padding-right: 15px;
    }

    .go-menu > li:after {
        right: 7px;
    }

    .go-election-details-container {
        margin-left: 10px;
    }

    .go-menu {
        padding-left: 5px;
    }

    body.voting {
        padding: 5px;
    }
}
