/*
Theme Name:   zlatna-nit
Description:  Resort Zlatna Nit je smješten u srcu Unsko-sanskog kantona, podno Grmeča, 4km prirodne trase od Bosanske Krupe, a 30 km od Bihaća i Cazina.
Author:       Zlatna Nit
Author URL:   https://zlatianit.com/
Template:     Divi
Version:      1.0
License:      GNU General Public License v2 or later
License URI:  http://www.gnu.org/licenses/gpl-2.0.html
Text Domain:  zlatna-nit
*/

/* Write here your own personal stylesheet */

.et_pb_row.et_pb_row_0.et_pb_gutters1 {
    opacity: 0.8;
}
.et_pb_preload:before {
    background: #222225!important;
    top: 0!important;
    bottom: 0!important;
    left: 0!important;
    right: 0!important;
    width: auto!important;
    height: auto!important;
}

#page-container{
    overflow: visible !important;
}
.et_pb_scroll_top.et-pb-icon {
    text-align: center;    background: rgba(33, 37, 39, 0.7)!important;
}
.container.clearfix.et_menu_container {
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}
.et_pb_menu .et-menu>li {
    padding-left: 30px;
    padding-right: 30px;
}
#top-menu li a, .et_search_form_container input {
    font-weight: 500!important;
}
.et-fixed-header {
    border-bottom: 1px solid #919597;
}
.et-fixed-header #logo {
content: url(https://zlatan.ids-studio.com/wp-content/uploads/2024/09/logo-zlatna-nit-white.webp);
}
.et_pb_fullwidth_header .et_pb_fullwidth_header_container.center .header-content {
    width: 90%;
	max-width: 1080px;
}
figure.dnext-neip-uih-effect-18 .dnext-neip-uih-des-pra {
    max-width: 200px!important;
}
.dnxte_button .dnxt-button-wrapper a {
	border-radius:30px!important;
}
.et_pb_contact .et_pb_contact_field_half {
    width: 68%;
}
.et_pb_contact_reset, .et_pb_contact_submit {
    margin: 0;
}
.seadeck-section .et_pb_section_video_bg {
    opacity: .9;
}
/*:root :where(a:where(:not(.wp-element-button))) {
    text-decoration: none;
}*/

@media (max-width: 767px) {
 
	p.et_pb_contact_field {
		max-width: 100% !important;
	}
}

/* IMG HOVER EFFECT */
.item {
  width: 100%;
  float: left;
  overflow: hidden;
  position: relative;
  background: #000;
}
.item h3 {
	font-family: 'Open Sans', Helvetica, Arial, Lucida, sans-serif;
	font-weight: 400;
	position: absolute;
	top: 40px;
	left: 40px;
	color: #fff;
	text-transform: uppercase;
	letter-spacing: 1px;
	font-size: 1.7rem;
}
.item img {
  max-width: 100%;
  display: block;
  transition: all 0.5s ease;
}

/* 
Masonry Gallery by WP Zone
*/
.wpz-gallery-masonry .et_pb_gallery .et_pb_gallery_items {
    column-count: 4; /* number of columns for desktop */
    column-gap: 15px;  /* column spacing */
}
@media only screen and (max-width: 1350px) { 
.wpz-gallery-masonry .et_pb_gallery .et_pb_gallery_items { 
    column-count: 3;  /* number of columns for tablet devices */
} 
} 
@media only screen and (max-width: 767px) {
  .wpz-gallery-masonry .et_pb_gallery .et_pb_gallery_items {
    column-count: 2;  /* number of columns for mobile devices */
  }
}
.wpz-gallery-masonry .et_pb_gallery .et_pb_gallery_items .et_pb_gallery_item {
    width: 100%;
    margin: 0px 0px 15px 0!important; /* replace 10px to change row spacing */
    float: none!important; 
}

/*effect 1*/
.e1 img {
  -webkit-filter: grayscale(30%);
  filter: grayscale(30%);
  transition: all 0.3s ease;
}
.text1 {
    font-family: 'Open Sans', Helvetica, Arial, Lucida, sans-serif;
    font-size: 1rem;
    position: absolute;
    bottom: -25%;
    left: 10px;
    right: 40px;
    color: #ffffff;
    transition: all 0.5s ease;
    cursor: pointer;
    font-weight: 400;
}
.text1 p {
  text-align: right;
  opacity: 0;
	border-right: 3px solid #fff;
	padding-right: 20px;
}
.e1:hover img {
  -webkit-filter: grayscale(0%);
  filter: grayscale(0%);
	opacity: .7;
}
.e1:hover .text1 {
  position: absolute;
  bottom: 40px;
}
.e1:hover p {
  opacity: 1;
}
.container {
    width: 90%;
}

/* FULLSCREEN MOBILE MENU */

.mobile_menu_bar:before, .mobile_menu_bar:after, #top-menu li.current-menu-ancestor>a, #top-menu li.current-menu-item>a {
    color: #ffffff;
}
#mobile_menu,  .opened #mobile_menu {
	position: fixed;
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-height: 100%;
	max-height: 100%;
	z-index: 20;
	top: 0;
	border: none;
	overflow-y: auto;
	max-width: 100%;
	float: left;
	transition: all cubic-bezier(0.5, 0, 0, 1) 800ms;
	background: #111517!important;
	background-size: cover;
	background-repeat: no-repeat;
}
 
.opened #mobile_menu {
	transform: none;
}
.opened #mobile_menu a {
	transform: none;
	opacity: 1;
}
.opened #mobile_menu .menu-item:nth-child(1) a, .closed #mobile_menu .menu-item:nth-last-child(1) a {
	transition-delay: 100ms;
}
 
.opened #mobile_menu .menu-item:nth-child(2) a, .closed #mobile_menu .menu-item:nth-last-child(2) a {
	transition-delay: 200ms;
}
 
.opened #mobile_menu .menu-item:nth-child(3) a, .closed #mobile_menu .menu-item:nth-last-child(3) a {
	transition-delay: 300ms;
}
 
.opened #mobile_menu .menu-item:nth-child(4) a, .closed #mobile_menu .menu-item:nth-last-child(4) a {
	transition-delay: 400ms;
}
 
.opened #mobile_menu .menu-item:nth-child(5) a, .closed #mobile_menu .menu-item:nth-last-child(5) a {
	transition-delay: 500ms;
}
 
.opened #mobile_menu .menu-item:nth-child(6) a, .closed #mobile_menu .menu-item:nth-last-child(6) a {
	transition-delay: 600ms;
}
.mobile_nav.opened .mobile_menu_bar:before {
 content: '\4d';
	color: #fff;
	transition: all ease-in-out 300ms;
        z-index: 100;
}
.mobile_nav.closed .mobile_menu_bar:before {
	transition: all ease-in-out 300ms;
}

/* LANGUAGE SWITCHER */

ul.polylang_langswitcher {
    list-style-type: none;
    display: flex;
    justify-content: center;
    padding: 0 0 1em 0;
}
li.lang-item {
    padding: 0;
}
li.lang-item.lang-item-first:after {
    content: '/';
    padding: 0 5px;
}
/*preload*/
.et_pb_preload:before {
    background: #222225!important;
    top: 0!important;
    bottom: 0!important;
    left: 0!important;
    right: 0!important;
    width: auto!important;
    height: auto!important;
}

/* Link animations */
 
#mobile_menu a {
	transform: translatey(100%);
	opacity: 0;
	transition: all cubic-bezier(0.5, 0, 0, 1) 800ms;
}
 
/* Menu animations */
 
.closed #mobile_menu {
	opacity: 0;
	pointer-events: none;
	transform: translatey(48px);
	transition-delay: 600ms;
}

/* BRANDS */


.sth {
    width: 100%;
	margin: 75px 0;
}

.box {
  display: inline-block;
  float: left;
  width: 33.2%;
  position: relative;
  height: 182px;
  border: 1px solid #000;
  z-index: 0;
  transition: all 0.3s ease;
  opacity: 1;
	margin-top :-1px;
  margin-right: -1px;
}
.box:hover {
  z-index: 10;
}
.box:before, .box:after {
  content: "";
  display: block;
  position: absolute;
  background: #fff;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation-iteration-count: 1;
  transform-origin: 50% 50%;
  opacity: 1;
}
.box:before {
  width: calc(100% + 3px);
  height: 100%;
  z-index: 1;
  transition: height 1s ease, opacity 0.8s ease;
}
.box:after {
  height: calc(100% + 3px);
  width: 100%;
  z-index: 1;
  transition: width 1s ease, opacity 0.8s ease;
}
.box:hover:before, .box:focus:before {
  transition: height 0.2s ease, opacity 0.3s ease;
  height: 85%;
  opacity: 0.7;
}
.box:hover:after, .box:focus:after {
  transition: width 0.2s ease, opacity 0.3s ease;
  width: 85%;
  opacity: 0.8;
}
.box__image {
  fill: #000;
  width: 60%;
  will-change: width;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(1);
  transition: all 0.5s ease;
  z-index: 2;
}

}

/* Background naslova Brands etc... */
wow {
    background-color: rgba(0,0,0,0.4) !important;
    padding-left: 7px;
    padding-right: 7px;
}

/* Text shadow */
lol {
    background-color: rgba(0,0,0,0.1) !important;
    padding-top: 0.1px !important;
    padding-bottom: 0.1px !important;
    padding-left: 5px !important;
    padding-right: 5px !important;
}

waw {
    color: #ffffff !important;
    background-color: #212527 !important;
    padding-top: 0.1px !important;
    padding-bottom: 0.1px !important;
    padding-left: 5px !important;
    padding-right: 5px !important;
}

/* Change background and text color */
.caldera-grid .btn {
    font-family: 'Red Hat Display', Helvetica, Arial, Lucida, sans-serif;
	font-weight: 500 !important;
	color: #212527 !important;
    border-color: #212527;
    border-radius: 30px;
	border-width:2px;
    letter-spacing: 1px;
    font-size: 16px;
	float:right;
    text-transform: uppercase !important;
    background-color: rgba(255, 255, 255, 0.87);
	padding: 10px 20px !important;
}

/* Change background and text color on hover */
.caldera-grid .btn:hover {
    background-color:#ffffff !important;
    color:#000000 !important;
	border-color: #333333!important;
}

.caldera-grid label {
    font-weight: 300!important;
    font-size: 16px;
}
/* Change input text */
.caldera-grid .form-control {
	color: #212527 !important;
    font-weight: 300!important;
    border: 1px solid #878686!important;
}

/*Header zoom */
@media (min-width: 981px) {
	.et_pb_slide {
		background-size: 100%; 
		text-align: left;
		background-position-x: 50%;
		background-position-y: 50%;
		-webkit-animation: zoomin 8s linear;
		animation: zoomin 8s linear;
		animation-fill-mode: forwards;
	  background-origin:center;
	}

	@-webkit-keyframes zoomin {
		0% {
		   background-size: 100%; 
		}
		100% {
		   background-size: 116%; 
		}

	}
}

