/* Sakrij popup do trenutka kad ga modal widget premjesti u .custom-modal-popup wrapper — sprječava FOUC dok RequireJS učitava jquery/modal/calendar/cookies/validation */
.custom-popup { display: none; }
.custom-modal-popup .custom-popup { display: block; }

/* Čisti fade-in modala — onemogućuje Magentovo default klizanje translateY(-200%) (djeluje nezgrapno na dužim trajanjima) i koristi samo glatku promjenu prozirnosti */
.custom-modal-popup.modal-popup {
    transition: opacity 0.45s ease, visibility 0s linear 0.45s;
}
.custom-modal-popup.modal-popup._show {
    transition: opacity 0.45s ease;
}
.custom-modal-popup.modal-popup .modal-inner-wrap {
    transform: none;
    transition: none;
}

.custom-modal-popup header.modal-header {
    display: none;
}
.custom-modal-popup footer.modal-footer {
    display: none;
}
.custom-modal-popup.modal-popup .modal-content{
    padding: 3rem;
 }
.custom-modal-popup{
    text-align: center;   
}
.custom-modal-popup .custom-popup{
    padding-bottom: 10px;
}
.custom-modal-popup .modal-inner-wrap{
    width: 50%;
}
.modal-inner-wrap{
    top: 20%;
}
.custom-modal-popup .custom-popup .popup-logo img{
    width: 30% ;
}
/*.dob input[type="text"]{
    width: 40% !important;
    margin: auto;
}*/
.custom-modal-popup .not-allowed{
    margin: 22px auto 6px;
    color: #b34a4a;
    font-style: italic;
}
.custom-modal-popup .not-allowed h4 {
    margin: 0;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.5;
    letter-spacing: 0.2px;
}
.custom-modal-popup form {
    padding-top: 15px;
}
.custom-modal-popup .content{
    margin-top: 1.5em;
    font-size: 14px;
    font-weight: 500;
}
.custom-modal-popup button.enter_button_no {
    width: 20%;
    background-color: #b6985c;
    color: #ffffff;
    font-size: 15px;
    border: none;
}
.custom-modal-popup button.enter_button {
    width: 20%;
    background-color: #c2d44f;
    color: #ffffff;
    font-size: 15px;
    border: none;
}
.popup-title {
    background-color: #ffffff;
    height: 30px;
    color: #ffffff;
}
.custom-popup .required-entry{
    color: #e7443c;
}
.custom-popup .required-entry h2{
    font-size: 12px;
}
.error{
    display: block;
    color: #e7443c;
}
#custom-datepicker input[type="text"].error{
    border-color: #e7443c;
}
#custom-datepicker .field {
    width: 50%;
    margin-left: 170px;
}
#custom-datepicker .field label{
    float: left;    
}
#custom-datepicker .field label span{
    padding: 8px 0px 8px;    
}
#custom-datepicker .field div.name{
    margin-top: 15px;    
}
#custom-datepicker .field div.email{
    margin-top: 15px;    
}
#custom-datepicker .field .dob{
    margin-top: 15px;    
}
#custom-datepicker .action{
    margin-top: 15px;
}