/*
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: 'Poppins', sans-serif;
src: url("fonts/Poppins-Black.ttf") format("ttf"),
        url("fonts/Poppins-Bold.ttf") format("ttf"),
        url("fonts/Poppins-ExtraBold.ttf") format("ttf"),
        url("fonts/Poppins-ExtraLight.ttf") format("ttf"),
        url("fonts/Poppins-Light.ttf") format("ttf"),
        url("fonts/Poppins-Medium.ttf") format("ttf"),
        url("fonts/Poppins-Regular.ttf") format("ttf"),
        url("fonts/Poppins-SemiBold.ttf") format("ttf"),
        url("fonts/Poppins-Bold.ttf") format("ttf");
}

/* poppins-300 - latin */
@font-face {
	font-family: 'Poppins';
	font-style: normal;
	font-weight: 300;
	src: url('fonts/poppins-v15-latin-300.eot'); /* IE9 Compat Modes */
	src: local(''),
		 url('fonts/poppins-v15-latin-300.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
		 url('fonts/poppins-v15-latin-300.woff2') format('woff2'), /* Super Modern Browsers */
		 url('fonts/poppins-v15-latin-300.woff') format('woff'), /* Modern Browsers */
		 url('fonts/poppins-v15-latin-300.ttf') format('truetype'), /* Safari, Android, iOS */
		 url('fonts/poppins-v15-latin-300.svg#Poppins') format('svg'); /* Legacy iOS */
  }
  /* poppins-regular - latin */
  @font-face {
	font-family: 'Poppins';
	font-style: normal;
	font-weight: 400;
	src: url('fonts/poppins-v15-latin-regular.eot'); /* IE9 Compat Modes */
	src: local(''),
		 url('fonts/poppins-v15-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
		 url('fonts/poppins-v15-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
		 url('fonts/poppins-v15-latin-regular.woff') format('woff'), /* Modern Browsers */
		 url('fonts/poppins-v15-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
		 url('fonts/poppins-v15-latin-regular.svg#Poppins') format('svg'); /* Legacy iOS */
  }
  /* poppins-600 - latin */
  @font-face {
	font-family: 'Poppins';
	font-style: normal;
	font-weight: 600;
	src: url('fonts/poppins-v15-latin-600.eot'); /* IE9 Compat Modes */
	src: local(''),
		 url('fonts/poppins-v15-latin-600.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
		 url('fonts/poppins-v15-latin-600.woff2') format('woff2'), /* Super Modern Browsers */
		 url('fonts/poppins-v15-latin-600.woff') format('woff'), /* Modern Browsers */
		 url('fonts/poppins-v15-latin-600.ttf') format('truetype'), /* Safari, Android, iOS */
		 url('fonts/poppins-v15-latin-600.svg#Poppins') format('svg'); /* Legacy iOS */
  }
  /* poppins-700 - latin */
  @font-face {
	font-family: 'Poppins';
	font-style: normal;
	font-weight: 700;
	src: url('fonts/poppins-v15-latin-700.eot'); /* IE9 Compat Modes */
	src: local(''),
		 url('fonts/poppins-v15-latin-700.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
		 url('fonts/poppins-v15-latin-700.woff2') format('woff2'), /* Super Modern Browsers */
		 url('fonts/poppins-v15-latin-700.woff') format('woff'), /* Modern Browsers */
		 url('fonts/poppins-v15-latin-700.ttf') format('truetype'), /* Safari, Android, iOS */
		 url('fonts/poppins-v15-latin-700.svg#Poppins') format('svg'); /* Legacy iOS */
  }

/* shadows-into-light-regular - latin */
@font-face {
	font-family: 'Shadows Into Light';
	font-style: normal;
	font-weight: 400;
	src: url('fonts/shadows-into-light-v10-latin-regular.eot'); /* IE9 Compat Modes */
	src: local(''),
		 url('fonts/shadows-into-light-v10-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
		 url('fonts/shadows-into-light-v10-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
		 url('fonts/shadows-into-light-v10-latin-regular.woff') format('woff'), /* Modern Browsers */
		 url('fonts/shadows-into-light-v10-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
		 url('fonts/shadows-into-light-v10-latin-regular.svg#ShadowsIntoLight') format('svg'); /* Legacy iOS */
  }

*,
*:after,
*:before {
	-moz-box-sizing:border-box;
	box-sizing:border-box;
	-webkit-font-smoothing:antialiased;
	font-smoothing:antialiased;
	text-rendering:optimizeLegibility;
}

html,
body {
	height: 100%;
    font-family: 'Poppins', sans-serif;
}

/* GENERAL RULES */
a {
	color: #444;
	text-decoration: none;
}

.up {
    text-transform: uppercase;
}

a:hover {
	color: #444;
	text-decoration: none;	
}

.a-white {
    color: #fff;
	text-decoration: none;
}

.cw {
    color: white;
}

.cr {
	color: #ED1E26;
}

.h-100 {
	height: 100%;
}

.t-shadows {
	font-family: 'Shadows Into Light', cursive;
}

.op-title-red {
	font-family: 'Shadows Into Light', cursive;
	font-size: 3rem;
	color: #ED1E26;
	padding-bottom: 20px;
	text-align: left;
	text-shadow: none;
}

.p-section {
	padding-top: 60px;
	padding-bottom: 60px;
}

.bg-image,
.op-st-1 {
    background-size: cover;
    background-position: center center;
	background-repeat: no-repeat;
}

/* HEADER */
.hamburger {
	display: none;
}

.op-header {
	position: absolute;
	top: 0;
	left: 0;
	background: transparent;
	width: 100%;
    display: table;
	z-index: 999;
}

.op-logo {
	position: absolute;
	height: 100%;
    margin: 15px;
	top: 10px;
	left: 15px;
}

.op-logo img {
    height: 120px;
}

.op-nav {
	float: right;
}

.op-nav ul {
	list-style-type: none;
	display: inline-block;
    padding: 70px 0px;
}

.op-nav ul li {
	display: inline-block;
	font-size: 1.3rem;
    margin-right: 40px;
}

#menu-item-23:hover ul {
	display: block;
}

.op-nav ul li a {
	color: #fff;
	text-shadow: 1px 1px 8px #000;
}

.op-nav ul li ul {
	position: absolute;
    display: none;
    text-align: center;
	border: 1px solid #fff;
	background-color: #000;
	opacity: 0.7;
	transform: translateX(-60px);
	padding: 15px;
}

.op-nav ul li ul li { 
    display: block;
    text-align: center;
	font-size: 1rem;
	margin: auto;
}

.op-nav ul li ul li.current-menu-item a {
    display:block !important;
    color: #fff;
}

.op-header-icon {
    float: right;
    margin-top: 70px;
    margin-right: 30px;
}

.op-header-icon img {
    height: 30px;
}

.op-header-icon a {
    padding-right: 40px;
}

.fat-nav {
	padding-top: 100px;
}

.fat-nav__wrapper div {
    position: absolute;
    left: 50%;
    transform: translate(-50%, 0%);
}

.fat-nav li {
	font-size: 1.4rem;
	padding-top: 8px;
	padding-bottom: 8px;
}

.fat-nav ul li ul li {
	font-size: 1rem;
	padding-top: 5px;
	padding-bottom: 0px;
}

/* HOMEPAGE */
.op-hp-1 {
	height: 550px;
	width: 100%;
	color: #fff;
}

.op-hp-slider {
	height: 100%;
}

.op-hp-slider .slick-list,
.op-hp-slider .slick-track {
	height: 100%;
}

.op-hp-slide {
	height: 100%;
	width: 100%;
}

.op-hp-slide-text {
	position: relative;
	height: 100%;
	display: table;
}

.op-hp-slide-content {
	position: relative;
	display: table-cell;
	vertical-align: middle;
}

.op-hp-slide-content p:nth-child(1){
	font-family: 'Shadows Into Light', cursive;
	font-size: 3.5rem;
	margin-top: 200px;
	line-height: 1.1;
	text-shadow: 1px 1px 8px #000;
}

.op-hp-3 {
	background-color: #F7F7F7;
}

.op-hp-slide-content p:nth-child(2) {
	font-size: 1.8rem;
	color: #ED1E26;
	font-family: 'Poppins', sans-serif;
}

/* TABS */
ul.tabs {
	display: block;
    list-style:none;
    margin: 0 auto;
    position: relative;
    z-index: 2;
	text-align: center;
	padding-left: 0;
	height: 100px;
	white-space: nowrap;
}

.container-line {
	position: relative;
}
.op-timeline-overflow {
	overflow-x: scroll;
}

ul.tabs li {
	display: inline-block;
    margin: 0px 10px;
}

ul.tabs li::before {
	content: "pro";
	background: url('./images/ball.png') center bottom no-repeat;
	position:absolute;
	top: 60px;
	color: transparent;
}
	
ul.tabs li.active a {
    color: #ED1E26;
}

ul.tabs li a {
    display: block;
    padding: 0px 15px;
    position: relative;
    color: #000;
	font-family: 'Shadows Into Light', cursive;
	font-size: 3rem;
	text-align: center;
}

ul.tabs li a:hover {
	color: #ED1E26;
}

.contenitore_tabs {
    clear:both;
    margin:10px;
    min-height: 300px;
	height:auto !important;
	height:300px;
    padding:10px;
    overflow:hidden;
    }

.op-hp-4-title {
	padding-top: 200px;
	padding-bottom: 200px;
}

.hr-red {
	position: absolute;
	width: 100%;
	top: 60px;
	border-top: 2px solid #ED1E26;
	border-bottom: none;
	text-align: center;
}

.op-img-nostra-storia {
	height: 300px;
	width: 100%;
	float: left;
	margin: auto;
	border-radius: 10px;
}

.op-testo-nostra-storia {
	margin: auto;
}

.op-hp-4-title {
	padding-top: 200px;
	padding-bottom: 200px;
}

.op-hp-4-title p {
	font-size: 5rem;
	font-family: 'Shadows Into Light', cursive;
	text-transform: uppercase;
	color: #fff;
	text-shadow: 1px 1px 8px #000;
	line-height: 1.1;
}

.op-hp-4-title p span {
	font-size: 1.8rem;
	color: #ED1E26;
	padding: 10px 40px;
	background-color: #fff;
	border-radius: 15px;
	text-shadow: none;
	font-family: 'Poppins', sans-serif;
}

.hr-articoli {
	border-top: 1px solid #ED1E26;
	border-bottom: none;
}

.op-anno-nostra-storia p {
	font-size: 2rem;
	font-family: 'Shadows Into Light', cursive;
}

/* Slick */
.slick-dots {
	bottom: 25px;
	right: 75px;
	text-align: right;
}

.slick-dots li {
	margin: 0;
}

.slick-dots li button {
	padding: 0;
}	

.slick-dots li button:before {
	font-size: 12px;	
	opacity: .50;	
    color: #000;
}

.slick-dots li.slick-active button:before {
    opacity: .75;
    color: #fff;
}

/* STATUTO */
.op-st-1 {
	height: 171px;
	background-color: #ED1E26;
}

.op-page-content {
	margin-bottom: 70px;
}

/* COSA FACCIAMO */
.box {
	width: 100%;
	text-align: center;
	height: auto;
}

article {
	height: 350px;
	position: relative;
	margin-bottom: 50px;
}

.op-facciamo-box {
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	width: 65%;
	text-align: left;
	height: auto;
	border-radius: 10px;
}

.op-box-text-content {
	position: absolute;
	top: 30px;
	right: 0px;
	bottom: 30px;
	background: #f0f0f0;
	width: 50%;
	height: auto;
	box-sizing: border-box;
	padding: 50px 50px;
	border-radius: 10px;
}

.box-right {
	right: 0;
	left: auto;
}

.box-left {
	left: 0;
	right: auto;
}

/* DICONO DI NOI */
h1.t-shadows {
	margin-top: 70px;
	margin-bottom: 40px;
}

h3.t-shadows {
	margin-top: 40px;
	margin-bottom: 20px;
	font-size: 2.4rem;
}

.op-articoli {
	margin-top: 50px;
	margin-bottom: 50px;
}

.op-articoli img {
	margin-right: 10px;
	height: 45px;
}

.op-articoli-download {
	margin-top: 40px;
	text-transform: uppercase;
}

.op-post-pagination {
	padding-top: 60px;
	padding-bottom: 60px;
	width: 100%;
}

.pagination {
	position: absolute;
	left: 50%;
	transform: translate(-50%);
}

.pagination span,
.pagination a {
	padding: 10px;
}

/* CONTATTI */
.op-form {
	margin-bottom: 50px;
}

input.name-class,
input.email-class {
    width: 100%;
    height: 40px;
    padding: 0 10px;
    margin-bottom: 20px;
    border: 1px solid transparent;
    border-radius: 10px;
    background-color: #ECECEC;
}

textarea.message-class {
    width: 100%;
    padding: 0 10px;
    margin-bottom: 20px;
    border: 1px solid transparent;
    border-radius: 10px;
    background-color: #ECECEC;
}

p.input {
	text-align: right;
}

.invia-class {
    padding: 0 60px;
    border: 1px solid #ED1E26;
    border-radius: 10px;
    background-color: #ED1E26;
    color: #fff;
    font-size: 1rem;
    font-family: Poppins;
    height: 44px;
	float: right;
}

.wpcf7-list-item {
    margin-left: 0px;
}

.wpcf7 form.invalid,
.wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output {
    border: none !important;
    border-color: transparent;
}

.wpcf7-response-output {
    text-align: center;
}

.op-descrizione p {
	font-size: 0.75rem;
}

.contatti-3 p:nth-child(1){
	font-family: 'Shadows Into Light', cursive;
	font-size: 3.5rem;
	padding-top: 250px;
	color: #fff;
	margin-bottom: 0;
}

.contatti-3 p:nth-child(2) {
	font-size: 1.8rem;
	color: #fff;
	font-family: 'Shadows Into Light', cursive;
	padding-bottom: 100px;
	margin-bottom: 0;
}

.op-contatti-3 {
	margin-top: 100px;
}

/* FOOTER */
.op-footer {
	background-color: #ED1E26;
	padding-top: 20px;
	padding-bottom: 20px;
}

.op-footer p a {
	color: #fff;
}

.op-footer-dx img {
	height: 30px;
	margin: 4px;
}



/* MOBILE */
@media only screen and (max-width: 1400px) {

	.op-nav ul li {
		font-size: 0.9rem;
		margin-right: 30px;
	}

	.op-header-icon img {
		height: 24px;
	}

	.op-hp-slide-content p:nth-child(1){
		font-size: 2.8rem;
		margin-top: 100px;
	}

	.op-hp-slide-content p:nth-child(2) {
		font-size: 1.5rem;
		color: #ED1E26;
	}
}

@media only screen and (max-width: 991px) {
	.op-nav {
        display: none;
    }

    .hamburger {
        display: block;
    }

	.op-hp-slide-content p:nth-child(1){
		font-size: 2.5rem;
		margin-top: 100px;
	}

	.op-hp-slide-content p:nth-child(2) {
		font-size: 1.3rem;
		color: #ED1E26;
	}

	/* COSA FACCIAMO */
	.op-box-text-content {
		position: absolute;
		top: 30px;
		right: 0px;
		bottom: 30px;
		background: #f0f0f0;
		width: 50%;
		height: auto;
		box-sizing: border-box;
		padding: 20px 20px;
	}

	.op-box-text-content h2 {
		font-size: 1.7rem;
	}

	.op-box-text-content p {
		font-size: 1rem;
	}

	#sub-menu li { 
		font-size: 0.5rem !important;
	}
}

@media only screen and (max-width: 768px) {
	.op-title-red {
		font-size: 2.5rem;
	}

	ul.tabs li a {
		padding: 0;
		font-size: 2.3rem;
	}

	.op-timeline-dx {
		margin-top: 40px;
	}

	.op-hp-4-title p {
		font-size: 3.3rem;
		padding-left: 10px;
		padding-right: 10px;
	}

	/* COSA FACCIAMO */
	article {
		height: auto;
	}
	
	.op-facciamo-box {
		position: relative;
		width: 100%;
		display: block;
		height: 250px;
	}
	
	.op-box-text-content {
		position: relative;
		display: block;
		background: #f0f0f0;
		width: 100%;
		height: 200px;
		box-sizing: border-box;
		padding: 10px 10px;
	}

	.op-box-text-content h2 {
		font-size: 1.3rem;
	}

	.op-box-text-content p {
		font-size: 0.8rem;
	}

	footer p,
	footer h3 {
		text-align: center;
	}
}

@media only screen and (max-width: 575px) {
	.op-hp-slide-content p:nth-child(1) {
		font-size: 2rem;
	}

	.op-hp-slide-content p:nth-child(2) {
		font-size: 1.1rem;
	}

	.op-title-red {
		font-size: 1.8rem;
	}

	.contatti-3 p:nth-child(1) { 
		padding-top: 100px;
		font-size: 2.5rem;
	}

	.contatti-3 p:nth-child(2) {
		font-size: 1.4rem;
	}

	ul.tabs li a {
    padding: 0;
    font-size: 1.7rem;
	}
}