hr {
  overflow:hidden;
}

/* eu-cookie-compliance */
.popup-content {
    padding: 22px 0;
    font-size: 14px;
    font-size: 0.875rem;
    line-height: 19.17808px;
}
.popup-content.eu-cookie-compliance-content #popup-text {
    margin-top: 0;
}
.popup-content.eu-cookie-compliance-content #popup-text > p {
    font-weight: 400;
    font-size: 14px;
    font-size: 0.875rem;
    line-height: 19.17808px;
}
.popup-content.eu-cookie-compliance-content #popup-buttons {
    margin: 0;
}
.popup-content.eu-cookie-compliance-content button {
    margin-top: 5px;
}
.popup-content.eu-cookie-compliance-content button.find-more-button {
    font-weight: 600;
}
.popup-content.eu-cookie-compliance-content button.agree-button {
    background-color: #337ab7;
    border-color: #337ab7;
    color: #fff;
    background-image: none !important;
    -webkit-box-shadow: none;
    box-shadow: none;
    text-shadow: none;
    font-weight: 400;
    border-radius: 0;
}
.popup-content.eu-cookie-compliance-content button.agree-button:hover {
    border-color: #085a8e;
    color: #fff;
    background-color: #085a8e;
}
.popup-content.eu-cookie-compliance-content button.agree-button:focus,
.popup-content.eu-cookie-compliance-content button.agree-button:not(.disabled).active {
    border-color: #6da6cb !important;
    color: #fff !important;
    background-color: #6da6cb !important;
}
.popup-content.eu-cookie-compliance-content button.decline-button {
    display: none !important;
}


.sliding-popup-bottom,
.sliding-popup-top {
    text-align: center !important;
}

/*---------Impressum-----------*/
.impressum-info {
  border-left: 6px solid #CCC;
  margin: 1.5em 2em 2.5em;
  padding: 15px 20px 1px;
  background: #FAFAFA;
  clear: both;
}
.impressum-info .field__label {
  padding-left: 0px;
  margin-top: 15px;
}
.edu_ge_header {
  display: flex;
  background-color: #eceaea;
  padding: 1px 5px;
  font-size: 12px;
  box-shadow: 0px 8px 40px 0px rgba(0,0,0,0.2);;
  }
/*---------BODY-----------*/
blockquote {
  border-left: 6px solid #CEDDE9;
  margin: 1.5em 2em 2.5em;
  padding: 15px 20px 1px;
  background: #FAFAFA;
  clear: both;
  border-top: solid thin #ccc;
  border-bottom: solid thin #ccc;
  border-right: solid thin #ccc;
}
/*-----signature ressource------*/
.field--name-field-contact-de-reference {
  border-top: 1px solid #CCC;
  margin-top: 20px;
  padding-top:10px;
  display: grid;
}
/*-----signature ressource------*/
h1 {
  color: #2B73B1;
}

h2 {
  color: #959595;
}

h3 {
  margin-top: 15px;
  margin-bottom: 15px;
  border-bottom: solid thin #cedde9;
}
h4 a {
  color: #353431;
  text-decoration: none;
}

h4.teaser-title {
  font-size: 1.5em;
}

a {
  text-decoration: none;
}
main {
  background-color:white;
  padding-bottom:15px;
}

#block-views-block-actualites-accueil-block-1-2 h2 {
  font-size: 2em;
  color: #2B73B1;
  border-bottom: solid thin;
  font-weight:300;
}

.region-content ul, .region-content ol {
    padding: 1em 1em 0.8em 2.5em;
    margin: 1em 0 2em;
    background: #FAFAFA;
    line-height: 1.4em;
    display: flex;
    flex-direction: column;
}

ul.nav-tabs {
  padding-bottom: 0;
}


/*---------TABLE-----------*/
.contextual-region table tr:nth-child(2n) {
  background: #cedde9;
}
.contextual-region table {
  width: 100%;
}
.contextual-region table td {
  padding: 8px;
}
/*---------FIN TABLE-----------*/


.pagination.js-pager__items {   
    flex-direction: inherit;
    background: none;
}

/*---------RECHERCHE PRESTA HOME-----------*/

#edit-field-publics-target-id--wrapper {
  float: none;
  border: none;
}

#edit-field-publics-target-id--wrapper .fieldset-wrapper {
  padding: 0px;
}
.fieldset-wrapper .form-radios .form-radios {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
}
fieldset[data-drupal-selector="edit-field-thematique-target-id"] {
  list-style-type: none;
  margin: 25px 0 0 0;
  padding: 0;
	
}
.view-frontpage legend {
 	border-bottom:none!important;
 	background:none!important;;
}
.view-frontpage legend h2 {
 	color:white;
}

fieldset[data-drupal-selector="edit-field-thematique-target-id"] label {
	padding: 5px;
	margin: auto;
	min-height:40px;
  	cursor: pointer;
  	z-index: 90;
    border: none;
    background-color: #2b73b1;
    font-weight: normal;
    display: block;
    text-align: center;
    color: white;
    border-radius: 4px;
}
fieldset[data-drupal-selector="edit-field-thematique-target-id"] input[type="radio"] {
  display:none;
}
.form-item-field-thematique-target-id:first-child {
  order: 10;
}

fieldset[data-drupal-selector="edit-field-thematique-target-id"] input[type="radio"]:checked+label,
.Checked+label {
  background: #BADCF7;
  color:black;
}

fieldset[data-drupal-selector="edit-field-thematique-target-id"] label:hover {
  background: #DDD;
  color:black;
}
.form--inline .form-item {
  flex: 25%;
}
.form-item-field-thematique-target-id:last-child {
  display: none;
}

.bef-exposed-form .form--inline > .form-item {
  float: none;
  background: none;
  border: none;
  margin: 0.4em;
}
.bef-exposed-form .form-composite > legend {
  padding: 0.5rem 1rem;
}

/*---------NAV-----------*/
.navbar-brand a.site-title {
   color: #2B73B1;
   text-transform: none;
   font-weight: normal;
   font-size: 1.57em;
}

.navbar-light .navbar-toggler {
  border:none;
}

.navbar-nav {
  font-weight: bold;
  font-size: 0.83em;
}

a.nav-item.nav-link.active.is-active {
    color: #2B73B1;
    font-weight: bold;
}

a.nav-item.nav-link.active {
  color: #2b73b1 !important;
}

a[data-drupal-link-system-path="recherche"] {
  visibility: visible!important;
  background-image: url(images/nav-icon-recherche.svg);
  background-repeat: no-repeat;
  background-position: center top;
  background-size: 20px;
  padding-top: 20px;
  text-align: center;

}
.navbar-nav a[data-drupal-link-system-path="node/286"] {
  visibility: visible!important;
  background-image: url(images/nav-icon-a-propos.svg);
  background-repeat: no-repeat;
  background-position: center top;
  background-size: 20px;
  padding-top: 20px;
  text-align: center;

}
.navbar-nav a[data-drupal-link-system-path="node/3349"], 
.navbar-nav a[data-drupal-link-system-path="node/3414"],
.navbar-nav a[data-drupal-link-system-path="contact"] {
  visibility: visible!important;
  background-image: url(images/nav-icon-contact.svg);
  background-repeat: no-repeat;
  background-position: center top;
  background-size: 15px;
  padding-top: 20px;
  text-align: center;

}
a[data-drupal-link-system-path="actualites"] {
  visibility: visible!important;
  background-image: url(images/nav-icon-actu.svg);
  background-repeat: no-repeat;
  background-position: center top;
  background-size: 25px;
  padding-top: 20px;
  text-align: center;
}
a[data-drupal-link-system-path="expertise"] {
  visibility: visible!important;
  background-image: url(images/nav-icon-expertise.svg);
  background-position: center top;
  background-repeat: no-repeat;
  background-size: 20px;
  padding-top: 20px;
  text-align: center;

}
.region.region-nav-eel {
	
}

.btn-eel a {
  color: #737373;
  background-image: url(images/nav-icon-eel-fond-vert.svg);
  background-position: center 0px;
  background-repeat: no-repeat;
  background-size: 20px;
  padding-bottom: 15px;
  text-align: center;
  font-weight: bold;
  line-height: 2px;
  padding-top: 29px;
  margin-right: 19px;
  height: 47px;
  font-size: 0.67em;
  display: block;
}
.btn-eel a:hover {
  color: #343a40;
}

@media (max-width: 480px) {
  .btn-eel a {
    margin-right: 0px;
  }
}
@media (min-width: 321px) and (max-width: 767px) {
  .btn-eel a {
    margin-right: 0px;
  }
}
/*a[href="https://eduge.ch"] {
  visibility: visible!important;
  background-image: url(images/nav-icon-eel-fond.svg);
  background-position: center top;
  background-repeat: no-repeat;
  background-size: 20px;
  padding-top: 20px;
  text-align: center;

}*/
a[data-drupal-link-system-path="saml_login"] {
  visibility: visible!important;
  background-image: url(images/nav-icon-connexion.svg);
  background-position: center top;
  background-repeat: no-repeat;
  background-size: 20px;
  padding-top: 20px;
  font-size: 0.83em;
  text-align: center;

}
.user-logged-in a[data-drupal-link-system-path="saml_login"] {
  display: none;
}

a[data-drupal-link-system-path="user/logout"] {
  visibility: visible!important;
  background-image: url(images/nav-icon-deconnexion.svg);
  background-position: center top;
  background-repeat: no-repeat;
  background-size: 20px;
  padding-top: 20px;
  font-size: 0.83em;
  text-align: center;

}
a[data-drupal-link-system-path="user/login"] {
  visibility: visible!important;
  background-image: url(images/nav-icon-connexion.svg);
  background-position: center top;
  background-repeat: no-repeat;
  background-size: 20px;
  padding-top: 20px;
  font-size: 0.83em;
  text-align: center;
  display:none;

}
.navbar.navbar-expand-lg.navbar-light.text-dark {
  background: white;
  box-shadow: 0px 1px 1px #d5d5d5f2;
}
/*---------FIN NAV-----------*/

/*---------breadcrumb-----------*/

.breadcrumb-item:last-of-type {
    font-weight: bold;
    color: #2a72b1;
    
}
.breadcrumb-item + .breadcrumb-item::before {
  float: left;
  padding-right: 0.5rem;
  color: #6c757d;
  content: var(--bs-breadcrumb-divider, ">");
}
.breadcrumb-item a {
    text-decoration: none;
    color: #959595;
}

.breadcrumb {
    margin-bottom: 15px;
	margin-top: 15px;
	font-size: 0.87em;
}
/*---------FIN breadcrumb-----------*/

.node--type-actualites.node--view-mode-teaser,
.node--type-ressources.node--view-mode-teaser {
    margin-bottom: 30px;   
    position: relative;
}

.bg-actu-title {
    position: relative;
    bottom: 5em;
    background-color: rgba(255, 255, 255, 0.9);
    max-width: 85%;
    min-height: 75px;
}
.teaser-title.bg-actu-title a {
  display: block;
  min-height: inherit;
  padding: 10px;
}
.teaser-title.bg-actu-title.shadow a:hover {
  color: #353431;
}
.bg-expertise-title {
    position: relative;
    bottom: 5em;
    background-color: rgba(255, 255, 255, 0.9);
    padding: 10px;
    max-width: 85%;
    min-height: 75px;
}

.form-checkboxes.bef-checkboxes {
  display: flex;
}
.form-checkboxes .bef-checkboxes .js-form-type-checkbox {
	margin-left:10px;
	flex-grow: 4;
}
.more-link {
	margin: auto;
	border: none;
	background-color: #2b73b1;
	font-weight: normal;
	display: block;
	width: 200px;
	text-align: center;
	color: white;
	border-radius: 4px;
	padding-top: 2px;
	padding-bottom: 2px;
  position: relative;
  z-index: 99;
}

.more-link a{
   color: white;
}
.page-title {
  color: #2B73B1;
}
a.mini-teaser-prestation {
  color: #303e56;
}
.mini-teaser-prestation a ,.teaser-mini-Vidéos a {
  text-decoration: none;
  color: #143958;
}
.mini-teaser-prestation:hover, .teaser-mini-Vidéos a:hover {
  background-color: #BADCF7;
}
.mini-teaser-prestation {
  text-align: left;
  padding: 3px 8px 3px 45px;
  font-weight: normal;
  margin-bottom: 10px;
  margin-left: 8px;
  background-color: #CEDDE9;
  border-radius: 5px;
  background-image: url(images/prestation256.png);
  background-size: 35px;
  background-position: 5px 7px;
  background-repeat: no-repeat;
  min-height: 57px;
  display:block;
}

/*---IMAGES----*/

img.image-contenu {
    height: auto;
    width: 40%;
    float: right;
    margin-bottom: 10px;
}

img.image-image_pleine_largeur {
    width: 100%;
    height: auto;
}
.media--view-mode-image-contenu.media--type-remote-video {
    float: none;
    width: 100%;
    margin: 0;
}
.media--view-mode-image-contenu {
    float: right;
    width: 40%;
    margin-left: 10px;
    margin-bottom: 10px;
}

.media--view-mode-image-contenu img {
	width:100%;
	padding: 5px;
	box-shadow: 0px 0px 1px 0.2px;
}

.media--view-mode-illustration-portrait,
.media--view-mode-illustration {
    float: right;
    width: 50%;
    margin-left:10px;
    margin-bottom: 10px;

    /* évite que le <hr> passe dessu */
    z-index: 99;
    position: relative;
}
.media--view-mode-illustration-portrait{
   width: initial;
}
.media--view-mode-illustration img {
	width:100%;
	padding: 5px;
	box-shadow: 0px 0px 1px 0.2px;
}

/*---BTN DANS LE CONTENU-----*/

.content-button-link a {
    border: none;
    background-color: #2b73b1;
    font-weight: normal;
    display: block;
    max-width: 280px;
    text-align: center;
    color: white;
    border-radius: 4px;
    padding-top: 2px;
    padding-bottom: 2px;
}

/*---FIN BTN DANS LE CONTENU-----*/

.view-bloc-ressources-liees a {
  color: grey;
  display: block;
  padding-left: 40px;
  min-height: 48px;
  font-size: 14px;
  line-height: 18px;
  padding-top:5px;
  padding-bottom:5px;
  
}
.view-bloc-ressources-liees a:hover {
 	color: #2a72b1;
	background: #cddbe7;
	padding-left: 8px;
	margin-left: 32px;
}


.txt-footer {
  font-size: 13px;
}
.field.field--name-field-ressources-lies.field--type-entity-reference.field--label-above {
  background-image: url(images/boussole256.png);
  background-size: 25px;
  background-repeat: no-repeat;
}
.field__label {
  font-weight: bold;
  padding-left: 15px;
}

/*---BANNER-----*/
div#block-bannerprestaion {
	background: rgb(235, 232, 232);
}

.banner-application-en-ligne {
    background: rgb(235, 232, 232);
    height: 131px;
    background-image: url(images/actu-blanc.png);
    background-repeat: no-repeat;
}
.text-banner {
    font-size: 3em;
	color: white;
	display: block;
}
.banner-aide .text-banner {
	background-image: url(images/icon-banner-aide.svg);
    background-size: 80px;
    background-repeat: no-repeat;
    background-color: #283a5b;
    padding-left: 116px;

}
.banner-vidéos .text-banner {
    background-image: url(images/icon-banner-video.png);
    background-size: 100px;
    background-repeat: no-repeat;
    background-color: #283a5b;
    padding-left: 116px;
}
.banner-matériel-de-prêt .text-banner  {
    background-image: url(images/icon-banner-pret.png);
    background-size: 100px;
    background-repeat: no-repeat;
	padding-left:116px;
    background-color: #283a5b;
}
.banner-boussole .text-banner {
    background-image: url(images/icon-banner-boussole.png);
    background-size: 100px;
    background-repeat: no-repeat;
    background-color: #283a5b;
    padding-left: 116px;
}
.banner-contact .text-banner {
    background-image: url(images/icon-banner-contact.svg);
    background-size: 60px;
    background-repeat: no-repeat;
	padding-left: 116px;
	background-color: #283a5b;
}

.banner-equipement-standard .text-banner {
    font-size: 3em;
    color: white;
    display: block;
    padding-top: 0;
    background-image: url(images/icon-banner-equipement.svg);
    background-repeat: no-repeat;
    background-size: 100px;
    padding-left: 116px;
    background-color: #283a5b;
    background-position-y: 9px;
}

.banner-bibliographie .text-banner {
    background-image: url(images/icon-banner-bibliographie.png);
	background-size: 80px;
	background-repeat: no-repeat;
	background-color: #283a5b;
	padding-left: 116px;
}

.banner-actualite .text-banner {
	font-size: 3em;
	color: white;
	display: block;
	padding-top: 0px;
	background-image: url(images/icon-banner-actu.png);
	background-repeat: no-repeat;
	background-size: 92px;
	padding-left: 116px;
}
.banner-apropos .text-banner {
    background-image: url(images/icon-banner-a-propos.png);
    background-size: 80px;
    background-repeat: no-repeat;
    background-color: #283a5b;
    padding-left: 116px;
}
.banner-prestation .text-banner {
    background-image: url(images/background-presta.png);
	background-repeat: no-repeat;
	background-size: 92px;
	padding-left: 116px;
}
.banner-référence .text-banner  {
    background: #283a5b;
    background-image: url(images/icon-banner-ref.png);
	background-size: 100px;
	background-repeat: no-repeat;
	padding-left: 116px;
}
.banner-information .text-banner {
    background-image: url(images/icon-banner-info.png);
    background-size: 100px;
    background-repeat: no-repeat;
    background-color: #283a5b;
    padding-left: 116px;
}
.banner-logiciel .text-banner {
    background-image: url(images/icon-banner-logiciel.svg);
    background-size: 100px;
    background-repeat: no-repeat;
    background-color: #283a5b;
    padding-left: 116px;
    background-position-y: 7px;

}
.banner-expertise .text-banner {
    background-image: url(images/icon-banner-expertise.png);
    background-size: 100px;
    background-repeat: no-repeat;
    background-color: #283a5b;
    padding-left: 116px;
}

.banner-actualite, .banner-bibliographie, .banner-boussole, .banner-equipement-standard, 
.banner-apropos, .banner-prestation, .banner-contact, .banner-expertise, .banner-aide , 
.banner-information, .banner-vidéos, .banner-logiciel, .banner-référence, 
.banner-matériel-de-prêt {
    background-color: #283a5b;
}

/*---FIN BANNER-----*/
.ressource- {
    background-size: 30px;
    background-repeat: no-repeat;
    background-position: 0px 5px;
    border-bottom: thin solid #adbcca;
    line-height:18px;
}

.ressource-Aide {
  	background-image: url(images/aide-bg.png);
    background-size: 30px;
    background-repeat: no-repeat;
    background-position: 0px 5px;
    border-bottom: thin solid #adbcca;
    line-height:18px;
}

.ressource-Bibliographie {
    background-image: url(images/bibliographie-bg.png);
    background-size: 30px;
    background-repeat: no-repeat;
    background-position: 8px 8px;
    border-bottom: thin solid #adbcca;
    line-height:18px
}

.ressource-Boussole {
    background-image: url(images/boussole-bg.png);
    background-size: 30px;
    background-repeat: no-repeat;
    background-position: 0px 5px;
    border-bottom: thin solid #adbcca;
    line-height:18px
    
}

.ressource-Expertise {
    background-image: url(images/expertise-bg.svg);
    background-size: 30px;
    background-repeat: no-repeat;
    background-position: 0px 5px;
    border-bottom: thin solid #adbcca;
    line-height:18px
}
.ressource-Information {
    background-image: url(images/information-bg.png);
    background-size: 30px;
    background-repeat: no-repeat;
    background-position: 0px 5px;
    min-height: 50px;
    border-bottom: thin solid #adbcca;
    line-height:18px
}
.ressource-Equipement.standard {
    background-image: url(images/equipement-bg.png);
    background-size: 30px;
    background-repeat: no-repeat;
    background-position: 0px 5px;
    min-height: 50px;
    border-bottom: thin solid #adbcca;
    line-height:18px
}

.ressource-Matériel.de.prêt {
    background-image: url(images/materiel-pret-bg.png);
    background-size: 30px;
    background-repeat: no-repeat;
    background-position: 0px 5px;
    min-height: 45px;
    border-bottom: thin solid #adbcca;
    line-height:18px
}
.ressource-Référence {
    background-image: url(images/reference-bg.png);
    background-size: 30px;
    background-repeat: no-repeat;
    background-position: 0px 5px;
    min-height: 45px;
    border-bottom: thin solid #adbcca;
    line-height:18px;
}

.ressource-Vidéos {
    background-image: url(images/video-bg.png);
    background-size: 30px;
    background-repeat: no-repeat;
    background-position: 0px 5px;
    border-bottom: thin solid #adbcca;
    line-height:18px
}
.ressource-Logiciel {
    background-image: url(images/logiciel-bg.png);
    background-size: 30px;
    background-repeat: no-repeat;
    background-position: 0px 5px;
    border-bottom: thin solid #adbcca;
    line-height:18px
}
.ressource-Document {
    background-image: url(images/document-bg.png);
    background-size: 30px;
    background-repeat: no-repeat;
    background-position: 0px 5px;
    border-bottom: thin solid #adbcca;
    line-height:18px
}

/*---------SIDE BAR-----------*/

.block-views-blockbloc-ressources-liees-block-1 h2 {
 border-bottom: solid;
}

.directive a {
  display: block;
  padding-left: 41px;
  margin-bottom: 2px;
  background: #CEDDE9;
  color: #2b73b1;
}
.views-field.views-field-field-en-savoir-plus a {
  display: block;
  color: #4d4d4d;
  font-weight: bold;
}
.view-bloc-ressources-exterieures {
	background-image: url(images/lien-ext-bg.png);
	background-size: 30px;
	background-repeat: no-repeat;
	background-position: 0px 5px;
}
.views-field.views-field-field-en-savoir-plus a:hover {
  display: block;
  color: #2b73b1;
  font-weight: bold;
}
.views-field.views-field-field-en-savoir-plus a::before {
  content:"> ";
  font-weight: bold;
  font-family: arial;
  color: #2b73b1;
}

.region.region-sidebar-second {
    margin-top: 30px;
    margin-left:20px;
}

.region.region-sidebar-second h2 {
    font-size: 1.2em;
    border-bottom: thin solid;
    margin-top: 20px;
    color: #2b73b1;
}

.views-field.views-field-field-thematique li,
.views-field.views-field-field-degres li {
  background: #cedde9;
  display: inline-block;
  list-style: none;
  margin: 2px 2px 2px 2px;
  padding:2px 5px;
  border-radius:2px;
  font-size: 14px;
}
.views-label-field-degres {
  font-weight: normal;
  font-size: 17px;
  display: block;
  border-bottom: solid thin #90b4d3;
  margin-top: 25px;
}
/*.views-field.views-field-field-publics li {
  background: #cedde9;
  display: inline-block;
  list-style: none;
  margin: 2px 2px 2px 2px;
  padding:2px 5px;
  border-radius:2px;
  font-size: 14px;
}
.views-label-field-publics {
  font-weight: normal;
  font-size: 17px;
  display: block;
  border-bottom: solid thin #90b4d3;
  margin-top: 25px;
}*/


/*-------Recherche--------*/
  a[class^='teaser-recherche-'] {
    text-align: left;
    padding: 3px 8px 3px 37px;
    font-weight: normal;
    margin-bottom: 10px;
    margin-left: 8px;
    background-color: #CEDDE9;
    border-radius: 5px;
    background-size: 25px;
    background-position: 5px 7px;
    background-repeat: no-repeat;
    min-height: 57px;
    color: #303e56;
  }
  a[class^='teaser-recherche-']:hover {
    background-color:#BADCF7;
    color:#303e56;
  }

  .teaser-recherche-actualites {
    background-image: url(images/actualite.png);
  }

  .teaser-recherche-1_prestations {
    background-image: url(images/prestation256.png);
  }

  .teaser-recherche-ressources-Bibliographie {
    background-image: url(images/bibliographie.png);
  }
  .teaser-recherche-ressources-Equipement.standard {
    background-image: url(images/equipement.svg);
  }
  .teaser-recherche-ressources-Expertise {
    background-image: url(images/expertise.svg);
  }
  .teaser-recherche-ressources-Information {
    background-image: url(images/information.png);
  }
  .teaser-recherche-ressources-Logiciel {
    background-image: url(images/logiciel.svg);
  }
  .teaser-recherche-ressources-Référence {
    background-image: url(images/reference.png);
  }
  .teaser-recherche-ressources-Document  {
    background-image: url(images/document.png);
  }
/*-------FIN Recherche--------*/


.button {
  display: block;
  /*padding: 8px 35px 10px 12px;*/
  font-weight: 900;
  color: #FFF;
  background-color: #239abe;
}
.button:hover{
  color: #FFF;
  background-color: #333;
}
.button a {
  color: #FFF;
  text-decoration: none;
}


li.page-item.is-active.active a {
   background: #2a72b1;
}

.form--inline.clearfix {
    background: #283a5b;
    border-radius: 18px;
    padding: 0px 15px 2px;
    /*display: flex;*/
    margin-bottom: 20px;
    margin-top:10px;
}

form#views-exposed-form-recherche-recherchesolr .form--inline.clearfix {
    background: none;
}

input#edit-submit-frontpage {
  position: relative;
  margin: auto;
  border: none;
  background-color: #2b73b1;
  font-weight: normal;
}

img.img-fluid.image-style-actu-bloc {
    border-radius: 20px;
    box-shadow: 0px 0px 7px 0px rgba(0,0,0,0.5);
	-webkit-box-shadow: 0px 0px 7px 0px rgba(0,0,0,0.5);
	-moz-box-shadow: 0px 0px 7px 0px rgba(0,0,0,0.5);
}
/*.img-fluid.image-style-actu-bloc:hover {
  opacity: 66%;
}*/

.custom-date {
  border-top: solid thin #959595;
  border-bottom: solid thin #959595;
  font-size: 14px;
  margin-bottom: 10px;
  font-weight: bold;
  color: grey;
}

/*---------Splash-----------*/
.bg-light > div {
  text-align: left;
}

.bg-light ul {

}
.js-bs-masonry2 h2 {
  font-size: 25px;
  font-weight: normal;
}
.js-bs-masonry2 ul li a{
  color: #00309e;
}
.js-bs-masonry2 ul li a:hover{
  color: #959595;
  text-decoration: underline;
}
#block-views-block-actualites-block-splash-de-ressources iframe {
  width: 100%;
}
#block-views-block-actualites-block-splash-de-ressources {
    clear: both;
    padding-top:30px;
}


/* résultats de recherche sur 2 col */
.row .col-lg-3 ~.order-1:not(:empty)  {
  max-width:75%;
}


/*--------media queries-----------*/

@media (min-width: 321px)and (max-width: 767px) {
.banner-actualite {
    background-repeat: no-repeat;
    background-position-x: right;
	}
.navbar-brand a.site-title {
    font-size:15px;
	}
.navbar-brand .site-slogan {
  	display: block;
  	font-size: 0.565em;
	}
.region.region-nav-eel {
	margin-right: 0px;
	
}
}
@media (min-width: 768px) and (max-width: 1096px) {
.navbar-brand a.site-title {
    font-size:25px;
	}
.navbar-brand .site-slogan {
  	display: block;
  	font-size:11.3px;
	}
.region.region-nav-eel {
	margin-right: 0px;
	
}
}

@media (max-width: 480px) {
  .fieldset-wrapper .form-radios .form-radios {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
  	}
  .media--view-mode-image-contenu {
      display:none;
  }
  .img.image-contenu {
      width:100%;
  }
  	
  .text-banner {
    font-size: 2em;
    color: white;
    display: block;
    padding-top: 30px;
  	}
  	
  .banner-actualite {
      background-size: 80px;
      background-repeat: no-repeat;
      background-position-x: right;
  }
  .banner-apropos {
      background-size: 80px;
      background-repeat: no-repeat;
      background-position-x: right;
  }
  .form--inline.clearfix {
    padding: 0px 14px;
    background-size: 21%;
    background-position: right top;
  }
  img.image-contenu {
    height: auto;
    width: 100%;
  }
  .region.region-nav-eel {
  	margin-right: 0px;
  	
  }
}

/* CUSTOM TABLE */
.contextual-region table tr:nth-child(2n+1) {
  border-bottom: #dfdfdf solid thin;
}
.contextual-region h5 {
  clear:both;
}
.contextual-region table th {
  padding-left: 8px;
}


#block-semb5subtheme-content table tr:nth-child(2n+1) {
  border-bottom: #dfdfdf solid thin;
}
#block-semb5subtheme-content h5 {
  clear: both;
}

#block-semb5subtheme-content table {
  width:100%;
}
#block-semb5subtheme-content table th {
  padding-left: 8px;
}

#block-semb5subtheme-content table tr:nth-child(2n){
  background: #cedde9;
}

#block-semb5subtheme-content table td {
  padding: 8px;
}

#block-semb5subtheme-content table td ul {
    background: none;
}

.node--type-lien-outils {
  /*  background-image: url(/sem/themes/custom/semb5subtheme/css/images/lien-ext-bg.png);*/
  background-image: url(images/lien-ext-bg.png);
  background-size: 30px;
  background-repeat: no-repeat;
  background-position: 15px 0px;
}
.node--type-lien-outils a:hover {
  color: grey;
  display: block;
  min-height: 31px;
  font-size: 14px;
  /* line-height: 18px; */
  /* padding-top: 5px; */
  padding-bottom: 5px;
  margin-left: 38px;
  background: #CEDDE9;
  padding-left: 10px;
  border: solid 1px rgb(233, 233, 233);
}
.node--type-lien-outils a {
  color: grey;
  display: block;
  margin-left: 38px;
  min-height: 31px;
  font-size: 14px;
  line-height: 18px;
  padding-top: 5px;
  padding-bottom: 5px;
  padding-left: 10px;
  margin-bottom: 10px;
}
.media--view-mode-image-contenu {
  float: left!important;
  width: 40%;
  margin-left: -2px;
  margin-bottom: 10px;
  margin-right: 11px;
}
.directive a:hover {
  background: #CEDDE9;
}
.directive a{
	background-color: white;
	padding-left:0px;
	color:grey;
}
.views-field.views-field-field-directive {
  padding-left: 40px;
  background-color: white;
  background-image: url(images/directive-bg.png);
  /*background-image: url("https://edurec.ge.ch/sem/sites/default/files/2022-11/directive-bg.png");*/
  font-size: 14px;
  background-repeat: no-repeat;
  background-position: 0px 5px;
  border-bottom: thin solid #adbcca;
  line-height: 18px;
  background-size: 30px;
}
fieldset.form-item > legend:first-child {
  font-weight: bold;
}

.form-composite > legend, .label {
  display: inline;
  margin: 0;
    margin-bottom: 0px;
  padding: 0;
  font-size: inherit;
  font-weight: inherit;
}
.form-required {
  font-weight: normal;
}
.fieldset-legend:first-child {
  font-weight: bold;
}
.row.bs-1col.node.node--type-ressources.node--view-mode-teaser,
.row.bs-1col.node.node--type-actualites.node--view-mode-teaser {
  margin-bottom: -65px;
}
.row.bs-1col.node.node--type-ressources.node--view-mode-teaser .no-height,
.row.bs-1col.node.node--type-actualites.node--view-mode-teaser .no-height{
  margin-bottom: -65px;
  position: relative;
}
.region.region-nav-eel {
	display:flex;
}
.btn-bai a {
    color: #737373;
    background-image: url(images/icon-bai.svg);
    /*background-image: url(https://edurec.ge.ch/sem/sites/default/files/2022-12/icon-bai.png);*/
    background-repeat: no-repeat;
    background-size: 20px 20px;
    background-position: top;
    padding-bottom: 15px;
    font-weight: bold;
    line-height: 2px;
    padding-top: 29px;
    margin-right: 19px;
    font-size: 0.67em;
    display: block;
}
.btn-eel a:hover, 
.btn-bai a:hover {
  color: #343a40;
}
@media screen and (max-width: 800px) {
  .region.region-nav-eel {
  	justify-content:flex-end;
  }
}
@media (min-width: 768px) and (max-width: 1096px) {
  .region.region-nav-eel {
      justify-content:flex-end;
  }
}


/* Il arrive que le boutton "quick edit" (crayon rond) passe par dessus un élément cliquable
  ex: barre de menu */
.row > *.contextual {
  width: initial;
  max-width: initial;
}


.en-bref p {
  font-size: 0.9em;
}
.en-bref .align-center .img-fluid {
    width: 90px !important;
    border: solid 1px #dfdfdf !important;
    border-radius: 25px !important;
    padding: 10px !important;
    margin: 11px !important;
}



/* 404 */
.content-403,
.content-404 {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top:20px;
  }
    
.content-403 svg,
.content-404 svg {
  max-width: 75% !important;
}
.content-403 .button-home,
.content-404 .button-home {
    text-align: center;
    margin: 20px auto 0 auto;
    padding: 3px 25px;
    display: block;
    background: #185873;
    color: white;
    border: solid thin;
    border-radius: 5px;
}
.content-403 .button-home:hover,
.content-404 .button-home:hover {
    background: white;
    color: #185873;
}


#edit-submit-recherche--2 {
  position: relative;
  padding-right: 30px; /* Espace pour l'icône */
}

#edit-submit-recherche--3::after {
  content: "";
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  background-image: url('/images/nav-icon-recherche.svg');
  background-repeat: no-repeat;
  background-size: contain;
}