/*
Theme Name: La Cuba
Theme URI: https://lucatedesco.it
Author: Luca Tedesco
Author URI: https://lucatedesco.it
Description: Our fantastic base theme
Version: 1.0
Requires at least: 5.0
Tested up to: 5.4
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: tdstart
This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
*/

:root { 
  --primary-color: #3B393D; 
  --secondary-color: #B82928;
  --accent-color: #F75E47; 
  --grey-color: #EBEDEF; 
  --white-color: #fff; 
}

/* ! Reset */
body, html{ font-size: 16px; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif; box-sizing: border-box;margin: 0;padding: 0;}
*, *:after, *:before {-webkit-box-sizing: border-box;-moz-box-sizing: border-box;box-sizing: border-box;}
h1,h2,h3,h4,h5,h6, p, ol, ul{margin: 0;padding: 0;}
ol,ul{list-style-type: none;}
img{height: auto;}
a{text-decoration: none;}
hr{border:none; border-bottom: 1px solid var(--grey-color) }


/* Link color */
a { color: var(--secondary-color); }
a:focus, a:hover { color: var(--accent-color); text-decoration: none; }

p{line-height: 1.3}

.spacer{height: 150px;}


/* ! Title System */
.text-0{font-size: 5rem; line-height: 1;}
h1, .text-1{font-size: 3.4rem;}
h2, .text-2{font-size: 2.2rem;}
h3, .text-3{font-size: 1.5rem;}
h4, .text-4{font-size: 1.3rem;}
h5 {font-size: 1.2rem;}
h6, p {font-size: 1rem;}

h1, h2, h3, h4, h5, h6, p, ol, ul{margin-bottom: 1rem;}

@media (max-width: 768px) {
  .text-0{font-size: 4rem}
}

/* ! Button system */
/* ----------------------------------------------------------------------------------- */

.primary-button,
.wp-block-button__link{
  background: var(--secondary-color);
  color: var(--primary-color);
  font-weight: 400;
  text-decoration: none;
  letter-spacing: 2px;
  text-align: center;
  padding: 5px 26px;
  position: relative;
  overflow: hidden;
  display: inline-block;
  z-index: 1;
  transition: all 0.7s cubic-bezier(0.28, 0.44, 0.49, 1);}

.primary-button:after, .wp-block-button__link:after {
		content: '';
		position: absolute;
		bottom: 0;
		left: 0;
		width: 100%;
		height: 100%;
		background-color:var(--primary-color);
		z-index: -2;
}

.primary-button:before, .wp-block-button__link:before{
  content: ' '; 
  position: absolute;
  bottom: 0; 
  left: 0; 
  height: 100%; 
  width: calc(100% + 0.2rem); 
  background: var(--primary-color); 
  color: var(--white-color);
  z-index: -1;
  transform: translateX(-100%);
  transition: all 0.7s cubic-bezier(0.28, 0.44, 0.49, 1);
}

.primary-button:hover:before,.wp-block-button__link:hover:before{transform: translateX(0%);}
.primary-button:hover,.wp-block-button__link:hover{color:#fff!important;}

.secondary-button,
.s-button .wp-block-button__link{
  background: transparent;
  border: 2px solid var(--secondary-color);
  color: var(--secondary-color);
  border-radius: 0;
  font-weight: 400;
  text-decoration: none;
  letter-spacing: 2px;
  text-align: center;
  padding: 5px 26px;
  position: relative;
  overflow: hidden;
  display: inline-block;
  z-index: 1;
  transition: all 0.7s cubic-bezier(0.28, 0.44, 0.49, 1);}

.secondary-button:before, .s-button .wp-block-button__link:before{
  content: ' '; 
  position: absolute;
  bottom: 0; 
  left: 0; 
  height: 100%; 
  width: calc(100% + 0.2rem); 
  background: var(--secondary-color);
  color: var(--white-color);
  z-index: -1;
  transform: translateX(-100%);
  transition: all 0.7s cubic-bezier(0.28, 0.44, 0.49, 1);
}

.secondary-button:hover:before, .s-button .wp-block-button__link:hover:before{transform: translateX(0%);}
.secondary-button:hover,.s-button .wp-block-button__link:hover{color:#fff!important;}


.tertiary-button,
.t-button .wp-block-button__link{
  background: transparent;
  color: var(--secondary-color);
  font-weight: 400;
  padding: 5px 26px;
}

.tertiary-button a:before,
.t-button .wp-block-button__link a:before{
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background-color: var(--primary-color);
  transition: background-color .45s ease-in-out;
}
.tertiary-button a:after,
.t-button .wp-block-button__link a:after{
  content: url('../icons/chevron-forward-outline.svg');
  background: transparent;
  width: 20px;
  bottom: -3px;
  margin-left: 5px;
  position: relative;
  height: auto;
  display: inline-block;
  filter: invert(20%) sepia(9%) saturate(277%) hue-rotate(227deg) brightness(97%) contrast(90%);
}
.tertiary-button a:hover:before,
.t-button .wp-block-button__link a:hover:before{
    background-color: var(--secondary-color);
    -webkit-animation: button-line .45s ease-in-out;
    animation: button-line .45s ease-in-out;
}
@keyframes button-line {
  from {width: 0;}
  to {width: 100%;}
}

/* ! Header */
/*----------------------------------------------------------------------------------- */
.logged-in .header-container{top:30px}

.header-bg{
  position:fixed; height: 150px;width: 100%; left:0; top:0;z-index:999;
  transform: translateY(-100%);transition: all 1s cubic-bezier(.215, .61, .355, 1);
  background: rgb(255,255,255);
  background: linear-gradient(0deg, rgba(255,255,255,0) 0%, rgba(0,0,0,1) 70%, rgba(0,0,0,0.8981967787114846) 100%);
}

.header-container{
  position: fixed;
  background: transparent;
  top:0;
  left:0;
  z-index: 9999;
  width: 100%; 
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 1s cubic-bezier(.215, .61, .355, 1);
  color: var(--primary-color);
  background: rgb(0, 0, 0);
  background: -moz-linear-gradient(180deg, rgb(0, 0, 0) 10%, rgba(0, 0, 0, 0) 100%);
  background: -webkit-linear-gradient(180deg, rgb(0, 0, 0) 10%, rgba(0, 0, 0, 0) 100%);
  background: linear-gradient(180deg, rgb(0, 0, 0) 10%, rgba(0, 0, 0, 0) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#3b393d",endColorstr="#3b393d",GradientType=1);
}

.header-container--scroll{
  top:0; 
  padding-top:0.7rem; 
  padding-bottom:0.7rem;
  height: 6.5em;
  color: var(--primary-color);
  background: rgb(0, 0, 0);
  background: -moz-linear-gradient(180deg, rgb(0, 0, 0) 10%, rgba(0, 0, 0, 0) 100%);
  background: -webkit-linear-gradient(180deg, rgb(0, 0, 0) 10%, rgba(0, 0, 0, 0) 100%);
  background: linear-gradient(180deg, rgb(0, 0, 0) 10%, rgba(0, 0, 0, 0) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#3b393d",endColorstr="#3b393d",GradientType=1);
  /* backdrop-filter: blur(4px); */
  transition: all 1s cubic-bezier(.215, .61, .355, 1);
}



.header{
  display: flex; 
  justify-content: space-between;
  align-items: center;
  /* width: 100%;
  max-width: 1250px; */
  width: 96vw;
  margin: 0 auto;
  padding-bottom: 15px;
  top: 30px;
  position: fixed;
  z-index: 3;
  transition: all 1s cubic-bezier(.215, .61, .355, 1);
}

.header a{color:var(--white-color); display: block; font-size: 0.9rem;}
.header a:hover, .header a:focus, .header a:visited{color:var(--grey-color)}



.header__hamburger_block{display: flex;color: var(--white-color); width: 92px;height: 35px;}

.header__hamburger{display: block;width: 40px;height: 35px; margin-top: 0px;margin-right: 7px;z-index: 99999;}
.header__hamburger span{width: 33px;height: 2px;background: var(--white-color);margin-top: 8px;display: block;transition: all 0.15s cubic-bezier(.215, .61, .355, 1);}
.header__hamburger span:nth-child(2){width: 20px;}

.header__hamburger:hover span {width: 20px;}
.header__hamburger:hover span:nth-child(2){width: 33px;}

.menu-open .header__hamburger span:nth-child(1){transform: translateY(5px) rotate(45deg);}
.menu-open .header__hamburger span:nth-child(2){transform: translateY(-5px) rotate(-45deg);width: 33px}
.menu-open .header__hamburger span:nth-child(3){display: none;}
.menu-open .header__hamburger {height: 29px;}
.menu-open .header__hamburger:hover span {width: 33px;}

.header__hamburger__text_open {display: flex; align-items: center;}
.menu-open .header__hamburger__text_open {display: none;}

.header__hamburger__text_close {display: none;}
.menu-open .header__hamburger__text_close {display: flex; align-items: center;}


.menu-open .header-container{height: 100vh;background: var(--primary-color);}
.menu-open{overflow:hidden;}




.menu-open #nav-menu {  
  align-items: center;
  display: flex;
  height: 100vh;
  width: 100vw;
}
#nav-menu ul{list-style-type: none;}


#nav-menu a{color:var(--white-color);}


#nav-menu-items {
  margin-left: clamp(4rem, 20vw, 48rem);
  position: relative;
  z-index: 2;
}


#nav-menu[data-active-index="0"] > #nav-menu-background-image {
  background-position: center 45%;
}
#nav-menu[data-active-index="1"] > #nav-menu-background-image {
  background-position: center 50%;
}
#nav-menu[data-active-index="2"] > #nav-menu-background-image {
  background-position: center 55%;
}
#nav-menu[data-active-index="3"] > #nav-menu-background-image {
  background-position: center 60%;
}
#nav-menu[data-active-index="4"] > #nav-menu-background-image {
  background-position: center 65%;
}
#nav-menu[data-active-index="5"] > #nav-menu-background-image {
    background-position: center 70%;
  }

:root{--s: 60px; /* control the size */
  
  --_g: #0000 83%,#b09f79 85% 99%,#0000 101%;}



#nav-menu-background-image {
  background-image: url("https://www.lacuba.it/wp-content/uploads/2025/04/IMG_3680-scaled.jpg");
  background-position: center 40%;
  background-size: 110vmax;
  height: 100%;
  left: 0px;  
  opacity: 0.15;
  position: absolute;
  top: 0px;
  transition: opacity 800ms ease,
    background-size 800ms ease,
    background-position 800ms ease;
  width: 100%;
  z-index: 0;
}

#nav-menu-items:hover ~ #nav-menu-background-pattern {
  background-size: 11vmin 11vmin;
  opacity: 0.5;
}

#nav-menu-items:hover ~ #nav-menu-background-image {
  background-size: 100vmax;
  opacity: 0.1;
}

.nav-menu-item:hover > .menu-item a {
  opacity: 0.3;
}

.nav-menu-item:hover > .menu-item a:hover {
  opacity: 1; 
}

.nav-menu-item {
  cursor: pointer;
  display: block;
  font-family: 'Libre Bodoni', serif;
  font-size: clamp(3rem, 4vw, 8rem);
  padding: clamp(0.25rem, 0.5vw, 1rem) 0rem;
  text-decoration: none;
  transition: opacity 400ms ease;
}


.menu-open .header__menu{
  margin-bottom: 0;
  width: 100%;
  display: flex;
  justify-content: flex-end;
}

.menu-open .header__menu li{display: inline-block;position: relative;}
.menu-open .header__menu li a{position: relative;}

.menu-open .header__menu > li.menu-item-has-children{margin-right: 15px;}

.menu-open .header__menu > li.menu-item-has-children > a:before{
  content: " ";
  width: 14px;height: 11px;
  position: absolute;
  top:50%; 
  transform: translateY(-50%);
  right:-18px;
  background-size: 100%;
  filter: invert();
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'%3E%3Ctitle%3EChevron Down%3C/title%3E%3Cpath fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='48' d='M112 184l144 144 144-144'/%3E%3C/svg%3E");
}

.menu-open .header__menu li ul{position: absolute;left:0; 
  min-width: 270px;
  padding: 10px 10px;
  background: var(--primary-color);
  display: none; visibility: hidden;box-shadow: 0 10px 10px rgba(0,0,0,.09);}
.menu-open .header__menu li ul li{width: 100%;}
.menu-open .header__menu li:hover > ul{display: block;visibility: visible;}





.menu-open .header__menu li{display: inline-block;padding: 8px;}

.header a .header__logo{font-weight: bold;padding: 0;}
.header__logo {
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  position: fixed;
  display: block;
  margin: 0 auto;
  transition: all 1s cubic-bezier(.215, .61, .355, 1);
}
.header__logo img{height: 90px;margin: 5px; transition: all 0.5s cubic-bezier(.215, .61, .355, 1);}

.header-container--scroll .header__logo {
  /* width: 67px; */
  height: 60px;
  top: 5px;
  overflow: hidden;
}
.header-container--scroll .header__logo img{height: 80px;margin: 5px;}



.header__icons {
  width: 20%;
  text-align: right;
  display: flex;
  flex-direction: row;
  align-items: center;
  column-gap: 1rem;
  justify-content: flex-end;
}
.header__icons .button, .footer .button{width: 150px;text-align: center;}

#nav-menu{display: none;}

@media (min-width: 768px) {
  .scroll-down .header-container{padding: 1%;}
  
}



@media (max-width: 768px) {
  .header-container {height: 150px;overflow: hidden; transition: all 1s cubic-bezier(.215, .61, .355, 1);}
  .header {position: absolute;top: 10px;;height: 48px;width: 96vw; padding-bottom:0;}

  .header__logo img{height: 80px;}
  
  .header__hamburger{display: block;width: 40px;height: 40px; margin-top: 0px;margin-right: 4px;z-index: 99999;}
  .header__hamburger span{width: 33px;height: 2px;background: var(--white-color);margin-top: 8px;display: block;transition: all 0.15s cubic-bezier(.215, .61, .355, 1);}
  
  .menu-open .header__hamburger span:nth-child(1){transform: translateY(5px) rotate(45deg);}
  .menu-open .header__hamburger span:nth-child(2){transform: translateY(-5px) rotate(-45deg);}

  .menu-open .header-container{height: 100vh;background: var(--primary-color); z-index: 11;}
  .menu-open{overflow:hidden;}

  .header-container--scroll{height: 65px;}

  .header-container--scroll .header .header__logo a {padding: 0;}
  .header__logo{top: 50px;}
  .header__hamburger__text_open, .menu-open .header__hamburger__text_close, .bottom-icon-right{display: none;}
  
  .menu-open .header__icons{display: flex;flex-direction: row-reverse;width: 45px;right: 50px;position: absolute;}
  .menu-open .search-button {top: 0;right: 0;}
  .menu-open .header__icons .button{display: none;}

}

/* ! Index */
/*----------------------------------------------------------------------------------- */
/* ! - Paginations */
.td-pagination{
  margin-bottom: 3rem;
  margin-top: 3rem;
  text-align: center;
}

.td-pagination a.page-numbers:not(.next):not(.prev) {
  box-sizing: content-box;
  margin: 0 5px;
}

.td-pagination a.prev,.td-pagination a.next,
.td-pagination a.page-numbers:not(.next):not(.prev){
  background-color: var(--secondary-color);
  border: 2px solid transparent;
  border-radius: 30px;
  color: var(--white-color);
  cursor: pointer;
  display: inline-block;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.1;
  max-width: 100%;
  padding: 15px 33px;
  text-decoration: none;
  text-transform: none;
  transition: all .12s linear;
  width: -moz-fit-content;
  width: fit-content;
}

.td-pagination a.next,.td-pagination a.prev{
  background-color: transparent;
  border-color: var(--secondary-color);
  color: var(--secondary-color);
}

.td-pagination a.next:hover, .td-pagination a.prev:hover{
  background-color: var(--secondary-color);
  border-color: var(--secondary-color);
  color: var(--white-color);
}

.td-pagination a.page-numbers:not(.next):not(.prev) {
  background-color: transparent;
  border-color: var(--grey-color);
  color: inherit;
}


.td-pagination a.page-numbers:not(.next):not(.prev), 
.td-pagination span.current {
  display: inline-block;
  border-radius: 100px;
  height: 50px;
  line-height: 50px;
  padding: 0;
  text-align: center;
  width: 50px;
}
.td-pagination span.current {
  background-color: var(--grey-color);
  position: relative;
}


.td-pagination a.page-numbers:hover:not(.next):not(.prev){
  background-color: var(--secondary-color);
  border-color: var(--secondary-color);
  color:  var(--white-color);
}



/* ! - Breadcrumbs */
#crumbs,
#crumbs a{color:var(--grey-color);}
#crumbs a:hover{color:var(--white-color);}
#crumbs span{color:var(--grey-color)}


/* ! - Blockquote */
blockquote {
  font-size: 1.5rem;
  width: 95%;
  margin: 30px auto;
  font-family: Open Sans;
  font-style: italic;
  color: var(--primary-color);
  padding: 1.2em 30px 1.2em 75px;
  border-bottom: 3px solid var(--secondary-color);
  line-height: 1.6;
  position: relative;
  /* background: #eff0f9; */
  border-top: 3px solid var(--secondary-color);
}

blockquote::before{
  font-family:Arial;
  content: "\201C";
  color:var(--secondary-color);
  font-size:4em;
  position: absolute;
  left: 10px;
  top:-10px;
}

blockquote::after{
  content: '';
}

blockquote span{
  display:block;
  color:var(--secondary-color);
  font-style: normal;
  font-weight: bold;
  margin-top:1em;
}

@media (max-width: 768px) {
  blockquote {
    width: 100%;
    padding: 1.2em 0px 1.2em 40px;
  }
  blockquote::before {
    left: -5px;
    top: -23px;
  }
}

/* --------------------------------------------------------------------------------------------------------------------------- */
/* ! Contact Form */
/* --------------------------------------------------------------------------------------------------------------------------- */

.title-form {
    margin-bottom: 10px;
    font-size: 18px;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--white-color);
}


.wpcf7 form.sent .wpcf7-response-output {
    color: var(--white-color);
}


/* --------------------------------------------------------------------------------------------------------------------------- */
/* ! Mappa responsive */
/* --------------------------------------------------------------------------------------------------------------------------- */


@media (max-width: 768px) {
  .mappa-responsive {
  overflow:hidden;
  padding-bottom:65.25%;
  position:relative;
  height:0;
  }
  .mappa-responsive iframe {
  left:0;
  top:0;
  height:100%;
  width:100%;
  position:absolute;
  }
}





/* ! Single */
/*----------------------------------------------------------------------------------- */


/* ! -- Author Info */
/* --------------------------------------------------------- */

#author-info {position: relative;} 
.author-block{display:flex;}
#author-avatar img{ height: 120px;width: 120px;} 

@media (max-width: 768px) {
  .author-block {flex-direction: column;}
}


/* ! -- Social Share buttons */
/* --------------------------------------------------------- */

.social-box {
  display: block;
  margin: 20px 0 40px;
  padding: 0 0 0;
}

.social-box:last-of-type {
  margin: 0 0 40px;
}

.social-btn {
  display: block;
  width: 100%;
}

a.col-2.sbtn span {
  display: none;
}

a.col-1.sbtn {
  max-width: 140px;
  display: inline-block;
  text-align: center;
  border-radius: 50px;
  padding: 10px;
  color: #fff;
  margin: 0 1% 0 0;
  font-size: 16px;
}

a.col-1.sbtn span {
  margin: 0 0 0 15px;
}

a.col-2.sbtn {
  width: 6%;
  display: inline-block;
  text-align: center;
  border-radius: 50px;
  padding: 10px;
  color: var(--white-color);
  margin: 0 0.5% 0 0;
  line-height: 1.825 !important;
  max-width: 50px;
  min-width: 50px;
}


.s-twitter::before {content: url('./icons/logo-twitter.svg');width: 35px; display: block;filter: invert(16%) sepia(92%) saturate(2283%) hue-rotate(191deg) brightness(100%) contrast(101%);}
.s-twitter:hover{filter: brightness(0) saturate(100%) invert(9%) sepia(32%) saturate(1993%) hue-rotate(175deg) brightness(89%) contrast(95%);}

.s-facebook::before {content: url('./icons/logo-facebook.svg');width: 35px; display: block;filter: invert(16%) sepia(92%) saturate(2283%) hue-rotate(191deg) brightness(100%) contrast(101%);}
.s-facebook:hover{filter: brightness(0) saturate(100%) invert(9%) sepia(32%) saturate(1993%) hue-rotate(175deg) brightness(89%) contrast(95%);}

.s-whatsapp::before {content: url('./icons/logo-whatsapp.svg'); width: 35px; display: block;filter: invert(16%) sepia(92%) saturate(2283%) hue-rotate(191deg) brightness(100%) contrast(101%);}
.s-whatsapp:hover{filter: brightness(0) saturate(100%) invert(9%) sepia(32%) saturate(1993%) hue-rotate(175deg) brightness(89%) contrast(95%);}

.s-linkedin::before {content: url('./icons/logo-linkedin.svg');width: 35px; display: block;filter: invert(16%) sepia(92%) saturate(2283%) hue-rotate(191deg) brightness(100%) contrast(101%);}
.s-linkedin:hover{filter: brightness(0) saturate(100%) invert(9%) sepia(32%) saturate(1993%) hue-rotate(175deg) brightness(89%) contrast(95%);}

.social-btn a:last-of-type { margin: 0;}


@media only screen and (max-width: 1200px) {
  a.col-1.sbtn {
      width: 50px;
      display: inline-block;
      text-align: center;
      border-radius: 50px;
      padding: 10px;
      color: var(--white-color);
      font-size: 15px;
  }
}

@media only screen and (max-width: 768px) {
  a.col-1.sbtn {
      width: 46px;
      margin: 0 4.5% 0 0;
  }

  a.col-1.sbtn span {
      display: none;
  }
}



/* -- Related Post
-------------------------------------------------------- */
/* .related-posts-list {flex-direction: row; display: flex; list-style: none;margin-top: 20px;padding-left: 0px;} */
.related-posts ul{
  list-style: none;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  width: 100%;
  height: auto;
  margin: 30px 0 !important;
  padding: 0 !important;
}
.related-posts-list li{width: 30%;margin: 10px;height: auto;}
.related-posts-list h4{ font-size: 20px; margin-top: 10px; margin-left: 5px;}
.related-posts-list li img {
  -webkit-transition: all 0.35s ease;
  transition: all 0.35s ease;
  max-width: 100%;
  height: auto;
}
/* .related-posts-list h4:hover{ color:#0fcbc0;} */

@media (max-width: 768px) {
  .related-posts-list li {
    width: 100%;
    margin: 0;
    padding-left: 0;
    height: auto;
    margin-bottom: 15px;
  }
  .related-posts-list li img {
    margin-bottom: 0px;
    width: 100%;
    height: auto;
  }
  .related-posts-list h4 {
    font-size: 18px;
    margin-top: 3px;
    margin-left: 5px;
  }
}






/* ! Footer */
/*----------------------------------------------------------------------------------- */
.footer{
  color:var(--white-color);
  background: var(--primary-color);
  position: relative;
}



/* ! ScrollTop */

.scroll-top {
    position: fixed;
    border-radius: 5rem;
    bottom: 0;
    right: 20px;
    z-index: 500;
    opacity: 0;
    visibility: hidden;
    -webkit-transition: all 0.75s;
    -moz-transition: all 0.75s;
    -ms-transition: all 0.75s;
    -o-transition: all 0.75s;
    transition: all 0.75s;
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--secondary-color);
}

.scroll-top img {
    height: 28px;
    width: auto;
    filter: invert(1);
}

.scroll-top-visible {
    bottom: 20px !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.scroll--hide{display: none;}

/* ! Grid System */
/*----------------------------------------------------------------------------------- */
.grid{display: flex; flex-wrap: wrap;
  max-width: 96vw; 
  margin: 0 auto}
.grid--small{max-width: 900px}
.grid--center{justify-content: center;}
.grid--full{max-width: 100%}

.col-20{width:20%}
.col-25{width:25%}
.col-30{width:30%}
.col-33{width:33.33%}
.col-40{width:40%}
.col-50{width:50%}
.col-60{width:60%}
.col-70{width:70%}
.col-80{width:80%}
.col-90{width:90%}
.col-100{width:100%}

[class*='col-']{padding:0 20px;}

.grid--full [class*='col-'],
.grid .grid [class*='col-'] {padding: 0;}


@media (max-width: 768px) {
  [class*='col-']{width: 100%}
  .sma-33{width: 33.33%}
  .sma-50{width: 50%}
  .sma-25{width: 25%}
}


/* ! Helpers */
/*----------------------------------------------------------------------------------- */
.b-w{background: var(--white-color);}
.br{border: 1px solid red;}
.zindex-top{
  z-index: 7;
  position: relative;
}
.img-res{width: 100%;}
.video-res{width: 100%;height: 100%;overflow: hidden;}
.video-res video{width: 100%;height: 100%;object-fit: cover}

.mt-0{margin-top: 0;}
.mt-1{margin-top: 1rem;}
.mt-2{margin-top: 2rem;}
.mt-3{margin-top: 3rem;}
.mt-4{margin-top: 4rem;}

.nmt-1{margin-top: -1rem;}
.nmt-2{margin-top: -2rem;}
.nmt-3{margin-top: -3rem;}
.nmt-4{margin-top: -4rem;}

.mb-0{margin-bottom: 0;}
.mb-1{margin-bottom: 1rem;}
.mb-2{margin-bottom: 2rem;}
.mb-3{margin-bottom: 3rem;}
.mb-4{margin-bottom: 4rem;}

.text-center{text-align: center}
.text-left{text-align: left}
.text-right{text-align: right}

.p-0{padding: 0;}
.p-1{padding: 1rem;}
.p-2{padding: 2rem;}
.p-3{padding: 3rem;}
.p-4{padding: 4rem;}

.pt-0{padding-top: 0;}
.pt-1{padding-top: 1rem;}
.pt-2{padding-top: 2rem;}
.pt-3{padding-top: 3rem;}
.pt-4{padding-top: 4rem;}

.pb-0{padding-bottom: 0;}
.pb-1{padding-bottom: 1rem;}
.pb-2{padding-bottom: 2rem;}
.pb-3{padding-bottom: 3rem;}
.pb-4{padding-bottom: 4rem;}

.pl-0{padding-left: 0;}
.pl-1{padding-left: 1rem;}
.pl-2{padding-left: 2rem;}
.pl-3{padding-left: 3rem;}
.pl-4{padding-left: 4rem;}

.pr-0{padding-right: 0;}
.pr-1{padding-right: 1rem;}
.pr-2{padding-right: 2rem;}
.pr-3{padding-right: 3rem;}
.pr-4{padding-right: 4rem;}


.icon-small{width: 40px;padding: 8px;}
.icon-white{filter: invert(1);}
.bg-dark{background: #000;}
.text-white{color:#fff}
.text-dark{color:#000}
.v-center{display: flex; justify-content: center; flex-flow: column;align-items: flex-start;}

.font-normal{font-weight: 400;}

.none{display: none;}
@media (max-width: 768px) {
  .sma-none{display: none;}
}

@media (min-width: 768px) {
  .desktop-none{display: none;}
}

/* ! Wordpress Styles */
/*----------------------------------------------------------------------------------- */
input[type='text'],
input[type='email'],
input[type='number'],
input[type='search'],
input[type='tel'],
input[type='url'],
input[type='password']{
    width: 98%;
    height: 55px;
    margin-right: 10px;
    padding: 10px;
    border: 1px solid var(--grey-color);
    background: white;
    -webkit-appearance: none;
    border-radius: 0;
    font-size: 16px;
    color: #000;
}
select{
  width: 98%;
  height: 55px;
  margin-right: 10px;
  padding: 10px;
  border: 1px solid var(--secondary-color);
  border-radius: 0;
  font-size: 16px;
  background: white;
  color: #fff;
}
input, textarea {
  padding: 10px;
  width: 98%;
  border: 1px solid #e2eef0;
  background: white;
  border-radius: 0;
  font-size: 16px;
  color: #000;
}
input[type=text]:focus,
input[type='email']:focus,
input[type='number']:focus,
input[type='search']:focus,
input[type='tel']:focus,
input[type='url']:focus,
input[type='password']:focus,
textarea:focus {
  border: 3px solid var(--secondary-color);
}
input[type=submit], button{
  border: 3px solid #ddd; 
  background: #ddd; 
  border-radius: 3px;
  padding: 10px;
}
input[type=submit]:hover {
  background: #00c6ba;
  color: #fff;}

.form-search{position:relative; width: 100%;border-radius: 100px; padding-left: 15px;}
.form-search input{
  /* width: calc(100% - 40px); border:none; */
  width: 100%;
  border: 3px solid var(--grey-color);
  background: #fff;
  font-size: 22px;
  padding: 0px 50px;
  border-radius: 50px;
  margin: 0 auto;
  cursor: text!important;
  height: 75px;
}


.form-search button{
  position: absolute;
  top: 0;
  height: 65px;
  right: 0;
  border-radius: 50px;
  padding: 0px 50px;
  margin: 5px 8px 5px 0;
  border: 0px;
  font-size: 20px;
  background-color: var(--primary-color);
  color: #fff;
  cursor: pointer;
}
.form-search img{width: 25px;margin-bottom: -8px;filter: invert(1);}

.form-search *:focus {
  outline: none;
}

@media (max-width: 768px) {
  .form-search input {padding: 30px 20px;font-size: 20px;}
  .form-search button {padding: 0 20px;}
}

.alignfull{width: 100vw;margin-left: calc(50% - 50vw);}
.alignwide{width: 90vw;margin-left: calc(50% - 45vw);}

/* ! -- Comments
-------------------------------------------------------- */
.comment-form-author,
.comment-form-email,
.comment-form-url{float:left;margin-top:0;margin-right:0;width:100%}

.comment-form-author input,
.comment-form-email input,
.comment-form-url input{width:100%}
.comment-form-url{display:none}

ol.commentlist{margin:0 0 1em;padding:0;list-style:none;text-indent:0}
ol.commentlist li.comment{padding:1em;border-top:1px solid #eee}
ol.commentlist li.comment div.vcard cite.fn{text-transform:uppercase;font-size:14px}
ol.commentlist li.comment div.vcard img.avatar{float:left;margin:6px 1em 1em 0;border-radius:50px}
ol.commentlist li.comment div.comment-meta{font-size:12px}
ol.commentlist li.comment ul{margin:0 0 1em 2em}
ol.commentlist li.comment div.reply{margin-left:80px;font-size:11px}
ol.commentlist li.comment div.reply a{font-weight:700}
ol.commentlist li.comment ul.children{margin:1em 0 0;list-style:none;text-indent:0}
ol.commentlist li.comment ul.children li.depth-2{margin:0 0 .25em .25em;border-left:1px solid #eee}
ol.commentlist li.comment ul.children li.depth-3{margin:0 0 .25em .25em;border-left:1px solid #eee}
ol.commentlist li.comment ul.children li.depth-4{margin:0 0 .25em .25em;border-left:1px solid #eee}
ol.commentlist li.even{margin:1em 0;
  /* background:#fff;
  -webkit-box-shadow: 3px 8px 28px rgb(11 32 52 / 15%);
  box-shadow: 3px 8px 28px rgb(11 32 52 / 15%); */
}
/* ol.commentlist li.odd{} */
ol.commentlist li.parent{border-left:1px solid #eee}
ol.commentlist li.bypostauthor .fn{font-weight:700}
ol.commentlist li img{max-width:97%}

#comments{width:100%;margin-bottom: 40px;}
.comments{padding-top: 40px;}
.comments textarea{width: 100%;}
.comments label{ min-width: 80px;}
.comments ul,.comments ol{list-style-type: none;}
.comment-author img{border-radius: 999px; width:50px;height: 50px;}
.comment .reply{border-bottom:  1px solid #ccc; margin-bottom: 30px;padding-bottom: 10px;}
.comment-form-cookies-consent input{float:left;margin-top:5px;margin-right:10px;margin-bottom:-9px;width: auto;}
.comment-respond{margin:30px 0 80px 0;}

@media(max-width:767px){
  .comment-form-author,.comment-form-email,.comment-form-url{width:100%;margin:0;}
}


