/**
 * @file
 * Subtheme specific CSS for MOM.
 */
 
 /* ---------- Global ----------- */
 .two-cols{columns:2;}
 
/* ---------- Region Header ----------- */
.site-name{color: #827069;}

.fr-mom {display:flex}
/* .fr-mom .slider-img.mom{width: calc(100% - 400px);display:inline-block;vertical-align:middle} */
.fr-mom .slider-caption{float: none;width:300px;}
.fr-mom #footerSlide{width:90px;height:100%;background-color: #404040;position: relative;z-index:2}
#footerSlide .nav {height:100%;flex-direction: column;justify-content: space-evenly;font-size:.8rem}
#footerSlide .nav-link{color: #fe8900;padding:0;margin-left:8px;}
.activ .fix {float:left;margin-left: -10px;width: 0;height: 0;border-top: 10px solid transparent;border-bottom: 10px solid transparent;border-right: 10px solid #fe8700;}

#navbar-main ul.navbar-nav > li.nav-item.active {background: url(../img/menu_hover_active.png) repeat-x bottom left;}
#navbar-main ul.navbar-nav>li.nav-item {font-size:1rem;}
/* #navbar-main ul.navbar-nav>li.nav-item {margin-left:.2vw; margin-right:.2vw} /*vw = Viewport Width: This measurement is based on the width of the viewport. A value of 1vw equals 1% of the viewport width.*/
/* #navbar-main ul.navbar-nav>li>a, #navbar-main ul.navbar-nav .nav-link {text-transform: none} */
/* ---------- Main content ----------- */ 
.sidebar .nav-item a{color:#e2702c !important;}
#sidebar_second .nav .menu-item--expanded > a{pointer-events: auto;/*override mom.css selector */cursor: pointer;}

.sidebar ul li{background-image: url("../img/cursor-fill.svg");background-repeat: no-repeat;background-position-y:.2rem;}
.sidebar ul li a:hover{display:block;background: rgba(90, 90, 90, 0.05);}
.sidebar ul li.menu-item--expanded{background-image: url("../img/caret-down-fill.svg");}
.sidebar ul li.menu-item--expanded ul {padding-left:0}

.bg-color-light .v-line:not(:last-child){border-right: 1px solid;border-image: linear-gradient(to bottom, #ffffff, #b6aca7, #827069 , #b6aca7, #ffffff ) 1;}
.svg-filter{filter: invert(51%) sepia(14%) saturate(433%) hue-rotate(331deg) brightness(84%) contrast(85%);}
.bg-color-light .row-hr:not(:last-child){border-image: linear-gradient(to right, #ffffff,#e2702c ,#ffffff ) 1;}
.bg-color-dark{background-color:#2a2a2a ;color:#ffffff;}
.bg-color-dark .row-hr:not(:last-child){border-image: linear-gradient(to right, #827069, #ffffff, #827069) 1;}
.bg-color-dark .v-line:not(:last-child){border-right: 1px solid;border-image: linear-gradient(to bottom, #333333 , #666666, #999999, #666666, #333333  )  1;}

main#content h3 {color: #237D91 !important}
main#content .views-element-container{padding:0}
main#content div[id^=block-views-block-axes-strategiques-block] .content {padding: 0 3rem}
.bg-color-light .views-element-container h2, .bg-color-light .block-block-content > h2{color:#3A3939;border-bottom:1px solid #d3d7d9;margin-bottom:2rem}
.bg-color-dark .views-element-container h2, .bg-color-dark .block-block-content > h2{border-bottom:1px solid #454545;margin-bottom:2rem}
.row-hr:last-child {margin-bottom:2rem;padding-bottom:1rem;border-bottom: 1px solid;}
.bg-color-light main#content div[id^=block-views-block-axes-strategiques-block] .content .row-hr:last-child,
.bg-color-light main#content #block-views-block-actualites-de-mom-edition-block-2 .content .row-hr:last-child{border-image: linear-gradient(to right, #ffffff,#e2702c ,#ffffff ) 1}
/* #block-formations{font-size:1.5rem;font-weight:bold;margin-bottom:2rem;border-bottom:2px solid;border-image:linear-gradient(to right, #ffb0b7,#827069,#ffb0b7 ) 1;} */
.bg-color-dark .publication-title a, .bg-color-dark .formations-title a{color: #fe8900;}
.bg-color-dark a:hover,.bg-color-dark a:focus,.bg-color-dark .link:hover,.bg-color-dark .link:focus { color: #fe8900;}

.view-accueil-mom-editions img, .view-bibliotheque-acquisitions img{max-width : 80%}
.view-services-de-la-mom img{width: 100%;max-width :100%}
/* .view-services-de-la-mom .card{width:95%;} */
.bg-color-dark .view-services-de-la-mom .card{box-shadow: 2px 2px 5px 1px rgba(224, 224, 224, 0.8);}
.bg-color-light .view-services-de-la-mom .card{box-shadow: 2px 2px 5px 1px rgba(32, 32, 32, 0.35);}
.view-services-de-la-mom .views-field-field-titre, .view-services-de-la-mom .views-field-field-url, .view-services-de-la-mom .views-field-body{padding-left:1rem;margin-bottom:0;padding-top:.5rem;color:#3a3939}
.view-services-de-la-mom .views-field-field-image{border-bottom:solid 1px #dee2e6}

.view-accueil-mom-editions a, .view-bibliotheque-acquisitions a, .white-link a{color: #ffffff}
.view-accueil-mom-editions .views-field, .view-bibliotheque-acquisitions .views-field{font-size: 1.2rem;}
.view-accueil-mom-editions .views-field-title, .view-bibliotheque-acquisitions .views-field-title{margin-top:.5rem;font-weight: 500}

table.discipline td{padding:.5rem}
table.discipline td span.d-block{padding:.5rem 0 }
table.fonds th{text-align:center; color:#000; border-color:#0d0101}
table.fonds td{color:#333; border-color:#0d0101}


.bib-fermeture{background-color:#ff0000; color:#ffffff;}
.bib-accueil{border: thick double #666;background-color:#ffff99}
.bib-discipline{padding:.15rem .35rem;border:solid #666 1px}
.bib-txt, table.fonds.txt thead tr th{color:#ffffff;background-color:#006699}
.bib-acl, table.fonds.acl thead tr th{color:#ffffff;background-color:#ff0000}
.bib-aoc, table.fonds.aoc thead tr th{color:#ffffff;background-color:#ff6600}
.bib-hcl, table.fonds.hcl thead tr th{background-color:#67c7f1}
.bib-phg, table.fonds.phg thead tr th{background-color:#d3d3d3}
.bib-ref, .bib-p, .bib-rap{background-color:#ffffff}
table.fonds.ref thead tr th, table.fonds.p thead tr th, table.fonds.rap thead tr th{color:#ffffff;}
.bib-aor, table.fonds.aor thead tr th{color:#ffffff;background-color:#e6007c}
.bib-egy, table.fonds.egy thead tr th{background-color:#ffff00}
.bib-bab, table.fonds.bab thead tr th{background-color:#079e57}

.bib-border {border-style: double;border-width: 5px;border-radius: 1rem;padding:0.75rem}
.bib-border-txt, table.fonds.txt td, table.fonds.txt th{border-color:#006699}
.bib-border-acl, table.fonds.acl td, table.fonds.acl th{border-color:#ff0000}
.bib-border-aoc, table.fonds.aoc td, table.fonds.aoc th{border-color:#ff6600}
.bib-border-hcl, table.fonds.hcl td, table.fonds.hcl th{border-color:#67c7f1}
.bib-border-phg, table.fonds.phg td, table.fonds.phg th{border-color:#d3d3d3}
.bib-border-ref, .bib-border-p, .bib-border-rap{border-color:#0d0101}
.bib-border-aor, table.fonds.aor td, table.fonds.aor th{border-color:#e6007c}
.bib-border-egy, table.fonds.egy td, table.fonds.egy th{border-color:#ffff00}
.bib-border-bab, table.fonds.bab td, table.fonds.bab th{border-color:#079e57}

table.fonds ul {list-style: none;}
table.fonds ul li{margin-bottom:.5rem}
table.fonds ul li::before {content: "\2022";font-weight: bold;display: inline-block;width: 1em;margin-left: -1em;}
table.fonds.txt ul li::before {color:#006699}
table.fonds.acl ul li::before {color:#ff0000}
table.fonds.aoc ul li::before {color:#ff6600}
table.fonds.hcl ul li::before {color:#67c7f1}
table.fonds.phg ul li::before {color:#d3d3d3}
table.fonds.aor ul li::before {color:#e6007c}
table.fonds.egy ul li::before {color:#ffff00}
table.fonds.bab ul li::before {color:#079e57}
table.fonds.ref ul li::before, table.fonds.p ul li::before, table.fonds.rap ul li::before {color:#000000}

/* MOM Edition */
.publication-mom-couverture{width:100%;max-width:300px}
.field--name-field-contributeurs .field__item{display:inline-block}
.field--name-field-contributeurs .field__item:not(:last-child):after {content: " - ";}
.node--type-publication-de-la-mom .field--type-entity-reference { margin-bottom: 0;}
.node--type-publication-de-la-mom .field--name-field-titre-collection, 
.node--type-publication-de-la-mom .field--name-field-numero-collection-mom,
.node--type-publication-de-la-mom .field--name-field-mots-clefs .field__items{display:inline-block !important}
.node--type-publication-de-la-mom .accordion-button{color: #e2702c;}
.field--name-field-mots-clefs .field__item:not(:last-child):after {content: ", ";}
.field--name-field-prix-ttc .field__item:after {content: " €";}
.node--type-publication-de-la-mom .sidebar .block, .page-view-mom-editions .sidebar .block{padding-bottom:0;margin-bottom:0;}
.view-mom-editions .views-field-field-titre-collection{margin-right:.25rem;}

#content4 .view-content div[class^="views-field views-field-field-image"] {float:left;}
#content4 #block-views-block-accueil-on-en-parle-block-1 h2{margin-bottom:1rem}
#content4 #block-views-block-accueil-on-en-parle-block-2{margin-top:3rem}

#content5 .views-element-container {padding: 0 2rem;}
#content5 .views-element-container > h2{font-size:1.20rem;color:#e2702c ;margin-bottom:1.5rem;}
#content5 .views-element-container .views-field-title a {font-weight:bold;font-size:1rem;}

#views-exposed-form-page-annuaire-du-personnel-page-1 .row .js-form-type-select{width:50%}
.view-mom-editions .views-field {margin-bottom: 0;}
.view-mom-editions .views-field.views-field-title {font-size: 1.2rem;font-weight: bold;margin-bottom:.5rem}
.view-mom-editions .views-field.views-field-field-sous-titre {font-weight: bold;}
.view-mom-editions .view-filters form.views-exposed-form div.form-actions {display: block;text-align: center}

---------- Archives ----------- 
form.views-exposed-form fieldset {
    display: none;
}

/* ---------- Map ----------- */ 
.blue-marker{color:#277fca} 
.gold-marker{color:#edb700}
.green-marker{color:#22ac1e}
.orange-marker{color:#ca8326}
.red-marker{color:#c81e2e}
.violet-marker{color:#9823c9}
.yelow-marker{color:#cac424}


/* ---------- Archives ----------- */ 
/* form.views-exposed-form #edit-field-date-activite-value-wrapper, */
/* form.views-exposed-form #edit-field-date-publication-value-wrapper{display:none} */


/* ---------- Agenda ----------- */ 
.cat-text{text-transform: uppercase;color:#e2702c ;font-size:.75rem;font-weight:bold;}
.page-view-agenda #view-filters{display:none}


/* ---------- Annuaire ----------- */ 
.btn-link.order{font-weight: bold;color:#fff;text-decoration: none;padding-bottom:0}
.btn-link.order:hover {text-decoration: underline;}
#form-annuaire-mom .form-type-select{width:50%}


/* ---------- Pagination ----------- */
.paginationjs.paginationjs-theme-custom .paginationjs-go-input > input[type="text"], .paginationjs.paginationjs-theme-custom .paginationjs-pages li {border-color: #dee2e6;}
.paginationjs.paginationjs-theme-custom .paginationjs-pages li.active>a {background: #e2702c ;color: #fff;border-color: #e2702c ;}
.paginationjs.paginationjs-theme-custom  .paginationjs-pages li > a{color: #e2702c ;}
.paginationjs.paginationjs-theme-custom .paginationjs-pages li:last-child {	border-right: 1px solid #dee2e6;}

---------- Foot Top -----------
#footer-top h3, #footer-top li {padding:0.5rem;border-bottom: 1px solid;border-image: linear-gradient(to right, #cbd1e8, #965555, #cbd1e8, #e2702c  ) 1;}
.region-footer-top > div:nth-last-child(n+2) {border-right: 1px solid;border-image: linear-gradient(to bottom, #333333 , #666666, #999999, #666666, #333333  ) 1;}
#block-coordonneesfooter h3{color:#ffffff;}
.view-galerie-footer img{max-width:90%;height: auto;border: 1px solid black;}

.views-row.article:not(:last-child){margin-bottom:1rem; border-bottom: 2px solid;border-image: linear-gradient(to right, #e2702c , #cbd1e8, #999999, #cbd1e8, #e2702c  ) 1;}
.region-footer-top {padding:2rem;}
.region-footer-top #partenaire ul{padding-left:0}
footer.site-footer{background:#191919;margin-bottom:-1rem}
footer.site-footer .site-footer__bottom{border-color:rgba(255, 255, 255, 0)}
footer.site-footer .site-footer__bottom .region{padding-bottom:5px}

/*  Medium devices (tablets, less than 992px)  */
@media (max-width: 991.98px) {
  #partenaireUp{display:block}
  #partenaireDown{display:block}
  .fr-mom .slider-caption{width:270px;}
  
  /* .view-accueil-mom-editions img, .view-bibliotheque-acquisitions img{max-width : 90%} */
  /* .view-services-de-la-mom img{width: 95%;max-width : 95%} */
  /* .one-book:not(:last-child) {margin-bottom:1rem; border-bottom: 2px solid;border-image: linear-gradient(to right, #e2702c , #cbd1e8, #999999, #cbd1e8, #e2702c  ) 1;} */
}
/*  `md` applies to small devices (landscape phones, less than 768px)  */
@media (max-width: 767.98px) {
  #footerSlide{display:none}
}
