 /*======================================================================*\
|| #################################################################### ||
|| # Package - Joomla Template based on YJSimpleGrid Framework          ||
|| # Copyright (C) 2010  Youjoomla.com. All Rights Reserved.            ||
|| # license - PHP files are licensed under  GNU/GPL V2                 ||
|| # license - CSS  - JS - IMAGE files  are Copyrighted material        ||
|| # bound by Proprietary License of Youjoomla.com                      ||
|| # for more information visit http://www.youjoomla.com/license.html   ||
|| # Redistribution and  modification of this software                  ||
|| # is bounded by its licenses                                         ||
|| # websites - http://www.youjoomla.com | http://www.yjsimplegrid.com  ||
|| #################################################################### ||
\*======================================================================*/
 
@media screen and (max-width: 980px) {
	.top_menu_poz_navbar,
	#mmenu_holder{
		width:280px!important;
		margin-top:10px;
	}
	#default_video{
		width:100%!important;
	}
}
@media screen and (max-width: 1500px) {
 body,
 html {
 overflow-x: hidden;
 } 
}
@media only screen and (min-width: 981px) and (max-width: 1199px) {
 .top_menu {
  width:inherit!important;
 }
}
/* Shadow Slider */
@media only screen and (min-width: 981px) and (max-width: 1199px) {
	#YjArtoSlider .slideintroPoz,
	#YjArtoSlider .content{
		width:980px!important;
	}
	#YjArtoSlider .video-js{
		width:500px!important;
		height:290px!important;
	}
	#YjArtoSlider #prev,
	#YjArtoSlider #next {
		display:none!important;
	}
}
@media only screen and (max-width: 980px) {
	#YjArtoSlider .slideintroPoz,
	#YjArtoSlider .content{
		width:100%!important;
	}
}
@media only screen and (min-width: 280px) and (max-width: 980px) {
	#YjArtoSlider .slides ul li img,
	#YjArtoSlider .placement img {
		height:auto!important;
	}
	#YjArtoSlider .video-js{
		width:370px!important;
		height:210px!important;
	}
}
@media screen and (max-width: 750px) {
	#YjArtoSlider .slideintro{
		bottom:auto!important;
		top:0!important;
	}
	#YjArtoSlider .introPartsLeft{
		display:none!important;
	}
	#YjArtoSlider .introPartsRight{
		width:95%!important;
		padding:20px;
	}
	#YjArtoSlider .video-js{
		width:570px!important;
		height:320px!important;
		margin:0 auto!important;
		float:none!important;
	}
}
@media only screen and (min-width: 280px) and (max-width: 569px) {
	#YjArtoSlider .video-js{
		width:100%!important;
		height:320px!important;
		margin:0 auto!important;
		float:none!important;
	}
}
@media only screen and (max-width: 450px) {
#YjArtoSlider .navigation {
	left:10px;
	right:auto;
}
#YjArtoSlider .introPartsRight{
	width:90%!important;
	padding:20px!important;
}
#YjArtoSlider,
#YjArtoSlider .overlay, 
#YjArtoSlider .yjartoBgs, 
#YjArtoSlider .over_div, 
#YjArtoSlider .over_div .placement,
#YjArtoSlider .slider .slides, 
#YjArtoSlider .slides ul, 
#YjArtoSlider .slides ul li{
	height:740px!important;
}
}
@media only screen and (max-width: 340px) {
#YjArtoSlider,
#YjArtoSlider .overlay, 
#YjArtoSlider .yjartoBgs, 
#YjArtoSlider .over_div, 
#YjArtoSlider .over_div .placement,
#YjArtoSlider .slider .slides, 
#YjArtoSlider .slides ul, 
#YjArtoSlider .slides ul li{
	height:820px!important;
}
}
/* Engine */
@media screen and (max-width: 980px) {
.pame2 .yjme_item {
    float:none;
    margin:20px 0;
    width:100%;
}
.pame2 .yjme_item div.imageholder{
	float:left!important;
	margin:0 20px 0 0;
}
.pame2 .yjme_item a.item_title{
	clear:none;
}
.team_facebook,
.team_twitter,
.team_google{
	top:0px;
}
}
@media screen and (max-width: 880px) {
.pame .yjme_item div.imageholder{
	margin:0;
}
}
@media screen and (max-width: 650px) {
.pame .yjme_item a.item_title{
	text-align:center;
	display:block;
}
.pame .yjme_item div.item_details{
	margin:0 auto;
}
.pame .yjme_item div.imageholder{
	margin:25px auto;
	float:none!important;
}
.pame .yjme_item div.imageholder,
.pame .yjme_item a.item_image,
.pame span.yj_hover_effect,
.pame img{
	max-width:90%!important;
	height:auto!important;
}
}
@media screen and (max-width: 580px) {
.pame2 .yjme_item div.imageholder{
	float:none!important;
	margin:15px auto!important;
}
.pame2 .yjme_item a.item_title{
	clear:both;
	text-align:center;
}
.pame2 .yjme_item p.item_intro{
	text-align:center;
}
.team_facebook,
.team_twitter,
.team_google{
	top:183px;
	left:10px;
}
.team_twitter{
	left:30px;
	right:auto;
}
.team_google{
	right:auto;
	left:50px;
}
}
/* York */
@media screen and (max-width: 980px) {
#user1,#user2{
	width:100%!important;
}
}
@media screen and (max-width: 515px) {
.paym .yy_slider .yy_slideitems_in{
	padding:0 10px;
}
.paym .yjme_item div.imageholder,
.paym .yjme_item a.item_image,
.paym span.yj_hover_effect,
.paym img{
	max-width:90%!important;
	height:auto!important;
}
.paym .yy_container,
.paym .yy_slider,
.paym .yy_slider .yy_slideitems,
.paym .yy_slider .yy_slideitems_in {
	height:250px!important;
}
}
/* Tabs */
@media screen and (max-width: 980px) {
.pamt h4{
	text-align:center;
	clear:both;
}
.pamt .tab_content img{
	display:block;
	margin:0 auto!important;
	float:none!important;
}
.pamt p br{
	display:none;
}
.pamt p{
	text-align:center;
}
.pamt a.template_readmore2{
	margin:0 auto;
}
.tab_image{
	display:none!important;
}
.tabs_ul_holder{
	width:30%;
 	margin:0 10px!important;
}
.tabs_ul_holder{
	text-align:center;
}
}
@media screen and (max-width: 780px) {
.tabs_ul_holder{
	width:100%;
 	margin:10px 0!important;
}
}
@media screen and (max-width: 590px) {
.pamt #tabs li{
	font-size:120%;
}
}
@media screen and (max-width: 420px) {
.pamt #tabs li{
	font-size:90%;
}
}
/*bottom modules*/
@media screen and (max-width: 980px) {
#user21,#user22,#user23,#user24,#user25{
	width:100%!important;
}
}
@media screen and (max-width: 730px) {
#user21,#user22,#user23,#user24,#user25{
	width:100%!important;
}
}
@media screen and (max-width: 520px) {
#user21,#user22,#user23,#user24,#user25{
	width:100%!important;
}
.yjsg7_out h2.module_title,
.yjsg7_out ul li{
	text-align:center;
}
/*.yjsgcp img {margin: 0 100px;}
.yjsgcp {font-size: 12px;}*/
}