/*
Theme Name:     Education-mind-child
Theme URI:
Description:    Education-mind child theme.
Author:         Timo Lauschner
Author URI:     https://www.timo-lauschner.de/
Template:       education-mind
Version:        0.1.1
*/

/* roboto-300 - latin */
@font-face {
	font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
	font-family: 'Roboto';
	font-style: normal;
	font-weight: 300;
	src: url('assets/fonts/roboto-v30-latin-300.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* roboto-regular - latin */
@font-face {
	font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
	font-family: 'Roboto';
	font-style: normal;
	font-weight: 400;
	src: url('assets/fonts/roboto-v30-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* roboto-italic - latin */
@font-face {
	font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
	font-family: 'Roboto';
	font-style: italic;
	font-weight: 400;
	src: url('assets/fonts/roboto-v30-latin-italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* roboto-500 - latin */
@font-face {
	font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
	font-family: 'Roboto';
	font-style: normal;
	font-weight: 500;
	src: url('assets/fonts/roboto-v30-latin-500.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* roboto-700 - latin */
@font-face {
	font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
	font-family: 'Roboto';
	font-style: normal;
	font-weight: 700;
	src: url('assets/fonts/roboto-v30-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* roboto-700italic - latin */
@font-face {
	font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
	font-family: 'Roboto';
	font-style: italic;
	font-weight: 700;
	src: url('assets/fonts/roboto-v30-latin-700italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* signika-300 - latin */
@font-face {
	font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
	font-family: 'Signika';
	font-style: normal;
	font-weight: 300;
	src: url('assets/fonts/signika-v20-latin-300.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* signika-regular - latin */
@font-face {
	font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
	font-family: 'Signika';
	font-style: normal;
	font-weight: 400;
	src: url('assets/fonts/signika-v20-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* signika-500 - latin */
@font-face {
	font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
	font-family: 'Signika';
	font-style: normal;
	font-weight: 500;
	src: url('assets/fonts/signika-v20-latin-500.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* signika-600 - latin */
@font-face {
	font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
	font-family: 'Signika';
	font-style: normal;
	font-weight: 600;
	src: url('assets/fonts/signika-v20-latin-600.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* signika-700 - latin */
@font-face {
	font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
	font-family: 'Signika';
	font-style: normal;
	font-weight: 700;
	src: url('assets/fonts/signika-v20-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

#page .widget_paypal_donations {
    max-width: 1210px;
    margin: 0 auto;
}

#page .widget_paypal_donations .container {
	background: #2e5680;
    padding: 50px 25px;
    color: #fff;
    text-align: center;
    width: 100%;
}

#page .widget_paypal_donations .container h2.widget-title {
	font-size: 40px;
    color: #fff;
    margin-bottom: 0;
}

#page .widget_paypal_donations .container input {
	margin-top: 30px;
}

#page .widget_paypal_donations .container h2::before,
#page .widget_paypal_donations .container h2::after {
     content: none;
}

.green.education_mind_widget_call_to_action {
	background: #00843d;
}

.right-head a.custom-button {
	background: #00843d;
}

.sa_vert_center {
	top: auto !important;
	bottom: 50px;
    transform: none !important;
	left: 50px;
	width: 40% !important;
	background: rgba(0,0,0,0.3);
    color: white;
    padding: 15px;
}

.sa_vert_center h2 {
	font-size: 32px;
}

.sa_vert_center p {
	font-size: 22px;
}

.sa_vert_center h6 {
	color: white;
}

@media only screen and (max-width: 767px) {
	.sa_hover_container {
        display: flex;
        flex-direction: column;
    }

	.sa_vert_center {
        position: relative !important;
		width: 100% !important;
        bottom: 0 !important;
        left: 0 !important;
        margin-top: 267px !important;
        overflow: hidden;
	}
}

.sa_vert_center h2,
.sa_vert_center a {
	color: white !important;
}

#sidebar-front-page-widget-area .tribe-events-widget-events-list {
	padding-top: 60px;
    padding-bottom: 60px;
    border-bottom: 2px solid #f7f7f7;

    width: 1210px;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
    max-width: 100%;

	-webkit-font-smoothing: auto;
    font-smoothing: auto;
}

#sidebar-front-page-widget-area .tribe-events-widget-events-list__events {
	padding-top: 40px;
}

#sidebar-front-page-widget-area .tribe-events-widget-events-list__event-date-tag {
	display: none;
}

#sidebar-front-page-widget-area .tribe-events-widget-events-list__view-more {
	font-weight: bold;
}

#sidebar-front-page-widget-area .tribe-events-widget-events-list__event-datetime,
#sidebar-front-page-widget-area .tribe-events-widget-events-list__event-title {
	font-size: 18px;
}

#sidebar-front-page-widget-area .tribe-events-widget-events-list__event-title {
	font-weight: 600;
    font-family: 'Signika', sans-serif;
    line-height: 1.4;
	font-size: 22px;
	margin-bottom: 10px;
}

@media only screen and (min-width: 768px) {
	#sidebar-front-page-widget-area .tribe-events-widget-events-list__events {
		display: flex;
		margin-left: -20px;
		margin-right: -20px;
	}

	#sidebar-front-page-widget-area .tribe-events-widget-events-list__event-row {
		padding-left: 20px;
		padding-right. 20px;
		margin-top: 20px;
		flex-basis: 0;
		flex-grow: 1;
		max-width: 50%;
	}
}

#sidebar-front-page-widget-area .widget_block .container:has(> .wp-block-heading) {
	border-bottom: none;
	padding-bottom: 0;
}

#sidebar-front-page-widget-area .tribe-events-widget-events-list__header-title {
	color: #222;
    font-weight: 600;
    font-family: 'Signika', sans-serif;
    line-height: 1.4;
    margin: 0 0 10px 0;
	font-size: 26px;
}

#sidebar-front-page-widget-area .tribe-events-widget-events-list__header-title,
#sidebar-front-page-widget-area .widget_block .wp-block-heading {
	position: relative;
}

#sidebar-front-page-widget-area .tribe-events-widget-events-list__header-title:after,
#sidebar-front-page-widget-area .widget_block .wp-block-heading:after {
    background: #3770ab;
}

#sidebar-front-page-widget-area .tribe-events-widget-events-list__header-title:after,
#sidebar-front-page-widget-area .widget_block .wp-block-heading:after {
    height: 4px;
    width: 50px;
    bottom: -11px;
}

#sidebar-front-page-widget-area .tribe-events-widget-events-list__header-title:before,
#sidebar-front-page-widget-area .widget_block .wp-block-heading:before {
    border-top: 1px solid #f3f3f3;
    width: 170px;
    height: 1px;
    bottom: -10px;
}

#sidebar-front-page-widget-area .tribe-events-widget-events-list__header-title:after,
#sidebar-front-page-widget-area .tribe-events-widget-events-list__header-title:before,
#sidebar-front-page-widget-area .widget_block .wp-block-heading:after,
#sidebar-front-page-widget-area .widget_block .wp-block-heading:before {
    content: '';
    position: absolute;
    left: 0;
}

.content-area .is-type-video.wp-has-aspect-ratio {
	margin-top: 40px;
	margin-bottom: 40px;
}

.is-type-video.wp-has-aspect-ratio .wp-block-embed__wrapper {
	position: relative;
}

.is-type-video.wp-has-aspect-ratio iframe {
	position: absolute;
	top: 0;
	left: 0;
 	width: 100%;
 	height: 100%;
}

.is-type-video.wp-has-aspect-ratio.wp-embed-aspect-16-9 .wp-block-embed__wrapper {
	padding-top: 56.25%;
}

.is-type-video.wp-has-aspect-ratio.wp-embed-aspect-1-1 .wp-block-embed__wrapper {
	padding-top: 100%;
}

.is-type-video.wp-has-aspect-ratio.wp-embed-aspect-4-3 .wp-block-embed__wrapper {
	padding-top: 75%;
}

.mobile-nav-wrap {
	background: #083a6f;
}

.sidr {
	background: #083a6f !important;
	box-shadow: none !important;
}

.sidr ul li ul li.active>a, .sidr ul li ul li.active>span, .sidr ul li ul li.sidr-class-active>a, .sidr ul li ul li.sidr-class-active>span, .sidr ul li ul li:hover>a, .sidr ul li ul li:hover>span, .sidr ul li.active>a, .sidr ul li.active>span, .sidr ul li.sidr-class-active>a, .sidr ul li.sidr-class-active>span, .sidr ul li:hover>a, .sidr ul li:hover>span {
	box-shadow: none !important;
}

.sidr ul li a, .sidr ul li span {
	padding-top: 10px !important;
	padding-bottom: 10px !important;
}

.sidr ul {
	border-top: none !important;
	border-bottom: none !important;
	background: #2e5680;
}

.sidr ul li,
.sidr ul li.sidr-class-menu-item-has-children > a {
	border-top: none !important;
	border-bottom: 1px solid #fff !important;
}

.sidr ul li ul {
background: #083a6f;
}

.sidr ul li ul, .sidr ul li ul li:last-child {
	border-bottom: none !important;
}

.sidr li.sidr-class-current-menu-item {
	background: #fff;
	border-right: 1px solid #083a6f;
	margin-top: -1px;
}

.sidr li.sidr-class-current-menu-item a{
	color: #000;
}


@media only screen and (max-width:767px){
    .widget.education_mind_widget_portfolios .portfolio-item,
    .widget.education_mind_widget_services .service-block-item,
    .widget.education_mind_widget_latest_news .latest-news-item,
    .widget.education_mind_widget_services_primary .service-block-item,
    .widget.education_mind_widget_teams .our-team-item,
    .widget.education_mind_widget_pages_blocks .pages-blocks .block-item {
        padding: 15px;
        width: 100%;
    }
}

.wp-block-file__button:visited {
	color: #ffffff !important;
}

@media only screen and (max-width: 479px) {
    .sidr-main-open a#mobile-trigger {
        padding-left: 278px;
    }
}

.sidr-main-open #mobile-trigger .fa.fa-list-ul:before {
	content: "\f00d";
}