body {
  font-family: Verdana;
  margin-left: 40px;
  margin-right: 40px;
  margin-bottom: 40px;
}

ul {
  margin-bottom: 0 !important;
}

.main_title {
  text-align: center;
  font-weight: bold;
  font-size: 24px;
}

.titre {
  font-weight: bold;
  font-size: 19px;
  margin: 40px 0px 20px 0px;
  border-top: 1px solid #000;
  width: 100%;
  padding-top: 14px;
  color: #850D5D;
}

.titre-popup {
  font-weight: bold;
  font-size: 19px;
  margin: 0px 0px 20px 0px;
  border-top: 1px solid #000;
  width: 100%;
  padding-top: 14px;
  color: #850D5D;
}


.retour_menu {
  text-align: center;
}

th {
  font-weight: bold;
}

.error_msg {
  font-size: 12px;
  color: #FF0000;
  font-weight: bold;
}

.menu {
  background-color: #e8eefa;
}

.liste {
  background-color: #e8eefa;
}

.entete {
  background-color: #E0E0E0;
  font-weight: bold;
  text-align: center;
}

.etiquette {
  font-weight: bold;
  text-align: left;
  font-size: 13px;
  width: 190px;
  padding-top: 6px;
}

.tete_chapitre {
  color: #850D5D;
  font-weight: bold;
  font-size: 18px;
  border-top: 1px solid #000;
  padding-top: 10px;
  margin-bottom: 25px;
  margin-top: 15px;
  word-wrap: break-word;
}

.tete_section {
  background-color: #336699;
  color: #FFFFFF;
  font-weight: bold;
  text-align: right;
  font-size: 13px;
}

.saisie {
  font-family: Verdana;
  font-size: 12px;
}

.saisie.form-control {
  width: 100%;
}

.w-80{
  width: 80%;
}

.carousel.slide.center.w-80{
  box-shadow: 0px 0px 5px #000;
  margin-top: 15px;
}

.h-300px{
  height: 300px;
}

.booleen {
  font-family: Verdana;
  font-size: 12px;
}

.taille2 {
  text-align: center;
  font-size: 11px;
}

.cartouche {
  text-align: justify;
  width: 100%;
}

.cmt_rouge {
  color: #FF0000;
}


#menu_saisie ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

#menu_saisie ul li {
  font-weight: bold;
  font-size: 18px;
  border-top: 1px solid #000;

  word-wrap: break-word;
  /*margin: 0;*/
  /*border-top: 1px solid #003;*/
}

#menu_saisie ul li a {
  padding-top: 15px;
  padding-bottom: 15px;
  background-color: #E0E0E0;
  color: #850D5D;
  font-weight: bold;
  font-size: 16px;
  display: block;
  /* padding: 2px 2px 2px 0.5em; */
  text-decoration: none;
}

a:link,
a:visited {
  font-family: Arial;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  text-decoration: none;
}

img {
  border-width: 0px;
}

html>body #menu_saisie ul li a {
  width: auto;
  padding-right: 8px;
}

#menu_saisie ul li a:hover {
  border-left: 5px solid #850D5D;
  border-right: 1px solid #f5f5f5;
  border-bottom: 1px solid #850D5D;
  background-color: white;
  color: #850D5D;
}

#menu_saisie a#menu_saisie_select {
  border-left: 5px solid #850D5D;
  border-right: 1px solid #f5f5f5;
  border-bottom: 1px solid #850D5D;
  background-color: white;
  color: #850D5D;
}

#titre_ms3 {
  /*	text-align: center;
	font-weight: bold;
	font-size: 16px;
	background-color: #036;
	color: #fff;*/
  text-align: center;
  font-weight: bold;
  font-size: 20px;
  color: #000;
  border-top: 3px solid #850d5d;
  margin-top: 25px;
  padding-top: 13px;
  margin-bottom: 23px;
}

#titre_ia3 {
  text-align: center;
  font-weight: bold;
  font-size: 16px;
  background-color: #036;
  color: #fff;
}

#fond_rouge {
  background-color: #FFE0E0;
}

#fond_vert {
  background-color: #E0FFE0;
}

.fond_rouge {
  background-color: #FFE0E0;
}

.fond_vert {
  background-color: #E0FFE0;
}

.fond_blanc {
  background-color: #FFFFFF;
}

/* ------------------------------- */

#lettres_search_result {
  text-align: center;
}

#result_conteneur {
  /*width: 800px;*/
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.tab_header {
  background-color: #cecece;
  font-size: 12px;
  font-weight: bold;
  text-align: center;
}

.result_line_blue {
  background-color: #e8eefa;
  font-size: 12px;
}

.result_line_white {
  background-color: #ffffff;
  font-size: 12px;
}

/* ------------------------------- */

.list_relations_table {
  float: left;
  border-collapse: collapse;
  width: 760px;
  font-size: 12px;
}

.list_relations_header {
  background-color: #cecece;
  font-weight: bold;
  text-align: center;
}

.list_relations_header_left {
  background-color: #850D5D;
  color: white;
  font-weight: bold;
  text-align: left;
}

#list_relations_table td {
  padding: 5px;
}

#add_relation_objet {
  float: left;
  margin-top: 20px;
  margin-bottom: 20px;
  width: 700px;
}

#add_relation_objet a {
  text-decoration: none;
}

/* --- */

.tab_relation_blue_line {
  background-color: #e8eefa;
}

.relation_nb_results {
  clear: both;
  text-align: center;
  padding-top: 30px;
}

#relation_search_result {
  float: left;
  width: 800px;
}

#gauche2 {
  float: left;
  font-family: Verdana;
  font-size: 12px;
}

.association_etiquette {
  float: left;
  background-color: #E0E0E0;
  font-weight: bold;
  text-align: right;
  margin-right: 10px;
  padding: 5px;

}

.association_saisie {
  float: left;
}

#search_relation_result {
  float: left;
  font-family: Verdana;
  font-size: 12px;
  margin-top: 10px;

}

.relation_etiquette2 {
  width: 150px;
  height: 28px;

  font-family: Verdana;
  font-size: 12px;
  font-weight: bold;
  text-align: right;
  vertical-align: top;
  padding: 5px 2px 0px 0px;

  background-color: #e8eefa;
}

.relation_saisie2 {
  height: 28px;

  font-family: Verdana;
  font-size: 12px;
  text-align: left;
  padding: 0px 0px 0px 4px;
}

.relation_saisie3 {
  float: left;
  width: 450px;
}

.RELATION_COMMENTAIRE {
  width: 450px;
  height: 100px;
}

#tab_relation_selected {
  font-family: Verdana;
  font-size: 12px;
}

.tab_relation_line_selected {
  font-family: Verdana;
  font-size: 12px;
}

/* --- */

.list_relations_table2 {
  float: left;
  border-collapse: collapse;
  width: 700px;
  font-size: 12px;
}

/* -- jquery ui --*/
.ui-autocomplete {
  /*display : block !important;*/
}




/* --  Accueuil Search --*/

.all_blocks_search {
  width: 542px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
}

.block_search {
  width: 248px;
  height: 245px;
  display: inline-flex;
  padding: 0px 15px;
  margin: 15px 10px;
  color: #d4cbd0;
  font-size: 1.4rem!important;
  font-weight: bold!important;
  align-items: center;
  justify-content: center;
  box-shadow: 0px 0px 5px 0px rgb(0, 0, 0);
  position: relative;
  z-index: 0;
}

.block_search.huma { background-image: url("../images/blocs_accueil/xl-Humanistes.jpg"); }
.block_search.oeuvre { background-image: url("../images/blocs_accueil/sm-Oeuvres.jpg"); }
.block_search.image { background-image: url("../images/blocs_accueil/xl-Corpus-images.jpg"); }
.block_search.lettre { background-image: url("../images/blocs_accueil/xl-Lettres.jpg"); }

.block_search .layer{
  background-color: rgba(0, 0, 0, 0.3);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  transition: opacity .5s ease-out;
  -moz-transition: opacity .5s ease-out;
  -webkit-transition: opacity .5s ease-out;
  -o-transition: opacity .5s ease-out;
}

.block_search .layer:hover{
  opacity: 0;
}


.block_search span{
  color: #fff;
  text-shadow: 1px 1px 2px black;
  z-index: 2;
  text-align: center;
}

.titre_search_menu {
  font-size: 19px;
  margin-top: 40px;
  border-top: 1px solid black;
  color: #850D5D;
  padding-top: 16px;
  margin-bottom: 12px;
}

.titre_search_menu span {
  font-weight: bold;
}

.block_presentation_search {
  background-color: #f5f5f5;
  padding: 24px;
  font-size: 15px;
}

.block_presentation_search ul li {
  color: #850D5D;
}

.row {
  margin-left: 0px !important;
  margin-right: 0px !important;
}

.last_txt_presentation {
  color: #850D5D;
}

.pointer {
  cursor: pointer;
}

.pointer:hover {
  color: #000;
}


/* ---- */

.inlineFlex {
  display: inline-flex;
}

.form_Cadre_Style {
  background-color: #f5f5f5;
  padding: 15px;
}

.formStyle {
  vertical-align: middle;
  margin-bottom: 20px;
  margin-right: 10%;
}

/*colonne pair -- even != odd*/
.formStyle:nth-child(odd) {
  margin-right: 0px;
}


.formStyle input,
.formStyle select,
.formStyle textArea {
  background-color: white;
  border-radius: 5px;
  border: 1px solid black;
  min-height: 35px;
  width: 100%;
  margin-right: 2px;
  margin-left: 2px;
  padding: 6px;
}

.formStyle textArea {
  resize: none;
}

.formStyle input:not([type="radio"]):disabled,
.formStyle select:disabled,
.formStyle textArea:disabled {
  background-color: #eceeef;
  border: 1px solid black;
}

.formStyle span {
  padding-top: 6px;
}

input[type="radio"] {
  width: 20px;
  margin-left: 50px;
}

input.btn-search,
a.btn-search,
.btn-search {
  background-color: #e0e0e0;
  border: 1px solid transparent;
  padding: 10px 10px;
  width: 200px;
  min-height: 45px;
  margin: 20px 0px;
  cursor: pointer;
  white-space: initial;
  word-wrap: break-word;
}

.table.table-responsive input.btn-search {
  width: 140px;
}

a.btn-search {
  color: buttontext;
  width: auto;
}

input.btn-search:hover,
a.btn-search:hover {
  filter: brightness(80%);
}

.btn-search:hover {
  filter: brightness(80%);
}

.inputStyle {
  width: 60%;
  display: inherit;
  padding-top: calc(.5rem - 1px * 2);
  /* 8px -1px * 2 */
  padding-bottom: calc(.5rem - 1px * 2);
  /* 8px -1px * 2 */
}


.title_items {
  color: #850D5D;
}

.styleListItems .cartouche {
  padding-left: 25px;
}

.styleListItems .cartouche b {
  margin-left: -25px;
}

.big_title_search {
  width: max-content;
  border-top: 1px solid #000;
  color: #850D5D;
  padding-top: 10px;
  margin-top: 45px;
  font-weight: bold;
  font-size: 26px;
}

.speBorder_BigTitle{
  border-top: 0px;
  border-bottom: 1px solid #000;
  width: 100%;
  padding: 15px;
}

.Sitamap_links a{
  text-transform: lowercase;
  display: block;
}
.Sitamap_links a:first-letter {
  text-transform: uppercase;
}

.mentionLegales{
  padding: 15px 40px;
}

.card {
  border: 1px solid transparent !important;
}

.label_n_detail {
  display: -webkit-box;
}

.label_info {
  background-color: #f5f5f5;
  border: 1px solid #ffffff;
  border-radius: 5px;
  padding: 8px;
}

.detail_info {
  padding: 8px;
  border-top: 1px solid #d4d4d4;
  margin-left: 15px;
}

.detail_info.solo {
  margin-top: 15px;
  border-top: 2px solid #850d5d;
}

.border-top-purple {
  border-top: 2px solid #850d5d;
  margin-top: 15px;
  margin-left: 15px;
}

#fond_rouge,
#fond_blanc,
#fond_vert {
  display: inline-flex;
  margin-bottom: 5px;
}

#fond_rouge .col-2,
#fond_blanc .col-2,
#fond_vert .col-2 {
  text-align: right;

}

@media screen and (max-width: 794px) {
   .all_blocks_search {
    width: 250px;
  } 
}

@media screen and (max-width: 1159px) {
   .block_search {
    width: 208px;
    height: 205px;
  }
  .block_search p a {
    font-size: 22px;
  }
}


.input_menu_gr a {
  border: 1px solid #850d5d;
  width: 100%;
  height: 78px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
  background-color: #850d5d;
  font-weight: bold;
  border-radius: 10px;
  line-height: 14px;
  margin: 5px 0px;
}

.input_menu_gr a:hover {
  background-color: white;
  color: #850d5d;
}

.input_menu_gr .big_title_search {
  margin-bottom: 25px;
}

.table_par_interet {}

.ml20px{
  margin-left: 20px; 
}

.nouveaute {
  margin: 0px 3px 10px 3px;
  background-color: #f5f5f5;
}

.nouveaute.offset-2 {
  margin-left: 16.666667% !important;
}

.nouveaute:hover {
  text-decoration: none;
}

.block_nouveautes {
  margin-top: 6px;
}

.offset-1.nouveaute {
  margin-left: 8.333333% !important;
}



.titre_search_menu.presentation {
  margin-right: -24px !important;
}

.block_nouveautes {
  margin-bottom: 40px;
}

.block_nouveautes .title h3 {
  color: #850D5D;
  font-size: 12px !important;
  font-weight: bold;
  margin-bottom: 15px;
  line-height: 24px;
}

.block_nouveautes .description p {
  font-size: 12px;
  word-wrap: break-word;
  line-height: 24px;
  margin-bottom: 0px !important;
  color: #000 !important;
}

.block_nouveautes .date_maj p {
  font-size: 12px;
  word-wrap: break-word;
  line-height: 24px;
  text-align: right;
  color: #850D5D;
}

.nouveaute_plus {
  -webkit-box-flex: 0;
  -webkit-flex: 0 0 16.666667%;
  -ms-flex: 0 0 16.666667%;
  flex: 0 0 16.666667%;
  max-width: 16.666667%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.nouveaute_plus.nouveaute .description p {
  font-size: 16px !important;
  text-align: center;
  vertical-align: middle;
}

.referenceForm {
  position: relative;
  height: 25px !important;
  margin-bottom: 60px;
}

#labelle {
  display: inline-flex;
  width: 200px;
  text-align: left;
}

.referenceForm input {
  display: inline-flex;
}

.center {
  margin: auto;
}

#wrap {
  min-height: 60%;
}

.action {
  width: 84px;
}

.col-action {
  width: 84px;
}

.action-3 {
  width: 130px;
}

.col-action-3 {
  width: 130px;
}

.label {

  float: left;
}

.label label {
  display: block;
}

.input input,
select {
  display: block;
}

.input {
  position: relative;
  left: 10%;
}

#updateForm {
  text-align: left;
}

#updateForm input[type="submit"] {
  position: relative;
  top: 20px;
}

.addText {
  text-align: center;
}

label.etiquette.col-form-label {
  text-align: right;
  -webkit-justify-content: flex-end;
  justify-content: flex-end;
}

label.form-check-label.text-left {
  justify-content: flex-start;
}

/* Images card */

.image_card {
  cursor: pointer;
  box-shadow: 0px 0px 10px 1px #0000009c;
  background-color: white;
  margin: 2px 2px;
  -webkit-flex: 0 0 32.333333%;
  -ms-flex: 0 0 32.333333%;
  flex: 0 0 32.333333%;
  max-width: 32.333333%;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  flex-direction: column;
}

a.image_card,
a.image_card:hover {
  color: #292b2c;
}


.header_card_image {
  display: block;
  width: 250px;
  cursor: pointer;
  margin: 15px auto;
  padding: 1px;
}

.content_card {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  flex: 1 ;

}
.content_card p{
  align-self: flex-end;
}

.row_image {
  max-width: 100%;
  max-height: 80vh;
  overflow-x: auto;
  overflow-y: auto;
}

.zoom {
  margin: 12px 0px 0px 0px;
}

@media (min-width: 576px) {
  .modal-dialog {
    width: 90% !important;
    max-width: 90% !important;
  }
}

.modal-dialog {
  height: 75vh;
}

.input-group-addon {
  margin-left: -9px;
  border-color: black;
}

/* Family three */

.tree ul {
  padding-top: 20px;
  position: relative;
}

.tree li {
  float: left;
  text-align: center;
  list-style-type: none;
  position: relative;
  padding: 20px 5px 0 5px;
}

.tree li a+a,
.tree li a+p,
.tree li p+a,
.tree li p+p {
  margin-left: 20px;
  margin-bottom: 0px;
  position: relative;
}

.tree li a+a::before,
.tree li a+p::before,
.tree li p+a::before,
.tree li p+p::before {
  content: '';
  position: absolute;
  border-top: 1px solid #ccc;
  top: 50%;
  left: -25px;
  width: 25px;
}


/*We will use ::before and ::after to draw the connectors*/

/* Correction CSS ARBRE GENEALOGIQUE */

/*.tree ul > li:first-child::after{
  content: '';
  position: absolute; top: 0; right: 20%;
  border-top: 1px solid #ccc;
	border-left: 1px solid #ccc;
  width: 60%; height: 20px;
}

.tree ul > li:last-child::after{
  right: auto; left: 50%;
  border-left: 1px solid #ccc;
}
.tree li::before{
  content: '';
  position: absolute; top: 0; right: 50%;
  border-top: 1px solid #ccc;
  width: 100%; height: 20px;
}*/

.tree li::before,
.tree li::after {
  content: '';
  position: absolute;
  top: 0;
  right: 50%;
  border-top: 1px solid #ccc;
  width: 50%;
  height: 20px;
}

.tree li::after {
  right: auto;
  left: 50%;
  border-left: 1px solid #ccc;
}

/*We need to remove left-right connectors from elements without
any siblings*/
.tree li:only-child::after,
.tree li:only-child::before {
  display: none;
}

/*Remove space from the top of single children*/
.tree li:only-child {
  padding-top: 0;
}

/*Remove left connector from first child and
right connector from last child*/
.tree li:first-child::before,
.tree li:last-child::after {
  border: 0 none;
}

/*Adding back the vertical connector to the last nodes*/
.tree li:last-child::before {
  border-right: 1px solid #ccc;
  border-radius: 0 5px 0 0;
  -webkit-border-radius: 0 5px 0 0;
  -moz-border-radius: 0 5px 0 0;
}

.tree li:first-child::after {
  border-radius: 5px 0 0 0;
  -webkit-border-radius: 5px 0 0 0;
  -moz-border-radius: 5px 0 0 0;
}

/*Time to add downward connectors from parents*/
.tree ul ul::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  border-left: 1px solid #ccc;
  width: 0;
  height: 20px;
  top: -17px;
  height: 39px;
  z-index: -1;


}

.tree li a,
.tree li p {
  background-color: #FFFFFF;
  border: 1px solid #ccc;
  padding: 5px 10px;
  margin-bottom: 0px;
  text-decoration: none;
  color: #666;
  font-family: arial, verdana, tahoma;
  font-size: 15px;
  display: inline-block;

  border-radius: 5px;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
}


#liste_auteur {
  /*  position: relative;
  left: 10px;
  width: 22%;*/

}

#add_author {
  margin-right: -10px;
  width: 27%
}


.noMargin {
  margin: 0px !important;

}

.noPadding {
  padding: 0px !important;
}

.button_action {
  width: 50px;
}

.button_action .btn {

  margin: 0;
  margin-bottom: 5px;
  width: 50px;
  height: 25px;
}

.form-style {
  background-color: #f5f5f5;
  padding: 15px;
  padding-top: 50px;
}

.form-style i {
  color: black;
  position: relative;
  top: 2px;
}

.choice {
  border: none;
  width: 150px;
  margin: 0;
  border: 0;
  outline: 0;
  background-color: #e0e0e0;
  ;
  display: inline;
  border-left: 1px #850D5D solid;
  border-top: 1px #850D5D solid;
  padding: 9px 9px 0px 9px;
  border-radius: 0px 6px 0px 0px;
  cursor: pointer;
  position: relative;
  top: -1px;
}

.choice:hover {}

.active {
  background-color: #b3b3b3;
}

.choiceLast {
  border-right: 1px #850D5D solid;
}

.choice-type {
  margin-bottom: 40px;
  text-align: left;
  border-bottom: 1px #850D5D solid;

}

.hide {
  display: none;
}

.transcription {
  /*  position: relative;
  left: 5.2%;
  */

  margin-top: 2%;
  margin-left: 190px !important;
}

.analiseT {
  /*  position: relative;
  left: 5.2%;
  */

  margin-top: 2%;
  margin-left: 190px !important;
}

.btn-date {
  width: auto !important;
  margin-left: 3px;
  margin-right: 3px;
  position: relative;
  left: 8px;
}

.btn-align-center {
  display: flex;
  align-items: center;
}

.w-initial {
  width: initial !important;
}

.p-relative {
  position: relative !important;
}

.p-absolute {
  position: absolute !important;
}

.import-alert {
  top: 0.0rem !important;
  right: 0rem !important;
}

.w-200px {
  width: 200px !important;
}

.block-search[aria-expanded=true] .titre::after {
  content: "-";
  position: absolute;
  right: 25px;
}

.block-search[aria-expanded=false] .titre::after {
  content: "+";
  position: absolute;
  right: 25px;
}

/* Carousel */

.carousel{
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 20px;
  max-width: 1480px;
}

.carousel-item {
  justify-content: center;
}

.carousel-item.active {
  background-color: transparent;
}

/* .carousel-control-next{ order: 0; }
.carousel-inner{ order: 1; }
.carousel-control-next{ order: 2; }

.carousel-control-next,
.carousel-control-prev {
  position: unset;
}
*/
.carousel-control-next,
.carousel-control-prev {
  position: absolute;
}
.carousel-control-next .fa-chevron-right,
.carousel-control-prev .fa-chevron-left { 
  background-color: rgba(0, 0, 0, 0.3);
  width: 30px;
  height: 30px;
  border-radius: 50%;
} 

.carousel-control-next .fa-chevron-right::before,
.carousel-control-prev .fa-chevron-left::before{
  top: 7px;
  position: relative;
} 

@media screen and (min-width:0\0) and (min-resolution: +72dpi) {
   /* IE9+ CSS */
  .content_card p{
    background-color: rgba(0, 0, 0, 0.5);
    color: #ffffff;
    padding: 5px;
    z-index: 1;
  }
}

@media \0screen\,screen\9 {
  /* IE 6, 7 and 8 */
  .content_card p{
    background-color: rgba(0, 0, 0, 0.5);
    color: #ffffff;
    padding: 5px;
    z-index: 1;
  }
}

@media (max-width: 1024px) {
  .home-content{
    display: flex;
    flex-direction: column;
  }
  .home-content > div {
    width: 100%;
  }
}



@media (min-width: 1024px) {
  .col-3.presentation {
    margin-left: 24px !important;
  }
}

.fs-italic{
  font-style: italic;
  background-color: #eedcea;
  color : #000;
}