/*

Theme Name: X &ndash; Child Theme
Theme URI: http://theme.co/x/
Author: Lexicom
Author URI: http://lexicom.ca/
Description: Make all of your modifications to X in this child theme.
Version: 1.0.0
Template: x

*/


body {
	line-height: 1.4;
}

.entry-title a {
	color: #0062a6 !important;
}

.entry-title a:hover {
	color: #111c24 !important;
}

.x-slider-container.below {
	border-bottom: 1px solid #162536;
}

/*** removes featured image and featured image icon ***/

.entry-thumb:before { display:none !important; }

/*** float featured images right ***/


.x-sidebar .widget {
	font-size: 13px;
	font-weight: 600 !important;
}

.entry-featured {
        width: 40%;
        float:right;
        display:inline-block;
		margin-left: 15px;
    }
	
.has-post-thumbnail .entry-featured {
	border: none !important;
}

.x-boxed-layout-active .has-post-thumbnail .entry-featured {
	border: none !important;
}
	

/*** hide video thumb as it's handled differently to a featured image ***/

.entry-featured .x-video-inner {
	display: none !important;
}

	
a.entry-thumb:hover img {
	opacity: 0.7
}

/*** end customize and float featured image right ***/

.x-navbar .x-nav-wrap .x-nav > li > a {
    font-style: normal;
    font-weight: 600;
}

.desktop .sub-menu {
	position: absolute;
	display: none;
	float: left;
	min-width: 200px;
	margin: 0;
        padding: 0.5em 1.6em !important;
	font-size: 13px;
	list-style: none;
	background-color: #efefef;
	z-index: 1000;
	/*border-radius: 4px;*/
	-webkit-background-clip: padding-box;
	background-clip: padding-box;
	box-shadow: 0 3px 5px rgba(0,0,0,0.25)
}

.desktop .sub-menu a {
	display: block;
	clear: both;
        font-weight: 600;
        padding-left: 5px;
	line-height: 1.7;
	white-space: nowrap;
	color: #0063a7
}

.desktop .sub-menu a:hover {
	text-decoration: none;
	color: #990900 !important;
}

.desktop .sub-menu .x-active>a,
.desktop .sub-menu .current-menu-item>a {
	color: #990900 !important;
}

@media only screen and (min-width: 979px) {
.entry-title {
	margin: 0 0 5px 0;
	font-size: 25px;
	line-height: 1.2
}
}

/* iPad portrait menu rendering problem  */

@media (max-width: 1024px) {
  .x-navbar, .x-navbar-wrap, 
  .x-navbar-fixed-top-active .x-navbar-wrap,
  body.x-navbar-fixed-top-active .x-navbar-wrap {
    height: auto;
  }
  
  .x-btn-navbar {
    display: block !important;
	float:right;
   margin-left: auto;
    margin-right: auto;
    width: 45px;
  }

  .x-nav-wrap.mobile.collapse.in,
  .x-nav-wrap.mobile.collapsing {
    display: block;
  }

  .x-nav-wrap.desktop .x-nav {
    display: none;
  }
}

.entry-content {
	margin-top: 0;
}

footer .x-nav {
   display: none;
}

h4.h-widget {
	font-size: 22px !important;
	line-height: 25px;
	font-weight: normal !important;
	padding: 5px 5px 5px 40px;
	background-image: url(http://www.goodmaninstitute.org/wp-content/uploads/2015/10/widget-logo.png);
	background-repeat: no-repeat;
	overflow: visible; }
	
.hentry {
	margin-top: 0;
	
}	

.donate {
	padding: 15px;
	background-color: #ffffee;
	border: 1px solid #d7d7d7;
}

hr {
	height: 0;
	margin: 1.313em 0;
	border: 0;
	border-top: 1px solid #dddddd;
}

blockquote {
	margin: 1.313em 0;
	background-color: #efefef;
	color: #666666;
	border: 0;
	border-left: 5px solid #0062a6;
	padding: 15px 20px 15px 20px;
	font-style: italic;
	font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-size: 100% !important;
	font-weight: 400;
	line-height: 1.4;
}

h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
	font-weight: 700;
	letter-spacing: -1px !important;
	text-rendering: optimizelegibility;
}


h1 a:hover,
h2 a:hover,
h3 a:hover,
h4 a:hover,
h5 a:hover,
h6 a:hover,
.h1 a:hover,
.h2 a:hover,
.h3 a:hover,
.h4 a:hover,
.h5 a:hover,
.h6 a:hover {
	color: #990900 !important;
}

h1,
.h1 {
	margin-top: .5em;
	font-size: 26px !important;
	line-height: 1.1em
}

h2,
.h2 {
	font-size: 24px !important;
	line-height: 27px
}

h3,
.h3 {
	font-size: 22px !important;
	line-height: 25px
}

h4,
.h4 {
	font-size: 22px !important;
	line-height: 25px
}

h5,
.h5 {
	font-size: 20px !important;
	line-height: 23px
}

h6,
.h6 {
	font-size: 18px !important;
	text-transform: uppercase
}

.x-colophon.bottom {
  	padding: 2px 10px; 
}
		 