/*
 Theme Name:   Eduma Child
 Description:  Child tema za Eduma sustav
 Author:       Tvoje Ime
 Template:     eduma
 Version:      1.0.0
 Text Domain:  eduma-child
*/




/* Sakrij sadržaj lekcije ako je blokirana (prikazuje samo poruku) */
.learn-press-content-protected-message {
    display: block !important;
    padding: 30px;
    background: #fff3cd;
    border: 2px solid #ffeeba;
    color: #856404;.
    text-align: center;
    margin: 20px;
}

/* Onemogući klikanje u popisu za dovršene i zaključane lekcije */
.course-item.item-completed, 
.course-item.item-locked {
    pointer-events: none !important; /* Onemogućuje klik */
    cursor: not-allowed;
}

.course-item.item-completed {
    background-color: #f8f8f8 !important;
    opacity: 0.6;
}

/* Opcionalno: Sakrij dovršene lekcije potpuno iz liste ako želiš čišći izgled */
/* .course-item.item-completed {
    display: none !important;
} 
*/


/* Onemogući klik na dovršene lekcije u popisu */
.learn-press-v4 .course-item.item-completed {
    pointer-events: none;
    opacity: 0.6;
    cursor: not-allowed;
}

/* Onemogući klik na lekcije koje su "zaključane" (buduće lekcije) */
/* Napomena: LearnPress dodaje klase ovisno o statusu korisnika */
.learn-press-v4 .course-item.item-locked {
    pointer-events: none;
}


/* Stilizacija obavijesti */
.lp-custom-lock-notice {
    padding: 50px 20px;
    margin: 30px 0;
    border-radius: 8px;
    text-align: center;
    border: 2px solid;
}
.lp-custom-lock-notice i {
    font-size: 48px;
    margin-bottom: 20px;
    display: block;
}
.lp-custom-lock-notice.notice-warning {
    background-color: #fffcf0;
    border-color: #f1e497;
    color: #856404;
}
.lp-custom-lock-notice.notice-danger {
    background-color: #fff5f5;
    border-color: #f8d7da;
    color: #721c24;
}

/* Sakrivanje navigacije i gumba za gotove lekcije I KVIZOVE */
.course-item.item-completed .item-nav, 
.course-item.item-completed .lp-course-buttons,
.course-item.item-completed .footer-content-item,
.course-item.lp_quiz.item-completed .quiz-buttons {
    display: none !important;
}

/* Onemogućavanje klika u bočnom popisu za sve gotove stavke */
.learn-press-v4 .course-item.item-completed {
    pointer-events: none;
    opacity: 0.5;
}

/* www.menucool.com/tooltip/javascript-tooltip */

/*For tooltip target element that has set class="tooltip" */
.tooltip {text-decoration: none; border-bottom:1px dotted #004B6B;color: #004B6B; outline: none; position:static; display:inline; opacity:1; }

/*For tooltip box*/
#mcTooltip 
{
    line-height:16px;
    border-width: 1px;   
    color:#333; 
    border-color:#BBB;
    padding:20px;
    font-size: 12px;
    font-family: Verdana, Arial;
    border-radius:6px;
    background-color:#F6F6F6;
}

#mcTooltip.no-padding
{
    padding:0;
    box-shadow: 0 4px 8px rgba(0,0,0,0.5);
}

#mcTooltip, #mcttCo b {
    box-shadow: 0 1px 8px rgba(0,0,0,0.5);
}

/* For hyperlink within tooltip */
#mcTooltip a { color:#069; }

/*Close button. Available when sticky or overlay has been set to true, or is on touch-enabled devices. */
#mcttCloseButton
{ 
    border-radius:4px;
    width:18px;
    height:18px;
    margin-right:2px;
    margin-top:2px;
    background:black;    
}

/*Close button X symbol*/
#mcttCloseButton:after {
    font:normal 38px/18px arial, sans-serif;
    color:white;
    top:0;left:-2px;
}

/*Give the close button a bigger size on smaller devices*/
@media only screen and (max-width: 736px) {
    #mcttCloseButton {
        width:28px;
        height:28px;
    }
    #mcttCloseButton:after {
        font-size:48px;
        line-height:28px;
    }    
} 

/* Useful when overlay has been set to true or 1 in JS */
#mcOverlay 
{
    background-color: rgba(0,0,0,0.5);
    display:none;top:0;left:0;width:100%;height: 100%;overflow:visible;z-index:4; 
}
#mcTooltip img {border:0;vertical-align:middle;}

/*The settings below should remain unchanged*/
#mcTooltipWrapper {position:absolute;visibility:hidden;overflow:visible;z-index:9999999999;top:-2000px;}
#mcTooltip {float:left;border-style:solid;position:relative;overflow:hidden;}
.mcTooltipInner {float:left;position:relative;width:auto;height:auto;}
#mcttCo,  #mcttCo b{position:absolute;overflow:hidden;}

/*compatible with bootstrap*/
#mcTooltip, #mcTooltip div {box-sizing:content-box;}
