html {
    height: 100%;
    scroll-behavior: smooth;
}
body {
    height: 100%;
    position: relative;
}

* {
	margin: 0;
}

h1, .h1 {
    font-size: 2.5rem;
}

h2, .h2 {
    font-size: 2rem;
}

h3, .h3 {
    font-size: 1.5rem;
    text-transform: none!important;
}

p {
    text-align: justify;
}

.content h1 {
    margin: 3px 0px; 
}

.h1, .h2, .h3, h1, h2, h3 {
    margin-top: 0;
    margin-bottom: 0;
}

.block > h1,
.block > h2,
.block > h3,
.block > h4,
.block > h5,
.block > h6 {
    margin: 1rem 0 2rem 0;
    border-bottom: 2px solid!important;
    text-align: center;
}

.sidebar h2 {
    border: 0;
    margin: .1rem 0 1rem 0;
}

.contextual-region {
    justify-content: center!important;
}

.sidebar > h2 {
    font-size: inherit;
}

h1 a {
    color: inherit;
    text-decoration: none;
}

h1 a:hover {
    color: inherit;
    text-decoration: none;
}

#page {
	height: 100%;
}

#main-container {
	min-height: calc(100% - 101px);
    overflow-x: hidden;
}

#main-content {
	margin-top: 10px;
    margin-bottom: 10px;
}

.front #main-content {
    margin-top: 30px;
}

h4 {
    font-weight: bold;
}

img {
    height: auto;
    max-width: 100%;
}

.node {
    justify-content: center;
}

.width-100 {
    width: 100%!important;
}

.width-90 {
    width: 90%!important;
}

.width-80 {
    width: 80%!important;
}

.width-70 {
    width: 70%!important;
}

.width-60 {
    width: 60%!important;
}

.width-50 {
    width: 50%!important;
}

.width-40 {
    width: 40%!important;
}

.width-30 {
    width: 30%!important;
}

.width-20 {
    width: 20%!important;
}

.width-10 {
    width: 10%!important;
}

.show {
    opacity: 1;
    visibility: visible;
}

/*Fil d'ariane*/
#img-breadcrumb-home {
    float: left;
    height: 20px;
    width: auto;
    margin: 8px 10px 8px 0;
}
.breadcrumb {
	background-color: white;
}
/*Fin fil d'ariane*/

/*Tableaux dans conditions de prêt*/
table td, table th {
    padding: 5px;
}

table {
    font-size: inherit;
}

/*Classes génériques*/
.auto-margin {
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}
.border-shadow {
    border-radius: 0.25rem;
    padding: .5rem;
    margin: .5rem 0;
}

.border-grey {
    border: 2px solid #ced4da;
    height: auto;
    padding: 1rem;
}

.default-padding {
    padding: 20px !important;
}
.default-large-title {
    font-size: x-large;
    font-weight: bold;
}
.text-white {
    color: white;
}
.text-black {
    color: black;
}
.text-bold {
    font-weight: bold;
}
.text-ellipsis {
    overflow: hidden;
    text-overflow: ellipsis;
}
.field-item {
    margin-bottom: 10px;
}
.en-savoir-plus {
	position: relative;
    display: inline-block;
    cursor: pointer;
	border-radius: 5px;
    padding: 5px 10px;
}

.en-savoir-plus a {
    color: white !important;
}
.cursor-pointer {
	cursor: pointer;
}
.bouton-arrondi {
    display: inline-block;
    background-color: #c0b9af;
    padding: 12px 10px 10px;
    margin-left: 5px;
    margin-bottom: 10px;
    min-height: 11px;
    border-radius: 4em;
    color: white !important;
    cursor: pointer;
}
.line-height-100 {
    line-height: 100%;
}
.default-margin-top {
    margin-top: 20px;
}
.default-margin-bottom {
	margin-bottom: 20px;
}

div.miniThumb {
    border-radius: 0;
    padding-top: 40px;
    margin: 0 -10px 0 -45px;
    height: 110px;
    width: 110px;
    padding-left: 50px;
    overflow: hidden;
}

div.miniThumb img {
    height: 30px;
}
/*Fin classes génériques*/

/* Chat */
#chat-box {
    z-index: 1800;
    position: fixed;
    right: 10px;
    bottom: 10px;
    display: none;
    width: 291px;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 5px;
    background-color: white;
    box-shadow: 0 0 6px #ccc;
}
.bouton-fermer-chat {
	float: right;
    width: 20px;
    height: 20px;
    background-image: url(../images/glyphicons-halflings.png);
    background-origin: padding-box;
    background-position: -309px 3px;
    background-repeat: no-repeat;
    background-size: auto auto;
}
/* Fin chat */

/* Fil d'ariane */
#progilone-breadcrumb {
	margin-top: 5px;
	margin-bottom: 10px;
}
#breadcrumb-home-image {
    float: left;
    margin-right: 5px;	
}
#breadcrumb-home-link {
	float: left;
	width: 70px;
}
.breadcrumb-chevron,
.breadcrumb-link {
	float: left;
	margin-right: 5px; 
}
/* Fin fil d'ariane */

/* Flux RSS */
img#flux-rss {
    background-color: darkorange;
    width: 30px;
    height: 30px;
    padding: 5px;
    border-radius: 5px;
}
/* Fin flux RSS */

/* Icones print */
span.addtoany_list {
    line-height: 100px !important;
}
.links {
	margin-top: 5px;
}
body.front.page-node .links {
	display: none;
}
.links .addtoany {
    transform: translateY(-8px);
}
li.print_html {
	margin-left: 0;
}

#user li {
    list-style-type: none;
    cursor: pointer;
}

i {
    font-size: large;
}

.print_html img,
.print_mail img,
.print_pdf img {
	display: none;
}
.print_html a,
.print_mail a,
.print_pdf a {
    color: black;
    font-size: 22px;
    text-decoration: none;
}
.print_html a:hover,
.print_mail a:hover,
.print_pdf a:hover {
    color: #4d4d4d;
}
/* Fin icones print */

.cookie-compliance a {
	color: white;
	text-decoration: underline;
}

fieldset {
    border: 1px solid #ddd !important;
    margin: 0;
    padding: 10px;       
    position: relative;
    border-radius:4px;
    background-color:#f5f5f5;
    padding-left:10px!important;
}
    
legend {
    font-size: 1.1rem;
    font-weight: bold;
    border: 1px solid #ddd;
    border-radius: 4px; 
    padding: 5px 5px 5px 10px; 
    background-color: #ffffff;
}

.list-group-item {
    border: 0;
    text-align: left;
} 

.alert-wrapper {
    position: inherit;
    margin-top: 1rem;
    overflow: auto;
}

.featured-bottom {
    padding: 0 1rem 0 1rem;
}

.border-top-bottom {
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
    padding: 1.5rem;
}

.border-top-bottom:hover {
    background-color: #ddd;
}

.content-frame {
    border: 2px solid #ddd;
    padding: 1rem;
}

 .views-element-container {
    width: 100%;
    margin-right: auto;
    margin-left: auto;
 }

.field--type-image,
.views-field-field-actualite-image {
    text-align: center;
} 

.field--type-image {
    display:block !important;
}

.field--name-field-autres-selections,
.field--name-field-autres-actualites,
.field--name-field-autres-formations {
    text-align: center;
    background-color: #ced4da;
    padding: 1rem;
}

.field--name-field-autres-selections > field ,
.field--name-field-autres-actualites > field ,
.field--name-field-autres-formations > field {
    text-align: center;
    background-color: #ced4da;
    padding: 1rem;
}

.field--name-field-autres-selections > .field__label ,
.field--name-field-autres-actualites > .field__label ,
.field--name-field-autres-formations > .field__label {
   font-weight: bold;
}

.field--type-daterange,
.field--type-datetime  {
    text-transform: uppercase;
}

.card-block {
    border-bottom: 1px solid #3b3b3b;
}

.card {
    background-color: inherit;
    border: 0;
}

.field__items {
    display: inline-block;
}

.field {
    margin-bottom: 1.5rem;
}

.field--name-field-portail-tags .field__item  .field__item::before {
    content: "  |  ";
}

.node--type-univers .align-center {
    width: 100px;
    height: 100px;
}

.field--name-field-download-files {
    background-color: #ced4da;
    padding: 1rem;
    border-radius: 5px;
}

.node li {
    list-style-type: inherit;
    cursor: unset;
}

label {
    margin: 1rem 0 0 0;
}

/** Tags en majuscules **/
.fied-content, a[href*="taxonomy/term"] {
    text-transform: uppercase;
}

.field_item , a[href*="taxonomy/term"] {
    text-transform: uppercase;
}

/** En majuscule **/
.uppercase {
    text-transform: uppercase;
}
/** En minuscule **/
.lowercase {
    text-transform: lowercase;
}

/**  Carousel front page **/
.carousel-frame {
    padding: 1rem;
    width: 25%;
    margin-left: 10%;
    word-break: break-word;
    border-radius: 5px;
    font-size: x-large;
}

.carousel-frame a {
    color: white;
}

/* Dialog box drupal */
.ui-dialog {
    font-family: inherit;
    z-index: 1000;

    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
}


/* Pagination centrée */
.pagination {
    width: max-content;
    margin: auto;
}

/** form-inline - filtres vues **/
.form-inline {
    margin: 1rem 0 1rem;
}

/* React comment ne pas affciher le bouton de connexion */
label[for=rc_login-button], a#rc_login-button {
    display: none;
}

/** feed-icon (flux rss) **/
.feed-icon {
    margin-left: auto;
}

/****** Cadre grisé ***/
.frame-grey {
    background-color: #ced4da;
    color: #3b3b3c;
    padding: 1rem;
}

/*** label ***/
.label {
    display: inline;
    padding: .2em .6em .3em;
    font-weight: 700;
    line-height: 1;
    color: #fff;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: .25em;
}

.label-info {
    background-color: #5bc0de;
}

.label-success {
    background-color: #5cb85c;
}

.shwpd {
    margin-top: -25px;
}

.remove-submit {
    padding-left: 1rem!important;
    position: relative;
    z-index: 2;
    display: block;
    margin-top: -30px;
    color: transparent!important;
}

.remove-submit:hover {
    color: transparent!important;
}

.remove-submit::before {
    color:#0a001f!important;
    content:'X';
}

.feed-icon {
    padding-bottom: 1rem;
}

.ui-dialog-titlebar-close::before {
  content: "\00d7"; /* This will render the 'X' */
}

/******** Formations **************/
#formation_annulee, .warning {
    font-size:large!important;
    color: red;
}

#formation_annulee {
    text-align:right;
}

#nb_places, .text_right {
    text-align:right;
}

.table_without_style {
    border: none;
    background: transparent;
    padding: 0px 0px;
    color: unset;
}


/***** Custom display for search block *****/
.search_block {
    display: block !important;
    text-align: right;
    padding-top: 15px;
    font-size: small;
}

.inline_block {
    display: inline-block;
    padding-top: 10px;
}

.small_font_size {
    font-size: small;
}

.source_site{
    font-size: small;
    padding-right: 35px;
    display: inline-block;
}

.form-item-source-site, .form-item-source-catalogue {
    margin-top: 0px;
    padding-left: 0.5rem;
}

.offset_right {
    margin-left: 1.0rem;
    text-align: left !important;
}

/**** onglets ****/
.tab_portal {
    overflow: hidden;
    border: 1px solid #ccc;
    background-color: #f1f1f1;
}

/* Style the buttons that are used to open the tab content */ 
.tab_portal button { 
    background-color: #ddd; 
    font-size: 18px; 
    float: left; 
    border: none; 
    outline: none; 
    cursor: pointer; 
    padding: 14px 40px; 
    transition: 0.3s; 
    width: 50%; 
    font-weight: bold;
} 

/* Change background color of buttons on hover */ 
.tab_portal button:hover { 
    background-color: #ccc; 
} 

/* Create an active/current tablink class */ 
.tab_portal button.active { 
    background-color: #f1f1f1; 
} 

/* Style the tab content */ 
.tabcontent_portal { 
    display: none; 
    padding: 6px 12px; 
    border: 1px solid #ddd; 
    border-top: none; 
    width:100%; 
    background-color: #f1f1f1; 
}

ul.no-style {
    padding:0;
    margin:0;
    list-style: none;
}

.no-button, button.no-style {
    border: none;
    margin: 0;
    padding: 0;
    width: auto;
    overflow: visible;
    background: transparent;
    /* inherit font & color from ancestor */
    color: inherit;
    font: inherit;
    /* Normalize `line-height`. Cannot be changed from `normal` in Firefox 4+. */
    line-height: normal;
    /* Corrects font smoothing for webkit */
    -webkit-font-smoothing: inherit;
    -moz-osx-font-smoothing: inherit;
    /* Corrects inability to style clickable `input` types in iOS */
    -webkit-appearance: none;
}