body {
  font-size: 16px;
  line-height: 1.2em;
}
a {
  color: #00cccc;
}
img {
  max-width: 100%;
}
h1,
h2 {
  color: #000000;
  font-weight: bold;
  text-transform: uppercase;
}
h1 {
  font-size: 41px;
}
h2 {
  font-size: 25px;
}

ul {
  margin: 0;
}

:focus {
  outline: none;
}

.hidden {
  display: none;
}
.no-scroll {
  overflow: hidden;
}
.error {
  box-shadow: inset 0 0 0 50px #fff, 0 0px 3px red !important;
}
/* flex-block */

.flex-block {
  display: -webkit-box; /* OLD - iOS 6-, Safari 3.1-6 */
  display: -moz-box; /* OLD - Firefox 19- (buggy but mostly works) */
  display: -ms-flexbox; /* TWEENER - IE 10 */
  display: -webkit-flex; /* NEW - Chrome */
  display: flex; /* NEW, Spec - Opera 12.1, Firefox 20+ */

  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: center;
}

@media (min-width: 768px) {
  .flex-block {
    flex-wrap: nowrap;
  }
}

/* header */

header {
  padding: 23px 0;
}
header .row {
  align-items: center;
}
header .row .col-md,
header .row .col-sm {
  text-align: center;
}
header .row .col-sm {
  margin-top: 15px;
}

@media (min-width: 768px) {
  header .row .col-sm {
    margin-top: 0;
  }
  header .row .col-sm:nth-child(3) {
    text-align: right;
  }
}

/* footer */

footer {
  color: white;
  padding: 12px 0;
  margin-top: 55px;
  background: #6f706f;
}
footer .row {
  align-items: center;
}
/* contacts */

.contacts {
  margin: 0;
  padding: 0;
}
footer .contacts {
  text-align: right;
}
.contacts li {
  display: block;
}
header .contacts li a {
  color: #6f6f6f;
}
footer .contacts li a {
  color: white;
}
.contacts .contacts__phone {
  margin-bottom: 4px;
}
.contacts .contacts__phone a,
.contacts .contacts__phone {
  font-size: 25px;
  font-weight: bold;
  color: #00cccc;
}
@media (min-width: 768px) {
  header .contacts {
    text-align: center;
  }
}

/* inputs and buttons */
button,
input[type='submit'] {
  border: none;
  margin: 7.5px 0;
  box-shadow: none;
}
.button {
  cursor: pointer;
  padding: 15px 23px;
  border-radius: 5px;
  display: inline-block;
  color: white !important;
  transition: 0.2s;
  background: linear-gradient(90deg, #00cccc 0%, #02dfdf 100%);
}
.button:hover {
  text-decoration: none;
  box-shadow: 0 0 15px #dadada;
}
.button:active {
  text-decoration: none;
  box-shadow: 0 0 15px #bbbbbb;
}
.button i {
  margin-right: 7px;
}

select,
textarea,
input[type='tel'],
input[type='text'],
input[type='search'] {
  width: 100%;
  padding: 13px;
  margin: 7.5px 0;
  font-size: 16px;
  border-radius: 5px;
  box-sizing: border-box;
  border: 1px solid #c4c4c4;
}
textarea,
input[type='tel'],
input[type='text'],
input[type='search'] {
  -webkit-box-shadow: inset 0 0 0 50px #fff;
}
select {
  z-index: 100;
  font-size: 16px;
  background: none;
  position: relative;
  appearance: none;
  -moz-appearance: none;
  -webkit-appearance: none;

  background: white;
  background-image: linear-gradient(45deg, transparent 50%, #8d8d8d 50%),
    linear-gradient(135deg, #8d8d8d 50%, transparent 50%);
  background-position: calc(100% - 20px) calc(1em + 2px), calc(100% - 15px) calc(1em + 2px);
  background-size: 5px 5px, 5px 5px, 1.5em 1.5em;
  background-repeat: no-repeat;
}

/* title-slider */
.slick-prev,
.slick-next {
  top: 42%;
  width: 50px;
  height: 50px;
  font-size: 0;
  z-index: 10000;
  cursor: pointer;
  background: white;
  border-radius: 50%;
  position: absolute;
  outline: 0 !important;
  display: inline-block;
}

.slick-prev {
  left: 0px;
}
.slick-next {
  right: 0px;
}

.slick-prev:before,
.slick-next:before {
  color: #6f706f;
  font-size: 25px;
  font-weight: 900;
  line-height: 2em;
  font-family: 'Font Awesome 5 Free';
}
.slick-prev:before {
  content: '\f053';
}
.slick-next:before {
  content: '\f054';
}
.slick-prev:hover:before,
.slick-next:hover:before {
  color: #00cccc;
}

@media (min-width: 768px) {
  .slick-prev:before,
  .slick-next:before {
    font-size: 25px;
  }
  .slick-prev {
    left: -23px;
  }
  .slick-next {
    right: -23px;
  }
  .slick-prev,
  .slick-next {
    top: 35%;
    width: 75px;
    height: 75px;
  }
}

.slide {
  position: relative;
}
.slide__text {
  top: 0;
  right: 0;
  height: 100%;
  padding: 0 15px;
  text-align: center;
}
.slide__text h1 {
  font-size: 25px;
  text-shadow: 0 0px 25px hsl(0deg 0% 100% / 50%);
}
@media (min-width: 500px) {
  .slide__text {
    width: 50%;
    position: absolute;

    display: -webkit-box; /* OLD - iOS 6-, Safari 3.1-6 */
    display: -moz-box; /* OLD - Firefox 19- (buggy but mostly works) */
    display: -ms-flexbox; /* TWEENER - IE 10 */
    display: -webkit-flex; /* NEW - Chrome */
    display: flex; /* NEW, Spec - Opera 12.1, Firefox 20+ */
    flex-wrap: wrap;
    flex-flow: column;
    align-items: center;
    justify-content: center;
  }
}
@media (min-width: 768px) {
  .slide__text h1 {
    font-size: 41px;
  }
  .slide__text span {
    font-size: 25px;
  }
}

/* calculator */

.calculator {
  margin: auto;
  padding: 50px;
  margin-top: 55px;
  max-width: 745px;
  border-radius: 5px;
  background: #eeeeee;
}
.calculator__third-row p {
  margin: 0;
  text-align: center;
  padding: 5.5px 15px;
}

@media (min-width: 768px) {
  .calculator select,
  .calculator input[type='tel'],
  .calculator input[type='text'],
  .calculator input[type='search'] {
    max-width: 300px;
  }
  .calculator select,
  .calculator input[name='space'] {
    max-width: 195px;
  }
}
@media (min-width: 992px) {
  .calculator {
    margin-top: -75px;
  }
  .calculator input[type='text'] {
    margin-right: auto;
  }
  .calculator input[name='space'] {
    margin: auto;
  }
}

/* prices */

.prices {
  margin-top: 55px;
  text-align: center;
}
.prices__cleaning {
  display: -webkit-box !important; /* OLD - iOS 6-, Safari 3.1-6 */
  display: -moz-box !important; /* OLD - Firefox 19- (buggy but mostly works) */
  display: -ms-flexbox !important; /* TWEENER - IE 10 */
  display: -webkit-flex !important; /* NEW - Chrome */
  display: flex !important; /* NEW, Spec - Opera 12.1, Firefox 20+ */

  flex-flow: column;
  align-items: center;
  justify-content: center;

  font-weight: 600;
  text-align: center;
}
.prices__cleaning img {
  margin: 15px 0 13px;
}
.prices__cleaning span {
  color: #00cccc;
  display: block;
  margin-bottom: 15px;
}
/* ymaps */

@media (min-width: 992px) {
  .col-lg-6 > ymaps {
    height: 395px !important;
  }
}
@media (min-width: 1200px) {
  .col-lg-6 > ymaps {
    height: 346px !important;
  }
}

/* contact form */

.contact-form {
  margin-top: 55px;
  border-radius: 5px;
  padding: 47.5px 30px;

  background: #eeeeee;
  background-image: url(../img/form-background.png);
  background-repeat: no-repeat;
  background-position: top center;
}
.contact-form .flex-block > input:first-child {
  margin-right: auto;
}
.contact-form input[type='text'],
.contact-form input[type='submit'] {
  width: 100%;
}

@media (min-width: 768px) {
  .contact-form {
    background-size: cover;
  }
  .contact-form .flex-block {
    flex-wrap: nowrap;
  }
  .contact-form input[type='tel'],
  .contact-form input[type='text'] {
    max-width: 300px;
  }
}

@media (min-width: 992px) {
  .contact-form {
    margin-top: 0;
    background-size: auto;
  }
  .contact-form input[type='tel'],
  .contact-form input[type='text'] {
    max-width: 190px;
  }
}
@media (min-width: 1200px) {
  .contact-form input[type='tel'],
  .contact-form input[type='text'] {
    max-width: 228px;
  }
}

/* social menu */
.social li {
  margin: 0 10px;
  display: inline-block;
}
.social li i {
  color: #00cccc;
  font-size: 25px;
}

/* contact */
#dark-background {
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100vh;
  z-index: 100000;
  position: fixed;
  overflow-y: auto;
  background: rgba(0, 0, 0, 0.7);
}
#close-button {
  top: 25px;
  right: 21px;
  width: 22px;
  height: 22px;
  opacity: 0.5;
  z-index: 1002;
  display: block;
  cursor: pointer;
  position: absolute;
  background: url(../img/close-button.png);
  background-size: cover;
}

#order-form {
  left: 0;
  right: 0;
  top: 20%;
  width: 90%;
  padding: 50px;
  margin: 0 auto;
  z-index: 10000;
  max-width: 745px;
  overflow-y: auto;
  border-radius: 5px;
  position: relative;
  margin-bottom: 100px;
  background: #eeeeee;
}
@media (min-width: 768px) {
  #order-form input {
    max-width: 300px;
  }
  #order-form input[type='text'] {
    margin-right: auto;
  }
  #order-form .flex-block p {
    margin: 0;
    text-align: center;
    padding: 5.5px 15px;
  }
}
