/* Promjena boja ***************************************************/

.text-color-red{
    color:#eb1e25;
}

.show{
    display:block !important;}

.hide-promo-date{
    display: none;
}

.vijesti-c-c{
    display: none;
}


/* Glavna Navigacija ******************************************/

.izbornik-main{
    display: none;
}

.nav-main{
    position: sticky;
    top: 0;
    z-index: 2;
    opacity: 1;
    transition: opacity 0.3s ease-out;
    background: white;
}

.container-nav{
    max-width: 1200px;
    margin:0 auto;
    height:60px;
    border-bottom: solid 1px #ebebeb;
}

.grid-12-nav{
    display: grid;
    grid-template-columns: repeat(12, 1fr);
}

.nav-mob{
    display:none;
}

.nav-logo{
    display: flex;
    justify-content: left;
    align-items: center;
    grid-column: span 1;
    /*background-color: #1d1d1d;*/
}

.nav-logo>a{
    height:40px;
}

.nav-logo>a>img{
    height:40px;
}

.main-menu, .menu-header-menu-container{
    display:flex;
    grid-column: span 10;
    justify-content: center;
}

.main-menu-ul, .menu-header-menu-container>ul{
    display: flex;
}

.main-menu-ul>li, .menu-header-menu-container>ul>li{
    display: flex;
    position: relative;
}

.main-menu-ul>li>a, .menu-header-menu-container>ul>li>a{
    display: flex;
    align-self: center;
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    font-weight:500;
    letter-spacing: 0.5px;
    padding: 20px 15px;
    text-transform: uppercase;
}

/* hover ******************************/

.main-menu-ul>li>a:hover, .menu-header-menu-container>ul>li>a:hover{
    color:#eb1e25;
}

.sport-c-c>a:hover{
    color:#4F9504 !important;
}

.posljednji-c-c>a:hover{
    color:#767575 !important;
}

.promo-c-c>a:hover{
    color:#E1B64E !important;
}
/**/
/* after ******************************/

.main-menu-ul>li>a::after, .menu-header-menu-container>ul>li>a::after{
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -1px;
    width:0;
    height: 2px;
    background-color: #eb1e25;
    transition: width 0.5s ease;
}

.sport-c-c>a::after{
    background-color: #4F9504 !important;
}

.posljednji-c-c>a::after{
    background-color: #767575 !important;
}

.promo-c-c>a::after{
    background-color: #E1B64E !important;
}
/**/

/* hover/after **************************/

.main-menu-ul>li>a:hover::after, .menu-header-menu-container>ul>li>a:hover::after{
    width: 80%;
}

/**/

.arrow{
    height:16px;
    width: 16px;
}

.social{
    display:flex;
    grid-column: span 1;
    align-self: center;
}

.social a{
    margin: 3px 5px 0 5px;
}

.social a img{
    width: 26px;
    padding: 5px;
}

.social a img:hover{
    transform: scale(1.1);
    transition: transform 0.3s ease;
}

/* oglas *************************************************************/

.oglas-izmedu{
    display: flex !important;
    align-items: center;
    max-width: 1200px;
    margin:30px auto;
    justify-content: center;
    min-height: 150px;
    font-weight: bold;
}

.oglas-izmedu a, .slager-aside-oglas a {
    z-index: 1;
}

.oglas-izmedu ins, .slager-aside-oglas ins{
    z-index: 1;
}

.oglas-izmedu p, .slager-aside-oglas p {
    font-size: 30px;
    font-weight: 300;
    position: absolute; 
    text-align: center;
    width: 100%; 
    color: #ebebeb;
    z-index: 0;
}

.slager-aside-oglas{
    display: flex;
    align-items:center;
    max-width:300px;
    justify-content: center;
    min-height: 250px;
    font-weight: bold;
}

/* vijesti-sport nav - Vijesti/Sport/Zupanije/Opcine *******************************/

.secondary-nav{
    max-width: 1200px;
    margin:0 auto;
}

.secondary-nav>div>ul{
    display:flex;
    justify-content: left;
    column-gap: 20px;
    /*margin-bottom: 30px;*/
    border-bottom: 1px solid #ebebeb;
    max-width: fit-content; 
}

.secondary-nav>div>ul>li{
    padding: 10px 0;
    position:relative;
}

.secondary-nav>div>ul>li>a{
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.secondary-nav>div>ul>li>a:hover{
    color:#eb1e25;
}

.secondary-nav>div>ul>li>a::after{
    content: '';
    position: absolute;
    left:50%;
    transform: translateX(-50%);
    bottom:0;
    width: 0;
    height: 2px;
    transition: width 0.5s ease;
}

.secondary-nav>div>ul>li>a::after{
    background-color: #eb1e25;
}

.secondary-nav>div>ul>li>a:hover::after{
    width: 100%;
}

.menu-sport-container>ul>li>a:hover{
    color:#4F9504 !important;
}

.menu-sport-container>ul>li>a::after{
    background-color:#4F9504 !important;
}

/* Trazilica *********************************************************/

/* Trazilica ********************************************************************************/

/*#search-icon{
    display:block;
}

#close-icon{
    display: none;
}

.trazilica-forma {
    position: fixed;
    top: 70px;
    left: 55.3%;
    z-index: 10;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.trazilica-checkbox{
    margin-top: 10px;
    display: flex;
    justify-content: space-between;
    color: white;
}

.trazilica-checkbox label:hover{
    cursor: pointer;
}

.search-field {
    display: inline-block;
    position: relative;
}

.search-field input[type="text"] {
    padding: 20px 5px;
    border: 1px solid #ccc;
    border-radius: 5px;
    width: 500px; 
    box-sizing: border-box;
}

.search-field input[type="text"]::placeholder {
    color: #999;
}

.search-button {
    display: inline-block;
    margin-top: 10px;
}

#search-button {
    background-color: #eb1e25; 
    border: none;
    color: white; 
    padding: 10px 20px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    cursor: pointer; 
    border-radius: 5px; 
    transition: background-color 0.3s;
}

#search-button:hover {
    background-color: #0b2c04; 
}

.overlay{
    visibility:hidden;
    position: fixed;
    opacity: 0;
    background: black;
    z-index: 3;
    top:0;
    left: 0;
    right: 0;
    bottom:0;
}

.show{
    visibility: visible;
    opacity: 0.7;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
*/
.invisible {
    opacity: 0 !important;
    pointer-events: none;
}

/* Trazilica */

#search-icon, #search-icon2{
    display:block;
}

#close-icon, #close-icon2{
    display:none;
}

.trazilica-forma{
    display: none;
    position: fixed;
    top: 80px;
    left: 50%;
    transform: translate(-50%, 0);
    z-index: 5;
}

.search-field {
    display: inline-block;
    position: relative;
}

.search-field input[type="text"] {
    height:50px;
    border: 1px solid #ccc;
    border-radius: 5px;
    width: 500px; 
    padding:10px;
    box-sizing: border-box;
    outline: none;
    background-color: #ffffff;
    background: #ffffff;
}

.search-field input:-webkit-autofill,
.search-field input:-webkit-autofill:hover,
.search-field input:-webkit-autofill:focus,
.search-field textarea:-webkit-autofill,
.search-field textarea:-webkit-autofill:hover,
.search-field textarea:-webkit-autofill:focus,
.search-field select:-webkit-autofill,
.search-field select:-webkit-autofill:hover,
.search-field select:-webkit-autofill:focus {
    transition: background-color 5000s ease-in-out 0s; /* Prevent autofill background color */
  -webkit-box-shadow: 0 0 0px 1000px white inset !important; /* Override default blue background */
}

.search-field input[type="text"]:-moz-autofill:hover {
    transition: background-color 5000s ease-in-out 0s; /* Prevent autofill background color */
    box-shadow: 0 0 0px 1000px white inset !important; /* Override default blue background */
}

.search-field input[type="text"]::placeholder {
    color: #999;
}

#search-button {
    position: absolute;
    top:10px;
    right: 2px;
    height: 30px;
    margin-bottom: 10px;
    background: #ffffff;
    border: none;
}

#search-button img{
    align-self: center;
    width:18px;
    height:18px;
}

#search-button:hover{
    cursor:pointer;
}

.overlay, .overlay-hamburger-nav{
    display:none;
    position: fixed;
    top:0;
    left:0;
    width: 100%;
    height: 100vh;
    z-index: 3;
    background: black;
    opacity: 30%;
}
