/*
Theme Name: Benefit Brew 2014
Description: Benefit Brew Theme, built on the 320press bones foundation thingy.
Author: Scott Milligan
*/

/* global */
h1, h2, h3, h4, h5, h6{ font-family: 'proxima-nova', sans-serif; font-weight: 300;}

h1 {
  font-family: 'league-gothic', sans-serif;
  font-size: 64px;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  word-wrap: break-word

  margin: 0;
  margin-bottom: 10px;
  color: #3e7079;
}

h1 span {
  color: #0f8d85;
}

a.btn {
  display: inline-block;
  vertical-align: middle;
  line-height: 1;
  padding: 8px 12px 10px;
  background: #3E7079;
  color: #F1DF99;
}

a.btn:hover{
  background: #0F8D85;
}

.pbox {
  background: url(img/bg-light.png) repeat;
  padding: 20px;
  margin: 0 0 40px;
}

.pbox p:last-child {margin-bottom: 0;}

#content {
  padding-bottom: 60px;
}

#main {
  margin-bottom: 20px;
}

#frontpage-winning-beer {
  float: none;
  width: auto;
}

/* header */

#status {
  height: 156px;
  background: url(img/bg-dark.png) repeat 0 0;
}

#status ul {
  float: right;
  width: 606px;
  height: 156px;
  background: url(img/status-bg.png) no-repeat center center;
  text-align: center;
  margin: 0;
}

#status ul li {
  list-style: none outside none;
  display: inline-block;
  width: 66px;
  text-align: center;
  font-family: 'adelle';
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-size: 12px;
  margin: 20px 12px 0;
  transition: all 0.2s ease-in-out 0s;
  -o-transition: all 0.2s ease-in-out 0s;
  -moz-transition: all 0.2s ease-in-out 0s;
  -webkit-transition: all 0.2s ease-in-out 0s;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  -o-user-select: none;
  user-select: none;
  cursor: default;
}

#status ul li:hover {
  color: #ba3428;
}

#status ul li .icon {
  width: 66px;
  height: 66px;
  background-image: url(img/status_buttons.png);
  background-repeat: no-repeat;
  border-radius: 50%;
  margin-bottom: 8px;
  position: relative;
}

/*
#status ul li .icon:after {
  background-image: url(img/status_buttons.png);
  background-repeat: no-repeat;
  content: '';
  display: block;
  width: 66px;
  height: 66px;
  border-radius: 50%;
  position: absolute;
  left: 0;
  top: 0;
  opacity: 0;
  transition: all 0.2s ease-in-out 0s;
  -o-transition: all 0.2s ease-in-out 0s;
  -moz-transition: all 0.2s ease-in-out 0s;
  -webkit-transition: all 0.2s ease-in-out 0s;
}
*/
#status ul li .icon:after {
  position: absolute;
  content: '';
  display: block;
  width: 58px;
  height: 58px;
  margin: 4px;
  border-radius: 50%;
  left: 0;
  top: 0;
  opacity: 0;
  color: #3E7079;
  background-color: rgba(255,249,237,0.5);
  text-transform: uppercase;
  font-family: 'league-gothic', sans-serif;
  font-weight: 300;
  line-height: 60px;
  font-size: 24px;
  -webkit-font-smoothing: antialiased;
  transition: all 0.2s ease-in-out 0s;
  -o-transition: all 0.2s ease-in-out 0s;
  -moz-transition: all 0.2s ease-in-out 0s;
  -webkit-transition: all 0.2s ease-in-out 0s;
}

#status ul li.current .icon:after {
  width: 58px;
  height: 58px;
  line-height: 60px;
  font-size: 24px;
}


#status ul li:hover .icon:after {
  opacity: 1;
}

#status ul li .icon.nominate{background-position: 0 0;}
#status ul li .icon.vote{background-position: -89px 0;}
#status ul li .icon.win{background-position: -179px 0;}
#status ul li .icon.brew{background-position: -268px 0;}
#status ul li .icon.release{background-position: -357px 0;}

/*
#status ul li .icon.nominate:after{background-position: 0 -82px;}
#status ul li .icon.vote:after{background-position: -89px -82px;}
#status ul li .icon.win:after{background-position: -179px -82px;}
#status ul li .icon.brew:after{background-position: -268px -82px;}
#status ul li .icon.release:after{background-position: -357px -82px;}
*/

#status ul li .icon.nominate:after{ content: 'JAN 7'; }
#status ul li .icon.vote:after{ content: 'JAN 25'; }
#status ul li .icon.win:after{ content: 'FEB 1'; }
#status ul li .icon.brew:after{ content: 'TBD'; }
#status ul li .icon.release:after{ content: 'TBD'; }

#status ul li.current {
  width: 80px;
  font-size: 14px;
}

#status ul li.current .icon {
  width: 80px;
  height: 80px;
  background-image: url(img/status_buttons_current.png);
}

/*
#status ul li.current .icon:after {
  width: 80px;
  height: 80px;
  background-image: url(img/status_buttons_current.png);
}
*/

#status ul li.current .icon:after {
  width: 72px;
  height: 72px;
  line-height: 74px;
  letter-spacing: 0;
}

#status ul li.current .icon.nominate{background-position: 0 0;}
#status ul li.current .icon.vote{background-position: -108px 0;}
#status ul li.current .icon.win{background-position: -217px 0;}
#status ul li.current .icon.brew{background-position: -325px 0;}
#status ul li.current .icon.release{background-position: -432px 0;}

/*
#status ul li.current .icon.nominate:after{background-position: 0 -99px;}
#status ul li.current .icon.vote:after{background-position: -108px -99px;}
#status ul li.current .icon.win:after{background-position: -217px -99px;}
#status ul li.current .icon.brew:after{background-position: -325px -99px;}
#status ul li.current .icon.release:after{background-position: -432px -99px;}
*/

#status ul li.current .icon.nominate:after{content: 'NOMINATE'; }
#status ul li.current .icon.vote:after{ content: 'VOTE NOW'; }
#status ul li.current .icon.win:after{  content: 'ANNOUNCED'; font-size: 20px; }
#status ul li.current .icon.brew:after{ content: 'BREWING'; }
#status ul li.current .icon.release:after{ content: 'RELEASED'; }

#top-menu {
  position: relative;
  top: -10px;
  clear: both;
}

#top-menu:before {
  content: '';
  display: block;
  height: 42px;
  width: 30%;
  position: absolute;
  right: 0;
  background: #838f51;
  z-index: 1;
}

#top-menu .inner {
  background: url(img/menubanner.png) no-repeat -30px 0;
  height: 42px;
}


ul.top-nav {
  margin: 0 10px 0 0;
  float: right;
  position: relative;
  z-index: 2;
}

ul.top-nav li {
  float: left;
  display: block;
  margin: 6px 0;
}

ul.top-nav li a {
  text-transform: uppercase;
  font-size: 18px;
  font-weight: 600;
  text-shadow: 0 1px 1px rgba(0,0,0,0.2);
  color: #f1df99;
  line-height: 18px;
  height: 30px;
  padding: 6px 12px;
  display: inline-block;
  letter-spacing: 0.06em;
  border-radius: 3px;
  -moz-border-radius: 3px;
  -webkit-border-radius: 3px;
  transition: all 0.2s ease-in-out;
  -o-transition: all 0.2s ease-in-out;
  -moz-transition: all 0.2s ease-in-out;
  -webkit-transition: all 0.2s ease-in-out;
}

ul.top-nav li a:hover {
  background: rgba(0,0,0,0.1);
}

#logo {
  position: relative;
  margin-bottom: 120px;
}

#logo a {
  position: absolute;
  bottom: -94px;
  left: 10px;
}

@media screen and (max-width: 978px) {
  #top-menu .inner {background-position: -76px 0;}
}

@media screen and (max-width: 929px) {
  #status ul {
    float: none;
    margin: 0 auto;
  }

  #top-menu .inner {
    background: #838f51;
  }
  #logo {margin-bottom: 200px;}
  #logo a {
    bottom: -178px;
    left: 4%;
  }
}

@media screen and (max-width: 828px) {
  #status, #status ul {height: 140px}
  #status ul li {margin: 12px 12px 0;}
  #top-menu:before {content: none}
  #top-menu .inner {height: auto;}
  ul.top-nav {
    margin: 0 10px;
    float: none;
  }
  ul.top-nav li {margin: 0;}
  ul.top-nav li:first-child {float: left;}
  ul.top-nav li:last-child {float: right;}
  ul.top-nav li a {font-size: 16px;}
  #logo {
    text-align: center;
    margin: 40px auto;
  }
  #logo a {
    position: static;
  }
}

@media screen and (max-width: 606px) {
  #status {display: none;}
  #top-menu {position: static;}
}

@media screen and (max-width: 414px) {
  #top-menu {text-align: center}
  #top-menu li {float: none;}
  #top-menu li:first-child {
    border-bottom: 1px dashed rgba(0,0,0,0.2);
  }
  #logo a {
    margin: 0 20px;
    display: block;
  }
}

/* Charities */

.winner-prov {
  font-family: 'league-gothic', sans-serif;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  word-wrap: break-word margin: 0;
  margin-bottom: 10px;
  color: #0f8d85;
}

.charity-list {
  clear: both;
  opacity: 0;
  transition: all 0.2s ease-in-out 0.1s;
  -o-transition: all 0.2s ease-in-out 0.1s;
  -moz-transition: all 0.2s ease-in-out 0.1s;
  -webkit-transition: all 0.2s ease-in-out 0.1s;
}

.charity-list.loaded {
  opacity: 1;
}

.charity {
  border: 4px dashed #3E7079;
  background: #e8d0ae;
  background: rgba(255,255,255,0.15);
  padding: 24px 24px 100px;
  margin: 0 0 30px;
  position: relative;
}

.charity header h2 {
  margin-top: 0;
  font-weight: 600;
  margin-bottom: 20px;
}

.charity:hover header h2 {
  position: relative;
  z-index: 11;
  color: #F1DF99;
  text-shadow: 0 1px 3px rgba(0,0,0,0.4);
  transition: all 0.2s ease-in-out;
  -o-transition: all 0.2s ease-in-out;
  -moz-transition: all 0.2s ease-in-out;
  -webkit-transition: all 0.2s ease-in-out;
}

.charity .image {
  background: rgba(248,247,228,0.64);
  padding: 4px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.3);
  -o-box-shadow: 0 1px 3px rgba(0,0,0,0.3);
  -moz-box-shadow: 0 1px 3px rgba(0,0,0,0.3);
  -webkit-box-shadow: 0 1px 3px rgba(0,0,0,0.3);
  margin-bottom: 20px;
}

.charity .charity-bio {
  font-weight: 300;
  font-size: 16px;
  line-height: 1.4em;
}

.charity .image img {
  width: 100%;
  vertical-align: middle;
}

.charity footer {
  background: url("img/beer_icon.png") no-repeat scroll 18px 16px #3E7079;
  margin: 0;
  color: #f1df99;
  padding: 14px 28px 14px 60px;
  position: absolute;
  bottom: -4px;
  left: -4px;
  right: -4px;
}

.charity footer h5 {
  font: italic 800 13px 'adelle';
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 0 0 0 0;
}

.charity footer h4 {
  font-size: 28px;
  font-weight: 600;
  margin: 0;
  letter-spacing: 0.02em;
}

.charity input {
  position: absolute;
  opacity: 0;
  left: 0;
  width: 100%;
  top: 0;
  height: 75%;
  z-index: 12;
  cursor: pointer;
}

.charity .overlay {
  position: absolute;
  z-index: 10;
  top: -4px;
  bottom: -4px;
  left: -4px;
  right: -4px;
  opacity: 0;
  transition: opacity 0.2s ease-in-out;
  -o-transition: opacity 0.2s ease-in-out;
  -moz-transition: opacity 0.2s ease-in-out;
  -webkit-transition: opacity 0.2s ease-in-out;
}

.charity:hover .overlay {
  opacity: 1;
}

.charity .overlay .votebtn, .charity .overlay .webbtn {
  transition: background 0.2s ease-in-out;
  -o-transition: background 0.2s ease-in-out;
  -moz-transition: background 0.2s ease-in-out;
  -webkit-transition: background 0.2s ease-in-out;
}

.charity .overlay .votebtn {
  position: absolute;
  width: 100%;
  top: 0;
  left: 0;
  height: 75%;
  background: rgba(61,111,120,0.9);
}

.charity input:hover + .overlay .votebtn {
  background: rgba(61,111,120,1);
}

.charity .overlay .votebtn:hover {
  background: rgba(61,111,120,1);
}

.charity .overlay .webbtn {
  position: absolute;
  width: 100%;
  bottom: 0;
  left: 0;
  height: 25%;
  background: rgba(16,140,132,0.9);
  z-index: 13;
}

.charity .overlay .webbtn:hover {
  background: rgba(16,140,132,1);
}

.charity .overlay span {
  display: block;
  width: 200px;
  text-align: center;
  line-height: 1;
  position: absolute;
  left: 50%;
  margin-left: -100px;
  top: 50%;
  color: #F1DF99;
  text-shadow: 0 1px 3px rgba(0,0,0,0.4);
}

.charity .overlay .votebtn span {
  font-family: 'league-gothic';
  font-size: 90px;
  margin-top: -45px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.charity .overlay .webbtn span {
  font-size: 32px;
  font-weight: 600;
  margin-top: -18px;
  width: 250px;
  margin-left: -125px;
}

/* no web link for touch unfortch */

.touch .charity input, .touch .charity .overlay .votebtn {
  height: 100%;
}

.touch .charity .overlay .webbtn {
  display: none;
}

/* past winners */

.charity.past {
  padding-bottom: 24px;
  border: 0;
}

.charity.past h1 {
  font-family: 'proxima-nova';
  font-size: 36px;
  text-transform: none;
  font-weight: 600;
  letter-spacing: 0;
  margin-bottom: 20px;
}

.charity.past h1 span {
  font-weight: 400;
}

.charity.past .image {}

.charity.past .bio {
  font-size: 18px;
  line-height: 1.3;
  margin-bottom: 24px;
}

.charity.past .bio .visit-website {
  display: inline-block;
  line-height: 1;
  padding: 8px 12px;
  background: #0F8D85;
  color: #F1DF99;
  margin-top: 12px;
  font-family: 'adelle';
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-size: 0.79em;
}

.charity.past .bio .visit-website:hover {
  background: #3E7079;
}

#lower {
  clear: both;
  margin-bottom: 2em;
}

.beerzone {
  clear: both;
  margin: 64px 0 0px;
  padding: 18px 24px 18px 18px;
  border: 2px dashed #3E7079;
}

.beerzone-win {
  clear: both;
  margin: 64px 0 0px;
  padding: 18px 24px 18px 18px;
  border: 2px dashed #3E7079;
}

.beerzone-info {
  margin-left: 120px;
}

.fb-title h3 {
  font: italic 400 16px 'adelle';
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 0 0 14px 0;
}


.fb-title h2 {
  font-size: 26px;
  font-weight: 600;
}

.beer-image {
  float: left;
  margin-right: 20px;
  width: 100px;
  transition: opacity 0.2s ease-in-out;
  -o-transition: opacity 0.2s ease-in-out;
  -moz-transition: opacity 0.2s ease-in-out;
  -webkit-transition: opacity 0.2s ease-in-out;
}

.beer-image:hover {
  opacity: 0.7;
}

.beer-image img {
  background: #eee4ca;
  padding: 4px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.3);
  -o-box-shadow: 0 1px 3px rgba(0,0,0,0.3);
  -moz-box-shadow: 0 1px 3px rgba(0,0,0,0.3);
  -webkit-box-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.tasting-notes {
  margin-bottom: 0;
}

@media screen and (max-width: 540px) {
  .charity {
    padding: 14px 14px 90px;
    border-width: 2px;
  }
  .charity header h2 {
    margin-bottom: 10px;
    font-size: 32px;
  }
  .charity .overlay {
    top: -2px;
    bottom: -2px;
    left: -2px;
    right: -2px;
  }

  .charity.past .image {
    width: 100%;
    float: none;
    margin-right: 0;
  }

  .beerzone {
    padding: 16px;
  }

  .beerzone-info {
    margin-left: 0;
  }

  .fb-title {
    float: none;
    width: auto;
  }

  .beer-image {
    float: none;
    width: auto;
    margin-bottom: 20px;
  }
  .tasting-notes {
    margin-left: 0;
  }

}

#mc_embed_signup.bb {
  font-size: 14px;
  margin: 0 auto;
  background: rgba(255,255,255,0.1);
  padding: 20px 20px 12px;
}

#mc_embed_signup.bb .clear {clear: both;}

#mc_embed_signup.bb form {
  padding: 0;
  line-height: 1;
}

#mc_embed_signup.bb .email,
#mc_embed_signup.bb input[type='text'],
.field input[type='text'],
.field textarea {
  max-width: 400px;
  border: 3px dashed #3E7079;
  background: rgba(255,255,255,0.3);
  font-family: 'proxima-nova';
  font-size: 18px;
  color: #3E7079;
  margin-bottom: 14px;
  display: block;
  padding: 8px 0;
  text-indent: 2%;
  width: 100%;
}

#mc_embed_signup.bb .email:active, #mc_embed_signup.bb .email:focus {
  background: rgba(255,255,255,0.5);
}

#mc_embed_signup.bb .mc-field-group {
  padding-bottom: 6px;
  width: 100%;
}

#mc_embed_signup.bb form ul {line-height: 1;}

#mc_embed_signup.bb .mc-field-group.input-group strong {
  font-style: italic;
  font-size: 16px;
}

#mc_embed_signup.bb .mc-field-group.input-group ul li {
  float: left;
  margin-right: 8px;
  list-style: none outside none;
}

#mc_embed_signup.bb form ul li input {margin-left: 0;}

#mc_embed_signup.bb .button {
  font-family: 'proxima-nova';
  background: #3E7079;
  border: none;
  margin-top: 20px;
}

/* footer */

footer.footer {
  margin-bottom: 26px;
  height: 30px;
  background: #3E7079;
  padding: 4px 0;
}

footer.footer a {
  display: block;
  width: 532px;
  height: 23px;
  text-indent: -9999px;
  background: url(img/credit.png) no-repeat 0 0;
  margin: 0 auto;
}

@media screen and  (max-width: 540px) {
  footer.footer a {
    text-indent: 0;
    background-image: none;
    color: #F1DF99;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    width: auto;
    height: auto;
    text-align: center;
    font-family: 'adelle';
    font-size: 10px;
    margin-top: 4px;
  }
}

/* Splash */

.splash-page { text-align: center; }

.splash-page .page-title {
  margin-bottom: 20px;
  font-size: 32px;
}

h1.logo {
  margin-top: 40px;
  margin-left: auto;
  margin-right: auto;
  width: 240px;
}

.select-province {
  position: relative;
  width: 50%;
  float: left;
  min-height: 1px;
  padding: 0 15px;
  padding: 20px;
  margin-bottom: 40px;
  transition: all 0.4s ease-in;
}

.vert-divider {
  position: absolute;
  top: 0;
  right: -2.5px;
  height: 100%;
  width: 5px;
  background-color: rgba(0,0,0,0.1);
}

.enter-site {
  display: block;
  transition: all 0.4s ease-in;
  opacity: 0.8;
  font-size: 24px;
  font-weight: 900;
}

.enter-site:hover,
.enter-site:active,
.enter-site:focus {
  opacity: 1;
}

.enter-site > img {
  margin-bottom: 15px;
}

@media screen and (min-width: 900px) {
  .splash-page .page-title {
    font-size: 44px;
    margin-bottom: 40px;
  }

  .select-province {
    width: 35%;
  }

  .select-province:first-child {
    margin-left: 15%;
  }

  .select-province:last-child {
    margin-right: 15%;
  }

}

/* form */

span.ast {
  color: #ce6d42;
  margin: 0 2px;
}

.charitynote {
  font-size: 14px;
  font-style: italic;
}

.charitynote p {
  font-size: 14px;
  font-style: italic;
}


.charitynote a {
  text-decoration: underline;
  color: #0F8D85;
}

@media screen and (max-width: 900px) {
  h1 {
    font-size: 80px;
  }
}

@media screen and (max-width: 767px) {
  h1 {
    font-size: 50px;
  }
  .charitynote {
    text-align: left;
  }
}

.field input[type='text'], .field textarea {
  min-width: 100%;
  min-width: 100%;
  margin: 20px 0;
}

#nominate {
  padding-top: 60px;
}

.form {
  margin-top: 100px;
}

.field {
  margin-bottom: 40px;
  font-size: 24px;
  font-weight: bold;
}


.dd-select{ border-radius:2px; position:relative; cursor:pointer; background: #9e9d64; color: #f1df99;}
.dd-select {margin-top: 20px;}
.dd-desc { color:#f1df99; display:block; overflow: hidden; font-weight:normal; line-height: 1.4em; }
.dd-selected, .dd-selected:hover { overflow:hidden; display:block; padding:10px; color: #f1df99 }
.dd-pointer{ width:0; height:0; position:absolute; right:15px; top:50%; margin-top:-3px; transition: 0.1s ease-in; }
.dd-pointer-down{ border:solid 8px transparent; border-top:solid 8px #f1df99; }
.dd-pointer-up{border:solid 8px transparent !important; border-bottom:solid 8px #f1df99 !important; margin-top:-12px;}
.dd-options{background: #3e7079;list-style:none; display:none; position:absolute; z-index:2000; margin:0; padding:0;overflow:auto;}
.dd-option{ padding:10px; display:block; border-bottom:solid 1px #2d535a; overflow:hidden; text-decoration:none; color:#333; cursor:pointer;}
.dd-options > li:last-child > .dd-option{ border-bottom:none;}
.dd-option:hover{ background: #356169; color:#000;}
.dd-selected-description-truncated { text-overflow: ellipsis; white-space:nowrap; }
.dd-option-selected { background:#0F8D85; }
.dd-option-image, .dd-selected-image { vertical-align:middle; float:left; margin-right:5px; max-width:64px;}
.dd-image-right { float:right; margin-right:15px; margin-left:5px;}
.dd-container { position:relative;}​
.dd-selected-text {font-weight: bold;}
.dd-container {
  margin-bottom: 12px;
}
.dd-container label {
  margin: 0;
  color: #f1df99;
  font-size: 20px;
}

input[type='submit'] {
  border: 3px solid #3e7079;
  margin: 0 auto;
  position: relative;
  text-align: left;
  background: url(img/nominate-arrow.png) no-repeat 174px 12px #838f51;
  color: #f1df99;
  font-family: 'league-gothic';
  font-size: 50px;
  display: block;
  cursor: pointer;
  letter-spacing: 0.01em;
  padding: 2px 12px 0;
  text-transform: uppercase;
    box-sizing: border-box;
    -o-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    width: 100%;
  border-radius: 0;
  -o-border-radius: 0;
  -moz-border-radius: 0;
  -webkit-border-radius: 0;

}

input[type='submit']:hover {
  background-color: #717b46;
}

@media screen and (min-width: 500px) {
  input[type='submit'] {
   width: 224px;
  }
  .submit {
    width: 224px;
    margin: 100px auto 0;
    position: relative;
  }
  .submit:before, .submit:after {
    content: '';
    display: block;
    width: 132px;
    height: 71px;
    position: absolute;
    top: 2px;
  }
  .submit:before {
    background: url(img/stars-left.png) no-repeat 0 0;
    left: -150px;
  }
  .submit:after {
    background: url(img/stars-right.png) no-repeat 0 0;
    right: -150px;
  }
}

span.wpcf7-form-control-wrap {
  display: block;
}

span.wpcf7-not-valid-tip, div.wpcf7-validation-errors {
  text-align: center;
  display: block;
  padding: 6px 0;
  width: 100%;
  left: 0;
  background: #f1df99;
  position: relative;
  border: 0;
}

div.wpcf7-mail-sent-ok {
  border: 0;
  margin: 0;
  padding: 0;
}
