/* 
    Created on : 24 gen 2023, 11:26:31
    Author     : Daniele
*/
/* ---- Main Hacks ---- */
#content:not(.wp-editor-area){
	margin-top: 10px !important;
}
main {
	margin-left: 10px;
	margin-right:10px;
}

/* ---- Homepage ---- */
body.home .he-post-thumb{
	display: none !important;
}
body.home .he-post-content{
	margin-left:0 !important;
}


.tg-container{
    width:100%;
    max-width: 1900px !important;
}

/* ---- Logo and Title ---- */
.logo figure a img,
.logo .h1_home{
	transition-duration: 300ms;
}
.sticky-wrapper:not(.is-sticky) .logo figure a img{
	margin-top: 4px;
	height: 72px !important;
	width:72px !important;
}
.sticky-wrapper:not(.is-sticky) .logo .h1_home{
	margin-top: 16px;
	letter-spacing: 2px;
}
.sticky-wrapper.is-sticky .logo figure a img{
	height: 43px !important;
	width: auto;
}
.sticky-wrapper.is-sticky .logo .h1_home{
	margin-top:0;
	letter-spacing: 0px;
	/*font-size: 32px !important;*/
}
.sticky-wrapper.is-sticky .logo .logo-text{
	display: none;
}

/* ---- Main Menu ---- */
#site-navigation > div > ul{
	display: flex;
	justify-content: center;
}
#site-navigation ul:last-child{
	margin-right: 50px;
}
#site-navigation ul li a {
  color: #4c5867;
}
#site-navigation > div > ul:not(.sub-menu) li a {
	text-transform: uppercase;
	letter-spacing: 2px;
}

#site-navigation ul.sub-menu{
    min-width: 350px !important;
}

/* ---- Controlli show/hide delle correzioni ---- */

.tabst .hide_corrections{
	display:block;
	float:right;
	cursor:pointer;
	padding: 0 0;
	font-size: 20px !important;
}
.tabst .hide_corrections.hide{
		display:none;
}


/* ---- Freccia di step forward sulle colonne ---- */
.goto_next_col,
.goto_prev_col{
	display:block;
	float:right;
	cursor:pointer;
	margin: 0 3px;
	padding: 0 0;
	font-size: 20px !important;
}


/* ---- Tabelle a scorrimento orizzontale ---- */

div.trasit-table-overflow{
	width:100%;
	overflow-x:auto;
	overflow-y:auto;
	height:auto;
	max-height:calc(100vh - 150px);
}
table.tabst {
	display: block;
	width:auto;
}
table.tabst > thead > tr > th{
	position: sticky;
	top:-1px;
	background-color:white;
	border-right:1px solid #949494;
}

table.tabst.col_3{width:calc(150vw - 210px) !important;}
table.tabst.col_4{width:calc(200vw - 280px) !important;}
table.tabst.col_5{width:calc(250vw - 350px) !important;}
table.tabst.col_6{width:calc(300vw - 420px) !important;}
table.tabst.col_7{width:calc(350vw - 490px) !important;}
table.tabst.col_8{width:calc(400vw - 560px) !important;}
table.tabst.col_9{width:calc(450vw - 630px) !important;}
table.tabst.col_10{width:calc(500vw - 700px) !important;}
table.tabst.col_11{width:calc(550vw - 770px) !important;}
table.tabst.col_12{width:calc(600vw - 840px) !important;}
table.tabst.col_13{width:calc(650vw - 910px) !important;}
table.tabst.col_14{width:calc(700vw - 980px) !important;}
table.tabst.col_15{width:calc(750vw - 1050px) !important;}
table.tabst.col_16{width:calc(800vw - 1120px) !important;}
table.tabst.col_17{width:calc(850vw - 1190px) !important;}

table.tabst.col_3.mobile{width:calc(150vw - 35px) !important;}
table.tabst.col_4.mobile{width:calc(200vw - 40px) !important;}
table.tabst.col_5.mobile{width:calc(250vw - 45px) !important;}
table.tabst.col_6.mobile{width:calc(300vw - 50px) !important;}
table.tabst.col_7.mobile{width:calc(350vw - 55px) !important;}
table.tabst.col_8.mobile{width:calc(400vw - 60px) !important;}
table.tabst.col_9.mobile{width:calc(450vw - 65px) !important;}
table.tabst.col_10.mobile{width:calc(500vw - 70px) !important;}
table.tabst.col_11.mobile{width:calc(550vw - 75px) !important;}
table.tabst.col_12.mobile{width:calc(600vw - 80px) !important;}
table.tabst.col_13.mobile{width:calc(650vw - 85px) !important;}
table.tabst.col_14.mobile{width:calc(700vw - 90px) !important;}
table.tabst.col_15.mobile{width:calc(750vw - 95px) !important;}
table.tabst.col_16.mobile{width:calc(800vw - 100px) !important;}
table.tabst.col_17.mobile{width:calc(850vw - 105px) !important;}

table.tabst.col_2 thead tr th{width:calc(50vw - 18px) !important;}
table.tabst.col_3 thead tr th,
table.tabst.col_4 thead tr th,
table.tabst.col_5 thead tr th,
table.tabst.col_6 thead tr th,
table.tabst.col_7 thead tr th,
table.tabst.col_8 thead tr th,
table.tabst.col_9 thead tr th,
table.tabst.col_10 thead tr th,
table.tabst.col_11 thead tr th,
table.tabst.col_12 thead tr th,
table.tabst.col_13 thead tr th,
table.tabst.col_14 thead tr th,
table.tabst.col_15 thead tr th,
table.tabst.col_16 thead tr th,
table.tabst.col_17 thead tr th{width:calc(50vw - 70px) !important;}

table.tabst.col_2.mobile thead tr th{width:50% !important;}
table.tabst.col_3.mobile thead tr th,
table.tabst.col_4.mobile thead tr th,
table.tabst.col_5.mobile thead tr th,
table.tabst.col_6.mobile thead tr th,
table.tabst.col_7.mobile thead tr th,
table.tabst.col_8.mobile thead tr th,
table.tabst.col_9.mobile thead tr th,
table.tabst.col_10.mobile thead tr th,
table.tabst.col_11.mobile thead tr th,
table.tabst.col_12.mobile thead tr th,
table.tabst.col_13.mobile thead tr th,
table.tabst.col_14.mobile thead tr th,
table.tabst.col_15.mobile thead tr th,
table.tabst.col_16.mobile thead tr th,
table.tabst.col_17.mobile thead tr th{
	width:calc(50vw - 1px) !important;
}


article:not(.category-a3) .tabst tbody td.last_col{
	background-color:white;
}

/* ---- Details - Summary ---- */

details[open] summary ~ * {
  animation: sweep .5s ease-in-out;
}
@keyframes sweep {
  0%    {opacity: 0;}
  100%  {opacity: 1;}
}
details.spoiler{
	clear: both;
	margin: 10px 0;
	padding: 0px 6px;
	height: auto;
	margin-bottom:30px;
}
details.spoiler > summary{
	background: url(https://www.feappalti.it/wp-content/plugins/bbspoiler/img/icon_plus.gif) no-repeat left center;
	cursor: pointer;
	display: block;
	margin-left: 6px;
	padding: 2px 14px 1px;
	text-align: left;
	font-size:11px;
	font-weight:bold;
}
/* Colore Grigio */
details.spoiler.default{
	border-color: #C3CBD1;
	border-style: solid;
	border-width: 1px 1px 2px 1px;
	background: #ededed;
}
details.spoiler.default > summary{
	color: #2A2A2A;
}
/* Colore Blu */
details.spoiler.blu{
	border-color: #729eea;
	border-style: solid;
	border-width: 1px 1px 2px 1px;
	background: #a1b9e2;
}
details.spoiler.blu > summary{
	color: #2A2A2A;
}

/* Colore Verde */
details.spoiler.green{
	border-color: #7abc8b;
	border-style: solid;
	border-width: 1px 1px 2px 1px;
	/*background: #A9D0B3;*/
}
details.spoiler.green > summary{
	background: #A9D0B3 url(https://www.feappalti.it/wp-content/plugins/bbspoiler/img/icon_plus.gif) no-repeat 10px center;
	color: #2A2A2A;
	padding: 6px 22px 5px;
	font-size:13px;
	margin: 0;
	position: relative;
	left: -6px;
	width: calc(100% + 12px);
}

/* Colore Ciano aggiunto FB */
details.spoiler.green{
	border-color: #7abc8b;
	border-style: solid;
	border-width: 1px 1px 2px 1px;
	/*background: #A9D0B3;*/
}
details.spoiler.green > summary{
	background: #A9D0B3 url(https://www.feappalti.it/wp-content/plugins/bbspoiler/img/icon_plus.gif) no-repeat 10px center;
	color: #2A2A2A;
	padding: 6px 22px 5px;
	font-size:13px;
	margin: 0;
	position: relative;
	left: -6px;
	width: calc(100% + 12px);
}

/* Colore Orange aggiunto FB */
details.spoiler.orange{
	border-color: #FAD5A5;
	border-style: solid;
	border-width: 1px 1px 2px 1px;
	/*background: #FBCEB1;*/
}
details.spoiler.orange > summary{
	background: #FAD5A5 url(https://www.feappalti.it/wp-content/plugins/bbspoiler/img/icon_plus.gif) no-repeat 10px center;
	color:black;
	padding: 6px 22px 5px;
	font-size:13px;
	margin: 0;
	position: relative;
	left: -6px;
	width: calc(100% + 12px);
}

/* Colore cyan aggiunto FB */
details.spoiler.cyan{
	border-color: #AFEEEE;
	border-style: solid;
	border-width: 1px 1px 2px 1px;
	/*background: #FBCEB1;*/
}
details.spoiler.cyan > summary{
	background:  #AFEEEE url(https://www.feappalti.it/wp-content/plugins/bbspoiler/img/icon_plus.gif) no-repeat 10px center;
	color:black;
	padding: 6px 22px 5px;
	font-size:13px;
	margin: 0;
	position: relative;
	left: -6px;
	width: calc(100% + 12px);
}

/* Colore yellow aggiunto FB */
details.spoiler.yellow{
	background-color: #fffaec;
	border-color: yellow;
	border-style: solid;
	margin-top: 24px;
	border-width: 1px 1px 2px 1px;
	/*background: #FBCEB1;*/
	font-size: 13px !important;
}
details.spoiler.yellow * p{
	font-size: 13px !important;
}
details.spoiler.yellow > summary{
	background:  #FCF55F url(https://www.feappalti.it/wp-content/plugins/bbspoiler/img/icon_plus.gif) no-repeat 10px center;
	color:black;
	padding: 1px 22px 2px;
	font-size:12px;
	margin: 0;
	position: relative;
	left: -6px;
	width: calc(100% + 12px);
}


/* ---- customs ---- */

body.single-post h1:not(.h1_home),
body.single-giurisprudenzaprassi h1{
	font-size: 17px;
	margin: 20px 0;
	color: white !important;
	padding: 6px;
	background: rgb(244,226,26);
	background: rgb(10,42,94);
	background: linear-gradient(0deg, rgba(10,42,94,1) 0%, rgba(77,123,177,1) 100%);
	border-radius: 3px !important;
	text-align: center;
    width: 100%;
}
body.single-giurisprudenzaprassi h1{
background: rgb(226,192,3);
background: linear-gradient(0deg, rgba(226,192,3,1) 0%, rgba(255,226,0,1) 100%);
	color:#232323 !important;
}

p.avvig{
	padding: 6px 15px !important;
	background: rgb(37,110,24) !important;
	background: linear-gradient(0deg, rgba(37,110,24,1) 0%, rgba(35,153,78,1) 77%) !important;
	border: 1px solid #1d5b11 !important;
	border-radius: 6px !important;
}
article.post.category-giurisprudenza h1:not(.h1_home) {
  font-size: 16px;
  margin: 20px 0;
  color: black;
  padding: 6px;
  background: rgb(249,160,9);
background: rgb(255,206,0);
background: linear-gradient(0deg, rgba(255,206,0,1) 0%, rgba(255,234,158,1) 100%);
  border-radius: 3px;
}


/* ---- cat-list tags ---- */
.giursp_tags_item{
	margin-left:4px;
	padding:0 8px 2px 8px;
	background:#e0e0e0;
	color:#141414;
	text-decoration:none;
	-moz-border-radius:4px;
	-webkit-border-radius:4px;	
	border-radius:4px;
	-moz-border-radius:4px;
	-webkit-border-radius:4px;	
	border-radius:4px;	
	font-weight:normal !important;
} 

.giursp_tags_item:before{
	content:"";
	float:left;
	position:absolute;
	top:0;
	left:-12px;
	width:0;
	height:0;
	border-color:transparent #0089e0 transparent transparent;
	border-style:solid;
	border-width:12px 12px 12px 0;		
}

.giursp_tags_item:after{
	content:"";
	position:absolute;
	top:10px;
	left:0;
	float:left;
	width:4px;
	height:4px;
	-moz-border-radius:2px;
	-webkit-border-radius:2px;
	border-radius:2px;
	background:#fff;
	-moz-box-shadow:-1px -1px 2px #004977;
	-webkit-box-shadow:-1px -1px 2px #004977;
	box-shadow:-1px -1px 2px #004977;
}

.lcp_catlist li{
	margin-top:18px;
}
.lcp_catlist li strong,
.lcp_catlist li em,
.lcp_catlist li * div.giursp * a{
	font-weight: 400 !important;
}

.lcp_catlist li * div.giursp,
.lcp_catlist li * div.giursp p{
	font-size: 14px !important;
	line-height: 18px !important;
	text-align:justify !important;
}

.lcp_catlist strong em > a.giursp_title,
.lcp_catlist li > a.giursp_title{
	background: rgb(249,160,9);
	background: rgb(255,206,0);
	background: linear-gradient(0deg, rgba(255,206,0,1) 0%, rgba(255,234,158,1) 100%);
	border-radius: 3px;
	color: #333;
	padding: 2px 24px;
}
.lcp_catlist strong > a.giursp_title,
.lcp_catlist li > a.giursp_title{
	background: rgb(249,160,9);
	background: rgb(255,206,0);
	background: linear-gradient(0deg, rgba(255,206,0,1) 0%, rgba(255,234,158,1) 100%);
	border-radius: 3px;
	color: #333;
	padding: 2px 24px;
}
.lcp_catlist em > a.giursp_title,
.lcp_catlist li > a.giursp_title
.lcp_catlist li > em > a.giursp_title
.lcp_catlist li > strong > a.giursp_title
{
	background: rgb(249,160,9);
	background: rgb(255,206,0);
	background: linear-gradient(0deg, rgba(255,206,0,1) 0%, rgba(255,234,158,1) 100%);
	border-radius: 3px;
	color: #333;
	padding: 2px 24px;
}


#art_nav_buttons{
	padding: 5px;
	position: fixed;
	right: 20px;
	text-align: center;
	text-decoration: none;
	vertical-align: middle;
	width: 32px;
	z-index: 9999;
	background-color: #000;
	opacity: 0.5;
	-webkit-border-radius: 5%;
	-moz-border-radius: 5%;
	border-radius: 5%;
	box-sizing: content-box;
	height: 60px;
	bottom: 66px;
	/*display:hidden;*/
}


/* SLIDES */
.trasit_slides_wrapper{
	position:absolute;
	top: 90px;
	left: 0;
	width: 98.4vw !important;
	height: calc(95vh - 90px) !important;
	background-color:white;
	z-index:7;
	overflow-x:hidden;
	overflow-y:hidden;
}
.trasit_slides_container{
	position:absolute;
	top:0;
	left:0;
	height:100% !important;
	min-height:100% !important;
	z-index:8;
	transition-duration:500;
	
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-start;
	align-items: center;
}
.trasit_slides_container div.trasit_slide{
	
	height:100% !important;
	width:98vw !important;
	position:relative;
	margin:0 5px;
	padding:30px;
	overflow-x:none;
	overflow-y:scroll;
}
.slide_buttons{
	width:70px;
	height:50px;
	display: block;
	margin-top: 40px;
	text-align: right;
	float: right;
}
.next_slide_button{
	font-size: 25px;
	text-align: right;
	cursor:pointer;
}
.prev_slide_button{
	font-size: 25px;
	cursor:pointer;
}


/*  MAG 2023 - interventi footer */

.grecaptcha-badge {
	display:none;
}
footer .elementor-menu-toggle i:before {
	color: white;
}
footer .elementor-nav-menu, footer .elementor-nav-menu li, footer .elementor-nav-menu ul, footer .elementor-nav-menu--dropdown  {
	background: none !important;
	text-align: center;
}




/*QUERYES*/
@media screen and (max-width: 480px) {
	.logo-text .h1_home,
	.logo-text .h1,
	.logo-text .h1 span{
		font-size:20px !important;
	},
	.sticky-wrapper.is-sticky .logo-text .h1_home,
	.sticky-wrapper.is-sticky .logo-text .h1,
	.sticky-wrapper.is-sticky .logo-text .h1 span,
	.sticky-wrapper.is-sticky .logo .h1_home,
	.sticky-wrapper.is-sticky .logo .h1_home span{
		font-size:20px !important;
	}
	.sticky-wrapper:not(.is-sticky) .logo figure a img{
		width:44px !important;
		height:48px !important;
	}
	#site-navigation > div > ul:not(.sub-menu) li a,
	#site-navigation ul.sub-menu li a, #site-navigation ul.sub-menu li ul.sub-menu li a, .transparent #site-navigation ul li a, .transparent #site-navigation ul.sub-menu li a{
		font-size:10px !important;
		line-height:28px !important;
		letter-spacing: 1px !important;
	}
	#site-navigation ul li{
		padding:0 4px;
	}
	.transparent.header-sticky #site-navigation .menu-toggle .fa, .transparent.header-sticky #site-navigation ul li a{
		color:#232323 !important;
	}
	.tg-container {
		max-width: calc(100% - 6px);
	}
}

/*  MAG 2023 - interventi responsive */
@media (max-width: 767px) {
	.elementor-24107 .elementor-element.elementor-element-fef8bd9.elementor-column > .elementor-column-wrap > .elementor-widget-wrap {
		justify-content: center !important;
	}
	footer .elementor-widget-wrap {
		justify-content: center !important;
	}
	footer .elementor-24107 .elementor-element.elementor-element-edf810f {
		margin: auto;
	}
	footer .elementor-24107 .elementor-element.elementor-element-ecb2dd4 > .elementor-widget-container {
		text-align: center !important;
	}
	footer .elementor-widget-container p {
			text-align: center !important;
	}
	footer .elementor-nav-menu__container ul li a {
		display: block;
		margin: auto;
	}
	.full-width-center #primary {
		width:100% !important;
	}
	h1 {
		margin-top:10px !important;
		font-size: 15px !important;
		line-height:18px !important;
	}
}
@media screen and (max-width: 1200px) {
	.tg-container {
		padding: 0 !important;
		width: 100% !important;	
	}
}


