/*!
Theme Name: Rm Starter Event
Description: Layout starter for ipg
Text Domain: rmstarterevent
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------


# Components
	- Navigation
	- Posts and pages
	- Comments
	- Widgets
	- Media
	- Captions
	- Galleries
# plugins
	- Jetpack infinite scroll
# Utilities
	- Accessibility
	- Alignments



/* Small menu. */
.menu-toggle,
.main-navigation.toggled ul {
	display: block;
}

* {
	font-family:  "Google Sans Flex", sans-serif;
	box-sizing: border-box;
}

@media screen and (min-width: 37.5em) {

	.menu-toggle {
		display: none;
	}

	.main-navigation ul {
		display: flex;
	}
}

.site-main .comment-navigation,
.site-main
.posts-navigation,
.site-main
.post-navigation {
	margin: 0 0 1.5em;
}

.comment-navigation .nav-links,
.posts-navigation .nav-links,
.post-navigation .nav-links {
	display: flex;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
	flex: 1 0 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
	text-align: end;
	flex: 1 0 50%;
}

/* Posts and pages
--------------------------------------------- */
.sticky {
	display: block;
}

.post,
.page {
	margin: 0 0 1.5em;
}

.updated:not(.published) {
	display: none;
}

.page-content,
.entry-content,
.entry-summary {
	margin: 1.5em 0 0;
}

.page-links {
	clear: both;
	margin: 0 0 1.5em;
}

/* Comments
--------------------------------------------- */
.comment-content a {
	word-wrap: break-word;
}

.bypostauthor {
	display: block;
}

/* Widgets
--------------------------------------------- */
.widget {
	margin: 0 0 1.5em;
}

.widget select {
	max-width: 100%;
}

/* Media
--------------------------------------------- */
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}

/* Make sure logo link wraps around logo image. */
.custom-logo-link {
	display: inline-block;
}

/* Captions
--------------------------------------------- */
.wp-caption {
	margin-bottom: 1.5em;
	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}

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

/* Galleries
--------------------------------------------- */
.gallery {
	margin-bottom: 1.5em;
	display: grid;
	grid-gap: 1.5em;
}

.gallery-item {
	display: inline-block;
	text-align: center;
	width: 100%;
}

.gallery-columns-2 {
	grid-template-columns: repeat(2, 1fr);
}

.gallery-columns-3 {
	grid-template-columns: repeat(3, 1fr);
}

.gallery-columns-4 {
	grid-template-columns: repeat(4, 1fr);
}

.gallery-columns-5 {
	grid-template-columns: repeat(5, 1fr);
}

.gallery-columns-6 {
	grid-template-columns: repeat(6, 1fr);
}

.gallery-columns-7 {
	grid-template-columns: repeat(7, 1fr);
}

.gallery-columns-8 {
	grid-template-columns: repeat(8, 1fr);
}

.gallery-columns-9 {
	grid-template-columns: repeat(9, 1fr);
}

.gallery-caption {
	display: block;
}

/*--------------------------------------------------------------
# Plugins
--------------------------------------------------------------*/

/* Jetpack infinite scroll
--------------------------------------------- */

/* Hide the Posts Navigation and the Footer when Infinite Scroll is in use. */
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
	display: none;
}

/* Re-display the Theme Footer when Infinite Scroll has reached its end. */
.infinity-end.neverending .site-footer {
	display: block;
}

/*--------------------------------------------------------------
# Utilities
--------------------------------------------------------------*/

/* Accessibility
--------------------------------------------- */

/* Text meant only for screen readers. */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	clip-path: none;
	color: #21759b;
	display: block;
	font-size: 0.875rem;
	font-weight: 500;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

/* Do not show the outline on the skip link target. */
#primary[tabindex="-1"]:focus {
	outline: 0;
}

/* Alignments
--------------------------------------------- */
.alignleft {

	/*rtl:ignore*/
	float: left;

	/*rtl:ignore*/
	margin-right: 1.5em;
	margin-bottom: 1.5em;
}

.alignright {

	/*rtl:ignore*/
	float: right;

	/*rtl:ignore*/
	margin-left: 1.5em;
	margin-bottom: 1.5em;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 1.5em;
}

/* 
=========================
SPECIFIC BY RM
=========================
*/
*{box-sizing: border-box;}
/* SECTION */
#welcome, #jumbo, #post_home{padding:30px 10px;}

body.error404,
body.page-template-page-sceglierci,
body.page-template-default,
body.page-template-page-chi-siamo,
body.page-template-page-default-2 {
	background-color: #000;
}

:root {
	--orange-color : rgb(220,121,60);
	--yellow-color: rgb(255,232,0);
	--magenta-color: rgb(230,0,126);
	/*--violet-color: #a11763;*/
	--violet-color: rgb(161, 23, 99);
	--pink-color : #d052a4;
	/*--pink-color: #e7a8d1;*/
	--turkish-color : rgb(0,159,227);
	--light-blue-color : rgb(125,192,227);
	--blue-color: rgb(32,65,104);
	--blue-dark: rgb(39,53,131);
	--blue-black: rgb(17, 1, 76);
	--green-color:#69a504;
}

.color-light-blue {
	color:var(--light-blue-color);
}
.color-blue {
	color:var(--blue-color);	
}

.bg-blue {
	background-color: var(--blue-color);
}

.bg-gradient-black {
	background: #000;
	background: linear-gradient(0deg,rgba(0,0,0, 0) 0%, rgba(0,0,0, 1) 20%);
	
}
/* MENU */
/* li.menu-item {padding: 5px 10px; margin:0 6px; background:#e9ecef; border-radius: 0.25rem; }
li.menu-item:hover { background:#b9bbbd; cursor:pointer;} */
/* IMAGES */
.bio_img{border-radius:50%;}
.my-img-responsive{height: 300px; object-fit: cover;}
.m-img-fluid{width: 100%; height: auto; object-fit: cover;}

/* LINK */
a { color: #000;text-decoration: none;}
a:hover{color: inherit; text-decoration: none;}

/* BORDI */
.my-border{border:.1px solid #666; }

/* CAROUSEL */
.owl-nav {display: flex;justify-content: space-between;}

/*
.site-main {
	min-height: 80vh;
}*/

nav.navbar {
	transition: all .5s ease-in;
}

.menu-icon-item a,
#menu-social-menu li a,
#menu-secondario li a ,
nav.navbar .menu-item a {
	color:#fff;
	font-size: 1.25rem;
	font-weight: 100;
}

.navbar .menu-item.current-menu-item a {
	font-weight: 500;
}

#menu-secondario {
	display:  flex;
	list-style: none;
	margin:0;
	padding: 0;
	flex-direction: column;
}

#menu-secondario .current_page_item {
	display: none!important;
}

#menu-secondario li  {
	background: #000;
	background: linear-gradient(180deg,rgba(0, 0, 0, 0.42) 0%, rgba(214, 214, 214, 0.37) 100%);
}

#menu-secondario li:is(:hover,:focus,:active)  {
	background: #000;
	background: linear-gradient(180deg,rgba(0, 0, 0, .1) 0, rgba(214, 214, 214, 0.4) 100%);
}

#menu-secondario li a {
	display: block;
	width: 100%;
	height: 100%;
	cursor: pointer;
	padding:24px 32px;
	text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 8px;
}


#menu-menu-it,
#menu-secondario {
	gap:1.4em;
}


.img-header {
	width: 100%;
	object-fit: cover;
	height: 400px;
	/*object-position: center;*/
	object-position: 0;
}

.social-icon {
	width: 20px;
	height: 20px;
	object-fit: contain;
	filter: invert(1);
}

.icona_telefono {
	width: 30px;
	height: 30px;
	left: -15px;
	display: inline-block;
	border-radius: 50px;
}

.icona_whatsapp {
	width: 20px;
	height: 20px;
	background-color: #fff;
	 -webkit-mask-image: url('assets/img/icone/whatsapp.svg');
  	mask-image: url('assets/img/icone/whatsapp.svg');
  	mask-repeat: no-repeat;
	mask-position: center;
    mask-size: cover;
}

.icona_telefono .icona_telefono_bg {
	width: 100%;
	height: 100%;
	background-color: #fff;
	 -webkit-mask-image: url('assets/img/icone/whatsapp.svg');
  	mask-image: url('assets/img/icone/whatsapp.svg');
  	mask-repeat: no-repeat;
	transform: scaleX(-1);
	mask-position: center;
    mask-size: cover;
}


.menu-icon-item {
	border-radius: 50px;
	padding:12px;
	border:1px solid #fff;
	display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
	color: #fff;
	cursor: pointer;
	width: 40px;
	height: 40px;
}

.menu-icon-item:is(:hover,:focus) a{
	color:#000;
}

.menu-icon-item:is(:hover,:focus) {
	background-color: #fff;
	color:#000;
}

.menu-icon-item:is(:hover,:focus) .social-icon {
	filter:invert(0);
}

p {
	margin-bottom: 0;
}



/* TITOLI PAGINE  HEADER */
.page-template-page-anatomia .title-header,
.page-template-page-lab .title-header,
.page-template-page-bio .title-header,
.page-template-page-formazione .title-header {
	position: absolute;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
}

.page-template-page-default-2 hr,
.page-template-page-sceglierci hr,
.page-template-default hr,
.page-template-page-lab hr,
.page-template-page-bio hr,
.page-template-page-formazione hr,
.page-template-page-chi-siamo hr{
	border-top:1px solid #fff; 
	opacity:1;
}

.page-template-page-sceglierci .title-header,
.page-template-page-default-2 .title-header,
.page-template-page-chi-siamo .title-header,
.page-template-default .title-header {
	position: absolute;
	left: 0;
	bottom: 1rem;
}

.bg-top-alpa {
	display: none;
}

/* ANATOMIA */
/*
.page-template-page-anatomia nav.navbar {
	background: #E7A8D1;
	background: linear-gradient(0deg,rgba(231, 168, 209, 0.39) 0%, rgba(231, 168, 209, 1) 44%);

}*/

.page-template-page-anatomia nav.navbar {
	background: #180e30;
	background: linear-gradient(0deg,rgba(24, 14, 48, 0) 0%, rgba(24, 14, 48, 1) 20%);
}

body.page-template-page-anatomia {
	background-color:#180e30;		
}

body.page-template-page-anatomia h1,
body.page-template-page-anatomia .title-header h2 {
	color:#fff;
}

body.page-template-page-anatomia .bg-top-alpa {
	height: 40px;
	width: 100%;
	background: rgb(24, 14, 48);
	background: linear-gradient(180deg,rgba(24, 14, 48, 0) 0%, rgba(24, 14, 48, 1) 100%);
	position:absolute;
	bottom: 0;
	left: 0;
}

body.page-template-page-anatomia .overlay {
	position: absolute;
	width: 100%;
	height: 100%;
	background: #180e30;
	background: linear-gradient(0deg,rgba(24, 14, 48, 1) 0%, rgba(24, 14, 48, 0.08) 5%);
	z-index: 100;
}

/*
body .overlay-black {
	position: absolute;
	width: 100%;
	height: 100%;
	background: #000000;
	background: linear-gradient(180deg,rgba(0,0,0, 0.4) 0%, rgba(0,0,0, 0.08) 113%)
	
}*/

.page-template-page-anatomia hr{
	border-top:1px solid #fff; 
	opacity:1;
}

body.page-template-page-anatomia .site-main {
	color:#fff;
}

body.page-template-page-anatomia  p,body.page-template-page-anatomia ul li {
	color:#fff;
}

body.page-template-page-anatomia .vertical-border-white::after {
	background-color: #fff;
}

/*
body.page-template-page-anatomia .overlay {
	position: absolute;
	width: 100%;
	height: 100%;
	background: #D03EA4;
background: linear-gradient(180deg,rgba(208, 62, 164, 0) 0%, rgba(208, 62, 164, 0.8) 100%);
}*/

/* LAB */

.page-template-page-lab nav.navbar {
	background: #204168;
	background: linear-gradient(0deg,rgba(32, 65, 104, 0) 0%, rgba(32, 65, 104, 1) 20%);
	
}

body.page-template-page-lab {
	background-color: var(--blue-color);	
}

body.page-template-page-lab h1,
body.page-template-page-lab .title-header h2 {
	color:#fff;
}


body.page-template-page-lab .site-main {
	color:#fff;
}

body.page-template-page-lab .overlay {
	position: absolute;
	width: 100%;
	height: 100%;
	background: #204168;
	background: linear-gradient(0deg,rgba(32, 65, 104, 1) 0%, rgba(32, 65, 104, 0.08) 5%);
}

/* end page-template-lab */



/* BIO */

.page-template-page-bio nav.navbar {
	background: #A11763;
	background: linear-gradient(0deg,rgba(161, 23, 99, 0) 0%, rgba(161, 23, 99, 1) 20%);
}

body.page-template-page-bio {
	background-color:var(--violet-color);	
}

body.page-template-page-bio h1,
body.page-template-page-bio .title-header h2 {
	color:#fff;
}


body.page-template-page-bio .site-main {
	color:#fff;
}

body.page-template-page-bio .overlay {
	position: absolute;
	width: 100%;
	height: 100%;
	background: #A11763;
	background: linear-gradient(0deg,rgba(161, 23, 99, 1) 0%, rgba(161, 23, 99, 0.08) 5%);
}

/* end page-template-bio */

/* CHI-SIAMO */

body.page-template-page-chi-siamo h1,
body.page-template-page-chi-siamo .title-header h2 {
	color:#fff;
}

body.page-template-page-chi-siamo .site-main {
	color:#fff;
}

/* end page-template-chi-siamo */


/* FORMAZIONE */

.page-template-page-formazione nav.navbar {
	background: #11014c;
	background: linear-gradient(0deg,rgba(17, 1, 76, 0) 0%, rgba(17, 1, 76, 1) 20%);
}

body.page-template-page-formazione {
	background-color:var(--blue-black);	
}

body.page-template-page-formazione h1,
body.page-template-page-formazione .title-header h2 {
	color:#fff;
}


body.page-template-pagformazione .site-main {
	color:#fff;
}

body.page-template-page-formazione .overlay {
	position: absolute;
	width: 100%;
	height: 100%;
	background: rgb(17, 1, 76);
	background: linear-gradient(0deg,rgba(17, 1, 76, 1) 0%, rgba(17, 1, 76, 0.08) 5%);
}


body.page-template-page-formazione .vertical-border-white  {
	color:#fff;
}


/* end page-template-formazione */

/* CONDIVISI */
body.page-template-page-default-2 a,
body.page-template-page-sceglierci h1,
body.page-template-page-sceglierci .title-header h2,
body.page-template-page-sceglierci .vertical-border-white,
body.page-template-page-sceglierci .site-main,
body.page-template-page-default-2 h1,
body.page-template-page-default-2 .title-header h2,
body.page-template-page-default-2 .site-main,
body.page-template-page-default-2 .vertical-border-white{
	color:#fff;
}
/* end CONDIVISI */

.img-100 {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}


ul.wp-block-list,
.font-weight-100,
h3 {
	font-weight: 100;	
}

h2 {
	font-weight: 500;
}

h2.subtitle_header{
	font-weight: 100;
	line-height: 1em;
	font-size:calc(1.375rem + 1.5vw);
}

h2.title_section {
    line-height: .9;
    font-weight: 100;
    font-size: calc(1.375rem + 1.5vw);
}

h2,h3 {
	
	line-height: 1.6;
}

h1 {
	/*line-height: .9;*/
	line-height:1.2em;
}

strong {
	font-weight: 500;
}

.error404 .overlay,
.page-template-page-sceglierci .overlay,
.page-template-page-default-2 .overlay,
.page-template-page-chi-siamo .overlay,
.page-template-default .overlay {
	position: absolute;
	width: 100%;
	height: 100%;
	background: #000;
	/*background: linear-gradient(0deg,rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.08) 5%);*/
	background: linear-gradient(0deg,rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.08) 100%);
}

ul.light_list li::marker {
  color: var(--light-blue-color);
}

.servizi-tabs .nav-link {
	border-bottom: 1px solid var(--light-blue-color);
	text-transform: uppercase;
	display: flex;
	align-items: center;
	position: relative;
}

.servizi-tabs .nav-link:is(:hover,:focus,:active),
.servizi-tabs .nav-link.active {
	color:#fff;
}
.servizi-tabs .nav-link.active::after,
.servizi-tabs .nav-link::after {
	content: "";
	width: 35px;
	height: 35px;
	position: absolute;
	top:50%;
	right:-10px;
	transform: translateY(-50%);
	mask-repeat: no-repeat;
	mask-size: contain;
	display: inline-block;
	-webkit-mask-image: url('assets/img/icone/arrow_right.svg');
  	mask-image: url('assets/img/icone/arrow_right.svg');
}

.servizi-tabs .nav-link::after {
	background-color: var(--light-blue-color);
}

.servizi-tabs .nav-link.active .icona-servizi,
.servizi-tabs .nav-link:is(:hover,:focus,:active) .icona-servizi,
.servizi-tabs .nav-link:is(:hover,:focus,:active)::after,
.servizi-tabs .nav-link.active::after {
	background-color: #fff!important;
}

.icona-servizi {
	width: 35px;
	height: 35px;
	background-color: var(--light-blue-color);
  	mask-repeat: no-repeat;
	mask-size: contain;
	display: inline-block;
}

.icona-servizi.icona-anatomia{
 -webkit-mask-image: url('assets/img/icone/anatomia-patologica.svg');
  	mask-image: url('assets/img/icone/anatomia-patologica.svg');
}

.icona-servizi.icona-bio{
 -webkit-mask-image: url('assets/img/icone/biologia-molecolare.svg');
  	mask-image: url('assets/img/icone/biologia-molecolare.svg');
}

.icona-servizi.icona-genetica{
 -webkit-mask-image: url('assets/img/icone/genetica-molecolare.svg');
  	mask-image: url('assets/img/icone/genetica-molecolare.svg');
}

.icona-servizi.icona-lab{
 -webkit-mask-image: url('assets/img/icone/lab-service.svg');
  	mask-image: url('assets/img/icone/lab-service.svg');
}

.vertical-border-white {
	position: relative;
	padding-left: 2.2em;
}

.wp-block-list {
	padding: 0;
	list-style-position: inside;
}

@media screen and (max-width:767px){

	
	.vertical-border-white-mobile {
		position: relative;
		padding-left: 2.2em;
	}	

	.vertical-border-white-mobile::after {
	content:"";
	position:absolute;
	left: 15px;
	top:0;
	width: 1px;
	height: 100%;
	background-color: #fff;
	}
}


.vertical-border-white-mobile p,.vertical-border-white-mobile ul li, .vertical-border-white-mobile ol li,
.vertical-border-white p, .vertical-border-white ul li, .vertical-border-white ol li {
	font-size: 1.2rem;
	line-height: 1.4;
	font-weight: 100;
	word-break: break-word;
}

.vertical-border-white::after {
	content:"";
	position:absolute;
	left: 15px;
	top:0;
	width: 1px;
	height: 100%;
	background-color: #fff;
}



.linea_orizzontale::after{
	content:"";
	width: 100%;
	height: 2px;
	background-color: #fff;
	position: absolute;
	left: 0;
	top:50%;
	transform: translateY(-50%);
}

.icona-torna-su {
	width: 20px;
	height: 20px;
	background-color: #fff;
  	mask-repeat: no-repeat;
	mask-size: contain;
	display: inline-block;
}

.icona-torna-su{
 -webkit-mask-image: url('assets/img/icone/arrow_long_up.svg');
  	mask-image: url('assets/img/icone/arrow_long_up.svg');
}

/* animated icon menù toggle */

.animated-icon {
	width: 20px;
	height: 15px;
	position: relative;
	margin: 0px;
	-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;
}

.animated-icon span {
	display: block;
	position: absolute;
	height: 3px;
	width: 100%;
	border-radius: 9px;
	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;
}

.animated-icon span {
	background: #fff;
}

.animated-icon span:nth-child(1) {
	top: 0px;
}

.animated-icon span:nth-child(2),
.animated-icon span:nth-child(3) {
	top: 6px;
}

.animated-icon span:nth-child(4) {
	top: 12px;
}

.animated-icon.open span:nth-child(1) {
	top: 11px;
	width: 0%;
	left: 50%;
}

.animated-icon.open span:nth-child(2) {
	-webkit-transform: rotate(45deg);
	-moz-transform: rotate(45deg);
	-o-transform: rotate(45deg);
	transform: rotate(45deg);
}

.animated-icon.open span:nth-child(3) {
	-webkit-transform: rotate(-45deg);
	-moz-transform: rotate(-45deg);
	-o-transform: rotate(-45deg);
	transform: rotate(-45deg);
}

.animated-icon.open span:nth-child(4) {
	top: 11px;
	width: 0%;
	left: 50%;
}

a.generic_btn {
			    display: inline-block;
				width: auto;
				height: 100%;
				cursor: pointer;
				padding: 24px 32px;
				text-decoration: underline;
				text-decoration-thickness: 2px;
				text-underline-offset: 8px;
			background: linear-gradient(180deg, rgba(0, 0, 0, 0.42) 0%, rgba(214, 214, 214, 0.37) 100%)
		}

@media screen and (min-width: 768px) {

	

	h2.subtitle_header {
        font-size: 2.5rem;
    }

	#menu-secondario {
		flex-direction: row;
	}

	.page-template-page-anatomia .title-header,
	.page-template-page-lab .title-header,
	.page-template-page-bio .title-header,
	.page-template-page-formazione .title-header {
	top: 45%;
	transform: translateY(-50%);
	min-height: 300px;
	}	

}

@media screen and (min-width: 768px) {
	.img-header {
		height: 100vh;
	}
}

@media screen and (min-width: 1200px) {
	.desk-nopointer{
		pointer-events: none;
	}

	h2.title_section{
		font-size: 2.5em;
	}
}

dl, ol, ul, ul.wp-block-list {
	margin: 0;
}