/*
Theme Name: Elli & Mai
Theme URI: http://www.elli-mai.de
Author: Martin Prosch
Author URI: http://www.redeleitundjunker.de
Description: Elli & Mai is a WordPress Theme bases on MARP Framework.
Version: 1.3
Tags: two-columns, three-columns, four-columns, fluid-layout, responsive-layout, post-formats, blue, red, silver, white
Text Domain: ellimai
*/

/*FONTS*/

@import url(https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic);
@import url(https://fonts.googleapis.com/css?family=Dosis:500);
@import url(https://fonts.googleapis.com/css?family=Indie+Flower);
@import "style-font-awesome.css";

/*GLOBAL*/

*,
*:after,
*:before {
    box-sizing: border-box;
}

* {
    padding: 0;
    margin: 0;

    border: none;
    outline: none;
}

html {
    font-family: sans-serif;
    font-size: 100%;
    -moz-osx-font-smoothing: grayscale;

    text-rendering: optimizeLegibility;
    -webkit-text-size-adjust: 100%;
        -ms-text-size-adjust: 100%;
}

html,
body {
    height: 100%;
    min-height: 100%;
}

body {
    font-family: "Open Sans", sans-serif;
    font-size: 1rem;
    font-weight: 400;

    text-decoration: none;

    color: #55697d;
}

/*TEXT*/

h1,
h2,
h3,
h4,
h5,
h6,
.alpha,
.beta,
.gamma,
.delta,
.epsilon,
.zeta {
    margin-bottom: 20px;

    font-family: "Indie Flower", cursive;
    font-weight: normal;
    line-height: 1.25;

    text-decoration: none;
}

h1 span,
h2 span,
h3 span,
h4 span,
h5 span,
h6 span,
p span,
.alpha,
.beta,
.gamma,
.delta,
.epsilon,
.zeta,
.intro {
    display: block;
}

h1,
.alpha {
    font-size: 2.5rem;
}

h2,
.beta {
    font-size: 2rem;
}

h3,
.gamma {
    font-size: 1.5rem;
}

h4,
.delta {
    font-size: 1.25rem;
}

h5,
.epsilon {
    font-size: 1rem;
}

h6,
.zeta {
    font-size: .75rem;

    color: red;
}

p,
blockquote {
    margin-bottom: 20px;

    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;

    text-decoration: none;
}

p:last-child {
    margin-bottom: 0;
}

strong {
    font-weight: 700;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.text-center {
    text-align: center;
}

.text-justify {
    text-align: justify;
}

.text-smaller {
    font-size: .75rem;
}

.text-bigger {
    font-size: 1.175rem;
}

/*LINKS*/

a {
    text-decoration: none;

    color: #c54b54;
    background: transparent;

    -webkit-tap-highlight-color: rgba(0,0,0,0);
}

a:hover {
    opacity: .85;
}

a:active,
a:hover,
a:focus {
    outline: 0;
}

/*BUTTONS*/

.button {
    display: block;
    width: 100%;
    padding: 1.25em;
    margin: 1.25em 0;

    cursor: pointer;
    text-decoration: none!important;

    color: white;
}

.button:hover {
    opacity: .8;
    color: white;
}

.more-link {
    font-size: .75rem;
    font-weight: 700;

    text-decoration: none!important;
    letter-spacing: .125em;
    text-transform: uppercase;

    border-bottom: 1px solid #c54b54;
}

/*LAYOUT*/

#wrapper {
    position: relative;
}

.site-header,
.site-main,
.site-footer {
    position: relative;

    display: block;
    margin: 0 auto;
    clear: both;
}

.site-header {
    z-index: 3;
}

.site-main {
    z-index: 2;
}

.site-footer {
    z-index: 1;
}

.site-header .col-logo {
    width: 25%;
    padding: 0 3em 0 1.25em;
}

@media screen and (max-width: 1025px) {
    .site-header .col-logo {
        float: none;
        width: 100%;
        max-width: 240px;
        padding: 0;
        margin: 0 auto;
    }
}

.site-header .col-menu {
    width: 100%;
}

@media screen and (min-width: 1025px) {
    .site-header .col-menu {
        position: absolute;
        top: 50%;
        left: 25%;

        width: 75%;

        -webkit-transform: translateY(-50%);
            -ms-transform: translateY(-50%);
                transform: translateY(-50%);
    }
}

.header-info {
    display: inline-block;
    padding-bottom: 1.25em;
    margin-bottom: 1.25em;

    background-image: url("images/line-header.svg");
    background-repeat: repeat-x;
    background-position: right bottom;
    background-size: 640px;
}

.header-info span {
    margin-right: 20px;

    line-height: 1.75;

    white-space: nowrap;
}

@media screen and (max-width: 641px) {
    .header-info span {
        display: inline-block;
    }
}

@media screen and (min-width: 1025px) {
    .header-info span {
        margin-right: 40px;
    }
}

.footer-info {
    padding: 1em 0;
}

.footer-info span {
    display: inline-block;
    padding: 0 1em;
}

/*MENU GLOBAL*/

.global-menu {
    position: relative;

    padding: 1.25em;
    margin: 0 auto;
}

@media screen and (max-width: 1025px) {
    .global-menu {
        text-align: center;
    }
}

.global-menu:after {
    display: block;
    clear: both;

    content: "";
}

ul.menu {
    position: relative;

    list-style: none;
}

ul.menu li {
    position: relative;

    font-weight: 400;

    letter-spacing: .0625em;

    color: #55697d;
}

ul.menu li a {
    white-space: nowrap;

    color: inherit;
}

ul.menu li.current-menu-item,
ul.menu li.current-menu-parent {
    color: #c54b54;
}

/*MENU MAIN*/

.menu-main-container {
    font-family: "Dosis", sans-serif;
    font-size: 1.5rem;
}

@media screen and (max-width: 1281px) {
    .menu-main-container {
        font-size: 1.25rem;
    }
}

@media screen and (max-width: 641px) {
    .menu-main-container {
        display: none;
        padding-top: 1.25em;
    }
}

@media screen and (min-width: 641px) {
    .menu-main-container-open {
        display: block!important;
    }
}

@media screen and (min-width: 641px) {
    .menu-main-container ul li {
        display: inline-block;
    }
}

@media screen and (min-width: 641px) {
    .menu-main-container ul li:first-child {
        display: none;
    }
}

@media screen and (min-width: 641px) {
    .menu-main-container ul li {
        margin-right: 16px;
    }
}

@media screen and (min-width: 1281px) {
    .menu-main-container ul li {
        margin-right: 40px;
    }
}

.menu-main-container ul li a {
    padding: 8px 0;
}

@media screen and (max-width: 641px) {
    .menu-main-container ul li a {
        display: block;
    }
}

.menu-main-container ul li i {
    font-size: 1rem;
}

.menu-main-container ul.sub-menu {
    position: relative;

    display: none;
    padding: .5em 0;
    margin: 20px 0;

    font-family: "Open Sans", sans-serif;

    text-align: center;

    background-color: white;
}

@media screen and (min-width: 641px) {
    .menu-main-container ul.sub-menu {
        position: absolute;
        left: 0;

        text-align: left;

        box-shadow: 0 6px 10px 1px rgba(0,0,0,.2);
    }
}

.menu-main-container ul.sub-menu:before {
    position: absolute;
    top: -7px;
    left: 20px;

    width: 0;
    height: 0;

    content: "";

    border-width: 0 8px 8px 8px;
    border-style: solid;
    border-color: transparent transparent #fff transparent;
}

@media screen and (max-width: 641px) {
    .menu-main-container ul.sub-menu:before {
        left: 50%;

        margin-left: -8px;
    }
}

.menu-main-container ul.sub-menu li {
    display: block;
    margin-right: 0;
}

.menu-main-container ul.sub-menu li a {
    display: block;
    padding: 8px 20px;

    font-size: .875rem;

    letter-spacing: .0625em;
}

/*MENU FOOTER*/

.site-footer ul {
    text-align: center;
}

.menu-footer-container {
    padding-top: 3em;

    font-family: "Dosis", sans-serif;
    font-size: 1.5rem;

    background-image: url("images/line-footer.svg");
    background-repeat: repeat-x;
    background-position: right top;
    background-size: 1440px;
}

@media screen and (max-width: 1281px) {
    .menu-footer-container {
        font-size: 1.25rem;
    }
}

.menu-footer-container ul li {
    display: inline-block;
}

.menu-footer-container li a {
    padding: 0 10px;
}

.menu-footer-meta-container ul li {
    display: inline;
}

.menu-footer-meta-container ul li a {
    font-size: .75rem;
}

.menu-footer-meta-container ul li:after {
    content: " – ";

    color: #55697d;
}

.menu-footer-meta-container ul li:last-child:after {
    content: " ";
}

.back-to-top {
    width: 40px;
    height: 40px;
    margin: 1.25em auto 0 auto;

    line-height: 36px;

    text-align: center;
    vertical-align: middle;

    color: #55697d;
    border-radius: 100%;
}

@media screen and (min-width: 1025px) {
    .back-to-top {
        position: absolute;
        right: 20px;
        bottom: 20px;
    }
}

.back-to-top:hover {
    opacity: .8;
    color: #55697d;
}

/*MENU MOBILE*/

.menu-mobile {
    display: none;

    cursor: pointer;
}

@media screen and (max-width: 641px) {
    .menu-mobile {
        display: block;
    }
}

.menu-mobile:before {
    margin-right: 10px;

    font-family: "FontAwesome";
    font-size: 1rem;
    line-height: .75;

    content: "\f0c9";
    text-align: center;
}

.menu-mobile-open:before {
    content: "\f00d";
}

.menu-mobile-title {
    font-size: 1rem;
    font-weight: 700;

    letter-spacing: .0625em;
}

/*COLUMNS*/

.col-container {
    position: relative;

    padding: 0;
    margin: 0 -1.25em;
    clear: both;
}

.site-header .col-container {
    margin-bottom: -15px;
}

/*.site-main .col-container {
    overflow: hidden;
}*/

.col-container:after {
    display: block;
    clear: both;

    content: "";
}

.col-container--0 {
    margin: 0;
}

.col {
    position: relative;

    display: block;
    float: left;
    width: 100%;
    min-height: 1px;
    padding: 1.25em;
}

/*.col:last-child {
    padding-bottom: 0;
}

.col .col:last-child {
    padding-bottom: 1.25em;
}*/

@media screen and (max-width: 1025px) {
    .col .col {
        width: 100%;
    }
}

.col--0 {
    padding: 0;
}

.col-1-10 {
    width: 10%;
}

.col-1-10-fix {
    width: 10%!important;
}

.col-1-8 {
    width: 12.5%;
}

.col-1-8-fix {
    width: 12.5%!important;
}

.col-1-6 {
    width: 16.66666%;
}

@media screen and (max-width: 1281px) {
    .col-1-6 {
        width: 33.33333%;
    }
}

@media screen and (max-width: 769px) {
    .col-1-6 {
        width: 50%;
    }
}

@media screen and (max-width: 481px) {
    .col-1-6 {
        width: 100%;
    }
}

.col-1-6-fix {
    width: 16.66666%!important;
}

.col-1-5 {
    width: 20%;
}

@media screen and (max-width: 1281px) {
    .col-1-5 {
        width: 33.33333%;
    }
}

@media screen and (max-width: 769px) {
    .col-1-5 {
        width: 100%;
    }
}

.col-1-5-fix {
    width: 20%!important;
}

.col-1-4 {
    width: 25%;
}

@media screen and (max-width: 769px) {
    .col-1-4 {
        width: 50%;
    }
}

@media screen and (max-width: 481px) {
    .col-1-4 {
        width: 100%;
    }
}

.col-1-4-fix {
    width: 25%!important;
}

.col-1-3 {
    width: 33.33333%;
}

@media screen and (max-width: 769px) {
    .col-1-3 {
        width: 50%;
    }
}

@media screen and (max-width: 481px) {
    .col-1-3 {
        width: 100%;
    }
}

.col-1-3-fix {
    width: 33.33333%!important;
}

.col-1-2 {
    width: 50%;
}

@media screen and (max-width: 769px) {
    .col-1-2 {
        width: 100%;
    }
}

.col-1-2-fix {
    width: 50%!important;
}

.col-2-3 {
    width: 66.666666%;
}

@media screen and (max-width: 769px) {
    .col-2-3 {
        width: 100%;
    }
}

.col-2-3-fix {
    width: 66.666666%!important;
}

.col-3-4 {
    width: 75%;
}

@media screen and (max-width: 769px) {
    .col-3-4 {
        width: 50%;
    }
}

@media screen and (max-width: 481px) {
    .col-3-4 {
        width: 100%;
    }
}

.col-3-4-fix {
    width: 75%!important;
}

/*COLUMNS CLEARING*/

.col-1-3:nth-of-type(3n+1) {
    margin-bottom: 40px;
    clear: left;
}

@media screen and (max-width: 769px) {
    .col-1-3:nth-of-type(3n+1) {
        clear: none;
    }

    .col-1-3:nth-of-type(odd) {
        clear: left;
    }
}

@media screen and (max-width: 1281px) {
    .col-1-6:nth-of-type(3n+1) {
        clear: left;
    }
}

@media screen and (max-width: 769px) {
    .col-1-6:nth-of-type(3n+1) {
        clear: none;
    }

    .col-1-6:nth-of-type(odd) {
        clear: left;
    }
}

/*SPECIAL COLS*/

.col-home figure {
    min-height: 390px;
}

@media screen and (min-width: 1081px) {
    .col-home,
    .col-home .content-inner {
        min-height: 400px;
    }
}


@media screen and (max-width: 1081px) {
    .col-home {
        width: 80%;
        margin-left: 10%;
    }
}

@media screen and (max-width: 769px) {
    .col-home {
        width: 100%;
        margin-left: 0;
    }
}

@media screen and (max-width: 769px) {
    .col-brands {
        width: 100%;
    }
}

@media screen and (max-width: 1023px) {
    .col-map {
        width: 100%;
    }
}

@media screen and (max-width: 1023px) {
    .col-bubble {
        width: 100%;
    }
}

.col-contact .content-inner {
    margin-bottom: 2.5em;
}

@media screen and (max-width: 1081px) {
    .col-contact {
        width: 60%;
        margin-left: 20%;
    }
}

@media screen and (max-width: 641px) {
    .col-contact {
        width: 100%;
        margin-left: 0;
    }
}

@media screen and (min-width: 481px) {
    .col-right {
        padding: 40px;
    }
}

@media screen and (min-width: 1081px) {
    .col-right {
        padding: 40px 80px;
    }
}

@media screen and (min-width: 1281px) {
    .col-right {
        padding: 40px 120px;
    }
}

/*SECTIONS*/

.section {
    position: relative;

    margin: 0 auto;
    clear: both;
}

/*CONTENT*/

.content {
    position: relative;

    padding: 2.5em 1.25em;
    margin: 0 auto;
}

.content:after {
    display: block;
    clear: both;

    content: "";
}

.content a {
    text-decoration: underline;
}

.content-alt {
    padding-top: 0;
    padding-bottom: 0;
}

.content-inner {
    padding: 1.25em;
}

@media screen and (min-width: 1081px) {
    .content-facebook {
        padding: 1.25em 2.5em;
    }
}

.border-effect {
    border: solid 2px transparent;
    border-radius: 255px 15px 225px 15px/15px 225px 15px 255px;
}

.content-brands {
    padding-top: 2.5em;
    margin-top: 2.5em;
}

.content-bubble {
    position: relative;

    padding: 80px 200px 200px 80px;
    margin-left: 40px;
}

@media screen and (max-width: 1281px) {
    .content-bubble {
        padding: 60px 120px 60px 60px;
    }
}

@media screen and (max-width: 1023px) {
    .content-bubble {
        width: 50%;
        padding: 60px 0 60px 60px;
        margin-left: 33.33333%;
    }
}

@media screen and (max-width: 769px) {
    .content-bubble {
        margin-left: 25%;
    }
}

@media screen and (max-width: 641px) {
    .content-bubble {
        width: 75%;
        padding: 60px 0 120px 60px;
        margin-left: 12.5%;
    }
}

@media screen and (max-width: 481px) {
    .content-bubble {
        width: 100%;
        padding: 50px 0 120px 40px;
        margin-left: 0;
    }
}

.content-bubble:before,
.content-bubble-mai:before {
    position: absolute;

    display: block;

    content: "";

    background-repeat: no-repeat;
    background-size: contain;
}

.content-bubble:before {
    top: 0;
    left: 0;

    width: 200px;
    height: 200px;

    background-image: url("images/bubble-footer.svg");
    background-position: 0 0;
}

@media screen and (max-width: 1281px) {
    .content-bubble:before {
        width: 120px;
        height: 120px;
    }
}

.content-bubble-mai:before {
    right: 2.5em;
    bottom: -5.625em;

    width: 346px;
    height: 330px;

    background-image: url("images/bubble-footer-mai.png") ;
    background-position: right bottom;
}

@media screen and (max-width: 1281px) {
    .content-bubble-mai:before {
        height: 200px;
    }
}

.circle-container {
    position: relative;
    left: 50%;
    z-index: 2;

    display: block;
    width: 500px;
    margin-top: 40px;

    -webkit-transform: translateX(-50%);
        -ms-transform: translateX(-50%);
            transform: translateX(-50%);
}

.circle-container .content-circle {
    position: relative;

    text-align: center;
}

.circle-container .content-openings {
    left: 0;

    display: block;
    width: 320px;
    height: 320px;

    border-radius: 100%;
}

@media screen and (max-width: 641px) {
    .circle-container .content-openings {
        left: 50%;

        width: 280px;
        height: 280px;
        margin-left: -140px;
    }
}

.circle-container .content-openings:after {
    position: absolute;
    top: -60px;
    left: -70px;

    display: block;
    width: 640px;
    height: 400px;

    content: "";

    background: url("images/bubble-openings.svg") no-repeat 0 0;
}


.circle-container .content-address {
    top: -30px;
    left: 50%;

    display: block;
    width: 200px;
    height: 200px;
    margin-left: -60px;

    border-radius: 100%;
}

@media screen and (min-width: 641px) {
    .circle-container .content-address {
        position: absolute;
        top: 60px;
        left: 300px;

        margin-left: 0;
    }
}

.circle-container .content-address p,
.content-address p span {
    margin-bottom: 6px!important;
}

.circle-container .content-address a {
    border: none;
}

.teaser-bubble {
    position: absolute;
    top: 220px;
    left: 10px;
    z-index: 2;

    display: block;
    width: 140px;
    height: 140px;

    background: url("images/bubble-teaser.svg") no-repeat;
}

@media screen and (min-width: 1541px) {
    .teaser-bubble {
        left: -40px;
    }
}

/*SIZES*/

.size--auto {
    margin: 0 auto;
}

.size--tn {
    max-width: 40px;
}

.size--4xs {
    max-width: 80px;
}

.size--3xs {
    max-width: 160px;
}

.size--2xs {
    max-width: 320px;
}

.size--xs {
    max-width: 480px;
}

.size--s {
    max-width: 640px;
}

.size--m {
    max-width: 768px;
}

.size--l {
    max-width: 1024px;
}

.size--xl {
    max-width: 1280px;
}

.size--2xl {
    max-width: 1440px;
}

.size--3xl {
    max-width: 1680px;
}

.size--hd {
    max-width: 1280px;
}

.size--fhd {
    max-width: 1920px;
}

.size--fs {
    padding: 0;
}

.size--10 {
    width: 10%;
}

.size--20 {
    width: 20%;
}

.size--25 {
    width: 25%;
}

.size--30 {
    width: 30%;
}

.size--33 {
    width: 33.33333%;
}

.size--40 {
    width: 40%;
}

.size--50 {
    width: 50%;
}

.size--60 {
    width: 60%;
}

.size--70 {
    width: 70%;
}

.size--75 {
    width: 75%;
}

.size--80 {
    width: 80%;
}

.size--90 {
    width: 90%;
}

.size--100 {
    width: 100%;
}

/*SLIDER*/

.slider {
    position: relative;

    margin: 0 auto;
}

.slider .post-count {
    position: absolute;
    bottom: 0;
    left: 50%;
    z-index: 20;

    width: 120px;
    height: 40px;
    margin-left: -60px;

    font-size: 1rem;
    line-height: 58px;

    text-align: center;

    color: #55697d;
    background: url("images/slider-cloud-silver.svg") no-repeat center bottom;
}

@media screen and (max-width: 641px) {
    .slider .post-count {
        bottom: -20px;
    }
}

.bg-lightsilver .slider:before,
.bg-lightsilver .slider:after {
    position: absolute;
    z-index: 2;

    display: block;
    width: 100px;
    height: 100px;

    content: "";
}

.bg-lightsilver .slider:before {
    bottom: -20px;
    left: -20px;

    background: url("images/slider-stripes-red.svg") no-repeat center center;
}

.bg-lightsilver .slider:after {
    top: -20px;
    right: -20px;

    background: url("images/slider-stripes-darkblue.svg") no-repeat center center;
}

@media screen and (max-width: 641px) {
    .bg-lightsilver .slider:before,
    .bg-lightsilver .slider:after {
        width: 50px;
        height: 50px;
    }
}


.bg-lightsilver .slider .post-count {
    background-image: url("images/slider-cloud-lightsilver.svg");
}

.slider .slides {
    margin: 0!important;
}

.slider .slides li {
    position: relative;

    list-style: none!important;
}

.slider .slides > li {
    display: none;

    -webkit-backface-visibility: hidden;
}

.slides:after {
    display: block;
    visibility: hidden;
    height: 0;
    clear: both;

    line-height: 0;

    content: ".";
}

html[xmlns] .slides {
    display: block;
}

* html .slides {
    height: 1%;
}

.no-js .slides > li:first-child {
    display: block;
}

.marp-viewport {
    -webkit-transition: all .5s ease;
            transition: all .5s ease;
}

.loading .marp-viewport {
    max-height: 300px;
}

.marp-direction-nav {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 30;

    width: 100%;
    height: 100%;
    margin: 0!important;
}

@media screen and (max-width: 641px) {
    .marp-direction-nav {
        height: calc(100% + 20px);
    }
}

.marp-direction-nav li {
    list-style: none!important;
}

.marp-direction-nav a {
    position: absolute;
    top: 0;

    display: block;
    width: 50%;
    height: 100%;

    text-decoration: none!important;

    -webkit-tap-highlight-color: rgba(0,0,0,0);
}

.marp-direction-nav a.marp-prev {
    left: 0;
}

.marp-direction-nav a.marp-next {
    right: 0;
}

.marp-direction-nav a.marp-prev:before,
.marp-direction-nav a.marp-next:before {
    position: absolute;
    bottom: 0;

    display: block;
    width: 40px;
    height: 40px;

    font-family: "FontAwesome";
    font-size: .75rem;
    line-height: 60px;

    text-align: center;

    color: #55697d;
}

.marp-direction-nav a.marp-prev:before {
    right: 18px;

    content: "\f053";
}

.marp-direction-nav a.marp-prev:hover:before {
    right: 22px;
}

.marp-direction-nav a.marp-next:before {
    left: 18px;

    content: "\f054";
}

.marp-direction-nav a.marp-next:hover:before {
    left: 22px;
}

/*IMAGES*/

.image-container {
    position: relative;

    display: block;
    margin: 0 auto;
    clear: both;

    line-height: 0;
}

.image-container-circle {
    padding: 4px;
    margin-bottom: 1.25em;

    border-radius: 100%;
    background-color: white;
}


.col-1-3 .image-container-circle {
    width: 60%;
}

@media screen and (max-width: 1281px) {
    .col-1-5 .image-container-circle,
    .col-1-6 .image-container-circle {
        width: 60%;
    }
}

.bubble-image {
    background-image: url("images/bubble-image.svg");
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 83%;
}

img {
    width: 100%;
    height: auto;
    margin: 0 auto;

    line-height: 0;

    border: none;
}

img.alignnone,
img.aligncenter {
    display: block;
    margin: 0 auto;
    clear: both;
}

img.alignleft {
    float: left;
}

img.alignright {
    float: right;
}

.image-container-circle img,
img.circle {
    border-radius: 100%;
    aspect-ratio: 1 / 1;
    contain-intrinsic-size: none;
}

img:last-child {
    margin-bottom: 0;
}

/*IMAGES WP-GALLERY*/

.gallery {
    padding: 0;
    margin: 0 -5px;
    clear: both;
}

.gallery .gallery-item {
    display: inline-block;
    height: auto;
    padding: 0 5px;
    margin: 0;
}

.gallery-columns-5 .gallery-item {
    float: left;
}

.gallery .gallery-item .gallery-icon {
    line-height: 0;
}

.gallery-columns-1 .gallery-item {
    width: 10%;
}

@media screen and (max-width: 769px) {
    .gallery-columns-1 .gallery-item {
        width: 20%;
    }
}

.gallery-columns-2 .gallery-item {
    width: 50%;
}

.gallery-columns-3 .gallery-item {
    width: 33.33333%;
}

.gallery-columns-4 .gallery-item {
    width: 25%;
}

.gallery-columns-5 .gallery-item {
    width: 20%;
}

@media screen and (max-width: 769px) {
    .gallery-columns-5 .gallery-item {
        width: 33%;
    }
}

.gallery-columns-6 .gallery-item {
    width: 16.66666%;
}

@media screen and (max-width: 769px) {
    .gallery-columns-6 .gallery-item {
        width: 33.33333%;
    }
}

.gallery-columns-7 .gallery-item {
    width: 14.28571%;
}

@media screen and (max-width: 769px) {
    .gallery-columns-7 .gallery-item {
        width: 25%;
    }
}

.gallery-columns-8 .gallery-item {
    width: 12.5%;
}

@media screen and (max-width: 769px) {
    .gallery-columns-8 .gallery-item {
        width: 25%;
    }
}

.gallery-columns-9 .gallery-item {
    width: 11.11111%;
}

@media screen and (max-width: 1025px) {
    .gallery-columns-9 .gallery-item {
        width: 16.666666%;
    }
}

@media screen and (max-width: 769px) {
    .gallery-columns-9 .gallery-item {
        width: 33.33333%;
    }
}

@media screen and (max-width: 481px) {
    .gallery .gallery-item {
        width: 50%;
    }
}

/*@media screen and (max-width: 321px) {
    .gallery .gallery-item {
        width: 100%;
    }
}
*/

.gallery br {
    display: none;
}

/*VIDEOS/MAPS/IFRAMES*/

.iframe-container {
    position: relative;

    width: 100%;
    height: 0;
    padding-bottom: 56.25%;
    margin-bottom: 1.25em;
    overflow: hidden;
}

.iframe-container iframe {
    position: absolute;
    top: 0;
    left: 0;

    width: 100%;
    height: 100%;
    padding: 0;
    margin: 0;

    border: none;
}

/*MAP*/

#google-map {
    width: 100%;
    height: 400px;
}

@media screen and (max-width: 1281px) {
    #google-map {
        height: 320px;
    }
}

.gm-style-iw p {
    padding: 0;
    margin: 0;
}

/*FORMS*/

form {
    position: relative;
}

form:after {
    display: block;
    clear: both;

    content: "";
}

input,
textarea,
select {
    border-radius: 0;

    -webkit-appearance: none;
       -moz-appearance: none;
            appearance: none;
}

form input,
form textarea {
    position: relative;

    display: block;
    width: 100%;
    max-width: 100%;
    padding: .75em;
    margin-top: .5em;

    font-family: "Open Sans", sans-serif;
    font-size: 1rem;
    font-weight: normal;
    line-height: 1.25;

    color: #55697d;
    border: 1px solid #a8c6df;
    background-color: white;
}

form input[type=submit] {
    float: right;
    width: auto;
    padding: .75em 3em;
    margin-top: 0;

    cursor: pointer;

    color: white;
    border: none;
    background-color: #55697d;
}

@media screen and (max-width: 481px) {
    form input[type=submit] {
        float: none;
        width: 100%;
    }
}

form input[type=submit]:hover {
    opacity: .8;
}

form textarea {
    height: 160px;
    min-width: 100%;
}

form input:focus,
form textarea:focus {
    border-color: #eed3d5;
    outline: none;
}

form .ajax-loader {
    display: none;
}

form span.wpcf7-not-valid-tip {
    padding: 16px 0;

    color: #c54b54;
}

form div.wpcf7-response-output {
    padding: 1.25em;
    margin: 20px 0;

    line-height: 1.5;

    border: 1px solid #a8c6df;
    background-color: white;
}

form div.wpcf7-validation-errors {
    color: #c54b54;
    border: 1px solid #c54b54;
}

form div.wpcf7-mail-sent-ok {
    color: #80c484;
    border: 1px solid #80c484;
}

form .wpcf7-list-item-label {
    display: none;
}

/*EFFECTS/TRANSITIONS*/

.effects,
.back-to-top,
a:before,
input,
textarea {
    -webkit-transition: all .4s;
            transition: all .4s;
}


/*VALIGN*/

.valign-middle-fix {
    position: absolute;
    top: 50%;
    left: 0;

    display: block;
    width: 100%;
    height: auto;

    -webkit-transform: translateY(-50%);
        -ms-transform: translateY(-50%);
            transform: translateY(-50%);
}

@media screen and (min-width: 1081px) {
    .valign-top,
    .valign-middle,
    .valign-bottom {
        position: absolute;
        left: 0;

        display: block;
        height: auto;
    }

    .valign-top {
        top: 0;
    }

    .valign-middle {
        top: 50%;

        -webkit-transform: translateY(-50%);
            -ms-transform: translateY(-50%);
                transform: translateY(-50%);
    }

    .valign-bottom {
        bottom: 0;
    }

    .valign-1-4 {
        left: 75%;
    }

    .valign-1-3 {
        left: 66.66666%;
    }

    .valign-1-2 {
        left: 50%;
    }

    .valign-2-3 {
        left: 33.33333%;
    }

    .valign-3-4 {
        left: 25%;
    }
}

/*COLORS*/

/*TEXT COLORS*/

.text-white {
    color: white;
}

.text-black {
    color: black;
}

.text-darkred {
    color: #b5454d;
}

.text-red {
    color: #c54b54;
}

.text-lightred {
    color: #eed3d5;
}

.text-darkblue {
    color: #55697d;
}

.text-blue {
    color: #a8c6df;
}

.text-lightblue {
    color: #ebf2fa;
}

.text-silver {
    color: #dde4eb;
}

.text-lightsilver {
    color: #e9edf5;
}

.text-green {
    color: #80c484;
}

/*BACKGROUND COLORS*/

.bg-transp {
    background-color: transparent;
}

.bg-white {
    background-color: white;
}

.bg-black {
    background-color: black;
}

.bg-darkred {
    background-color: #b5454d;
}

.bg-red {
    background-color: #c54b54;
}

.bg-lightred {
    background-color: #eed3d5;
}

.bg-darkblue {
    background-color: #55697d;
}

.bg-blue {
    background-color: #a8c6df;
}

.bg-lightblue {
    background-color: #ebf2fa;
}

.bg-silver {
    background-color: #dde4eb;
}

.bg-lightsilver {
    background-color: #e9edf5;
}

.bg-green {
    background-color: #80c484;
}

/*BACKGROUND IMAGES*/

.bg-center {
    background-position: center center;
}

.bg-cover {
    background-size: cover;
}

.bg-contain {
    background-size: contain;
}

.bg-dots-white {
    background-image: url("images/dots-white.png");
    background-repeat: repeat-x;
    background-position: left bottom 20%;
}

.bg-waves {
    position: relative;
    z-index: 4;

    margin-bottom: 10px;
}

.bg-waves:after {
    position: absolute;
    bottom: -20px;
    left: 0;
    z-index: -1;

    display: block;
    width: 100%;
    height: 20px;

    content: "";

    background-repeat: repeat-x;
}

.bg-waves-lightred:after {
    background-image: url("images/waves-bottom-lightred.png");
}

.bg-waves-lightsilver:after {
    background-image: url("images/waves-bottom-lightsilver.png");
}

.bg-elli {
    background-image: url("images/elli.png");
    background-repeat: no-repeat;
    background-position: right bottom;
    background-size: 100px;
}

@media screen and (max-width: 481px) {
    .bg-elli {
        padding-bottom: 100px;
    }
}

@media screen and (min-width: 1281px) {
    .bg-elli {
        background-size: 160px;
    }
}

@media screen and (max-width: 1081px) {
    .bg-elli p {
        padding-right: 80px;
    }
}

@media screen and (max-width: 481px) {
    .bg-elli p {
        padding-right: 0;
    }
}

/*SCREEN-HEIGHTS*/

.screen-height--10 {
    height: 10vh;
}

.screen-height--20 {
    height: 20vh;
}

.screen-height--25 {
    height: 25vh;
}

.screen-height--30 {
    height: 30vh;
}

.screen-height--33 {
    height: 33.33333vh;
}

.screen-height--40 {
    height: 40vh;
}

.screen-height--50 {
    height: 50vh;
}

.screen-height--60 {
    height: 60vh;
}

.screen-height--70 {
    height: 70vh;
}

.screen-height--75 {
    height: 75vh;
}

.screen-height--80 {
    height: 80vh;
}

.screen-height--90 {
    height: 90vh;
}

.screen-height--100 {
    height: 100vh;
}


/*HELPER/FLOAT/CLEAR*/

hr {
    padding: 0;
    margin: 0 auto;

    border: none;
    border-top: 1px solid #f2f2f2;
}

.excerpt {
    padding: 0 80px;
}

@media screen and (max-width: 1281px) {
    .excerpt {
        padding: 0 60px;
    }
}

@media screen and (max-width: 1025px) {
    .excerpt {
        padding: 0 20px;
    }
}

@media screen and (max-width: 641px) {
    .excerpt {
        padding: 0;
    }
}

@media screen and (max-width: 481px) {
    .excerpt {
        padding: 0 40px;
    }
}

.lighter {
    opacity: .5;
}

.no-space {
    padding: 0!important;
    margin: 0!important;

    line-height: 0!important;
}

.no-margin {
    margin: 0;
}

.no-padding,
.pad--0 {
    padding: 0;
}

.pad--4 {
    padding: 4px;
}

.pad--40 {
    padding: 20px 40px;
}

.min--400 {
    min-height: 400px;
}

.min--500 {
    min-height: 500px;
}

.no-border {
    border-color: transparent;
}

.margin--60 {
    margin-bottom: 60px;
}

.visible {
    visibility: visible;
}

.hidden {
    visibility: hidden;
}

.block {
    display: block;
}

.none {
    display: none;
}

.o-hidden {
    overflow: hidden;
}

.clear {
    display: block;
    visibility: hidden;
    width: 0;
    height: 0;
    overflow: hidden;
    clear: both;
}

/*SELECTION*/

::-moz-selection {
    color: white;
    background-color: #c54b54;
    text-shadow: none;
}

::selection {
    color: white;
    background-color: #c54b54;
    text-shadow: none;
}

/*CODE*/

code {
    display: block;
    padding: 10px;

    font-size: 12px;

    color: blue;
    border: 1px solid blue;
    background-color: lavender;
}
