@font-face {
    font-family: Myriad Pro Conden; /* имя шрифта для CSS правил */
    src:  url(../fonts/MyriadPro/MyriadPro-BoldCond.otf); /* если шрифт не установлен, тогда загружаем его по указанному пути */
  }
  @font-face {
      font-family: Myriad Pro regul; /* имя шрифта для CSS правил */
      src:  url(../fonts/MyriadPro/MyriadPro-Regular.otf); /* если шрифт не установлен, тогда загружаем его по указанному пути */
    }

html {
    font-family: 'Open Sans', sans-serif;
    -ms-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
}
body {
    margin: 0;
}
article,aside,details,figcaption,figure,
footer,header,main,nav,section,summary {
    display: block;
}
audio,
canvas,
progress,
video {
    display: inline-block; /* 1 */
    vertical-align: baseline; /* 2 */
}
audio:not([controls]) {
    display: none;
    height: 0;
}
[hidden],
template {
    display: none;
}
a {
    background: transparent;
}
a:active,
a:hover {
    outline: 0;
}
abbr[title] {
    border-bottom: 1px dotted;
}
b,strong {
    font-weight: bold;
}
dfn {
    font-style: italic;
}
h1 {
    font-size: 2em;
    margin: 0.67em 0;
}
mark {
    background: #ff0;
    color: #000;
}
small {
    font-size: 80%;
}
sub,
sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}
sup {
    top: -0.5em;
}
sub {
    bottom: -0.25em;
}
img {
    border: 0;
}
svg:not(:root) {
    overflow: hidden;
}
figure {
    margin: 1em 40px;
}
hr {
    box-sizing: content-box;
    -moz-box-sizing: content-box;
    height: 0;
}
pre {
    overflow: auto;
}
code,
kbd,
pre,
samp {
    font-family: monospace, monospace;
    font-size: 1em;
}
button,
input,
optgroup,
select,
textarea {
    color: inherit; /* 1 */
    font: inherit; /* 2 */
    margin: 0; /* 3 */
}
button {
    overflow: visible;
}
button,
select {
    text-transform: none;
}
button,
html input[type="button"], /* 1 */
input[type="reset"],
input[type="submit"] {
    cursor: pointer; /* 2 */
    -webkit-appearance: button; /* 3 */
}
button[disabled],
html input[disabled] {
    cursor: default;
}
button::-moz-focus-inner,
input::-moz-focus-inner {
    border: 0;
    padding: 0;
}
input {
    line-height: normal;
}
input[type="checkbox"],
input[type="radio"] {
    box-sizing: border-box; /* 1 */
    padding: 0; /* 2 */
}
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    height: auto;
}
input[type="search"] {
    box-sizing: content-box; /* 1 */
    -moz-box-sizing: content-box;
    -webkit-box-sizing: content-box; /* 2 */
    -webkit-appearance: textfield;
}
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
    -webkit-appearance: none;
}
fieldset {
    border: 1px solid #c0c0c0;
    margin: 0 2px;
    padding: 0.35em 0.625em 0.75em;
}
legend {
    border: 0; /* 1 */
    padding: 0; /* 2 */
}
textarea {
    overflow: auto;
}
optgroup {
    font-weight: bold;
}
table {
    border-collapse: collapse;
    border-spacing: 0;
}
td,
th {
    padding: 0;
}
.google-btn{
        background-color: #fff;
    border: none;
    color: #000;
    line-height: 45px;
    height: unset;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.117647), 0 1px 4px rgba(0, 0, 0, 0.117647);
    border-radius: 5px;
    width: 82%;
    text-align: center;
    margin: 15px auto;
    cursor: pointer;
    font-family: Helvetica, sans-serif;
}
.google-btn svg{
   display: inline-block;
   margin-right: 10px;
   vertical-align: middle;
   width: 20px;
   height: 20px;
}
.or {
    text-align: center;
    color: #999;
    
    font-size: 14px
}
.red {
    color: #e65f5f;
}
.yellow {
    color: #ffde00;
}

/*#cssNormalize*/

/*default css*/
#wrapper {
    background: #5c84a3;
    position: relative;
    width: 100%;
    margin: 0;
}
#main-header {
    background: #025184;
    height: 60px;
    padding: 10px 0 0;
    width: 100%;
}
.logo {
    background: url(../img/logo.png) no-repeat center;
    height: 51px;
    margin: 0 auto;
    position: relative;
    right: 350px;
    width: 168px;
}
#container {
    background: rgb(228,235,240); /* Old browsers */
    background: -moz-linear-gradient(top,  rgba(228,235,240,1) 0%, rgba(178,197,212,1) 15%, rgba(107,143,171,1) 41%, rgba(92,132,163,1) 81%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(228,235,240,1)), color-stop(15%,rgba(178,197,212,1)), color-stop(41%,rgba(107,143,171,1)), color-stop(81%,rgba(92,132,163,1))); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top,  rgba(228,235,240,1) 0%,rgba(178,197,212,1) 15%,rgba(107,143,171,1) 41%,rgba(92,132,163,1) 81%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top,  rgba(228,235,240,1) 0%,rgba(178,197,212,1) 15%,rgba(107,143,171,1) 41%,rgba(92,132,163,1) 81%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top,  rgba(228,235,240,1) 0%,rgba(178,197,212,1) 15%,rgba(107,143,171,1) 41%,rgba(92,132,163,1) 81%); /* IE10+ */
    background: linear-gradient(to bottom,  rgba(228,235,240,1) 0%,rgba(178,197,212,1) 15%,rgba(107,143,171,1) 41%,rgba(92,132,163,1) 81%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#e4ebf0', endColorstr='#5c84a3',GradientType=0 ); /* IE6-9 */
    min-height: 1150px;
    margin: 0 auto;
    max-width: 950px;
}
.preview {
    border-radius: 10px;
    display: inline-block;
    height: 450px;
    left: 20px;
    overflow: hidden;
    position: relative;
    top: 20px;
    vertical-align: middle;
    width: 385px;
}
#photos {
    list-style-type: none;
    margin: 0;
    padding: 0;
}
#photos a {cursor: default;}
#photos img {
    max-width: 100%;
}
.form-box {
    display: inline-block;
    height: 460px;
    margin: 33px 0 0 40px;
    position: relative;
    vertical-align: middle;
    max-width: 500px;

}
.form-box h3 {
    font-size: 23px;
    margin: 0;
    padding: 5px 0 0;
    text-align: center;
    text-transform: uppercase;
}

#main-footer {}




/*reg&login form*/
/*login*/
.loginner {
    position: fixed;
    width: 300px;
    height: 0px;
    overflow: hidden;
    top: 300px;
    left: 50%;
    margin: 0 0 0 -150px;
    z-index: 500;
}
#login_popup {
    zoom: 1;
    position: absolute;
    left: 0;
    top: 0px;
    z-index: 500;
    height: 425px;
    width: 300px;
    background: rgba(255,255,255,1);
    display: block;

}
#login_logo {
    background: #5c84a3;
    height: 60px;
    margin: 0 0 20px 0;
    width: 300px;
    color: #ffffff;
    text-align: center;
    font-size: 25px;
    font-weight: bold;
    padding: 35px 0 0;
    text-shadow: 0 1px 0 #000000;
    box-shadow: inset 0 0 0 1px #ffffff;
}
#login_popup h1 {
    display:none;
    color: #ffffff;
    font-size: 15px;
    text-align: center;
    margin:10px 0;
    position:relative;
    top:0px;
    line-height: 20px;
}
#login_popup.emailexists h1 {display: block !important;}
#login_popup.emailexists h1 {
    color: #000;
    display: block !important;
    font-size: 22px;
    margin:0 0 5px 0;
    position:relative;
    text-align: center;
    top:7px

}

.login-form {margin: 0 auto;
    position:relative;
    top: 40px;
    width: 162px;
}
.login-form .fieldname label {font:13px Arial, Helvetica, sans-serif}
.login-form .field {height:40px; width: 165px;}
.login-form .field input {
    height:25px;
    width: 160px;
}

#login_btn {
    border: 0;
    color: #fff;
    cursor: pointer;
    height: 52px;
    margin: 0px 0 0 1px;
    width: 165px;
    background: #45a85a;
    font-weight: 600;
}
#login_btn:hover {
    background: #3a9d4f;
}

/*end login*/
/*regform*/
.regform {
    background: #000;
    border-radius: 10px;
    bottom: 0;
    color: #fff;
    min-height: 300px;
    left: 0;
    position: absolute;
    max-width: 500px;
    width: 100%;
}
.condition {
    font-size: 12px;
    margin: 43px 0;
    text-align: center;
}

/*regform fields*/
.registration-form {
    height: 115px;
    margin: 10px auto 0;
    position: relative;
    top: 20px;
    width: 340px;
}
.second { left:0; position:relative}
.form-content {
    height: 310px;
    margin:0 auto;
    width: 342px;
}

.registration-form .form-fields {
    height: 211px;
    margin: 10px 0;
    width: 342px;
}

input.txt, select {
    border: 1px solid #e2e3ea;
    border-radius: 5px;
    border-top: 1px solid #abadb3;
    color: #000;
    height: 50px;
    outline: none;
    width: 309px;
    text-align: center;
}
input.txt {padding-left: 4px; width: 335px;}
select {padding: 5px 0;}

.form-fields select.field {
    height:20px;}
.fieldname,
.field {
    float: left;
    height: 50px;
    margin: 0;
    position:relative;
    width: 335px;
}



.fieldname {
    clear: both;
    text-align:right;
    width: 75px;
}

input:focus::-webkit-input-placeholder {color: #fff;}
input:focus:-moz-placeholder {color: #fff;}

.bdays {
    background: #ffffff;
    height: 31px;
    margin: 0 0 0 0px;
    margin-bottom: 25px;
    width: 215px;
}
.bdays select {
    background: #f3f3f3;
    border: #ffffff;
    cursor: pointer;
}
#bday {
    background: #ffffff;
    height: 15px;
    margin-top: 1px;
    outline: 1px solid #fff;
    padding: 7px 0;
    text-align: center;
    width: 90px;
}
#bday label {
    color: #000000;
    height: 15px;
    line-height: 15px;
    text-align: center;
}
.login-form .fieldname {
    clear: both;
    height: 18px;
    text-align:right;
    width: 100px;
}
.login-form .fieldname label {
    height: 18px;
    padding: 0;
    text-align: left;
    width: 90px;
}

.fieldname label {
    color: #000000;
    float: left;
    font-size: 15px;
    height: 34px;
    line-height: 39px;
    text-align: left;
    width: 77px;
}
.second .fieldname label {color:#fff}
.registration-form .day {
    height: 40px;
    margin-right: 7px;
    width: 75px;
    padding: 0 0 0 5px;
}

.registration-form .month {
    height: 40px;
    margin-right: 7px;
    width: 160px;
    padding: 0 0 0 5px;
}

.registration-form .year {
    height: 40px;
    width: 85px;
    padding: 0 0 0 5px;
}

/*reg&login errors*/
.registration-form .unknown-error,
.login-form .unknown-error{
    display: none;
}
.registration-form .invalid .unknown-error,
.login-form .invalid .unknown-error {
    display: block;
}

.invalid div.validator {
    display: block;
}
.field .message {
    display: none;
}
.registration-form [class*=invalid-] .exists {
    display: none;}


.invalid-required .required,
.invalid-correctness .correctness,
.invalid-pattern .pattern,
.invalid .exists {
    /*background:url(../img/err-icon.gif) 0 5px no-repeat;*/
    display: block;
    font-size: 14px;
    line-height: 11px;
    padding: 4px 10px 0 19px;
    white-space: nowrap;
}
.login-form .validator-wrapper {
    color: #000;
    left: 67px;
    position: absolute;
    top: -23px;
    z-index:1;
}
.validator-wrapper {
    left: 352px;
    position: absolute;
    top: 15px;
    z-index:1;
    color: #000;
}

.left_er {
    left: 231px;
}

.validator {
    display: none;
    width: 100%;
}
.validator .shadow {
    height: 20px;
    margin-top: 3px;
    position: absolute;
    width: 100%;
}
.validator .content-container {
    background-color: #FFFED8;
    border-radius: 0px 2px 2px 0px;
    -moz-border-radius: 0px 2px 2px 0px;
    -webkit-border-radius: 0px 2px 2px 0px;
    height: 20px;
    position: relative;
}

.validator .shadow .shadow-arrow {
    height: 0;
    left: -20px;
    position: absolute;
    top: 0;
    width: 0;
}


.validator-wrapper .arrow {
    border-bottom: 10px solid transparent;
    border-left: 10px solid transparent;
    border-right: 10px solid #FFFED8;
    border-top: 10px solid transparent;
    height: 0;
    left: -20px;
    position: absolute;
    top: 0;
    width: 0;
    _border: 0;
    _width: 20px;
    _height: 20px;
}
/*end reg&login errors*/
/*end regform fields*/

#submit_button {
    background: #999;
    border: none;
    cursor: default;
    display: block;
    height: 46px;
    margin: 13px 0 10px 12px;
    width: 320px;
}
.satellizer-ready #submit_button {
    background: #555;
    cursor: pointer;
}
.condition p {
    color: #fff;
    font: 15px/16px Arial, Helvetica, sans-serif;
    margin: 15px 0 0;
    text-align: center;
    text-align: center;
}
.condition p a {color: #a7eb3e;}

button {
    cursor: pointer;
}
button:focus {
    outline: none;
}

.next {
    background: #e23313;
    border: none;
    border-radius: 5px;
    color: #ffffff;
    display: block;
    font-size: 20px;
    margin: 0 auto;
    padding: 5px 20px 10px;
    position: relative;
    top: -14px !important;
}

.back {
    background: #e65f5f;
    border: none;
    border-radius: 5px;
    color: #ffffff;
    display: inline-block;
    font-size: 20px;
    padding: 10px 15px 15px;
    position: relative;
    top: -4px;
    display: inline-block;
    width: 70px;
    vertical-align: middle;
}
.small {
    width: 260px !important;
    display: inline-block;
    vertical-align: middle;
}
.steps{
    text-align: center;
}
button[type="submit"] {
    background: #45a85a;
    border: none;
    border-radius: 5px;
    color: #fff;
    display: block;
    display: inline-block;
    font-size: 20px;
    margin: 10px 0 0;
    padding: 12px 20px 12px;
    position: relative;
    top: 30px;
    width: 100%;
    float: right;
}
.login-link {
    border: 1px solid #fff;
    cursor: pointer;
    margin-left: 5px;
    padding: 3px 4px;
}
/*end regform*/


.numbs {
    background: #9dbfcb;
    border-radius: 40px;
    color: #242424;
    display: inline-block;
    font-size: 25px;
    font-weight: 600;
    height: 30px;
    margin: -30px 10px 0;
    padding: 15px;
    text-align: center;
    width: 30px;
}


.nm {
    background: #e65f5f;
    color: #fff;
}
#container h2 {
    color: #fff;
    font-weight: 300;
    text-align: center;
}

#thumbs {
    list-style-type: none;
}
#thumbs li {
    background: #000;
    border: 1px solid #fff;
    display: inline-block;
    height: 300px;
    margin: 5px 6px 10px;
    opacity: 0.6;
    overflow: hidden;
    position: relative;
    vertical-align: middle;
    width: 200px;
}
.shadow {
    box-shadow: 0 0 0 2px #fff;
}
#thumbs img {
    max-width: 100%;
}
.info {
    background: #fff;
    bottom: 0;
    color: #24212d;
    padding: 10px 0;
    position: absolute;
    text-align: center;
    width: 100%;
    display: block;
}
#main-footer {
    background: #252525;
    color: #fff;
    font-size: 12px;
    padding: 20px 0;
    text-align: center;
    margin-bottom: -5px;
}


.close_button {
    right: 0px !important;
    box-shadow: 0 0 0 1px #ffffff, inset 1px -1px 2px 0 #000000;
}
.close_button:hover {
    box-shadow: -1px 1px 2px 0 #000000, inset 0 0 0 0 #000000;
    right: 1px !important;
    top: 1px;
}
.close_button, .close_button_pp {
    color: #222222;
    text-align: center;
    background: #e65f5f;
    height: 15px;
    padding: 3px 0 7px;
    cursor: pointer;
    width: 70px;
    position: absolute;
    right: 22px;
    top: 0px;
}
.close_button:hover, .close_button_pp:hover {
    background: #e65f5f;
}
/*end login form*/


.popup {
    zoom: 1;
    position: fixed;
    left: 50%;
    top: 0;
    margin-top: 100px;
    margin-left: -400px;
    z-index: 800;
    width: 800px;
    height: 600px;
    background: white;
    display: none;
}
#terms, #policy {
    max-width: 800px;
    min-width: 400px;
    min-height: 300px;
    max-height: 60%;
}
.show_terms, .show_policy {
    cursor: pointer;
    padding: 2px 5px;
    text-decoration: underline;
}
.show_terms:hover, .show_policy:hover {
    background: rgba(0,0,0,.3);
}

.full-stories-wrap {
    width:100%;
    height:100%;
    background: #ffffff;
    border:5px solid #ffffff;
    border-top: none;
    padding:5px;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    overflow-x: hidden;
    overflow-y: scroll;
    font-size: 14px;
    line-height: 20px;
}
.cover {
    background: rgba(0,0,0,.7);
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: 500;
    top: 0;
    left: 0;
    display: none;
}
.main.static h1{
    text-align: center;
    line-height: 1.3;
}
.show_login_popup {
    color: #ffffff;
    padding: 5px 5px;
    margin: 0 3px;
    cursor: pointer;
    border: 1px solid #fff;
}
.show_login_popup:hover {background: rgba(0,0,0,.2);}

.step {
    display: none;
}
.step-4 select {
    width: 340px;
    height: 54px;
}
.step.current {
    display: block;
}

.form-title {
    display: none;
}

.h2-step2 {
	font-size: 16px;
	margin-top: -13px;
}

.continue-one {
	top: 15px!important;
}

.back-three {
	top: 20px!important;
}

.continue-three {
	top: 10px!important;
}

.form-box:before{
   
    position: absolute;
    right: -28px;
    top:-40px;
    width: 95px;
    height: 93px;
    background: url("../img/free.png") no-repeat center center;
}
.condition-1{
  display: block;
}
.condition-2{
  display: none;
}
@-moz-document url-prefix() {
    select {
        padding-top:15px;
    }
    .registration-form .day {
        padding-top:15px;
    }
    .registration-form .month {
        padding-top:15px;
    }
    .registration-form .year {
        padding-top:15px;
    }
}
@media(max-width:1024px){
  body *{
    box-sizing: border-box;
  }
    .preview{
        width: 310px;
      left:0;
    }
    .form-box{
        max-width: 406px;
        margin: 33px 0 0 10px;
      }
    #container{
        text-align: center;
    }
      .form-box h3{
      font-family: Myriad Pro Conden;
      font-size: 28px;
      padding: 23px 0 0;
      line-height: 22px;
}
#container h2{
    font-family: Myriad Pro regul;
    font-size: 30px;
}
input.txt, select, .fieldname, .field{
  width: 100%;
}
.registration-form{
  padding: 24px 34px 17px;
  width: 100%;
  margin: 0;
  position: static;
  height: auto;
  overflow: hidden;
}
.numbs{
  width: 60px;
  height: 60px;
  margin: -30px 6px 0;
  padding: 13px;
}
.form-box:before{
  display: none;
}
.numbs:first-child {
    margin-left: 0;
}
.regform{
  width: 406px;
}
.condition-1{
  display: none;
}
.condition-2{
  display: block;
  position: relative;
  padding-left: 13px;
}
.logo{
  right: 273px;
}
#main-header{
  height: 78px;
}
#gogo{
  margin-right: -354px!important;
}
#thumbs{
  padding: 0;
}

input#checkbox {
    position: absolute;
    left: 63px;
    bottom: 41px;
    width: 19px;
    height: 20px;
}
button[type="submit"]{
  margin: 0;
  position: static;

}

.registration-form .day, .registration-form .year{
  width: 26%;
  margin-right: 2%;
}
.registration-form .month{
  width: 41%;
  margin-right: 2%;
}
.registration-form .year{
  margin-right: 0;
}
.condition{
  margin: 0;
}
.fieldname, .field{
  float: none;
}
.field {
    margin-bottom: 11px;
}
.back{
  left: -4px;
    top: 0px!important;
}
.step.current.step-2 .field{
  margin-bottom: 0;
}
.step-4 select{
  height: 50px;
}
.container{
  margin: 0 auto;
  max-width: 950px;
  padding: 0 10px;
  text-align: left;
}
h2.h2-step2{
  font-size: 16px!important;
}
#login_logo{
  height: 91px;
}
.close_button, .close_button_pp{
  height: 26px;
}
.validator-wrapper{
  position: static;
}
.validator .shadow{
  position: static;
  box-shadow:none!important;
  height: 0;
  margin-top:0;
}
.validator .content-container{
  font-size: 12px;
  border-radius: 2px;
    -moz-border-radius: 2px;
    -webkit-border-radius: 2px;
    z-index: 1;
}
.validator-wrapper .arrow{
  right: -13px;
    top: -32px;
    left: auto;
    z-index: 1;
}
select{
  background: white;
}
}
@media(max-width:820px){
#terms, #policy{
  max-width: 456px;
}
.popup{
  margin-left: -229px;
}
}

@media(max-width:767px){
.container{
  max-width: 570px;
}
  .preview{
    display: none;
  }
  .regform{
    max-width: 406px;
    width: 100%;
      position: static;
  }
  .step-4 select{
    width: 100%;
  }
  .numbs {
    width: 45px;
    height: 45px;
    padding: 6px;
}
.form-box h3{
  font-size: 32px;
  line-height: 30px;
  padding: 0;
}

.form-title{
  padding-bottom: 34px!important;
  padding-top: 15px!important;
}
.form-box{
  width: 100%;
  margin: 0;
    height:auto;
}
#gogo{
display: none;
}
#container{
  padding: 0 10px;
}
.numbs{
  margin: -30px 4px 0;
}
/*.registration-form {
    padding: 24px 14px 17px;
  }*/
  .small{
    width: 76%!important;
    font-size: 18px!important;
  }
  .back{
    font-size: 18px!important;
  }
  .logo {
    display: inline-block;
    position: static;
  }
  ul#thumbs li {
    opacity: 1!important;
}
#container h2{
  font-size: 27px;
}
.loginner{
  top: 90px;
}
}
@media(max-width:470px){
  #thumbs li{
    height: 294px;
    width: 173px;
  }

  .registration-form .month{
    width: 40%;
  }
  #terms, #policy{
    max-width: 294px;
        min-width: 303px;
  }
  .popup{
    margin-left: -151px;
  }
}

@media(max-width:412px){
  .small{
    width: 67%!important;
    font-size: 16px!important;
    padding: 12px 4px 12px!important;
  }
  .back{
    font-size: 16px!important;
  }
  input#checkbox{
    left: 47px;
  }
  #thumbs li{
    height: 231px;
    width: 127px;
  }
}
@media(max-width:376px){
  input#checkbox{
    left: 40px;
  }
}
@media(max-width:350px){
  input#checkbox{
    left: 25px;
  }
}
