/* Global Styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    background-position-y: top;
    background-position-x: center;
    background-size: auto;
    background-repeat: no-repeat;
}

/* Donesem si font co sa pouzije dalej v stranke */
@font-face {
    font-family: "Beckman";
    src: url("MyFonts/Beckman-FREE.otf");
}

@font-face {
    font-family: "Montserat_regular";
    src: url("MyFonts/montserrat/Montserrat-Regular.ttf");
}


.font_beckman {
    font-family: 'Beckman'
}

::selection {
    color: rgb(255, 255, 255);
    background: rgb(228, 141, 255);
}

.container {
    max-width: 900px;
    margin: 50px auto;
    background: rgb(235, 235, 235, 1);
    padding: 20px;
    /* border-radius: 5px; */
    box-shadow: 0px 0px 5px rgba(1, 1, 1, 1);
    
}

h2 {
    text-align: center;
    color: #333;
}

/* Form Styles */

.title_block {
    display: flex;
    justify-content: center;
    
    margin: 10px auto;
    /* max-width: 775px; */
    font-weight: bold;
}

label {
    font-weight: bold;
}

/* input[type="text"] {
    display: block;
    margin: 10px auto 10px;
    max-width: 880px;
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;

    font-size: 16px;
} */


    input[type="text"], textarea {
        border: 1px solid #ccc; /* Štandardný šedý okraj */
        padding: 10px;
        max-width: 880px;
        margin: 10px auto 10px;
        display: block;
        width: 100%;
        /* border-radius: 5px; Zaoblené rohy */
        outline: none; /* Odstráni predvolený modrý okraj prehliadača */
        transition: all 0.3s ease-in-out; /* Plynulý prechod pri kliknutí */

       
    }

    input[type="text"]:focus, textarea:focus {
        border-color: #007bff; /* Modrý okraj pri kliknutí */
        /* Tien definicia . 1 - uhol , 2 - uhol, 3 - velkost , 4 - dovnutra velkost, (farba, a blur) */
        box-shadow: inset 0 0 2px 2px rgb(152 152 158 / 30%); /* Modrý vnútorný tieň */
    }




/* Editor.js Container */
/* #editorjs {
    background: white;
    border: 1px solid #ccc;
    padding: 10px;
    min-height: 300px;
    max-width: 775px;
    border-radius: 5px;
    display: block;
    margin: 10px auto;
    opacity: 200%;
} */

/* Save Button */
.btn {
    display: block;
    width: 900%;
    /* background: #28a745; */
    color: white;
    padding: 10px;
    border: none;
    /* border-radius: 5px; */
    font-size: 16px;
    
    margin-top: 20px;
    cursor: pointer;
    transition: background 0.3s;
    border-radius: 30px 30px 30px 5px;
}

.btn-top {
    display: block;
    width: 900%;
    /* background: #28a745; */
    color: white;
    padding: 5px;
    border: none;
    /* border-radius: 5px; */
    font-size: 16px;
    
    margin-top: 20px;
    cursor: pointer;
    transition: background 0.3s;
    border-radius: 30px 30px 30px 5px;
}


.save {
    background: #70c283;
    margin-right: 5px;
    /* margin-left: -10px; */
    box-shadow: inset 0 0 2px 2px rgb(152 152 158 / 30%); /* Modrý vnútorný tieň */
}

.save:hover {
    background: #218838;
}

.cancel {
    background: #cfcfcf;
    margin-left: 5px;
    border: 2px solid #ffffff;
    color:  #7e7e7e;
    /* margin-right: -10px; */
    box-shadow: inset 0 0 2px 2px rgb(152 152 158 / 30%); /* Modrý vnútorný tieň */
}

/* Pridam triedu btn-social kde zarovnam text na stred, updavim velkost obrazku na 50px */
.btn-social {

}

.btn-social {
    /* background-color: #264653; */
    display: flex;
    align-items: center;
    justify-content: center;
    
    color: #1b5891;
    margin: 10px;
    
  
    cursor: pointer;
    border: 1px #1b5891 solid;
    background-color: #f5f5f5;
   
}

.btn-social:hover {
    background-color: #f5f5f5;
    color: #1b5891;
    background-color: #f0f8ff;
    /* font-weight: bold; */
    /* border: 1px #1b5891 solid; */
}

.btn-social img{
    /* background-color: #264653; */
    height: 25px;    /* Uprav výšku podľa potreby */
    width: auto;     /* Automatická šírka podľa pomeru strán */
    margin-right: 10px;
}

.cancel:hover {
    background: #ee808b;
    margin-left: 5px;
    color: #f4f4f4;
    border: 2px solid #bebebe;
}

/* Pocitadlo slov a pismen, trochu mensie pismo */

.ck-word-count__words, .ck-word-count__characters {
  font-size: small;
  font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
}


.form-container {
    display: flex;       /* Aktivujeme Flexbox */
    justify-content: space-between; /* Rozmiestni prvky – prvý vľavo, druhý vpravo */
    align-items: center;  /* Zarovná prvky na výšku */
    gap: 20px;           /* Pridá medzeru medzi prvkami */
}

@media (max-width: 768px) {
    .form-container {
        flex-direction: column; /* Na mobiloch prvky pod seba */
    }
}

.form-group {
    flex: 1;             /* Každý prvok zaberie rovnakú šírku */
    min-width: 200px;    /* Minimálna šírka pre menšie obrazovky */
    margin-top: 20px;

}

.label_obsah {
    margin-bottom: 50px;
}



    /* Štýl pre Select box */
    select {
        appearance: none; /* Skryje natívny vzhľad v prehliadačoch */
        -webkit-appearance: none;
        -moz-appearance: none;
        background-color: white;
        border: 1px solid #ccc;
        padding: 10px;
        width: 100%;
        font-size: 16px;
       
        outline: none;
        transition: all 0.3s ease-in-out;
        cursor: pointer;
    }

    /* Štýl pri kliknutí na select */
    select:focus {
 

        border-color: #007bff; /* Modrý okraj pri kliknutí */
        /* Tien definicia . 1 - uhol , 2 - uhol, 3 - velkost , 4 - dovnutra velkost, (farba, a blur) */
        box-shadow: inset 0 0 2px 2px rgb(152 152 158 / 30%); /* Modrý vnútorný tieň */
    }

    /* Štýl pre rozbaľovací zoznam */
    select option {
        background-color: white;
        color: #333;
        padding: 10px;
        border-radius: 0px !important; /* Zaoblené rohy */
    }

    /* Štýl pri hoveri na možnosti */
    select option:hover {
        background-color: #007bff;
        color: white;
    }

    /* Ikona rozbaľovania */
    .custom-select {
        position: relative;
        display: inline-block;
        width: 100%;
    }

    .custom-select::after {
        content: '▼'; /* Šípka nadol */
        position: absolute;
        top: 50%;
        right: 10px;
        transform: translateY(-50%);
        color: #007bff;
        pointer-events: none;
    }


    /* Tlacidlo upload */


    /* Skryjeme štandardný input */
/* input[type="file"] {
    display: none;
} */

/* Vytvoríme vlastné tlačidlo */
.custom-file-upload {
    display: inline-block;
    padding: 10px 20px;
    font-size: 16px;
    font-weight: bold;
    color: white;
    background-color: #007bff;
    border: none;
    /* border-radius: 5px; */
    cursor: pointer;
    transition: all 0.3s ease-in-out;
}

/* Efekt po najazdení myšou */
.custom-file-upload:hover {
    background-color: #0056b3;
}

/* Efekt pri kliknutí */
.custom-file-upload:active {
    background-color: #003d80;

}


/* For article styles  */

.ck-content p {

    font-size: 15px;
    color: #212121;
    /* padding: 10px 0 43px; */
    font-family: Montserat_regular;
}

.ck-content li {

    font-size: 15px;
    color: #212121;
    /* padding: 10px 0 43px; */
    font-family: Montserat_regular;
}
/*  */
/* Kometare */
/*  */

.comment-block  {
    margin: 20px 0;
    padding: 10px;
    background-color: #f3f3f3d5;
    border-radius: 5px;
}

.comment_header {
    display: flex;           /* Použitie Flexboxu */
    justify-content: space-between; /* Rozostup: prvý vľavo, druhý vpravo */
    align-items: center;      /* Vertikálne zarovnanie na stred */
    padding: 10px;        /* Odporúčam jemné vnútorné okraje pre vizuálne vylepšenie */
    background-color: #f4f3f3d5; /* Jemné pozadie pre zvýraznenie hlavičky */
    border-bottom: 1px solid #ddd;
}

.comment-header-name {
    font-weight: bold;
}

.comment-header-date {
    display: flex;
    align-items: center;
    text-align: right;
    color: #888;             /* Jemnejšia farba pre dátum */
    font-size: 0.7rem;       /* O niečo menší text pre dátum */
}
.comment-content{
    margin-left: 10px;
}

/* font-size: x-small !important */

/* Spravim triedu ktora mi spravy deliacu ciaru pod textom pre blok  */
.comment_after_line {
    border-bottom: 1px solid #ccc;
    margin: 25px 30px 25px 30px;
}

.disabled-editor {
    pointer-events: none;
    opacity: 0.5;
}   /* Zablokuje možnosť kliknutia na element a zmení jeho priehľadnosť */

.xmark {
    color: rgb(151, 151, 151);
    font-size: 1.5rem;
    cursor: pointer
}

.xmark:hover {
    color: #f00;;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.2s ease-in-out; 
    
}