/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 1.0.1
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/*
    Add your custom styles here
*/

h1, h2, h3, h4, h5, h6 {
	clear: both;
	font-family: "Inter", Arial, sans-serif;
	font-style: normal;
	font-weight: bold;
	line-height: 1.3;
	margin-top: 0;
}

h1 {
	font-size: 2.5em;
	
}

h2 { font-size: 1.8em }

h3 { font-size: 1.4em }

h4 { font-size: 1.2em }

h5 { font-size: 1em }

h6 { font-size: 1em }

.main_menu li.current-menu-ancestor a{
    color: green !important; /* highlight color */
}


.entry-content { 
	max-width: 960px;
	margin: 0 auto;
		color: rgba(0, 0, 0, 0.78)
	}

.entry-content p a {
	text-decoration: underline;
}

.elementor-kit-20022 p a, .elementor-kit-20022 li a {
	text-decoration: underline;
}
.elementor-kit-20022 p a:hover, .elementor-kit-20022 li a:hover {
	text-decoration: none;
	color: #000;
}


article * ul {
	padding: 0 30px;
/* 	padding 50px; */
	margin: 20px 0 35px 0;
	line-height: 1.618;
	list-style: square outside none;
	
}

article * ul li, article * ol li {
	margin: 0 0 15px 0;

}

ul, ol {
	margin: 0 0 1.5em 3em;
}

ul {
	list-style: disc;
}

ol {
	list-style: decimal;
}

li > ul,
li > ol {
	margin-bottom: 0;
	margin-left: 1.5em;
}

.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
	font-size: 0.8em;
	text-align: left;
	color: #72838c;
	font-family: 'Inter', "Helvetica Neue", Helvetica, Arial, sans-serif;
}

blockquote {
	background: #fff;
	border-left: 2px solid #ccc;
	margin: 1.5em 2px;
	padding: 0.5em 20px;
	quotes: "\201C""\201D""\2018""\2019";
	/* font-family: Inter, "Times New Roman", serif; */
	font-family: Inter, Arial, sans-serif;
	/* font-style: italic; */
	font-weight: bold;
	color: #283c46;
	font-size: 1.2em;
}


/*--------------------------------------------------------------
## Breadcrumbs
note with the exception of the custokm templates required for inidividual Resources pages, breadcrums are taken care of in Elementor 
by placing my Dylan Breadcrumbs plug in a given template.
--------------------------------------------------------------*/

#breadcrumbs {
	margin: 0 auto;
	max-width: 960px;
}

.breadcrumbs {
	padding: 12px 0 12px 0;

}

@media screen and (max-width: 1025px) {
	
	.breadcrumbs {
		padding: 12px 7px ;
}	
	
	
}

/*--------------------------------------------------------------
## Search & Filter Pro - form on Resources Landing page
--------------------------------------------------------------*/


#search-filter-form-13464 {
	
/*
	background-color: #283c46;
	color: #fff;
	padding: 12px;
*/
}
#search-filter-form-13464 ul {
	padding: 0;
	margin: 0;
}


/* this is to force search result images to have rounded borders (overriding elementor's built in styles) */
div.resource-result-box img.resource-search-result-image {
	float: left;
	width: 10%;
	border-radius: 4px;
	border-radius: 5px; box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.2), 0 6px 6px 0 rgba(0, 0, 0, 0.19);
}

/*
.resource-search-result-image:before {
	background: linear-gradient(45deg, rgba(73, 44, 154, 0.7) 0%, rgba(73, 44, 154, 0.3) 50%, rgba(73, 44, 154, 0.1) 100%), linear-gradient(135deg, rgba(234, 64, 47, 0.1) 0%, rgba(234, 64, 47, 0.3) 50%, rgba(234, 64, 47, 0.7) 100%); 
	}
*/

.resource-result-box {
	margin: 0 0 40px 0;	
}

.resource-result-box h3 {
	margin: 0 0 12px 0;	
	font-size: 1.2em;
	line-height: 1.3;
}

.resource-search-result-text {
	float: right;
	width: 87%;
}
.resource-result-box p {
	margin: 8px 0 0 0;
}

.clr-resource-result { clear: both; }






/*--------------------------------------------------------------
## Extras I've added for Elementor
--------------------------------------------------------------*/

.elementor-post-date { color: #39a9db; }


/* pagination */
nav.elementor-pagination {
	width: 100%;
	clear: both;
	position: relative;
	background: none;
	font-size: 1.4em;
	font-weight: bold;
	text-align: center;
	padding: 40px 0;
}

nav.elementor-pagination a, nav.elementor-pagination span {
	width: 100%;
	display:inline;
	margin: 0;
	padding: 0;
}

nav.elementor-pagination span {
	color: #9e9e9e;
}
nav.elementor-pagination span.current {
	/* color: #283c46; */
	background-color: #283c46;
	padding: 1px 6px;
	border-radius: 2px;
	color: #fff;
}

nav.elementor-pagination a {
	color: #ea402f;
}
nav.elementor-pagination a:hover {
	color: #7d7d7d;
}
nav.elementor-pagination .page-numbers {

}
/* .............. --// end pagination */




/* serach button */
.sf-field-submit input {

	background-color: #EA402F;
	color: #ffffff;
	font-size: 1.2em;
	font-weight: bold;
/* 	text-transform: none; */
	border-radius: 0px;
	bordeR: none;
/* 	float: right; */
/* 	width: 200px; */
	float: right;
}


form.searchandfilter {
	

}



li.sf-field-search * input[type="text"] {

	border-width: 2px 2px 2px 2px;
	border-radius: 0;
	background-color: #def7ff;
	font-size: 18px;
	padding: 10px;
	
}


/* ensures S&F input search field is 1005 width */
.searchandfilter .sf-field-search input,
.searchandfilter .sf-field-search label {
  max-width: 100%;
  width: 100% !important;
  
}





/* SF resource browse page */
form#search-filter-form-13547 ul {
	padding: 0; 
	margin: 0;
}

/*
.searchandfilter select.sf-input-select {
    min-width: 200px;
    max-width: 460px;
    width: 400px;
    border: 3px solid #38575b;
    background-color: #fff;
    color #fff;
    text-fill-color: #fff;
}
*/

/* to make sure filter dropdown at the top of e.g. /topic/ pages is placed correctly */
form.searchandfilter ul {
	margin: 0;
	padding: 0;
}



.searchandfilter select.sf-input-select {
    border: 1px solid #ccc;
/*
    width: 100%;
    min-width: 100%;
*/
/*     width: 400px; */
    border-radius: 3px;
    overflow: hidden;
    background: #eaeaea;
    font-size: 24px;
    padding: 8px;
    
    	  max-width: 100%;
  width: 100% !important;
   
}

.searchandfilter select.sf-input-select option {
    padding: 5px 8px;
    width: 130%;
    border: none;
    box-shadow: none;
    background: transparent;
    background-image: none;
    -webkit-appearance: none;
    color: #3d515c;
    width: 100%;
}
/*


select option:checked {
	background: #1c77c3 repeat url("");
	}
*/

.searchandfilter select.sf-input-select option:focus {
    outline: none;
}


/* SF Results page */
@media screen and (max-width: 1025px) {
			#result-wrapper {
				padding: 0 12px;
			}
			
			.SF-pagination {
				
				padding: 0 12px;
			}
			
}	




/* --------------------------------------------------------------------  */ 

/* Resources - individual resources styling */

.prehead{
/* 	color: #1c77c3; */ 
	color: #3989db;
	margin: 0 0 10px 0; 
	padding: 0;
}

.

.resource-meta li {
	margin: 0 0 5px 0;
}


/* this is to ensure that the non-Elementor parts of an individual resource do not push right against the edge on mobile */
.resource-details-wrapper {
	
}
@media screen and (max-width: 1025px) {
	
	.resource-details-wrapper {
		padding: 0 12px;
	}
}

.resource-details-wrapper h4 {
		font-weight: bold;
		color: #3989db;
		font-size: 1.2em;
		margin: 0 0 10px 0; 
		padding: 0;
	}
	
	



/* resource survey */
.survey-shade {
  position: fixed;
  background-color: rgba(0, 0, 0, 0.6);
  height: 100%;
  width: 100%;
  left: 0;
  top: 0;
  padding-top: 0px;
  display: none; 
  z-index: 999999999;
  }

#survey {
  background: #fff;
  min-width: 300px;
  max-width: 600px;
  margin: 0 auto;
  padding: 25px 25px 15px 25px; }
 
#survey h2 {
    margin-top: 0; 
    color: #3989db;
} 

#survey select, #survey input {
    width: 100%;
    height: 36px;
    margin: 10px 0; }


/*--------------------------------------------------------------
## Resource Featured Image on individual feature pages
--------------------------------------------------------------*/

.resource-image {
	min-height: 200px;
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center center;
	position: relative; }
	
.resource-image:before {
	content: '';
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	background: linear-gradient(45deg, rgba(73, 44, 154, 0.7) 0%, rgba(73, 44, 154, 0.3) 50%, rgba(73, 44, 154, 0.1) 100%), linear-gradient(135deg, rgba(234, 64, 47, 0.1) 0%, rgba(234, 64, 47, 0.3) 50%, rgba(234, 64, 47, 0.7) 100%); }

.resource-image .resource-overlay {
	color: #283c46;
	position: relative;
	height: 100%;
/* 	padding-top: 28px; */
	font-family: 'Inter', "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-style: normal;
/* 	font-weight: 700; */
	max-width: 960px; 
	margin: 0 auto;
	padding: 20px 0;

}

.resource-image .resource-overlay h1 {
	letter-spacing: -0.03em;
	line-height: 1.3em;

}

		@media screen and (max-width: 1025px) {
			
			.resource-image .resource-overlay {
				padding: 28px 12px;
			}
		}	


.resource-image .resource-overlay a {
	text-decoration: none; }

.resource-image .resource-overlay .text-wrapper {
	position: absolute;
/* 	bottom: 0; */ }

.resource-image .resource-overlay .text-wrapper .entry-headline {
	font-size: 40px;
	margin: 0 0 28px 0; }

.resource-image .resource-overlay .text-wrapper .entry-author {
	padding-bottom: 28px; 
	font-family: 'Inter', "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-style: normal;
	font-weight: 700;
	letter-spacing: 0.1em;
	}
	
.resource-image .resource-overlay .entry-date {
/* 	font-family: "aktiv-grotesk-std",sans-serif; */
	font-family: 'Inter', "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-style: normal;
	font-weight: 700;
	letter-spacing: 0.1em;
}



/*--------------------------------------------------------------
## Sidebar - hierarchical Contents widget (Dylan Widget)
--------------------------------------------------------------*/

.sidebar {
/* 	position: fixed; */
/* 	background: #283c46; */
	background: rgba(227, 231, 243, 0.6);
	border-top: 4px solid #283c46;
	/*   width: 25%; */
	color: #fff;
	/* float: right; */
	font-family: 'Inter', "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-style: normal;
/* 	font-weight: 700; */
/* 	padding: 15px 20px; */
	padding: 15px 25px;
	margin-bottom: 30px;

	/* highlights the current page. Only applies to first instance, thereby excluding children */ 
}
	
	@media screen and (max-width: 1025px) {
		.sidebar {
			
			margin: 0 0 30px 0;
		}
		
		}
	

.sidebar * h3 {
	margin: 5px 0;
	color: #283c46;
}

.sidebar a {
	color: #ea402f;
	text-decoration: underline; }

.sidebar a:hover {
	text-decoration: none;
	color: #999;
	 }

.sidebar ul {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0; 
    
	line-height: 1.3;
    }

.sidebar li {
	padding: 7px 0px; 
	margin: 0;
	font-style: normal;
	}

.sidebar li.current_page_item > a {
	font-weight: bold;
	color: #1c77c3;
	text-decoration: none; 
/* 	background-color: #283c46; */ 
/* 	padding: 4px; */
	}

.sidebar li.current_page_item > a:before {
content: "▸︎ ";
	color: #283c46;
	}	
	
.sidebar li ul {
	padding: 0 20px; }