/*======================================================================*\
|| #################################################################### ||
|| # Package - Joomla Template based on YJSimpleGrid Framework          ||
|| # Copyright (C) 2010  Youjoomla LLC. 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 LLC                      ||
|| # 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  ||
|| #################################################################### ||
\*======================================================================*/
/*CENTER TOP IS THE TOP PART OF THE SITE. SEE yjsg_main.php FOR REFERENCE*/
#centertop, #centerbottom{
	text-align:left;
	margin:0 auto;
	clear:both;
}

/* CENTERBOTTOM IS THE BOTTOM PART OF THE SITE SEE yjsg_main.php FOR REFERENCE */
#centerbottom {
	position:relative;
}

#header {
	text-align:left;
	position:relative;
	padding:0px 0 5px 0;
	z-index:1000;
}

#logo {
	float:left;
	text-align:left;
	overflow:hidden;
}

/* LOGO HOMEPAGE LINK */
#logo a {
	text-indent:-7500px;
	display:block;
	text-decoration:none;
	width:100%;
}

/* main body layouts with  side modules
--------------------- */
/* HOLDER DIV CONTAINS LEFT, MAINBODY, RIGHT AND ALL INSETS */
#holder, #holder2, #holder3 {
	height:100% !Important;
	height:1%;
	overflow:hidden;
	margin:0 auto;
	text-align:center;
	padding:5px 0;
}

/* layout1.php , layout2.php, layout3.php reset and layout1.php main floats. layout 1 does not contain insettop and insetbottom*/
#leftblock, #midblock, #rightblock, #insetblock, #insetsholder_2t, #insetsholder_2b, #insetsholder_3t, #insetsholder_3b {
	height:100% !Important;
	height:1%;
	overflow:hidden;
	text-align:left;
	float:left;
}

/* layout2.php*/
#holder2 #midblock {
	float:left;
}

#holder2 #leftblock, #holder2 #rightblock, #holder2 #insetblock {
	float:right;
}

#holder2 #insetsholder_2t {
	float:left;
}

#holder2 #insetsholder_2b {
	float:right;
}

/*layout3.php*/
#holder3 #midblock {
	float:right;
}

#holder3 #leftblock, #holder3 #rightblock, #holder3 #insetblock {
	float:left;
}

#holder3 #insetsholder_3t {
	float:right;
}

#holder3 #insetsholder_3b {
	float:left;
}

.clearm {
	clear:both;
	height:1px;
	overflow:hidden;
}

/*END DEFAULT GRID LAYOUT*/

/*BEGING YJSIMPLEGRID 
#yjsg1 contains top1  - top5
#yjsg2 contains adv1 - adv5
#jsg3 contains user1 - user5
#jsg4 contains user6 - user10
#jsg5 contains user11 - user15
#yjsg6 contains user16 - user20
#yjsg7 contains user21 - user25
#yjsgheadergrid contains logo div ,  header1 - header3
#yjsgbodytop contains bodytop1 - bodytop3
#yjsgbodybottom  contains boddybottom1 - bodybottom3
*/
#yjsgheadergrid {
	float:right;
	height:auto;
	margin:0;
	padding:0;
}

#yjsg1, #yjsg2, #yjsg3, #yjsg4, #yjsg5, #yjsg6, #yjsg7, #yjsgbodytop, #yjsgbodybottom {
	margin:0px auto 0px auto;
	text-align:center;
	overflow:hidden;
	height:auto;
	width:100%;
	padding:15px 0;
}
#yjsg2{
	margin-top:0;
}
#yjsgbodytop, #yjsgbodybottom {
	width:100%;
	padding:0 0 0px 0;
	margin:0px 0 0px 0;
	clear:both;
}

/* MAIN MODULE CONTAINER CLASS. FOR SPECIFIC STYLING
   USE #user1 .yjsgxhtml or #user1 .yjsgxhtml .yjsquare  */
.yjsgxhtml {
	float:left;
	clear:right;
	text-align:left;
	margin:0;
	padding:0;
}

.yjsgxhtml .yjsquare_in {
}

/* EXAMPLE OF LAST MODULE IN THE GRID BG IMAGE OVERRIDE 
   WE USED GRID1 MODULE POSITION TOP5. USEFULL FOR INSET LINE SEPARATOR BETWEEN MODULES*/
#yjsg1 #top5 {
/*background:none;*/
}

/* GUTTERS */
/* SQUARE MODULES GUTTER */
.yjsgxhtml .yjsquare {
	margin:0 0;
	padding:0 0;
}

/* yjplain */
.yjplain{
	padding:5px 10px;
}
.yjplain p {
	padding:5px 10px;
}

/* KEEP LEFT, RIGHT, INSET, INSETTOP, INSET BOTTOM OF THE EDGES */
#insetsholder_2t, #insetsholder_2b {
	padding:0;
	margin:0px 0 0 0;
}

.inside {
	margin:0;
	padding:0px 3px;
	overflow:hidden;
}

/*KEEP MAINBODY GRID, BODYTOPS AND BODYBOTTOMS OF THE EDGE
--------------------- */
.insidem {
	padding:0px 3px;
	margin:0 0;
}

/*END GUTTERS*/
/*FOOTER AND FOOTER LINKS
--------------------- */
#footer {
	clear:both;
	text-align:center;
	overflow:hidden;
	margin:0 auto;
	padding:0px 0;
	position:relative;
}

#youjoomla {
	clear:both;
	text-align:left;
	padding:5px 10px;
	overflow:hidden;
}

#footmod {
	clear:both;
	text-align:left;
	padding:0;
	margin:0px;
	overflow:hidden;
}

#cp {
	text-align:left;
	padding:2px 0px;
	overflow:hidden;
}

.yjsgcp span {
	text-transform:capitalize;
}

.validators {
	float:left;
	text-align:left;
}

.yjsglogo {
	position:absolute;
	right:10px;
	display:block;
	top:10%;
	height:48px;
	width:229px;
	margin:0;
	padding:0;
	background: url(../images/yjsglogo.png) no-repeat center center;
}
.yjsglogo span{
	line-height:999px;
}
#joomlacredit {
	padding:3px 0px 3px 0px;
	text-align:left;
	text-indent:10px;
	margin:0 auto;
}

/* DEFAULT SQUARE MODULES. FOR ROUND MODULES OPEN rounded.css
ALSO APPLIED ADDITIONAL MODULE CLASS FOR DIFFERENT MODULE STYLES. 
TO ACTIVATE THEM ADD _yj1 or _yj2 IN MODULE MANAGER Module Class Suffix TEXT INPUT.
STYLE FOR THESE MODULES IS IN COLOR.css file where COLOR IS YOUR CURRENT DEFAULT SITE STYLE
--------------------- */
/* MAIN MODULE HOLDER*/
.yjsquare, .yjsquare_yj1, .yjsquare_yj2, .yjsquare_yj3, .yjsquare_yj4 {
	margin: 5px 0 5px 0px!Important;
	padding: 0px;
	clear: both;
	display:block;
	height:100% !Important;
	height:1%;
	overflow:hidden;
}

/* MODULE TITLE */
.yjsquare h4, .yjsquare_yj1 h4, .yjsquare_yj2 h4, .yjsquare_yj3 h4, .yjsquare_yj4 h4 {
	text-transform: capitalize;
	overflow:hidden;
	padding:0;
	margin:5px;
	font-size:19px;
}

/* MODULE TITLE SPAN*/
.yjsquare h4 span, .yjsquare_yj1 h4 span, .yjsquare_yj2 h4 span, .yjsquare_yj3 h4 span, .yjsquare_yj4 h4 span {
	text-transform: capitalize;
	overflow:hidden;
}

/* MODULE CONTENT*/
.yjsquare_in, .yjsquare_yj1 .yjsquare_in, .yjsquare_yj2 .yjsquare_in, .yjsquare_yj3 .yjsquare_in, .yjsquare_yj4 .yjsquare_in {
	overflow:hidden;
	padding: 10px;
}

/* MODULE p ELEMENT*/
.yjsquare p, .yjsquare_yj1 p, .yjsquare_yj2 p, .yjsquare_yj3 p, .yjsquare_yj4 p {
	overflow:hidden;
	padding:3px;
}

/*FOOTER MODULE STYLE
--------------------- */
#footmod .yjsquare {
	padding:0;
	margin:0;
}

#footmod .yjsquare h4 {
}

#footmod .yjsquare h4 span {
}

#footmod li, #footmod li:hover {
	list-style-type:none;
	list-style-image:none;
	background:none;
}

#footmod ul {
	padding:0;
	margin:0;
}

#footmod ul li {
	display: inline;
	margin:0;
	padding:0 10px 0 0;
}

#footmod ul li a {
}

/*PATHWAY*/
#pathway {
	padding:3px 5px;
}

#pathway .yjsg_breadcrumbs a.pathway {
	margin:0 5px 0 0;
	padding:0 15px 0 0;
}

/*SITE TOOLS DIV CONTAINING RTL/LTR SWITCH AND FONT RESIZER*/
#tools {
	position:absolute;
	z-index:100;
	left:185px;
	bottom:19px;
	padding:0px 0px 0 0px;
	margin:0;
	text-align:left;
	width:auto;
	font-weight:bold;
	height:25px;
	line-height:19px;
}

#tools .tdir {
	font-size:80%;
	margin:0 0 4px 0;
}

#tools .fs {
	font-size:110%;
	margin:0 7px 0 0;
}

#tools img {
}

/* ADDITIONAL MODULE STYLES */
/*mod_poll
--------------------- */
.pollbuttons {
	margin:0 auto;
	text-align:center;
}

/*login module
--------------------- */
#modlgn_passwd, #modlgn_username {
	width: 95%;
	height:16px;
	padding-left: 3px;
	padding-top:3px;
}

/*searchbox
--------------------- */
.search {
}

.search .inputbox {
}

/*BANNER MODULE AND IMAGE .banner CLASS.
USED FOR POSITIONING WHEN RESIZING LOGO AND HEADER BLOCK*/
#yjsgheadergrid .bannergroup, #yjsgheadergrid .banner {
	padding:15px 0 0 0;
	text-align:right;
}

/* MODULE NEWS FLASH */
div.yjsg-newsflash {
	overflow: hidden;
}

div.yjsg-newsflash div.item {
	padding-bottom: 15px;
	overflow: hidden;
}

div.yjsg-newsflash div.last {
	padding-bottom: 0px;
}

/* QUICK NAVIGATION FOOTER */

ul.quick_nav {
	margin:0;
	padding:0;
	list-style-type:none;
	background:none;
}

ul.quick_nav li {
	display:block;
	width:50%;
	float:left;
	margin:0;
	padding:0;
	list-style-type:none;
	background:none;
	overflow:hidden;
}

ul.quick_nav li a {
	height: 26px;
	line-height: 20px;
	text-decoration: none;
	display: block;
	text-decoration: none;
	padding:5px 0 0 15px;
}
/* DEFAULT GRID OVERRIDES AND ADDITIONAL CSS. 
NOTE! DO NOT EDIT ABOVE. USE CSS OVERRIDE FOR CHANGES. 
IS EASIER TO SET BACK TO DEFAULT IF YOU MAKE MISTAKE.
HERE IS CSS OVERRIDE EXAMPLE 
http://www.youjoomla.com/how-to-use-module-css-override.html*/

/*----TOP BG-----*/
#top_out{
	display:block;
	clear:both;
}
/*----END TOP BG-----*/
#yjsg1 {
	padding:0;
}
/*----YOUMAGAZINE NS----*/
.yjsquare_ymns .yjsquare_in{
	padding:0;
	margin:0;
}
.yjsquare_ymns .Youmagazine_Slider{
	border:none;
	background:none;
}
.yjsquare_ymns #YJYoumagazine_inner {
	margin:0px;
	border:none;
}
.yjsquare_ymns .YJYoumagazine_slide {
	background:none;
	border:none;
	margin:0px;
}
.yjsquare_ymns .Youmagazine_title {
	font-size:250%;
	display:block;
	font-weight:normal;
	font-family:'DroidSerifBoldItalic', Arial, sans-serif;
	text-align:left;
	clear:none;
	margin:25px 0 15px 0;
	padding:0px;
	line-height:35px;
}
.yjsquare_ymns .imgholder{
	position:relative;
	clear:none;
	float:right;
	margin:0 25px 0 0;
	padding:0px;
	border:none;
}
.yjsquare_ymns .imgholder_in{
	background:none;
	margin:3px;
}
.yjsquare_ymns .YJYoumagazine_description {
	float:left;
	font-size:11px;
	padding:0 5px;
}
.yjsquare_ymns a.YJYoumagazine_more {
	font-size:150%!important;
	text-align:center!important;
	line-height:15px;
	font-weight:normal!important;
	padding:20px 0 0 0!important;
	margin:10px 0 0 0;
	width:210px;
	height:50px;
}
.yjsquare_ymns a.YJYoumagazine_more span{
	font-size:50%;
	font-family:'DroidSerifRegular', Arial, sans-serif;
	text-transform:uppercase;
}
.yjsquare_ymns #YJYoumagazine_left,.yjsquare_ymns #YJYoumagazine_right {
	top:42%;
	left:1%;
	width:14px;
	height:14px;
}
.yjsquare_ymns #YJYoumagazine_right {
	right:1%;
	left:auto;
}
.yjsquare_ymns .navContainer {
	margin:0px;
	height:145px;
	padding:19px 0 0 0;
}
.yjsquare_ymns #YJYoumagazine_nav {
	margin:0px 35px!important;
	height:105px;
	width:910px!important;
}
.yjsquare_ymns .navContainer a.YJYoumagazine_navLink {
	margin:0px 15px 0px 0px;
	width:139px;
	height:105px;
}
.yjsquare_ymns .navContainer a.YJYoumagazine_navLink span.slide_img {
	width:131px;
	height:97px;
	margin:4px;
	clear:right;
}
/*----END YOUMAGAZINE NS----*/
/*------------CORNERS----------------*/
.yjrm,.yjlm , .yjtl, .yjtr, .yjbl, .yjbr {	
	width:100%;
	margin:0 auto;
	overflow:hidden;
	position:relative;
	display:block;
}
.yjround_content, .yjround_content_j {
	padding:10px;
	overflow:hidden;
	margin:0;
	height:1%;
	position:relative;
}
/*------------END CORNERS----------------*/
/*------CUSTOM TEXT MODULE*--------*/
.paragraph_1{
	margin:0 0 20px 0;
	padding:0 20px!important;
	font-size:105%;
	line-height:22px;
	font-weight:bold;
}
.paragraph_2{
	padding:0 20px!important;
	font-size:90%;
}
/*------END CUSTOM TEXT MODULE*--------*/
/*------YORK MODULE SLIDER*--------*/
.yjsquare_youyork_slider .yjsquare_in{
	padding:0;
	margin:0;
}
.yjsquare_youyork_slider h4{
	font-size:18px;
	font-weight:bold!important;
	font-family:'DroidSansRegular', Arial, sans-serif;
	margin:15px 25px 10px 10px;
	padding-bottom:10px;
	border-bottom:1px solid #d6d6d6;
}
.yjsquare_youyork_slider #yy_slider .yy_slideitems {
	padding:0 0 30px 0;
}
.yjsquare_youyork_slider #yy_slider .yy_slideitems_in{
	background:none;
}
/*mbox*/
.yjsquare_youyork_slider .bot_thumb{
	border:none;
	padding-top:2px;
}
.yjsquare_youyork_slider .popbox{
	border:none;
	background:url(../images/mbox_image_holder.jpg) no-repeat left top!important;
	height:86px;
	width:86px;
}
.yjsquare_youyork_slider p{
	font-size:90%;
	padding:0px 0px 10px 3px;
}
/* navigation */
#yy_container .linkForward,
#yy_container .linkBackward {
	right:14%!important;
	bottom:6%!important;
	top:auto;
	width:14px;
	height:14px;
}
#yy_container .linkBackward{
	left:4%;
	right:auto;
}
/*------END YORK SLIDER----------*/
/*------CUSTOM MODULE--------*/
.paragraph_3{
	float:left;
	clear:both;
	font-size:150%;
	font-family:'DroidSerifBoldItalic', Arial, sans-serif;
}
.paragraph_3 span{
	line-height:35px;
	padding-left:180px;
}
.cm_readmore{
	display:block;
	overflow:hidden;
	float:right;
	margin:5px 0;
	width:210px;
	height:50px;
	font-size:150%;
	font-weight:normal;
	text-align:center;
	padding-top:12px;
	line-height:15px;
}
.cm_readmore span{
	font-size:50%;
	font-family:'DroidSerifRegular', Arial, sans-serif;
	text-transform:uppercase;
}
/*------END CUTOM MODULE--------*/
/*------YJNF ULTIMATE--------*/
.yjsquare_yjnfyy .yjsquare_in{
	padding:0;
}
.yjsquare_yjnfyy .yjnewsflashu_in{
	padding:10px 15px;
	border-bottom:none;
}
.yjsquare_yjnfyy a.itemtitle {
	clear:none;
	margin:0;
	padding-right:25px;
	font-weight:bold;
	font-size:120%;
}
.yjsquare_yjnfyy p{
	margin:10px 0 0 48px!important;
}
.yjsquare_yjnfyy div.imageholder{
	margin:7px 20px 0 0;
	padding:0px;
	border:none;
	background:none;
}
.yjsquare_yjnfyy a.itemreadmore{
	width:72px;
	height:26px;
	float:left;
	border:none;
	line-height:26px;
	padding:0px;
	margin:15px 0 0 190px;
	text-transform:uppercase;
	font-size:65%;
}
.yjsquare_yjnfyy a.itemreadmore span{
	height:26px;
	line-height:26px;
	padding:0;
}
/*---Latest from the blog-----*/
.yjsquare_latest .yjsquare_in{
	padding:0 25px 0 0;
}
.yjsquare_latest a.itemtitle{
	clear:none;
	margin:0;
	font-weight:bold;
	font-size:120%;
}
.yjsquare_latest .yjnewsflashu_in{
	padding:10px 0 25px 0;
}
.yjsquare_latest h4{
	margin:15px 0 10px 0;
	font-size:150%;
	font-family:'DroidSerifBoldItalic', Arial, sans-serif;
}
.yjsquare_latest p{
	margin:5px 0 10px 100px!important;
	line-height:20px;
	font-size:90%;
}
.yjsquare_latest div.imageholder{
	margin:0px 10px 0 0;
	padding:4px;
	border:none;
}
.yjsquare_latest div.itemdetails {
	bottom:15px;
	left:100px;
	font-size:9px;
	font-family:'DroidSerifItalic', Arial, sans-serif;
}
.yjsquare_latest div.itemdetails .itemcategory,
.yjsquare_latest div.itemdetails .itemcdate{
	font-weight:normal;
}
/*------END YJNF ULTIMATE--------*/
/*------BOTTOM BG------------*/
#bottom_out{
	display:block;
	overflow:hidden;
	clear:both;
	margin:20px auto 5px auto;
}
/*------END BOTTOM BG------------*/
/*------CUSTOM MODULE YJ1------------*/
.yjsquare_yj1 h4{
	font-size:21px;
	margin-left:10px;
	font-family:'DroidSerifBoldItalic', Arial, sans-serif;
}
.yjsquare_yj1 p span{
	font-size:15px;
	font-weight:bold;
}
/*------END CUSTOM MODULE YJ1------------*/
.footer_rm{
	display:block;
	overflow:hidden;
	width:62px;
	height:29px;
	margin:30px 0 0 140px;
	text-align:center;
	line-height:26px;
	font-size:10px;
	text-transform:uppercase;
}
/*------CUSTOM MODULE YJ2--------*/
.yjsquare_yj2 h4{
	font-size:21px;
	margin-left:10px;
	padding-left:35px;
	font-family:'DroidSerifBoldItalic', Arial, sans-serif;
}
/*------END CUSTOM MODULE YJ2--------*/
/*----CUSTOM MODULE YJ3----*/
.yjsquare_yj3 h4{
	font-size:18px;
	font-weight:bold!important;
	font-family:'DroidSansBold', Arial, sans-serif;
	padding-bottom:10px;
	margin:15px 10px 0px 5px;
}
.yjsquare_yj3 p{
	font-size:90%;
}
/*----END CUSTOM MODULE YJ3----*/
/*----CUSTOM MODULE YJ4----*/
.yjsquare_yj4 h4{
	margin:15px 0 0px 10px;
	font-size:150%;
	font-family:'DroidSerifBoldItalic', Arial, sans-serif;
}
.yjsquare_yj4 p{
	line-height:20px;
	font-size:90%;
}
/*----END CUSTOM MODULE YJ4----*/
/*------BLOGROLL--------*/
#yjsg7 ul li{
	padding:9px 10px;
	background:none;
}
/*------END BLOGROLL--------*/
/*------TWEETS--------*/
.yjsquare_yj2 .yj_twitter_cont {
	display:block;
	position:relative;
	padding:10px 0 5px 0;
}
.yjsquare_yj2 .yj_twitter_updated {
	font-size:10px;
	position:absolute;
	right:0px;
	bottom:5px;
}
.yjsquare_yj2 .yj_twitter_title {
	margin:0 0 0px 0;
	font-size:11px;
}
/*------END TWEETS--------*/
.componentheading{
	padding:5px 0!important;
}
.typo .cm_readmore,.typo .footer_rm{
	margin:10px 0 0 5px; 
	float:left!important;
}