/**** Classes - custom ****/
.badge_group_column .badge_group {
    display: flex;
    flex-direction: column;
} 

.horaire_exceptionnel_masquer {
  	display: none !important;
 }

.free_box_no_text_body p { 
  	display: none;
}

.exceptional_closure .widget-body {
    color: #10518d;
    padding: 10px;
    margin-top: 20px;
    text-align: center;
    border: 1px solid #10518d !important;
}

.display_none {
  	display: none !important;
}

.delete_search_history .wrapper_user_selections  .mb-5:nth-child(3n) {
  	display: none !important;
}

.widget_header_bg_transparent .widget-header, .widget_header_bg_transparent .card-header {
  	background: transparent;
}

.no_card_footer .card-footer {
 	display: none !important;
}

.card-img-reduced-effect .card-img:hover, .card-img-reduced-effect img:hover {
   transform: scale(0.92);
   box-shadow: 0px 0px 10px rgba(24, 42, 50,0.8);
 }

.card-img-reduced-effect .card-img:hover, .card-img-reduced-effect img:hover {
   transform: scale(0.92);
   box-shadow: 0px 0px 10px rgba(24, 42, 50,0.8);
}

.card-img-transition-effect {
  margin: 5px !important;
  display: flex;
  justify-content: center;
  display: flex;
 justify-content: start;
}

.title_no_clickable .card-title {
   pointer-events: none;
}

.no_icon .fas {
  	display: none;
}

.card-img-transition-effect .card-img, .card-img-transition-effect img {
  width: 100%;
  transition: all 0.7s ease-in-out; 
}

.vignette_boutton .widget-header{
  position: absolute;
  width: 100%;
  z-index: 2;
  text-align: center;
  font-size: 25px;
  color: white;
  pointer-events: none;
  cursor: pointer; 
}

.vignette_boutton img{
  cursor: pointer;
}

.row_justify_content_center .row {
  	justify-content: center;
}

.no_padding_bottom {
 	padding-bottom: 0px !important; 
}

.no_list_group .list-group {
  	display: none;
}

@media  screen and (min-width: 768px) {
  .col-custom.col-md-3{
      flex: 0 0 29% ;
      max-width: 29%;
  }
}

/* Thème */
.background_black {
   background: #3A0225;
}

.badge-primary, .btn-primary,  .result_list_mod .card-link, .result_wall_mod .card-link {
	background-color: rgb(241, 107, 145) !important;
  	border: rgb(241, 107, 145) !important;
}

.btn-info, .btn-secondary {
    background-color: #F1A85E !important;
  	border: #F1A85E !important
}

.text-secondary {
	color: black !important;
}

.result_pager span {
	//color:white;   
}

.wrapper_zendafi_form_login_register, .wrapper_zendafi_form_login_lostpass {
  	display: none;
}

/* Couleur fond - Onglet administration */

.white_widget :not(img) {
	background-color: rgb(241, 107, 145);
}

/* body */

.container-fluid div  {
//  background: transparent  !important;
}

/****** header **********/

header {
  	background: var(--muscle-red) !important;
}

header .widget-body {
  	padding: 0px;
}

header #boite_4 {
	left: 83%;
  	top: 12px;
  	z-index:2;
}

header .boite.login {
  	margin-bottom: -70px;
	z-index: 3;
}

header .boite.login .dropdown {
  margin-top: -22px;
}

header nav {
  	font-size: 12px;
  	background: none !important;
    margin-bottom: -30px;
    z-index: 2;
}

header #boite_6 {
	background-color: var(--muscle-red) !important;
}

header .nav nav .nav-link {
  	border-right: none !important;
    color: white;
}

header nav li:first-child {
  	padding-top: 8px;
}

header .rech_simple {
    padding-top: 0rem !important;
    padding-bottom: 0em;
    top: -100px;
    height: 0px;
    opacity: 0.8;
}

header  ul li .nav-link:before {
	content: url(https://fondsdoc.tisse-metisse.org/userfiles/image/etoile.png);
	margin-right: 13px;
  	vertical-align: middle;
}

header .dropdown .dropdown-menu {
 	background-color: #EF7A59;
  	font-size: 12px;
}

header .dropdown .dropdown-menu li .nav-link::before{
 	content: '' !important;
}

header  ul li:first-child .nav-link:before {
	content:'';
}

.rech_simple.widget button[type="submit"], div.dropdown-menu{
	background-color: rgb(241, 107, 145) !important;
}  

.dropdown-menu .text-secondary{
  	color: white  !important;
 }

header #boite_6 {
  	margin-top: 0px;
}

header .active_criteria, header .reset_criteria, header .button_reset_search  {
 	display: none; 
 }

header .unremovable_criterion {
  	display: none;
}

/* Bouton recherche avancée */
header .boite.rech_simple .custom_advanced_search .search_dropdown_menu {
  display: block;
  top: 28px;
  background-color: white;
  border-radius: 15px !important;
  z-index: auto;
  padding: 0px;
  right: -50px;
}

header .boite.rech_simple .custom_advanced_search button {
  display: none;
}

.dropdown-item.text-secondary:hover {
  background-color: transparent;
}

/**** Affichage - heure ouverture ****/

header .library_openings_body {
  	margin-bottom: -39px;
	margin-left: 5%;
}

.list_group_background_transparent .list-group-item {
	background: transparent;
}

/****/

.library_openings_body .card-title, .library_openings_body .badge-group, .library_openings_body .library_opening_hours, .library_openings_body .card-footer{
  	display: none !important;
}

.library_openings_body .library_opening  p {
    padding: 10px !important;
    background-color: white !important;
    color: var(--muscle-red) !important;
    border-radius: 15px !important;
    border: 3px solid #3094C6 !important;
    position: relative;
    margin-left: -20px;
    z-index: 2;
    text-align; center,
    width: 195px;
}

.library_openings_body .card-body {
 	padding: 0px;
 }

.library_openings_body .list-group-item {
  padding: 0 1.25rem;
}

/**** Page résultat ****/
.badge_group .record_edition_year, .badge_group .record_novelty, .badge_group .record_serie, .badge_group .record_facets  {
  	padding-left: 10px;
    padding-right: 10px;
}

.fas.doc_types {
  	display: none;
}

.recherche_simple .unremovable_criterion {
  	display: none;
 }

.active_criteria .text-left::before {
  	content: ' Retirer le critère : ';
}

/**** Page mon compte ****/
.badge_group_Intonation_Library_View_Wrapper_Selection .badge-info, 
.badge_group_Intonation_Library_View_Wrapper_Selection .badge-warning,
.badge_group_Intonation_Library_View_Wrapper_Selection .badge {
	color: #17a2b8 !important;
	background: none !important;
}

.user_selections .btn-warning {
  	background-color: black;
  	border: black;
  	color: white;
}

.account .jumbotron_thumbnail {
    padding: 1.50em !important;
}

/**** Résultat sans visuel ****/
.record_no_thumbnail {
  background-image: url("https://fondsdoc.tisse-metisse.org/userfiles/image/visuel-non-disponible.png");
  background-position: contain;
  background-size: contain;
  background-repeat: no-repeat;
  max-width: 100%;
  height: 100%;
  display: block;
} 

.record_no_thumbnail .card-subtitle {
  display: none;
}

.record_no_thumbnail .card-title {
  display: none;
}

.record_no_thumbnail .fas {
	display: none;
}

.cardify_horizontal_img .record_no_thumbnail {
  height: 100px;
  width: 100px;
  margin: auto;
}

/**** Evenement ****/
.badge_event_start { 
  padding-left: 5px;
  padding-right: 5px;
}


/**** Agenda ****/
.calendar .filters .col button, .calendar .filter_reset_button {
    padding: 10px;
    font-weight: bold;
    border-radius: 7px;
    border: solid 2px black !important;
    text-align: left;
    margin: 5px 5px 30px 5px !important;
    min-width: 220px !important;
    overflow: hidden;
}

.calendar a {
  	text-decoration: none;
}

.calendar .card-title {
  	white-space: break-spaces;
    text-decoration: none !important;
    font-size: 20px;
    max-width: none !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    margin: 10px 0;
}

.calendar .masonry-brick {
    border-radius: 7px;
    box-shadow: 0 0 5px 0 grey;
    text-decoration: none;
}

.calendar .masonry-brick .card-footer {
  	display: none !important;
}

.calendar .filters .col button:hover, .calendar .filter_reset_button:hover { 
	background-color: #E98782;
}

/**** Kiosque ****/

.kiosque .btn-secondary {
  	background-color: white  !important;
}

.kiosque .card_body_Intonation_Library_View_Wrapper_Record {
  display: none;
}

.kiosque .widget-header {
  	order: 1;
}

.kiosque .widget-body {
  	order: 3;
}

.kiosque .widget-footer {
  	margin-top: -60px;
  	order: 2;
}

.arrow_down_carrousel .carousel-indicators  {
   margin-top: 40px !important;
}

.arrow_down_carrousel .carousel-control-next, .arrow_down_carrousel .carousel-control-prev  {
  	position: relative;
  	width: 20px !important;
 	margin-top: -50px;
}

.arrow_down_carrousel .carousel-control-next {
	margin-right: 0px;
	margin-left: auto;
  	margin-top: -70px;
}

.carrousel_custom  img {
	padding: 10px;
  	height: 250px;
}

.carrousel_custom .card_grid{
  	max-width: 1050px;
	margin: auto;
}


/**** Kiosque - Mur ****/

.card_with_overlay {
  display: flex;
  position: relative;
  flex-direction: column;
  min-width: 0;
}

.card_img_orverlay .card_overlay {
  	position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 1.25rem;
}

.card_img_orverlay .card_overlay:hover {
  opacity: 1 !important;
  color: white;
  background: var(--front-background-overlay) !important;
}

.card_img_orverlay .card_overlay:not(.record_no_thumbnail) {
  background-color: var(--front-background-overlay);
  opacity: 0;
  transition: all 0.4s;
}

.card_img_orverlay .card-title, .card_img_orverlay .d-inline {
  color: white;
  text-align: center !important;
}

.card_img_orverlay .card-link .fas{
	display: none;
}

/* Recherche avancée */
.custom_advanced_search .ui-tabs-nav {
  	display: none;
}

.custom_advanced_search .boutons {
	display: flex;
	flex-direction: row-reverse;
}

.custom_advanced_search .search_axe_label_and_operator {
  	display: flex;
  	min-width: 300px; 
}

.custom_advanced_search .search_axe_operator_prefix {
	min-width: 100px; 
}

.custom_advanced_search .ui-tabs {
  	border: none;
}

.wrapper_zendafi_form_advancedsearch_annexe label {
  	padding-top: 8px;
}

 form #operateur_titres, form #operateur_auteurs, form #operateur_dewey{
  	background-color: ;
   	color: black;
}

.wrapper_zendafi_form_advancedsearch_anneedebut .row div {
  	display:flex;
}

.wrapper_zendafi_form_advancedsearch_anneedebut .row div #annee_debut {
  	margin-right: 10px;
}

.wrapper_zendafi_form_advancedsearch_anneedebut .row div #annee_fin {
  	margin-left: 10px;
}


/* Footer */
 footer {
 	background-color: #E98782;  
}

footer .default_opening_hours, footer .badge_phone, footer .badge_mail {
  	display: none;
}

footer .card-title {
	font-family: 'phenomena';
	font-size: 2em;
	font-weight: bold;
}

footer .card-title .text-secondary{
  	color: var(--muscle-text-color) !important;
}

footer .img_partner .card-body{
  	padding: 0px;
}

footer .img_partner  img{
  	max-width: 110px;
	max-height: 60px;
  	margin-left: 10px;
    margin-right: 10px;
  	margin-top: 5px;
  	margin-bottom: 5px;
}

footer .free {
 	margin-top: 0px !important; 
}

footer .free .card-body {
	padding-top: 0px; 	
}

footer .library .card-body {
  	margin-top: -4px;
  	padding-top: 4px;
  	padding-left: 0px;
  	padding-bottom: 0px;
}

footer .badge-group .badge {
    background: #E98782 !important;
	color: var(--muscle-text-color) !important;
    font-weight: normal;
    font-size: 1em;
}

footer .library .card-footer {
  	display: none !important;
}  

footer .library .masonry {
  	grid-auto-rows: 0px;
}

footer 	.library_opening  {
	display: none;
}

/* Connexion */
form.login {
  	padding-left: 20px;
}

/* menu crédits */

footer .navbar a {
  	color: var(--muscle-text-color);
}

@media screen and  (max-width: 700px){
    table thead {
    display: none !important;
    }

    table tr{
    display: block;
    margin-bottom: 40px;
    }

    table td {
    display: block;
    text-align: right;
    }

    table td:before {
    content: attr(data-label);
    float: left;
    font-weight: bold;
    }
}

@media (min-width: 992px) {
.card-img-reduced-effect.col-lg-2 {
  -ms-flex: 0 0 20.666667%;
  flex: 0 0 20.666667%;
  max-width: 20.666667%;
}
}

@media screen and (min-width: 576px ) {
  .action_column .cardify_horizontal_actions .row {
    display: flex;
    flex-direction: column;
  }
} 

@media screen and (max-width: 575px) {
  
  	header #boite_6 {
  		margin-top: 50px;
	}
  
  	header .nav .nav-link::before {
      	display: none;
    }
  	
  	header .nav button {
      	font-size: 1em;
    }
  
  	header .rech_simple {
     	top: -70px; 	
    }
  
    header .library {
      	height: 80px;
    }
  
  	header .library .card_description_Intonation_Library_View_Wrapper_Library {
      	margin-top: -30px;
    }
  
  	header .library_opening p {
        margin-top: 50px;
        width: 120px;
        padding: 10px !important;
        font-size: 12px;
	}
  	
  	/****  Kiosque - carrousel  ****/
  	.carrousel_custom .kiosque img {
      padding: 10px;
  	  height: 170px;
	}

    .carrousel_custom .kiosque  .card_grid{
        max-width: 300px;
        margin: auto;
    }
}

/*** Formulaire de recherche  ***/

.ui-state-active, .ui-widget-content .ui-state-active, .ui-widget-header .ui-state-active, a.ui-button:active, .ui-button:active, .ui-button.ui-state-active:hover {
		background: black;
}




