/*!
Theme Name: netenjoytheme
Theme URI: http://netenjoy.it/
Author: Netenjoy
Author URI: http://netenjoy.it/
Description: Custom Theme
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: netenjoytheme
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

/* Theme Name: Netenjoytheme
Author: NetEnjoy
Author URI: https://netenjoy.it/
Description: Tema sviluppato per l'Architetto Giovanni Cinquegrana
Version: 1.0.6 */

/* ROOT */

:root {
  /*Color*/
  --white: #fdffff;
  --border-radius: 0;
  --color-black: #1e2025;
  --title-color: #1e2025;
  --text-color: #aaa;
  --color-accent: #35ac84;
  --border-color: #e4e6e6;
  --font-family: "Helvetica LT Std", serif;
}

/* /==========================================/ GENERAL /==========================================/ */
* {
  scroll-behavior: smooth !important;
  -webkit-font-smoothing: antialiased;
}

html,
body {
  background-color: var(--white);
  font-family: var(--font-family);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
}

p {
  margin: 0;
  color: var(--title-color);
  font-size: 14px;
  line-height: 1.6em;
  font-weight: normal;
}

a {
  color: var(--color-black);
  display: inline-block;
  outline: none;
  text-decoration: none;
  -webkit-transition: all 0.25s ease;
  -moz-transition: all 0.25s ease;
  -o-transition: all 0.25s ease;
  -ms-transition: all 0.25s ease;
  transition: all 0.25s ease;
}

a:active,
a:focus,
a:hover {
  color: var(--text-color);
}

dl,
ol,
ul {
  margin-bottom: 0px;
  padding-left: 0px;
  list-style: none;
}

::-moz-selection {
  color: var(--white);
  background: var(--title-color);
}

::selection {
  color: var(--white);
  background: var(--title-color);
}

.py-120-single {
  padding-top: 120px;
  padding-bottom: 120px;
}

/* Hide scrollbar for Chrome, Safari and Opera */
.example::-webkit-scrollbar {
  display: none;
}

/* Hide scrollbar for IE, Edge and Firefox */
.example {
  -ms-overflow-style: none; /* IE and Edge */
  scrollbar-width: none; /* Firefox */
}
/* /==========================================/ BUTTONS /==========================================/ */

.theme-btn {
  color: var(--color-accent);
  display: inline-block;
  text-transform: uppercase;
  font-size: 0.9375rem;
  letter-spacing: 2px;
  background-color: var(--white);
  border-color: var(--color-accent);
  line-height: 1.5rem;
  border-style: solid;
  border-width: 1px 1px 1px 1px;
  border-radius: 50px 50px 50px 50px;
  -webkit-transition: all 0.25s ease;
  -moz-transition: all 0.25s ease;
  -o-transition: all 0.25s ease;
  -ms-transition: all 0.25s ease;
  transition: all 0.25s ease;
  padding: 15px 30px 15px 30px;
}

.theme-btn:hover {
  background: var(--color-accent);
  color: var(--white);
  border: 1px solid var(--color-accent);
}

@media all and (max-width: 575.8px) {
  .theme-btn {
    font-size: 12px;
    padding: 16px 26px;
  }
}

/* /==========================================/ BOOTSTRAP CONTAINERS /==========================================/ */
@media (min-width: 576px) {
  .container,
  .container-sm {
    max-width: 476px;
  }
}

@media (min-width: 768px) {
  .container-md,
  .container-sm,
  .container {
    max-width: 600px;
  }
}

@media (min-width: 992px) {
  .container-lg,
  .container-md,
  .container-sm,
  .container {
    max-width: 700px;
  }
}

@media (min-width: 1200px) {
  .container-xl,
  .container-lg,
  .container-md,
  .container-sm,
  .container {
    max-width: 800px;
  }
}

@media (min-width: 1400px) {
  .container-xxl,
  .container-xl,
  .container-lg,
  .container-md,
  .container-sm,
  .container {
    max-width: 900px;
  }
}

/* /==========================================/ SWIPER CAROUSEL /==========================================/ */
.swiper {
  width: 100%;
  height: fit-content;
}
/* Reviews content*/
.my-swiper-button-prev {
  margin-top: 6px;
  font-size: 18px;
  font-weight: 500;
  text-transform: uppercase;
  line-height: 1.5rem;
  color: var(--white);
  background-color: var(--color-accent);
  border-radius: 50px 50px 50px 50px;
  padding: 15px 40px 15px 40px;
  -webkit-transition: all 0.25s ease;
  -moz-transition: all 0.25s ease;
  -o-transition: all 0.25s ease;
  -ms-transition: all 0.25s ease;
  transition: all 0.25s ease;
}

.my-swiper-button-next {
  margin-top: 6px;
  font-size: 18px;
  font-weight: 500;
  text-transform: uppercase;
  line-height: 1.5rem;
  color: var(--title-color);
  background-color: var(--text-color);
  border-radius: 50px 50px 50px 50px;
  padding: 15px 40px 15px 40px;
  -webkit-transition: all 0.25s ease;
  -moz-transition: all 0.25s ease;
  -o-transition: all 0.25s ease;
  -ms-transition: all 0.25s ease;
  transition: all 0.25s ease;
}

.my-swiper-button-prev:hover {
  box-shadow: 0 0.5rem 1rem rgb(0 0 0 / 15%) !important;
}

.my-swiper-button-next:hover {
  box-shadow: 0 0.5rem 1rem rgb(0 0 0 / 15%) !important;
}

.my-swiper-button-prev:focus {
  border-color: var(--title-color);
}

.my-swiper-button-next:focus {
  border-color: var(--title-color);
}

/* /==========================================/ LAZY BLOCK PARTS /==========================================/ */
.py-120 {
  padding-top: 120px;
  padding-bottom: 120px;
}

.pb-120 {
  padding-bottom: 120px;
}

.pt-120 {
  padding-top: 120px;
}

.py-60 {
  padding-top: 60px;
  padding-bottom: 60px;
}

.pt-60 {
  padding-top: 60px;
}

.pb-60 {
  padding-bottom: 60px;
}

.custom-bg-white {
  background-color: var(--white);
}

.custom-ratio {
  aspect-ratio: 1/1;
}

.py-120-single {
  padding-top: 120px;

  padding-bottom: 120px;
}

@media all and (max-width: 575.9px) {
  .py-120 {
    padding-top: 60px;

    padding-bottom: 60px;
  }

  .pb-120 {
    padding-bottom: 60px;
  }

  .pt-120 {
    padding-top: 60px;
  }

  .py-60 {
    padding-top: 30px;

    padding-bottom: 30px;
  }

  .pt-60 {
    padding-top: 30px;
  }

  .pb-60 {
    padding-bottom: 30px;
  }
}

/* /==========================================/ PRELOADER /==========================================/ */

.preloader {
  background: var(--white);
  position: fixed;
  height: 100%;
  width: 100%;
  left: 0;
  top: 0;
  z-index: 9999;
}

.loader {
  width: 40px;
  height: 40px;
  position: relative;
  top: calc(50% - 30px);
  left: calc(50% - 20px);
}

.loader-box-1,
.loader-box-2 {
  width: 100%;
  height: 100%;
  border-radius: 0;
  background-color: var(--text-color);
  opacity: 0.6;
  position: absolute;
  top: 0;
  left: 0;
  animation: loader-bounce 2s infinite ease-in-out;
}

.loader-box-1 {
  background-color: var(--text-color);
}

.loader-box-2 {
  background-color: var(--color-black);
}

.loader-box-2 {
  animation-delay: -1s;
}

@keyframes loader-bounce {
  0%,
  100% {
    transform: scale(0);
  }

  50% {
    transform: scale(1);
  }
}

/* /==========================================/ NAVBAR /==========================================/ */

img.custom-logo {
  height: 45px;
  width: auto;
  position: relative;
  z-index: 99997;
}

@media all and (max-width: 575.8px) {
  img.custom-logo {
    height: 35px;
  }
}

/*Menu Desktop*/
header.header-content {
  position: relative;
  width: 100%;
  background: var(--white);
  z-index: 9996;
}

.menu-desktop ul#menu-principale {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-end;
}

.menu-desktop ul#menu-principale li a {
  color: var(--text-color);
  padding: 20px;
  font-size: 13px;
  line-height: 1.38em;
  -webkit-transition: all 0.25s ease;
  -moz-transition: all 0.25s ease;
  -o-transition: all 0.25s ease;
  transition: all 0.25s ease;
  animation: fadeIn 0.35s;
  -webkit-animation: fadeIn 0.35s;
  -moz-animation: fadeIn 0.35s;
  -o-animation: fadeIn 0.35s;
  -ms-animation: fadeIn 0.35s;
}

.menu-desktop ul#menu-principale li.current-menu-item a {
  color: var(--title-color);
}

.menu-desktop ul#menu-principale :last-child a {
  padding-right: 0px;
}

.menu-desktop ul#menu-principale li a:hover {
  color: var(--title-color);
}

.menu-item-has-children {
  cursor: pointer;
}

/* Container Sub Menu Primo Livello Desktop*/

.menu-desktop .menu-principale-container #menu-principale .sub-menu {
  display: none;
  position: absolute;
  background-color: var(--white);
  box-shadow: 0px 10px 30px -8px rgb(0 0 0 / 13%);
  margin-top: 8px;
  margin-left: 20px;
  border-top: 1px solid var(--color-accent);
}

/* Sub Menu Desktop*/

.menu-desktop .menu-principale-container #menu-principale li ul li a {
  color: var(--color-black);
  font-size: 10px;
  padding: 20px;
  font-weight: 600;
  text-transform: uppercase;
  display: block;
  line-height: 1em;
  letter-spacing: 1px;
  border-bottom: 1px solid var(--border-color);
  -webkit-transition: all 0.25s ease;
  -moz-transition: all 0.25s ease;
  -o-transition: all 0.25s ease;
  -ms-transition: all 0.25s ease;
  transition: all 0.25s ease;
}

.menu-desktop .menu-principale-container #menu-principale li ul li a:hover {
  color: var(--color-accent);
}

/* Menu Mobile*/

div#menu-primary {
  display: none;
}

div#hamburger-2 {
  display: none;
}

.menu-mobile.is-open {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9980;
  animation: fadeIn 0.25s;
  -webkit-animation: fadeIn 0.25s;
  -moz-animation: fadeIn 0.25s;
  -o-animation: fadeIn 0.25s;
  -ms-animation: fadeIn 0.25s;
  background: var(--white);
  -webkit-transition: all 0.25s ease;
  -moz-transition: all 0.25s ease;
  -o-transition: all 0.25s ease;
  -ms-transition: all 0.25s ease;
  transition: all 0.25s ease;
}

.menu-mobile .menu-principale-container {
  display: flex;
  align-items: center;
  height: 100%;
  justify-content: center;
}

ul#menu-principale-1 {
  width: 100%;
}

.burger-box {
  cursor: pointer;
  z-index: 9999;
}

.menu-mobile ul#menu-principale-1 li a {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.1rem;
  line-height: 1;
  padding-top: 10px;
  padding-bottom: 10px;
  color: var(--title-color);
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 1px;
  -webkit-transition: all 0.25s ease;
  -moz-transition: all 0.25s ease;
  -o-transition: all 0.25s ease;
  -ms-transition: all 0.25s ease;
  transition: all 0.25s ease;
}

.menu-mobile ul#menu-principale-1 li:last-child {
  border-bottom: unset;
}

.menu-mobile ul#menu-principale-1 li:first-child a {
  padding-top: 0;
}

.menu-mobile ul#menu-principale-1 li a:hover {
  color: var(--text-color);
}

.menu-mobile #menu-principale-1 ul.sub-menu {
  display: none;
}

.menu-mobile #menu-principale-1 ul.sub-menu.is-open {
  display: flex;
  justify-content: center;
  flex-direction: column;
  position: fixed;
  bottom: 0;
  right: 0;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: var(--white);
  z-index: 9995;
  padding-right: calc(var(--bs-gutter-x) * 0.5);
  padding-left: calc(var(--bs-gutter-x) * 0.5);
}

.menu-mobile #menu-principale-1 li ul li a {
  padding-bottom: 1rem;
  padding-top: 1rem;
  display: flex;
  justify-content: start;
  align-items: center;
  font-size: 1rem;
  line-height: 1;
  color: var(--title-color);
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 1px;
  -webkit-transition: all 0.25s ease;
  -moz-transition: all 0.25s ease;
  -o-transition: all 0.25s ease;
  -ms-transition: all 0.25s ease;
  transition: all 0.25s ease;
}

.menu-mobile #menu-principale-1 li ul li:first-child a {
  font-weight: bold;
  padding-top: 20px;
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

@-webkit-keyframes fadeIn {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

@-moz-keyframes fadeIn {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

@-o-keyframes fadeIn {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

@-ms-keyframes fadeIn {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

.menu-desktop ul#menu-principale li.navbar-btn a {
  color: var(--white);
  background-color: var(--color-accent);
  letter-spacing: 2px;
  border: 1px solid var(--color-accent);
  border-radius: 50px;
  -webkit-transition: all 0.25s ease;
  -moz-transition: all 0.25s ease;
  -o-transition: all 0.25s ease;
  -ms-transition: all 0.25s ease;
  transition: all 0.25s ease;
  padding: 10px 15px;
}

.menu-desktop ul#menu-principale li.navbar-btn a:hover {
  background-color: #00af74;
  border-color: #00af74;
}

/* /==========================================/ BURGER /==========================================/ */

#hamburger-1 > span {
  display: block;
  width: 28px;
  height: 2px;
  border-radius: 9999px;
  background-color: var(--color-black);
}

#hamburger-1 > span:not(:last-child) {
  margin-bottom: 7px;
}

#hamburger-1,
#hamburger-1 > span {
  -webkit-transition: all 0.25s ease;
  -moz-transition: all 0.25s ease;
  -o-transition: all 0.25s ease;
  -ms-transition: all 0.25s ease;
  transition: all 0.25s ease;
}

#hamburger-1.active {
  transition-delay: 0.8s;
  transform: rotate(45deg);
}

#hamburger-1.active > span:nth-child(2) {
  width: 0;
}

#hamburger-1.active > span:nth-child(1),
#hamburger-1.active > span:nth-child(3) {
  transition-delay: 0.4s;
}

#hamburger-1.active > span:nth-child(1) {
  transform: translateY(9px);
}

#hamburger-1.active > span:nth-child(3) {
  transform: translateY(-9px) rotate(90deg);
}
/* /==========================================/ LAZYBLOCK PROJECTS SINGLE SLIDER (HOME) /==========================================/ */
.project-slide,
.project-item {
  position: relative;
  z-index: 1;
}

/* img.project-image {
  border: 1px solid #f3f3f3;
} */

.project-title {
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 10;
  padding: 30px 20px 15px;
}

.project-title h2 {
  color: rgb(255 255 255 / 95%);
  font-size: 14px;
  line-height: 1.5em;
  letter-spacing: 0.02em;
  text-rendering: optimizeLegibility;
  font-weight: 500;
  font-style: normal;
}

@media all and (max-width: 750px) {
  .project-title h2 {
    font-size: 11px;
  }
}

/* /==========================================/ LAZYBLOCK PROJECTS LOOP /==========================================/ */
.project-loop-item a{
  display: block;
}

.project-loop-item:hover .project-loop-awards,
.project-loop-item:hover .project-loop-title h2  {
  opacity: 1;
}

.project-loop-awards:hover {
  opacity: 1;
  transition: opacity 1s;
  background-color: var(--white);
}

img.project-loop-image {
  object-fit: cover;
  object-position: center;
  width: 100%;
  aspect-ratio: 1/1;
  border: 1px solid #f3f3f3;
}

.project-loop-title h2 {
  font-size: 12px;
  text-transform: uppercase;
  color: var(--text-color);
  transition: opacity 0.4s ease;
  text-align: center;
  padding: 18px 0px;
  opacity: 0;
}

.awards-detail p {
  text-align: center;
  text-transform: uppercase;
  font-weight: 600;
}

.project-loop-image-content {
  position: relative;
  cursor: pointer;
}

.project-loop-awards {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100%;
  width: 100%;
  opacity: 0;
  transition: 0.5s ease;
  background-color: rgb(255 255 255 / 75%);
}

.awards-content-details {
  position: absolute;
  width: 90%;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  text-align: center;
}

@media all and (max-width: 750px) {
  .awards-detail p {
    font-size: 11px;
  }
}

@media all and (max-width: 450px) {
  .awards-content-details {
    display: none;
  }
}

/* /==========================================/ LAZYBLOCK ARTICLES LOOP /==========================================/ */
.article-loop-excerpt p,
.article-loop-title p {
  text-align: justify;
  -webkit-transition: all 0.25s ease;
  -moz-transition: all 0.25s ease;
  -o-transition: all 0.25s ease;
  -ms-transition: all 0.25s ease;
  transition: all 0.25s ease;
}

.article-loop-title-content:hover .article-loop-excerpt p,
.article-loop-title-content:hover .article-loop-title p {
  color: var(--text-color);
}

/* /==========================================/ LAZYBLOCK SINGLE COLUMN /==========================================/ */
.single-col-text-content p {
  text-align: justify;
}
/* /==========================================/ LAZYBLOCK SINGLE COLUMN CONTACT /==========================================/ */
.single-col-contact-text-content p {
  text-align: center;
  -webkit-transition: all 0.25s ease;
  -moz-transition: all 0.25s ease;
  -o-transition: all 0.25s ease;
  -ms-transition: all 0.25s ease;
  transition: all 0.25s ease;
}

img.single-col-contact-image {
  max-height: 400px;
}
/* /==========================================/ SINGLE PROJECT /==========================================/ */
img.single-project-gallery-image {
  object-fit: cover;
  object-position: center;
  width: 100%;
  /* border: 1px solid #e9ecef; */
}
.single-project-content p {
  text-align: justify;
}

/* /==========================================/ ARCHIVE TEXT /==========================================/ */
.text-loop-title-content p {
  text-align: center;
}
.text-loop-title-content p:hover {
  color: var(--text-color);
}

/* /==========================================/ PROJECTS LOOP ARCHIVE PAGE /==========================================/ */

.project-loop-archive-item:hover .project-loop-archive-title h2  {
  opacity: 1;
}

img.project-loop-archive-image {
  object-fit: cover;
  object-position: center;
  width: 100%;
  aspect-ratio: 1/1;
  /* border: 1px solid #f3f3f3; */
}

.project-loop-archive-title h2 {
  font-size: 12px;
  text-transform: uppercase;
  color: var(--text-color);
  transition: opacity 0.4s ease;
  text-align: center;
  padding: 18px 0px;
  opacity: 0;
}

.project-loop-archive-image-content {
  position: relative;
  cursor: pointer;
}

@media (max-width: 767.98px) { 
  .project-loop-archive-title h2 {
    opacity: 1;
  }
}
/* /==========================================/ TEMPLATE PAGE SINGLE CONTENT /==========================================/ */
section#text-loop {
  min-height: 50vh;
}

a.text-loop-link {
  display: block;
}
.single-page-text p {
  padding-bottom: 1rem;
}

.single-page-text h2 {
  padding-bottom: 1.5rem;
  letter-spacing: 1px;
  font-size: 1.6875rem;
  line-height: 1.22;
  font-weight: bold;
  text-transform: uppercase;
  color: var(--title-color);
}

@media all and (max-width: 991.8px) {
  .single-page-text h2 {
    font-size: 1.5rem;
    line-height: 1;
  }
}

@media all and (max-width: 575.8px) {
  .text-img-text p {
    font-size: 14px;
    line-height: 1.42;
    text-transform: unset;
  }
}

@media all and (max-width: 384px) {
  .single-page-text h2 {
    font-size: 1.3125rem;
    line-height: 1.28;
  }
}

/* /==========================================/ WIDGETS /==========================================/ */

/* HEADER EXTRA CONTENT */
.header-extra-content {
  position: absolute;
  z-index: 9985;
  bottom: 16px;
  font-size: 14px;
  left: 0;
  right: 0;
  width: 100%;
  text-align: center;
  padding-right: calc(var(--bs-gutter-x) * 0.5);
  padding-left: calc(var(--bs-gutter-x) * 0.5);
}

.header-extra-content p {
  font-size: 14px;
  text-align: start;
  color: var(--color-black);
}

/* /==========================================/ FOOTER /==========================================/ */

.footer-section {
  background-color: var(--white);
  color: var(--color-black);
  border-top: 1px solid var(--border-color);
}

.copyright-text a,
.privacy-content a {
  color: var(--title-color);
}

.copyright-text {
  color: var(--title-color);
  font-size: 13px;
  line-height: 1.38em;
  word-break: break-word;
  text-align: center;
}

@media all and (max-width: 575.8px) {
  .copyright-text {
    font-size: 12px;
  }
}

/* Navigation prev & next post*/

nav.navigation.post-navigation a {
  color: var(--color-black);
  font-size: 13px;
  line-height: 1.38em;
  -webkit-transition: all 0.25s ease;
  -moz-transition: all 0.25s ease;
  -o-transition: all 0.25s ease;
  -ms-transition: all 0.25s ease;
  transition: all 0.25s ease;
}

nav.navigation.post-navigation a:hover {
  color: var(--text-color);
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  justify-content: space-between;
}
