@charset "UTF-8";
/*
Theme Name: mTheme
Theme URI:
Author: M.SOFT
Author URI:
Description: Starter Theme with Font Awesome and Bootstrap 4
Version: 0.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: one-column, two-columns, right-sidebar, custom-header, custom-menu, editor-style, featured-images, sticky-post, translation-ready
Text Domain: nx

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.
*/

/* General
-------------------------------------------------------- */
body {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  min-height: 100vh;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
}

.main-content {
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
}
@media (min-width: 1200px) {
  .main-content {
  margin-top: 95px;
  }        
}
@media (max-width: 1199px) {
  .main-content {
  margin-top: 80px;
  }        
}

:root {
  -webkit-transition-duration: 0.2s;
          transition-duration: 0.2s;
  -webkit-transition-timing-function: ease;
          transition-timing-function: ease;
  --color-primary: #028000;
}

/* Colori
-------------------------------------------------------- */
a {
  color: var(--color-primary);
}

a:hover:not(.btn) {
  color: var(--color-primary);
  -webkit-filter: brightness(0.8);
          filter: brightness(0.8);
}

.nav-link.active, .dropdown-menu a.active {
  color: #c2c2c2 !important;
}

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

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

.bg-secondary {
  background: #f2f2f2 !important;
}

/* Typography
-------------------------------------------------------- */
@font-face {
  font-family: 'FontClimatic';
  src: url('./fonts/frfm721i.ttf');
}

h1 {
  font-family: "FontClimatic";
}

h2, h3, h4, h5 {
  font-family: "Raleway", sans-serif;
  font-weight: 600;
}

@media (min-width: 1200px) {
  h2 {
    font-size: 3em;
  }
}
@media (max-width: 1199px) {
  h2 {
    font-size: 35px;
  }
}
body, p {
  font-family: "Inter", sans-serif;
}

.pre-title {
  color: var(--color-primary);
  font-size: 14px;
  font-weight: 700;
}

.text-white p {
  color: #fff;
}

.inline {
  white-space: nowrap;
}

/* Helpers
-------------------------------------------------------- */
@media (min-width: 768px) {
  .py-custom {
    padding-top: 80px;
    padding-bottom: 80px;
  }
  .pt-custom {
    padding-top: 80px;
  }
  .pb-custom {
    padding-bottom: 80px;
  }
}
@media (max-width: 767px) {
  .py-custom {
    padding-top: 50px;
    padding-bottom: 50px;
  }
  .pt-custom {
    padding-top: 50px;
  }
  .pb-custom {
    padding-bottom: 50px;
  }
}


/* Buttons
-------------------------------------------------------- */
.btn.btn-primary, .btn.btn-outline-primary {
  text-transform: uppercase;
  border-radius: 3px;
  font-size: 15px;
  padding: 15px 30px;
  color: #fff;
  transition: 0.7s;
}

.btn-primary {
  border: var(--color-primary);
  background: var(--color-primary);
}

.btn-primary:hover {
  background: var(--color-primary);
  filter: opacity(0.6);
}

.btn.btn-outline-primary {
  border: solid 1px var(--color-primary) !important;
  color: var(--color-primary);
}

.btn.btn-outline-primary:hover {
  background: var(--color-primary);
  color: #fff;
}


/* Animazioni
-------------------------------------------------------- */
.fade-in, .nascosto {
  opacity: 0; 
}
.fade-in.show, .visibile {
  opacity: 1; 
  -webkit-transition: opacity 1s ease-in;
  transition: opacity 1s ease-in;
}


/* Header
-------------------------------------------------------- */
.bg-navbar {
  background: #fff;
}

.navbar {
  position: fixed;
  z-index: 999;
  width: 100%;
  top: 0; 
  transition: top 0.4s;
  -webkit-box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.2);
          box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.2);
}

.navbar-nav > .nav-item:not(:last-child)::after {
  content: "";
  border-bottom: solid 1px var(--color-primary);
  display: block;
}

.dropdown-menu a{
  padding-left: 10px;;
}
.dropdown-menu {
  border: none;
}

@media (min-width: 1200px) {
  .nav-link, .dropdown-menu a {
    font-family:  "Raleway", sans-serif!important;
    font-size: 20px;
  }
  .nav-link {
    padding: 15px 0px;
  }
  .nav-link:hover, .dropdown-menu a:hover  {
    transform: translateX(1%);
    transition: transform ease-in-out 0.2s;
  }
  .navbar-toggler {
    -webkit-box-shadow: none !important;
            box-shadow: none !important;
    font-size: 25px;
  }
}
@media (max-width: 1199px) {
  .navbar-brand img {
    max-width: 266px;
  }
  .nav-link {
    font-family:  "Raleway", sans-serif!important;
    font-size: 20px;
    padding: 10px 0px!important;
  }
}


.dropdown-item.active {
  background-color: transparent;
}

.dropdown-menu a:hover {
  background-color: transparent;
}

.navbar-toggler {
  -webkit-box-shadow: none !important;
          box-shadow: none !important;
  font-size: 25px;
}



/* Footer
-------------------------------------------------------- */
footer {
  background: linear-gradient(135deg, rgb(91, 91, 91) 10%, rgb(138, 138, 138) 100%);
}
footer .logo, .under-construction img {
  -webkit-filter: brightness(0) saturate(100%) invert(100%) sepia(97%) saturate(17%) hue-rotate(210deg) brightness(103%) contrast(100%);
          filter: brightness(0) saturate(100%) invert(100%) sepia(97%) saturate(17%) hue-rotate(210deg) brightness(103%) contrast(100%);
}
footer h3 {
  font-size: 18px;
  font-weight: 700;
}
footer p {
  font-size: 16px;
}

footer a {
  color: #fff!important;
}

.menu-footer a, .menu-footer li, ul.menu-footer {
  font-size: 15px;
  text-transform: uppercase;
  list-style-type: none;
  padding: 3px 0px 3px 0px!important;
}

/* homepage
-------------------------------------------------------- */

.carousel-item {
  height: 70vh;
}

.carousel-item p {
  text-shadow: 12px 0px 10px #333;
  font-size: 17px;
}

.carousel-item h1 {
  font-size: 60px;
  font-weight: 600;
  color: #fff;
}

@media screen and (max-width: 1199px) {
  .carousel-item h1 {
    font-size: 35px; 
  }
  .carousel button {
    display: none;
  }
}

.servizi h3 {
  text-transform: uppercase;
  font-size: 20px;
}

.servizi p {
  font-size: 15px;
}

/* Instestazione
-------------------------------------------------------- */
.page-header {
  height: 250px;
}

@media (min-width: 768px) {
  .page-header h1 {
    font-size: 4em;
  }
  .page-header p {
    font-size: 1em;
    letter-spacing: 2px;
    font-weight: 200;
  }
}
@media (max-width: 767px) {
  .page-header h1 {
    font-size: 35px;
    font-weight: bold;
  }
  .page-header p {
    font-size: 15px;
    font-weight: 200;
    letter-spacing: 1px;
  }
}

/* Under contruction
-------------------------------------------------------- */

body:has(.under-construction){
  .navbar {
    display: none;
  }
}
.under-construction {
  height: 100vh;
}

@media (min-width: 768px) {
  .under-construction h1 {
    font-size: 4em;
    font-weight: bold;
  }
  .under-construction p {
    font-size: 1.2em;
  }
}
@media (max-width: 767px) {
  .under-construction h1 {
    font-size: 35px;
    font-weight: bold;
  }
  .under-construction p {
    font-size: 16px;
  }
}

/* Contatti
-------------------------------------------------------- */
.wpcf7-form-control {
  height: auto;
  width: 100%;
}

.wpcf7 p {
  font-size: 15px;
}

.wpcf7 label {
  width: 100%;
  font-size: 16px;
}

.wpcf7-submit {
  background: var(--color-primary) !important;
}

/* Pagine archivio e ricerca
-------------------------------------------------------- */
.page-archive {
  padding-top: 100px;
}

/* Comments
-------------------------------------------------------- */
#comments {
  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;
}

.comment .reply {
  border-bottom: 1px solid #ccc;
  margin-bottom: 30px;
  padding-bottom: 10px;
}

/* Input & textarea
-------------------------------------------------------- */
input, textarea {
  padding: 10px 10px;
  border: 1px solid #ccc;
}

/* Widgets
-------------------------------------------------------- */
.widget_search .screen-reader-text {
  display: block;
}

.widget_search #s {
  width: 70%;
  float: left;
}

.widget_search #searchsubmit {
  width: 30%;
  float: left;
  background: #fff;
}

/* pagination
-------------------------------------------------------- */
.pagination {
  margin-bottom: 40px;
}

.page-numbers {
  display: inline-block;
  padding: 10px 15px;
  border: 1px solid #ddd;
  margin-right: 4px;
}

/* general wordpress style
-------------------------------------------------------- */
.post img {
  max-width: 100%;
  height: auto;
}

/* WordPress Core Styles
-------------------------------------------------------------- */
.gallery-caption {
  padding: 5px;
  font-size: 10px;
}

.bypostauthor {
  border-left: 3px solid #ddd;
  padding-left: 20px;
}

.alignnone {
  margin: 5px 20px 20px 0;
}

.aligncenter, div.aligncenter {
  display: block;
  margin: 5px auto 5px auto;
}

.alignright {
  float: right;
  margin: 5px 0 20px 20px;
}

.alignleft {
  float: left;
  margin: 5px 20px 20px 0;
}

a img.alignright {
  float: right;
  margin: 5px 0 20px 20px;
}

a img.alignnone {
  margin: 5px 20px 20px 0;
}

a img.alignleft {
  float: left;
  margin: 5px 20px 20px 0;
}

a img.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.wp-caption {
  background: #fff;
  border: 1px solid #f0f0f0;
  max-width: 96%; /* Image does not overflow the content area */
  padding: 5px 3px 10px;
  text-align: center;
}

.wp-caption.alignnone {
  margin: 5px 20px 20px 0;
}

.wp-caption.alignleft {
  margin: 5px 20px 20px 0;
}

.wp-caption.alignright {
  margin: 5px 0 20px 20px;
}

.wp-caption img {
  border: 0 none;
  height: auto;
  margin: 0;
  max-width: 98.5%;
  padding: 0;
  width: auto;
}

.wp-caption p.wp-caption-text {
  font-size: 11px;
  line-height: 17px;
  margin: 0;
  padding: 0 4px 5px;
}

/* Text meant only for screen readers. */
.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  position: absolute !important;
  white-space: nowrap;
  height: 1px;
  width: 1px;
  overflow: hidden;
}

.screen-reader-text:focus {
  background-color: #f1f1f1;
  border-radius: 3px;
  -webkit-box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
          box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
  clip: auto !important;
  color: #21759b;
  display: block;
  font-size: 14px;
  font-size: 0.875rem;
  font-weight: bold;
  height: auto;
  left: 5px;
  line-height: normal;
  padding: 15px 23px 14px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000; /* Above WP toolbar. */
}