/*
	Theme Name: Edilvichi
	Theme URI: http://edilvichi.it/sito/
	Description: Custom Wordpress theme
	Version: 1.0
	Author: Gabriel Nastase 
	Author URI: http://gabrielnastase.com
	Tags: HTML5, CSS3
*/

/*------------------------------------*\
    MAIN
\*------------------------------------*/

/* global box-sizing */
*,
*:after,
*:before {
	-moz-box-sizing:border-box;
	box-sizing:border-box;
	-webkit-font-smoothing:antialiased;
	font-smoothing:antialiased;
	text-rendering:optimizeLegibility;
}
/* html element 62.5% font-size for REM use */
html {
	font-size:62.5%;
}
body {
	font-family: 'News Cycle', sans-serif;
	color:#7d7d7d;
    font-size: 1.6rem;
}
/* clear */

.clear {
    clear: both;
    height: 0;
}
img {
	max-width:100%;
	vertical-align:bottom;
    height: auto!important;
}
a {
	color:#7d7d7d;
	text-decoration:none;
    transition: all 200ms;
}
a:hover {
	color:#333;
}
a:focus {
	outline:0;
}
a:hover,
a:active {
	outline:0;
}

.privacy-policy main a, .cookie-policy main a {
    color: #000;
    text-decoration: underline;
}
input:focus {
	outline:0;
	border:1px solid #000;
}

h2, .h2 {
    font-size: 3.4rem;
    color: #000;
    font-weight: 800;
}
h2, h3 {
    color: #000;
}
h3 {
    font-weight: 400;
    font-size: 3rem;
}
h4 {
    font-size: 2.2rem;
}
button, input, select, textarea {
    border: solid 1px #999;
}
p {
    line-height: 1.1;
}

.green {
    color: #089d4d;
}
.dark {
    background-color: #2b2b2b;
    color: #fff;
}
.darker {
    background-color: #222;
    color: #fff;
}
.dark a, .darker a {
    color: #fff;
}
.dark a:hover, .darker a:hover {
    color: #82e07f;
}
.dark h2, .darker h2, .dark h3, .darker h3 {color: #fff;}
/* Icon 1 */

#nav-icon1 {
  width: 25px;
  height: 25px;
  position: absolute;
  top: 15px;
    right: 2.5%;
  -webkit-transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  -o-transform: rotate(0deg);
  transform: rotate(0deg);
  -webkit-transition: .5s ease-in-out;
  -moz-transition: .5s ease-in-out;
  -o-transition: .5s ease-in-out;
  transition: .5s ease-in-out;
  cursor: pointer;
    display: none;
}

#nav-icon1 span {
  display: block;
  position: absolute;
  height: 3px;
  width: 100%;
  background: #fff;
  opacity: 1;
  left: 0;
  -webkit-transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  -o-transform: rotate(0deg);
  transform: rotate(0deg);
  -webkit-transition: .25s ease-in-out;
  -moz-transition: .25s ease-in-out;
  -o-transition: .25s ease-in-out;
  transition: .25s ease-in-out;
}

#nav-icon1 span:nth-child(1) {
  top: 0px;
}

#nav-icon1 span:nth-child(2) {
  top: 10px;
}

#nav-icon1 span:nth-child(3) {
  top: 20px;
}

#nav-icon1.open span:nth-child(1) {
  top: 10px;
  -webkit-transform: rotate(135deg);
  -moz-transform: rotate(135deg);
  -o-transform: rotate(135deg);
  transform: rotate(135deg);
}

#nav-icon1.open span:nth-child(2) {
  opacity: 0;
  left: -60px;
}

#nav-icon1.open span:nth-child(3) {
  top: 10px;
  -webkit-transform: rotate(-135deg);
  -moz-transform: rotate(-135deg);
  -o-transform: rotate(-135deg);
  transform: rotate(-135deg);
}

.hvr-grow {
  display: inline-block;
  vertical-align: middle;
  -webkit-transform: perspective(1px) translateZ(0);
  transform: perspective(1px) translateZ(0);
  box-shadow: 0 0 1px rgba(0, 0, 0, 0);
  -webkit-transition-duration: 0.3s;
  transition-duration: 0.3s;
  -webkit-transition-property: transform;
  transition-property: transform;
}
.hvr-grow:hover, .hvr-grow:focus, .hvr-grow:active {
  -webkit-transform: scale(1.1);
  transform: scale(1.1);
}

/* Shrink */
.hvr-shrink {
  display: inline-block;
  vertical-align: middle;
  -webkit-transform: perspective(1px) translateZ(0);
  transform: perspective(1px) translateZ(0);
  box-shadow: 0 0 1px rgba(0, 0, 0, 0);
  -webkit-transition-duration: 0.3s;
  transition-duration: 0.3s;
  -webkit-transition-property: transform;
  transition-property: transform;
}
.hvr-shrink:hover, .hvr-shrink:focus, .hvr-shrink:active {
  -webkit-transform: scale(0.9);
  transform: scale(0.9);
}

/* Pulse */
@-webkit-keyframes hvr-pulse {
  25% {
    -webkit-transform: scale(1.1);
    transform: scale(1.1);
  }
  75% {
    -webkit-transform: scale(0.9);
    transform: scale(0.9);
  }
}
@keyframes hvr-pulse {
  25% {
    -webkit-transform: scale(1.1);
    transform: scale(1.1);
  }
  75% {
    -webkit-transform: scale(0.9);
    transform: scale(0.9);
  }
}
.hvr-pulse {
  display: inline-block;
  vertical-align: middle;
  -webkit-transform: perspective(1px) translateZ(0);
  transform: perspective(1px) translateZ(0);
  box-shadow: 0 0 1px rgba(0, 0, 0, 0);
}
.hvr-pulse:hover, .hvr-pulse:focus, .hvr-pulse:active {
  -webkit-animation-name: hvr-pulse;
  animation-name: hvr-pulse;
  -webkit-animation-duration: 1s;
  animation-duration: 1s;
  -webkit-animation-timing-function: linear;
  animation-timing-function: linear;
  -webkit-animation-iteration-count: infinite;
  animation-iteration-count: infinite;
}

input, textarea {
    border: solid 2px #fff;
    background: #fff;
    padding: 10px;
    width: 90%;
    transition: all 200ms;
}
input:hover, textarea:hover {
    background: #f2f2f2;
}
input:focus, textarea:focus {
    border: solid 2px #82e07f;
}
input[type="checkbox"], input[type="radio"] {
    width: auto!important;
}
.wpcf7-submit {
    border: none;
    background: #82e07f;
    color: #222;
    max-width: 90px;
}
/*------------------------------------*\
    STRUCTURE
\*------------------------------------*/

/* wrapper */
.outer-wrapper {
    width:95%;
	margin:0 auto;
    position: relative;
}
.wrapper {
	max-width:1280px;
	width:95%;
	margin:0 auto;
	position:relative;
}
.narrow-wrapper {
	max-width:1000px;
	width:95%;
	margin:0 auto;
	position:relative;
}
.margin-bottom-0 {
    margin-bottom: 0;
}
.cols-no-margin .wp-block-column {
    margin: 0;
}
.margin-top {
    margin-top: 40px;
}
.center {
    text-align: center;
}
.relative {
    position: relative;
}

.left {
    float: left;
}
.right {
    float: right;
}
.align-right {
    text-align: right;
}
.flex-container {
    display: flex;
    flex-wrap: wrap;
}

/* header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 900;
    padding: 40px 0;
}
.ombra {
    background: rgba(0,0,0,.55);
    background: linear-gradient(0deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.7) 100%);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 400;
    width: 100%;
    height: 180px;
}
.header-info {
    margin-left: 5%;
    color: #fff;
}
.header-info .green, .header-info .green a {
    color: #82df7f!important;
}
/* logo */
.logo {
    width: 80px;
    height: 110px;
    background: rgb(255,255,255);
    background: linear-gradient(0deg, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 33%);
    text-align: center;
    position: absolute;
    top: 0;
    left: calc( 50% - 40px );
    z-index: 0;
    transition: all 350ms ease-out;
    padding-top: 5px;
}
.logo-img {
    max-width: 65px;
}
/* nav */
.nav {
    text-transform: capitalize;
    font-weight: 700;
    margin-right: 5%;
}
.nav ul {
    display: flex;
    margin: 0;
    padding: 0;
    
}
.nav ul li {
    list-style: none;
    margin: 0 10px;
    padding: 0;
    position: relative;
}
.nav ul li a {
    color: #fff;
    font-size: 1.4rem;
    border-bottom: solid 2px transparent;
}
.nav ul li a:hover {
    border-bottom: solid 2px #fff;
}
.nav ul .sub-menu {
    display: block;
    background: #fff;
    position: absolute;
    top: 15px;
    left: 0;
    width: 220px;
    padding: 8px;
    border-top: solid 2px #999;
    transition: all 200ms ease-out;
    visibility: hidden;
    opacity: 0;
}
.nav ul li:hover .sub-menu {
    visibility: visible;
    opacity: 1;
    top: 25px;
}
.nav ul .sub-menu li {
    display: block;
    margin: 7px 0;
}
.nav ul .sub-menu li a {
    color: #999;
    font-size: 1.4rem;
}
.nav ul .sub-menu li a:hover {
    color: #333;
}
.nav .current-menu-item a {
    border-bottom: solid 2px red;
}
.nav .current-menu-item .sub-menu a {
    border-bottom: none;
}
.nav .current-menu-item .sub-menu .current-menu-item a {
    border-bottom: solid 2px red;
}
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.vertical-align-middle {
    display: table;
    height: 100%;
    width: 100%;
}
.vertical-align-middle .child {
    display: table-cell;
    vertical-align: middle;
    height: 100%;
}
.content-padding {
    padding: 100px 0;
}
.first-content {
    padding-top: 200px;
}
.no-padding-top {
    padding-top: 0;
}
.box-padding {
    padding: 60px;
}
.box-padding-xs {
    padding: 30px;
}
.borderd {
    border: solid 1px rgba(255,255,255,.3);
}
.no-margin {
    margin: 0!important;
}
.no-margin .wp-block-column {
    margin: 0!important;
}
.no-margin .wp-block-column .wp-block-image {
    margin-bottom: 0;
}
.btn {
    display: inline-block;
    padding: 10px;
    border: solid 2px #999;
}
.bg-light-grey {
    background: #f6f6f6;
}

table td {
    padding: 10px;
}

.intro {
    background-image: url(img/Home.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    height: 100vh;
    background-attachment: fixed;
}
.logo-intro {
    max-width: 420px;
}
.owl-nav {
    display: none;
}
.owl-dots {
    position: absolute;
    bottom: 20px;
    left: auto;
    width: 100%;
    text-align: center;
}

h4.section-title {
    font-size: 2.2rem;
    text-transform: uppercase;
}

.flex-3 {
    flex: 31%;
    margin: 1%;
}

/* sidebar */
.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 380px;
    height: 100%;
    z-index: 400;
    background: #999;
    padding: 80px 2.5%;
    color: #fff;
    box-shadow: 15px 5px 50px rgba(0,0,0,.15);
    display: none;
}
.sidebar ul {
    list-style: none;
    margin: 0;
    padding: 0;
    font-weight: 700;
    text-transform: uppercase;
}
.sidebar ul li {
    margin: 8px 0;
}
.sidebar a {
    color: #fff;
}
.sidebar a:hover {
    color: red;
}
.sidebar .current-menu-item a {
    color: red;
}
.sidebar h3 {
    color: #fff;
    font-size: 2.2rem;
}
.wpcf7-submit {
    font-weight: 700;
    background: #333;
    color: #fff;
    padding: 10px 20px;
}
/* footer */
.footer {
    background-color: #333;
    color: #999;
    margin-top: -30px;
}
.footer .wp-block-columns {
    margin-bottom: 0;
}
.footer-left p {
    max-width: 80%;
}
.logo-footer {
    max-width: 200px;
}


.footer a:hover {
    color: #fff;
}
.footer h3 {
    margin-top: 0;
}
.footer p {
        margin: 5px 0;
    }
.wp-block-separator {
    display: block;
    max-width: 60px;
    border: none;
    height: 3px;
    background: #82e07f;
    margin: 20px 0;
}
/*------------------------------------*\
    PAGES
\*------------------------------------*/

.intro-bar {
    padding: 3px 0;
    background: #82e07f;
    color: #000;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
}
.intro-bar  p {
    font-size: 2.2rem;
}
.intro-bar .alignright {
    margin: 0;
}
.intro-bar .wp-block-button {
    margin-top: 10px;
}
.page-header {
    padding-top: 180px;
    color: #fff;
    background: #999;
}
.first-content {
    padding-top: 180px;
}
.page-header-white {
    color: #999;
    background: #fff;
}
.logo-fornitore {
    text-align: right;
}
.logo-fornitore img {
    max-height: 70px;
    max-width: 280px;
}
.wp-block-cover {
    margin-bottom: 35px;
}
.wp-block-cover a {
    color: #fff;
}
.wp-block-cover h1 {
    font-size: 5.4rem;
}
.storia-home h4 {
    margin-top: 0;
}
.storia-home svg {
    fill: #82e07f!important;
}
.storia-home .uagb-icon-list__outer-wrap .uagb-icon-list__content-wrap {
    color: #82e07f;
}
.storia-home p {
    margin-top: 0;
}
.bg-storia {
    background-image: url(img/chi-siamo.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.bg-competenze {
    background-image: url(img/competenze.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.bg-contatti {
    background-image: url(img/contatti.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.percent-bar {
    display: block;
    width: 100%;
    height: 5px;
    background-color: #656565;
    position: relative;
}
.percent-bar .how-much {
    position: absolute;
    top: 0;
    left: 0;
    height: 5px;
    background: #82e07f;
}
.percent-bar .how-much-80 {
    width: 80%;
}
.percent-bar .how-much-85 {
    width: 85%;
}
.percent-bar .how-much-90 {
    width: 90%;
}
.percent-bar .how-much-95 {
    width: 95%;
}
.percent-bar .how-much-100 {
    width: 100%;
}

.perche {
    background-image: url(img/perche.jpg);
     background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}
.perche h4 {
    margin-top: 0;
}

.contatti .header-info {
    display: none;
}
.elenco-servizi ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.elenco-servizi ul li {
    font-size: 1.8rem;
    margin: 12px 0;
}

.chi-siamo-2 .brake-800 h3 {
    margin-bottom: 0;
}

/*------------------------------------*\
    IMAGES
\*------------------------------------*/



/*------------------------------------*\
    RESPONSIVE
\*------------------------------------*/

@media only screen and (max-width:1500px) {
    .box-padding {
        padding: 30px;
    }
    .wp-block-column h3 {
        margin-top: 0;
    }

}
@media only screen and (max-width:1200px) {
    .content-padding {
        padding: 60px  0;
    }
    .first-content {
        padding-top: 200px;
    }
    .wp-block-coblocks-gallery-carousel, .wp-block-coblocks-gallery-carousel .coblocks-gallery {
        height: 600px;
    }
    h3 {
        font-size: 2rem;
    }
    h2, .h2 {
        font-size: 3rem;
    }
}

@media only screen and (max-width:1000px) {
    #nav-icon1 {
        display: block;
    }
    .header {
        padding: 25px 0;
    }
    .header-info {margin-left: 2.5%;}
    .header .nav {
        display: none;
    }
    .header .nav {
        position: fixed;
        top: 100px;
        left: 0px;
        width: 100%;
        background: #333;
    }
    .header .nav ul {
        display: block;
        padding: 20px;
        text-align: center;
    }
    .header .nav li {
        margin: 20px 0;
    }
    .ombra {
        height: 120px;
    }
    .wp-block-cover h1 {
        font-size: 3.4rem;
    }

    
    .wp-block-button__link {
        padding: 8px 10px;
        font-size: 1.4rem;
    }
    .wp-block-cover {
        min-height: 500px!important;
        margin-bottom: 15px;
    }
    .brake-1000  {
        display: block;
    }
    .page-header {
        padding-top: 100px!important;
    }

    button, input, select, textarea {width: calc( 100% - 20px);}
    .featured-icons .h2 {
        font-size: 1.8rem;
    }
    .wp-block-coblocks-gallery-carousel, .wp-block-coblocks-gallery-carousel .coblocks-gallery {
        height: 450px;
    }

}

@media only screen and (max-width: 800px) {
    
    .box-padding {
        padding: 30px 2.5%;
    }
    .negative-top {
        margin-top: -30px;
    }
    .header-info .indirizzo {
        display: none;
    }
    .header-info .green {
        margin-left: 0;
    }
    .logo {
        width: 64px;
        left: calc( 50% - 32px );
        height: 85px;
        padding-top: 2px;
    }
    .logo-img {
        max-width: 55px;
    }
     .header .nav {
        top: 75px;
    }
    .intro {
        background-attachment: scroll;
        height: 500px;
    }
    .intro-bar {position: relative;}
    h2, .h2 {
        font-size: 2rem;
    }
    h4 {
        font-size: 1.6rem;
    }
    .wp-block-cover-image.has-parallax, .wp-block-cover.has-parallax {
        background-attachment: scroll;
    }
    .brake-800 {
        display: flex;
        flex-wrap: wrap;
    }
    .reverse {
        flex-direction: column-reverse;
    }
    .brake-800 .wp-block-column {
        flex-basis: 100%!important;
        margin: 0!important;
    }

    .perche-rivolgersi .wp-block-columns {
        display: flex!important;
    }
    .perche-rivolgersi .wp-block-columns .wp-block-column:first-child {
        flex-basis:5%!important;
    }
    .perche-rivolgersi .wp-block-columns .wp-block-column:last-child {
        flex-basis:90%!important;
        margin-left: 2.5%!important;
    }
    .perche-rivolgersi .wp-block-column {
        margin-left: 0!important;
    }

    .testata h3 {
        color: #fff;
    }

    .content-padding {
        padding: 40px 0;
    }
    .block-wrapper {
        margin: 0 5%;
    }

    .footer-contact {
        margin-left: 0!important;
        padding-top: 30px;
    }
    .footer-contact .wp-block-column {
        flex-basis: 50%!important;
    }
    .footer-left p {
        padding-top: 15px;
        max-width: 100%;
    }
    .first-content {
        padding-top: 180px;
    }
    .wp-block-coblocks-gallery-carousel, .wp-block-coblocks-gallery-carousel .coblocks-gallery {
        height: 370px;
    }
    .elenco-servizi ul li {
        font-size: 1.4rem;
        margin: 8px 0;
    }
}


@media only screen and (max-width: 600px) {
    .flex-container {
        display: block;
    }
    .flex-container .item {
        margin-bottom: 30px;
    }
    .intro {
        height: 400px;
    }
    .intro-bar {
        padding-bottom: 10px;
        text-align: center;
    }
    .intro-bar p {
        font-size: 1.8rem;
        margin-bottom: 0;
    }
    .intro-bar .wp-block-buttons.is-content-justification-right {
        justify-content: center;
    }
    .footer {
        font-size: 1.2rem;
    }
  
    .block-wrapper {
        margin: 0 2.5%;
    }
    .wp-block-cover {
        min-height: 320px!important;
    }
  
     .modulo-parent {
        padding-left: 2.5%;
    }
    button, input, select, textarea {width: 95%;}
    .featured-icons .wp-block-column {
        flex-basis: 50%!important;
    }
    .wp-block-coblocks-gallery-carousel, .wp-block-coblocks-gallery-carousel .coblocks-gallery {
        height: 260px;
    }
    .contact-not-first-col {
        padding-top: 30px!important;
        display: none;
    }
    .first-content {
        padding-top: 140px;
    }
    .chi-siamo-2 .brake-800 p {
        margin-bottom: 30px;
    }
    
}

@media (min-width: 600px) and (max-width: 781px) {
    .reverse .wp-block-column:nth-child(2n) {
        margin-left: 0!important;
    }
    
}




/*------------------------------------*\
    MISC
\*------------------------------------*/

::selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}
::-webkit-selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}
::-moz-selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}

/*------------------------------------*\
    WORDPRESS CORE
\*------------------------------------*/

.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%;
	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 .wp-caption-text,
.gallery-caption {
	font-size:11px;
	line-height:17px;
	margin:0;
	padding:0 4px 5px;
}
.sticky {

}
.bypostauthor {

}

.wp-block-image img {
    height: auto!important;
}

/*------------------------------------*\
    PRINT
\*------------------------------------*/

@media print {
	* {
		background:transparent !important;
		color:#000 !important;
		box-shadow:none !important;
		text-shadow:none !important;
	}
	a,
	a:visited {
		text-decoration:underline;
	}
	a[href]:after {
		content:" (" attr(href) ")";
	}
	abbr[title]:after {
		content:" (" attr(title) ")";
	}
	.ir a:after,
	a[href^="javascript:"]:after,
	a[href^="#"]:after {
		content:"";
	}
	pre,blockquote {
		border:1px solid #999;
		page-break-inside:avoid;
	}
	thead {
		display:table-header-group;
	}
	tr,img {
		page-break-inside:avoid;
	}
	img {
		max-width:100% !important;
	}
	@page {
		margin:0.5cm;
	}
	p,
	h2,
	h3 {
		orphans:3;
		widows:3;
	}
	h2,
	h3 {
		page-break-after:avoid;
	}
}
