@font-face {
    font-family:  "MyriadPro-Regular";
    src: url("../fonts/MyriadPro-Regular.otf");
}
@font-face {
    font-family:  "MyriadPro-BlackCond";
    src: url("../fonts/MyriadPro-BlackCond.otf");
}
@font-face {
    font-family:  "MyriadPro-BoldCond";
    src: url("../fonts/MyriadPro-BoldCond.otf");
}
@font-face {
    font-family:  "MyriadPro-Bold";
    src: url("../fonts/MyriadPro-Bold.otf");
}
@font-face {
    font-family:  "Helen Bg BoldCond";
    src: url("../fonts/Helen Bg CondBold.ttf");
}

.Regular{
    font-family:  "MyriadPro-Regular";
}
.mBlackCond{
    font-family:  "MyriadPro-BlackCond";
}
.mBoldCond{
    font-family:  "MyriadPro-BoldCond";
}
.mBold{
    font-family:  "MyriadPro-Bold";
}
.Helen{
    font-family:  "Helen Bg BoldCond";
}

html, body {
    height: 100%;
    font-family: 'MyriadPro-BoldCond', sans-serif;
    font-size: 18px;
    line-height: 20px;
    background-color: #f8f1de;
}

.bodyColor {
    background-color: #f8f1de;
}

.bodyBkg {
    background: #f8f1de url(../img/CYCLE-bootstrap-v1.png) no-repeat center bottom fixed; 
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;    
}

a:focus, button:focus, input:focus, select:focus, textarea:focus,
.btn.active.focus, .btn.active:focus, .btn.focus, .btn:active.focus, .btn:active:focus, .btn:focus { outline: none; outline-offset: 0; }
ul, ol, p { margin: 0; padding: 0; }
ul, ol {  list-style: none; }
img { border: none; }
h1, h2, h3, h4, h5, h6 { margin: 0; }

a:focus, a:hover {
    color: #ffffff;
    text-decoration: none;
}

.no-padding > [class*="col-"] {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.clear {
    clear: both;
}

.black-bkg .container-fluid,
.black-bkg .col-sm-6 {
    padding: 0;
}

.black-bkg .container-fluid .row {
    margin: 0;
}

.movie img {
    height: 100%;
}

.age {    
    padding: 5% !important;
    background-image: url(../img/bottle.png);
    background-position: 95% 93%;
    background-repeat: no-repeat;
    background-size: 10%;
}

.age-element {
    position: absolute;
    top: 20px;
    right: 0;
    height: 100px;
}

.age-logo {
    width: 100%;
    max-width: 300px;
    margin-top: 10%;
}

.red-line {
    width: 100%;
    height: 6px;
    background-color: #b7062b;
    margin-top: 20px;
}

.btn {
    padding: 7px 15px 5px 15px;
    text-transform: uppercase;
    color: #ffffff;
    background-color: #3d3d3d;
    border: 1px solid #3d3d3d;
}

.btn:hover {
    background-color: #ffffff;
    color: #3d3d3d;
    text-decoration: none;
}

.btn.success {
    color: #ffffff;
    background-color: #b7062b;
    border: 1px solid #b7062b;   
}

.btn.success:focus,
.btn.success:hover {
    background-color: #ffffff;
    color: #b7062b;  
    text-decoration: none; 
}

.age-form {
    margin: 20% 0;
    text-align: left;
}

.age-form h1 {
    margin-bottom: 20px;
}

.logo {
    display: inline-block;
    padding: 20px 10px 0 10px;
}

.logo img {
    width: 200px; 
}

.navigation {
    padding-top: 50px;
}

.navigation a {
    font-size: 20px;
    color: #3d3d3d;
    display: inline-block;
    padding: 0 10px;
}

.navigation a:after {
  content: '';
  width: 0px;
  height: 2px;
  display: block;
  background: #b7062b;
  transition: 300ms;
}

.navigation a.active:after,
.navigation a:hover:after {
  width: 100%;
}

.navigation a.active {
    color: #b7062b;    
}

.movie {
    background: url(../img/bkg.png?v=3) no-repeat left bottom; 
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;    
}

.home-prizes {
    width: 400px;
    text-align: left;    
    text-transform: uppercase;    
}

.home-prizes img {
    display: block;
    width: 200px;
    margin: 20px 0;
}

.home-line {
    width: 100%;
    max-width: 800px;
    padding: 0 15px;
    margin: 0 auto;    
}
.home-line div {
    border-bottom: 3px dashed #444444;
}

.home-prizes h2 {
    margin: 0 0 30px 0;
}

.home-prizes h2,
.home-prizes strong {
    color: #b7062b;
}

.home-prizes ul {
    margin: 0 0 30px 0;
}
.home-prizes li {
    margin-bottom: 40px;    
}

.box800 {
    width: 100%;
    max-width: 800px;
    margin: 80px auto;
    padding: 0 15px;
}

.box800 h3 {
    text-transform: uppercase;
    color: #b7062b;
    margin-bottom: 20px;
}

.register p,
.contacts p {
    margin-bottom: 15px;
}

.inputText {
    width: 100%;
    max-width: 300px;
    border: 1px solid #c3c3c3;
    padding: 10px;
    border-radius: 3px;
}

.register .form {
    background-color: #f8f1de;
    border: 2px dashed #999;
    margin-bottom: 100px;
    border-radius: 3px;
    padding-top: 80px;
    padding-bottom: 80px;
    margin: 40px 0;
    background-image: url(../img/element.png);
    background-position: right top;
    background-repeat: no-repeat;
    background-size: 10%;
}

.form img {
    width: 80px;
    position: absolute;
    right: 0;
    top: 10px;
}

.box800 a {
    color: #b7062b;
}

.box800 a:hover {
    color: #b7062b;
    text-decoration: underline;
}

footer {
    background-color: #000000;
    color: #ffffff;
    padding: 40px 0;
    text-align: center;
    font-size: 14px;
}

.flogo {
    width: 200px;
}

.fb {
    width: 28px;
}

.wrapper {
    margin: 60px auto;
    float: none;
}

.wrapper h1,
.wrapper h2,
.wrapper h3 {
    color: #b7062b;
    text-transform: uppercase;    
}

.wrapper h3 {
    margin: 30px 0 10px 0;
}

.wrapper h2 {
    margin-bottom: 20px;
}

.text {
    background-color: #f8f1de;
    border: 2px dashed #999;
    margin-bottom: 100px;
    border-radius: 3px;
    padding: 30px;
    margin: 40px 0;
}

.prizes img,
.winners img {
    width: 100%;
    max-width: 400px;
    margin: 40px auto 20px auto;
}

#loading {
    margin-top: 20px;
    color: #cd0000;
}

.modal-body {
    margin-top: 40%;
    padding: 20px;
    background-color: #f8f1de;
    border: 2px dashed #999;
}

#ajax_result {
    margin-top: 30px;
}

#how-to-play {
    background: #f8f1de url(../img/how-to-play.jpg) no-repeat center center;     
    min-height: 600px;
    color: #b7062b;
    width: 100%;    
    margin: 0 auto;
    padding: 10% 0 20% 0;
    border-bottom: 6px solid #b7062b;
}

#how-to-play div h3,
#how-to-play div a,
#how-to-play div strong {
    color: #333;
}

#how-to-play div {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
}

#how-to-play p {
    margin-bottom: 30px;
}

@media only screen and (max-width: 1100px) {
.movie {
    min-height: 110%;
}
}

@media only screen and (max-width: 980px) {
    .movie {
        min-height: 96%;
    }
}

@media only screen and (max-width: 850px) {
.movie {
    min-height: 86%;
}
}

.mobile {
    display: none;
}

.hamburger {
    width: 30px;
    position: absolute;
    top: 40px;
    right: 30px;
}

.hamburger span {
    width: 100%;
    height: 4px;
    background-color: #000000;
    display: block;
    margin-bottom: 4px;
}

@media only screen and (max-width: 767px) {
    .desktop {
        display: none !important;
    }

    .mobile {
        display: block;
    }

    .age-logo {
        width: 70%;
    }

    .register img {
        width: 40px;
    }

    .navigation {
        display: none;
        background: #f8f1de;
        position: absolute;
        top: 0;
        width: 100%;
        height: 100%;
        text-align: center;
        z-index: 100;
    }

    .navigation a {
        display: block;
        padding: 20px 0;
    }
}