/*   
Theme Name: Regel
Version: 1.0
Description: Тема для Regel
Author: Орехов Артём
Author URI: https://vk.com/orekhovart
*/
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, 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: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
	display: block;
}

body {
	font-family: 'Montserrat', sans-serif;
	font-size:16px;
	line-height:1.2;
	color:white;
	width: 100%;
	background:black
}

ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}
/* End of Eric Meyer's CSS Reset */

::-webkit-scrollbar-button{width:6px;height:0px} 
::-webkit-scrollbar-track{background-color:rgba(0,0,0,0.9)} 
::-webkit-scrollbar-thumb{background:#F6A707;border:none} 
::-webkit-resizer{width:2px;height:0px}
::-webkit-scrollbar{width:12px}

article, aside, details, figcaption, figure, footer, header, hgroup, main, nav, section, summary {
	display: block;
}
p{margin:0 0 20px}

input, button, select, textarea, a {
    outline: 0 !important;
	-webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}
* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
.btn,
.sent p,
.sent .flex-2,
.asd{
	-webkit-transition-duration: 0.5s;
    -o-transition-duration: 0.5s;
    -moz-transition-duration: 0.5s;
    transition-duration: 0.5s;
}

.header,
body:before,
.aef,
h1,
.infografika,
.zayavka,
.footer{
	opacity:0;
	-webkit-transition-duration: 0.75s;
    -o-transition-duration: 0.75s;
    -moz-transition-duration: 0.75s;
    transition-duration: 0.75s;
    -webkit-transition-property: opacity;
    -moz-transition-property: opacity;
    -o-transition-property: opacity;
    transition-property: opacity;
}
body.visible:before,
.visible{
	opacity:1!important
}

.medalion{
	position:absolute;
	top:0;
	right:15%;
	text-align:center;
	background:#DC1400;
	color:white;
	font-size:12px;
	font-weight:bold;
	width:140px;
	height:140px;
	-webkit-border-radius: 50%;
	-moz-border-radius: 50%;
	border-radius: 50%;
	display:flex;
	flex-wrap:wrap;
	-webkit-box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 0.75);
	-moz-box-shadow:    0px 0px 15px 0px rgba(0, 0, 0, 0.75);
	box-shadow:         0px 0px 15px 0px rgba(0, 0, 0, 0.75);
}
.medalion:before{
	position:absolute;
	content:'';
	height:124px;
	width:124px;
	border:3px solid white;
	-webkit-border-radius: 50%;
	-moz-border-radius: 50%;
	border-radius: 50%;
	top:50%;
	left:50%;
	transform:translate(-50%,-50%);
}
.medalion span{
	display:inline-block;
	margin:auto;
	top: 8px;
    position: relative;
}
.medalion img{
	margin-top:5px;
	vertical-align:bottom;
	width:70px!important;
	height:auto
}

button{
  border: none;
  background-color: transparent;
  padding: 0;
  font-family: inherit;
}
img{max-width:100%;height:auto}

a{
  display:inline-block;
  text-decoration: none;
}

.clear{clear:both}
.thumb-wrap {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    margin-bottom: 20px;
}
.thumb-wrap iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.wrapper{
	width: 1200px;
	margin: 0 auto;
	padding:0 15px
}
.first_screen{
	padding-top:150px;
	padding-bottom:100px;
	text-align:center;
	color:white;
}
body:before{
	width:100%;
	height:100vh;
	position:fixed;
	top:0;
	left:0;
	right:0;
	bottom:0;
	content:'';
	z-index:-1;
	background-image:url(img/fon2.jpg);
	background-position:center;
	background-size:cover;
}
/* body:after{ */
	/* width:100%; */
	/* height:100vh; */
	/* position:fixed; */
	/* top:0; */
	/* left:0; */
	/* right:0; */
	/* bottom:0; */
	/* content:''; */
	/* z-index:-1; */
	/* background-image:url(img/new-back.svg); */
	/* background-position:center; */
	/* background-size:10%; */
	/* opacity:0.05 */
/* } */
.aef{
	position:relative;
	background-image:url(img/fire.png);
	background-position:center;
	background-size:contain;
	background-repeat:no-repeat
}
h1{
	font-family: 'Oswald', sans-serif;
	text-align:center;
	font-weight:bold;
	font-size:70px;
	text-transform:uppercase
}
h1 span{
	display:block;
	font-size:40px;
	text-transform:none;
	font-weight:400
}
.header{
	color:black;
	position:fixed;
	top:0;
	left:0;
	width:100%;
	z-index:999;
}
.asd{
	position:relative;
	overflow:hidden;
	margin-top:20px;
	width:100%;
	height:60px;
	-webkit-box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.35);
	-moz-box-shadow:    0px 0px 5px 0px rgba(0, 0, 0, 0.35);
	box-shadow:         0px 0px 5px 0px rgba(0, 0, 0, 0.35);
	background: rgba(0,0,0,0.8)
}
.asd:before{
	z-index:-1;
	position: absolute;
    content: '';
    top: 0px;
    left: 0;
    right: 0;
    bottom:0;
    backdrop-filter: blur(5px);
}
.asd:after {
    content: "";
    display: block;
    width: 50px;
    height: 300px;
    margin-left: 60px;
    background: #fff;
    background: -moz-linear-gradient(90deg,rgba(255,255,255,0) 0%,rgba(255,255,255,.3) 50%,rgba(255,255,255,0) 100%);
    background: -webkit-linear-gradient(90deg,rgba(255,255,255,0) 0%,rgba(255,255,255,.3) 50%,rgba(255,255,255,0) 100%);
    background: linear-gradient(90deg,rgba(255,255,255,0) 0%,rgba(255,255,255,.3) 50%,rgba(255,255,255,0) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#ffffff",endColorstr="#ffffff",GradientType=1);
    position: absolute;
    left: -40px;
    top: -150px;
    z-index: 1;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
    -webkit-transition: all .1s;
    transition: all .1s;
    -webkit-animation-name: slideme;
    animation-name: slideme;
    -webkit-animation-duration: 4s;
    animation-duration: 4s;
    -webkit-animation-timing-function: ease-in-out;
    animation-timing-function: ease-in-out;
    -webkit-animation-iteration-count: infinite;
    animation-iteration-count: infinite;
}
.header.fixed .asd{
	margin-top:0;
}

@-webkit-keyframes slideme{
	0%{
		left:-30px;
		margin-left:0
	}
	30%{
		left:110%;
		margin-left:80px
	}
	100%{
		left:110%;
		margin-left:80px
	}
}


.flex{
	height:60px;
	display:flex;
	flex-wrap:wrap;
	margin:0 -15px;
	align-items:center;
}
.w50{
	width:50%;
	padding:0 15px;
}
.descriptor{
	color:#F6A707;
	max-width:400px;
	font-size:18px;
	font-weight:bold;
	margin-bottom:0;
	line-height:1;
	.text-shadow: 0px 0px 10px rgb(255 255 255);
}

.telephone{
	padding-left:40px;
	position:relative;
	font-size:25px;
	color:#F6A707;
	text-decoration:none;
	font-weight:bold;
	line-height:1;
	.text-shadow: 0px 0px 10px rgb(255 255 255);
}
.telephone:before{
	position:absolute;
	content:'';
	width:25px;
	height:100%;
	top:0;
	left:0;
	background-image:url(img/phone.svg);
	background-position:center left;
	background-repeat:no-repeat;
	background-size:contain
}
.taright{
	text-align:right
}
.logo{
	position:absolute;
	z-index:99;
	top:0;
	left:50%;
	transform:translateX(-50%);
	width:300px;
	height:100px;
	background-image:url(img/header.svg);
	background-position:top center;
	background-repeat:no-repeat;
	background-size:contain
}

.infografika{
	position:relative;
	padding:120px 0 40px;
}
.infografika:before{
	position:absolute;
	content:'';
	top:0;
	left:0;
	right:0;
	bottom:0;
	backdrop-filter: blur(5px);
}
.w15{
	width:20%;
	padding:15px;
	padding-top:60px;
	position:relative;
}
.w15 svg{
	position:absolute;
	top:-40px;
	left:50%;
	transform:translateX(-50%);
	height:80px;
	width:auto;
}
.w15 p{
	font-size:18px;
	margin-bottom:0;
	color:white;
	text-align:center;
}


.infografika .flex{
	height:auto;
	align-items:baseline
}
.werg{
	margin-top:100px;
	font-size: 45px;
	font-family: 'Oswald', sans-serif;
	font-weight:bold;
	margin-bottom:10px;
}
.wergw{
	font-size:23px;
}
.zayavka{
	margin:10px auto 130px;
	position:relative;
	padding:20px;
}
.zayavka:before{
	position:absolute;
	top:0;
	left:0;
	right:0;
	bottom:0;
	content:'';
	backdrop-filter: blur(5px);
	z-index:-1;
}
.zayavka:after{
	position:absolute;
	top:50%;
	transform:translateY(-50%) rotate(5deg);
	right:50px;
	content:'';
	height:600px;
	width:450px;
	background-image:url(img/tablet.png);
	background-size:contain;
	background-repeat:no-repeat;
	background-position:center right;
}
.zayavka-content{
	color:white;
	border:2px solid #F6A707;
	padding:30px;
	padding-right:480px
}
.zag{
	font-family: 'Oswald', sans-serif;
	font-weight:bold;
	font-size:25px;
	color:#F6A707;
}
.sad{
	font-weight:bold;
	color:#F6A707;
	text-decoration:none
}

.flex-2{
	padding-top:15px;
	display:flex;
	flex-wrap:wrap;
	margin:0 -5px;
}
.w-50{
	padding:0 5px;
	width:50%;
}
.w-100{
	padding:0 5px;
	width:100%;
}
.w-50 span,
.w-100 span{
	position:relative;
	display:block
}
.zayavka-content input{
	width: 100%;
    padding: 15px 15px;
    color: white;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    background: rgba(0,0,0,0.3);
    font-size: 16px;
    font-family: 'Montserrat', sans-serif;
}
.zayavka-content input.superbtn{
	position:relative;
	width:auto;
	cursor:pointer;
	border:none;
	font-weight:bold;
    padding: 20px 65px;
	color:#F6A707;
	background: black;
	border:1px solid #F6A707;
	margin-bottom:0;
}
.zayavka-content input.superbtn:hover{
	color:black;
	background: #F6A707;
}
/* .zayavka-content input.superbtn:before{ */
	/* position:absolute; */
	/* content:''; */
	/* top:50%; */
	/* left:50%; */
	/* width: -moz-calc(100% - 10px); */
	/* width: -webkit-calc(100% - 10px); */
	/* width: calc(100% - 10px); */
	/* height: -moz-calc(100% - 10px); */
	/* height: -webkit-calc(100% - 10px); */
	/* height: calc(100% - 10px); */
	/* border:1px solid #F6A707; */
	/* transform:translate(-50%,-50%); */
/* } */
.footer{
	position:relative;
	background:rgba(0,0,0,.6);
	padding:70px 0 40px;
	text-align:center;
	color:white;
	font-size:21px;
}
.footer:before{
	z-index:-1;
	position: absolute;
    content: '';
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    backdrop-filter: blur(5px);
}
.footer svg{
	height:70px;
	width:auto;
	margin-bottom:30px
}
.telephone-footer{
	color: #F6A707;
	text-decoration:none;
	font-weight:bold
}
.wpcf7-not-valid-tip{
	color:#dc1400;
	font-size:13px;
}
.wpcf7-not-valid-tip {
    position: absolute!important;
    top: -15px;
    left:0;
    background: #dc1400;
    font-size: 13px;
    padding: 4px 7px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    color: white;
    animation: zatuhni;
    animation-duration: 3s;
    opacity: 0;
}
.wpcf7-not-valid-tip:after{
	position: absolute;
    content: '';
    bottom: -7px;
    left: 7px;
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 7px solid #dc1400;
}
@keyframes zatuhni {
      0% {
        opacity:1;
      }
      50% {
        opacity:1;
      }
      90% {
        opacity:1;
      }
      100% {
        opacity:0;
      }
    }
.wpcf7-response-output{
	display:none
}	
.sent .wpcf7-response-output{
	display:block;
	text-align:center;
	font-size:21px
}	
form p,
form .flex-2{
	overflow:hidden;
	max-height:500px;
}
.sent p,
.sent .flex-2{
	margin:0;
	max-height:0;
}
.screen-reader-response{
	display:none!important
}
.sent{
	position:relative;
	padding-top:200px;
	padding-bottom:100px;
}
.sent:before{
	position:absolute;
	content:'';
	width:80px;
	height:80px;
	top:100px;
	left:50%;
	transform:translateX(-50%);
	background-image:url(img/ok-logo.svg);
	background-position:center top;
	background-repeat:no-repeat;
	background-size:contain
}
.wpcf7-mail-sent-ok{
	font-size:17px;
	text-align:center;
	padding-bottom:25px;
}
form p:last-of-type{
	margin:0
}
.little{
	font-size:14px
}




@media (max-width: 1220px){
.wrapper{
	width: 990px
}
.descriptor{
	font-size:14px
}
.first_screen{
	padding-top:100px;
    padding-bottom: 70px;
} 
.zayavka:after{
	right:15px
}
.zayavka{
	margin:10px auto 80px
}
.medalion{
	right:9%
}
.werg{
	margin-top:70px
}
}

@media (max-width: 1000px){
.werg,
.wergw{
	text-align:center;
}	
.wrapper{
	width: 750px
}
.logo{
	height:70px;
	width:195px;
}
.asd{
	height:50px;
	margin-top:0;
}
.asd .flex{
	height:50px
}
.descriptor{
	display:none
}
.telephone{
	font-size:21px
}
.aef img{
	width:600px;
	height:auto
}
.infografika .flex{
	justify-content:center
}
.w15{
	margin-top:50px;
	width:33.333%;
	padding-top: 100px;
}
.w15 svg{
	top:0
}
.infografika{
	padding-top:20px;
}
.zayavka:after {
    position: absolute;
    top: 0;
    transform: translateX(-50%) rotate(5deg);
    right: auto;
	left:50%;
    height: 300px;
    width: 220px;
	margin-top:-150px
}
.zayavka{
	margin-top:200px;
	margin-bottom:50px;
}
.zayavka-content{
	padding:30px;
	padding-top:150px;
	text-align:center;
}
.sent:before{
	top:0
}
.sent {
    padding-top: 100px;
    padding-bottom: 30px;
}

}



@media (max-width: 768px){
.wrapper{
	width: 100%
}
.telephone{
	display:none
}
.aef img{
	width:90%;
}
h1{
	font-size:55px
}
h1 span{
	font-size:25px
}
.w15{
	width:50%
}
body:before{
	background-image:url(img/fon2-mob.jpg)
}
.aef {
    background-image: url(img/fire-mob.png)
}
.medalion {
    right: 0
}
}

@media (max-width: 600px){
.medalion {
    right: auto;
	left:15px;
}
.aef{
	margin-left:-15px;
	margin-right:-15px;
	background-size:130%;
	background-position:center bottom
}	
.zayavka{
	padding:10px;
}
.zayavka-content {
    padding:150px 20px 30px;
}
.w-50{
	width:100%
}	
.footer svg {
    height: 60px;
    margin-bottom: 20px;
}	
.footer{
	font-size:17px
}	
	
	
	
	
	
	
	
}	
	

@media (max-width: 479px){
.werg{
	font-size:35px;
}
.wergw {
    font-size: 19px;
}	
h1 {
	margin-top:20px;
	margin-bottom:10px;
    font-size: 43px;
}
.w15 {
    width: 100%;
}
.medalion {
	font-size:10px;
    width:100px;
	height:100px
}

.medalion:before{
	width:106px;
	height:106px;
	border-width:2px;
}
.medalion img{
	width:56px!important;
	margin-top:2px
}
.medalion span{
	width:90px;
	top:4px;
}
}


@media (max-width: 330px){
h1 {
    font-size: 33px;
}
}