/*
	Theme Name: WiRent
	Theme URI: 
	Author:  Veronika Udod
	Author URI: 
	Version: 2.0
	Description: 
	Tags: 
	Licence: GPL v2 or later
	License URI: http://www.gnu.org/licenses/gpl-2.0.html
	Text Domain: ecoffset.it
*/

/* MAIN SETTINGS */


:root{
	--black: #101011;
	--white: #FFFFFF;
	--accent: #65A2FF;
}

 
body{
	width: 100%;
	overflow-x: hidden;
	margin: 0;
}

html{
	overflow-x: hidden;
}

body {
    background-color: var(--black);
    transition: 0.5s;
}

.container {
	max-width: 1280px;
}

*{
   font-family: "Instrument Sans", sans-serif;
}

h1{
	font-size: 67px;
	line-height: 72px;
}

h2{
	font-size: 51px;
}

h3{
	font-size: 44px;
}

h4{
	font-size: 35px;
}

h5{
	font-size: 29px;
}

h6{
	font-size: 21px;
}

p{
	font-size: 18px;
	line-height: 22px;
	font-weight: 500;
	margin-bottom: 0;
}

.text-white{
	color: var(--white);
}

.text-black{
	color: var(--black);
}

.position-relative{
	position: relative;
}

/* MAIN SETTINGS MOBILE */
@media only screen and (max-width: 768px){
	h1{
		font-size: 40px;
		line-height: 1;
	}
	
	h2{
		font-size: 28px;
		letter-spacing:  0;
	}
	
	h3{
		font-size: 32px;
	}
	
	h4 {
		font-size: 28px;
	}
	h6{
		font-size: 21px;
	}
	
	p{
		font-size: 18px;
	}
}

/* NAVBAR */
nav{
	padding: 0 80px;
	/*background: linear-gradient(303deg, rgba(0, 0, 0, 0.50) 21%, rgba(26, 26, 29, 0.50) 81.38%);*/
	backdrop-filter: blur(50px);
	position: fixed;
    z-index: 99;
    width: 100%;
}
.main-nav {
    transition: background-color 1s ease-in-out, color 1s ease-in-out, box-shadow 1s ease-in-out;
    width: 100%;
}
.main-navbar.scrolled {
	background: black;
	    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);

}
nav .logo-nav{
	max-width: 193px;
}

.main-menu{
	display: flex;
	justify-content: end;
	list-style: none;
	padding-left: 0;
	margin-bottom: 0;
	gap: 48px;
}

.main-menu a{
	text-decoration: none;
	color: var(--white);
	font-size: 16px;
	font-weight: medium;
}


/***NAVBAR***/

.navbar {
--bs-navbar-toggler-icon-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23fff' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    
}
.navbar-toggler {
	border: 0 !important;
	outline: unset !important;
	box-shadow:unset !important;
	
}
.navbar-nav a {
    color:#FFF !important;
    text-decoration: none !important;
    font-size: 16px !important;
    transition: .2s;
}

.user-icon-link, .search-icon-link {
    color: #fff;
    background: #65A2FF;
    width: 36px;
    height: 36px;
    display: flex;
    justify-content: center;
    align-items: center;
	cursor: pointer;
}

.input-group {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    width: 100%;
}

.input-group>.form-control, .input-group>.form-floating, .input-group>.form-select {
    position: relative;
    flex: 1 1 auto;
    width: 1%;
    min-width: 0;
}
.form-control {
    width: 100%;
    padding: 0.375rem 0.75rem;
    border: none;
    border: 1px solid #ced4da;
    border-radius: 0;
    font-size: 16px;
    background-color: transparent !important;
    outline: none;
    color: #616866 !important;
}
.primary-menu .dropdown-menu .dropdown-item:hover {
	    color: #101011 !important;

}

/*****SUB MENU*****/
/* Show submenu on hover */
.primary-menu .dropdown-menu {
	position: absolute;
	border: 0 !important;
	-webkit-box-shadow: -0px 15px 25px 0px rgb(92 92 92 / 15%) !important;
	-moz-box-shadow: 0px 15px 25px 0px rgb(92 92 92 / 15%) !important;
	box-shadow: 0px 15px 25px 0px rgb(92 92 92 / 15%) !important;
	padding: 24px;


}
.primary-menu li:hover .dropdown-menu {
	opacity: 1 !important;
	transform: translateY(1px) !important;
	z-index: 99;
	padding: 12px 12px 20px 12px !important;
	transition: max-height 1s ease-in-out;
	max-height: unset !important;



}


.primary-menu .dropdown-menu .dropdown-item {
	background: transparent !important;
}


.primary-menu .dropdown-menu {
	transition: .4s opacity, .2s transform !important;
	-o-transition: .4s opacity, .2s transform !important;
	-ms-transition: .4s opacity, .2s transform !important;
	-moz-transition: .4s opacity, .2s transform !important;
	-webkit-transition: .4s opacity, .2s transform !important;
	display: block !important;
	transform: translateY(30px) !important;
	left: 0;
	opacity: 0 !important;
	max-height: 0;
	overflow: hidden;
	padding: 0 !important;
	background-color: #65A2FF;
	border-radius: 0;
}
.navbar-nav .dropdown-menu a {
  text-transform: none !important;
	line-height: 28px;
}
.primary-menu .dropdown-toggle {
  position: relative;
  padding-right: 1.2em; /* space for the arrow */
  display: inline-block;
  color: #fff;
  text-decoration: none;
	margin-top: 24px;
		padding-bottom: 30px;

}

.primary-nav .nav-link:hover,
.primary-nav .nav-link.active,
.primary-menu .dropdown-menu .dropdown-item.active{
    color: #65A2FF !important;
}

/* Chevron lines */
.primary-menu .dropdown-toggle::after {
	content: "";
	position: absolute;
	right: 5px;
	top: 29%;
	transform: translateY(-50%) rotate(45deg);
	width: 11px;
	height: 11px;
	border-right: 2px solid white;
	border-bottom: 2px solid white;
	transition: transform 0.3s ease;
	border-top: none;
	border-left: none;
}
.primary-menu .dropdown-toggle:hover::after {
    transform: translateY(20%) rotate(-135deg);
    border-right: 2px solid #65A2FF;
    border-bottom: 2px solid #65A2FF;
}


/* NAVBAR MOBILE */
@media only screen and (max-width: 768px){
	nav {
    padding: 15px 0;
}
	.navbar-nav a {
    display: inline-block;
 
}
	
	.primary-menu .dropdown-menu {
    position: static !important;
}
	.search-icon-link {
 
    justify-content: space-between;
   
}
	
	.primary-menu .dropdown-toggle {
    margin-top: 0;
    padding-bottom: 0.5rem;
}
	
	.primary-menu .dropdown-toggle::after {
    top: 44%;
}
	.primary-nav .nav-link:hover, .primary-nav .nav-link.active, .primary-menu .dropdown-menu .dropdown-item.active {
    color: #fff!important;
}
	.primary-menu .dropdown-toggle:hover::after {
    transform: translateY(20%) rotate(-135deg);
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
}
	
	.navbar {
		padding-left: 20px !important;
	}
}

/* OFFCANVAS: tutta l'altezza schermo */
.offcanvas {
  height: 100vh !important;
  background: #70A9FF;
}

/* Se hai un header dentro, lascia il body scrollabile */
.offcanvas .offcanvas-body {
  overflow-y: auto;
  max-height: calc(100vh - 60px); /* regola 60px in base all’altezza del tuo header offcanvas */
}

/* Il tuo container fixed-top dentro l'offcanvas: fallo diventare un "full height" */
.offcanvas #main-nav .container.fixed-top {
  position: static !important;   /* <-- questa è la chiave */
  height: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ====== MOBILE LAYER MENU (OFFCANVAS) ====== */
@media (max-width: 991.98px) {

  /* contenitore stack */
  .mobile-menu-stack{
    position: relative;
    width: 100%;
    height: calc(100vh - 70px); /* regola se il tuo header offcanvas è diverso */
    overflow: hidden;
  }

  /* la strip che scorre */
  .mobile-menu-stack .menu-strip{
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.35s ease;
    will-change: transform;
  }

  /* ogni pannello */
  .mobile-menu-stack .menu-panel{
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 18px 0;
  }

  /* header pannello (titolo + back) */
  .mobile-menu-stack .panel-header{
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0 12px 0;
    border-bottom: 1px solid rgba(255,255,255,.25);
    margin-bottom: 14px;
  }

  .mobile-menu-stack .panel-back{
    border: 0;
    background: transparent;
    color: #fff;
    padding: 10px 3px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
  }

  .mobile-menu-stack .panel-title{
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    margin: 0;
  }

  /* menu items */
  .offcanvas .primary-menu{
    padding-left: 0;
  }
  .offcanvas .primary-menu li{
    list-style: none;
  }
  .offcanvas .primary-menu a{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 0;
    color: #fff !important;
    text-decoration: none !important;
  }

  /* IMPORTANT: in mobile NON vogliamo il dropdown “inline” */
  .offcanvas .primary-menu .dropdown-menu{
    display: none !important;
    opacity: 0 !important;
    max-height: 0 !important;
    overflow: hidden !important;
    padding: 0 !important;
  }

  /* freccia “forward” per chi ha submenu */
  .offcanvas .primary-menu .menu-item-has-children > a::after,
  .offcanvas .primary-menu .dropdown > a::after{
    content: "";
    width: 10px;
    height: 10px;
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: rotate(-45deg);
    margin-left: 10px;
  }

  /* disattiviamo il tuo hover che ruota la freccia (su mobile non serve) */
  .primary-menu .dropdown-toggle:hover::after{
    transform: rotate(-45deg);
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
  }
}

/* di default: menu chiuso */
.logo-open { display: none; }
.logo-closed { display: inline-block; }

/* quando offcanvas è aperto: scambia */
body.mobile-menu-open .logo-open { display: inline-block; }
body.mobile-menu-open .logo-closed { display: none; }

/* assicurati che occupino lo stesso spazio */
.brand-link { display: inline-flex; align-items: center; }
.logo-nav { max-width: 193px; height: auto; }

nav, .main-navbar, .navbar-site.main-navbar {
  z-index: 2000 !important;
}

/* Backdrop sotto la navbar */
.offcanvas-backdrop {
  z-index: 1500 !important;
}

/* Offcanvas sotto la navbar */
#main-nav.offcanvas {
  z-index: 1600 !important;
}

/* disattiva icona bootstrap */
.menu-hamburger .navbar-toggler-icon { display: none !important; }

/* hamburger custom */
.menu-hamburger {
  padding: 0 !important;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.menu-hamburger .hamburger{
  position: relative;
  width: 26px;
  height: 18px;
  display: inline-block;
}

.menu-hamburger .hamburger span{
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform .25s ease, top .25s ease, opacity .2s ease;
}

.menu-hamburger .hamburger span:nth-child(1){ top: 0; }
.menu-hamburger .hamburger span:nth-child(2){ top: 8px; }
.menu-hamburger .hamburger span:nth-child(3){ top: 16px; }

/* stato OPEN: diventa una X */
body.mobile-menu-open .menu-hamburger .hamburger span:nth-child(1){
  top: 8px;
  transform: rotate(45deg);
}

body.mobile-menu-open .menu-hamburger .hamburger span:nth-child(2){
  opacity: 0;
}

body.mobile-menu-open .menu-hamburger .hamburger span:nth-child(3){
  top: 8px;
  transform: rotate(-45deg);
}



@media (max-width: 1199.98px) {


 
}

/* HOMEPAGE */
body.page-id-8{
	background: var(--white);
}

/*********CONTACT US************/
/*.contact-us-form .form-control {
    padding: 20px;
    border-radius: 0;
	color: var(--white);
	text-transform: uppercase;
 	resize: none;
	background-color: #333333;
	border: 0;
}

.contact-us-form .form-control::placeholder {
	color: var(--grey);
	text-transform: uppercase;
}

.contact-us-form .btn-submit .form-control {
   	background: transparent;
	border: 1px solid var(--green);
	color: var(--white);
}

.contact-us-form p{
	margin-bottom: 24px;
}

.contact-us-form .wpcf7-acceptance input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 14px;
    height: 14px;
    min-height: 14px;
    border: 1px solid var(--white);
    display: inline-block;
    position: relative;
    background-color: transparent;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
}

.contact-us-form .wpcf7-acceptance span{
    color: var(--grey);
	font-size: 14px;
}

.contact-us-form .wpcf7-acceptance input[type="checkbox"]:checked {
    background-color: var(--white);
}*/

/*** ZAK HOME PAGE ***/

.hover-white-card:hover::before {
    background-color: #fff !important;
}

.hover-white-card:hover .elementor-heading-title {
    color: #65A2FF;
}

.f-16 p {
	font-size: 16px;
}

.percent-sup {
    font-size: 20px;
    top: -5.5rem;
}


/**ZAK BLOG PAGE**/
/* Active category button */
.filter-category.active {
    background-color: #65A2FF; /* blue background */
    color: #fff;
    border-color: #65A2FF;
}
.card-post {
    transition: all 0.5s ease;
}

	.category-list {
		padding-bottom: 90px;
		color: #fff;
	}
.card-category {
    font-size: 16px;
    font-weight: 500;
    color: #101011;
}
.card-post {
    display: flex;
    flex-direction: column;
    background: #DDEAFF;
    /*box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.10);*/
    color: #101011;
	padding: 25px;
}
.card-image-wrapper img {
	width: 100%;
	height: 200px;
	object-fit: cover;
}
.card-post .mb-5{
	font-weight:300;
}

.card-descr{
	font-family: "Cormorant Garamond";
	font-size: 20px;
	font-weight: 500;
	line-height: 28px;
	text-align: left;
}
.card-link {
	text-decoration: none;
}
.read-all .discover-more {
	color: #65A2FF;
	font-size: 18px;
	font-weight: 500;
    border-bottom: 1px solid #65A2FF;
}

.card-link:hover .read-all img {
    transform: translateX(5px); /* Effetto movimento a destra al passaggio del mouse */
	 transition: transform 0.3s  ease-in-out;
}





/**** BLOG SINGLE ***/
.single-art{
	padding-top: 100px;
	padding-bottom: 20px;
}

.single-post h1 {
	font-size: 48px;
	line-height: 1;
}
.single-content h3 {
	font-size: 40px;
	line-height: 1;
}

.post-author {
	font-size: 22px;
	font-weight: 600;
}

.post-author span {
	text-transform: capitalize;
}
.filter-category.disabled {
    pointer-events: none;
}
.misha_loadmore {
	background:#65A2FF;
	color: #101011;
	border:none;
    font-size: 18px;
    font-weight: 500;
    padding: 13px 16px;
	transition: transform 0.3s ease;
}
.misha_loadmore:hover {
	color: #fff;
}

	.see-all a {
		color: #fff;
		font-size: 15px;
		font-weight: 500;
		text-decoration: unset;
	}
	.card-category {
    color: #97C0FF;
    font-size: 20px;
    font-weight: 500;
    text-transform: uppercase;
		letter-spacing: 2px;
}
	.rl-card-title {
		    font-size: 24px;
    line-height: 26px;
	}
	
	.post-date {
		font-size: 15px;
		padding-top: 90px;
	}
.single-hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.single-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.2), rgba(0,0,0,0.9));
}
.single-category {
    background: #65A2FF;
    color: #101011;
    padding: 6px 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.single-content {
    font-size: 18px;
    line-height: 1.7;
}

.single-content p, .single-content li{
	font-size: 16px;
	line-height: 24px;
}

.related-card .related-img {
    width: 100%;
    height: 195px;
    object-fit: cover;
}
@media (max-width:767px){

	
	
	.eventi-section {
		padding: 10px;
	}
	.rivista-img-scroll img {
	    height: 450px;
	    width: auto;
	}
	
	.card-post {
    margin: 8px;
}
	
	.category-list {
		padding-left: 10px;
		padding-right: 10px;
	}
	
	#category-filter {
    margin-top: 30px;
}
	
	.post-date {
    	padding-top: 20px;
	}
	
	.single-cont{
		padding-left: 20px !important;
		padding-right: 20px !important;
	}
	
	.single-content h3 {
		font-size: 32px;
		line-height: 1;
	}
}
.btn-filter {
 background: transparent;
    color: #fff;
	text-transform: uppercase;
    transition: background 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
    border: 2px solid #65A2FF;
    border-radius: 0;
	padding: 10px 14px;
	font-weight: 500;
}
.btn-filter:hover {
 background: #65A2FF;
}

/**ZAK CONTACT US**/


.form-group {
    width: 100%;
		height: 93px;

}
.form-control {
    width: 100%;
    padding: 12px 0;
	border: none;
    border-bottom: 1px solid #fff !important;
    border-radius: 0;
    font-size: 16px;
    background-color: transparent !important;
    outline: none;
    color: #FFFFFF !important;
	vertical-align: bottom;
}
.form-control:focus {
	box-shadow: none;
}

/* Placeholder */
::placeholder {
    color: #fff !important;
}
textarea.form-control {
	height: 52px;
    resize: none;
}



.custom-submit {
    background-color: #65A2FF;
    color: #101011;
    padding: 15px;
    font-size: 18px;
    border: none;
    cursor: pointer;
	margin-top: 60px;
		 transition: all 0.25s ease;
	font-weight: 500;

}

.custom-submit:hover{
   color: #fff;
}
/* FOOTER */

footer .bg-primary {
    position: relative;
    padding-top: 100px;
	background: #101011 !important;
    color: #fff;
} 
footer{
	background: #101011;
	padding: 0;
}


footer p, footer a{
	font-size: 16px;
	font-weight: 500;
}
.f-links, .f-links a{
  color: #65A2FF;
}
.f-title {
  color: #767A7C;
}

.p-bottom {
	padding-bottom: 10rem;
}

/***SCROLL DOWN ARROW ***/

.scroll-down-arrow {
	background: transparent;
	z-index: 10;
	animation: bounce 2s infinite;
	border: 2px solid #65A2FF;
	padding: 4px;
	transition: all .3s;
}

.scroll-down-arrow svg {
    stroke: #F3EFE8;
}
.scroll-down-arrow:hover {
      background: #65A2FF;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(6px);
    }
    60% {
        transform: translateY(3px);
    }
}
/***SCROLL UP ARROW ***/

.scroll-up-arrow {
    background: transparent;
    border: 2px solid #65A2FF;
    padding: 4px;
    z-index: 9999;
    transition: all .3s ease;
}

.scroll-up-arrow:hover {
    background: #65A2FF;
}

footer a{
		color: #fff;
	text-decoration: none;
	transition: 0.5s;
}

footer a:hover{
	color: #fff;
}

.fw-500 {
	font-weight: 500;
}
.social-icons {
   display: flex;
	/*align-items: center;*/
}

.v-line .elementor-divider-separator {
  display: block !important;
  width: 1px !important;          /* thickness */
  height: 180px !important;       /* length — change to suit */
  max-height: none !important;
  border: none !important;        /* remove horizontal border */
  background-color: #fff !important; /* color */
  margin-left: auto !important;   /* PUSH LINE TO THE RIGHT */
  margin-right:10px !important;    /* center horizontally */
}


@media only screen and (max-width: 768px){
	footer {
		padding: 40px 10px;
	}
	
	footer p, footer a {
		
	}
	.p-bottom {
    padding-bottom: 4rem;
}
	
	.v-line .elementor-divider-separator {
  margin: 0 auto !important;  
		    height: 80px !important;
}
	
}	


