/*
Theme Name: Ferretti Family
Theme URI: https://www.netcom.agency
Author: Netcom Web Agency
Author URI: https://www.netcom.agency
Description: Official Netcom Web Agency Theme
Requires at least: WordPress 4.9.6
Version: 1.0.1
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: np
Tags: one-column, two-columns, flexible-header, accessibility-ready, custom-colors, custom-menu, custom-logo, editor-style, featured-images, footer-widgets, rtl-language-support, sticky-post, threaded-comments, translation-ready

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.

Twenty Nineteen is based on Underscores https://underscores.me/, (C) 2012-2018 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/
/* VARIABLES */
/* FONTS */
@font-face {
  font-family: "GothamRounded-Bold";
  src: url("fonts/GothamRounded-Bold/GothamRounded-Bold.eot"); /* IE9 Compat Modes */
  src: url("fonts/GothamRounded-Bold/GothamRounded-Bold.eot?#iefix") format("embedded-opentype"), url("fonts/GothamRounded-Bold/GothamRounded-Bold.woff2") format("woff2"), url("fonts/GothamRounded-Bold/GothamRounded-Bold.woff") format("woff"), url("fonts/GothamRounded-Bold/GothamRounded-Bold.ttf") format("truetype"), url("fonts/GothamRounded-Bold/GothamRounded-Bold.svg#svgGothamRounded-Bold") format("svg"); /* Legacy iOS */
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: "GothamRounded-Medium";
  src: url("fonts/GothamRounded-Medium/GothamRounded-Medium.eot"); /* IE9 Compat Modes */
  src: url("fonts/GothamRounded-Medium/GothamRounded-Medium.eot?#iefix") format("embedded-opentype"), url("fonts/GothamRounded-Medium/GothamRounded-Medium.woff2") format("woff2"), url("fonts/GothamRounded-Medium/GothamRounded-Medium.woff") format("woff"), url("fonts/GothamRounded-Medium/GothamRounded-Medium.ttf") format("truetype"), url("fonts/GothamRounded-Medium/GothamRounded-Medium.svg#svgGothamRounded-Medium") format("svg"); /* Legacy iOS */
  font-weight: normal;
  font-style: normal;
}
/* UTILS */
* {
  margin: 0;
  padding: 0;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

.logged-in .main-navigation {
  margin-top: 32px;
  z-index: 9999;
  position: relative;
}

body {
  margin: 0;
  padding: 0;
  width: 100%;
  font: 1.15em "Open Sans", sans-serif;
  color: #333;
  line-height: 1.5em;
}

ul {
  list-style-image: url("images/icon-list-blue.png");
}
ul li {
  line-height: 2em;
}

footer #brand-group {
  background: #8ED1FC;
  color: #FFFFFF;
}
footer a {
  text-decoration: none;
}

video {
  margin-bottom: 2.5em;
}

.hamburger-icon {
  position: absolute;
  z-index: 2;
  top: 26%;
  left: 2vw;
}
.hamburger-icon span {
  height: 5px;
  width: 40px;
  background-color: #8ED1FC;
  display: block;
  margin: 5px 0px 5px 0px;
  -webkit-transition: 0.7s ease-in-out;
  transition: 0.7s ease-in-out;
  -webkit-transform: none;
  transform: none;
}
.hamburger-icon :hover {
  cursor: pointer;
}

input.hamburger-checkbox {
  position: absolute;
  z-index: 3;
  top: 1vh;
  left: 1vw;
  width: 10vw;
  opacity: 0;
  height: 6vh;
}

#lang-menu {
  border: 1px solid #FFF;
}
#lang-menu li {
  padding: 2.5em 1em;
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
}
#lang-menu li a {
  text-transform: uppercase;
  color: #FFF;
}

div.menu-pane {
  background-color: #8ED1FC;
  position: absolute;
  top: 0;
  left: 0;
  -webkit-transform: translateX(-100vw);
  transform: translateX(-100vw);
  -webkit-transform-origin: 0, 0;
  transform-origin: 0, 0;
  width: 100vw;
  height: 100vh;
  -webkit-transition: 0.6s ease-in-out;
  transition: 0.6s ease-in-out;
  z-index: 1;
}
div.menu-pane p {
  color: #333;
  font-size: 0.6em;
}
div.menu-pane nav {
  padding: 10%;
}
div.menu-pane ul {
  padding: 10%;
}
div.menu-pane ul li {
  padding-top: 20px;
  padding-bottom: 20px;
  margin-left: 10px;
  font-size: 2em;
  color: #FFF;
}
div.menu-pane ul li:first-child {
  font-size: 1.3em;
  margin-left: -10px;
}

.menu-links li, .menu-links a, .menu-links span {
  -webkit-transition: 0.5s ease-in-out;
  transition: 0.5s ease-in-out;
}
.menu-links li a {
  color: white;
  text-decoration: none;
}
.menu-links li:hover a {
  color: #FFAB91;
}
.menu-links li:first-child:hover a {
  color: black;
  background-color: #FFAB91;
}

#openmenu:checked ~ .menu-pane {
  left: 0vw;
  -webkit-transform: translateX(0vw);
  transform: translateX(0vw);
}

#openmenu:checked ~ body {
  display: none;
}

#openmenu:checked ~ .hamburger-icon span:nth-of-type(2) {
  -webkit-transform: translate(0%, 175%) rotate(-45deg);
  transform: translate(0%, 175%) rotate(-45deg);
  background-color: white;
}

#openmenu:checked ~ .hamburger-icon span:nth-of-type(3) {
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
  background-color: white;
}

#openmenu:checked ~ .hamburger-icon span:nth-of-type(1) {
  opacity: 0;
}

#openmenu:checked ~ .hamburger-icon span:nth-of-type(4) {
  opacity: 0;
}

.box-focus {
  text-align: center;
  color: rgb(255, 255, 255);
  padding: 65px 20px;
}

.box-img {
  min-height: 500px;
  height: 100%;
}

.bg-custom ul {
  list-style-image: url("images/icon-list-white.png");
}

.bg-gray {
  background-color: #F5F5F5;
}

.r-35 {
  border-radius: 35px;
  padding: 25px;
}
.r-35 li {
  text-align: left;
}

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

.nuvole-grigie {
  background: url("images/nuvole-grigie.png") repeat-x;
  width: 100%;
  height: 82px;
}

header:not(.small) {
  font: 0.85em "Open Sans", sans-serif;
  width: 100%;
  position: fixed;
  top: 0;
  background-color: #FFFFFF;
  text-align: center;
  z-index: 999999;
}

@media (max-width: 992px) {
  h1, .title {
    font: 2.25em "GothamRounded-Bold";
    color: #F78DA7;
    letter-spacing: -3px;
    line-height: 1em;
    margin-bottom: 10px;
    word-wrap: break-word;
  }
  h2, .subtitle {
    font: 1.25em "GothamRounded-Bold";
    margin-bottom: 20px;
    font-weight: 700;
  }
  h3 {
    font: 0.75em "GothamRounded-Bold";
    margin-bottom: 20px;
    font-weight: 700;
  }
  .custom-logo {
    margin: 0.4em 0 0 0;
    width: auto;
    height: 80%;
  }
  #main-menu {
    position: relative;
    text-align: center;
    top: 5%;
    font: 1.5em/1.5em "GothamRounded-Medium";
    color: #FFFFFF;
  }
  #contacts-menu {
    position: relative;
  }
  #contacts-menu #menu-item-116 {
    display: none;
  }
  #contacts-menu ul {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-box-pack: end;
    -ms-flex-pack: end;
    justify-content: end;
  }
  #contacts-menu ul li {
    margin: 1.5em 0.2em 0.2em;
  }
  #contacts-menu ul li a {
    color: #333;
    text-decoration: none;
  }
  #contacts-menu ul li a i::before {
    font-size: 1.5em;
    border-radius: 49%;
    text-align: center;
    padding: 0.6em;
    background-color: #01dffb;
    color: #FFFFFF;
  }
}
#top-bar {
  padding: 1em 0;
}

#main-menu {
  position: relative;
  text-align: center;
  top: 10%;
  font: 1.8em/1.5em "GothamRounded-Medium";
  color: #FFFFFF;
}

#main-menu-container {
  background-color: #01dffb;
  padding: 0.5em;
  font-weight: 600;
}
#main-menu-container ul {
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-direction: row;
  flex-direction: row;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
}
#main-menu-container ul > li {
  margin: 0.5em;
  text-align: center;
  text-transform: uppercase;
  color: #FFFFFF;
}
#main-menu-container ul > li ul li a {
  text-align: left;
  text-transform: capitalize;
}

@media (min-width: 993px) {
  h1, .title {
    font: 3.25em "GothamRounded-Bold";
    color: #F78DA7;
    letter-spacing: -3px;
    line-height: 1em;
    margin-bottom: 10px;
    word-wrap: break-word;
  }
  h2, .subtitle {
    font: 2.25em "GothamRounded-Bold";
    margin-bottom: 20px;
    font-weight: 700;
  }
  h3 {
    font: 1.75em "GothamRounded-Bold";
    margin-bottom: 20px;
    font-weight: 700;
  }
  #contacts-menu {
    position: relative;
  }
  #contacts-menu ul {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-box-pack: end;
    -ms-flex-pack: end;
    justify-content: end;
  }
  #contacts-menu ul li {
    margin: 0.5em;
  }
  #contacts-menu ul li a {
    color: #333;
    text-decoration: none;
  }
  #contacts-menu ul li a i::before {
    font-size: 250%;
    color: #333;
    border-radius: 49%;
    text-align: center;
    line-height: 50px;
    padding: 15px;
    background-color: #01dffb;
    color: #FFFFFF;
  }
}