/*
Theme Name: ODW
Theme URI: https://odwebsites.it/ 
Author: ODWebsites
Author URI: https://www.odwebsites.it/web-designer-freelance-bergamo
Description: descrizione
Version: 1.0
Text domain: odw
*/

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

/*I - Variabili */
:root {
  --primary: #e6af2e;
  --secondary: #e0e2db;
  --black: #191716;
  --fs-xl: 3.5rem;
  --bs-body-font-size: 0.9rem;
}

/*F - Variabili */

/*I - override Bootstrap */

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

.dropdown-item {
  font-family: Montserrat-Regular, sans-serif;
  font-weight: 600;
  transition: 0.3s;
  padding: 0.4rem 1rem;
}

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

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

.navbar-nav .nav-link:hover,
.active {
  color: var(--primary) !important;
}

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

.active::after:not(.dropdown-item) {
  animation-name: activeGrow;
  animation-delay: 0.5s;
  animation-duration: 0.6s;
  animation-fill-mode: forwards;
  content: "";
  position: relative;
  display: block;
  width: 0;
  height: 1px;
  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;
}

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

/*F - override Bootstrap*/
/* I - Font */

.ff-primary {
  font-family: PatuaOne-Regular, sans-serif !important;
}
.ff-secondary {
  font-family: Montserrat-Regular, 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.7rem !important;
}

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

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

.d-standard-px {
  padding-right: calc(var(--bs-gutter-x) * 0.5);
  padding-left: calc(var(--bs-gutter-x) * 0.5);
}

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

.d-bg-svg {
  position: absolute;
  opacity: 0.2;
}

.d-drop-shadow {
  filter: drop-shadow(0 0.5rem 1rem rgba(0, 0, 0, 0.15));
}

.d-invert {
  filter: invert(1);
}
.d-hover-color:hover {
  color: var(--primary) !important;
  transition: 0.3s;
}

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

.d-top-0 {
  top: 0;
}

.d-bottom-0 {
  bottom: 0;
}

.d-left-0 {
  left: 0;
}

.d-right-0 {
  right: 0;
}

.maintenance {
  height: 100vh;
  width: 100vw;
  position: fixed;
  z-index: 1000;
  top: 0;
  left: 0;
}

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

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

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

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

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

.clickable:hover {
  cursor: pointer;
}

.link {
  font-weight: 700 !important;
  color: var(--primary);
  text-decoration: none;
}

.link:hover {
  transition: 0.5s;
  cursor: pointer;
  color: var(--primary) !important;
}

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

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

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

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

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

.d-cta {
  display: flex;
  align-items: center;
  padding: 10px 20px 10px 20px;
  background-color: var(--primary);
  color: #fff !important;
  border-radius: 50rem !important;
  border: 2px solid #fff;
  font-weight: 600;
  text-decoration: none;
  width: fit-content;
}
.cont-svg {
  margin-left: 0.5rem !important;
  border-radius: 50rem !important;
  height: 30px;
  width: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--secondary);
  color: var(--black);
}
.d-cta-relative {
  display: flex;
  align-items: center;
  padding: 10px 20px 10px 20px;
  background-color: transparent;
  color: #fff !important;
  border-radius: 10px;
  border: 2px solid #fff;
  font-weight: 600;
  text-decoration: none;
  width: fit-content;
}

.d-cta-circle {
  background-color: #000;
  color: #fff !important;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #000;
}

.d-cta-circle-inv {
  background-color: #fff;
  color: #000 !important;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #fff;
}

.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,
.d-cta-relative:hover {
  transition: 0.5s;
  transform: scale(1.03);
  cursor: pointer;
  background-color: #fff !important;
  color: var(--primary) !important;
}

.d-cta:hover {
  border: 2px solid var(--primary);
}
.d-cta-relative:hover {
  border: 2px solid #fff;
}

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

.d-cta:hover .cont-svg {
  transition: 0.3s;
  transform: translateX(5px);
}

.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-white {
  background-color: #fff !important;
}

.d-bg-primary {
  background-color: var(--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;
}
.hover-bigger:hover {
  transform: scale(1.03) !important;
  cursor: pointer;
}

.tag-hover-bigger:hover {
  transition: 0.3s;
  transform: scale(1.06) !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-fit-content-h {
  height: -moz-fit-content !important;
  height: fit-content !important;
}

.fs-7 {
  font-size: 0.8rem;
}

.d-rounded {
  border-radius: 1.5rem;
}

.d-no-wrap {
  flex-wrap: nowrap;
}

.d-overflow-x-hidden {
  overflow-x: hidden;
}

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

.d-fs-xl {
  font-size: var(--fs-xl);
}

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

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

@keyframes backgroundZoom {
  from {
    background-size: 100%;
  }
  to {
    background-size: 115%;
  }
}

@keyframes d-fade {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes d-to-right {
  from {
    transform: translateX(-10px);
  }

  to {
    transform: translateX(0);
  }
}

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

/* freccia dropdown */
.dropdown-toggle::after {
  display: none !important;
}

.dropdown:hover .dropdown-menu {
  display: block;
}

header {
  background-color: #fff;
}

.nav-link,
.dropdown-item {
  font-family: Raleway-Regular, sans-serif !important;
  font-size: 0.9rem !important;
}

#hamburger-1 {
  display: none;
}

#hamburger-1.is-active .line:nth-child(2) {
  opacity: 0;
}

#hamburger-1.is-active .line:nth-child(1) {
  -webkit-transform: translateY(13px) rotate(45deg);
  -ms-transform: translateY(13px) rotate(45deg);
  -o-transform: translateY(13px) rotate(45deg);
  transform: translateY(13px) rotate(45deg);
}

#hamburger-1.is-active .line:nth-child(3) {
  -webkit-transform: translateY(-13px) rotate(-45deg);
  -ms-transform: translateY(-13px) rotate(-45deg);
  -o-transform: translateY(-13px) rotate(-45deg);
  transform: translateY(-13px) rotate(-45deg);
}
.navbar-toggler {
  color: #ffffff;
}

.hamburger .line {
  width: 50px;
  height: 4px;
  background-color: var(--primary);
  display: block;
  margin: 8px auto;
  -webkit-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

.hamburger:hover {
  cursor: pointer;
}

.offcanvas-end,
.offcanvas-start {
  transition: 0.4s !important;
}

/* F - header */
/* I - General */

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

::-moz-selection {
  color: inherit;
  background: inherit;
}

* {
  margin: 0;
  padding: 0;
}

a:not(.d-c-primary, .link, .d-cta, .d-c-white, .d-cta-circle) {
  color: inherit;
}

a:not(.link) {
  text-decoration: none;
}

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

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

body {
  font-family: Montserrat-Regular, sans-serif !important;
  font-size: 0.9rem !important;
  animation-name: d-fade;
  animation-duration: 0.2s;
  background-color: var(--background) !important;
  scroll-behavior: smooth;
}

p:not(.d-c-white p) {
  color: var(--text);
}

h1,
h2,
h3,
h4,
h5 {
  font-family: PatuaOne-Regular, sans-serif;
}

.d-special-border-sx {
  position: relative;
  z-index: 1;
}
.d-special-border-sx:before {
  content: "";
  position: absolute;
  left: -2%;
  height: 110%;
  bottom: -5%;
  width: 25%;
  z-index: -1;
  background-color: var(--primary);
}

header {
  border-bottom: 3px solid var(--primary);
}

.form-control:focus {
  border-color: var(--secondary) !important;
  box-shadow: 0 0 0 0.25rem #88aaab82 !important;
}

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

.accordion-button {
  background-color: var(--primary) !important;
  color: #fff !important;
}

.accordion-button::after {
  filter: invert(1) brightness(10) !important;
}

.accordion-button:focus {
  box-shadow: 0 0 0 0.25rem var(--secondary) !important;
  border: 0;
}

.d-contact-container .d-bg-cover-center {
  height: 350px;
}

/* F - General */
/* I - single */

/* F - single */
/* I - Archive */
.d-card-archive .d-bg-cover-center {
  min-height: 200px;
}

.d-card-archive:hover .d-cta-circle {
  transition: 0.5s;
  transform: scale(1.05);
  cursor: pointer;
  background-color: var(--primary) !important;
  border: 2px solid var(--primary);
  color: #fff !important;
}
/* F - Archive */
/* I - front page */

.backgroundZoom {
  background-size: 100%;
  border: 1px solid #fff;
}
.backgroundZoom:hover {
  background-size: 115%;
  animation-name: backgroundZoom;
  animation-duration: 0.6s;
  animation-direction: alternate;
  animation-timing-function: linear;
}
/* F - front page */
/* I - Archive tipo */

/* F - Archive tipo */
/* I - Single tipo */

/* F - Single tipo */

/* I - modulo contatto */

.wpcf7-response-output {
  border-color: #fff !important;
  color: #fff !important;
}

.d-contact-container .wpcf7-acceptance {
  font-family: Raleway-SemiBold, sans-serif !important;
}

.d-contact-container .wpcf7-list-item,
.d-contact-container .wpcf7-acceptance {
  margin: 0 !important;
}

.d-contact-container p {
  display: flex;
}

.d-contact-container .wpcf7-form-control-wrap {
  width: 100% !important;
}

.d-contact-container .wpcf7-list-item span,
.d-contact-container .wpcf7-submit {
  margin: 0 1% 0 1%;
}
.d-contact-container p input:not(.wpcf7-submit, .wpcf7-list-item input),
.d-contact-container .wpcf7-textarea {
  width: 100% !important;
  border: 1px solid;
  border-color: #e0e0e0;
  border-radius: 0.25rem !important;
  padding: 13px 18px;
}

/* cta normali */
.d-contact-container .wpcf7-submit {
  background-color: var(--primary);
  color: #fff !important;
  padding: 10px 20px;
  border: 3px solid var(--primary) !important;
  font-weight: bold;
}

.d-contact-container .wpcf7-submit:hover {
  background-color: #fff;
  color: var(--primary) !important;
  transition: 0.5s;
}

/* cta relative */
.d-bg-secondary .wpcf7-submit {
  display: flex;
  align-items: center;
  padding: 10px 20px 10px 20px;
  background-color: transparent;
  color: #fff !important;
  border-radius: 10px;
  border: 2px solid #fff !important;
  font-weight: 600;
  text-decoration: none;
  width: fit-content;
}

.d-bg-secondary .wpcf7-submit:hover {
  transition: 0.5s;
  transform: scale(1.03);
  cursor: pointer;
  background-color: #fff !important;
  color: var(--primary) !important;
}

.d-contact-container .wpcf7-list-item label {
  display: flex;
}
.d-contact-container .wpcf7-list-item label .d-consenso {
  width: auto !important;
  margin-right: 10px;
}

.d-contact-container .wpcf7-list-item-label {
  line-height: normal !important;
}

.d-bg-secondary .wpcf7-list-item-label {
  color: #fff !important;
}

/* F - modulo contatto */
/* I - footer */

/* F - footer */
/* I - Responsive */

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

  .backgroundZoom {
    background-size: cover;
  }
}
/* F - XS */
/* I - S */
@media (min-width: 576px) and (max-width: 767.5px) {
  :root {
    --fs-titolo-xl: 2rem;
    --fs-titolo: 1.5rem;
  }

  .backgroundZoom {
    background-size: cover;
  }
}
/* F - S */
/* I - MD */
@media (min-width: 767px) and (max-width: 991.5px) {
  :root {
    --fs-titolo-xl: 2.5rem;
    --fs-titolo: 1.5rem;
  }

  .backgroundZoom {
    background-size: cover;
  }
}
/* F - MD */
/* I - LG */
@media (min-width: 992px) and (max-width: 1199.5px) {
  :root {
    --fs-titolo-xl: 2.5rem;
    --fs-titolo: 1.5rem;
  }
}
/* F - LG */
/* I - XL */
@media (min-width: 1200px) and (max-width: 1399.5px) {
  :root {
    --fs-titolo-xl: 3rem;
    --fs-titolo: 2.5rem;
  }
}
/* F - LG */
/* I - XXL */
@media (min-width: 1400px) {
  :root {
    --fs-titolo-xl: 3rem;
    --fs-titolo: 2rem;
  }
}
/* F - XXL */

/* F - Responsive */
