/*
Theme Name: X—4WI
Author: Aidan Quinlan
Author URL: https://aidanquinlan.net
Version: 2.8

Built using the generously free/open-source BlankSlate theme by TidyThemes (http://tidythemes.com/). :-)
*/

* {
  box-sizing: border-box;
}

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: 10px;
}

::-webkit-scrollbar-track {
  background: transparent;
  background: rgba(99, 41, 0, 0.8);
}

::-webkit-scrollbar-thumb {
  background: #000000;
  border-radius:12px;
}

::-webkit-scrollbar-thumb:hover {
  background: #000000;
}

body {
  background: #ff6600;
  font-family: franklin-gothic-atf, sans-serif;
  font-weight: 400;
  line-height: 1.2rem;
  overflow-y: scroll;
}

a {
  color:black;
  text-decoration: none;
}

p {
  margin-bottom:1rem;
}

p:last-of-type {
  margin-bottom: 0;
}

#wrapper {
  padding:1rem;
}
/* ======================== */



/* HEADER */
/* ======================== */
#header {
  display: flex;
  justify-content: space-between;
  width:100%;
  position: fixed;
  top:0;
  left:0;
  padding:1rem;
  z-index: 999;
  align-items: baseline;
}

#logo-lock {
  display: flex;
  height: 50px;
  justify-content: flex-start;
  align-items: center;
  width:100%;
}

.small-logo {
  max-width: 100px;
  margin-right:2rem;
  width:100%;
}

.c-logo {
  max-width: 42px;
}

.radio-logo {
  max-width: 50px;
}

#main-logo {
  position: absolute;
  left:50%;
  transform:translateX(-50%);
}

.home-btn {
  position: absolute;
  top:0;
  left: 50%;
  height: 85px;
  transform: translateX(-50%);
}

#logo {
  max-width: 200px;
  height:100%;
}

#view-btn-wrap {
  width:100%;
  display: flex;
  justify-content: flex-end;
  align-items: baseline;
  padding-right:7%;
  position: relative;
  bottom: .3rem;
}

.view-btn {
  margin-left:2rem;
  cursor: pointer;
  font-size: .8rem;
  font-weight: 500;
  margin-right:1rem;
}

.btn:hover {
  text-decoration: underline;
}
/* ======================== */



/* VOTE DETAILS PANEL */
/* ======================== */
#vote-details {
  width:100%;
  max-width: 850px;
  display: flex;
  justify-content: center;
  font-size: .7rem;
  line-height: .9rem;
  font-weight: 500;
  margin-bottom: 1rem;
  flex-wrap: wrap;
  position: relative;
}

.details-block {
  display: flex;
  margin-right:3rem;
}

.details-block-2 {
  margin-right:0;
}

.details-header {
  width: 100%;
  text-align: center;
  margin-top: 2rem;
  margin-right: 0;
  display: flex;
  justify-content: center;
}

.details-block:last-of-type {
  margin-right:0;
}

.end-block {
  width: 125px;
}

.details-split:first-of-type {
  padding-right:3rem;
}

.left-split {
  padding-right:1rem;
}

.details-split span {
  font-weight: 300;
}

.details-special {
  position: relative;
  left:3.5rem;
  font-weight: 300;
}

.register-btn {
  max-height:33px;
  animation: blink 2s infinite;
}
/* ======================== */


@keyframes blink {
  0% {opacity:1;}
  55% {opacity:1;}
  60% {opacity:0;}
  80% {opacity:0;}
  85% {opacity:1;}
  100% {opacity:1;}
}


/* HEADER POST */
/* ======================== */
.widget_text {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 700px;
  font-size: 1.2rem;
  font-weight: 300;
  line-height: 1.55rem;
  margin-top: 1rem;
  text-align: justify;
  margin-bottom:1rem;
}

.widget-title {
  text-transform: uppercase;
  font-weight: 400;
  font-size: 1.2rem;
  width:100%;
  text-align: center;
}

.header-post-hide {
  display:none;
}
/* ======================== */



/* POST CONTENT */
/* ======================== */
#container {
  display: flex;
  flex-direction: column;
  width:100%;
  align-items: center;
  margin-top: 6rem;
  margin-bottom: 13rem;
}

.posts-wrap {
  display: flex;
  flex-direction: column;
  max-width: 1500px;
}

.post-edit-link {
  display: none;
}

.type-post {
  margin-top: 2rem;
}

.entry-content {
  margin: .5rem auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.entry-content a {
  text-decoration: underline;
}

.entry-content p {
  width:400px;
  text-align: justify;
  font-weight: 300;
  font-size: 1.05rem;
  line-height: 1.4rem;
}

.type-post header {
  width:400px;
  margin: 0 auto;
}

.tag-wide header {
  width:100%;
}

.tag-wide .entry-content p {
  width:100%;
  max-width:700px;
}

.entry-title {
  text-transform: uppercase;
  font-weight: 400;
  font-size: 1.2rem;
  padding-left:2rem;
  display: block;
  cursor:alias;
}

.entry-title::after {
  text-transform: none;
}

.wp-block-image {
  position: relative;
  margin:0;
  max-width:700px;
  width:100%;
  margin-bottom:1rem;
}

.wp-block-image:last-of-type {
  margin-bottom: 0;
}

.wp-block-image img {
  position: relative;
  max-width:700px;
  height:100%;
  width:100%;
}

.not-found {
  position: fixed;
  top:50%;
  left:50%;
  transform: translate(-50%, -50%);
  text-transform: uppercase;
}

.not-found .entry-content p{
  text-align: center;
}
/* ======================== */



/* GRID */
/* ======================== */
.grid {
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
}

.grid .type-post {
  margin-right:1rem;
  width:330px;
  margin-top: 1rem;
  position: relative;
}

i {
  margin-right:1rem;
  width:330px;
}

.grid .type-post header{
  width:auto;
}

.grid .entry-title {
  padding-left: .5rem;

  overflow-x: auto;
  white-space: nowrap;
  overflow-y: hidden;
  position: relative;
}

.grid h2 {
  position: relative;
}

.grid h2::after {
  content: '';
  position: absolute;
  width:.5rem;
  background: rgba(255,102,0,0);
  background: -moz-linear-gradient(left, rgba(255,102,0,0) 0%, rgba(255,102,0,1) 100%);
  background: -webkit-gradient(left top, right top, color-stop(0%, rgba(255,102,0,0)), color-stop(100%, rgba(255,102,0,1)));
  background: -webkit-linear-gradient(left, rgba(255,102,0,0) 0%, rgba(255,102,0,1) 100%);
  background: -o-linear-gradient(left, rgba(255,102,0,0) 0%, rgba(255,102,0,1) 100%);
  background: -ms-linear-gradient(left, rgba(255,102,0,0) 0%, rgba(255,102,0,1) 100%);
  background: linear-gradient(to right, rgba(255,102,0,0) 0%, rgba(255,102,0,1) 100%);
  height:100%;
  right:0;
  top:0;
}

.grid h2::before {
  content: '';
  position: absolute;
  width:.5rem;
  background: rgba(255,102,0,0);
  background: -moz-linear-gradient(left, rgba(255,102,0,1) 0%, rgba(255,102,0,0) 100%);
  background: -webkit-gradient(left top, right top, color-stop(0%, rgba(255,102,0,1)), color-stop(100%, rgba(255,102,0,0)));
  background: -webkit-linear-gradient(left, rgba(255,102,0,1) 0%, rgba(255,102,0,0) 100%);
  background: -o-linear-gradient(left, rgba(255,102,0,1) 0%, rgba(255,102,0,0) 100%);
  background: -ms-linear-gradient(left, rgba(255,102,0,1) 0%, rgba(255,102,0,0) 100%);
  background: linear-gradient(to right, rgba(255,102,0,1) 0%, rgba(255,102,0,0) 100%);
  height:100%;
  left:0;
  top:0;
  z-index: 1;
}

.grid .entry-title::-webkit-scrollbar {
  height:0;
}

.grid .entry-title::after {
  content:'';
}

.grid .entry-content::-webkit-scrollbar {
  width: 2px;
}

.grid .entry-content {
  max-height: 185px;
  height:185px;
  overflow-y: auto;
  padding:0 .5rem;
  margin-top:.5rem;
  width:330px;
  display: block;
  position: relative;
}

.grid .entry-content p {
  width:auto;
}

.grid .entry-content p:last-of-type {
  margin-bottom: .5rem;
}

.grid .wp-block-image {
  height: 185px;
  width: 330px;
  position: relative;
  overflow: hidden;
  width:100%;
}

.grid .wp-block-image img {
  width: auto;
  position: absolute;
  max-width: 330px;
  height:auto;
  overflow: hidden;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.grid .video-btn {
  margin:0;
}

/* .grid .overflown::before {
  content: '';
  position: absolute;
  width:100%;
  background: rgba(255,102,0,0);
  background: -moz-linear-gradient(top, rgba(255,102,0,1) 0%, rgba(255,255,255,0) 100%);
  background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(255,102,0,1)), color-stop(100%, rgba(255,102,0,0)));
  background: -webkit-linear-gradient(top, rgba(255,102,0,1) 0%, rgba(255,102,0,0) 100%);
  background: -o-linear-gradient(top, rgba(255,102,0,1) 0%, rgba(255,102,0,0) 100%);
  background: -ms-linear-gradient(top, rgba(255,102,0,1) 0%, rgba(255,102,0,0) 100%);
  background: linear-gradient(to bottom, rgba(255,102,0,1) 0%, rgba(255,102,0,0) 100%);
  height:.5rem;
  left:0;
  top:1.7rem;
  z-index: 1;
} */

.grid .overflown::after {
  content: '';
  position: absolute;
  width:100%;
  background: rgba(255,102,0,0);
  background: -moz-linear-gradient(top, rgba(255,102,0,0) 0%, rgba(255,102,0,1) 100%);
  background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(255,102,0,0)), color-stop(100%, rgba(255,102,0,1)));
  background: -webkit-linear-gradient(top, rgba(255,102,0,0) 0%, rgba(255,102,0,1) 100%);
  background: -o-linear-gradient(top, rgba(255,102,0,0) 0%, rgba(255,102,0,1) 100%);
  background: -ms-linear-gradient(top, rgba(255,102,0,0) 0%, rgba(255,102,0,1) 100%);
  background: linear-gradient(to bottom, rgba(255,102,0,0) 0%, rgba(255,102,0,1) 100%);
  height:.5rem;
  left:0;
  bottom:.5rem;
}

/* ======================== */



/* POST PAGE */
/* ======================== */
.post-page .type-post,
.post-page .type-page {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 700px;
  font-size: 1.2rem;
  font-weight: 300;
  line-height: 1.55rem;
  margin-top: 1rem;
  text-align: justify;
  margin-bottom:1rem;
}

.post-page .entry-content {
  width:auto;
}

.post-page header {
  width:100%;
}

.post-page .entry-title {
  text-transform: uppercase;
  width:100%;
  pointer-events: none;
}

.post-page .entry-title::after {
  content:'';
}

.post-page .entry-content p {
  width:auto;
}

.nav-links {
  display:flex;
  text-transform: uppercase;
  justify-content: center;
}

.nav-previous {
  margin-left: 2rem;
  width:100%;
}

.nav-next {
  margin-right: 2rem;
  width:100%;
  text-align: right;
}
/* ======================== */



/* YOUTUBE EMBED */
/* ======================== */
.wp-block-embed-youtube {
  max-width: 330px;
  width:330px;
  display:none;
}

.wp-block-embed__wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
}

.wp-block-embed__wrapper iframe,
.wp-block-embed__wrapper object,
.wp-block-embed__wrapper embed {
  position: absolute;
  top: 50%;
  left: 50%;
  transform:translate(-50%, -50%);
  width: 100%;
  height: 100%;
}
/* ======================== */



/* LIGHTBOX */
/* ======================== */
.video-btn {
  cursor: pointer;
  margin:0 0 .9rem 0;
}

.video-btn::after {
  width:35px;
  height:13px;
  font-size: 1.1rem;
  content:'\25B8';
  padding:.6rem .6rem .7rem .6rem;
  position: absolute;
  background:#000000;
  color:#ff6600;
  display: flex;
  justify-content: center;
  align-items: center;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius:50%;
}

.open-video {
  position: fixed;
  z-index: 99999;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display:block;
  max-width: 80vw;
  width:80vw;
}

.lightbox-fade {
  opacity:0;
  background:rgb(99, 41, 0);
  width:100vw;
  height:100vh;
  position: fixed;
  top:0;
  left:0;
  z-index: 9999;
  transition: opacity .2s;
  pointer-events: none;
}

.lightbox-on {
  opacity:0.8;
  pointer-events: all;
  cursor: pointer;
}
/* ======================== */



/* FORM */
/* ======================== */
.wpcf7 {
  width:100%;
  position: relative;
}


.form-wrap {
  max-width:100%;
  font-size: .9rem;
  /* width:700px; */
  margin-top: 1rem;
}

.form-chunk {
  display: flex;
  width:100%;
  margin-bottom: 1rem;
  position: relative;
}

.form-chunk label {
  width: 12px;
  line-height: 0;
  position: absolute;
  top: 1.2rem;
  left: -17px;
  font-size: 1.1rem;
}

.form-input {
  width:100%;
}

input,
textarea {
  width: 100%;
  border-bottom: 1px solid black;
  border-top: none;
  border-left: none;
  border-right: none;
  padding: .4rem;
  background: transparent;
  font-family: franklin-gothic-atf, sans-serif;
  font-size: 1rem;
}

textarea {
  border: 1px solid black;
  resize: vertical;
  height: 8rem;
}

::-webkit-resizer {
  background: black;
}

input[type=submit] {
  border: 1px solid black;
  cursor: pointer;
  font-family: franklin-gothic-atf, sans-serif;
  /* font-size: .7rem; */
  text-transform: uppercase;
  padding:.6rem;
  max-width: 100px;
}

input[type=submit]:hover {
  background:black;
  color: #ff6600;
}

/* autofill styling override */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover,
textarea:-webkit-autofill:focus,
select:-webkit-autofill,
select:-webkit-autofill:hover,
select:-webkit-autofill:focus {
  /* border: 1px solid black; */
  -webkit-text-fill-color: black;
  -webkit-box-shadow: 0 0 0px 1000px rgba(238, 238, 238, 0) inset;
  transition: background-color 5000s ease-in-out 0s;
}

input::placeholder,
textarea::placeholder {
  color:rgba(0, 0, 0, 0.53);
}

.wpcf7-not-valid-tip {
  color: #fff461;
  color: rgba(0, 0, 0, 0.52);
  font-size: .7rem;
  font-family: franklin-gothic-atf, sans-serif;
  text-transform: uppercase;
  padding-left: .4rem;
}

.wpcf7 form .wpcf7-response-output {
  padding:.5rem;
  margin:0;
  border:none;
  color: #ff6600;
  position: absolute;
  bottom: 0px;
  right: 0px;
  max-width: 570px;
  display: block;
  padding:.6rem;
}

.wpcf7 form.sent .wpcf7-response-output {
  background: #000000;
}

.wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.unaccepted .wpcf7-response-output {
  background: #000000;
}

.ajax-loader {
  opacity: 0;
}

/* hide captcha badge */
.grecaptcha-badge {
  opacity:0;
}
/* ======================== */



/* FOOTER */
/* ======================== */
#footer {
  /* background:rgb(221, 173, 222); */
  display: flex;
  width:100%;
  min-height:100px;
  padding:1.5rem;
  position: fixed;
  bottom:0;
  left:0;
  z-index: 999;
  font-size: .8rem;
  font-weight: 500;
  align-items: baseline;
  justify-content: space-evenly;
  pointer-events: none;
}

.footer-main {
  display: flex;
  align-items: baseline;
  justify-content: space-evenly;
  width:70%;
}

.footer-block {
  margin:0 1rem;
  pointer-events: auto;
}

.spacer {
  width:50px;
}

.footer-flag {
  max-height:70px;
  position: fixed;
  bottom: 130px;
  left: 50%;
  transform: translateX(-50%);
}

.center-footer {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  margin: 0;
}

.social-wrap {
  display: flex;
  justify-content: center;
}

.social-wrap a {
  margin:0 .4rem;
}

.footer-block img {
  width:100%;
  max-height:100px;
  flex-shrink:0;
}

#pencil {
  flex-shrink:0;
  width:100%;
}

#clock {
  max-height:85px;
}
/* ======================== */



.mobile-hide {
  display: none;
}


/* MEDIA QUERIES */
/* ======================== */

@media only screen and (max-width:960px) {
  #wrapper {
    padding:.6rem;
  }

  #header {
    position: relative;
    padding:0;
  }

  #view-btn-wrap {
    display: none;
  }

  #logo-lock {
    justify-content: center;
    margin-top: 5.9rem;
  }

  #container {
    margin-top:1rem;
    margin-bottom: 1rem;
  }

  #vote-details {
    font-size:.6rem;
    width:710px;
    justify-content: space-between;
  }

  .open-video {
    max-width: 99vw;
    width: 95vw;
  }

  #footer {
    position: relative;
    flex-direction: column;
    padding:0;
    margin-bottom: 5rem;
  }

  .footer-main {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
  }

  .footer-block {
    margin-bottom: 1rem;
    text-align: center;
  }

  .center-footer {
    position: static;
    transform:translateX(0);
  }

  .spacer {
    display: none;
  }

  .footer-flag {
    max-height: 80px;
    bottom:.5rem;
  }

  .drawing-wrap {
    display: flex;
    align-items: baseline;
  }

  .mobile-hide {
    display: block;
  }

  .desktop-hide {
    display: none;
  }

  .not-found {
    position: static;
    transform: none;
    margin:5rem 0;
  }

}


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

  #vote-details {
    flex-direction: column;
    font-size: .74rem;
    line-height: 1.1rem;
    max-width: 410px;
    margin-bottom: 0;
    margin-top: .4rem;
  }

  .details-block {
    margin-right:0;
    /* margin-bottom:1rem; */
  }

  .right-split {
    width: 192px;
    position: absolute;
    right: 0;
  }

  .details-header {
    margin: 2rem 0 1rem 0;
  }

  .posts-wrap {
    display: block;
  }

  .entry-content {
    width:100%;
  }

  .type-post header {
    width:100%;
  }

  .entry-content p {
    width:100%;
    font-size: 1.1rem;
    line-height: 1.5rem;
  }

  .grid .type-post {
    margin-right: 0;
    margin-top: 2rem;
  }

  .nav-links {
    font-size: .8rem;
  }

  input[type=submit] {
    max-width: 100%;
  }

  .wpcf7 form .wpcf7-response-output {
    position: relative;
    max-width: 100%;
    margin-top: 1rem;
    text-align: center;
  }

}

@media only screen and (max-width:410px) {
  #vote-details {
    font-size: .65rem;
    line-height: 1rem;
    max-width: 100%;
  }

  .right-split {
    width: 166px;
    position: absolute;
    right: .5rem;
  }
}

@media only screen and (max-width:360px) {
  /* .details-header {
    margin-top: 0;
    margin-bottom:1rem;
  }

  .details-split {
    width:120%;
    text-align: right;
  }

  .left-split {
    padding-right:0;
    width:130%;
  }

  .details-split:first-of-type {
    padding-right: 0;
    text-align: left;
    width:110%;
  } */

  #vote-details {
    width: 100%;
    font-size: 8px;
    line-height: .8rem;
  }

  .right-split {
    width: 128px;
    position: absolute;
    right: .5rem;
  }

  #logo-lock {
    max-width: 260px;
    justify-content: space-between;
    margin: 5.9rem auto 0 auto;
  }

  .small-logo {
    margin-right:1rem;
  }
}
