/*
Theme Name: Il Tempio Natural Movement
Theme URI: https://odwebsites.it/ 
Author: ODWebsites
Author URI: https://www.odwebsites.it/web-designer-freelance-bergamo
Description: Tema custom dinamico
Version: 1.0
Text domain: tnm
*/

@font-face {
  font-family: Manrope-Regular;
  src: url(fonts/Manrope-Regular.ttf);
  font-weight: normal;
  font-display: swap;
}

@font-face {
  font-family: Raleway-Regular;
  src: url(fonts/Raleway-Regular.ttf);
  font-weight: normal;
  font-display: swap;
}

@font-face {
  font-family: Raleway-Light;
  src: url(fonts/Raleway-Light.ttf);
  font-weight: normal;
  font-display: swap;
}

/* I - Momentanei */
.d-parallax h1 {
  font-size: 2rem !important;
  font-weight: bold;
}
/* F - Momentanei */
/*I - Variabili */
:root {
  --primary: #2fc4b2;
  --dark-primary: #27a697;
  --grey: #6d6c6a;
  --light-grey: #f3f3f3;
  --text: #777;
  --refrigerazione: #39a0ed;
  --condizionamento: #38a700;
  --elettrici: #e33132;

  --fs-titolo-xl: 3.5rem;
  --fs-titolo: 2.5rem;
  --bs-body-font-size: 0.9rem;
}

/*F - Variabili */

/*I - override Bootstrap */

.navbar {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.navbar-nav .nav-link {
  width: fit-content;
  font-family: Montserrat-Regular, sans-serif;
  font-weight: 600;
  transition: 0.3s;
}

.navbar-nav .nav-link:hover,
.active {
  color: #289c8e !important;
}

.nav-link:not(.active) {
  margin-bottom: 3px;
}

.active::after {
  animation-name: activeGrow;
  animation-delay: 0.5s;
  animation-duration: 0.6s;
  animation-fill-mode: forwards;
  content: "";
  position: relative;
  display: block;
  width: 0;
  height: 3px;
  background-color: var(--primary);
}

.navbar-brand {
  width: 10%;
}

ul:not(.custom-content ul) {
  list-style-type: none;
  padding: 0 !important;
}

/* .navbar-brand img {
  max-width: 60%;
} */

#navbarNav {
  justify-content: space-between;
}

.dropdown-item:focus,
.dropdown-item:hover {
  background-color: var(--primary) !important;
}

button {
  border: none;
  background-color: transparent;
}

/*F - override Bootstrap*/

::selection {
  background-color: var(--primary);
  color: #fff;
}

* {
  margin: 0;
  padding: 0;
}

a:not(.d-c-primary, .link, .d-cta) {
  color: inherit !important ;
  text-decoration: none !important;
}

a:hover {
  color: inherit;
  text-decoration: none;
}

html {
  scroll-behavior: smooth;
  font-size: 1.3rem;
}

body {
  font-family: Manrope-Regular, sans-serif !important;
  font-size: 0.9rem;
  animation-name: d-fade;
  animation-duration: 0.2s;
}

p {
  color: var(--text);
  line-height: 1.25 !important;
}

/* I - Font */

.ff-primary {
  font-family: Raleway-Regular, sans-serif !important;
}

.ff-secondary {
  font-family: Manrope-Regular, sans-serif !important;
}

.ff-primary-light {
  font-family: Raleway-Light, sans-serif !important;
}

.titolo-xl {
  font-size: var(--fs-titolo-xl);
  text-align: center;
}
.titolo {
  font-size: var(--fs-titolo);
  text-align: center;
}

.fs-small {
  font-size: 0.8rem !important;
}

.fs-upper {
  text-transform: uppercase;
}

/* F - Font */
/* I - custom class */

.min-height-full {
  min-height: 100vh;
}

.min-height-80 {
  min-height: 80vh;
}

.min-height-90 {
  min-height: 90vh;
}

.min-height-40 {
  min-height: 40vh;
}

.bg-cover-center {
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.clickable:hover {
  cursor: pointer;
}

.link,
.d-content a {
  color: var(--primary) !important;

  font-weight: bold;
}

.link:hover,
.d-content a:hover {
  cursor: pointer;
  text-decoration: underline !important;
}

.d-c-white {
  color: #ffffff !important;
}

.d-c-black {
  color: var(--bs-body-color) !important;
}

.d-c-grey {
  color: var(--grey) !important;
}

.d-c-primary {
  color: var(--primary);
}

.d-cta {
  display: block;
  padding: 10px 20px 10px 20px;
  background-color: var(--primary);
  color: #fff !important;
  border-radius: 10px;
  border: 2px solid #fff;
  font-weight: 600;
  font-family: "Montserrat", sans-serif;
  text-decoration: none;
}

.d-cta-inv {
  display: block;
  padding: 10px 20px 10px 20px;
  background-color: #fff;
  color: var(--primary) !important;
  font-weight: 600;
  font-family: "Montserrat", sans-serif;
  border: 2px solid #fff;
}

.d-cta:hover {
  transition: 0.5s;
  transform: scale(1.03);
  cursor: pointer;
  background-color: #fff !important;
  border: 2px solid var(--primary);
  color: var(--primary) !important;
}
.d-cta-inv:hover {
  transition: 0.5s;
  transform: scale(1.03);
  cursor: pointer;
  background-color: var(--viola);
  color: #fff !important;
}

.d-bg-black {
  background-color: #000000;
}

.d-bg-primary {
  background-color: var(--primary) !important;
}

.d-bg-dark-primary {
  background-color: var(--dark-primary) !important;
}

.d-bg-secondary {
  background-color: var(--secondary) !important;
}

.d-bg-light-grey {
  background-color: var(--light-grey) !important;
}

.img-50 {
  max-width: 50%;
  margin-left: 25%;
  height: auto;
}

.img-75 {
  max-width: 75%;
  margin-left: 12.5%;
  height: auto;
  position: relative;
}

.w-15 {
  width: 15%;
}
.w-48 {
  width: 48%;
}

.w-75 {
  width: 75%;
}

.z-100 {
  z-index: 100 !important;
}

.hover-bigger:hover {
  transition: 0.6s;
  transform: scale(1.03) !important;
  cursor: pointer;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.overlay-linear {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgb(0, 0, 0);
  background: linear-gradient(
    0deg,
    rgba(0, 0, 0, 1) 0%,
    rgba(255, 255, 255, 0) 100%
  );
}

.d-fit-content {
  width: -moz-fit-content !important;
  width: fit-content !important;
}

.d-parallax {
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

@supports not (background-attachment: fixed) {
  .d-parallax {
    background-attachment: scroll !important;
  }
}

/* F - custom class */
/* I - effetti */

/* @keyframes activeGrow {
  from {
    width: 0;
  }
  to {
    width: 100%;
  }
} */

/* F - effetti */
/* I - header */

.cont-logo {
  width: 12% !important;
}

.copertina {
  min-height: 10vh;
}

.nav-link {
  display: flex !important;
  align-items: center;
  font-family: Raleway-Regular, sans-serif !important;
}

p.fs-3,
.stili-yoga p,
.card-blog p,
h1 {
  font-family: Raleway-Regular, sans-serif !important;
}
/* F - header */
/* I - generale */
.d-hero p {
  margin-bottom: 0.25rem !important;
  font-size: 1rem;
}
/* F - generale */

/* I - front page */

.slide-1 {
  background-position-x: 39%;
  background-position-y: 27%;
}

.slide-2 {
  background-position-x: 40%;
  background-position-y: 52%;
}

.ing-yang {
  background-position: center bottom;
  background-repeat: no-repeat;
  width: 100%;
}

.ing-yang p,
.ing-yang h1,
.ing-yang h2,
.ing-yang h3 {
  margin-bottom: 1.7rem !important;
}

#frontCarosello .carousel-item,
#frontCarosello .carousel-item .carousel-content {
  min-height: 70vh;
}

.carousel-item p {
  font-weight: 400;
  font-size: 2rem;
  line-height: 1;
  color: #fff;
  text-transform: uppercase;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.75);
  padding-bottom: 20px;
}

.hover-zoom {
  -webkit-transition: all 1s ease;
  -moz-transition: all 1s ease;
  -o-transition: all 1s ease;
  -ms-transition: all 1s ease;
  transition: all 1s ease;
}

.hover-zoom:hover {
  -webkit-filter: none;
  filter: none;
  -webkit-transform: scale(1.09, 1.09);
  transform: scale(1.09, 1.09);
}

.stili-yoga:hover .position-relative,
.card-blog:hover .position-relative,
.card-blog:hover .d-card-img {
  border-color: var(--primary);
}

.stili-yoga .position-relative,
.card-blog .d-card-img,
.blog .position-relative {
  transition: all 1s ease;
  border: 2px solid transparent;
  border-radius: 1rem !important;
}

.stili-yoga .position-relative {
  border-radius: 1rem !important;
}

/* F - front page */
/* I - Orari e abbonamenti */
.page-id-40 hr {
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}
/* F - Orari e abbonamenti */
/* I - Blog */
.d-card-img {
  min-height: 250px;
  width: 100%;
}

.current {
  font-weight: bold;
  color: var(--primary);
}

.page-numbers:hover {
  color: var(--primary) !important;
  text-decoration: underline !important;
}
/* F - Blog */
/* I - Affitto sale */

.special-border {
  border-bottom: 1px solid #339eae;
  position: relative;
  padding: 20px 0px;
}

.special-border:after {
  content: "";
  width: 20px;
  height: 20px;
  border-right: 1px solid #339eae;
  border-bottom: 1px solid #339eae;
  background: #339eae;
  position: absolute;
  bottom: -11px;
  left: calc(50% - 10px);
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
}
/* F - Affitto sale */
/* I - Libro */
.volume-control {
  position: absolute;
  bottom: 40px;
  right: 40px;
  z-index: 2;
  width: 50px;
  height: 50px;
  color: #fff;
}

.volume-control:hover {
  cursor: pointer;
}
/* F - Libro */
/* I - Single  */
.single-copertina {
  min-height: 60vh;
}

.d-content {
  color: var(--text);
  line-height: 1.25 !important;
  font-size: var(--bs-body-font-size) !important;
}

.d-content h1,
.d-content h2,
.d-content h3,
.d-content h4,
.d-content h5 .d-content h6,
.d-content strong {
  color: #000;
}
/* F - Single  */

/* I -  category */

/* F -  category */

/* I - popup */

#popup .modal-content {
  background-color: #fff;
}

.modal-dialog {
  top: 5%;
  background-color: #fff;
}

#popup .modal-content {
  background: rgb(47, 196, 178);
  background: linear-gradient(
    0deg,
    rgba(47, 196, 178, 0.37) 0%,
    rgba(47, 196, 178, 0.28) 50%,
    rgba(47, 196, 178, 0) 100%
  );
}

#popup .d-cta {
  border-color: var(--primary);
}

.circle-sm {
  width: 100px;
  height: 100px;
  background-color: #2fc4b280;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.circle-md {
  width: 150px;
  height: 150px;
  background-color: #2fc4b240;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.circle-lg {
  width: 200px;
  height: 200px;
  background-color: #2fc4b220;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.circle-sm img {
  height: 70%;
}
/* F - popup */
/* I - footer */

footer {
  background-color: #1c3144;
}

.footer-menu a:hover {
  transition: 0.2s;
  margin-left: 7px;
}

footer .nav-link {
  color: #fff !important;
}

footer .dropdown-item {
  color: var(--primary) !important;
}

footer .dropdown-item {
  padding-right: 0.5rem !important;
  padding-left: 0.5rem !important;
}

.cont-wa {
  position: fixed;
  z-index: 100;
  bottom: 30px;
  right: 30px;
}

.btn-wa {
  background-color: #43c354;

  height: 50px;
  width: 50px;
}

/* F - footer */
/* I - Contact form */
.wpcf7-captchar,
.wpcf7-form .wpcf7-date,
.wpcf7-form .wpcf7-number,
.wpcf7-form .wpcf7-quiz,
.wpcf7-form .wpcf7-select,
.wpcf7-form .wpcf7-text,
.wpcf7-form .wpcf7-datepicker {
  border-radius: 0.25rem;
  border: 1px solid #d2d2d2;
  color: var(--text);
  width: 100%;
  padding: 8px 15px;
}

.wpcf7-form label {
  width: 100%;
}

.wpcf7-submit {
  display: block;
  padding: 10px 20px 10px 20px;
  background-color: var(--primary);
  color: #fff !important;
  border-radius: 10px;
  border: 2px solid #fff;
  font-weight: 600;
  font-family: "Montserrat", sans-serif;
  text-decoration: none;
}

.wpcf7-submit:hover {
  transition: 0.5s;
  transform: scale(1.03);
  cursor: pointer;
  background-color: #fff !important;
  border: 2px solid var(--primary);
  color: var(--primary) !important;
}

/* F - Contact form */
/* I - admin */

/* F - admin */

/* I - Responsive */

/* I - XS */
@media (min-width: 100px) and (max-width: 575.5px) {
  :root {
    --fs-titolo-xl: 2rem;
    --fs-titolo: 1.5rem;
  }

  .text-justify {
    text-align: justify;
  }

  .carousel-item p {
    font-size: 1.3rem;
  }

  .slide-1 {
    background-position-x: 30%;
  }

  .slide-2 {
    background-position-x: 71%;
  }

  .cont-logo {
    width: 35% !important;
  }

  .volume-control {
    bottom: 20px;
    right: 20px;
    width: 48px;
    height: 48px;
  }

  .modal-dialog {
    top: 5%;
  }
}
/* F - XS */
/* I - S */
@media (min-width: 576px) and (max-width: 767.5px) {
  :root {
    --fs-titolo-xl: 2rem;
    --fs-titolo: 1.5rem;
  }

  .slide-1 {
    background-position-x: 30%;
  }

  .slide-2 {
    background-position-x: 71%;
  }

  .carousel-item p {
    font-size: 1.3rem;
  }

  .cont-logo {
    width: 35% !important;
  }
  .volume-control {
    bottom: 20px;
    right: 20px;
    width: 48px;
    height: 48px;
  }

  .modal-dialog {
    top: 5%;
  }
}
/* F - S */
/* I - MD */
@media (min-width: 767px) and (max-width: 991.5px) {
  :root {
    --fs-titolo-xl: 2.5rem;
    --fs-titolo: 1.5rem;
    --fs-normal: 0.8rem;
  }

  .cont-logo {
    width: 30% !important;
  }

  body {
    font-size: var(--fs-normal);
  }
  .min-height-80 {
    min-height: 60vh;
  }

  .navbar-brand {
    width: 20%;
  }

  .fs-small {
    font-size: var(--fs-normal);
  }

  .slide-2 {
    background-position-x: 82%;
  }

  .slide-1 {
    background-position-x: 50%;
  }

  .modal-dialog {
    top: 10%;
    max-width: 80% !important;
  }
}
/* F - MD */
/* I - LG */
@media (min-width: 992px) and (max-width: 1199.5px) {
  :root {
    --fs-titolo-xl: 2.5rem;
    --fs-titolo: 1.5rem;
    --fs-normal: 1rem;
  }

  body {
    font-size: var(--fs-normal);
  }

  .fs-small {
    font-size: var(--fs-normal);
  }

  .navbar-collapse {
    display: flex;
    justify-content: center;
  }
}
/* F - LG */
/* I - XL */
@media (min-width: 1200px) and (max-width: 1399.5px) {
  :root {
    --fs-titolo-xl: 3rem;
    --fs-titolo: 2.5rem;
    --fs-normal: 18px;
  }
  body {
    font-size: var(--fs-normal) !important;
  }

  .fs-small {
    font-size: var(--fs-normal);
  }

  .navbar-collapse {
    display: flex;
    justify-content: center;
  }
}
/* F - LG */
/* I - XXL */
@media (min-width: 1400px) {
  :root {
    --fs-titolo-xl: 3rem;
    --fs-titolo: 2rem;
  }

  .fs-small {
    font-size: var(--fs-normal);
  }

  .navbar-collapse {
    display: flex;
    justify-content: center;
  }
}
/* F - XXL */

/* F - Responsive */
