/*==========  Desktop First Method  ==========*/

/* Large Devices, Wide Screens */

@media screen and (-webkit-min-device-pixel-ratio:0) {     
    ::i-block-chrome,.class {
    
#play1{
    display: none;
}
    
    
    }
}


@media only screen and (max-width : 1800px) {

	.contacts{
		padding-top: 70px;
	}

	

	.textwidget{
		position: relative;
	}

	.cod-vertical.cod-vertical--bottom {
	    left: -12px;
	    top: -1px;
	}

	#messageFF{
		height: 46px;
		overflow: hidden;
	}

	.widget{
		padding-left: 100px;
	}

	.container.with-sidebar .content{
		padding-left: 100px;

	}

	.swiper-button-next{
		right: 152px;
	}

	.swiper-button-prev{
		left: 152px;
	}
	


}


@media only screen and (max-width : 1270px) {
	
	

	.logo{
		width: 50px;
		left: 29px;
	}

	.s1_img1{
		min-height: 100%;
		min-width: 1000px;
		width: auto;
		height: auto;
	}

	.container.with-sidebar .sidebar {
	    float: none;
	    right: 0;
	    top: 0;
	    position: relative;
	}

	.container.with-sidebar .content{
		max-width: 500px;
		width: 100%;
		float: none;
		margin-top: -32px;
		width: 100%;
	}

	.sidebar{
		width: 100%;
	}

	.main_slider>.swiper-wrapper>.swiper-slide:last-child{
		height: 2300px !important;
		outline: none !important;
	}

	.form-box{
		padding-left: 100px;
	}
	

}

/* Medium Devices, Desktops */
@media only screen and (max-width : 992px) {
	
	.video{
	    width: auto;
	    left: -80%;
	    height: auto;
	}

	.video[poster]{
	    width: auto;
	    left: -1457px;
	    height: auto;
	}

	.play1{
		top: 214px;
	}

	.swiper-button-next{
		right: 10px;
	}

	.swiper-button-prev{
		left: 10px;
	}
	

}

/* Small Devices, Tablets */
@media only screen and (max-width : 768px) {

		.video{
	    width: 99%;
	    left: -300px;
	    height: 99%;
	}

	.video[poster]{
	    width: auto;
        left: -572px;
	    top: 0 px; 
	    height: auto;
	}
	
	.play1{
		top: 444px;
/*		display: none; */
	}	



}


@media only screen and (max-width : 600px) {

	.s1_ul{
		display: none;
	}

	.form-box{
		padding-left: 0px;
	}


}

/* Extra Small Devices, Phones */
@media only screen and (max-width : 480px) {

	.modal_form{
		width: 87%;
		top: 20px;
	}

	.modal_form2{
		width: 87%;
		top: 20px;
	}

	.mod_close{
		right: 2px;
		top: 2px;
	}

	body{
		overflow-x: hidden;
	}

	.tel-fixed {
	    display: block;
	    width: 200px;
	}

	.addr-top{
		display: none !important;
	}

	.navcontainer{
		right: 0px;
	}

	.desctop-icon-tel{
		margin: 0 28px 0 20px;
	}

	.textwidget{
		line-height: 20px;
		font-size: 12px;
	}

	.widget{
		padding-left: 0px;
		padding-right: 0;
		margin-top: 20px;
	}

	.container.with-sidebar .content{
		padding-left: 0px;
		padding-right: 0;
	}

	.footer{
		padding-top: 30px;
	}

	.widget h3.widget-title, .widget h2.widget-title, .widget h4.widget-title {
	    line-height: 28px;
	}

	.widget .widget-title {
	    margin-bottom: 5px;
	    letter-spacing: 0.1em;
	}

	.field-wrap, #ninja_forms_required_items {
	    margin-bottom: 7px;
	}

	input[type=text], textarea {
	    margin: 0 0 20px 0;
	    background: #e8e8e8;
	    background: rgba(100, 100, 100, 0.09);
	    transition: all 0.5s ease-in-out;
	    -webkit-transition: all 0.5s ease-in-out;
	    -moz-transition: all 0.5s ease-in-out;
	    -o-transition: all 0.5s ease-in-out;
	    width: 90%;
	    padding: 0px;
	}

	.contacts{
		height: 100%;
		padding-top: 116px;
	}

	.container.with-sidebar .sidebar{
		width: 100%;
		margin-top: -48px;
	}

	.title-form{
		margin-bottom: 10px;
		margin-top: -45px;
	}

	.ninja-forms-form-wrap input, .ninja-forms-form-wrap textarea{
		height: 20px;
		display: block;
	}

	#messageFF{
		height: 25px;
	}

	
}



/* iphone XR, 11, 11 MAX, 6S */
@media only screen and (max-width : 414px) 
and (orientation : portrait)  
 and (-webkit-device-pixel-ratio: 2)
 {


	.video{
	    width: 40%;
	    left: -300px;
	    height: 40%;
	}

	.video[poster]{
	    width: auto;
    left: -753px;
	    top:-137px; 
	    height: auto;
	}
	
	.play1{
		top: 344px;

	}
}
	
/* iphone 6, 7, 10, 11 pro */
@media only screen and (max-width : 375px) 
/*and (orientation : portrait)  
and (-webkit-device-pixel-ratio: 3)*/
 { 

	.video{
	    width: 40%;
	    left: -300px;
	    height: 40%;
	}

	.video[poster]{
	    width: auto;
        left: -772px;
	    top:-236px; 
	    height: auto;
	}
	
	.play1{
		top: 244px;
	}	

}

/* Custom, iPhone Retina */
@media only screen and (max-width : 320px) {



}
