/*== DEFAULT ==*/
:root{
    --body-bg: #0e0e0e;
    --body-color: #f5f5f5;
    --red: #ce2029;
    --active: hsla(0, 0%, 96%, 0.675);
}
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    font-family: 'Teko', sans-serif;
}
main{
    margin-bottom: 30px;
}
footer {
    margin-top: auto;
}
object{
    pointer-events: none;
}

/*== SCROLLBAR ==*/
::-webkit-scrollbar-track
{
	-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
	border-radius: 10px;
	background-color: var(--body-bg);
}
::-webkit-scrollbar
{
	width: 10px;
	background-color: var(--body-bg);
}
::-webkit-scrollbar-thumb
{
	border-radius: 10px;
	-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,.3);
	background-color: var(--red);
}

/*== TOP CONTENT - DESKTOP ONLY ==*/
.topContent{
    background-color: var(--body-bg);
    color: var(--body-color);
    padding-top: 10px;
    height: 38px;
    font-size: 20px;
}
.topContent a{
    text-decoration: none;
    color: var(--body-color);
}
.socialsFirst{
    margin-left: 10px;
    margin-right: 20px;
}
.socials{
    margin-right: 20px;
}
.flag:first-of-type{
    margin-right: 3px;
    border-radius: 6px;
}
.flag:last-of-type{
    margin-left: 3px;
    border-radius: 6px;
}

/*== NAVBAR ==*/
@media(max-width: 465px){
	.navbar-brand{
        width:60%;
    }
}
.navbar{
    padding-top: 0;
    color: var(--body-color);
    background-color: var(--body-bg);
}
.navbar a{
    color: var(--body-color);
    text-decoration: none;
}
.navbar a:hover{
    color: var(--body-color);
    opacity: 0.9;
}
.navbar-toggler:focus {
    box-shadow: none;
}
.nav-item.active a.nav-link{
    text-decoration: underline var(--red);
}
.nav-item.active a.nav-link:hover{
    opacity: 80%;
}
.dropdown-menu{
    background-color: var(--body-bg);
    border:none;
}
h6.title{
    color: var(--body-color);
    font-size: 2em;
    text-align: center;
}
.navbar-dark .navbar-nav .nav-link{
    color: var(--body-color);
    font-size: 1.7em;
}
.nav-item{
    padding-left: 12px;
    padding-right: 12px;
    border-right: 1px solid var(--body-color);
}
.nav-item:last-of-type{
    border-right: none;
}
@media(max-width: 991px){
    .nav-item{ border-right: none;}
}
.navbar-brand{
    padding-right: 120px;
    padding-top: 20px;
}
@media(max-width:1199px){
    .navbar-brand{
        padding-right: 80px;
    }
}
@media all and (min-width: 992px) {
    li.dropdown:hover a.izdelkiLink{
        opacity: 67.5%;
    }
    /*== NAREDI LINK UNCLICKABLE ==*/
	a.izdelkiLink{
        color: var(--red);
        pointer-events: none;
        cursor: default;
    }
    /*== PRIKAŽE SPUSTNI MENI NA HOVER ==*/
    .dropdown:hover .dropdown-menu {
        display: block;
        margin-top: 0;
    }
}
.dropdown-menu.megamenu.show{
        padding-top: 0px;
        margin-top: 0px;
    }
.dropdown-menu.megamenu.show .col-lg-4.col-12{
    padding-top: 16px;
    margin-top: 0px;
}
@media(max-width: 991px){
	.navbar-brand object{
		width: 150px;
	}
    .logo-main object{
        width: 150px;
    }
}

/*== MEGA MENU ==*/
.navbar .megamenu{ 
    padding: 1rem; 
}
@media all and (min-width: 992px) {
	.navbar .has-megamenu{
        position:static!important;
    }
	.navbar .megamenu{
        left:0; 
        right:0; 
        width:80%; 
        margin-top:0; 
        margin: auto;
        background-color: var(--body-bg);
        position: relative;
        box-shadow: rgba(0, 0, 0, 0.64) 0px 10px 15px;
        border-radius: 0px 0px 15px 15px;
    }
}
@media(max-width: 991px){
	.navbar.fixed-top .navbar-collapse, .navbar.sticky-top .navbar-collapse{
		overflow-y: auto;
	    max-height: 90vh;
	    margin-top:10px;
	}
}

/*== CAROUSEL ==*/
.carouselIndikatorji{
    background-color: var(--body-bg);
}
.carouselIndikatorji button{
    color: var(--body-color); 
    background-color: inherit; 
    border: none;
    font-size: 25px;
    width:100%;
    display:block;
}
.opisCarousel{
    text-align: center;
    padding: 0px;
}
.opisCarousel button{
    font-size: 3em;
}
@media(max-width: 600px){
	.opisCarousel button{
     font-size: 1.5em;
    }
}
@media(max-width: 767px){
    div.carousel{
        justify-content: center;
        overflow: hidden;
    }
	div.carousel-item img{
        min-height: 250px;
        object-fit: cover;
    }
}
@media(max-width: 820px){
	div.carousel-item img{
        min-height: 250px;
        object-fit: cover;
    }
}
@media(max-width: 440px){
	div.carousel-item img{
        min-height: 200px;
    }
}
@media(max-width: 310px){
	div.carousel-item img{
        min-height: 150px;
    }
}
.aktivenSlideIndikator{

    background-color: var(--red);
    transition: background-color 1s ease-out;
}

/*== CAROUSEL HERO SECTION KONTROLE ==*/
.carousel .carousel-control-prev { 
    opacity: 0%; 
}
.carousel:hover .carousel-control-prev {
    transition: opacity 1s ease-out; 
    opacity: 40%;
}
.carousel .carousel-control-next { 
    opacity: 0%; 
}
.carousel:hover .carousel-control-next {
    transition: opacity 1s ease-out; 
    opacity: 40%;
}

/*== CARDS ==*/
.card{
    transform: scale(0.9);
    transition: all .2s ease-in-out;
    height: 100%;
}
.card:hover{
    transform: scale(1);
}
.card-img{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%; 
    height: 400px; 
    object-fit: contain;
}
.card img{
    object-fit: contain;
    height: inherit;
    width: inherit
}
.card-title{
    font-size: 2em;
}
.card-text{
    font-size: 1.2em;
}
@media (max-width:991px) {
    .card-img{
        height: 250px;
    }
}
@media (max-width:767px) {
    .card img{
        margin: auto;
    }
}

/*== DIVIDER ==*/
.divider{
    box-shadow: 0 1em 1em -1em rgba(0, 0, 0, .25);
}

/*== NASLOV ==*/
.naslovMain{
    margin-top: 30px;
    font-size: 50px;
}

/*== ZGODBE ==*/
.zgodbe .card-img img{
    object-fit: cover;
}
.zgodbe .card-img{
    height: 100%;
    width: 100%;
}
.blueHashtag{
    color: #1d9be4;
}

/*== FOOTER ==*/
footer{
    color: var(--body-color);
    background-color: var(--body-bg);
    padding-top: 10px;
    font-size: 20px;
}
footer a{
    text-decoration: none;
    color: var(--body-color);
}
footer a:hover{
    color: var(--body-color);
    opacity: 80%;
}
.logo-footer{
    display: flex;
    flex-wrap: wrap;
    align-content: center;
}
.footer-link-center a{
    margin-left: auto;
    margin-right: auto;
}
.bottomContent .tagLine{
    text-align: right;
}
.bottomContent .socialIcons{
    text-align: left;
}
.bottomContent .socialIcons:nth-child(1){
    margin-right: 20px;
}
.bottomContent .socialIcons{
    margin-right: 20px;
}
@media(max-width: 991px){
    .bottomContent .socialIcons{
        text-align: center;
    }
    .bottomContent .tagLine{
        text-align: center;
    }
}
@media(max-width: 577px){
    div.tagLine{
        margin: auto;
    }
    
	.bottomContent .tagLine, .bottomContent .socialIcons{
        text-align: center;
    }
    .bottomContent .socialIcons:nth-child(1){
        margin-left: 304px;
    }
    .bottomContent .socialIcons{
        margin-left: 0px;
    }
    .bottomContent .socialIcons{
        margin-right: 0px;
    }
}
.footerMenuDivider{
    width: 200px;
}
@media(max-width: 991px){
    footer div:nth-of-type(1) ul li{
        padding-left: 40%;
    }
}
@media(max-width: 769px){
    footer div:nth-of-type(1) ul li{
        padding-left: 30%;
    }
}
@media(max-width: 439px){
    footer div:nth-of-type(1) ul li{
        padding-left: 20%;
    }
}
footer .row.d-md-block.d-lg-none{
    margin-bottom: 10px;
}

/*== O NAS ==*/
.o-nas{
    margin-top: 0.3em;
    min-height: 70vh;
}
button.o-nas-meni-item{
    display: block;
    height: 80px;
    width: 100%;
    border: 1px solid #cccccc;
    border-top: 0px;
    text-decoration: none;
    font-size: 1.5em;
    text-align: left;
    padding-left: 5%;
}
button.o-nas-meni-item:nth-child(1){
    border-top: 1px solid #cccccc;
}
button.o-nas-meni-item:hover{
    opacity:0.9;
}
.o-nas-meni-item.active{
    background-color: var(--red);
    color: var(--body-color);
    transition: background-color 1s ease-out;
}
.o-nas-content img{
    width: auto;
}
a.o-nas-a-mail{
    text-decoration: none;
    color: var(--red);
}
a.o-nas-kontakt-socials{
    margin-left: 10px;
    padding: 10px;
    background-color: var(--red);
    transition: background-color 250ms linear;
}
a.o-nas-kontakt-socials svg{
    margin: auto;
    width: 25px;
    height: 25px;
    fill: var(--body-color);
    transition: fill 250ms;
}
a.o-nas-kontakt-socials:hover{
    background-color: var(--body-bg);
}
@media(max-width: 991px){
	div.o-nas-dodatno div.col-12.col-lg-4{
    margin-top: 30px;
    margin-bottom: 50px;
    }
    .o-nas-content img{
    margin-bottom: 30px;
    }
}
@media(max-width: 296px){
    a.o-nas-kontakt-socials{
        padding: 5px;
    }
    a.o-nas-kontakt-socials svg{
        width: 15px;
        height: 15px;
    }
}

/*== O PROJEKTU ==*/
.projekt{
    margin-top: 30px;
}
.projekt img{
    display: block;
    margin: auto;
    margin-bottom: 20px;
}
.projekt .projekt-podatki{
    margin:auto;
    border-left: 1px solid var(--body-bg);
}
@media(max-width: 768px){
	.projekt img{
        width:60%;
        margin-bottom: 40px;
    }
    .projekt .projekt-podatki{
        border-left: none;
    }
}

/*== KONTAKT ==*/
iframe {
    margin:auto;
    margin-top: 30px;
    display:block;
    width: 80%
}
form {
    max-width: 80%;
    margin: 0 auto;
    text-align: left;
    padding: 20px 0;
}
input,
textarea,
label {
    display: block;
    margin: 0 auto;
    width: 100%;
    color: #828282;
}
input,
textarea {
    background-color: transparent;
    border: 0;
    border-bottom: 2px solid #828282;
    min-height: 50px;
    max-height: 400px;
}
input[type=submit] {
    background-color: var(--body-bg);
    padding: 15px 0;
    color: var(--body-color);
    font-size: 18px;
    border-bottom: none;
    margin-top: 30px;
    cursor: pointer;
    transition: all .3s ease;
}
input[type=submit]:hover {
    background: var(--red);
}
input,
textarea {
    color: var(--body-bg);
    font-size: 18px;
    padding: 10px;
}
input:focus,
textarea:focus {
    outline: 1px solid var(--body-bg);
    color: var(--body-bg);
}

/*== PARTNERJI ==*/
.partnerji{
    margin-top: 30px;
}
.partnerji .col{
    display:flex;
    justify-content: center;
    align-items: center;
    position: relative;
    box-shadow: 0px 15px 10px -15px var(--body-bg);
}
.partnerji .col img{
    max-width: 60%;
    display: block;
}
@media(max-width: 991px){
    .partnerji .col img{
        max-width: 80%;
    }
}
.overlay {
    position: absolute;
    border-radius: 10px 10px 5px 5px;
    background-color: var(--red);
    bottom: 0;
    left: 0;
    right: 0;
    overflow: hidden;
    width: 100%;
    height: 0;
    transition: .5s ease;
}
.partnerji .col:hover .overlay,.partnerji .col:active .overlay {
    height: 100%;
}

.partnerjiNaslov {
    line-height: 1em;
    color: white;
    font-size: 4vh;
    position: absolute;
    top: 30%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    text-align: center;
}
.partnerjiLink{
    width: 60%;
    border: 2px solid var(--body-color);
    border-radius: 5px 5px 5px 5px;
    color: var(--body-color);
    font-size: 2.5vh;
    position: absolute;
    top: 70%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    text-align: center;
    transition: .2s ease;
}
.partnerjiLink:hover{
    color: var(--red);
    background-color: var(--body-color);
}
@media (max-width:700px){
    .partnerjiLink{
        width: 75%;
    }
}

/*== IZDELKI ==*/
main.izdelki{
    margin-top: 30px;
}
.izdelkiNaslov img{
    display: block;
    margin-left: auto;
    margin-right: auto;
    max-width: 100%;
    max-height: 80%;
}
.izdelekKatalog{
    margin-bottom: 30px;
    border-radius: 45px;
    background: linear-gradient(to right, var(--body-bg) 50%, var(--red) 50%) left;
    background-size: 200%;
    transition: background-position .5s ease-in-out;
}
.izdelekKatalog:hover{
    background-position: right;
}
.izdelekKatalog img{
    max-width: 100%;
    max-height: 100%;
}