/* CUSTOM CSS FOR NEW OAK VALLEY */
/*********************************/
/**	MEDIA QUERIES
** @media(max-width:320px)
** @media(max-width:479px)
** @media only screen and (max-width:640px)
** @media only screen and (max-width:768px)
** @media(max-width:768px)
** @media screen and (max-width:860px)
** @media(max-width:1000px)
** @media only screen and (max-width:1024px)
** @media screen and (max-width:1024px)
**
** @media only screen and (min-width:769px)
** @media only screen and (min-width:2000px) 
*/
/* ROOT VARIABLEN =============================================================================== */
:root { 
	/* To use: color: var(--color1); */
    --color1: #6C4E35; /* braun dark */
    --color2: #956C49; /* braun light */
    --color3: #FE7C18; /* orange fire */
    --color4: #D68A17; /* orange link*/
    --color5: #E69419; /* orange link hover*/
    --color6: #E6E6E6; /* lightgrey */
	--color7: #F3F0BB; /* lightyellow */
}
.centered {
	margin-left: auto !important;
	margin-right: auto !important;
}
.fotoborder > img, .fotoborder img.singleImage {
	/* border: 7px solid white; */
	border: 7px solid var(--color6);
}
a, a:visited {
	font-weight: normal;
    color: #D68A17;
    text-decoration: none;
}
a:hover {
	color: #E69419;
    text-decoration: underline;
}
/* ====================== */
/* SOCIAL ICONS =============================================================================== */
div.social-links {
    display: flex;
	justify-content: center;
}
div.social-follow {
	line-height: 15px;
	border-right: 1px solid var(--color1);
    padding-right: 10px;
}
div.social-pages {
	line-height: 15px;
	padding-left: 10px;
}
div.social-follow a > i.fa, div.social-follow a:visited > i.fa, a > i.fa, a:visited > i.fa {
	font-size: 30px;
    color: var(--color1);
	margin: 3px;
}
a:hover > i.fa, div.social-follow a:hover > i.fa  {
	color: var(--color4);
}
a > i.fa.fa-whatsapp {
	background-color: var(--color1);
    color: #D9CDC3;
    font-weight: 500;
    padding: 3px 5px 3px;
    border-radius: 6px;
    font-size: 21px;
    vertical-align: text-bottom;
}
a:hover > i.fa.fa-whatsapp {
	background-color: var(--color4);
	color: #D9CDC3;
}

span.share-it {
	font-family: arial, helvetia, sans-serif;
    font-size: 14px;
}
/* ====================== */
@media(max-width:260px) {
	body {
		width: 260px;
	}
}
body, html, #cms_content {
    font-family: 'Chicle',serif,cursive;
    color: #6C4E35;
    font-weight: 200;
	letter-spacing: 0.01em;
}
#cms_content {
    font-size: 1.3em;
    line-height: 1.5;
}
body {
	position: relative;
	height: initial;
	min-height: 100%;
}
h2 {
	line-height: 1.2em;
}
h3, h4, h5, h6 {
	text-transform: uppercase;
}
h4, h5 {
	font-size: 1.2rem;
}
#album-responsive::before {
    content: ""; 
    position: absolute; 
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,.3);
    backdrop-filter: blur(3px);
}

#header .flexslider {
	box-shadow: 1px 1px 20px rgb(0 0 0 / 50%);
	border: 1px solid #C0AF93;
}
#header .flexslider .flex-caption {
	padding-left: 75px !important;
}
#header .flex-caption {
	bottom: 0 !important;
}
#header .flex-direction-nav {
	display: none;
}
@media(max-width:1000px) {
	#sidebar {
    height: 100%;
    overflow: auto;
    max-height: 530px;
	}
}
img#boots-ps {
	display: none;
}
@media (min-width: 769px) {
	img#boots-ps {
	display: block;
	width: 75px !important;
    height: auto;
    position: absolute;
    bottom: 5px;
    right: 15px;
	}
}
/* ============== NAV ========================================= */ 
#sidebar #nav ul li.active > a, #sidebar #nav ul li.active.open > a{
	color: #fff;
	background-color: var(--color2);
}
#sidebar #nav ul li.active > a:hover, #sidebar #nav ul li.active.open > a:hover {
	background-color: var(--color1);
}
/* ============== MOBILE NAV ========================================= */ 
#nav.on {
	height: 100%;
    max-height: 380px;
}
#sidebar #nav.on > ul {
	margin-top: 0;
}
@media (-webkit-min-device-pixel-ratio: 2), not all, (min-resolution: 192dpi), (min-resolution: 2dppx) {
	#sidebar #nav.on > ul {
	margin-top: 0;
	margin-bottom: 0;
	}
}
@media (-webkit-min-device-pixel-ratio: 2), not all, (min-resolution: 192dpi), (min-resolution: 2dppx) {
	#sidebar #nav.on ul li > a, #sidebar #nav ul li>a:hover, #sidebar #nav ul li.haschilds>a, #sidebar #nav ul li.haschilds>a:hover,
	#sidebar #nav .zpsearchform .zpsearchfield, #sidebar #nav ul li > a, #sidebar #nav ul li > a:hover, #sidebar #nav ul li.haschilds > a, #sidebar #nav ul li.haschilds > a:hover {
    padding-top: 10px;
    padding-bottom: 10px;
	}
}

@media only screen and (max-width: 768px) {
	#sidebar #nav.on {
		height: 100%;
		overflow: auto;
	}
	#sidebar #nav.on a, #sidebar #nav a:hover, #sidebar #nav a:focus {
	padding: 5px 8px;
	}
}
/* ================================== */
#content, #content-col, #footer, #sidebar {
	background-image: url("bg1.png");
	box-shadow: 1px 1px 20px rgb(0 0 0 / 50%);
    border: 1px solid #E6E6E6;
    border-radius: 4px;
	background-size: cover;
}
/* === FOR PLAIN PAGE-TEMPLATE THAT ID IS MODYFIED ============ */ 
#content-col {
	border: 0;
}
body#plain-col {
	padding: 0;
	margin: 0;
	background-image: none;
}
body#plain-col.plain #contentframe {
	max-width: 650px;
}
body#plain-col img { /* sowie etwelche wrapper */
	width: 100%;
	height: auto;
}
body#plain-col table {
	border: 0px transparent;
    font-size: 1.2rem;
}	
body#plain-col #container_155 > div > div, body#plain-col #container_156 > div > div {
	padding: 10px 5px;
}
body#plain-col #contentframe>:last-child {
	padding-bottom: 10px!important;
}
#cms_content h2 {
	text-align: center;
    flex: 100%;
    margin-top: 5px;
}
#cms_content img {
	border: 2px solid #EFE3AF;
}
#oa1 {
	margin: 10px 5px;
}
#oa1 > h3, #oa1 > h4, #oa1 > h5 { /* for both column */
	text-align: center;
	flex: 100%;
}
#oa1 > table > tbody > tr > td:nth-child(1) {
	width: 15% !important;
	text-align: center;
}
#oa1 > table > tbody > tr > td:nth-child(2) {
	width: 60% !important;
	text-align: center !important;
}
#oa1 > table > tbody > tr > td:nth-child(3) {
	width: auto;
	text-align: right;
}
#contentframe > :last-child {
    padding-bottom: 20px !important; 
}
/* ====================================== */
img.singleImage:not(.fr-dib) {   /* IMAGES */
	box-shadow: 5px 5px 5px #888;
    width: calc(100% - 10px);
	margin-bottom: 10px;
}
.zpwBild {
	overflow: visible;
}

a.button:hover {
	box-shadow: 0 18px 26px -12px rgb(153 129 71 / 42%),
				0 4px 23px 0 rgb(0 0 0 / 12%),
				0 8px 10px -5px rgb(153 129 71 / 20%);
}
form {
	font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif;
    font-size: 1.1rem;
}
:focus-visible { /* border of active input field */
    outline: 2px solid #D68A17;
}
#a1434 { /* form */
	max-width: 600px;
    margin: 0px auto;
}
#logo {
	text-align: center;
}
svg.menupic {
	fill: var(--color1);
	width: 2.1rem;
    height: 2.1rem;
    background-color: rgba(255,255,255,0.5);
    padding: 5px;	
}
@media(max-width:350px) {
	svg.menupic {
		width: 1.6rem;
		height: 1.6rem;
	}
}
@media only screen and (max-width: 768px) {
	#sidebar #nav {
		padding: 0.4rem 1rem;
		position: fixed;
	}
}
p.image-left, p.image-left60 {  /* Floating Image left */
	float: left;
	width: 45%;
    margin-right: 4.5%;
}
p.image-left60 {
	width: 60%;
	margin-top: 20px;
}
p.image-left > img, p.image-left60 > img {
	margin-bottom: 0;
	box-shadow: 5px 5px 5px #888;
}
p.image-right {  /* Floating Image right */
	float: right;
	width: 50%;
    margin-left: 4.5%;
}
p.image-right > img {
	margin-bottom: 0;
	box-shadow: 5px 5px 5px #888;
}
@media only screen and (max-width: 1024px) {
	p.image-left, p.image-right, p.image-left60, p.image-left > img, p.image-right > img {
	width: 100%;
	}
}
div.title-h1 {
	margin-bottom: 25px !important;
}
/* ============== PAGES ======================================================================== */ 
#content {
    padding-bottom: 15px !important;
}
#oa1 {
	display: flex;
	flex-wrap: wrap;
	text-align: center;
}
.flex-3 {
	padding: 5px;
	flex: 1 33%;
	border-right: 1px solid #6C4E35;
}
.on-the-road {
	text-align: center;
}
.on-the-road img.singleImage {
	box-shadow: none;
    border: 7px solid var(--color6);
}
.on-the-road > div.c4, .fotoborder > div.c4 {
	max-width: 350px;
	margin: 0px auto;
}
#igal1536 > div { /* Bildergalerie Showgruppe */
	box-shadow: 3px 3px 3px #888;
}

#footer {
	text-align: center;
}
/* ============= PAGE HOME =================================================================== */
#container_138 h2 {
	margin-top: 0px;
}

/* ============= PAGE EVENTS =================================================================== */
iframe {
	box-shadow: -1px -1px 10px #666;
}
.paper {
	background-image: url("bg-wooden-sign.jpg");
	background-position: center;
	color: var(--color1);
		min-height: 330px;
		padding-top: 20px;
		font-size: 1.3rem;
		min-width: 180px;
}
.paper h2, .paper p {
	text-shadow: 1px 1px 1px var(--color7);
	color: #292116;
}
#a1520 {
	padding-top: 20px;
}
#a1517 > img {
	border: 4px ridge #927652;
}
.line {
	height: 4px;
    background-color: var(--color2);
    width: 100%;
    box-shadow: 0px 2px 7px;
    margin-bottom: 1.5rem;
    border-top: 2px solid var(--color7);
}
body#plain-col div#cms_content img{
	box-shadow: 2px 2px 7px;
}
#a1519, #a1520 {
	border: 8px ridge #927652;
}
div.zpRow[data-row-id="135"] {
    margin-bottom: 0;
}
div#a1587 {
	margin-bottom: 0;
}
/* ============= PAGE TANZKURSE =================================================================== */
div#a1486 p, div#a1494 p, div#a1512 p, div#a1452 p, div#a1411 p, div#a1415 p, div#a1407 p, div#a1423 p {
	hyphens: manual;
}
div#a1540 {
	columns: 2;
}
div#a1540 h2 {
	margin-top: 0;
    column-span: all;
}
div#a1540 p {
	hyphens: manual;
}
/* ============= PAGE SHOWGRUPPE =================================================================== */
#a1580 > div {
	border: 0;
}
/* ============= MEDIA QUERIES =================================================================== */
@media only screen and (max-width: 1399px) { /* FOR IFRAME PAGES */
	#container_110 > div:nth-child(4) > div.zpColumn.odd.zpColumnWidth2.c6.first, #container_110 > div:nth-child(4) > div.zpColumn.even.zpColumnWidth2.c6.last {
		width: 100%;
		max-width: 650px;
		position: relative;
		margin: auto;
	}
}

@media only screen and (max-width: 1024px) {
	.title-h1 > p > img, .s-bottom > p > img {
		width: 70% !important;
	}
	#a1486 > h2 {
		text-align: center;
	}
	p.image-left60 {
	margin-top: 0;
	}
}
@media only screen and (max-width: 768px) {
	#sidebar #logo a.logo img {
		max-height: 30vh;
	}
	#sidebar {
		max-height: 45vh;
		padding-bottom: 10px !important;
	}
	h1 {
		font-size: 1.8rem;
		margin-top: 1rem;
		margin-bottom: 1.5rem;
		line-height: 1.1;
		hyphens: none;
	}
	h2	{
		font-size: 1.6rem;
		hyphens: none;
	}
	#banner, #footer, #afterfoote {
		padding: 15px 30px;
	}
	#container_151 > div:nth-child(4) > div {
		width: 80% !important;
	}
	#container_110 > div:nth-child(4) > div.zpColumn.odd.zpColumnWidth2.c6.first,
	#container_110 > div:nth-child(4) > div.zpColumn.even.zpColumnWidth2.c6.last {
		width: 90% !important;
		position: relative;
		margin: 0 auto;
	}
}
@media (max-width: 479px) {
	#container_151 > div:nth-child(4) > div {
		width: 100% !important;
	}
	.flex-3 {
	padding: 5px;
	flex: 1 100%;
	border-right: none;
	}
	#container_110 > div:nth-child(4) > div.zpColumn.odd.zpColumnWidth2.c6.first,
	#container_110 > div:nth-child(4) > div.zpColumn.even.zpColumnWidth2.c6.last {
		width: 100% !important;
	}
	div.zpRow .zpColumn {
    padding: 0;
	}
}
@media only screen and (min-width: 1025px) {
	#footer {
	padding: 20px 60px;
	}
}
@media only screen and (min-width: 1280px) {
	.paper {
		min-height: 330px;
		padding-top: 20px;
		font-size: 1.3rem;
		min-width: 180px;
	}

}
@media (min-width: 769px) and (max-width: 1024px) {
	.responsivelayout div.zpRow .zpColumn.c1, .responsivelayout .zpColumnItem.c1, .responsivelayout .zp-form .c1, .responsivelayout .zpgrid .c1:not(.resizablefield), 
	.responsivelayout div.zpRow .zpColumn.c2, .responsivelayout .zpColumnItem.c2, .responsivelayout .zp-form .c2, .responsivelayout .zpgrid .c2:not(.resizablefield), 
	.responsivelayout div.zpRow .zpColumn.c3, .responsivelayout .zpColumnItem.c3, .responsivelayout .zp-form .c3, .responsivelayout .zpgrid .c3:not(.resizablefield), 
	.responsivelayout div.zpRow .zpColumn.c4, .responsivelayout .zpColumnItem.c4, .responsivelayout .zp-form .c4, .responsivelayout .zpgrid .c4:not(.resizablefield), 
	.responsivelayout div.zpRow .zpColumn.c5, .responsivelayout .zpColumnItem.c5, .responsivelayout .zp-form .c5, .responsivelayout .zpgrid .c5:not(.resizablefield), 
	.responsivelayout div.zpRow .zpColumn.c6, .responsivelayout .zpColumnItem.c6, .responsivelayout .zp-form .c6, .responsivelayout .zpgrid .c6:not(.resizablefield), 
	.responsivelayout div.zpRow .zpColumn.c7, .responsivelayout .zpColumnItem.c7, .responsivelayout .zp-form .c7, .responsivelayout .zpgrid .c7:not(.resizablefield), 
	.responsivelayout div.zpRow .zpColumn.c8, .responsivelayout .zpColumnItem.c8, .responsivelayout .zp-form .c8, .responsivelayout .zpgrid .c8:not(.resizablefield), 
	.responsivelayout div.zpRow .zpColumn.c9, .responsivelayout .zpColumnItem.c9, .responsivelayout .zp-form .c9, .responsivelayout .zpgrid .c9:not(.resizablefield), 
	.responsivelayout div.zpRow .zpColumn.c10, .responsivelayout .zpColumnItem.c10, .responsivelayout .zp-form .c10, .responsivelayout .zpgrid .c10:not(.resizablefield), 
	.responsivelayout div.zpRow .zpColumn.c11, .responsivelayout .zpColumnItem.c11, .responsivelayout .zp-form .c11, .responsivelayout .zpgrid .c11:not(.resizablefield), 
	.responsivelayout div.zpRow .zpColumn.c12, .responsivelayout .zpColumnItem.c12, .responsivelayout .zp-form .c12, .responsivelayout .zpgrid .c12:not(.resizablefield),
	div.zpRow .zpColumn.c6, .zpColumnItem.c6, .zp-form .c6, .zpgrid .c6 {
		width: 100%!important;	
	}
	.responsivelayout div.zpRow .zpColumn:not(.styled) {
    margin-bottom: 1rem!important;
	}
	#content {
		padding: 45px 15px;
	}
	h1 {
		font-size: 1.8rem;
		margin-top: 1rem;
		margin-bottom: 1.5rem;
		line-height: 1.1;
		hyphens: none;
	}
	h2	{
		font-size: 1.6rem;
		hyphens: none;
	}
	h3, h4	{
		font-size: 1.4rem;
		hyphens: none;
	}
	
	#banner, #footer, #afterfooter {
    padding: 15px 30px;
	}
	.flex-3 {
	padding: 5px;
	flex: 1 100%;
	border-right: none;
	}
	div.zpRow .zpColumn {
    padding: 0;
	}
}
/*
@media (min-width: 1025px) and (max-width: 1165px) {
	#container_110 > div.zpRow.standard.on-the-road > div.zpColumn.even.zpColumnWidth3.c4 {
		width: 50%;
	}
	#container_110 > div.zpRow.standard.on-the-road > div.zpColumn.odd.zpColumnWidth3.c4.last {
		position: relative;
		left: 20%;
	}
}
*/
