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

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

body {
  background: #0057b8;
  font-family: 'rotondac';
  font-size: 14px;
  color: #fff;
}

b {
  font-family: 'rotondac_bold';
}

.f30 {
  font-size: 30px;
}

.f35  {
  font-size: 35px;
}

.f38 {
  font-size: 38px;
}

.f40 {
  font-size: 40px;
}

.intro {
  padding-top: 90px;
}

.intro > div {
  text-align: center;
  line-height: 1.2em;
}

header {
  background: #fff;
}

header .container {
  height: 60px;
  text-align: center;
}

header .container img {
  position: relative;
  top:15px;
  left:-20px;
}

#content .container {
  height: 100%;
  background: url(../images/radial.jpg) no-repeat top center;
  background-size: auto 100%;
}

.box {
  position: relative;
}

.box .seeds,
.box .peanuts {
  width: 370px;
  margin: 0 1%;
  display: block;
  position: relative;
  top: 127px;
}

.box .seeds {
  float: left;
}

.box .peanuts {
  float: right;
}

.box .seeds a,
.box .peanuts a {
  color: #fff;
  text-decoration: none;
}

.box .visual {
  height: 170px;
  position: relative;
}

.box .seeds .visual {
  background: #024b9e;
  border-radius: 30px;
  border: 2px dotted #fff;
}

.box .seeds .visual .img {
  position: absolute;
  left: -35px;
  top: -30px;
  -webkit-transition: all 0.35s;
  -moz-transition: all 0.35s;
  transition: all 0.35s;
}

.box .seeds:hover .visual .img {
  -webkit-transform: rotate(-10deg);
  -moz-transform: rotate(-10deg);
  transform: rotate(-10deg);
  top: -85px;
  -webkit-transition: all 0.35s;
  -moz-transition: all 0.35s;
  transition: all 0.35s;
}

.box .visual .title {
  position:  absolute;
  text-align: center;
  top: 30px;
  text-shadow: 0px 1px 5px rgba(10, 10, 10, 0.87);
}

.box .visual .action {
  position: absolute;
  top: -20px;
  left: 60px;
}

.box .seeds .visual .action {
  left: auto;
  right: 65px;
}

.box .seeds .visual .title {
  left: 160px;
}

.box .period {
  color: #ffdc00;
  font-size: 20px;
  padding-top: 20px;
  font-family: "rotondac_bold";
}

.box .seeds .period {
  padding-left: 67px;
}

.box .peanuts .period {
  text-align: right;
  padding-right: 60px;
}

.box .peanuts .visual .title {
  right: 160px;
}

.box .peanuts .visual {
  background: url(../images/pean.png);
  border-radius: 30px;
  border: 2px dotted #fff;
}

.box .peanuts .visual .img {
  position: absolute;
  right: -40px;
  top: -30px;
  -webkit-transition: all 0.35s;
  -moz-transition: all 0.35s;
  transition: all 0.35s;
}

.box .peanuts:hover .visual .img {
  -webkit-transform: rotate(10deg);
  -moz-transform: rotate(10deg);
  transform: rotate(10deg);
  top: -85px;
  -webkit-transition: all 0.35s;
  -moz-transition: all 0.35s;
  transition: all 0.35s;
}

.box .homka {
  position: absolute;
  left: 50%;
  margin-left: -300px;
  z-index: 9;
}

#preloader {
	background: #0057b8;
}


.dialog {
	background: rgba(255,255,255,0.7);
}

.dialog > div {
	background: #fff;
}

.main-website {
    position: absolute;
    top: 50%;
    margin-top: -70px;
    right: -51px;
    color: #fff;
    text-decoration: none;
    -webkit-transform: rotate(-90deg);
    -moz-transform: rotate(-90deg);
    -ms-transform: rotate(-90deg);
    -o-transform: rotate(-90deg);
    transform: rotate(-90deg);
    width: 140px;
    text-align: center;
    height: 40px;
    background: rgb(216, 16, 21);
    border-top-left-radius: 14px;
    border-top-right-radius: 14px;
    border-top: 2px solid #fff;
    border-left: 2px solid #fff;
    border-right: 2px solid #fff;
    line-height: 40px;
    font-family: 'rotondac_bold';
    text-transform: uppercase;
    font-size: 14px;
    z-index: 9999;
}

.nav {
  position: relative;
}

.nav a {
  position: absolute;
  left:0;
  top: 20px;
  color: #3876b9;
  font-family: "rotondac_bold";
  font-size: 20px;
  text-decoration: none;
  text-transform: uppercase;
}

body.seeds #content {
  padding-top: 70px;
  padding-bottom: 70px;
}

#screen_winners2,
#screen_winners3 {
  display: none;
}

.code_table {
  background: #fff;
  border-radius: 18px;
  color: #000;
}

.code_table table tr th,
.code_table table tr td {
  padding: 10px 0px;
  text-align: center;
  border-right: 1px solid #e7e7e7;
  vertical-align: middle;
  font-size: 16px;
}

.code_table table tr th {
  border-bottom: 2px solid #e7e7e7;
  font-family: "rotondac_bold";
  font-size: 20px;
  color: #d81015;
  padding: 15px 0px;
}

.code_table table tr th:last-child,
.code_table table tr td:last-child {
  border-right: 0px
}


.code_table table tr.even td{
  background: #E6F1FA;
}

.winner_tabs {
  text-align: center;
}

.winner_tabs a {
  font-size: 20px;
  font-family: 'rotondac_bold';
  color: #ffea64;
  display: inline-block;
  padding: 7px 15px;
  margin: 30px 40px;
  text-decoration: none;
}

.winner_tabs a.online {
  border: 1px dashed #fff;
  border-radius: 5px;
}

.winner_tabs a.offline,
.winner_tabs a.offline:hover {
-webkit-transition: all .3s ease;
  -moz-transition: all .3s ease;
  -ms-transition: all .3s ease;
  -o-transition: all .3s ease;
  transition: all .3s ease;
}
.winner_tabs a.offline:hover {
  color: #fff;
  
}

#screen_winners2 .code_table,
#screen_winners3 .code_table {
  padding: 30px 15px 15px 30px;
}

#screen_winners3 .code_table h1 {
  text-align: center;
  font-family: "rotondac_bold";
  font-size: 18px;
  margin-bottom: 5px;
}

#screen_winners3 .code_table h2 {
  text-align: center;
  font-family: "rotondac_bold";
  font-size: 16px;
  margin-bottom: 5px;
}

#screen_winners3 .code_table h3 {
  font-family: "rotondac_bold";
}

#screen_winners3 .code_table p {
  line-height: 1.2em;
  margin: 15px 0px;
}

#screen_winners2 img {
  display: block;
  margin: 0 auto 30px auto;
}

#screen_winners2 h2 {
  font-family: "rotondac_bold";
  color: #d81015;
  font-size: 18px;
}

#screen_winners2 p {
  line-height: 1.5em;
  margin: 15px 0px;
}

#page_winners .winner_tabs a.online {
  border: 1px dashed #fff;
  border-radius: 5px;
}

body.peanuts {
  background: url(../images/bg.png);
}

body.peanuts #content {
  padding-top: 70px;
  padding-bottom: 70px;
}

body.peanuts #content .container {
  background: none;
}

body.peanuts .winner_tabs a {
  color: #fff;
   text-shadow: 0px 1px 5px rgba(10, 10, 10, 0.87);
}

body.peanuts .code_table table tr.even td{
  background: #ffeda1
}

body.peanuts .nav a {
  color: #f7aa58
}

body.peanuts .nav a:hover {
  color: #d81015
}

body.peanuts  #screen_winners1 .code_table {
  padding: 10px ;
}

/* Medium devices (desktops, 992px to 1399px) */
@media screen and (max-width: 1619px) {
  .box .homka {
    margin-left: -225px;
  }

  .box .homka img {
    width: 450px;
  }

  .box .seeds, .box .peanuts {
    top:90px;
  }

  .box .visual .img {
    width: 190px;
    top: -20px!important;
  }

  .box .seeds .visual .title {
    left: 165px;
    top: 34px;
  }

  .box .visual .action {
    left: 70px;
  }

  .box .peanuts .visual .title {
    right: 165px;
    top: 34px;
  }

  .box .title .f38 {
    font-size: 34px;
  }

  .box .title .f35 {
    font-size: 30px;
  }

  .box .seeds .period {
    padding-left: 70px;
  }

  .box .peanuts .period {
    padding-right: 70px;
  }
}

/* Medium devices (desktops, 992px to 1199px) */
@media screen and (max-width: 1199px) {
  #content .container {
    background-size: 100% 100%;
  }

  .box .homka {
    margin-left: -175px;
  }

  .box .homka img {
    width: 350px;
  }

  .box .visual .img {
    width: 170px;
  }

  .box .title .f38 {
    font-size: 30px;
  }

  .box .title .f35 {
    font-size: 26px;
  }

  .box .visual {
    height: 150px;
  }

  .box .seeds, .box .peanuts {
    width: 300px;
  }

  .box .seeds, .box .peanuts {
    top: 70px;
  }

  .box .seeds .visual img {
    left: -10px;
    top: -20px!important;
  }

  .box .visual .action {
    left: 50px;
  }

  .box .seeds .visual .action {
    right: 43px;
    left: auto;
  }

  .box .peanuts .visual img {
    right: -10px;
    top: -20px!important;
  }

  .box .seeds .visual .title {
    left: 130px;
  }

  .box .peanuts .visual .title {
    right: 130px;
  }

  .box .seeds .period {
    padding-left: 35px;
    font-size: 18px;
  }

  .box .peanuts .period {
    padding-right: 35px;
    font-size: 18px;
  }

  .intro {
    padding-top: 70px;
  }

  .intro .f35 {
    font-size: 30px;
  }

  .intro .f40 {
    font-size: 36px;
  }
}

/* Small devices (tablets, 768px and up) */
@media screen and (max-width: 991px) {
  .box .homka {
    position: relative;
    left:0;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }

  .box .seeds, .box .peanuts {
    top: 20px;
    margin-bottom: 50px;
  }

  .box .homka img {
    position: relative;
    left: -10px;
  }

  .code_table table tr th, .code_table table tr td {
    font-size: 14px;
  }

  .winner_tabs a {
    margin: 10px 20px 
  }

}

/* Extra small devices (phones, less than 768px) */
@media screen and (max-width: 767px) {
   .box .seeds, .box .peanuts {
    width: 350px;
    display: block;
    margin: 10px auto;
    float: none;
   }

   .box .seeds .visual .title {
    left: 150px;
   }

   .box .peanuts .visual .title {
    right: 150px;
   }

   .box .seeds .visual .action {
    right: 72px;
   }

   .box .visual .action {
    left: 74px;
   }

   .box .seeds .period,
   .box .peanuts .period {
    padding-left: 0px;
    padding-right: 0px;
    text-align: center;
   }

   .box .peanuts {
    top: 70px;
    margin-bottom: 50px;
   }

   .winner_tabs {
    margin-top: 20px;
   }

   .code_table table tr th, .code_table table tr td {
    font-size: 12px;
   }

   .code_table table tr th.code, .code_table table tr td.code {
    display: none;
   }

   #screen_winners2 img {
    width: 100%;
   }
}

@media screen and (max-width: 479px) {
  .box .homka {
    margin-bottom: 30px;
  }

  header .container img {
    position: relative;
    top: 23px;
    left: 0px;
    width: 160px;
  }

  .intro {
    padding-top: 40px;
  }

  .intro .f35 {
    font-size: 18px;
  }

  .intro .f40 {
    font-size: 28px;
  }

  .box .seeds .visual .img,
  .box .peanuts .visual .img {
    top: 35px!important;
  }

  .box .seeds .visual .action {
    right: 113px;
  }

  .box .peanuts .visual .action {
    left: 113px;
  }

  .box .homka img {
    width: 260px;
    left: 0px;
  }

  .box .seeds, .box .peanuts {
    width: 100%;
  }

  .box .seeds .visual .img {
    left: 50%;
    margin-left: -85px;
  }

  .box .seeds .visual .title,
  .box .peanuts .visual .title {
    position: relative;
    left: 0;
    padding-top: 200px;
  }

  .box .visual {
    height: 340px;
  }

  .box .peanuts .visual .img {
    right: 50%;
    margin-right: -85px;
  }

  .box .period {
    padding-left: 0px!important;
    padding-right: 0px!important;
    text-align: center!important;
  }

  .code_table table tr th.city, .code_table table tr td.city {
    display: none;
   }
   .main-website {
    display: none;
   }

   body.peanuts #content,
   body.seeds #content {
    padding-top: 40px;
   }

   body.peanuts header .container,
   body.seeds header .container {
    height: 80px;
   }

   .nav a {
    width: 100%;
   }

   body.peanuts header .container img,
   body.seeds header .container img {
    top:50px;
   }

}