/**
* custom.css file created by Yougrids Template
* @package Yougrids Template
* @author Youjoomla.com
* @website Youjoomla.com 
* @copyright	Copyright (c) since 2007 Youjoomla.com.
* @license PHP files are released under GNU/GPL V2 Copyleft License.CSS / LESS / JS / IMAGES are Copyrighted material
**/
/*
 ADD ALL YOUR CUSTOM CSS OVERRIDES TO THIS FILE.
 THIS WAY IF YOU MAKE A MISTAKE YOU CAN ALWAYS TURN CUSTOM CSS FILE OFF
 AND REVERT BACK TO ORIGINAL TEMPLATE CSS
 THIS FILE WILL LOAD VERY LAST AFTER ALL TEMPLATE CSS FILES.
 SO YOU CAN OVERRIDE ANY CSS PART OF THE TEMPLATE YOU NEED.
*/
body#stylef6 {
	background: #020828 url(../images/lwd/background3.jpg) no-repeat top center;
  }
 
#centertop { margin-top: 30px;} 

/* 
#yjsg3 img,
#yjsg5 img,
.newsitem_text img  {
	
	max-width:97% !important;
	padding:1.5%;
	background: #f1f1f1;
	box-shadow: 4px 4px 6px rgba(0,0,0,0.3);
	margin-right: 20px;
	margin-bottom: 20px;
	height: auto;
}*/
h1 {
line-height: 1.1em;
}

/* ---------------------- Fonts --------------------------*/

a, .yjsg_features h1, .yjsg_features h4, .yjsgdoclist h1, .yjsgdoclist h4,  .high-light{

	/*color: #d00a19;*/
	color: #30be2e;
}

p {	
	
}

/*-------------------------- header block ------------------------------*/
#header  { 
	padding: 10px 0 0 0; 
	width: 100%; 
	height: auto!important;
	-moz-border-radius: 15px 15px 0px 0px;
	-webkit-border-radius: 15px 15px 0px 0px;
	border-radius:15px 15px 0px 0px;
} 

#header .yjsg_grid,
#header .yjsquare_in,
#header  p {
	padding: 0px;
	margin: 0px;
}
#header  img{
	max-width:100%;
	padding: 0;
	background: transparent;
	box-shadow: none;
	margin: 0;
	height: auto;
	display: block;
}

#header ,
#header  h1,
#header p,
#header .yjsquare  { 
	padding: 0px;
	margin : 0px;
}
/* ------------------------------ Main Menu--------------------------*/

#topmenu_holder.yjsgmega, #topmenu_holder.topmodpoz, #topmenu_holder.topmodpoz_navbar {

background: #1c40b8; /* Old browsers */
background: -moz-linear-gradient(top,  #1c40b8 0%, #5070dc 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#1c40b8), color-stop(100%,#5070dc)); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top,  #1c40b8 0%,#5070dc 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top,  #1c40b8 0%,#5070dc 100%); /* Opera 11.10+ */
background: -ms-linear-gradient(top,  #1c40b8 0%,#5070dc 100%); /* IE10+ */
background: linear-gradient(to bottom,  #1c40b8 0%,#5070dc 100%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#1c40b8', endColorstr='#5070dc',GradientType=0 ); /* IE6-9 */

border-top: none;
border-bottom: none;
-webkit-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.065);
-moz-box-shadow: 0 1px 4px rgba(0,0,0,0.065);
box-shadow: 0 1px 4px rgba(0, 0, 0, 0.065);
}

.top_menu ul li a {
color: #cccccc;
}

.top_menu ul li a:hover, .top_menu li.active a.activepath {
color: #ffffff;
}
span.yjm_has_none span.yjm_title { line-height: 50px; }

.horiznav { height: 50px; }

.horiznav a {
	text-transform: uppercase;
	font-size: 120%;
	font-weight: bold;
	padding: 0px 15px 0px 15px;
	height: 50px;
	
}

.horiznav li {
	border-right : 1px solid #5070dc;
}
.horiznav li.first{
	border-left : 1px solid #5070dc;
}

/* -------------------- Main Content ------------------------------------------*/
.blue_yjsg3_out {
	background: transparent;
	border-bottom: none;
	border-top: none;
}
#midblock .insidem {
	padding: 0 0 0 1.1%;
}
@media screen and (max-width: 980px) {
	#midblock .insidem {
		padding: 0 1.1% 0 1.1%;
	}
}


 
 #centertop, #centerbottom, #yjsg3, #mmenu_holder, .top_menu, #yjsg5 {
	/*background: #ffffff;*/
}
#holder {
	padding : 10px 1.5%;
}
 #centerbottom  #holder, #yjsg3 {
	/*background: #ffffff url(../images/lwd/line_h.gif) 0 100% repeat-x;*/
	border-bottom: 1px solid #f1f1f1;
}
.yjsg-blog_f {
	padding: 0px;
}
div.yjsg-newsitems .yjsg-blog_f, div.yjsg-newsitems .yjsg-blog_c, div.yjsg-newsitems .yjsg-blog_s {
padding: 0px;
}

#yjsg3, #centerbottom {
	border-left: 1px solid #94B8CE;
	border-right: 1px solid #94B8CE;
}

/* --------------------- Articles ------------------------------*/
.news_item_a,
.news_item_f,
.news_item_c {
	border: 1px solid #bac6ee;
	overflow: hidden;
	
	background: #f9f9f9; /* Old browsers */
	background: -moz-linear-gradient(top,  #f9f9f9 1%, #feffff 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(1%,#f9f9f9), color-stop(100%,#feffff)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  #f9f9f9 1%,#feffff 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  #f9f9f9 1%,#feffff 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  #f9f9f9 1%,#feffff 100%); /* IE10+ */
	background: linear-gradient(to bottom,  #f9f9f9 1%,#feffff 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f9f9f9', endColorstr='#feffff',GradientType=0 ); /* IE6-9 */

	-moz-border-radius: 10px 10px 10px 10px;
	-webkit-border-radius: 10px 10px 10px 10px;
	border-radius:10px 10px 10px 10px;
}
h1.article_title,
h2.article_title {
	text-indent:10px;
	border-bottom: 1px solid #bac6ee;
}
div.newsitem_text {
	margin: 0 10px;
}

/* ------------------- left colum ---------------------------*/

#leftblock .yjsquare {
	margin: 0px;
	padding: 0px;
}



/* -------------------- top grid ------------------------------------------*/
#yjsg3  {
	background: #ffffff;
}

#user1 .yjsquare { Padding: 0 2% 0 4%;}
#user2 .yjsquare { Padding: 0 2% 0 2%;}
#user3 .yjsquare { Padding: 0 2% 0 2%;}
#user4 .yjsquare { Padding: 0 4% 0 2%;}



@media screen and (max-width: 980px) {
		
	#user1 .yjsquare, #user3 .yjsquare { Padding: 0 2% 0 4%;}
	#user2 .yjsquare, #user4 .yjsquare { Padding: 0 4% 0 2%;}
	
}

@media screen and (max-width: 480px) {
		
	#user1 .yjsquare, #user2 .yjsquare, #user3 .yjsquare, #user4 .yjsquare { 
		Padding: 0 2% 0 2%;
	}
}
#yjsg3 .yjsquare {
	margin: 0 0 10px 0;
}
#yjsg3 .-box_blue h2{
	background: #758ddc;
	border:solid 1px #5070dc;
	color: #092378;
}
#yjsg3 .-box_gold h2 {
	background: #ffc648;
	border:solid 1px #ffb30b;
	color: #4b3403;
}
#yjsg3 h2 {
	margin: 0px;
	text-indent: 10px;
	
	-moz-border-radius: 10px 10px 0px 0px;
	-webkit-border-radius: 10px 10px 0px 0px;
	border-radius:10px 10px 0px 0px;
}
#yjsg3 p {
	margin: 0 10px;
}



#yjsg3 .yjsquare_in { 
	height: 300px;
	

}



#user4 .yjsquare.-box_gold  .yjsquare_in{
	background: #ffeabc;
	border:solid 1px #ffb30b;
}

#user1 .yjsquare.-box_blue .yjsquare_in,
#user2 .yjsquare.-box_blue .yjsquare_in,
#user3 .yjsquare.-box_blue  .yjsquare_in{
	background: #bac6ee;
	border:solid 1px #5070dc;
}


#yjsg3 .yjsquare_in {
	
	-moz-border-radius: 10px 10px 10px 10px;
	-webkit-border-radius: 10px 10px 10px 10px;
	border-radius:10px 10px 10px 10px;
}

#yjsg3 h2.module_title {
	margin: 0 0 0px 0;
	padding-left: 6px;
}

#yjsg3 .yjsquare_in,
#yjsg3 .yjsquare_in div {
	padding: 0px;
}


/* ----------------------------- right column ------------------------------------*/


#rightblock .yjsquare {
	margin: 0 0 10px 0;
}
#rightblock  h4{
	background: #32478a;
	border:solid 1px #092378;
	color: #ffffff;
	font-size: 1.8em;
	line-height: 1.7em;
	margin: 0px;
	text-indent: 10px;
	
	-moz-border-radius: 10px 10px 0px 0px;
	-webkit-border-radius: 10px 10px 0px 0px;
	border-radius:10px 10px 0px 0px;
}
#rightblock p {
	margin: 0 10px;
	overflow: hidden;
}

#rightblock .news_item_inner{
	background: #bac6ee;
	border:solid 1px #092378;	
	-moz-border-radius: 10px 10px 10px 10px;
	-webkit-border-radius: 10px 10px 10px 10px;
	border-radius:10px 10px 10px 10px;
	overflow: hidden;
}

#rightblock h2.module_title {
	margin: 0 0 0px 0;
	padding-left: 6px;
}

#rightblock .yjsquare_in,
#rightblock .yjsquare_in  .news_item_inner div {
	padding: 0px;
}

ul.newsflash-vert li.newsflash-item {
	background: transparent none;
	padding: 0px;
}
/* ------------------------ Templates ----------------------------------*/
.article-row {}

.article-row  p, .article-row  h1, .article-row  h2, .article-row  h3, .article-row  h4
 { }

.w100 {width:100%; float:left; clear:both;  }

.w25 {width:24%; float:left; margin-left:1%; }
.w50 {width:49%; float:left; margin-left:1%; }

@media only screen and (max-width: 780px) {
	.w25 {width:49% !important; }
	.w50{width:100% !important; margin-left:0% }
}
@media only screen and (max-width: 480px) {
	.w25 {width:100% !important; margin-left:0%}
}


/* ------------------------ bottom grid --------------------------------*/
#user11 .yjsquare { Padding: 0 20px 0 20px;}
#user12 .yjsquare { Padding: 0 20px 0 20px;}

@media only screen and (min-width: 480px) {
	#user11 {width: 60% !important;}
	#user12 {width: 40% !important;}
	#user11 .yjsquare { Padding: 0 10px 0 20px;}
	#user12 .yjsquare { Padding: 0 20px 0 10px;}
}

/* -------------------------------------- buttons ---------------------------------------*/
.button-outer {
		display: block;
		float:left;
		width: 100%;
		padding-bottom: 20px;
}
.button-outer a {
		width: 90%;
}

@media only screen and (min-width: 480px) {
	.button-outer {
		display: inline-block;
		float:left;
		width: 50%;
		padding-bottom: 0px;
	}
	.button-outer a {
		width: 80%;
	}
}
    .myButton {
        
        -moz-box-shadow: 0px 10px 14px -7px #276873;
        -webkit-box-shadow: 0px 10px 14px -7px #276873;
        box-shadow: 0px 10px 14px -7px #276873;
        
        background:-webkit-gradient(linear, left top, left bottom, color-stop(0.05, #2cd12c), color-stop(1, #219e28));
        background:-moz-linear-gradient(top, #2cd12c 5%, #219e28 100%);
        background:-webkit-linear-gradient(top, #2cd12c 5%, #219e28 100%);
        background:-o-linear-gradient(top, #2cd12c 5%, #219e28 100%);
        background:-ms-linear-gradient(top, #2cd12c 5%, #219e28 100%);
        background:linear-gradient(to bottom, #2cd12c 5%, #219e28 100%);
        filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#2cd12c', endColorstr='#219e28',GradientType=0);
        
        background-color:#2cd12c;
        
        -moz-border-radius:10px;
        -webkit-border-radius:10px;
        border-radius:10px;
        
        display:inline-block;
        color:#ffffff;
        font-family:arial;
        font-size:18px;
        font-weight:bold;
        padding:16px 16px;
        text-decoration:none;
		text-align: center;
        
        text-shadow:0px 1px 0px #117c8a;
        
    }
    .myButton:hover {
        
        background:-webkit-gradient(linear, left top, left bottom, color-stop(0.05, #219e28), color-stop(1, #2cd12c));
        background:-moz-linear-gradient(top, #219e28 5%, #2cd12c 100%);
        background:-webkit-linear-gradient(top, #219e28 5%, #2cd12c 100%);
        background:-o-linear-gradient(top, #219e28 5%, #2cd12c 100%);
        background:-ms-linear-gradient(top, #219e28 5%, #2cd12c 100%);
        background:linear-gradient(to bottom, #219e28 5%, #2cd12c 100%);
        filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#219e28', endColorstr='#2cd12c',GradientType=0);
        
        background-color:#219e28;
		
		color:#ffffff;
    }
    .myButton:active {
        position:relative;
        top:1px;
    }





/* contact enhanced layout changes ----------------------------------------------------*/

@media only screen and (max-width: 480px) {
	.contact-sidebar {
		display: none;
	}
	.ce-container div {
		width: 100% !important;
	}
}


@media only screen and (min-width: 480px) {
	.cf-label {
		display: inline-block !important;
		width: 140px;
		text-align :right;
		margin: 0 10px 0 0 ;
		vertical-align: top ;
	}
	
	.ce-contact-email-copy-container ,
	.cf-type-button,
	.captcha-container,
	.ce-checkbox-container,
	.ce-radiobox-container,
	#advice-required-sector {
		/* should be cf-label width + 13 px  */
		padding-left: 153px;
	}
		
}
.cf-input-checkbox,
.cf-input-radio  {
	margin: 3px 10px 0 0 !important;
}

