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

/* 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: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
   font-size: 21px;
   padding: 8px 0
}
.cloud a {
   font-size: 16px;
   color: #000053;
   border-bottom: 1px dashed #000053;
   text-decoration: none;
   margin: 0 8px
}
.cloud a:hover,.cloud a.kab:hover {border-color:transparent;border-bottom:0}
.cloud a.kab { border-bottom: 1px solid #000053 }
.cloud span { font-size: 16px }
.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%; }

/*Развёрнутое подменю активного родителя в десктопной версии*/
#sub-menu-container {
    background: #f3f7f8;
    padding: 30px 0 10px;
    border-bottom: 2px solid #c1d2dc;
}
#sub-menu-container {
    display: none;
}
@media screen and (min-width: 992px) {
	#sub-menu-container { display: block; }
}
#sub-menu-container ul {
    columns: 4;
    column-gap: 0;
	list-style: none;
	column-rule: 1px solid #c4d2e1;
	margin-left: -30px;
}

#sub-menu-container li {
    margin-left: 20px;
}
#sub-menu-container a, #sub-menu-container li.current-menu-item span {
    display: block;
    color: #054d91;
    padding: 4px 10px 8px 33px;
    text-decoration: none;
    line-height: 1;
    position: relative;
    -webkit-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
}
#sub-menu-container li.current-menu-item span {
    font-weight: bold;
}
#sub-menu-container a:before, #sub-menu-container li.current-menu-item span:before {
    content: '';
    display: block;
    width: 0;
    height: 0;
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
    border-left: 4px solid #145eae;
    position: absolute;
    left: 16px;
    top: 50%;
    margin-top: -4px;
    -webkit-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
}

/*Облако в хэдере превращается в фиксированную полоску*/
#header-anchor{
	position: absolute;
    bottom: 0;
    height: 1px;
    width: 1px;
}
.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(/wp-content/uploads/slogo.png);
	background-repeat: no-repeat;
	background-position: 30px center;
	background-size: auto 30px;
}
.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;
}
@media (max-width:980px){
	.cloud.flying-line{text-align:left;padding-left:197px}
}
@media (max-width:780px){
	.cloud.flying-line{background-position:10px center;padding-left:185px}
	.cloud.flying-line>a:nth-child(2){margin:0px 20px}
}
@media (max-width:801px){
	.cloud.flying-line{height:50px;line-height:inherit;text-align:center;padding:0px;background-image:inherit}
	.cloud.flying-line>div{display:block;font-size:18px;line-height:normal;padding-bottom:0px;margin-bottom:-4px;padding-top:3px}
	.cloud.flying-line>a{font-size:17px}
}
@media (max-width:1259px){
	.cloud.flying-cloud{right:100px}
}
@media (max-width:767px){
	.cloud.flying-cloud{right:15px}
}
@media (max-width:479px){
	.cloud.flying-cloud{right:50%;background-size:contain}
}

/*Форма обратной связи*/
.reveal-modal {
    visibility: hidden;
    background: #fff;
    width: 300px;
    position: fixed;
    top: -100vh;
    left: 50%;
    margin-left: -150px;
	margin-top: -250px;
    z-index: 100001;
    background: #f3f7f8;
    padding: 15px 20px 20px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    -ms-border-radius: 4px;
    -o-border-radius: 4px;
    border-radius: 4px;
	transition: all 0.5s ease-out;
}
.reveal-modal-bg {
    position: fixed;
    height: 100%;
    width: 100%;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.6);
    display: none;
    top: 0;
    left: 0;
}
.reveal-modal.active {
	opacity: 1;
	visibility: visible;
	top: 50%;
}
.reveal-modal-bg.active { display: block; }
.reveal-modal .close-reveal-modal {
    display: block;
    width: 25px;
    height: 26px;
    position: absolute;
    background: url(/wp-content/uploads/close.png) no-repeat;
    top: -12px;
    right: -12px;
    font-size: 0;
	cursor: pointer;
}
.reveal-modal .close-reveal-modal:hover {
    background-position: bottom;
}
.contact-form .field-contact-name, .contact-form .field { width: 100%; }
.contact-form .field-contact-phone { width: 100%; }
@media (min-width: 768px) {
    .contact-form .field-contact-name { width: 100%; }
}
.contact-form .wpcf7-list-item { margin: 0 0.5em 0 0; }
.contact-form .wpcf7-not-valid-tip {
    font-size: 0.7em;
    margin-bottom: -0.5em;
}
.reveal-modal .wpcf7 form .wpcf7-response-output {
    margin: 0em 0 0em;
    padding: 0.5em 0.5em;
    font-size: 0.7em;
}