@font-face {
font-family:'Interstate';
src: url(//www.mohnrot.ch/wp-content/themes/mohnrot/css/fonts/Interstate Bold.eot);
src: url(//www.mohnrot.ch/wp-content/themes/mohnrot/css/fonts/Interstate Bold.eot?#iefix) format('embedded-opentype'),
url(//www.mohnrot.ch/wp-content/themes/mohnrot/css/fonts/Interstate Bold.woff2) format('woff2'),
url(//www.mohnrot.ch/wp-content/themes/mohnrot/css/fonts/Interstate Bold.woff) format('woff'),
url(//www.mohnrot.ch/wp-content/themes/mohnrot/css/fonts/Interstate Bold.svg#Interstate Bold) format('svg');
font-weight: 700;
font-style: normal;
font-stretch: normal;
unicode-range: U+0020-02DC;
}
@font-face {
font-family:'Interstate';
src: url(//www.mohnrot.ch/wp-content/themes/mohnrot/css/fonts/Interstate Light.eot);
src: url(//www.mohnrot.ch/wp-content/themes/mohnrot/css/fonts/Interstate Light.eot?#iefix) format('embedded-opentype'),
url(//www.mohnrot.ch/wp-content/themes/mohnrot/css/fonts/Interstate Light.woff2) format('woff2'),
url(//www.mohnrot.ch/wp-content/themes/mohnrot/css/fonts/Interstate Light.woff) format('woff'),
url(//www.mohnrot.ch/wp-content/themes/mohnrot/css/fonts/Interstate Light.svg#Interstate Light) format('svg');
font-weight: 300;
font-style: normal;
font-stretch: normal;
unicode-range: U+0020-02DC;
}
@font-face {
font-family:'Interstate';
src: url(//www.mohnrot.ch/wp-content/themes/mohnrot/css/fonts/Interstate Regular.eot);
src: url(//www.mohnrot.ch/wp-content/themes/mohnrot/css/fonts/Interstate Regular.eot?#iefix) format('embedded-opentype'),
url(//www.mohnrot.ch/wp-content/themes/mohnrot/css/fonts/Interstate Regular.woff2) format('woff2'),
url(//www.mohnrot.ch/wp-content/themes/mohnrot/css/fonts/Interstate Regular.woff) format('woff'),
url(//www.mohnrot.ch/wp-content/themes/mohnrot/css/fonts/Interstate Regular.svg#Interstate Regular) format('svg');
font-weight: 400;
font-style: normal;
font-stretch: normal;
unicode-range: U+0020-02DC;
} html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
margin: 0;
padding: 0;
border: 0;
font-size: 100%;
font: inherit;
vertical-align: baseline;
} article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
display: block;
}
body {
line-height: 1;
}
ol, ul {
list-style: none;
}
blockquote, q {
quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
content: '';
content: none;
}
table {
border-collapse: collapse;
border-spacing: 0;
}
::-moz-selection 	{ background:#9f9e77; color:#fff; }
::selection 		{ background:#9f9e77; color:#fff; }
* {
box-sizing: border-box;
-webkit-font-smoothing: antialiased;
-moz-font-smoothing: antialiased;
font-smoothing: antialiased;
}
html, body {
background: #9ce252 url(//www.mohnrot.ch/wp-content/themes/mohnrot/css/img/HG.jpg) repeat center center;
background-size: cover;
font-family: 'Interstate', Arial, sans-serif;
font-size: 13px;
line-height: 140%;
color: #1A171B;
min-height: 100vh;
position: relative;
}
body.page-template-page-projects {
background: #fff;
}
body.home {
background: #9ce252 url(//www.mohnrot.ch/wp-content/themes/mohnrot/css/img/HG.jpg) repeat center center;
background-size: cover;
}
@media (min-width: 500px) {
html, body {
font-size: 15px;
line-height: 140%;
}
}
@media (min-width: 1200px) {
html, body {
font-size: 16px;
line-height: 140%;
}
}
header {
padding: 1.2rem 1rem;
}
@media (min-width: 500px) {
header {
padding: 2.5rem;
}
}
header a.logo {
display: block;
text-indent: -1000px;
overflow: hidden;
width: 11.7rem;
height: 2rem;
background: url(//www.mohnrot.ch/wp-content/themes/mohnrot/css/img/logo.svg) no-repeat left top;
}
.navToggle {
position: absolute;
top: 0;
right: 0;
z-index: 999;
background: #DF0A1C;
width: 3rem;
height: 2.5rem;
display: block;
-webkit-transition: all 0.2s ease-in-out;
-moz-transition: all 0.2s ease-in-out;
-o-transition: all 0.2s ease-in-out;
transition: all 0.2s ease-in-out;
cursor: pointer;
}
body.nav-visible .navToggle {
background: #1B1919;
}
.navToggle span {
height: 2px;
width: 1.5rem;
display: block;
position: absolute;
top: 50%;
left: 50%;
background: #fff;
transform: translateX(-50%) translateY(-50%);
-webkit-transition: all 0.2s ease-in-out;
-moz-transition: all 0.2s ease-in-out;
-o-transition: all 0.2s ease-in-out;
transition: all 0.2s ease-in-out;
}
.navToggle span.s1 { margin-top: -6px; }
.navToggle span.s3 { margin-top: 6px; }
body.nav-visible .navToggle span.s2 {
opacity: 0;
}
body.nav-visible .navToggle span.s1,
body.nav-visible .navToggle span.s3 {
margin-top: 0;
}
body.nav-visible .navToggle span.s1 {
transform: translateX(-50%) translateY(-50%) rotate(45deg);
}
body.nav-visible .navToggle span.s3 {
transform: translateX(-50%) translateY(-50%) rotate(-45deg);
}
nav {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: #E70007 url(//www.mohnrot.ch/wp-content/themes/mohnrot/css/img/hg_menu.jpg) no-repeat right bottom;
background-size: cover;
z-index: 99;
opacity: 0;
pointer-events: none;
transform: translateY(-2%) scale(0.9);
-webkit-transition: all 0.35s ease-in-out;
-moz-transition: all 0.35s ease-in-out;
-o-transition: all 0.35s ease-in-out;
transition: all 0.35s ease-in-out;
}
body.nav-visible nav {
opacity: 1;
transform: translateY(0) scale(1);
pointer-events: all;
}
nav .inner {
position: absolute;
top: 50%;
left: 0;
text-align: center;
width: 100%;
transform: translateY(-50%);
color: #fff;
font-size: 2.8rem;
line-height: 130%;
font-weight: bold;
}
@media (min-width: 500px) {
nav .inner {
font-size: 4.25rem;
line-height: 130%;
}
}
nav .inner .kornelia {
display: block;
width: 4.8rem;
height: 4.8rem;
background: url(//www.mohnrot.ch/wp-content/themes/mohnrot/css/img/kornelia-white.svg) no-repeat center center;
background-size: contain;
margin: 0.15em auto;
}
nav .inner ul li {
}
nav .inner ul li a {
text-transform: uppercase;
text-decoration: none;
}
nav .inner ul li a:hover {
opacity: 0.8
}
.absolute-center {
top: 50%;
left: 50%;
width: 100%;
transform: translateX(-50%) translateY(-50%);
position: absolute;
}
.main {
max-width: 560px;
margin: 5rem auto 2rem auto;
text-align: center;
padding: 0 1rem;
}
.page-template-page-home .main {
min-height: 400px;
margin: 0 auto;
position: relative;
}
@media (min-width: 500px) {
.page-template-page-home .main {
min-height: 100vh;
min-height: calc(100vh - 350px);
margin: 0 auto;
position: relative;
}
}
.main h1,
.main h2 {
font-size: 1.7rem;
line-height: 110%;
margin-bottom: 0.9em;
text-transform: uppercase;
font-weight: bold;
color: #DF0A1C;
display: inline-block;
width: auto;
padding: 0.1em 0.25em;
margin: 1.5rem 0 1rem 0;
}
.main h1:empty,
.main h2:empty {
display: none;
}
body.home .main h1,
body.home .main h2 {
color: #000;
}
.main h4 {
font-size: 1.1rem;
line-height: 140%;
margin-bottom: 0.9em;
font-weight: bold;
color: #fff;
}
.main h5 {
font-size: 1.4rem;
line-height: 140%;
margin-bottom: 0.9em;
font-weight: bold;
color: #fff;
}
.projects-holder {
padding: 1.2rem 0rem;
}
@media (min-width: 500px) {
.projects-holder {
padding: 1.5rem;
}
}
.projects-holder .projects {
justify-content: center;
}
.projects-holder .projects.has-1-projects {
justify-content: space-around;
}
.projects-holder .projects.has-0-projects.flickity-enabled {
display: none !important;
}
.projects .project-spacing {
width: 100%;
padding: 1rem;
}
@media (min-width: 500px) {
.projects-holder .projects {
display: flex;
flex-flow: row wrap;
}
.projects .project-spacing {
width: 50%;
padding: 1rem;
}
}
@media (min-width: 800px) {
.projects .project-spacing {
width: 33.33%;
padding: 1rem;
}
}
@media (min-width: 1200px) {
.projects .project-spacing {
width: 25%;
padding: 1rem;
}
}
@media (min-width: 1600px) {
.projects .project-spacing {
width: 20%;
padding: 1rem;
}
}
.projects .project {
width: 100%;
background-size: 100% auto;
background-repeat: no-repeat;
background-position: top left;
display: block;
position: relative;
box-shadow: 0 3px 10px rgba(0,0,0,0.15);
}
.projects .project::before {
content: "";
display: block;
padding-top: 61.5%;
position: relative;
}
.projects .project .overlay {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
opacity: 0;
transform: scale(0.9);
-webkit-transition: all 0.3s ease-in-out;
-moz-transition: all 0.3s ease-in-out;
-o-transition: all 0.3s ease-in-out;
transition: all 0.3s ease-in-out;
}
.projects .project:hover .overlay {
opacity: 0.85;
transform: scale(1);
}
.projects .project .overlay .text {
color: #fff;
text-align: center;
position: absolute;
width: 100%;
top: 50%;
transform: translateY(-50%);
font-size: 0.85rem;
line-height: 130%;
padding: 0 1rem;
}
.projects .project .overlay .text h1,
.projects .project .overlay .text h2,
.projects .project .overlay .text h3 {
font-size: 1.35rem;
line-height: 110%;
font-weight: normal;
margin-bottom: 0.9rem;
}
footer {
padding: 1.2rem 1rem; font-size: 0.8rem;
line-height: 130%;
position: absolute;
bottom: 0px;
left: 0;
width: 100%;
margin-top: 6rem;
}
footer::after {
content: "";
width: 3rem;
height: 3rem;
background: url(//www.mohnrot.ch/wp-content/themes/mohnrot/css/img/kornelia.svg) no-repeat center center;
background-size: contain;
position: absolute;
right: 1rem;
top: -4rem;
}
footer .row {
margin-bottom: 1em;
position: relative;
}
@media (min-width: 500px) {
footer {
padding: 1.5rem 2.5rem;
display: flex;
flex-flow: row wrap;
}
footer .row {
width: 50%;
padding-right: 2rem;
}
}
@media (min-width: 1000px) {
footer {
margin-top: 2rem;
}
footer .row {
width: 25%;
padding-right: 2rem;
}
footer::after {
top: 2.5rem;
right: 2.5rem;
}
}
.projects-holder .flickity-prev-next-button {
border: 1px solid #fff;
background: rgba(0,0,0,0.6);
width: 3rem;
height: 3rem;
margin: 0 0.75rem;
opacity: 0.6;
}
.projects-holder .flickity-prev-next-button:hover {
background: rgba(0,0,0,0.8);
opacity: 1;
}
.projects-holder .flickity-prev-next-button .arrow {
fill: #fff;
}
.fraueli {
position: absolute;
z-index: 1;
border: 8px solid #000;
border-radius: 20px;
width: 260px;
height: 260px;
top: 50%;
left: 50%;
transform: translateX(-50%) translateY(-50%);
background: #fff;
-webkit-transition: all 0.2s ease-in-out;
-moz-transition: all 0.2s ease-in-out;
-o-transition: all 0.2s ease-in-out;
transition: all 0.2s ease-in-out;
}
.hide-fraueli .fraueli {
opacity: 0;
}
@media (min-width: 500px) {
.fraueli {
width: 340px;
height: 340px;
}
}
.fraueli::after {
content: "";
display: block;
padding-top: 100%;
}
.fraueli .close {
width: 2rem;
height: 2rem;
background: url(//www.mohnrot.ch/wp-content/themes/mohnrot/css/img/close.png) no-repeat center center;
background-size: contain;
position: absolute;
z-index: 9;
right: 5px;
top: 5px;
cursor: pointer;
}
.fraueli .border {
border-radius: 20px;
overflow: hidden;
position: absolute;
width: 100%;
height: 100%;
top: 0;
left: 0;
}
.fraueli iframe {
position: absolute;
width: 100%;
height: 100%;
top: 0;
left: 0;
}
.fraueli .text {
width: 100%;
height: auto;
position: absolute;
bottom: -2rem;
left: 0;
transform: translateY(100%);
}
.fraueli .text h2 {
text-transform: none;
margin-bottom: 0;
}
.page-template-page-home .absolute-center {
opacity: 0;
z-index: 0;
}
.page-template-page-home.hide-fraueli .absolute-center {
opacity: 1;
} .clear { clear: both; }
strong { font-weight: bold; }
em { font-style: italic; }
a, a:link, a:visited, a:hover, a:focus { color: inherit; }  .flickity-enabled {
position: relative;
}
.flickity-enabled:focus { outline: none; }
.flickity-viewport {
overflow: hidden;
position: relative;
height: 100%;
}
.flickity-slider {
position: absolute;
width: 100%;
height: 100%;
} .flickity-enabled.is-draggable {
-webkit-tap-highlight-color: transparent;
tap-highlight-color: transparent;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
.flickity-enabled.is-draggable .flickity-viewport {
cursor: move;
cursor: -webkit-grab;
cursor: grab;
}
.flickity-enabled.is-draggable .flickity-viewport.is-pointer-down {
cursor: -webkit-grabbing;
cursor: grabbing;
} .flickity-prev-next-button {
position: absolute;
top: 50%;
width: 44px;
height: 44px;
border: none;
border-radius: 50%;
background: white;
background: hsla(0, 0%, 100%, 0.75);
cursor: pointer; -webkit-transform: translateY(-50%);
transform: translateY(-50%);
}
.flickity-prev-next-button:hover { background: white; }
.flickity-prev-next-button:focus {
outline: none;
box-shadow: 0 0 0 5px #09F;
}
.flickity-prev-next-button:active {
opacity: 0.6;
}
.flickity-prev-next-button.previous { left: 10px; }
.flickity-prev-next-button.next { right: 10px; } .flickity-rtl .flickity-prev-next-button.previous {
left: auto;
right: 10px;
}
.flickity-rtl .flickity-prev-next-button.next {
right: auto;
left: 10px;
}
.flickity-prev-next-button:disabled {
opacity: 0.3;
cursor: auto;
}
.flickity-prev-next-button svg {
position: absolute;
left: 20%;
top: 20%;
width: 60%;
height: 60%;
}
.flickity-prev-next-button .arrow {
fill: #333;
} .flickity-page-dots {
position: absolute;
width: 100%;
bottom: -25px;
padding: 0;
margin: 0;
list-style: none;
text-align: center;
line-height: 1;
}
.flickity-rtl .flickity-page-dots { direction: rtl; }
.flickity-page-dots .dot {
display: inline-block;
width: 10px;
height: 10px;
margin: 0 8px;
background: #333;
border-radius: 50%;
opacity: 0.25;
cursor: pointer;
}
.flickity-page-dots .dot.is-selected {
opacity: 1;
}
footer .row.imprint {
text-align: left;
padding-right: 0;
}
@media (min-width: 1000px) {
footer .row.imprint {
text-align: right;
padding-right: 4rem;
padding-top: 2rem;
}
}
.xmas-advent-calendar__wrapper--big {
left: 50%;
position: relative;
transform: translateX(-50%);
}
body.home .main h3 img.wp-image-599 {
position: absolute;
left: 15%;
width: 70%;
height: auto;
}
body.home header a.logo {
display: none;
}