/*
	Theme Name: RC Feld am See
	Author: EGGER-IT
	Author URI: https://www.egger-it.com
	Description: Theme for rc-feldamsee.at
	Version: 1.0
	License URI: http://egger-it.com/AGB.pdf
	Tags: blog, portfolio
	Text Domain: rcfeld
	License: © EGGER-IT
*/

html {
	scroll-behavior: smooth;
	scroll-padding-top: 170px;
}

body {
	background-color: var(--light);
}

.text-black {
	color: #000;
}

article {	
	/* These are technically the same, but use both */
	overflow-wrap: break-word;
	word-wrap: break-word;
  
	-ms-word-break: break-all;
	/* Instead use this non-standard one: */
	word-break: break-word;
  
	/* Adds a hyphen where the word breaks, if supported (No Blink) */
	-ms-hyphens: auto;
	-moz-hyphens: auto;
	-webkit-hyphens: auto;
	hyphens: auto;
}

h1,.h1 {
    font-weight: bold;
    font-style: italic;
	text-transform: uppercase;
    font-size: 30px;
    letter-spacing: 0;
    line-height: 41px;

    font-variant-ligatures: common-ligatures;
    -moz-font-feature-settings: "liga", "clig";
    -webkit-font-feature-settings: "liga", "clig";
    font-feature-settings: "liga", "clig";
}

.big {
	font-size: 20px;
}

h1, .h1, h2, .h2, .h3, h3, h4, .h4, h5, .h5, h6, .h6  {
	margin-bottom: 0;
	hyphens: auto;
}

h2,.h2 {
    font-weight: bold;
    font-style: italic;
    font-size: 20px;
	line-height: 27px;
	letter-spacing: 0;
	text-transform: uppercase;

    font-variant-ligatures: common-ligatures;
    -moz-font-feature-settings: "liga", "clig";
    -webkit-font-feature-settings: "liga", "clig";
	font-feature-settings: "liga", "clig";
}

.h3, h3 {
    font-weight: bold;
    font-style: italic;
    font-size: 18px;
	line-height: 27px;
	letter-spacing: 0;
	text-transform: uppercase;

    font-variant-ligatures: common-ligatures;
    -moz-font-feature-settings: "liga", "clig";
    -webkit-font-feature-settings: "liga", "clig";
    font-feature-settings: "liga", "clig";
}

h4,.h4 {
	font-weight: bold;
    font-style: italic;
    font-size: 16px;
	line-height: 27px;
	letter-spacing: 0;
	text-transform: uppercase;

    font-variant-ligatures: common-ligatures;
    -moz-font-feature-settings: "liga", "clig";
    -webkit-font-feature-settings: "liga", "clig";
    font-feature-settings: "liga", "clig";
}

h5,.h5 {
	font-weight: bold;
    font-style: italic;
    font-size: 15px;
	line-height: 27px;
	letter-spacing: 0;
	text-transform: uppercase;

    font-variant-ligatures: common-ligatures;
    -moz-font-feature-settings: "liga", "clig";
    -webkit-font-feature-settings: "liga", "clig";
    font-feature-settings: "liga", "clig";
}

h6,.h6 {
	font-weight: bold;
    font-style: italic;
    font-size: 12px;
	line-height: 27px;
	letter-spacing: 0;
	text-transform: uppercase;

    font-variant-ligatures: common-ligatures;
    -moz-font-feature-settings: "liga", "clig";
    -webkit-font-feature-settings: "liga", "clig";
    font-feature-settings: "liga", "clig";
}

.display-1,
.display-2,
.display-3,
.display-4,
.display-5 {
	font-weight: bold;
    font-style: italic;
	letter-spacing: 0;
	text-transform: uppercase;

    font-variant-ligatures: common-ligatures;
    -moz-font-feature-settings: "liga", "clig";
    -webkit-font-feature-settings: "liga", "clig";
    font-feature-settings: "liga", "clig";
}

.display-4 {
	font-size: 50px;
}

.display-5 {
	font-size: 22px;
}

.normal-text {
	font-weight: normal !important;
	text-transform: none !important;
}

.uppercase {
	text-transform: uppercase;
}

.lowercase {
	text-transform: initial;
	letter-spacing: initial;
}

.strong {
	font-weight: bold;
}

.not-strong {
	font-weight: normal !important;
}

.italic {
	font-style: italic;
}

.small {
	font-size: 12px;
}

.smaller {
	font-size: 10px;
}

.tiny {
	font-size: 8px;
}

.credits {
	font-size: 12px;
}

.underline {
	text-decoration: underline;
}

.no-underline {
	text-decoration: none !important;
}

.no-wrap {
	white-space: nowrap;
}

.label {
	color: var(--dark);
	font-size: 15px;
	text-transform: uppercase;
}

option:checked, option:hover {
  color: var(--primary);
  background: var(--white);
}

.btn {
	text-transform: uppercase;
	font-size: 15px;
	hyphens: auto;
}

.btn-lg {
	line-height: 2.5;
}

/* HEADER */
header {
	max-height: 270px;

	position: sticky;
	top: 0;

	overflow: hidden;

	-webkit-transition: max-height 350ms ease-in-out;
    -ms-transition: max-height 350ms ease-in-out;
    transition: max-height 350ms ease-in-out;

	margin-top: -100px;

	background-image: url('assets/images/rcf-nav-bg-overlay.png');
	background-position: center bottom;
	background-size: cover;
	background-repeat: no-repeat;
}

header.active { 
	max-height: 900px;
}

.header-content {
	margin-top: 100px;
}

header .header-logo {
	display: block;
	height: 70px;
	width: 208px;
	background: url('assets/images/RCF_Logo.png'); /* PNG Fallback*/
	background-image: url('assets/images/RCF_Logo.svg'), none;
	background-size: cover;
	background-repeat: no-repeat;

	image-rendering: -webkit-optimize-contrast;
	-webkit-backface-visibility: hidden;
	
}

#nav-burger {
	height: 55px;
	width: 55px;
	cursor: pointer;
}

	#nav-burger svg {
		/* width: auto !important; */
	}

.header-top {
	padding-top: 40px;
	padding-bottom: 40px;
	image-rendering: -webkit-optimize-contrast;
}

/* NAV */
#navbar ul {
	list-style: none;
	margin: 0;
	padding: 0;
}


#navbar > #main-menu {
	margin-bottom: 40px;	
}

#navbar .menu-item a {
	color: var(--white);
	text-transform: uppercase;
	font-size: 20px;
}
	#navbar a.nav-link:hover,
	#navbar li.current-menu-item > a {
		text-decoration: underline;
	}

#navbar > #main-menu > li {
	margin-top: 20px;
}

#navbar > #main-menu > li > a {
	font-weight: bold;
	font-style: italic;
}

@media(max-width: 991px) {
		#navbar > #main-menu > li.menu-item-has-children > a:after {
			content: ' ';
			width: 19.5px;
			height: 20px;
			display: inline-block;

			background-image: url('assets/images/rcf-mobile-menu-icon.png');
			background-size: cover;
			background-repeat: no-repeat;
			background-position: top left;

			position: absolute;
			left: 150px;

			cursor: pointer;
		}

		#navbar > #main-menu > li.current-menu-parent:not(.rc-submenu-touched) > a:after,
		#navbar > #main-menu > li.menu-item-has-children.rc-open-submenu > a:after {
			background-position: top right;
		}

		#navbar > #main-menu > li > .sub-menu {
			max-height: 0;
			overflow: hidden;

			-webkit-transition: max-height 400ms ease-in-out;
			-ms-transition: max-height 400ms ease-in-out;
			transition: max-height 400ms ease-in-out;
		}

			#navbar > #main-menu > li.rc-open-submenu > .sub-menu,
			#navbar > #main-menu > li.current-menu-parent:not(.rc-submenu-touched) > .sub-menu {	
				max-height: 250px;
			}
}


@media(min-width: 992px) {
	#navbar > #main-menu {
		display: flex;
		flex-wrap: wrap;
		justify-content: center;
		margin-bottom: 40px;
	}

	#navbar > #main-menu > li {
		margin-top: 0;
	}

	#navbar > #main-menu > li:not(:first-child) {
		margin-left: 3%;
	}
	
	#navbar > #main-menu > li:not(:last-child) { 
		margin-right: 3%
	}

	#navbar > #main-menu > li > ul {
		margin-top: 20px;
	}
}




/* FOOTER */
footer {
	color: var(--white);
	font-size: 12px;
}

footer .footer {
	background-image: url('assets/images/rcf-bg-overlay.png');
	background-position: center bottom;
	background-size: cover;
	background-repeat: no-repeat;

	padding-top: 75px;
	padding-bottom: 75px;
}

footer a:link,
footer a:visited {
	color: var(--white);
}

footer a:hover,
footer .nav-link:hover {
	color: var(--white);
	text-decoration: underline;
}

.rc-footer-contact p {
	margin-bottom: 0;
	line-height: 25px;
}

.rc-footer-social {
	font-size: 20px;
}

.rc-footer-menu-wrapper ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

	.rc-footer-menu-wrapper ul li a {
		text-transform: uppercase;
		line-height: 25px;
	}

	.rc-footer-menu {
		float: left;
		margin-right: 50px;
	}

#bottom-menu {
	list-style: none;
	margin: 0;
	padding: 0;
	margin-bottom: 25px;
}

#bottom-menu a {
	margin: 0;
	padding: 0;
	text-transform: uppercase;
	line-height: 25px;
}


/* BLOG Pagination */
.rl-pagination a {
	font-size: 12px;
	margin-left: 2px;
	margin-right: 2px;
	line-height: 20px;
}

.rl-pagination a {
	text-decoration: none;
}

.rl-pagination .fas {
	display: none;
}

.rl-pagination a:hover .far,
.rl-pagination a.active .far {
	display: none;
}

.rl-pagination a:hover .fas,
.rl-pagination a.active .fas {
	display: initial;
}

.rl-referenz-text p {
	margin: 0;
}

.rl-referenz-text h3 {
	font-weight: 600;
	font-size: 20px;
	text-transform: initial;
}

@media (max-width: 1199px) {
	.rl-referenz-text.big {
		font-size: 16px;
	}
}

@media (max-width: 399px) {
	.rl-referenz-text.big {
		font-size: 12px;
	}
}

/* map */
.map {
	height: 500px; 
	width: 100%;;
}

/* HERO */
.rc-hero-placeholder {
	height: 200px;
}

.rc-hero {
	margin-top: 95px;
}

.rc-hero .rc-hero-bg {
	height: 70vh;
	min-height: 480px;

	background-color: var(--light);

	background-image: url(assets/images/rc-feld-am-see-promobild.jpg);
	background-size: cover;
	background-position: center center;
	background-repeat: no-repeat;
}

.rc-nextevent {
	background-color: var(--white);
	margin-top: -70px;
	margin-bottom: 40px;
}

/* MEMBER BUTTON */
a.rc-member-button {
	background-color: var(--primary);

	display: block;
	height: 130px;
	width: 280px;

	position: absolute;
	right: 0;
	top: 50vh;

	text-decoration: none !important;

	-webkit-transition: background-color 300ms ease-in-out;
    -ms-transition: background-color 300ms ease-in-out;
    transition: background-color 300ms ease-in-out;
}

	a.rc-member-button:hover {
		background-color: var(--secondary);
	}

	.rc-member-button-bg {
		height: 100%;
		width: 100%;
		background-image: url('assets/images/rcf-bg-overlay.png');
		background-position: top right;
		background-size: cover;
		background-repeat: no-repeat;

		position: relative;
	}

/* Logo Slider */
.wpls-fix-box img.wp-post-image {
	filter: grayscale(100%);

	-webkit-transition: filter 400ms ease-in-out;
    -ms-transition: filter 400ms ease-in-out;
    transition: filter 400ms ease-in-out;
}

.wpls-fix-box img.wp-post-image:hover {
	filter: grayscale(0%);
}

/* News */
.rc-news-filter .form-control {
	background-color: transparent;
	color: var(--Black);
	text-transform: uppercase;
	border-color: var(--Black);
	font-size: 15px;
	height: 50px;
}

.rc-news-post-img-wrapper {
	height: 252px;
    width: 100%;
    overflow: hidden;
    position: relative;
}

.rc-news-post-img {
	height: 100%;
    width: 100%;
    
    -webkit-transition: all .3s ease;
    -moz-transition: all .3s ease;
    -o-transition: all .3s ease;
    transition: all .3s ease;
	
    -webkit-transform: scale(1.01);
    -moz-transform: scale(1.01);
    -o-transform: scale(1.01);
    transform: scale(1.01);
}

a:hover .rc-news-post-img {
	-webkit-transform: scale(1.1);
    -moz-transform: scale(1.1);
    -o-transform: scale(1.1);
    transform: scale(1.1);
}

/* slick slider */
.slick-next:before, 
.slick-prev:before {
	
	color: var(--dark);
	-webkit-transition: all .3s ease;
    -moz-transition: all .3s ease;
    -o-transition: all .3s ease;
    transition: all .3s ease;
}

.slick-next:hover:before, 
.slick-prev:hover:before {
	color: var(--primary);
}

.slick-dots li button:before {
	font-size: 15px;
}

/* FORM */
.nf-form-fields-required {
	display: none;
}

.nf-after-field .nf-error-msg {
	font-weight: bold;
}

.nf-error-msg, .ninja-forms-req-symbol {
	color: var(--danger) !important;
}

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

.form-control {
	color: var(--Black);
	border: 1px solid var(--Black);
	padding-top: 15px;
	padding-bottom: 15px;
	padding-left: 20px;
	padding-right: 20px;
}

.form-control:focus {
	color: var(--Black);
}

.form-control::placeholder {
	color: var(--dark);
	text-transform: uppercase;
}

.nf-form-errors .nf-error-msg {
	font-weight: bold;

	position: relative;
    padding: 0.75rem 1.25rem;
    margin-bottom: 1rem;
    border: 1px solid transparent;

	color: #78191c;
    background-color: #fad6d7;
    border-color: #f8c5c6;

	margin-left: 5px;
	margin-right: 5px;
}

.nf-response-msg {
	position: relative;
    padding: 0.75rem 1.25rem;
    margin-bottom: 1rem;
    border: 1px solid transparent;

	color: #155724;
    background-color: #d4edda;
    border-color: #c3e6cb;
}

/* Event Tiles */
.rc-events-tiles {
	line-height: 0;
}

.rc-event-tile {
	display: inline-block;
	height: 145px;
	width: 167px;

	position: relative;

	margin: 10px;
}

.rc-event-tile:first-child {
	margin-left: 0;	
}

.rc-event-tile:last-child {
	margin-right: 0;	
}

.rc-event-tile-overlay {
	height: 100%;
	width: 100%;
	
	background-color: var(--primary);
	opacity: 0.7;

	position: absolute;
	top: 0;
	left: 0;

	-webkit-transition: opacity 400ms ease-in-out;
    -ms-transition: opacity 400ms ease-in-out;
    transition: opacity 400ms ease-in-out;
}

a.rc-event-tile:hover .rc-event-tile-overlay {
	opacity: 1;
}

.rc-event-tile-bg {
	height: 100%;
	width: 100%;
	background-size: cover;
}

.rc-event-tile-logo-wrapper {
	height: 100%;
	width: 100%;

	position: absolute;
	top: 0;

	padding: 30px;
}

.rc-event-tile-logo {
	height: 100%;
	width: 100%;
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center center;
}


/* EVENT */
.rc-event-logo {
	max-height: 170px;
	filter: invert(100%);
}

#rc-events-archiv h2 > a,
#rc-events-archiv h3 > a {
	text-decoration: none;
	color: var(--Black);
}

#rc-events-archiv h2 > a.collapsed i.fa-chevron-up,
#rc-events-archiv h3 > a.collapsed i.fa-chevron-up{
	display: none;
}

#rc-events-archiv h2 > a:not(.collapsed) i.fa-chevron-down,
#rc-events-archiv h3 > a:not(.collapsed) i.fa-chevron-down{
	display: none;
}

.rc-events-list .h2 a:link,
.rc-events-list .h2 a:visited {
	color: var(--Black);
}

.rc-events-list .h2 a:hover {
	color: var(--primary);
	text-decoration: underline;
}

.rc-events-list .row, .rc-events-list .row .h2 {
	line-height: 36px;
}

.border-black {
	border-color: var(--Black);
}

.rc-nextevent .h2 a:link,
.rc-nextevent .h2 a:visited {
	color: var(--Black);
}

.rc-nextevent .h2 a:hover {
	color: var(--primary);
}