@font-face{font-family:Raleway-Regular;src:url("fonts/Raleway-Regular.ttf") format("opentype");}
@font-face{font-family:Baskvill;src: url("fonts/Baskvill.ttf") format("opentype");}

@font-face{font-family:Bonanova;src: url("fonts/BonaNova-Regular.ttf") format("opentype");}
@font-face{font-family:NotoSans;src: url("fonts/NotoSans-Regular.ttf") format("opentype");}
@font-face{font-family:Roboto;src: url("fonts/Roboto-Regular.ttf") format("opentype");}
@font-face{font-family:Gentium;src: url("fonts/GentiumPlus-Regular.ttf") format("opentype");}

body {font-family: Raleway-Regular;}

.page-title {font: normal normal normal 35px/40px Baskvill;}

.view td {vertical-align: top;}
.testo-greco, .traduzioni {width: 50%;}
.view-polybius-histories .view-filters {display: none;}

.view-test1,
.view-the-judean-war-greek,
.view-the-judean-antiquities-greek,
.view-life-of-josephus-greek
{padding: 0 10px 10px 10px;}

.testo-greco {padding-top: 0;}
.testo-greco .view-header p {margin-top: 0;}


.testo-greco .views-row,
.view-test1 .view-content .views-row,
.view-the-judean-war-greek .view-content .views-row,
.view-the-judean-antiquities-greek .view-content .views-row,
.view-life-of-josephus-greek .view-content .views-row
{display: inline-flex; margin-bottom: 30px;}

.view-test1 .view-content .views-row .nr-section {margin-top: -5px; margin-right: 10px;}
.view-test1 .view-header {margin-bottom: 20px;}



.views-field-nieseSection {display: inline-flex; margin-right: 10px;}
.traduzioni .views-row {margin-bottom: 20px;}


.path-history-of-reception .views-field-nieseSection {display: table-cell;}


.path-polybius-histories .js-form-item, .path-polybius-histories .form--inline {display: flex;}
.path-polybius-histories .js-form-item label {padding-top: 5px; margin: 0 5px 0 10px;}
.path-polybius-histories .js-form-item input {width: 32px; text-align: right;}

.view-polybius-histories tr, .view-id-test1 tr {border: none;}
.view-header {font-family: Baskvill; font-size: 20px;}
.testo-greco .view-header {font-family: Raleway-regular; font-size: 16px;}
.view-header h5 {font-family: Raleway-regular; font-size: 17px;}
.view-header select {font-family: Raleway-Regular;}



.padd-top #eng-text .brill {padding-top: 25px;}
.padd-top #eng-text .whiston {padding-top: 45px;}

#eng-text .view-polybius-shuckburgh {margin-top: 48px;}
#eng-text .view-polybius-loeb {margin-top: 42px;}

.path-polybius-histories .bef-exposed-form {
	width: max-content;
    margin: 0 auto;
}

.path-polybius-histories .form--inline .form-actions {
    float: right;
    margin-top: 12px;
    margin-left: 20px;
}

#header-spacer, #main-spacer {height: 80px;}
#main-spacer {background: #fff;}

.path-the-judean-war-split-whiston #header-spacer {height: 70px;}


.views-field-sectionText h2 {margin-top: 0;}

.view tbody tr:hover, .view tbody tr:focus {background: #fff;}




.commentary-text p, .note-field {padding-right: 5px;}

p.note-field {display: none;}
p.note-field.visibile {display: block;}


#block-selectjudeanwar .field--name-body,
#block-pagerjudeanantiquities .field--name-body,
#block-pagerlifeofjosephus .field--name-body,
#block-pageragainstapion .field--name-body
{display: flex;}

#block-menupolybiushistories, #block-selectjudeanwar, #block-pagerjudeanantiquities, #block-pagerlifeofjosephus, #block-pageragainstapion,
#block-layoutpolybiushistoriesswitch, #block-translationswitchflaviusjosephus, #block-translationswitchthejudeanantiquities, #block-translationswitchlifeofjosephus, #block-translationswitchagainstapion {display: inline-flex;}

#block-menupolybiushistories .field {display: flex;}
.layout-menu {margin: 0 30px 0 25px;}

.nodisp {display: none;}

.nr-boook-chap, #book-chap-nr-english, .path-polybius-histories-split-english #header-spacer, .path-the-judean-war-split-english #header-spacer {display: none;}
.path-polybius-histories-split-english #book-chap-nr-english {display: block;}

.path-polybius-histories-split-english .shuc-text #header-spacer {height: 62px;}

.pager {margin-top: 1px; margin-left: 20px; display: flex;}

.view-test2 .views-row {margin-bottom: 40px;}


.from-only .dash, .from-only .bcs-to {display: none;}

.bold {font-weight: bold;}

.nr-section {font-size: 40px; font-family: Baskvill;}

.numbers {padding-top: 15px; width: 40px; text-align: center;}

/** stile template */
.region-header {display: flex;}
#block-mainnavigation {
	width: calc(100% - 400px);
	padding-top: 30px;
}
#block-mainnavigation ul.menu {margin: 0; border-bottom: solid 1px #707070;}
#block-mainnavigation li {
    list-style: none;
    display: inline-block;
    text-align: center;
    width: 12%;
	color: #707070;
	font-size: 14px;
	padding: 10px 0;
	font-weight: bold;
}
#block-mainnavigation li.menu-item--active-trail, .path-place #block-mainnavigation li:nth-child(2) {border: solid 1px #707070; border-bottom: none;}

.region-content {
	font-size: 16px;
}
/** Region highlighted */
.region-highlighted {margin-left: 200px; margin-top: 20px;}
body[class^='user-0 path-polybius-histories-'] .region-highlighted,
body[class^='user-0 path-the-judean-war-'] .region-highlighted,
body[class^='user-0 path-the-judean-antiquities-'] .region-highlighted,
body[class^='user-0 path-the-life-of-josephus-'] .region-highlighted,
body[class^='user-0 path-against-apion-'] .region-highlighted,
body[class^='user-0 path-textual-parallels-'] .region-highlighted
{margin: 20px auto; width: max-content;}



#main-table tr {border: none;}
.path-admin #main-table tr {border-bottom: solid 1px #707070;}

.sidebar_td {width: 200px;}

body[class^='user-0 path-polybius-histories-'] .sidebar_td,
body[class^='user-0 path-the-judean-war-'] .sidebar_td,
body[class^='user-0 path-the-judean-antiquities-'] .sidebar_td,
body[class^='user-0 path-the-life-of-josephus-'] .sidebar_td,
body[class^='user-0 path-against-apion-'] .sidebar_td,
body[class^='user-0 path-textual-parallels-'] .sidebar_td,
.path-bibliography .sidebar_td.first,
.page-node-type-dissertations .sidebar_td.first
{width: 320px; padding: 0px 10px; vertical-align: top;}

body[class^='user-0 path-polybius-histories-'] .sidebar_td.first,
body[class^='user-0 path-the-judean-war-'] .sidebar_td.first,
body[class^='user-0 path-the-judean-antiquities-'] .sidebar_td.first,
body[class^='user-0 path-the-life-of-josephus-'] .sidebar_td.first,
body[class^='user-0 path-against-apion-'] .sidebar_td.first,
body[class^='user-0 path-textual-parallels-'] .sidebar_td.first,
.page-node-type-dissertations .sidebar_td.first
{border-right: solid 1px;}

body[class^='user-0 path-polybius-histories-'] .sidebar_td.second,
body[class^='user-0 path-the-judean-war-'] .sidebar_td.second,
body[class^='user-0 path-the-judean-antiquities-'] .sidebar_td.second,
body[class^='user-0 path-the-life-of-josephus-'] .sidebar_td.second,
body[class^='user-0 path-against-apion-'] .sidebar_td.second,
body[class^='user-0 path-textual-parallels-'] .sidebar_td.second,
.path-flavius-josephus-on-the-pharisees .sidebar_td.second
{border-left: solid 1px;}

body[class^='user-0 path-polybius-histories-'] ul.menu li:first-child,
body[class^='user-0 path-the-judean-war-'] ul.menu li:first-child,
body[class^='user-0 path-the-judean-antiquities-'] ul.menu li:first-child,
body[class^='user-0 path-the-life-of-josephus-']  ul.menu li:first-child,
body[class^='user-0 path-against-apion-'] ul.menu li:first-child,
body[class^='user-0 path-textual-parallels-'] ul.menu li:last-child
{border: solid 1px #707070; border-bottom: none;}


.sidebar_td .block {border-bottom: solid 1px;}
.sidebar_td .block:last-child {border-bottom: none;}

#block-notesblock.block {padding-bottom: 0;}
#block-notesblock.fissala {
    position: fixed;
    top: 0;
    width: 320px;
	z-index: -1;
}


.main_content_td {width: auto; padding: 0;}


footer {
	min-height: 200px;
    background: #000;
	color: #fff;
    padding: 18px 32px;
	position: relative;
	z-index: 1;
}
footer .region-footer {display: flex;}
footer .block {width: calc(25% - 50px); padding: 10px;}
#block-logonero {
	padding: 0;
	margin-right: 20px;
	width: 160px;
}
footer a {color: #fff;}
#block-logo {
	width: 200px;
	text-align: center;
}
#block-logo img {width: 150px; position: absolute; left: 10px; top: 10px;}

.freccia {width: 7px;margin: 17px 16px;}
.freccia-sx {transform: rotate(180deg);}
.bordato {border: solid 1px #707070;color: #707070;margin-right: 10px;height: 46px;width: 40px;}
.selector {display: flex;}



#book_select {margin-right: 10px;}


body tbody tr:hover, body tbody tr:focus {background: transparent;}
body select {
	border: solid 1px #707070 !important;
	border-radius: 0 !important;
	background: transparent;
	font-size: 14px !important;
	text-shadow: none !important;
	background-image: url(/sites/default/files/frecciagiu.png);
	background-size: 14px;
	background-repeat: no-repeat;
	background-position: 85% 50%;
}
body select:hover, body select:focus {
	background: transparent;
	background-image: url(/sites/default/files/frecciagiu.png);
    background-size: 14px;
    background-repeat: no-repeat;
    background-position: 85% 50%;
}
select.book_select {padding: 12px 40px 12px 15px; margin-right: 10px; height: 50px;}
#translation-switch select {padding: 12px 35px 12px 12px; background-position: 95% 50%; height: 50px;}


#places-alfab-filter {
	margin: 0 auto;
	width: max-content;
}
#places-alfab-filter a {
    font-size: 20px;
    text-transform: uppercase;
    margin: 0 5px;
}
.view-media-images-video {}
.view-media-images-video .view-content {max-height: 500px;overflow: auto;width: max-content;/**direction: rtl;*/text-align: left;}
#block-views-block-media-images-video-block-1 .views-field-name-1 {text-align: center;}

.view-media-images-video .views-row:first-child {margin: 0;}
.view-media-images-video .views-row {
    width: 500px;
    margin: 20px 0;
}

::-webkit-scrollbar {
  width: 12px;               /* width of the entire scrollbar */
  border-radius: 10px;
}

::-webkit-scrollbar-track {
  background: #fff;
  border-radius: 10px;
  border: solid 1px #707070;

}

::-webkit-scrollbar-thumb {
  background-color: #fff;    /* color of the scroll thumb */
  border-radius: 20px;       /* roundness of the scroll thumb */
  border: solid 2px #333;
}

.view-polybius-walbank-commentary-block .views-field-view,
.view-polybius-walbank-commentary-block .views-field-view-1,
.view-polybius-walbank-commentary-block .views-field-view-2 {padding: 10px 0;}
.view-polybius-walbank-commentary-block .views-field-nothing {cursor: pointer; color: #707070;}
.view-polybius-walbank-commentary-block .views-field-nothing:hover,
.view-polybius-walbank-commentary-block .views-field-nothing.active	{color: #CC120D;}
.view-polybius-walbank-commentary-block .views-label {font-size: 16px;}

.commentary-text {max-height: 0; overflow: hidden; transition: max-height .5s;}
.commentary-text.espandi {max-height: 200px; overflow: auto; margin-bottom: 10px;}
.commentary-text p:first-child {margin-top: 5px;}
.user-logged-in .commentary-text {max-height: max-content; overflow: auto;}
	


.walbank-specifics span {font-weight: bold;}


.view-content note {padding: 0 4px; color: #CC120D; vertical-align: super; cursor: pointer; font-size: 1.1em;}
.note-number {color: #CC120D; font-size: 1.2em;}
name {color: #CC120D; cursor: pointer;}



.view-judean-war-brill .view-header h5 {display: none;}
.path-the-judean-war-split-english .view-judean-war-brill .view-header h5 {display: block;}

.pager .pager__items {display: block; margin: 20px auto;}
.view-bibliography-search-page .view-header {margin-bottom: 10px;}

.up-label {position: absolute; margin-top: -22px;}



.sidebar_td .block h2 {cursor: pointer; font-size: 16px; font-weight: normal;}
.sidebar_td .block h2:hover {color: #CC120D; text-decoration: underline;}

.sidebar_td h2::after {
	content: '.';
	display: inline-block;
	width: 15px;
	color: transparent;
	background-image: url(/sites/default/files/frecciagiu.png);
	background-repeat: no-repeat;
	background-size: 15px;
	background-position: 100%;
	transition: all .3s;
	margin-left: 40px;
	transform: rotate(0deg);
}
.sidebar_td .block.expanded-child h2::after {transform: rotate(180deg);}

.sidebar_td .block-views-blockpolybius-walbank-commentary-block-block-1 h2::after {margin-left: 15px;}


.sidebar-block-content {
    max-height: 0;
    transition: all .5s;
    overflow: hidden;
	padding-bottom: 0;
}
.expanded-child .sidebar-block-content {
    max-height: 500px;
    overflow: hidden auto;
	padding-bottom: 20px;
}

#place-notes-content.sidebar-block-content {height: auto; max-height: 85vh;}

/** body[class^='user-0 path-textual-parallels-'] .sidebar-block-content {max-height: 720px; overflow: hidden auto;} */
body[class^='user-0 path-textual-parallels-'] .expanded-child .sidebar-block-content { max-height: 720px;}
body[class^='user-0 path-textual-parallels-'] .sidebar_td.first {display: none;}

.view-textual-parallels-search-pages .views-field-nothing-3 {margin-bottom: 20px;}
.textual-p-table {margin-bottom: 8px;}
.textual-p-table td {padding: 4px;}
.textual-p-table td:first-child {border-right: solid 1px;}
.view-textual-parallels-search-pages.view-display-id-block_1 .views-field-nothing-3 div {width: max-content; margin-left: 118px;}

.comm-work {
	font-size: 1.2em;
    margin-top: 20px;
    margin-bottom: -5px;
    text-decoration: underline;
}

.view-textual-parallels-contents .view-header td {width: 50%;}
.tp-selector {width: 230px; background-position-x: 200px !important; float: right;}

.tp-content {display: none;}
.tp-content.tp-view {display: block;}

.view-textual-parallels-contents .view-empty {margin-top: 20px;}



.invisibile {visibility: hidden; height: 0;}

/**History of reception*/
.view-history-of-reception .views-exposed-form {margin: 20px 0;}
.view-history-of-reception .views-exposed-form label {display: inline-flex; color: #707070; margin-right: 5px; margin-left: 20px;}
.view-history-of-reception .views-exposed-form .form-actions {display: inline-flex;}
.view-history-of-reception .views-exposed-form .form-actions input {margin-left: 30px; margin-top: -5px; height: 30px;}
.form-item-century-from label {margin-left: 0 !important;}
.form-item-century-from input, .form-item-century-to input {width: 55px; padding: 0.3em 0.4em;}
.view-history-of-reception .views-exposed-form select {padding-top: 0.3em; padding-bottom: 0.3em;}

.view-history-of-reception table .views-field-book,
.view-history-of-reception table .views-field-nieseSection,
.view-history-of-reception table .views-field-nothing-1,
.view-history-of-reception table .views-field-century {text-align: center;}

/**Bibliography*/
.block-views-exposed-filter-blockbibliography-search-page-page-5 label {display: inline-flex; color: #707070; margin-right: 5px;}

.path-bibliography .ajax-progress {display: none;}
.path-bibliography .form-item-items-per-page {width: 100%;}
.path-bibliography .views-ef-fieldset-container-0 summary, .path-bibliography .views-ef-fieldset-container-3 summary {pointer-events: none; cursor: default;}
.path-bibliography .seven-details {background: transparent;border: none;margin: 25px 0 0 0;}
.path-bibliography summary {display: block;}
.path-bibliography .seven-details__wrapper {padding: 0;}
.path-bibliography .seven-details__summary {color: transparent !important;margin: 0;padding: 0;}
.path-bibliography .seven-details__summary span {color: #000;}
.path-bibliography .views-ef-fieldset-container-1 .seven-details__summary span:nth-child(2), .path-bibliography .views-ef-fieldset-container-2 .seven-details__summary span:nth-child(2) {
    background-image: url(/core/themes/seven/images/freccetta.png);
    background-repeat: no-repeat;
    background-size: 18px;
    background-position: 100% 50%;
    width: 20px;
    height: 10px;
    display: inline-block;
	transition: all .3s;
	transform: rotate(180deg);
}
.path-bibliography .seven-details__summary.aperto span:nth-child(2) {transform: rotate(0deg);}

.path-bibliography details select {height: 30px;}
.path-bibliography .form--inline .views-ef-fieldset-container .form-item {margin: 5px 0;}
.path-bibliography .form-item-items-per-page {margin-bottom: 25px;}

.view-id-bibliography_search_page .views-label {font-weight: bold;}
.view-bibliography-search-page .views-row {margin-bottom: 20px;}
.view-bibliography-search-page .views-row .views-field-nothing {margin-top: 4px;}

.block-views-exposed-filter-blockbibliography-search-page-page-5 input {width: 45px; text-align: center; background: transparent !important; border-radius: 0px !important;}
.block-views-exposed-filter-blockbibliography-search-page-page-5 .form-item-title input {width: 330px; text-align: left;}
.block-views-exposed-filter-blockbibliography-search-page-page-5 .form-item-author input {width: 312px; text-align: left;}
.block-views-exposed-filter-blockbibliography-search-page-page-5 .form-item-keywords input {width: 289px; text-align: left;}
.block-views-exposed-filter-blockbibliography-search-page-page-5 .form-item-year-from input, .block-views-exposed-filter-blockbibliography-search-page-page-5 .form-item-year-to input {width: 54px;}
.block-views-exposed-filter-blockbibliography-search-page-page-5 .form-item-poly-book-num,
.block-views-exposed-filter-blockbibliography-search-page-page-5 .form-item-jose-text-title,
.block-views-exposed-filter-blockbibliography-search-page-page-5 .form-item-jose-book-num
{width: 100%;}
.block-views-exposed-filter-blockbibliography-search-page-page-5 .form-submit {width: auto; margin-top: 20px;}
.block-views-exposed-filter-blockbibliography-search-page-page-5 .form-item-poly-chapter-to-new, .block-views-exposed-filter-blockbibliography-search-page-page-5 .form-item-poly-section-to-new {width: 160px;}


.sidebar_td .view-header {position: absolute; margin-top: -30px;}
.notes-header, .arch-header, .block-views-blockbibliography-search-page-block-1 .view-header, .block-views-blockbibliography-search-page-block-2 .view-header {margin-left: 100px;}
.place-header {margin-left: 55px;}
.block-views-blocktextual-parallels-search-pages-block-1 .view-header, .block-views-blocktextual-parallels-search-pages-block-2 .view-header {margin-left: 127px;}
.block-views-blockhistory-of-reception-block-1 .view-header {margin-left: 150px;}
.transBy {color: #707070; font-size: 0.9em;}

.testo-greco, .traduzioni {filter: invert(1); transition: all .2s;}
.loaded .testo-greco, .loaded .traduzioni {filter: none; padding-top: 0;}

.testo-greco, .greek-section, gr_hb {font-family: Gentium;}

#place-notes-content p.note-field:nth-child(2) {margin-top: 0;}
.placeDesc {display: none;}

#homeAboutLinks ul {padding-left: 0;}

/** DISSERTATION PAGES */
.page-node-type-dissertations .region-content {padding: 0 20px 20px;}
#block-tessarajakflaviusjosephusmenu ul {margin-left: 0; padding-left: 20px;}
#block-tessarajakflaviusjosephusmenu ul.secondary-ul {max-height: 0; overflow: hidden; transition: all .5s;}
#block-tessarajakflaviusjosephusmenu ul.secondary-ul.aperto {max-height: 200px; margin-bottom: 20px;}
#block-tessarajakflaviusjosephusmenu .li-main-link {cursor: pointer; text-decoration: underline;}
#block-tessarajakflaviusjosephusmenu .li-main-link:hover {color: #CC120D; text-decoration: none; outline: 0;}
.page-node-type-dissertations #block-tessarajakflaviusjosephusmenu {width: 320px;}
.page-node-type-dissertations .fissala {position: fixed; top: 15px;}




/** Modifiche sidebar commentary */
.sidebar_td #block-notesblock h2 {pointer-events: none;}
.sidebar_td #block-notesblock h2::after {display: none;}
.note-field font {font-family: inherit;}



/** pharisees steve mason */
hi[rend=bold] {font-weight: bold;}
hi[rend=italic] {font-style: italic;}
row {display: table-row; line-height: 1.5em;}
row cell {display: table-cell; padding-right: 10px;}
hi:before, hi:after {content:" ";}
.path-flavius-josephus-on-the-pharisees item {display: list-item;}


.path-flavius-josephus-on-the-pharisees #block-seven-content {filter: invert(1); transition: all .2s;}
.path-flavius-josephus-on-the-pharisees.loaded #block-seven-content {filter: none;}

.path-flavius-josephus-on-the-pharisees .main_content_td {padding: 0 15px;}
.path-flavius-josephus-on-the-pharisees .sidebar_td.first {width: 160px;}
.path-flavius-josephus-on-the-pharisees .sidebar_td.second {width: 300px;}
.path-flavius-josephus-on-the-pharisees #block-notesblock h2, .path-flavius-josephus-on-the-pharisees .sidebar_td h2::after {display: none;}
.path-flavius-josephus-on-the-pharisees .sidebar_td .view-header {display: inline-flex; position: relative;}

.path-flavius-josephus-on-the-pharisees select.book_select {padding: 10px; height: 40px;}
.path-flavius-josephus-on-the-pharisees select, .path-flavius-josephus-on-the-pharisees select:hover {background-position: 98% !important;}

.view-flavius-josephus-on-the-pharisees ul {height: 30px; width: 150px; border: 1px #000 solid;}
.view-flavius-josephus-on-the-pharisees ul li {list-style-type: none; padding: 5px 10px; z-index: 2; }
.view-flavius-josephus-on-the-pharisees ul li:not(.init) { float: left; width: 130px; display: none; background: #ddd; }
.view-flavius-josephus-on-the-pharisees ul li:not(.init):hover, .view-flavius-josephus-on-the-pharisees ul li.selected:not(.init) { background: #09f; }
.view-flavius-josephus-on-the-pharisees li.init { cursor: pointer; }

.view-flavius-josephus-on-the-pharisees a#submit { z-index: 1; }

#block-phariseesselectlist .field--name-body {display: flex;}

#prevnext_phar {display: flex; margin: 8px 0px 0px 10px;}
#prevnext_phar a span {
	height: 25px;
    width: 25px;
    display: block;
    background: url(/core/themes/seven/images/freccetta.png);
    background-repeat: no-repeat;
    background-size: 100%;
}
#prev_phar {transform: rotate(270deg);}
#next_phar {transform: rotate(90deg);}