@import url('https://fonts.googleapis.com/css2?family=Manjari:wght@100;400;700&family=Quattrocento:wght@400;700&display=swap');

/*
Theme Name: Todeschini Theme
Author: Nio
Author URI: http://www.niodesign.it/
Description: Tema Paola Todeschini Nutrizionista - 2023
Version: 1.0
License: GNU General Public License v2 or later
*/

/* GENERAL */

:root {
	--nero-pt: #2C2C2C;
	--bianco-pt: #FAFAFA;
	--verde-chiaro-pt: #89DCC6;
	--verde-scuro-pt: #5F7A6B;
}

html, body {
	margin: 0;
	padding: 0;
	font-family:'Manjari',Helvetica,Arial,sans-serif !important;
	font-size: 18px !important;
	font-weight:400;
	text-rendering:optimizeLegibility;
	-webkit-font-smoothing:antialiased;
	-moz-font-smoothing:antialiased;
	-o-font-smoothing:antialiased;
	background-color: #FDFDFD;
	color: #212121;
	scroll-behavior: smooth;
}

@media (max-width: 1920px){
	html, body {
		font-size: 16px !important;
	}
}

.tooltip {
	font-weight:600;
	z-index:9999;
}

img, a img {
	border:none!important;
}

::-moz-selection {
	background:none repeat scroll 0 0 #232323;
	color:#eee;
}

* {
	outline:0!important;
}

b, strong, .bold {
	font-weight: 700;
}

a, a:visited {
	outline-style:none;
	text-decoration:underline;
	color: #5F7A6B;
	font-weight: 700;
}

a:hover {
	cursor:pointer !important;
	text-decoration: underline;
	color: #212121;
}

/* TYPO */

.uppercase{
	text-transform: uppercase;
}

.lowercase{
	text-transform: lowercase;
}

.standardcase {
	text-transform:none;
}

.big{
	font-size: 1.2rem;
}

.slide-title {
	font-size: 3rem;
	font-family: 'Quattrocento', serif;
	font-weight: 400;
	letter-spacing: -0.025;
}

h1, .h1 {
    font-family: 'Quattrocento', serif;
	font-weight: 400;
	font-size: 3rem;
}

h2, .h2 {
	font-family: 'Quattrocento', serif;
	font-weight: 400;
	font-size: 2.8rem;
}

.h2-special {
    font-family: 'Quattrocento', serif;
    font-weight: 700;
    font-size: 2.6rem;
}

h3, .h3 {
	font-family: 'Manjari', sans-serif;
	font-weight: 400;
	font-size: 1.9rem;
}

h4, .h4 {
	font-weight: 400;
	font-size: 1.6rem;
}

h5, .h5 {
	font-weight: 600;
	font-size: 1.25rem;
}

.no-decoration {
	text-decoration: none !important;
}

.white-text {
	color: #FFF !important;
}

.quattrocento {
	font-family: 'Quattrocento', serif !important;
	font-size: 1.4rem;
	font-weight: 400;
}

.italic {
	font-style: italic;
}

.large {
    font-size: 1.2rem;
}

@media (max-width: 992px) {
	.slide-title {
		font-size: 2.5rem;
	}

	h1, .h1 {
		font-size: 2.5rem;
	}

	h2, .h2 {
		font-size: 2.2rem;
	}
	
	.h2-special {
		font-size: 2.1rem;
	}
	
	h3, .h3 {
		font-size: 1.5rem;
	}
	
	h4, .h4 {
		font-size: 1.3rem;
	}
	
	h5, .h5 {
		font-size: 1.05rem;
	}

	.large {
		font-size: .9rem;
	}
}

@media (max-width: 768px) {
	.slide-title {
		font-size: 2.2rem;
		font-family: 'Quattrocento', serif;
		font-weight: 400;
		letter-spacing: -0.025;
	}
}

/* BUTTONS */

/* LOADER */

#loading {
	position:fixed;
	left:0;
	top:0;
	width:100%;
	height:100vh;
	z-index:998;
	background-color:#eee;
}

.loader {
	color:#232323;
	font-size:50px;
	text-indent:-9999em;
	overflow:hidden;
	width:1em;
	height:1em;
	border-radius:50%;
	margin:50px auto;
	position:relative;
	top:40%;
	-webkit-transform:translateZ(0);
	-ms-transform:translateZ(0);
	transform:translateZ(0);
	-webkit-animation:load6 1.7s infinite ease,round 1.7s infinite ease;
	animation:load6 1.7s infinite ease,round 1.7s infinite ease;
}

@-webkit-keyframes load6 {
	0% {
		box-shadow:0 -.83em 0 -0.4em,0 -.83em 0 -0.42em,0 -.83em 0 -0.44em,0 -.83em 0 -0.46em,0 -.83em 0 -.477em;
	}
	
	5%,95% {
		box-shadow:0 -.83em 0 -0.4em,0 -.83em 0 -0.42em,0 -.83em 0 -0.44em,0 -.83em 0 -0.46em,0 -.83em 0 -.477em;
	}
	
	10%,59% {
		box-shadow:0 -.83em 0 -0.4em,-.087em -.825em 0 -0.42em,-.173em -.812em 0 -0.44em,-.256em -.789em 0 -0.46em,-.297em -.775em 0 -.477em;
	}
	
	20% {
		box-shadow:0 -.83em 0 -0.4em,-.338em -.758em 0 -0.42em,-.555em -.617em 0 -0.44em,-.671em -.488em 0 -0.46em,-.749em -.34em 0 -.477em;
	}
	
	38% {
		box-shadow:0 -.83em 0 -0.4em,-.377em -.74em 0 -0.42em,-.645em -.522em 0 -0.44em,-.775em -.297em 0 -0.46em,-.82em -.09em 0 -.477em;
	}
	
	100% {
		box-shadow:0 -.83em 0 -0.4em,0 -.83em 0 -0.42em,0 -.83em 0 -0.44em,0 -.83em 0 -0.46em,0 -.83em 0 -.477em;
	}
}

@keyframes load6 {
	0% {
		box-shadow:0 -.83em 0 -0.4em,0 -.83em 0 -0.42em,0 -.83em 0 -0.44em,0 -.83em 0 -0.46em,0 -.83em 0 -.477em;
	}
	
	5%,95% {
		box-shadow:0 -.83em 0 -0.4em,0 -.83em 0 -0.42em,0 -.83em 0 -0.44em,0 -.83em 0 -0.46em,0 -.83em 0 -.477em;
	}
	
	10%,59% {
		box-shadow:0 -.83em 0 -0.4em,-.087em -.825em 0 -0.42em,-.173em -.812em 0 -0.44em,-.256em -.789em 0 -0.46em,-.297em -.775em 0 -.477em;
	}
	
	20% {
		box-shadow:0 -.83em 0 -0.4em,-.338em -.758em 0 -0.42em,-.555em -.617em 0 -0.44em,-.671em -.488em 0 -0.46em,-.749em -.34em 0 -.477em;
	}
	
	38% {
		box-shadow:0 -.83em 0 -0.4em,-.377em -.74em 0 -0.42em,-.645em -.522em 0 -0.44em,-.775em -.297em 0 -0.46em,-.82em -.09em 0 -.477em;
	}
	
	100% {
		box-shadow:0 -.83em 0 -0.4em,0 -.83em 0 -0.42em,0 -.83em 0 -0.44em,0 -.83em 0 -0.46em,0 -.83em 0 -.477em;
	}
}

@-webkit-keyframes round {
	0% {
		-webkit-transform:rotate(0deg);
		transform:rotate(0deg);
	}
	
	100% {
		-webkit-transform:rotate(360deg);
		transform:rotate(360deg);
	}
}

@keyframes round {
	0% {
		-webkit-transform:rotate(0deg);
		transform:rotate(0deg);
	}
	
	100% {
		-webkit-transform:rotate(360deg);
		transform:rotate(360deg);
	}
}

/* COLORI */

.green-text {
    color: var(--verde-scuro-pt);
}

/* BOTTONI */

.btn-primary {
	padding: 10px 15px 5px 15px;
	/* background-color: var(--bianco-pt); */
    background-color: #845a75;
	/* border: 1px solid var(--bianco-pt); */
    border-color: #845a75;
	text-transform: uppercase;
	color: var(--bianco-pt);
	border-radius: 0%;
}

.btn-primary:hover {
	background-color: var(--verde-chiaro-pt);
	border-color: var(--verde-scuro-pt);
	color: var(--nero-pt);
}

.btn-primary.focus, .btn-primary:focus, .btn-primary:not(:disabled):not(.disabled):active {
	color: var(--bianco-pt);
    background-color: var(--verde-scuro-pt);
    border-color: var(--verde-scuro-pt);
    box-shadow: 0 0 0 0.2rem var(--verde-scuro-pt);
}

/* HEADER */

#header {
    width: 100%;
    height: 150px;
    position: absolute;
    background-color: transparent;
	transition: .5s cubic-bezier(0.17,0.84,0.44,1);
	z-index: 999;
}

ul.menu-items {
    list-style-type: none;
    display: flex;
    flex-direction: row;
    margin: 0;
}

ul.menu-items li {
    margin-left: 50px;
}

ul.menu-items a {
	color: var(--nero-pt);
	text-decoration: none;
}

body.home ul.menu-items a {
	color: var(--bianco-pt);
}

ul.menu-items a:after {
	content: "";
	width: 100%;
	height: 1px;
	background-color: var(--verde-chiaro-pt);
	display: block;
	position: relative;
	margin-top: 10px;
	opacity: 0;
	transition: .5s;
}

ul.menu-items li:hover a:after {
	margin-top: 2px;
	opacity: 1;
}

.navbar {
    padding: 0 50px;
}

.navbar-brand img {
    max-height: 100px;
    width: auto;
    padding: 10px 0;
}

@media (max-width: 992px) {
	#header {
		height: 80px;
	}

	.navbar {
		padding: 0 15px 0 15px;
	}
}

/* HOME */

#slideshow {
	position: relative;
	top: 0;
	left: 0;
	z-index: 998;
	width: 100%;
	height: 100vh;
}

.slide {
	position: relative;
	width: 100%;
	height: 100%;
    display: flex;
    flex-flow: row;
}

.text-slide {
    display: flex;
    flex: 50%;
    flex-flow: column;
    justify-content: center;
    align-items: center;
}

.img-slideshow {
    height: 100%;
    flex: 50%;
    background-repeat: none;
	background-size: cover;
	background-position: top center;
}

@media (max-width: 992px) {
	.slide {
		flex-flow: column;
	}

	.text-slide {
		padding-top: 100px;
		padding-left: 15px;
		padding-right: 15px;
		align-items: start;
	}
}

.scheda-servizio {
	background-color: #FFF;
	border-radius: 5px;
	padding: 30px;
	box-shadow: 0px 0px 12px rgba(0, 0, 0, .15);
	min-height: 100%;
}

.scheda-servizio p{
	margin-bottom: 0 !important;
}

@media (max-width: 992px) {
	.scheda-servizio {
		min-height: auto;
		margin-bottom: 20px;
	}
}

/* FOOTER */

#footer {
	background-color: #5F7A6B;
	color: #FFF;
}

#footer a {
	color: #FFF;
}