
@media all and (min-width: 320px) and (max-width: 980px) {
	.mobile{display:block;}
	.desktop{display:none !important;}
	.pagewraper, #footer_wrap > div{
		width: 100%;
		max-width: 100vw;
		margin: 0;
	}
	div{
		max-width: 100vw !important;
	}
	* img{margin-bottom:5px;height:auto;width:auto;max-width:100%;}
	html {
		    background: #EAEAEA;
		}
	body {
		font-size: 14px;
		line-height:20px;
		direction: rtl;
		text-align:right;
		padding-top: 60px !important;
		overflow-x: hidden;
		width: 100vw;
		
	}
	body *{
		max-width: 100%;
	}
	* img {
		max-width: 100%;
	}


	::-moz-selection {
		background: #b3d4fc;
		text-shadow: none;
	}

	::selection {
		background: #b3d4fc;
		text-shadow: none;
	}
	hr {
		display: block;
		height: 1px;
		border: 0;
		border-top: 1px solid #ccc;
		margin: 1em 0;
		padding: 0;
	}
	img {
		vertical-align: middle;
	}
	fieldset {
		border: 0;
		margin: 0;
		padding: 0;
	}
	table {
		margin: 0 !important;
		max-width: 100%;
	}
	textarea {
		resize: none;
	}
	.desktop{
		display: none;
	}
	.wide{
		width:100%;
	}
	.wide_margin{
		width:92%;
		margin:auto;
	}
	.border {
		background:url("../images/bottom_line.png") repeat-x scroll center center;
		height: 4px;
		margin-bottom:4px;
	}

	/* ==========================================================================
	   Header
	   ========================================================================== */
	#header.mobile,#header_mobile.mobile{
		width: 100%;
		height:60px;
		position: fixed;
		z-index: 200000;
		-webkit-transition: all 300ms ease;
		-moz-transition: all 300ms ease;
		transition: all 300ms ease;
		top: 0;
		right: 0;
		background:#fff none repeat scroll 0 0;
	   box-shadow: 0 0 3px #000;
	}
	#header .logo {
	    bottom: 0;
	    right: 0;
	    margin: auto;
	    position: absolute;
	    left: 0;
	    top: 0;
	    width: 210px;
	}


	.logo > img {
	    bottom: 0;
	    right: 0;
	    margin: auto;
	    position: absolute;
	    max-height: 60px;
	    left: 0;
	    top: 0;
	}
	#header.mobile > a.button ,#header_mobile.mobile > a.button {
	    color: #01304a;
	    display: block;
	    line-height: 36px;
	    position: absolute;
	    width: 60px;
	    text-align: center;
	    cursor: pointer;
	}
	#header.mobile > a.button i ,#header_mobile.mobile > a.button i  {
	    font-size: 50px;
	    line-height: 60px;
	}
	.call_me_phone.button {
	    right: auto;
	    left:4px ;
	}
	.open_side_menu.button {
	    left: auto;
	    right:4px ;
	}
	/* ==========================================================================
	   Author's custom styles
	   ========================================================================== */

	#scotch-panel {
	  display: none;
	}
	#site-wrapper {
	  padding-top: 50px;
	}
	.wrapper .scotch-panel-canvas {
	  z-index: 10000;
	}
	
	#fixed-nav {
		background: #fff none repeat scroll 0 0;
		box-shadow: 0 0 3px;
		height: 100%;
		overflow: scroll;
		position: fixed;
		left: inherit;
		top: 0;
		transition: all 500ms ease 0s;
		width: 80%;
		z-index: 999999999;
	}
	#fixed-nav   ul {
		list-style: none;
		padding: 0;
		margin: 0;
		text-align: right;
		
	}
	#fixed-nav .selected{
		color:#986F00;
	}
	#fixed-nav   ul > li{
		min-height:42px;
		overflow:hidden;
		position: relative;
	}
	#fixed-nav    ul > li > a {
		display: block;
		width: 100%;
		min-height:42px;
		overflow:hidden;
		line-height: 42px;
		background: transparent;
		color: #000;
		text-decoration: none;
		padding-left:10%;
		border-bottom:1px solid #b7b7b7;
		border-top:1px solid #fff;
		font-size:16px;
		font-weight:normal;
		position: relative;
		z-index: 100;
	}
	#fixed-nav   ul > li a:hover{
		background:#EAEAEA;
	}
	#fixed-nav   ul > li a:hover{
		color:#986F00;
	}
	
	#fixed-nav ul > li span {
	    cursor: pointer;
	    font-size: 20px;
	    height: 51px;
	    left: 0;
	    line-height: 50px;
	    position: absolute;
	    text-align: center;
	    top: -5px;
	    transform: rotate(90deg);
	    width: 31px;
	    z-index: 101;
	}

	#fixed-nav    ul > li:first-child > a{
		border-top:none;
	}
	#fixed-nav    ul > li:last-child > a{
		border-bottom:none;
	}


	#fixed-nav    ul > li > ul{
		list-style: none;
		padding: 0;
		margin: 0;
		text-align: right;
		display:none;
		background-image:inherit;
		background-size:100% auto;
		max-height: 0;
		
	}
	#fixed-nav   ul > .open_side > a {
	   
	}




	#fixed-nav ul > .open_side{
		
		background-size:100% auto; 
	}

	#fixed-nav ul > .open_side2 {
		height:auto !important;
		max-height: auto !important;
	}
	#fixed-nav   ul > .open_side ul{
		display:block;
		max-height: none;
	}
	#fixed-nav   ul  .open_side2 ul{
		display:block;
		max-height: none;
	}

	#fixed-nav >  ul > li > ul > li{
		overflow:hidden;
		background-size:100% auto;  
	}

	#fixed-nav >  ul > li > ul > li:last-child{
		border-bottom:none;
	}

	#fixed-nav >  ul > li > ul > li > a{
		
		display: block;
		width: 100%;
		overflow:hidden;
		background: transparent;
		color: #555555;
		text-decoration: none;
		 border-bottom:1px solid #b7b7b7;
		 font-size:14px;
		font-weight:bold;
		border-top:1px solid #fff;
	}



	#fixed-nav ul > li li {
	    height: 36px !important;
	    min-height: 36px !important;
	}
	#fixed-nav ul > li li > a {
	    font-size: 14px;
	    height: 36px !important;
	    line-height: 36px;
	    min-height: 36px;
	    padding-left: 28px;
	}
	#fixed-nav ul > li li > a:last-child {
	    border-bottom: 1px solid #d7d7d7;
	}
	
	#fixed-nav ul > li li li > a {
	    padding-left: 36px;
	}
	#fixed-nav ul > li li span {
	    height: 36px;
	    line-height: 36px;
	}

	#fixed-nav a:hover{
		
	}

	.lang_menu {
	    background: rgba(0, 0, 0, 0) none repeat scroll 0 0;
	    border: medium none;
	    width: 100%;
	}
	.lang_menu > a {
	    display: block;
	    float: right;
	    text-align: center;
	    width: 28%;
	}


	.contact_page .half {
	    width: 100%;
	}

	/* ==========================================================================
	   main
	   ========================================================================== */
	

		#main {
		    margin-top: 0;
		}

	/* ==========================================================================
	   Inner Banner
	   ========================================================================== */
		.inBanner {
			 height: auto;
		}
		.inBanner > img {
		    height: auto;
		    min-height: 200px !important;
		    width: 100%;
		}

		.inBanner > .banner_text {
		    top: 10%;
		}


		.banner_text > div > div.txt {
			font-size: 26px;	
		}

	
	/* ==========================================================================
	   Category
	   ========================================================================== */
	


	/* ==========================================================================
	   Homepage Content
	   ========================================================================== */
		
	#lid.pagewraper {
	    display: none;
	}

.w_box {
    height: 48vw;
    margin: 10px 1vw;
    width: 48vw;
    overflow: hidden;
}

.gallery-item {
    height: auto;
    margin: 10px 1vw;
    width: calc(48vw - 15px);
}

.w_box .title {
    font-size: 21px;
    line-height: 30px;
}
	.welcome_boxes2 {
	    height: auto;
	    position: relative;
	}	
	.welcome_boxes2 .w_box2.right {
	    opacity: 0.5;
	    position: absolute;
	    width: 100%;
	    height: 100%;
	    overflow: hidden;
	}
	.welcome_boxes2 .w_box2.left {
	    background: #fff none repeat scroll 0 0;
	    height: auto;
	    padding: 10px;
	    width: 100%;
	}

	


	
	/* ==========================================================================
	   Content
	   ========================================================================== */


.pagewraper.main_content > div#p_left, .pagewraper.main_content > div#p_right {
    float: right;
    height: auto !important;
    min-height: 200px !important;
    width: 100%;
}


	/* ==========================================================================
	   Footer
	   ========================================================================== */


	#m_footer.screenwrapper {
	    background: #fff none repeat scroll 0 0;
	    bottom: 0;
	    box-shadow: 0 0 3px #333;
	    height: 50px;
	    overflow: auto;
	    position: fixed;
	    z-index: 999;
	}
	#m_footer > ul {
	    list-style: outside none none;
	    margin: 0;
	    padding: 0;
	}
	#m_footer li {
	    float: right;
	    height: 50px;
	    padding: 0;
	    text-align: center;
	    width: 33.3%;
	}
	#m_footer li > a {
	    border-right: 1px solid #999;
	    border-left: 1px solid #eee;
	    color: #333;
	    display: block;
	    font-weight: bold;
	    height: 50px;
	    padding: 5px;
	    width: 100%;
	}


/************************ RANGE SLIDER  **********************************/

#mslider-range {
    background: #555555 none repeat scroll 0 0 !important;
    border: 1px solid #555555;
    height: 2px;
    margin: 8px 6px 0 3px;
}
.ui-slider-handle.ui-state-default.ui-corner-all {
    background: rgba(0, 0, 0, 0) url("../images/m-slider-handle.png") no-repeat scroll center center;
    border: medium none;
    cursor: grab;
    height: 22px;
    top: -10px;
    width: 22px;
}
.ui-slider .ui-slider-handle {
    cursor: default;
    height: 22px;
    position: absolute;
    width: 22px;
    z-index: 2;
}
.mmin {
    float: left;
    height: 25px;
    margin-top: 15px;
    width: 25px;
	font-size:12px;
}
.mmax {
    float: right;
    height: 25px;
    margin-top: 15px;
    width: 25px;
	font-size:12px;
}

	/* ==========================================================================
	   Content
	   ========================================================================== */


	/* ==========================================================================
	   Gallery
	   ========================================================================== */

		.w_box.gallery_cats .img {
		    height: 157px;
		    position: relative;
		    text-align: center;
		}
		.w_box.gallery_cats {
		    margin: 10px 10%;
		    width: 80%;
		}
		.gallery-item.break:nth-child(5n+2), .gallery-item.break:nth-child(5n+3)  {
		    margin: 10px  calc(10vw );
		    width: calc(80vw - 30px);
		    height: calc(80vw - 30px);
		}
		.gallery-item.break:nth-child(5n+4), .gallery-item.break:nth-child(5n+1) , .gallery-item.break:nth-child(5n)  {
		     height: calc(60vw - 30px);
   			 margin: 10px calc(10vw);
    		width: calc(80vw - 30px);
		}

.lg-actions .lg-next, .lg-actions .lg-prev {
    bottom: 80px !important;
    top: auto !important;
}

	/* ==========================================================================
	   Gallery Aside
	   ========================================================================== */
	

	/* ==========================================================================
	   Author's custom styles
	   ========================================================================== */
	
	
	
	#alert_wrap > div {
		width: 90%;
	}

	#alert_wrap > div .close {
		right: 0;
	}
	.fancybox-overlay.fancybox-overlay-fixed {
	    height: 100% !important;
	    position: fixed;
	    top: 0;
	    bottom: 0;
	    width: 100vw !important;
	}
	.fancybox-opened {
	    margin: auto;
	    max-width: 86vw;
	    z-index: 8030;
	}
	.fancybox-image, .fancybox-iframe {
		height: auto !important;
		width: 98% !important;
	}

	.fancybox-inner {
	    height: auto !important;
	}
	.fancybox-prev span {
	    background: rgba(0, 0, 0, 0) url("../images/fancybox/next.png") no-repeat scroll 0 0;
	    left: 0px !important;
	}

	.fancybox-next span {
	    background: rgba(0, 0, 0, 0) url("../images/fancybox/prev.png") no-repeat scroll 0 0;
	    right: 0px !important;
	}

	.fancybox-title-float-wrap {
	    bottom: -30px;
	    right: 0;
	    margin: 0 auto;
	    left: 0;
	}
	.fancybox-title-float-wrap .child {
	    margin: auto;
	}


	iframe{
		width:100% !important;
	}

	#hp_lid .input_wrap > textarea {
	    width: 92%;
	}	
	#hp_lid .input_wrap > input {
	    width: 93%;
	}

}




@media all and (min-width: 320px) and (max-width: 480px) {

	.inBanner.reviews .txt {
	    color: #01304a;
	    font-size: 22px;
	    line-height: 24px;
	    margin: auto;
	    text-align: center;
	    width: 90%;
	}	

	.gallery-item.break:nth-child(5n+1), .gallery-item.break:nth-child(5n+2) {
	    height: calc(48vw - 15px);
	    margin: 10px 1vw;
	    width: calc(48vw - 15px);
	}
	.gallery-item.break:nth-child(5n+3), .gallery-item.break:nth-child(5n+4), .gallery-item.break:nth-child(5n) {
	    height: calc(26vw - 10px);
	    margin: 10px calc(0.5vw);
	    width: calc(32vw - 10px);
	}
	.footer_1 ul {
	    font-size: 16px;
	    margin: 20px 1%;
	    width: 48%;
	}

	.footer_1 ul:nth-child(3) {
	    font-size: 16px;
	    margin: 20px 1%;
	    width: 98%;
	}
	.footer_1 ul:nth-child(3) > li {
	    width: 48%;
	    float: right;
	    margin: 0 1%;
	}
	#hp_lid {
	    margin: auto 1%;
	    width: 98%;
	}	

	#hp_lid .input_wrap > textarea {
	    width: 92%;
	}		
}

@media all and (min-width: 480px) and (max-width: 980px) {

	#p_left > div {
	    float: right;
	    width: 46%;
	}	


	.w_box.gallery_cats {
	    margin: 10px 2%;
	    width: 46%;
	}

	.footer_1 ul  {
	    font-size: 16px;
	    margin: auto 1%;
	    width: 30%;
	}

	.gallery-item {
	    height: auto;
	    margin: 10px 1vw;
	    width: calc(31vw - 10px);
	}

	.gallery-item.break:nth-child(5n+2), .gallery-item.break:nth-child(5n+3) {
	    height: calc(48vw - 15px);
	    margin: 10px 1vw;
	    width: calc(48vw - 15px);
	}
	.gallery-item.break:nth-child(5n+4), .gallery-item.break:nth-child(5n+1), .gallery-item.break:nth-child(5n) {
	    height: calc(26vw - 10px);
	    margin: 10px calc(0.5vw);
	    width: calc(32vw - 10px);
	}
	
	#hp_lid {
	    margin: auto 2%;
	    width: 96%;
	}	

	#hp_lid .input_wrap > textarea {
	    width: 92%;
	}	
	#hp_lid .input_wrap > input {
	    width: 93%;
	}	

}
@media all and (min-width: 640px) and (max-width: 980px) {

	.footer_1 ul {
	    font-size: 16px;
	    margin: 20px 1%;
	    width: 20%;
	}

	#hp_lid {
	    margin: auto 2%;
	    width: 30%;
	}	

}
@media all and (min-width: 768px) and (max-width: 980px) {


	.w_box.gallery_cats {
	    width: 32%;
	    margin: 10px 0.5%;
	}

}



}