/*
 * Stilovi preneti iz plugina Simple Custom CSS (22.10.2026), da budu u temi i u Git-u.
 * Redosled pravila je isti kao u pluginu. Izbačeno:
 * - footer (sada u css/footer.css);
 * - WooCommerce: korpa, plaćanje, potvrda porudžbine, strana proizvoda, kupon, cross-sell;
 * - prvo od dva pravila za strelicu u podmeniju (važilo je drugo, „▶“).
 * Ispravljeno: strelice karusela na telefonu su bile 60 px van ekrana, pa je strana bila šira od ekrana.
 * Učitava se na svim stranama, posle stilova teme i kalendara (functions.php).
 */

@media (max-width: 768px) {

	table {
		font-size: 13px;
		table-layout: fixed;
		width: 100%;
	}

	table th,
	table td {
		padding: 6px 4px;

		/* omogućava lomljenje */
		overflow-wrap: break-word;
		word-break: break-word;

		/* hifenacija, crtice pri prelomu */
		hyphens: auto;
	}
}

/* Figure styling for event content */
figure {
	text-align: center;
	margin: 30px auto;
}

figcaption {
	color: #666;
	font-style: italic;
	font-size: 0.9em;
	margin-top: 8px;
}

/* Event image block */
.event-image-block {
	text-align: center;
	margin: 20px 0;
}

.event-image {
	max-width: 100%;
	height: auto;
}

.event-caption {
	font-size: 16px;
	color: #666;
	margin-top: 8px;
}

/* Event guides layout */
.event-guides {
	display: flex;
	justify-content: center;
	align-items: flex-start;
	flex-wrap: wrap;
	margin: 10px 0;
}

.event-guide {
	text-align: center;
	width: 250px; /* fiksna širina umesto flex */
	margin: 20px 40px; /* razmak oko svakog vodiča */
}

/* Guide image */
.event-guide-photo {
	width: 250px;
	height: 250px;
	border-radius: 50%;
	object-fit: cover;
	margin-bottom: 15px;
}

/* Text styling */
.event-guide-name {
	margin: 5px 0;
	font-size: 18px;
}

.event-guide-title {
	margin: 5px 0;
}

.event-guide-contact {
	margin: 5px 0;
}

.event-guide-contact a {
	color: inherit;
	text-decoration: none;
}

.event-guide-contact a:hover {
	text-decoration: underline;
}

.tribe-events-single {
	max-width: 800px;
	margin: 0 auto;
	padding: 20px;
	background-color: #FBFAFD;
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.tribe-events-view {
	background-color: #FFFFFF !important;
}

.tribe-events-c-subscribe-dropdown__button {
	background-color: #2e8fd2 !important;
	color: #ffffff !important;
	border-color: #2e8fd2 !important;
}

.tribe-events-c-subscribe-dropdown__button:hover {
	background-color: #2376ab !important;
	border-color: #2376ab !important;
	color: #ffffff !important;
}

.tribe-events-single-section {
	visibility: hidden;
	height: 130px;
}

@media (max-width: 768px) {
	/* Poravnanje featured image slike na pojedinačnim događajima da ne štrči više */
	.tribe-events .tribe-events-calendar-day__event-featured-image-wrapper {
		padding-left: var(--tec-grid-gutter-small-half);
		padding-right: var(--tec-grid-gutter-small-half);
	}
}

.carousel-control-prev,
.carousel-control-next {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 50px;
	height: 50px;
	background-color: rgba(0, 0, 0, 0.5);
	border-radius: 50%;
	z-index: 10;
	display: flex;
	align-items: center;
	justify-content: center;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
	width: 20px;
	height: 20px;
	background-size: 100%;
	filter: invert(1);
}

.carousel-control-prev {
	left: -60px;
}

.carousel-control-next {
	right: -60px;
}

/* Na telefonu i tabletu strelice idu unutar slike, inače strana postaje šira od ekrana. */
@media (max-width: 991.98px) {
	.carousel-control-prev {
		left: 8px;
	}

	.carousel-control-next {
		right: 8px;
	}
}

body {
	color: #223e54;
	font-family: "Raleway Medium";
}

h5 {
	margin-top: 1rem;
}

.taxonomy-description {
	padding: 1.5rem;
}

/* hide default up/down arrows on text field numbed */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

input[type=number] {
	-moz-appearance: textfield;
}

.dropdown-item {
	padding: .5rem 1rem;
}

.entry-header {
	position: relative;
	width: 100%;
}

.entry-header img.wp-post-image {
	display: block;
	width: 100%;
	height: 100%;
	max-height: 70vh;
	object-fit: cover;
}

.entry-header h1 {
	font-size: 5rem;
	line-height: 1.2;
	letter-spacing: 0.05em;

	background: linear-gradient(180deg, #F0F4F7 66.83%, rgba(255, 255, 255, 0) 80.21%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	text-fill-color: transparent;

	background-size: 100% 1.2em;
	background-repeat: repeat-y;
}

.entry-header h4 {
	font-size: 2rem;
	font-family: 'Raleway Regular';
	font-weight: 400;
	letter-spacing: -0.01em;
	color: #FFFFFF;
	padding: 10px 10px;
}

/* Kontakt forma (Contact Form 7): polja i tekst */
.wpcf7 input.wpcf7-form-control,
.wpcf7 select.wpcf7-form-control,
.wpcf7 textarea.wpcf7-form-control {
	background: #EFF6FB;
	border: 2px solid #B1C5D8;
	border-radius: 50px;

	font-family: 'Raleway Medium';
	font-style: normal;
	font-weight: 500;
	font-size: 18px;
	color: #6D7D8B;
}

.wpcf7 input.wpcf7-form-control,
.wpcf7 select.wpcf7-form-control,
.wpcf7 textarea.wpcf7-form-control {
	padding-left: 1rem;
}

.wpcf7 textarea.wpcf7-form-control {
	height: 18rem;
	padding: 1rem 2rem;
}

#page > div.wrapper {
	padding: 0;
}

figure.entry-header {
	margin-block-end: 0em;
}

.bg-light {
	background-color: #f0f4f7 !important;
}

.accordion-button span {
	font-family: 'Raleway Regular';
	font-style: normal;
	font-weight: 500;
	font-size: 16px;
	line-height: 159.8%;
}

.gallerySwiper .swiper-slide {
	height: auto;
}

/* About page */

.page-template-est-about h5,
.home h5 {
	font-family: 'Raleway Regular';
	font-style: normal;
	font-weight: 400;
	font-size: 21px;
	line-height: 159.8%;
	color: #223E54;
	margin-bottom: 2em;
}

.page-template-est-about .entry-content section p {
	font-family: 'Raleway Regular';
	font-style: normal;
	font-weight: 400;
	font-size: 18px;
	line-height: 159.8%;
	color: #223E54;
	text-align: justify;
}

.page-template-est-about .entry-content section.aligned img {
	display: block;
	margin: 0 auto;
	margin-bottom: 1rem;
}

.page-template-est-about .entry-content section.aligned h5 {
	text-align: center;
	font-family: 'Kanit Bold';
	font-style: normal;
	font-weight: 700;
	font-size: 18px;
	line-height: 159.8%;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.page-template-est-about section.aligned {
	margin: 1rem 0;
	position: relative;
}

.page-template-est-about section {
	position: relative;
}

.page-template-est-about hr {
	border: 0.13rem solid #3097E2;
	opacity: 1;
}

.page-template-est-about svg.arrow-down {
	clear: both;
	display: block;
	margin: 0 auto;
}

.page-template-est-about #wrapper-footer {
	margin-top: 2rem;
}

.team-members .accordion-button::after {
	margin-left: auto;
	margin-right: auto;
	background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%233097E2'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.team-members .accordion-item,
.team-members .card-footer {
	background-color: #F0F4F7;
	border: none;
}

.team-members .accordion-button {
	background-color: transparent;
}

@media screen and (min-width: 768px) {

	.page-template-est-about h5 {
		text-align: unset;
	}

	.page-template-est-about .entry-content section.aligned h5 {
		margin: unset;
		text-align: unset;
	}

	.page-template-est-about .entry-content section.align-right h5 {
		text-align: right;
	}

	.page-template-est-about .entry-content section.align-left h5 {
		text-align: left;
	}

	.page-template-est-about .entry-content section.align-left img {
		float: left;
		margin-right: 2rem;
	}

	.page-template-est-about .entry-content section.align-right img {
		float: right;
		margin-left: 2rem;
	}
}

.page-template-est-about .underline_hl {
	font-family: 'Kanit Bold';
}

/* Team Building Page */

.page-template-est-teambuilding .underline_hl {
	padding-bottom: 15px;
}

section.align-right div {
	text-align: right;
}

.aligned .underline_hl {
	width: auto;
}

.page-template-est-teambuilding section.aligned {
	margin: 0;
}

.page-template-est-teambuilding section.align-left {
	width: 100%;
	background-image: url('https://estadventure.com/wp-content/uploads/2023/07/Stara-Planina-Midzor.jpg');
	background-position: bottom right;
	background-repeat: no-repeat;
	background-size: auto 100%;
	padding-bottom: 20px;
}

.page-template-est-teambuilding section.align-right {
	width: 100%;
	background-image: url('https://estadventure.com/wp-content/uploads/2023/07/why-team-building.jpg');
	background-position: bottom left;
	background-repeat: no-repeat;
	background-size: auto 100%;
	padding-bottom: 20px;
}

.clients_partners {
	background-position: center 50px;
	background-size: 100% auto;
}

@media screen and (min-width: 768px) {
	.clients_partners {
		background-image: url('/wp-content/uploads/2023/11/team-building-bottom.jpg');
		text-align: center;
	}
}

@media (max-width: 768px) {
	.carousel-item img {
		height: 5rem;
	}
}

@media screen and (min-width: 768px) {
	.page-template-est-teambuilding .section-header {
		display: none;
	}
}

@media screen and (max-width: 768px) {
	.page-template-est-teambuilding section.align-left,
	.page-template-est-teambuilding section.align-right {
		background-image: none;
	}
}

/* Single Post */

.single-post h1.entry-title {
	font-family: 'Kanit Bold';
	font-style: normal;
	font-weight: 700;
	font-size: 3rem;
	line-height: 98.4%;

	text-fill-color: #223E54;
	-webkit-text-fill-color: #223E54;
	color: #223E54;
}

.single-post .entry-meta {
	position: static;
}

.single-post .entry-header {
	margin-top: 3.75rem;
}

.single-post .cat-links a {
	font-family: 'Kanit Bold';
	font-style: normal;
	font-weight: 700;
	font-size: 1rem;
	line-height: 1.5rem;
	color: #00C04D;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	text-decoration: none;
}

.entry-meta {
	font-family: 'Raleway Regular';
	font-style: normal;
	font-weight: 400;
	font-size: 0.875rem;
	line-height: 150.6%;
	color: #6D7D8B;
	margin-top: 2rem;
	margin-bottom: 2rem;
}

.single-post .wrapper {
	background: #FFF;
}

.single-post .site {
	background: #FFF;
}

.single-post .wp-post-image {
	display: block;
	margin: auto;
}

.single-post .entry-content {
	margin-top: 3.75rem;
	font-family: 'Raleway Medium';
	font-style: normal;
	font-weight: 500;
	font-size: 1.125rem;
	line-height: 163.15%;
	color: #223E54;
}

/* Contact Page */

.two-boxes,
.two-boxes-60-35 {
	display: flex;
	flex-wrap: wrap;
}

.two-boxes p,
.two-boxes-60-35 p {
	flex: auto;
}

.page-template-est-contact .two-boxes,
.home-team .two-boxes {
	gap: 2rem;
}

.page-template-est-contact .two-boxes div {
	padding: 1.875rem;
}

@media screen and (max-width: 768px) {
	.page-template-est-contact .wrapper {
		min-height: 1500px;
	}
}

@media screen and (min-width: 768px) {
	.page-template-est-contact .two-boxes {
		gap: 10%;
	}

	.page-template-est-contact .two-boxes div {
		flex-basis: 45%;
		max-width: 28.5rem;
	}

	.two-boxes,
	.two-boxes-60-35 {
		gap: 5%;
	}

	.two-boxes p {
		flex: 1 1 calc(50% - 2.5%);
	}

	.two-boxes-60-35 p:first-child {
		flex-grow: 60;
		flex-basis: 60%;
	}

	.two-boxes-60-35 p:last-child {
		flex-grow: 35;
		flex-basis: 35%;
	}
}

.blue-button {
	display: flex;
	justify-content: center;
	align-items: center;
	min-width: auto;
	white-space: nowrap;
	margin: 1rem;
	padding: .5rem;
	border-radius: 10rem;
	color: #f0f4f7;
	background-color: #3097e2;
	transition: all .25s ease;
	text-decoration: none;
}

.blue-button:hover {
	background-color: #223E54;
	color: #fff;
}

@media screen and (min-width: 768px) {
	.blue-button {
		max-width: 300px;
		margin: 1rem auto;
	}
}

.page-template-est-contact .entry-content {
	text-align: center;
	padding-top: 3.375rem;
}

.page-template-est-contact .entry-content h2 {
	margin-bottom: 3.375rem;
}

.white-rounded-box-with-shadow {
	background-color: #fff;
	border-radius: 0.5rem;
	filter: drop-shadow(0px 8px 16px rgba(0, 0, 0, 0.24));
}

.page-template-est-contact #content {
	background-image: url("https://estadventure.com/wp-content/uploads/2023/04/background-contact-scaled.jpg");
	background-size: cover;
	height: 100vh;
	width: 100vw;
}

.page-template-est-contact h5 {
	font-family: 'Kanit SemiBold';
	font-style: normal;
	font-weight: 600;
	font-size: 1.625rem;
	line-height: 2.4375rem;
	letter-spacing: 0.01em;
}

.two-boxes p {
	font-family: 'Raleway Medium';
	font-style: normal;
	font-weight: 500;
	font-size: 1.125rem;
	line-height: 160.8%;
	color: #223E54;
}

.contact-social {
	font-family: 'Kanit Medium';
	font-style: normal;
	font-weight: 500;
	font-size: 1.5rem;
	line-height: 2.25rem;
	letter-spacing: 0.01em;
	color: #223E54;
}

.contact-social {
	margin: 2rem auto 0 auto;
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	align-items: center;
	justify-content: flex-start;
	padding: 1.5rem;
	width: auto;
}

@media screen and (min-width: 768px) {
	.contact-social {
		width: max-content;
	}
}

@media (max-width: 768px) {
	.contact-social {
		flex-direction: column;
	}
}

.contact-social div:last-child {
	display: flex;
	gap: 1.5rem;
}

/* Home */

.splash-image img {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 45vh;
	object-fit: cover;
}

.home-header-text {
	height: 45%;
}

.home-header-text h3 {
	font-size: 4vw;
	color: #f0f4f7;
}

.home section.home-header .home-header-text p {
	font-size: 2vw;
	color: #f0f4f7;
}

@media screen and (max-width: 768px) {

	.home-header-text h3 {
		font-size: 8vw;
	}

	.home section.home-header .home-header-text p {
		font-size: 4vw;
	}

	.home-slider {
		min-height: 0;
		margin-bottom: 0;
	}

	.carousel > button {
		height: 20%;
		top: 50%;
		bottom: 50%;
	}

	h2 {
		font-size: 2rem;
	}
}

.entry-header h1 {
	font-size: 4vw;
	color: #f0f4f7;
}

.entry-header h4 {
	font-size: 2vw;
	color: #f0f4f7;
}

@media screen and (max-width: 768px) {

	.entry-header h1 {
		font-size: 8vw;
	}

	.entry-header h4 {
		font-size: 4vw;
	}
}

.offer .itern .h5,
.offer .itern h5 {
	font-family: "Kanit Bold", Arial, Helvetica, sans-serif;
}

.offerHolder .cta {
	bottom: 32%;
	text-align: center;
}

.offer.discover .cta h5 {
	font-family: "Kanit ExtraBold", Arial, Helvetica, sans-serif;
	text-transform: uppercase;
	line-height: 159.8%;
	color: #f0f4f7;
	margin: 0;
}

.offerHolder .price {
	bottom: 18%;
	padding: 8px;
}

.offerHolder .price h6 {
	font-size: 1.25rem;
}

.offerHolder .itern {
	bottom: 5%;
}

.offerHolder .days h6,
.offerHolder .departures h6 {
	font-size: 1rem;
	margin: 0.5rem;
}

.offer.discover h5 {
	font-family: 'Raleway Regular';
	font-style: normal;
	font-weight: 400;
	font-size: 21px;
}

.carousel-container {
	position: absolute;
	top: 100%;
	left: 50%;
	transform: translate(-50%, 0%);
}

@media (max-width: 768px) {
	.carousel-icon svg {
		height: 5rem;
	}
}

@media screen and (min-width: 768px) {

	.home-adventures {
		padding-top: 350px;
	}

	.home-header-text {
		height: 45%;
	}
}

.home-header-text .h3,
.home-header-text .h6,
.home-header-text h3,
.home-header-text h6 {
	text-shadow: 0 0 15px #223e5482;
}

.home-team {
	width: 100%;
	background-image:
		url("https://estadventure.com/wp-content/uploads/2023/04/home-team-left.png"),
		url("https://estadventure.com/wp-content/uploads/2023/04/home-team-right.png");
	background-position: bottom left, bottom right;
	background-repeat: no-repeat;
	background-size: 50% auto, 35% auto;
	display: flex;
	align-items: center;
	justify-content: center;
}

@media (min-width: 1800px) {
	.home-team {
		background-size: auto 150%, auto 100%;
	}
}

.home-adventures {
	width: 100%;
	background-image: url("https://estadventure.com/wp-content/uploads/2023/04/home-pozadina-adventures.png");
	background-position: bottom;
	background-repeat: no-repeat;
	background-size: 100% auto;
	display: flex;
	align-items: center;
	justify-content: center;
}

.underline_hl {
	margin: 1.5rem auto;
}

.home-header {
	background-color: #F0F4F7;
}

@media screen and (min-width: 768px) {
	.home .blue-button {
		min-width: 14.75rem;
	}

	.page-template-est-contact .two-boxes div {
		gap: 10%;
	}

	.home-team .two-boxes {
		gap: 3.75rem;
	}

	.tb_client_l img {
		width: auto;
		height: auto;
	}

	.instagram-links {
		width: 50%;
		max-width: 700px;
		margin: 0 auto;
	}
}

.home h2 span {
	display: block;
	position: absolute;
	bottom: 0;
	left: 50%;
	transform: translateX(-50%);
	width: calc(100% - 2rem);
	height: 2px;
	background-color: black;
}

.home .white-font {
	color: #fff;
}

.left-aligned {
	text-align: left;
}

.right-aligned {
	text-align: right;
}

.blue-button-look,
.wpcf7 input.wpcf7-form-control[type=submit] {
	font-family: "Kanit Light", Arial, Helvetica, sans-serif;
	color: #f0f4f7;
	background-color: #3097e2;
	border-radius: 10rem;
	padding: .5rem;
	transition: all .25s ease;
	text-decoration: none;
}

.blue-button-look:hover,
.wpcf7 input.wpcf7-form-control[type=submit]:hover {
	font-family: "Kanit Light", Arial, Helvetica, sans-serif;
	background-color: #223E54;
	color: #fff;
}

.home-adventures {
	padding-bottom: 3.5rem;
}

@media screen and (max-width: 768px) {
	.home .white-font {
		color: #223E54;
	}
}

.home .carousel {
	color: #223e54;
}

.wpcf7-form h2 {
	font-family: 'Kanit Regular';
	font-style: normal;
	font-weight: 400;
	font-size: 2rem;
	line-height: 160.8%;
	color: #223E54;
	padding: 2rem 0;
}

.wpcf7-form p {
	font-family: 'Raleway Regular';
	font-style: normal;
	font-weight: 400;
	font-size: 1.2rem;
	line-height: 160.8%;
	color: #223E54;
}

.wpcf7-form label {
	font-family: 'Raleway Regular';
	font-style: normal;
	font-weight: 400;
	font-size: 0.8rem;
	line-height: 175.7%;
	color: #223E54;
}

.wpcf7-form input[type=text]::placeholder,
.wpcf7-form textarea::placeholder {
	font-family: 'Raleway Semibold';
	font-style: normal;
	font-weight: 600;
	font-size: 1rem;
	line-height: 175.7%;
	color: #B1C5D8;
}

.contact-form-intro {
	text-align: center;
}

.wpcf7 input.wpcf7-form-control[type=submit] {
	height: auto;
}

/* white background pages */

#post-622,
#post-625 {
	background-color: #fff;
}

.wpcf7 {
	max-width: 700px;
}

/* Blog page */

.subscribe-box {
	background-color: #223E54;
	color: #6DB4F2;
	padding: 1rem;
	border-radius: 20px;
}

@media screen and (min-width: 768px) {
	.subscribe-box > div {
		padding: 3.2rem;
	}
}

.subscribe-box h3 {
	font-family: 'Kanit Bold';
	font-style: normal;
	font-weight: 700;
	font-size: 3rem;
	line-height: 111.4%;
	color: #F0F4F7;
}

.subscribe-box input {
	height: 3rem;
	border-radius: .625rem;
	border: 2px solid #BBC8D4;
	padding: 0.625rem;
}

.subscribe-box input::placeholder {
	font-family: 'Raleway Medium';
	font-style: normal;
	font-weight: 500;
	font-size: 1rem;
	line-height: 175.7%;
	color: #BBC8D4;
}

.subscribe-box button {
	background-color: #3097E2;
	color: #F0F4F7;
	font-family: 'Kanit SemiBold';
	font-style: normal;
	font-weight: 600;
	font-size: 1rem;
	line-height: 1.5rem;
	border-radius: .625rem;
	padding: 0.625rem 1.75rem;
	border: none;
}

.subscribe-box .small-text {
	font-family: 'Raleway Medium';
	font-style: normal;
	font-weight: 500;
	font-size: 0.875rem;
	line-height: 150.6%;
	color: #6DB4F2;
}

.subscribe-box {
	font-family: 'Raleway Medium';
	font-style: normal;
	font-weight: 500;
	font-size: 1.125rem;
	line-height: 163.15%;
	color: #6DB4F2;
}

.post-thumb .post-thumb-body {
	margin-top: -5.3rem;
}

/* Strelica za stavke koje imaju još jedan nivo */
.dropdown-menu .dropdown > a::after {
	content: "▶";
	float: right;
	margin-left: 5px;
	font-size: 0.8em;
}

/* Drugi nivo menija (dropdown unutar dropdown-a) */
.dropdown-menu .dropdown-menu {
	display: none;
	position: absolute;
	left: 100%;
	top: 0;
	background-color: #fff;
	z-index: 9999;
	margin-top: 0;
	border: 1px solid rgba(0, 0, 0, 0.15);
	border-radius: 0.25rem;
}

/* Prikaži na hover */
.dropdown-menu > .dropdown:hover > .dropdown-menu {
	display: block;
}

/* Potrebno za pozicioniranje */
.dropdown-menu > .dropdown {
	position: relative;
}

/* Strana ne sme biti šira od ekrana: .row u .container-fluid bez paddinga (gore) viri 12 px desno.
   overflow-x: clip (ne hidden) da sticky meni i dalje radi. */
#page {
	overflow-x: clip;
}
