/** !
Theme Name: ENPAB
Theme URI: https://artemida.it
Description: ENPAB
Author: Artemida
Author URI: https://artemida.it
Version: 1.0.0
Tags:
Text Domain: enpab
License: License
License URI: https://artemida.it
*/

/* Start custom CSS  */


@media only screen and (max-width:400px) {
	.fc-header-toolbar.fc-toolbar.fc-toolbar-ltr .fc-listWeek-button {
		display: none;
	}
}
@media only screen and (max-width:991px) {
	.fc-header-toolbar.fc-toolbar.fc-toolbar-ltr {
		display: block !important;
	}
	.fc-toolbar-chunk {
		margin: 10px 0 !important;
	}
}
@media only screen and (max-width:450px) {
	.main-navbar .col-12 .btn {
		font-size: .6rem !important;
	}
}
@media only screen and (max-width:336px) {
	.main-navbar .col-12 .btn {
		font-size: .5rem !important;
	}
}

article .entry-content #menu-trasparenza {
	list-style: none;
	margin: 0;
	padding-left: 0;
}
article .entry-content #menu-trasparenza li {
	line-height: 2rem;
	padding-left: 0;
	margin-left: 0;
}
/*ICONE LINK */
article section .entry-content a[href*='http'] {
  background: transparent url(/media/jce/icons/html.png) center left no-repeat;
  padding-left: 20px;
}
 .entry-content a[href$='.pdf'] {
  background: transparent url(/media/jce/icons/pdf.png) center left no-repeat;
  padding-left: 20px;
}
 .entry-content a[href$='.doc'],
 .entry-content a[href$='.docx'] {
  background: transparent url(/media/jce/icons/doc.png) center left no-repeat;
  padding-left: 20px;
}
 .entry-content a[href$='.ppt'],
 .entry-content a[href$='.pptx'] {
  background: transparent url(/media/jce/icons/ppt.png) center left no-repeat;
  padding-left: 20px;
}
 .entry-content a[href$='.jpg'],
 .entry-content a[href$='.JPG'],
 .entry-content a[href$='.jpeg'],
 .entry-content a[href$='.JPEG'],
 .entry-content a[href$='.gif'],
 .entry-content a[href$='.png'] {
  background: transparent url(/media/jce/icons/jpg.png) center left no-repeat;
  padding-left: 20px;
}


/* RIMUOVI OLD ICONE */
/*
a:has( > img[src*='/media/jce/icons/']) {
  display:none;
}
*/
a.wf_file img {
	display:none;
}
a:has(> img.wf_file_icon:only-child){
    display: none;
}

.offcanvas {
	z-index: 99999;
}

a.offcanvasEnpab {
	text-align:center;
}
.offcanvasEnpab img {
	width: 50px;
	height: auto;
}

@keyframes slideIn {
    0% {
        transform: translateY(-1.5rem);
        opacity: 0;
    }
    100% {
        transform: translateY(0rem);
        opacity: 1;
    }
}


.offcanvas-collapse {
	position: fixed;
	top: 56px; /* Height of navbar */
	bottom: 0;
	left: 100%;
	width: 100%;
	padding-right: 1rem;
	padding-left: 1rem;
	overflow-y: auto;
	visibility: hidden;
	background-color: #343a40;
	transition: transform .3s ease-in-out, visibility .3s ease-in-out;
}
.offcanvas-collapse.open {
	visibility: visible;
	transform: translateX(-100%);
}

.has-megamenu .dropdown-menu.depth_0.show {
    -webkit-animation-name: slideIn;
    animation-name: slideIn;
    animation-duration: 0.4s;
    animation-fill-mode: both;
}

.navbar .has-megamenu .depth_0.show>li>a {
	font-size: 1rem;
	text-transform: uppercase;
}
.navbar-collapse::before, .navbar-collapse::after {
    margin-left: calc((100% - 100vw) / 2);
}
.navbar-collapse::after {
    margin-right: calc((90% - 100vw) / 2);
}
.has-megamenu .dropdown-menu.depth_0 {
	width: 100vw; /* make it 100% of the viewport width (vw) */
    margin-left: calc((100% - 100vw) / 2);  /* then remove the gap to the left of the container with this equation */
    margin-right: calc((100% - 100vw) / 2);
	padding-left: calc((100vw - 100%) / 2);
	padding-right: calc((100vw - 100%) / 2);
}

.offcanvas-body .dropdown-menu.depth_0,
.offcanvas-body .dropdown-menu.depth_1,
.offcanvas-body .dropdown-menu.depth_2 {
	position: relative !important;
}
.offcanvas-body .dropdown-menu.depth_0 > .menu-item-has-children > a::after,
.offcanvas-body .dropdown-menu.depth_1 > .menu-item-has-children > a::after{
	border-top: .3em solid;
	border-right: .3em solid transparent;
	border-bottom: 0;
	border-left: .3em solid transparent;
}
.offcanvas-body .dropdown-menu.depth_0 > .menu-item-has-children a::after {
	border-left-color: transparent;
}
.offcanvas-body .dropdown-menu.depth_1,
.offcanvas-body .dropdown-menu.depth_2{
	left: 0.3rem !important;
	top: 0 !important;
	transform: none !important;
}

.offcanvas-body .menu-item {
	width: 100% !important;
}

.owl-carousel .owl-wrapper-outer {
	height: 100%;
}
.owl-h90 {
	height: 90%;
}

#sidemenu a {
	padding: .5rem 1rem;
	text-decoration: none;
	border-bottom:1px solid rgba(234,234,234,1.00);
}
@media only screen and (min-width:767px) {
	.owl-h90 {
		margin-left: -80px;
	}
}
.zindex99 {
	z-index: 99;
}
.zindex999 {
	z-index: 999;
}
.zindex9999 {
	z-index: 9999;
}
.owl-centered .owl-wrapper {
  display: table !important;
	height: 100%;
}
.owl-centered .owl-item {
  display: table-cell;
  float: none;
  vertical-align: middle;
}
.owl-centered .owl-item > div {
  text-align: center;
}

.owl-item .icon-white {
	position: relative;
	top:45% !important;
	width:40px !important;
	margin:auto !important;
	display: block;
}
.titoloslide {
	overflow: hidden;
   display: -webkit-box;
   -webkit-line-clamp: 2; /* number of lines to show */
		   line-clamp: 2;
   -webkit-box-orient: vertical;
}
.testoslide {
	overflow: hidden;
   display: -webkit-box;
   -webkit-line-clamp: 2; /* number of lines to show */
		   line-clamp: 2;
   -webkit-box-orient: vertical;
}
.hentry a {
	text-decoration: underline;
	text-underline-offset: 3px;
	transition: all .2s ease-in-out;
}
.hentry a:hover {
	text-underline-offset: 1px;
}

.post-slide {
    background: #fff;
    margin: 20px 15px 20px;
    border-radius: 15px;
    padding-top: 1px;
    box-shadow: 0px 1px 12px 1px #cccccc;
}

.post-slide .post-img {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    margin: 15px 15px 8px 15px;
	height: 240px;
}

.post-slide .post-img img {
    width: 100%;
    height: auto;
    transform: scale(1, 1);
    transition: transform 0.4s linear;
}

.post-slide:hover .post-img img {
    transform: scale(1.1, 1.1);
}
.post-slide {
    transform: scale(1, 1);
	transition: transform 0.4s linear;
}
.post-slide:hover {
    transform: scale(1.05, 1.05);
}

.post-slide .over-layer {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    background: linear-gradient(-45deg, rgba(6, 190, 244, 0.75) 0%, rgba(45, 112, 253, 0.6) 100%);
    transition: all 0.50s linear;
}

.post-slide:hover .over-layer {
    opacity: 1;
    text-decoration: none;
}

.post-slide .over-layer i {
    position: relative;
    top: 45%;
    text-align: center;
    display: block;
    color: #fff;
    font-size: 25px;
}

.post-slide .post-content {
    background: #fff;
    padding: 2px 20px 40px;
    border-radius: 15px;
}

.post-slide .post-title a {
    font-size: 15px;
    font-weight: bold;
    color: #333;
    display: inline-block;
    text-transform: uppercase;
    transition: all 0.3s ease 0s;
}

.post-slide .post-title a:hover {
    text-decoration: none;
    color: #3498db;
}

.post-slide .post-description {
    line-height: 24px;
    color: #808080;
    margin-bottom: 35px;
}
.post-slide .post-description p {
    margin-bottom: 0;
}

.post-slide .post-date {
    color: #a9a9a9;
    font-size: .7rem;
}

.post-slide .post-date i {
    font-size: 18px;
    margin-right: 8px;
    color: #CFDACE;
}

.post-slide .read-more {
    padding: 7px 20px;
    float: right;
    font-size: 12px;
    background: #2196F3;
    color: #ffffff;
    box-shadow: 0px 10px 20px -10px #1376c5;
    border-radius: 25px;
    text-transform: uppercase;
}

.post-slide .read-more:hover {
    background: #3498db;
    text-decoration: none;
    color: #fff;
}

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

		.owl-controls .owl-prev,
		.owl-controls .owl-next {
			opacity: .5;
		}
		.owl-controls .owl-prev:hover,
		.owl-controls .owl-next:hover {
			opacity: 1;
			transition: opacity .5s;
		}
.owl-controls .owl-prev {
    background: rgba(255,255,255,.3) !important;
    position: absolute;
    top: 40%;
    left: -30px;
    padding: 0 18px 0 15px !important;
    border-radius: 50% !important;
    box-shadow: none;
    transition: background 0.5s ease 0s;
}

.owl-controls  .owl-next {
    background: rgba(255,255,255,.3) !important;
    position: absolute;
    top: 40%;
    right: -30px;
    padding: 0 15px 0 18px !important;
    border-radius: 50% !important;
    box-shadow: none;
    transition: background 0.5s ease 0s;
}
#header-slider2 .owl-controls .owl-prev,
#header-slider2 .owl-controls .owl-next {
    right: 0 !important;
}
.owl-nav .fa {
    margin: -4px -4px;
}
@media only screen and (max-width:767px) {
	.owl-controls .owl-prev {
		left: -20px;
	}

	.owl-controls .owl-next {
		right: -20px;
	}
}
#header-slider .owl-stage-outer {
	height: 100%;
}
#header-slider .owl-stage {
	height: 100%;
	display: flex;
    align-items: center;
}
#header-slider2.owl-controls .owl-prev,
#header-slider3.owl-controls .owl-prev {
    	top: 50%;
		left: 20px;
	}

#header-slider2.owl-controls .owl-next,
#header-slider3.owl-controls .owl-next {
    	top: 50%;
		right: 20px;
	}
		
.owl-theme .owl-dots .owl-dot span {
    background: #FFF;
    opacity: .5;
}
#header-slider.owl-theme .owl-dot.active span, .owl-theme .owl-controls.clickable .owl-page:hover span,
#header-slider2.owl-theme .owl-dot.active span, .owl-theme .owl-controls.clickable .owl-page:hover span,
#header-slider3.owl-theme .owl-dot.active span, .owl-theme .owl-controls.clickable .owl-page:hover span {
	filter: Alpha(Opacity=90);
	opacity: .9;
}
.owl-theme .owl-dots .owl-dot.active span,
.owl-theme .owl-dots .owl-dot:hover span {
	background: #FFF;
}
.owl-theme .owl-dots .owl-dot span {
	background: #FFF;
}
#header-slider2.owl-theme .owl-dots span,
#header-slider3.owl-theme .owl-dotse span {
	background: #FFF !important;
}
#header-slider2.owl-theme .owl-dots,
#header-slider3.owl-theme .owl-dots {
margin-top: -60px;
}
.owl-controls .owl-prev:after,
.owl-controls .owl-next:after {
    /*content: "\f104";
    font-family: FontAwesome;*/
    color: #FFF;
    font-size: 30px;
}

.owl-controls .owl-next:after {
    /*content: "\f105";*/
}
		.post-slide .blob {
			z-index:1;
		}
		
		.owl-theme .owl-nav [class*=owl-] {
			border-radius: 50%;
		}
		
@media only screen and (max-width:1280px) {
    .post-slide .post-content {
        padding: 0px 15px 25px 15px;
    }
}
/*
.sliderhome {
	min-height: 70vh;
}*/
/*#header-slider2 video {
	aspect-ratio : 1 / 1;
}*/

.videosezionihome {
	margin-left: -17%;
    /* z-index: 9999999; */
    /* position: absolute; */
    width: 110%;
    height: 110%;
}
#header-slider.owl-theme .owl-dots span {
    background: #FFF;
}
		
.animated-box {
  transition: transform 1000ms;
  transform: translate3d(0px, 80px, 0px);
}

.visible {
  transform: translate3d(0px, 0px, 0px);
}
		/*
		.tipoassociato {
			-webkit-transition: background-color 1000ms ease;
			-ms-transition: background-color 1000ms ease;
			transition: background-color 1000ms ease;
		}
		.tipoassociato:has(.nonassociato:hover) {
			-webkit-transition: background-color 1000ms ease;
			-ms-transition: background-color 1000ms ease;
			transition: background-color 1000ms ease;
			background-color: #f2ce3f;
			background-image: -webkit-linear-gradient(bottom right, #f2cf43 0%, #19a186 74%);
			background-image: -o-linear-gradient(bottom right, #f2cf43 0%, #19a186 74%);
			background-image: linear-gradient(to top left, #f2cf43 0%, #19a186 74%);
		}
		.tipoassociato:has(.associato:hover) {
			-webkit-transition: background-color 1000ms ease;
			-ms-transition: background-color 1000ms ease;
			transition: background-color 1000ms ease;
			background-color: #f2ce3f;
			background-image: -webkit-linear-gradient(bottom right, #ff0000 0%, #ffed00 74%);
			background-image: -o-linear-gradient(bottom right, #ff0000 0%, #ffed00 74%);
			background-image: linear-gradient(to top left, #ff0000 0%, #ffed00 74%);
		}
		*/
		.tipoassociato{
		  position: relative;
		  z-index: 1;
		}
		.tipoassociato::before {
			background-color: #f2ce3f;
			background-image: -webkit-linear-gradient(bottom right, #f2cf43 0%, #19a186 74%);
			background-image: -o-linear-gradient(bottom right, #f2cf43 0%, #19a186 74%);
			background-image: linear-gradient(to top left, #f2cf43 0%, #19a186 74%);
		  position: absolute;
		  content: "";
		  top: 0;
		  right: 0;
		  bottom: 0;
		  left: 0;
		  z-index: -1;
		  transition: opacity 0.5s linear;
		  opacity: 0;
		}
		.tipoassociato::after {
			background-color: #db951a;
			background-image: -webkit-linear-gradient(bottom right, #db951a 0%, #ffdd00 74%);
			background-image: -o-linear-gradient(bottom right, #db951a 0%, #ffdd00 74%);
			background-image: linear-gradient(to top left, #db951a 0%, #ffdd00 74%);
		  position: absolute;
		  content: "";
		  top: 0;
		  right: 0;
		  bottom: 0;
		  left: 0;
		  z-index: -1;
		  transition: opacity 0.5s linear;
		  opacity: 0;
		}
		.tipoassociato:has(.associato:hover):before {
		  transition: opacity 0.5s linear;
		  opacity: 1;
		}
		.tipoassociato:has(.nonassociato:hover):after {
		  transition: opacity 0.5s linear;
		  opacity: 1;
		}
		
		#iscrittoModal .modal-content {
			color: #000;
			background-color: #f2ce3f;
			background-image: -webkit-linear-gradient(bottom right, #f2cf43 0%, #19a186 74%);
			background-image: -o-linear-gradient(bottom right, #f2cf43 0%, #19a186 74%);
			background-image: linear-gradient(to top left, #f2cf43 0%, #19a186 74%);
		}
		#noniscrittoModal .modal-content {
			color: #000;
			background-color: #db951a;
			background-image: -webkit-linear-gradient(bottom right, #db951a 0%, #ffdd00 74%);
			background-image: -o-linear-gradient(bottom right, #db951a 0%, #ffdd00 74%);
			background-image: linear-gradient(to top left, #db951a 0%, #ffdd00 74%);
	
		}
		
		.thepeoplelink {
			cursor: pointer;
		}
		
		.modaleassociati .modal-header,
		.modaleassociati .modal-footer {
			border:0;
		}
		.ombra-black {
			text-shadow: 0px 0px 11px #000, 0px 0px 2px #000;
		}
		.openenpy img {
			height:100%;
			widht:auto;
		}
		.openenpy {
			position: fixed;
			text-align:right;
			z-index:99999;
			bottom:40px;
			left:-20px;
			width: 140px;
			height:80px;
			border-radius: 0 40px 40px 0;
			background-color: #fff;
			cursor: pointer;
			transform: scale(.5, .5);
			transform-origin: 0 50%;
			transition: transform 0.2s ease;
		}
		.openenpy:hover {
			transform: scale(1, 1);
			transition: transform 0.2s ease;
		}
		.instarow iframe.instagram-media-rendered {
			min-width: 100% !important;
			max-width: 100% !important;
		}

.contentarticle span {
	/*
	font-size:inherit !important;
	line-height:inherit !important;
	*/
	font-family: var(--bs-body-font-family)!important;
    font-size: var(--bs-body-font-size)!important;
    font-weight: var(--bs-body-font-weight)!important;
    line-height: var(--bs-body-line-height)!important;
}
.widget_enpab_latest_posts_same_cat .df-element {
	margin: 0 !important;	
}
article.category-magazine .df-element {
	margin: 0 !important;	
	width:auto !important;
}