﻿.content-section {
    margin-top: 40px;
}
img.footer-logo {
	width: 150px;
}
a.sigma_logo {
    width: 100px;
}
a h5 {color: white;}

/* == GALERIJA SLIK START == */

.nav-tabs {
    border-bottom: none;
	margin: 30px 0 30px 0;
}
.nav-tabs .tab-btn .nav-item.show .nav-link, .nav-tabs .nav-link.active {
    color: #fff;
    background-color: #000 !important;
	border-color: transparent;
}
.nav-tabs .nav-link .tab-btn:focus, .nav-tabs .nav-link:hover {
    border-color: transparent;
    isolation: isolate;
}
.tab-btn {
    display: block;
    padding: 0.5rem 1rem;
    color: #fff;
	background-color: #d5144b !important;
    text-decoration: none;
    transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out;
}
.tab-btn:hover {
	color:white;
}

/* Set a max-height for the gallery items */
.gallery-item {
  max-height: 300px; /* Adjust as needed */
  margin: 0 0 20px 0;
  position: relative;
  overflow: hidden;
}

.gallery-description {
    position: absolute;
    bottom: -90px;
    left: 0;
    right: 0;
    background-color: rgb(213 20 75 / 69%);
    color: #fff;
    padding: 10px;
    opacity: 1;
    left: 50%;
    transform: translateX(-50%) translateY(0%);
    width: calc(100% - 20px);
    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out, bottom 0.3s ease-in-out;
    /* Change bottom to -90px and add transition for bottom */
}

.gallery-item:hover .gallery-description {
    bottom: 0;
    transform: translateX(-50%) translateY(-10%);
    /* Change translateY value to -100% and remove width transition */
}

.gallery-item:hover .gallery-description:hover {
    transform: translateX(-50%) translateY(-10%);
    /* Change translateY value to -90% */
}


figcaption {
	font-size: 12px;
    font-weight: 700;
    color: #fff;
    line-height: 15px;
    background: #d5144b;
    padding: 3px 10px 5px 10px;
}

/* Style the gallery item's image or video to cover the container */
.gallery-item img,
.gallery-item video {
  position: relative;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.embed-responsive {
    height: 300px;
}
@media (max-width: 575px) {
  .gallery-item {
    max-width: 100%; /* Full width on small screens */
  }
}
/* Set a max-height for the video container */
.video-container {
  max-height: 300px; /* Adjust as needed */
  overflow: hidden;
    margin: 0 0 20px 0;
}

/* Style the video to fit inside the container */
.video-container video {
  /* width: 100%;
  height: 100%; */
  object-fit: contain;
  background-color: #000;
}

/* Set a max-width for the video to prevent it from becoming too big */
@media (min-width: 576px) {
  .video-container {
   /*  max-width: calc((100% - 30px) / 3);  */
  }
}
@media (max-width: 575px) {
  .video-container {
    max-width: 100%; /* Full width on small screens */
  }
}





  .gallery-item {
    position: relative;
    overflow: hidden;
    max-height: 300px;
    max-width: 100%;
  }

  .gallery-item img {
    transition: transform 0.2s ease-out;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    min-height: 300px;
  }

  .gallery-caption {
    position: absolute;
    bottom: 8px;
    left: 0;
    right: 0;
    background-color: rgb(213 20 75 / 69%);
    color: #fff;
    padding: 10px;
    opacity: 1;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 20px);
  }

  .gallery-caption h4 {
    color: white;
    font-size: 22px;
    line-height: 25px;
	margin-bottom:10px;
  }
.gallery-caption p {
	margin-bottom:0;
	line-height: 18px;
}

  .gallery-counter {
	position: absolute;
    top: 8px;
    right: 8px;
    background-color: #d61e4b;
    color: #ffffff;
    width: auto;
    /* height: 22px; */
    padding: 2px 4px 0px 4px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: bold;
  }

  .gallery-counter .counter-text {
    display: inline-block;
    transform: translateY(-2px);
  }

  .gallery-item:hover img {
    transform: scale(1.1);
  }
  .video-counter {
    position: absolute;
    top: 40px;
    right: 8px;
    background-color: #d61e4b;
    color: #ffffff;
    width: auto;
    /* height: 22px; */
    padding: 2px 4px 0px 4px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: bold;
    z-index: 1;
}


/* == GALERIJA SLIK END == */

/* == DOGODKI START == */
.events {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}
.item-container {
	position: relative;
    margin: 10px;
    width: 304px;
    height: 350px;
    overflow: hidden;
    background-color: #fff;
    box-shadow: 0 0 20px 3px rgba(0, 0, 0, 0.15);
    cursor: pointer;
}

.img-container,
.body-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.img-container img {
    width: 100%;
	height: 100%;
    object-fit: cover;
}



.overlay {
    position: relative;
    width: 100%;
    height: 215px;
    background-color: rgba(24, 83, 122, 0.6);
    opacity: 0;
    transition: height linear 0.4s, opacity linear 0.2s;
}

.item-container:hover .overlay {
    opacity: 1;
    height: 150px;
}

.event-info {
    background-color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
	/* height: 205px; */
    padding: 8px;
}
.event-info h6 {
	text-align:center;
	line-height:23px;
}

.title,
.info {
   /* letter-spacing: 0.5px; */
    margin-bottom: 13px;
	font-size: 15px;
}

.separator {
    width: 20%;
    height: 6px;
    background-color: #17537a;
    margin-bottom: 16px;
}

.additional-info {
    border-top: 1px solid #bbb;
    margin-top: 12px;
    padding: 12px 10px 15px 10px;
    
}

.additional-info .info {
    font-size: 12px;
    margin-bottom: 10px;
    text-align: center;
}
.description {
	    margin-top: 20px;
}

.info i {
    color: #18537a;
    font-size: 1.1em;
    margin-right: 4px;
}

.info span {
    color: #18537a;
    font-weight: bolder;
}

.action {
	color: #fff;
    border: 2px solid #fff;
    background-color: transparent;
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 40%;
    outline: none;
    cursor: pointer;
    padding: 6px;
    text-transform: uppercase;
    font-size: 16px;
    font-weight: bold;
    letter-spacing: 2px;
    transition: background-color 0.4s, top 0.4s;
}

.item-container:hover .action {
    top: 50px;
}

.action:hover {
    background-color: rgba(255, 255, 255, 0.2);
}
/* == DOGODKI END == */


/* == CK image align START == */
.align_left {
    float: left;
    margin-right: 10px;
	margin-bottom: 5px;
    border: 1px solid #dc3545!important;
}
.align_right {
    float: right;
    margin-left: 10px;
	margin-bottom: 5px;
    border: 1px solid #dc3545!important;
}
.align_center {
    display: block;
    margin: 0 auto;
	margin-bottom: 5px;
    border: 1px solid #dc3545!important;
}


/* == CK image align END == */

/* == AUDIO PLAYER START == */
.audio-player audio {
  width: 100%;
}
.audio-player {
/*   display: flex;
  flex-direction: column; */
  align-items: center;
  padding: 30px 0;

  
}

audio::-webkit-media-controls-play-button,
audio::-webkit-media-controls-panel {
  background-color: #d5144b;
  color: #fff !important;
}

.playlist-header {
/*   display: flex;
  justify-content: center; */
margin-bottom: 10px;
    float: right;
    margin-right: 58px;
}

#playlist-btn {
  background-color: #f2f2f2;
  border: none;
  color: #333;
  font-size: 16px;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

#playlist-btn:hover {
  background-color: #ddd;
  color:#fff;
}

#playlist {
    list-style: none;
    padding: 10px;
    margin: 0 0 20px 0;
    max-height: 110px;
    overflow: auto;
    transition: max-height 0.3s ease;
    width: 94%;
}

#playlist li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  margin: 10px 0;
  padding: 0px 20px 0 20px;
  background-color: #f2f2f2;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

#playlist li:hover {
  background-color: #ddd;
}

#playlist .title {
  flex-grow: 1;
  margin-right: 10px;
  font-weight: 700;
  margin-bottom: 0;
}

#playlist .duration {
  flex-shrink: 0;
}

#playlist li .play-icon:before,
#playlist li .pause-icon:before {
  font-family: 'FontAwesome';
  font-weight: 900;
  font-size: 16px;
  line-height: 1;
  content: "\f04b";
  margin-right: 15px;
  font-style: normal;
}

#playlist li .pause-icon:before {
  content: "\f04c";
}

.playlist {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  border-collapse: collapse;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.playlist.show {
  max-height: 500px;
}

#playlist-btn::after {
  content: attr(data-text);
  display: inline-block;
  margin-left: 5px;
  font-size: 14px;
  font-weight: 700;
}


/* == AUDIO PLAYER END == */


/* == DANES JUTRI POTEKA DO TEXT START == */
/* Event list styles */
    .top-right {
        position: absolute;
        top: 0;
        right: 0;
        background-color: #000;
        color: #fff;
        font-size: 14px;
        padding: 5px 10px;
    }
    .today-label {
        background-color: #8BC34A;
		color: #fff;
		width: fit-content;
		padding: 2px 10px 0 10px;
    }
    .todaymulti-label {
    background-color: #ff0000;
    color: #fff;
    width: fit-content;
    padding: 0px 0px 0 0px;
    }
	.danes-todaymulty-label {
background-color: yellow;
    color: #f90000;
    padding: 0px 5px 0 5px;
	}
	.danes-todaypoteka-label {
		        background-color: #ff0000;
		color: white;
		width: fit-content;
		padding: 0px 10px 0 10px;
		
	}
    .tomorrow-label {
        background-color: #00ccff;
		width: fit-content;
		padding: 2px 10px 0 10px;
    }
    .end-date-label {
        background-color: #ff0000;
		color: white;
		width: fit-content;
		padding: 2px 10px 0 10px;
    }


/* Event sidebar list styles */
    .sidebar-label {
		background-color: #000;
        color: #fff;
        font-size: 12px;
        padding: 1px 10px;
		width:auto;
    }
    .sidebar-today-label {
        background-color: #8BC34A;
		width: fit-content;
		padding: 2px 10px 0 10px;		
    }
    .sidebar-tomorrow-label {
        background-color: #00ccff;
		width: fit-content;
		padding: 2px 10px 0 10px;
    }
    .sidebar-end-date-label {
        background-color: #ff0000;
		width: fit-content;
		padding: 2px 10px 0 10px;
    }
/* == DANES JUTRI POTEKA DO TEXT END == */


  .sigma_footer-links {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin: 0;
  }
  
  .sigma_footer-links li {
    margin-right: 10px;
  }
  
  @media (max-width: 768px) {
    .sigma_footer-links {
      flex-direction: column;
      align-items: flex-start;
    }
    
    .sigma_footer-links li {
      margin-right: 0;
      margin-bottom: 10px;
    }
  }
  .sigma_footer-links {
    display: flex;
    justify-content: space-between;
    padding: 10px;
  }
  
  .sigma_footer-links li {
    margin-right: 30px;
  }
  
  @media (max-width: 480px) {
    .sigma_footer-links {
      flex-direction: column;
      align-items: flex-start;
    }
    
    .sigma_footer-links li {
      margin-right: 0;
      margin-bottom: 10px;
    }
  }
.zoom {
  transition: transform 1s, filter .1s ease-out;
}

.zoom:hover {
  -ms-transform: scale(1.2); /* IE 9 */
  -webkit-transform: scale(1.2); /* Safari 3-8 */
  transform: scale(1.2); 
}

/* == SLOGAN == */
.slogan {
    position: absolute;
    margin: 103px 0 0 17px;
    color: black;
    font-weight: 800;
	-ms-filter:"The rule you get from the website"
	-webkit-transform:rotate(-10deg);
	-moz-transform:rotate(-10deg);
	-ms-transform:rotate(-10deg);
	-o-transform:rotate(-10deg);
	transform:rotate(-10deg);
} 
@media (max-width: 991px) {
.slogan {
	margin: 54px 0 0 8px;
	font-size: 15px;
}
}
.sigma_footer-logo {
    margin-bottom: 40px;
}