/*  
Theme Name: Valid Cognition
Version: 1.0
Description: Zuki child theme for Valid Cognition blog
Author: Press Up
Author URI: http://pressupinc.com
template: zuki
*/

@import url('../zuki/style.css');

/* Stop hyphen-breaking titles */
h1, h2, h3, h4, h5, h6 {
	hyphens: none;
	-webkit-hyphens: none;
	-ie-hyphens: none;
	-moz-hyphens: none;
}

#site-nav ul li {
	vertical-align: top;
	text-align: center;
}

/* "Menu" to clarify nav menu */
#mobile-menu-toggle span, #mobile-menu-close span {
	display: inline;
	padding: 14px 10px 0 0;
	font-style: italic;
}

#mobile-menu-toggle {
	width: auto;
}

#mobile-menu-toggle:after {
	display: inline;
	position: relative;
}

/* Categories toward top */
.site-content .widget.widget_nav_menu li {
	display: inline-block;
	width: 30%;
	text-align: center;
}

.site-content .widget.widget_nav_menu {
	padding-bottom: 0;
	margin-bottom: 1rem;
}

/* Category titles */
#primary h3.blog-title, #primary h1.archive-title {
	font-size: 1.4rem;
}

/* Category headers */
.archive-header .taxonomy-description p {
	font-size: 0.8125rem;
	line-height: 1.6;
	font-style: initial;
}

/* Full-width featured images */
.attachment-post-thumbnail, .wp-post-image {
	width: 100%;
}

/* No redundant listings */
html article.rp-medium-two:first-child,
.home article.rp-medium-two:first-child {
	display: none;
}

/* Page template submenus */
body:not(.home) #front-content-one {
	width: 100%;
	float: none;
	clear: both;
	border-top: 1px #ccc solid;
}

body:not(.home) #front-content-one > .widget {
	margin-bottom: 0;
}

/* Blockquote handling */
.pullquote {
	width: 250px;
	max-width: 50%;
	margin-top: 0;
}

.pullquote p {
	font-size: 1em;
	border-left: .25em solid #191919;
	padding: .2em 1em;
}

.pullquote.alignright p {
	padding-right: 0;
}

.pullquote.alignleft p {
	padding-left: 0;
}

/* Duplicating top-of-page styling for course taxonomy */
.tax-course .taxonomy-course {
	position: relative;
	margin: 0;
	padding: 50px 0;
	border-top: 1px solid #ccc;	
}

.tax-course .taxonomy-course .entry-content {
	position: relative;
	padding: 0 0 60px;
	max-width: 100%;
}

/* Extending link styling throughout post contents */
.entry-content a:hover {
	color: #191919;
	border-bottom: 1px solid #444;
}

.entry-content a {
	color: #000;
	border-bottom: 1px solid #ccc;
	outline: none;
}

/* No hovering galleries */
.entry-content .gal_content a, .entry-content .gal_content a:hover {
	border: 0;
}

/* No hovering galleries */
.entry-content .et_social_icons_container a, .entry-content .et_social_icons_container a:hover {
	border: 0;
}

/* On-color buttons */
button, .button, input[type="submit"] {
	background-color: #0054A7;
}

/* Give button */
.give-btn {
	background-color: #0054A7;
	padding: 15px 15px 14px;
	color: rgba(255, 255, 255, 0.85);
	border: none;
	font-family: 'Karla', Verdana, Arial, sans-serif;
	font-size: 13px;
	font-size: 0.8125rem;
	letter-spacing: 1px;
	line-height: 1;
	text-transform: uppercase;
	cursor: pointer;
	-webkit-appearance: none;
	-webkit-transition: all ease-in-out 0.2s;
	-moz-transition: all ease-in-out 0.2s;
	-o-transition: all ease-in-out 0.2s;
	transition: all ease-in-out 0.2s;
}

.give-btn:hover {
	background: #000;
}

/* On-color Donate nav */
a[title="Donate"] {
	color: #0054A7;
}

/* Accordions */
.accordion-title {
	cursor: pointer;
	color: #707070;
}

.accordion-title:after {
    content: "+";
    padding-left: .5rem;
}

.accordion-title.open:after {
    content: "-";
}

.accordion-content {padding-bottom: 30px;}

/* Mobile menu stuff */
#mobile-menu-close span {
	display: none;
}

@media screen and (min-width: 767px) {
	header#masthead {
		padding-left: 35px;
		padding-right: 35px;
	}

	/* Fixing overlarge mobile menu */
	#mobile-menu-toggle, #mobile-menu-close {
		display: none !important;
	}

	#mobile-menu-wrap {
		display: inline-block !important;
		width: 60%;
	}

	#site-title {
		padding: 15px 0 20px 0;
		width: 40%;
		float: left;
	}

	#site-nav {
		padding: 36px 0 40px;
	}

	#site-nav ul {
		text-align: right;
		position: relative;
		margin: 0;
		padding: 0;
	}

	#site-nav ul li {
		position: relative;
		display: inline-block;
		height: 60px;
		margin: 0 20px;
		padding: 0;
		border-bottom: none;
	}

	/* Reverse listing direction */
	html .rp-medium-two:nth-of-type(even),
	.front-content .rp-medium-two:nth-of-type(even) {
		clear: left;
		padding-left: none;
		padding-right: 20px;
	}

	html .rp-medium-two:nth-of-type(odd),
	.front-content .rp-medium-two:nth-of-type(odd) {
		clear: right;
		padding-right: none;
		padding-left: 20px;
	}

	.tax-course .taxonomy-course {
		padding: 63px 0;
	}

	.tax-course .taxonomy-course h1.entry-title {
		font-size: 2.625rem;
		line-height: 1.35;
		margin: 0 0 30px;
		padding: 0;
	}
}

@media screen and (min-width: 1023px) {
	header#masthead {
		padding-left: 91px;
		padding-right: 91px;
	}

	#site-nav {
		padding-bottom: 60px;
	}
}

@media screen and (min-width: 1260px) {
	header#masthead {
		padding-left: 0;
		padding-right: 0;
	}

	/* Putting menu inline with header image */
	#mobile-menu-wrap {
		display: inline-block !important;
		width: 60%;
	}

	#site-title {
		width: 40%;
	}

	#site-nav {
		padding-top: 56px;
		padding-bottom: 80px;
	}

	#site-nav ul {
		text-align: right;
	}

	/* Not overdoing on main menu font size */
	#site-nav ul li a {
		font-size: 1.125rem;
	}
}