/* 

// created :: 2025-02-23
// updated :: 2025-02-23

*/

/* BODY */

* { margin: 0px; padding: 0px; }
body {  }

/* OBECNÉ PRVKY */

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

.btn { margin-top: 40px; border-radius: 100px; display: inline-block; padding: 16px 35px; }
.btn { border: 2px solid white; }

.error_box { background-color: red; color: white; }
.error_box { padding: 10px; margin: 10px 0px; }
.error_box { font-size: 18px; }

/* RESPO PRIPRAVA */

#menuBurgerBtn { display: none; }

/* LAYOUT */

#content { padding: 0px 0px 10px 0px; }
#content .content_obsah { max-width: 1000px; margin: 0px auto; padding: 80px 0px 100px 0px; box-sizing: border-box; }
#content .content_rezervace { max-width: 1000px; margin: 0px auto; padding: 80px 0px 100px 0px; box-sizing: border-box; }

/* OBECNÉ */

.breaker { clear: both; border: 0px; }

/* ERRORS */

/* LISTA */

/* NADPISY */

h1 { padding: 0px 0px 10px 0px; }
#content .content_obsah h1 { padding-bottom: 20px; }

/* ZAHLAVI */

#headerZahlavi {
    background-image: url(../../pics/bgHeader1.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

#headerZahlavi svg {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: auto;
    pointer-events: none;
    bottom: -1px;
}

#headerZahlavi.bodyin .headerZahlavi { padding-bottom: 50px; } 

#zahlavi { padding: 10px 10px 10px 10px; box-sizing: border-box; 
    position: relative; z-index: 10; overflow: hidden; }
#zahlavi .in { max-width: 1300px; margin: 0px auto; }
#zahlavi .logo { float: left; padding-bottom: 10px; z-index: 10; }
#zahlavi .logo img { border: 0px; max-width: 200px; z-index: 9999; z-index: 15; }
#zahlavi .logo a { z-index: 20; }

/* MENU */

#menu { float: right; padding-top: 35px; }
#menu ul { list-style: none; margin: 0; padding: 0; }
#menu ul li { float: left; padding: 10px 20px }
#menu ul li a { position: relative; }
#menu ul li a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -8px; /* Odsazení čáry o 8px dolů */
    width: 100%;
    height: 1px;
    transform: scaleX(0); /* Skrytí podtržení */
    transition: transform 0.3s ease-in-out;
}
#menu ul li a:hover::after { transform: scaleX(1); }
#menu ul li.active a::after { transform: scaleX(1); }
#menu ul li.highlight { border-radius: 50px; margin-left: 20px; }
#menu ul li.highlight { border: 1px solid white; background: green; color: white; }

/* MOTTO */

#motto { padding: 80px 0px 170px 0px; }
#motto .label { animation: pulse 2s infinite ease-in-out; }
@keyframes pulse { 0% { transform: scale(1); } 50% { transform: scale(1.05); } 100% { transform: scale(1); } }
#xx_motto .btn { margin-top: 40px; border-radius: 100px; display: inline-block; padding: 16px 35px; }
#xx_motto .btn { border: 2px solid white; }

/* SLOUPEC */

/* ARTICLES */

.article { padding: 0px 0px 10px 0px; }

.article_hp { max-width: 1000px; margin: 70px auto 70px auto; }
.article_hp img.obrazek {
    float: left;
    margin: 0px 80px 20px 0px;
    max-width: 40%;
    border-top-right-radius: 70px;
}
.article_hp h1 { padding-top: 60px; }

.article_hp_next { max-width: 90%; margin: 0px auto 80px auto; 
    background: #d9ecdb;
    padding: 50px 25px;
    box-sizing: border-box;
    /* clip-path: polygon(0% 15%, 100% 0%, 90% 100%, 3% 90%); */
    border-radius: 40px 0 40px 0px;
text-align: center; }

.article_vypis_novinka .galerie img { height: 150px;  }

/* GALERIE */

.galerie {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* Dynamické sloupce */
    gap: 15px; /* Rozestupy mezi obrázky */
    width: 100%;
    max-width: 1300px;
    margin: 50px auto;
    padding: 20px;
    justify-content: center;
}

.galerie a {
    display: block;
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.galerie a:hover {
    transform: scale(1.05);
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.2);
}

.galerie img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    aspect-ratio: 4 / 3; /* Nastaví jednotný poměr stran */
    border-radius: 5px;
}

/* PATICKA */

#paticka { position: relative; padding-top: 80px; overflow: hidden; }
#paticka { 
    background-image: url(../../pics/bgPaticka2.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}
#paticka h4 { margin-top: 20px; margin-bottom: 10px; }
#paticka .in { max-width: 1300px; margin: 0px auto; padding: 50px 0px 70px 0px; }
#paticka .in { display: flex; justify-content: space-between; gap: 20px; }
#paticka .column { flex: 1; }
#paticka .column_popisek { flex: 1.5; }
#paticka .column_popisek img { max-width: 80%; }
#paticka .column_menu li { padding-bottom: 10px; }
#paticka .column_menu ul li:last-child { padding-bottom: 0px; }

#paticka .odkazMapa { padding-top: 15px; }

#paticka svg {
    position: absolute;
    top: -1px;
    left: 0;
    width: 100%;
    height: auto;
}
.wave-top { position: absolute; top: 0; left: 0; width: 100%; height: auto; }

/* COPYRIGHT */

#copyright { padding: 40px 10px 40px 10px; box-sizing: border-box; max-width: 1300px; margin: 0px auto 0px auto; }

/* TINYMCE */

.tinymce h2 { padding: 10px 0px 5px 0px }

.tinymce p { padding: 0px 0px 10px 0px; }
.tinymce p:last-child { padding-bottom: 0px; }

.tinymce table {
    width: 100%; /* Tabulka na celou šířku */
    border-collapse: collapse; /* Sjednocení okrajů buněk */
    overflow: hidden; /* Zabrání přetečení kulatých rohů */
}

.tinymce table.shrnuti { margin-bottom: 15px; }
.tinymce table.shrnuti tr td { padding: 7px; }
.tinymce table.shrnuti tr td:first-child { padding-left: 0px; }

.tinymce table.cenik { border-radius: 8px; /* Lehké zaoblení rohů */ }
.tinymce table.cenik thead th {  }
.tinymce table.cenik th,
.tinymce table.cenik td { padding: 12px; }
.tinymce table.cenik tbody tr:hover { transition: background 0.3s ease-in-out; }

.tinymce table.sponzori {  }
.tinymce table.sponzori tbody tr:hover { transition: none; }
.tinymce table.sponzori img { height: 200px; }

/* SITEMAP */

/* FORM */

fieldset.classic {
    background: #d4edda; 
    padding: 20px;
    border-radius: 8px;
    border: 0px;
    margin-bottom: 15px;
    transition: all 0.3s ease-in-out;
}
fieldset.classic .form_line { margin-bottom: 15px; }
fieldset.classic label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
    padding-left: 10px;
    color: #155724;
}
fieldset.classic .inputdiv { position: relative; }
fieldset.classic .inputdivokraj { display: flex; align-items: center; }
fieldset.classic input {
    width: 100%;
    padding: 10px;
    font-size: 1em;
    border: 0px solid #ccc;
    border-radius: 5px;
    background: #fff;
    transition: border-color 0.3s ease, transform 0.2s ease-in-out;
    outline: none;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
    max-width: 500px;
}

fieldset.classic input.inpt_telefon { max-width: 150px; }
fieldset.classic input:focus {
    border-color: #28a745;
    box-shadow: 0 0 5px rgba(40, 167, 69, 0.5);
    transform: scale(1.02);
}

fieldset.classic input:hover { border-color: #218838; }
fieldset.classic input:valid { border-color: #28a745; }

button.btn_rezervace {
    background-color: #1e7e34;
    color: white;
    text-decoration: none;
    padding: 15px 30px;
    font-size: 16px;
    border: none;
    border-radius: 8px;
    display: inline-block;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease-in-out;
}

button.btn_rezervace:hover {
    background-color: #218838; /* Trochu tmavší zelená */
    transform: scale(1.05); /* Jemný efekt přiblížení */
}

/* FORM :: PATIČKA  */

/* HP :: FOTOGALERIE */

#fotogalerie_hp { width: 100%; padding: 100px 0px; }
#fotogalerie_hp .in {
    display: flex;
    gap: 20px; 
    width: 100%;
    max-width: 1300px;
    margin: 0px auto;
    justify-content: space-between; /* Rovnoměrné rozložení */
}
#fotogalerie_hp .column1,
#fotogalerie_hp .column2,
#fotogalerie_hp .column3,
#fotogalerie_hp .column4 { flex: 1; }
#fotogalerie_hp .column1 { display: flex; flex-direction: column; justify-content: center; align-items: center; }
#fotogalerie_hp .column1 h2 { margin-bottom: 10px; }
#fotogalerie_hp .column1 h2 {  }
#fotogalerie_hp .column1 p {  }
#fotogalerie_hp .column2 img,
#fotogalerie_hp .column3 img,
#fotogalerie_hp .column4 img {
    width: 90%;
    height: auto;
    transition: transform 0.3s ease-in-out;
    border-radius: 10px;
    border: 10px solid white;
}
#fotogalerie_hp .column2 img:hover,
#fotogalerie_hp .column3 img:hover,
#fotogalerie_hp .column4 img:hover { transform: scale(1.1);}

/* HP :: ŘÁD */

#rybarskyrad_hp { max-width: 1300px; margin: 0px auto; padding: 100px 0px;
    display: flex; justify-content: flex-end; position: relative; }

#rybarskyrad_hp .in {
    border-radius: 40px 0 40px 0px;
    width: 100%;
    position: relative;
    display: flex;
    justify-content: flex-end;
}

#rybarskyrad_hp .column1 {
    border-radius: 0px 0 40px 0px;
    width: 60%;
    padding: 40px 40px 40px 80px;
    position: relative;
    clip-path: polygon(10% 0, 100% 0, 100% 100%, 0% 100%); /* Zkosení levé strany */
}

/* Vývoj :: Rezervace */

.containerRezervace { margin: 40px 0px 0px 0px; }
.containerRezervace h3.label { margin: 0px 0px 15px 0px; }
.containerRezervace img.mapka { border-radius: 25px 60px 25px 25px; }

/* Vývoj :: Calendar */

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

.calendar-header {
    padding: 20px 0px 10px 0px; display: flex; align-items: center; justify-content: center; gap: 10px;
}
.calendar-footer { padding: 20px 0px 20px 0px; }
.calendar-header h2 { margin: 0; min-width: 150px; text-align: center; }

.calendar-day .end-date-left { clip-path: polygon(0% 0%, 30% 0%, 10% 100%, 00% 100%); }
.calendar-day .end-date-middle { clip-path: polygon(30% 0%, 90% 0%, 70% 100%, 10% 100%); }
.calendar-day .end-date-right { clip-path: polygon(90% 0%, 100% 0%, 100% 100%, 70% 100%); }

.calendar-day span { position: relative; z-index: 2; color: black; }
.clickable { cursor: pointer; }
.calendar { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; text-align: center; }
.calendar-day {
    position: relative;
    width: 100%;
    height: 60px;
    border: 1px solid #ccc;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: bold;
    overflow: hidden;
    background: white;
}
.calendar-day .half 
{
    position: absolute; width: 100%; height: 100%; top: 0; background: transparent; transition: background 0.2s; z-index: 1;
}
.calendar-day .left { clip-path: polygon(0% 0%, 40% 0%, 10% 100%, 0% 100%); }
.calendar-day .right { clip-path: polygon(30% 0%, 90% 0%, 70% 100%, 10% 100%); }
.reserved-approved { background: red !important; pointer-events: none; }
.reserved-pending { background: yellow !important; pointer-events: none; }
.selected { background: lightblue !important; }
.selected-start { background: blue !important; }
.selectedTo {  }
.calendar-day .leftStart:hover {  }
.calendar-day .rightStart:hover { background: green; }
.calendar-day .leftEnd:hover { background: lightblue; }
.calendar-day .rightEnd:hover { background: lightblue; }

.calendar-day .middlehalf 
{
    position: absolute; width: 100%; height: 100%; top: 0; background: transparent; transition: background 0.2s; z-index: 1;
}


.calendar-day .endHover:hover { background: lightblue; }

.calendar-day .hover-effect {
    background: lightblue !important;
}

.calendar-day .highlight { background: orange !important; }

#resetButton {
    display: block;
    padding: 0px 0px 15px 0px;
}
#resetButton a { color: blue; }
#confirmButton {
    background-color: #ccc;
    color: #666;
    text-decoration: none;
    padding: 10px 20px;
    font-size: 16px;
    border-radius: 5px;
    display: inline-block;
}

#confirmButton.disabled {
    pointer-events: none;  /* Zabrání kliknutí */
    cursor: not-allowed;
}

/* Aktivní odkaz */
#confirmButton.enabled {
    background-color: #007bff;
    color: white;
    cursor: pointer;
}
