/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */

.swiper {
  height: 350px;
}
#sezone .elementor-widget-image a {
	height: 100%;
	display: flex;
}
#sezone .elementor-widget-image {
	height: 250px;
	overflow: hidden;
	position: relative;
}
#sezone .elementor-widget-image img {
	object-fit: cover;
}
.item-hover {
	height: 100%;
}
.swiper-button-next, .swiper-button-prev {
	color: #fff !important;
}
.swiper-pagination {
	display: none !important;
}
.swiper-pagination-bullet-active {
	background: #fff !important;
} 
.swiper-slide.swiper-slide-active {
  aspect-ratio: 16/9.5;
  overflow: hidden;
}
.utakmica-header h3 {
	font-size: 16px;
	margin: 0 !important;
	font-family: "Oswald";
}
.utakmica-opis,
.utakmica-vreme,
.utakmica-datum {
	font-size: 14px;
	opacity: 0.7;
	margin-bottom: 0;
}
.utakmica-opis {
	flex: 2;
}
.utakmica-header {
	display: flex;
	flex-direction: row;
	align-items: center;
	column-gap: 20px;
	flex: 3;
}
.item-hover {
	position: relative;
}
.item-hover::before {
	position: absolute;
	top: 0;
	left: 0;
	width: 0px;
	height: 0;
	content: '';
	opacity: 0;
	transition: all 0.5s;
	pointer-events: none;
	background: #c4202f9c;
}
.item-hover:hover::before {
	opacity: 1;
	width: 100%;
	height: 100%;
}
.acf-gallery-shortcode {
	display: flex;
	gap: 20px;
}
#izdvojena-slika a {
	width: 100%;
}
.stanje {
	padding: 3px 6px;
}
.stanje.na-stanju {
	background-color: #077b07;
}
.stanje.nema-na-stanju {
	background-color: #a24f3c;
}
.utakmica-kartica {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #fff;
  border-bottom: 1px solid #444;
  padding: 10px 0;
}

@media (max-width: 1024px) {

  .elementor-nav-menu--dropdown.elementor-nav-menu__container {
    display: block !important;
    position: fixed !important;
    top: 140px !important;
    left: 0 !important;
    width: 100% !important;
    height: 100vh !important;
    height: 100dvh !important;
    max-height: none !important;
    background: #ffffff !important; /* boja pozadine menija */
    z-index: 99999 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform .35s ease;
    pointer-events: none;
  }

  .elementor-nav-menu--dropdown.elementor-nav-menu__container[aria-hidden="false"] {
    transform: translateX(0) !important;
    pointer-events: auto;
  }
	.elementor-nav-menu--dropdown .elementor-nav-menu {
		display: flex !important;
		flex-direction: column;
		align-items: center;
		justify-content: flex-start;
		min-height: 100vh;
		min-height: 100dvh;
		gap: 22px;
		list-style: none;
		margin: 0;
		padding: 20px;
		background: #111;
	}

  .elementor-nav-menu--dropdown .elementor-nav-menu > li {
    width: 100%;
    text-align: center;
  }

  .elementor-nav-menu--dropdown .elementor-item {
    display: block;
    font-size: 24px;
	  color: #fff;
  }

  /* hamburger dugme ostaje iznad overlay-a */
  .elementor-menu-toggle {
    position: relative;
    z-index: 100000;
  }

  /* zaključaj scroll na body-ju dok je meni otvoren */
  html:has(.elementor-nav-menu--dropdown[aria-hidden="false"]) {
    overflow: hidden;
  }
}

@media all and (max-width: 640px) {
	.fullbtn a {
		width: 100%;
	}
	.utakmica-opis {
	  display: none;
	}
	.utakmica-header {
		width: 50%;
		flex-direction: column;
		justify-content: flex-start;
		text-align: left;
	}
	.utakmica-header p,
	.utakmica-header h3 {
		width: 100%;
		text-align: left;
	}
	.acf-gallery-shortcode {
		display: flex;
		gap: 20px;
		flex-wrap: wrap;
	}
	.acf-gallery-shortcode a {
		width: calc(50% - 20px);
	}
}