/*
Theme Name: Amsterdammer van het Jaar
Author: TMRW
Author URI: https://tmrw.nl
Description: Custom theme for Amsterdammer van het Jaar
Version: 2.0
*/
 @font-face {
  font-family: clearfaceReg;
  src: url(https://amsterdammervanhetjaar.nl/wp-content/themes/dba-theme/fonts/clearfaceweb/ClearfaceStd-Regular.otf);
}
 @font-face {
  font-family: clearfaceBold;
  src: url(https://amsterdammervanhetjaar.nl/wp-content/themes/dba-theme/fonts/clearfaceweb/clearfacestd-bold.otf);
}

html {
    height: 100%;
    width: 100%;
}

body {
    padding: 0;
    margin: 0;
    width: 100%;
    font-family: 'Roboto';
    font-size: 15px;
    line-height: calc(20 / 15);
    color: #4f4f4f;
    background: #f1f1f1;
    overflow-x: hidden;
}

* {
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
}

img {
    border: 0;
    outline: 0;
}



/* architecture */

.pagewrap {
    width: 1024px;
    margin: 0 auto;
    background: #fff;
}

.margin-wrapper {
    margin: 0;
}

#top {
    height: 190px;
    position: relative;
    padding: 0 32px;
}

#middle {
    padding-bottom: 50px;
    position: relative;
}

#footer {
    clear: both;
    padding: 0 32px;
}

.menu-footer-container {
    border-top: 1px dotted #000;
    padding-top: 20px;
    height: 80px;
    text-align: center;
}

#menu-footer {
    padding: 0;
}

.single-post #footer {
    display: none;
}



/* cols */

.col {
    margin-right: 20px;
    display: inline-block;
    vertical-align: top;
}

.col:last-of-type {
    margin-right: 0;
}

.col-1 {
    width: calc((100% - 220px) / 12);
}

.col-2 {
    width: calc((100% - 220px) / 6 + 20px);
}

.col-3 {
    width: calc((100% - 220px) / 4 + 40px);
    min-height: 40px;
}

.col-4 {
    width: calc((100% - 220px) / 3 + 60px);
}

.col-6 {
    width: calc((100% - 220px) / 2 + 100px);
}

.col-9 {
    width: calc((100% - 220px) / (12 / 9) + 160px);
}



/* buttons */

.button {
   display: inline-block; 
   text-align: center;
   color: #fff;
   font-size: 1em;
   cursor: pointer;
   height: 32px;
   padding: 8px 16px;
   text-decoration: none;
    border-radius: 80px;
    font-weight: 500;
   /*border-radius: 5px;*/
}

.button-margin {
    margin-bottom: 8px;
}

input.button {
    width: auto!important;
    border: 0!important; 
}

.button:hover {
    opacity: 0.7;
    
}

.button-big {
    height: 55px;
    padding: 18px 32px; 
    font-size: calc(14em / 15);
}

.button-medium {
    height: 45px;
    padding: 12px 48px; 
}

.button-medium.button-wide {
    padding: 12px 64px;
}

.button-big.button-rounded,
.button-medium.button-rounded
{
    border-radius: 80px;
}

.button-white {
    background: #fff;
    color: #4f4f4f;
}

.button-grey {
    /*background: #cecece;*/
    display: inline-block; 
   text-align: center;
   color: #d71635;
   font-size: 1em;
   cursor: pointer;
   height: 32px;
   padding: 8px 16px;
   text-decoration: none;
   /*background: #d71635;*/
   border: solid 2px #d71635;
}
.button-grey:hover {
    background: #d71635;
    color: #ffffff;
    opacity: 1;
}

.button-red {
    background: #d71635;
    /*DELETE DISPLAY FUNTIE OM BUTTON ZICHTBAAR TE MAKEN*/
    /*display: none;*/
    display: inline-block; 
    padding: 9px 24px;
}

.button-green {
    background: #90cb6f;
        /*DELETE DISPLAY FUNTIE OM BUTTON ZICHTBAAR TE MAKEN*/
    /*display: none;*/
    display: inline-block; 
}

.button-blue {
    background: #008ae0;
}











/* typography */

h1 {
    text-align: center;
    font-size: calc(22em / 15);
    font-weight: 400;
    margin: 0 0 40px 0;
}
h1.home {
    text-align: center;
    font-size: calc(22em / 15);
    font-weight: 400;
    margin: 40px 0 40px 0;
    padding: 0 20px 0 20px;
}
a.nominateBtn {
    padding: 18px 0;
    text-decoration: none;
    text-align: center;
    color: #fff;
    display: block;
    font-weight: 400;
    background: #D71635;
    border: 1px solid #D71635;
    white-space: nowrap;
    margin: 0 30% 0 30%;
    border-radius: 5px;
}
a.nominateBtn:hover {
    color: #D71635;
    background: #fff;
    border: 1px solid #D71635;
}

h2 {
    color: #D71635;
    margin-top: 0;
    margin-bottom: 8px;
    font-size: calc(24em / 15);
    line-height: calc(30 / 24);
    font-weight: 500;
}

h3 {
    font-size: calc(13em / 15);
    line-height: calc(30 / 13);
    font-weight: 500;
    margin: 32px 0 0;
    text-transform: uppercase;
}
h1.newfont {
    font-family: clearfaceBold;
    font-size: calc(48em / 15);
    line-height: 64px;
}
h1.newfontSmall {
    font-family: clearfaceBold;
    font-size: calc(24em / 15);
    line-height: 64px;
    margin-top: 20px;
}

.red {
    color: #D71635;
}

.grey {
    color: #A7A7A7;
}
span.year {
    font-size: 1.8em;
    line-height: 86px;
}

/* top */

#branding {
    position: relative;
}

#branding a {
    margin-top: 15px;
    width: 155px;
    display: block;
}

#branding img {
    width: 100%;
    height: auto;
    display: block;
}

#social-media { 
    width: 140px;
    display: inline-block;
    vertical-align: top;
    padding-top: 24px;
}

#social-media a {
    text-decoration: none;
    color: #4f4f4f;
    padding: 8px;
    border: 1px solid #000;
    margin-right: 8px;
    text-align: center;
}

.menu-container {
    padding-top: 74px;
    position: relative;
    z-index: 100;
}

.menu-main-container ul {
    margin: 0;
    padding: 0;
}

.menu-main-container ul li {
    list-style: none;
    display: inline-block;
    position: relative;
    margin-top: 10px;
    float: left;
}


.menu-main-container ul li a {
    text-decoration: none;
    color: #4f4f4f;;
    display: block;
    font-weight: 700;
    font-size: 1em;
    line-height: calc(19 / 15);
    padding: 8px 0;
}

.menu-main-container ul li:last-child {
    margin-top: 0px;
    /*MARGIN TOP WAS 0px*/
    margin-right: -33px !important;
    padding-right: 0;
    width: calc((100% - 40px) / 3);
    float: right;
    text-align: center;
    /*animation: jackInTheBox;*/
    animation: tada; 
    animation-duration: 900ms; 
    animation-delay: 2s;

}
/* ----------------- COMMENTED OUT LAST CHILD STEM BUTTON ------------------ */
.menu-main-container ul li:last-child a {
    padding: 18px 0;
    text-decoration: none;
    color: #fff;
    display: block;
    font-weight: 400;
    background: #D71635;
    white-space: nowrap;
}

.menu-main-container ul li a:hover, 
.menu-main-container ul li.current_page_item a, 
.menu-main-container ul li.current-menu-parent a, 
.menu-main-container ul li.current-menu-item a 
{
     color: #D71635;
}
/* ----------------- COMMENTED OUT LAST CHILD STEM BUTTON ------------------ */
.menu-main-container ul li.current-menu-item:last-child a {
    background: #C4C4C4;
    color: #fff;
}
/* -------------------- COMMENTED OUT LAST CHILD STEM BUTTON -----------------   */

.menu-main-container ul li:last-child a:hover {
    color: #fff;
    background: #DE435C;
}


/* footer menu */

ul#menu-footer li {
    display: inline-block;
    border-right: 1px solid rgb(79, 79, 79);
}

ul#menu-footer li:last-child {
    border-right: 0;
}

ul#menu-footer li a {
    text-decoration: none;
    text-transform: uppercase;
    font-size: calc(14em / 15);
    color: rgb(79, 79, 79);
    padding: 2px 14px;
}

ul#menu-footer li:hover a {
    color: #D71635;
}




/* hamburger */

#hamburger {
    position: absolute;
    right: 0;
    top: calc(50% - 16px);
    z-index: 100;
    display: none;
    width: 32px;
    height: 36px;
    padding: 5px 0;
    cursor: pointer;
}

#hamburger:hover .burger {
    background: red;
}

.hb-close {
    display: none;
}

#hamburger img {
    width: 36px;
    height: auto;
}

.hamburger-open .hb-open {
    display: none;
}

.hamburger-open .hb-close {
    display: block;
}


/* image loader */

.wait-for-load {
    opacity: 0;
    transition: all 1s ease;
}

.wait-for-load.loaded {
    opacity: 1;
}



/* frontpage */

.frontpage-slide {
    height: 376px;
}

.frontpage-text, .frontpage-image {
    float: right;
}

.frontpage-text {
    width: 356px;
    height: 100%;
    overflow: hidden;
    text-align: center;
    color: #fff;
    padding: 12px 32px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    font-family: clearfaceBold;
}

.frontpage-slide .frontpage-text {
    
}

.frontpage-image {
    width: calc(100% - 356px);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    height: 100%;
}

.frontpage-slide h2 {
    color: #fff;
    text-transform: none;
    font-size: calc(22em / 15);
    line-height: calc(28 / 22);
    font-weight: 400;
    margin: 0 0 8px 0;
    padding: 0 40px;
}

.frontpage-slide h4 {
    color: #fff;
    text-transform: uppercase;
    font-size: calc(14em / 15);
    line-height: calc(28 / 14);
    font-weight: 400;
    margin-top: 0;
    margin-bottom: 10px;
}

.frontpage-slide .front-page-content {
    font-size: calc(14em / 15);
    line-height: calc(20 / 14);
}

.frontpage-slide .front-page-content p:first-child {
    margin-top: 0;
}

.frontpage-bottom {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    text-align: center;
    padding-bottom: 24px;
}

.frontpage-slide a.frontpage-button {
    padding: 16px 40px 16px 40px;
    background: #fff;
    color: #4f4f4f !important;
    text-decoration: none;
    display: inline-block;
    margin-bottom: 0;
    height: 56px;
}

.frontpage-slide a.read-more {
    display: inline-block;
    text-transform: uppercase;
}

.frontpage-slide a:not(.button) {
    color: #fff;
    padding-bottom: 2px;
    border-bottom: 1px solid #fff;
    text-decoration: none;
    font-family: 'Roboto'
}






/* slider */

.slider {
    width: 100%;
    position: relative;
}

.slider-with-side-buttons {
    padding: 0 32px;
}

.slider-wrapper {
    height: 100%;
    overflow: hidden;
    position: relative
}

.single-slider .slider-wrapper {
    overflow: visible;
}

.slider-container {
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    transition: all 0.5s ease;
}

.slide {
    display: inline-block;
    vertical-align: top;
}

.slider-button {
    position: absolute;
    top: 100px;
    height: 110px;
    width: 26px;
    background: #D71635;
    color: #fff;
    text-align: center;
    padding: 22px 0 0 0;
    z-index: 1000;
    cursor: pointer;
    font-size: calc(42em / 15);
}

.slider-button-big.slider-button {
    height: 220px;
    width: 40px;
    top: calc(50% - 110px);
    padding-top: 70px;
}

.slider-button.slide-next {
    right: 0;
    border-radius: 5px 0 0 5px;
}

.slider-button.slide-prev {
    left: 0;
    border-radius: 0 5px 5px 0;
}

.slider-bottom-buttons {
    width: 100%;
    text-align: center;
    padding-top: 24px;
    height: 68px;
}

.slider-bottom-button {
    display: inline-block;
    width: 12px;
    height: 12px;
    margin-right: 16px;
    border: 2px solid #e3101c;
    /*border-radius: 6px;*/
    background: #fff;
    transform: rotate(45deg);
    cursor: pointer;
}

.slider-bottom-button.current,
.slider-bottom-button:hover 
{
    background: #e3101c;
}




/* cookie-law */

body #cookie-law-info-bar {
    top: 0;
    left: 0;
    width: 100%;
    background: transparent!important;
    font-weight: 300;
    font-size: calc(16em / 15);
    line-height: calc(24 / 16);
    padding: 0!important;
    text-align: left!important;
    border-bottom: 1px solid #4f4f4f!important;
}

body #cookie-law-info-bar.moved {
    position: relative!important;
}

body #cookie-law-info-bar span {
    display: block;
}

.cookie-container {
    padding: 32px;
}

.cookie-left {
    display: inline-block;
    width: 480px;
    color: #D71635;
    vertical-align: top;
    padding-right: 56px;
    font-weight: 500;
}

.cookie-middle {
    display: inline-block;
    vertical-align: top;
    width: calc(100% - 250px);  
    padding-right: 32px;
}

.cookie-right {
    display: inline-block;
    width: 200px;
    vertical-align: top;
    text-align: right;   
}

#cookie_action_close_header {
    width: 100%;
    height: 55px;
    display: block;
    background: #fff!important;
    border: 1px solid #008AE0;
    border-radius: 18px;
    padding-top: 20px;
    text-align: center;
    color: #4f4f4f!important;
    font-weight: 400;
    text-shadow: none;
    box-shadow: none;
}


/* vote */

.grid {
    padding: 0 32px;
}

.nominee-card {
    width: calc(25% - 15px);
    margin: 0 20px 20px 0;
    display: inline-block;
    vertical-align: top;
}

.grid .nominee-card:nth-child(4n) {
    margin-right: 0;
}

.normal-slider .nominee-card {
    margin-bottom: 0;
}

.nominee-image-bg {
    width: 100%;
    height: 210px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    position: relative;
    display: block;
}

a.nominee-image-bg:hover {
    opacity: 0.7;
}

body img.image-cover {
    display: block;
    width: 100%;
    height: 100%;
}

.nominee-image-bg h2 {
    position: absolute;
    left: 12px;
    bottom: 8px;
    color: #fff;
    width: calc(100% - 16px);
    margin: 0;
    z-index: 2;
    font-size: calc(16em / 15);
    line-height: calc(20 / 16);
}

.nominee-label {
    position: absolute;
    left: 12px;
    top: 0;  
    display: inline-block;
    font-size: calc(12em / 15); 
    line-height: calc(14 / 12);
    height: 24px;
    background: #D71635;
    color: #fff;
    padding: 5px 6px;
    text-transform: uppercase;
    display: none;
}

.nominee-card .nominee-body {
    height: 210px;
    padding: 10px 12px 12px;
    position: relative;
    border: 1px solid #D2D2D2;
    border-top: 0;
    font-size: calc(12em / 15);
    line-height: calc(15 / 12);
    background: #fff;
}

.nominee-card .nominee-body a:not(.button) {
    color: #008AE0;
    text-decoration: none;
}

.nominee-occupation {
    font-size: calc(11em / 12);
    line-height: calc(14 / 11);
    text-transform: uppercase;
    margin-bottom: 10px;
}

.nominee-body .read-more {
    position: absolute;
    text-transform: uppercase;
    position: absolute;
    left: 12px;
    bottom: 12px;
}

.nominee-body .vote-button {    
    position: absolute;
    text-transform: uppercase;
    right: 12px;
    bottom: 12px; 
    /*  ------- DEACTIVATED UNTIL VOTE ACTIVE ------  */
    /*display: none;*/
}



/* single slider */

.single-post .pagewrap {
    background: transparent;
}

.single-slider .nominee-card {
    transition: all 0.75s ease;
    transform-origin: center top;
}

.single-slider .nominee-card.active-card {
    opacity: 1
}

.single-slider .nominee-card.neighbour-card {
    opacity: 0.2;
}

.single-slider .nominee-card.inactive-card {
    opacity: 0.1;
}

.single-slider .nominee-card-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
}

.single-slider .nominee-card {
    height: auto;    
}

.single-slider .nominee-label {
    left: 32px;
    font-size: calc(12em / 15);
    line-height: 1;
}

.single-slider .nominee-yt {
    width: 100%;
    height: 268px;
    background: #000;
}

.single-slider .nominee-yt iframe {
    width: 100%;
    height: 100%;
    display: block;
}

.single-slider .nominee-card .nominee-body {
    border: 0;
    padding: 16px 32px 32px;
    height: auto;
    font-size: calc(14em / 15);
    line-height: calc(20 / 14);
}

.single-slider .nominee-occupation {
    margin-bottom: 12px;
}

.single-slider h2 {
    font-size: calc(24em / 15);
    line-height: calc(28 / 24);
    margin: 0 0 12px 0;
}

.single-slider .nominee-social-media {
    margin-top: 40px; 
}

.single-slider .nominee-social-media a {
    margin-left: 16px;
    float: right;
}

.single-slider .nominee-social-media a:last-child {
    margin: 0;
}

.single-slider .vote-button {
    position: relative;
    left: 0;
    top: 0;
    right: auto;
    bottom: auto;
}





/* share button */

.nominee-social-media {
    margin-top: 10px;
}

.nominee-social-media form {
    display: inline-block;
    margin-right: 8px;
}

.share-button {
    text-transform: uppercase;
    display: inline-block;
    margin-right: 4px;    
    width: 55px;
    padding: 11px 0 0 0;
    display: none;
}

.share-button i {
    font-size: calc(32em / 15);
    line-height: 1;
    top: 4px;
    position: relative;
}



/* nominate */

.xxx {
    position: absolute;
    left: calc(50% - 691px);
    top: 110px;
    z-index: 0;
    display: none;
}

.page-id-13 .xxx, 
.page-id-79 .xxx,
.xxx.xxx-show
{
    display: block;
}

.form-wrapper {
    width: calc(50% - 10px);
    text-align: center;
    max-width: 100%;
    margin: 0 auto; 
}

.form-wrapper h1 {
    font-size: calc(14em / 15);
    line-height: calc(30 / 14);
    font-weight: 500;
    margin-bottom: 0;
}

.form-wrapper h2 {
    font-size: calc(24em / 15);
    line-height: calc(30 / 24);
    font-weight: 500;
    text-align: center;
    margin: 0 0 24px 0;
}

.form-panel {
    margin-bottom: 20px;
    font-size: 0;
}

.form-element label {
   font-size: 14px;
   background: #DC1635; 
   color: #fff;
   padding: 20px;
   border-radius: 5px;
   width: auto;
   white-space: nowrap;
   text-align: left;
   position: absolute;
   left: calc(100% + 24px);
   bottom: 6px;
}

.form-element.form-element-textarea label {
    bottom: 24px;
}

.form-element label:after {
    width: 0; 
    height: 0; 
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
    border-right: 20px solid #DC1635;
    content: '';
    z-index: 10;
    position: absolute;
    left: -20px;
    top: calc(50% - 10px);
}

.form-instruction {
    font-weight: 700;
    font-size: 16px;
    line-height: calc(20 / 16);
    color: #D71635;
    text-align: center;
    margin-bottom: 10px;
}

.form-label {
    padding-right: 20px;
    display: inline-block;
    vertical-align: top;
    font-size: 14px;
    padding-top: 4px;
    text-align: center;
    width: 100%;
    margin-bottom: 8px;
}

.form-element {
    margin: 10px 0;
    position: relative;
}

.nominate-form input, 
.nominate-form textarea 
{
    border: 1px solid #008AE0;
    padding: 10px;
    margin-top: 1px;
    margin-bottom: 10px;
    font-size: 14px;
    width: 100%;
}

.nominate-form input[type=text]:hover, 
.nominate-form input[type=text]:focus
{
    border: 2px solid #008AE0;
    margin-top: 0;
    margin-bottom: 9px;
}

.nominate-form textarea:hover, 
.nominate-form textarea:focus
{
    border: 2px solid #008AE0;
}


.nominate-form input {
    display: inline-block;
    vertical-align: top;
}

.nominate-form textarea {
    width: 100%;
    resize: none;
    height: 200px;
}

.nominate-form input[type=file] {
    width: 100%;
}

.form-navigation {
    text-align: center;
    margin: 10px 0 48px 0;
}

.nominate-form input[type=submit] {
    margin-top: 32px;
}

.form-nav-button, .nominate-form input[type=submit]:hover {
    opacity: 0.7;
}




/* popup */

.overlay {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    display: none;
}

.vote-popup {
    background: #fff;
    border: 1px solid #A6A6A6;
}

.popup {
    padding: 64px 16px;
    width: 480px;
    max-width: calc(100% - 64px);
    margin: 40px auto 0 auto;
    border: 1px solid #A6A6A6;
    text-align: center;
}

.popup h3 {
    margin: 0;
    font-size: calc(24em / 15);
    line-height: calc(30 / 24);
    font-weight: 500;
    color: #D71635;  
}

.popup-body {
    margin-top: 48px;
}

.popup-body p:first-child {
    margin-top: 0;
}

.popup-footer {
    text-align: center;
    padding-top: 20px;
}

.vote-popup-footer {
    padding-top: 48px;
}

.vote-popup-footer form {
    display: inline-block;
}

.popup-button {
    color: #757575;
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
}

.popup-button-icon {
    width: 36px;
    height: 36px;
    border-radius: 26px;
    border: 1px solid #D71635;
    padding-top: 6px;
    text-align: center;
    color: #D71635;
    margin-right: 10px;
    display: inline-block;
    font-size: calc(15em / 15);
    font-weight: 300;
}




/* page */

.page {
    position: relative;
    z-index: 1;
}

.regular-page {
    padding: 0 32px;
}

.regular-page p:first-child {
    margin-top: 24px;
}

.page img {
    max-width: 100%;
    display: block;
    height: auto;
}

.regular-page h4 {
    font-size: 1em;
    line-height: calc(20 / 15);
    color: #D71635;
    margin-top: 24px;
    margin-bottom: 16px;
}



/* counter */

#counter {
    width: calc(100% - 64px);
    height: 150px;
    border: 1px solid #d2d2d2;  
    padding: 20px 0;
    text-align: center;
    clear: both;
    margin: 20px 32px 0 32px;
    display: none;
    /* ------------------ DISPLAY NONE DELETE FOR VISIBLE --------------*/
}

.counter-left, .counter-body, .counter-right {
    float: left;
}

.counter-left, .counter-right {
    color: #D71635;
    padding: 36px 20px;
    font-weight: 500;
    width: calc(50% - 230px);
}

.counter-left {
    text-align: right;
}

.counter-right, .counter-body {
    text-align: left;
}

.counter-body {
    width: 460px;
}

#counter .counter-number {
    font-size: 32px;
    font-weight: 100;
}

#counter .counter-name {
    font-size: 12px;
}








@media (max-width: 1024px) {
    
    /* switch overflow. OVerflow was on body so the single slider could span over the pagewrap */
   
    .body {
        overflow: auto;
    }
   
    .slider {
        overflow: hidden;
    }


    .pagewrap {
        width: 100%;
        margin: 0;
    }
    
    .margin-wrapper {
        padding: 0 16px;
    }
    
    #branding, .empty-col {
        margin-right: 0;
    }

    .menu-container {
        padding-right: 0;
    }

    .menu-main-container {
        width: auto;
    }
    
   .grid {
       padding: 0;
   }
   
    #counter {
        margin: 20px 0 0;
        width: 100%;
    }
    
    #footer {
        padding: 0;
    }
    
    
    
    /* page */
    
    .xxx {
        left: -195px;
    }
    


    /* nominees */
     
   .nominee-card {
       width: calc(33% - 13px);
   }
   
   .grid .nominee-card:nth-child(4n) {
       margin-right: 20px;
   }
   
   .grid .nominee-card:nth-child(3n) {
       margin-right: 0;
   }
    
    
    /* form */
  
   .form-element label {
       width: 100%;
       text-align: center;
       margin: 20px auto 0 auto;
       position: relative;
       display: block;
       left: 0;
       bottom: 0;
   }
   
   .form-element.form-element-textarea label {
       bottom: 0;
   }
    
   .form-element label:after {
       border-left: 12px solid transparent;
       border-right: 12px solid transparent;
       border-bottom: 20px solid #DC1635;
       border-top: 0;
       left: calc(50% - 6px);
       top: -20px;
   }
    
   

}

@media (max-width: 768px) {
    
    body {
        font-size: 16px;
    }
    
    .page-id-13 .xxx, 
    .page-id-79 .xxx,
    .xxx.xxx-show
    {
        display: none;
    }


    /* cookie */
   
   .cookie-left, .cookie-right, .cookie-middle {
       width: 100%;
       display: block;
       padding: 0;
    }
    
    #cookie_action_close_header {
        margin: 10px 0 0;
    }    
    
    
   
    /* hamburger */
   
    #top {
        height: auto;
        padding: 0;
    }
    
    #branding {
        width: 100%;
        margin: 0;
        padding: 0 32px;
    }   
   
    #branding a {
        padding: 8px 0 0;
        text-align: center;
        width: calc(50% - 10px);
        margin: 0 auto;
        display: block;
    }
   
    #hamburger {
        display: block;
    }
    
    .menu-container {
        padding: 0;
        width: 100%;
    }
   
   .menu-main-container {
        display: none;
        z-index: 100;
        width: 100%;
       padding: 32px 0;
        border-bottom: 1px solid #4f4f4f;
        
    }
    
    .menu-main-container ul li {
        float: none;
        display: block;
        margin: 0;
        border-top: 1px dotted #4f4f4f;
        padding: 20px 0;
        text-align: center;
    }
    
    .menu-main-container ul li a {
        display: block;
        border-bottom: 0;
        padding: 32px 0;
    }
    
    .menu-main-container ul li a:hover {
        border-bottom: 0;
    }
    
    .menu-main-container ul li:last-child {
        float: none;
        width: 100%;  
        background: none;
        padding: 0 32px!important;  
   }
    
    .menu-main-container ul li:last-child a {
        margin-top: 20px;
        background: #D71635;
    }
    
    
    
    /* nominees */
   
   .nominee-card {
       width: calc(50% - 10px);
   }
   
   .grid .nominee-card:nth-child(3n) {
       margin-right: 20px;
   }
   
   .grid .nominee-card:nth-child(2n) {
       margin-right: 0;
   }
   
   
    /* form */
  
    .form-wrapper {
        width: 100%;
        margin: auto;
    }
  
   
   
    
    
    /* frontpage slider */
   
   .frontpage-slide {
       height: 670px;
   }
   
   .frontpage-text, .frontpage-image {
       float: none;
       width: 100%;
   }
   
   .frontpage-text {
       height: 60%;
   }
   
   .frontpage-image {
       height: 40%;
   }



    /* counter */
   
   #counter {
        height: 440px;       
   }
   
   .counter-left, .counter-right {
       display: block;
       text-align: center;
       width: 100%;
       padding: 30px;
       float: none;
   } 
   
   .counter-body {
       margin: 0 auto;
       float: none;
       height: 230px;
       width: 230px;
   }
   
   
   
   /* regular page */
  
  .regular-page {
      padding: 0;
  }
  
  .regular-page .empty-col {
      display: none;
  }
  
  .regular-page .col {
      width: 100%;
  }

}

@media (max-width: 700px) {
    
    
    .menu-main-container ul li a {
        padding: 24px 0;
    }
    
    /* frontpage slider */
   
    .frontpage-slide {
        height: 600px;
    }
    
    
   
    /* nominees */
    .normal-slider .nominee-card, 
    .grid .nominee-card 
    {
        width: 100%;
    }
   
    .normal-slider .nominee-card, 
    .grid .nominee-card 
    {
        margin-right: 0!important;
    }
    
    
   
    /* slider */
   
    .normal-slider, .single-slider {
        width: calc(100% + 32px);
        margin-left: -16px;
    }
   
    .normal-slider .slider-wrapper {
        overflow: visible;
    }   
  
    .normal-slider .slider-button.slide-next {
        right: 0;
    }
   
    .normal-slider .slider-button.slide-prev {
        left: 0;
    }
    
    .normal-slider .slide {
        opacity: 0.2;
        padding: 0 10px;
    }
    
    .normal-slider .slide.current-card {
        opacity: 1;
        transition: opacity 0.5s ease;
    }
    
    
    
    /* single slider */
     
    .single-slider .nominee-card .nominee-label {
        left: 12px;
    }
    
    .single-slider .nominee-card .nominee-body {
        padding: 10px 12px 12px;
    }
    
    .single-slider .vote-button {
        margin-bottom: 8px;
        width: 100%;
        padding-left: 0;
        padding-right: 0;
    }
    
    .single-slider .nominee-social-media a {
        float: none;
        margin-left: 0;
    }

}

@media (max-width: 400px) {
    
    .menu-main-container ul li a {
        padding: 16px 0;
    }
    
    
    /* frontpage slider */
   
   .frontpage-slide {
       height: 730px;
   }

}

@media (max-width: 320px) {
    
    body {
        font-size: 12px;
    }
    
    
    /* frontpage slider */
   
   .frontpage-slide {
       height: 550px;
   }

}






