/*
 Theme Name:     Trades Child Theme
 Theme URI:
 Description:    Child theme for Trades
 Author:         Theme Canon
 Author URI:     http://www.themecanon.com
 Template:       trades
 Version:        1.0.0
*/

/****** Search Size ******/
.search-header-container .search_controls { margin:0; }

/*******Hide Templates******/
.tppTemplate{
    display:none;
}

.hidden {
	display: none !important;
}
/******** MENU **********/

/****** Menu Size *******/
ul#primary_menu {margin: 0; }
@media only screen and (max-width: 768px) {
	#primary_menu {
		display:none;
	}
	#primary_menu .menu-item-give a {
		padding: 2px;
	}
}

/****** Menu display ****/
#secondary_menu {padding: 0;}

.tpp-hdr .menu-item {
	opacity: 1;
	top:     0px;
	right:   0px;
	bottom:  0px;
	left:    0px;
}

.header-container {
    overflow:visible;
    z-index:100;
}
.header-container .wrapper {
    position:relative;
}
.header-container .wrapper .main-header.right {
    position:absolute;
}
.header-container ul.nav > li {
    margin:0 auto; 
}
.header-container ul.nav > li > a {
    text-transform: uppercase;
	padding-top: 2.2em;
	padding-bottom: 1.6em;
}
.header-container ul.nav > li > em {
    text-transform: uppercase;
	padding-top: 2.5em;
	padding-bottom: 1.4em;
}
.header-container ul.nav > li > a:hover {
    color:#4263A9;
}

.header-container ul.nav > li.menu-item-give {
padding-top:5px;
background-color:#bb2535;
-webkit-box-shadow: 0px 3px 10px 0px rgba(0,0,0,0.3);
-moz-box-shadow: 0px 3px 10px 0px rgba(0,0,0,0.3);
box-shadow: 0px 3px 10px 0px rgba(0,0,0,0.3);
}
.header-container ul.nav > li.menu-item-give > a {
 background-color: transparent !important;
 color:#ffffff !important;
	font-family: Roboto, Helvetica, Arial, "sans-serif" !important;
 font-weight:900 !important;
 font-size:18px;
	padding-top: 1.3em;
	padding-bottom: 1.3em;
}

.tpp-logged-out .menu-item-lout,
.tpp-logged-out .menu-item-dash,
.tpp-logged-in  .menu-item-logn {
	display:none !important;
}
 .tpp-logged-out .menu-item-logn,
 .tpp-logged-in  .menu-item-dash,
 .tpp-logged-in  .menu-item-lout {
	display: inline-block !important;
	text-align:center !important;
}
.menu-item-lout a {
	padding-top: 2.5em;
	padding-bottom: 1.3em;
}
@media only screen and (max-width: 768px) {
	.header-container {
    overflow:visible;
    z-index:100;
}
.header-container ul.nav > li {
    display: block;
    float: none;
    text-align: center;
}
.header-container .wrapper .main-header.right {
    position:relative;
}
}

/** HEADER **/
#header_logo {
	margin:auto;
}

/** TPP Section Headers **/
.tpp-section-header {
	font-size: 36px;
	font-family: Roboto Slab;
	font-weight: 400;
	font-style: normal;
}

/** TPP Section Footers **/
.tpp-section-footer {
	margin-top:-40px;
}
.tpp-section-footer .btn {
	margin-top: -20px;
}

/** Fixing typeography **/
em, i{ font-style: italic; }

/*
	Byline styling
 */
#byline .author {
	background: -moz-linear-gradient(left,  rgba(29,32,39,0.9) 0%, rgba(49,53,63,0.6) 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, right top, color-stop(0%,rgba(29,32,39,0.9)), color-stop(100%,rgba(49,53,63,0.6))); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(left,  rgba(29,32,39,0.9) 0%,rgba(49,53,63,0.6) 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(left,  rgba(29,32,39,0.9) 0%,rgba(49,53,63,0.6) 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(left,  rgba(29,32,39,0.9) 0%,rgba(49,53,63,0.6) 100%); /* IE10+ */
	background: linear-gradient(to right,  rgba(29,32,39,0.9) 0%,rgba(49,53,63,0.6) 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr="#e61d2027", endColorstr="#9931353f",GradientType=1 ); /* IE6-9 */
	padding: 5px;
	color:#fff !important;
	position: relative;
	top: -47px;
	border-top: 1px solid #1d2027;
}
#byline .author a {
	color:#fff !important;
	font-family: "Open Sans Condensed";
	font-weight: 700 !important;
	font-style: normal;
	font-size: 16px;
}
#byline .author .by {
	font-family: "Open Sans";
}
#byline .bio {
	position: relative;
	top: -47px;
	margin-bottom: -47px;
}
#byline img {
	width: 158px;
}

ul.paging a:hover {
  text-decoration: none;
}

/*
	Fixing Google maps controls
 */
#map-canvas img {
	max-width: none;
}