/* Media Queries */

/* 992 - 1200 px */
@media screen and (max-width: 1200px) {
	/* ------ Page Home ------ */
	.video {
	    position: relative;
	    padding-bottom: 56.25%;
	    padding-top: 25px;
	    height: 0;
	    margin: 0 auto;
	}

	.videofb {
		padding-top: 0px;
	}

	.video iframe {
		position:absolute;
		top:0;
		left:0;
		width:100%;
		height:100%;
	}

	.rezaltwrap {
		justify-content: space-between;
	}

	.button-transparent {
		width: 140px;
	}



/* 768 - 991 px */
@media screen and (max-width: 991px) {
	.logo-text {
		margin-left: 0;
	}

	.menu {
		margin-left: 30px;
		width: 75%;
		flex-direction: column;	
		margin-top: 0;		
		justify-content: start !important;	
	}

	.menu__open {			
	    position: fixed;
		z-index: 1000;
		background: #fff;
		padding-top: 50px;
	    border-radius: 0px;
	   	top: 0;
		right: 0;
		bottom: 0;
	    /*-webkit-transition: all 500ms linear;
		-moz-transition: all 500ms linear;
		-ms-transition: all 500ms linear;
		-o-transition: all 500ms linear;
		transition: all 500ms linear;*/
		-webkit-transition: opacity ease-in-out 0.3s;
	    -moz-transition: opacity ease-in-out 0.3s;
	    -o-transition: opacity ease-in-out 0.3s;
	    transition: opacity ease-in-out 0.3s;
	}



	/*.menu__open:before {
	    content: '';
	    position: absolute;
	    left: 176px;
    	top: -20px;
	    border: 10px solid transparent;	
	    border-bottom: 10px solid #f1f1f3;
	}*/

	.menu__item {
		display: none;
	}

	.menu__item.menu-collapse{
		display: block;	
		font-size: 13px;
    	border-bottom: 1px solid rgba(255, 255, 255, 0.5);
    	padding: 20px;	
    	width: 90%;

	}

	.menu-collapse {		
		    	
	}

	.menu-link {
		color: #000;
	}

	.menu-bars {
		display: block;
		margin-bottom: 20px;
		background-color: #1111118a;
		border-radius: 50%;
		width: 40px;
		height: 40px;
		position: fixed;
		z-index: 1001;
	}

	.menu-bars-close {
		background-color: #11111100;
	}

	.fa.fa-bars.fa-window-close {
	    z-index: 1000;
	    display: block;
	    position: absolute;
	    width: 100%;
	    opacity: 1;
	    top: -20px;
	    color: #000;
	}

	.menu__item.timemob.menu-collapse {   
	    position: absolute;
	    bottom: 0;
	    left: -10px;
	}

	.menumob-open {
		display: block;
	}

	.btngamb {
	    font-size: 12px;
	}

	.btnmore {
	    width: 200px;
	}

	.offer__title {
		font-size: 55px;
	}
	.offer__text {
    	font-size:25px;
    	width: 700px;
	}

	.video-avtor-text {
		font-size: 23px;
    	padding-top: 15px;
	}

	.video-avtor-title {
		font-size: 38px;
	}

	.otzuvu-title {
		font-size: 55px;
	}

	.otzuvu-text {
		width: 100%;
		font-size: 20px;
		padding-top: 20px;
	}

	.otzuvu-text span {
		font-size: 22px;
	}


	.feedback-text {
		height: auto;
	}
	.otzuv__video {
    	justify-content: center;
	}
	.otzuv__play {
		padding-left: 0;
	}

	.rezalt-img {
    	display: block;
    	background: url(../img/img3.png) no-repeat center top,
                url(../img/img2.png) no-repeat 42% -65%;
        height: 415px;        
	}


	.rezaltwrap {
		flex-direction: column;
		background: none;
		justify-content: flex-start;
	}

	.rezaltwrap__title {
		text-align: center;
		width: 60%;
		margin: 25px auto 0;
		display: table;
	} 
	.rezaltwrap__text {
		text-align: center;
		width: 60%;
		margin: 0 auto;
		display: table;
	}

	.rezaltwrap__title-1,
	.rezaltwrap__title-2,
	.rezaltwrap__title-3,
	.rezaltwrap__text-1,
	.rezaltwrap__text-2,
	.rezaltwrap__text-3 {
		padding-right:0;
	}

	.tablist {
		height: 500px;
	}

	.tablist__title {
		font-size: 15px;
		letter-spacing: 0px;
	}

	.newstyle-img {
		display: none;
	}

	.text-wrap, .form-wrap, .text-wrap2 {
		width: 100%;
	}

	.form-title {
		font-size: 20px;
	}

	.form-text  {
		font-size: 18px;
	}

	.form__input {
		width: 250px;
	    font-size: 14px;
	    padding: 13px;
	}

	.intl-tel-input .flag-container {
		left: 10px!important;
	}

	.intl-tel-input {
		/*width: 100%;*/
	}

	input.btn.button-red.text-center {
	   width: 250px;
	}

	.formreg {
		flex-direction: column;
		width: 90%;
	}

	.form__input1 {
		/*margin-bottom: 25px!important;*/
	    margin: 0 auto 25px;
	    display: block;
	}


	input.form__input1.phone1 {
	    margin-right: 0px!important;
	}

	input.btn.button-red.btn1.text-center {
	    margin-bottom: 25px;
    	margin-top: 25px;
	}


	.offer-popup.sticky {	    
		display: inline-block;
		position: fixed;	
		bottom: 5px;
		z-index: 999;
		padding-top: 10px;
		padding-bottom: 10px;
		top: 90%;
		left: 5px;
		width: calc(100% - 10px);
		/*background: rgb(255, 253, 253);*/
		background-color: #c42a36ed;
		text-align: center;
		height: 100px;
		box-shadow: 1px 1px 4px 1px #b7b3b3;  
	}

}


/* 576 - 767 px */
@media screen and (max-width: 767px) {
	h1 {
	    font-size: 30px;
	}

	h2 {
	    font-size: 25px;	   
	}

	h3 {
	    font-size: 20px;	   
	}

	h4 {
    	font-size: 15px;
	}	

	.offer__title {
		font-size: 30px;
	}

	.offer__text {
		width: 100%;
	}

	.video-avtor-text {	    
	    padding-top: 35px;
}

	.offer__iconstitle {
		flex-direction: column;
	}

	.otzuvu-title {
		font-size: 25px;
	}

	.ticket-texttp {
   		 display: none;
	}

    .about-list {
    	margin-left: 10%;
    }

    .listabout {
    	margin-left: 15%;
    	margin-bottom: 5%;
    }

    .who-title {
    	width: 90%;
    	font-size: 30px;
    }

    .pro-title {
    	font-size: 30px; 
    }

    .newstyle {    
   		 padding-bottom: 60px;
	}

    .rezalt-titl2 {
	    margin-bottom: 10px;
	}

	.format-title {
		font-size: 25px;
	}

    .tablist__wrap {
    	flex-direction: column;  	
    }

    .tablist {
		height: 850px;
	}

	.tablist__img {
	    margin-bottom: 25px;
	    width: 100%;
	}

	.offer-popup__title {
	    font-size: 16px;
	} 
	
}

/* 401 - 575 px */
@media screen and (max-width: 575px) {

	/* ------ Pop-up window ------ */	

	.box-modal {		  
	    width: 300px;	 
	    height: auto;	
	}
/* Изменяем внутренние отступы 
*  переключателей для малых экранов
*/
	.tabs > label {
        padding: 15px;
    }
    .achiev-list {
    	flex-direction: column;
    }

    .avtor-title {
    	font-size: 40px;
    }

    .contact__block {
	    margin: 35px 15px;
	}
	
	.timemob {
	    display: block;
	}

	.timedesc {
	    display: none;
	}

	.fordesc {
    	display: none;
	}

	.formob {
	    display: block;
	}

	.wrap-text {	   
	    height: auto;	   
	}

	.block-title {
		font-size: 25px;
	}

	.history-wrap {
		padding: 0px;
	    border-radius: 0;
	    background-color: transparent;
	}

	.otzuv {
		padding-top: 10px;	    
	    padding-bottom: 10px;
	}

	.form__input1 {
		width: 280px;
	}

	.button-red {
		width: 100%;
	}

}

/* 320 - 400 px */
@media screen and (max-width: 400px) {
	

	.rezaltwrap {
		height: auto;
	}

	.box-modal {
	    width: 280px;
	    height: auto;
	}

	.form-text  {
		font-size: 16px;
	}


    
}