/*
Theme Name:    Kioby
 Description:  From rambo
 Author:       Igor Korobeinikov
 Author URI:   https://kio.by
 Theme URI:    https://kio.by
 Template:     rambo
 Version:      1.0
 
*/

@import url("../rambo/style.css");

/*******Стили для Contact form 7 вариант1********/
 #fancybox-wrap{
background:#15567E!important;
-moz-box-shadow: 0 0 6px #000;
-webkit-box-shadow: 0 0 6px #000;
box-shadow:0 0 6px #000;   
}

#fancybox-outer{
background:none!important;
}

#fancybox-outer>div, #fancybox-content,  #contact_form_pop_up{
background:none!important;
border:none!important;
}

#contact_form_pop_up{
padding: 20px 0px 0px 20px!important;
}

.wpcf7 {
/*color:#fff!important;
background:#db2723!important;
width:83%; /*ширину задаём такую, как нам нужно в случае с всплывающей формой можно вообще не задавать*/
/*padding:20px!important;/*нулевой отступ для всплывающей формы, а если форма на странице, то нужно задать 20px*/
/*overflow:hidden;
border-radius: 8px;
margin: 0 auto !important;   */
}

.wpcf7-form-control-wrap {
margin: 20px 0 20px;
}

.wpcf7 input[type="text"], .wpcf7 input[type="email"], .wpcf7 textarea{
/*border:1px solid red;
padding:4px!important;
border-radius:5px;
border:1px solid #f1f1f1;*/
font-size: 1.25rem;
    line-height: normal;
    padding: .75rem !important;
    border: 1px solid #919193;
    border-radius: 0.25rem;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    outline: 0;
    color: #2c2d30;
    width: 100%;
    max-width: 100%;
    margin: 0 0 0.5rem;
    font-variant-ligatures: none;
    -webkit-transition: box-shadow 70ms ease-out,border-color 70ms ease-out;
    -moz-transition: box-shadow 70ms ease-out,border-color 70ms ease-out;
    transition: box-shadow 70ms ease-out,border-color 70ms ease-out;
    box-shadow: none;
    height: auto;
}

.wpcf7 input[type="text"]:focus, .wpcf7 input[type="email"]:focus, .wpcf7 textarea:focus{
/*border:1px solid #fff;
-moz-box-shadow: 0 0 6px #fff;
-webkit-box-shadow: 0 0 6px #fff;
box-shadow:0 0 6px #fff;   */
border-color: #717274;
    outline-offset: 0;
    outline: 0;
    box-shadow: none;
}

.wpcf7 input[type="text"], .wpcf7 input[type="email"], .wpcf7 textarea{
width:83%!important;
display: block;
margin: 0 auto;
}

.wpcf7-submit{
background: linear-gradient(#f1f1f1, #8b8b8b), #f1f1f1!important;
color:#000!important;
text-transform:uppercase;
float:right;
margin-top:20px;
}


p input[type="submit"]{
background: #db2723 !important;
    color: #fff !important;
    transition: all 75ms ease-in-out;
    line-height: 1.2rem;
    font-weight: 900;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    text-decoration: none;
    cursor: pointer;
    text-shadow: none;
    border: none;
    border-radius: .25rem;
    box-shadow: none;
    position: relative;
    display: inline-block;
    vertical-align: bottom;
    text-align: center;
    white-space: nowrap;
    margin: 0;
    -webkit-appearance: none;
    -webkit-tap-highlight-color: transparent;
}

.wpcf7-submit:hover{
-moz-box-shadow: 0 0 6px #000;
-webkit-box-shadow: 0 0 6px #000;
box-shadow:0 0 6px #000;  
background-image: linear-gradient( #8b8b8b, #f1f1f1), #8b8b8b!important;
} 

.wpcf7 label{color:#fff}

.home-background {
background: url(/wp-content/uploads/2018/08/20-per2.png) left calc(50% - 338px) top -171px / 460px repeat, 
url(/wp-content/uploads/2018/08/19-per.png) left calc(50% - 634px) top -397px / auto auto no-repeat, 
url(/wp-content/uploads/2018/08/19-per.png) left calc(50% + 220px) top 339px / auto auto no-repeat;
}

.h2-home {
font-weight: 700;
font-size: 38px;
line-height: 40px;
margin: 0;
text-align: center;
padding: 1em;
}

.header-about{
margin: 0 auto;
    border: none;
    position: relative;
    top: 0;
    left: 0;
   /* width: 1300px; */
    min-height: 0;
    max-width: 100%;
    z-index: 1;
    display: block;
    -webkit-flex-direction: column;
    -moz-flex-direction: column;
    flex-direction: column;
    padding-left: 50px;
    padding-right: 50px;
    -webkit-border-radius: none;
    -moz-border-radius: none;
    border-radius: none;
}
.header-about-a{
margin: 0;
    position: relative;
    top: 0;
    left: 0;
    z-index: 1;
    text-align: center;
    box-sizing: border-box;
    min-height: 0;
    width: auto;
    right: 0;
    padding-bottom: 100px;
    padding-top: 100px;
}
.header-body{
box-sizing: border-box;
    display: block;
    position: relative;
    min-width: 0;
    min-height: 0;
    text-align: left;
    margin-top: 45px;
    -webkit-justify-content: normal;
    -moz-justify-content: normal;
    justify-content: normal;
}

.header-title{
border: none;
    box-sizing: border-box;
    font-size: 40px;
    margin-bottom: 5px;
    display: -webkit-flex;
    display: flex;
    pointer-events: auto;
    -webkit-justify-content: flex-start;
    -moz-justify-content: flex-start;
    justify-content: flex-start;
    color: #728c1c;
    text-decoration: none;
    font-weight: bold;
    -webkit-border-radius: none;
    -moz-border-radius: none;
    border-radius: none;
    padding-left: 0;
    -webkit-align-items: flex-start;
    -moz-align-items: flex-start;
    align-items: flex-start;
}
.header-align{
flex-grow: 1;
    max-width: 100%;
}
.header-image{
margin: -97px 0 0 74px;
    box-sizing: border-box;
    position: relative;
    display: -webkit-flex;
    display: flex;
    float: right;
    -webkit-justify-content: flex-start;
    -moz-justify-content: flex-start;
    justify-content: flex-start;
}
.header-img-cover{
border: none;
    box-sizing: border-box;
    width: 470px;
    height: auto;
    -webkit-justify-content: center;
    -moz-justify-content: center;
    justify-content: center;
    -webkit-align-items: center;
    -moz-align-items: center;
    align-items: center;
    text-align: center;
    display: -webkit-flex;
    display: flex;
    overflow: hidden;
    -webkit-border-radius: 80px 0px 0px 0px;
    -moz-border-radius: 80px 0px 0px 0px;
    border-radius: 80px 0px 0px 0px;
    -webkit-box-shadow: 0px 34px 61px rgba(0, 0, 0, 0.58);
    -moz-box-shadow: 0px 34px 61px rgba(0, 0, 0, 0.58);
    box-shadow: 0px 34px 61px rgba(0, 0, 0, 0.58);
}
@media (max-width: 1110px){
.header-img-cover{width: 369px;}
.header-image {margin: -31px 0 0 74px;}
}

@media (max-width: 813px){
.header-img-cover{width: 250px;}
.header-image {margin: 65px 71px 0 74px;}
.header-text {font-size: 13px !important;}
}

@media (max-width: 769px){
.header-img-cover{width: 210px;}
.header-image {margin: 35px 0 0 74px;}
}
@media (max-width: 415px){
.header-img-cover{width: 250px;}
.header-image {margin: 35px 38px 0 74px;}
.header-text {font-size: 16px !important;padding-right: 1px !important;}
.header-align {line-height: 1em;}
.header-about-a {padding-top: 0px;}
.home_cf_section {width: 92.13% !important;}
}
@media (max-width: 376px){
.header-image {margin: 35px 21px 0 74px;}
}
@media (max-width: 321px){
.header-image {margin: 35px -12px 0 74px;}
.header-title {font-size: 22px;}
.wpcf7 input[type="text"], .wpcf7 input[type="email"], .wpcf7 textarea {font-size: 1rem;}
}


.header-image-inner{
box-sizing: border-box;
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: column;
    -moz-flex-direction: column;
    flex-direction: column;
}
.header-text{
display: -webkit-flex;
    display: flex;
    pointer-events: auto;
    -webkit-justify-content: flex-start;
    -moz-justify-content: flex-start;
    justify-content: flex-start;
    color: #595959;
    line-height: 1.5;
    text-decoration: none;
    font-size: 17px;
    margin-top: 16px;
    padding-top: 30px;
    padding-right: 81px;
}
.home_service_section{
background-color: #f0f0f0
}
.home_cf_section{
width: 56.13%;
    float: none!important;
    margin-bottom: 2rem!important;
    margin: 6em 0 2%;
    padding-bottom: 2rem!important;
    margin-left: auto!important;
    margin-right: auto!important;
    border: 1px solid #919193;
    border-radius: .25rem;
    padding-right: 1rem!important;
}

