﻿/*
Theme Name: Mica-Club
Author: Felix Geiger Softwareentwicklung
Description: Theme für https://www.mica-club
Version: 0.1
Text Domain: mica

THIS IS A PROTECTED PIECE OF SOFTWARE UNDER GERMAN IP-LAW (UrhG).
YOU ARE NOT PERMITTED TO USE THIS SOFTWARE OUTSIDE OF THE LICENCED
WEBSITE (mica-club.com). YOU ARE NOT ALLOWED TO COPY ANY PARTS OR MAKE DERIVED WORKS.

AGAIN, THIS IS NOT UP FOR GRABS. IF YOU WANT TO USE IT, BUY IT.
AUTHOR AND HOLDER OF COPYRIGHT IS FELIX GEIGER, kontakt@felixgeiger.de
*/


/**** RESETS FROM "CONDENSED ERIC MEYER" ****/
blockquote,body,dd,div,dl,dt,fieldset,form,h1,h2,h3,h4,h5,h6,input,li,ol,p,pre,td,textarea,th,ul{padding:0;margin:0}abbr,acronym,fieldset,img{border:0}table{border-collapse:collapse;border-spacing:0}ol,ul{list-style:none}address,caption,cite,code,dfn,em,strong,th,var{font-weight:400;font-style:normal}caption,th{text-align:left}h1,h2,h3,h4,h5,h6{font-weight:400;font-size:100%}q:after,q:before{content:''}

/**** CLEARFIX ****/
.clearfix:after{content:" ";visibility:hidden;display:block;height:0;clear:both}


/**** FONTS ****/
@font-face {
    font-family: 'basiersquaremono';
    src: url('./fonts/basiersquaremono-regular-webfont.eot');
    src: url('./fonts/basiersquaremono-regular-webfont.eot?#iefix') format('embedded-opentype'),
    url('./fonts/basiersquaremono-regular-webfont.woff') format('woff'),
    url('./fonts/basiersquaremono-regular-webfont.ttf') format('truetype');
}

body{
    font-family: 'basiersquaremono', Helvetica, Arial, sans-serif;
    font-style: normal;
    font-weight: normal;
    font-size: 16px;
    line-height: 125%;
    background-color: #000000;
    color: #fff;
}
/**** /FONTS ****/


/**** GLOBALS ****/
:root {
    --speed1: 0.1s;
    --speed2: 0.2s;
    --speed3: 0.3s;
    --primary: #fff;
    --on-primary: #000;
}

html, body {
    margin: 0;
    padding: 0;
}

a, a:visited {
    color: inherit;
    text-decoration: none;
}

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

.block { display: block; }
.flex { display: flex; }
.mobileOnly { display: none; }
@media screen AND (min-width: 800px) {
    .mobileOnly { display: none !important; }
}

.layoutContainer {
    max-width: 1152px;
    margin: 0 auto;
    padding: 0px;
    box-sizing: border-box;
}

.materialButton {
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    border: none;
    font-family: inherit;
    outline: inherit;
    justify-content: center;
    -webkit-tap-highlight-color: transparent;
    position: relative;
    vertical-align: middle;
}

.materialButton {
    box-sizing: content-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 2.5rem;
    min-width: 2.5rem;
    font-size: .875rem;
    font-weight: 500;
    color: var(--on-primary) !important;
    padding: 0 1.5rem;
    background-color: var(--primary);
    margin: 0 0.5rem;
    border-radius: 0.5rem;
    transition: var(--speed3) transform,var(--speed3) border-radius,var(--speed3) padding;
    user-select: none;
    gap: 1rem;
}

.materialButton:first-of-type:last-of-type {
    margin-left: 0;
}

.materialButton.round:not(img,video) {
    border-radius: 2rem!important;
}

.materialButton:after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    border-radius: inherit;
    width: 100%;
    height: 100%;
    background-position: center;
    background-image: radial-gradient(circle,rgb(255 255 255 / .4) 1%,transparent 1%);
    opacity: 0;
    transition: none;
}

.materialButton:focus:after {
    background-size: 15000%;
    opacity: 1;
    transition: var(--speed2) background-size linear;
}

/**** /GLOBALS ****/


/**** LAYOUT ****/
#page {
    box-sizing: border-box;
    padding-bottom: 3rem;

}
/**** /LAYOUT ****/


/**** CMS ***/
.fromCms ul {
    list-style: disc inside;
}

.fromCms strong {
    font-weight: normal;
	text-transform: uppercase;
}

.fromCms p, .fromCms ul {
    margin-bottom: 1em;
    line-height: 1.5;
}

.fromCms ul:last-child, .fromCms p:last-child {
    margin-bottom: 0;
}

.fromCms em {
    font-style: italic;
}

.fromCms a {
    /*color: #800032;*/
    color: #c3004c;
}

.fromCms h2 {
	font-size: 150%;
	margin-bottom: 1em;
}

.fromCms h3 {
	font-size: 125%;	
	margin-bottom: 1em;
}

.fromCms p + h2, .fromCms p + h3 {
	margin-top: 2em;
}
/**** /CMS ***/


/**** HEADER ****/
#topHeader {
    padding-top: 1rem;
}

#headerInner {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    box-sizing: border-box;
    padding: 1rem 0.5rem;
    height: 7rem;
}

#headerLogoLeft {
    display: block;
    width: auto;
    height: 100%;
}

#headerLogoLink {
    display: block;
    height: 100%;
}

#topHeaderMenu {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    width: 530px;
    flex-wrap: wrap;
    box-sizing: border-box;
}

#headerNav li {
    margin-top: 1rem;
}

#headerNav li {
    margin-left: 1em;
    border-left: 1px solid #fff;
    padding-left: 1em;
    display: inline-flex;
    height: 1.25em;
    align-items: center;
}

#headerNav li:first-of-type {
    padding-left: 0;
    margin-left: 0;
    border: 0 none;
}

#headerNav li:nth-of-type(5) {
    border: 0 none;
}
/**** /HEADER ****/


/**** FRONTPAGE ****/
#frontTop {
    position: relative;
    user-drag: none;
    user-select: none;
    -moz-user-select: none;
    -webkit-user-drag: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    margin-bottom: 6rem;
}

#topBg {
    position: absolute;
    left: 2px;
    top: 2px;
    z-index: 1;
    width: calc(100% - 4px);
    height: calc(100% - 4px);
    object-fit: cover;
    object-position: center;
}

#topMask {
    display: block;
    position: relative;
    z-index: 2;
}

#frontInterior {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 6em;
    justify-content: flex-start;
}

#frontInterior .galleryImage {
    width: calc(33% - 0.666em);
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1em;
    margin-right: 1em;
    overflow: hidden;
    height: 280px;
    cursor: pointer;
}

#frontInterior .galleryImage:nth-of-type(3n) {
    margin-right: 0;
}

#frontInterior .galleryImage img {
    display: block;
    width: 100%;
    transform-origin: center;
    transition: transform 0.2s linear;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

#frontInterior .galleryImage:hover img {
    transform: scale(1.1);
}

#reservationForm {
    margin-top: 3em;
}

.frontHeading {
    font-size: 150%;
    font-weight: normal;
    margin-bottom: 1.5rem;
    line-height: normal;
}

.frontBlock {
    margin-bottom: 6rem;
}
/**** /FRONTPAGE ****/


/**** IMAGE OVERLAY ****/
body.locked {
    overflow: hidden;
}

#imageOverlay {
    position: fixed;
    left: 0;
    top: 0;
    z-index: 10;
    background-color: #000;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;

    display: none;
}

#imageOverlay.active {
    display: flex;
}

#overlayInner {
    display: block;
    max-width: 90vw;
    max-height: 90vh;
    position: relative;
}

#overlayImage {
    display: block;
    max-width: 90vw;
    max-height: 90vh;
}

#overlayClose {
    position: absolute;
    right: -20px;
    top: -20px;
    cursor: pointer;
}
/**** /IMAGE OVERLAY ****/



/**** CONTACT-FORM ****/
.contactWrapper .inputWrapper {
    position: relative;
    display: block;
	width: 25em;
    margin-bottom: 1em;
}

.contactWrapper .inputWrapper ::placeholder {
    color: transparent;
}

.contactWrapper .inputWrapper.age {
    margin-top: 1em;
}

.contactWrapper .inputWrapper > label {
    display: block;
    position: absolute;
    top: -20px;
    left: 15px;
    font-weight: normal;
    line-height: 1;
    font-size: 0.8em;
    transition: all 0.2s ease-out;
    z-index: 2;
    color: #9D9D9D;
}

.contactWrapper .inputWrapper input, .contactWrapper .inputWrapper textarea, .contactWrapper .inputWrapper select {
    background-color: #272727;
    border: 1px solid #9D9D9D;
    border-radius: 2px;
    font: inherit;
    line-height: 1;
    box-sizing: border-box;
    width: 100%;
    color: #fff;
    display: block;
    font-size: 1rem;
    height: 3rem;
    padding: 1rem;
}

.contactWrapper .inputWrapper select {
    padding: 0.25rem 1rem;
}

.contactWrapper .inputWrapper textarea {
    height: auto;
}

.contactWrapper input:placeholder-shown:not(:focus) + label, .contactWrapper .wpcf7-form-control-wrap + label, .contactWrapper textarea:placeholder-shown:not(:focus) + label {
    font-size: 1rem;
    line-height: 1rem;
    height: 1rem;
    top: 1rem;
    color: #646464;
}
/*
.contactWrapper textarea:placeholder-shown:not(:focus) + label {
    font-size: 1em;
    top: calc(15px + 0.25em);
    color: #646464;
}*/

.contactWrapper .row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 3em;
}

.contactWrapper .row.alignTop {
    align-items: flex-start;
}

.contactWrapper .row > .inputWrapper {
    width: calc(33.333% - 8px);
}

.contactWrapper .buttonWrapper {
    margin-top: 15px;
}

.contactWrapper .buttonWrapper > input {
    font: inherit;
    display: flex;
    font-size: 1em;
    font-weight: normal;
    color: #fff;
    height: 50px;
    line-height: 1;
    padding: 0 43px;
    /*background-color: #800032;*/
    background-color: #c3004c;
    border: 0;
}

.contactWrapper .tosWrapper {
    margin-top: 25px;
}

.contactWrapper .tosWrapper .wpcf7-list-item-label {
    /*visibility: hidden;*/
}

.contactWrapper .wpcf7-acceptance .wpcf7-list-item {
    margin-left: 0;
    display: flex;
    align-items: flex-start;
}

.contactWrapper .wpcf7-acceptance input {
    margin-top: 0.3em;
    min-width: 1em;
    min-height: 1em;
}

.contactWrapper .wpcf7-acceptance label {
    user-select: none;
    margin-left: 0.3em;
}

.contactWrapper .tosWrapper a {
    /*color: #800032;*/
    color: #c3004c;
}

.contactWrapper .threeG {
	margin-top: 0.8em;
}

.wpcf7-form .wpcf7-response-output {
    margin: 0;
}

.contactWrapper .hidden {
    display: none;
}

.row.amount2, .row.amount_2 {
    justify-content: flex-start;
}

.row.amount2 .inputWrapper, .row.amount_2 .inputWrapper {
    margin-right: 16px;
}

.contactWrapper input[type="file"] {
    height: auto;
}

.contactWrapper .wpcf7-submit:disabled {
    opacity: 0.3;
}
/**** CONTACT-FORM ****/


/**** RESERVATIONS ****/
#reservierung {
    margin-bottom: 6rem;
}
/**** /RESERVATIONS ****/


/**** CONTACT ****/
#contactIntro {
    margin-bottom: 1em;
}

#contactColumns {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
}

#contactColumns .col {
    flex-shrink: 0;
}
/**** /CONTACT ****/


/**** FOOTER ****/
#pageFooter {
    padding-top: 2.5rem;
    box-sizing: border-box;
    height: 4rem;
}

#footerMenu {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

#footerMenu li {
    margin-left: 3rem;
}
/**** /FOOTER ****/


/**** PAGES ****/
body.page #page {

}

h1#pageHeading {
    font-size: 200%;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
	line-height: normal;
}

body.page section.layoutContainer {
    padding-top: 3rem;
    min-height: calc(100vh - 8rem  - 4rem - 3rem);
    box-sizing: border-box;
}

body.page .contactWrapper {
    margin-top: 3rem;
}

body.page #articleContent form.wpcf7-form {
    margin-top: 6rem;
}
/**** /PAGES ****/


/**** MENU ****/
#menuWrap {

}

#menuIntro {
    margin-bottom: 2rem;
}

#menuAnchors {
    margin-bottom: 2rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    white-space: nowrap;
    border-radius: 0;
	gap: 0.5rem;
}

#menuAnchors a {
    text-transform: uppercase;
	margin: 0;
}

#menuAnchors a:first-child {
    margin-left: 0;
}

.menuLineHeading {
    position: relative;
    font-size: 1.6em;
    margin-bottom: 2.2rem;
}

.menuLineHeading span {
    background-color: #000;
    position: relative;
    z-index: 2;
    margin-left: 2.4rem;
    padding: 0 0.5rem;
}

.menuLineHeading:after {
    content: '';
    display: block;
    width: 100%;
    height: 1px;
    background-color: #fff;
    position: absolute;
    left: 0;
    top: 50%;
}

.menuGroup {
    display: block;
    margin-bottom: 3rem;
}

#menuGroupTop {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 0.8rem;
}

.menuGroupName {
    font-size: 1.6rem;
    margin-right: 1.6rem;
    text-transform: uppercase;
}

.menuEntries {
    flex-grow: 1;
}

.menuGroupUnits {
    margin-bottom: 0 !important;
    height: 1rem;
}

.menuEntry {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.6rem;
}

.withUnitPrices .menuEntry:not(.menuGroupUnits) {
    margin-bottom: 1rem;
}

.menuEntry .menuSubline {
    font-size: 0.8em;
    line-height: 1;
}

.menuEntry .drinksInfo {
    font-size: 0.7em;
    display: inline-flex;
    line-height: 1;
    vertical-align: super;
    margin-left: -0.3rem;
}

.menuEntry .right {
    width: 7em;
    flex-shrink: 0;
}

.menuEntry .priceRow {
    display: flex;
    justify-content: space-between;
}

.menuGroupUnits .amount, .menuGroupUnits .price {
    text-align: center;
    display: flex;
    flex-direction: column;
}

.menuGroupUnits .spacer {
    visibility: hidden;
    user-select: none;
    height: 1px;
    display: inline-block;
    margin-top: -1px;
}

#menuInfoLabels, #menuTaxInfo {
    font-size: 0.8em;
    margin-bottom: 2rem;
}

#menuSpecials {
    margin-bottom: 2rem;
}

#menuSpecials {
    display: flex;
    flex-wrap: wrap;
    border-bottom: 1px solid #fff;
}

#menuSpecials .special {
    margin-bottom: 2rem;
    width: 40%;
    padding-right: 2rem;
    box-sizing: border-box;
}

#menuSpecials .specialName {
    font-size: 1.4rem;
    line-height: normal;
}

#menuSpecialsInfo {
    margin-bottom: 2rem;
}

#menuOutro {
    border-top: 1px solid #fff;
    padding-top: 1.8rem;
}


/**** /MENU ****/


/**** CORONA FORM ****/
body.page-template-corona .contactWrapper {
    margin-top: 1rem;
}

body.page-template-corona #articleContent  form.wpcf7-form {
    margin-top: 2rem;
}

#coronaInfo {
    font-size: 80%;
    margin-top: 4rem;
}

#seal {
    animation-name: seal;
    animation-duration: 2s;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
    display: block;
    width: 4rem;
    height: auto;
    margin: 0 auto;
    margin-top: 2rem;
}

@keyframes seal {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

#coronaConfirmation #pageHeading {
    padding-right: 1.5rem;
    position: relative;
}

#confirmationData {
    padding: 1rem 0;
    text-align: center;
    font-size: 200%;
    line-height: normal;
    background-color: #00d600;
    color: #000;
}

#confirmationData p {
    margin-bottom: 0;
}

#confirmationData p.name {
    line-height: 1.2;
}

#confirmationData p.phone {
    margin-top: 0;
}

#confirmationData p.date, #confirmationData p.time {
    margin-top: 0.75em;
}

.invalid #confirmationData {
    background-color: #ff4500;
}

#formDataExist {
    margin: 1rem 0 2rem 0;
    padding-left: 0.5rem;
    border-left: 2px solid yellow;
}

#formDataExist a {
    display: block;
    color: #c3004c;
}

#goRate {
    margin-top: 1rem;
}
/**** /CORONA FORM ****/



/**** BIG DESKTOPS ****/
@media screen and (min-width: 1400px)  {
    .layoutContainer {
        max-width: 1300px;
    }

    #headerInner {
        padding-right: 0;
        padding-left: 0;

    }

    #topHeaderMenu {
        max-width: unset;
        width: auto;
    }

    #headerNav li:nth-of-type(5) {
        border-left: 1px solid #fff;
    }
}
/**** /BIG DESKTOPS ****/


/**** SMALL DESKTOPS ****/
@media screen AND (max-width: 1200px) {

    #frontEvents {
        justify-content: center;
        width: auto;
    }


}
/**** /SMALL DESKTOPS ****


/**** TABLET LANDSCAPE  ****/
@media screen AND (max-width: 1050px) {

    .layoutContainer {
        width: 100%;
        max-width: unset;
        padding-left: 80px;
        padding-right: 80px;
    }

}
/**** /TABLET LANDSCAPE ****/


/**** TABLET PORTRAIT  ****/
@media screen AND (max-width: 800px) {
    /* globals */
    .mobileOnly { display: block; }
    .mobileOnly.flex { display: flex; }
    .desktopOnly { display: none; }

    .layoutContainer {
        padding-left: 50px;
        padding-right: 50px;
    }

    body {
        font-size: 14px;
    }

    /* menu */
    #headerInner {
        height: 1.9rem;
        padding: 0 20px;
        align-items: center;
    }

    #headBurgerButton {
        border-top: 4px solid #fff;
        width: 42px;
        height: 30px;
        box-sizing: border-box;
        border-bottom: 4px solid #fff;
        display: flex;
        justify-content: flex-start;
        align-items: center;
        transform-origin: center;
        //transition: transform 0.2s linear;
    }

    #headBurgerButton:hover {
         /*transform: scale(1.1);*/
    }

    #headBurgerButton:after {
        content: '';
        display: block;
        height: 4px;
        width: 100%;
        background-color: #fff;
    }

    #mobileNavWrapper {
        position: fixed;
        left: 0;
        top: 0;
        width: 100vw;
        height: 100vh;
        background-color: #000;
        display: none;
        align-items: flex-start;
        justify-content: center;
        z-index: 10;
        box-sizing: border-box;
        padding: 2.5rem 0;
        font-size: 2rem;
        line-height: 2;
    }

    #mobileNavWrapper.active {
        display: flex;
    }

    #mobileNavClose {
        position: absolute;
        right: 1rem;
        top: 1rem;
    }

    #mobileNav {
        max-height: 100%;
        overflow: auto;
    }

    #mobileMenu {
        text-align: center;
    }

    /* blocks */
    #frontTop, #frontIntro, #frontInterior, #reservierung, #kontakt, #lost-and-found {
        margin-bottom: 4rem;
    }

    /* m-mask */
    #topMask {
        display: none;
    }

    #topMaskMobile {
        display: block;
        position: relative;
        z-index: 2;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    /* gallery */
    #frontInterior {
        justify-content: space-between;
    }

    #frontInterior .galleryImage {
        width: calc(50% - 0.5rem);
        height: 40vw;
        margin-right: 0;
    }

    #frontInterior .galleryImage:nth-of-type(3n) {
        margin-right: 0;
    }

    #frontInterior .galleryImage:nth-of-type(2n) {
        margin-right: 0;
    }

    /* form*/
    .contactWrapper .row > .inputWrapper, .row.amount2 .inputWrapper, .row.amount_2 .inputWrapper {
        width: 100%;
        margin-left: 0;
        margin-right: 0;
        margin-bottom: 2rem;
    }

    .contactWrapper .row {
        flex-direction: column;
        margin-bottom: 0;
    }

    .contactWrapper .row br {
        display: none;
    }

    /* footer */
    #footerMenu {
        justify-content: space-around;
    }

    #footerMenu li {
        margin: 0;
    }

    #contactColumns .col {
        margin-bottom: 2rem;
    }




}
/**** /TABLET PORTRAIT  ****/


/**** PHONE ****/
@media screen AND (max-width: 550px) {

    .layoutContainer {
        max-width: unset;
        width: 100%;
        padding-left: 20px;
        padding-right: 20px;
    }

    #topHeader {
        padding-top: 0.8rem;
        position: fixed;
        width: 100%;
        height: 3.5rem;
        background-color: #000;
        z-index: 3;
        box-sizing: border-box;
    }

    #page {
        padding-top: 2rem;
    }

    #frontTop {
        margin-bottom: 2rem;
    }

    /* gallery */
    #mobileGallery {
        position: fixed;
        background-color: #000;
        left: 0;
        top: 0;
        width: 100%;
        height: 100vh;
        display: none;
        padding-top: 4.5rem;
        padding-bottom: 2rem;
        box-sizing: border-box;

        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    #mobileGallery.active {
        display: block;
    }

    #mobileGalleryInner {
        display: flex;
        align-items: center;
        justify-content: center;
        height: 100%;
    }

    .mobileGalleryImage {
        display: flex;
        align-items: center;
        justify-content: center;
        height: 100%;
        width: 100vw;
        padding: 1rem;
        box-sizing: border-box;
        scroll-snap-align: center;
    }

    .mobileGalleryImage img {
        max-width: 100%;
        max-height: 100%;
        display: block;
        object-fit: contain;
    }

    #mobileGalleryClose {
        position: fixed;
        right: 1vw;
        top: 5.5rem;
        width: 7vw;
        display: block;
        height: auto;
    }

    /* MENU */#menuAnchors a {
        margin: 0;
        /*width: 49%;*/
        box-sizing: border-box;
    }

    #menuAnchors .materialButton.short {
        width: 5.8em;
    }

    #menuAnchors .materialButton.long {
        width: 10.2em;
    }

    #menuAnchors a:nth-of-type(odd)  {
        /*margin-right: 2%;*/
    }

    .menuLineHeading span {
        margin-left: 0.5rem;
    }

    #menuSpecials .special {
        width: 100%;
    }

    .contactWrapper .inputWrapper.age {
        margin-top: 2em;
    }



}
/**** /PHONE ****/