@import url("https://fonts.googleapis.com/css?family=Lato:400,700");
a,abbr,acronym,address,applet,article,aside,audio,b,big,blockquote,body,canvas,caption,center,cite,code,dd,del,details,dfn,div,dl,dt,em,embed,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,header,hgroup,html,i,iframe,img,ins,kbd,label,legend,li,main,mark,menu,nav,object,ol,output,p,pre,q,ruby,s,samp,section,small,span,strike,strong,sub,summary,sup,table,tbody,td,tfoot,th,thead,time,tr,tt,u,ul,var,video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline
}
article,aside,details,figcaption,figure,footer,header,hgroup,main,menu,nav,section {
    display: block
}
body {
    line-height: 1
}
ol,ul {
    list-style: none
}
blockquote,q {
    quotes: none
}
blockquote:after,blockquote:before,q:after,q:before {
    content: "";
    content: none
}
table {
    border-collapse: collapse;
    border-spacing: 0
}
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0
}
.clearfix:after {
    content: "";
    display: table;
    clear: both
}
body,html {
    height: 100%
}
body {
    min-width: 320px;
    overflow-x: hidden;
    font-family: Lato,Helvetica Neue,Helvetica,Arial,sans-serif;
    font-size: 16px;
    line-height: 1.4;
    font-weight: 400;
    color: #282828;
    z-index: 0
}
h1,h2 {
    font-size: 1.875em
}
h1,h2,h3 {
    line-height: 1.3em
}
h3 {
    font-size: 1em
}
h4 {
    font-size: 1.3125em
}
h4,h5 {
    line-height: 1.3em
}
h5 {
    font-size: 1em
}
.hidden {
    display: none
}
.c--primary {
    color: #f36
}
.c--accent {
    color: #00c9f4
}
.c--red {
    color: #ea5555
}
.c--green {
    color: rgba(61,178,46,.7)
}
.tt--u {
    text-transform: uppercase
}
.fw--b {
    font-weight: 700
}
ul {
    margin: 0;
    padding: 0;
    list-style-type: none
}
.btnbox {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center
}
.btn,.btnbox {
    text-align: center
}
.btn {
    display: inline-block;
    position: relative;
    vertical-align: middle;
    outline: none;
    cursor: pointer;
    width: 100%;
    max-width: 400px;
    padding: 20px 30px;
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    line-height: 1.3;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 0 3px 3px 0;
    background: -webkit-gradient(linear,left top,left bottom,from(#ea5555),color-stop(90%,#e42828));
    background: -webkit-linear-gradient(top,#ea5555,#e42828 90%);
    background: linear-gradient(180deg,#ea5555,#e42828 90%);
    box-shadow: 0 5px 5px rgba(102,13,13,.17),inset 0 25px hsla(0,0%,100%,.1)
}
.btn:hover {
    box-shadow: none
}
.btn:active {
    background: #e42828
}
.btn--accent {
    border-radius: 3px 0 0 3px;
    background: -webkit-gradient(linear,left top,left bottom,from(#666),color-stop(90%,#4d4d4d));
    background: -webkit-linear-gradient(top,#666,#4d4d4d 90%);
    background: linear-gradient(180deg,#666,#4d4d4d 90%)
}
.btn--accent:active {
    background: #4d4d4d
}
.btn--full {
    border-radius: 3px
}
.main {
    z-index: 1
}
.container,.main {
    width: 100%;
    height: 100%;
    position: relative
}
.back {
    position: absolute;
    left: 20px;
    top: 20px;
    z-index: 20;
    background-color: #e42828;
    color: #fff;
    border: 1px solid #000;
    border-radius: 10px;
    cursor: pointer;
    font-size: 26px;
    padding: 2px 20px 7px 20px;
    text-decoration: none;
    transition: all 0.3s ease-in-out 0s;
}
.back:hover {
    background-color: #b01818;
	color: #fff;
}
.container {
    max-width: 500px;
    max-height: 700px;
    left: 50%;
    top: 50%;
    -webkit-transform: translate(-50%,-50%);
    transform: translate(-50%,-50%);
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0,0,0,.6);
    border-radius: 12px
}
.stepbox {
    display: block
}
.step,.stepbox {
    width: 100%;
    height: 100%
}
.step {
    display: none;
    position: relative;
    background-size: cover;
    background-position: 50%
}
.step:first-child {
    display: block;
    background-image: url(../img/u1.jpg)
}
.step:nth-child(2) {
    background-image: url(../img/u2.jpg)
}
.step:nth-child(3) {
    background-image: url(../img/u3.jpg)
}
.step:nth-child(4) {
    background-image: url(../img/u4.jpg)
}
.step:nth-child(5) {
    background-image: url(../img/u5.jpg)
}
.step:nth-child(6) {
    background-image: url(../img/u6.jpg)
}
.step:before {
    content: "";
    display: block;
    position: relative;
    width: 100%;
    height: 100%;
    background: -webkit-gradient(linear,left top,left bottom,color-stop(30%,transparent),color-stop(30%,#000));
    background: -webkit-linear-gradient(transparent 30%,#000);
    background: linear-gradient(transparent 30%,#000)
}
.step__inner {
    position: absolute;
    width: 100%;
    bottom: 0;
    left: 0;
    padding: 40px 40px 60px;
    color: #fff
}
.step__inner h1,.step__inner h2,.step__inner h3,.step__inner h4,.step__inner h5 {
    margin-bottom: 10px;
    text-transform: uppercase;
    text-shadow: 0 0 2px #000
}
.step__inner p {
    font-size: 1.3125em;
    margin-bottom: 40px;
    text-shadow: 0 0 2px #000
}
.pin {
    position: absolute;
    top: 0;
    right: 0;
    padding: 15px 20px
}
.pin p {
    color: #fff;
    font-size: 24px
}
.crumbs li {
    display: inline-block;
    width: 12px;
    height: 12px;
    margin-left: 2px;
    border-radius: 50%;
    border: 2px solid #fff;
    opacity: .5
}
.crumbs li.active {
    opacity: 1;
    background: #ea5555
}
.bg {
    position: fixed!important
}
.bg,.bg:after {
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    z-index: 0
}
.bg:after {
    content: "";
    display: block;
    position: fixed;
    right: 0;
    bottom: 0
}
.bg.active:after {
    background: rgba(0,0,0,.2)
}
.bg__item {
    display: none;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: 50%;
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0
}
.bg__item.active {
    display: block
}
.bg__item:first-child {
    background-image: url(../img/bg.jpg)
}
@media (min-width: 1440px) and (max-width: 1899px) {
    .container {
    max-width: 600px;
    max-height: 800px
}

}
@media (min-width: 320px) and (max-width: 767px) {
    .container {
    max-width: 100%;
    max-height: 100%;
    left: 0;
    top: 0;
    -webkit-transform: translate(0);
    transform: translate(0);
    box-shadow: none;
    border-radius: 0
}
.step:before {
    background: -webkit-gradient(linear,left top,left bottom,color-stop(10%,transparent),color-stop(10%,#000));
    background: -webkit-linear-gradient(transparent 10%,#000);
    background: linear-gradient(transparent 10%,#000)
}
.step__inner {
    padding: 20px 20px 40px
}
.step__inner h1,.step__inner h2,.step__inner h3,.step__inner h4,.step__inner h5 {
    margin-bottom: 10px
}
.step__inner p {
    font-size: 1.125em;
    margin-bottom: 20px
}

}
@media screen and (min-width: 320px) and (max-width: 991px) and (orientation: landscape) {
    html {
    -webkit-transform: rotate(-90deg);
    transform: rotate(-90deg);
    -webkit-transform-origin: left top;
    transform-origin: left top;
    width: 100vh;
    height: 100vw;
    overflow-x: hidden;
    position: absolute;
    top: 100%;
    left: 0
}

}
