body, div, blockquote, p, span, h1, h2, h3, h4, h5, h6 {
    margin: 0;
    padding: 0;
}


:root {
    --cTransparent: transparent;
    --cBlack03: rgba(0, 0, 0, 0.3);
    --cBlack06: rgba(0, 0, 0, 0.8);
    --cBlack: #111;
    --cGray1: #333;
    --cGray2: #3f3f3f;
    --cGray04: rgba(0, 0, 0, 0.4);
    --cGreen1: #00a94f;
    --cGreen2: #00c55c;
    --cGreen3: #b2e5ca;
    --cGreen4: #e5f6ed;
    --cRed1: #c92020;
    --cRed2: #e92424;
    --cWhite: #fff;
    --cPurple: #3e467e;
    --cPurple-light: #3e457e75;
    --cWhite03: rgba(255, 255, 255, 0.3);
    --cGrayGradient: linear-gradient(-90deg, transparent, #3f3f3f);
    --cWhiteGradient: linear-gradient(transparent, #fff);
}

@keyframes glance {
    0% {
        left: -5rem;
    }
    100% {
        left: 105%;
    }
}

html {
    scroll-behavior: smooth;
}

@media screen and (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}

body {
    margin: 0;
    padding: 0;
    font-size: 1em;
    font-family: Arial, sans-serif;
}

.-text-link {
    color: var(--cPurple);
    font-weight: bold;
    text-decoration: none;
}

.-text-link.TU {
    color: rgb(124, 110, 229);
    text-decoration: underline;
}

.a-timelineRules__left {
    float: left;
    width: calc(50% - 0.5rem);
    margin-right: 0.5rem;
}

.a-timelineRules__right {
    float: right;
    width: calc(50% - 0.5rem);
    margin-left: 0.5rem;
}

.a-clear {
    clear: both;
}

.m-wrapper {
    width: 80%;
    margin: 0 auto;
}

.m-wrapper.nav-flex{
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.o-main {
    position: relative;
    padding: 0;
    margin: 0;
}

.o-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 0;
    overflow: hidden;
    background: var(--cTransparent);
    transition: background 0.4s, height 0s 0.4s;
    z-index: 3;
}

.o-modal.--active {
    height: 100vh;
    background: var(--cGray04);
    transition: background 0.4s;
}

.o-modal:after.--active {
    content: "";
    position: absolute;
}

.o-modal.--narrow .m-modalWindow {
    width: clamp(0vw, 60vw, 40rem);
    text-align: left;
}

.a-modalContent {
    max-height: 80vh;
    aspect-ratio: 16/9;
}

.a-modalClose {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    width: 1.5rem;
    height: 1.5rem;
    text-align: center;
    background: var(--cWhite);
    border: 2px solid var(--cGreen2);
    border-radius: 50%;
    text-decoration: none;
    font-size: 2rem;
    line-height: 1.5rem;
    font-weight: normal;
    color: var(--cGreen2);
    transition: color 0.2s;
}

.a-modalClose:hover {
    color: var(--cGreen1);
    border-color: var(--cGreen1);
}

.m-modalWindow {
    box-sizing: border-box;
    position: absolute;
    top: -50vh;
    left: calc(50%);
    max-height: 90vh;
    overflow: auto;
    width: clamp(0vw, 80vw, 90vw);
    padding: min(5vw, 1.5rem);
    text-align: center;
    background: var(--cWhite);
    border-radius: 0.5rem;
    transition: top 0.4s;
    transform: translate(-50%, -50%);
}

.o-modal.--active .m-modalWindow {
    top: 50%;
}

.a-modalText {
    text-align: center;
    font-weight: bold;
    margin-bottom: 1rem;
}

.a-modalText.-success {
    color: var(--cGreen1);
}

.a-modalText.-error {
    color: var(--cRed1);
}

.a-modalText.-info {
    color: var(--cGray1);
}

.a-modalIframe {
    width: 100%;
    height: 100%;
    min-height: 320px;
}

.a-modal__button {
    display: inline-block;
    background: var(--cGreen1);
    color: var(--cWhite);
    border: none;
    width: 5rem;
    padding: 0.3rem;
    font-size: 1.3rem;
    border-radius: 0.2rem;
    transition: opacity 0.2s;
    cursor: pointer;
}

.a-modal__button:hover,
.a-modal__button:target {
    opacity: 0.8;
}

.o-navigator {
    max-height: 5rem;
    padding: 0;
    background: var(--cWhite);
    transition: max-height 0.4s;
}

.o-navigator.--active {
    max-height: 100vh;
    box-shadow: 0 0 0.5rem rgba(0, 0, 0, 0.2);
}


.a-navigator__link {
    position: relative;
    vertical-align: middle;
    display: inline-block;
    color: var(--cPurple);
    text-decoration: none;
    font-size: 1.1rem;
    margin: 0 0 0 1rem;
    height: 5rem;
    line-height: 5rem;
    font-weight: bold;
    text-transform: uppercase;
    box-sizing: border-box;
}

.a-navigator__link:after {
    position: absolute;
    bottom: 1.6rem;
    left: 50%;
    width: 0;
    border-bottom: 0.2rem solid var(--cPurple);
    content: "";
    transition: all 0.2s;
}

.a-navigator__link.-link:hover:after,
.a-navigator__link.-link:target:after {
    left: 0;
    width: 100%;
}

.a-navigator__link.-burger {
    display: none;
    position: relative;
}

.a-navigator__link.-burger:before,
.a-navigator__link.-burger:after {
    position: absolute;
    top: 1.3rem;
    left: 0;
    content: "";
    width: 2rem;
    height: 0.3rem;
    border-top: 0.3rem solid var(--cPurple);
    border-bottom: 0.3rem solid var(--cPurple);

    transition: all 0.3s;
}

.a-navigator__link.-burger:after {
    border-top: none;
    top: auto;
    bottom: 1.2rem;
}

.o-navigator.--active .a-navigator__link.-burger:before {
    border-bottom: none;
    transform: translateY(0.55rem) rotate(45deg);
}

.o-navigator.--active .a-navigator__link.-burger:after {
    transform: translateY(-0.55rem) rotate(-45deg);
}

.a-navigator__link.-right {
    float: right;
    /* margin: 0 1rem 0 0; */
}

.a-navigator__logo {
    vertical-align: middle;
    height: 50%;
}

.a-navigator__logo.-mobile {
    display: none;
}

.o-heroBanner {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    height: 34rem;
    color: var(--cGray1);
    background: var(--cWhite);
    background-image: url('images/hero-image-purple.jpg');
    background-position-x: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    padding: 2rem;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.m-heroBanner__content {
    margin-right: 0;
    width: 90%;
    display: flex;
    align-items: center;
    justify-content: space-around;
}

.banner-text{
    width: 30rem;
    z-index: 2;
}

.banner-subtext{
    width: 100%;
    text-align: justify;
    font-size: 1.6rem;
    margin-top: 2rem;
    color: var(--cPurple);
    font-weight: bold;
}

.banner-img{
    min-width: 42rem;
    min-height: 42rem;
    max-width: 42rem;
    max-height: 42rem;
    margin-bottom: 6rem;
    z-index: 1;
}

/* .m-bannerContent {
    border-left: 3px solid var(--cGreen1);
    border-right: 3px solid var(--cGreen1);
    margin-bottom: 2rem;
} */

.a-heroBanner__header {
    position: relative;
    top: -0.9rem;
    text-transform: uppercase;
    margin: -0.5rem 0 0 0;
    font-size: 3.2rem;
    color: var(--cPurple)
}

.a-heroBanner__year {
    font-size: 8rem;
    line-height: 6.4rem;
    vertical-align: bottom;
    font-weight: bold;
    color: black;
    -webkit-text-fill-color: white; /* Will override color (regardless of order) */
    -webkit-text-stroke-width: 3px;
    -webkit-text-stroke-color: var(--cPurple);
}

.a-heroBanner-text {
    text-align: left;
}

.a-heroBanner-text img{
    width: 25rem;
}

.a-heroBanner__cta,
.m-historyToggleMore {
    position: relative;
    display: block;
    width: 100%;
    margin-top: 1rem;
    padding: 1rem 0;
    background: var(--cPurple);
    color: var(--cWhite);
    border: none;
    border-radius: 0.4rem;
    font-size: 1.4rem;
    text-transform: uppercase;
    font-weight: normal;
    cursor: pointer;
    overflow: hidden;
    text-decoration: none;
    transition: background 0.2s;
}

.a-heroBanner__cta:hover {
    background: var(--cPurple);
}

.a-heroBanner__cta:hover:after {
    position: absolute;
    width: 0.5rem;
    height: 100%;
    top: 0;
    left: 0;
    content: "";
    border: 1.5rem solid var(--cWhite);
    border-top: none;
    border-bottom: none;
    border-left-width: 0.5rem;
    transform: skewX(-30deg);
    animation: glance 0.3s forwards;
    opacity: 0.5;
}

.a-historyToggleMoreText {
    pointer-events: none;
    margin-left: -1.5rem;
}

.a-heroBanner__subheader {
    font-weight: bold;
}

.m-heroBanner__searchBox {
    margin-top: 2.5rem;
}

.o-voteblock {
    padding: 1rem 0;
    background: var(--cWhite);
}

.o-voteblock__text {
    font-size: 17px;
    line-height: 25px;
    margin-bottom: 4rem;
}

.countdown-box{
    font-size: 3rem;
    margin: 6rem auto;
    text-transform: uppercase;
    text-align: center;
    text-shadow: 3px 3px 8px rgba(94, 94, 94, 0.4);
}

.countdown-text{
    font-size: 2rem;
    color: #3e457d;
    background: none;
    text-shadow: none;
    margin: auto;
    padding: 0 0 2rem 0;
}

.countdown {
    background: -webkit-linear-gradient(50deg, rgba(62,70,126,1) 20%, rgba(116, 126, 201, 0.807) 80%);
    background-clip:text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.center {
    display: flex;
    justify-content: center; /* Horizontally center content */
    align-items: center; /* Vertically center content */
}

.flex-candidates {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    /*justify-content: space-evenly;*/
}

.m-category {
    width: 375px;
    margin-bottom: 4rem;
}

.m-category-2 {
    margin-bottom: 4rem;
}

.m-category-last {
    margin-bottom: 30px;
}

.text-align {
    text-align: justify
}

.m-categoryCandidates {
    display: flex;
    width: 100%;
    align-items: flex-start;
    flex-flow: row;
    justify-content: space-between;
}

.m-categoryCandidates-2 {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    height: 420px;
}

.candidate-tile {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 400px; /* Adjust as needed */
    margin: 10px;
    padding: 20px;
    box-sizing: border-box;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.candidate-tile h4,
.candidate-tile p {
    margin: 0 0 10px 0;
    color: #111111;
}

.candidate-tile .a-candidateVoteButton {
    align-self: center;
    display: inline-block;
    padding: 10px 20px;
    background-color: #28a745;
    color: white;
    text-align: center;
    text-decoration: none;
    border-radius: 5px;
    margin-top: auto;
}

.candidate-tile .a-candidateVoteButton:hover {
    background-color: #218838;
}

.m-categoryCandidate {
    position: relative;
    /*	width: clamp(9rem, calc(33% - 0.5rem), 20rem);
        height: clamp(9rem, calc(33% - 0.5rem), 20rem);*/
    width: 320px;
    height: 320px;
    box-sizing: border-box;
    overflow: hidden;
    border-radius: 0.4rem;
}

.candidate-label {
    margin-top: 1rem;
}

.a-candidateImage {
    width: 100%;
}

.a-candidateName {
    color: #FFF;
    font-weight: bold;
}

.a-candidateName-2 {
    color: var(--cPurple);;
    font-weight: bold;
}

.a-candidatePosition {
    font-size: 0.8rem;
    margin-bottom: 0.5rem;
}

.m-candidateContent {
    display: flex;
    flex-flow: column;
    justify-content: flex-start;
    position: absolute;
    top: -100vh;
    height: 100%;
    padding: 0.7rem;
    font-size: 0.9rem;
    color: var(--cWhite);
    box-sizing: border-box;
    transition: top 0.4s;
    overflow: auto;
}

.m-categoryCandidate:before {
    content: "";
    position: absolute;
    top: 0;
    left: 100%;
    width: 100%;
    height: 100%;
    background: var(--cTransparent);
    transition: left 0.4s, background 0.4s;
}

.m-categoryCandidate:hover .m-candidateContent {
    top: 0;
}

.m-categoryCandidate:hover:before {
    left: 0;
    background: var(--cBlack06);
}

.a-candidateVoteButton {
    border-radius: 4px;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
    padding: 0.3rem;
    text-align: center;
    background-color: var(--cGreen1);
    color: var(--cWhite);
    display: block;
    align-self: center;
    justify-self: flex-end;
    text-decoration: none;
    transition: background 0.2s;
}

.a-candidateVoteButton:hover,
.a-candidateVoteButton:focus {
    background: var(--cGreen2);
}

.a-candidateMedaillon a {
    color: var(--cGreen2);
}

.o-about {
    background: url(images/middle-part-background.png);
    background-position-y: -200px;
    background-size: cover;
    background-repeat: no-repeat; 
    min-height: 70vh;
    min-width: 100%;
    max-height: fit-content;
    max-width: 100%;
}

.m-aboutWrapper {
    width: 70%;
    padding: 0.5rem 0 2rem 0;
}

.a-aboutText {
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px var(--cWhite);
    font-size: 1.1rem;
    font-weight: 300;
    line-height: 20px;
}

.o-previousWinners {
    padding: 0.5rem 0 3rem;
    background: var(--cwhite);
}

.o-carousel {
    position: relative;
    width: 100%;
    /*	height: 18rem;  zobrazenie mensich thumbnailov na mobile*/
    overflow: hidden;
}

.a-carouselControl {
    position: absolute;
    top: 50%;
    left: 2rem;
    width: 2.5rem;
    height: 2.5rem;
    font-size: 8rem;
    color: var(--cPurple);
    text-decoration: none;
    z-index: 2;
    transition: color 0.2s;
    border: 0.5rem solid var(--cPurple);
    border-right: none;
    border-bottom: none;
    transform: rotate(-55deg) skewX(-20deg) translateY(-50%);
    transition: border-color 0.2s;
    user-select: none;
}

.a-carouselControl:focus-visible {
    outline: none;
}

.a-carouselControl:hover {
    color: var(--cPurple-light);
}

.a-carouselControl.--right {
    left: auto;
    right: 2rem;
    border: 0.5rem solid var(--cPurple);
    border-left: none;
    border-bottom: none;
    transform: rotate(55deg) skewX(20deg) translateY(-50%);
}

.a-carouselControl:hover {
    border-color: var(--cPurple-light);
}

.o-carousel:before,
.o-carousel:after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 5rem;
    height: 100%;
    background: var(--cGrayGradient);
    z-index: 1;
    transition: width 1s;
    pointer-events: none;
}

.o-carousel:after {
    left: auto;
    right: 0;
    transform: rotate(180deg);
}

.--noLeftGradient.o-carousel:before,
.--noRightGradient.o-carousel:after {
    width: 0;
}

.m-carouselContent {
    position: relative;
    display: flex;
    width: 300vw;
    height: 100%;
    align-content: flex-start;
    transition: margin-left 1s;
}

.m-carouselItem {
    align-content: center;
    position: relative;
    height: 100%;
    padding: 0 0.5rem;
    box-sizing: border-box;
}

.m-carouselItem:first-child {
    padding-left: 0;
}

.m-carouselItem:last-child {
    padding-right: 0;
}

.a-carouselImage {
    max-height: 288px;
    max-width: 70vw;
}

.a-carouselVideo {
    height: 100%;
}

.a-carouselPlayButton {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 3rem;
    height: 3rem;
    border: 0.5rem solid var(--cPurple);
    border-radius: 50%;
    opacity: 0.6;
    transition: opacity 0.4s;
    cursor: pointer;
    z-index: 1;
}

.a-carouselPlayButton:before {
    position: absolute;
    content: "";
    top: 50%;
    left: 50%;
    transform: translate(-0.5rem, -50%);
    border: 1rem solid var(--cTransparent);
    border-left-width: 1.5rem;
    border-left-color: var(--cPurple);
    transition: all 0.2s;
}

.a-carouselPlayButton:hover,
.a-carouselPlayButton:focus {
    opacity: 1 !important;
}

.a-carouselVideo.--playing ~ .a-carouselPlayButton:before {
    transform: translate(-50%, -50%);
    border: 0.5rem solid var(--cWhite);
    border-top: none;
    border-bottom: none;
    width: 0.2rem;
    height: 1.6rem;
}

.a-carouselVideo.--playing ~ .a-carouselPlayButton {
    opacity: 0;
}

.a-carouselVideo:hover.--playing ~ .a-carouselPlayButton {
    opacity: 0.4;
}

.--hidden {
    display: none;
}


.o-timelineRules {
    padding: 0 0 4rem 0;
    display: flex;
    flex-flow: row;
    flex-wrap: wrap;
    justify-content: space-between;
    background: var(--cWhite);
}

.m-timelineRecord {
    padding: 0 0 1rem 1rem;
    border-left: 2px solid var(--cPurple);
}

.m-timelineRecord:last-child {
    border-left-color: var(--cTransparent);
}

.a-header {
    margin: 3rem auto 2rem;
    font-size: 1.5rem;
    font-weight: bold;
    text-align: left;
    color: var(--cPurple);
}

.a-subheader {
    font-size: 1.2rem;
    font-weight: 300;
    font-style: italic;
    text-align: left;
    color: var(--cPurple);
}

.a-subheader.about {
    font-style: normal;
    font-weight: 500;
    margin-bottom: .5rem;
}

.--text-left {
    text-align: left;
}

.o-history {
    position: relative;
    display: flex;
    margin: 2rem 0;
    align-items: column;
    max-height: 33vh;
    transition: max-height 0.4s;
    overflow: hidden;
}

.o-history:after {
    position: absolute;
    content: "";
    bottom: 0;
    left: 0;
    width: 100%;
    height: 33%;
    background: var(--cWhiteGradient);
    z-index: 2;
    transition: height 0.4s;
}

.--opened.o-history:after {
    height: 0;
}

/*.m-historyContentLeft {*/
/*    width: 50%;*/
/*    margin-right: 0.5rem;*/
/*}*/

.m-historyContentLeft {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 columns */
    gap: 1rem; /* Space between images */
    margin-bottom: 2rem; /* Space below the grid */
}

.m-historyContentRight {
    width: 50%;
    margin-left: 0.5rem;
}

.m-historyContentRight .a-header {
    margin-top: 0;
}

.m-historyImageLink {
    position: relative;
    height: auto;
    display: block;
    margin-bottom: 0.8rem;
    overflow: hidden;
    text-decoration: none;
}

.m-historyImageLink:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.3;
    background: linear-gradient(var(--cBlack), var(--cPurple));
    transition: opacity 0.6s;
    z-index: 1;
}

.a-historyImageLinkText {
    color: var(--cWhite);
    display: inline-block;
    font-size: 1.8rem;
    left: 50%;
    width: 80%;
    position: absolute;
    text-align: center;
    text-shadow: 0 0 0.1rem var(--cBlack);
    transition: opacity 0.2s, transform 0.4s;
    top: 50%;
    transform: translate(-50%, -50%) scale(1.05);
    word-break: break-word;
    opacity: 1;
    z-index: 2;
}

.m-historyImageLink:hover .a-historyImageLinkText {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.05);
    z-index: 2;
}

.a-historyImage {
    position: relative;
    top: 0;
    width: 100%;
    margin: 0;
    /* transform: scale(1.5); */
}

.m-historyToggleMore {
    width: 20rem;
    margin: 3rem auto;
    background: var(--cTransparent);
    border: 1px solid var(--cPurple);
    color: var(--cPurple);
    transition: border-color 0.2s, color 0.2s;
}

.m-historyToggleMore:hover {
    border-color: var(--cPurple);
    color: var(--cPurple);
    background: var(--cPurple-light);
}

.m-historyToggleMore .a-faqBox__icon {
    position: relative;
    right: 0;
    float: none;
    display: inline-block;
    background: var(--cTransparent);
    left: -1.5rem;
}

.m-historyToggleMore:hover .a-faqBox__icon:before {
    border-color: var(--cPurple);
}

.--opened {
    max-height: 1000vh;
}

.a-timelineRecordHeader {
    position: relative;
    font-size: 1.2rem;
    color: var(--cPurple);
    margin: 0;
}

.a-timelineRecordHeader:before {
    content: "";
    position: absolute;
    top: 0;
    left: -1.9rem;
    width: 1.6rem;
    height: 1.6rem;
    background: var(--cPurple);
    border-radius: 50%;
}

.o-faqBox {
    width: 100%;
    box-sizing: border-box;
    margin-bottom: 1.5rem;
}

.a-faqBox__header {
    padding: 2rem 0 1rem 0;
    color: var(--cPurple);
    font-weight: bold;
    text-align: center;
}

.m-faqBox__header {
    display: block;
    background: var(--cPurple);
    border-radius: 1rem;
    padding: 0rem 1rem;
    min-height: 2rem;
    line-height: 2rem;
    position: relative;
    z-index: 2;
}

.a-faqBox__title {
    margin: 0;
    padding: 0.7rem 0.5rem;
    color: var(--cWhite);
    display: inline-block;
    pointer-events: none;
    line-height: 1rem;
    max-width: calc(100% - 3rem);
}

.a-faqBox__icon {
    position: absolute;
    /* display: inline-block; */
    float: right;
    vertical-align: top;
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 50%;
    background: var(--cWhite);
    transition: transform 0.2s;
    pointer-events: none;
    top: calc(50% - 0.75rem);
    right: 1rem;
}

.a-faqBox__icon:before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0.5rem;
    height: 0.5rem;
    transform: translate(-50%, -60%) rotate(45deg);
    border-right: 0.15rem solid var(--cPurple);
    border-bottom: 0.15rem solid var(--cPurple);

}

.m-faqBox__content {
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.2s, padding 0.2s;

    border: 0.2rem solid var(--cPurple);
    border-top: none;
    background: var(--cWhite);
    position: relative;
    padding: 0 2rem 0;
    margin-top: -1rem;
    width: 100%;
    box-sizing: border-box;
    border-radius: 0 0 1rem 1rem;
}

.m-faqBox__header.--active .a-faqBox__icon,
.m-historyToggleMore.--active .a-faqBox__icon {
    transform: rotate(180deg);
}

.m-faqBox__header.--active ~ .m-faqBox__content {
    max-height: 100vh;

    padding: 2rem;

}

.o-footer__topBox {
    min-height: 5rem;
    line-height: 5rem;
    background-color: var(--cPurple);
    border-top: 0.2rem solid var(--cPurple);
    border-bottom: 0.2rem solid var(--cPurple);
}

.m-footer__link {
    display: inline-block;
    vertical-align: middle;
    text-decoration: none;
    color: var(--cPurple);
    transition: transform 0.2s;
}

.m-footer__link.--social:hover,
.m-footer__link.--social:focus {
    transform: rotate(12deg) scale(1.1);
}

.a-footer__logo {
    vertical-align: middle;
    height: 2rem;
}

.a-footer__logo.--larger {
    height: 2.7rem;
}

.m-socialBox {
    float: right;
}

.o-footer__bottomBox {
    display: flex;
    padding: 2rem 0 2rem;
    background: var(--cWhite);
}

.m-bottomBox {
    display: flex;
    flex-flow: row;
}

.m-bottomBox__left {
    width: calc(33% - 1rem);
    margin-right: 1rem;
    text-align: center;
}

.m-bottomBox__right {
    width: 66%;
    display: flex;
    justify-items: space-between;
}

.m-bottomBox__right .m-bottomBox__section:first-child {
    text-align: center;
}

.m-bottomBox__right .m-bottomBox__section:last-child {
    text-align: right;
}

.m-bottomBox__section {
    width: 50%;
}

.a-bottomBox__text {
    margin: 0 0 0.5rem 0;
}

.a-bottomBox__link {
    color: var(--cGray1);
    text-decoration: underline;
    display: block;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

/*
	FORM
*/

.voteform {
    display: flex;
    flex-flow: column;
    margin-top: 0.5rem;
}

.m-formInputs {
    margin: 2rem 0;
}

.a-formInput {
    border: 2px solid var(--cPurple);
    border-radius: 0.3rem;
    padding: 0.8rem 1rem;
    color: var(--cPurple);
    display: inline-block;
    width: 7rem;
    box-sizing: border-box;
}

.a-formInput:focus {
    color: var(--cPurple);
    border-color: var(--cBlack);
    outline: none;
}

.a-formInput::placeholder {
    color: var(--cPurple);
}

.a-formInput--error {
    color: var(--cRed1);
    border: 2px solid var(--cRed1);
}

.a-formInput--error::placeholder {
    color: var(--cRed1);
}

.a-formInput.--firstname, .a-formInput.--lastname {
    width: 48%;
}

.a-formInput.--firstname {
    margin-right: 2%;
}

.a-formInput.--lastname {
    margin-left: 0;
}

.a-formInput.--phone, .a-formInput.--email {
    margin-top: 1.2rem;
}

.a-formInput.--phone {
    width: 36%;
    margin-right: 2%;
}

.a-formInput.--email {
    width: 60%;
    margin-left: 0;
}

.a-formCheckbox {
    display: inline-block;
    vertical-align: top;
    opacity: 0;
}

.m-formLabel {
    display: block;
}

.m-formLabel.--newsletter {
    margin-top: 1rem;
}

.m-formLabel.--newsletter .a-labelText {
    font-size: 0.8rem;
}

.a-labelText {
    display: inline-block;
    width: calc(100% - 2.5rem);
    position: relative;
    margin-left: 0.5rem;
    font-size: 13px;
    text-align: justify;
}

.a-labelText:before {
    content: "";
    width: 1.2rem;
    height: 1.2rem;
    background: var(--cWhite);
    position: absolute;
    left: -2rem;
    top: 0rem;
    border-radius: 0.2rem;
    border: 2px solid var(--cPurple);
    transition: background 0.2s;
}

.a-labelText:after {
    content: "";
    border: 3px solid var(--cWhite);
    border-left-width: 0;
    border-top-width: 0;
    height: 0.8rem;
    width: 0.3rem;
    transform: scale(0) rotate(0deg);
    position: absolute;
    top: 0.2rem;
    left: -1.5rem;
    transition: all 0.2s;
}

.a-formCheckbox:focus ~ .a-labelText:before {
    border-color: var(--cBlack);
}

.a-formCheckbox:checked ~ .a-labelText:before {
    background: var(--cPurple);
}

.a-formCheckbox:checked ~ .a-labelText:after {
    transform: scale(1) rotate(36deg);
}

.a-modalPersonName {
    color: var(--cPurple);
    font-weight: bold;
}

.m-formControl {
    align-self: flex-end;
    width: 100%;
}

.a-formButton {
    position: relative;
    display: inline-block;
    margin: 2rem auto 0;
    padding: 1rem 0;
    background: var(--cPurple);
    color: var(--cWhite);
    border: 1px solid var(--cPurple);
    border-radius: 0.4rem;
    font-size: 1.4rem;
    text-transform: uppercase;
    font-weight: normal;
    cursor: pointer;
    overflow: hidden;
    text-decoration: none;
    transition: background 0.2s;
}

.a-formButton:hover {
    background: var(--cPurple);
    border-color: var(--cPurple);
}

.a-formButton.--allowed {
    background: var(--cPurple);
    cursor: pointer;
}

.a-formButton.--next {
    padding: 1rem 2rem;
    position: relative;
    left: 50%;
    transform: translateX(calc(-50% - 3.5rem));
}

.a-formButton.--prev {
    background: transparent;
    color: var(--cPurple);
    width: 3.5rem;
    border: 1px solid var(--cPurple);
    cursor: pointer;
}

.a-formButton.--hidden {
    visibility: hidden;
}

.a-formButton.--prev:before {
    content: "";
    position: absolute;
    transform: rotate(45deg) skew(12deg, 12deg);
    width: 0.8rem;
    height: 0.8rem;
    border: 3px solid var(--cPurple);
    border-top-width: 0;
    border-right-width: 0;
    top: calc(50% - 0.4rem);
}

.a-formButton.--prev:hover {
    border: 1px solid var(--cPurple);
}

.a-formButton.--prev:hover:before {
    border-color: var(--cPurple);
}

.a-formInput.--smsCode {
    width: 100%;
    text-align: center;
}

.a-formThanks {
    font-size: 2.8rem;
    font-weight: normal;
    color: var(--cPurple);
    text-align: center;
    margin: 5rem 0 1rem;
}

@media (hover: hover) {
    .m-historyImageLink:before {
        opacity: 0;
        transition: opacity 0.6s;
    }

    .m-historyImageLink:hover:before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        opacity: 0.3;
        background: linear-gradient(var(--cBlack), var(--cPurple));
    }

    .a-historyImageLinkText {
        opacity: 0;
        transform: translate(-50%, -50%) scale(1);
    }

    .m-historyImageLink:hover .a-historyImageLinkText {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.1);
    }
}

@media screen and (min-width: 1600px) {
    .o-infoBoxes__list,
    .m-wrapper {
        width: 80%;
    }
}

@media screen and (max-width: 1400px) {
  .o-about {
      background-position-y: center;
    }
}

@media screen and (max-width: 1200px) {
    .o-navigator .m-wrapper {
        width: 80%;
    }
    .o-about {
        max-height: fit-content;
      }
    .banner-img {
        position: absolute;
    }
   
}

@media screen and (max-width: 1024px) {
    .o-contactBox {
        flex-flow: column;
    }

    .m-contactBox__left {
        text-align: center;
        margin-right: 0;
        margin-bottom: 1rem;
    }

    .a-contactBox__phone {
        font-size: 1.5rem;
    }

}

@media (max-width: 1000px) {
    .flex-candidates {
        /*display: inline;*/
        display: block;
    }
}

@media screen and (max-width: 960px) {
    .o-navigator .m-wrapper {
        width: 100%;
    }
    .a-navigator__link.-right {
        display: none;
    }


    .a-navigator__link.-right {
        margin: 0 1rem 0 0;
        margin-left: auto;
    }

    .m-aboutWrapper {
        width: 100%;
    }

    .a-contactBox__phone {
        font-size: 1.6rem;
    }

    .m-bottomBox__left,
    .m-bottomBox__right {
        width: 50%;
    }

    .m-bottomBox__right .m-bottomBox__section:first-child,
    .m-bottomBox__right .m-bottomBox__section:last-child {
        text-align: right;
    }

    .m-bottomBox__section {
        width: 100%;
        margin-bottom: 1rem;
    }

    .m-bottomBox__right {
        flex-flow: column;
    }
}

@media screen and (max-width: 800px) {
    .a-navigator__link {
        font-size: 0.9rem;
    }

    .o-voteblock .m-wrapper {
        width: 90%;
    }

    .a-navigator__logo {
        height: 40%;
    }

    .a-faqBox__left,
    .a-faqBox__right {
        width: 100%;
        float: none;
        margin: 0;
    }

    .o-infoBoxes__list {
        flex-flow: wrap;
        justify-content: space-evenly;
    }

    .m-infoBoxes__box {
        margin: 0.5rem 0;
    }

    .a-timelineRules__left,
    .a-timelineRules__right {
        float: none;
        width: 100%;
    }
}

@media screen and (max-width: 720px) {
    .m-infoBoxes__box {
        width: 11rem;
    }

    .m-historyContentLeft {
        /*display: none;*/
        grid-template-columns: 1fr;
    }

    .m-historyContentRight {
        width: 100%;
    }

    .o-modal.--narrow .m-modalWindow {
        width: clamp(0vw, 90vw, 90vw);
    }

    .banner-img {
        min-width: 32rem;
        min-height: 32rem;
        max-width: 32rem;
        max-height: 32rem;
    }

}

@media screen and (max-width: 640px) {
    .m-wrapper {
        width: 90%;
    }

    .m-heroBanner__content {
        left: 0;
    }

    .o-infoBoxes__list {
        width: 90%;
    }

    .o-navigator {
        overflow: hidden;
        max-height: 4rem;
    }

    .a-navigator__logo.-desktop {
        display: none;
    }

    .a-navigator__logo.-mobile {
        position: absolute;
        display: block;
        height: 35px;
    }

    .a-navigator__link.-burger {
        display: block;
    }

    .a-navigator__link {
        display: block;
        width: 100%;
        height: 4rem;
        line-height: 4rem;
        margin: 0 0 0 1rem;
    }

    .a-navigator__link.-link:after {
        display: none;
    }

    .a-navigator__link.-right {
        margin: 0 0 0 0.5rem;
        float: none;
        position: absolute;
        width: 35px;
        height: 35px;
        top: 15px;
        right: 15px;
    }

    .m-bottomBox {
        flex-flow: column;
    }

    .m-bottomBox__left,
    .m-bottomBox__right {
        margin: 0 0 1rem 0;
        width: 100%;
    }

    .m-bottomBox__right .m-bottomBox__section:first-child,
    .m-bottomBox__right .m-bottomBox__section:last-child {
        text-align: center;
    }

    .m-bottomBox__left {
        text-align: center;
    }

    .m-bottomBox__section {
        text-align: center;
    }

    .a-searchBox__input {
        width: 18rem;
        font-size: 1.5rem;
    }
    .a-heroBanner__year{
        font-size: 5rem;
        
    }
    .a-heroBanner__header{
        font-size: 2rem;
    }

    .banner-subtext{
        width: 100%;
        text-align: left;
        font-size: 1rem;
    }

    .o-previousWinners{
        margin-top: 5rem;
    }
}

@media screen and (max-width: 520px) {


    .o-about {
        background-position-x: left;
    }

    .o-contactBox {
        padding: 3rem 2rem;
    }

    .a-contactBox__phone {
        font-size: 1.2rem;
        margin-left: -10rem;
        margin-right: -10rem;
    }

    .a-searchBox__input {
        width: 15rem;
        font-size: 1.3rem;
    }

    /* .m-heroBanner__content {
        width: 100%;
    } */
    .o-footer__topBox {
        text-align: center;
    }

    .m-socialBox {
        float: none;
    }

    .m-category {
        width: 98%;

    }

    .m-categoryCandidates {
        flex-flow: column;
    }

    .m-categoryCandidate {
        width: 100%;
    }

    .m-candidateContent {
        font-size: 1.2rem;
    }

    .a-candidateName {
        font-size: 1.8rem;
    }

    .a-candidatePosition {
        font-size: 1rem;
        margin-bottom: 1rem;
    }

    /*.a-candidateImage {*/
    /*	width: 80%;*/
    /*}*/
    .a-formInput,
    .a-formInput.--firstname,
    .a-formInput.--lastname,
    .a-formInput.--phone,
    .a-formInput.--email {
        width: 100%;
        margin: 0 0 0.5rem;
        display: block;
    }

    .a-heroBanner-text img{
        width: 17rem;
        max-width: 100%;
    }

    .banner-subtext {
        font-size: 1.2rem;
        text-align: center !important;
    }

    .a-heroBanner-text {
        text-align: center;
    }

    .countdown {
        font-size: 2.5rem;
    }

    .countdown-text{
        font-size: 2rem;
    }

    .banner-img {
        min-width: 25rem;
        min-height: 25rem;
        max-width: 25rem;
        max-height: 25rem;
        margin-bottom: 0;
    }
}

@media screen and (max-width: 420px) {
    /* .a-heroBanner__header {
        font-size: 1.8rem;
    } */
    .a-searchBox__input {
        width: 12rem;
        font-size: 1rem;
    }

    .a-formButton {
        font-size: 1rem;
    }

    .a-heroBanner-text img {
        width: 17rem;
    }

    .banner-img {
        min-width: 20rem;
        min-height: 20rem;
        max-width: 20rem;
        max-height: 20rem;
        margin-bottom: 0;
    }

    .o-heroBanner {
        height: 25rem;
    }
    .m-historyToggleMore {
        width: 100%;
    }
}

@media screen and (max-width: 320px) {
    .banner-img {
        min-width: 15rem;
        min-height: 15rem;
        max-width: 15rem;
        max-height: 15rem;
    }

}
