/* Global */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	font-family: 'Source Serif 4', serif;
	font-size: 14pt;
	font-weight: 300;
	line-height: 1.65;
	background-color: rgb(3, 63, 66);
	/* background-color: #105B52; */
/* 	background-image: linear-gradient(90deg, rgba(47, 198, 185, 0.7) 15%, rgba(16, 118, 109, 0.7) 85%); */
}

@media all and (max-width: 1280px) {

	body {
		font-size: 12pt;
	}

}

@media all and (max-width: 360px) {

	body {
		font-size: 11pt;
	}

}

a {
	text-decoration: none;
	color: inherit;
}

strong, b {
	font-weight: 400;
}

h1, h2 {
	font-weight: 300;
	line-height: 1.5;
	margin: 0 0 0 0;
}

h1 {
	font-size: 2.5em;
	line-height: 1.2;
	letter-spacing: -0.025em;
}

h2 {
	font-size: 20px;
}

.txt-black {
	color: #000;
}

.txt-white {
	color: #fff;
}

img {
	border-radius: 8px;
	box-shadow: 0px 0px 5px 2px rgba(0, 0, 0, 0.5);
}

ul {
	list-style: disc;
	margin: 0 0 2em 0;
	padding-left: 1em;
}

.align-left {
	text-align: left;
}

.align-right {
	text-align: right;
}

.align-center {
	text-align: center;
}

.align-justify {
	text-align: justify;
}

.m-bot {
	margin-bottom: 15px;
}

.m-top {
	margin-top: 15px;
}

.objects-opacity {
	opacity: 0;
	transform: translateY(-15px);
	transition: opacity 1s ease, transform 1s ease;
}

.objects-show {
	opacity: 1;
	transform: translateY(0);
	transition-delay: 0.1s;
}

.logo-opacity {
	opacity: 0;
	transform: scale(0.5) rotate(-25deg);
	transition: opacity 1s ease, transform 1s ease;
}

.logo-show {
	opacity: 1;
	transform: none;
}

/* Icons */
.icon {
	display: flex;
	justify-content: center;
	align-items: center;
	font-size: 1.40em;
	width: 2em;
	height: 2em;
	border-radius: 100%;
	transition: color 0.5s ease, background-color 0.5s ease;
	color: rgb(47, 198, 185);
	background-color: rgba(0, 0, 0, 0.7);
}

.icon:hover {
	color: rgba(255, 255, 255, 0.9);
	background-color: rgba(0, 0, 0, 0.8);
}

ul.icons-list {
	list-style: none;
	padding-left: 0;
}

ul.icons-list li {
	display: inline-block;
	padding: 0 0.65em 0 0;
}

ul.icons-list li:last-child {
	padding-right: 0 !important;
}

/* Navigation Buttons */
.btn-box {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 150px;
	height: 50px;
	margin: 1em auto;
	background-color: rgba(0, 0, 0, 0.7);
	color: rgb(47, 198, 185);
	border-radius: 0.25em;
	transition: color 0.5s ease, background-color 0.5s ease;
}

.btn-box:hover {
	color: rgba(255, 255, 255, 0.9);
	background-color: rgba(0, 0, 0, 0.8);
}

.btn-box .btn-txt {
	font-size: 18px;
	font-weight: 400;
	letter-spacing: 1px;		
}

@media all and (max-width: 980px) {

	.btn-box {
		width: 130px;
		height: 45px;
		margin: 1.5em auto;
	}

	.btn-box .btn-txt {
		font-size: 16px;
	}

}

@media all and (max-width: 480px) {

	.btn-box {
		width: 120px;
		height: 40px;
	}

	.btn-box .btn-txt {
		font-size: 14px;
	}

}

/* Wrapper */
#wrapper {
	width: 64em;
	max-width: calc(100% - 4em);
	margin: 0 auto;
}

@media all and (max-width: 480px) {

	#wrapper {
		max-width: calc(100% - 2em);
	}

}

@media all and (max-width: 360px) {

	#wrapper {
		max-width: 100%;
	}

}

/* Header */
#header {
	padding: 2em 0em 0em 0em;
}

#header h1 {
	font-size: 3.25em;
	margin: 0 0 0.25em 0;
}

#header p {
	font-size: 1.25em;
}

#header .logo {
	display: block;
	margin: 0 0 1.5em 0;
}

#header .logo img {
	display: block;
	margin: 0 auto;
	max-width: 20%;
	box-shadow: none;
}

@media all and (max-width: 980px) {

	#header {
		padding: 2em 2em 0em 2em;
	}

	#header .logo img {
		width: 15em;
	}

	#header h1 {
		font-size: 2.5em;
	}

	#header p {
		font-size: 1.10em;
	}

}

@media all and (max-width: 480px) {

	#header {
		padding: 2em 1.5em 0em 1.5em ;
	}

	#header .logo img {
		max-width: 35%;
	}

	#header h1 {
		font-size: 1.8em;
		margin: 0 0 0.5em 0;
	}

	#header p {
		font-size: 1em;
		letter-spacing: 0;
	}

}

/* Nav */
#nav {
	position: absolute;
	width: 64em;
	max-width: calc(100% - 4em);
	padding: 1em;
	background-color: rgba(0, 0, 0, 0.85);
	border-top-left-radius: 0.25em;
	border-top-right-radius: 0.25em;
	z-index: 998;
}

#nav + #main {
	padding-top: 4.25em;
}

#nav ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

#nav ul li {
	transition: margin 0.2s ease;
	display: inline-block;
	margin: 5px 15px 5px 15px;
}

#nav ul li a {
	display: flex;
	justify-content: center;
	align-items: center;
	transition: all 0.5s ease;
	font-size: 18px;
	font-weight: 400;
	letter-spacing: 0.025em;
	text-transform: uppercase;
	height: 2.25em;
	width: 15em;
	padding: 0 1.25em;
	border-radius: 8px;
}

#nav ul li a:hover {
	background-color: rgba(47, 198, 185, 0.1);
}

#nav ul li a.active {
	background-color: rgba(47, 198, 185, 0.4);
}

#nav.alt {
	position: fixed;
	top: 0;
	border-top-left-radius: 0;
	border-top-right-radius: 0;
	backdrop-filter: blur(10px);
	z-index: 998;
}

@media all and (max-width: 980px) {

	#nav ul li {
		margin: 0;
		padding: 5px 0px 5px 0px;
	}

	#nav ul li a {
		font-size: 16px;
	}

	#nav + #main {
		padding-top: 4.5em;
	}

}

@media all and (max-width: 840px) {

	#nav ul li {
		display: flex;
		justify-content: center;
	}

	#nav + #main {
		padding-top: 8.5em;
	}

}

@media all and (max-width: 480px) {

	#nav {
		max-width: calc(100% - 2em);
	}

	#nav ul li {
		margin: 0;
		padding: 0px 0px 5px 0px;
	}

	#nav ul li:last-child {
		padding-bottom: 0;
	}

	#nav ul li a {
		font-size: 14px;
	}

}

@media all and (max-width: 360px) {

	#nav {
		max-width: 100%;
		border-radius: 0;
	}

}

/* Main */
#main {
	background-color: rgba(255, 255, 255, 0.8);
	border-radius: 0.25em;
}

section:last-child {
	padding: 3em 0em 1.5em !important;
}

#main > section {
	padding: 3em 4em 0;
}

@media all and (max-width: 980px) {

	#main > section {
		padding: 4em 3em 0em 3em;
	}

}

@media all and (max-width: 480px) {

	#main > section {
		padding: 3em 1.5em 1em 1.5em;
	}

	#main > section:nth-child(2) {
		padding: 2em 1.5em 1em 1.5em;
	}

	section:last-child {
		padding: 2em 0em 0.5em !important;
	}

}

@media all and (max-width: 360px) {

	#main {
		border-radius: 0;
	}

}

/* Titles */
.titles {
	margin-bottom: 25px;
}

.titles h1 {
	font-size: 2em;
	font-weight: 400;
	text-transform: uppercase;
}

.titles h1:after {
	display: block;
	content: '';
	width: 150px;
	height: 3px;
	margin: 15px 0 15px 0;
	border-radius: 2px;
	margin-left: 0;
	margin-right: auto;
	background-image: linear-gradient(90deg, rgba(16, 118, 109, 0.7), rgba(47, 198, 185, 0.7));
}

.titles.line h1:after {
	margin-left: auto;
	margin-right: auto;
}

@media all and (max-width: 480px) {

	.titles {
		margin-bottom: 0;
	}

	.titles h1 {
		font-size: 1.5em;
		text-align: center;
	}

	.titles h1:after {
		margin-left: auto;
	}

}

/* Presentazione */
.presentation {
	display: flex;
	align-items: center;
	margin: 0 0 0 0;
}

.presentation .titles {
	margin: 0 0 0 0;
}

.presentation p:last-child {
	margin-bottom: 0;
}

.presentation .pre-img {
	margin-left: 4em;
	padding: 0;
}

.presentation .pre-img img {
	width: 16em;
}

@media all and (max-width: 980px) {

	.presentation {
		flex-direction: column;
		margin: 0;
	}

	.presentation .pre-img {
		margin-left: 0;
		margin-top: 2em;
	}

	.presentation .pre-img img {
		width: 13em;
	}

}

/* Patologie Trattate */
.pathologies {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	width: calc(100% + 2em);
	margin: 0 0 0 -2em;
	padding: 0;
	list-style: none;
}

#PatologieTrattate .titles {
	margin: 0 0 0 0;
}

.pathologies li {
	width: calc(33.33333% - 2em);
	margin-left: 2em;
	margin-top: 3em;
	padding: 0;
}

.pathologies .desc-pat-ul {
	margin: 0px 0 0 40px;
	padding: 0;
}

.pathologies .desc-pat-li {
	width: 100%;
	margin: 5px 0 0 0;
	padding: 0;
}

.pathologies li:nth-child(1), .pathologies li:nth-child(2), .pathologies li:nth-child(3) {
	margin-top: 5px;
}

.pathologies .pat-imgs {
	width: 15em;
}

.m-top-pat {
	margin-top: 10px;
}
	
@media all and (max-width: 980px) {

	.pathologies .desc-pat-ul {
		margin: 0px 0 0 70px;
	}

	.pathologies li {
		width: calc(50% - 2em);
	}

	.pathologies li:nth-child(3) {
		margin-top: 3em;
	}

	.pathologies .desc-pat-li:nth-child(3) {
		margin-top: 5px;
	}

}

@media all and (max-width: 480px) {

	.pathologies {
		width: 100%;
		margin: 0 0 0 0;
	}

	.pathologies h2 {
		font-size: 18px;
	}

	.pathologies .desc-pat-ul {
		margin: 0px 0 0 60px;
	}

	.pathologies li {
		width: 100%;
		margin-left: 0;
		margin-top: 2em;
	}

	.pathologies li:nth-child(2), .pathologies li:nth-child(3) {
		margin-top: 2em;
	}

	.pathologies .desc-pat-li {
		margin: 5px 0 0 0 !important;
	}

	.pathologies .pat-imgs {
		width: 14em;
	}

}

/* Studio Medico - Slider */
#StudioMedico .study-txt {
	margin: 0 5em 0 5em;
}

#StudioMedico .study-txt p {
	margin-bottom: 15px;
}

#StudioMedico .study-txt ul {
	padding-left: 3em;
}

#StudioMedico .study-txt ul li {
	margin-bottom: 5px;
}

.gallery {
	display: flex;
	justify-content: center;
	position: relative;
	margin: 25px 2.5% 0px 2.5%;
}

.overlay {
	position: absolute;
	cursor: pointer;
	opacity: 0;
	visibility: hidden;
	transition: all 0.5s ease;
	height: 100%;
	width: 100%;
	top: 0;
	left: 0;
	border-radius: 8px;
	background-color: rgba(0, 0, 0, .7);
}

.gallery:hover .overlay {
	opacity: 1;
	visibility: visible;
}

.overlay-txt {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}

.overlay-txt i {
	font-size: 1.6em;
	margin-top: 20px;
}

.overlay-txt span {
	font-size: 1.3em;
	letter-spacing: 5px;
}

.thumbnail {
	width: 100%;
	height: 100%;
}

.fullscreen-slider {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 999;
	background-color: #000;
	overflow: hidden;
}

.slider-image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 0;
	box-shadow: none;
}

.opacity {
	opacity: 0;
	transition: 200ms opacity ease-in-out;
	transition-delay: 200ms;
}

.show {
	opacity: 1;
	z-index: 998;
	transition-delay: 0ms;
}

.close-btn {
	font-size: 30px;
	position: absolute;
	top: 20px;
	right: 30px;
	cursor: pointer;
}

.prev, .next {
	position: absolute;
	top: 45%;
	font-size: 30px;
	font-weight: bold;
	cursor: pointer;
	z-index: 1;
}

.prev {
	left: 30px;
}

.next {
	right: 30px;
}

.slider-icons {	
	border-radius: 0.25em;
	width: 50px;
	height: 50px;
	display: flex;
	justify-content: center;
	align-items: center;
	z-index: 999;
	font-size: 25px;
	transition: color 0.5s ease, background-color 0.5s ease;
	color: rgba(0, 0, 0, 0.9);
	background-color: rgba(255, 255, 255, 0.8);		
}

.slider-icons:hover {
	color: rgb(47, 198, 185);
	background-color: rgba(255, 255, 255, 0.9);	
}

#fullscreenSlider::-webkit-scrollbar {
	display: none; 
  scrollbar-width: none;
	-ms-overflow-style: none;
}

@media all and (max-width: 980px) {

	.overlay {
		display: none;
	}

	.close-btn {
		right: 20px;
	}

	.prev, .next {
		top: 48%;
	}

	.prev {
		left: 20px;
	}
	
	.next {
		right: 20px;
	}

	.slider-icons {	
		width: 40px;
		height: 40px;
		font-size: 20px;
	}
	
}

@media all and (max-width: 480px) {

	#StudioMedico .study-txt {
		margin: 0 1.5em 0 1.5em;
	}

	.slider-image {
		object-fit: contain;
	}
	
	.close-btn {
		top: 30px;
		right: 10px;
	}

	.prev, .next {
		top: 49%;
	}
	
	.prev {
		left: 10px;
	}
	
	.next {
		right: 10px;
	}
	
	.slider-icons {	
		width: 30px;
		height: 30px;
		font-size: 15px;
	}
	
}

/* Footer */
.footer {
	display: flex;
	justify-content: space-evenly;
	margin-top: 3em;
}

#footer h1 {
	font-size: 3.25em;
	margin: 0 0 0.25em 0;
}

.footer .footer-lists-box {
	width: 30%;
}

.footer ul {
	margin-bottom: 1em;
}

.footer ul li {
	padding-bottom: 10px;
}

.footer ul li:last-child {
	padding-bottom: 0;
}

ul.footer-list {
	list-style: none;
	padding-left: 0;
}

ul.footer-list li {
	padding: 0.5em 0;
}

ul.footer-list li:first-child {
	padding-top: 0;
}

.footer a {
	font-weight: 400;
	transition: color 0.5s ease;
}

.footer span {
	font-size: 22px;
	margin-left: 10px;
}

.footer a:hover {
	color: rgb(47, 198, 185);
}

#footer iframe {
	width: 500px;
	height: 350px;
	border: 0;
	border-radius: 8px;
}

#footer .copyright {
	width: 100%;
	margin: 2em 0 2em 0;
	font-size: 0.8em;
}

@media all and (max-width: 980px) {

	#footer h1 {
		font-size: 2.5em;
		text-align: center;
	}

	#footer iframe {
		width: 100%;
	}

	.footer {
		flex-direction: column;
		margin-top: 0;
	}

	.footer .footer-lists-box {
    width: 100%;
	}

	.footer ul li {
		padding-bottom: 5px;
	}

}

@media all and (max-width: 480px) {

	#footer h1 {
		font-size: 1.8em;
		margin: 0 0 0.75em 0;
	}

	.footer span {
		font-size: 18px;
	}

	#footer iframe {
		height: 350px;
	}

}
