body {
  display: flex;
  flex-flow: column;
}

header {
  position: relative !important;
}

main {
  flex: 1;
  display: flex;
  flex-flow: column;
  overflow: hidden;
}

.main_container {
  flex: 1;
  overflow: hidden;
}

.doc_pane {
  position: relative;
  padding: 0;
  height: 100%;
}

#visuLeftPane {
  height: 100%;
  padding-right: 8px;
  padding-left: 0px;
  z-index: 3;
}

#visuPagination,
#modeAffichage {
  display: inline-block;
  position: absolute;
  bottom: 0;
  margin-left: 50%;
  transform: translate(-50%, 0);
  -webkit-transform: translate(-50%, 0);
  -moz-transform: translate(-50%, 0);
  -o-transform: translate(-50%, 0);
  -ms-transform: translate(-50%, 0);
  padding: 10px;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  z-index: 2;
}

#modeAffichage {
  bottom: 40px;
  margin-left: 3.5%;
  display: none;
}

#visuUtilsBar {
  display: inline-block;
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translate(0, -50%);
  -webkit-transform: translate(0, -50%);
  -moz-transform: translate(0, -50%);
  -o-transform: translate(0, -50%);
  -ms-transform: translate(0, -50%);
}

/* #visuUtilsBar, #visuPagination{
	display: none;
} */

#visuDocument {
  height: 100%;
  position: relative;
  overflow: hidden;
}

.itemsContainer {
  width: 100%;
}

#visuTitleBar {
  background: #fff;
  box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12) !important;
  z-index: 1;
}

.filArianeDiv {
  border-bottom: 3px solid #333;
  padding-bottom: 5px;
  padding: 0 20px;
  display: flex;
  flex-direction: row;
  border-color: #ffffff;
}

.filAriane {
  width: 33.33%;
  display: inline-block;
  margin-right: -0.25em;
}

.filAriane a {
  color: #333;
}

.titlePin{
	list-style: none;
}

.titleContainer {
  display: flex;
  flex-flow: row;
  padding: 0 20px;
}

.titleBloc {
	display: grid;
	grid-template-columns: 40% 60%;
	flex: 1;
	overflow: hidden;
}

@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
	.titleBloc {
		display: flex;
	}	
}

.titleBloc .title {
  display: inline-block;
  white-space: nowrap;
  max-width: 200%;
  overflow: hidden;
  text-overflow: ellipsis;
  vertical-align: bottom;
  font-size: 1.5em;
}

.titleBloc .author {
/*   font-size: 0.6em;
 */  
  font-weight: 500;
/*   display: inline-block;
 */  
  white-space: nowrap;
/*   max-width: 20%;
 */  
  overflow: hidden;
  text-overflow: ellipsis;
/*   vertical-align: sub;
 */
  padding-left: 5px;
  position: relative;
  bottom: 2px;
}

.titleLogo {
  margin-right: 20px;
}

#paginate {
  position: relative !important;
  display: inline-block;
  float: none;
  bottom: auto;
  width: auto;
  right: 0;
}
#paginationDiv {
  position: relative;
  display: inline-block;
  border-radius: 10px;
  background: #fff !important;
}
#paginationDiv .text-pagination-list {
  padding: 0;
  margin: 0;
  border: none;
  float: none;
  display: inline-block;
  max-width: none;
}
#paginationDiv .form-control {
  margin: 0;
  text-align: center;
  height: auto;
  width: 40px;
  text-decoration: underline;
  background: #fff;
  border: none;
  color: #000;
  float: none;
  display: inline;
}
#pagination-button {
  margin-left: 0px !important;
  background: transparent;
  height: auto;
  line-height: auto;
  float: none !important;
}
#docNavigationBar {
  position: absolute;
  bottom: 100%;
}
#paginate .dropdown-menu {
  position: relative;
  bottom: auto;
  right: 110px;
  transform: translate(-30px, -12px);
  -ms-transform: translate(-30px, -12px);
  -webkit-transform: translate(-30px, -12px);
  -moz-transform: translate(-30px, -12px);
  -o-transform: translate(-30px, -12px);
}

#paginationDiv .icon-rightarrow {
  color: #000;
}

#paginationDiv .icon-rightarrow:before {
  margin-left: -3px;
}
#docNavigationBar .dropdown-menu .pages {
  max-height: 350px;
  width: 100%;
}
.pages ul li > span {
  padding: 0px;
  background-color: unset;
  border: none;
}
ul.pager {
  position: relative !important;
  right: 0px;
  top: 0px;
  font-size: 0px;
  white-space: nowrap;
}
.pager > li {
  display: inline-block;
/*   vertical-align: middle;
 */  font-size: 14px;
}
.pager li.pager > button,
.pager li.pagerSeparator > button {
  padding: 0px;
  border: none;
  background: transparent;
}
li.pager > button:hover {
  background: transparent !important;
}
li.pager span {
  vertical-align: middle;
}
.pager > li.pager.optionHidden {
  display: none !important;
  visibility: hidden;
}
.pager > li.pager.browse.optionHidden {
  display: none !important;
}
.pager > li.pager > button span,
.pager > li.pager > button:hover span,
.pager > li.pager > button:focus span {
  color: #000;
}

.pager > li.pager.optionHidden > button span,
.pager > li.pager.optionHidden > button:hover span,
.pager > li.pager.optionHidden > button:focus span {
  color: #616a6b;
}
#paginationDiv.optionDisabled .text-pagination-list,
#paginationDiv.optionDisabled input,
#paginationDiv.optionDisabled button {
  color: #616a6b !important;
}
#paginationDiv.optionDisabled button {
  cursor: initial;
}

.FullPage.StyleSimplePage {
  height: auto;
}
.FullPage:not(.StyleSimplePage) {
  height: 100% !important;
}
.StyleSimplePage img.content {
  max-height: 100%;
}
.StyleSimplePage.FullPage .itemsContainer {
  display: flex;
  align-items: center;
}
.StyleSimplePage.FullPage .singleItemPage {
  margin: 0 auto;
}

.StyleSimplePage .singleItemPage{
	width: 100%;
}

#zoomBtn span {
  text-transform: uppercase;
}

/* ############################ */
/* Styles pour le menu accordion */
/* ############################ */

a#goAccordion span::after {
  border-left: 1px solid #e22c1e;
  border-bottom: 1px solid #e22c1e;
  width: 13px;
  height: 13px;
  margin: -9px 0 0 -7px;
}

a#goAccordion span,
a#goDocument span {
  position: absolute;
  margin-left: -23px;
  border-radius: 100%;
  box-sizing: border-box;
}

a#goAccordion span::after,
a#goDocument span::after {
  position: absolute;
  top: 50%;
  left: 50%;
  content: "";
  -webkit-transform: rotate(-45deg);
  transform: rotate(-45deg);
  box-sizing: border-box;
}

a#goAccordion span {
  border: 1px solid #e22c1e;
  top: 1%;
  left: 7.6%;
  width: 30px;
  height: 30px;
}

.box_synthese {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
}




.box_lieuxEvoque {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
}

#visuLieuxEvoquesDiv {
  display: flex;
  flex-direction: column;
}

a#goDocument span {
  border: 1px solid white;
  top: 0.5%;
  right: 3.5%;
  width: 30px;
  height: 30px;
  z-index: 3;
}

a#goDocument span::after {
  border-right: 1px solid white;
  border-top: 1px solid white;
  width: 13px;
  height: 13px;
  margin: -4px 0 0 -7px;
}

.zoomCtrlContainer {
  width: 100%;
}
.zoomCtrlContainer ul {
  width: auto !important;
  left: 50%;
  transform: translate(-50%, 0);
  background: #ddd !important;
  border-bottom-left-radius: 15px;
  border-bottom-right-radius: 15px;
  box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12) !important;
}
.openseadragon-canvas #previousButton,
.openseadragon-canvas #nextButton {
  /*transform:translate(0,-50%);*/
  display: none !important;
}

.pa-icon-zoomout,
.pa-icon-zoomin,
.pa-icon-home,
.pa-icon-fullpage,
.pa-icon-rotateleft,
.pa-icon-rotateright,
.pa-icon-exitZoom,
.pa-icon-export {
  font-size: 30px;
}
.pa-icon-flechPrecedent,
.pa-icon-flechSuivante {
  font-size: 90px;
}
.pa-icon-zoomout::before {
  content: "\e94d";
}
.pa-icon-zoomin::before {
  content: "\e95e";
}
.pa-icon-home::before {
  content: "\e92f";
}
.pa-icon-fullpage::before {
  content: "\e964";
}
.pa-icon-rotateleft::before {
  content: "\e966";
  transform: rotate(-115deg);
  display: inline-block;
}
.pa-icon-rotateright::before {
  content: "\e967";
}
.pa-icon-exitZoom::before {
  content: "\e913";
}
.pa-icon-export::before {
  content: "\e96b";
}
.pa-icon-flechPrecedent::before {
  content: "\e92c";
  margin-left: -25px;
}
.pa-icon-flechSuivante::before {
  content: "\e92e";
  margin-right: -25px;
}

.notAvailableMsg {
  text-align: center;
}
#visuRightPane {
  padding-right: 0px !important;
}
#visuRightPane.zoom #visuDocument,
#visuRightPane.zoom #visuPreviousPageButton,
#visuRightPane.zoom #visuNextPageButton {
  display: none;
}
#visuRightPane.zoom #contentDiv {
  height: 100%;
}
#visuRightPane.zoom #visuUtilsBar {
  right: 5px !important;
}

#contentDivAudio.zoom {
	height: 100%;
}
#contentDivVideo.zoom {
	height: 100%;
}

.pagerSeparator {
  border-right: 1px solid #ccd1d0;
  padding-left: 5px;
  padding-right: 5px;
  line-height: 2em;
  margin-right: 5px;
}

.pager.previous, .pager.next {
	font-size: 25px;
}

@-moz-document url-prefix() {
  .nbPagination {
    position: absolute;
    right: 5px;
  }
}

.highlight {
  background-color: yellow;
}

#acc_1-1 {
  height: 100%;
}

.accordion__panel[aria-hidden="false"]{
	overflow: hidden!important;
	height: 100%;
}

.searchResultList {
  padding: 10px;
}

.sousTitreOCR {
	margin-top: 15px;
	font-size: 13px;
}

#textOCRDiv {
	height: 100%;
}
#textOCRDiv > div {
	height: 100%;
}
#textImageModeDiv {
	height: 100%;
}
#ocrSearchResultDiv {
	height: 100%;
	display: none;
}

input[type="search"]::-webkit-search-cancel-button {
  -webkit-appearance: searchfield-cancel-button;
}

/***************POPIN Calendrier des periodiques****************/

@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
  /* CSS pour IE versions 10, 11 et Edge*/
  .tool-window {
    top: -49px !important;
    height: 350px !important;
  }
}

#popinPeriodique .modal-dialog,
#setNoticePopin .modal-dialog {
  padding-top: 0px !important;
}

#popinPeriodique .modal-header,
#setNoticePopin .modal-header {
  padding: 3px 10px;
  border-bottom: none;
}

#popinPeriodique .modal-title,
#setNoticePopin .modal-title {
  color: white !important;
  letter-spacing: 2px;
}

#popinPeriodique .close,
#setNoticePopin .close {
  margin-top: -21px;
  color: white;
  opacity: 1;
  z-index: 10;
}

/* Dropdown Button */
.dropbtn {
  background-color: transparent;
  border: 0;
  border: none;
}

/* The container <div> - needed to position the dropdown content */
.dropdown {
  float: right !important;
  position: relative;
  display: inline-block;
}

/* Dropdown Content (Hidden by Default) */
.dropdown-content {
  right: 0;
  left: auto;
  background-color: #ffffff;
  display: none;
  min-width: 160px;
  position: absolute;
  top: 100%;
  z-index: 1000;
  font-size: 14px;
  text-align: left;
  background-clip: padding-box;
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 4px;
}

/* Links inside the dropdown */
.dropdown-content ul li a {
  text-decoration: none;
  display: block;
}
.dropdown-content ul {
  list-style: none;
}
/* Show the dropdown menu on hover */
.dropdown:hover .dropdown-content {
  display: block;
}

.pagination-liste .pages .pictos {
  line-height: 15px;
  font-size: 1.9em;
}
.pagination-liste .pages a {
  vertical-align: middle;
  margin: 0 5px;
  margin-top: 3px;
  margin-right: 0;
}
.pagination-liste .pages input[type="text"] {
  margin: 0 9px;
  background: #fff;
  border-radius: 0px;
  width: 45px;
  padding: 5px;
  border: 1px solid #e7e6e8;
  vertical-align: middle;
  text-align: right;
  font-size: 1em;
  line-height: 1.5;
}
.pagination-liste {
  padding-bottom: 10px;
  padding-top: 10px;
}

/*************** Achat Panel ****************/

#achatRegion .panel-group .withoutTabVisible .panel-heading {
  display: none;
}

.panel-group .withoutTabVisible .panel-heading + .panel-collapse > .panel-body {
  border: none;
}

.achatPane .panel {
  border-radius: 0;
  border: none;
  box-shadow: none;
}

.achatPane .panel-group .panel + .panel {
  margin-top: 1px;
}

.achatPane .panel-heading {
  border-radius: 0;
  height: inherit;
  padding-top: 7px;
  padding-right: 36px;
  padding-bottom: 7px;
  padding-left: 12px;
  cursor: pointer;
  position: relative;
}

.achatPane .withoutTabVisible .panel-heading {
  display: none;
}

.panel-group .withoutTabVisible .panel-heading + .panel-collapse > .panel-body {
  border: none;
}

.achatPane .panel-heading .panel-title {
  font-size: 14px;
  font-weight: bold;
}

.achatPane .panel-heading.collapsed span {
  font-weight: 500;
}

.achatPane .panel-title a:hover {
  text-decoration: none;
  color: inherit;
}

.achatPane .panel-title a {
  text-decoration: none !important;
}

.achatPane .panel-heading .icon-rightarrow {
  position: absolute;
  right: 11px;
  top: 3px;
  font-size: 2.3em;
  margin: auto;
}

.achatPane .panel-heading .icon-rightarrow {
  position: absolute;
  right: 11px;
  top: 3px;
  font-size: 2.3em;
  margin: auto;
}
.achatPane .tirage-panel .panel-heading .icon-rightarrow {
  top: 25%;
}

.achatPane .tirage-panel .contentRegion a {
  text-decoration: underline;
}

.achatPane .panel .panel-heading:not(.collapsed) .icon-rightarrow {
  transform: rotate(90deg);
  -ms-transform: rotate(90deg); /* IE 9 */
  -webkit-transform: rotate(90deg);
  -moz-transform: rotate(90deg);
}

.achatPane .achatPaneContainer {
  height: 80%;
}

/*************** POPIN GALLICARTE ****************/

#popinLieuxEvoques .modal-dialog {
  padding-top: 0px !important;
}

#popinLieuxEvoques .modal-header {
  padding: 3px 10px;
  border-bottom: none;
}

#popinLieuxEvoques .modal-title {
  color: white !important;
  letter-spacing: 2px;
}

#popinLieuxEvoques .close {
  margin-top: -21px;
  color: white;
  opacity: 1;
  z-index: 10;
}
#popinLieuxEvoques .geo-pictos {
  color: white;
  font-size: 24px;
  overflow: visible;
}

.wrapperOngletToolbar .panel {
  background-color: transparent;
}

.redHilight {
  background-color: red;
}

#previousTdmResult:hover #previousTooltiptext {
  visibility: visible;
}

#nextTdmResult:hover #nextTooltiptext {
  visibility: visible;
}

.tooltiptext {
  visibility: hidden;
  width: auto;
  text-align: center;
  border-radius: 6px;
  padding: 0;
  font-family: "roboto_condensed";
  font-size: 15px;
  /* Position the tooltip */
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 50%;
  line-height: 1.5;
}

.tooltiptextOCR {
  visibility: hidden;
  width: auto;
  text-align: center;
  border-radius: 6px;
  padding: 0;
  font-family: "roboto_condensed";
  /* Position the tooltip */
  position: absolute;
  z-index: 1;
}

.sousTitreOCR:hover #paSousTitreOCRInfo {
  visibility: visible;
}

/* styles communs pour les documents videos */
.myvideoArea-dimensions {
  width: 100%;
  height: 100%;
}

.result-video-link {
  text-align: center;
}

/* styles communs pour les documents audios */
.audioMentions {
  text-align: center;
}

#visuDocument .title {
  text-align: center;
}
#audioThumbsRegion {
  max-width: 830px;
}

.audioArea {
  position: relative;
  z-index: 0;
}

.audioArea .mejs__audio {
  margin-top: 5px;
}

.believe-partner-logo {
  float: left;
  margin-left: 10px;
}

#visuUtilsBar .icon-casque {
  font-size: 0.7em;
  margin: 0 7.5px;
  vertical-align: top;
}

.rawTextLastParagraph a {
  background-color: transparent !important;
}

.rawTextLastParagraph a:hover {
  text-decoration: underline !important;
}

#searchType,
#tdmPanel button {
  text-transform: uppercase;
}

.pageIndisponibleContent {
  background-color: white;
  height: 80%;
}
#visuDocument.StyleMosaiquePage .pageIndisponibleContent {
  font-size: 10px;
  padding-top: 8%;
  padding-bottom: 8%;
  line-height: 10px;
}
.StyleMosaiquePage .singleItemPage {
	text-align: center;
}
.StyleMosaiquePage figure {
	width: 100%;
}
.arpenteurbtnelement {
  transform: translate(-30%, -30%) !important;
}

.arpenteurbtnelement #btnElementText {
  text-align: right;
  padding-right: 5%;
}

#pa-icon-indisponible-panel a:not(.tool-window-close) {
  text-decoration: underline;
}

.box_synthese .focusedBloc:focus-within {
  border: 1px solid #a5a589;
}
						
.boxTailleDoc{
	display: flex;
}

#heighresImgDiv img {
  position: absolute;
  left: 30%;
  top: 20%;
  max-height: 50%;
  z-index: 99;
}

.divReseauxSociaux {
	display: flex;
	flex: 100%;
}

#visuRechercheGeoChoixRayon {
  min-width: 211px;
  display: flex;
  justify-content: start;
  align-items: center;
  flex-wrap: wrap;
}

@media (min-width:1333px) {
  .logohide1{
    display:block;
  }  
  .logohide2{
    display:none;
  } 
      }
@media (max-width:1333px) { 
      .logohide1{
        display:none;
      }  
      .logohide2{
        display:block;
        width: 98px;
      } 
 }
 
 
 .canvas-frame{
	 width: 100%;
	 height: 100%;
 }
 
 #canvasViewer {
	text-align: center;	
}

.illustrationBtn {
	background: white;
	font-weight: bold;
	height: 35px;
    padding: 10px 20px;
}

.illustrationBtn .txt {
	position: relative;
    top: -4px;
}

.illustrationBloc .modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Content/Box */
.illustrationBloc .modal-content {
  background-color: #fefefe;
  padding: 0 10px;
  border: 1px solid #888;
}

/* The Close Button */
.illustrationBloc .close {
  color: #797676;
  float: right;
  font-size: 28px;
  font-weight: bold;
  opacity: 1!important;
}

.illustrationBloc .close:hover,
.illustrationBloc .close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

.illustrationBloc iframe {
	width: 100%;
	height: 92%;
}

#discoverDiv .mCSB_scrollTools{
	z-index: 0;
}

.arrowToLeft{
	transform: scaleX(1)!important;
}

.accordionChevron{
	position: absolute;
    right: 0;
    top: 10%;
    margin: 0!important;
    pointer-events: none;
}

.accordionChevron:not(.closed){
	transform: rotate(90deg);
    -ms-transform: rotate(90deg);
    -webkit-transform: rotate(90deg);
    -moz-transform: rotate(90deg);
}

.externalLink:after{
	font-family: 'Glyphicons Halflings';
	content: "\e164";
	margin-left: 2px;
	font-style: normal;
	font-size: 11px;
}

.accordion__panel[aria-hidden="false"] {
	padding: 0.5em!important;

}

.accordion__panel {
	padding: 0.001em 0.5em!important;
}

.galicapixTitle {
	text-decoration: underline;
	font-size: 16px;
}

.galicapixIcon {
	height: 23px;
}

#myModal{
	z-index: 999;
}

.visually-hidden {
  position: absolute;
  visibility: hidden;
  top:      auto;
  width:    1px;
  height:   1px;
  overflow: hidden;
}

.oneRebondResult{
	margin-bottom: 10px;
}