/*
Theme Name: X - Child Theme
Author: Themeco
Description: Make all of your modifications to X in this child theme.
Version: 1.0.0
Template: x
Site: The Mohn Westlake Foundation
*/


/*
=================================================
Navigation Bar
=================================================
*/
.x-navbar .x-container {
    position: relative;
    border-bottom: 1px solid rgba(0, 0, 0, 0.5);
    margin-bottom: 2px;
    padding-bottom: 10px;
}
@media (max-width: 979px){
 .x-navbar.x-navbar-fixed-top{
    position: fixed;
 }    
}


/*
=================================================
Nav: Burger Menu
=================================================
*/
#x-btn-navbar {
    margin-top: 20px;
}


.x-btn-navbar .x-icon-bars:before{
     content: "\f00d";  
}


.x-btn-navbar.collapsed .x-icon-bars:before {
     content: "\f0c9";
}


/*
=================================================
Header
=================================================
*/
.x-header-landmark {
    padding: 30px 0;
    border-bottom: 1px solid #f2f2f2;
    border-top: 0;
    border-left: 0;
    border-right: 0;
    margin-top: 15px;
}

/*
=================================================
Change depth of footer
=================================================
*/
.x-colophon.bottom {
	padding-top:10px;
	padding-bottom:10px;
}

/*
=================================================
Remove Blog Entry Icon
=================================================
*/
.format-standard .entry-title::before {
    content: "";  
}
.format-masonary .entry-title::before {
    content: "";  
}
.format-video .entry-title::before {
	content: ""; 
}
.format-gallery .entry-title::before {
	content: ""; 
}


/*
=================================================
Change Heading Tracking
=================================================
*/
.h-landmark, .entry-title.h-landmark {
	letter-spacing: -0.015em;
}

/*
=================================================
H1 breakpoint
=================================================
*/
@media (max-width: 576px) {
  .home-header {
    font-size: 12px !important;
  }
}


/*
=================================================
Menu breakpoint
=================================================
*/

@media (max-width: 1350px) {
.masthead-inline .x-btn-navbar {
    display: block;
    float: right;
    }
}

@media (max-width: 1350px) {
.x-nav-wrap.desktop {
    display: none;
    }
}

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

.x-nav-wrap.mobile {
	display:none;
	clear:both;
	overflow:hidden;
}


@media (max-width: 1350px) {
	.x-nav-wrap.desktop {
		display:none;
	}
	.x-nav-wrap.mobile {
		display:block;
	}
	.x-nav-wrap.mobile.x-collapsed {
		display:none;
	}
}

/*
=================================================
Hide slider on mobile
=================================================
*/
@media (max-width: 480px) {
	#rev_slider_3_1_wrapper {
    	visibility: hidden!important;
	}
}

/*
=================================================
About header breakpoint
=================================================
*/	
@media (max-width: 768px) {
#about-head.e1917-4.x-text {
    font-size: 0.95em!important;
    margin-top: 25px;
	}
}

@media (max-width: 768px) {
#about-intro.e1917-8.x-text {
    font-size: 0.925em!important;
	}
}

@media (max-width: 540px) {
#about-head.e1917-4.x-text {
    font-size: 0.75em!important;
	}
}

/*
=================================================
Change Heading Size
=================================================
*/
.e132-13.x-text .x-text-content-text-primary, .e132-34.x-text .x-text-content-text-primary, .e132-53.x-text .x-text-content-text-primary, .e132-56.x-text .x-text-content-text-primary {
	font-size: 60px !important;
}

/*
=================================================
Change Body Font Size and Colour
=================================================
*/
.x-text {
	font-size: 1.125em !important;
	color: #808285 !important;
}

/*
=================================================
Caption style
=================================================
*/
.caption {
	font-size: 12px !important;
	color: #000 !important;
}

/*
=================================================
Change Block Quote Font Size
=================================================
*/
.x-blockquote {
	font-size: 20px !important;
	font-weight: 400 !important;
	line-height: 1.3!important; 
	margin: 0;
}

.x-cite {
	font-size: 14px !important;
}

/*
=================================================
Homepage Recent Posts
=================================================
*/
.recent-posts {
    padding: 20px 0px 10px 0px!important;
}

/*
=================================================
Change X Quote Font Size
=================================================
*/
.x-quote-text {
	font-size: 22px !important;
	font-weight: 400 !important;
	line-height: 1.3 !important;
}

.x-quote-cite {
	font-size: 14px !important;
	line-height: 1.3 !important;
	letter-spacing: 0em !important;
	text-transform: none !important;
}


/*
=================================================
Change Colour of Date in Sidebar
=================================================
*/
.post-date {
	display: block;
	color: #4179bd;
}

/*
=================================================
Change Weight of text in Sidebar
=================================================
*/
.x-sidebar .widget ul li, .widget ol li {
	font-size: 1.25em;
	font-weight: 500 !important;
}

/*
=================================================
Infobox style
=================================================
*/
.infobox {
	border: 1px solid;
	border-color: #4179bd;
	background-color: rgba(65,121,189,0.1) !important;
	padding-top: 10px !important;
	padding-left: 10px !important;
	padding-right: 10px !important;
	padding-bottom: 10px !important;
	margin: 0.5, 0.5, 0.5, 0.5em !important;
	font-size: 1.125em !important;
	color: #4179bd !important;
	font-weight: 500 !important;
	
}

/*
=================================================
Homepage White Text style
=================================================
*/
.whitetext {
	color: #ffffff !important;
}

/*
=================================================
Homepage recent posts
=================================================
*/
.x-recent-posts .h-recent-posts {
	font-size: 22px;
}

.x-recent-posts .x-recent-posts-date {
	margin: 0;
	font-size: 16px;
	line-height: 1;
	text-transform: uppercase;
	color: rgba(0,0,0,0.65);
}

.e132-7.x-col {
	padding-top: 15px;
}

.x-recent-posts-content {
    padding: 15px 12px !important;
}





/*
=================================================
Statsbox style
=================================================
*/
.statsbox {
	background-color: rgba(128,130,133,0.3) !important;
	padding-top: 20px !important;
	padding-left: 20px !important;
	padding-right: 20px !important;
	padding-bottom: 20px !important;
	font-size: 1.125em !important;
	color: rgba(0,0,0,0.7) !important;
	font-weight: 500 !important;
	
}


/*
=================================================
Blog Index Title colour
=================================================
*/
.tg-element-3 {
	color: #4179bd !important;
}


/*
=================================================
Fix footer to bottom of window
=================================================
*/
.site .x-main {
    min-height: calc(100vh - 208px);
    min-height: -webkit-calc(100vh - 208px);
}


/*
=================================================
Make Search Results fullwidth
=================================================
*/
.search-results .x-main {
    width: 100%;
}
.search-results .x-sidebar {
    display: none;
}
/*
=================================================
Change style of search form
=================================================
*/
.x-searchform-overlay {
    height: 30%;
    margin-top: 100px;
}
.x-searchform-overlay-inner {
    vertical-align: top;
    padding-top: 50px;
}
.x-searchform-overlay .form-search label {
    font-size: 3em;
    text-transform: capitalize;
}
.x-searchform-overlay .form-search .search-query {
    font-size: 5em;
    text-transform: capitalize;
    padding-bottom: 80px;
}


/*
=================================================
Turn off hyphenation on Grid pages
=================================================
*/
.tg-item .tg-cats-holder *, .tg-item .tg-item-excerpt, .tg-item .tg-item-title, .tg-item .tg-item-title a {
    word-wrap: normal !important;
    -webkit-hyphens: none !important;
    -moz-hyphens: none !important;
    -ms-hyphens: none !important;
    hyphens: none !important;
}

/*
=================================================
Change gallery to match featured image
=================================================
*/
.x-flexslider-shortcode-container.with-container {
    padding: 6px;
}

.flex-viewport {
    max-height: 540px;
}

/*
=================================================
Remove grey strip at bottom 
=================================================
*/
.alignnone {
    float: none;
    margin: 0 0 0 0;
}

/*
=================================================
Style Accordian
=================================================
*/
.x-acc-header-content {
    color: #808285 !important;
    font-size: 22px;
    font-weight: 600;
    text-transform: capitalize!important;
}

.x-acc-content {
    color: #808582!important;
}

/*
=================================================
Kerning
=================================================
*/
.kern {
    letter-spacing: -1px;
}

/*
=================================================
Wrap long URLs
=================================================
*/
.url-break {
    overflow-wrap: break-word!important; 
    word-break: break-all;
    max-width:300px;
}

/*
=================================================
Slider Revolution
=================================================
*/

@media (max-width: 960px) {
.e132-1.x-section {
    height: 100vh!important;
	}
}

/*
=================================================
GDPR Cookie Consent
=================================================
*/
.cli-tab-footer .wt-cli-privacy-accept-btn {
	background-color: #4179bd;
	color: #ffffff;
	border-radius: 0;
}

.cli-switch input:checked + .cli-slider {
	background-color: #4179bd;
}
