@import url('https://fonts.googleapis.com/css2?family=Barlow:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

body  {
font-family: Barlow, sans-serif;
font-weight: 400;
font-size: 17px;
}
h1, h2, h3, h4 {
font-family: Barlow, sans-serif;
font-weight: 700;
}
a.nav-link {
font-weight: 600;
}
main a {
color: #BE3F09;
text-decoration: underline;
}

.btn-primary-orange {
    background: #be3f09;
    border: 1px solid #be3f09;
}

.row {
margin: 0;
}

#ssheader-submit a {
padding: 20px 18px 19px 18px;
}
.hal-main-search-button {
top: 15px;
}
.hal-main-search-input {
height: 48px;
}
.hal-main-advsearch-button {
top: -34px;
}
.btn-primary-orange {
margin-right: 0;
}

#searchHeaderList {
max-height: 45px;
margin: 0 0 0 calc(45% - 400px);
}

#solrSearchHeader textarea {
color: #000;
}

/****** En-tête ******/
.site-header {
/* image de fond de l'en-tete du site
     - soit vous pouvez utiliser l'une des images proposées /img/ng/header/X.white.png (X allant de 01 à 10) à utilisé sur un fond coloré
     - soit vous pouvez utiliser l'une des images proposées /img/ng/header/X.rvb.png (X allant de 01 à 10) à utilisé sur un fond blanc
     - soit vous pouvez déposer votre propre image et utiliser son url (commençant par /public/XXX)
     */
background-image: url(/public/bg.jpg);
/* couleur de fond de l'en-tete du site */
background-color: #337AB7;
}
.site-header {
min-height: 180px;
}
.site-header .section-corps {
padding: 1.5rem 2.5rem;
}
.site-header .title {
/* couleur du titre du site */
color: #ffffff;
}

/****** Navigation ******/
.website-navigation {
/* Couleur de fond de la navigation*/
background: #fff;
}

.website-navigation .nav-pills .nav-item > .nav-link {
/*couleur du texte des menus de 1er niveau */
color: #494949;
text-transform: uppercase;
}

.website-navigation .nav-pills .nav-item > .nav-link.active {
/*couleur du fond du menu actif de 1er niveau*/
background: #ffffff;
/*couleur du texte du menu actif de 1er niveau*/
color: #BE3F09;
}

.website-navigation .nav-pills .nav-link:hover, .website-navigation .nav-pills .show > .nav-link  {
/*couleur du fond des menus de 1er niveau survolés */
background: #ff4600;
/*couleur du texte des menus de 1er niveau survolés */
color: #ffffff;
}

.website-navigation .nav-pills .dropdown-menu {
/*couleur du fond des sous-menus */
background: #ffff;
/*couleur du texte des sous-menus */
color: #00005c;
}
.website-navigation .nav-pills .dropdown-item:focus, .website-navigation .nav-pills .dropdown-item:active{
/*couleur du fond du sous-menu actif */
background: #E9EDF0;
/*couleur du texte du sous-menu actif */
color: #00005c;
font-weight: bold;
}

.website-navigation .nav-pills .dropdown-item:hover {
/*couleur du fond du sous-menu survolé*/
background: #E9EDF0;
/*couleur du texte du sous-menu survolé*/
color: #00005c;
}

.website-navigation .nav-pills .nav-link:hover, .website-navigation .nav-pills .show > .nav-link {
    background: none;
    color: #BE3F09;
}

/****** contenu des pages personnalisables ******/

main {
background-color: #e9edf0;
padding-top: 15px;
}
.section-corps {
margin: 0 6%;
}

#content > div:not(.row) {
padding: 0 15px;
}

.custom-page {
/*  Les pages personnalisables sont contenues dans une balise ayant comme classe CSS custom-page
     Il est recommandé de bien indiquer cette classe si vous souhaitez définir des regles spécifiques, pour éviter les effets de bord sur les autres pages générées automatiquement
     */
}

/* Exemples permettant d'accéder aux widgets des pages personnalisables*/
.custom-page .widget {
box-shadow: 0px 3px 15px #00000029;
margin-bottom: 25px;
background-color: #fff;
}
.custom-page .widget h3 {
font-size: 3rem;
color: #00005c!important;
padding: 15px;
}
.section-widget .widget .widget-header, .section-corps .widget .widget-header {
height: auto;
}
.custom-page .widget .widget-content {
padding: 20px 0 10px 0;
}


/******widget depots******/

.list-deposit {
    padding: 10px 25px;
}
.list-deposit .media  {
column-gap: 10px;
padding-top: 10px;
margin-top: 0;
}
.list-deposit .media img  {
max-width: 60px;
}
.list-deposit .media-body  {
    padding-right: 10px;
}
.list-deposit .media-body a {
    word-break: break-word;
}

.list-deposit .media:last-child {
border-bottom: none;
}

/****** widget references ******/

.label.label-contrast {
    color: #BE3F09;
}

/****** widget contact ******/

.widget-content ul {
list-style-type: none;
padding-left: 20px;
}
.widget-content ul > li > a {
    margin-bottom: 10px;
    display: flex;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    align-items: center;
}
.widget-content ul li a[href^="mailto"]:before {
    content: url(/public/enveloppe.svg);
    width: 18px;
    height: 20px;
    display: block;
    margin-right: 10px;
}
.widget-content ul li > a[href^="https"]:before {
    content: url(/public/lien_ext.svg);
    width: 14px;
    height: 18px;
    display: block;
    margin-right: 14px;
}

/****** widget actus ******/

#bloc-actus .widget {
background: none;
box-shadow: none;
}

#bloc-actus .widget-feeds.accordion {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}
#bloc-actus .accordion>.card {
 flex: 0 0 100%;
box-shadow: 0px 3px 15px #00000029;
}
#bloc-actus .widget-header {
    background: none;
    color: #000;
    text-transform: uppercase;
    font-weight: 900;
}
#bloc-actus h3 {
    font-size: 1.3rem;
    color: #BE3F09!important;
    padding: 0;
    line-height: 1.1em;
}
#bloc-actus .card-body p:nth-child(2) {
display: none;
}

.widget-feeds .dateFeed {
    font-weight: 600;
    font-size: 14px;
    display: block;
    margin-top: 10px;
    color: #898989;
}
#bloc-actus .card-header span[class^=icon-] {
    display: block;
    float: right;
}
.widget-feeds .feed.item .card-header button {
    padding: 10px 0;
}
#bloc-actus .card-header button[aria-expanded="false"] .icon-drop_down::before {
    content: "\0002B";
}
#bloc-actus .card-header button[aria-expanded="true"] .icon-drop_down::before {
    content: "\0002D";
}
#bloc-actus .card-header span[class^=icon-] {
    font-size: 1.5rem;
    line-height: 0.5;
    font-weight: 600;
}


/****** footer ******/

.footer-logos {
border-bottom: 1px solid #fff;
justify-content: center;
align-items: center;
gap: 60px;
}

footer {
padding-top: 0;
margin-top: 0;
}

footer > .row:not(.footer-logos) {
    padding-top: 2rem;
}

/****** responsive mobile ******/

@media (max-width: 767px) {
.site-header {
max-height: 220px;
}
#bloc-actus .widget-feeds.accordion {
    flex-direction: column;
}
#bloc-actus .accordion>.card {
   flex: 0 0 100%;
}
}

@media (min-width: 768px) {
.site-header {
max-height: 180px;
}
#bloc-actus .accordion>.card {
    flex: 1 0 0;
}
}

@media (max-width: 992px) {
#second-navbar {
width: 100%;
}
#searchHeaderList {
width: 90%;
margin: 0;
}
.hal-main-advsearch-button {
left: 90%;
}

.hal-main-search-input {
padding: 0 30px;
}

.sub-header .d-table {
display: block!important;
width: 100%;
text-align: center;
margin-bottom: 20px;
padding: 0;
}
#ssheader-submit a {
padding: 15px 18px;
}
.sub-header .d-table {
margin: 20px 0 10px 0;
}

.form-btn-add span {
display: none;
}
.input-group span.input-group-btn {
width: 35px;
}
div.form-group.row .btn-primary.btn-sm, div.form-group.row .btn-group-sm > .btn-primary.btn {
margin-left: 1px;
}
#submit-element {
position: relative;
right: 0;
bottom: 0;
text-align: center;
}
#searchHeaderList #advSearchHeader .mt-3 button, #searchHeaderList #solrSearchHeader .mt-3 button {
position: relative;
bottom: 0;
}

.site-header {
background-position: 6% top;
}
.site-header tr {
display: flex;
flex-direction: column;
align-items: center;
}
.site-header td[align="left"] img{
height: 130px;
}

#searchHeaderList #advSearchHeader, #searchHeaderList #solrSearchHeader {
padding: 20px;
}

.website-navigation {
height: auto;
}

.section-corps {
margin: auto;
}
.section-corps img {
width: 100%;
}

#mapcontainer .ui.grid [class*="four wide"].column {
width: 100%!important;
text-align: center;
}

.row.footer-logos {
flex-direction: column;
}
}

