/* 
    Created on : 16. 02. 2026, 18:06:38
    Author     : Makovec
*/
@font-face {
    font-family: opensanscondensed;
    src: url("../design/font/OpenSansCondensed-Bold.ttf");
}

@font-face {
    font-family: opensanslightcondensed;
    src: url("../design/font/OpenSansCondensed-Light.ttf");
}

@font-face {
    font-family: opensansregular;
    src: url("../design/font/open-sans.regular.ttf");
}

@font-face {
    font-family: opensanssemibold;
    src: url("../design/font/open-sans.semibold.ttf");
}

@font-face {
    font-family: opensansbold;
    src: url("../design/font/open-sans.bold.ttf");
}

@font-face {
    font-family: opensansextrabold;
    src: url("../design/font/open-sans.extrabold.ttf");
}

body {
    font-family: opensansregular;
    margin: 0;
    padding: 0;
    color: #000;
    background: #fff;
    font-size: 14px;
}

@media screen and (max-width:540px) {
    body {
        font-size: 16px;
    }
}

/*div {border: 1px solid red}*/

a {
    color: #0c8b93; /* 00949d */
}

a:hover {
    color: #55cad1;
}

h1 {
    font-size: 20px;
    font-family: opensansextrabold;
    margin: 0 0 10px 0;
}

h2 {
    font-size: 16px;
    font-family: opensansextrabold;
    margin: 0 0 10px 0;
}

h3 {
    font-size: 14px;
    font-family: opensansextrabold;
}

h4 {
    font-size: 13px;
    font-family: opensansextrabold;
}

table tr { /* kvůli PDF */
    page-break-inside: avoid;
}

.flashes {
    position:absolute;
    top:10px;
    width:50% !important;
    left:24%;
    height:auto;
    padding:10px 2%;
    text-align: center;
    font-size:120%;
    z-index:125000;
    background: yellow;
    border-radius: 10px;
    font-family: opensansbold;
}

@media screen and (max-width:540px) {
    .flashes {
        width:80% !important;
        left:8%;
    }
}

.closeFlash, .closeInfo  {
    float:right;
    cursor:pointer;
}

.closeWindow {
    width: 24px !important;
    height: 24px !important;
    margin: 0 0 5px 5px;
    float: right;
    cursor: pointer;
}

.closeSaved {
    width: 24px !important;
    height: 24px !important;
    margin: 3px 8px 0 0;
    float: right;
    cursor: pointer;
}

.flashes div {
    float: left;
    width: 90%;
    height: auto;
}

.main {
    float: left;
    width: 100%;
    height: auto;
    min-height: 400px;
}

.header {
    position: relative;
    width: 1440px;
    height: 70px;
    margin: 0 auto;
}

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

.context {
    position: relative;
    width: 1440px;
    height: auto;
    margin: 0 auto;
    padding-top: 30px;
}

@media screen and (max-width:1440px) {
    .context {
        width: 96%;
        margin: 0 2%;
    }
}

.login {
    float: right;
    width: auto;
    height: 70px;
    padding: 0;
}

@media screen and (max-width:375px) {
    .login {
        float: left;
        margin-left: 10px;
    }
}

.logbuttons {
    margin: 18px 10px 0 5px;
    /*font-size: 90%;*/
    font-family: opensanscondensed;
}

.logbuttons button {
    margin-left: 10px;
}

.logbuttons a {
    font-weight: bold;
}

.user {
    margin: 12px 10px 0 5px;
    font-weight: bold;
    font-size: 90%;
    text-align: right;
    font-family: opensanscondensed;
}

.logo {
    float: left;
    width: 140px;
    height: auto;
    margin: 13px 0 0 4%;
}

@media screen and (max-width:425px) {
    .logo {
        width: 90px;
        margin: 20px 0 0 10px;
    }
}

.content {
    float:left;
    width: 100%;
    height: auto;
}

.intro {
    float: left;
    width: 100%;
    height: auto;
    padding: 20px 0 30px 0;
    background: #7edde3; /* #0ab9c4; */
}

.intro_in {
    position: relative;
    width: 1440px;
    min-height: 70px;
    margin: 0 auto; 
}

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

.intro_in_l {
    float: left;
    width: 44%;
    margin-left: 4%;
    height: auto;
}

.intro_in_l h3 {
    margin: 0;
}

.intro_in_l p {
    margin: 5px 0 10px 0;
}

.slogan {
    font-size: 16px;
    font-family: opensansbold;
    margin: 0;
}

.slogan_detail {
    font-size: 15px;
    font-family: opensansregular;
    margin-top: 10px;    
}

@media screen and (max-width:540px) {
    .slogan_detail {
        font-size: 16px;   
    }
}

.intro_in_p {
    float: right;
    width: 48%;
    height: auto;
    text-align: center;
}

.intro_in_p_pur {
    float: right;
    width: 48%;
    height: auto;
    text-align: left;
}

.posvit {
    width: 80%;
    height: auto;
    rotate: -5deg;
    margin: 30px 0;
}

@media screen and (max-width:1100px) {
    .intro_in_l {
        width: 92%;
        margin-left: 4%;
    }
    .intro_in_p {
        float: left;
        width: 96%;
        margin-left: 2%;
    }
    .posvit {
        width: 50%;
        height: auto;
        margin: 50px 0 30px 0;
    }
    .intro_in_p_pur {
        float: left;
        width: 92%;
        margin-left: 4%;
    }
}

@media screen and (max-width:770px) {
    .posvit {
        width: 92% ;
    }
}

.done {
    text-align: center !important;
}

.covervinform, .coverarea {
    float: left;
    width: 94%;
    height: auto;
    margin-top: 10px;
    margin-bottom: 20px;
    padding: 5px 2% 0 2%;
    background: #fff;
    border-radius: 10px;
    text-align: center;
    font-family: opensansbold;
    font-size: 24px;
}

.covervinform img {
    width: 150px;
    height: auto;
    margin-top: 5px;
}

@media screen and (max-width:376px) {
/*    .covervinform {
        height: 145px;
    }*/
    .covervinform img {
        margin-top: 5px;
    }    
}

.covervinform p {
    float: left;
    width: 100%;
    margin: 0 0 10px 0;
    padding: 0;
    font-family: opensansbold;
    font-size: 18px;
    color: #0c8b93;
}

.pform {
    float: left;
    width: 100%;
    height: auto;
    margin-top: 10px !important;
    font-family: opensanscondensed !important;
    font-style: italic;
    font-size: 14px !important;
    color: #000 !important;
}

.pform2 {
    float: left;
    width: 100%;
    height: auto;
    margin: 10px 0 !important;
    font-family: opensanscondensed !important;
    font-size: 14px !important;
    text-align: left;
    color: #000 !important;
}

.pform2 div {
    position: relative;
    width: 300px;
    margin: 0 auto;
    min-height:30px;
}

@media screen and (max-width:325px) {
    .pform2 div {
        position: relative;
        width: 280px;
        margin: 0 auto;
        min-height:30px;
    }   
}

.vinfield {
    width: 270px;
    height: 40px;
    font-family: opensansbold;
    font-size: 24px;
    margin-bottom: 5px;
    background: #efefef;
    border-radius: 7px;
    border: none;
}

.showvin {
    float: left;
    width: 100%;
    height: auto;
    text-align: center;
}

@media screen and (max-width:600px) {
    .vinfield {
        width: 280px;
    }    
}

@media screen and (max-width:490px) {
    .covervinform {
        font-size: 18px;
    }
    .vinfield {
        font-size: 18px;
        width: 200px;
    }      
}

.submitform {
    padding: 7px 10px;
    border: none;
    background: #0ab9c4;
    border-radius: 15px;
    color: #000;
    font-family: opensansbold;
    font-size: 14px;
    cursor: pointer;
}

.chpass {
    margin: 15px 0;
}

.anone {
    text-decoration: none;
}

.in {
    width: 220px;
}

.submitreg {
    padding: 7px 10px;
    border: none;
    background: #0ab9c4;
    border-radius: 15px;
    color: #000;
    font-family: opensansbold;
    font-size: 14px;
    cursor: pointer;
}

.submitbuy {
    padding: 7px 0;
    width: 200px;
    border: none;
    background: #0ab9c4;
    border-radius: 15px;
    color: #000;
    font-family: opensansbold;
    font-size: 14px;
    cursor: pointer;    
}

.buttonreset {
    position:relative;
    top: -34px;
    padding: 3px 18px;
    border: none;
    /*margin: 0 5px 5px 5px;*/
    background: #28ca97;
    border-radius: 13px;
    color: #000;
    font-family: opensanscondensed;
    font-weight: bold;
    font-size: 14px;
    cursor: pointer;
    z-index: 10;
}

.buttondesc, .buttonfilter {
    padding: 3px 8px;
    border: none;
    margin: 0 5px 5px 5px;
    background: #0ab9c4;
    border-radius: 13px;
    color: #000;
    font-family: opensanscondensed;
    font-weight: bold;
    font-size: 14px;
    cursor: pointer;
}

 .buttonfilter {
    background: lightblue;
 }

.hist {
    background: orange;
}

.coversupform {
    position: relative;
    margin: 0 auto;
    width: 315px;
    height: 220px;
    font-size: 14px;
    font-family: opensanscondensed;
}

.tags {
    margin-bottom: 15px;
}

.tag {
    padding: 3px 5px;
    border: none;
    background: lightblue;
    margin: 5px 5px 5px 0 !important;
    border-radius: 8px;
    color: #000;
    font-family: opensanscondensed;
    font-size: 14px;
    cursor: pointer;
    text-decoration: none;
    white-space: nowrap;
    display: inline-block;
}

.tag:hover {
    color: #000;
    background: #0ab9c4;
}

.tagactive {
    background-color: #01aab5;
    color: white;
    border-color: #0056b3;
    font-weight: bold;
}
/* Přidejte malý křížek u aktivního tagu pro jasnější zrušení */
.tagactive::after {
    content: ' ✕';
    font-size: 0.8em;
    margin-left: 5px;
}

.filterform label {
    font-weight: bold;
}

form.filterform select,
.filterform select {
    display: inline-block; /* Důležité pro správné uplatnění šířky */
    min-width: 150px !important; /* !important použijte jako poslední možnost pro test */
    width: auto; 
}

.coveroneform {
    position: relative;
    margin: 20px auto 30px auto;
    width: 315px;
    height: 485px;
    padding: 12px 5px 2px 12px;
    font-size: 14px;
    font-family: opensanscondensed;
    border: 2px solid #7edde3;
    border-radius: 7px;
}

@media screen and (max-width:340px) {
    .coveroneform {
        width: 290px;
    }
}

.covermonthform {
    position: relative;
    margin: 20px auto 30px auto;
    width: 280px;
    height: 245px;
    padding: 12px 5px 2px 12px;
    font-size: 14px;
    font-family: opensanscondensed;
    border: 2px solid #7edde3;
    border-radius: 7px;
}

.cmf {
    height: 160px !important;
}

.formrow, .formrowgdpr {
    float: left;
    width: 100%;
    margin-bottom: 5px;
    height: 30px;
}

.formrow input {
    width: 200px;
}

@media screen and (max-width:340px) {
    .formrow input {
        width: 195px;
    }
}

.formrow2 {
    float: left;
    width: 100%;
    height: 30px;
    margin: 15px 0 0 0;
}

.formrow3 {
    float: left;
    width: 100%;
    height: 30px;
    margin: 5px 0 0 0;
}

.formrow4 {
    float: left;
    width: 100%;
    height: 30px;
    margin: 10px 0 0 0;
    text-align: center;
}

.uplegend {
    float: left;
    width: 80px;
    height: 30px;
}

.still {
    width: 40px !important;
}

.upform {
    position: relative;
    width: 300px;
    margin: 20px auto 0 auto;
}

.quickview {
    position: relative;
    margin: 15px auto 35px auto;
    table-layout: auto;
    border-collapse: separate;
    border-radius: 10px;
    width: 680px;
    background: #fff;
    font-family: opensanscondensed;
    font-size: 14px;
    border: 1px solid grey;
}

@media screen and (max-width:720px) {
    .quickview {
        width: 94% !important;
        padding: 5px 2% 0 2% !important;
    }    
}

.quickhp {
    width: 80% !important;
}

.qwhp {
    /*opacity: 0.2;*/
    filter: blur(2px);
}

@media screen and (max-width:1100px) {
    .quickhp {
        width: 94% !important;
        padding: 5px 2% 0 2% !important;
    }    
}

.normalview {
    float: left;
    margin: 15px 0;
    table-layout: auto;
    border-collapse: separate;
    border-radius: 10px;
    max-width: 100%;
    background: #fff;
    font-family: opensanscondensed;
    font-size: 14px;
    border: 1px solid grey;
}

.normalview caption {
    font-size: 130%;
}

.qzavady {
    min-width: 260px;
}

.quickview caption {
    font-size: 24px;
    margin-bottom: 7px;
}

.quickview td, .normalview td {
    padding: 5px;
    text-align: left;
    border-bottom: 1px solid grey;
}

.quickview th {
    text-align: left;
    border-bottom: 3px solid #0c8b93;
    padding-left: 5px;
}

.normalview th { /* profil */
    border-bottom: 3px solid #0c8b93;
}

.qvodo {
    position: relative;
    width: 300px !important;
    margin: 15px auto 15px auto;
}

@media screen and (max-width:320px) {
    .qvodo {
        width: 94% !important;
        padding: 5px 2% 0 2% !important;
    }    
}

.dov td {
    text-align: center !important;
}

.continue {
    padding: 7px 10px;
    border: none;
    background: orange;
    border-radius: 15px;
    color: #000;
    font-family: opensansbold;
    font-size: 14px;
    cursor: pointer;
}

.acont {
    font-size: 14px;
}

.maincontinue {
    float: left;
    width: 100%;
    height: auto;
    display: flex;
    justify-content: center;
}

.maincontinue h3 {
    color: #0c8b93;
}

.mcdiv {
    margin: 0px 4% 20px 4%;
    font-family: opensansbold;
}

@media screen and (max-width:768px) {
    .mcdiv {
        margin: 0px 2% 15px 2%;
    }
}

.hptext {
    float: left;
    width: 1440px;
    min-height: 30px;
}

.cent {
    text-align: center;
}

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

.hptext h1 {
    text-align: center;
}

.hptext h2 {
    text-align: center;
    color: #0c8b93;
    margin: 20px 10px;
}

.hptext h3 {
    margin: 0; 
}

.cover_ip {
    position: relative;
    width: 100%;
    height: auto;
}

.cover_ip h2 {
    margin: 0;
}

.cover_ip h3 {
    text-align: center;
    margin: 0;
    color: #000;
}

@media screen and (max-width:768px) {
    .cover_ip h2, .cover_ip h3 {
        margin: 0 15%;
    }
}

@media screen and (max-width:315px) {
    .cover_ip h2 {
        font-size: 20px;
    }
}

.detailform {
    text-align: center;
    background: #7edde3;
    border: 1px solid red
}

.countstk {
    color: darkred;
}

.hptext_l {
    float: left;
    width: 46%;
    padding: 0 0 0 4%;
}

.hptext_p {
    float: left;
    width: 46%;
    padding: 0 2% 0 2%;
}

@media screen and (max-width:520px) {
    .hptext_l {
        width: 95%;
        padding: 0 2% 0 3%;
    }
    .hptext_p {
        width: 95%;
        padding: 0 2% 0 3%;
    }
}

.hptext_block {
    float: left;
    width: 100%;
    margin-bottom: 20px;
}

.hptext_block img {
    float: left;
    width: 60px;
    height: auto;
}

.vindecode {
    float: left;
    width: 46px !important;
    height: auto;
}

#imgzavady {
    width: 50px;
    height: auto;
}

.hptext_block_pur {
    float: left;
    width: 100%;
    margin-bottom: 10px;
    font-size: 90%;
}

.hptext_block_pur img {
    float: left;
    width: 30px;
    height: auto;
}

.hptext_block_pur h4 {
    margin: 0;
}

.text_in {
    float: left;
    width: 40%;
    margin: 0 30% 0 30%;
    text-align: center;
    height: auto;
}

@media screen and (max-width:1100px) {
    .text_in {
        width: 60%;
        margin: 0 15% 0 15%;
    }    
}

@media screen and (max-width:768px) {
    .text_in {
        width: 96%;
        margin: 0 1% 0 3%;
    }    
}

.text_pay {
    float: left;
    width: 96%;
    padding: 0 1% 20px 3%;
    height: auto;
}

.billinguser {
    float: left;
    width: 100%;
    height: auto;
    text-align: center;
}

.text_profil {
    float: left;
    width: 100%;
    height: auto;
}

.text_profil a {
    text-decoration: none;
}

.td_block {
    font-weight: bold;
}

.hptext2 {
    float: left;
    width: 1440px;
    min-height: 40px;
    margin-bottom: 20px;
    text-align: center;
}

.continue2 {
    padding: 15px;
    border: none;
    margin: 15px 12px 10px 10px;
    background: orange;
    border-radius: 15px;
    color: #000;
    font-family: opensansbold;
    font-size: 24px;
    cursor: pointer;
}

.purchase_block {
    float: left;
    width: 22%;
    margin: 30px 4%;
    padding: 5px 1% 8px 1%;
    height: auto;
    border-radius: 10px;
    border: 2px solid #7edde3;
}

.pb_cancel {
    width: 94%;
    margin: 0 4% 15px 2%;
    text-align: center;
}

@media screen and (max-width:768px) {
    .purchase_block {
        width: 66%;
        margin: 20px 15%;
        padding: 5px 2%;
    }    
}

@media screen and (max-width:430px) {
    .purchase_block {
        width: 80%;
        margin: 20px 8%;
        padding: 5px 2%;
    }    
}

.purchase_block:hover {
    border: 2px solid #0c8b93;
}

.purchase_block h4 {
    margin: 0;
    color: #0c8b93;
}

.purchase_block p {
    margin: 5px 0 0 0;
}

.purchase_block_price {
    float: left;
    width: 100%;
    height: auto;
    font-family: opensanscondensed;
    font-size: 28px;
    text-align: center;
}

.form_block_price {
    float: left;
    margin: 5px 0;
    padding: 0;
    width: 100%;
    height: auto;
    font-family: opensanscondensed;
    font-size: 28px;
    text-align: center;
}

.buy {
    width: 40%;
    margin: 10px 30%;
    cursor: pointer;
}

.nobuy {
    width: 40%;
    margin: 10px 30%;
    cursor: pointer;
    background: #efefef;
    cursor: auto;
}

.buyrecurr {
    width: 70%;
    margin: 10px 15%;
    cursor: pointer;
}

.graf {
    /*position: relative;*/
    width: 96%;
    margin: 30px 2%;
    height: auto;
}

.graf canvas {
    background: #fff;
}

.hpgraf {
    /*position: relative;*/
    width: 80%;
    margin: 30px 0 0 10%;
    height: auto;
}

@media screen and (max-width:720px) {
    .hpgraf {
        width: 94% !important;
        margin: 30px 0 0 5%;
    }    
}

.hpgraf canvas {
    background: #fff;
        filter: blur(2px);
}

.graf_pattern {
    /*position: relative;*/
    width: 96%;
    margin: 30px 2%;
    height: auto;
}

.graf_pattern canvas {
    background: #fff;
}

.graf_pattern img {
    /*position: relative;*/
    width: 96%;
    margin: 30px 2%;
    height: auto;
}

.odometr {
    position: relative;
    table-layout: auto;
    border-collapse: collapse;
    width: 300px;
    margin: 30px auto;
    background: #fff;
    border-radius: 10px;
    font-family: opensanscondensed;
    font-size: 14px;
    border: 1px solid grey;
}

.odometr td, .odometr th {
    border: 1px solid grey;
    padding: 5px;
}

.odometr th {
    background: yellow;
    text-align: left;
}

.emise {
    float: right;
    width: 60px;
    height: auto;
}

.icon_pattern {
    position: absolute;
    width: 60px;
    height: auto;
    top: 0px;
    right: 10px;
    rotate: -5deg;
    z-index: 100;
}

.ipexcept {
    top: 64px;
}

@media screen and (max-width:550px) {
    .icon_pattern {
        top: -26px;
        right: 2px;
    }    
}

@media screen and (max-width:330px) {
    .icon_pattern {
        top: -50px;
    }    
}

.recurrence {
    float: left;
    width: 67%;
    height: auto;
}

@media screen and (max-width:768px) {
    .recurrence {
        width: 66%;
        margin: 10px 17%;
    }    
}

@media screen and (max-width:430px) {
    .recurrence {
        width: 80%;
        margin: 10px 10%;
    }    
}

.recurrence h2 {
    text-align: left;
}

.recurrence li {
    margin-bottom: 15px;
}

.condensed {
    font-family: opensanscondensed;    
}

.spacer2 {
    float: left;
    width: 100%;
    height: 2px;
}

.spacer15 {
    float: left;
    width: 100%;
    height: 15px;
}

.spacer20 {
    float: left;
    width: 100%;
    height: 20px;
}

.spacer40 {
    float: left;
    width: 100%;
    height: 40px;
}

.pdfbutt {
    float: right;
    margin-top: -30px;
    padding: 5px;
    border: none;
    background: orange;
    color: black;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
}

@media screen and (max-width:390px) {
    .pdfbutt {
        margin-top: -15px;
    }    
}

/* PDF */
.coverlogopdf {
    float: left;
    height: auto;
    width: 100%;
    margin-bottom: 15px;
}

.logopdf {
    float: left;
    width: 140px;
    height: auto;
    margin: 0;
}

.footer {
    float: left;
    padding: 15px 0;
    margin-top: 25px;
    width: 100%;
    height: auto;
    min-height: 140px;
    background: #fff;/* 7edde3 */
    background: url('../design/footer_bg.png') no-repeat;
    background-position: center 0px;
}

@media (max-width: 1000px) {
    .footer {
        background-size: 100% auto;
    }
}

@media (max-width: 620px) {
    .footer {
        background: url('../design/footer_mob2.png') no-repeat;
        background-size: 100% auto;
        min-height: 170px;
    }
}

.fooin {
    float: left;
    width: 100%;
    height: auto;
    margin: 10px 0;
    text-align: center;
    font-family: opensanscondensed;
    font-weight: bold;
}

.covergdpr {
    position: relative;
    margin: 0 auto;
    top: 0;
    width: 290px;
    height: auto;
    /* MUZE ZLOBIT */
}

.covergdpr button {
    float: left;
    padding: 5px;
    margin: 10px 5px;
    border: none;
    background: #7edde3;
    color: black;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
}

.vinfoto {
    margin-bottom: 10px;
}

.howlink {
    text-align: center;
    margin-bottom: 8px !important;
    color: darkred;
    text-decoration: underline;
    cursor: pointer;
}

.how {
    float: left;
    width: 100%;
    height: auto;
    margin-bottom: 30px !important;
    display: none;
}

.delete {
    float: right;
    margin-left: 8px;
}

.kontejner {
  float:left;
  width: 100%;
  height: auto;
  display: grid;
  align-items: start; /* Zarovná oba na horní hranu */
}

.spodni, .horni {
  grid-area: 1 / 1; /* Oba prvky začínají na 1. řádku a 1. sloupci */
}

.horni {
  width: 60% !important;
  height: auto;
  z-index: 2; /* Zajistí, že tento prvek bude nahoře */
}

.hor1 {
    margin: 50px 0 0 20% !important;
}

.hor2 {
    margin: 30px 0 0 20% !important;
}

@media (max-width: 1100px) {
    .horni {
      width: 40% !important;
    }
    .hor1 {
        margin: 50px 0 0 30% !important;
    }
    .hor2 {
        margin: 30px 0 0 30% !important;
    }
}

@media (max-width: 768px) {
    .horni {
      width: 70% !important;
    }
    .hor1 {
        margin: 30px 0 0 15% !important;
    }
    .hor2 {
        margin: 10px 0 0 15% !important;
    }
}

@media (max-width: 480px) {
    .horni {
      width: 80% !important;
    }
    .hor1 {
        margin: 40px 0 0 10% !important;
    }
    .hor2 {
        margin: 20px 0 0 10% !important;
    }
}

.compare1 {
    width: 98% !important;
    padding: 5px 2% 0 2% !important;
    margin-top: 25px;
    margin-left: 0;
}

.compare2 {
    width: 80% !important;
    padding: 5px 2% 0 2% !important;
}

@media screen and (max-width:1100px) {
    .compare2 {
        width: 94% !important;
    }    
}

.compare1 img, .compare2 img {
    width: 25px;
    height: 25px;
    rotate: 0;
}

@media screen and (max-width:1100px) {
    .compare1 {
        display: none;
    }
}

@media screen and (min-width:1100px) {
    .compare2 {
        display: none;
    }
}

.compare1 td, .compare2 td {
    height: 30px !important;
}

.google-btn {
    display: inline-flex;
    align-items: center;
    background: #ffffff;
    border: 1px solid #747775;
    border-radius: 4px;
    color: #1f1f1f;
    padding: 8px 16px;
    text-decoration: none;
    font-family: 'Open Sans', arial, sans-serif;
    font-weight: 500;
    font-size: 14px;
}
.google-btn img {
    width: 18px;
    height: 18px;
    margin-right: 10px;
}
.google-btn:hover {
    background-color: #f2f2f2;
}

.coverimg {
    float: left;
    width: 100px;
    height: 100px;
    margin: 0 10px 10px 0;
    overflow: hidden;
}

.L {
    width: 100%;
    height: auto;
}

.P {
    height: 100%;
    width: auto;
}

.image-item {
    position: relative; 
    display: inline-block;
}

.image-item input[type="checkbox"] { 
    position: absolute;
    top: 10px;
    left: 10px;
    transform: scale(1.5);
    z-index: 10;
}

.refresh {
    position: absolute;
    margin-left: -40px;
    width: 40px !important;
    height: auto !important;
}

.descriptionarea {
    float: left;
    width: 400px;
    height: 200px;
}

@media screen and (max-width:650px) {
    .descriptionarea {
        width: 200px;
    }
}

.left {
    text-align: left;
}

.formdel {
    float: right;
    width: 26px !important;
    height: auto;
}

.descnote {
    display: inline-block;
    text-align: left;
    font-family: opensanscondensed;
    font-size: 14px;
    line-height: 1.5 !important;
    color: darkred;
}

.textfield {
    border: 1px solid black;
    background: #fff !important;
    width: 160px;
    cursor: default !important;
}

@media screen and (max-width:380px) {
    .descriptionarea {
        width: 180px;
    }
}

@media screen and (max-width:330px) {
    .descriptionarea {
        width: 160px;
    }
}

.ikondel {
    width: 20px;
    height: auto;
}

.mainphoto {
    outline: 4px solid darkred;
    outline-offset: -4px; 
}

.bazar {
    padding: 0 2% 0 4%;
}

.covercard {
    position: relative;
    width: 100%;
    height: auto;
    min-height: 100px;
    margin: 0 auto;
}

.covertab {
    position: relative;
    width: 31%; /* Tři karty v řadě */
    display: inline-block; /* Zásadní pro řazení vedle sebe */
    vertical-align: top;   /* Zarovnání k hornímu okraji */
    margin-right: 2%;      /* Vaše mezera */
    margin-bottom: 20px;   /* Mezera mezi řadami */
    height: auto;
}

@media screen and (max-width:900px) {
    .covertab {
        width: 48%; /* Tři karty v řadě */
        margin-right: 1%;      /* Vaše mezera */
    }
}

@media screen and (max-width:580px) {
    .covertab {
        width: 100%; /* Tři karty v řadě */
        margin-right: 0;      /* Vaše mezera */
    }
}


.bazarcard {
    width: 100%;
}

.bazarcard caption {
    font-family: opensanslightcondensed;
    font-size: 14px;
}

.mainimg {
    position: relative; /* ZÁSADNÍ: Vytvoří kotvu pro absolutní pozicování uvnitř */
    float: left;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f0f0f0;
}

.ikonafoto {
    position: absolute; 
    top: 5px;    /* Vzdálenost od horního okraje */
    right: 5px;  /* Vzdálenost od pravého okraje */
    width: 30px; 
    height: 30px;
    background: url('../design/ikona_foto.png') no-repeat center center; 
    background-size: contain;
    z-index: 5;   /* Zajistí, že bude vždy nad obrázkem */
    cursor: pointer;
    transition: transform 0.2s ease;
}

.ikonafoto:hover {
    transform: scale(1.1); /* Efekt při najetí myší */
}

/* Landscape - vyplní šířku, výška se přizpůsobí/ořízne */
.mainimg img.L {
    object-fit: cover; 
}

/* Portrait - aby nebyl deformovaný a byl vycentrovaný */
.mainimg img.P {
    object-fit: contain; /* Obrázek bude vidět celý, neoříznutý */
    width: auto;         /* Šířka se přizpůsobí výšce 16:9 */
    max-width: 100%;
}

.description {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    /* Místo height: auto použijte min-height, pokud chcete základní velikost */
    height: auto; 
    /* ZÁSADNÍ: vynucení správného box modelu */
    box-sizing: border-box; 
    /* Vylepšený padding */
    padding: 20px; 
    padding-bottom: 25px; /* Explicitně větší spodní padding */
    background: rgba(255, 255, 255, 0.98);
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    z-index: 20;
    /* Toto zajistí, že se vnitřní obsah "uzavře" a padding bude fungovat */
    display: block;
    overflow: hidden;
    display: none;
}

/* Pokud je uvnitř description nějaký text v <p> nebo <div> */
.description::after {
    content: "";
    display: block;
    clear: both;
    height: 1px; /* Malá pojistka pro "vytlačení" spodního okraje */
}

.button-row {
    padding: 15px 0; /* Aby tlačítko nebylo nalepené na hranách */
    border: none;
}

.center-box {
    display: flex;
    justify-content: center; /* Horizontální centr */
    align-items: center;     /* Vertikální centr */
    width: 100%;             /* Nutné, aby div vyplnil celý colspan */
}

.tbfilter td {
    padding: 3px;
}

.tbfilter label {
    font-weight: bold;
}

.tbfilter select {
    min-width: 150px;
}

.filter-container h3 {
    font-size: 16px;
    margin-bottom: 5px;
}

.ulozit {
    width: 30px;
    height: auto;
}

.nacist {
    float: left;
    width: 40px;
    height: auto;
    margin: 8px 15px 0 0;
    cursor: pointer;
}

.zavinac {
    float: left;
    width: 30px;
    height: auto;
    margin-left: 8px;
    cursor: pointer;
}

.tuzka {
    Width: 18px;
}

.writetoowner {
    position: absolute;
    min-width: 200px;
    min-height: 200px;
    z-index: 10;
    background: #fff;
    border: 1px solid grey;
    border-radius: 15px;
    display: none;
}

/* Pozadí modálu */
.v-modal {
    display: none; position: fixed; z-index: 9999;
    left: 0; top: 0; width: 100%; height: 100%;
    background-color: rgba(0,0,0,0.6);
    align-items: center; justify-content: center;
}
/* Aktivní stav */
.v-modal.is-open { display: flex; }

/* Okno modálu */
.v-modal-content {
    background: #fff; padding: 30px; border-radius: 5px;
    width: 90%; max-width: 500px; position: relative;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    color: #333; /* Aby text nebyl bílý na bílé */
}

.modaltable {
    table-layout: auto;
    width: 100%;
}

.inpsubject {
    width: 95%;
}

.inpmessage {
    width: 96%;
    height: 150px;
}

/* Zavírací křížek */
.v-modal-close {
    position: absolute; right: 15px; top: 10px;
    font-size: 28px; cursor: pointer; color: #aaa;
}
.v-modal-close:hover { color: #000; }

.covershowicon {
    float: left;
    width: 42px;
    height: 42px;
    margin-right: 8px;
}

.showicon {
    position: relative;
    width: 42px;
    height: 42px;
    z-index: 20;
}

.countsaved {
    position: relative;
    top: -45px;
    left: 27px;
    z-index: 25;
    font-family: opensanscondensed;
    font-weight: bold;
}

.showsaved {
    float: left;
    width: 100%;
    height: auto;
}

/* 1. Schováme původní nápis "Nebyl vybrán soubor" */
input[type="file"] {
    color: transparent;
    width: 170px; /* Uprav podle délky tvého textu */
}

/* 2. Vytvoříme nové stylové tlačítko pomocí ::before */
input[type="file"]::before {
    /* --- TVŮJ TEXT --- */
    content: 'VYFOTIT nebo NAČÍST'; 
    
    /* --- STYLING --- */
    display: inline-block;
    background: yellow;
    color: #000;
    padding: 8px 10px;
    border-radius: 15px;
    font-family: opensansbold, sans-serif;
    font-size: 14px;
    cursor: pointer;
    transition: 0.3s;
    
    /* Reset průhlednosti (aby byl text vidět) */ 
    visibility: visible;
    color: #000;
}

/* 3. Hover efekt pro nové tlačítko */
input[type="file"]:hover::before {
    background: #e6e600;
}

/* 4. Pro jistotu schováme původní systémové tlačítko, aby nepřekáželo */ 
input[type="file"]::file-selector-button {
    display: none;
}
input[type="file"]::-webkit-file-upload-button {
    display: none;
}

.price {
    background: #fff;
    border: 2px solid #000;
    width: 90px;
    margin-bottom: 10px;
}

.linkh2 {
    color: #000;
}

.linkh2:hover {
    color: #086167;
}

.my {
    background: #28ca97;
}

.td35 {
    height: 35px;
    vertical-align: bottom;
}

.jarovka {
    float: right;
    width: 40px;
    margin: -20px -20px 0 0;
    height: auto;
}

.profi {
    float: right;
    width: 50px;
    margin: -20px -20px 0 0;
    height: auto;
}

.sleva50 {
    float: right;
    width: 80px;
    margin: -22px -20px 0 0;
    height: auto;
}

.darkred {
    color: darkred !important;
}

.delete-button {
    background: orange;
}

.bazos {
    float: left;
    width: 92%;
    height: auto;
    padding: 0 15px;
}

.bazosL {
    float: left;
    width: 15%;
    height: auto;
}

.bazosP {
    float: right;
    width: 80%;
    height: auto;
    text-align: left;
}



