/*
 Theme Name:   SMD 2019
 Theme URI:    http://www.sternundhuber.de
 Description:  Twenty Ninteen Child Theme
 Author:       Peter Bauer
 Template:     twentynineteen
 Version:      1.1.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Tags:         light, dark, two-columns, right-sidebar, responsive-layout, accessibility-ready
 Text Domain:  twentynineteenchild
*/

@import url("../twentynineteen-child/scripts/owl-carousel/owl.carousel.css");
@import url("../twentynineteen-child/scripts/owl-carousel/owl.theme.css");

#owl-demo .item img {
	display: block;
    width: 100%;
}

.owl-theme .owl-controls {
	margin-top: 0px;
	padding-top: 10px;
	padding-left: 10px;
	text-align: left;
}

.owl-theme .owl-controls .owl-page span {
   background: #000000!important; /* dots color*/
 	opacity: 1;
 	-webkit-border-radius: 0px;
	-moz-border-radius: 0px;
	border-radius: 0px;
	height: 4px;
 	width: 40px;
 }
.owl-theme .owl-controls .owl-page.active span {
   background: #FC4719!important; /*active and on hover color*/
 }

.slider_text {
	position: absolute;
	bottom: -10px;
	right: 20px;
	width: 600px;
	xheight: 300px;
	background-color: rgb(237,237,237);
	padding: 20px;
}

.slider_text div a {
	text-decoration: none !important;
	padding: 4px 10px;
	line-height: 18px;
	color: #FFF;
	background-color: #000 !important;
	font-weight: bold;
}

.slider_text br.clear {
	clear: both;
}





@media only screen and (max-width: 768px) {


.owl-theme .owl-controls {
	text-align: center;
	background-color: rgb(237,237,237);
}

.slider_text {
	position: relative;
	bottom: initial;
	right: initial;
	top: 0px;
	width: 100%;
	padding: 4px 30px 30px 30px;
	text-align: left;
	height: auto;
}

}





@font-face {
    font-family: 'OpenSans';
    src: local('Open Sans'), url('../twentynineteen-child/fonts/Open_Sans/OpenSans-Regular.ttf') format('truetype');
}

@font-face {
    font-family: 'OpenSans';
    src: local('Open Sans Bold'), url('../twentynineteen-child/fonts/Open_Sans/OpenSans-Bold.ttf') format('truetype');
    font-weight: 700;
}
@font-face {
    font-family: 'OpenSans';
    src: local('Open Sans Italic'), url('../twentynineteen-child/fonts/Open_Sans/OpenSans-Italic.ttf') format('truetype');
    font-style: italic;
}
@font-face {
    font-family: 'OpenSans';
    src: local('Open Sans Bold Italic'), url('../twentynineteen-child/fonts/Open_Sans/OpenSans-BoldItalic.ttf') format('truetype');
    font-weight: 700;
    font-style: italic;
}

body {
	text-align: center;
}

#page {
	background-color: #ffffff;
	text-align: center;
}

.site-content {
	max-width: 1440px;
	text-align: left;
	margin: 0px auto;
	background: #fff url("../twentynineteen-child/images/Kreuzchen-Hochschul-transparent.png") repeat 0px 0px;
}

@media only screen and (min-width: 768px){
	#main {
		xpadding-top: 50px;
	}
}

#primary {
	margin-top: 0px !important;
}

/* anchor fix (leave space on top of anchor )*/

h2  {
  padding-top: 90px;
}

.wp-block-column h2,
footer h2  {
  padding-top: 0px;
}

.wp-block-cover h1 {
	padding-top: 90px;
	padding-bottom: 90px;
}

/* */

#masthead {
	margin: 0px;
	padding: 0px;
	background-color: #323232;
	border-bottom: 4px solid #E54C19;
	text-align: right;
	height: 84px;
}

#masthead nav a {
	color: #FFFFFF;
	text-align: left;
	text-decoration: none;
	font-size: 18px;
	line-height: 26px;
	letter-spacing: 0;
	padding: 0 5px;
}

.main-navigation .sub-menu,
.main-navigation .sub-menu a {
    background-color: #e84c05 !important;
}

#masthead nav .sub-menu li a {
    line-height: 27px;
    padding: 10px 20px;
    border-bottom: 2px solid #E65425;
}

#masthead nav li li.current_page_item a {
	color: #383838 !important;
}

#masthead nav li li.current_page_item a:hover {
	color: #383838 !important;
}

.wprmenu_bar {
	border-bottom: 4px solid #E54C19;
}


.wprmenu_bar .hamburger {
	margin-right: 24px !important;
}

#wprmenu_bar .menu_title {
	top: -3px;
	left: 24px;
}

.site-branding-container {
	padding: 20px 0px;
	max-width: 1440px;
	margin: 0px auto;
}

.site-branding {
	margin: 0px 40px;
	-moz-hyphens: none;
	hyphens: none;
	word-wrap: normal;
	white-space: nowrap;
}




@media only screen and (max-width: 768px){

	#masthead { display: none; }

}

.site-title, .site-description {
	display: none;
}

.site-logo {
	left: auto;
	right: auto;
	width: 234px;
}



.site-logo .custom-logo-link {
  border-radius: 0%;
  box-sizing: inherit;
  box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
  display: block;
  width: 234px;
  height: 25px;
  overflow: none;
  transition: initial;
}

@media only screen and (max-width: 320px){

	#wprmenu_bar .bar_logo {	width: 180px; height: auto; }
} 

.site-logo .custom-logo-link:hover {
	border: 0px;
}

.site-logo .custom-logo-link:hover, 
.site-logo .custom-logo-link:active, 
.site-logo .custom-logo-link:focus {
  box-shadow: 0 0 0 0;
}


.menu-hauptmenu-container li li a {
	background-color: #e84c05;
}

.menu-hauptmenu-container li li a:hover {
	background-color: #e84c05 !important;
	text-decoration: underline;
}



.site-featured-image {
	position: relative;¡
}

@media only screen and (min-width: 1440px){
	.site-featured-image {
		background-color: #efefef;
	}
}


.site-featured-image .post-thumbnail {
	max-height: 600px;
}



#title_tag {
	position: absolute;
	bottom: -20px;
	width: 440px;
	height: 260px;
	padding: 60px 20px 0 20px;
	background-color: #e84c05;
	z-index: 111;
	right: calc((100% - 1440px)/2 + 20px);
	text-align: left;
}

@media only screen and (min-width: 768px) and (max-width: 1440px) {
  #title_tag {
		right: 20px;
	}
}


@media only screen and (max-width: 768px) {

#title_tag {
	position: relative;
	bottom: initial;
	right: initial;
	top: -7px;
	width: 100%;
	padding: 30px;
	text-align: left;
	height: auto;
}

}

#title_tag div {
	font-size: 28px;
	line-height: 36px;
	font-weight: bold;
	color: #383838;
}

#title_tag em {
	color: #FFFFFF;
	font-size: 28px;
	line-height: 36px;
	font-style: normal;
	font-weight: bold;
}

#primary {
	text-align: left;
	margin: 20px auto;
	padding: 0px;
}


/* Blöcke */ 

.Teaser-Hintergrund-Rot {
	background-color: #e84c05 !important;
}


.entry .entry-content > *, 
.entry .entry-summary > *{
	max-width: 100%;
}

/*.bg_grau, */
.drei-spalten-grau-hover .wp-block-column {
	padding: 10px;
}

.drei-spalten-grau-hover .wp-block-column:hover {
	background-color: #ededed;
}

h1.entry-title {
	display: none;
}

.entry-title a {
	text-decoration: none;
}

.widget .widget-title:before,
.entry .entry-title:before,
.entry .entry-content h2:before {
  display: none;
}

h1:not(.site-title):before,
h2:before {
    display: none;
}


/* Fonts */

body, p {
 	font-family: "OpenSans", Verdana, Arial, sans-serif; 
 	font-size: 18px;
 	font-style: normal; 
 	font-variant: normal; 
 	font-weight: 400; 
 	line-height: 27px;
 	color: #323232;
	letter-spacing: 0;
}

h1, h2, h3, h4, h5, h6 {
 	font-family: "OpenSans", Verdana, Arial, sans-serif; 
	font-weight: 700;
 	color: #323232;
 	font-size: 48px;
 	line-height: 52px;
	letter-spacing: 0;
}

h1, h2 {
 	font-family: "OpenSans", Verdana, Arial, sans-serif; 
	font-weight: 700;
 	font-size: 48px;
 	line-height: 52px;
	letter-spacing: 0;
}

h3 {
 	font-family: "OpenSans", Verdana, Arial, sans-serif; 
	font-weight: 700;
 	font-size: 36px;
 	line-height: 40px;
	letter-spacing: 0;
}

h4 {
 	font-family: "OpenSans", Verdana, Arial, sans-serif; 
	font-weight: 700;
 	font-size: 24px;
 	line-height: 32px;
	letter-spacing: 0;
}

h5, h6 {
 	font-family: "OpenSans", Verdana, Arial, sans-serif; 
	font-weight: 700;
 	font-size: 18px;
 	line-height: 27px;
	letter-spacing: 0;
}

html .wpcf7 .wpcf7-form .wpcf7-form-control-wrap input.wpcf7-form-control, 
html .wpcf7 .wpcf7-form .wpcf7-form-control-wrap textarea.wpcf7-form-control {
 	font-family: "OpenSans", Verdana, Arial, sans-serif !important; 
}


@media only screen and (max-width: 768px) {

h1, h2, h3, h4, h5, h6 {
 	font-size: 36px;
 	line-height: 40px;
	word-break: break-word !important;
}


}


.author-description .author-link, .comment-metadata, .comment-reply-link, .comments-title, .comment-author .fn, .discussion-meta-info, .entry-meta, .entry-footer, .main-navigation, .no-comments, .not-found .page-title, .error-404 .page-title, .post-navigation .post-title, .page-links, .page-description, .pagination .nav-links, .sticky-post, .site-title, .site-info, #cancel-comment-reply-link, h1, h2, h3, h4, h5, h6 {
 	font-family: "OpenSans", Verdana, Arial, sans-serif; 
}


/* Farben */


.bg_red {
	background-color: #e84c05 !important;
}

.bg_red .wp-block-cover__inner-container {
	color: #323232 !important;
}

.bg_red p,
.bg_red h1,
.bg_red h2,
.bg_red h3,
.bg_red h4,
.bg_red h5,
{
	color: #323232 !important;
}
	
.bg_red .wp-block-button a {
	background-color: #323232 !important;
	color: #e84c05 !important;
}

.bg_darkgrey {
	background-color: #323232 !important;
}

.bg_grey {
	background-color: #ededed !important;
}

input[type="submit"] {
	background-color: #e84c05;
	border-radius: 0px !important;
}

/* Navigation */


#masthead nav a {
	font-weight: 400;	
}


#masthead nav li.current_page_item a {
	color: #e84c05;
}

#masthead nav li.current_page_item li a {
	color: #fff;
}

.main-navigation .main-menu > li {
	color: #e84c05;
}

.main-navigation .sub-menu li a {
	backgroud-color: #e84c05 !important;
}

.teaser_grau {
	background-color: #ededed;
}

h4 {
	text-transform: uppercase;
}

a {
	color: #e84c05;
	text-decoration: underline;
}

.entry .entry-content .has-white-background-color > a {
	color: #e84c05;
}

.entry .entry-meta a:hover, .entry .entry-footer a:hover {
    color: #e84c05;
}

.entry .entry-content .wp-block-button .wp-block-button__link:not(.has-background) {
	background-color: #e84c05;
}

.wp-block-button a {
	background-color: #e84c05;
}

.wp-block-button a.has-red-background-color {
	background-color: #e84c05;
}
.wp-block-button a.has-darkgray-background-color {
	background-color: #323232;
}
.wp-block-button a.has-midgray-background-color {
	background-color: #d1d1d1;
}
.wp-block-button a.has-lightgray-background-color {
	background-color: #ededed;
}
.wp-block-button a.has-white-background-color {
	background-color: #ffffff;
}


.teaser_grau h4 {
	margin-left: 20px;
	margin-right: 20px;
}

.teaser_grau p {
	margin: 0px 20px;
}

.weiss {
	background-color: #fff;
}


.cover_font p {
	font-weight: bold;
	line-height: 34px;
}

p.block_schwarz a,
p.block_rot a {
	color: #FFFFFF;
	background-color: #e84c05;
	font-size: 14px;
	line-height: 26px;
	font-weight: 600;
	padding: 16px 22px;
	text-decoration: none !important;
	white-space: nowrap !important;
}

p.block_schwarz a {
	background-color: #000000;
}

p.block_schwarz,
p.block_rot {
	clear: both;
	padding: 30px 0px;
}



/* Kontakt Form */

.wpcf7-form input[type=text],
.wpcf7-form input[type=email] {
	width: 100%;
	border: 0px solid;
	border-bottom: 1px solid #ddd;
}


.wpcf7-form input[type=checkbox] {
}

.wpcf7-form textarea {
	border: 0px solid;
	border-bottom: 1px solid #ddd;
}

/* Pre Footer */

#prefooter-wrapper {
	background-color: #e84c05;
	margin: 0px;
	padding: 0px;
}

#prefooter
{
	margin: 0px;
	padding: 0px;
	text-align: center;
	margin: calc(3 * 1rem) calc(10% + 60px) !important;
	
}

#prefooter .widget-area {
    margin: 0px auto !important;
	display: flex;
	flex-wrap: wrap;
    justify-content: space-around;
}

#prefooter_inner {
	padding: 0px 0px;
	margin: 0px auto;
	max-width: 1040px;
	text-align: center;
}

#prefooter .widget {
	text-align: left;
   	margin: 0 10px;
    flex: 1;
	flex-basis: 240px;
}

#prefooter .widget img {
	width: 140px;
	margin-top: 50px;
}

@media only screen and (max-width: 768px) {

	#prefooter .widget {
		text-align: center;
	}
	
	#prefooter .widget img {
		margin: 50px auto;
	}
}


@media only screen and (min-width: 1125px) and (max-width: 1449px) {
	#prefooter .widget {
		flex-basis: 360px;
	}

}

/* Footer */

#colophon
{
	margin: 0px;
	padding: 0px;
	background-color: #383838;
	text-align: center;
}

#colophon .widget-column {
	max-width: 1040px;
    margin: 0px auto;
	display: flex;
	flex-wrap: wrap;
    justify-content: space-around;
    
}

#colophon .widget-column .widget {
   	margin: 0 10px;
    flex: 1;
	flex-basis: 240px;
}

#colophon .widget-column .widget p {
	color: #FFFFFF;
}

#colophon .widget h6,
#colophon .widget,
#colophon .widget .widget-title {
	font-size: 18px;
	font-weight: 400;
	line-height: 27px;
	text-align: left;
}

#colophon .widget h6,
#colophon .widget .widget-title {
	font-weight: 600;
	color: #e84c05;
}

#colophon .widget ul,
#colophon .widget ul li {
	padding: 0px; 
	margin: 0px;
}

.widget,
.widget a,
.widget a:hover,
.widget a:active,
#colophon .widget ul.menu li a {
	color: #FFFFFF !important;
	font-size: 18px;
 	font-style: normal; 
 	font-variant: normal; 
 	font-weight: 400; 
 	line-height: 27px;
}

.widget_archive ul li, 
.widget_categories ul li, 
.widget_meta ul li, 
.widget_nav_menu ul li, 
.widget_pages ul li, 
.widget_recent_comments ul li, 
.widget_recent_entries ul li, 
.widget_rss ul li {
	color: rgb(118, 118, 118);
 	font-family: "OpenSans", Verdana, Arial, sans-serif; 
	font-size: 18px;
 	font-style: normal; 
 	font-variant: normal; 
 	font-weight: 400; 
 	line-height: 27px;
}

#colophon .wp-social-link svg {
	width: 2em;
	height: 2em;
}

/* updates 2021 */

.wp-block-button__link {
	border-radius: 0px !important;
}

h1, h2, h3, h4, h5, h6 {
	text-transform: uppercase;
}

.site-content {
	background-image: none !important;
}

.drei-spalten-grau-hover .wp-block-column {
	text-align: center;
}

.drei-spalten-grau-hover .wp-block-column figure {
	text-align: center;
}

.drei-spalten-grau-hover .wp-block-column figure img {
	margin: 0px auto;
}

.spalten-grau-hover .wp-block-column {
	background: transparent url("../twentynineteen-child/images/bg_praying-hands.png") no-repeat top center;
	padding-top: 100px;
	text-align: center;
	clear: both;
}

.spalten-grau-hover .wp-block-column:hover {
	background-color: #ededed;
}

.wp-block-lazyblock-slider {
	position: relative;
}

#masthead {
	position: fixed;
	width: 100%;
	z-index: 999999;
}

/* cookie plugin */

a.cookie-button {
	background-color: #D75827 !important;
}

/* Flip Box effect */

.flip-box {
  background-color: white;
  width: 100%;
  height: 180px;
  perspective: 1000px; /* Remove this if you don't want the 3D effect */
}

/* This container is needed to position the front and back side */
.flip-box-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.8s;
  transform-style: preserve-3d;
}

/* Do an horizontal flip when you move the mouse over the flip box container */
.flip-box:hover .flip-box-inner {
  transform: rotateY(180deg);
}

/* Position the front and back side */
.flip-box-front, .flip-box-back {
  position: absolute;
  width: 100%;
  height: 200px;
  overflow: auto;
  padding: 8px 16px;
  -webkit-backface-visibility: hidden; /* Safari */
  backface-visibility: hidden;
  border: 1px solid #ededed;
}

/* Style the front side */
.flip-box-front {
  background-color: #fff;
  color: black;
}

/* Style the back side */
.flip-box-back {
  background-color: #ededed;
  color: white;
  transform: rotateY(180deg);
  display: flex;
  justify-content: center;
  align-items: center;
}

.flip-box-back p {
	font-size: 16px;
	line-height: 20px;
}



