/*
Theme Name: Mandevilla
Theme URI: http://www.mandevilla.ch/
Description: Standard-Theme fuer mandevilla.ch
Version: 0.9
Author: Sebastian Bloss
Author URI: http://www.pandaweb.de/
*/


/* ==========================================================================
   HTML5 Boilerplate styles - h5bp.com (generated via initializr.com)
   ========================================================================== */

html,
button,
input,
select,
textarea {
    color: #222;
}

html {
  background: #FFF url(img/mandevilla-bg.png) no-repeat center center fixed;
  background-size: cover;	
}

body {
    font-size: 1em;
    line-height: 1.4;
	font-family: Verdana, Geneva, sans-serif;
	counter-reset: kapitel;
}

::-moz-selection {
    background: #229554;
    text-shadow: none;
	color: #FFF;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

img {
    vertical-align: middle;
	max-width: 100%;
	height: auto;
}

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

textarea {
    resize: vertical;
}

.chromeframe {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

* {
   box-sizing: border-box;
}

*:focus {
    outline: 0;
}
/* ==========================================================================
   Author's custom styles
   ========================================================================== */

.container {
	width: 100%;
}

.wrapper {
	max-width: 1020px;
	min-width: 280px;
	margin: 0 auto;
	height: 1000px;
}

#mainheader {
	border-bottom: 7px solid #000;
	position: relative;
}

#footer {
	border-top: 7px solid #000;
	margin: 100px 0 0;
}

body.page-id-345 #footer {
	margin: 540px 0 0;
}

#footer p {
	text-align: center;
}

#footer p.slogan-footer {
	font-weight: 700;
	font-size: 1.5em;
	text-transform: uppercase;
	font-family: Arial, Helvetica, sans-serif;
	margin: 10px 0 0;
}

#footer p.slogan-footer.frz {
	font-size: 1.6em;
}

#footer p.imprint {
	font-size: .75em;
	margin: 50px 0;
}

p.caption:after,
.hentry a:hover,
#footer a:hover,
.wpcf7 input.wpcf7-text:hover,
.wpcf7 input.wpcf7-text:focus,
.wpcf7 input.wpcf7-text:active, 
.wpcf7 textarea:hover, 
.wpcf7 textarea:focus, 
.wpcf7 textarea:active,
input.wpcf7-submit:hover,
#mobile-menu li a:hover,
.side-image:hover .side-image-link:after,
.owl-theme .owl-controls.clickable .owl-buttons div:hover,
.facebook-button img:hover  {
	-webkit-transition: all 0.5s ease-in-out; 
	transition: all 0.5s ease-in-out;
}    

#footer a {
	color: #000;
	text-decoration: none;
	padding: 0 0 2px 0;
	border-bottom: 1px solid #000;
}

#footer a:hover {
	border-color: #ff66cc;
}

.social-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: inline-block;
    position: absolute;
    top: 20.11%;
    right: 20px;
}

.social-links li {
	display: inline-block;
	transition: all .3s;
	margin-right: 10px;
}

.social-links li:last-child {
	margin-right: 0;
}

.social-links li a {
	display: block;
	width: 36px;
	height: 36px;
	position: relative;
}

.social-links li i {
	font-size: 26px;
	color: #fff;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}

.social-links li.facebook {
	background-color: #3b5998;
}

.social-links li.instagram {
	background-color: #fb3958;
}

.social-links li:hover {
	opacity: .85;
}

/* ==========================================================================
   Navigation
   ========================================================================== */

#navigation {
	margin: 30px 0 90px 0;
	position: relative;
}

#desktop-navigation {
	margin: 0;
	padding: 0;
	list-style: none;
	display: table;
	width: 100%;
}

#mobile-navigation {
	display: none;
}

#desktop-navigation li {
	font-family: Arial, Helvetica, sans-serif;
	font-weight: 700;
	text-transform: uppercase;
	text-align: center;
	display: table-cell;
}

#desktop-navigation li:last-child {
	margin: 0;
}

#desktop-navigation li a {
	text-decoration: none;
	color: #000;
	padding: 0 0 4px;
	-webkit-transition: 0.5s ease;
	transition: 0.5s ease;
	border-bottom: 5px solid transparent;
	
}

#desktop-navigation li a:hover,
#desktop-navigation li.search-link.active a {
	border-bottom: 5px solid #ff66cc;
}

#desktop-navigation li.current-menu-item a {
	color: #ff66cc;
}

.language-switcher {
	margin: 0;
	padding: 0;
	position: absolute;
	top: 20px;
	right: 20px;
	list-style: none;
	z-index: 99;
}

.language-switcher li {
	display: inline-block;
	margin: 0 8px 0 0;
	padding: 0 12px 0 0;
	font-size: .875em;
	border-right: 1px solid #666;
}

.language-switcher li:last-child {
	margin: 0;
	padding: 0;
	border-right: 0;
}

.language-switcher li a {
	text-decoration: none;
	color: #FFF;
	display: block;
}

.language-switcher li.current-lang a {
	color: #ff66cc;
}

/* ==========================================================================
   Search
   ========================================================================== */
#searchbox {
	display: none;
	width: 100%;
	position: absolute;
	margin: 30px 0 0;
	background: #000;
	overflow: hidden;
	color: #FFF;
}

#searchsubmit {
    display: none;
}

#searchbox:before {
    color: #fff !important;
    content: '\f400';
    font-family: "Genericons";
    font-size: 2.1em;
    left: 3px;
    position: absolute;
    top: 0;
	line-height: 41px;
	width: 40px;
}

#search { 
	margin: 0 0 0 40px;
	width: 100%;
	max-width: 950px;
	line-height: 40px;
	border: 0;
	padding: 0 0 0 30px;
	font-size: 1.1em;
	height: 40px;
}

/* ==========================================================================
   Page
   ========================================================================== */

.entry-header h1 {
	font-size: 1.1em;
	border-left: 7px solid #ff66cc;
	padding: 0 0 0 15px;
	margin: 0 0 40px;
	font-weight: 700;
}

.hentry {
	line-height: 1.6;
}

.hentry p {
	margin: 0 0 40px;
}

.hentry a {
	font-weight: 600;
	border-bottom: 2px solid transparent;
	color: #000;
	text-decoration: none;
	padding: 0;
}

.hentry a:hover {
	font-weight: 700;
	border-bottom: 2px solid #ff66cc;
}

body.page-id-73 .hentry p {
	background: url('img/tulpe-icon.png') no-repeat left center;
	min-height: 37px;
	padding-left: 50px;
}

.hentry h2,
.hentry h3,
.hentry h4,
.hentry h5,
.hentry h6 {
	font-size: 1.05em;
	margin: 0;
}

.hentry ul {
	list-style: square;
	margin: 25px 0;
	padding: 0 0 0 20px;
}

.hentry li {
	margin: 0 0 10px;
	padding: 0 0 0 10px;
}


figure.artikelbild {
	float: right;
	margin: -55px 0 0 20px;
	width: 29.4%;
}

p.image-caption {
	background: #FFF;
	font-weight: 700;
	padding: 0 0 0 7px;
	font-size: .85em;
	line-height: 2em;
}

body.page-id-73 .hentry p.image-caption {
	background: #FFF;
	padding: 0 0 0 7px;
	font-size: .85em;
	line-height: 2em;
	min-height: 1px;
}

div.image-caption {
	background: #FFF;
	background: rgba(255, 255, 255, 0.35);
	padding: 5px 10px;
	
}

.hentry div.image-caption p {
	margin: 0;
	font-size: .85em;
	color: #444;
}

.side-image {
	margin: 0 0 40px;
	position: relative;
}

.hentry .side-image a,
.hentry .side-image a:hover {
    border-bottom: 0;
}


/* Informationen */

.entry-content-left {
	float: left;
	width: 63.65%;
}

.entry-content-right {
	float: right;
	width: 33.3%;
}

.entry-content-right .gallery-image {
	margin: 0 4% 4% 0;
	width: 48%;
	font-size: .85em;
}

.entry-content-right .gallery-image:nth-of-type(2n) {
	margin: 0 0 4% 0;
}

.entry-content-right .gallery-image p.caption:after {
	top: 2px;
}


body.page-template-tpl_informationen-php .gallery-image p { 
	font-size: .75em; 
}

body.page-template-tpl_informationen-php p.caption:after {
	top: 3px;
}

/* ==========================================================================
   Multimedia
   ========================================================================== */

.hentry img.alignleft {
    display: inline;
    float: left;
    margin: 5px 25px 25px 0;
}
.hentry  img.alignright {
    display: inline;
    float: right;
    margin: 5px 0 25px 25px;
}

.hentry img.aligncenter { 
	margin-left: auto; 
	margin-right: auto; 
	display: block; 
	clear: both;
}

p.wp-caption-text { 
	font-size: .875em; 
	color: #555; 
	font-style: italic; 
	margin: 5px 0 10px; 
}

.hentry .gallery-item {
	float: left;
	margin: 0 1.96% 1.96% 0;
	width: 23.529%;
	position: relative;
}
.hentry .gallery-item:nth-of-type(4n) {
	margin: 0 0 1.96% 0;
}

.hentry .gallery {
	display: block;
	clear: both;
	overflow: hidden;
}

.video-wrapper { 
	position: relative; 
	padding-bottom: 56.25%;
	height: 0;
	overflow: hidden;
	max-width: 100%;
	height: auto;
} 

.video-wrapper iframe,
.video-wrapper object,
.video-wrapper embed { 
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

/* ==========================================================================
   Galerie
   ========================================================================== */

.sorten-galerie {
	margin: 0 0 0;
}

.typen {
	margin: 0 0 40px;
	font-size: 0;
}

.hentry .typen h2 {
	font-size: 1em;
	text-transform: uppercase;
	margin: 0 0 20px;
	font-size: 16px;
}

.gallery-image {
	display: inline-block;
	margin: 0 1.96% 1.96% 0;
	width: 23.529%;
	position: relative;
	font-size: 16px;
	vertical-align: top;
}
.gallery-image:nth-of-type(4n) {
	margin: 0 0 1.96% 0;
}

.gallery-image a {
	color: #000;
	text-decoration: none;
}

p.caption {
	background: #FFF;
	font-weight: 700;
	margin: 0;
	padding: 10px 0 10px 10px;
	position: relative;
	font-size: .95em;
}

p.caption:after,
.side-image-link:after {
	font-family: "Genericons";
	content: '\f400';
	position: absolute;
	right: 10px;
	font-size: 26px;
	top: -45px;
	opacity: 0;
	color: #ff66cc;
	width: 35px;
	line-height: 35px;
	text-align: center;
	background: #fff;
}

.side-image-link:after {
	top: auto;
	bottom: 10px;
	opacity: 0;
}

.side-image-link {
	position: relative;
	display: block;
}

.side-image:hover .side-image-link:after  {
	opacity: 1;
}

.gallery-image p.description {
	position: absolute;
	top: 0;
	right: 0;
	font-size: .7em;
	background: #FFF;
	color: #ff66cc;
	text-transform: uppercase;
	margin: 5px;
	padding: 2px 4px;
}

.gallery-image:hover p.caption:after,
.gallery-image-info:hover p.caption:after {
	opacity: 1;
}

.caption_gallery {
	font-size: .825em;
	font-style: italic;
	position: absolute;
	bottom: 0;
	background: #ff66cc;
	background: rgba(255, 255, 255, 0.75);
	padding: 10px;
	width: 400px;
	left: 50%;
	margin: 0 0 0 -200px;
}

/* ==========================================================================
   Presse
   ========================================================================== */
.presseartikel {
	background: #FFF;
	background: rgba(255, 255, 255, 0.35);
	display: table;
	table-layout: fixed;
	width: 100%;
	margin: 0 0 50px;
}

.presse-content {
	margin: 20px;
}
	
.presse-left {
	display: table-cell;
}

.presse-right {
	display: table-cell;
	vertical-align: middle;
	width: 230px;
}

.presse-right img {
	margin: 0 0 0 20px;
}

.presse-headline h2,
.kontakt-headline h2 {
	font-size: 1.1em;
	border-left: 7px solid #ff66cc;
	margin: 0 0 40px;
	padding: 0 0 0 15px;
}

p.presse-meta {
	font-size: .85em;
	margin: 0 0 40px;
}

p.presse-meta.first {
	margin: 0 0 7px;
}

p.presse-meta span {
	font-weight: 700;
}

a.presse-download {
	position: relative;
	font-size: .85em;
}

/* ==========================================================================
   Bezugsquellen
   ========================================================================== */
.hentry .mapsmarker a {
	border-bottom: 1px solid transparent;
}

.hentry .mapsmarker a:hover {
	border-bottom: 1px solid #c20016;
}

.lmm-listmarkers-table {
	font-size: .9em;
	border: 0;
}

.lmm-listmarkers-table td.lmm-listmarkers-popuptext strong {
	display: block;
}

.lmm-listmarkers-table tr {
	background: #f5e8d0;
	background: rgba(245, 232, 208, 0.75);
}

.lmm-listmarkers-table tr:nth-child(odd) {
	background: #FFF;
	background: rgba(255, 255, 255, 0.35);
}

.popup-markername {
	font-weight: 700;
}

.popup-directions {
	display: none;
}


.hentry .mapsmarker a {
	font-weight: 400;
	text-decoration: none;
}

.hentry .mapsmarker .leaflet-container a.leaflet-popup-close-button:hover {
    color: #999;
	border: 0;
	text-decoration: none;
}


.hentry .list-online-shops ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.online-shops h2 {
	border-left: 7px solid #ff66cc;
	font-size: 1.1em;
	margin: 40px 0 25px;
	padding-left: 15px;
}

.hentry .list-online-shops li {
	font-size: .9em;
	background: rgba(255, 255, 255, 0.35);
	padding: 15px;
	margin-bottom: 15px;
}

.hentry .list-online-shops li a{
	position: relative;
	margin-left: 30px;
}

.hentry .list-online-shops li a:before {
	position: absolute;
	height: 20px;
	width: 1px;
	background: #ff66cc;
	left: -16px;
	top: 50%;
	margin-top: -10px;
	content: '';
}
/* ==========================================================================
   Kontakt
   ========================================================================== */

.content-left {
	float: right;
	width: 48%;

}

.content-right {
	float: left;
	width: 48%;
}

.content-left {
	margin: 0 0 0 0;
}

.kontakt-anschrift {

}

.kontakt-anschrift p {
	margin: 0 0 20px;
}

.kontakt-anschrift span.abstand {
	display: inline-block;
	width: 50px;
}

.gmaps {
	border: 1px solid #000;
	margin: 40px 0 0;
	overflow: hidden;
}

/*  Kontakt-Formular  */
.wpcf7 { 
	font-size: .95em; 
}

.wpcf7 p { 
	margin-bottom: 15px; 
}

input.wpcf7-text, 
.wpcf7 textarea { 
	width: 95.6%;  
	border: 1px solid #000; 
	padding: 2%; 
	color: black;
	background: #FFF;
	background: rgba(255, 255, 255, 0.55);
}

.wpcf7 textarea {
	height: 159px;
}

.wpcf7 input.wpcf7-text:hover,
.wpcf7 input.wpcf7-text:focus,
.wpcf7 input.wpcf7-text:active, 
.wpcf7 textarea:hover, 
.wpcf7 textarea:focus, 
.wpcf7 textarea:active { 
	border-color: #ff66cc; 
}

input.wpcf7-submit { 
	background: #000;
	border: 0; color: #FFF; 
	padding: 10px; 
	letter-spacing: .2em; 
	margin-top: 10px;
	text-transform: uppercase;
}

input.wpcf7-submit:hover { 
	background: #ff66cc; 
}

.wpcf7-response-output { 
	border: 3px solid #F6AEA9 !important; 
	padding: 2% !important; 
	width: 97%; 
	margin: 0 !important; 
	font-style: italic;
	background: #FFF;
	background: rgba(255, 255, 255, 0.55);
	text-align: center;
}

.wpcf7-not-valid-tip { 
	display: none !important; 
}

.wpcf7-not-valid { 
	border: 1px solid #F6AEA9 !important; 
}

.wpcf7-response-output.wpcf7-mail-sent-ok { 
	border: 3px solid #000 !important; 
}

.wpcf7-not-valid:focus { 
	border: 1px solid #000 !important; 
} 

::-webkit-input-placeholder { color: #666; opacity: 1; }
:-moz-placeholder { /* Firefox 18- */ color: #666; opacity: 1; }
::-moz-placeholder { /* Firefox 19+ */ color: #666; opacity: 1; }
:-ms-input-placeholder { color: #666; opacity: 1; }


/* ==========================================================================
   Sonstiges
   ========================================================================== */
div.ppt {
	position: absolute;
	display: inline-block;
	width: auto !important;
	top: 30px;
	left: 20px;
	background: #FFF;
	background: rgba(255, 255, 255, 0.85);
	padding: 2px 10px;
	color: #444 !important;
	font-size: .9em;
}

/*   Suche */
body.search-results .entry-header h1 {
	margin: 0 0 5px;
}

body.search-results .entry-header h1 span {
	font-style: italic;
}

p.results {
	font-size: .95em;
	padding: 0 0 0 23px;
}

span.search-everything-highlight-color {
	background: #c20016 !important;
	color: #FFF !important;
}

.search-result-hl {
	font-size: .65em;
	counter-increment: kapitel;
	position: relative;
	padding: 0 0 0 30px;
}

.search-result-hl:before {
	content: counter(kapitel) " | ";
	position: absolute;
	left: 0;
	font-size: 1.5em;
}

.search-result {
	background: #FFF;
	background: rgba(255, 255, 255, 0.35);
	margin: 0 0 20px;
}

.search-result-content {
	margin: 20px;
}

.search-result p {
	margin: 0;
}

body.page-id-530 figure.artikelbild {
	 margin: 4px 0 0 20px;
}


/* ==========================================================================
   Sonstiges
   ========================================================================== */

body.page-id-166 .hentry p {
	margin: 0 0 20px;
}

body.page-id-166 .hentry p span.abstand {
	display: inline-block;
	width: 80px;
}

/* Lightbox */
a.pp_previous,
div.light_square .pp_previous:hover,
a.pp_next,
div.light_square .pp_next:hover {
	display: inline-block;
    height: 76px;
    margin-top: -38px;
    opacity: 1;
    padding: 10px;
    position: absolute;
    text-align: center;
    top: 50%;
    width: 55px;
}

a.pp_previous:hover,
div.light_square .pp_previous:hover {
    opacity: 1;
}

a.pp_previous,
div.light_square .pp_previous:hover {
	left: 0; 
	background: #FFF url('img/galerie-arrow-left.png') no-repeat center center;
}

a.pp_next,
div.light_square .pp_next:hover {
	right: 0; 
	background: #FFF url('img/galerie-arrow-right.png') no-repeat center center;;
}


div.light_square .pp_close {
	display: none;
}

.top-layer {
	width: 58.823%;
	position: absolute;
	left: 20.784%;
	top: 4.902%;
	height: 26.804%;
}

.top-layer.fr {
    left: 12.784%;
    top: 4.902%;
    width: 73.823%;
}

.top-layer a {
	display: block;
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
}

/* FACEBOOK-STREAM */

/*
.cff-wrapper {
	display: table;
}

#cff a:hover, #cff a:focus {
    text-decoration: none;
}
*/

.fb_iframe_widget {
	margin-top: 30px;
}

/* ==========================================================================
   Media Queries
   ========================================================================== */

@media only screen and (min-width: 35em) {

}

@media print,
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dpi) {

}

/* ==========================================================================
   Helper classes
   ========================================================================== */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 150%;
}

.hidden {
    display: none !important;
    visibility: hidden;
}

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

.invisible {
    visibility: hidden;
}

.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   Print styles
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important; /* Black prints faster: h5bp.com/s */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline !important;
    }

    a[href]:after {
        content: " " !important;
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links for images, or javascript/internal links
     */

    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group; /* h5bp.com/t */
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    @page {
        margin: 0.5cm;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}