@font-face {
  font-family: 'FedraMedium';
  src: url('font/FeSaAltStd-Book.woff') format('woff'), 
       url('font/FeSaAltStd-Book.ttf')  format('truetype'), 
       url('font/FeSaAltStd-Book.svg#Book.svg') format('svg');
  }
  
@font-face {
  font-family: 'FedraDemi';
  src: url('font/FeSaAltStd-Demi.woff') format('woff'), 
       url('font/FeSaAltStd-Demi.ttf')  format('truetype'), 
       url('font/FeSaAltStd-Demi.svg#Demi.svg') format('svg');
  }
  
@font-face {
  font-family: 'FedraLI';
  src: url('font/FeSaAltStd-LightItalic.woff') format('woff'), 
       url('font/FeSaAltStd-LightItalic.ttf')  format('truetype'), 
       url('font/FeSaAltStd-LightItalic.svg#LightItalic.svg') format('svg');
  }


body{
width: 100%; height: 100%; top: 0; left: 0;
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
background-size: cover;
margin:0px!important;
overflow:auto;
background-color: #444;
}

/* BUG dell'allineamento delle puntuazioni */

#mCSB_1_container p { direction:ltr !important;}


/* ~~ Element/tag selectors ~~ */
ul, ol, dl { /* Due to variations between browsers, it's best practices to zero padding and margin on lists. For consistency, you can either specify the amounts you want here, or on the list items (LI, DT, DD) they contain. Remember that what you do here will cascade to the .nav list unless you write a more specific selector. */
	padding: 0;
	margin: 0;
}
h1 {
	margin-top: 0;	 /* removing the top margin gets around an issue where margins can escape from their containing div. The remaining bottom margin will hold it away from any elements that follow. */
	padding-right: 10px;
	padding-top: 7px;
	padding-left: 4px; /* adding the padding to the sides of the elements within the divs, instead of the divs themselves, gets rid of any box model math. A nested div with side padding can also be used as an alternate method. */
	color:white;
	font-family: 'FedraMedium', Helvetic , sans-serif; font-size:22px;
}
h2 {
	margin-top: 0;	 /* removing the top margin gets around an issue where margins can escape from their containing div. The remaining bottom margin will hold it away from any elements that follow. */
	padding-right: 15px;
	padding-left: 15px; /* adding the padding to the sides of the elements within the divs, instead of the divs themselves, gets rid of any box model math. A nested div with side padding can also be used as an alternate method. */
	color: #2dfdf8;
	font-family: 'FedraMedium', Helvetic , sans-serif; font-size:16px;
}
h3{
	margin-top: 0;	 /* removing the top margin gets around an issue where margins can escape from their containing div. The remaining bottom margin will hold it away from any elements that follow. */
	padding-right: 15px;
	padding-left: 15px; /* adding the padding to the sides of the elements within the divs, instead of the divs themselves, gets rid of any box model math. A nested div with side padding can also be used as an alternate method. */
	color:#2dfdf8;
	font-family: 'FedraMedium', Helvetic , sans-serif; font-size:20px;
	font-style:italic;
	padding-top:14px;
} 
h4{
	margin-top: 0;	 /* removing the top margin gets around an issue where margins can escape from their containing div. The remaining bottom margin will hold it away from any elements that follow. */
	padding-right: 15px;
	padding-left: 15px; /* adding the padding to the sides of the elements within the divs, instead of the divs themselves, gets rid of any box model math. A nested div with side padding can also be used as an alternate method. */
	color:white;
	font-family: 'FedraMedium', Helvetic , sans-serif; font-size:16px;
} 
h5{
	margin-top: 0;	 /* removing the top margin gets around an issue where margins can escape from their containing div. The remaining bottom margin will hold it away from any elements that follow. */
	padding-right: 15px;
	padding-left: 15px; /* adding the padding to the sides of the elements within the divs, instead of the divs themselves, gets rid of any box model math. A nested div with side padding can also be used as an alternate method. */
	color:white;
	font-family: 'FedraMedium', Helvetic , sans-serif; font-size:16px;
} 
h6{
	margin-top: 0;	 /* removing the top margin gets around an issue where margins can escape from their containing div. The remaining bottom margin will hold it away from any elements that follow. */
	padding-right: 15px;
	padding-left: 15px; /* adding the padding to the sides of the elements within the divs, instead of the divs themselves, gets rid of any box model math. A nested div with side padding can also be used as an alternate method. */
	color:rgba(45,253,48,1);
	font-family: 'FedraMedium', Helvetic , sans-serif; font-size:16px; font-style:oblique;
}
p{
	margin-top: 0;	 /* removing the top margin gets around an issue where margins can escape from their containing div. The remaining bottom margin will hold it away from any elements that follow. */
	padding-right: 15px;
	padding-left: 15px; /* adding the padding to the sides of the elements within the divs, instead of the divs themselves, gets rid of any box model math. A nested div with side padding can also be used as an alternate method. */
	color: rgba(255,255,255,0.9);
	font-family: 'FedraMedium', Helvetic , sans-serif; font-size:12px; letter-spacing:1px; line-height:22px;
}
p2{
	margin-top: 0;	 /* removing the top margin gets around an issue where margins can escape from their containing div. The remaining bottom margin will hold it away from any elements that follow. */
	padding-right: 0px;
	padding-left: 0px; /* adding the padding to the sides of the elements within the divs, instead of the divs themselves, gets rid of any box model math. A nested div with side padding can also be used as an alternate method. */
	color:rgba(45,253,48,1);
	font-family: 'FedraMedium', Helvetic , sans-serif; font-size:12px;letter-spacing:2px;
}
	
a img { /* this selector removes the default blue border displayed in some browsers around an image when it is surrounded by a link */
	border: none;
}
/* ~~ Styling for your site's links must remain in this order - including the group of selectors that create the hover effect. ~~ */
a:link {
	color: #42413C;
	text-decoration: underline; /* unless you style your links to look extremely unique, it's best to provide underlines for quick visual identification */
}
a:visited {
	color: #6E6C64;
	text-decoration: underline;
}
a:hover, a:active, a:focus { /* this group of selectors will give a keyboard navigator the same hover experience as the person using a mouse. */
	text-decoration: none;
}

span.colored { color: #2dfdf8; font-family: 'FedraMedium', Helvetic , sans-serif; }
span.bigger { font-size:1.5em; line-height:23px;}

/* ~~ this fixed width container surrounds the other divs ~~ */
.container {
	width: auto;
	height:auto;
	background-color: #trasparent;
}

/* ~~ the header is not given a width. It will extend the full width of your layout. It contains an image placeholder that should be replaced with your own linked logo ~~ */
.bannertop {
	width: 100%;
    background: rgba(51,51,51,0.85);
    height: 65px;
    position:fixed;
    z-index:1000;
}
.header {
	width: 100%;
	height: 12%;
	background-color: #trasparent;
	
}

.content {
	height: 56%;
	width: 100%;
}
.bannerlogo{
	width: 15em;
    display: inline-block;
    float: left;
    margin-left: 16em;
	margin-top:3px;
}
.watemark{
	width: 6em;
    float: right;
    display: inline-block;
    margin-top: 10px;
    margin-right: 30px;
}
@media screen and (min-width: 950px) and (max-width: 1280px) {
	
}
.search { 
	width: 20em;
    margin: 0.7em 0 0 14em;
    float: left;
}
.search-form label span {display:none;}
input.search-field {
	padding: 3px 20px;
    cursor: pointer;
    color: black;
    background: white;
    border: none;
    margin-top: 10px;
}
input.search-submit {
    padding: 6px 30px;
    cursor: pointer;
    color: transparent;
    background-color: transparent;
    /*background-image: url(/dev/presidenti/wp-content/themes/presidenti/image/search-icon.png);*/
    background-repeat: no-repeat;
    background-size: contain;
    border: none;
    margin-top: 10px;
}
input.search-submit:hover {
    padding: 6px 30px;
    cursor: pointer;
    color: transparent;
    background-color: transparent;
    /*background-image: url(/dev/presidenti/wp-content/themes/presidenti/image/search-icon.png);*/
    background-repeat: no-repeat;
    background-size: contain;
    border: none;
    margin-top: 10px;
}

.div-title {
	width:47%;
	padding-left:2%;
	float:left;
	font-family: 'FedraLI', Helvetic , sans-serif; 
	font-size:42px;
	letter-spacing:3px;
	font-style:italic;
	line-height:42px;
	color:#2dfdf8;
	}
.div-title-biblio {
	width:47%;
	padding-left:2%;
	float:left;
	font-family: 'FedraLI', Helvetic , sans-serif; 
	font-size:42px;
	letter-spacing:3px;
	font-style:italic;
	line-height:42px;
	color:#2dfdf8;
	}
.div-title::first-letter { color:white;}

.div-extra {
	width: 100%;
	float:left;
	text-align:right;
	padding-top:10%;
    position: absolute;
	
	}
	
.div-inside-extra {
	width:180px;
	height:30px;
	text-align:right;
	background-color:#3c3c3b;
	float:right;
    padding-right: 10px;
    padding-left: 0px;
    padding-bottom: 10px;
    padding-top: 10px;
	opacity:0.9;
	clear:both; margin-top:40px;	
	}
.div-ider {width:100%; height:1px; margin:15px 0;}
	
/* ~~ The footer ~~ */
.footer {
	height: 31.4%;
	width:100%;
	background-color:transparent;
	border-bottom: 4px solid #2dfdf8;
	overflow-y: hidden;
}

.gallery-icon { float:left; margin-right:8px;}

/* ~~ miscellaneous float/clear classes ~~ */
.fltrt {  /* this class can be used to float an element right in your page. The floated element must precede the element it should be next to on the page. */
	float: right;
	margin-left: 8px;
}
.fltlft { /* this class can be used to float an element left in your page. The floated element must precede the element it should be next to on the page. */
	float: left;
	margin-right: 8px;
}
.clearfloat { /* this class can be placed on a <br /> or empty div as the final element following the last floated div (within the #container) if the #footer is removed or taken out of the #container */
	clear:both;
	height:0;
	font-size: 1px;
	line-height: 0px;
}
#name {
	background: #trasparent;
	border: solid 2px;
	border-color:#33ffff;
	padding:0px;
	float: right;
	margin-top: 7em;
	margin-right: 90px;
}
#name h1 {
	color:#2dfdf8; 
	margin:0px; 
	font-weight:300; 
	line-height:22px; 
	padding-bottom:6px;
	text-shadow: 0 0 1px #5f5f5f;
	}

.splitcontenentbox	{
	/* width: 100%; 
	background-color: rgba(58, 58, 60, 0.85);*/
	position: relative;
	bottom: 0%;
	height: 100%;
	overflow:hidden;	

	
}

.splitcontenentbox1	{
	/* width: 100%; */
	background-color: rgba(58, 58, 60, 0.85);
	height: 100%;
	position: relative;
	overflow:hidden;
	top: 0%;
	bottom: 0%;
}
	
	
#split1			{
	float: left;
    width:14%;
	height: 100%;
	padding: 2% 3% 0% 0%;
	overflow:hidden;
    }
	
#split2 		{
	float: left;
    width:52%;
	height: 84%;
	padding: 2% 3% 0% 0%;
	overflow:hidden;
    }

#split2 p { text-align:left;}
	
#split3		 {
	float: left;
    width:25%;
	height: 100%;
    padding: 2% 3% 0% 0%;
	overflow:hidden;
    }
#navigation {margin:2.6em 2em 2em 1.9em;}

.circolare {
  width: 110px; 
  height: 110px;
  margin-bottom:10px;
  border:solid 6px #33ffff;
  border-radius:999em;    
  -moz-border-radius:999em;  
  -webkit-border-radius:999em; 
  -o-border-radius: 999em;  
}
.circolare-extra {
  width: 70px; 
  height: 70px;
  margin-bottom:10px;
  border:solid 3px #33ffff;
  border-radius:999em;    
  -moz-border-radius:999em;  
  -webkit-border-radius:999em; 
  -o-border-radius: 999em;  
}
.widget {
	margin-top: 75px;
  float:right;
  width: 130px; 
  height: 130px;
  border: solid 5px #33ffff;
  border-radius:999em;    
  -moz-border-radius:999em;  
  -webkit-border-radius:999em; 
  -o-border-radius: 999em; 
}
.homelogo {
	position:absolute;
	left: 50% !important;
    top: 50%;
	transform:translate(-50%,-50%);
	width: 400px;

}
.hidelogo {
    width: 150px;
position: fixed; bottom: 20px; right: 20px;
}
.wrapper-logo {
	text-align:center;
	margin:auto;
    height: 37%;
    width: 100%;
	
}

.wrapper-logo-4col {
	text-align:center;
	margin:auto;
	width: 80%;
	height: 37%;
	margin-top: 70px;


}

.wrapper-logo div {
    height: auto;
    width: 40%;
	
}

	
.wrapper-logo-4col div {
    height: auto;
    width: 40%;
	
	
}

.clear:after {
   content: "";
   display: table;
   clear: both;
}

@media all and (max-width: 400px) {
    div.wrapper-logo div {
        width: 100%;
        float: none;
    }
}


@media all and (max-width: 400px) {
    div.wrapper-logo-4col div {
        width: 100%;
        float: none;
 }
}

/* LEGISLATURE */


.body-legislature { background-color:#3c3c3b;}
.content-legislature {

	padding: 10px;
	height: 75%;
	width:auto;
	
}

.wrapper-legislature {
    /*border: 1px solid red;*/
	text-align:center;
    width: 80%;
	float:left;
	margin-left: 19%;
	margin-top: 1%;

}
.wrapper-legislature-1 {
    /*border: 1px solid red;*/
	text-align:center;
    width: 80%;
	float:left;
	margin-left: 19%;
	margin-top: 1%;

}
.wrapper-legislature-4col {
    /*border: 1px solid red;*/
	text-align:center;
	width: 80%;
	float:left;
	margin-left: 19%;
	margin-top: 1%;
	margin-bottom:1%;



}

.wrapper-legislature div {
    /*border: 1px solid white;*/
	
}

	
.wrapper-legislature-4col div {
    /*border: 1px solid white;*/
	
	
}

.clear:after {
   content: "";
   display: table;
   clear: both;
}

@media all and (max-width: 400px) {
    div.wrapper-legislature div {
        width: 100%;
        float: none;
    }
}


@media all and (max-width: 400px) {
    div.wrapper-legislature-4col div {
        width: 100%;
        float: none;
    }
}


.circolare-legislature {
  width: 70px; 
  height: 70px;
  border-radius:999em;    
  -moz-border-radius:999em;  
  -webkit-border-radius:999em; 
  -o-border-radius: 999em;  
  display: block;
  margin:15px auto; 
}

.titolo-legislature {text-align:left; overflow:hidden; float: left; padding-left:10px; width:12% !important; margin: 15px 60px 0px 0px;}
.titolo-legislature-1 {text-align:left; overflow:hidden; float: left; padding-left:10px; width:12% !important; margin: 15px 35px 0px 0px;}
@media all and (max-width: 600px) {
    div.titolo-legislature {
        width: 90% !important;
        float: none;
    }
}
.titolo_legislatura { font-family: 'FedraDemi', Helvetic , sans-serif; color: white; font-size:1.2em; padding-top:5%; float:left; margin-left:20%;margin-top: 2.2em;}
.nome-legislature {font-family: 'FedraDemi', Helvetic , sans-serif; font-size:12px; color:#fff; }
.cognome-legislature {font-family: 'FedraDemi', Helvetic , sans-serif; font-size:12px; color:#3ff; }
.data-legislature {font-family: 'FedraLI', Helvetic , sans-serif; font-size:10px; color:#fff;  }
.person-legislature { text-align:center; overflow:hidden; float: left;padding: 0 30px 0 0; }
.person-legislature-1 { text-align:center; overflow:hidden; float: left;padding: 0 30px 0 0;}
.person-legislature-2 { text-align:center; overflow:hidden; float: left;padding: 0 30px 0 0; }
.divider-legislature { 
	display: block;
    height: 1px;
    border: 0;
    border-top: 2px solid #3ff;
	width:100%;}
	
	
/* STILEPRESIDENTE */



.body-stilepresidente { background-color:#3c3c3b;}
.content-stilepresidente {

	padding: 10px;
	height: 75%;
	width:auto;
	
}

.wrapper-stilepresidente {
	text-align:center;
    left: 40%;
    width: 70%;
	margin: 0px 0px 0px 24%;
}

.wrapper-stilepresidente-4col {
	text-align:center;
    left: 40%;
	width: 70%;
	margin: 0px 0px 0px 18%;
}

.wrapper-stilepresidente div {
	/*border: 1px solid white;*/
	
}

	
.wrapper-stilepresidente-4col div {
	/*border: 1px solid white;*/

	
	
}

.clear:after {
   content: "";
   display: table;
   clear: both;
}

@media all and (max-width: 400px) {
    div.wrapper-stilepresidente div {
        width: 100%;
        float: none;
    }
}


@media all and (max-width: 400px) {
    div.wrapper-stilepresidente-4col div {
        width: 100%;
        float: none;
    }
}


.circolare-stilepresidente {
  width: 80px; 
  height: 80px;
  border-radius:999em;    
  -moz-border-radius:999em;  
  -webkit-border-radius:999em; 
  -o-border-radius: 999em;  
  display: block;
  margin:15px auto;
  }

.titolo-stilepresidente {text-align:left; overflow:hidden; float: left; padding-left:10px; width:12% !important; margin:15px 0;}
@media all and (max-width: 600px) {
    div.titolo-stilepresidente {
        width: 90% !important;
        float: none;
    }
}
.titolo_stilepresidente { font-family: 'FedraDemi', Helvetic , sans-serif; color: white; font-size:1.2em; padding-top:8%; float:left; margin-left:20%;}
.nome-stilepresidente {font-family: 'FedraDemi', Helvetic , sans-serif; font-size:14px; color:#fff; }
.cognome-stilepresidente {font-family: 'FedraDemi', Helvetic , sans-serif; font-size:14px; color:#3ff; }
.data-stilepresidente {font-family: 'FedraLI', Helvetic , sans-serif; font-size:13px; color:#fff; margin-top:4px;  }
.person-stilepresidente { text-align:center; overflow:hidden; float: left; margin-right:15px; min-width:160px; }
.divider-stilepresidente { 
	display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #3ff;
	width:55%;
}
	
	/* personalizzazione TOSRUS */
.tos-slide>img {max-height:85% !important;}
.tos-caption>div { white-space:normal !important; margin-top:-30px; font-family: 'FedraMedium'; text-transform:uppercase; font-size:14px; color:#2dfdf8;}
.tos-next span { border-color:#3ff !important;}
.tos-prev span { border-color:#3ff !important;}
.tos-close span:before { border-color:#3ff !important;}
.tos-close span:after { border-color:#3ff !important;}

	/* personalizzazione immagini */
	
.circolare-stilepresidente-overlay {    
	display: none; 
    width: 80px;
    height: 80px;
    background: rgba(45,253,248,0.45);
    position: absolute;
    top: -95px;
    left: -40px;
    border-radius: 100px;
	}
.circolare-stilepresidente-link{position: relative;}
.circolare-stilepresidente-link:hover .circolare-stilepresidente-overlay {
    display: block;
}
.circolare-legislature-overlay {    
	display: none; 
    width: 70px;
    height: 70px;
    background: rgba(45,253,248,0.45);
    position: absolute;
    top: -85px;
    left: -35px;
    border-radius: 100px;
	}
.circolare-legislature-link{position: relative;}
.circolare-legislature-link:hover .circolare-legislature-overlay {
    display: block;
}

/*	effetto footer */
        input {
            padding: 3px 6px;
            cursor: pointer;
            color: white;
            background: black;
            border: 1px dotted black
        }
        input:hover{color:black; background:white}

        .area {
            padding: 20px 0;
            min-height: 180px;
            border-top: 1px dotted black;
        }

        .outer {
            position: absolute;
            right: 0;
            overflow: hidden;
            height: 120px;
            width: 120px;
            margin: 20px;
            -webkit-transition: all .4s
        }
        .outer .box {
            padding: 10px;
            height: 100px;
            width: 100px;
            line-height: 100px;
            color: white;
            text-align: center;
            background: black
        }
		
		/* pulsanti navigazione*/
		
.pulsantinav  {   
	width: 30px;
    height: 30px;
    padding-bottom: 40px;
	
}
#containernav /* il contenitore generale */
{ 
display: inline-flex;
width:100%;
} 
.navsin{ 
width: 10%; 
}
.navdes{ width:10%;}
.navcenter{width:80%;}

#prev-chapter  {
  -webkit-transform: rotate(180deg);     /* Chrome and other webkit browsers */
  -moz-transform: rotate(180deg);        /* FF */
  -o-transform: rotate(180deg);          /* Opera */
  -ms-transform: rotate(180deg);         /* IE9 */
  transform: rotate(180deg);             /* W3C compliant browsers */

  /* IE8 and below */
  filter: progid:DXImageTransform.Microsoft.Matrix(M11=-1, M12=0, M21=0, M22=-1, DX=0, DY=0, SizingMethod='auto expand');
  float:left;
  width:30px; height:30px;margin:0;padding:0;
} 
#next-chapter {
	float:left;
	width:30px; height:30px; margin:0;
}

/* personalizzazione login */

body.login { background-color: #A2A2A2 !important; }
.login h1 a { width:170px; height:170px; background-size:170px; margin-bottom:-30px !important;}
body.login a { color:#FBFBFB !important;}
.login .message { color:#757575 !important;}

.panzoomElement img { max-height:95% !important;}

@media all and (max-width: 400px) {
    .circolare { width:50px; height:50px; border:solid 2px #33ffff;
  border-radius:999em;  }

  #name { margin-right:13px;}
  div#split2 {  width:66%;}
  div#split3 { text-align:right; float:right;}
  }
  
    
/***************************************************
				Modifiche Carmine
***************************************************/

html {height:100%;}

.div-title {
    text-shadow: 0 0 1px #5f5f5f;
}

#split1 {
    position:relative;
}

#split2 {
    height:80%;
}

	.split2 {
	float: left;
    width:60%;
	height: 80%;
	padding: 2% 3% 0% 0%;
	overflow:hidden;
	}

#split3 {
    position:relative;
}

input:not([type="radio"]) {
  -webkit-appearance: none;
  -webkit-border-radius: 0;
}

.paragrafo {
	text-transform:uppercase;
	}
	
iframe {width:80%; height:auto;}	

/*----------------------------------
per i video
-----------------------------------*/	
.tos-wrapper.tos-has-caption .tos-uibg {
    height: 0;
}	


.tos-desktop .tos-wrapper:hover .tos-play, .tos-touch .tos-wrapper.tos-hover .tos-play {
    opacity: .5;
    margin-top: -147px;
    z-index: 10000;
    background-color: #d81717;
}
/*----------------------------------
per i video-fine
-----------------------------------*/
/***************
intro
***************/	
home-slideshow.css:11
.cb-slideshow li span {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 50%;
    left: 50%;
    color: transparent;
    background-size: cover;
    background-position: 50% 50%;
    transform: translate(-50%,-50%);
}
/***************
intro - fine
***************/
/***************************************************
					header - logo
***************************************************/
.bannerlogo {
    /*position: absolute;
    left: 50%;
    transform: translate(-50%);*/
    width: 15em;
    display: inline-block;
    /*float: none;
    margin: 3px 0 0 0;*/
	float: left;
    margin: 3px 0 0 16em;
}
    
/***************************************************
				Modifiche menù
***************************************************/

#menuButton>a.close {
	margin-left: -61px;
	}

/***************************************************
		sezione modale per il testo - inizio
***************************************************/

.section-testo {
	display:none;
	position:fixed;
	top:0;
	left:0;
	width:100%;
	height:100%;
	background-color: rgba(0, 0, 0, 0.85);
    z-index: 10000;
	}
	
#cont-testo {
	width: 90%; 
	height:100%;
	margin: 0 auto;
}

#cont-testo h2 {
    padding-top: 80px;
    padding-left: 13px;
    padding-right: 0;
    padding-bottom: 15px;	
}

#contenuto {
	overflow: auto;
    height: 80%;
	}


/***************************************************
		sezione modale per il testo - fine
***************************************************/
/***************************************************
		grafica scrollbar - inizio
***************************************************/

::-webkit-scrollbar {
    width:2px;
}
 
::-webkit-scrollbar-track {
    border-radius:10px; 
    background:#000; 
    -webkit-box-shadow:inset 0 0 4px rgba(0,0,0,0.1);
}
 
::-webkit-scrollbar-thumb {
    border-radius:10px; 
    background:#2dfdf8;
}

#contenuto::-webkit-scrollbar-thumb{
    border-radius:10px; 
    background:#585858;
}

#contenuto::-webkit-scrollbar-track{
    border-radius:10px; 
    background:transparent; 
    -webkit-box-shadow:inset 0 0 4px rgba(0,0,0,0.1);
}

._mCS_1::-webkit-scrollbar-thumb{
    border-radius:10px; 
    background:#2dfdf8;
}

._mCS_1::-webkit-scrollbar-track{
    border-radius:10px; 
    background:transparent; 
}

/***************************************************
		grafica scrollbar - fine
***************************************************/

/***************************************************
				sezione form cerca - inizio
***************************************************/	
	
#section-cerca {
	display:none;
	position:fixed;
	top:0;
	left:0;
	width:100%;
	height:100%;
	background-color: rgba(0, 0, 0, 0.85);
    z-index: 10000;
	}

#close {
	position: absolute;
    right: 30;
    top: 30;
    font-size: 22px;
    color: rgba(11, 242, 255, 0.58);
	transition:all .4s ease-in-out;
}

#close:hover {
	position: absolute;
    right: 30;
    top: 30;
    font-size: 22px;
    color: #0bf2ff;
}

.search-mobile {
	position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
	}
	
	.search-mobile form, .search-mobile form input {
		margin:0;
		}
	
	input.search-field {
    padding: 10px 40px;
	color:#fff;
	border: 2px solid #0bf2ff;
    cursor: pointer;
    background: transparent;
    margin-top: 10px;
    width: 100%;
}

input.search-field:-webkit-autofill,
input.search-field:-webkit-autofill:hover,
input.search-field:-webkit-autofill:focus,
input.search-field:-webkit-autofill:active {
transition: background-color 5000s ease-in-out 0s;
} 
	input.search-field:focus {
    background: #fff;
	outline:none;
	color:#000;
}

	input.search-field:hover {
    background: #fff;
	color:#000;
}
	
	input.search-submit {
	display:none;
    width: 50px;
    height: 50px;
    cursor: pointer;
    color: transparent;
    background-color: transparent;
    /*background-image: url(http://frame.technology/dev/presidenti/wp-content/themes/presidenti/image/search-icon.png);*/
    background-repeat: no-repeat;
    background-size: 50px;
    border: none;
    margin-top: 10px;
}
#lente {
    width: 31px;
    margin-right: 25px;
    margin-top: 20px;
    float: right;
    cursor: pointer;
}

/***************************************************
				sezione form cerca - fine
***************************************************/	

/***************************************************
				sezione laterale - inizio
***************************************************/	
#name {
    float: right;
    margin-top: 82px;
    margin-right: 90px;
	box-shadow: none;
}

.div-extra {
	width: 100%;
	float:left;
	text-align:right;
	padding-top:82px;
    position: absolute;
	
	}

.div-inside-extra {
 margin-top:40px;	
	}
/***************************************************
				sezione laterale - fine
***************************************************/
/***************************************************
				titolo della pagina
***************************************************/
.div-title-biblio::first-letter {
    color: #fff;
}
/***************************************************
				titolo della pagina - fine
***************************************************/

#navigation {
	margin: 0;
    position: absolute;
    bottom: 0px;
	}	
	
.gallery-title-min {
		display:none;
		}	
		
#split1 h2 {		
	cursor:pointer;	
}

#testo-mobile {display:none;}
	
@media screen and (max-height: 767px) {
	.circolare {
	  width: 86px; 
	  height: 86px; 
	}
	
	#split3 .gallery-title {
			font-size: 17px;
			padding-top: 6px;
		}
	}

@media screen and (max-width: 1366px) and (max-height: 1024px) {
	.footer {
			position: relative;
			bottom: 0;
			height: 31.4%;
			width: 100%;
			background-color: transparent;
			border-bottom: 4px solid #2dfdf8;
			overflow-y: hidden;
		}	
	}
	
@media screen and (min-width: 1263px) {

#cont-testo {
	width: 60%; 
}
	
}	

@media screen and (max-width: 1262px) {
	.search {
		display:none;}
		
	/*.watemark {
		display:none;}
		}*/
}

@media screen and (max-width: 1024px){
.footer {
    position: relative;
    bottom: 0;
    height: 31.4%;
    width: 100%;
    border-bottom: 4px solid #2dfdf8;
    overflow-y: hidden;
}

#navigation {
	margin: 0;
    position: absolute;
    bottom: 0px;
	}
	
.circolare {
  width: 86px; 
  height: 86px; 
}

#split3 .gallery-title {
	    font-size: 17px;
		padding-top: 6px;
	}

}




/***************************************************
				MEDIA QUERY - DEVICE
***************************************************/

@media screen and (max-device-width: 1024px) and (max-device-height: 1366px) and (orientation:portrait) {
.footer {
    position: relative;
    bottom: 0;
    height: 31.4%;
    width: 100%;
    background-color: transparent;
    border-bottom: 4px solid #2dfdf8;
    overflow-y: hidden;
}

#split1 {
    float: left;
    width: 19%;
    height: 100%;
    padding: 2% 1% 0% 0%;
    overflow: hidden;
}

#split1 h2 {
	font-size:14px;
	}

	.split2 {
    width: 78% !important;
    margin-top: 101px;;
	}

#split3 {
    float: left;
    width: 25%;
    height: 100%;
    padding: 2% 0% 0% 0%;
    overflow: hidden;
}

#navigation {
	position: absolute;
    bottom: 0;

	}
	
	.mCustomScrollBox{ 
		height: 96%;
	}
	
.search-mobile {
	position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
	}
    
}

@media screen and (max-device-width: 1366px) and (max-device-height: 1024px) and (orientation:landscape) {
.footer {
    position: relative;
    bottom: 0;
    height: 31.4%;
    width: 100%;
    background-color: transparent;
    border-bottom: 4px solid #2dfdf8;
    overflow-y: hidden;
}	

#split1 h2 {
	font-size:14px;
	}


#navigation {
	position: absolute;
    bottom: 0;

	}
	
	.mCustomScrollBox{ 
		height: 96%;
	}
	
.search-mobile {
	position: absolute;
    top: 200px;
    left: 50%;
    transform: translate(-50%,-50%);
	}	

}

@media screen and (max-device-width: 700px) and (max-device-height: 400px) and (orientation:landscape) {
	.search-mobile {
	position: absolute;
    top: 116px;
    left: 50%;
    transform: translate(-50%,-50%);
	}	
}



@media screen and (max-width: 767px){
/***************
intro
***************/	
.hidelogo {
    width: 81px;
}

.homelogo {
    width: 200px;
}

/***************
intro - fine
***************/	
	
	.watemark {
		display:none;
		}
	
	#lente {
		float:left;
		margin-left: 64px;
		margin-top: 13px;
	}
	
	h1 {
		font-size: 14px;
	}
	

	
	#name {
		margin-top: 82px;
		margin-right: 8px;
		border: 1px solid #33ffff;
	}
	
	#name h1 {
    line-height: 15px;
    padding-bottom: 1px;
	padding-right: 6px;
    padding-top: 2px;
    padding-left: 4px;
	padding-bottom:1px;
}
	
#split1 {
    width: 63%;
}	
	
	#split2 {
		display: none;
		}	
		
	.split2 {
		width: 90% !important;
		margin: 0 auto;
		float:none;
	}
	
	.div-title-biblio {display:none;}
	
	.bibliografia {
    padding-right: 0% !important;
}
		
	#split3 {
		float: right;
    	width: 109px;
		}
		
	.gallery-title-min, h3 {
		text-align: center;
		margin-right: 105px;
		font-size:0.8em;
		display:block;
		width: 72%;
		}
		
	.mCustomScrollBox {
			height: 100%;
		}	
	
	.gallery-title {
		display:none;
		}	
		
	.mCSB_inside > .mCSB_container {
			margin-right: 0;
		}	
		
	#menuButton {
    right: -20px;
}

.gallery-icon {
    float: right;
    margin-right: 8px;
	border:1px solid #33ffff;
}


.circolare-extra {
	width: 50px;
    height: 50px;
	border: 2px solid #33ffff;
	display:block;
	}
/*	
.content {
	position:relative;
	}

.div-extra {
	bottom:0;
	}
	
.div-inside-extra {
	width:100%;
	height:auto;
	margin:0;
	padding:2px;
	text-align: center !important;
	}
	*/

.div-extra {
	padding-top: 76px;
	}	
	
.div-inside-extra {
	margin-top: 13px;
    width: auto;
    background-color: transparent;
	}

span.colored {
    display: none;
}
	
#testo-mobile {display:block;}	

.section-testo, #section-cerca {
	background-color: #000;
	}
	
	
	
.bannerlogo {
	box-sizing: border-box;
		overflow: hidden;
		float: right;
		margin: 0;
		margin-top: 8px;
    	margin-right: 15px;
		width: 11em;
	}
	
span.bigger {
    font-size: 12px;
}
	
#navigation {
	height:45px;
	margin-left: 18px;
	}	
	
.div-title {
    font-size: 20px;
    line-height: 20px;
	margin-top: 18px;
}

.div-title-biblio {
	font-size: 20px;
    line-height: 20px;
	margin-top: 18px;
	}



h2 {
    font-size: 14px;
}

#testo-mobile {
	height:70px;
	overflow:hidden;
	cursor: pointer;
	}

.circolare {
    width: 66px;
    height: 66px;
}

.gallery-icon {
    margin-right: 19px;
}


.pulsantinav {
	width:23px;
	height:23px;
    padding-bottom: 20px;
}

#next-chapter {
    width: 20px;
    height: 20px;
}

#prev-chapter {
    width: 20px;
    height: 20px;
	margin-right: 29px;
}	

.footer {
    position: relative;
    bottom: 0;
    height: 31.4%;
    width: 100%;
    border-bottom: 4px solid #2dfdf8;
    overflow-y: hidden;
}
	
	}


/***************************************************
				MEDIA QUERY - DEVICE - FINE
***************************************************/


/* modifiche ottobre 2025 */

/* togli frecce su-giu */

#navigation img {display: none;}
#navigation #prev-chapter {display: block !important;}
#navigation #next-chapter {display: block !important;}

.text-overlay {
  position: fixed;
  top: 20px;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(20, 20, 20, 0.85); /* overlay marcato ma non totale */
  display: none; /* nascosto di default */
  justify-content: center;
  align-items: center;
  z-index: 9999;
  padding: 2rem;
  font-family: 'FedraMedium', Helvetic , sans-serif;
  text-transform: uppercase;
}

.text-overlay.active {
  display: flex;
}

.overlay-content {
  position: relative;
  max-width: 80%;
  max-height: 90%;
  overflow-y: auto;
  background: #222;
  color: #fff;
  padding: 2rem;
  border-radius: 2px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  line-height: 1.6;
}

.close-overlay {
  position: absolute;
  top: 10px;
  right: 15px;
  background: none;
  border: none;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  color: #2dfdf8;
  transition: color 0.2s;
}

.close-overlay:hover {
  color: #2dfdf8;
}

.mCustomScrollbar p {
  cursor: pointer;
}