/*grid*/
@media screen and (max-width: 1270px){
	
	.grid {padding: 0 30px;}
	.boxes_of_two.grid {padding:0;}
	.main_menu .grid > ul > li div > a{
		padding: 14px 6px;font-size:0.9em;
	}
	.main_menu .grid > ul > li.active div > a,.main_menu .grid > ul > li div > a:hover {
		padding: 22px 6px 0;
	}
	.main_search {
		padding: 0 24px;
	}
	#main_logo {
		width:200px;
	}
		#main_logo img,.box3 img{
			max-width:100%;height:auto !important;
		}
		.fuie #main_logo img{width:100%;}
	.header .right {
		width:60%;
	}
	.header .left {
		padding:0;
		width:40%;
	}
	.bottom_form.grid {
		 padding: 0;/*margin: 0px auto; */
	}	
	.bottom_form > .divin {margin: 0 30px;}	
		
	.footer .grid {
		padding: 58px 30px 46px;
	}

	.box .box2_text {
		padding:21px;
	}
}
/*header*/
@media screen and (max-width: 1063px) and (min-width: 1011px){
   #main_phone {font-size: 2.1em;}
} 


@media screen and (max-width: 1010px){
	.header {
		padding: 20px 0px 20px;background:none;
		top:0px;left:0px;width:100%;
		direction:ltr;
		
	}
	.header:before {
		content:"";
		height: 80px;width:100%;position:fixed;
		top:0;right:0;
		background:#EFEFF1;z-index:799;
	}
	.header .grid > .divin, .header .right, .header .left{
		display:block;width:auto;
	}
	.header .left{position:fixed;top:21px;z-index:801}

			#main_logo {
				width:292px;
				direction:rtl;
			}
				#main_logo img {
					max-height:60px;
				}
	.social_media  {
		width:273px;
		border-right:none;
		vertical-align:middle;
	}
		.social_media img {
			display:inline-block;vertical-align:middle;width:32px;position:relative;top:2px;
		}
	.top_phone {
		vertical-align:middle;
	}
		#phone_text,#main_phone {display:inline-block;vertical-align:middle;}
		.social_media p {margin:0 0 0 6px}

	.header .right {
		padding:0;margin:0;top:0;right:30px;z-index:5;z-index:900;
	}
		.header .right > .divin, #main_logo ,.main_search {
			display:block;width:auto;text-align:center;padding:0;
		}
		#main_logo .logo_holder{width:170px;position:relative;top:10px;right:30px;position:fixed;z-index:900;}
	.header {
	}
	.header .left > .divin {
		display: table;direction:rtl;
		width: auto;table-layout:fixed;
	}	
		#phone_text,.social_media p{display:none;}.top_phone {padding:0 0px 0 0;}
		.main_search p {direction:rtl;line-height:0.9em;}
		.top_phone #main_phone {width:0;font-size:0;color:transparent;position:relative;top:1px;background-size:32px;line-height:32px;padding: 0 0 0 38px;height:32px;}
		.social_media {
			padding: 0 0 0 5px;
			text-align:left;
		}
	#open_search {
		display:inline-block;
		vertical-align:middle;
		overflow:hidden;
		width:39px;
		height:36px;
		padding: 0 0 0 48px;
		border-left:1px solid #E0E0E0;
		margin: 0 0 0 5px;
		position:relative;top:3px;
	}
		#open_search img{
			height: 48px;
			width: 80px;
			position: relative;
			top: -8px;
			right:5px;
		}
	.main_search {
		margin: 90px 0 0;
	}
		.main_search form {
			margin:0;background:#fff;
		}
	.main_menu {margin: 10px 30px 30px; }
}
@media screen and (max-width: 480px){
.social_media {padding:0 0 0px;}
	.social_media a {display:none;}
	#open_search {border-left:none;margin:0;}
	.main_search p ,.main_search form input[type="text"]  {font-size:1.2em;}
}
@media screen and (max-width: 400px){
	
	.header .right {right:15px;} .header .left {left:15px;}#main_logo .logo_holder{right:15px;}
}
@media screen and (max-width: 1022px) {
	/*responsive MAIN menu*/
	.main_menu {
border: 1px solid #CBCBCB;
border-radius: 6px;
box-shadow: 0px 2px 0px 0px #EAEAEA;
box-sizing: border-box;		
	}
	.menu_button {
		display: block;
		width:auto;
		height: 48px;
		cursor: pointer;
		background: #f9f9f9;
		top: 0px;
		left: 0px;
		margin: 0 0 0px 0;
		z-index:500;
		position: relative;
		text-align: center;
		line-height: 48px;
	}
	.res_menu_holder {
		
	}
		.ef_button_style {
			display: inline-block;
			margin: 0px 0 0 6px;
		}
		.main_menu .ef_button_style {
			position: absolute;
			left: 10px;
			top: 8px;
		}
			.efb_row {
				position: relative; top: 5px;
				background: #61656e ; width: 24px; margin: 3px auto 5px auto; height: 2px;
			}
		.menu_button span {
			color: #61656e;
			font-family: spoiler;
			font-size: 1.7em;
			letter-spacing: -0.01em;
		}

	.open_menu, .close_menu {
		position: absolute; top: 0px; right: 0px; width: 100%; height: 100%;
	}
	.close_menu {
		display: none;
	}	
	.main_menu {
		height: auto;
		overflow: hidden;
		padding: 0;
		display: block;
	}
	.main_menu .grid {
		width:auto;padding:0;
	}
		.main_menu .grid > ul {
			width: auto;
			display: block;
			height:0;overflow:hidden;
		}
			.main_menu .grid > ul > li{
				display: block;
				text-align: right;
				width: auto;
				position: relative;
				border-left: none;
				margin: 0 auto;
				height:auto;
			}
			.main_menu .grid > ul > li:first-child{
				border: none;
			}
			.main_menu .grid > ul > li:last-child{
				border-bottom: none;
			}
			.main_menu .grid > ul > li.active div > a:before {
				top:auto;bottom:0;
			}
			.main_menu .grid > ul > li div > a,.main_menu .grid > ul > li.active div > a,.main_menu .grid > ul > li div > a:hover {
				display:block;
				width:auto;min-height:0px;height:auto;top:0;padding: 14px 30px;min-height:0;border-right:none;
			}
			.main_menu .grid > ul > li:last-child div > a {
				border-bottom:none;
			}
				.main_menu ul li div{
					padding: 0 0 0 0;
				}
				.main_menu ul li div span {
				}
				.main_menu .grid > ul > li.active a:before {
					background: none;
				}
			.open_sub {
				position:absolute;
				left:20px;
				top:9px;
				width:30px;
				height:30px;
			}
			.open_sub:after {
				content:"";
				position:absolute;
				right:0;left:0;bottom:0;top:0;margin:auto;
				width:7px;height:7px;
				border-bottom:1px solid #61656e;
				border-left:1px solid #61656e;
				-moz-transform:rotate(-45deg);
				-webkit-transform:rotate(-45deg);
				-ms-transform:rotate(-45deg);
				-o-transform:rotate(-45deg);
				transform:rotate(-45deg);
	-webkit-backface-visibility: hidden;
	-webkit-transform-style: preserve-3d; 
				
			}
			/*sub menu*/
			.main_menu .grid > ul > li div > ul {
				position: static;
				display: block;
				height: 0;
				overflow: hidden;
				white-space: normal;
				width: auto;
				font-size: 16px;
				background: none;
			}
				.main_menu .grid > ul > li div > ul li {
					font-size: 1.1em;
					margin: 0 auto; padding: 0px 30px;
					width: auto;
					height: 45px;
					line-height: 45px;
					white-space: normal;
					border-bottom: 1px solid #DCDCDC;font-weight:normal;
				}
				.main_menu .grid > ul > li div > ul li:last-child {
					border-bottom: 1px solid #DCDCDC;
				}
					.main_menu .grid > ul > li div ul li a {
						padding: 0;
						text-decoration:none;
						
					}
	.sub_button {
		position: absolute;
		top: 0px;
		right: 0px;
		width: 100%;
		height: 48px;
		background: none;
		border: none;
		display:block;
	}
	.close_sub {
		display: none;
	}
}
/*home layout*/
@media screen and (max-width: 970px) {
	.main.home,.content,#main_sidebar,.main .mock_table{
		display:block;width:auto;
	}
		.content > .divin, #main_sidebar > .divin {
			margin: 0 0 30px;
		}
		.boxes_of_two.grid {
			margin: 0 -30px 0 -60px;
			
		}
 .testimonials_slider {min-height:325px;} 
}

@media screen and (max-width: 640px) {
	.boxes_of_two.grid {
		margin:30px 0;
	}
	.boxes_of_two > .divin, .boxes_of_two .box {
		display:block;width:auto;
	}
		.box .img {
			text-align:center;
		}
			.box .img img {
				display:inline-block;
			}
}
@media screen and (max-width: 545px) {
.tm_right {display:block;text-align:center;margin: 0 0 10px;}
.testi_meta_main .file {float:none;text-align:center;}
}
@media screen and (max-width: 400px) {
	.b2_li {
		display:block;width:auto;
	}
		.b2_a {margin:0 0 7px;}
.grid {
    padding: 0px 15px;
}	
.main_menu {
	margin: 10px 15px 30px;
}
.bottom_form > .divin {margin: 0 15px;}
}

/*home slider*/
@media screen and (max-width:1120px) and (min-width:970px){
	.home_title > .divin,.home_title h1 ,.top_text{
		display: block;
		width: auto;
		text-align:center;
		padding:0;
	}	
	.video_description p ,.video_description .video_data{
		display:none;
	}
	.videos li:hover .video_description, .videos li.active .video_description{border:1px solid #E0E2E3;}
	.videos li:hover .arrow_big, .videos li.active .arrow_big{display:none;}
	.navigate_video {
		width:200px;
	}
	.videos li .video_description {
		max-width:188px;
	}
}
@media screen and (max-width:1020px){
	#home_slider .slider_wrap {
		padding: 31% 0 0 0;
	}
}
@media screen and (max-width:720px){
.home_title h1{line-height:0.7em;margin:0 0 7px;}
	.slider_text .row1 {
		font-size:2em;line-height:0.7em;margin:0;
	}
	#home_slider .pagi_holder {
		display:none;
	}
	.home_top_footer ul {margin:15px 0 20px;}
	.slider_text .see_more {font-size:16px;line-height:30px;margin:12px 0 0 0;}
	.slider_text .see_more:after, .slider_text .see_more:before {height:7px;width:7px;top:9px;}
}
@media screen and (max-width:500px){
	#home_slider .slider_wrap {
		padding:  2% 0 29% 0 /*33% 0 120px 0*/;
	}
	#home_slider .slider_text {
		position:static;display:block;
		margin: 39% 0 0 0;text-align:center;
	}
	.slider_text .row1 {text-align:center;}
	#home_slider .slider_text > .divin {display:block;width:auto;padding:0 15px;}
	
}
@media screen and (max-width:820px){
	.home_title > .divin,.home_title h1 ,.top_text{
		display: block;
		width: auto;
		text-align:center;padding:0;
	}	
	.home_title {
		padding: 19px 26px;
	}
	.videos li:hover .video_description, .videos li.active .video_description{border:1px solid #E0E2E3;}
	.videos li:hover .arrow_big, .videos li.active .arrow_big{display:none;}
	.navigate_video {
		width:200px;
	}
	.videos li .video_description {
		max-width:188px;background:#fff;
	}	
	.videos li.active .video_description {
		background:#F4F4F4
	}
}
/*
@media screen and (max-width:600px){
	.video_description h3,.video_description a {display:none;}

	.videos li .video_description {
		background: none repeat scroll 0% 0% #F5F5F6;
		border-top: 1px solid #DFE1E2;
		border-right: 1px solid #DFE1E2;
		border-bottom: 1px solid #DFE1E2;	
		height:120px;
		max-width:50px;
		
	}
.videos li .video_description:after, .videos li .video_description:before	{display:block}
}
*/
/*FOOTER*/

@media screen and (max-width: 1000px) {
	.footer .grid {
		display: block;
	}
		#sitemap,.credits { width: auto; display: block;}
		#sitemap {margin: 0 -15px;}
			.sitemap_list {padding: 0 15px;}
				.sitemap_list ul {
					padding: 13px 0px 0px 0px;
				}
		.credits {
			padding: 50px 0 0 0;
			border-right: none;
			text-align: center;
			border-top: 1px solid #cbcbcb;
		}
			.credits .img ,.credits .rights{
				display: inline-block;
				vertical-align: top;text-align:right;
			}
			.credits .img img {
				position: static;
				display: block;
				margin: -25px 0 0 0;
			}
			.credits .rights {
				padding: 0 20px;
			}
		.imark {
			display: block;
			text-align:center;
		}
}
@media screen and (max-width: 600px) {
	.videos {margin:0}
	.videos > .divin,.navigate_video,.videos .has_youtube,.videos li {
		display:block;width:auto;
	}
	.videos li .video_description  {
		max-width:99999px;display:block;height:auto;min-height:0;padding: 5px 20px;margin:0;
	}
		.video_description h3 {
			font-size:1em;
		}
	.videos .has_youtube {
		padding: 70% 0 0 0;
		margin: 20px;
	}
	.video_description a {
		display:none;
	}
	.video_description h3 a {
		display:inline;
	}
.navigate_video ul {min-height:0;}	
}
@media screen and (max-width: 700px) {

	.sitemap_list {
		display: inline-block;
		width: 33.3333%;
		margin: 0 0 20px;
	}
	.sitemap_list h3 {font-size:1.15em;}
}
@media screen and (max-width: 490px) {
	.sitemap_list {
		display: inline-block;
		width: 50%;
	}
	
}
/*HOME PAGE*/
 @media screen and (max-width: 891px){
	.home_top {
		display: block;
	}
	#home_slider {
		width: 100%;
		float: none;
		display: block;
	}
		#home_slider .border {
			width: 100%;
			margin-bottom: 33px;
			padding: 35% 0 0 0;
		}
		#home_slider .image {
			background-size: 100% auto;
		}
		#home_slider .padder {
			padding: 35% 0 0 0;
		}
	.home_contact {
		float: none;
		display: block;
		width:auto;
		padding: 0;
		margin: 0 0 30px 0;
	}

}
/*bottom form */
@media screen and (max-width: 1280px){

}
@media screen and (max-width: 1070px){

	.bf_right {
		width: 480px;
	}
	.middle_text {width:135px;}
}
@media screen and (max-width:1024px){
	.bottom_form .mock_table,.bottom_form .mock_table > .divin,.bottom_form .form {
		display:block;width:auto;
	}
	.bf_right {
		text-align:center;
		margin: 0 0 26px;
	}
	.gift_img {margin: 0 0 0 7px;}
	.gift_img img {
		top:-75px;
	}
	.right_text .bf_runner,.right_text .bf_big {display:inline-block;vertical-align:middle;}
	.right_text ,.middle_text,.bottom_form p  {width:auto;}
	.right_text .bf_big {
		margin: 0 4px 0 0;
	}	
	.bottom_form .form {
		margin: 0 0 30px;overflow: hidden;
	}
}
@media screen and (max-width:750px){
.main.internal_holder {margin:0;} .main.internal_holder.full_width{margin:0 0 30px;}
	.bf_right {
		padding: 0 0 0 0;position:relative;text-align:right;
	}
		.gift_img {
			display:none;
		}
			.gift_img img {
				display:none;
			}
			
		.right_text {text-align:right;width:auto;} .right_text .bf_runner {line-height:30px;}
		.bf_right {margin: 0 0 10px;}
		.bf_right > .divin {display:block;width:auto;line-height:1em;}
		.bf_right > .divin.middle_text {
			display:block;text-align:right;margin: 0;
		}
	.bottom_form .form form,.bottom_form .form form > div,.bottom_form .form .smaller,.bottom_form .form .bigger{
		display:block;width:auto;padding:0;
	}
	.bottom_form .form {margin:0;}
	.right_text,.bf_right > .divin.middle_text {
		text-align:center;
	}
	.bottom_form .form .smaller {
		margin: 0 0 7px;
	}
	.bottom_form > .divin > .divin {
		margin: 0 0 15px;
	}
	.bottom_form .form .checkbox {
		height:30px;width:auto;float:none;
	}
}
@media screen and (max-width:500px){
	.bf_right {
		padding:0;margin: 0 0 20px;
	}
	.bottom_form .right_text {line-height:30px;}
		.bf_right > .divin.gift_img {display:none;}
.bottom_form .right_text {width:auto;}
.bottom_form .form .checkbox,.bottom_form .form .checkbox > div{text-align:center;}
.bottom_form .form input[type="submit"] {padding: 2px 22px 0px 19px;}
/*internal*/
}
@media screen and (max-width:650px){
	.ibf_red,.ibf_grey {display:block;text-align:center;}
	.ibf_inputs .input_h {
		width:auto;padding:0;display:block;
		margin: 0 0 7px;
	}
	.internal_bottom_form .checkbox_holder {
		display:block;margin:0;width:100%;text-align:center;
	}
	.internal_bottom_form .submit_holder {
		float:none;
	}
	.internal_bottom_form  {text-align:center;}
}
@media screen and (max-width:630px){
.crumb_wrap {position:relative;padding: 0 0 0 140px;}
	.crumb_wrap .rela {position:absolute;top:-5px;width:140px;height:16px;bottom:0;left:0;margin:auto 0;}
	.top_shares {
		position:static;margin:0 0 0 15px;
	}
	.crumbs {
    padding: 16px 30px 20px 0;
}
}
@media screen and (max-width:550px){
.bottom_shares {margin: 30px;text-align:center;}
	.follow_us {
		float:none;
		margin: 15px 0 0 0;
		text-align:center;
	}
	.follow_us .follow {
		margin: 0 5px 5px 0;
	}
}
/*testimonials*/
@media screen and (max-width:530px){
	.description_img {
		float:none;
		width:auto;max-width:100%;margin: 0 0 30px 0;
	}	
	.rep_image {margin-bottom:0;}
}
@media screen and (max-width:630px){
	.internal_h1 {
		padding: 18px 30px;
	}
}
@media screen and (max-width:970px){
	.rep_video {
		padding: 60% 0 0 0;
		max-width:100%;
	}
}
@media screen and (max-width:400px){
	.comments_holder {margin:0 15px 30px;}
	.single_testi,.description,.internal section.top_level {
		margin: 0 15px 30px;
	}
	.bottom_shares {margin: 30px 15px;}
	.crumbs {
		padding: 16px 15px 20px 15px;
	}
	.internal_h1 {
		padding: 18px 15px;
	}
	.single_testi {margin:0 0 30px;}
		.single_testi p {padding:15px;}
.bottom_shares {margin: 30px 12px; }
.internal_bottom_form {
    margin: 0px 15px 30px;
    padding: 15px 15px 30px;
}
.top_shares {
	margin: 0px 0 0 0 15px;
}
.mobile_socials {display:block;text-align:center;padding: 7px 0 19px;}
.mobile_socials img{display:inline-block;margin: 0 3px; text-align:center;}

		
		#sitemap {margin: 0 -23px;}
		.sitemap_list {padding: 0 10px;}
}
@media screen and (max-width:380px){
	.testi_meta .name {
		padding:0;margin:0;border:none;
	}
}
/*category*/
@media screen and (max-width:1200px){
	.description_img img {
		max-width:100%;height:auto !important;
	}
	.wrapper {
		margin-top:0;
	}
}
@media screen and (max-width:666px){
	.crh {
		width:33.3333%;
	}
	.article_excerpt {
		padding:0;text-align:center;
	}
		.article_excerpt .img {
			position:relative;text-align:center;display:inline-block;
		}
		.article_excerpt .text ,.article_excerpt h3  {text-align:right;}
	.youtube_hold {
		padding: 60% 0 0 0;
	}
	.box3,.box3 .bg {
		width:50%;
	}
	.legend .icon {margin: 0px 0px 0px 13px;}
}
@media screen and (max-width:450px){
	.crh {
		width:50%;
	}	

	.box3 {
		display:block;
		width:100%;position:relative;margin: 0 auto 20px;max-width:265px;
	}
		.box3 figure {text-align:center;}
	.box3 .bg {width:100%;}
	.box_row {margin:0;}
}
/*contact page*/
@media screen and (max-width:970px){
	.top_level.contact section {
		width:50%;
	}
	.top_level.contact section.contact_maps {
		display:block;
		width:auto;
	}	
	.box.video_display {margin:0;}
}
@media screen and (max-width:970px){
	.top_level.contact section {
		display:block;
		width:auto;
		margin: 0 0 30px;
	}
	
}
/*land*/
@media screen and (max-width:1270px){
	.land.grid {padding:0 ;}
}
@media screen and (max-width:1200px){
	.wrapper.land {margin: 0 auto 34px;border:none;}
	#land_iframe {border-right:none;border-left:none;}
}
@media screen and (max-width:970px){
	.wrapper.land #main_sidebar {
		width:auto;
	}
	.home_contact h3 br {
		display:none;
	}
	#main_image {
		left: -1100px;
	}
	.bottom_box {margin-top:30px;}
}
@media screen and (max-width:620px){
	#main_image {

		display:none;
	}
	.land header {
		height:auto;
		min-height:0;
		margin: 0 0 20px;
	}
	#header_mater {
		padding: 30px 20px 0px 20px;
		text-align:center;
		
	}
	#header_mater h1 {margin: 0 0 10px;}
	#land_list {}
	#land_list li {
		display:block;
		width:auto;
	}
	#land_boxes .l_box {
		width:auto;display:block;
	}
}
@media screen and (max-width:440px){
	#land_list {
		margin: 37px 30px 22px;
		text-align:center;
	}	
	#land_list li {
		display:block;text-align:center;
		width:auto;
		padding: 0px 0px 0 0;	
	}
	#land_list li:before {
		position:static;display:inline-block;
		margin: 0 0 0 5px;
	}
	#land_boxes .box_in {
		margin: 0 0 30px;
	}
}
@media screen and (max-width:400px){
	#header_mater h1 {
		font-size:40px;
	}
	#header_mater .text {
		font-size: 22px;
	}
	#land_list li {
		font-size:23px;
	}
}
@media screen and (max-width:970px){
	.land_footer .disclaimer{padding:0;text-align:center;}
	.land_footer .imark {
		position:relative;
		padding: 0 0 0 0;
		margin: 22px 0 0 0;
		width:auto;left:0;
	}		
}
@media screen and (max-width:590px){
	.land_footer {
		padding: 0 44px 44px 44px;
		
		text-align:center;
	}

	.land_footer .imark img {
		position:absolute;top:2px;right:0;
	}
	.internal h2.near_element {padding:0;text-align:center;}
	#testi_filter {position:relative;top:0;right:0;;margin: 0 auto 20px;}
}
/*evaluation page */
@media screen and (max-width:915px){
	.treatment_list {
		width: 250px;
		height: 900px;
		top: 50px;
		bottom: auto;
		margin: 0 auto;
		left: -999px;right:-999px;
	}
	.treatment_list .td > .divin:before {
	top: -8px;
	right: 0px;left:0;
	bottom: auto;
	margin: 0px auto;
	border-style: solid;
	border-width: 0 5.5px 8px 5.5px;
	border-color: transparent transparent rgba(255,255,255,0.9) transparent;
	}
}
@media screen and (max-width: 620px){
	.sitemap ul {padding:0;}
}
@media screen and (max-width: 620px){
#evaluation_panel {
    padding: 30px 15px 18px;
}
	#eval_search form {display:block;width:auto;}
}