 /*======================================================================*\
|| #################################################################### ||
|| # 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: 2500px) {
body,
html {
 overflow-x: hidden;
}
}
@media only screen and (min-width: 981px) and (max-width: 1199px) {
	.top_menu,
	.top_menu_poz_navbar,
	.top_menu_poz.navpills {
		width:inherit!important;
	}
}

@media screen and (max-width: 980px) {
	.top_menu_poz_navbar,
	#mmenu_holder{
		width:90%!important;
		margin-top:10px;
		margin-bottom:10px;
	}
	#default_video{
		width:100%!important;
	}
}
@media only screen and (min-width: 981px) and (max-width: 1199px) {

 #yjsg1,

 #yjsg3,
 #yjsg4,
 #yjsg5,

 #footer,
 #joomlacredit,
 .yjsgsitew {
	width:auto!important;
}
.top_menu,
.top_menu_poz_navbar,
.top_menu_poz.navpills {
	width:auto!important;
}
}
@media screen and (max-width: 1200px) {
.header_in{
	width:100%!important;
}
}
@media screen and (max-width: 1200px) {
.ifholder_in{
	width:1000px!important;
}
.centertop_in{
	width: auto!important;
	float: none!important;
	clear: both!important;
}
}
@media screen and (max-width: 1200px) {
p.custom_p{
	padding:0 60px 0 60px!important;
}
}
@media screen and (max-width: 640px) {
div.catItemHeader{
	clear:both!important;
	text-align:center;
}
div.catItemImageBlock{
	margin:10px auto!important;
	float:none!important;
}
span.catItemDateCreated,span.catItemAuthor{
	clear:both!important;
	margin:10px auto!important;
	float:none!important;
	width:20%;
}
div.catItemIntroText{
	text-align:center;	
}
div.catItemReadMore a.k2ReadMore{
	margin:15px auto!important;
	float:none!important;
}
a.moduleItemImage{
	width:13.5%!important;
}
}

/***IMAGE SLIDER***/
@media only screen and (min-width: 981px) and (max-width: 1199px) {
._yjis .YJSlide_slide .YJSlide_intro {
	width:430px!important;
}
img.yjisImg {
	width:490px!important;
	height:360px!important;
	max-width:inherit!important;
}
.navContainer{
	width:100%!important;
}
._yjis .slidearrows{
	top:40%!important;
}
}
@media screen and (max-width: 980px) {
.YJIS_outer.yjis_respond,
.YJSlide_slide{
	width:100%!important;
	height:750px!important;
}
.navContainer{
	width:100%!important;
}
._yjis .YJSlide_slide .YJSlide_intro{
	position:relative;
	height:auto!important;
	top:0!important;
}
._yjis .YJSlide_slide .YJSlide_intro,
._yjis h2 {
	margin:0!important;
	left:0!important;
	width:100%!important;
	float:none!important;
	clear:both!important;
	display:block!important;
}
img.yjisImg {
	width:auto!important;
	height:auto!important;
	display:block!important;
	margin:0px auto 0 auto!important;
	float:none!important;
	max-width:inherit!important;
}
._yjis .slidearrows{
	top:40%!important;
}
}
@media screen and (max-width: 500px) {
img.yjisImg {
	width:100%!important;
	height:auto!important;
	display:block!important;
	margin:0px auto 0 auto!important;
	float:none!important;
	max-width:100%!important;
}
}
/***YOUYORK MODULE***/
@media screen and (max-width: 1200px) {
.yy_container,.yy_slider,
.yy_slider .yy_slideitems,
.yy_slider .yy_slideitems_in{
	height:250px!important;
	width:100%!important;
}
.yy_container .linkForward,
.yy_container .linkBackward {
	top:-5%!important;
	left:42%!important;
}
.yy_container .linkForward{
	left:55%!important;
}
.pfym2 .yy_container,.pfym2 .yy_slider,
.pfym2 .yy_slider .yy_slideitems,
.pfym2 .yy_slider .yy_slideitems_in{
	height:350px!important;
	width:100%!important;
}
}
@media screen and (max-width: 768px) {
.yy_container,.yy_slider,
.yy_slider .yy_slideitems,
.yy_slider .yy_slideitems_in{
	height:500px!important;
}

.yy_container .linkForward,
.yy_container .linkBackward {
	left:39%!important;
}
.yy_container .linkForward{
	left:57%!important;
}
.pfym2 .yy_container,.pfym2 .yy_slider,
.pfym2 .yy_slider .yy_slideitems,
.pfym2 .yy_slider .yy_slideitems_in{
	height:700px!important;
}
}
@media screen and (max-width: 640px) {
.yy_container,.yy_slider,
.yy_slider .yy_slideitems,
.yy_slider .yy_slideitems_in{
	height:1000px!important;
}
.yy_container .linkForward,
.yy_container .linkBackward {
	top:-3%!important;
	left:38%!important;
}
.yy_container .linkForward{
	left:57%!important;
}
.pfym2 .yy_container,.pfym2 .yy_slider,
.pfym2 .yy_slider .yy_slideitems,
.pfym2 .yy_slider .yy_slideitems_in{
	height:750px!important;
}
}
@media screen and (max-width: 480px) {
.yy_container .linkForward,
.yy_container .linkBackward {
	left:33%!important;
}
.yy_container .linkForward{
	left:57%!important;
}
.pfym2 .yy_container,.pfym2 .yy_slider,
.pfym2 .yy_slider .yy_slideitems,
.pfym2 .yy_slider .yy_slideitems_in{
	height:900px!important;
}
}
@media screen and (max-width: 320px) {
.yy_container .linkForward,
.yy_container .linkBackward {
	left:30%!important;
}
.yy_container .linkForward{
	left:57%!important;
}
.pfym2 .yy_container,.pfym2 .yy_slider,
.pfym2 .yy_slider .yy_slideitems,
.pfym2 .yy_slider .yy_slideitems_in{
	height:1100px!important;
}
}
/***YJ MODULE ENGINE***/
@media screen and (max-width: 1200px) {
.pfym .yjme_item{
	width:23.7%!important;
	margin:20px auto!important;
	padding:0!important;
}
.pfym .yjme_item_in{
	padding:5px 0!important;
}
.pfym .yjme_item div.imageholder{
	float:left!important;
	margin:0!important;
	width:200px!important;
}
.pfym a.item_image{
	width:200px!important;
}
/***USER 16***/
.pfme .yjme_item{
	width:21.5%!important;
}
.pfme div.imageholder{
	width:185px!important;
}
.pfme a.item_image{
	width:185px!important;
}
.pfme h2{
	text-align:center;
	width:100%;
}
.pfme a.item_title{
	margin:10px 0;
	text-align:center!important;
}
.pfme p.item_intro{
	text-align:center!important;
}
.pfme a.item_readmore{
	background:none!important;
	width:100%!important;
}
}
@media screen and (max-width: 980px) {
.pfym .yjme_item{
	width:25%!important;
	margin:20px auto!important;
}
.pfym .yjme_item div.imageholder{
	float:left!important;
	margin:0!important;
	width:150px!important;
}
.pfym a.item_image{
	width:150px!important;
}
/***USER 16***/
.pfme .yjme_item{
	width:45%!important;
}
.pfme div.imageholder{
	margin:0 auto!important;
}
}
@media screen and (max-width: 768px) {
.pfym .yjme_item{
	width:50%!important;
}
.pfym .yjme_item div.imageholder{
	float:none!important;
	margin:0 auto!important;
}
}
@media screen and (max-width: 640px) {
.pfym .yjme_item{
	width:100%!important;
}
.pfym .yjme_item_in{
	padding:10px 5px!important;
}
/***USER 16***/
.pfme .yjme_item{
	width:100%!important;
	margin:20px auto!important;
	padding:0!important;
}
}
@media screen and (max-width: 480px) {
.pfym .yjme_item{
	width:100%!important;
}
}
/***TESTEMONIALS***/
@media screen and (max-width: 1200px) {
.testemonials_holder{
	margin:15px 0!important;
	width:28.5%!important;
}
}
@media screen and (max-width: 980px) {
.testemonials_holder{
	margin:15px 0px!important;
}
}
@media screen and (max-width: 768px) {
.testemonials_holder{
	width:90%!important;
}
}
@media screen and (max-width: 320px) {
.testemonials_holder{
	width:80%!important;
}
}
/***FOOTER MODULES***/
@media screen and (max-width: 640px) {
#user21,#user24{
	width:100%!important;
}
}

/***LOGIN MODULE***/
@media only screen and (min-width: 280px) and (max-width: 1199px) {
.topgrdid_button_holder{
	width:100%!important;
}
.pflm ul{
	float:left!important;
}
.pflm ul li{
	margin:0 7px 0 0!important;
}
fieldset.input{
	width:100%!important;
}
.yjsquare.pflm .yjsquare_in{
	margin:0 20px!important;
	width:auto!important;
	display:block;
	overflow:hidden;
}
.yjsquare.pflm .yjsquare_in .inputbox{
	width:90%!important;
	margin-right:10px;
}
.yjsquare.pflm .yjsquare_in a{
	margin-bottom:10px!important;
}
}
@media only screen and (min-width: 280px) and (max-width: 1199px) {
.pflm ul li{
	margin:10px 7px 0 0!important;
}
}