﻿/*
Theme Name: Reboot Child
Theme URI: https://wpshop.ru/themes/reboot
Author: WPShop.biz
Author URI: http://wpshop.biz/
Template: reboot
Version: 1.0.1
*/

/* Below you can add your CSS styles */
/* Ниже Вы можете добавить свои CSS стили */

#site-navigation-mobile {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.mobile-menu-placeholder.open #site-navigation-mobile {
  max-height: 2300px;
}

#masthead {
  box-shadow: none;
}
.site-header {
  background-size: cover;
  position: relative;
  height: 235px;
}
@media (max-width: 767px) {
  .site-header {
    background-size: auto;
  }
}
@media screen and (min-width: 992px) {
  #masthead:before {
    content: "";
    display: block;
    width: 337px;
    height: 235px;
    position: absolute;
    left: 0px;
    top: 0px;
    z-index: 1;
    background: url(../reboot_child/assets/images/header_left.png) no-repeat;
  }
  #masthead {
    margin-bottom: 0;
  }
}
@media screen and (min-width: 769px) {
  #masthead::after {
    content: "";
    display: block;
    width: 715px;
    height: 235px;
    position: absolute;
    right: 0px;
    top: 0px;
    z-index: 0;
    background: url(../reboot_child/assets/images/header_right.png) center
      bottom no-repeat;
  }
}
#masthead .site-header-inner:after {
  content: ".";
  display: block;
  height: 0;
  clear: both;
  visibility: hidden;
}
.site-content-inner {
  width: 100%;
}

/* плавающая верхняя строка */
.cloud {
  background: url(../reboot_child/assets/images/cloud.png) no-repeat;
  background-size: cover;
  width: 341px;
  height: 97px;
  position: absolute;
  right: 210px;
  top: 0;
  z-index: 2;
  text-align: center;
  line-height: 1;
}
.cloud div {
  color: #000053;
  font-family: "SegoeUI-Semilight";
  font-size: 24px;
  padding: 6px 0;
}
.cloud a {
  font-size: 18px;
  color: #000053;
  border-bottom: 1px dashed #000053;
  text-decoration: none;
  margin: 0 8px;
}
.cloud a:hover {
  border-color: transparent;
}
.cloud a.kab {
  border-bottom: 1px solid #000053;
}
.cloud span {
  font-size: 16px;
}
.cloud.flying-cloud {
  background: url(../reboot_child/assets/images/clouds.png) no-repeat;
  position: fixed;
  right: 265px;
  z-index: 99;
}

.cloud.flying-line {
  position: fixed;
  width: 100%;
  height: 35px;
  background-color: rgba(255, 255, 255, 1);
  left: 0px;
  z-index: 99;
  box-shadow: 0px 0px 2px 0px #000;
  background-image: url(../reboot_child/assets/images/slogo.png);
  background-repeat: no-repeat;
  background-position: 30px center;
  background-size: auto 30px;
}
.cloud.flying-line:hover {
  background-color: #fff;
}
.cloud.flying-line > div {
  display: inline;
  font-size: 20px;
  line-height: 35px;
}
.cloud.flying-line > a {
  border-bottom: none;
}
.cloud.flying-line > a:nth-child(2) {
  margin: 0px 20px;
}

.kids {
  background: url(../reboot_child/assets/images/kids.png) no-repeat;
  background-size: cover;
  width: 382px;
  height: 161px;
  position: absolute;
  top: 62px;
  right: 306px;
  z-index: 3;
}
.site-branding {
  margin-left: 4rem;
  z-index: 2;
}
@media screen and (max-width: 1200px) {
  .site-branding {
    margin-left: 0;
  }
  .site-logotype img {
    height: 235px;
    width: 555px;
  }
  .cloud {
    right: 80px;
  }
  .kids {
    right: 200px;
  }
}
@media screen and (max-width: 991px) {
  #masthead {
    margin-bottom: 60px;
  }
  .site-branding {
    margin-left: -18rem;
  }
  .cloud {
    right: 80px;
  }
  .kids {
    right: 196px;
  }
}
/*Починка бага для ширины 991px*/
@media screen and (device-width: 991px) {
  #masthead {
    margin-bottom: 60px;
  }
  .site-branding {
    margin-left: -18rem;
  }
  .cloud {
    right: 80px;
  }
  .kids {
    right: 196px;
  }
}
.mobile-menu-placeholder,
.main-navigation + .mobile-menu-placeholder.open {
  clear: left !important;
  margin-top: 0;
}
.mobile-menu-placeholder #site-navigation-mobile {
  top: -5px;
  padding-top: 5px;
}
.mobile-menu-placeholder + .site-content {
  margin-top: 0;
}
.mobile-menu-placeholder.open + .site-content {
  margin-top: -30px;
}
@media screen and (max-width: 767px) {
  #masthead {
    margin-bottom: 60px;
  }
  .site-branding {
    margin-left: -26rem;
  }
  .cloud {
    right: 15px;
  }
  .kids {
    right: 80px;
  }
}
/*Починка бага для ширины 767px*/
@media screen and (device-width: 767px) {
  #masthead {
    margin-bottom: 60px;
  }
  .site-branding {
    margin-left: -26rem;
  }
  .cloud {
    right: 15px;
  }
  .kids {
    right: 80px;
  }
}
@media screen and (max-width: 599px) {
  #masthead {
    margin-bottom: 60px;
  }
  .site-branding {
    margin-left: -20rem;
  }
  .cloud {
    width: 290px;
    height: 82px;
  }
  .cloud div {
    font-size: 17px;
  }
  .cloud span {
    font-size: 14px;
  }
  .cloud a {
    font-size: 13px;
  }
  .kids {
    right: 20px;
    top: 85px;
    width: 305px;
    height: 133px;
  }
}
@media screen and (max-width: 480px) {
  .site-logotype {
    visibility: hidden;
    height: 210px;
  }
  #masthead {
    height: 225px;
    margin-bottom: 45px;
  }
  .cloud {
    right: 50%;
    margin-right: -145px;
  }
  .kids {
    right: 50%;
    margin-right: -145px;
    top: 70px;
  }
  .kids:after {
    content: "";
    display: block;
    background: url(../reboot_child/assets/images/slogo.png) no-repeat;
    background-size: cover;
    width: 260px;
    height: 48px;
    position: absolute;
    top: 85px;
    right: 0;
    z-index: 3;
  }
}

/*Строка мобильного меню*/
.blue-mobile-string {
  background: #145eae;
  height: 60px;
  position: relative;
  z-index: 2;
  display: none;
  z-index: 5;
}

.nav_logo {
  display: none;
  color: #fff;
  position: relative;
  font-size: 1.4em;
  float: left;
  margin-top: 10px;
}
.nav_logo span {
  vertical-align: middle;
  color: #fff;
  padding: 14px 0;
}
.humburger {
  width: 35px;
  height: 35px;
  float: right;
  position: relative;
  top: 0;
  left: 0;
  margin-top: 30px;
}
.humburger:before {
  top: -12px;
  left: -17px;
  bottom: -12px;
  right: -10px;
}
.humburger span {
  height: 3px;
  background: #fff;
  border-radius: 2px;
  margin-left: -20px;
}
.humburger span:first-child {
  top: 4px;
}
.humburger span:last-child {
  bottom: 4px;
}
.humburger.open span:first-child {
  -webkit-transform: translateY(7px) rotate(45deg) translateZ(0);
  transform: translateY(12px) rotate(45deg) translateZ(0);
}
.humburger.open span:last-child {
  -webkit-transform: translateY(-7px) rotate(-45deg) translateZ(0);
  transform: translateY(-12px) rotate(-45deg) translateZ(0);
}
@media screen and (max-width: 991px) {
  .blue-mobile-string {
    display: block;
    margin-bottom: -30px;
  }
  .nav_logo {
    display: block;
  }
}
/*Починка бага для ширины 991px*/
@media screen and (device-width: 991px) {
  .blue-mobile-string {
    display: block;
    margin-bottom: -30px;
  }
  .nav_logo {
    display: block;
  }
}
#site-navigation-mobile {
  width: 100%;
}
.header-search {
  float: right;
  width: 40px;
  height: 40px;
  margin-top: 10px;
  margin-right: 50px;
}
.blue-mobile-string .search-icon {
  font-size: 2.1em;
  padding: 12px 13px 14px;
}
.blue-mobile-string .search-icon::before {
  color: #fff;
}
.search-screen {
  padding-top: 3vh;
  padding-bottom: 3vh;
}
.search-screen .search-form {
  font-size: 1.5em;
}
@media screen and (max-width: 767px) {
  .blue-mobile-string {
    height: 60px;
  }
  .blue-mobile-string .container {
    padding-left: 20px;
    padding-right: 20px;
  }
  .nav_logo {
    font-size: 1.2em;
  }
  .humburger {
    margin-top: 10px;
  }
  .header-search {
    position: relative;
  }
  .header-search {
    margin-top: 4px;
    margin-right: 20px;
  }
}
/*Починка бага для ширины 767px*/
@media screen and (device-width: 767px) {
  .blue-mobile-string {
    height: 60px;
  }
  .blue-mobile-string .container {
    padding-left: 20px;
    padding-right: 20px;
  }
  .nav_logo {
    font-size: 1.2em;
  }
  .humburger {
    margin-top: 10px;
  }
  .header-search {
    position: relative;
  }
  .header-search {
    margin-top: 4px;
    margin-right: 20px;
    top: 5px;
    right: 20px;
  }
}
@media screen and (max-width: 500px) {
  .nav_logo {
    font-size: 1em;
    margin-top: 17px;
  }
  .nav_logo span {
    padding: 19px 0;
  }
}
@media screen and (max-width: 420px) {
  .nav_logo {
    font-size: 0.8em;
    margin-top: 7px;
    line-height: 1em;
    width: 150px;
  }
}
.main-navigation + .mobile-menu-placeholder.open,
.site-header + .mobile-menu-placeholder.open {
  clear: both;
}
#site-navigation-mobile #menu-item-321.current_page_item {
  margin-bottom: 20px;
}

/*иконка поиска в главном меню*/
.mobile-menu-placeholder .header-search {
  display: none;
}
#site-navigation .search-icon:before {
  display: none;
}
#site-navigation .search-icon i::before {
  color: #fff;
  content: "🔍";
  font-style: normal;
  line-height: 1.6em;
  font-size: 1.6em;
  margin-top: -13px;
  margin-bottom: -13px;
  display: block;
}
#site-navigation .header-search {
  float: none;
  width: auto;
  height: auto;
  margin: 0;
}
@media screen and (max-width: 1200px) {
  #site-navigation .search-icon {
    padding: 20px 4px;
  }
}

/*Выпадащее меню в десктопной версии в 2 колонки*/
@media screen and (min-width: 992px) {
  #site-navigation .menu-item-93 ul.sub-menu {
    columns: 3;
    column-gap: 0;
    background-color: #145eae;
  }
  #site-navigation .menu-item-275 ul.sub-menu {
    columns: 2;
    column-gap: 0;
    background-color: #145eae;
  }
}

.main-navigation ul li > span {
  height: 100%;
}

/* ===============================
   Стили для всплывающей формы
================================ */

/* Основание формы */

#fancybox-outer {
  background: #f3f7f8;
  padding: 15px 20px 20px;
  border-radius: 4px;
}
#fancybox-content {
  border-width: 0 !important;
}
#contact-form_question,
#contact-form_preorder {
  position: relative;
  background: #f3f7f8;
}
#contact-form_question p {
  margin-top: 0;
  margin-bottom: 0;
}

/* Заголовок */
#contact-form_question h4,
#contact-form_preorder h4 {
  text-align: center;
  display: block;
  font-size: 24px;
  text-transform: uppercase;
  padding-bottom: 8px;
  margin: 0;
}
/* Поля формы */
#contact-form_question input[type="text"],
#contact-form_question input[type="email"],
#contact-form_question input[type="tel"],
#contact-form_question textarea,
#contact-form_preorder input[type="text"],
#contact-form_preorder input[type="email"],
#contact-form_preorder input[type="tel"],
#contact-form_preorder textarea {
  display: block;
  font-family: "PT Sans", sans-serif;
  font-size: 19px;
  padding: 0 10px;
  color: #000;
  width: 100%;
  height: 40px;
  background: #fff;
  border: 2px solid #1883c8;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  -ms-border-radius: 3px;
  -o-border-radius: 3px;
  border-radius: 3px;
}

#contact-form_question input:focus,
#contact-form_question textarea:focus,
#contact-form_preorder input:focus,
#contact-form_preorder textarea:focus {
  outline: none;
  border-color: #7fba00;
}

#contact-form_question textarea,
#contact-form_preorder textarea {
  display: block;
  font-family: "PT Sans", sans-serif;
  font-size: 19px;
  padding: 5px 10px;
  color: #000;
  width: 100%;
  height: 120px;
  background: #fff;
  border: 2px solid #1883c8;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  -ms-border-radius: 3px;
  -o-border-radius: 3px;
  border-radius: 3px;
  margin-bottom: 4px;
  resize: none;
}
/* ===============================
   Кнопка Отправить
================================ */

#contact-form_question input[type="submit"],
#contact-form_preorder input[type="submit"] {
  position: relative;
  display: block;
  margin: 0 auto;
  margin-top: 8px !important;
  padding: 5px 15px;
  font-family: "PT Sans", sans-serif;
  font-size: 25px;
  color: #fff;
  text-transform: uppercase;
  background: #1883c8;
  text-decoration: none;
  height: 41px;
  text-align: left;
  line-height: normal;
  border: none;
  cursor: pointer;
}

#contact-form_question input[type="submit"]:hover,
#contact-form_preorder input[type="submit"]:hover {
  background: #145eae;
  -webkit-transition: all 0.2s ease-in-out;
  -o-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
}
#contact-form_question .wpcf7-spinner,
#contact-form_preorder .wpcf7-spinner {
  height: 0;
}

/* checkbox */
.wpcf7-list-item-label {
  font-size: 13px;
}
.wpcf7-list-item {
  margin: 0 !important;
}
