@charset "UTF-8";

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */

article, aside, details, figcaption, figure,
footer, header, menu, nav, section {
    display: block;
}

@font-face {
    font-family: 'Junicode';
    src: url('../fonts/Junicode.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Scheherazade', serif;
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Junicode-bold';
    src: url('../fonts/Junicode-Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'Junicode-italic';
    src: url('../fonts/Junicode-Italic.woff') format('woff');
    font-weight: normal;
    font-style: italic;
}

html, body {
    /*padding: 20px 0 40px 0;*/
    /*font-family: ff-tisa-web-pro-1, ff-tisa-web-pro-2, Georgia, sans-serif;*/
    font-family: Junicode, Times, serif;
    color: #2a363b;
    /*font-size: 70%;*/
    font-size: 21pt;
    background: #f4f5f7;
}

body {
    min-height: 600px;
}

footer {
    display: none;
}

#main_header {
    padding: 1px;
    /*padding-top: 10px;*/
    height: 39px;
    margin-bottom: 17px;
    border-top: 11px solid #2a363b;

    /*
    -moz-box-shadow:0 5px 10px rgba(0,0,0,0.8);
    -webkit-box-shadow:0 5px 10px rgba(0,0,0,0.8);
    -o-box-shadow:0 5px 10px rgba(0,0,0,0.8);
    -khtml-box-shadow:0 5px 10px rgba(0,0,0,0.8);
    -ms-box-shadow:0 5px 10px rgba(0,0,0,0.8);
    box-shadow:0 5px 10px rgba(0,0,0,0.8);
    */
}

#home_title {
    cursor: pointer;
    margin-top: 1px;
    margin-left: 19px;
    font-size: 21pt;
    color: #2a363b;
    /*color: #fbf9f6;*/
    /*font-weight: bold;*/
    /*width: 389px;*/
    display: inline;
    font-family: Helvetica, Arial, sans-serif;
}

#home_subtitle {
    margin-top: 1px;
    margin-left: 19px;
    font-size: 10pt;
    color: #2a363b;

    /*display:inline;*/
    font-family: Helvetica, Arial, sans-serif;
}

#badge_title {
    font-family: Helvetica, Arial, sans-serif;
    border-radius: 4px;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
    display: inline;
    position: relative;
    top: -3px;
    border-style: solid;
    border-color: #bbb #888 #666 #aaa;
    /*border-width:3px 4px 4px 3px;*/
    padding: 2px 3px;
    background: #e8932d;
    color: #F5EAD4;
    line-height: 1;
    text-align: center;
    text-decoration: none;
    font-weight: 300;
    font-size: 0.6em;
    /*cursor:default*/
}

/*
#main_text_frame{
	position: absolute;
	top: 50px;
	left: 400px;
	width: 40%;
	height: 400px;
}
#text_elem{
	width: 60%;
	height: 500px;
}*/

.mainHeaderimg {
    width: 67px;
    opacity: 0.5;
}

.mainHeaderimg:hover, .current_mode .mainHeaderimg {
    opacity: 1;
}

/*#txt_single .mainHeaderimg,*/
#imgd_link .mainHeaderimg {
    /*	width: 51px;*/
    margin-left: -2px;
}

.mode_view img {
    height: 37px;
    width: auto;
}

#global_wrapper {
    /*border: 3px solid yellow;*/
    min-width: 1024px;
    min-height: 560px;
    height: 100%;
    width: 100%;
    position: absolute;
}

#central_wrapper {
    margin: 0 auto 0 auto;
    height: 87.5%; /*86*/
    width: 91%;
    z-index : 998;  /*added by Anastasia to make annotations (z-index:999) visible*/
    /*border: 3px solid black;*/

    -moz-box-shadow: 0 10px 5px -6px rgba(0, 0, 0, 0.8);
    -webkit-box-shadow: 0 10px 5px -6px rgba(0, 0, 0, 0.8);
    -o-box-shadow: 0 10px 5px -6px rgba(0, 0, 0, 0.8);
    -khtml-box-shadow: 0 10px 5px -6px rgba(0, 0, 0, 0.8);
    -ms-box-shadow: 0 10px 5px -6px rgba(0, 0, 0, 0.8);
    box-shadow: 0 10px 5px -6px rgba(0, 0, 0, 0.8);
    position: relative;
}

#header_collapse {
    position: absolute;
    color: rgb(245, 234, 212);
    z-index: 99999;
    margin: auto;
    /*left: 50%;*/
    left:40%;
    width: 24px;
    text-align: center;
    margin-left: -10px;
    max-height: 12px;
    font-size: 1em;
    cursor: pointer;
    text-shadow: none !important;
}

#header_collapse.fa-caret-up {
    top: 23px;
}

#header_collapse.fa-caret-down {
    top: -6px;
    text-shadow: 0 0 1px rgb(0, 0, 0) !important;
}

#header_collapse:hover {
    /*color:rgb(126,108,95);*/
    color: rgb(180, 177, 170);
}

#main_right_frame, #main_right_frame-single {
    /*border: 2px solid #2a363b;
    border: 2px solid #2a363b;*/
    border: 2px solid #2a363b;
    position: relative;
    height: 100%;
    /*width: 49.8%;*/
    /*Chiara*/
    z-index: 9999;
    overflow: hidden;
}

#main_right_frame header, #main_right_frame-single header {
    width: 100%;
    /*position: absolute;*/
    max-height: 42px;
    min-height: 42px;
    margin-left: auto;
    margin-right: auto;
    text-align: right;
    color: #fbf9f6;
    font-size: 18px;
    /*float: left;*/

    /*
    -moz-box-shadow:0 9px 10px rgba(0,0,0,0.4);
    -webkit-box-shadow:0 9px 100px rgba(0,0,0,0.4);
    -o-box-shadow:0 9px 10px rgba(0,0,0,0.4);
    -khtml-box-shadow:0 9px 10px rgba(0,0,0,0.4);
    -ms-box-shadow:0 9px 10px rgba(0,0,0,0.4);
    box-shadow:0 9px 10px rgba(0,0,0,0.4);
    */

    background: #2a363b;
    /*Chiara*/
    z-index: 999;
    -moz-box-shadow: 0 0 4px rgba(0, 0, 0, 0.5);
    -webkit-box-shadow: 0 0 4px rgba(0, 0, 0, 0.5);
    -o-box-shadow: 0 0 4px rgba(0, 0, 0, 0.5);
    -khtml-box-shadow: 0 0 4px rgba(0, 0, 0, 0.5);
    -ms-box-shadow: 0 0 4px rgba(0, 0, 0, 0.5);
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.5);

    position: relative;
}

#main_left_frame {
    /*border: 2px solid #2a363b;
    border: 2px solid #2a363b;*/
    border: 2px solid #2a363b;
    position: relative;
    /*width: 49.8%;*/
    width: 39.8%;
    height: 100%;
    background: black;
    overflow: hidden;

    /*Chiara*/
    float: left;
}

#main_left_frame.hidden-for-single {
    display: none;
}

#main_left_frame header {
    /*width: 94.4%;*/
    width: 100%;
    position: absolute;
    /*top: -50px;*/
    max-height: 42px;
    min-height: 42px;
    margin-left: auto;
    margin-right: auto;
    text-align: right;
    color: #fbf9f6;
    font-size: 18px;

    /*
    -moz-box-shadow:0 9px 10px rgba(0,0,0,0.4);
    -webkit-box-shadow:0 9px 100px rgba(0,0,0,0.4);
    -o-box-shadow:0 9px 10px rgba(0,0,0,0.4);
    -khtml-box-shadow:0 9px 10px rgba(0,0,0,0.4);
    -ms-box-shadow:0 9px 10px rgba(0,0,0,0.4);
    box-shadow:0 9px 10px rgba(0,0,0,0.4);
    */

    background: #2a363b;
    /*Chiara*/
    z-index: 999;
    -moz-box-shadow: 0 0 4px rgba(0, 0, 0, 0.5);
    -webkit-box-shadow: 0 0 4px rgba(0, 0, 0, 0.5);
    -o-box-shadow: 0 0 4px rgba(0, 0, 0, 0.5);
    -khtml-box-shadow: 0 0 4px rgba(0, 0, 0, 0.5);
    -ms-box-shadow: 0 0 4px rgba(0, 0, 0, 0.5);
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.5);

    /*per select
    overflow: visible;*/
}

#main_left_frame-single {
    border: 2px solid #2a363b;
    position: relative;
    width: 99.8%;
    height: 100%;
}

#main_left_frame-single header {
    /*width: 94.4%;*/
    width: 100%;
    position: absolute;
    top: -1px;
    height: 91px;
    margin-left: auto;
    margin-right: auto;
    z-index: 10;
    overflow: hidden;
    text-align: right;
    display: none;
    color: #fbf9f6;

    /*-moz-box-shadow:0 9px 10px rgba(0,0,0,0.4);
    -webkit-box-shadow:0 9px 100px rgba(0,0,0,0.4);
    -o-box-shadow:0 9px 10px rgba(0,0,0,0.4);
    -khtml-box-shadow:0 9px 10px rgba(0,0,0,0.4);
    -ms-box-shadow:0 9px 10px rgba(0,0,0,0.4);
    box-shadow:0 9px 10px rgba(0,0,0,0.4);*/
}

#main_left_frame.double #switchITL {
    display: none;
}

#central_page_number {
    border: 2px solid #2a363b;
    background: white;
    margin: -26px auto 0 auto;
    width: 80px;
    height: 30px;
    text-align: center;

    /*-moz-box-shadow:0 9px 10px rgba(0,0,0,0.4);
    -webkit-box-shadow:0 9px 100px rgba(0,0,0,0.4);
    -o-box-shadow:0 9px 10px rgba(0,0,0,0.4);
    -khtml-box-shadow:0 9px 10px rgba(0,0,0,0.4);
    -ms-box-shadow:0 9px 10px rgba(0,0,0,0.4);
    box-shadow:0 9px 10px rgba(0,0,0,0.4);*/
}

#central_page_number span {
    position: relative;
    top: 3px;
}

#main_left_menu {
    border: 2px solid #2a363b;
    float: left;
    margin-left: -30px;
    margin-top: -2px;
    width: 26px;
    height: 89px;
    text-align: center;
    cursor: pointer;

    -moz-box-shadow: 0 9px 10px rgba(0, 0, 0, 0.4);
    -webkit-box-shadow: 0 9px 100px rgba(0, 0, 0, 0.4);
    -o-box-shadow: 0 9px 10px rgba(0, 0, 0, 0.4);
    -khtml-box-shadow: 0 9px 10px rgba(0, 0, 0, 0.4);
    -ms-box-shadow: 0 9px 10px rgba(0, 0, 0, 0.4);
    box-shadow: 0 9px 10px rgba(0, 0, 0, 0.4);

    display: none;
}

#main_left_menu:hover #main_left_menu-openlink {
    color: white;
}

#main_left_menu:hover #main_left_menu-closelink {
    color: white;
}

#main_left_menu-openlink, #main_left_menu-closelink {
    text-decoration: none;
    color: #2a363b;
    font-size: 28px;
    font-weight: bold;
    position: relative;
    top: 24px;
    margin: 2px;
}

#main_left_menu-closelink {
    display: none;
    padding-left: 4px;
    padding-right: 4px;
}

#main_left_menu-openlink {
    /*display: none;*/
}

/*  */

#main_right_menu {
    border: 2px solid #2a363b;
    float: right;
    margin-right: -30px;
    margin-top: -2px;
    width: 26px;
    height: 89px;
    text-align: center;
    cursor: pointer;

    -moz-box-shadow: 0 9px 10px rgba(0, 0, 0, 0.4);
    -webkit-box-shadow: 0 9px 100px rgba(0, 0, 0, 0.4);
    -o-box-shadow: 0 9px 10px rgba(0, 0, 0, 0.4);
    -khtml-box-shadow: 0 9px 10px rgba(0, 0, 0, 0.4);
    -ms-box-shadow: 0 9px 10px rgba(0, 0, 0, 0.4);
    box-shadow: 0 9px 10px rgba(0, 0, 0, 0.4);

    display: none;
}

#main_right_menu:hover #main_right_menu-openlink {
    color: white;
}

#main_right_menu:hover #main_right_menu-closelink {
    color: white;
}

#main_right_menu-openlink, #main_right_menu-closelink {
    text-decoration: none;
    color: #2a363b;
    font-size: 28px;
    font-weight: bold;
    position: relative;
    top: 24px;
    margin: 2px;
}

#main_right_menu-closelink {
    display: none;
    padding-left: 4px;
    padding-right: 4px;
}

#main_right_menu-openlink {
    /*display: none;*/
}

#image_menu {
    display: inline;
}

#text_cont, #text_cont-add,
#image_cont,
#regesto_cont, #regesto_cont-add,
#front_cont, #front_cont-add,
#lists_cont,
#search_cont, #search_cont-add {
    height: 100%;
    text-align: center;
}

/*Chiara  */
#text_cont, #text_cont-add,
#regesto_cont, #regesto_cont-add,
#front_cont, #front_cont-add,
#lists_cont,
#search_cont, #search_cont-add {
    background: white;
    bottom: 42px;
    min-height: 436px;
    overflow: auto;
    position: absolute;
    margin-top: 42px;
    height: 100%;
    height: -moz-calc(100% - 84px);
    height: -webkit-calc(100% - 84px);
    /* height: -o-calc(100% - 84px);*/
    height: calc(100% - 84px);
    top: 0;
    width: 100%;
}

#front_cont, #front_cont-add {
    text-align: left;
    font-size: 19px;
}

#front_cont .front, #front_cont-add .front {
    padding-top: 40px;
}

#front_cont .front > .title, #front_cont-add .front > .title {
    text-align: center;
    font-weight: bold;
    margin-bottom: 20px;
    font-size: 110%;
    display: block;
}

#front_cont .front > div, #front_cont-add .front > div,
#front_cont .front .hangInd, #front_cont-add .front .hangInd {
    margin-bottom: 20px;
}

#right_header.menuClosed + #text_cont,
#right_header.menuClosed + #regesto_cont,
#right_header.menuClosed + #front_cont,
#left_header.menuClosed + #front_cont,
#left_header.menuClosed + #text_cont-add,
#left_header.menuClosed + #regesto_cont-add,
#right_header.menuClosed + #front_cont-add,
#left_header.menuClosed + #front_cont-add {
    /*margin-top: 0px;*/
}

#regesto_cont div.front, #regesto_cont-add div.front,
#front_cont div.front, #front_cont-add div.front {
    width: 85%;
    padding-bottom: 20px;
    margin: auto;
}

#text_cont-add {
    bottom: 0;
}

#text_cont, #text_cont-add {
    font-size: 19px;
}

#text_frame, #front_frame, #text_elem-add > div, #regesto, #regesto-add {
    margin-top: auto !important;
    /*overflow-y: scroll;*/
}

#image_cont {
    /*top: 16px;*/
    position: relative;
    /*height: 95%;
    min-height: 480px;*/
    margin-top: 42px;
    top: 0;
    height: calc(100% - 41px);
    height: -moz-calc(100% - 42px);

    /*-moz-box-shadow:2px 3px 5px -2px rgba(0, 0, 0, 0.8);
    -webkit-box-shadow:2px 3px 5px -2px rgba(0, 0, 0, 0.8);
    -o-box-shadow:2px 3px 5px -2px rgba(0, 0, 0, 0.8);
    -khtml-box-shadow:2px 3px 5px -2px rgba(0, 0, 0, 0.8);
    -ms-box-shadow:2px 3px 5px -2px rgba(0, 0, 0, 0.8);
    box-shadow:2px 3px 5px -2px rgba(0, 0, 0, 0.8);*/
    min-height: 456px;
    width: 100%;

}

#image_cont {
    background: #000;
}

#text, #text-add {
    color: #000;
}

#text_elem, #text_elem-add, #regesto, #regesto-add {
    /*width: 99.4%;*/
    width: 100%;
    min-height: 456px;
    overflow: visible;
    position: relative;
    top: 51px;
    /*overflow-x: hidden;*/
}

#regesto, #regesto-add {
    width: 98%;
    min-height: 91.7%;
    min-height: -moz-calc(100% - 98px);
    min-height: -webkit-calc(100% - 98px);
    /*min-height: -o-calc(100% - 98px);*/
    min-height: calc(100% - 98px);
}

/*Chiara
#text_cont{
	overflow-y:hidden;
}
*/

/*Chiara*/
#text, #text-add {
    margin: auto;
    width: 90%;

    /*Chiara*/
    /*height: 100%;*/
    height: auto;
    overflow-y: hidden;
    /*width: auto;*/
    max-width: 88%;
    /*margin-top: -20px;*/
    padding: 10px 10px 30px 10px;
}

#mag_image_elem {
    height: 100%;
    /*overflow: auto;*/
}

#image_elem, #image_fade {
    height: 100%;
    /*margin-top: -15.6px;
    background:#f95000;*/
    position: relative;
}

#image_elem img {
    left: 0;
    top: 100px;
}

#image_tool, #text_tool, #text_tool-add {
    height: 42px;
    z-index: 10;

    /* Chiara */
    position: absolute;
    bottom: -0.4px;
    border: none;
    width: 100%;
    -moz-box-shadow: 0 0 1px 0 rgba(0, 0, 0, 1);
    -webkit-box-shadow: 0 0 1px 0 rgba(0, 0, 0, 1);
    -o-box-shadow: 0 0 1px 0 rgba(0, 0, 0, 1);
    -khtml-box-shadow: 0 0 1px 0 rgba(0, 0, 0, 1);
    -ms-box-shadow: 0 0 1px 0 rgba(0, 0, 0, 1);
    box-shadow: 0 0 1px 0 rgba(0, 0, 0, 1);
    background: #2a363b;
    /*opacity: 0.4;*/
}

#text_tool,
#text_tool-add {
    font-size: 18px;
    text-align: center;
}

#text_tool-add {
    display: none;
}

#text_tool .like_select,
#text_tool-add .like_select {
    display: inline-block;
    top: 7px;
}

#text_tool span.text-button,
#text_tool-add span.text-button {
    position: relative;
    bottom: 10px;
    width: 1em;
    margin: 5px;
    margin-top: 7px;
}

#text_tool span.text-button i.fa.big,
#text_tool-add span.text-button i.fa.big {
    font-size: 25px;
    color: #F5EAD4;
    text-shadow: 0 1px 4px #000;
    z-index: 9999999;
    min-height: 40px;
}

#text_tool span.text-button i.fa.small-top,
#text_tool-add span.text-button i.fa.small-top {
    color: #F5EAD4;
    left: 11px;
    top: -11px;
    font-size: 13px;
    text-shadow: 0 1px 4px #000;
}

.image_tool-class {
    opacity: 0.4;
}

.image_tool-class.no-opacity {
    opacity: 1;
}

#image_tool:hover, .image_tool-class:hover {
    opacity: 1;
}

#image_tool p {
    display: inline;
}

#image_loading {
    /*height:28px;*/
    color: #E1D7C7;
    font-size: 48px;
    position: absolute;
    top: 50%;
    margin-top: -30px;
    width: 100%;
    text-align: center;
    /*display: none;*/
}

#spb a {
    color: #F5EAD4;

}

.zoom_btn {
    text-decoration: none;
    /*font-size: 18px;
    font-weight: bold;*/
    /*border: 3px solid #2a363b;
    background: black;
    border-top: 2px solid #2a363b;
    border-bottom: 2px solid #2a363b;
    border-right: 2px solid #2a363b;*/
}

#zoom_orig:hover, #zoom_fit:hover {
    color: white;
    /*background: #2a363b;*/
}

#spb {
    left: 0;
    /*width: 100%;*/
    margin: auto;
    position: relative;
    text-align: center;
    display: inline-block;
}

#spb_cont {
    /*border-right: 2px solid #2a363b;
    border-top: 2px solid #2a363b;
    border-left: 2px solid #2a363b;*/
    /*border-left: 2px solid #2a363b;*/
    /*border: 2px solid #2a363b;
    position: absolute;
    right: -26px;
    left: 10px;
    top: 168px;*/
    /*background: white;*/
    /*
    -moz-box-shadow:0 9px 10px rgba(0,0,0,0.4);
    -webkit-box-shadow:0 9px 100px rgba(0,0,0,0.4);
    -o-box-shadow:0 9px 10px rgba(0,0,0,0.4);
    -khtml-box-shadow:0 9px 10px rgba(0,0,0,0.4);
    -ms-box-shadow:0 9px 10px rgba(0,0,0,0.4);
    box-shadow:0 9px 10px rgba(0,0,0,0.4);
    */

    /* Chiara */
    display: inline-block;
    height: 40px;
    position: relative;
    width: 226px;
}

/*Senza FA
#zoom_in{
    height:28px;
	width: 28px;
	background: url(../images/iviewer.zoom_in.gif) top center no-repeat;
	min-width: 28px;
	min-height: 28px;

	top: 10px;
	left: 351px;
	z-index: 9999999;
	position: relative;
}

#zoom_out{
	top: -40px;
    height:28px;
	width: 28px;
	background: url(../images/iviewer.zoom_out.gif) top center no-repeat;
	min-width: 28px;
	min-height: 28px;
	top: 10px;
	left: 78px;
	position: relative;
	z-index: 9999999;
}

#zoom_orig{
	background: url(../images/iviewer.zoom_full.gif) top center no-repeat;
	height:28px;
	width: 28px;
	min-width: 28px;
	min-height: 28px;
	top: 10px;
	left: 5px;
	position: relative;
	z-index: 9999999;
}
#zoom_fit{
	background: url(../images/iviewer.zoom_fit.gif) top center no-repeat;
	height:28px;
	width: 28px;
	min-width: 28px;
	min-height: 28px;
	top: 10px;
	left: 40px;
	position: relative;
	z-index: 9999999;
}
*/

#zoom_fit, #zoom_orig, #zoom_out, #zoom_in {
    /*Senza FA
    -moz-box-shadow:0px 2px 6px -2px #000;
    -webkit-box-shadow:0px 2px 6px -2px #000;
    -o-box-shadow:0px 2px 6px -2px #000;
    -khtml-box-shadow:0px 2px 6px -2px #000;
    -ms-box-shadow:0px 2px 6px -2px #000;
    box-shadow: 0px 2px 6px -2px #000;
    */
    /*Con FA*/
    text-shadow: 0 1px 4px #000000;
    position: relative;
    z-index: 9999999;
    bottom: 10px;
    margin: 5px;
    min-height: 40px;
    font-size: 0.9em;
}

#zoom_fit:hover, #zoom_orig:hover, #zoom_out:hover, #zoom_in:hover {
    /*Senza FA
    -moz-box-shadow:inset 0px 2px 6px -2px #000;
    -webkit-box-shadow:inset 0px 2px 6px -2px #000;
    -o-box-shadow:inset 0px 2px 6px -2px #000;
    -khtml-box-shadow:inset 0px 2px 6px -2px #000;
    -ms-box-shadow:inset 0px 2px 6px -2px #000;
    box-shadow: inset 0px 2px 6px -2px #000;
    */
    /*Con FA*/
    color: rgb(187, 174, 153);
}

#zoom_orig i {
    font-style: normal;
}

#img_tools {
    white-space: pre-line;
    float: right;
    /*margin-top: 185px;
    margin-right: -47px;
    width:47px;
    display: none;*/
}

#thumb_cont {
    /*position: relative;*/

    /*margin-top: 42px;*/
    margin-right: 30px;
    height: 100%;
    /*height: -moz-calc(100% - 42px);
    height: -webkit-calc(100% - 42px);
    height: -o-calc(100% - 42px);
    height: calc(100% - 42px);*/

    display: none;
    min-width: 436px;
    width: 100%;

    overflow: auto;
    overflow-x: hidden;

    position: absolute;
    top: 0;
}

#thumb_cont figure {
    /*float: left;*/
    display: inline-block;
    padding: 9px 3px;
    margin: 3px;
    cursor: pointer;
}

#thumb_cont figure:hover figcaption {
    background: rgba(0, 0, 0, 0.7) !important;
}

#thumb_cont figure figcaption {
    color: white;
    position: relative;
    margin-top: -52px;
    background: rgba(0, 0, 0, 0.2);
    font-size: 0.7em;
    width: 100px;
}

#thumb_cont figure img {
    height: 150px;
    width: 100px; /*da decidere insieme*/
}

#left_menu, #right_menu {
    position: absolute;
    top: 50%;
    height: 28px;
    margin-top: -15px;
    width: 100%;
    text-align: center;
}

#slider {
    /*margin: 10px; width: 400px;*/
    /*margin: 3px 0 5px 0;*/
    /*margin-left: 8px;*/
    /*height: 200px;*/

    /*Chiara*/
    position: relative;
    margin: 0 0.2em;
    -moz-box-shadow: 0 1px 6px rgba(0, 0, 0, 0.8);
    -webkit-box-shadow: 0 1px 6px rgba(0, 0, 0, 0.8);
    -o-box-shadow: 0 1px 6px rgba(0, 0, 0, 0.8);
    -khtml-box-shadow: 0 1px 6px rgba(0, 0, 0, 0.8);
    -ms-box-shadow: 0 1px 6px rgba(0, 0, 0, 0.8);
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.8);
    background-color: #F5EAD4;
    height: 11px;
    top: 50%;
    margin-top: -5.5px;
}

#slider a {
    -moz-box-shadow: 0 1px 3px -1px rgba(0, 0, 0, 0.6);
    -webkit-box-shadow: 0 1px 3px -1px rgba(0, 0, 0, 0.6);
    -o-box-shadow: 0 1px 3px -1px rgba(0, 0, 0, 0.6);
    -khtml-box-shadow: 0px 1px 3px -1px rgba(0, 0, 0, 0.6);
    -ms-box-shadow: 0px 1px 3px -1px rgba(0, 0, 0, 0.6);
    box-shadow: 0 1px 3px -1px rgba(0, 0, 0, 0.6);
    border-radius: 5px;
    background-color: #F5EAD4;
    width: 10px;
    margin-left: -0.2em;
    top: -10.5px;
    height: 30px;
}

#slider a:focus {
    outline: none;
    /*background: rgb(126, 108, 95);*/
}

#slider a:hover {
    background: rgb(187, 174, 153);
}

#central_button {
    height: 30px;
    /*margin-top: -4px;*/
    display: none;
}

#edval {
    font-size: 17px;
    text-align: center;
    background: white;
    border: 2px solid #2a363b;
    width: 89px;
    height: 24px;
    margin: 0 auto;
    position: relative;
    left: -87px;
    top: 2px;
}

#edval > span {
    position: relative;
    margin: 0 auto;
    top: 1px;
}

#zval {
    color: #F5EAD4;
    display: inline-block;
    font-size: 0.8em;
    height: 24px;
    margin: 0 auto;
    position: relative;
    top: -14px;
    font-weight: lighter;
    min-width: 60px;
    text-align: left;
}

#zval > span {
    position: relative;
    top: 3px;
}

.scroll-ios {
    overflow: scroll;
    -webkit-overflow-scrolling: touch;
}

.like_select, .mainButtons {
    position: relative;
    /*height: 28px;*/
    left: 0;
    /*padding: 0px;*/
    font-size: 1em;
    margin: 0 4px;
    /*top:-7px;*/
}

#text_tool .like_select {
    top: 7px;
}

#left_header #image_menu {
    /*top: -7px;*/
    position: relative;
}

#left_header #image_menu .iconButtons {
    top: 7px;
}

.mainButtons {
    display: inline-block;
}

.mainButtons.small {
    min-width: 28px;
    border-radius: 3px;
    text-align: center;
}

#text_tool .mainButtons, #text_tool-add .mainButtons {
    top: 7px;
}

/*#text_tool-add #search_link-add {
	top:0px;
}*/
#right_header .like_select {
    /*left:-8px;*/
    display: inline-block;
}

#left_header .like_select {
    display: none;
}

#left_header #span_pp_select, #left_header #span_dd_select {
    display: inline-block;
    /*top: -7px;*/
}

#span_ee_select-add {
    top: 0;
}

/*Chiara*/
.like_select {
    width: auto;
}

.like_select > div:hover {
    border-radius: 2px 2px 0 0;
}

.like_select > div, .mainButtons {
    /*font-size: 20px;*/
    background: #fbf9f6;
    color: #000;
    text-align: left;
    /*padding: 5px;*/
    height: 28px;
    /*overflow: visible;*/
    overflow: hidden;
    min-width: 80px;
    -moz-box-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
    -webkit-box-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
    -o-box-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
    -khtml-box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.4);
    -ms-box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.4);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
    border-radius: 2px;
    font-family: Helvetica, Arial, sans-serif;
    font-size: 12pt;
}

.label_selected, .mainButtons span, .mainButtons i {
    margin: 0 4px;
    top: 6px;
    position: relative;
}

.label_selected {
    margin-right: 35px;
}

.mainButtons i {
    right: 0;
    margin-right: 4px;
    top: 4px;
}

.like_select .option_container {
    position: relative;
    overflow-y: auto;
    /*display: none;*/
    visibility: hidden;
    padding: 3px 5px 0 5px;
    background: #fbf9f6;
    width: auto;
    left: 0;
    /*top: 5px;*/
    max-height: 170px;
    z-index: 400;
    -moz-box-shadow: 0 2px 5px rgba(0, 0, 0, 0.7);
    -webkit-box-shadow: 0 2px 5px rgba(0, 0, 0, 0.7);
    -o-box-shadow: 0 2px 5px rgba(0, 0, 0, 0.7);
    -khtml-box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.7);
    -ms-box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.7);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.7);
    top: 30px;
    /*position: absolute;*/
}

.option_container.up {
    top: 0;
    /*height: 24px;*/
    -moz-box-shadow: 0 1px 5px rgba(0, 0, 0, 0.7);
    -webkit-box-shadow: 0 1px 5px rgba(0, 0, 0, 0.7);
    -o-box-shadow: 0 1px 5px rgba(0, 0, 0, 0.7);
    -khtml-box-shadow: 0px 1px 5px rgba(0, 0, 0, 0.7);
    -ms-box-shadow: 0px 1px 5px rgba(0, 0, 0, 0.7);
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.7);
}

.like_select.widthChanged .option_container {
    visibility: visible;
    display: none;
    position: absolute;
}

.like_select .option {
    color: rgb(0, 0, 0);
    position: relative;
    padding: 5px;
    width: 100%;
    left: -5px;
    border-bottom: solid 1px rgba(60, 50, 44, 0.5);
    cursor: pointer;
    height: 20px;
    margin-right: 9px;
}

.option.inPage {
    background: rgba(126, 108, 95, 0.5);
}

.like_select .option:hover, .like_select .hovered {
    /*background: #2a363b;*/
    background: #ffc178;
    color: #fff;
}

.option.selected {
    /*color:#CCC;*/
    color: #fff;
    background: #e8932d;
    cursor: default;
}

.like_select.filter .option.selected, .like_select.filter .option.selected:hover {
    background: #bc5b27;
    color: #fff;
}

.like_select.filter .option.selected:hover {
    cursor: pointer;
}

.like_select .option_container .option .filter_color {
    font-size: 0.6em;
    top: -2px;
    position: relative;
    text-shadow: 0 0 2px rgba(0, 0, 0, 0.5);
    margin-right: 6px;
}

.like_select .option_tooltip,
.like_select .option_tooltip_dd {
    display: none;
    position: absolute;
    background: rgb(245, 234, 212);
    padding: 5px 15px;
    /*left: 94px; */
    width: auto;
    min-width: 120px;
    height: auto;
    top: 55px;
    z-index: 999;
    font-size: 0.9em;
    -moz-box-shadow: 2px 1px 4px rgba(0, 0, 0, 0.7);
    -webkit-box-shadow: 2px 1px 4px rgba(0, 0, 0, 0.7);
    -o-box-shadow: 2px 1px 4px rgba(0, 0, 0, 0.7);
    -khtml-box-shadow: 2px 1px 4px rgba(0, 0, 0, 0.7);
    -ms-box-shadow: 2px 1px 4px rgba(0, 0, 0, 0.7);
    box-shadow: 2px 1px 4px rgba(0, 0, 0, 0.7);
    opacity: .8;
}

.like_select .option_tooltip span,
.like_select .option_tooltip_dd span {
    display: block;
    position: relative;
}

.option.selected:hover {
    /*background: #F5EAD4;
    color: #ccc;*/
    color: #fff;
    background: #bc5b27;
}

.optionGroup span {
    font-size: 80%;
    color: #4E443C;
}

#span_pp_select .option, #span_dd_select .option {
    padding-left: 15px;
    width: -moz-calc(100% - 10px);
    width: -webkit-calc(100% - 10px);
    /*    width: -o-calc(100% - 10px);*/
    width: calc(100% - 10px);
}

#span_pp_select .option:last-child, #span_dd_select .option:last-child {
    border-bottom: 2px solid #4E443C;
}

.like_select .open_select:hover {
    border-radius: 2px 2px 0 0;
}

.like_select .open_select {
    width: 24px;
    text-align: center;
    position: absolute;
    right: 0;
    top: 0;
    height: 28px;
    border-left: 1px solid #d9d7d7;
    cursor: pointer;
    background: #ccc4ba;
    opacity: 0.5;
    border-radius: 0 2px 2px 0;
}

.like_select.not_active, .like_select.not_active .open_select {
    cursor: default;
}

.like_select .open_select .fa {
    text-shadow: none !important;
}

.like_select .open_select .fa.fa-sort-asc {
    top: 7px;
    position: relative;
}

.like_select .open_select:hover {
    opacity: 1;
}

.like_select.not_active .open_select:hover {
    opacity: 0.5;
}

.iconButtons {
    position: relative;
    top: 1px;
}

.mainButtons, .iconButtons {
    text-decoration: none;
    cursor: pointer;
}

.iconButtons i {
    margin: 1px 4px;
    text-decoration: none;
    text-indent: 0;
    background: none;
    font-size: 1.5em;
    color: #f4f5f7;
    height: 28px;
    position: absolute;
}

#search_elem i {
    top: -1px;
    position: relative;
}

.mainButtons .fa {
    text-shadow: none !important;
}

.mainButtons:hover {
    -moz-box-shadow: inset 1px 2px 3px rgba(0, 0, 0, 0.7);
    -webkit-box-shadow: inset 1px 2px 3px rgba(0, 0, 0, 0.7);
    -o-box-shadow: inset 1px 2px 3px rgba(0, 0, 0, 0.7);
    -khtml-box-shadow: inset 1px 2px 3px rgba(0, 0, 0, 0.7);
    -ms-box-shadow: inset 1px 2px 3px rgba(0, 0, 0, 0.7);
    box-shadow: inset 1px 2px 3px rgba(0, 0, 0, 0.7);
    text-shadow: none !important;
    /*background: rgb(187,174,153);*/
}

.iconButtons:hover .fa, .iconButtons.active .fa {
    text-shadow: none !important;
    color: rgb(187, 174, 153);
}

.mainButtons:hover .fa, .active .fa {
    text-shadow: none !important;
}

.active, .active .fa {
    color: #2a363b;
}

.active {
    background: #E3C89C;
}

.iconButtons.active {
    background: transparent;
}

.inactive i, .inactive span,
.disabled i, .disabled span {
    /*text-shadow:none;	*/
    color: #786E64;
    -moz-box-shadow: none;
    -webkit-box-shadow: none;
    -o-box-shadow: none;
    -khtml-box-shadow: none;
    -ms-box-shadow: none;
    box-shadow: none;
    text-shadow: none !important;
}

.inactive:hover, .inactive,
.disabled:hover, .disabled {
    color: #786E64;
    cursor: default;
    -moz-box-shadow: none;
    -webkit-box-shadow: none;
    -o-box-shadow: none;
    -khtml-box-shadow: none;
    -ms-box-shadow: none;
    box-shadow: none !important;
    background: #F5EAD4;
    /*cursor:not-allowed;*/
}

.likeInactive i, .likeInactive span {
    /*text-shadow:none;*/
    color: #786E64;
    -moz-box-shadow: none;
    -webkit-box-shadow: none;
    -o-box-shadow: none;
    -khtml-box-shadow: none;
    -ms-box-shadow: none;
    box-shadow: none;
    text-shadow: none !important;
}

.likeInactive:hover, .likeInactive {
    color: #786E64;
    cursor: default;
    -moz-box-shadow: none;
    -webkit-box-shadow: none;
    -o-box-shadow: none;
    -khtml-box-shadow: none;
    -ms-box-shadow: none;
    box-shadow: none;
    background: #F5EAD4;
}

#radio_edition, #radio_edition-add {
    /*	position: absolute;
        right: 225px;
        top: 4px;*/
    min-width: 214px;
    /*height: 31px;*/
    /*padding-right: 12px;
    padding-top: 7px;*/
    border: 2px solid #fbf9f6;

    /*Chiara*/
    position: relative;
    top: 2px;
    left: auto;
    float: right;
    right: 9px;
    padding: 9px;
    height: 23px;
    text-align: center;
}

#radio_edition-add {
    float: left;
}

.styled-select select {
    background: transparent;
    width: 268px;
    padding: 5px;
    font-size: 26px;
    border: 1px solid #ccc;
    height: 34px;
}

/* TOP HEADER */
#cont_interface_tools {
    position: absolute;
    /* top: 0; */
    top:11px; /* in 3_col_mode */
    right: 4px;
    width: auto;
}

#mode_switch {
    display: inline;
    top: 3px;
    position: relative;
}

#mode_switch a {
    /*Chiara padding: 0 2px;*/
    text-decoration: none;
    color: #2a363b;
    font-weight: bold;
}

#mode_switch a.current_mode {
    /*color: #fbf9f6;*/
    color: white;
}

#mode_switch a.current_mode:hover {
    color: white;
}

#mode_switch a:hover {
    color: #fbf9f6;
}

/*#main_fullscreen, #info_link, #settings_link {*/
#main_fullscreen, #settings_link {
    text-shadow: 0 1px 4px #000;
    color: #F5EAD4;
    padding: 0 7px;
    position: relative;
    top: -4px;
    /*font-size: 0.65em;*/
    font-size: 1em;
}

#settings_link.active {
    background: transparent !important;
}

#settings_link.active .fa, #settings_link:hover .fa {
    color: rgb(180, 177, 170) !important;
    /*text-shadow: 0px 0px 2px rgba(245, 236, 213, 1) !important;*/
}

#settings_link {
    display: inline;
}

/*#main_fullscreen:hover, #info_link:hover, #settings_link:hover {*/
#main_fullscreen:hover, #settings_link:hover {
    height: 34px;
    color: rgb(180, 177, 170);
}

.main_right_arrow {
    background: url(../images/arrows.png) no-repeat 0 -177px;

    cursor: pointer;
    display: inline-block;
    height: 59px;
    outline: 0;
    text-indent: -9999px;
    width: 31px;
    z-index: 9999;

    /* CDP */
    top: 50%;
    position: absolute;
    float: right;
    right: -4%;
    margin-top: -29.5px;
}

.main_right_arrow:hover, .arrow_right_disable {
    background-position: 0 -118px;
}

.arrow_right_disable {
    cursor: default;
    background-position: 0 -118px;
}

.main_left_arrow {
    background: url(../images/arrows.png) no-repeat 0 -59px;

    float: left;
    cursor: pointer;
    display: inline-block;
    height: 59px;
    outline: 0;
    text-indent: -9999px;
    width: 31px;
    z-index: 9999;

    /*CDP*/
    top: 50%;
    position: absolute;
    left: -4%;
    margin-top: -29.5px;
}

.main_left_arrow:hover, .arrow_left_disable {
    background-position: 0 0;
}

.arrow_left_disable {
    background-position: 0 0;
    cursor: default;
}

#info_link.display img {
    opacity: 1;
    color: transparent !important;
}

#info_link .mainHeaderimg {
    width: 29px;
    margin-bottom: 2px;
    margin-left: 5px;
}

#inside_left_arrow, #inside_right_arrow,
#inside_left_arrow-add, #inside_right_arrow-add {
    top: 50%;
    position: absolute;
    z-index: 9;
    cursor: pointer;
    opacity: 0.2;
}

#inside_left_arrow-add, #inside_right_arrow-add {
    display: none !important;
}

#inside_left_arrow:hover, #inside_right_arrow:hover,
#inside_left_arrow-add:hover, #inside_right_arrow-add:hover {
    opacity: 1 !important;
}

#inside_left_arrow, #inside_left_arrow-add {
    margin-right: 15px;
    right: 0;
    margin-top: -42px;
}

#inside_right_arrow, #inside_right_arrow-add {
    margin-right: 15px;
    right: 0;
}

#inside_left_arrow-add, #inside_right_arrow-add {
    display: none;
}

#inside_left_arrow.disabled, #inside_right_arrow.disabled, #inside_left_arrow.disabled:hover, #inside_right_arrow.disabled:hover,
#inside_left_arrow-add.disabled, #inside_right_arrow-add.disabled, #inside_left_arrow-add.disabled:hover, #inside_right_arrow-add.disabled:hover {
    cursor: default;
    opacity: 0 !important;
}

/*Chiara*/
/* Se si usano le icone nuove
#txtimg_link, #txtimg_link:hover, #txtimg_link.current_mode,
#txttxt_link, #txttxt_link:hover, #txttxt_link.current_mode,
#imgd_link, #imgd_link:hover, #imgd_link.current_mode{
	min-height: 50px;
	font-size: 1.3em;
	padding:0px;
	margin-left: 7px;
}*/
#txtimg_link, #txttxt_link, #txtimg_link:hover, #txtimg_link.current_mode, #txttxt_link:hover, #txttxt_link.current_mode {
    min-height: 50px;
    font-size: 1.4em;
    padding: 0;
}

#txttxt_link, #txtimg_link, #txttxt_link.current_mode, #txtimg_link.current_mode {
    color: transparent !important;
}

/* Top Menu Wave */
div.concave {
    border-top: 2px solid #3C322C;
    background: transparent;
    width: 287px;
    position: absolute;
    right: 0;
    top: 9px;
}

div.extTop {
    background: #2a363b;
    width: 287px;
    height: 17px;
    position: relative;
}

div.topleftconcave {
    position: absolute;
    background: #f4f5f7;
    width: 25px;
    height: 25px;
    border-top-right-radius: 300px 300px;
    -moz-box-shadow: 4px -2px 5px -3px rgba(0, 0, 0, 0.6);
    -webkit-box-shadow: 4px -2px 5px -3px rgba(0, 0, 0, 0.6);
    -o-box-shadow: 4px -2px 5px -3px rgba(0, 0, 0, 0.6);
    -khtml-box-shadow: 4px -2px 5px -3px rgba(0, 0, 0, 0.6);
    -ms-box-shadow: 4px -2px 5px -3px rgba(0, 0, 0, 0.6);
    box-shadow: 4px -2px 5px -3px rgba(0, 0, 0, 0.6);
    overflow-y: hidden;
}

div.botleftconcave {
    position: absolute;
    background: #2a363b;
    width: 263px;
    height: 16px;
    top: 16px;
    left: 24px;
    border-bottom-left-radius: 60px 60px;
    -moz-box-shadow: inset 4px -3px 5px -3px rgba(0, 0, 0, 0.4), inset 0 -4px 5px -3px rgba(0, 0, 0, 0.4);
    -webkit-box-shadow: inset 4px -3px 5px -3px rgba(0, 0, 0, 0.4), inset 0 -4px 5px -3px rgba(0, 0, 0, 0.4);
    -o-box-shadow: inset 4px -3px 5px -3px rgba(0, 0, 0, 0.4), inset 0 -4px 5px -3px rgba(0, 0, 0, 0.4);
    -khtml-box-shadow: inset 4px -3px 5px -3px rgba(0, 0, 0, 0.4), inset 0px -4px 5px -3px rgba(0, 0, 0, 0.4);
    -ms-box-shadow: inset 4px -3px 5px -3px rgba(0, 0, 0, 0.4), inset 0px -4px 5px -3px rgba(0, 0, 0, 0.4);
    box-shadow: inset 4px -3px 5px -3px rgba(0, 0, 0, 0.4), inset 0 -4px 5px -3px rgba(0, 0, 0, 0.4);
}

#cont_fullscreen {
    display: inline;
}

#left_header #span_dd_select, #span_ee_select-add {
    display: none;
}

#main_left_frame.full {
    position: absolute !important;
    z-index: 99999999 !important;
}

#main_right_frame.full {
    z-index: 99999999 !important;
    background: #fff;
}

/*.fa{
	text-shadow: 0 1px 4px rgba(0,0,0,0.7);
}*/


/* go-full-right-original*/
/* .go-full-right {
    filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=1);
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transform: rotate(45deg);
    /*font-size: 2.3em;
    position: absolute;
    font-weight: lighter !important;
    width: 0px;
    top: -48.5px;
    right: 14px;
    text-shadow: none !important;
    color: #4E443C;
    */

/*    position: absolute;
    width: 0;
    top: 0;
    right: 0;
    margin-top: -14.2px;
    margin-right: 11px;
    text-shadow: none !important;
    font-weight: lighter !important;
    color: rgb(245, 234, 212);
    font-size: 1.1em;
    z-index: 999999;
} */

.go-full-right {

  position: absolute;
  height: 28px;
  top: 0;
  right: 0;
  margin-top: 4px;
  margin-right: 25px;
  text-shadow: none !important;
  font-weight: lighter !important;
  color: rgb(245, 234, 212);
  font-size: 1.1em;
  z-index: 999999;



}

.go-full-left {
    /*filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=1);
    -webkit-transform: rotate(315deg);
    -moz-transform: rotate(315deg);
    -ms-transform: rotate(315deg);
    -o-transform: rotate(315deg);
    transform: rotate(315deg);
    font-size: 2.3em;
    position: absolute;
    width: 0px;
    top: -18.4px;
    left: -14px;
    text-shadow: none !important;
    font-weight: lighter !important;
    color: #4E443C;
    */
    filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=1);
    -webkit-transform: rotate(315deg);
    -moz-transform: rotate(315deg);
    -ms-transform: rotate(315deg);
    -o-transform: rotate(315deg);
    transform: rotate(315deg);
    position: absolute;
    top: 0;
    left: 0;
    margin-top: -10.4px;
    margin-left: -3.4px;
    text-shadow: none !important;
    font-weight: lighter !important;
    color: rgb(245, 234, 212);
    font-size: 1.1em;
    z-index: 99999;
}

.go-full-left:hover, .go-full-right:hover, .closeFullScreen:hover {
    /*	color:#969594;*/
    /*color:rgb(126,108,95);*/
    color: rgb(180, 177, 170);
    cursor: pointer;
}

.onWhite {
    color: #2a363b;
}

#right_header .closeFullScreen {
    right: 5px;
    position: absolute;
    top: 2px;
    display: none;
    z-index: 9999999;
    cursor: pointer;
}

#left_header .closeFullScreen {
    position: absolute;
    left: 5px;
    top: 2px;
    display: none;
    z-index: 9999999;
    cursor: pointer;
}

#iviewerImage, .zoomWindow {
    cursor: move;
}

.iviewer_zoom_status {
    display: none;
}

.square {
    background: #2a363b;
    position: absolute;
    min-width: 17px;
    min-height: 17px;
    top: 0;
    left: 0;
    margin-top: 3px;
    margin-left: 4px;
}

#thumb_elem-add {
    display: none;
}

/* REGESTO AND FRONT INFO */
#regesto_cont, #front_cont {
    display: none;
}

#regesto_cont.open, #front_cont.open {
    display: block;
}

#regesto_cont, #regesto_cont-add,
#front_cont, #front_cont-add {
    position: absolute;
    z-index: 9;
    top: 0;
    right: 0;
    left: 0;
}

#regesto, #regesto-add,
#regesto_cont, #regesto_cont-add,
#front, #front-add,
#front_cont, #front_cont-add {
    background: #f5efe4;
}

#regesto .title, #regesto .align-center,
#regesto-add .title, #regesto-add .align-center {
    text-align: center;
}

#regesto .title,
#regesto-add .title {
    font-weight: bold;
    font-size: 120%;
    margin-bottom: 20px;
}

#regesto .info,
#regesto-add .info {
    font-size: 90%;
}

#regesto .intestazione,
#regesto-add .intestazione {
    display: block;
    font-weight: bold;
}

#regesto .intestazione.inline,
#regesto-add .intestazione.inline {
    display: inline;
}

#regesto .reg_text, #regesto .info, #regesto .reg_note,
#regesto-add .reg_text, #regesto-add .info, #regesto-add .reg_note {
    margin-bottom: 25px;
}

#regesto .bibliografia,
#regesto-add .bibliografia {
    margin: 10px 0;
}

#hide_regesto,
#hide_front, #hide_front-add {
    position: relative;
    text-align: center;
    font-size: 12px;
    height: 16px;
    bottom: -35px;
    background: rgba(54, 45, 40, .2);
    -moz-box-shadow: 0 2px 5px -4px rgb(0, 0, 0) inset;
    -webkit-box-shadow: 0 2px 5px -4px rgb(0, 0, 0) inset;
    -o-box-shadow: 0 2px 5px -4px rgb(0, 0, 0) inset;
    -khtml-box-shadow: 0px 2px 5px -4px rgb(0, 0, 0) inset;
    -ms-box-shadow: 0px 2px 5px -4px rgb(0, 0, 0) inset;
    box-shadow: 0 2px 5px -4px rgb(0, 0, 0) inset;
    cursor: pointer;
    line-height: 0;
}

#hide_regesto:hover,
#hide_front:hover, #hide_front-add:hover {
    background: rgba(54, 45, 40, .3);
}

#main_left_frame #hide_regesto {
    display: none;
}

#value_regesto {
    border-bottom: 4px double #000;
}

/* Ilaria */
#regesto .reg_note {
    font-size: 17px;
    padding: 10px 0;
}

#left_menu #switchReg-add,
#left_menu #switchFront-add,
div[id*='left_menu'] #switchReg-add,
div[id*='left_menu'] #switchFront-add {
    display: none;
}

div.doc.not_current {
    opacity: .3;
}

div.doc.not_current:hover {
    cursor: pointer;
    opacity: .6;
}

#front .document_front {
    display: none;
}

/* LISTE */
/* BOX LISTE e RICERCA */
#lists_cont,
#search_cont, #search_cont-add {
    text-align: left;
    font-size: 15pt;
    margin-top: 42px;
    margin-bottom: 42px;
    display: none;
    position: absolute;
    z-index: 10;
    bottom: 0;
    right: 0;
    left: 0;
    overflow: hidden;
}

#search_cont, #search_cont-add {
    overflow: visible;
}

#search_sub_header, #search_sub_header-add {
    margin-top: 45px;
}

#search_cont_results, #search_cont_results-add {
    padding: 20px;
    overflow-y: auto;
    height: -moz-calc(100% - 194px);
    height: -webkit-calc(100% - 194px);
    /*height: -o-calc(100% - 194px);*/
    height: calc(100% - 194px);
    position: relative;
}

#search_query, #search_query-add {
    text-align: center;
    font-style: italic;
    margin-bottom: 10px;
    font-size: 90%;
}

#tipue_search_results_count, #tipue_search_results_count-add,
.tipue_search_results_count {
    font-size: 90%;
    text-align: center;
    margin-bottom: 10px;
}

#tipue_search_foot, #tipue_search_foot-add {
    text-align: center;
}

#search_foot, #search_foot-add {
    padding: 8px;
}

#tipue_search_foot_boxes li, #tipue_search_foot_boxes-add li {
    list-style-type: none;
    display: inline;
    margin: 0 5px;

}

#tipue_search_foot_boxes li span, #tipue_search_foot_boxes-add li span {
    color: rgb(153, 153, 153);
}

#tipue_search_foot_boxes li span:hover, #tipue_search_foot_boxes-add li span:hover {
    cursor: pointer;
    color: #2a363b;
}

.tipue_search_content_text {
    font-size: 90%;
}

#tipue_search_content hr, #tipue_search_content-add hr {
    visibility: visible;
    margin: 10px 0;
    color: rgb(225, 215, 199) !important;
}

.tipue_search_go_to_result, .tipue_search_go_to_result-add {
    cursor: pointer;
    border-radius: 4px;
    padding: 3px 10px;
    display: inline-block;
    border: 1px solid #ccc;
    margin-right: 5px;
    font-size: 85%;
    margin-bottom: 5px;
    background: rgba(245, 234, 212, .5);
    text-decoration: underline;
}

.tipue_search_go_to_result:hover, .tipue_search_go_to_result-add:hover {
    background: rgba(245, 234, 212, 1);
    text-shadow: 0 0 1px rgba(0, 0, 0, .5);
}

#lists_cont h2 {
    margin: 20px auto;
    overflow: hidden;
}

#list_header, #search_header, #search_header-add {
    display: block;
    color: rgb(245, 234, 212);
    background: none repeat scroll 0 0 #2a363b;
    position: absolute;
    /*padding: 0px 20px;
    padding-top: 2px;
    padding-left: 35px;*/
    padding: 1px 0 2px 0;
    left: 1px;
    margin-top: 1px;
    right: 1px;
    /*box-shadow: 0px 1px 3px -1px #000;*/
    height: 30px;
}

#search_header .mainButtons.small, #search_header-add .mainButtons.small,
#tipue_search_input_div, #tipue_search_input_div-add {
    overflow: hidden;
    position: relative;
}

#lists_cont.collapsed #list_header,
#search_cont.collapsed #search_header, #search_cont-add.collapsed #search_header-add {
    cursor: pointer;
}

#list_header #toggle_list_cont,
#search_header #toggle_search_cont, #search_header-add #toggle_search_cont-add {
    min-width: 0;
    /*left: -2px;*/
    left: 0;
    position: relative;
    /*border-radius: 0px;*/
    padding: 0 5px;
    -moz-box-shadow: none;
    -webkit-box-shadow: none;
    -o-box-shadow: none;
    -khtml-box-shadow: none;
    -ms-box-shadow: none;
    box-shadow: none;
    margin: 0 3px 0 2px;
}

#search_header #toggle_search_cont:hover, #search_header-add #toggle_search_cont-add:hover,
#search_header #keyboard_link:hover, #search_header-add #keyboard_link-add:hover
#search_header #start_search:hover, #search_header-add #start_search-add:hover {
    -moz-box-shadow: 1px 2px 3px rgba(0, 0, 0, 0.7) inset;
    -webkit-box-shadow: 1px 2px 3px rgba(0, 0, 0, 0.7) inset;
    -o-box-shadow: 1px 2px 3px rgba(0, 0, 0, 0.7) inset;
    -khtml-box-shadow: 1px 2px 3px rgba(0, 0, 0, 0.7) inset;
    -ms-box-shadow: 1px 2px 3px rgba(0, 0, 0, 0.7) inset;
    box-shadow: 1px 2px 3px rgba(0, 0, 0, 0.7) inset;
}

#toggle_search_cont, #toggle_search_cont-add {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    margin-right: 2px !important;
}

#keyboard_link, #keyboard_link-add {
    border-radius: 0;
    margin: 0;
    box-shadow: none;
    min-width: 29px;
}

#keyboard, #keyboard-add {
    display: none;
    position: absolute;
    width: 279px;
    max-width: 297px;
    color: rgb(0, 0, 0);
    text-align: left;
    background: #2a363b;
    left: 34px;
    height: auto;
    bottom: 0;
    padding-top: 1px;
    padding-left: 1px;
}

#keyboard.openDown, #keyboard-add.openDown {
    top: 32px;
}

.key {
    background: rgb(245, 234, 212) none repeat scroll 0 0;
    border: 1px solid #2a363b;
    cursor: pointer;
    display: inline-block;
    height: 25px;
    padding: 2px;
    width: 25px;
    text-align: center;
}

.key:hover {
    background: rgba(227, 200, 156, 1);
}

#start_search, #start_search-add {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    margin: 0;
    min-width: 29px;
    box-shadow: none;
}

#keyboard_link, #keyboard_link-add,
#toggle_search_cont, #toggle_search_cont-add,
#start_search, #start_search-add {
    height: 29px;
}

#toggle_list_cont, #toggle_list_cont-add {
    height: 29px;
    top: -1px;
}

#keyboard_link.small, #keyboard_link-add.small,
#toggle_search_cont.small, #toggle_search_cont-add.small,
#start_search.small, #start_search-add.small {
    top: 0;
}

#tipue_search_input_div, #tipue_search_input_div-add {
    width: -moz-calc(100% - 99px);
    width: -webkit-calc(100% - 99px);
    /*width: -o-calc(100% - 99px);*/
    width: calc(100% - 99px);
    display: inline-block;
    margin: 0 2px;
    margin-top: 1px;
    height: 29px;
    background: #fff;
}

#keyboard_link.hidden + #tipue_search_input_div,
#keyboard_link-add.hidden + #tipue_search_input_div-add {
    width: -moz-calc(100% - 68px);
    width: -webkit-calc(100% - 67px);
    /*width: -o-calc(100% - 68px);*/
    width: calc(100% - 67px);
    margin: 1px 2px 0 0;
}

.clear_input {
    position: absolute;
    right: 6px;
    top: 6px;
    vertical-align: middle;
    text-align: center;
    color: #4E443C;
    text-shadow: none;
    font-size: 80% !important;
    font-weight: lighter;
    opacity: 0;
    cursor: pointer;
}

.clearable + .clear_input {
    opacity: 0.5;
}

.clearable + .clear_input:hover {
    opacity: 1;
}

#tipue_search_input, #tipue_search_input-add {
    height: 22px;
    top: -0.5px;
    background: none;
    border: 2px solid #fff;
    position: relative;
    width: -moz-calc(100% - 15px);
    width: -webkit-calc(100% - 15px);
    /*width: -o-calc(100% - 15px);*/
    width: calc(100% - 15px);
    padding-left: 10px;
}

#tipue_search_input:focus, #tipue_search_input-add:focus {
    outline: 0;
}

#tipue_search_input:focus, #tipue_search_input-add:focus {
    border: 2px solid rgba(245, 234, 212, 1);
}

#lists_cont #list_letters {
    top: 50px;
    position: relative;
    margin: auto;
    text-align: center;
}

.bold_search {
    font-weight: bold;
}

#lists_cont #list_letters span {
    margin-right: 9px;
    color: #999;
    font-size: 90%;
}

#lists_cont #list_letters span:hover {
    cursor: pointer;
    color: #000;
}

#lists_cont #list_letters span.filter_active, #lists_cont #list_letters span.filter_active:hover {
    color: #000;
    font-weight: bold;
    cursor: default;
}

#list_header .labelList {
    cursor: pointer;
    padding-top: 2px;
    position: relative;
    /*border-right: 1px solid rgb(227, 200, 156);*/
    padding-right: 15px;
    padding-left: 15px;
    top: -7.5px;
    min-height: 28px;
    display: inline-block;
}

#toggle_list_cont.small, #toggle_list_cont-add.small {
    top: 1px;
}

#list_header .labelList:hover {
    border-radius: 4px 4px 0 0;
    background: rgba(227, 200, 156, .5)
}

#list_header .labelList.active:hover {
    background: rgba(227, 200, 156, 1);
    cursor: default;
}

#list_header .labelList.active {
    border-radius: 4px 4px 0 0;
    border-bottom: 1px solid rgb(227, 200, 156);
}

#lists_cont .list {
    overflow: scroll;
    height: 80%;
    height: -moz-calc(100% - 90px);
    height: -webkit-calc(100% - 90px);
    /*height: -o-calc(100% - 90px);*/
    height: calc(100% - 90px);

    position: relative;
    top: 63px;
    padding: 0 30px;
}

#lists_cont .list {
    display: none;
}

#lists_cont.collapsed .list {
    top: 40px;
}

ul.ul_list li {
    list-style-type: none;
    padding: 5px;
    border-bottom: 1px solid #ccc;
}

ul.ul_list li:nth-child(odd) {
    background: rgba(185, 170, 153, .1);
}

ul.ul_list li:hover, ul.ul_list li.list_element_opened {
    background: rgba(185, 170, 153, .2);
}

.list_element .more_info {
    display: none;
}

.toggle_list_element {
    margin-left: 10px;
}

.toggle_list_element .fa {
    text-shadow: none;
}

.toggle_list_element:hover {
    cursor: pointer;
}

.toggle_list_element:hover .fa {
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.7);
}

#occorrenze {
    display: none;
}

.occurences {
    display: none;
}

.occurences span {
    cursor: pointer;
    border-radius: 4px;
    padding: 3px 6px;
    display: inline-block;
    border: 1px solid rgb(204, 204, 204);
    margin-right: 3px;
    font-size: 85%;
    margin-bottom: 3px;
}

.occurences span.no_occ {
    border: none;
    color: #ccc;
}

.occurences span:hover {
    text-shadow: 0 0 1px #000;
    background: rgba(204, 204, 204, 0.4);
}

.occurences span.no_occ:hover {
    text-shadow: none;
    background: transparent;
    color: #ccc;
}

.small-note {
    font-size: 90%;
    display: none;
}

.tooltip .small-note {
    display: block;
}

.list_element_opened .occurences,
.list_element_opened .small-note {
    display: block !important;
}

.tooltip .toggle_list_element {
    display: none !important;
}

#text span.popup.selected_from_list .trigger {
    background: #ffc !important;
    text-shadow: 0 0 1px #000;
}

#text span.popup.selected_from_list .tooltip {
    background: rgb(229, 218, 196) !important;
    text-shadow: none !important;
}

.hidden {
    display: none !important;
}

.title {
    display: inline;
    font-style: italic;
}

/* ******* */
/* DIALOGS */
/* ******* */
.dialog {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    margin: 0;
    background: rgba(0, 0, 0, 0.5) none repeat scroll 0% 0%;
    display: none;
    z-index: 999999;
    cursor: pointer;
}

.dialog_close {
    text-shadow: 0 1px 4px rgba(0, 0, 0, .3);
    /*color: #4E443C;*/
    color: #FFFAF0 !important;
    padding: 0 7px;
    position: absolute;
    top: 4px;
    right: 0;
    font-size: 1em;
    z-index: 99999999;
}

.dialog_close .fa {
    text-shadow: none;
}

.dialog_close:hover {
    height: 34px;
    opacity: .8;
}

.project-web-site_link, .project-web-site_link a {
    color: #FFFAF0 !important;
}

.dialog_cont {
    /*padding: 0 25px;*/
    width: 50%;
    min-width: 700px;
    max-height: calc(100% - 54px) !important;
    background: #FFFAF0;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.8);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    cursor: default;
    text-align: left;
    font-size: 14pt;
    overflow: hidden;

    border-radius: 5px;
    /*border: 3px solid #2a363b;
    border-color: #2a363b;*/
    padding: 0;
    height: 100%;
    position: relative;
}

.dialog_cont_inner {
    overflow: hidden;
    height: calc(100% - 100px);
    overflow-y: auto;
    padding: 25px;
    padding-bottom: 10px;
    position: relative;
}

.dialog_cont_inner p {
    margin-bottom: 10px;
}

.dialog_cont_inner ul {
    margin-left: 30px;
    margin-bottom: 10px;
}

.dialog_cont_inner a {
    font-weight: normal;
    color: #2a363b;
}

.dialog_cont_inner a:hover {
    text-decoration: underline;
}

.dialog_cont_inner a .fa:hover {
    text-shadow: none;
}

.dialog .title.main {
    display: block;
    margin: 0;
    text-align: center;
    background: #2a363b;
    color: #FFFAF0;
    padding: 15px 0;
    font-style: normal;
    font-size: 20pt;
    font-weight: normal;
    position: relative;
    z-index: 999999;
    height: 35px;
}

.dialog_separator {
    width: 100%;
    height: auto;
    font-size: 120px;
    text-shadow: none;
    /*background-color: #837468;*/
    background: #2a363b;
    color: #FFFAF0;
    text-align: center;
    z-index: 1000;
    position: absolute;
}

.dialog_separator .fa {
    height: 20px;
    margin-top: -64px;
    display: block;
    text-shadow: none;
    color: #2a363b;
}

.dialog .main-title,
.dialog .section-title {
    cursor: text;
    text-align: left;
    margin: 10px 30px;
    font-weight: bold;

}

.dialog .main-title, {
    font-size: 100%;
}

/* *************** */
/* ==/ END DIALOGS */
/* *************** */

#headerInfo .table {
    display: table;
    width: 100%;
    border-spacing: 0;
    cursor: text;
    margin-top: 20px;
}

#headerInfo .list {
    display: table;
    width: 100%;
    background-color: red;
    text-align: right;
    cursor: text;
}

#headerInfo .row {
    display: table-row;
    width: 100%;
    vertical-align: top;
    padding-bottom: 20px;
    cursor: text;
}

#headerInfo .left_col {
    display: table-cell;
    width: 20%;
    padding: 1% 2% 1% 0;
    border-right: 1px solid #808080;
    font-weight: bold;
    font-size: 17px;
    text-align: right;
    cursor: text;
}

#headerInfo .right_col {
    display: table-cell;
    width: 80%;
    font-size: 18px;
    padding: 1% 4% 1% 3%;
    text-align: left;
    cursor: text;
}

/* *********** */
/* WELCOME BOX */
/* *********** */
#welcomeInfo {
    /*background-color: #837468;*/
    background: #2a363b;
    border-radius: 5px;
    /*border: 3px solid #2a363b;
    border-color: #2a363b;*/
    padding: 0;
    height: auto;
    font-family: Helvetica, Arial, sans-serif;
}

#welcomeInfo .title.main {
    background: transparent none repeat scroll 0 0;
    color: #2a363b;
    font-weight: bold;
}

#welcomeInfo .dialog_close, #welcomeInfo .dialog_close .fa {
    color: #2a363b;
}

#welcomeInfo_content_top {
    width: 84%;
    padding: 8%;
    font-size: 100%;
    z-index: 3000;
    overflow: hidden;
    background: #f4f5f7;
}

#welcomeInfo_content_top .title.main {
    font-style: normal;
}

#welcomeInfo_content_top a {
    text-decoration: underline;
}

#welcomeInfo_content_center {
    width: 100%;
    height: auto;
    font-size: 120px;
    text-shadow: none;
    /*background-color: #837468;*/
    background: #2a363b;
    color: #f4f5f7;
    text-align: center;
    z-index: 1000;
    position: absolute;
}

#welcomeInfo_content_center .fa {
    height: 20px;
    margin-top: -50px;
    display: block;
    text-shadow: none;
}

#welcomeInfo_content_bottom {
    width: 100%;
    height: auto;
    /*background-color: #837468;*/
    background: #2a363b;
    text-align: center;
    font-family: Helvetica, Arial, sans-serif;
    font-size: 80%;
}

#welcomeInfo_content_bottom .button_welcome {
    min-width: 120px;
    margin: 60px auto;
    padding: 10px;
    background: #f4f5f7;
    font-style: normal;
    font-weight: bold;
    font-size: 15pt;
    color: #2a363b;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    box-shadow: 0 0 2px 2px rgba(97, 94, 97, 1);
    font-variant: small-caps;
}

#welcomeInfo_content_bottom .button_welcome:hover {
    box-shadow: none;
}

#welcomeInfo_cont .neverShowDiv {
    position: absolute;
    bottom: 20px;
    right: 30px;
    font-weight: 100;
    color: #FFFAF0;
}

#welcomeInfo_cont .neverShowDiv input {
    margin-right: 6px;
    padding: 3px;
}

/* ******************* */
/* ==/ END WELCOME BOX */
/* ******************* */

#generalFront_content > .title, #generalBiblio_content > .title {
    display: none;
}

#generalFront_content > div, #generalFront_content .front .hangInd,
#generalBiblio_content > div {
    margin-bottom: 20px;
}

#generalFront_content .section-title,
#generalBiblio_content .section-title {
    font-size: 100%;
    margin: 10px 0;
}

#generalBiblio .section-title {
    padding: 8px 25px 5px;
}

/* MANUSCRIPT DESCRIPTION by AB e Ilaria*/
#msDesc_cont {
    display: none;
    background: #f5efe4;
    margin-top: 42px;
    bottom: 42px !important;
    height: auto;
    overflow: auto;
    position: absolute;
    z-index: 100;
    top: 0;
    right: 0;
    left: 0;
    font-size: 19px;
    font-family: Helvetica, Arial, sans-serif;
}

#msDesc_cont.alignedBottom {
    bottom: 0 !important;
}

#msDesc_cont.open {
    display: block;
}

#msDesc {
    padding: 42px 0;
    overflow-y: auto;
}

#msDesc p {
    margin-bottom: 5px;
}

#msDesc .title {
    font-weight: bold;
    font-size: 120%;
    margin-bottom: 20px;
    text-align: center;
}

#msDesc-add {
    bottom: 0;
}

#msDesc .title_section {
    padding: 0;
    font-size: 100%;
    text-align: center;
    margin: 20px 0 10px;
    font-weight: bold;
}

#msDesc .table {
    display: table;
    width: 100%;
    border-spacing: 0;
    font-size: 90%;
}

#msDesc .list {
    display: table;
    width: 100%;
    background-color: red;
    text-align: right;
}

#msDesc .row {
    display: table-row;
    width: 100%;
    vertical-align: top;
}

#msDesc .left_col {
    display: table-cell;
    width: 20%;
    padding: 1% 2% 1% 0;
    border-right: 1px solid grey;
    font-weight: bold;
    font-size: 17px;
    text-align: right;
}

#msDesc .right_col {
    display: table-cell;
    width: 80%;
    padding: 1% 4% 1% 3%;
    text-align: left;
    font-size: 100%;
}

#msDesc .msItem {
    display: block;
    margin: 20px 0;
}

.block {
    display: block;
    margin: 0;
}

.italic {
    font-style: italic;
}

.uppercase {
    text-transform: uppercase;
}

.section-title {
    display: block;
    font-weight: bold;
    /*text-transform: capitalize;*/
}

.font-size-controller {
    padding-right: 3px;
    min-width: 28px;
    border-radius: 3px;
    text-align: center;
}

.font-size-controller .fa-font {
    margin: 0;
    height: 28px;
}

.font-size-controller .fa-minus,
.font-size-controller .fa-plus {
    margin: 0;
    position: absolute;
    right: 5px;
    font-size: 0.55em;
    top: 5px;
    float: right;
}

/*css Luca Sarri*/

#settings_cont {
    display: none;
    z-index: 999999;
    position: absolute;
    top: 44px;
    right: 1px;
    box-shadow: 0 2px 4px -1px rgba(0, 0, 0, 0.6);
    background: #F5ECD5;
    color: #3C322B;
    border: 1px solid rgba(60, 50, 44, 0.5);
}

#settings_cont .setting_row {
    border-bottom: 1px solid rgba(60, 50, 44, 0.5);
    padding: 5px 10px;
}

#settings_cont .setting_row:last-child {
    border: none;
}

.setting_row:hover {
    background: rgb(225, 215, 199);
}

.setting_row.button_like:hover {
    cursor: pointer;
}

#settings_cont h1 {
    margin-top: 10px;
    font-size: 0.8em;
    text-align: center;
}

.setting_row_title {
    font-size: 0.62em;
    margin-right: 10px;
}

.setting_row_title .fa {
    margin-right: 10px;
    text-shadow: none !important;
}

.setting_row_title, .setting_row_content {
    display: inline-block;
}

.setting_row img.flag {
    height: 18px;
    width: 18px;
    border-radius: 100px;
    border: 1px solid #4E443C;
    display: inline-block;
    margin: 0 4px;
    position: relative;
    top: 2px;
    cursor: pointer;
    opacity: .5;
}

.setting_row img.flag:hover,
.setting_row img.flag.active {
    opacity: 1;
}

.setting_row img.flag.active {
    cursor: default;
    opacity: 1;
}

/* REFs Elements */
.ref {
    text-decoration: underline;
}

.ref:hover {
    cursor: pointer;
    text-shadow: 0 0 1px #000;
}

.ref:hover .tooltip {
    cursor: default;
    text-shadow: none;
}

.bibl {
    display: block;
    font-size: 86%;
    margin: 10px 0;
}

.listBibl li {
    list-style: none;
    margin-top: 10px;
}

.highlight {
    background: #FFFF88;
}

.bibl.highlight {
    background: #FFFF88;
}

.project-web-site_link {
    margin-left: 10px;
    font-size: 70%;
    color: #2a363b;
    outline: none !important;
}

.project-web-site_link:hover {
    opacity: 0.8;
}

.shortcuts_key {
    background: transparent linear-gradient(to bottom, rgb(240, 240, 240), rgb(252, 252, 252)) repeat scroll 0 0;
    border-radius: 3px;
    color: rgb(48, 48, 48);
    border-width: 1px 1px 2px;
    border-style: solid;
    border-color: rgb(224, 224, 224);
    -moz-border-top-colors: none;
    -moz-border-right-colors: none;
    -moz-border-bottom-colors: none;
    -moz-border-left-colors: none;
    border-image: none;
    white-space: nowrap;
    font-variant: small-caps;
    font-family: monospace;
    padding: 0 3px;
    font-size: 90%;
}

.shortcuts_row {
    display: block;
    padding: 0 25px;
}

.shortcuts_col_left, .shortcuts_col_right {
    display: inline-block;
    float: left;
    padding: 5px 0;
    border-bottom: 1px solid #e5e5e5;
}

.shortcuts_col_left {
    width: 60%;
}

.shortcuts_col_right {
    width: 40%;
}

#poweredBy {
    width: 100%;
    position: relative;
    text-align: right;
    font-size: 12px;
    margin: 10px auto auto -4.5%;
}

#poweredBy:hover {
    cursor: pointer;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
}

.errorMsg {
    background: rgba(255, 0, 0, 0.1);
    padding: 10px 20px;
    border: 1px solid rgba(255, 0, 0, 0.5);
    display: inline-block;
    margin: 0 40px;
}

#image_cont .errorMsg {
    position: absolute;
    top: 50%;
    left: 45%;
    transform: translate(-50%, -100%);
    background: rgba(255, 0, 0, 0.2);
    padding: 10px 20px;
    border: 1px solid rgba(255, 0, 0, 0.5);
    color: #fff;
    font-size: 14pt;
    font-weight: normal !important;
}

.dialog a {
    color: #2a363b;
}

/* ************ */
/* PROJECT INFO */
/* ************ */

#headerInfo_content {
    padding: 0;
    overflow: hidden;
    /*  height: 100%;*/
    overflow-y: auto;
    position: relative;
    width: 80%;
    margin-left: 20%;
    height: calc(100% - 65px);
    margin-top: 1px;
    border-left: 1px solid #2a363b;
}

#headerInfo_nav_tabs {
    display: block;
    list-style: none;
    margin: 0 auto;
    /*position: relative;
    width: 18%;*/
    height: auto;
    position: fixed;
    width: 20%;
    margin-top: 1px;
}

#headerInfo_nav_tabs li a {
    display: block;
    position: relative;
    min-width: 100px;
    padding: 10px;
    font-style: normal;
    font-weight: normal;
    font-size: 14pt;
    color: #2a363b;
    border: none;
    font-variant: small-caps;
    border-bottom: 1px solid #2a363b;
    cursor: pointer;
    text-decoration: none;
    text-align: right;
    padding-right: 15px;
}

#headerInfo_nav_tabs li.active a, #headerInfo_nav_tabs li a:hover {
    text-decoration: none;
    border-bottom: 1px solid #FFFAF0;
    color: #FFFAF0;
    background: #2a363b;
}

#headerInfo_nav_tabs li {
    position: relative;
    top: 1px;
}

#headerInfo_nav_tabs li:nth-child(1), #headerInfo_nav_tabs li:nth-child(2) {
    top: 0;
}

#headerInfo_box_tabs {
    width: 94%;
    float: left;
    height: auto;
    padding: 3%;
    overflow: auto;
    color: #2a363b;
}

#headerInfo_box_tabs .title {
    width: 100%;
    height: 15px;
    display: block;
    margin-top: 20px;
    font-weight: bold;
    font-style: normal;
}

.box_tab {
    display: none;
}

.box_tab a {
    text-decoration: underline;
}

/* ******************** */
/* ==/ END PROJECT INFO */
/* ******************** */

#EVTinfo_content {
    font-size: 95%;
}

/* COLUMNS BREAKS */
.dipl-column-2col_layout{
    width: 46%;
    float: left;
    margin-right: 4%;

}

.dipl-column-3col_layout{
    width: 29.33%;
    float: left;
    /* margin-right: 4%; */
    margin-left: 4%;
}

/* arabic on 3 col breaks*/
.dipl-column-3col_layout_ar {
  width: 29.33%;
  float: left;
  margin-right: 4%;
  text-align: right;
    font-family: 'Scheherazade', 'Baghdad', sherif;
    direction: rtl;
    display: block;
    font-size: 120%;
    /* line-height:150% */
}

.dipl-column-4col_layout{
    width: 21%;
    float: left;
    margin-right: 4%;
}



/* quick fix for ITL on 3 col breaks*/
.lineHover {
    cursor: pointer;
    background-color: rgba(230,206,160,0.8);
    opacity: 0.8;
    filter: alpha(opacity=80);
    border-top: 1px solid #b99562;
    border-bottom: 1px solid #b99562;
    color: #000000;
}

.lineSelected {
    cursor: pointer;
    background-color: rgba(213,177,125,0.9);
    opacity: 0.9;
    filter: alpha(opacity=90);
    border-top: 1px solid #b99562;
    border-bottom: 1px solid #b99562;
    color: #000000;
}


​
