/*
Theme Name: Koupaliště
Author: Nguyen Tom
Version: 1.0
*/

@tailwind base;
@tailwind components;
@tailwind utilities;

:root {
    --primary-color: #2D4CB8;
    --secondary-color: #77FFC3;
    --primary-white: white;
    --secondary-white: #F6F6F6;
    --dark-blueL: #14253A;
    --blue: rgb(7, 11, 21);
}

body {
    background: var(--secondary-white);
}

a.active {
    color: var(--primary-color) !important;
}

a:hover {
    color: var(--primary-color) !important;
}

.font-size-primary {
    font-size: 18px;
}

.btn {
    transition: .5s all;
}

.bg-1 {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-position: center;
    background-size: cover, cover, cover;
    background-repeat: no-repeat;
}

.bg-2 {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-position: center;
    background-size: cover, cover, cover;
    background-repeat: no-repeat;
}

section {
    position: relative;
    z-index: 2;
}

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

.bg-secondary {
    background: var(--secondary-color) !important;
    border: 2px solid var(--secondary-color) !important;
}

.bg-primary-white {
    background: var(--primary-white) !important;
}

.bg-secondary-white {
    background: var(--secondary-white) !important;
}

.bg-dark-blue {
    background: var(--dark-blueL) !important;
}

.bg-black {
    background: black;
}

.bg-blur {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.bg-blur-secondary {
    background: rgba(119, 255, 195, 0.03);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.bg-blur-2 {
    background: rgba(255, 255, 255, 0.01);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.border-secondary {
    border-color: var(--secondary-color) !important;
}

.hover-bg-white:hover {
    background: var(--primary-white) !important;
}

.hover-bg-secondary:hover {
    background: var(--secondary-color) !important;
}

.hover-border-secondary:hover {
    border-color: var(--secondary-color) !important;
}

.hover-text-secondary:hover {
    color: var(--secondary-color) !important;
}

.hover-text-black:hover {
    color: black !important;
}

.text-gray {
    color: gray;
}

.text-secondary {
    color: var(--secondary-color) !important;
}

.news-secondary h4, .list-last-news .fs-5 {
    position: relative;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.news-text {
    position: relative;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
}

.list-novinek .news-primary .image-wrapper {
    height: 255px;
}

.news-primary {
    border: 1px solid transparent !important;
}

.news-primary .image-wrapper {
    height: 375px;
}

.news-secondary .image-wrapper {
    height: 232px;
    width: 232px;
}

@media screen and (max-width: 991px) {
    .news-secondary .image-wrapper {
        width: 100%;
    }

    .news-primary .image-wrapper {
        height: 230px;
    }
}

.max-w-800 {
    max-width: 800px;
}

.event h5 {
    position: relative;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.event .image-wrapper {
    height: 230px;
}

.footer-menu {
    list-style-type: none;
    margin: 0;
    padding-left: 0;
}

.footer-menu a {
    color: var(--primary-white);
    text-decoration: none;
    padding: .5rem 0;
    display: block;
}

.footer-legal-menu {
    display: flex;
    list-style-type: none;
    gap: 1rem;
}

.footer-legal-menu a {
    font-size: small;
    color: var(--primary-white);
    text-decoration: none;
}

@media screen and (max-width: 767px) {
    #menu-legal {
        padding-left: 0;
    }
}

.maly-weather-widget p, .maly-weather-widget br {
    margin: 0;
    padding: 0;
}

.paragraph-no-margin p {
    margin: 0;
}

#customCarousel {
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* Internet Explorer 10+ */
}

#customCarousel::-webkit-scrollbar {
    display: none; /* Chrome, Safari a Opera */
}

.custom-carousel-item {
    flex: 0 0 auto;
    width: 300px;
    transition: 1s all;
}

.custom-carousel-item .inner-frame {
    height: 300px;
}

.custom-carousel-item.active {
    flex: 0 0 auto;
    width: 450px;
}

div#n2-ss-1 .n2-ss-slider-4 {
    background: linear-gradient(to bottom, transparent 50%, var(--blue) 100%) no-repeat;
    background-size: cover;
}

@media screen and (max-width: 991px) {
	.event .image-wrapper{
		height: 23rem !important;
	}
    .custom-carousel-item.active {
        flex: 0 0 auto;
        width: 400px;
    }
}

@media screen and (max-width: 900px) {
    div#n2-ss-1 .n2-font-5e18a0b6dd13dd8195bfc3ac1d31733b-hover {
        text-align: center !important;
    }

    div#n2-ss-1 .n2-font-5f6d311acfd8ae65794e8f1608ccb6a0-paragraph {
        text-align: center !important;
    }

    div#n2-ss-1 .n2-ss-button-container, div#n2-ss-1 .n2-ss-button-container a {
        padding: .5em 1em .5em 1em !important;
    }

    div#n2-ss-1 .n-uc-1454c1f30f68f-inner > .n2-ss-layer-row-inner > .n2-ss-layer[data-sstype="col"] {
        margin: 0 !important;
    }
}

@media screen and (max-width: 800px) {
	div#n2-ss-1 .n-uc-LnImbm1HgUAv{
		display: none !important;
	}
	
	div#n2-ss-1 .n-uc-1454c1f30f68f{
		margin-left: auto !important;
		margin-right: auto !important;
	}
}

@media screen and (max-width: 600px) {
    .custom-carousel-item {
        flex: 0 0 auto;
        width: 200px;
        transition: 1s all;
    }

    .custom-carousel-item.active {
        flex: 0 0 auto;
        width: 300px;
    }
}

@media screen and (max-width: 450px) {
    .custom-carousel-item .inner-frame {
        height: 200px;
    }

    .custom-carousel-item {
        flex: 0 0 auto;
        width: 200px;
        transition: 1s all;
    }

    .custom-carousel-item.active {
        flex: 0 0 auto;
        width: 200px;
    }
}

.big-weather-widget {
    margin-bottom: -50px !important;
}

.cenik-list-item.active {
    color: var(--secondary-color) !important;
}

.cenik table td {
    padding: 1rem 1rem;
    color: white;
}

.cenik table thead td {
    padding: 1rem 1rem .5rem 1rem;
}

.cenik table thead tr:last-child td {
    padding: .5rem 1rem .5rem 1rem;
}

.cenik table tbody td {
    font-weight: lighter;
    font-size: small;
}

.cenik table tbody tr {
    border-bottom: .5px solid rgba(255, 255, 255, 0.05);
}

.cenik table tbody tr:last-child {
    border-bottom: none;
}

.collapse-sipka-dolu {
    width: 20px;
}

@media screen and (max-width: 1199px) {

    .cenik-container {
        border: none !important;
    }

    .cenik-inner-container {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
}

@media screen and (max-width: 600px) {
    .cenik-content-container {
        padding: 1rem !important;
    }

    .cenik-inner-container-2
}

@media screen and (max-width: 500px) {
    .cenik-inner-container-2 {
        padding: 1rem 0 !important;
        margin-top: 0 !important;
    }

    .cenik-inner-container-3 {
        padding: 0 1rem !important;
    }

    .cenik table thead td {
        font-size: 1rem !important;
    }
}

@media screen and (max-width: 400px) {
    .cenik-content-container .bg-blur.px-3.py-2.border.border-1.rounded-4 {
        padding: .5rem !important;
    }
}

@media screen and (max-width: 350px) {
    .cenik-content-container .bg-blur.px-3.py-2.border.border-1.rounded-4 {
        padding: .25rem !important;
    }

    .cenik-inner-container-2 {
        padding-bottom: 0 !important;
    }

    .cenik-inner-container-2:last-child {
        padding-bottom: 1rem !important;
    }

    .cenik-inner-container-3 {
        padding: 0 .5rem !important;
    }
}

.cenik-nadpis img {
    transition: .5s all;
}

.cenik-nadpis.active img {
    transform: rotate(180deg);
}

.pointer-cursor {
    cursor: pointer;
}

.modularni-domy-img-wrapper {
    max-height: 360px;
    overflow: hidden;
}

.modularni-domy-img-wrapper-2 {
    height: 300px;
    overflow: hidden;
}

.modularni-domy-img-wrapper img, .modularni-domy-img-wrapper-2 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modular-photo-gallery-img-wrapper {
    height: 350px;
    width: 100%;
    overflow: hidden;
}

.modular-photo-gallery-img-wrapper:nth-child(2) {
    height: 250px;
    width: 100%;
    overflow: hidden;
}

.modular-photo-gallery-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modular-photo-gallery-img-item:nth-child(1) .modular-photo-gallery-img-wrapper:nth-child(1) {
    margin-top: 12rem
}

.modular-photo-gallery-img-item:nth-child(2) .modular-photo-gallery-img-wrapper:nth-child(1) {
    margin-top: 12rem
}

.modular-photo-gallery-img-item:nth-child(3) .modular-photo-gallery-img-wrapper:nth-child(1) {
    margin-top: 3rem
}

.modular-photo-gallery-img-item:nth-child(-6) .modular-photo-gallery-img-wrapper:nth-child(1) {
    margin-top: 3rem
}


.page-numbers {
    display: inline-block;
    padding: 0.5rem 1rem;
    margin: 0 0.25rem;
    color: var(--secondary-color);
    background-color: transparent;
    text-decoration: none;
    border-radius: 10px !important;
    border: 1px solid var(--secondary-color);
    transition: background-color 0.2s ease;
}

.page-numbers:hover {
    background-color: var(--secondary-color);
    color: black !important;
}

.page-numbers.current {
    background-color: var(--secondary-color);
    color: black;
    font-weight: bold;
    cursor: default;
}

.profile-image {
    width: 100%;
    height: 300px;
    overflow: hidden;
}

.novinka-content h1, .novinka-content h2, .novinka-content h3, .novinka-content h4, .novinka-content h5, .novinka-content h6 {
    color: var(--secondary-color);
    font-size: xx-large;
}

.novinka-content a{
    color: var(--secondary-color);
    text-decoration: none;
}

@media screen and (max-width: 991px) {
    .modular-photo-gallery-img-item {
        padding: .5rem !important;
        gap: 1rem !important;
    }

    .modular-photo-gallery-img-wrapper {
        height: 250px;
        width: 100%;
        overflow: hidden;
    }

    .modular-photo-gallery-img-wrapper:nth-child(2) {
        height: 150px;
        width: 100%;
        overflow: hidden;
    }
}

@media screen and (max-width: 767px) {
	.event .image-wrapper{
		height: 17rem !important;
	}
	
    .modularni-domy-img-wrapper-2 {
        height: 200px;
        overflow: hidden;
    }

    .modularni-domy-img-wrapper {
        max-height: 300px;
        overflow: hidden;
    }

    .modular-photo-gallery-img-item {
        padding: .25rem !important;
        gap: .5rem !important;
    }

    .modular-photo-gallery-img-wrapper {
        height: 180px;
        width: 100%;
        overflow: hidden;
    }

    .modular-photo-gallery-img-wrapper:nth-child(2) {
        height: 120px;
        width: 100%;
        overflow: hidden;
    }

    .novinka-content h1, .novinka-content h2, .novinka-content h3, .novinka-content h4, .novinka-content h5, .novinka-content h6 {
        color: var(--secondary-color);
        font-size: x-large;
    }
}

@media screen and (max-width: 500px) {
	.event .image-wrapper{
		height: auto !important;
	}
}

@media screen and (max-width: 500px) {
    .modular-photo-gallery-img-wrapper {
        height: 150px;
        width: 100%;
        overflow: hidden;
    }

    .modular-photo-gallery-img-wrapper:nth-child(2) {
        height: 100px;
        width: 100%;
        overflow: hidden;
    }
}

@media screen and (max-width: 400px) {
    .modularni-domy-img-wrapper {
        max-height: 200px;
        overflow: hidden;
    }

    .modular-photo-gallery-img-wrapper {
        height: 130px;
        width: 100%;
        overflow: hidden;
    }

    .modular-photo-gallery-img-wrapper:nth-child(2) {
        height: 80px;
        width: 100%;
        overflow: hidden;
    }

    .modular-photo-gallery {
        margin-top: -7.5rem !important;
    }

    #novinky .fs-1, #akce .fs-1 {
        font-size: calc(0.95rem + 1.5vw) !important;
    }

    .page-numbers {
        padding: 0.3rem 0.6rem;
    }
}


@media screen and (max-width: 400px) {
	.pocasi-nadpis.fs-5{
		font-size: 1rem !important;
	}
	
	.pocasi-texty, .pocasi-texty p{
		font-size: .8em !important;
	}
}

.gm-navbar.gm-top-links-align-center #gm-main-menu{
	margin-left: 120px;
}