* {
  box-sizing: border-box;
  -moz-box-sizing: border-box;
}

:root {
  --text: #000000;
}

html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font-size:100%;font:inherit;vertical-align:baseline}body{line-height:1}button{outline:0}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:before,blockquote:after,q:before,q:after{content:'';content:none}q{display:inline;font-style:italic}q:before{content:'"';font-style:normal}q:after{content:'"';font-style:normal}textarea,input[type="text"],input[type="button"],input[type="submit"],input[type="reset"],input[type="search"],input[type="password"]{-webkit-appearance:none;appearance:none;border-radius:0}table{border-collapse:collapse;border-spacing:0}th,td{padding:2px}big{font-size:120%}small,sup,sub{font-size:80%}sup{vertical-align:super}sub{vertical-align:sub}dd{margin-left:20px}kbd,tt{font-family:courier;font-size:12px}ins{text-decoration:underline}del,strike,s{text-decoration:line-through}dt{font-weight:bold}address,cite,var{font-style:italic}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}
.sticky{}.bypostauthor{}.wp-caption{}.wp-caption-text{}.gallery-caption{}.alignright{}.alignleft{}.aligncenter{}.screen-reader-text{clip:rect(1px, 1px, 1px, 1px);position:absolute !important}

::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: transparent;
  background: rgba(37, 37, 37, 0.6);
}

::-webkit-scrollbar-thumb {
  background: #000000;
}

::-webkit-scrollbar-thumb:hover {
  background: #000000;
}

input,
textarea,
button,
select,
a {
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

html, body {
  overflow-x: hidden;
}

body {
  background: rgb(255, 255, 255);
  font-family: franklin-gothic-atf, sans-serif;
  font-weight: 400;
  line-height: 1.2rem;
}

.no-js body {
  background:#ffffff;
}

.orange-bg {
  background:#ED7044;
}

.green-bg {
  background:#5CC93B;
}

.blue-bg {
  background:#2B63F5;
}

.brown-bg {
  background:#936821;
}

a {
  color:black;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

p {
  margin-bottom:1rem;
  hyphens: auto;
}

img {
  max-height:60vh;
  max-width: 100%;
}

button {
  background:transparent;
  border:0;
  font-family: inherit;
  font-weight: inherit;
  cursor:pointer;
}
/* ======================== */



/* HEADER */
/* ======================== */
header {
  /* background:rgb(164, 208, 218); */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width:100%;
  /* height:100%; */
  position: fixed;
  font-weight: 500;
  top:0;
  left:0;
  padding:1rem;
  z-index: 9999;
  font-size: .9rem;
}

.main-logo {
  left:50%;
  transform:translateX(-50%);
  position: fixed;
  top:3rem;
  transition: top .2s ease-in-out;
}

.main-logo.scrolled {
  top:1rem;
}

.home-btn {
  position: absolute;
  top:4px;
  left: 50%;
  height: 85px;
  transform: translateX(-50%);
}

#logo {
  max-width: 200px;
  height:100%;
}

.registration-wrap {
  display: flex;
}

.registration-wrap div {
  /* display: flex; */
  /* justify-content: center; */
  text-align: center;
  padding:0 2rem;
  position: relative;
  width:200px;
}

.phone-num {
  position: relative;
  font-size: 1.5rem;
  width:100%;
  left:0;
  top:8px;
  /* font-weight:200; */
  font-family: 'courier', monospace;
  font-weight: bolder;
}

.vote-date {
  margin-bottom:120px;
  text-align: center;
  font-size: 1.2rem;
}

.vote-date span {
  font-family: 'arial', sans-serif;
  display: inline-block;
  border-bottom: 1.5px solid black;
  width: 60px;
  position: relative;
  bottom: 4px;
  margin: 0 5px;
}

.qr {
  max-height:3.5rem;
}

.socials {
  position: fixed;
  top: 8px;
  left: 100px;
  font-size: 1.1rem;
  font-weight: 600;
  z-index: 9999;
}

.socials img {
  height:30px;
}

.color-btn {
  border: 0;
  background: transparent;
  width: 90px;
  margin: 0;
  margin-bottom:-4px;
  padding: 0;
  position: fixed;
  cursor: pointer;
  z-index: 9999;
}

.no-js .color-btn {
  cursor:auto;
}

.orange {
  top:0;
  left:0;
}

.green {
  top:0;
  right:0;
}

.blue {
  bottom:0;
  right:0;
}

.brown {
  bottom:0;
  left:0;
}

/* ======================== */



/* MAIN CONTENT */
/* ======================== */
#container {
  display: -webkit-box;
  display: -ms-flexbox;
  display:-webkit-flex;
  display: flex;
  flex-direction: column;
  width: 100%;
  align-items: center;
  /* padding-top: 8rem; */
  /* padding-bottom: 12rem; */
  /* height: 100vh; */
  /* padding-top: 200px; */
}

.block {
  /* margin:1rem 0 .5rem 0; */
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.3rem;
  text-align: justify;
  overflow-y: auto;
  width:100%;
  height:100%;
  min-height:100vh;
  
  /* display:flex; */
  display:none;
  flex-direction: column;
  justify-content: center;
  align-items:center;

  padding-left:20px;
  padding-right:20px;
  padding-bottom:60px;
  padding-top:210px;

  background-size: 120%;
  background-position:center;
  background-attachment: fixed;
}

.block.active {
  display:flex;
}

.block *::selection {
  background: transparent;
}

.block-inner {
  width:100%;
  height:100%;
  
  display:flex;
  flex-direction: column;
  justify-content: center;
  align-items:center;

}

/* .block.wide {
  font-size: 1.1rem;
}

.block.narrow {
  font-size:.9rem;
  line-height: 1rem;
} */

.block.large-image .block-inner {
  width:100%;
}

.block.large-text .block-inner {
  max-width: 800px;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size:1.7rem;
  line-height: 2rem;
  letter-spacing:-0.5px;
  text-align: left;
  font-weight: 400;
  margin-bottom:0;
  /* padding: 0 1rem; */
}

.block.large-text img {
  /* max-width:350px; */
  /* margin-bottom:2rem; */
}

.block.large-text p {
  margin-bottom: .5rem;
  /* text-shadow:
   -1px -1px 0 #ffffff,  
    1px -1px 0 #ffffff,
    -1px 1px 0 #ffffff,
     1px 1px 0 #ffffff; */
}

.block p:last-of-type {
  margin-bottom:0;
}

h1 {
  font-size: 1.1em;
  line-height: 1.2em;
  font-weight: 500;
  text-align: center;
  margin-bottom:.5rem;
}

h2 {
  font-size: .9rem;
  font-weight: 500;
}

.gallery {
  /* display: flex;
  flex-wrap: wrap; */
  /* justify-content: center; */
  /* display: table; */
  line-height: 0;
  max-width:1100px;
  width:100%;
  text-align: center;
}

.gallery img {
  width:33.333333%;
  max-height: 30vh;
}


.overlay-pagination {
  position: fixed;
  justify-content: space-between;
  top:0;
  left:0;
  width:100vw;
  height:100vh;
  display:flex;
  /* opacity:.5; */
}

.overlay-pagination .fw,
.overlay-pagination .bw {
  width:50%;
  height:100%;
  /* background:red; */
  background: transparent;
  border:none;
  /* border-left:1px solid black; */
  cursor:none;
}

.bw.foot-nav {
}

.foot-nav {
  display:inline-block;
  width: 50px;
  /* background:red; */
  text-align: center;
  cursor:pointer;
  font-size:140%;
}

.foot-nav:hover {
  text-decoration: underline;
}

.cursor{
  position: fixed;
  width: 35px;
  height: 35px;
  pointer-events: none;
  z-index: 999;
  background-position: center;
  background-repeat: no-repeat;
  background-size:contain;
}


/* ======================== */



/* FOOTER */
/* ======================== */
footer {
  /* background:rgb(221, 173, 222); */
  display: flex;
  /* flex-wrap:wrap; */
  width:100%;
  padding:1rem 100px;
  position: fixed;
  bottom:0;
  left:0;
  z-index: 999;
  font-size: .85rem;
  font-weight: 500;
  align-items: baseline;
  justify-content: center;
  text-align: center;
}

footer a, footer span {
  padding:0 1rem;
}

.footer-full {
  width:100%;
}

.mobile-foot {
  width: 100%;
  display: none;
  
}

/* ======================== */


.desk-hide {
  display: none;
}


.temp {
  height: 100vh;
  width: 100vw;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 3rem;
  line-height: 3rem;
  text-align: center;
  font-weight: bolder;
}



@media screen and (max-width: 740px) {
  #container {
    padding-bottom:0;
  }

  .color-btn {
    /* display: none; */
    opacity: 0;
    pointer-events: none;
  }

  .registration-wrap {
    flex-wrap:wrap;
    max-width: 350px;
    width: 100%;
  }

  .registration-wrap div {
    width:50%;
    padding:0;
    margin-bottom:1rem;
  }

  .registration-wrap div:nth-of-type(2) {
    order:3;
    width:100%;
    margin-bottom:0;
  }

  .block {
    background-size: 120vh;
    padding-top:250px;
  }

  .block.large-bg {
    background-size: 150vh;
  }

  .large-text, .block.large-image {
    /* padding: 0 1rem; */
  }

  .large-text .block-inner p {
    font-size: 1.1rem;
    line-height: 1.4rem;
  }

  .gallery img {
    width:50%;
    display: none;
  }

  .gallery img:nth-child(1),
  .gallery img:nth-child(2),
  .gallery img:nth-child(3),
  .gallery img:nth-child(4) {
    display: initial;
  }

  footer a, footer span {
    padding: 0.1rem 1rem;
  }

  footer {
    position: relative;
    margin-bottom: 2.2rem;
    line-height: 1.4rem;
    font-size: 1rem;
    font-weight: 500;

    display:none;
  }

  .socials {
    top: auto;
    bottom: .5rem;
    /* left: 50%;
    transform: translateX(-50%); */

    width: 100%;
    left: 0;
    display: flex;
    justify-content: center;
  }

  .mobile-foot {
    display: flex;
    justify-content: space-evenly;
    align-items:baseline;
  }
  
  .foot-nav {
    width: 30%;
  }

  .desk-hide {
    display: inline;
  }

  .mobile-hide {
    display: none;
  }

  .cursor {
    display:none;
  }

}

@media screen and (max-width: 350px), screen and (max-height: 670px) {
  /* SAFARI FLEXBOX IMAGE FIX FOR SMALL DEVICES */
  .block.large-text img {
    max-width: 100%;
  }

  header {
    padding:.5rem;
  }

  .main-logo {
    top:2rem;
  }

  .home-btn {
    height:65px;
  }

  .vote-date {
    font-size:.9rem;
    margin-bottom:85px;
  }

  .registration-wrap {
    font-size: .7rem;
    line-height: .8rem;
  }

  .registration-wrap div {
    margin-bottom:.5rem;
  }

  .block {
    padding-top:170px;
    padding-bottom:35px;
  }

  .socials {
    bottom:5px;
    font-size: .9rem;
  }
  
  .phone-num {
    top:4px;
    font-size: 1.1rem;
  }

  .large-text .block-inner p {
    font-size:1rem;
    line-height:1.2rem;
  }
}
