@import url(https://fonts.googleapis.com/css?family=Montserrat:400,700);

/* GENERAL */
html, body {
  width: 100%;
  margin: 0px;
  padding: 0px;
  height: 100%;
  position: relative;
}

body{
  font-family: 'SlateW01', sans-serif;
  color: white;
}

*{
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

img{
  max-width: 100%;
  height: auto;
}

h1,h2,h3,h4,h5{
  font-family: 'newcastle-basiccl', helvetica, sans-serif;
  position: relative;
  z-index: 1000;
}

ul{
  margin-left: 0;
  padding-left: 0;
}

a{
      color: #fdb414;
    text-decoration: none;
}

main{
  position: relative;
  width: 100%;
  padding: 5rem 0 2rem;
  z-index: 80;
  background-color: #355b9c;
  font-size: 1.5rem;
  line-height: 1.3;
}

main .result{
  max-width: 1000px;
  width: 100%;
  margin: 0 auto;
  padding: 2rem 2rem;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  text-align: center;
}

.left{
  float: left;
}

.center{
  position: relative;
  width: 100%;
  height: 100%;
  margin: auto;
  text-align: center;
}

.clearfix{
  position: relative;
}

.clearfix:after{
  clear: both;
  display: table;
  content: "";
}

.contest{
  position: absolute;
  top: -100px;
  left: 50%;
  z-index: 100;
  -webkit-transform: translateX(-50%);
      -ms-transform: translateX(-50%);
          transform: translateX(-50%);
}

.contest img{
  max-height: 200px;
}

/* CUSTOM */
.logo-wrap{
  display: block;
  position: relative;
  background: #ffffff;
  height: 130px;
  max-height: 130px;
  padding: 25px 0;
  text-align: left;
}

.logo-wrap a{
  display: inline-block;
  margin-left: 3rem;
}

.logo-wrap img{
  max-height: 100px;
}

footer,#footer {
  width: 100%;
  margin: 0;
  padding: 25px 20px;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  text-align: center;
  background:#6a884a url('../../images/brown.jpg') repeat;
  clear: both;
}

footer a,
#footer a {
  color: #ffffff;
  font-size: 16px;
  text-decoration:underline;
}

footer a:hover,
#footer a:hover{
  color: #ffffff;
  text-decoration: underline;
}

footer small {
  font-size: 12px;
  color: #ffffff;
}

span.seperator {
    padding: 0 10px;
}

#site-title {
    display: inline-block;
    width: 308px;
    height: 72px;
    margin: 0;
    text-indent: -9999em;
    background: url(../images/footer-logo.png) left center no-repeat;
    background-size: contain;
}

footer #site-title {
    z-index: 0;
}

.results{
  display: none;
}

.overlay{
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 200;
  background-color: rgba(0,0,0,0.8);
}

.results-popup{
  max-width: 600px;
  width: 100%;
  /*max-height: 440px;*/
  height: auto;
  padding: 1.5625rem;
  background: white;
  position: absolute;
  text-align: center;
  top: 50%;
  left: 50%;
  -moz-transform: translate(-50%,-50%);
  -o-transform: translate(-50%,-50%);
  -ms-transform: translate(-50%,-50%);
  -webkit-transform: translate(-50%,-50%);
  transform: translate(-50%,-50%);
}

.results-popup h3{
  font-size: 2rem; /* 26px / 16px */
  margin: 0;
}

.results-popup p{
  font-size: 1.125rem; /* 18px / 16px */
}

.characters{
  position: absolute;
  width: calc(100% - 3.125rem);   /* desired width */
  bottom: 1.5625rem; /* 25px / 16px */
}

.characters:before{
  content: "";
  display: block;
  padding-top: 47.588832487309645%; /* 375px / 788px */
}

.characters-bg{
  position:  absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
}

.button-container{
  text-align: center;
}

a.button{
  position: relative;
    border: none;
    font-family: 'newcastle-basiccl', helvetica, sans-serif;
    font-size: 1.375rem; /* 22px / 16px */;
    color: #000000;
    background: #fdb414;
    cursor: pointer;
    padding: 25px 80px;
    display: inline-block;
    margin: 0 auto 25px;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 1px;
    font-weight: 700;
    outline: none;
    position: relative;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    -webkit-box-shadow: 0 2px 4px rgba(0,0,0,0.7);
    -moz-box-shadow: 0 2px 4px rgba(0,0,0,0.7);
    box-shadow: 0 2px 4px rgba(0,0,0,0.7);
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-transition: all 0.15s linear;
    -o-transition: all 0.15s linear;
    transition: all 0.15s linear;
    z-index: 200;
}

a.button:hover{
  text-decoration: none;
    background-color: #d69810;
}

h3.calculated-results{
  font-size: 1.5rem;
  margin: 1rem 0;
  color: #5c8727;
}

@media screen and (min-width: 1200px){
  #next,
  #show-results{
    font-size: 1.5rem;
  }
}

@media screen and (max-width:1200px) {
  .contest{
    top: -118px;
  }

  .contest img{
    max-width: 200px;
  }
}

@media screen and (max-width:960px), screen and (max-height: 650px) {
  html,
  body{
    font-size: 75%;
  }

  .panel-left,
  .panel-right{
    height: auto !important;
    width: 100%;
    padding: 5%;
  }

  .panel-left{
    height: 40%;
  }

  .panel-right{
    height: 60%;
  }

  .content{
    margin-top: 0;
  }

  .answers{
    margin-top: 0;
  }

  .answer-header{
    display: none;
  }

  .contest{
    position: static;
  }

  #next,
  #show-results{
    right: 2rem;
    bottom: 0;
  }

  .clearfix{
    background: #383025 url(../../images/yellow.jpg) repeat;
    text-align: center;
  }
}

@media screen and (max-width:1200px) and (max-height: 768px){

}

@media screen and (max-height:1000px) and (max-width:960px) {
  main,
  .panel-left,
  .panel-right{
    height: auto;
  }
}

@media screen and (max-width:1200px) and (min-width: 960px),
screen and (max-height:900px){
  html,
  body{
    font-size: 80%;
  }
}

@media screen and (max-height:658px){
  .answer-item{
    padding: 2rem 25px;
  }
}

@media screen and (max-height: 568px){
  .panel-left,
  .panel-right{
    height: auto;
  }
}

@font-face {
    font-family: 'newcastle-shadows';
    src: url('../fonts/newcastle_shadows_rusty-webfont.woff2') format('woff2'),
         url('../fonts/newcastle_shadows_rusty-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}




@font-face {
    font-family: 'newcastle-shadows';
    src: url('../fonts/newcastle_shadows_clean-webfont.woff2') format('woff2'),
         url('../fonts/newcastle_shadows_clean-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}




@font-face {
    font-family: 'newcastle-extrasr';
    src: url('../fonts/newcastle_extras_rusty-webfont.woff2') format('woff2'),
         url('../fonts/newcastle_extras_rusty-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}




@font-face {
    font-family: 'newcastle-extraso';
    src: url('../fonts/newcastle_extras_outline-webfont.woff2') format('woff2'),
         url('../fonts/newcastle_extras_outline-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}




@font-face {
    font-family: 'newcastle-extrasc';
    src: url('../fonts/newcastle_extras_clean-webfont.woff2') format('woff2'),
         url('../fonts/newcastle_extras_clean-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}




@font-face {
    font-family: 'newcastle-combine';
    src: url('../fonts/newcastle_combined_rusty-webfont.woff2') format('woff2'),
         url('../fonts/newcastle_combined_rusty-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}




@font-face {
    font-family: 'newcastle-combine';
    src: url('../fonts/newcastle_combined_clean-webfont.woff2') format('woff2'),
         url('../fonts/newcastle_combined_clean-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}




@font-face {
    font-family: 'newcastle-basicru';
    src: url('../fonts/newcastle_basic_rusty-webfont.woff2') format('woff2'),
         url('../fonts/newcastle_basic_rusty-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}




@font-face {
    font-family: 'newcastle-basiccl';
    src: url('../fonts/newcastle_basic_clean-webfont.woff2') format('woff2'),
         url('../fonts/newcastle_basic_clean-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}

@font-face {
  font-family: 'SlateW01';
  src: url('../fonts/SlateW01-Medium.eot');
  src: url('../fonts/SlateW01-Medium.eot?#iefix') format('embedded-opentype'),
    url('../fonts/SlateW01-Medium.woff') format('woff'),
    url('../fonts/SlateW01-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
}

/* Social Share Section */
  .ssbp-list {
    list-style: none;
    display: inline-block;
    vertical-align: middle;
    margin: 0 auto;
    padding: 0;
  }

  .ssbp-list {
    display: table;
    table-layout: fixed;
    width: auto;
  }

  .ssbp-list li {
    display: inline-block !important;
    margin: 0 0 !important;
    display: table-cell !important;
    width: auto;
    height: auto;
  }

  .ssbp-btn:hover, .ssbp-btn:focus, .ssbp-btn:active, .ssbp-btn:visited {
      z-index: 10;
      color: #fff;
  }

  .ssbp-btn {
    display: block;
    width: auto;
    color: white !important;
  }

  .ssbp-btn:hover, .ssbp-btn:focus, .ssbp-btn:active, .ssbp-btn:visited {
    z-index: 10;
    color: #fff;
  }

  .ssbp-facebook {
    background-color: rgba(22, 42, 84, 0.75);
  }

  .ssbp-twitter {
    background-color: rgba(0, 169, 241, .75);
  }

  .ssbp-email {
    background-color: rgba(95, 95, 95, .75);
  }

  .ssbp-btn {
    width: auto;
    padding: 0 10px;
    height: 2em;
    line-height: 2em;
    position: relative;
    color: #fff;
    font-weight: normal;
    -webkit-transition: .25s;
    transition: .25s;
    border-bottom: 0;
    margin-right: 5px;
  }

  .ssbp-btn {
    display: inline-block;
    text-align: center;
    text-decoration: none;
    font-family: sans-serif;
  }

  .ssbp-btn {
    border-radius: 5px !important;
  }

  .ssbp-wrap *, .ssbp-wrap *:before, .ssbp-wrap *:after {
    box-sizing: border-box;
  }

  .stext {
  display: inline-block;
  }

  @font-face {
      font-family: 'fontello';
      src: url('../fonts/fontello.eot?16816896');
      src: url('../fonts/fontello.eot?16816896#iefix') format('embedded-opentype'),
           url('../fonts/fontello.woff?16816896') format('woff'),
           url('../fonts/fontello.ttf?16816896') format('truetype'),
           url('../fonts/fontello.svg?16816896#fontello') format('svg');
      font-weight: normal;
      font-style: normal;
    }

      .demo-icon {
      font-family: "fontello";
      font-style: normal;
      font-weight: normal;
      speak: none;

      display: inline-block;
      text-decoration: inherit;
      width: 1em;
      margin-right: .2em;
      text-align: center;
      /* opacity: .8; */

      /* For safety - reset parent styles, that can break glyph codes*/
      font-variant: normal;
      text-transform: none;

      /* fix buttons height, for twitter bootstrap */
      line-height: 1em;

      /* Animation center compensation - margins should be symmetric */
      /* remove if not needed */
      margin-left: .2em;

      /* You can be more comfortable with increased icons size */
      /* font-size: 120%; */

      /* Font smoothing. That was taken from TWBS */
      -webkit-font-smoothing: antialiased;
      -moz-osx-font-smoothing: grayscale;

      /* Uncomment for 3D effect */
      /* text-shadow: 1px 1px 1px rgba(127, 127, 127, 0.3); */
    }

    .icon-facebook:before {
      content: "" !important;
    }

    @media screen and (max-width: 640px) {
      .ssbp-list {
        margin: 0 auto !important;
      }

      .ssbp-btn {
        width: 75px;
      }

      .stext {
        display: none;
      }
    }
  /* End Social Share Section */