/*
 Theme Name:   Sunflower-child
 Theme URI:    https://sunflower-theme.de
 Description:  Sunflower child-theme
 Author:       Tom Rose
 Author URI:   https://tom-rose.de
 Template:     sunflower
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Text Domain:  twentyfifteenchild
*/

/* assistant-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: 'Assistant';
  font-style: normal;
  font-weight: 400;
  src: url('https://relaunch.bfsscloud.net/wp-content/themes/cenote-child/fonts/assistant-v23-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* oswald-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: 'Oswald';
  font-style: normal;
  font-weight: 400;
  src: url('https://relaunch.bfsscloud.net/wp-content/themes/sunflower-child/fonts/oswald-v16-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

@font-face {
    font-family: 'Franklin Gothic Regular';
    font-style: normal;
    font-weight: normal;
    src: url('https://relaunch.bfsscloud.net/wp-content/themes/sunflower-child/fonts/FranklinGothic.woff') format('woff');
}
    
@font-face {
    font-family: 'Franklin Gothic Condensed';
    font-style: normal;
    font-weight: normal;
    src: url('https://relaunch.bfsscloud.net/wp-content/themes/sunflower-child/fonts/FranklinGothicCondensed.woff') format('woff');
}

@font-face {
    font-family: 'Franklin Gothic Italic';
    font-style: normal;
    font-weight: normal;
    src: url('https://relaunch.bfsscloud.net//wp-content/themes/sunflower-child/fonts/FranklinGothic_Italic.woff') format('woff');
}

@font-face {
    font-family: 'Franklin Gothic Medium Condensed';
    font-style: normal;
    font-weight: normal;
    src: url('https://relaunch.bfsscloud.net/wp-content/themes/sunflower-child/fonts/ITCFranklinGothicStd-MdCd.woff2') format('woff2');
}

:root {
	--bs-primary-rgb: 255,255,255;
	--bs-link-color: #6B358A !important;
	--bs-link-hover-color: #651394 !important;
	--primary-violet: #500B70;
	--secondary-violet: #6D3E98;
}

a {
	color: var(--secondary-violet);
}

a:visited {
	color: #AD55E0;
}

h1, .h1, h2, .h2, h3, .h3, h4, .h4, h5, .h5, h6, .h6,
.has-white-background-color .h1 {
	color: var(--primary-violet);
}

.has-white-background-color .h1, .has-white-background-color .h2, .has-white-background-color .h3 {
	color: #000;
}

.site-main .page-header h1, .site-main .page-header .h1,
a.event-card article h2, a.event-card article .h2,
a.event-card article .event-archive-meta {
	color: var(--secondary-violet);
}

.theme--default h1, .theme--default .h1, .theme--default .h1, .theme--default .has-huge-font-size {
	font-family: "Franklin Gothic Condensed";
}

.theme--default h2, .theme--default .h2, .theme--default .h2, .theme--default .has-large-font-size {
	font-family: "Franklin Gothic Condensed";
}

.navbar-light .navbar-nav .current-page-ancestor a.nav-link, .navbar-light .navbar-nav .current-menu-parent a.nav-link, .navbar-light .navbar-nav .current-menu-item.active a.nav-link {
	color: var(--primary-violet);
}

.bloginfo a.bloginfo-name {
	color: var(--primary-violet) !important;
	font-family: "Franklin Gothic Regular";
}

.bloginfo a.bloginfo-description {
	color: var(--primary-violet) !important;
	font-family: "Franklin Gothic Medium Condensed";";
}

.bg-darkgreen {
	background-color: #6D3E98;
}

.bloginfo {
	background-image: none;
}

a.continue-reading, .continue-reading {
	font-style: normal;
}

.dropdown-menu ul li a:hover {
	color: #6B358A;
}

.navbar-light .navbar-nav .current-menu-parent a.nav-link {
	color: #AD55E0;
}

.navbar-light .navbar-nav .nav-link:hover {
	color: #6B358A;
}

.dropdown-menu ul li a:hover {
	background: var(--secondary-violet);
	color: #fff;
}

.next-events {
	background-image: url("assets/img/bg-events.jpg")
}

.tnp-field input[type="submit"] {
	background-color: #AD55E0 !important;
}

.tnp-field input[type="submit"]:hover {
	background-color: #6B358A !important;
}

.topmenu {
	background-color: var(--primary-violet);
}

.styled-layout .wp-block-group {
	padding: 50px 10px;
}

.wp-block-button__link {
	background-color: #AD55E0;
}

.wp-block-cover .wp-block-cover__background.has-background-dim.has-background-dim-20 {
	opacity: 0;
}

#newsletterwidget-2 h2.widget-title {
	text-align: center;
}

.sunflower-pagination .prev, .sunflower-pagination .next {
	font-style: normal;
	font-weight: bold;
}

@media screen and (min-width: 1024px) {
	.wp-block-cover {
		min-height: 519px;
	}
}

@media (min-width: 992px) {
  .navbar-light .navbar-nav > .nav-item:hover {
    border-bottom: 4px solid var(--secondary-violet);
  }
}


@media screen and (max-width: 767px) {
	.wp-block-cover .wp-block-cover__image-background {
		-o-object-fit: contain;
		object-fit: contain;
	}
	
	.styled-layout .wp-block-group {
		padding: 10px;
	}
}
	
@media screen and (min-width: 630px) and (max-width: 767px) {
	.wp-block-cover {
		min-height: 300px;
	}
}

@media screen and (min-width: 480px) and (max-width: 576px) {
	.wp-block-cover {
			min-height: 280px;
	}
}

@media screen and (min-width: 567px) and (max-width:630px) {
	.wp-block-cover {
			min-height: 250px;
	}
}

@media screen and (min-width: 480px) and (max-width: 576px) {
	.wp-block-cover {
			min-height: 200px;
	}
}

@media screen and (max-width: 480px) {
	.wp-block-cover {
		min-height: 150px;
	}
	
	.custom-logo-link {
		margin: 0 1em 0 0;
	}
	
	.bloginfo a.bloginfo-name {
		font-size: 1em;
	}
	
	.bloginfo-description {
		font-size: .7em;
	}
}