/* Body: Override Cookie Visibility */
body {
	visibility: visible !important;
}

/* Create 100% height at minimum for pages that require full background or background image. e.g. Login */
body, html {
    min-height: 100%;
}

/* Remove padding from main when it has class container for consistency with pages that do not have class container on main element */
main.container {
	padding-left:0 !important;
	padding-right:0 !important;
}

/*
Container width - Override cookie theme settings
*/

@media (max-width:1199px) {
    .container {
        width: 100% !important;
        max-width: 1170px;
    }
}

/* #page #content.site-content #primary.page-default */
.page-default {
    margin: 0px 0;
    padding: 100px 0;
}


/* Bakery background image positioning */
.background-image-top,
.background-image-top[class*='vc_custom_'],
.background-image-top > .container > .vc_row > [class*='vc_custom_'] {
	background-position: top !important;
}

@media only screen and (max-width:767px) {
	.background-image-mobile-auto,
	.background-image-mobile-auto[class*='vc_custom_'],
	.background-image-mobile-auto > .container > .vc_row > [class*='vc_custom_'] {
		background-size: auto !important;
	}

	.background-image-mobile-contain,
	.background-image-mobile-contain[class*='vc_custom_'],
	.background-image-mobile-contain > .container > .vc_row > [class*='vc_custom_'] {
		background-size:contain !important;
	}
}

.hover-opacity-fade:hover {
	opacity:.5;
}


/* Misc Pages / Course Pages: Hide title & meta */
/* Currently used for OEI Pages */
.hide-title-meta .entry-meta,
.hide-title-meta .entry-title,
.hide-title-meta #learndash_back_to_lesson {
	display: none;
}


/* Page Header / Slide Title */

.agni-page-header-title {
  font-size: 65px;
}


/* 
Flush the top of the content to the top of the viewport. This is initially setup for the WEV course but can be used for any page where the header images needs to be flush with the top of the page 
*/

.content-align-top-of-viewport .blog-post {
    padding-top: 0;
}

.content-align-top-of-viewport .blog-post .entry-content {
    margin-top: 0;
}


/* 
Remove bottom margin/padding from the bottom of page content area, to eliminate extra whitespace gap.
*/

.remove-page-bottom-padding #primary,
.remove-page-bottom-padding #primary #main article {
    padding-bottom:0;
    margin-bottom:0;
}


/* 
Full width header image: Set this image to full width, as in the case of the WEV course headers 
*/

.full-width,
.header-image-full-width img {
    width: 100vw;
    position: relative;
    left: calc(-50vw + 50% - 15px);
    max-width: 100vw;
    box-sizing: border-box;
}

@media (max-width: 991px) {
    .full-width,
    .header-image-full-width img {    
        left: calc(-50vw + 50%);
    }
}


/** Pagination (Blog) **/
.pl-paginationcnt .pl-pagination-link,
.pl-paginationcnt .pl-allpage {
	border-color: #A3C3BD !important;
	color: #A3C3BD !important;
}

.pl-paginationcnt .pl-currentpage,
.pl-paginationcnt .pl-pagination-link:hover {
	color: #fff !important;
	background-color: #A3C3BD !important;
}