@charset "UTF-8";
@import url(https://fonts.googleapis.com/css?family=Ubuntu:400,500,700&subset=cyrillic);

blockquote,
body,
code,
dd,
div,
dl,
dt,
fieldset,
form,
h1,
h2,
h3,
h4,
h5,
h6,
input,
li,
p,
pre,
td,
textarea,
th,
ul {
    margin: 0;
    padding: 0
}

*,
a,
button,
div,
form,
img,
input,
li,
span,
ul {
    box-sizing: border-box
}

li,
ul {
    list-style: none
}

input,
select,
textarea {
    font-family: inherit;
    font-size: inherit;
    font-weight: inherit
}

a {
    display: block;
    color: inherit;
    text-decoration: none;
    outline: 0
}

button {
    color: inherit;
    border: none;
    cursor: pointer;
    outline: 0
}

img {
    max-width: 100%;
    height: auto;
    display: block
}

body {
    font-family: Ubuntu, sans-serif;
    font-weight: 400;
    font-size: 14px
}

.wrapper {
    max-width: 1170px;
    margin: 0 auto;
    padding: 0 10px
}

.btn {
    width: 200px;
    border-radius: 5px;
    padding: 12px;
    font-size: 20px;
    background: #e90024;
    -webkit-transition-duration: .5s;
    transition-duration: .5s;
    text-align: center
}

.btn:hover {
    background: #ff3000
}

.instruction {
    font-weight: 500;
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    align-items: center;
    color: #6e6e6e
}

.instruction span {
    border-bottom: 1px solid #6e6e6e
}

.instruction img {
    margin-left: 5px
}

#header {
    padding: 20px 0 95px;
    background: url(../img/header_bg.png) center center/cover no-repeat;
    color: #fff;
    text-align: center;
    font-size: 20px
}

#header #top {
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    justify-content: space-between
}

#header .vac-tesla {
    margin: 135px auto 0
}

#header .header-title {
    margin-top: -40px;
    font-size: 58px;
    text-shadow: 0 0 5px #000
}

#header .header-title span {
    text-transform: uppercase
}

#header .header-subtitle {
    max-width: 610px;
    margin: 0 auto;
    text-shadow: 0 0 3px #000
}

#header .header-subtitle span {
    font-weight: 700;
    text-transform: uppercase
}

#header .yandex {
    max-width: 295px;
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -webkit-align-items: center;
    align-items: center;
    margin: 15px auto 0
}

#header .yandex__rating {
    margin-top: 8px;
    font-size: 16px
}

#header .yandex__txt {
    margin-top: 12px
}

#header #button-header {
    margin: 25px auto 0
}

#tesla {
    padding: 35px 0 60px
}

#tesla .wrapper .vacinfo {
    padding: 0 15px
}

#tesla .wrapper .vacinfo__item {
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    justify-content: space-between
}

#tesla .wrapper .vacinfo__item:nth-child(1) .vacinfo__pic {
    margin-top: -72px;
    z-index: -1;
    width: 646px;
    height: 633px
}

#tesla .wrapper .vacinfo__item:nth-child(2) {
    margin-top: 30px
}

#tesla .wrapper .vacinfo__item:nth-child(2) .vacinfo__pic {
    -webkit-box-ordinal-group: 0;
    -webkit-order: -1;
    order: -1
}

#tesla .wrapper .vacinfo__item:nth-child(2) .vacinfo__txt {
    max-width: 665px
}

#tesla .wrapper .vacinfo__item:nth-child(3) {
    -webkit-box-align: center;
    -webkit-align-items: center;
    align-items: center;
    margin-top: 60px
}

#tesla .wrapper .vacinfo__item:nth-child(3) .vacinfo__txt {
    max-width: 520px
}

#tesla .wrapper .vacinfo__item:nth-child(3) .vacinfo__txt .instruction {
    margin: 25px 0 0 15px
}

#tesla .wrapper .vacinfo__item:nth-child(3) .vacinfo__pic {
    width: 461px;
    width: 532px;
    height: 446px
    height: 476px;
}

#tesla .wrapper .vacinfo__item:nth-child(3) table {
    margin-top: 25px;
    color: #6e6e6e
}

#tesla .wrapper .vacinfo__item:nth-child(3) table tbody tr:nth-child(odd) {
    background-color: #e7e5e5
}

#tesla .wrapper .vacinfo__item:nth-child(3) table tbody tr:nth-child(even) {
    background-color: #f6f6f6
}

#tesla .wrapper .vacinfo__item:nth-child(3) table td {
    padding: 8px 0 8px 20px
}

#tesla .wrapper .vacinfo__item:nth-child(3) table tr td:first-child {
    font-weight: 500
}

#tesla .wrapper .vacinfo__txt {
    max-width: 445px
}

#tesla .wrapper .vacinfo__title {
    font-size: 24px
}

#tesla .wrapper .vacinfo__subtitle {
    font-size: 22px
}

#tesla .wrapper .vacinfo .options {
    margin-top: 15px;
    padding-left: 20px
}

#tesla .wrapper .vacinfo .options__item {
    color: #6e6e6e;
    line-height: 30px
}

#tesla .wrapper .vacinfo .options__item:before {
    content: '';
    width: 8px;
    height: 8px;
    display: inline-block;
    border-radius: 30px;
    margin-right: 10px;
    background: #6e6e6e
}

#tesla .wrapper .vacinfo .descrip {
    margin-top: 15px;
    color: #6e6e6e
}

#tesla .wrapper .vacinfo .descrip__item {
    margin-bottom: 12px;
    line-height: 21px
}

#tesla .wrapper .vacinfo .descrip__item:last-child {
    margin-bottom: 0
}

#merits {
    background: #e7e7e7;
    padding: 15px 0
}

#merits .wrapper {
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    -webkit-box-pack: space-evenly;
    -webkit-justify-content: space-evenly;
    justify-content: space-evenly;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap
}

#merits .wrapper .merit {
    min-width: 222px;
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -webkit-align-items: center;
    align-items: center;
    text-align: center;
    font-weight: 500;
    margin-top: 15px;
    margin-bottom: 15px
}

#merits .wrapper .merit__txt {
    margin-top: 10px
}

#wrapper {
    background: #111
}

#footer {
    background: #111;
    color: #fff;
    padding: 32px 0 35px
}

#footer .wrapper {
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    justify-content: space-between;
    -webkit-box-align: center;
    -webkit-align-items: center;
    align-items: center
}

#footer .wrapper .contacts__txt {
    color: #6e6e6e;
    margin: 12px 0 4px
}

#footer .wrapper .contacts__phone {
    font-size: 20px
}

#footer .wrapper .socials {
    width: 200px;
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-pack: end;
    -webkit-justify-content: flex-end;
    justify-content: flex-end
}

#footer .wrapper .socials__link {
    font-size: 30px;
    margin-left: 20px;
    -webkit-transition-duration: .35s;
    transition-duration: .35s
}

#footer .wrapper .socials__link:hover {
    color: #e90024
}

#footer .wrapper .socials .instruction {
    margin-top: 10px
}

.vacinfo__pic {
	position: relative;
}

.colors {
	position: absolute;
    top: 0px;
    left: 26px;
}

.colors div {
	position: absolute;
    width: 33px;
    height: 33px;
    border-radius: 50px;
    border: 6px solid #001C30;
    cursor: pointer;
    -webkit-transition: width 0.5s, height 0.5s, top 0.5s, left 0.5s, background-color 0.5s, -webkit-transform 0.5s;
    transition: width 0.5s, height 0.5s, top 0.5s, left 0.5s, background-color 0.5s, transform 0.5s;    
}

.colors .active {
	width: 45px;
	height: 45px;
}

.colors .gray {
	top: 30px;
	/* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#e6e6e6+1,bfbdbd+100 */
	background: #e6e6e6; /* Old browsers */
	background: -moz-linear-gradient(top,  #e6e6e6 1%, #bfbdbd 100%); /* FF3.6-15 */
	background: -webkit-linear-gradient(top,  #e6e6e6 1%,#bfbdbd 100%); /* Chrome10-25,Safari5.1-6 */
	background: linear-gradient(to bottom,  #e6e6e6 1%,#bfbdbd 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#e6e6e6', endColorstr='#bfbdbd',GradientType=0 ); /* IE6-9 */
}

.colors .gray.active {
	top: 22px;
}

.colors .pink {
	left: 48px;
	/* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#d4a69e+0,c5897e+100 */
	background: #d4a69e; /* Old browsers */
	background: -moz-linear-gradient(top,  #d4a69e 0%, #c5897e 100%); /* FF3.6-15 */
	background: -webkit-linear-gradient(top,  #d4a69e 0%,#c5897e 100%); /* Chrome10-25,Safari5.1-6 */
	background: linear-gradient(to bottom,  #d4a69e 0%,#c5897e 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#d4a69e', endColorstr='#c5897e',GradientType=0 ); /* IE6-9 */
	 /* IE6-9 */
}

.colors .pink.active {
	left:37px;
}



@media screen and (max-width:1200px) {
    .wrapper {
        max-width: 960px
    }

    #tesla .wrapper .vacinfo__item {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -webkit-flex-direction: column;
        flex-direction: column;
        -webkit-box-align: center;
        -webkit-align-items: center;
        align-items: center
    }

    #tesla .wrapper .vacinfo__item:nth-child(1) .vacinfo__pic {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -webkit-flex-direction: column;
        flex-direction: column;
        -webkit-box-ordinal-group: 0;
        -webkit-order: -1;
        order: -1
    }

    #tesla .wrapper .vacinfo__item:nth-child(2) .vacinfo__pic {
        margin-top: 60px
    }

    #tesla .wrapper .vacinfo__item:nth-child(3) .vacinfo__pic {
        -webkit-box-ordinal-group: 0;
        -webkit-order: -1;
        order: -1
    }

    #tesla .wrapper .vacinfo__subtitle,
    #tesla .wrapper .vacinfo__title {
        text-align: center
    }

    #merits .wrapper .merit {
        width: 33.33%
    }
}

@media screen and (max-width:992px) {
    .wrapper {
        max-width: 720px
    }
}

@media screen and (max-width:768px) {
    .wrapper {
        max-width: 540px
    }

    #header .header-title {
        font-size: 40px
    }

    #header .header-subtitle {
        font-size: 18px
    }

    #tesla .wrapper .vacinfo__item:nth-child(1) .vacinfo__pic {
        width: 100%;
        height: auto
    }

    #footer .wrapper {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -webkit-flex-direction: column;
        flex-direction: column;
        -webkit-box-align: center;
        -webkit-align-items: center;
        align-items: center;
        text-align: center
    }

    #footer .wrapper .contacts__logoarnica img {
        margin: 0 auto
    }

    #footer .wrapper .footer-btn {
        margin-top: 15px
    }

    #footer .wrapper .socials {
        -webkit-box-pack: center;
        -webkit-justify-content: center;
        justify-content: center;
        margin-top: 18px
    }

    #footer .wrapper .socials__link {
        margin: 0 10px
    }
}

@media screen and (max-width:576px) {
    .wrapper {
        max-width: 300px
    }

    #header #top {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -webkit-flex-direction: column;
        flex-direction: column;
        -webkit-box-align: center;
        -webkit-align-items: center;
        align-items: center
    }

    #header #top .top__logotesla {
        margin-top: 20px
    }

    #header .vac-tesla {
        margin-top: 40px
    }

    #header .header-title {
        font-size: 26px;
        margin-top: 0
    }

    #header .header-subtitle {
        font-size: 16px;
        margin-top: 10px
    }

    #header .yandex__txt {
        font-size: 18px
    }

    #tesla .wrapper .vacinfo {
        padding: 0
    }

    #tesla .wrapper .vacinfo__item:nth-child(1) .vacinfo__pic {
        margin-top: -42px
    }

    #tesla .wrapper .vacinfo__item:nth-child(3) .vacinfo__txt .instruction {
        display: -webkit-box;
        display: -webkit-flex;
        display: flex;
        -webkit-box-pack: center;
        -webkit-justify-content: center;
        justify-content: center
    }

    #tesla .wrapper .vacinfo__item:nth-child(3) .vacinfo__pic {
        width: 100%;
        height: auto
    }

    #tesla .wrapper .vacinfo__item:nth-child(3) table {
        font-size: 12px
    }

    #tesla .wrapper .vacinfo__txt {
        max-width: 100%
    }

    #tesla .wrapper .vacinfo__title {
        font-size: 24px
    }

    #tesla .wrapper .vacinfo__subtitle {
        font-size: 22px
    }

    #tesla .wrapper .vacinfo .descrip,
    #tesla .wrapper .vacinfo .options {
        font-size: 14px
    }
}