/*
Theme Name: twentysixteen-child
Theme URI: http: //mysite.com/
Description: This is PSI's adaptions to the twentysixteen WP theme
Author: Chris Pine
Author URI: 
Template: twentysixteen
Version: 0.1
*/

/* ========== BRINGS IN THE STYLE SHEET FOR THE TEMPLATE THEME ========== */
@import url("../twentysixteen/style.css");




/* ========== PSI CUSTOMISATION ========== */


/* Adjust padding and alignment on header */
.site-header {
    padding: 0% !important;
    text-align: center;
}
.site-branding,
.site-header-menu,
.header-image {
	margin-top: .5em;
	margin-bottom: 2em;
	width: 100%;
}
.site-title {
	display: none;
}

/* Adjust the font within key body text areas */
body,
button,
input,
select,
textarea {
	font-family: sans-serif;
	font-size: 13px;
}


/* Adjust the font headers within key body areas */
.entry-title {
	font-family: sans-serif;
	font-size: 20px;
	font-size: 20px;
}
.entry-content h2,
.entry-summary h2,
.comment-content h2 {
	font-family: sans-serif;
	font-size: 20px;
	font-size: 20px;
}
.entry-content h4 {
	margin-top: 0 !important;
	text-decoration: underline !important;
}
.entry-content h5 {
	margin-top: 0 !important;
	text-decoration: none !important;
}
.main-navigation {
	font-family: sans-serif;
	font-size: 13;
	padding: 0% 5%;
	height: auto;
	border-top: 2px solid #eee;
	text-align: left;
}
.main-navigation a {
	padding-top: 1em;
	padding-bottom: 1em;
	padding-left: 0.5em;
}
.main-navigation .current-menu-item > a,
.main-navigation .current-menu-ancestor > a {
	background: #78b153;
	color: #ffffff !important;
	font-weight: bold;
}
.main-navigation ul ul {
	font-size: 13px;
	min-width: 100pt;
}
.main-navigation ul ul a {
	white-space: nowrap;
	width: 100%;
}
.main-navigation li > a:focus,
.main-navigation li > a:hover {
	color: #ffffff !important;
	background: #0081cc;
}
.entry-content h4,
.entry-summary h4,
.comment-content h4,
.textwidget h4 {
	letter-spacing: 0;
	text-transform: capitalize;
}
.site-footer {
	font-family: sans-serif;
	text-align: center;
}
.pmpro_small {
	font-size: inherit !important;
}
.entry-content ul,
.entry-summary ul,
.comment-content ul,
.entry-content ol,
.entry-summary ol,
.comment-content ol {
	margin-left: 1em; !important
}
.pms-subscription-plan-description {
	font-size: 100%;
}


/* Centers the text in the footer */
.site-info {
	margin-left: auto;
	margin-right: auto;
}


/* Brings navigation menu closer to the middle of the page (so it does not start left of the margin of the header image) */
@media screen and (min-width: 56.875em) {
	.main-navigation {
		margin: 0 5%;
	}
}


/* Hides the cancel and edit account information within the account pages (so users cannot edit or cancel their subscription */
.pmpro_actionlinks a {
	display: none;
}


/* Modifying the layout of the menu */
/* Open navigation child menus on right */
.main-navigation ul ul li:hover > ul,
.main-navigation ul ul li.focus > ul {
	left: 100%;
	right: auto;
}
/* changes symbol on parent menus on navigation from a '<' to a '>' */
.main-navigation ul ul li.menu-item-has-children > a::after,
.main-navigation ul ul li.page_item_has_children > a::after {
	-webkit-transform: rotate(-90deg);
	transform: rotate(-90deg);
}
/* moves the navigation up arrow (on hover) to the left */
.main-navigation ul ul:before {
	border-color: #d1d1d1 transparent;
	border-width: 0 10px 10px;
	left: 9px !important;
	top: -9px;
	width: 1pt;
}
.main-navigation ul ul:after {
	border-color: #fff transparent;
	border-width: 0 8px 8px;
	left: 11px !important;
	top: -7px;
	width: 1pt;
}
.main-navigation li:hover > ul,
.main-navigation li.focus > ul {
	left: 0;
	right: auto;
}


/* Removes the scroll bar on the quiz summary box */
.wpProQuiz_reviewQuestion {
	max-height:none !important;
	overflow:hidden;
	position:relative
}
.wpProQuiz_reviewQuestion div {
	display: none !important;
}
.wpProQuiz_response {
	background: #c4c4c46e !important;
}







/* --------------- Adjusted what is displayed when printing the page --------------- */
@media print {
/* Removes the header and footer on the print */
	@page {
		size: auto;   /* auto is the initial value */
		margin: 0;  /* this affects the margin in the printer settings */
	}
/* Shifts margins on main part of the print */
	.entry-content {
		margin-right: 2%;
		margin-left: 2%;
	}
/* Show site header image */
	.header-image {
		display: block;
	}
/* Reduced header spacing on print */
	.site-branding {
		margin-bottom: 0em !important;
	}
/* Edit Fonts for print*/
	.site-title {
		font-size: 20pt;
		margin-bottom: .5em;
	}
	.entry-title {
		font-size: 15pt;
		line-height: 1;
		margin-bottom: .5em;
	}
	body {
		font-size: 11pt;
    		line-height: 1.25em !important;
		margin: 0 0 .5em 0 !important;
		text-align: justify;
	}
	p {
		margin: 0 0 .5em !important;
		text-align: justify;
	}
/* Change order of image and site title on print */
	.site-header-main { 
		display: table;
		}
	.site-header-menu {		
		display: table-footer-group;
		}
	.header-image {
		display: table-header-group;
		}
/* Hides various elements on the results page when printing page. */
	.wpProQuiz_reviewDiv,
	.wpProQuiz_reviewQuestion,
	.wpProQuiz_reviewLegend,
/*	.wpProQuiz_quiz,*/
/*	.wpProQuiz_list,*/
/*	.wpProQuiz_resultsprinttext,*/
	.wpProQuiz_time_limit_expired {
		display: none;
	}
/* Brings the footer up to fit on one page when printing */
	.site-main {
		margin-bottom: 0em !important;
	}
}

.catch-ajax-response th{
	width: 100% !important;
}

a.button-secondary.wpProQuiz_update {
    display: none;
}