﻿body {
    margin: 0;
    padding: 0;
}
#dcont {
    -moz-min-width: 1210px;
    -ms-min-width: 1210px;
    -o-min-width: 1210px;
    -webkit-min-width: 1210px;
    min-width: 1210px;
    max-width: 1920px;
}

.content {
    width: 1170px;
    margin: 0 auto;
    padding: 20px;
}
#s1 {
    background-image: url('/img/s1bg.jpg');
    background-position: top center;
    width: 100%;
    height: 94vh;
    min-height: 685px;
}
#s1cont, #s3cont, #s5cont {
    position: relative;
}
#s1Logo {
    position: absolute;
    top: 38px;
    left: 80px;
    width: 240px;
    height: 150px;
}
#s1Phone {
    position: absolute;
    top: 198px;
    left: 0;
    width: 380px;
    height:55px;
    background-color: #7cca1b;
    -ms-border-radius: 25px;
    border-radius: 25px;
    color: white;
    font-family: FregatBold;
    font-size: 40px;
}

#s1Phone a {
    display: block;
    background-image: url(/img/svg/phone.svg);
    -ms-background-size: 34px 31px;
    background-size: 34px 31px;
    background-repeat: no-repeat;
    background-position: 0 6px;
    padding-left: 50px;
    margin: 8px 8px 8px 20px;
    text-decoration: none;
    color: white;
}

#s1Text {
    position: absolute;
    top: 40vh;
    left: 0;
    width: 600px;
    height: 500px;
}
#s1h1, #s1h2 {
    font-family: FregatBold;
    font-size: 10vh;
    text-transform: uppercase;
    line-height: 10vh;
}
#s1h1 {
    color: #ffdc9c;
}
#s1h2 {
    color: #ffffff;
}
#s1h3 {
    margin-top: 30px;
    display: block;
    font-family: Fregat;
    font-size: 4vh;
    text-transform: uppercase;
    line-height: 5vh;
    color: #ffffff;
}
#s1Automat {
    position: absolute;
    right: 0;
    top: 30px;
    min-height: 600px;
    height: 90vh;
}
#s1AutomatMask {
    position: absolute;
    right: 0;
    top: 30px;
    z-index: 100;
}
#s1ff {
    position: absolute;
    top: 30vh;
    height: 70vh;
    left: 0;
    right: 0;
} 
#s1ff img, #s8ff img {
    position: absolute;
}
header {
    height: 82px;
    background-image: url(/img/svg/line.svg);
    background-repeat: no-repeat;
    background-position: bottom center;
    font-family: Fregat;
    text-transform: uppercase;
    color: #44213c;
    font-size: 50px;
    text-align: center;
}
#s2 {
    margin: 130px auto 0 auto;
}
#s2cont .item {
    vertical-align: top;
    display: inline-block;
    width: 25%;
    text-align: center;
    margin-top: 40px;
}
#s2cont .sep {
    display: inline-block;
    width: 11%;

}
#s2cont .item img {
    height: 130px;
}
#s2cont .i {
    height: 140px;
}
#s2cont .i:hover {
    -webkit-animation: shake 0.82s cubic-bezier(.36,.07,.19,.97) both;
    -moz-animation: shake 0.82s cubic-bezier(.36,.07,.19,.97) both;
    -ms-animation: shake 0.82s cubic-bezier(.36,.07,.19,.97) both;
    -o-animation: shake 0.82s cubic-bezier(.36,.07,.19,.97) both;
    animation: shake 0.82s cubic-bezier(.36,.07,.19,.97) both;
    -webkit-transform: translate3d(0, 0, 0);
    -moz-transform: translate3d(0, 0, 0);
    -ms-transform: translate3d(0, 0, 0);
    -o-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    -ms-backface-visibility: hidden;
    -o-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-perspective: 1000px;
    -moz-perspective: 1000px;
    -ms-perspective: 1000px;
    -o-perspective: 1000px;
    perspective: 1000px;
}

#s2cont .h {
    display: block;
    font-family: FregatBold;
    font-size: 32px;
    color: #44213c;
    height: 90px;
}
#s2cont .t {
    display: block;
    font-family: Fregat;
    font-size: 20px;
    color: #44213c;
    line-height: 25px;
}
#s3 {
    background-image: url('/img/s3bg.jpg');
    background-position: top center;
    width: 100%;
    height: 803px;
}
#s3h1 {
    position: absolute;
    right: 0;
    top: 100px;
    width: 680px;
}
#s3h2 {
    position: absolute;
    top:670px;
    width: 100%;
}
#s3t1, #s3t3 {
    font-family: Fregat;
    font-size: 80px;
    color: white;
    display: block;
    visibility: hidden;
    text-transform: uppercase;
}
#s3t2 {
    visibility: hidden;
    display: block;
    font-family: FregatBold;
    font-size: 90px;
    color: #fef624;
    background-image: url(/img/svg/smile.svg);
    background-position: center right ;
    background-repeat: no-repeat;
    width: 520px;
    -ms-background-size: 95px 95px;
    background-size: 95px 95px;
    text-transform: uppercase;
}

#s4 {
    background-color: #c0eaff;
    background-image: url(/img/s4bg.jpg);
    background-position: bottom center;
    background-repeat: no-repeat;
    min-height: 1100px;
}
#s4cont .item { 
    width: 23%;
    vertical-align: top;
    text-align: center;
    font-family: Fregat;
    font-size: 32px;
    color: #44213c;
    display: inline-block;
    margin: 10px;
}
#s4cont .item img {
    padding-bottom: 20px;
    -webkit-transition: -webkit-transform .8s ease-in-out;
    -moz-transition: transform .8s ease-in-out;
    -ms-transition: transform .8s ease-in-out;
    -o-transition: transform .8s ease-in-out;
    transition: transform .8s ease-in-out;
}

#s4cont .item img:hover {
    -webkit-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -ms-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
}

#plane {
    margin: 50px auto;
    visibility: hidden;
    width: 100%;
}
#s5 {
    height: 1150px;
}
#s5pht, #s5markers {
    width: 317px;
    height: 749px;
    background-image: url(/img/designs.jpg);
    background-position: 0 0;
    position: absolute;
    right: 0;
    left: 0;
    margin-left: auto;
    margin-right: auto;
    top: 260px;
}
#s5markers {
    background-image: url(/img/markers.png);
    background-position: 0 150px;
    background-repeat: no-repeat;
    z-index: 30;
}
#s5cont .item {
    display: block;
    width: 300px;
    position: absolute;
}
#s5cont .item .h {
    color: #44213c;
    font-family: FregatBold;
    font-size: 32px;
    margin-bottom: 27px;
    display: block;
}
#s5cont .item .t {
    color: #44213c;
    font-family: Fregat;
    font-size: 20px;
    line-height: 25px;
}
#s5stroke {
    position: absolute;
    top: 740px;
    right: 200px;
    background-image: url(/img/svg/stroke.svg);
    background-size: 100% 100%;
    width: 300px;
    height: 100px;
}
#s5t1 {
    top: 210px;
    left: 0;
}
#s5t2 {
    top: 30px;
    right: 0;
    left: 0;
    margin-left: auto;
    margin-right: auto;
}
#s5t3 {
    top: 210px;
    right: 0;
}
#s5t4 {
    top: 465px;
    left: 0;
}
#s5t5 {
    top: 465px;
    right: 0;
}
#s5des {
    display: block;
    top: 660px;
    right: 0;
    position: absolute;
    background-color: #443892;
    -ms-border-radius: 20px;
    border-radius: 20px;
    padding:10px;
    text-align: center;
}
#s5des .hint {
    display: block;
    font-family: Fregat;
    color: white;
    font-size:14px;
    padding: 3px;
}
.des {
    width: 57px;
    height: 57px;
    display: inline-block;
    background-image: url(/img/s5des.png);
    background-position: 0 0;
    cursor: pointer;
}
.des0 {
    background-position: 0 0;
}

.des1 {
    background-position: -57px 0;
}

.des2 {
    background-position:-114px 0;
}

.des3 {
    background-position:-171px 0;
}

.des4 {
    background-position:-228px 0;
}

#s6 {
    background-image: url('/img/s6bg.png');
    background-position: top center;
    width: 100%;
    min-height: 600px;
    background-repeat: no-repeat;
    text-align: center;
}
#s6 header {
    margin-bottom: 200px;
}
#s6 .item {
    display: inline-block;
    margin: 3px;
}
#video {
    width: 940px;
    height: 599px;
    background-image: url(/img/s6bg2.png);
    margin: 75px auto;
}
#video iframe {
    width: 814px;
    height: 500px;
    margin-top: 45px;
    margin-left: 70px;
    border: 0;
}
#s7cont .item {
    vertical-align: top;
    display: inline-block;
    width: 25%;
    text-align: center;
    margin-top: 40px;
    font-family: Fregat;
    font-size: 24px;
    color: #44213c;
}
#s7cont .item span {
    display: block;
    margin-top: 30px;
}
#s7cont .sep {
    display: inline-block;
    width: 11%;
}
#s7 img {
    -webkit-transition: -webkit-transform .8s ease-in-out;
    -moz-transition: transform .8s ease-in-out;
    -ms-transition: transform .8s ease-in-out;
    -o-transition: transform .8s ease-in-out;
    transition: transform .8s ease-in-out;
        height: 210px;
}

#s7 img:hover {
    -webkit-transform: rotateY(360deg);
    -moz-transform: rotateY(360deg);
    -ms-transform: rotateY(360deg);
    -o-transform: rotateY(360deg);
    transform: rotateY(360deg);
}

#s8 {
    background-image: url('/img/s8bg.png');
    background-position: top center;
    width: 100%;
    min-height: 724px;
    background-repeat: no-repeat;
    text-align: center;
    position: relative;
}
#s8ff {
    position: absolute;
    top: 0;
    height: 80vh;
    left: 0;
    right: 0;
} 

#s8 header {
    color: white;
    margin-top: 120px;
    margin-bottom: 50px;
}
#s8 .content img {
    margin: 6px;
}


#s9 {
    background-color: #ebeff6;
    background-image: url(/img/s9bg.jpg);
    background-position: right bottom;
    background-repeat: no-repeat;
}
#s9 input, #s9 textarea {
    border: 1px solid #ebeff6;
    -ms-border-radius: 32px;
    border-radius: 32px;
    color: #44213c;
    font-size: 24px;
    text-align: center;
    width: 574px;
    display: block;
    margin: 10px auto;
    height: 62px;
    -moz-box-shadow:inset 0px 8px 0px #d8dee9;
    -webkit-box-shadow:inset 0px 8px 0px #d8dee9;
    -ms-box-shadow:inset 0px 8px 0px #d8dee9;
    box-shadow:inset 0px 8px 0px #d8dee9;
    padding: 10px;
}

#s9 span {
    color: darkred;
    font-size: 16px;
    text-align: center;
    width: 574px;
    display: block;
    margin: 10px auto;
    padding: 10px;
}

#s9 textarea {
    text-align: left;
    padding: 15px;
    height: 250px;
}

#s9 button {
    cursor: pointer;
    background-color: #65c227;
    width: 270px;
    height: 75px;
    -ms-border-radius: 32px;
    border-radius: 32px;
    color: white;
    font-family: FregatBold;
    font-size: 30px;
    margin: 50px auto;
    text-transform: uppercase;
    display: block;
    -webkit-box-shadow:inset 0 -8px 0 1px #51a519, 0 8px 10px 1px #CCCCCC;
    -ms-box-shadow:inset 0 -8px 0 1px #51a519, 0 8px 10px 1px #CCCCCC;
    box-shadow:inset 0 -8px 0 1px #51a519, 0 8px 10px 1px #CCCCCC;
    border: 0;
}

#s9 button:active {
    background-color: #65c227;
    -webkit-box-shadow:inset 0 -1px 0 1px #51a519, 0 1px 10px 1px #CCCCCC;
    -ms-box-shadow:inset 0 -1px 0 1px #51a519, 0 1px 10px 1px #CCCCCC;
    box-shadow:inset 0 -1px 0 1px #51a519, 0 1px 10px 1px #CCCCCC;
    border: 0;
}

*:focus {
    outline: none;
}

@keyframes shake {
  10%, 90% {
    transform: translate3d(-1px, 0, 0);
  }
  
  20%, 80% {
    transform: translate3d(2px, 0, 0);
  }

  30%, 50%, 70% {
    transform: translate3d(-4px, 0, 0);
  }

  40%, 60% {
    transform: translate3d(4px, 0, 0);
  }
}
#topLine {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: white;
    height: 80px;
    z-index: 1000;
    -webkit-box-shadow: 0 1px 10px 3px #e9e9e9;
    -ms-box-shadow: 0 1px 10px 3px #e9e9e9;
    box-shadow: 0 1px 10px 3px #e9e9e9;
    visibility: hidden;
}
#topLine a {
    float: right;
    display: block;
    margin-top: 22px;
    font-family: FregatBold;
    font-size: 30px;
    color: #44213c;
    text-decoration: none;
    background-image: url(/img/svg/phone2.svg);
    background-position: left center;
    background-repeat: no-repeat;
    background-size: 30px 30px;
    padding-left: 40px;
}
#topLine .content {
    padding: 2px !important;
}
#tlLogo {
    width: 298px;
    height: 75px;
}
#mouse {
    position: absolute;
    top: 94vh;
    right: 0;
    left: 0;
    margin-top: -67px;
    margin-left: auto;
    margin-right: auto;
    width: 133px;
    height: 133px;
}
