/*
Theme Name: schloss
Theme URI: schloss-artstetten.at
Description: OceanWP WordPress child theme for schloss-artstetten.at
Author: IT-Center & Kubid GmbH - TT
Author URI: https://www.it-center.at
Template: oceanwp
Version: 1.0
*/

/* Parent stylesheet should be loaded from functions.php not using @import */

@font-face {
    font-family: 'GraublauWeb';
    src: url('fonts/GreatVibes-Regular.eot');
    src: url('fonts/GreatVibes-Regular.eot?#iefix') format('embedded-opentype'),
         url('fonts/GreatVibes-Regular.woff2') format('woff2'),
         url('fonts/GreatVibes-Regular.woff') format('woff'),
         url('fonts/GreatVibes-Regular.ttf') format('truetype'),
         url('fonts/GreatVibes-Regular.svg#GreatVibes-Regular') format('svg');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}


h1, 
h2, 
h3, 
h4, 
h5, 
h6 {
    margin: 0 0 5px;
}

p {
    margin: 0 0 15px;
}

b, 
strong {
    font-weight: 700;
}

.elementor-widget-text-editor .elementor-widget-container h1:not(:first-child),
.elementor-widget-text-editor .elementor-widget-container h2:not(:first-child),
.elementor-widget-text-editor .elementor-widget-container h3:not(:first-child),
.elementor-widget-text-editor .elementor-widget-container h4:not(:first-child),
.elementor-widget-text-editor .elementor-widget-container h5:not(:first-child),
.elementor-widget-text-editor .elementor-widget-container h6:not(:first-child) {
	margin-top: 45px !important;
}

.elementor-widget-text-editor .elementor-widget-container style + h1:nth-child(2),
.elementor-widget-text-editor .elementor-widget-container style + h2:nth-child(2),
.elementor-widget-text-editor .elementor-widget-container style + h3:nth-child(2),
.elementor-widget-text-editor .elementor-widget-container style + h4:nth-child(2),
.elementor-widget-text-editor .elementor-widget-container style + h5:nth-child(2),
.elementor-widget-text-editor .elementor-widget-container style + h6:nth-child(2) {
	margin-top: 0 !important;
}

.elementor-widget-text-editor .elementor-widget-container p:last-child {
	margin-bottom: 0 !important;
}

.graublauweb {
	font-family: 'GraublauWeb';
}


#site-navigation-wrap .dropdown-menu>li>a,
.dropdown-menu ul li a.menu-link {
	letter-spacing: 0 !important;
}

#site-header {
    box-shadow: 0 3px 3px 0 rgb(68 68 68 / 49%) !important;
}

#top-bar-wrap {
	border-bottom-style: dashed;
}

.page-header-inner {
	text-align: center;
}

.elementor-section:not(.no-margin):not(.elementor-inner-section) {
	margin-bottom: 60px;
	margin-top: 60px;
}

div:not(.footer-widgets-inner) > div > .elementor-section:not(.no-margin):not(.elementor-inner-section):first-child {
	margin-top: 0;
}

.elementor-section.no-margin-bottom,
.elementor-section:last-child {
	margin-bottom: 0 !important;
}

.elementor-section.no-margin-top {
	margin-top: 0 !important;
}

.elementor-section.section-padding {
	padding-bottom: 60px;
	padding-top: 60px;	
}

.HafasMapWidget .mapWidgetRoutePlannerDiv {
	padding: 0 !important;
}

#footer .HafasMapWidget .mapWidgetRoutePlannerDiv .submitButton {
	width: 100% !important;
}

.HafasMapWidget.hfs_vorTablet .hfs_tariffLogoWrapper {
	display: none;
}

.HafasMapWidget.hfs_vorTablet .mapWidgetRoutePlannerDiv .dateTime {
    border-bottom: 0 !important;
}

.HafasMapWidget .hfs_widgetSingleAppTitle {
	margin-bottom: 22px !important;
    padding-bottom: 15px !important;
}

#footer-widgets {
	font-size: 16px;
}

.nf-form-fields-required,
.nf-error-field-errors,
.nf-error-required-error {
	display: none;
}

#footer .elementor-icon-list-icon {
	align-items: center;
    border: 2px solid #fff;
    border-radius: 50%;
    height: 39px;
    justify-content: center;
    margin-right: 12px;
    width: 39px;
}

#footer .elementor-icon-list-icon i {
    text-align: center;
}

#home-top .elementor-container {
	min-height: calc(100vh - 148px);
}

#home-top i {
	text-shadow: 1px 1px 7px #000000;
}

.nf-form-cont input,
.nf-form-cont textarea {
	background: transparent !important;
	border: 1px solid #fff !important;
	color: #fff !important;
}

.nf-form-cont textarea {
	height: 150px !important;
	resize: none;
}

.nf-form-cont ::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
  color: #fff;
  opacity: 1; /* Firefox */
}

.nf-form-cont :-ms-input-placeholder { /* Internet Explorer 10-11 */
  color: #fff;
}

.nf-form-cont ::-ms-input-placeholder { /* Microsoft Edge */
  color: #fff;
}

.nf-form-cont input[type="button"] {
	border-radius: 6px;
	font-weight: normal;
	height: auto !important;
	letter-spacing: 0;
	padding: 12px 30px 10px !important;
}

.nf-field-container {
    margin-bottom: 10px !important;
}

.nf-error.field-wrap .nf-field-element:after {
	width: 25px !important;
}

/*#footer-bottom {
	border-top: 2px solid #ae9e6f;
}*/

#footer .oew-gallery-thumbnail {
	padding: 35px 25px;
}

#footer .oew-gallery-thumbnail img {
	max-height: 100px;
	object-fit: contain;
}

.elementor-widget-heading .elementor-heading-title.elementor-size-medium {
	font-size: 20px !important;
}

#home-top .text-stoerer {
	transform: rotate(-6deg);
	text-decoration: none !important;
}

.broken_lin, 
a.broken_link {
	text-decoration: none !important;
}

.oew-image-gallery {
	justify-content: center;
}

.square {
    height: 14px;
    width: 14px;
    background: #ae9e6f;
    transform: rotate(45deg);
    margin: 0px auto;
}

.line-container {
  position: relative;
  overflow: hidden;
  margin-top: 15px;
  margin-bottom: 15px;
}

.line{
  margin: 5px 0;
}

.line:before {
    left: -25px;
    position: absolute;
    top: 11px;
    content: "";
    display: block;
    width: 50%;
    border-style: solid;
    border-width: 1px;
    border-color: #ae9e6f;
}

.line:after {
  	right: -25px;
    position: absolute;
    top: 11px;
    content: "";
    display: block;
    width: 50%;
    border-style: solid;
    border-width: 1px;
    border-color: #ae9e6f;
}

.pageheader-line-container{
    margin-bottom: 5px;
}

.pageheader-line-container .line:before{
    left: -60px;
    position: relative;
    top: 8px;
    width: 70px;
    margin: 0px auto;
}

.pageheader-line-container .line:after{
    right: -60px;
    position: relative;
    top: -8px;
    width: 70px;
    margin: 0 auto;
}

#footer .nf-error .ninja-forms-field {
	border-color: #fff !important;
}

.itc-events img,
#next-event img {
    /* border: 15px solid; */
    border: 30px solid !important;
    -webkit-border-image: url(img/border.png) 54 round !important; /* Safari 3.1-5 */
    -o-border-image: url(img/border.png) 54 round !important; /* Opera 11-12.1 */
    border-image: url(img/border.png) 54 round !important;
    width: 100%;
    max-width: 170px;
}

#next-event .tribe-events-widget-events-list {
	text-align: center;
}

#next-event .tribe-events-widget-events-list__view-more {
	display: none;
}

#next-event .tribe-events-widget-events-list__event-title a {
	font-family: Georgia,serif;	
	font-size: 20px;
	font-weight: 500;
	text-transform: none;
}

#next-event .tribe-events-widget-events-list__event-title a:hover {
	border-bottom: 0 !important;
}

#next-event .tribe-events {
	margin-bottom: 0;
}

.tribe-custom-date {
	font-size: 16px;
	font-weight: bold;
}

.additional-header-parts {
	display: flex;
    position: absolute;
    right: 30px;
    top: 15px;
}

.top_ausflugsziel {
	position: absolute;
	left: 168px;
    top: 70px;
}

.top_ausflugsziel img {
	width: 70px;
} 

#site-header-sticky-wrapper.is-sticky .top_ausflugsziel,
#site-header-sticky-wrapper.is-sticky .additional-header-parts {
	display: none;
}

.searchform label {
	border-bottom: 1px solid #00489c;
	display: flex;
}

.searchform input {
	border: 0 !important;
	font-size: 16px !important;
	width: 170px !important;
}

.searchform button[type="submit"] {
	background-color: transparent !important;
	color: #00489c !important;
	font-size: 20px;
    padding: 0 12px 0 10px;
}

form.searchform input[type=search] {
	height: 35px !important;
	min-height: initial !important;
}

#footer .oew-gallery-item img:hover {
    transform: scale(1.05);
}

.featured_image img {
	width: 100%;
}

.icon-magnifier {
	color: #00489c;
	font-size: 18px;	
	font-weight: bold !important;
    line-height: 30px !important;
}

#menu-main-menu a:not(:hover) {
	color: #000;
}

.dropdown-menu ul li.menu-item {
	border-bottom: none;
}

.dropdown-menu ul li a.menu-link {
	padding: 6px 15px;
}

/*.sf-menu ul.sub-menu {
	left: -140px;
	min-height: 200px;
	padding: 10px 0 10px 265px;
}*/

.sf-menu #menu-item-35 ul.sub-menu,
.sf-menu #menu-item-36 ul.sub-menu,
.sf-menu #menu-item-1404 ul.sub-menu {
	left: auto;
    right: 10px;
}

/*.sf-menu ul.sub-menu:before {
	background-color: magenta;
	content: '';
	height: 170px;
	left: 15px;
	position: absolute;
	top: 15px;
	width: 235px;
}*/

/*.sf-menu ul.sub-menu li {
	width: 225px;
}*/

.oew-carousel-entry-readmore {
	display: none !important;
}

.oew-carousel .entry-title,
.oew-carousel .meta {
	margin-bottom: 0 !important;
}

.oew-carousel .oew-carousel-entry-details {
    display: flex;
    flex-direction: column-reverse;
    text-align: left;
}

.oew-carousel .meta,
.itc-events .event-date {
	font-size: 28px !important;
	font-weight: bold;
}

.subheadline {
    font-family: GraublauWeb;
    font-size: 30px;
    color: #ae9e6f;
    letter-spacing: 2px;
}

.elementor-widget-heading .elementor-heading-title.elementor-size-xl {
    font-weight: bold;
}

.wp-caption-text {
    font-size: 16px;
    margin-top: 5px;
}

.elementor-button {
    background-color: #ae9e6f !important;
    border-radius: 8px !important;    
 	color: #fff !important; 
 	font-size: 20px !important;  
 	padding: 7px;
    text-transform: uppercase;
}

.oew-table {
    font-size: 18px;
}

.oew-table thead {
	display: none;
}

.oew-table-text {
	padding: 8px 10px !important;
}

.price tr td:nth-child(2) {
    width: 100px;
}

.price tr td:nth-child(2) .oew-table-text {
    justify-content: flex-end;
    text-align: right
}

.oew-table-text {
	line-height: 1.3em !important;
}

.oew-table-text-inner span {
	font-size: 80%;
}

.goldblock {
	background-color: #ae9e6f;
	border-radius: 8px;
}

.goldblock .elementor-heading-title {
	color: #fff;
	padding: 10px 10px 8px;
}

.h2-smaller h2 {
	font-size: 22px;
}

.elementor-widget-text-editor ul {
	margin-left: 35px;
}

.post-password-form {
	background-color: rgb(125 125 125 / 10%);
	margin: 0 auto;
	max-width: 540px;
    padding: 20px 20px 10px;	
	text-align: center;
}

.post-password-form input[type="password"] {
	background-color: #fff;
	text-align: center;
}

.post-password-form input[type="submit"] {
	margin-top: 10px;
    width: 100%;
}

.itc-events .event-date {
	color: #333;
	margin: 4px 0;
}

/*.itc-events .event-date-container {
	min-height: 52px;
}*/

.itc-events .event-img {
    margin-bottom: 10px;
}

.itc-events .event-title {
	color: #333;
	font-size: 20px;
	margin-top: 10px;
	text-transform: uppercase;
}

.itc-events .event-single {
    line-height: 1.4em;
}

.slick-initialized .slick-slide {
	padding: 0 10px;
}

.slick-prev:before, 
.slick-next:before {
	content: none !important;
}

.slick-prev, 
.slick-next {
	color: #ae9e6f !important;
	font-size: 35px !important;
	font-weight: bold;
    height: 35px !important;
    margin-top: -40px;
	width: 35px !important;    
}

.slick-prev.slick-disabled, 
.slick-next.slick-disabled {
	opacity: 0.25;
}

.slick-prev {
    left: -45px !important;
}

.slick-next {
    right: -45px !important;
}

/*body.single-tribe_events #main #content-wrap {
    width: 800px;
}*/

.tribe-events-c-subscribe-dropdown__container,
#tribe-events-footer {
	display: none !important;
}

.tribe-events-single-event-title {
	color: #ae9e6f;	
    font-size: 40px;	
	font-weight: 700;
	line-height: 1.1 !important;
	text-align: center;
}

.tribe-events-single-event-title,
.tribe-events-meta-group .tribe-events-single-section-title {
	font-family: Georgia,serif;
}

.tribe-events-schedule {
    justify-content: center;
    margin: 5px 0 20px;
}

.tribe-events-schedule h2 {
    font-size: 20px;
    font-weight: bold;
}

.tribe-events-event-meta {
	background-color: rgb(125 125 125 / 10%) !important;
	padding: 20px 40px;
	width: 100% !important;
}

.tribe-events-event-meta:before {
	border-top: 0 !important;
}

.tribe-events-event-meta dl {
	margin: 0 !important;
}

.tribe-events-back a {
    background: #ae9e6f;
    border-radius: 20px;
    color: #fff !important;
    padding: 6px 12px;
}

.tribe-events-back {
	margin: 20px 0 30px;
	text-align: center;
}

.tribe-events-event-meta dt,
.tribe-events-event-meta dd {
	float: left;
	font-size: 18px;
	margin-right: 10px;
	margin-top: 0 !important;
}

.tribe-events-event-meta dt {
    clear: both;
}

.tribe-events-meta-group .tribe-events-single-section-title {
	color: #ae9e6f;
	font-size: 20px;
}

.tribe-events-meta-group {
	padding-bottom: 0 !important;
}

.tribe-events-widget .tribe-events-widget-events-list__event-title {
	color: #000;
    font-weight: bold;
    line-height: 1.6em !important;
}

.itc-events .event-date span {
	font-size: 20px !important;
}

.tribe-events-single-event-title {
    margin: 0 auto;
    max-width: 750px;
}

.single-tribe_events .tribe-events-start-time:after {
	content: ' Uhr';
}

.single-tribe_events abbr[title] {
	border-bottom: 0 !important;
	cursor: auto;
	text-decoration: none;
}

#tribe-events-content {
    margin: 0 auto;
    max-width: 850px;
}

.tribe-common--breakpoint-medium.tribe-events .tribe-events-header--has-event-search .tribe-events-c-events-bar,
.tribe-common--breakpoint-medium.tribe-events .tribe-events-header--has-event-search .tribe-events-header__top-bar {
	display: none;
}

.tribe-events .tribe-events-calendar-list__event-date-tag-weekday,
.tribe-events-calendar-list__event-date-tag-daynum {
	background: #ececec;
}

.tribe-events-content a,
.tribe-events-content a:hover {
	border-bottom-width: 0 !important;
	color: #ae9e6f !important;
}

.lang-switcher {
	list-style: none;
	margin: 0 0 0 80px;
}

.lang-switcher li {
	display: inline-block;
	margin-left: 5px;
}

.lang-switcher img {
	width: 30px;
}

.sidr-class-mobile-searchform {
    margin: 20px 20px 0 !important;
}

.sidr-class-lang-switcher {
	display: grid;
    grid-gap: 25px;
    grid-template-columns: 1fr 1fr 1fr;
    margin: 20px 20px 0 !important;
}

.lang-switcher .lang-item:not(.current-lang),
.sidr-class-lang-item:not(.sidr-class-current-lang) {
	opacity: 0.5;
}

body.post-type-archive-tribe_events #footer-events {
	display: none;
}

body:not(.home) .top_ausflugsziel {
	display: none;
}

.dropdown-menu .sub-menu {
	border-top-color: #004996 !important;
}

html[lang="cs-CZ"] .search-form,
html[lang="hu-HU"] .search-form,
html[lang="cs-CZ"] .sidr-class-mobile-searchform,
html[lang="hu-HU"] .sidr-class-mobile-searchform,
html[lang="cs-CZ"] .oeffnungszeiten,
html[lang="hu-HU"] .oeffnungszeiten {
	display: none;
}

.BorlabsCookie ._brlbs-content-blocker {
	background-color: #e4f4e4;
}

.BorlabsCookie ._brlbs-content-blocker ._brlbs-embed._brlbs-google-maps {
	display: block;
}

.BorlabsCookie ._brlbs-content-blocker ._brlbs-embed._brlbs-google-maps ._brlbs-thumbnail {
	opacity: 0;
}


@media screen and (max-width: 1300px){
	#site-navigation-wrap .dropdown-menu >li >a {
		font-size: 15.5px !important;
		padding: 0 13px;		
	}

	#site-navigation-wrap .dropdown-menu ul li a.menu-link {
		font-size: 14.5px !important;
	}
}

@media screen and (max-width: 1200px){
	#site-navigation-wrap .dropdown-menu >li >a {
		font-size: 1.3vw !important;
		padding: 0 11px;	
	}

	#site-navigation-wrap .dropdown-menu ul li a.menu-link {
		font-size: 1.2vw !important;
	}

	.text-stoerer {
		bottom: 170px !important;
	}
}

@media screen and (max-width: 1100px){
	#site-navigation-wrap .dropdown-menu >li >a {
		padding: 0 11px !important;
	}

	.top_ausflugsziel img {
	    width: 60px;
	}
}

@media screen and (max-width: 1024px){
	#site-navigation-wrap .dropdown-menu >li >a {
		padding: 0 8px !important;
	}

	#footer .oew-gallery-thumbnail {
	    padding: 20px 25px;
	}

	.sf-menu #menu-item-34 ul.sub-menu,
	.sf-menu #menu-item-35 ul.sub-menu,
	.sf-menu #menu-item-36 ul.sub-menu,
	.sf-menu #menu-item-37 ul.sub-menu  {
		left: auto;
	    right: 5px;
	}
}

@media screen and (max-width: 959px) {
	.additional-header-parts {
		display: none;
	}

	.top-bar-right {
	    text-align: center;
	    width: 100%;	    
	}

	#site-logo #site-logo-inner a img, 
	#site-header.center-header #site-navigation-wrap .middle-site-logo a img {
	    max-width: 90px !important;
	}

	.top_ausflugsziel {
	    left: 138px;
	    top: 46px;
	}

	.oceanwp-mobile-menu-icon a,
	a.sidr-class-toggle-sidr-close i {
		color: #00489c !important;
	    font-size: 40px !important;
	}

	a.sidr-class-toggle-sidr-close i {
		padding-right: 0 !important;
	}

	#site-navigation-wrap .dropdown-menu >li >a, 
	.oceanwp-mobile-menu-icon a, 
	.mobile-menu-close, 
	.after-header-content-inner >a {
	    line-height: 64px !important;
	}

	.sidr-class-close-text {
		display: none;
	}

	.sidr-class-toggle-sidr-close {
		text-align: right;
	}

	a.sidr-class-toggle-sidr-close {
		background: #fff !important;
	}

	.sidr-class-dropdown-menu li, 
	.sidr-class-fs-dropdown-menu li,
	.sidr-class-dropdown-menu>li:first-child, 
	.sidr-class-fs-dropdown-menu>li:first-child {
		border-bottom-color: #eee;
		border-top-color: #eee;
	}

	.sidr-class-dropdown-toggle {
	 	border-left: 1px solid #eee;
	}

	#footer-bottom #footer-bottom-menu li {
		padding: 10px 10px;
	}

	#footer-bottom #footer-bottom-menu li:after {
		margin-left: 20px !important;
		margin-right: 0 !important;
	}
}

@media screen and (max-width: 767px) {
	#footer .oew-gallery-thumbnail {
	    padding: 10px 15px;
	}

	#footer .oew-gallery-thumbnail img {
		max-height: 70px;
	}

	#home-top .link-right {
		left: auto;
		right: 0;
	}

	#home-top .link-right,
	#home-top .link-left {
		max-width: 48.5vw;
		top: calc(100% - 150px);
	}

	#next-event img {
        border: 15px solid !important;
        -webkit-border-image: url(img/border.png) 54 round !important; /* Safari 3.1-5 */
        -o-border-image: url(img/border.png) 54 round !important; /* Opera 11-12.1 */
        border-image: url(img/border.png) 54 round !important;
    }

    .oew-table tr td, 
    .oew-table tr th {
    	display: table-cell !important;
    }

    .oew-table-text {
    	display: inline;
    }

    .oew-table tr td[data-title]:before, 
    .oew-table tr th[data-title]:before {
    	content: none !important;
    }

    .oew-table tr td>*, 
    .oew-table tr td:before, 
    .oew-table tr th>*, 
    .oew-table tr th:before {
    	width: 100% !important;
    }

    .tribe-events-single-event-title {
	    font-size: 25px;	
	}

	.tribe-events-schedule h2 {
	    font-size: 17px;
	    margin-right: 0;
	    text-align: center;	    
	}

	.topbar-content .phone {
		display: none;
	}

	#top-bar-content .anfahrt i {
		margin-left: 0 !important;
	}

	#top-bar-content .oeffnungszeiten i {
		margin-left: 20px !important;
	}
}

@media screen and (max-width: 580px) {
	.slider .itc-events {
		margin: 0 auto;
	    max-width: 300px;
	}

	.slick-prev {
	    left: -35px !important;
	}

	.slick-next {
	    right: -35px !important;
	}
}

@media screen and (max-width: 500px) {
	#top-bar-content, 
	#top-bar-social-alt {
	    font-size: 11px !important;
	}

	#top-bar-content .fa-map-marker-alt {
		margin-left: 15px !important;
	}

	#top-bar {
	    padding: 8px 5px !important;
	}

	.oew-table {
	    font-size: 14px;
	}

	#top-bar-content .oeffnungszeiten i {
	    margin-left: 10px !important;
	}
}

@media screen and (max-height: 850px) {
	#next-event {
		top: 0;
	}

/*	#next-event img {
		max-width: 170px;
	}*/
}

@media screen and (min-width: 960px) {
	#site-navigation-wrap {
		margin-top: 59px;
	}

	#site-header-sticky-wrapper.is-sticky #site-navigation-wrap {
		margin-top: 0;
	}

	#site-header-sticky-wrapper.is-sticky .custom-logo {
		display: none !important;
	}

	/*.tribe-events-event-image {
		width: 400px !important;
	}*/

	.tribe-events-single-event-description {
		padding: 0 20px !important;
	}
}

/* Nur Internet Explorer 10 */
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
    #next-event img,
    .itc-events img {
        border: solid 30px !important;
        border-image: url("img/border.png") 50 50 round stretch !important;
    }
}