/*
Theme Name: WS-theme
Theme URI: https://www.watsonsolutions.it/
Author: Watson Solutions
Author URI: https://www.watsonsolutions.it/
Description: Watson solutions starter theme based on Underscore.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: wstheme
This theme, like WordPress, is licensed under the GPL.
*/

@font-face {
    font-family: 'Inter';
    src: url('fonts/InterVariable.woff2') format('woff2');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Inter';
    src: url('fonts/InterVariable-Italic.woff2') format('woff2');
    font-weight: 100 900;
    font-style: italic;
    font-display: swap;
}

/* ANIMATIONS */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

body,
html {
    height: 100%;
    animation: fadeIn .8s ease-in-out;
}

body {
    font-family: 'Inter', sans-serif;    
}

h1,
h2,
h3 {
    font-weight: 900;
}

p {
    font-size: 1.1rem;
    line-height: 1.7;
}

.cci-grey {
    color: #999999;
}

.skip-link {
    display: none;
}

a {
    text-decoration: none;
}

a:link {
    color: #818181;
    text-decoration: none;
}
  
a:visited {
    color: #818181;    
    text-decoration: none;
}
  
a:hover {
    color: #818181;    
    text-decoration: none;
}
  
a:active {
    color: #818181;    
    text-decoration: none;
}

/* BTN */
a.btn-basic {
    display: inline-block;
    color: #fff;
    border: #000;
    background-color: #000;
    padding: 15px 45px;
}

/* HEADER */
.site-header {
    position: absolute;
    left: 0;
    top: 0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    background-color: #fff;
    width: 100%;
    height: 100px;
    padding-right: 50px;
}

img.cci-logo {
    height: 55px;
    position: absolute;
    left: 50px;
    top: 22px;
    z-index: 9;
}

.hamburger {
    display: none;
}

nav#site-navigation ul {
    padding: 0;
    margin: 0;
}

nav#site-navigation ul li {
    display: inline-block;
    letter-spacing: .5px;
    margin-right: 50px;
}

nav#site-navigation ul :last-child {
    margin-right: 0;
}

nav#site-navigation ul :last-child a {
    color: #000;
    font-weight: 700;
}

/* HOME */
.hp-hero {
    display: flex;
    align-items: center;
    height: auto;
    width: 100%;
    background-color: #fff;
    padding-top: 250px;
    padding-bottom: 50px;
    padding-left: 50px;
    padding-right: 50px;
}

.hp-hero-content h1 {
    font-size: 2.75rem;
    margin: 0 0 15px 0;
}

.hp-hero-content p {
    margin: 0 0 30px 0;
}

.cci-hp-intro {
    position: relative;
    background-image: url(img/fotovoltaico.webp);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    justify-content: center;
}

.cci-scroll-line {
	position: absolute;
	left: 50%;
	bottom: 0;
	transform: translateX(-50%);

	width: 3px;
	height: 150px;

	background: rgba(255,255,255,0.4);
	overflow: hidden;
    z-index: 1;
}

.cci-scroll-line::after {
	content: "";
	position: absolute;
	top: -40px;
	left: 0;

	width: 100%;
	height: 40px;

	background: #fff;

	animation: scrollLine 1.8s ease-in-out infinite;
}

@keyframes scrollLine {
	0% {
		top: -40px;
		opacity: 0;
	}

	20% {
		opacity: 1;
	}

	100% {
		top: 100%;
		opacity: 0;
	}
}

.cci-hp-intro-text {
    position: relative;
    max-width: 600px;
    background-color: #fff;
    padding: 40px 50px;
    margin-top: 150px;
    margin-bottom: 150px;
    z-index: 2;
}

.cci-hp-intro-text p {
    margin-bottom: 0;
}

.cci-hp-1 {
    padding-left: 100px;
    padding-right: 100px;
    padding-top: 100px;
    padding-bottom: 100px;
}

.cci-hp-1 h2 {
    margin-bottom: 30px;
}

.cci-hp-2 {
    position: relative;
    padding-left: 100px;
}

img.cci-logo-section-left {
    position: absolute;
    left: 130px;
    top: 30px;
    height: 50px;
    width: auto !important;
    z-index: 9;
}

img.cci-logo-section-right {
    position: absolute;
    right: 130px;
    top: 30px;
    height: 50px;
    width: auto !important;
    z-index: 9;
}

.cci-hp-2 img {
    width: 100%;
}

.cci-hp-2-text {
    position: relative;
    width: 65%;
    background-color: #EDEDED;
    padding-top: 50px;
    padding-left: 100px;
    padding-right: 50px;
    padding-bottom: 50px;
    margin-top: -250px;
    margin-left: -100px;
}

.cci-hp-3 {
    padding-top: 100px;
    padding-bottom: 100px;
    padding-left: 100px;
    padding-right: 100px;
}

.cci-hp-3 ol {
    font-weight: 700;
    font-size: 1.1rem;
    padding-left: 18px;
    margin-bottom: 0;
}

.cci-hp-3 ol li {
    margin: 5px 0;
}

.cci-hp-4 {
    position: relative;
    margin-bottom: 50px;
}

.cci-hp-4 img {
    width: calc(100% - 100px);
}

.cci-hp-4-text {
    position: relative;
    width: 50%;
    background-color: #F6F7F7;
    padding-top: 50px;
    padding-left: 50px;
    padding-right: 100px;
    padding-bottom: 50px;
    margin-top: -250px;
    margin-right: 0;
    margin-left: auto;
}

.cci-hp-5 {
    position: relative;
    padding-left: 100px;
}

.cci-hp-5 img {
    width: 100%;
}

.cci-hp-5-text {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 65%;
    background-color: #E5E5E5;
    padding-top: 50px;
    padding-left: 100px;
    padding-right: 50px;
    padding-bottom: 50px;
}

.cci-hp-5-certificazioni {
    display: flex;
    justify-content: space-between;
    width: 70%;
    margin-top: 50px;
}

.cci-hp-5-certificazioni img {
    width: 49%;
}

a.cci-hp-5-cta {
    display: inline-block;
    position: absolute;
    right: 0;
    bottom: 0;
    width: 35%;
    background-color: #7C7C7C;
    color: #fff;
    text-align: center;
    padding: 20px 0;
    cursor: pointer;
    transition: .4s;
}

a.cci-hp-5-cta:hover {
    background-color: #000000;
}

.cci-hp-6 {
    background-color: #F7F7F7;
    padding-top: 100px;
    padding-bottom: 100px;
}

.cci-cf7-input {
    width: 100%;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
    border: 1px solid #d5d5d5;
    padding: 20px;
    margin-top: 20px;
}

.cci-cf7-send {
    width: 100%;
    color: #fff;
    letter-spacing: 1px;
    background-color: #000;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;    
    border: none;
    padding: 20px 0;
    margin-top: 20px;    
}

.wpcf7-form p {
    line-height: normal;
    margin: 0;
}

.wpcf7-list-item {
    font-size: 1rem;
    margin-top: 15px;
    margin-left: 0;
}

/* 404 */
.container-404 {
    padding-top: 150px;
    padding-bottom: 150px;
}

.container-404 h2,
.container-404 h3 {
    font-size: 1.5rem;
}

/* FOOTER */
.site-footer {
    background-color: #000;
    color: #fff;
    padding-top: 50px;
    padding-bottom: 50px;
}

.site-footer p {
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.6;
}

.site-footer p strong {
    font-weight: 700;
}

.site-footer a {
    color: #fff;
}

img.cci-footer-logo {
    height: 70px;
}

.copy {
    background-color: #000;
    color: #fff;
    padding-top: 0;
    padding-bottom: 15px;
}

.copy p {
    font-weight: 300;
    font-size: .9rem;
    line-height: 1.4;
    margin: 0;
}

/* MOBILE */
@media only screen and (max-width: 992px) {

    .hamburger {
        display: block;
        position: absolute;
        right: 0;
        top: 10px;
        cursor: pointer;
        z-index: 999;
    }

    nav#site-navigation {
        display: none;
        position: fixed;
        height: 100%;
        width: 100%;
        left: 0;
        top: 0;
        background-color: rgba(255, 255, 255, 1);
        z-index: 100;
    }

    .menu-is-active {
        display: flex !important;
        align-items: center;
        justify-content: center;
    }

    nav#site-navigation ul {
        display: flex;
        flex-direction: column;
        text-align: center;
    }    

    nav#site-navigation ul li {
        font-size: 1.2rem;
        margin-right: 0;
        margin-top: 5px;
        margin-bottom: 5px;
    }    

    img.cci-logo {
        left: 25px;
        z-index: 999;
    }

    .hp-hero {
        padding-top: 150px;
        padding-bottom: 25px;
        padding-left: 25px;
        padding-right: 25px;
    }    

    .hp-hero-content h1 {
        font-size: 2rem;
    }    

    .cci-hp-intro-text {
        width: 90%;
        padding: 40px 25px;
        margin-top: 50px;
        margin-bottom: 50px;
    }    

    .cci-hp-1 {
        padding-left: 25px;
        padding-right: 25px;
        padding-top: 50px;
        padding-bottom: 50px;
    }    

    .cci-hp-2 {
        padding-left: 0;
    }    

    .cci-hp-2-text {
        width: 100%;
        padding-top: 50px;
        padding-left: 25px;
        padding-right: 25px;
        padding-bottom: 50px;
        margin-top: 0;
        margin-left: 0;
    }   
    
    img.cci-logo-section-left {
        position: absolute;
        left: 25px;
        top: 20px;
        height: 40px;
    }    

    img.cci-logo-section-right {
        right: auto;
        left: 25px;
        top: 25px;
        height: 40px;
    }    

    .cci-hp-3 {
        padding-top: 50px;
        padding-bottom: 50px;
        padding-left: 25px;
        padding-right: 25px;
    }    

    .cci-hp-4 {
        margin-bottom: 0;
    }

    .cci-hp-4 img {
        width: 100%;
    }    

    .cci-hp-4-text {
        width: 100%;
        padding-left: 25px;
        padding-right: 25px;
        margin-top: 0;
    }    

    .cci-hp-5 {
        padding-left: 0;
    }

    .cci-hp-5-text {
        position: relative;
        bottom: auto;
        left: auto;
        width: 100%;
        padding-left: 25px;
        padding-right: 25px;
    }  
    
    .cci-hp-5-certificazioni {
        flex-direction: column;
        width: 100%;
    }

    .cci-hp-5-certificazioni img {
        width: 100%;
        margin-top: 10px;
    }    

    a.cci-hp-5-cta {
        position: relative;
        right: auto;
        bottom: auto;
        width: 100%;
    }   
    
    .cci-hp-6 {
        padding-top: 50px;
        padding-bottom: 50px;
    }    

    img.cci-footer-logo {
        margin-bottom: 50px;
    }    

}