.election-header-background {
    background-image: url("/wp-content/themes/rt_akuatik/custom/images/Election-Header.jpg?5e20f8b3") !important;
    background-repeat: no-repeat !important;
    background-size: contain !important;
}

.election-header img {
    width: 100%;
}

.rounded-election {
    border-radius: 8px 8px 8px 8px;
    background-color: #f0f0f0;
}

.rounded-election > div {
    padding: 0;
    margin: 0;
}

.rounded-election img,
.rounded-election > div > div:first-of-type {
    border-radius: 8px 8px 0 0;
    background-color: #f0f0f0;
    width: 100%;
    padding: 0;
}

.rounded-election > div > div {
    background-color: #f0f0f0;
    padding: 0 25px 15px;
}

.rounded-election > div > div:last-of-type {
    border-radius: 0 0 8px 8px;
    background-color: #f0f0f0;
    padding: 0 25px 20px;
}

#g-header.election-header > div:nth-of-type(2) {
    padding-left: 10%;
    padding-right: 10%;
}

.election-boiler .g-content {
    padding-left: 0;
    padding-right: 0;
    margin-left: 0;
    margin-right: 0;
}

.election-boiler .boiler-plate-right {
    width: 48%;
    margin-right: 0;
    margin-top: -52%;
}

.election-boiler .red-back {
    background-color: rgba(225, 40, 46, 0.90);
}

.election-boiler h2.g-title {
    margin-bottom: 0 !important;
}

#g-above.election-content > div:first-of-type > div {
    background-color: #f0f0f0;
}

#g-above.election-content > div:first-of-type > div:first-of-type {
    border-radius: 8px 0 0 8px;
    /* border-radius: 8px; */
}

#g-above.election-content > div:first-of-type > div:last-of-type {
    border-radius: 0 8px 8px 0;
    /* border-radius: 8px; */
}

#election-content #g-mainbar .g-content {
    margin: 0;
    padding: 0;
}

#election-content #g-mainbar .entry-content .post-thumbnail {
    margin: 0;
    padding-bottom: 30px;
}

#election-content #g-mainbar .entry-content .post-thumbnail img {
    width: 100%;
}

#election-content #g-mainbar .entry-content > p,
#election-content #g-mainbar .entry-content > h1,
#election-content #g-mainbar .entry-content > h4,
#election-content #g-mainbar .entry-content > ul,
#election-content #g-mainbar .entry-content > div,
#election-content #g-mainbar .entry-content > iframe {

    padding-left: 10%;
    padding-right: 10%;
}

#election-content #g-mainbar .entry-content > iframe {
    width: 100%;
}

#election-content #g-mainbar .entry-content > ol {
    padding-left: 11%;
    padding-right: 10%;
}

#election-content #g-mainbar .entry-header {
    position: absolute;
    margin-top: 33%;
    padding-left: 10%;
    padding-right: 10%;
}

.election-content .g-simplecontent-item-readmore {
    color: #da3838 !important;
    font-size: initial !important;
}

.election-content .g-simplecontent-item-readmore:hover {
    color: #4c4c4c !important;
}

#election-content #g-mainbar .page-header h2 {
    background-color: rgba(225, 40, 46, 0.90);
    color: #ffffff !important;
    padding: 2px 25px 5px 25px;
    margin: 0;
    margin-top: 0;
    border-radius: 8px;
}

@media only all and (max-width: 75.938rem) and (min-width: 65rem) {
    #g-header.election-header > div:nth-of-type(2) {
        padding-left: 0;
        padding-right: 0;
    }

    .election-boiler .boiler-plate-right {
        margin-top: -42%;
    }
}

@media only all and (max-width: 64.938rem) {
    #g-header.election-header > div:nth-of-type(2) {
        padding-left: 0;
        padding-right: 0;
        padding-bottom: 5%;
    }

    .election-boiler .boiler-plate-right {
        width: 100%;
        margin-top: -10%;
    }

    .election-header div.g-simplecontent-item-main-content{
        padding-left: 25px !important;
        padding-right: 25px !important;
    }

    #g-above.election-content > div:first-of-type > div:first-of-type {
        border-radius: 0;
    }
    
    #g-above.election-content > div:first-of-type > div:last-of-type {
        border-radius: 0;
    }
}