/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */


/* Desktop modal stilovi */
.custom-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    z-index: 999999;
    align-items: center;
    justify-content: center;
}

.modal-content, .offcanvas-modal-content {
    background: white;
    border-radius: 8px;
    padding: 30px;
    max-width: 450px;
    width: 90%;
    max-height: 85vh;
    overflow-y: auto;
    position: relative;
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    cursor: pointer;
}

/* Off-canvas modal */
.offcanvas-login-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    z-index: 999999;
    align-items: center;
    justify-content: center;
}

.offcanvas-modal-content {
    background: white;
    border-radius: 8px;
    padding: 25px;
    max-width: 400px;
    width: 90%;
}

/* User menu trigger */
.user-menu-trigger {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 16px;
    background: white;
    border: 1px solid #fff;
    border-radius: 4px;
    cursor: pointer;
}

/* Dropdown menu */
/* Header kontejner - mora imati relativnu poziciju */
.header-container,
.elementor-section-wrap .elementor-section,
.elementor-header,
.site-header {
    position: relative !important;
}

/* Dropdown meni - apsolutna pozicija u odnosu na header */
.custom-user-menu {
    position: relative;
}

.desktop-dropdown-menu,
.offcanvas-dropdown-menu {
    position: absolute !important;
    top: 100% !important;
    right: 0 !important;
    left: auto !important;
    min-width: 220px !important;
    background: white !important;
    border: 1px solid #e0e0e0 !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15) !important;
    z-index: 999999 !important;
    margin-top: 8px !important;
    
    /* ⚠️ UKLONI !important sa display-a ⚠️ */
    display: flex;
    flex-direction: column;
}

/* Sakriveno stanje - OVO JE KLJUČNO */
.desktop-dropdown-menu,
.offcanvas-dropdown-menu {
    display: none !important;
}

/* Kada je otvoren - ONDA prikaži */
.desktop-dropdown-menu.open,
.offcanvas-dropdown-menu.open {
    display: flex !important;
}

/* Off-canvas verzija - levo poravnanje */
.offcanvas-dropdown-menu {
    right: auto !important;
    left: 0 !important;
}

/* Linkovi unutar dropdowna */
.desktop-dropdown-menu a,
.offcanvas-dropdown-menu a {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    padding: 12px 16px !important;
    text-decoration: none !important;
    color: #333 !important;
    font-size: 14px !important;
    transition: background 0.2s ease !important;
}

.desktop-dropdown-menu a:hover,
.offcanvas-dropdown-menu a:hover {
    background: #f5f5f5 !important;
}

/* Separator */
.dropdown-divider {
    height: 1px !important;
    background: #e0e0e0 !important;
    margin: 8px 0 !important;
}

/* Spriječi da header postane veći */
.custom-user-menu {
    overflow: visible !important;
}

/* Forme */
.auth-form {
    display: none;
}
.auth-form.active {
    display: block;
}
.form-group {
    margin-bottom: 15px;
}
.form-group input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
}
.auth-submit-btn {
    width: 100%;
    padding: 12px;
    background: #333;
    color: white;
    border: none;
    border-radius: 30px;
    cursor: pointer;
}
.social-buttons {
    display: flex;
    gap: 10px;
    margin: 15px 0;
}
.separator {
    text-align: center;
    margin: 15px 0;
}



.single-quote .quote-categories {
    margin-top: 0px;
    font-size: 0.9em;
    color: #666;
    padding-top: 10px;
    padding-bottom: 10px;
}

.single-quote .quote-author {
    font-weight: 500;
    color: #007cba;
    margin-top: 10px;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    flex-wrap: nowrap;
}

.single-quote .quote-author a {
    color: #007cba;
    text-decoration: none;
    margin-left: 10px;
    font-size: 15px;
    font-weight: 500;
}

.single-quote .quote-author a::before {
    content: "- ";

}

.single-quote {
    background: #fff;
    padding: 0px;
    border: solid 1px #eaeaea !important;
    margin-bottom: 20px;
    border-radius: 8px;
    border-bottom-right-radius: 4px;
    border-bottom-left-radius: 4px;
}

.single-quote blockquote {
    font-size: 16px;
    font-style: normal;
    margin: 0 0 5px 0;
    color: #212223;
    font-family: "Roboto";
    padding: 0px 20px;
    padding-top: 15px;
    letter-spacing: 0.2px;
}

.single-quote .quote-author {
    font-weight: 500;
    color: #007cba;
    margin-top: 0px;
    padding-left: 12px;
}


.single-quote .quote-categories {
    margin-top: 0px;
    font-size: 11px;
    color: #666;
    padding-left: 20px;
}

.quote-actions {
    display: flex;
    gap: 0px;
    margin-top: 0px;
    justify-content: flex-end;
    flex-wrap: wrap;
    padding-right: 0px;
    padding-bottom: 0px;
    padding-top: 0px;
    border-top: 1px solid #eaeaea;
}


img.emoji {
		display: inline !important;
		border: none !important;
		box-shadow: none !important;
		height: 1em !important;
		width: 1em !important;
		margin: 0 0.07em !important;
		vertical-align: -0.1em !important;
		background: none !important;
		padding: 0 !important;
		font-size: 17px;
	}

    em {
    font-style: normal;
}


/* Stranica autora - header sa slikom */
.author-page-header {
    text-align: start;
    margin-bottom: 0px;
    padding: 30px 5px;
    background: transparent;
    border-radius: 8px;
    padding-bottom: 15px;
    padding-top: 0px;
}

.author-header-image {
    margin-bottom: 0px;
}

.author-header-image img, .author-header-image .avatar {
    width: 100px;
    height: 100px;
    border-radius: 4%;
    object-fit: cover;
    border: 1px solid white;
    box-shadow: 0 4px 15px rgba(0,0,0,0);
}

.author-page-title {
    font-size: 30px;
    margin: 0px 0 0px;
    color: #212223;
    letter-spacing: 0.2px;
}

.author-description {
    max-width: 600px;
    margin: 10px auto;
    color: #666;
    font-size: 1em;
    line-height: 1.5;
}

.author-quote-count {
    display: inline-block;
    background: #0075ab;
    color: white;
    padding: 3px 15px;
    font-weight: 600;
    border-radius: 4px;
    font-size: 0.85em;
    margin-top: 10px;
}

/* Responzivnost */
@media (max-width: 768px) {
    .author-header-image img,
    .author-header-image .avatar {
        width: 100px;
        height: 100px;
    }
    
    .author-page-title {
        font-size: 1.6em;
    }
}


.category-header{
 text-align: start;
 margin-bottom: 10px;
}

.category-quote-count{
 font-size: 14px;
 color: #007cba;
}

.form-group label {
    display: flex;
    margin-bottom: 8px;
    font-weight: 500;
    /*width: 100%;*/
    font-size: 14px;
}

#desktop_reg_terms {
    width: 10px !important;
    padding: 12px 15px;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
}

a.prev.page-numbers{
    background: #fff;
    color: #333;
    border-radius: 4px;
    padding: 5px 10px;
    border: solid 1px #eaeaea;
    font-size: 14px;
}

a.next.page-numbers{
    background: #fff;
    color: #333;
    border-radius: 4px;
    padding: 5px 10px;
    border: solid 1px #eaeaea;
    font-size: 14px;
}

a.page-numbers{
    background: #fff;
    color: #333;
    border-radius: 4px;
    padding: 5px 10px;
    border: solid 1px #eaeaea;
    font-size: 14px;
}

a.page-numbers:hover{
    background: #f0f9fc;
    color: #333;
    border-radius: 4px;
    padding: 5px 10px;
    border: solid 1px #007cba;
    font-size: 14px;
}

span.page-numbers.current {
    background: #007cba;
    color: #ffffff;
    font-weight: 600;
    border-radius: 4px;
    padding: 5px 10px;
    border: solid 1px #007cba;
    font-size: 14px;
}

@media ( max-width: 768px) {
a.page-numbers{
    background: #fff;
    color: #333;
    border-radius: 4px;
    padding: 5px 10px;
    border: solid 1px #eaeaea;
    font-size: 14px;
}

span.page-numbers.current {
    background: #007cba;
    color: #ffffff;
    font-weight: 600;
    border-radius: 4px;
    padding: 5px 10px;
    border: solid 1px #007cba;
    font-size: 14px;
}

a.prev.page-numbers{
    background: #fff;
    color: #333;
    border-radius: 4px;
    padding: 8px 10px;
    border: solid 1px #eaeaea;
    font-size: 14px;
    margin-right: 30px;
}

a.next.page-numbers{
    background: #fff;
    color: #333;
    border-radius: 4px;
    padding: 8px 15px;
    border: solid 1px #eaeaea;
    font-size: 14px;
}

}

@media ( max-width: 435px) {
a.page-numbers{
    background: #fff;
    color: #333;
    border-radius: 4px;
    padding: 5px 10px;
    border: solid 1px #eaeaea;
    font-size: 14px;
}

span.page-numbers.current {
    background: #007cba;
    color: #ffffff;
    font-weight: 600;
    border-radius: 4px;
    padding: 5px 10px;
    border: solid 1px #007cba;
    font-size: 14px;
}

  .search-header{
margin-top: -39px !important;
}

}

.offcanvas-dropdown-menu.open {
    display: flex !important;
    position: absolute;
    left: -30% !important;
    /* transform: translateX(-25%); */
}

span.close-offcanvas {
    display: flex;
    justify-content: flex-end;
    font-size: 30px;
    margin-top: -20px;
}



.custom-search-btn {
color: #0075ab;
}

#reg_terms_offcanvasModal_1 {
    width: 10px !important;
    margin-right: 5px !important;
}

#reg_terms_{
    width: 10px !important;

}

a#section:hover {
background: #f0f9fc !important;
}

/*.navigation-links:hover{
    background: #f0f9fc;
    border: solid 1px #007cba;
        
}*/

.comment-form-author {
    padding: 10px;
    display: flex;
    flex-direction: column;
    width: 250px;
    margin-bottom: 1px;
}

input#author {
    padding: 7px;
    border-radius: 4px;
    border: solid 1px #e0e0e0;
}

input#email {
    padding: 7px;
    border-radius: 4px;
    border: solid 1px #e0e0e0;
}

.comment-form-email {
    padding: 10px;
    display: flex;
    flex-direction: column;
    width: 250px;
    margin-top: 1px;
}

.comment-form-url {
     display: none;
}


/*kod novi dropdown*/


.qotd-slide {
    min-width: 100%;
    flex-shrink: 0;
    width: 100%;
    box-sizing: border-box;
    max-height: 400px !important;
}



/*author grid*/

.popular-author-avatar {
            width: 90px !important;
            height: 90px !important;
            border-radius: 4px !important;
            object-fit: cover;
            margin-bottom: 10px;
        }
        .popular-author-avatar-placeholder {
            width: 90px !important;
            height: 90px !important;
            border-radius: 4px !important;
            background: linear-gradient(135deg, #007cba, #005a87);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 28px;
            font-weight: 700;
            color: white;
            margin-bottom: 10px;
            flex-shrink: 0;
        }

.popular-author-avatar-placeholder {
            width: 90px !important;
            height: 90px !important;
            border-radius: 4px !important;
            background: linear-gradient(135deg, #007cba, #005a87);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 28px;
            font-weight: 700;
            color: white;
            margin-bottom: 10px;
            flex-shrink: 0;
        }

@media (max-width: 769px) {
            .popular-authors-grid {
                grid-template-columns: repeat(3, 1fr);
                gap: 5px;
            }

            .popular-author-avatar {
    width: 80px !important;
    height: 80px !important;
    border-radius: 4px !important;
    object-fit: cover;
    margin-bottom: 10px;
}

.popular-author-avatar-placeholder {
            width: 80px !important;
            height: 80px !important;
            border-radius: 4px !important;
            background: linear-gradient(135deg, #007cba, #005a87);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 28px;
            font-weight: 700;
            color: white;
            margin-bottom: 10px;
            flex-shrink: 0;
        }

.category-header {
margin-top: -30px !important;

}
        }

span:hover{
text-decoration: underline 1px #0075ab;
color: #0075ab;

}

