/**
Theme Name: Caravan
Author: Caravan
**/
body,
html {
    font-family: 'Poppins', sans-serif;
}

.top-bar li {
    padding-bottom: 20px;
}
@media (max-width: 768px) {
 .top-bar li {
    padding-bottom: 0px;
}
}
.top-bar .menu-item-has-children li {
    padding-bottom: 0px;
            background-color: #fcfcfc;
}

header .top-bar li .sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    z-index: 999;
    left: 0;
    background-color: #fcfcfc;
    box-shadow: 1px 1px 10px rgba(0, 0, 0, 0.1);
    margin: 0;
    padding-top: 0;
    list-style-type: none;
    width: 200px;
    border-radius: 8px;
}

header .top-bar li .sub-menu a {
    padding: 15px;
    display: block;
    text-decoration: none;
    position: relative;
    border-bottom: 1px solid #f1f1f1;

}

header .top-bar > .menu-item-has-children > a::after {
    content: ''; 
    position: absolute;
    right: -15px; 
    top: 30%;
    transform: translateY(-50%);
    width: 8px; 
    height: 8px; 
    background-image: 
    url('/wp/wp-content/themes/caravan/Image/arrow-down.svg');
    background-size: contain; 
    background-repeat: no-repeat; 
}

header .top-bar > .menu-item-has-children .sub-menu .menu-item-has-children > a::after {
    content: ''; 
    position: absolute;
    right: 10px; 
    top: 50%;
    transform: translateY(-50%);
    width: 8px; 
    height: 8px;
    background-image: 
        url('/wp/wp-content/themes/caravan/Image/arrow-right.svg');
    background-size: contain;
    background-repeat: no-repeat;
}
header .top-bar li .sub-menu a:hover {
    color: black;
}

header .top-bar > .menu-item-has-children:hover > .sub-menu {
    display: block;
    
}

header .top-bar .menu-item-has-children .sub-menu > .menu-item-has-children:hover .sub-menu {
    display: block;
    
}

header .top-bar li {
    position: relative;
}

header .top-bar .sub-menu li .sub-menu {
    top: 0;
    left: 100%;
}



/* css slider */
.slider{
    height: 100vh;
    margin-top: 0px;
    position: relative;
}
.slider .list .item{
    position: absolute;
    inset: 0 0 0 0;
    overflow: hidden;
    opacity: 0;
    transition: 0.1s;
}
.slider .list .item img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.slider .list .item::after{
    content: '';
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    bottom: 0;
   
}
.slider .list .item .content {
    position: absolute;
    top: 20%;
    left: 20px;
    right: 20px;
    max-width: 1400px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    z-index: 99999999999;
}
.slider .list .item .content p{
    width: 400px;
}

.slider .list .item .content p:nth-child(1){
    text-transform: uppercase;
    letter-spacing: 2px;
}
.slider .list .item .content h2{
    font-size: 80px;
    margin: 0;
}
.slider .list .item.active{
    opacity: 1;
    z-index: 10;
}
@keyframes showContent {
    to{
        transform: translateY(0);
        filter: blur(0);
        opacity: 1;
    }
}
.slider .list .item.active p:nth-child(1),
.slider .list .item.active h2,
.slider .list .item.active p:nth-child(3){
    transform: translateY(30px);
    filter: blur(20px);
    opacity: 0;
    animation: showContent .2s .4s ease-in-out 1 forwards;
}
.slider .list .item.active h2{
    animation-delay: 0.1s;
}
.slider .list .item.active p:nth-child(3){
    animation-duration: 0.1s;
}
.arrows{
    position: absolute;
    top: 14%;
    left: 20px;
    right: 20px;

    margin-left: auto;
    margin-right: auto;
    z-index: 10;  
}
.arrows button{
    background-color: #22468f;
    border: none;
    font-family: monospace;
    width: 40px;
    height: 40px;
    border-radius: 5px;
    font-size: x-large;
    color: #fff;
    transition: .5s;
    cursor: pointer;
}
.arrows button:hover{
    background-color: #eee;
    color: black;
}
.thumbnail{
    position: absolute;
    bottom: 55px;
    z-index: 11;
    display: flex;
    gap: 10px;
    width: 100%;
    height: 250px;
    padding: 0 20px;
    box-sizing: border-box;
    overflow: auto;
    justify-content: center;
    cursor: pointer;
}
.thumbnail::-webkit-scrollbar{
    width: 0;
}
.thumbnail .item{
    width: 150px;
    height: 220px;
    filter: brightness(0.7);
    transition: 0.1s;
    flex-shrink: 0;
}
.thumbnail .item img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}
.thumbnail .item.active{
    filter: brightness(1);
}
.thumbnail .item .content{
    position: absolute;
    inset: auto 10px 10px 10px;
}
@media screen and (max-width: 678px) {
    .thumbnail{
        justify-content: start;
    }
    .slider .list .item .content h2{
        font-size: 40px;
    }
    .slider .list .item .content p{
        font-size: 14px;
    }
    .slider .list .item .content p{
        width: 300px;
    }
    .arrows{
        top: 10%;
    }
    .slider .list .item .content p:nth-child(1) {
        letter-spacing: 5px;
        font-size: 14px;

    }
}

.excerpt p {
    color:white;
    font-size: 16px;
}
.single-description p{
    max-width: 400px;
}
.lokacija iframe{
     border-radius: 6px; 
     width: 100%!important;
     height: 590px!important;
}
.dt-column-title{
    font-size: 13px;
    font-weight: 500;
     color: white;
  
}
td{
    font-size: 13px;
}
.tablepress th{
    background-color: #22468f!important;

}
 .dt-orderable-none{
    border-right: 1px solid #e4e4e4!important;
}
.dt-orderable-none:last-child {
    border-right: none !important;
}

.tablepress > :where(thead) + tbody > :where(:not(.child)) > *,
.tablepress > tbody > * ~ :where(:not(.child)) > *,
.tablepress > tfoot > :where(:first-child) > * {
  border-right: 1px solid #e4e4e4!important;
}


/* Samo prva ćelija u svakom redu dobija i levi border */
.tablepress > :where(thead) + tbody > :where(:not(.child)) > *:first-child,
.tablepress > tbody > * ~ :where(:not(.child)) > *:first-child,
.tablepress > tfoot > :where(:first-child) > *:first-child {
  border-left: 1px solid #e4e4e4!important;
}

.tablepress > tbody > tr:last-child > *,
.tablepress > tfoot > tr:last-child > * {
  border-bottom: 1px solid #e4e4e4!important;

}
.tablepress thead tr:first-child th:first-child {
  border-top-left-radius: 6px !important;
}

.tablepress thead tr:first-child th:last-child {
  border-top-right-radius: 6px !important;
}
 caption {
  display: none;
}
.dt-container .dt-layout-cell{
    padding: 0!important;
}
.dt-container{
    margin: 0!important;
}

.dt-orderable-none span {
  width: 100% !important;
  min-width: 380px !important;

}
@media (max-width: 1000px) {
    .dt-orderable-none span {
        display: block;
    }
}

.podnaslov-single {
  max-width: 700px;
  font-size: 16px;
  margin-bottom: 20px;
  color: #666666;
}

/* Za srednje ekrane i veće */
@media (min-width: 768px) {
  .podnaslov-single {
    max-width: 700px;
  }
  .arrows{
    max-width: 1400px;
    width: 100%;

}

}
@media (max-width: 639px) {
  #lightbox {
    display: none !important;
  }
  .gallery-item{
    width: 100%;
    max-width: 490px;
  }

}
@media (min-width: 639px) {
  .thumbnail{
    bottom: 0px;
  }
}
@media (min-width: 1400px) {
 .thumbnail{
    bottom: 60px;
  }
}

@media (min-width: 1600px) {
 .thumbnail{
    bottom: 90px;
    margin-left: 0px;
  }
}