/*
  Encodage de la feuille de styles
*/

@charset "UTF-8";

/*
  Couleur de sélection du texte
*/

::-moz-selection {
    background-color: #337AB7;
    color: #FFFFFF;
}

::selection {
    background-color: #337AB7;
    color: #FFFFFF;
}

/*
  Images
*/

.site-header img,
.custom-page img {
    max-width: 100%;
}

/*
  En-tête du site
*/

.site-header {
    height: 300px;
    min-height: 300px;
    background-image: url(/https/media.hal.science/public/medihal.bg.png);
    background-color: #FFFFFF;
    background-repeat: no-repeat;
    background-size: cover;
}

.site-header .section-corps,
.site-header table {
    height: 100%;
}

.site-header img {
    max-height: 200px;
}

@media (min-width: 1300px) {
    .site-header {
        background-position: center left;
    }
}

@media (max-width: 1299px) {
    .site-header {
        background-position: center center;
    }
}

/*
  Menu de navigation
*/

.website-navigation {
    /* Couleur de fond du menu */
    background-color: #00005C;
}

.website-navigation .nav-pills .nav-link {
    /* Graisse du texte : normal ou bold */
    font-weight: 400;
    /* Couleur du texte */
    color: #FFFFFF;
}

.website-navigation .nav-pills .nav-link.active,
.website-navigation .nav-pills .show > .nav-link {
    /* Couleur de fond des éléments actifs de premier niveau */
    background-color: #FFFFFF;
    /* Couleur du texte des éléments actifs de premier niveau */
    color: #00005C;
}

.website-navigation .nav-pills .show > .nav-link {
    /* Couleur de fond des éléments actifs de premier niveau renvoyant aux sous-menus */
    color: #00005C;
}

.website-navigation .dropdown-menu {
    /* Coins arrondis des sous-menus */
    border-radius: 0;
}

.website-navigation .dropdown-menu[x-placement="top-start"] {
    /* Position des sous-menus */
    top: -8px !important;
}

.website-navigation .dropdown-menu[x-placement="bottom-start"] {
    /* Position des sous-menus */
    top: 8px !important;
}

.website-navigation .dropdown-menu a,
.website-navigation .dropdown-menu button {
    /* Couleur du texte des éléments des sous-menus */
    color: #00005C;
    /* Transition */
    transition: .2s background ease-in-out;
}

.website-navigation .dropdown-menu li.nav-item:hover a,
.website-navigation .dropdown-menu li.nav-item:hover a:focus,
.website-navigation .dropdown-menu li.nav-item:hover a.active {
    /* Couleur de fond des éléments actifs des sous-menus */
    background-color: #FAFAFA;
    /* Couleur du texte des éléments actifs des sous-menus */
    color: #00005C !important;
}

ul.dropdown-menu li:not(.not-white):hover {
    background-color: transparent !important;
}

/*
  Contenu des pages
*/

/* Titres */

.custom-page h1,
.custom-page h2,
.custom-page h3,
.custom-page h4,
.custom-page h5,
.custom-page h6 {
    color: #FF4600;
}

/* Liens */

.custom-page a {
    color: #00005C;
}

.custom-page a:hover,
.custom-page a:focus,
.custom-page a:active {
    color: #000040;
}

/* Widgets */

.custom-page .widget {
    box-shadow: 0px 3px 15px #00000029;
    margin-bottom: 25px;
}

.custom-page .widget:last-child {
  margin-bottom: 0;
}

.custom-page .widget-header {
    font-size: 1rem;
    text-transform: none;
    color: #00005C;
}

.custom-page .widget-content {
    padding: 1rem 0;
}

.custom-page .widget .widget-content .label {
    color: #FF4600;
}

.custom-page .widget .feed .card-header .title {
    font-size: 1.2rem;
}