* { font-family: 'Roboto'; font-size: 17px; box-sizing: border-box; }
html, body {
    margin: 0;
    height: 100%;
}

body { background: #fff/*#efe0ce*/ center left fixed; margin: 0; }

.header {
    background: url("../images/gyliai.jpg") center;
    background-size: cover;
    height: 500px;
    position: relative;
}

.slogan {
    font-size: 50px;
    font-weight: bold;
    color: white;
}

.waves-container {
    position: absolute;
    bottom: 0;
    width: 100%;
}

.layout { margin: 0 auto; padding: 0 10%; }


.nav a { color: black; padding: 5px 20px; text-decoration: none; font-size: 18px; }
.nav a:hover, .nav a.active { border-bottom: 2px solid #8bbb95; }

a { text-decoration: none; color: #336699; }
ul { list-style-type: none; }
ul.bullets { list-style-type: circle;  }

.list { display: inline-grid; grid-template-columns: auto auto auto; }

.table { width: 100%; }
.table td { border-top: 1px solid #ccc }
th { text-align: left; }
h1, h2, h3, h4, h5, h6 {
    font-weight: normal;
    margin: 0;
    margin-bottom: 30px;
}
h1 {
    margin: 30px 0;
    font-size: 28px;
    text-align: center;
}
h2 {
    font-size: 24px;
    margin-bottom: 10px;
}

h3 {
    font-size: 20px;
}

.notice { padding: 20px; text-align: center; background: #fff59d; }

.reservation_form { color: black; margin: 50px 0; background: #C8E6C9; text-align: center; display: grid; grid-template-columns: repeat(7, 1fr); gap: 10px; width: 100%; padding: 10px 20px; box-sizing: border-box; }
.reservation_form span { padding: 5px; }

.sectors { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

.reservation_sectors { display: flex; gap: 20px; margin-bottom: 40px; }
.reservation_sectors .sector { max-width: 320px; }
.reservation_sectors .info { width: 70%; }

input, select { padding: 3px 5px; }

.calendar {
    display: grid;
}
.calendar > div { display: grid; grid-template-columns: repeat(8, 12.5%); gap: 0px }
.calendar > div > div {  background: white; border-bottom: 1px solid #ddd; border-left: 1px solid #ddd;  }

.calendar .date_th { text-align: center; font-size: 16px; background: #ddd }
.calendar .weekend { background: #ccc !important; }

.calendar .empty { background: none; border: none; }

.calendar .reservation { background: #66BB6A; text-align: center; overflow: hidden; white-space: nowrap; height: 35px; }
.calendar .reservation a { display: block; padding: 5px 0px; color: white; text-decoration: none;  }
.calendar .sector { border-bottom: 1px solid #ddd; background: #8bbb95; padding: 6px 0px; text-align: center; }
.calendar .sector a { color: white; font-size: 17px; }

.button { cursor: pointer; background: #2E7D32; color: white; padding: 5px 10px; border: none; font-size: 18px; }
.button2 { cursor: pointer; background: #2E7D32; color: white; padding: 5px 10px; border: none; font-size: 18px; }

.enable { text-align: center; display: inline-block; cursor: pointer; background: #8bbb95; color: white; padding: 3px 5px; }
.disable { text-align: center; display: inline-block; cursor: pointer; background: #e57373; color: white; padding: 3px 5px; }
.delete { text-align: center; display: inline-block; cursor: pointer; background: #ef5350; color: white; padding: 3px 5px; }

.new { color: black; font-weight: bold }
.enabled { color: black; }
.disabled { color: #ccc; }


.price { font-weight: bold; }

.footer { text-align: center; border-top: 1px solid #fff; margin-top: 20px; background: #2E7D32; padding: 30px 0 !important; color: white; }
.footer h3 { font-size: 24px; }
.partners { display: flex; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 10px; justify-content: center; }

@media only screen and (max-width: 1024px) {
    .reservation_form { grid-template-columns: 100%; gap: 5px; }
    .reservation_form .button { margin: 10px 0; }
    .layout { padding: 0 5%; }
    .nomobile { display: none; }
    .sectors { grid-template-columns: repeat(2, 1fr); }
    .button2 { font-size: 15px; }
}


/* hamburger */

.black-header {
    background: rgba(0, 0, 50, 0.4)
}

.top-nav {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
    color: #000;
    height: 100px;
    padding: 1em;
}

.menu {
    display: flex;
    flex-direction: row;
    list-style-type: none;
    margin: 0;
    padding: 0;
    text-align: center;
}

.menu > li {
    margin: 0 1rem;
}

.menu > li a {
    color: #fff;
    font-size: 22px;
    text-shadow: 1px 1px 3px #000;
}

.menu-button-container {
    display: none;
    height: 100%;
    width: 30px;
    cursor: pointer;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#menu-toggle {
    display: none;
}

.menu-button,
.menu-button::before,
.menu-button::after {
    display: block;
    background-color: #fff;
    position: absolute;
    height: 4px;
    width: 30px;
    transition: transform 400ms cubic-bezier(0.23, 1, 0.32, 1);
    border-radius: 2px;
}

.menu-button::before {
    content: '';
    margin-top: -8px;
}

.menu-button::after {
    content: '';
    margin-top: 8px;
}

#menu-toggle:checked + .menu-button-container .menu-button::before {
    margin-top: 0px;
    transform: rotate(405deg);
}

#menu-toggle:checked + .menu-button-container .menu-button {
    background: rgba(255, 255, 255, 0);
}

#menu-toggle:checked + .menu-button-container .menu-button::after {
    margin-top: 0px;
    transform: rotate(-405deg);
}

@media (max-width: 1024px) {
    .reservation_sectors .sector { max-width: 160px; }

    .header {
        height: 200px;
    }
    .menu > li > a {
        color: #eee;
        display: block;
    }
    .menu-button-container {
        display: flex;
    }
    .menu {
        position: absolute;
        top: 0;
        margin-top: 100px;
        left: 0;
        flex-direction: column;
        width: 100%;
        justify-content: center;
        align-items: center;
        z-index: 999;
    }
    #menu-toggle ~ .menu li {
        height: 0;
        margin: 0px;
        padding: 0;
        border: 0;
        transition: height 400ms cubic-bezier(0.23, 1, 0.32, 1);
        overflow: hidden;
    }
    #menu-toggle:checked ~ .menu li {
        border: 1px solid #ccc;
        height: 3em;
        margin: 0px;
        padding: 0.5em;
        transition: height 400ms cubic-bezier(0.23, 1, 0.32, 1);
    }
    .menu > li {
        display: flex;
        justify-content: center;
        margin: 0;
        padding: 0;
        width: 100%;
        color: white;
        background-color: #215b71;
    }
    .menu > li:not(:last-child) {
        border-bottom: 1px solid #444;
    }
}

@media (max-width: 480px) {
    .reservation_sectors { display: block; }
    .reservation_sectors .sector { width: 100%; max-width: 100%; }
    .reservation_sectors .info { width: 100%; }
    .partners a { width: 40%; }
}

.waves {
    position:relative;
    width: 100%;
    height: 100px;
    margin-bottom:-7px; /*Fix for safari gap*/
    min-height: 100px;
    max-height: 100px;
}

.content {
    position:relative;
    height:20vh;
    text-align:center;
    background-color: white;
}

/* Animation */

.parallax > use {
    animation: move-forever 25s cubic-bezier(.55,.5,.45,.5)     infinite;
}
.parallax > use:nth-child(1) {
    animation-delay: -2s;
    animation-duration: 17s;
}
.parallax > use:nth-child(2) {
    animation-delay: -3s;
    animation-duration: 10s;
}
.parallax > use:nth-child(3) {
    animation-delay: -4s;
    animation-duration: 13s;
}
.parallax > use:nth-child(4) {
    animation-delay: -5s;
    animation-duration: 20s;
}
@keyframes move-forever {
    0% {
        transform: translate3d(-90px,0,0);
    }
    100% { 
        transform: translate3d(85px,0,0);
    }
    }
    /*Shrinking for mobile*/
    @media (max-width: 1024px) {
        .waves {
            height:40px;
            min-height:40px;
        }
    }
}