@import url('https://fonts.googleapis.com/css?family=Montserrat&display=swap');

:root{
    --zelenaSP: #00ff55;
    --zutaSP: #f6ff00;
    --logoPozadina: #33383c;
    font-family: 'Montserrat', sans-serif; 
}
*{
    box-sizing: border-box;
}
html, body {
    background-color: silver;
    margin: 0;
    padding: 0;
    font-family: 'Montserrat', sans-serif;
    scroll-behavior: smooth;
    -webkit-tap-highlight-color: rgba(0,0,0,0);

}
.no-select {
    user-select: none;
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
}
#topDugme {
    position:fixed; 
    display:none;
    bottom:20px;
    right:30px;
    font-size:30px;
    border: none;
    background-color:rgb(204, 255, 153, 0.5);
    color:black;
    cursor: pointer;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    z-index: 50;
    text-align: center;
    padding: 3px;
    box-sizing: border-box;
}
.polje-putanja {
    text-align: left;
    padding: 0px;
}
.polje-putanja ul {
    margin: 0px!important;
    padding: 0px!important;
    list-style: none;
    display: inline-block;
}
.polje-putanja ul li {
    margin: 0px!important;
    padding: 0px!important;
    display: inline-block;
    cursor: pointer;
}
.polje-putanja ul li div {
    background-color: silver;
    margin: 0px;
    height: 20px;
    padding: 1px 5px 1px 15px;
    display: block;
    float: left;
    position: relative;
    text-decoration: none;
    color: black;
}
.polje-putanja ul li div::after {
    content: "";
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-left: 10px solid silver;
    position: absolute;
    right: -10px;
    top: 0px;
    z-index: 1;
}
.polje-putanja ul li div::before {
    content: "";
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-left: 10px solid white;
    position: absolute;
    left: 0px;
    top: 0px;
}
.polje-putanja ul li:first-child div{
    border-top-left-radius: 6px;
    border-bottom-left-radius: 6px;
    padding-left: 6px;
}
.polje-putanja ul li:first-child div::before{
    display: none;
}
.polje-putanja ul li:last-child div{
    padding-right: 15px;
    border-top-right-radius: 6px;
    border-bottom-right-radius: 6px; 
}
.polje-putanja ul li:last-child div::after{
    display: none;
}
.polje-putanja ul li div:hover {
    background-color: grey;
    color: white;
}
.polje-putanja ul li div:hover::after{
    border-left-color: grey;
    color: white;
}
.polje-putanja ul li:nth-child(2), 
.polje-putanja ul li:nth-child(3),
.polje-putanja ul li:nth-child(4) {
    display: none;
}
.polje-sredina{
    min-height: 80vh!important;
}
.dugmeKatOkvir{
    border-bottom: 5px solid var(--zelenaSP);
    border-left: 5px solid var(--zelenaSP);
    /* border-right: 5px solid var(--zelenaSP); */
    font-weight: 900;

}
footer{
    display: flex;
    flex-direction: column;
    gap: 2em;
}
#divFooter__sve{
    display: grid;
    gap: 1em;
    grid-template-areas: "najtr najtr"
                        "logo sadrzaj";
    grid-template-columns: 200px auto;
}
#divFooter__najtrazenije{
    grid-area: najtr;
    text-align: center;
}
#divFooter__logo{
    grid-area: logo;
    display: flex;
    justify-content: center;
}
#divFooter__sadrzaj{
    grid-area: sadrzaj;
    display: grid;
    grid-template-areas: "kontakt meni"
                        "app meni"
                        "app korisnicki";
}
#ulFootMeni{
    text-align: center;
}
#divDugmeIA{
    grid-area: app;
}
#dugmeInstallApp{
    border-radius: 5px;
    display: flex;
    width: clamp(180px, 60%, 210px);
    margin: 1em auto;
    height: 60px;
    justify-content: space-between;
    align-items: center;
    padding: .2em 0.5em;
    border: 2px solid var(--zelenaSP);
    outline: 1px solid yellow;
    background-color: #33383cd5;
    outline-offset: 1px;
    cursor: pointer;
    position: relative;
}
#divFooter__kontakt{
    grid-area: kontakt;
}
#divFooter__kontakt ul{
    list-style: none;
    display: flex;
    justify-content: space-evenly;
    margin: .6em auto;
    padding: 0;
}
#divFooter__kontakt ul li{
    display: inline-block;
    font-size: 1.7em;
    padding: .1em;
    margin: .1em .2em;
}
#divFooter__kontakt ul li a{
    color: white;
}
#dugmeInstallApp span{
    font-size: .7em;
    text-align: center;
}
#dugmeInstallApp img{
    width: 48px;
}
#divFooter__meni{
    grid-area: meni;
}
#ulFootMeni{
    list-style: none;

    margin: 0;
    padding: 0;
}
#ulFootMeni li{
    margin: 1.2em 0;
}
#ulFootMeni li a {
    color: white;
    text-decoration: none;
}
#ulFootMeni li a:hover span {
    text-decoration: underline;
}
#divFooter__korisnicki{
    grid-area: korisnicki;
}
#divFoot_urediteProfil{
    grid-area: urediProf;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: white;
    padding: .5em;
    border-radius: .2em;
    background-color: rgb(0, 0, 0, 0.5);
    font-weight: 700;
    font-size: 1.4em;
    text-shadow: 1px 1px 2px rgb(0, 0, 0, 0.5);
    gap: .5em;

}
#divFoot_urediteProfil a{
    color: white;
    font-weight: 700;
    text-shadow: 1px 1px 2px rgb(0, 0, 0, 0.5);
}
#spnNemateNalog{
    padding: .6em 1em;
    box-shadow: 0px 0px 13px #00ff55;
    background-color: #f6ff0040;
    border-radius: .3em;
}
#divFooter__prava>span{
    display: block;
    text-align: center;
}
#divFooter__prava>div{
    display: flex;
    align-items: center;
    margin: 0 auto;
    width: fit-content;
}

@media screen and (max-width:480px) { /*telefon*/
    html, body {
        width: 100vw;
	}
    
    .naslov {
        max-height: 80px;
		background-color: #33383c;
		padding: 5px;
        max-width: 100vw;
	}

    .naslov div {
		width: auto;
		height: 100%;
		margin-left: auto;
		margin-right: auto;
	}

	.naslov div img {
		max-width: 99%;
        width: 99%;
        height: auto;
	}
	.naslov div span:nth-child(3) {
		font-weight: 900;
	}

    .grid-container {
		height: auto;
        width: 100%;
		background-color: white; 
		margin: 0px;
		display: grid;
		grid-template-areas: 
		"header header header"
		"putanja putanja putanja"
		"main main main"
		"footer footer footer";
		grid-template-rows: 40px 30px 1fr auto;
		grid-template-columns: 1fr 1fr 1fr;
	}
	
	.grid-polja {
		background-color: #fff;
	}
	
	.polje-meni {
		grid-area: header;
		padding: 0px;
		margin: 0px;
		display: grid;
    	grid-template-columns: auto auto;
		gap: 2px;
		position: relative;
	}
	.polje-meni::-webkit-scrollbar {
		display: none; 
	}
	.meni {
		align-self: center;
		display: block;
		height: 40px;
		margin: 0 0 0px 0px;
		padding: 0;
		width: 100px;
        transition: 0.3s;
        z-index: 100;
	}

    .meni-prikaz {
        height: 270px;
        width: 220px;
        background-color: whitesmoke;
        outline: 1px solid rgb(110, 110, 110);
        padding: 0px 0px;
        transition: all 0.3s;
        border-bottom: 2px solid silver;
        border-right: 2px solid silver;
        border-bottom-right-radius: 20px;
        box-shadow: inset -1px -1px 6px 3px silver,
                    1px 1px 2px 1px var(--zelenaSP);
        transition: 0.3s;
    }

    #mni-dugme {
        padding: 4px 10px;
        border: 2px solid var(--logoPozadina);
        border-radius: 5px;
        margin: 2px 5px;
        display: block;
        font-weight: 800;
        font-size: 1.2em;
        width: 85px;
        height: 35px;
        text-align: center;
        box-shadow: 0px 0px 4px 2px silver;
    }
    .meni-prikaz #mni-dugme {
        box-shadow: inset 0px 0px 5px 2px silver;
        text-shadow: 1px 1px var(--zelenaSP);
    }
	.meni ul {
		padding: 2px 15px;
        list-style: none;
        opacity: 0;
        visibility: hidden;
        margin: 0px;
	}
    .meni-prikaz ul {
        opacity: 1;
        transition: 1.5s;
        transition-delay: .2s;
        transition-property: opacity, display;
        visibility: visible;
    }
	
	.meni ul li {
        padding: 10px 5px 3px 5px;
        margin: 3px 0px 3px 0px;
		cursor: pointer;
		font-size: 20px;
		font-weight: 600;
		text-shadow: 1px 1px 1px #888888;
		text-align: center;
		width: auto;
		border-bottom: 4px solid whitesmoke;
        position: relative;
	}
    .meni__selektovano {
		border-bottom: 4px solid black!important;
	}

    .meni ul li a {
        color: black;
        text-decoration: none;
        
    }
	.meni ul li i {
        position: absolute;
        left: 0px;
	}
	
	.polje-meni ul li:hover {
		border-bottom: 4px solid black;
	}

    .pretraga {
        height: 40px;
        width: 100px;
        transition: 400ms width ease;
		padding: 2px;
		position: absolute;
		right: 0;

	}
	.pretraga:active,
    .pretraga:has(input:focus)  {
		width: calc(100% - 120px);
        transition: 400ms width ease;
    }
    
	.pretraga input {
		width: 100%;
		height: 36px;
		border-radius: 5px;
		background-image: url('/images/searchicon.png');
		background-size: 36px 36px;
		background-repeat: no-repeat;
		padding-left: 32px;
		align-self: center;
        font-size: 1.2em;
	}

	.pretraga input:focus,
    .pretraga input:focus  {
		width: 100%;
		outline-color: var(--zelenaSP);
		box-shadow: 2px 2px 6px var(--zelenaSP);
	}

    .polje-putanja {
        grid-area: putanja; 
        padding-top: 3px;
    }
    .polje-putanja ul li div {
        height: 20px;
        padding: 2px 0px 2px 12px;
    }
    .polje-putanja ul li div::after {
        border-top: 10px solid transparent;
        border-bottom: 10px solid transparent;
        border-left: 10px solid silver;
        right: -10px;
    }
    .polje-putanja ul li:first-child {
        display: inline-block;
    }
    .polje-putanja ul li:first-child div span {
        display: none;
    }
    .polje-putanja ul li div {
        font-size: 12px;
    }
    .polje-putanja ul li:nth-child(2) {
        max-width: 50vw;  
    }
    .polje-putanja ul li:nth-child(3) {
        max-width: 45vw; 
    }
    .polje-putanja ul li:nth-child(4) {
        display: none!important;
    }
	
	.polje-kategorije {
		display: block;
		position: fixed;
		top: 26%;
		z-index: 15;
		background: silver;
		background: radial-gradient(circle, rgba(84,87,83,0.85) 0%, rgba(162,162,162,1) 100%);
		outline-style: groove;
		outline-width: 2px;
		outline-color: gray;
		outline-offset: 1px;
		padding-top: 1px;
		padding-left: 0px;
		padding-right: 1px;
		width: 260px;
		overflow: hidden;
		border: 2px solid silver;
		border-radius: 0 15px 15px 0;
		left: -270px;
		transition: left 0.5s ease-in-out;
		overflow-y: scroll;
		height: 55%;
		box-shadow: 2px 3px 6px var(--zelenaSP);
	}

    .dugme-kategorije {
		display: block;
		position: fixed;
		z-index: 16;
		background-color: silver;
		padding: 5px 20px;
		margin: 0;
		left: 0px;
		bottom: 1%;
		border-radius: 0 0 25px 25px;
		transform-origin: 0 0;
  		transform: rotate(-90deg);
		font-size: 22px;
		font-weight: 900;
		opacity: 60%;
	}

    .polje-kategorije ul {
        width: 100%;
        margin: 0px;
        padding: 0px;
    }

	.polje-kategorije ul li {
        text-align: center;
        overflow-x: scroll;
        padding: 5px 1px;
        margin: 5px 0px;
        width: 100%;
        color: #d9d9d9;
        text-shadow: -1px -1px 1px rgba(255,255,255,.1), 1px 1px 1px rgba(0,0,0,.5);
        font-size: 18px;
        font-weight: 800;
    }
    .polje-kategorije ul li span:nth-child(2){
        padding: 3px 9px;
    }
    .grupaPodkat{
        display: none;
        margin:0px; 
    }
    
    .grupaPodkat li {
        margin:0px;
    }
    .grupaPodkat li:active{
        background-color: var(--zelenaSP);
    }
    .katPrikazi {
        background-color: whitesmoke;
        height: auto!important;
        color: black!important;
        overflow: unset;        
    }
    .katPrikazi ul {
        margin: 0px;
        padding: 0px;
        font-size: 15px;
        font-weight: 500;
        margin-top: 10px;
    }
    .katPrikazi ul li {
        /* height: 25px; */
        margin: 2px 0px;
        padding: 4px 0px;
        width: auto;
        font-weight: 500;
        color: black;
        text-shadow: none;
        font-size: 16px;
    }
    .katPrikazi .grupaPodkat {
        display: unset;
    }
    .prikazi-kat {
		left: 0px;
		transition: left 0.3s ease-in-out;
	}
	.polje-4 {
		grid-area: footer;
		position: relative;
		bottom: 0;
		height: auto;
		background-color: var(--logoPozadina);
        color: whitesmoke;
        padding-top: 2em;
	}
    footer{
        justify-content: center;
    }
    #divFooter__sve{
        grid-template-areas: "najtr"
                            "logo"
                            "sadrzaj";
        grid-template-columns: 1fr;
    }
    #divFooter__sadrzaj{
        grid-area: sadrzaj;
        display: grid;
        grid-template-areas: "kontakt"
                            "app"
                            "meni"
                            "korisnicki";
    }
    
    
    .footer__spkontakt {
        font-size: 20px;
        list-style: none;
        grid-area: 2 / 2;    
    }
    .footer__spkontakt ul {
        padding: 2px;
    }
    .footer__spkontakt ul li {
        display: inline-block;
		font-size: xx-large;
    }

	.footer__spkontakt ul li a {
		color: white;
        padding: 5px;
	}
    #ulFootMeni{

    }
    #divDugmeIA{
        margin-top: 2em;
    }
    #dugmeInstallApp img{
        width: clamp(.8em, 1.8em, 2em);
    }
    #dugmeInstallApp span{
        font-size: clamp(.4em, .7em, .9em);
    }
}