body {
  background: #171b54;
  font-family: Helvetica, sans-serif;
  padding: 0;
  margin: 0;
}

.TOTALLYNOTAROBOT {
    display: none;
}

.summary {
  background: white;
  padding: 10px 40px;
  margin: 10px;
  border-radius: 10px;
  font-size: 16pt;
}

h1 {
  color: white;
}

a {
  color: wheat;
}

.strikethrough {
	text-decoration: line-through;
}

.underline {
	text-decoration: underline;
}

.hidden {
	display: none;
}

/*
//
//   Language Choices
//
*/

.langSelect {
  border: 1px solid #ccc;
  display: inline-block;
  padding: 0;
  text-align: center;
  float: right;
}

.langSelect a {
  padding: 2px 5px 0 5px;
  float: left;
}

.langSelect a:hover {
  padding: 2px 5px 0 5px;
  float: left;
  background-color: #ccc;
}


.jp {
  background-color: #fff;
  border-right: 1px solid #ccc;
}

.en {
  background-color: #fff;
}

.langSelect img {
  width: 20px;
  margin: 0;
}

/*
//
//    Bits for the side bars on big screens
//
*/

.fauxBody {
  height: 100%;
  width: 100%;
}

#left,
#right {
  position: fixed;
  top: 0;
  height: 100%;
  width: calc(50% - 467px);
  background: rgb(29, 45, 97);
}

#left {
  left: 0;
}

#right {
  right: 0;
}

#left .top {
  height: 50%;
  background: url(img/bg/lenny.png);
  background-position: 31% 31%;
}

#right .top {
  height: 50%;
  background: url(img/bg/jpfan.png);
  background-position: 71% 39%;
}

#left .bottom {
  height: 50%;
  background: url(img/bg/rita.png);
  background-position: 26% 37%;
}

#right .bottom {
  height: 50%;
  background: url(img/bg/real.png);
  background-position: 53% 24%;
  background-size: cover;
}

#left > div,
#right > div {
    opacity: 0.6;
}

/*
//
//    Main over view (design-vote-win-contest.php)
//
//
*/

#top-banner {
  background: url(http://www.cosmodarts.jp/wp-content/themes/cosmo-darts_v2/img/common/pic_footer_logo.png) no-repeat 50px white;
  position: relative;
  display: inline-block;
  padding: 0.5em 0;
  margin: 10px 0 10px -45px;
  color: #171b54;
  width: 100%;
  height: 70px;
  box-shadow: 0 10px 1px rgba(0,0,0,0.3);
  border-top: double 5px goldenrod;
}

#top-banner::after {
    content: '';
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 0 102px 102px;
    border-color: transparent transparent #171b54 transparent;
    position: absolute;
    top: -5px;
    right: -1px;
}

@media only screen and (max-width: 900px) {
  #middle {
    width: 100%;
  }
  #left,
  #right {
      display: none;
  }
  .large {
    display: none;
  }
  .small {
    text-align: center;
	padding-top: 5px;
  }
  .leg {
    margin: 20px;
    text-align: center;
  }
}

@media only screen and (min-width: 900px) {
  #top-banner {
    margin: 10px 0 10px -65px;
  }
  #top-banner::before {
    border-color: transparent #abc transparent transparent;
    border-style: solid;
    border-width: 0 15px 15px 0;
    height: 0;
    position: absolute;
    left: -1px;
    bottom: -15px;
    width: 0;
    content: '';
    display: block;
  }
  #middle {
    margin: 0 calc(50% - 415px);
    background: #171b54;
    max-width: 830px;
    z-index: 2;
  }
  .small {
    display: none;
  }
  .poster {
    height: 600px;
    width: 49%;
    float: left;
    text-align: center;
    padding: 5px;
  }
  .leg {
    margin: 20px 5px 0 50.5%;
    text-align: center;
  }
}

.summary {
  background: white;
  padding: 10px 40px;
  margin: 10px;
  border-radius: 10px;
  font-size: 16pt;
}

.photo {
  width: 100%;
  max-width: 456px;
}

.part {
  background: white;
  padding: 5px 0;
  margin: 0 0 0 100px;
  border-radius: 5px 5px 0 0;
  cursor: pointer;
}

.partNum {
  display: none;
}

.partName::after {
  content: "▼";
}

.details {
  color: white;
  border: 1px solid white;
  padding: 15px 20px;
  border-radius: 0 0 5px 5px;
  margin-bottom: 20px;
}

.date {
  width: 100px;
  color: transparent;
  background: -webkit-linear-gradient(#000429, #171b54, #000429);
  background: -moz-linear-gradient(#000429, #171b54, #000429);
  background: -o-linear-gradient(#000429, #171b54, #000429);
  background: linear-gradient(#000429, #171b54, #000429);
  padding: 5px;
  border: 2px solid #2e2c86;
  border-top: 2px solid rgba(223, 190, 106, 0.8);
  border-radius: 0 0 5px 5px;
  position: relative;
  top: -54px;
  left: -21px;
  float: left;
  font-size: 1px;
  text-align: center;
  margin-bottom: -20px;
}

.date>span {
  display: block;
}

.month {
  background: #2e2c86;
  display: block;
  color: white;
  padding: 2px;
  font-size: 11pt;
}

.day {
  background: white;
  display: block;
  color: black;
  padding: 2px;
  border-radius: 0 0 5px 5px;
  font-size: 11pt;
}

.day>sup {
  font-size: 8pt;
}

.tilde {
  color: white;
  font-weight: bold;
  font-size: 11pt;
}

#leg5>.details>.date>.endDate,
#leg5>.details>.date>.tilde {
  display: none;
}

.year {
  display: none;
}

#leg2,
#leg4 {
  display: none;
}

.close::after {
  content: "▲";
}

.explination {
  text-align: left;
  display: none;
}

.explination>p:first-letter {
  font-size: 150%;
}

.voteChoices {
  list-style-position: inside;
  margin-top: 26px;
  padding: 0;
}

.point {
  text-align: center;
}

.finePrint {
  font-size: 8pt;
}

/*

code for the buttons

*/

.button {
  background: white;
  width: auto;
  margin: 10px 0;
  display: inline-block;
}

.eventLink {
  display: inline-block;
  background: white;
  font-weight: 500;
  font-style: normal;
  letter-spacing: 0.3em;
  color: black;
  border-radius: 0;
  padding: 18px 60px 20px;
  transition: all 0.7s ease-out;
  background: linear-gradient(270deg, rgba(223, 190, 106, 0.8), rgba(146, 111, 52, 0.8), rgba(34, 34, 34, 0), rgba(34, 34, 34, 0));
  background-position: 1% 50%;
  background-size: 300% 300%;
  text-decoration: none;
  border: none;
  border: 1px solid rgba(223, 190, 106, 0.3);
  max-width: 100px;
}

.eventLink:hover {
  color: #fff;
  border: 1px solid rgba(223, 190, 106, 0);
  background-position: 99% 50%;
}

/*

Prizes section

*/

.prizesHR {
  margin: 50px 0 20px 0;
  text-align: center;
}
.banner {
  background: white;
  position: relative;
  display: inline-block;
  padding: 0.5em 0;
  margin: 10px 0 10px -45px;
  color: #171b54;
  width: 100%;
  box-shadow: 0 10px 1px rgba(0,0,0,0.3);
  border-top: double 5px goldenrod;
  font: 600 1.6em Helctiva, sans-serif;
}

.banner::after {
    content: '';
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 0 80px 80px;
    border-color: transparent transparent #171b54 transparent;
    position: absolute;
    top: -5px;
    right: -1px;
}

@media only screen and (min-width: 900px) {
  .banner {
    margin: 10px 0 10px -130px;
  }
  .banner::before {
    border-color: transparent #abc transparent transparent;
    border-style: solid;
    border-width: 0 15px 15px 0;
    height: 0;
    position: absolute;
    left: -1px;
    bottom: -15px;
    width: 0;
    content: '';
    display: block;
  }
}

/*


    Prize details

*/

.win {
  padding: 20px;
}

.prizeDetails {
  display: flex;
  flex-flow: wrap;
  align-items: center;
  border: 1px solid white;
  padding: 20px;
  border-radius: 0 0 10px 10px;
  justify-content: space-evenly;
}

@media only screen and (max-width: 746px) {
  .prizeInfo {
    width: 100%;
  }
  .prizePhoto {
    order: -1;
    text-align: center;
    width: 100%;
  }
  .prizeDEtails {
    flex-direction: column;
  }
}

@media only screen and (min-width: 746px) {
  .prizeInfo,
  .prizePhoto {
    width: 45%;
  }
  .prizeDEtails {
    flex-direction: row;
  }
}

.winTitle {
  background: white;
  padding: 5px 10px;
  margin: 0 0px;
  border-radius: 5px 5px 0 0;
  text-align: center;
}

.getWhat,
.prize {
  color: white;
}

/*
//
//
//    detailed rules
//   design-contest-rules.php
//   design-contest-vote-rules.php
*/
/*

rules details list

*/
li > a {
    color: blue;
}

.official {
  background: white;
  padding: 10px 40px;
  margin: 10px;
  border-radius: 10px;
}

.ruleList {
    text-align: justify;
    counter-reset: item;
    padding: 5px;
    margin: 0 20px;
    font-weight: normal;
}
.ruleList > li {
    display: block;
    list-style-position: inside;
    text-indent: -1.6em;
    padding: 0 1em;
    padding: .5em 1em 0 1em;
}

.ruleList > li:before {
  content: counters(item, ".") " ";
  counter-increment: item;
    font-weight: 600;
}

.noBullet {
    list-style-type: none;
    text-indent: initial;
    text-align: justify;
    margin-right: 20px;
    padding-right: 1em;
    font-weight: normal;
}
.AB {
    list-style-type: upper-alpha;
    text-align: justify;
    margin-right: 20px;
    padding-right: 1em;
    font-weight: normal;
}
.address {
    text-indent: initial;
    padding: 5px;
}
.letters {
    list-style-type: lower-roman;
    list-style-position: inside;
    text-indent: -1em;
    padding: 0 1em 0 1.5em;
}
.dots {
    list-style-type: circle;
}
.outer {
    font-weight:bold;
}
.small {
    font-size: 8pt;
}

/*
//
//
//   Upload section
//   design-contest.php
//   
*/
/*

upload page

*/
.template,
.upload {
  text-align: center;
}

.step {
  background: white;
  padding: 5px;
  margin: 0 20px;
  border-radius: 5px 5px 0 0;
  text-align: center;
}

.dDetails {
  color: white;
  border: 1px solid white;
  padding: 15px 20px;
  border-radius: 0 0 5px 5px;
  margin: 0 20px 20px;
}

.catDets {
  display: flex;
  text-align: justify;
  padding: 0;
}

.category {
  flex: 1;
  padding: 15px 20px;
}

.monocolor {
  border-right: 1px solid white;
  height: 100%;
}

@media only screen and (max-width: 746px) {
  .catDets {
    display: block;
  }
  .monocolor {
    border-bottom: 1px solid white;
  }
}

.monoflight {
    background: url(img/fcolor.png) no-repeat;
    width: 95px;
    height: 150px;
    color: transparent;
}

figure {
    text-align: center;
}

.demo {
    width: 75%;
}

#design {
    text-align: center;
    color: white;
}

label.email {
    text-align: left;
    padding: 10px 0 0 20%;
}

.maillist {
    display: grid;
    width: 50%;
    margin: auto;
    grid-template-columns: 20px 1fr;
    align-items: center;
    justify-content: center;
    text-align: left;
}

.labeler {
    padding: 5px 20px;
}

.uploader {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Upload button styling  */

.js .inputfile {
  width: 0.1px;
  height: 0.1px;
  opacity: 0;
  overflow: hidden;
  position: absolute;
  z-index: -1;
}

.inputfile+label {
  max-width: 80%;
  font-size: 1.25rem;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
  cursor: pointer;
  display: inline-block;
  overflow: hidden;
  padding: 0.625rem 1.25rem;
}

.no-js .inputfile+label {
  display: none;
}

.inputfile:focus+label,
.inputfile.has-focus+label {
  outline: 1px dotted #000;
  outline: -webkit-focus-ring-color auto 5px;
}

.inputfile+label svg {
  width: 1em;
  height: 1em;
  vertical-align: middle;
  fill: currentColor;
  margin-top: -0.25em;
  margin-right: 0.25em;
}

.inputfile-5+label {
  color: #d3394c;
}

.inputfile-5:focus+label,
.inputfile-5.has-focus+label,
.inputfile-5+label:hover {
  color: #722040;
}

.inputfile-5+label figure {
  width: 50px;
  height: 75px;
  display: block;
  position: relative;
  padding: 30px;
  margin: 0 auto 10px;
  border: 1px solid rgba(223, 190, 106, 0.3);
}

.inputfile-5:focus+label figure,
.inputfile-5.has-focus+label figure,
.inputfile-5+label:hover figure {
/*  background: linear-gradient(#171b54, #000429, #171b54);*/
  transition: all 0.7s ease-out;
  background: linear-gradient(270deg, rgba(223, 190, 106, 0.8), rgba(146, 111, 52, 0.8), rgba(34, 34, 34, 0), rgba(34, 34, 34, 0));
  background-position: 99% 50%;
  background-size: 300% 300%;
}

.inputfile-5+label svg {
  width: 100%;
  height: 100%;
  fill: #f1e5e6;
}

#blah {
  display: none;
}

.warning {
    display: none;
	color: red;
}

#share {
    position: relative;
    list-style-type: none;
    border: 5px double goldenrod;
    border-radius: 20px;
    background: white;
    margin: 30px auto;
    padding: 20px;
    width: 70%;
    height: fit-content;
    color: black;
}

#share a {
    color: blue;
}

.closerX {
    position: absolute;
    right: 13px;
    top: 6px;
    cursor: pointer;
    border: 1px solid lightslategray;
    padding: 2px 4px;
    border-radius: 50px;
    font-size: 9pt;
    background: rgb(255,48,25);
    background: -moz-linear-gradient(-45deg, rgba(255,48,25,1) 0%, rgba(207,4,4,1) 100%);
    background: -webkit-linear-gradient(-45deg, rgba(255,48,25,.8) 0%,rgba(207,4,4,.8) 100%);
    background: linear-gradient(135deg, rgba(255,48,25,.8) 0%,rgba(207,4,4,.8) 100%);
}

/*
//
//
//   FAQ
//   design-contest-faq.php
//   
*/
/*

FAQ Section

*/

h5 {
  background: white;
  color: black;
  padding: 5px 10px;
}
/*
//
//
//   Voting
//   design-contest-vote.php
//   
*/
/*

Voting styling


*/
.selection {
    padding: 10px 0 20px 0;
    text-align: center;
}

.design,
.place {
  height: 150px;
  width: 150px;
  background-color: white;
  border: 2px solid black;
  border-radius: 5px;
  text-align: center;
  font: 20pt bold;
  line-height: 150px;
  color: black;
}

.design {
    background: white url(img/catBbg.png) no-repeat;
    background-position-x: center;
}

.place {
  display: inline-block;
  background: transparent;
}

#choices {
  position: relative;
}

.gallery {
  position: relative;
  display: grid;
  grid-template-columns: 150px 150px 150px;
  grid-gap: 1em;
  justify-content: center;
}

#isshoku {
    background: rgba(20,20,20,0.6);
    padding: 1em 0 .5em 0;
    border: 1px solid;
}

#isshoku::before {
    content: "A";
    position: absolute;
    left: 30px;
    top: 30px;
    font-size: 100px;
    color: transparent;
    background: rgba(20,20,20,0.6);
    -webkit-background-clip: text;
    -moz-background-clip: text;
    background-clip: text;
    text-shadow: 0px 3px 3px rgba(120,120,120,0.3);
}

#sanshoku {
  padding: .5em 0 1em 0;
  border: 1px solid white;
}

#sanshoku::before {
    content: "B";
    position: absolute;
    left: 30px;
    top: 110px;
    font-size: 100px;
    color: transparent;
    background: rgba(20,20,20,0.6);
    -webkit-background-clip: text;
    -moz-background-clip: text;
    background-clip: text;
    text-shadow: 0px 3px 3px rgba(120,120,120,0.3);
}

.error {
  display: none;
  position: absolute;
  height: 100%;
  width: 100%;
  background: rgba(0, 0, 0, .5);
  text-align: center;
  font-weight: bold;
  color: red;
  cursor: not-allowed;
}

.error:before {
  content: "";
  display: inline-block;
  height: 100%;
  vertical-align: middle;
}

.error span {
  background: rgba(0, 0, 0, 1);
  padding: 5px;
}

#finish {
  display: none;
  position: absolute;
  height: 100%;
  width: 100%;
  top: 0;
  background: rgba(0, 0, 0, 1);
  text-align: center;
  color: white;
}
/*
#finish:before {
  content: "";
  display: inline-block;
  height: 50%;
  vertical-align: middle;
}
*/
label {
  display: block;
}

.podeum {
    padding-left: 12px;
    margin-bottom: 10px;
    color: black;
}

.pedestal {
  display: inline-block;
  height: 150px;
  width: 160px;
  background-color: white;
  border-radius: 10px 10px 0 0;
  text-align: center;
  font: 20pt bold;
  line-height: 150px;
  margin: 0;
  padding: 0;
}

#p2 {
  position: relative;
  top: 12px;
  height: 125px;
  line-height: 125px;
  box-shadow: inset -6px -4px 7px -2px rgba(168, 168, 168, 0.5), 0px 4px 2px -1px rgba(0, 0, 0, 0.8);
  background: conic-gradient(#d7d7d7, #c3c3c3, #cccccc, #c6c6c6, #d3d3d3, #d8d8d8, #d5d5d5, #d8d8d8, #d3d3d3, #c5c5c5, #c0c0c0, #bfbfbf, #d0d0d0, #d9d9d9, #d1d1d1, #c5c5c5, #c8c8c8, #d7d7d7, #d5d5d5, #cdcdcd, #c4c4c4, #d9d9d9, #cecece, #c5c5c5, #c5c5c5, #cdcdcd, #d8d8d8, #d9d9d9, #d7d7d7) content-box, linear-gradient(#f6d600, #f6d600) padding-box;
}

#p1 {
  position: relative;
  right: 4px;
  box-shadow: 0px 4px 2px -1px rgba(0, 0, 0, 0.8);
  background: conic-gradient(#edc800, #e3b600, #f3cf00, #ffe800, #ffe900, #ffeb00, #ffe000, #ebc500, #e0b100, #f1cc00, #fcdc00, #ffe500, #fad900, #eec200, #e7b900, #f7d300, #ffe800, #ffe300, #f5d100, #e6b900, #e3b600, #f4d000, #ffe400, #ebc600, #e3b600, #f6d500, #ffe900, #ffe90a, #edc800) content-box, linear-gradient(#f6d600, #f6d600) padding-box;
}

#p3 {
  position: relative;
  top: 25px;
  right: 9px;
  height: 100px;
  line-height: 100px;
  -webkit-box-shadow: inset 8px -4px 7px -2px rgba(168, 168, 168, 1);
  -moz-box-shadow: inset 8px -4px 7px -2px rgba(168, 168, 168, 1);
  box-shadow: inset 8px -4px 7px -2px rgba(168, 168, 168, 0.5), 0px 4px 2px -1px rgba(0, 0, 0, 0.8);
  background: conic-gradient(#e6c9bf, #d2b5aa, #cbaea3, #d4b5ab, #e5c3bd, #d9c0b4, #d9bcb1, #c5a399, #e3c6bc, #e7cac0, #dec0b5, #d3b6ab, #cfada1, #d4b6ac, #e2c6c0, #e2c6c0, #d2b1a6, #d2b1a6, #d1b4a9, #e1c4ba, #e5c9be, #dec1b6, #d3b6ab, #ceb0a6, #cfada3, #d2b5aa, #dabdb2, #e5c9be, #e6c9bf) content-box, linear-gradient(#f6d600, #f6d600) padding-box;
}

#second {
  position: relative;
  top: 20px;
}

#first {
  position: relative;
  top: -4px;
  left: 2px;
}

#third {
  position: relative;
  top: 46px;
  left: 4px;
}

.base {
    background: black;
    display: inline-block;
    padding: 3px;
    border: 2px solid white;
    border-radius: 5px;
}

.inks {
    background-color: white;
    color: black;
    display: inline-block;
    padding: 3px 0.4em;
    border: 2px solid black;
    border-radius: 5px;
}

.popbox {
    position: relative;
    list-style-type: none;
    border: 5px double goldenrod;
    border-radius: 20px;
    background: white;
    margin: 30px auto;
    padding: 20px;
    width: 70%;
    height: fit-content;
    color: black;
}

.shares {
    display:inline-block;
}

#share {
    display:none;
}

#share > p {
    text-align: left;
}

#twitter-widget-0,
#twitter-widget-1 {
    vertical-align: text-bottom;
}
.YT {
    position: relative;
    top: 4px;
}
