/*Startpage featured blocks*/
@media only screen and (min-width: 40.063em){
	.featured-image{
		margin-bottom: .5em;
	}
	.view-featured-blocks p {
		text-align: left;
	}
	.row .row.alt-header {
		height: 80px;
		border-bottom: 1px solid #333;
		margin-bottom: 20px;
		position: relative;
	}
	.front .row .row.alt-header {
		margin-bottom: 0;
		border-bottom: 0;
	}
	.header-logo {
		position: absolute;
		bottom: 10px;
		padding-left: 25px;
	}
	.front .header-logo {
		padding-left: 20px;
	}
	.block-footer-logo,
	.block-footer-logo p {
		color: #FFF;
	}
	.header-menu {
		position: absolute;
		bottom: 10px;
		right: 0;
	}
	.front .header-menu {
		right: 20px;
	}
	ul#main-menu-links {
		display: none;
		visibility: hidden;
	}
}

@media only screen and (max-width: 40em) {
	/* mobile logo */
	.block-block-5 {
		padding: 10px;
		border-bottom: 1px solid #333;
		margin-bottom: 20px;
	}
	.block-block-5 p {
		margin: 0;
	}
	.block-block-5 .small-6.float-left {
    float: left;
	}
	.block-block-5 .logo-img {
		padding-left: 23px;
	}
	.block-block-5 .small-6.float-right {
		float: right;
	}
	.block-block-5 .social-icons {
    padding-right: 20px;
	}
}

.link-content,
.field-name-node-link a {
    padding: 0.5em;
    text-align: center;
    transition: all .4s;
    color: #898D36;
		margin-bottom: 1rem;
		text-transform: uppercase;
		letter-spacing: 1px;
		border-radius: 5px;
}
.front .link-content,
.front .field-name-node-link a {
		border: 1px solid #898D36;
}
 .front .link-content:hover,
 .front .field-name-node-link a:hover {
    background: none repeat scroll 0 0 #898D36;
		border: 1px solid #898d36;
		color: #fff;
}

@media only screen and (min-width: 40.063em) {
	.front .medium-3 .pane-featured-blocks{
    	height: 25em;
	}
	.front .medium-3 .link-content{
	    position:absolute;
	    bottom: 0;
	    width: 89%;
	}
}
@media only screen and (max-width: 930px) {
	.front .medium-3 .pane-featured-blocks{
    	height: 26em;
	}
	.front .medium-3 .link-content {
    height: 60px;
	}
	.link-content.floor {
    display: flex;
    justify-content: center;
    align-items: center;
	}
}

@media only screen and (max-width: 40em) {
	.front .medium-3 .pane-featured-blocks{
    	height: auto;
    	margin-bottom: 40px;
	}
	.front .medium-3 .link-content{
	    top:1em;
	    opacity:1;
	}
}

.front .medium-3 .pane-featured-blocks h2.title-featured,
.front .medium-3 .pane-featured-blocks .featured-image,
.front .medium-3 .pane-featured-blocks .title-featured,
.front .medium-3 .pane-featured-blocks .body-featured {
	text-align: center;
	display: block;
}
.front .medium-3 .pane-featured-blocks h2.title-featured {
	color: #898D36;
}

.node-type-wine .group-above-right h4 {
    color: #898D36;
    font-size: 1.2rem;
}

/*Wine list*/
@media only screen and (min-width: 40.063em){
	.image-wine{
		opacity: 1;
		transition: opacity .25s ease-in-out;
		-moz-transition: opacity .25s ease-in-out;
		-webkit-transition: opacity .25s ease-in-out;
	}

	.image-wine:hover{
		max-width: auto;
		opacity: 0.5;
	}
	.image-wine-overlay {
		opacity: 1;
		transition: all 0.1s linear 0s;
	}

	.image-wine-overlay:hover{
		opacity: 0;
	}
}
@media only screen and (min-width: 40.063em) {
	.page-weine .views-row {
		margin-bottom: 50px;
	}

	.wine-content {
		padding-bottom: 30px;
	}
	.position {
    position: absolute;
    bottom: 0;
	}
	.position a {
		padding: 0;
		margin: 0;
		color: #898D36;
		background: none;
	}
	.wine-teaser p {
		margin-bottom: 0;
	}
	.title-wine{
		margin-top: 1em;
	}
	.wine-content {
    padding-bottom: 30px;
    border: 1px solid #898D36;
    padding: 25px 1px 0 10px;
	}
	.page-weine .wine-content a {
    background: none;
    color: #898d36;
    padding: 0;
	}
	.page-weine .view-wine .title-wine a {
		font-size: 1.3em;
	}
 }

@media only screen and (max-width: 40em) {
	.page-weine .views-row {
		margin-bottom: 40px;
	}

	.page-weine .link-content{
		top:1em;
		opacity:0.6;
	}

	.page-news .node-article .group-left {
		margin-bottom: 40px;
	}
	.node-wine .image {
		text-align: center;
	}
}

/*Footer*/
.footer-menu ul li.inline-list {
    float: left;
    padding: 1em;
}
@media only screen and (min-width: 40.063em) {
	.footer-menu ul li.inline-list {
		width:25%;
	}
}
@media only screen and (max-width: 40em) {
	.footer-wrapper-bottom {
		padding-top: 10px;
	}
	.footer-wrapper-bottom .block-block-4 p {
		font-size: 0.9rem;
	}
}
.footer-menu ul li ul li {
    list-style: none outside none;
    margin-bottom: -5px;
}
.footer-menu ul li ul li a {
	font-size: .85em;
	line-height: 2;
}
.footer-menu ul li.menu-mlid-218{
	display:none;
	visibility:hidden;
 }
 .footer-menu a{
	color: #FFFFFF;
 }
/*Flex-slider wine full preset. Used also for gallery*/
.node-type-wine .flexslider .slides img,
.node-type-page .flexslider .slides img {
    width: auto;
}
.footer-wrapper-top p {
	margin: 0;
	padding: 0.5em 0 0.5em 0;
}
.footer-wrapper-top .facebook-link {
	float: right;
}
.block.opening-hours {
	margin-top: 1.4em;
}
/*Language icons*/
.block-locale-language {
	display: inline-block;
	float: right;
}
.block-locale.inline-list {
	margin: 0;
}
ul.language-switcher-locale-url{
    list-style: none outside none;
    overflow: hidden;
    padding: 0;
    right: 0;
    margin: 0;
}
ul.language-switcher-locale-url li{
	float:left;
	margin-left: 1.3em;
	font-size: 0;
	line-height: 0;
}
.secondary-menu-block {
	float: right;
	padding-right: 35px;
}
ul.language-switcher-locale-url li {
	padding-left: 5px;
}
/*Superfish menu for small only!*/
.block-superfish-1, select#superfish-1-select {
    background: none repeat scroll 0 0 #333333;
    height: 2.8125rem;
    line-height: 2.8125rem;
    margin-bottom: 0;
    overflow: hidden;
    position: relative;
}
select#superfish-1-select {
    text-align: right;
    text-transform: uppercase;
    color: #DDDDC3;
    font-family: 'Source Sans Pro',sans-serif;
    font-size: 0.9rem;
    line-height: 1.2rem;
}


.soellner-circle {
	text-align: left;
	margin-left: 10px;
}

.node-type-webform .links.inline {
	display: none;
	visibility: hidden;
}

#flexslider-1 .flex-caption {
	text-align: center;
	color: #898D36;
	font-size: 1.6em;
	font-weight: 200;
	padding: 10px;
}
.flexslider {
    margin: 0px 0px 20px;
}
.flex-direction-nav a {
    text-decoration: none;
    display: block;
    width: 40px;
    height: 50px;
    margin: -20px 0px 0px;
    position: absolute;
    top: 40%;
    z-index: 10;
    overflow: hidden;
    opacity: 0;
    cursor: pointer;
    color: rgba(0, 0, 0, 0.8);
    text-shadow: 1px 1px 0px rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease-in-out 0s;
}

.image-inline_klein_links,
.image-inline_gross_links {
	float: left;
	margin-right: 10px;
}
.image-inline_klein_rechts,
.image-inline_gross_rechts {
	float: right;
	margin-left: 10px;
}

.fade:hover,
.fade:focus,
.fade.active {
      opacity: 1;
      color: #333;
}

.top-bar-section ul li,
.top-bar.expanded .title-area,
.top-bar {
    background: #888c35;
}
.top-bar.expanded .toggle-topbar a {
    color: #FFF;
}
.top-bar.expanded .toggle-topbar a span::after {
    box-shadow: 0 0 0 1px #FFF, 0 7px 0 1px #FFF, 0 14px 0 1px #FFF;
}

.top-bar-section ul li:hover:not(.has-form)>a {
    background-color: #888c35;
    background: #888c35;
}

.sidebar .menu-name-main-menu ul li li li a {
    padding-bottom: .8rem;
		line-height: 1rem;
}

/* GENERAL */
h1#page-title {
    font-size: 2.5rem;
}

.view-dynamic-list h2 a,
.view-news-archive h2 a {
    font-size: 2em;
		font-weight: 700;
    color: #898d36;
}
strong {
	color: #898d36;
	font-weight: 700;
}
.social-icons {
    font-size: 1.5em;
}
.front .header-menu {
    right: 4px;
}
img.logo {
    max-height: 50px;
}
/* ARTICLES */
.articles {
    border-bottom: 1px solid grey;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
}
.group-left .body.field {
    margin-top: .8rem;
    margin-bottom: 2rem;
}
.section-news.views-page .view-dynamic-list .view-header {
    border-bottom: 1px solid #898d36;
    margin-bottom: 2rem;
}
.field-name-field-unkostenbeitrag,
.field-name-field-verkostungsbeitrag {
    text-transform: uppercase;
}

.field-name-field-more-info {
    margin-top: 1rem;
}
.field-name-field-more-info ul {
	font-size: .9rem;
	list-style-image: url('/sites/default/files/kastlab-list-style.gif');
}
.clearing-thumbs li, [data-clearing] li {
    margin-bottom: 10px;
}
.page-das-team .view-header {
    margin-bottom: 2rem;
    border-bottom: 1px solid;
    padding-bottom: 2rem;
}
/* VIEW FOUNDATION GALLERY */
.clearing-assembled .clearing-container .carousel > ul li {
    width: auto;
    padding-right: 5px;
}
.clearing-assembled .clearing-container .visible-img {
    background: #F5FFFA;
}
.clearing-main-next > span {
    border-left-color: #333;
}
.clearing-main-prev > span {
    border-right-color: #333;
}
.clearing-close {
    color: #333;
}
/* CONTACT */
.page-node-21 .contact p {
    margin-bottom: 0;
}
.page-node-21 .contact {
		padding-left: 1rem;
}
.page-node-21 .contact .social-icons {
    font-size: 2.5em;
}
.contact h2 {
    font-size: 1.5em !important;
    padding-bottom: .5rem;
}
/* FOOTER */
.footer-wrapper-bottom,
.footer-wrapper-top {
    padding: .5rem !important;
}
.front .img-footer-logo {
    padding-left: 0 !important;
}
.block-footer-logo.block-block-6 a {
    color: #fff;
}

[class*="column"] + [class*="column"]:last-child {
    float: left;
}
/* ZERTIFIKATE */
.page-zertifikate-list .view-dynamic-list h2 {
    font-size: 1.5em;
}
.page-zertifikate-list .body-featured {
    border-bottom: 1px solid #DDDDDD;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
}
/* LINKS */
.page-node-20 hr {
    margin: 3rem 0;
}
/*cookies*/
#sliding-popup.sliding-popup-bottom {
	background: #898D36;
	box-shadow: 0px -1px 2px #DDDDC3;
}
#sliding-popup .popup-content #popup-text p {
	font-size: 14px;
	margin: 5px 0 0;
	font-weight: 400;
}
#sliding-popup .popup-content #popup-buttons button {
		margin: 5px 0;
    background-color: #fff !important;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    border: none;
    color: #444;
    font-family: inherit;
    font-weight: 400;
    padding: 4px 8px;
    text-decoration: none;
    text-shadow: none;
}

@media only screen and (min-width: 990px){
	#sliding-popup.sliding-popup-bottom {
		max-height: 40px;
	}
}
@media only screen and (min-width: 600PX) and (max-width: 989px){
	#sliding-popup.sliding-popup-bottom {
		max-height: 55px;
	}
	#sliding-popup .popup-content #popup-buttons button {
    margin: 10px 0;
	}
}
li.name h1 a::before {
    content: url('/sites/default/files/SoellerKreisWeiss.png');
		padding-right: 5px;
		vertical-align: -37%;
}
@media only screen and (max-width: 640px) {
	.node-wine .field-name-title h2, h1#page-title {
    margin-bottom: 1em;
	}
}
