/*
Theme Name: Vegas v1
Theme URI: http://evoweb.by;
Author: EVOWEB
Author URI: http://evoweb.by;
*/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: top;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1;
  display: block;
  margin: 0 auto;
  position: relative;
}
ol, ul {
  list-style: none;
}
li{
  list-style-type: none;
}
blockquote, q {
  quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
  content: '';
  content: none;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}
.clearfix:after {
  content: ".";
  display: block;
  height: 0;
  clear: both;
  visibility: hidden;
}
img {
  max-width: 100%;
}
a {
  text-decoration: none;
}
p, a, span, li, h1, h2, h3, h4, h5, h6, input, label, textarea {
  font-family: 'Open Sans', sans-serif;
  font-size: 1em;
  color: #000;
  line-height: 1.2;
}  

p.title-block {
  color:#bbbdc2;
  font-family: 'PT Sans', sans-serif;
  font-weight: 700;
  font-size: 1.75em;
  text-transform: uppercase;
}
p.title {
  font-weight: 700;
  font-size: 1.25em;
  text-transform: uppercase;
}
input[type="text"]::-webkit-input-placeholder,
textarea::-webkit-input-placeholder {
  color: #bbbdc2;
  font-size: 1em;
  font-family: 'Open Sans', sans-serif;
  font-weight: 300;
}
input[type="text"]::-moz-placeholder,
textarea::-moz-placeholder {
  color: #bbbdc2;
  font-size: 1em;
  font-family: 'Open Sans', sans-serif;
  font-weight: 300;
}
input[type="text"]:-moz-placeholder,
textarea:-moz-placeholder {
  color: #bbbdc2;
  font-size: 1em;
  font-family: 'Open Sans', sans-serif;
  font-weight: 300;
} 
input[type="text"]:-ms-input-placeholder,
textarea:-ms-input-placeholder {
  color: #bbbdc2;
  font-size: 1em;
  font-family: 'Open Sans', sans-serif;
  font-weight: 300;
}

input[type="text"],
textarea {
  border:none;
  outline: none;
  -webkit-appearance: none;
  box-sizing: border-box;
  background-color: #fff;
  padding:10px;

}
input[type="submit"],
button, 
input[type="button"],
button[type="submit"],
a.button {
  box-sizing: border-box;
  border:none;
  outline: none;
  cursor: pointer;  
  -webkit-appearance: none;

  background-color: #a0c413;
  color:#fff;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 1.125em;

  display: block;

  width: 230px;
  border-radius: 30px;
  text-align: center;
  padding:10px 0;

  transition: background-color 0.5s;
} 
input[type="submit"]:hover,
button:hover, 
input[type="button"]:hover,
button[type="submit"]:hover,
a.button:hover {
  background-color: #7f9c0c;
  transition: background-color 0.5s;
}

button.up-button {
  display: none;
  width: 42px;
  height: 42px;
  background-image: url('img/up-button.png');
  background-repeat: no-repeat;
  background-size: 100%;
  background-position: center;
  background-color: transparent;
  padding:0;
  position: fixed;
  z-index: 2;
  right: 30px;
  bottom: 30px;
}
button.up-button:hover {
  background-image: url('img/up-button-hover.png');
}
.thanks {
  position: fixed;
  top: 50%;
  left:50%;
  width: 320px;
  height: 100px;
  margin-left: -160px;
  margin-top: -50px;
  display: none;
  z-index: 3;
  text-align: center;
}
.thanks p {
  color: #bbbdc2;
  font-family: 'PT Sans', sans-serif;
  font-weight: 700;
  font-size: 1.75em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.thanks button {
  margin:0 auto;
}
.header {
  box-sizing: border-box;
  width: 100%;
  max-width: 1190px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  margin:0 auto;
  padding:20px 15px 10px;
}

.header a.logo {
  width: 100%;
  max-width: 150px;
  display: block;
}

.nav {
  display: flex;
  flex-direction: row;
  align-items: center;
}
.button-nav {
  display: none;
}
.main-nav {
  display: flex;
  flex-direction: row;
  align-items: center;

  margin-right: 45px;
}
.main-nav li {
  margin-right: 20px;
}
.main-nav li:last-child {
  margin-right: 0;
}
.main-nav li a {
  color:#989a9f;
  font-size: 1.125em;
  text-transform: uppercase;
  font-weight: 700;
  transition: color 0.5s;
}
.main-nav li a:hover {
  color:#000;
  transition: color 0.5s;
}
.lang {
  position: relative;
}
.lang li {
  display: flex;
  align-items: center;
  position: relative;
  cursor: pointer;
}
.lang li:before {
  content: '';
  width: 20px;
  height: 20px;
  display: block;
  background-image: url(img/arrow_green.svg);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  transform: rotate(270deg);
  margin-right: 3px;
}
.lang li:nth-child(2)::before {
  display: none;
}
.lang li:nth-child(2) {
  display:none;
}
.lang:hover li:nth-child(2) {
  position: absolute;
  top: 20px;
  left:23px;
  display: block;
}
.lang li a {
  color:#989a9f;
  font-size: 1.125em;
  text-transform: uppercase;
  font-weight: 700;
  transition: color 0.5s;
}
.lang li a:hover {
  color:#000;
  transition: color 0.5s;
}


.slider {
  box-sizing: border-box;
  width: 100%;
  max-width: 1190px;
  display: block;
  margin:0 auto;
}

.slide {
  margin:100px auto 0;
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
}
.slide_left {
  margin-top:0;
  padding-bottom: 95px;
}
.slide_left:nth-child(odd) {
  flex-direction: row-reverse;
}
.slide_left:last-child {
  padding-bottom: 0;
}
.slide__description {
  width: 50%;
}
.slide_left .slide__description {
  height: 415px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.slide_left:nth-child(odd) .slide__description {
  padding-left: 60px;
  box-sizing: border-box;
}
.slide__description p:first-child {
  font-size: 3.75em;  
  margin-bottom: 30px;
  line-height: 1;
}
.slide_left .slide__description p:first-child {
  font-size: 2em;
  font-weight: 700;
  text-transform:  uppercase;
  padding-top: 90px;
  line-height: 1;
}
.slide__description p {
  text-transform: uppercase;
  font-weight: 700;
  font-size: 1.25em;
  padding-right: 80px;
}
.slide_left .slide__description p {
  font-size: 1em;
  text-transform: none;
  font-weight: 300;
}
.slide__image {
  width: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.slide_left .slide__image  {
  background-image: url('img/slide-back.png');
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
  height: 415px;
}
.slide_left:nth-child(odd) .slide__image {
  background-image: url('img/slide-back-2.png');
}
.about-company-pre:before {
  content:'';
  background-image: url('img/wave.png');
  background-size: 100%;
  background-position: center top;
  background-repeat: no-repeat;
  height: 160px;
  width: 100%;
  display: block;
}
.about-company-wrapper {
  background-color: #f7f8fc;
}


.about-company {
  width: 100%;
  max-width: 1190px;
  margin:0 auto;
  display: block;
}
.about-company p {
  padding-top: 30px;
}
.about-company p.title {
  padding-top: 40px;
}
.about-company__facts {
  display: flex;
  flex-direction: row;
  width: 100%;
  margin-top: 85px;
}

.about-company__facts__block {
  width: 25%;
}
.about-company__facts__block p {
  color:#989a9f;
  text-transform: uppercase;
  font-family: 'PT Sans', sans-serif;
  font-weight: 700;
}
.about-company__facts__block p:first-child {
  font-size: 3.75em;
  color:#000;
}
.about-company__facts__block p:nth-child(2) {
  font-size: 1.25em;
  padding-right: 10px;
}

.slider-wrap {
  padding-top: 145px;
  background-color: #f7f8fc;
}


.pluses-wrap {
  background-image: url('img/wave-down.png');
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  padding-bottom: 110px;
  padding-top: 170px;
}

.pluses-wrap_small-padding {
  padding-bottom: 60px;
  padding-top: 110px;
}

.pluses {
  width: 100%;
  max-width: 1190px;
  margin:0 auto;
}
.pluses p.title-block {
  padding-bottom: 35px;
}
.pluses p.title {
  padding-bottom: 20px;
}


.pluses-row {
  width: 100%;
  max-width: 1190px;
  margin:45px auto 0;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  flex-wrap: wrap;
}

.pluses-row__block {
  width: 25%;
  margin-bottom: 75px;
}

.pluses-row__block__image {
  padding-top: 30px;
  padding-bottom:40px;
  background-image: url('img/ico-back.png');
  background-repeat: no-repeat;
  background-position: center;
}

.pluses-row__block p {
  color:#989a9f;
  font-family: 'PT Sans', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  padding-right: 30px;
}

.certs {
  width: 100%;
  max-width: 1190px;
  display: block;
  margin:70px auto 0;
}
.certs-slider {
  margin-top: 40px;
}

.certs-slide {
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

.certs-slide__description {
  padding-top: 200px;
  width: 50%;
  position: relative;
}
.certs-slide__description a {
  position: absolute;
  bottom: 20px;
  left: 0;
}
.certs-slide__description p:first-child {
  font-weight: 700;
  font-size: 1.625em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.certs-slide__description p:nth-child(2){
  margin-bottom: 120px;
  font-size: 1.25em;
  text-transform: uppercase;
  font-weight: 500;

}
.certs-slide__image {
  width: 50%;
  background-image: url('img/slide-back-3.png');
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
}
.certs-slide__image img {
  display: block;
  margin:0 auto;
}


.gallery-slider {
  width: 100%;
  max-width: 1190px;
  margin:120px auto 0;
  display: block;
}

.gallery-slide {
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}
.gallery-slide__image {
  width: 50%;
  background-image: url('img/slide-back-4.png');
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
  padding-top: 80px;
}
.gallery-slide__description {
  box-sizing: border-box;
  padding-left: 40px;
  width: 50%;
  min-height: 460px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-top: 80px;
}
.gallery-slide__description__text p:first-child {
  font-size: 1.25em;
  text-transform: uppercase;
  font-weight: 900;
  margin-bottom: 20px;
}

.subcribe-wrap {
  width: 100%;
  position: relative;
  background-color: #f7f8fc;
}
.subcribe {
  width: 100%;
  max-width: 1190px;
  display: block;
  margin:0 auto;
  background-image: url('img/bubl.png');
  background-position: 80% bottom;
  background-repeat: no-repeat;
  background-size: contain;
  padding-bottom: 20px;
}

.subcribe p.title-block {
  margin-bottom: 30px;
}
.subcribe p.title {
  margin-bottom: 20px;
}
.subcribe form {
  margin-top: 60px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}
.subcribe form input[type="text"] {
  width: 840px;
}

.contacts-wrap {
  width: 100%;
  background-color: #f7f8fc;
  padding-top: 150px;
}
.contacts-wrap_small-padding {
  padding-top: 90px;
}
.contacts {
  width: 100%;
  max-width: 1190px;
  margin:0 auto;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

.contacts__left {
  width: 50%;
}
.contacts__left p.title-block {
  margin-bottom: 30px;
}
.contacts__left p.title {
  margin-bottom: 20px;
}
.contacts__left__address p {
  font-weight: 300;
  font-size: 1.25em;
}
.contacts__right {
  width: 50%;
}

.contacts__right p.title-block {
  margin-bottom: 30px;
}
.contacts__right p {
  margin-bottom: 30px;
  font-weight: 300;
  font-size: 1.25em;
}
.contacts__right form {
  display: flex;
  flex-direction: column;
  width: 100%;
}
.contacts__right form input[type='text'] {
  margin-bottom: 10px;
}
.contacts__right form textarea {
  height: 140px;
  margin-bottom: 20px;
}

.footer-wrap {
  width: 100%;
  background-color: #f7f8fc;
}
.footer {
  width: 100%;
  max-width: 1190px;
  margin:0 auto;
  display: block;
  padding-top: 20px;
  padding-bottom: 60px;
}
.footer p {
  font-size: 1.25em;
  text-transform: uppercase;
}

.products-wrap {
  width: 100%;
  background-color: #f7f8fc;

}

.products {
  width: 100%;
  max-width: 1190px;
  display: block;
  margin:0 auto;
  padding-top: 110px;
}

.products-row {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  flex-wrap: wrap;
  width: 100%;
}

.products-row__item {
  width: 30%;
  margin-top: 60px;
  cursor: pointer;
}

.products-row__item p.product-name {
  text-transform: uppercase;
  font-weight: 700;
  color:#989a9f;
  font-size: 1.25em;
  padding-top: 30px;
  padding-right: 60px;
  transition: all 0.5s;

}

.products-row__item:hover p.product-name {
  color:#000;
  transition: all 0.5s;
}

.products-row__item p.product-description {
  display: block;
  margin-top: 10px;
  transition: all 0.5s;
  opacity: 0;
}

.products-row__item:hover p.product-description {
  opacity: 1;
  transition: all 0.5s;
}


.overlay {
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  display:none;
  z-index: 3;
  background-color: rgba(255,255,255,0.9);
}

.modal {
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  z-index: 4;
}
.modal__content {
  max-width: 960px;
  width: 100%;
  display: flex;
  flex-direction: row;
  box-sizing: border-box;
  position: relative;
  background-color: #fff;
  border:2px solid #e2e4e9;
  border-radius: 10px;
}

.modal__content__image {
  width: 45%;
}

.modal__content__text {
  width: 55%;
  padding-top: 25px;
  padding-bottom: 25px;
  padding-right: 10px;
  box-sizing: border-box;
  position: relative;
}
.modal__content__text p.name {
  text-transform: uppercase;
  font-weight: 700;
  color: #989a9f;
  font-size: 1.75em;
  margin-bottom: 30px;
  padding-right: 120px;
}

.modal__content__text p.title {
  margin-bottom: 20px;
}

.modal__content__text .text {
  max-height: 75px;
  overflow: hidden;
}

.modal__content__text .button-row {
  margin-top: 30px;
  position: absolute;
  bottom: 20px;
}
.modal__content__text .button-row p {
  font-size: 1em;
  color:#bbbdc2;
  margin-bottom: 15px;
  font-weight: 600;
}
.modal__content button.close {
  position: absolute;
  width: 29px;
  height: 20px;
  background-color: transparent;
  background-image: url(img/cross.svg);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  border-radius: 0;
  display: block;
  top: -30px;
  right: 0;
  opacity: 0.5;
  transition: opacity 0.5s;
  z-index: 1;
}
.modal__content button.close:hover {
  opacity: 1;
  transition: opacity 0.5s;
}
@media(max-width: 1210px) {
  .slider {
    padding-left: 15px;
    padding-right: 15px;
  }
  .about-company {
    box-sizing: border-box;
    padding-left: 15px;
    padding-right: 15px;
  }
  .pluses {
    box-sizing: border-box;
    padding-left: 15px;
    padding-right: 15px;
  }
  .pluses-row {
    box-sizing: border-box;
    padding-left: 15px;
    padding-right: 15px;
  }
  .certs {
    box-sizing:border-box;
    padding-left: 15px;
    padding-right: 15px;
  }
  .gallery-slider {
    box-sizing: border-box;
    padding-left: 15px;
    padding-right: 15px;
  }
  .subcribe {
    box-sizing: border-box;
    padding-left: 15px;
    padding-right: 15px;
  }
  .contacts {
    box-sizing: border-box;
    padding-left: 15px;
    padding-right: 15px;
  }
  .footer {
    box-sizing: border-box;
    padding-left: 15px;
    padding-right: 15px;
  }
  .products {
    box-sizing: border-box;
    padding-left: 15px;
    padding-right: 15px;
  }
}

@media(max-width: 1160px) {
  .slide_left .slide__description p:first-child {
    font-size: 1.5em;
  }
}

@media(max-width: 1024px) {
  .slide__description p:first-child {
    font-size: 2em;
  }
}

@media(max-width: 980px) {
  .button-nav {
    width: 29px;
    height: 20px;
    background-color: transparent;
    background-image: url('img/burger.svg');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    border-radius: 0;
    display: block;
  }
  .button-nav.active {
    background-image: url('img/cross.svg');
    z-index: 2;
    background-color: transparent;
  }
  .nav {
    display: none;
  }
  .nav.active {
    display: flex;
    width: 100%;
    justify-content: center;
    height: 100vh;
    align-items: center;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1;
    background-color: rgba(247,248,252, 0.95);
  }
  .main-nav {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-right: 0;
  }
  .main-nav li {
    margin-bottom: 25px;
    margin-right: 0;
  }
  .lang {
    margin-top: 60px;
  }
  .lang li:before {
    display: none;
  }
  .lang li:nth-child(2) {
    display: block;
    position: relative;
  }
  .lang:hover li:nth-child(2) {
    position: relative;
    top: 0;
    left: 0;
  }
  .about-company__facts {
    flex-wrap: wrap;
  }
  .about-company__facts__block {
    width: 50%;
  }
}

@media(max-width: 905px) {
  .slide {
    flex-direction: column-reverse;
  }
  .slide__image {
    width: 100%;
  }
  .slide__description {
    margin-top: 20px;
    margin-bottom:  20px;
    width: 100%;
  }
  .slide__description p:first-child {
    margin-bottom: 20px;
  }
  .slide__description p {
    padding-right: 0;
  }
  .slide_left {
    padding-bottom: 50px;
    padding-top: 30px;
  }
  .slide_left .slide__image {
    height: auto;
  }
  .slide_left .slide__description {
    height: auto;
  }
  .slide_left .slide__description p:first-child {
    padding-top: 20px;
  }
  .slide__description__top {
    margin-bottom: 20px;
  }
  .slide_left:nth-child(odd) {
    flex-direction: column-reverse;
  }
  .slide_left:nth-child(odd) .slide__description {
    padding-left: 0;
  }
  .slide_left .slide__description a.button {
    margin:0 auto;
  }
  .about-company__facts__block {
    text-align: center;
  }
  .pluses-row__block {
    width: 50%;
  }
  .pluses-row__block p {
    text-align: center;
  }
  .pluses-row__block__image img {
    margin:0 auto;
    display: block;
  }
  .gallery-slide {
    flex-direction: column-reverse;
  }
  .gallery-slide__description {
    min-height: auto;
    padding-left: 0;
    padding-top: 40px;
    width: 100%;
  }
  .gallery-slide__description a {
    margin-top: 20px;
  }
  .gallery-slide__description__text {
    margin-top: 30px;
  }
  .gallery-slide__image {
    padding-top: 25px;
    width: 100%;
  }
  .certs-slide {
    flex-direction: column-reverse;
  }
  .certs-slide__image {
    width: 100%;
  }
  .certs-slide__description {
    width: 100%;
    padding-top: 10px;
  }
  .certs-slide__description p:nth-child(2) {
    margin-bottom: 80px;
  }
  .certs-slide__description a {
    margin:0 auto 25px;
    bottom: 0;
  }
  .subcribe form {
    flex-direction: column;
  }
  .subcribe form input[type="text"] {
    width: 100%;
  }
  .subcribe form input[type="submit"] {
    margin-top: 20px;
  }
  .contacts {
    flex-direction: column-reverse;
  }
  .contacts__right {
    width: 100%;
  }
  .contacts__right form input[type="submit"] {
    margin:0 auto;
  }
  .contacts__left {
    width: 100%;
    margin-top: 80px;
    margin-bottom: 60px;
  }
}

@media(max-width: 820px) {
  .modal__content {
    flex-direction: column;
  }
  .modal__content__text {
    width: 100%;
    padding-left: 15px;
    padding-right: 15px;
  }
  .modal__content__text .button-row {
    position: relative;
    bottom: 0;
  }

  .modal__content__image {
    width: 100%;
  }

}

@media(max-width: 768px) {
  .about-company-pre {
    margin-top: 20px;
  }
  .about-company-pre:before {
    display: none;
  }
  .products-row__item {
    width: 48%;
  }
}

@media(max-width: 490px) {
  .about-company__facts__block {
    width: 100%;
  }
  .about-company__facts__block p:first-child {
    padding-top: 60px;
  }
  .pluses-row__block {
    width: 100%;
  }
}
@media(max-width: 425px) {
  .products-row__item {
    width: 100%;
    margin-top: 30px;
  }
  .modal__content {
    overflow: scroll;
  }
  .modal__content button.close {
    top: 5px;
  }
  .modal__content__text p.name {
    padding-right: 15px;
  }
  .modal__content__image {
    padding-left: 15px;
    padding-right: 15px;
    box-sizing: border-box;
  }
}

@media(max-width: 380px) {
  .slide_left .slide__description p:first-child {
    font-size: 1.25em;
  }
}

@media(max-width: 340px) {
  .slide_left .slide__description p:first-child {
    font-size: 1em;
  }
}