/*
 Theme Name:     Divi Child Theme
 Theme URI:      http://www.elegantthemes.com/gallery/foxy/
 Description:    Divi Child Theme
 Author:         Elegant Themes
 Author URI:     http://www.elegantthemes.com
 Template:       Divi
 Version:        1.0.0
*/
 
@import url("../Divi/style.css");

/* =Theme customization starts here
------------------------------------------------------- */
body {
	font-size: 20px;
    font-weight: 400;
	line-height: 35px;
	color: #000;
}
h1, h2, h3, h4, blockquote {
    -webkit-hyphens: none;
    -moz-hyphens: none;
    hyphens: none;
}
h1, #page-container h1 {
    font-size: 50px;
    line-height: 1em;
}
h2, #page-container h2 {
    font-size: 35px;
}
h3, #page-container h3 {
    font-size: 30px;
}
h4, #page-container h4 {
    font-size: 25px;
}
h5, #page-container h5 {
    font-size: 20px;
}
h6, #page-container h6 {
    font-size: 15px;
}
/*#page-container .special-size h1 {
	margin-left: -.5vw;
}*/
#page-container .special-size h1 {
    color: #90CFD5;
    font-weight: 600;
    text-align: center;
}
.object-fit img {
	object-fit: cover;
    width: 100%;
}
.regular-weight {
	font-weight: 400;
}
.medium-weight {
	font-weight: 500;
}
.simibold-weight {
	font-weight: 600;
}
.logo-container img {
    transition: all .5s ease;
}
.logo-container img:hover {
    transform: scale(.9);
}
div.wpcf7 .ajax-loader {
    background-image: url(img/ajax-loader.gif);
    width: 43px;
    background-repeat: no-repeat;
    margin: 0 auto;
    height: 11px;
    display: block;
    position: relative;
}
div.wpcf7-response-output {
    margin: 0 0.5em 1em;
    color: #fff;
}
body div.wpcf7-mail-sent-ok {
    border: 0px solid #398f14;
    font-size: 50px;
    margin:0 !important;
    padding: 0;
}
form.wpcf7-form.sent input {
    display: none;
}
/*
 * -----------[HEADER]----------*
 */
body.post-type-archive header#mhmm #header-container .header-menu-row {
  padding-top: 0;
  padding-bottom: 0;
  width: 100%;
  max-width: 100%;
}
.header-menu-row {
	height: 98px;
	align-items: center;
}
.menu-style-full {
	display: flex;
	justify-content: flex-end;
}
.et_pb_mhmm_inline_menu_0 nav>ul>li.accentuate-link> a {
    font-weight: 900;
    color: #4193A8;
}
/*
 * ---------[SOCIAL NETWORKS]-------*
 */
#social-networks-shortcode ul#sns-container {
  display: flex;
  justify-content: center;
  list-style: none;
  padding: 0;
}
#social-networks-shortcode ul#sns-container li {
  padding: 0 10px;
}
#social-networks-shortcode ul#sns-container li:first-child {
  padding-left: 0;
}
#social-networks-shortcode ul#sns-container li:last-child {
  padding-right: 0;
}
#social-networks-shortcode ul#sns-container li a {
  font-size: 13px;
  color: #90CFD5;
  transition: all .5s ease;
  padding: 0 2px;
  -webkit-backface-visibility: hidden;
}
#social-networks-shortcode ul#sns-container li a:hover {
	transform: scale(1.3);
}
#social-networks-shortcode ul#sns-container {
  display: flex;
  list-style: none;
  padding: 0;
}
#social-networks-shortcode ul#sns-container li {
  padding: 0 10px;
}
#social-networks-shortcode ul#sns-container li:first-child {
  padding-left: 0;
}
#social-networks-shortcode ul#sns-container li:last-child {
  padding-right: 0;
}
#social-networks-shortcode ul#sns-container li a {
  font-size: 13px;
  color: #fff;
  transition: all .5s ease;
  padding: 0 2px;
  -webkit-backface-visibility: hidden;
}
#social-networks-shortcode ul#sns-container li a:hover {
    color: #FFF9CE;
    transform: scale(1.3);
}
.sharer-container {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}
.sharer-container #social-networks-shortcode ul#sns-container li a {
  color: #3D93A8;
}
.sharer-label {
  font-size: 20px;
  font-weight: 500;
  color: #3D93A8;
  margin-right: 20px;
}
.et-social-email a.icon:before {
  content: "\e010";
}
/*
 * ---------[SLIDER]-------*
 */
.slider-container .et_pb_slide_title,
.slider-container .et_pb_slide_content  {
	text-shadow: none;
}
.slider-container .et_pb_slide_title {
	position: relative;
    margin-bottom: 60px;
}
.slider-container .et_pb_slide_title:after {
	content: '';
    position: absolute;
    width: 100px;
    background-color: #000;
    height: 3px;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
}
.slider-container .et_pb_slide_content {
	margin-bottom: 30px;
    font-weight: 500;
    max-width: 665px;
    margin-left: auto;
    margin-right: auto;
}
.slider-container .et-pb-controllers a {
	width: 10px;
    height: 10px;
}
/*
 * ---------[PAGENAVI]-------*
 */
.wp-pagenavi {
    border-top: 0px solid #3d93a8;
    text-align: left;
}
.wp-pagenavi a:hover, .wp-pagenavi span.current {
    color: #3d93a8!important;
}
.wp-pagenavi a, .wp-pagenavi span {
    color: #555;
    font-size: 15px!important;
}
/*
 * ---------[SEARCH]-------*
 */
/*Hide the search button*/
.sftc-search-icon input.et_pb_searchsubmit,
.widget_search input#searchsubmit {
    background: transparent;
    color: transparent;
    border: none;
    width: 55px;
    z-index: 2;
}
/*Add padding to the search input field*/
.sftc-search-icon input.et_pb_s,
.widget_search input#s {
    padding-right: 55px !important;
}
/*Add the icon*/
.sftc-search-icon .et_pb_searchform:before,
.widget_search::before {
    content: '\4c';
    position: absolute;
    font-family: 'ETModules';
    z-index: 1;
    right: 0;
    font-size: 20px;
    padding: 5px 15px;
    color: #3B747B;
    font-weight: 600;
}
body.search-results .container {
    padding-bottom: 100px;
}
/*
 * ---------[FORMS]-------*
 */
.et_pb_newsletter_form input::-webkit-input-placeholder,
.flex-container input::-webkit-input-placeholder { 
  color: rgba(21, 40, 44, .3);
}
.et_pb_newsletter_form input:-moz-placeholder,
.flex-container input:-moz-placeholder { 
  color: rgba(21, 40, 44, .3);
}
.et_pb_newsletter_form input::-moz-placeholder,
.flex-container input::-moz-placeholder { 
  color: rgba(21, 40, 44, .3);
}
.et_pb_newsletter_form input:-ms-input-placeholder,
.flex-container input:-ms-input-placeholder { 
  color: rgba(21, 40, 44, .3);
}
#email-sign-up form * {
	width: 100%;
}
#email-sign-up button[type="submit"] {
	margin-left: 3%;
}
.wpcf7-form input {
    border-width: 1px;
    border-color: rgba(51,51,51,0.15);
    padding: 16px;
    font-size: 25px;
}
.wpcf7-form input[type="submit"]{
    padding: 10px 16px;
    color: #3D93A8;
    border-width: 12px;
    border-color: rgba(0,0,0,0);
    border-radius: 0px;
    font-size: 25px;
    font-weight: 700;
    text-transform: uppercase;
    background-color: #FFF9CE;
    cursor: pointer;
}
.flex-container {
    display: flex;
    flex-direction: column;
}
.flex-container input {
    width: 100%;
    border-width: 0px;
    padding: 25px 4%;
    font-size: 25px;
    line-height: 30px;
    margin-bottom: 10px;
}
.cta-newsletter-container {
    margin-bottom: 50px;
    background: rgba(0,0,0,.05);
    padding: 4px 20px;
    margin-left: -20px;
    display: inline-block;
    color: rgba(0,0,0,.65);
}
.cta-newsletter-container a {
    font-weight: 600;
}
/*
 * ---------[BLOG MODULE]-------*
 */
body #page-container .et_pb_bg_layout_light .et_pb_post p {
	font-size: 15px;
}
.blog-module-container .et_pb_blog_grid .et_pb_post {
    background-color: transparent;
}
.blog-module-container .et_pb_blog_grid .et_pb_post .post-content {
    margin-top: 25px;
}
/*
 * ---------[DONATE]-------*
 */
.give-btn {
    background: #4193A8;
    border: 0px solid #8fced3;
    color: #fff;
    padding: 13px 15px;
    cursor: pointer;
    line-height: 1.2em;
    font-size: 1em;
}
.give-btn:hover {
    background: #15282C;
}
[id*=give-form] .give-form-title {
    color: #4193A8;
    font-weight: 600;
    padding-bottom: 10px; 
}
form[id*=give-form] .give-donation-amount #give-amount, 
form[id*=give-form] .give-donation-amount #give-amount-text {
    height: inherit;
    padding: 4px 12px;
    font-size: 24px;
}
form[id*=give-form] .give-donation-amount .give-currency-symbol {
    padding: 4px 12px;
    height: inherit;
    font-size: 22px;
}
form[id*=give-form] #give-final-total-wrap .give-donation-total-label,
form[id*=give-form] #give-final-total-wrap .give-final-total-amount {
    height: inherit;
}
.give-submit-button-wrap .give-submit, 
[id^=give-user-login-submit] .give-submit {
    width: 100%;
}
/*
 * ---------[SINGLE]-------*
 */
body.single .container:before,
.custom-archive .container:before  {
	display: none;
}
body #main-content.single-page-template .container {
    max-width: 640px;
}
body #main-content.single-page-template .entry-content h3 {
    color: #4193A8;
}
.single-page-hero-container.has-thumb .hero-featured-image-container {
    background-size: cover;
    padding-top: 56.25%;
    position: relative;
}
.single-page-hero-container.has-thumb .hero-featured-image-container:before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0,0,0,.5);
}
.header-content-container {
	position: absolute;
	width: 80%;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
}
.single-page-hero-container .divider {
    margin: 30px auto;
}
.single-page-hero-container .et_pb_divider.divider:before {
    border-top-color: #90cfd4;
    border-top-width: 2px;
}
.single-page-hero-container .post-meta {
	text-align: center;
	color: #d6d6d6;
}
.single-page-hero-container .post-meta .categories{
	text-transform: uppercase;
    font-size: 15px;
    border: 1px solid #90cfd4;
    padding: 1px 5px;
}
.single-page-hero-container .post-meta .published {
	font-size: 15px;
}
.single-page-hero-container .post-meta a {
	color: #90CFD5;
}
body.single .entry-content .et_pb_text_inner {
	max-width: 600px;
	margin: auto;
}
body.single:not(.et_pb_pagebuilder_layout) .entry-content p:not(blockquote) p:first-of-type,
body.single .entry-content .et_pb_section:first-of-type .et_pb_row:first-of-type .et_pb_text_inner:first-of-type p:first-of-type {
	font-weight: 600;
}
body.single .entry-content {
	color: #000;
}
.post-meta-container {
    max-width: 600px;
    margin: 0 auto 120px;
    position: relative;
    width: 80%;
}
.post-meta-container .divider {
	margin-top: 40px;
	margin-bottom: 25px;
	border-bottom: 1px solid rgba(21, 40, 44,.25);
}
.post-meta-container .post-tags {
	text-align: center;
}
.sftc-icon {
	background: url('img/logo-icon-blk.svg');
	background-size: contain;
	background-repeat: no-repeat;
	width: 45px;
	height: 45px;
	margin: 30px auto;
}
body.single .sftc-ad {
    display: none;
}
/*
 * ---------[ARCHIVES]-------*
 */
.sub-head {
    color: #4193A8;
    margin-bottom: 4.758%;
}
.et_pb_divider.divider {
    max-width: 75px;
    position: relative;
}
.et_pb_divider.divider:before {
    border-top-color: #15282C;
    border-top-width: 4px;
}
.divider {
    margin: 0 0 57px 0;
}
body:not(.single) .title {
    margin-bottom: 4.758%;
}
.custom-archives-template {
	padding-bottom: 100px;
}
.custom-archives-hero-container {
	background-color: rgba(144, 207, 213,.5);
	background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}
.custom-archives-hero-container.bg-green {
	background-color: rgba(59, 116, 123,.19);
}
.custom-archives-hero-container.blend-on {
	background-blend-mode: color-burn;
}
.custom-archive .header-content-container {
	padding-bottom: 100px;
	position: relative;
    z-index: 1;
    width: 80%;
    left: 10%;
    padding-top: 150px;
    transform: none;
}
#page-container .custom-archive .title h1 {
	color: #15282C;
}
#page-container .custom-archives-template .title h1,
#page-container .custom-articles-template .title h1 {
	display: inline-block;
}
#page-container .custom-archive .bg-green .title h1 {
	color: #3B747B;
}
.custom-archive .et_pb_post .entry-title a {
	color: #3D93A8;
	font-weight: 600;
}
.custom-archive .et_pb_post a {
	color: #000;
	font-weight: 400;
}
.custom-archive .et_pb_post a img {
	max-height: 400px;
    object-fit: cover;
    height: 400px;
    width: 100%;
}
body.title-class-resources .custom-archive .et_pb_post a img,
.featured-resources-blog .et_pb_post a img {
	height: 200px;
}
#page-container .custom-archive .widgettitle {
	font-size: 28px;
}
/*
 * ---------[AUTHOR]-------*
 */
.custom-archive .gravatar {
    width: 100px;
    border-radius: 50%;
    overflow: hidden;
    line-height: 0;
    display: inline-block;
    margin-right: 20px;
}
.custom-archive .author-headline-container {
	display: flex;
	flex-direction: row;
	align-items: center;
}
.custom-archive .gravatar img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}
.custom-archive .header-content-container .excerpt {
    margin-bottom: 30px;
    max-height: 185px;
    overflow-x: hidden;
    overflow-y: scroll;
    font-size: 20px;
    line-height: 36px;
    margin-top: 10px;
    position: relative;
    max-width: 850px;
    padding-right: 30px;
}
.custom-archive .author-meta {
    margin-bottom: 30px;
    display: flex;
    flex-direction: column;
}
.custom-archive .author-social {
    margin-top: 5px;
}
.custom-archive .author-social .author-label {
    color: #3D93A8;
}
.custom-archive .author-social ul {
    display: flex;
    justify-content: start;
}
.custom-archive .author-social ul li:first-child {
    padding-left: 0;
}
.custom-archive .author-social ul li {
    padding: 0 10px;
}
.custom-archive .author-social ul li a {
    color: #3D93A8;
    font-size: 13px;
    transition: all .5s ease;
}
.custom-archive .author-social ul li a:hover {
    /*color: #DBC568;*/
    transform: scale(1.3);
}
#page-container .special-size .author-headline-container h1 {
	line-height: 1em;
	padding-top: 10px;
}
/*
 * ---------[RELATED POSTS]-------*
 */
.related-posts-container {
	width: 80%;
    margin: 0 auto 80px;
}
.rp4wp-related-posts {
    margin:1em auto;
}
.related-posts-container h2 {
	text-align: center;
	/*font-size: 75px;*/
	font-weight: 600;
	padding-bottom: 50px;
}
ul.related-post-list {
	list-style: none;
	display: flex;
	justify-content: center;
    margin: auto;
    text-align: center;
}
ul.related-post-list li {
	margin: 20px;
    max-width: 500px;
    width: 100%;
}
ul.related-post-list li .related-post-meta h4 {
	/*font-size: 35px;*/
	font-weight: 600;
	color: #15282C;
}
ul.related-post-list li:first-child .related-post-meta h4 {
	color: #3D93A8;
}
ul.related-post-list li img {
	object-fit: cover;
    width: 100%;
    height: 100%;
    max-height: 245px;
}
/*
* ----------[FOOTER]--------*
*/
#menu-main-menu {
	display: flex;
	justify-content: flex-end;
}
#main-footer {
	position: relative;
}
#main-footer:before {
	content: '';
    position: absolute;
    top: -80px;
    right: 225px;
    background-image: url(img/icon-white.svg);
    background-repeat: no-repeat;
    background-size: contain;
    width: 700px;
    height: 700px;
    z-index: 1;
    opacity: .03;
}
#main-footer .polymath-logo svg {
	width: 100%;
    max-width: 124px;
    fill: #fff;
}

/*
* ----------[MEDIA QUERIES]--------*
*/
@media screen and (min-width: 767px) {
    h1, #page-container h1 {
        font-size: calc(40px + 25 * ((100vw - 320px) / 960));
    }
    h2, #page-container h2 {
        font-size: calc(25px + 25 * ((100vw - 320px) / 960));
    }
    h3, #page-container h3 {
        font-size: calc(25px + 10 * ((100vw - 320px) / 960));
    }
    h4, #page-container  h4 {
        font-size: calc(25px + 5 * ((100vw - 320px) / 960));
    }
    h5, #page-container h5 {
        font-size: calc(20px + 5 * ((100vw - 320px) / 960));
    }
    h6, #page-container h6 {
        font-size: calc(15px + 5 * ((100vw - 320px) / 960));
    }
}
@media only screen and (min-width: 2200px) {}
@media screen and (min-width: 1280px) {
    h1, #page-container h1 {
        font-size: 75px;
    }
    h2, #page-container h2{
        font-size: 50px;
    }
    h3, #page-container h3 {
        font-size: 35px;
    }
    h4, #page-container h4 {
        font-size: 30px;
    }
    h5, #page-container h5 {
        font-size: 25px;
    }
    h6, #page-container h6 {
        font-size: 20px;
    }
    #page-container .special-size h1 {
    	font-size: 122px;
    	color: #90CFD5;
    	line-height: 110px;
    	font-weight: 600;
    }
}
@media only screen and (min-width: 1101px) {}
@media only screen and (min-width: 992px) {}
@media only screen and (min-width: 981px) {
	#page-container .special-size h1 {
	    font-size: 122px;
	    line-height: 1;
	}
}
@media only screen and (min-width: 981px) and (max-width: 1100px) {}
@media only screen and (max-width: 980px) {
	.header-menu-row {
		display: flex;
		align-items: center;
	}
	.header-menu-row > div {
		margin:0 !important;
		flex:1;
	}
	#main-footer:before {
		right: 50px;
	}
	ul.related-post-list {
		flex-direction: column;
		align-items: center;
	}
	.single-page-hero-container.has-thumb {
		position: relative;
	}
}
@media only screen and (min-width: 480px) and (max-width: 766px) {}
@media only screen and (max-width: 767px) {}
@media only screen and (max-width: 480px) {}
@media only screen and (max-width: 980px) and (orientation : portrait) {}