/*======================================================================*\
|| #################################################################### ||
|| # 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  ||
|| #################################################################### ||
\*======================================================================*/
/* 
ADD ALL YOUR CUSTOM CSS OVERRIDES TO THIS FILE. THIS WAY IF YOU MAKE
A MISTAKE YOU CAN ALWAYS REVERT BACK TO ORIGINAL TEMPLATE CSS
THIS FILE WILL LOAD VERY LAST AFTER ALL TEMPLATE CSS FILES. IT LOADS EVEN AFTER TEMPLATE_RTL.CSS 
SO YOU CAN ADJUST ANY CSS PART OF THE TEMPLATE YOU NEED.*/
/*CUSTOM ITEM CLASS EXAMPLE*/
/*.horiznav a.newclas{
	background-image:url(../images/pdf_button.png)!important;
	background-repeat:no-repeat!important;
	background-position:95% center!important;
	
}*/
/*CUSTOM FIRST DROP NO TOP ROUNDED CORNERS EXAMPLE*/

/*.horiznav ul.level1 li.tl,.horiznav ul.level1 li.tl:hover{
	background:transparent url(../images/metal/topmenu/square/tl.png)!important;
}
.horiznav ul.level1 li.tr,.horiznav ul.level1 li.tr:hover{
	background:transparent url(../images/metal/topmenu/square/tr.png) no-repeat right top!important;
}
.horiznav ul.level2 li.tl,.horiznav ul.level2 li.tl:hover{
	background:transparent url(../images/metal/topmenu/corners/tl.png)!important;
}
.horiznav ul.level2 li.tr,.horiznav ul.level2 li.tr:hover{
	background:transparent url(../images/metal/topmenu/corners/tr.png) no-repeat right top!important;
}
.top_menu ul.subul_main.level1{
	margin-top:3px;
}
.YJSG_listContainer ul.subul_main.level1{
	margin-top:-3px!important;
}*/

/*HOMEPAGE CUSTOM CSS*/

/* Heading top-right */
#td-head-right {
	margin-top: 5px;
	float: right;
}

#td-head-right .td-btn {
	font-size:14px;
	padding: 2px 12px;
	display:block;	
}

#td-protect.login {
	float:left;
	display:inline-block;
	margin-right:13px;"
}

#td-protect.login span {
	text-align:center;
	display:block;
	margin: 1px 0px 0 0;
	font-size:14px;
}

#td-protect .td-btn {
	background:rgb(139,36,17) !important;
	width:auto; 
	height:auto;
	/* padding: 2px 10px; */
	margin:0;
}

#td-protect .td-btn:hover{
	background:#34383B !important;
}

#td-portal.login {
	border-left:solid 1px #646466;
	display:inline-block;
	float:right;
}

#td-portal.login span {
	text-align:center;
	display:block;
	margin: 1px 0 0 14px;
	font-size:14px;
}

#td-portal .td-btn {
	margin:0 0 0 13px;	
}


/* Home Banner */
#home-banner {
	width: 950px;
	height: 371px;
	/* border-bottom: 2px solid #ebebeb; */
	margin-bottom: 5px;
	padding: 0 0 14px;
}

#home-banner-text {
	width: 950px;
	/* border-bottom: 2px solid #ebebeb; 
	margin-bottom: 10px;
	padding-bottom: 14px;	*/
}

.home-slide {
	width:950px;
	height: 371px;	
}

/* Featured */

#home-featured {
width:950px;
height:345px;
border-bottom: 2px solid #ebebeb;
margin-bottom: 10px;
padding: 0 0 14px;	
}

#home-awards {
width:307px;
height: 250px;
margin-bottom: 0;
padding: 0px;
float:left;
}

#home-testimonials {
	width:642px;
	height: 250px;
	margin-bottom: 0;
	padding: 0;
	float:left;
}

#home-f1 {
width: 307px;
float:left;
padding: 0;
padding-right: 7px;	
}

#home-f2 {
width: 307px;
float:left;
padding: 0 3.5px;	
}

#home-f3 {
width: 307px;
float:left;
padding-left: 7px;
}

.home-fhead {
padding-top:5px;
}

.td-feature img {
width:307px;
height:173px;
background: no-repeat top left;
background-size: 307px 173px;
display: inline-block;
}

.button_red_small {
	width: 40px;
	height: auto;
	padding: 2px 12px;
	font-size: 14px;
	font-weight: 500;
	margin: 0 auto;
	float: none;
	display: block;
	background: #8b2411 !important;
    text-align: center;
    color: #fff !important;
    border: none;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    -khtml-border-radius: 3px;
    border-radius: 3px;	
}

.button_red_small:hover {
background: #34383B !important;
}

/* Search Bar */
.cse .gsc-search-button input.gsc-search-button-v2,
input.gsc-search-button-v2 {
  padding: 4px 24px;
  border-color: #cecece !important;
}

.cse input.gsc-search-button, input.gsc-search-button {
	border-color: #cecece !important;
}

.gsc-input-box {
  height: 21px;
  margin-top: 2px;
}

input.gsc-input {
  font-size: 13px;
}

.gsst_a .gscb_a { 
    margin-top: 1px;
}

.gsc-completion-container {
  font-size: 13px;
}

.gssb_a, .gssb_a td {
    line-height: 25px;
}

/* Placeholder */
span.placeholder {
	width:307px;
	height:173px;
	background:url("../images/placeholder.png") no-repeat top left;
	background-size: 307px 173px;
	display: inline-block;
}