/*
Theme Name:     Prisons Week - Lambda Child Theme
Description:    Child theme for the Lambda WP Theme modified for Prisons Week by Andrew Peachey
Author:         Oxygenna - http://themeforest.net/user/oxygenna
Ddeveloper:     Andrew Peachey - http://apeachey.co.uk
*/


/*
	-
	Utility
	---
*/
	/* Add Transitions */
		p,
		svg.logo {
			-webkit-transition: all 0.3s ease-in-out;
			-moz-transition: all 0.3s ease-in-out;
			-o-transition: all 0.3s ease-in-out;
			transition: all 0.3s ease-in-out;
		}

	/* Extra spacing grid */
		@media only screen and ( min-width: 980px ) {
			.grid_80 {
				width: 80%;
				max-width: 1400px;
				margin: 0 auto;
			}
		}



	/* Centering */
		.center {
			text-align: center;
		}

		
	/* Slider active slide */ 
		.hesperiden .tp-bullet:hover,
		.hesperiden .tp-bullet.selected {
			background: #bd841c !important;
		}

	/* Post Grid remove line */
		.post-grid .post-grid-content-footer, .post-grid blockquote footer {
			border-top: transparent;
		}

	/* Light text links */
		.text-light a, a.text-light {
			color: #D8820E !important;
		}
		.text-light a:hover, a.text-light:hover {
			color: #e8b841 !important;
		}
		p i {
			color: inherit !important;
		}


/*
	-
	Navigation
	---
*/
	/* Transparent Header */
		.transparent-header #masthead a.navbar-brand {
			background-image: none;
			font-style: normal;
			position: relative;
		}
		.transparent-header #masthead a.navbar-brand img {
			visibility: visible;
		}
		#masthead a.navbar-brand img {
			max-height: 50%;
			width: auto;			
		}
		#masthead.navbar-sticky .logo-navbar li.menu-item:last-of-type a {
			margin-right: 15px;
		}
		.logo-navbar .nav > li > a {
			padding-top: 35px !important;
		}

	/* Sticky Header Styles */
		#masthead.navbar-sticky.navbar-scrolled {
			background-color: rgba(46, 46, 46, 0.99);
		}
		#masthead.navbar-sticky.navbar-scrolled .navbar-header a.navbar-brand {
			line-height: 50px !important;
			height: 50px !important;
		}
		#masthead.navbar-sticky.navbar-scrolled .navbar-header a.navbar-brand img {
			max-height: 35px !important;
		}
		#masthead.navbar-sticky .logo-navbar li.menu-item a {
			padding-left: 10px !important;
			padding-right: 10px !important;
			font-size: 15px;
		}
		#masthead.navbar-sticky.navbar-scrolled .logo-navbar li.menu-item a {
			padding: 14px 10px !important;
		}

	/* Two line header styles */
		#masthead .navbar-header .nav_text {
			position: absolute;
			line-height: 0.8;
			font-size: 22px;
			left: 80px;
			top: 30px;
		}
		#masthead .navbar-header .nav_text .strapline{
			font-weight: normal;
			font-size: 16px;
		}

		#masthead.navbar-scrolled .navbar-header .nav_text {
			line-height: 0.8;
			font-size: 18px;
			left: 50px;
			top: 10px;
		}
		#masthead.navbar-scrolled .navbar-header .nav_text .strapline {
			font-size: 14px;
		}

		#masthead.menu.navbar.navbar-scrolled {
			min-height: 55px !important;
		}
		.sticky-wrapper {
			height: 55px !important;
		}

	/* Active Menu Tab */
		body.home #masthead .menu-item-340 {
			color: #fff;
		}
		body.home #masthead .menu-item-340:hover {
			color: #D8820E;
		}

	/* Donate Button Color */
		#masthead.navbar-sticky .logo-navbar li.donate_nav.menu-item:last-of-type a {
			color: #222 !important;
		}
		#masthead.navbar-sticky .logo-navbar li.donate_nav.menu-item:last-of-type a:hover:after {
			background-color: #fff !important;
		}

		.logo-navbar .nav > li.donate_nav > a {
			padding-bottom: 35px;
		}

	/* Socials */
		#masthead.navbar-sticky .logo-navbar li.menu-item.social_nav.menu-item-414 a {
			padding-right: 0 !important;
		}
		#masthead.navbar-sticky .logo-navbar li.menu-item.social_nav.menu-item-413 a {
			padding-left: 5px !important;
		}

		.menu a .menu-icon {
			font-size: 25px;
			width: auto;
			margin-right: 0;
		}


/*
	-
	Footer
	---
*/
	/* Background Colour */
		footer#footer {
			background-color: #201f1d;
		}

	/* Copyright */
		footer#footer .footer-columns-3 {
			text-align: center;
			line-height: 20px;
		}
		footer#footer .footer-columns-3 p {
			margin-bottom: 0;
			font-size: 14px;
		}

	/* Socials */
		footer#footer .footer-columns-3 .col-sm-4:last-child {
			text-align: right;
			padding-top: 10px;
		}
		footer#footer .footer-columns-3 .col-sm-4:last-child a {
			font-size: 30px;
		}

	/* Credit */
		footer#footer svg.logo {
			opacity: 0.3;
		}
		footer#footer svg.logo:hover {
			opacity: 1;
		}


/*
	-
	Per Page Styles
	---
*/	
	/* Home */
		.supporters_homepage img {
			max-width: 95%;
			max-height: 80px;
			height: auto;
			width: auto;
		}

		/* Form */
		.wpcf7-checkbox.form-control {
			padding-top: 3px;
			padding-left: 10px;
		}
		div.wpcf7 form.wpcf7-form img.ajax-loader {
			display: none;
		}
		div.wpcf7 form.wpcf7-form textarea {
			resize: vertical;
		}
		.PW_mailchimp_optin .wpcf7-form-control.wpcf7-checkbox {
			height: auto;
		}
		.PW_mailchimp_optin .wpcf7-form-control.wpcf7-checkbox:before,
		.PW_mailchimp_optin .wpcf7-form-control.wpcf7-checkbox:after {
			content: " ";
    		display: table;
		}
		.PW_mailchimp_optin .wpcf7-form-control.wpcf7-checkbox:after {
			clear: both;
		}
		.PW_mailchimp_optin .wpcf7-form-control.wpcf7-checkbox .wpcf7-list-item input {
			float: left;
			width: 5%;
			margin-top: 7px;
		}
		.PW_mailchimp_optin .wpcf7-form-control.wpcf7-checkbox .wpcf7-list-item-label {
			float: left;
			width: 90%;
		}

		/* Tiles */
		.recent-simple-os-container article.post-grid-overlay a[href="https://prisonsweek.org/2019-prayer-campaign#Saturday"] .post-grid-content-footer,
		.recent-simple-os-container article.post-grid-overlay a[href="https://prisonsweek.org/2019-prayer-campaign#Tuesday"] .post-grid-content-footer,
.recent-simple-os-container article.post-grid-overlay a[href="https://prisonsweek.org/2019-prayer-campaign#Friday"] .post-grid-content-footer{
			padding-top: 2px;
		}
		.recent-simple-os-container article.post-grid-overlay a .post-grid-content-footer {
			font-size: 13px;
		}


	/* Links Page */
		.supporters_section .col-md-3 img {
			max-width: 150px;
			max-height: 100px;
			width: auto;
		}


	/* About Page */
		.prisons_week_prayer {
			padding-left: 20px;
		}

		.board_reference_row {
			padding-left: 20px;
		}
		.board_reference_row p {
			line-height: 20px;
			margin-bottom: 15px !important
		}
		.board_reference_row:last-of-type {
			margin-bottom: 60px !important;
		}

		.previous_campaigns a {
			color: #D8820E;
		}


	/* Supporters / Sponsorship Page */
		.sponsor_logo_row img {
			max-width: 110px;
			max-height: 80px;
			height: auto;
			width: auto;
		}
		.sponsor_logo_row .figure.element-bottom-20 {
			margin-bottom: 0 !important;
		}
		.sponsor_logo_row .col-md-4.text-default {
			text-align: center;
		}


	/* Campaign Page */
		.campaign_section blockquote p {
			font-size: 22px;
		}
		.campaign_section blockquote:before {
			content: none;
		}
		.campaign_section .lead {
			font-size: 16px;
			font-weight: 400;
		}
		.campaign_section .additional_links li {
			padding-bottom: 10px;
			line-height: 1.4;
		}
		.campaign_section .additional_links li:last-child {
			padding-bottom: 0;
		}
		.campaign_section li a {
			color: #D8820E !important;
		}



/*
	-
	Responsive
	---
*/
	/* 1024px - iPad Landscape */
	@media only screen and (max-width: 1024px) {

		/* Header */
		#masthead.navbar {
			min-height: 90px !important;
		}
		.sticky-wrapper {
			height: 90px !important;
		}
		.transparent-header #masthead:not(.navbar-scrolled) {
			background: rgba(46, 46, 46, 0.95) !important;
			-webkit-box-shadow: 0 0px 0px 0 rgba(0, 0, 0, 0) !important;
			-moz-box-shadow: 0 0px 0px 0 rgba(0, 0, 0, 0) !important;
			-ms-box-shadow: 0 0px 0px 0 rgba(0, 0, 0, 0) !important;
			-o-box-shadow: 0 0px 0px 0 rgba(0, 0, 0, 0) !important;
			box-shadow: 0 0px 0px 0 rgba(0, 0, 0, 0) !important;
		}
		#masthead.navbar-sticky.navbar-scrolled {
			background: rgba(46, 46, 46, 0.95) !important;
		}
		#masthead.navbar-sticky.navbar-scrolled .navbar-header a.navbar-brand,
		#masthead.navbar-sticky .navbar-header a.navbar-brand {
			line-height: 50px !important;
			height: 50px !important;
			margin-top: 20px;
		}
		#masthead.navbar-sticky.navbar-scrolled .navbar-header a.navbar-brand,
		#masthead.navbar-sticky .navbar-header a.navbar-brand {
			max-height: 50px !important;
		}
		#masthead.navbar-sticky.navbar-scrolled .navbar-header a.navbar-brand img,
		#masthead.navbar-sticky .navbar-header a.navbar-brand img {
			max-height: 50px !important
		}
		#masthead .navbar-header .nav_text,
		#masthead.navbar-scrolled .navbar-header .nav_text {
			position: absolute;
			line-height: 0.8;
			font-size: 20px;
			left: 60px;
			top: 7px;
		}
		#masthead .navbar-header .nav_text .strapline,
		#masthead.navbar-scrolled .navbar-header .nav_text .strapline {
			font-weight: normal;
			font-size: 14px;
		}
		#masthead.navbar-sticky div.nav-container {
			margin-top: 20px;
		}
		#masthead.navbar-sticky.navbar-scrolled .logo-navbar li.menu-item a,
		#masthead.navbar-sticky .logo-navbar li.menu-item a {
			padding: 14px 7px !important;
		}

		/* Homepage */
		.wpcf7-form .form-group span.your-message textarea {
			padding-left: 30px;
		}
		.PW_mailchimp_optin .wpcf7-form-control.wpcf7-checkbox .wpcf7-list-item-label {
			padding-left: 5px;
		}

		

	}


	/* 768px  - iPad Portrait */
	@media only screen and (max-width: 768px) {

		/* Header */
		#masthead.menu.navbar {
			box-shadow: none;
			min-height: 80px !important;
		}
		.sticky-wrapper {
			height: 80px !important;
		}
		#masthead > .container {
			width: 85%;
		}
		#masthead .navbar-toggle {
			margin-top: 34px;
			margin-bottom: 34px;
		}
		#masthead.menu.navbar div.nav-container {
			margin-top: 0px;
		}

		/* Menu */
		#masthead .nav-container nav .menu-container li {
			width: 50%;
			float: left;
		}


		/* Homepage */
		.rev_slider_wrapper .rev_slider .charitywhitecenter {
			font-size: 30px !important;
			line-height: 32px !important;
		}
		.rev_slider_wrapper .rev_slider .charitywhitecenter > span {
			font-size: 28px !important;
		}
		.rev_slider_wrapper .rev_slider .charitywhitecentersmall {
			font-size: 22px !important;
			line-height: 25px !important;
		}
		.rev_slider_wrapper .rev_slider .charitybutton {
			font-size: 20px !important;
			font-style: italic !important;
			line-height: normal !important;
			padding: 5px 15px !important;
		}
		.rev_slider_wrapper .rev_slider .charitybutton a {
			font-size: 20px !important;
		}

		.week_of_prayer .col-md-9 .element-bottom-60 {
			margin-bottom: 5px !important;
		}
		.week_of_prayer .pw_40_years div.figure {
			margin-top: 5px !important;
		}
		.week_of_prayer .pw_40_years img {
			max-width: 150px;
		}
		#donate .row .small-screen-center .element-bottom-60 {
			margin-bottom: 20px !important;
		}
		#donate .row .small-screen-center .element-bottom-20 {
			margin-bottom: 60px !important;
		}
		.supporters_homepage img {
			max-height: 80px;
		}


		/* Sponsors */
		section.section.sponsor_logo_row div.row .col-md-2-4 {
			width: 20%;
			float: left;
		}
		section.section.sponsor_logo_row div.col-md-7 div.row:last-of-type {
			margin-bottom: 60px;
		}


		/* Links */
		.gov_links .col-md-12 .row .col-md-6:first-child div.element-bottom-60 {
			margin-bottom: 20px !important;
		}
		.gov_links .col-md-12 .row .col-md-6:last-child div.element-bottom-60 {
			margin-bottom: 0px !important;
		}

	}


	/* 640px  - Mobile Landscape */
	@media only screen and (max-width: 640px) {

		/* Navigation */
		#masthead.menu.navbar nav.main-navbar {
			background-color: transparent !important;
		}


		/* Homepage */
		.rev_slider_wrapper .rev_slider .charitywhitecenter {
			font-size: 22px !important;
			line-height: 28px !important;
		}
		.rev_slider_wrapper .rev_slider .charitywhitecenter > span {
			font-size: 22px !important;
		}
		.rev_slider_wrapper .rev_slider .charitywhitecentersmall {
			font-size: 18px !important;
			line-height: 20px !important;
		}
		.rev_slider_wrapper .rev_slider .charitybutton {
			font-size: 16px !important;
			font-style: italic !important;
			line-height: normal !important;
			padding: 5px 15px !important;
		}
		.rev_slider_wrapper .rev_slider .charitybutton a {
			font-size: 16px !important;
		}

		.supporters_homepage .col-md-12 .row:last-of-type .text-default div.element-bottom-60 {
			margin-bottom: 20px !important;
		}
		.supporters_homepage .col-md-12 .row:last-of-type .text-default div.element-bottom-60:last-of-type {
			margin-bottom: 0px !important;
		}
		.supporters_homepage .col-md-12 .row:last-of-type {
			margin-bottom: 60px !important;
		}
		.supporters_homepage img {
			max-width: 110px; 
		}


		.wpcf7-form .form-group span.your-message textarea {
			padding-left: 16px;
		}


		/* Links */
		#links_vountary_orgs .col-md-12 .row {
			margin-bottom: 20px !important;
		}
		#links_vountary_orgs .col-md-3 div.element-bottom-20 {
			margin-bottom: 5px !important
		}
		#links_vountary_orgs .col-md-9 div.element-top-20,
		#links_vountary_orgs .col-md-9 div.element-top-60 {
			margin-top: 5px !important
		}
		#links_vountary_orgs .col-md-9.col-xs-12 {
			text-align: center;
		}


		/* Footer */ 
		footer#footer .row.element-bottom-20.element-top-20 {
			margin-top: 40px !important;
			margin-bottom: 40px !important;
		}

		footer#footer .footer_gap {
			display: none;
		}
		footer#footer .footer_copy {

		}
		footer#footer .footer_social {
			text-align: center !important;
		}



	}


	/* 360px  - Mobile Portrait */
	@media only screen and (max-width: 425px) {

		/* Header */
		#masthead.menu.navbar {
			min-height: 50px !important;
		}
		div.sticky-wrapper {
			height: 50px !important;
		}
		#masthead .navbar-toggle {
			margin-top: 15px;
			margin-bottom: 15px;
		}
		#masthead.navbar-sticky.navbar-scrolled .navbar-header a.navbar-brand,
		#masthead.navbar-sticky .navbar-header a.navbar-brand {
			margin-top: 0px;
		}
		#masthead.navbar-sticky.navbar-scrolled .navbar-header a.navbar-brand img,
		#masthead.navbar-sticky .navbar-header a.navbar-brand img {
			max-height: 40px !important;
		}
		#masthead .navbar-header .nav_text,
		#masthead.navbar-scrolled .navbar-header .nav_text {
			font-size: 18px;
			left: 50px;
			top: 8px;
		}
		#masthead .navbar-header .nav_text .strapline,
		#masthead.navbar-scrolled .navbar-header .nav_text .strapline {
			font-size: 12px;
		}


		/* Footer */
		footer#footer .footer-columns-3 p {
			max-width: 50%;
			margin: 0 auto;
		}

		/* Homepage */
		.rev_slider_wrapper .rev_slider .charitywhitecenter {
			font-size: 14px !important;
			line-height: 17px !important;
			margin-top: -25px !important;
		}
		.rev_slider_wrapper .rev_slider .charitywhitecenter > span {
			font-size: 13px !important;
		}
		.rev_slider_wrapper .rev_slider .charitywhitecentersmall {
			font-size: 15px !important;
			line-height: 15px !important;
			margin-top: -5px !important;
		}
		.rev_slider_wrapper .rev_slider .charitybutton {
			font-size: 13px !important;
			font-style: italic !important;
			line-height: normal !important;
			padding: 3px 8px !important;
		}
		.rev_slider_wrapper .rev_slider .charitybutton a {
			font-size: 13px !important;
		}
		.dormant_live_home div.list-container.row .col-xs-6 {
			width: 100%;
		}

		/* Sponsors */
		.sponsor_logo_row img {
			max-width: 95%;
			max-height: 45px;
			height: auto;
			width: auto;
		}

	}		










