@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Jaldi&display=swap');


body {
  font-family: "Jaldi",sans-serif !important;
  color: #3a3a3a !important;
}

p {
  text-align: justify;
}

.image__hero p a {
  color: #FFFFFF;
}

h1 {
  color: #d0082d;
  font-size: 70px !important;
  letter-spacing: -2px;
  border-bottom: none;
  margin-bottom: 10px;
}

.h2, h2 {
  margin-bottom: 10px !important;
  margin-bottom: 10px !important;
  font-size: 1.75rem !important;
  font-weight: bold !important;
}

.h3, h3 {
  margin-bottom: 10px !important;
  margin-bottom: 10px !important;
  font-size: 1.3rem !important;
}

.container-fluid {
  padding: 0 !important;
}

/*main {
  margin-top: 100px;
}*/

/* Bloc Locale */

#ofed-federal-header-wrapper{
  z-index:1;
}
.block-locale{
  z-index:500;
  display:inline-block;
  position:relative;
  margin:0.5em 0.5em 0em 0
}
.block-locale .contextual-links-wrapper{
  right:-20px;
  top:0
}
.block-locale .language-switcher-locale-url{
  margin:0;
  padding:0;
  list-style:none;
  float:left
}
.block-locale .language-switcher-locale-url li{
  display:inline-block;
  line-height:1em;
  margin-right:0.25em;
  text-align:center;
  padding:0
}
.block-locale .language-switcher-locale-url li a{
  padding:0.1em;
  width:1.5em;
  display:block;
  text-decoration:none;
  border:1px solid #999999;
  background-color:#cccccc;
  color:#666666;
  font-size:0.95em;
  font-weight:300;
  font-family:arial,verdana,sans-serif
}
.block-locale .language-switcher-locale-url li a.active,.block-locale .language-switcher-locale-url li a:hover{
  border:1px solid #333333;
  background-color:#666666;
  color:#ffffff
}
@media (min-width:768px){
  .block-locale{
    position:absolute
  }
}
.federalheader{
  font-size:14px
}
.federalheader .block-locale{
  margin:0
}

a.navbar-brand img {
  height: 81px;
}

a.language-link.is-active {
  background-color: #666666;
  color: #FFFFFF;
}

/* Navbar */

/* ============ desktop view ============ */
@media all and (min-width: 768px) {
  .navbar .nav-item .dropdown-menu{ display: none; }
  .navbar .nav-item:hover .nav-link{   }
  .navbar .nav-item:hover .dropdown-menu{ display: block; }
  .navbar .nav-item .dropdown-menu{ margin-top:0; }
}
/* ============ desktop view .end// ============ */

a#navbarDropdown:hover {
  background-color: #d0082d;
  color: #FFFFFF !important;
}

navbar {
  box-shadow: 0 5px 15px rgb(0 37 79 / 15%);
  padding: 0.5rem 0 !important;
}

nav.navbar.navbar-expand-lg.navbar-light.navmain {
  background-color: #FFFFFF;
}

ul.navbar-nav.mr-auto li {
  margin-right: 50px;
}

ul.navbar-nav.mr-auto a {
  color: #FFFFFF !important;
}

.navbar-light .navbar-brand {
  margin-right: 50px;
}

ul.navbar-nav.me-auto.mb-2.mb-lg-0.full-menu {
  border-top: 1px solid #d8d8d8;
  margin-top: 25px;
}

ul.full-menu a.nav-link {
  text-transform: uppercase;
}

li.nav-item.home {
  padding-top: 5px;
  padding-right: 10px;
}

@media only screen and (min-width: 770px) {
ul.navbar-nav.float-none {
  display: flex;
  flex-direction: row-reverse;
}
}


/* Latests */

@import url('https://fonts.googleapis.com/css2?family=Poppins&display=swap');

@media(max-width:372px) {
  .results {
    font-size: 0.9rem
  }
}

@media(max-width:330px) {
  .results {
    font-size: 0.85rem
  }
}

@media(min-height: 700px) {
  body {
    height: 100vh
  }
}

@media(max-width:768px) {
  body {
    height: 100%
  }
}


/* Profile */

.tab-black, .tab-hover-black:hover {
  color: #fff!important;
  background-color: #000!important;
}

.tab-bar {
  width: 100%;
  overflow: hidden;
}

.tab-bar .tab-button {
  white-space: normal;
}

.tab-bar .tab-bar-item {
  padding: 8px 16px;
  float: left;
  width: auto;
  border: none;
  display: block;
  outline: 0;
}

.tab-btn, .tab-button {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.tab-btn, .tab-button {
  border: none;
  display: inline-block;
  padding: 8px 16px;
  vertical-align: middle;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  background-color: inherit;
  text-align: center;
  cursor: pointer;
  white-space: nowrap;
}

.tab-button:hover {
  color: #000000;
  background-color: #999999;
  text-align: center;
  cursor: pointer;
  white-space: nowrap;
}

.tab-black, .tab-hover-black:hover {
  color: #fff!important;
  background-color: #000!important;
}

/* Footer */

h3 a {
  text-decoration: none;
  color: #d0082d;
}

h3 a:hover {
  text-decoration: none;
  color: #d0082d;
}

footer h5 {
  font-size: 0.9em;
  font-weight: bold;
  text-transform: uppercase;
}


footer .footer-content {
  border-top: 1px solid #676362;
  padding-top: 15px;
}

footer {
  background: #FFFFFF;
}

footer p {
  color: #676362;
  font-family: "Jaldi",sans-serif;
  font-size: 0.8em;
}

.footer-submenu {
  padding: 4px;
  background-color: #f2f2f2;
}

footer ul li a {
  color: #676362;
  font-size: 0.8em;
}

.footer-bottom {
  border-top: 1px solid grey;
  margin-top: 20px;
  padding-top: 20px;
}

ul.bottom-menu {
  display: inline !important;
  list-style: none;
}

ul.bottom-menu li {
  float: left;
}

ul.bottom-menu li a {
  color: #0d1214;
}

/* Navbar */

.navbar-light .navbar-nav .nav-link {
  color: #000000 !important;
}

/* Home */

#une a {
  color: #000;
  font-weight: bold;
  font-size: 1.2em;
}

#previousnews a {
  color: #676362;
  font-size: 1.1em;
  text-decoration: none;
}

.date-actu {
  color: #d0082d;
}

#linked-news h2 {
  font-family: "Jaldi",sans-serif;
  border-bottom: 1px solid #d0082d;
  margin-bottom: 15px;
  color: #d0082d;
  font-size: 37px !important;
  margin: 0 0 19px 0;
  font-family: inherit;
  font-weight: 500 !important;
  line-height: 1.1;
}

#linked-news a {
  color: #d0082d !important;
  text-decoration: none;
}

#linked-news p {
  font-size: 1.2em !important;
  margin-top: 0 !important;
  margin-bottom: 10px !important;
}

#linked-news .date-actu {
  color: #3a3a3a;
}

/* Paragraphs */

h2.paragraph-title {
  text-transform: uppercase;
  margin-top: 20px;
}

/* Centers */

.card-img-top {
  height: 10vw;
  object-fit: cover;
}
/* federal header */

.block-locale{
  z-index:500;
  display:inline-block;
  position:relative;
  margin:0.5em 0.5em 0em 0
}
.block-locale .contextual-links-wrapper{
  right:-20px;
  top:0
}
.block-locale .language-switcher-locale-url{
  margin:0;
  padding:0;
  list-style:none;
  float:left
}
.block-locale .language-switcher-locale-url li{
  display:inline-block;
  line-height:1em;
  margin-right:0.25em;
  text-align:center;
  padding:0
}
.block-locale .language-switcher-locale-url li a{
  padding:0.1em;
  width:1.5em;
  display:block;
  text-decoration:none;
  border:1px solid #999999;
  background-color:#cccccc;
  color:#666666;
  font-size:0.95em;
  font-weight:300;
  font-family:arial,verdana,sans-serif
}
.block-locale .language-switcher-locale-url li a.active,.block-locale .language-switcher-locale-url li a:hover{
  border:1px solid #333333;
  background-color:#666666;
  color:#ffffff
}
@media (min-width:768px){
  .block-locale{
      position:absolute
  }
}
.federalheader{
  font-size:14px
}
.federalheader .block-locale{
  margin:0
}

a.nav-item.search {
  color: #000;
  padding-top: 16px;
}

li.nav-item.home a {
  color: #000;
  padding-top: 16px;
}

/* banner-hero home */

.image__img {
  display: block;
  width: 100%;
  height: 500px;
}

.image__hero {
	position: relative;
	width: 100%;
  margin-bottom: 30px;
}


@media (max-width: 600px) {
  .image__hero {
    display: none;
  }
}

.image__img {
	display: block;
	width: 100%;
}

.image__overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.3);
	color: #ffffff;
	font-family: 'Quicksand', sans-serif;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	opacity: 1;
	transition: opacity 0.25s;
  padding: 40px;
}

.col-sm-4.left {
  background: #cf032d;
  padding: 30px;
}

.col-sm-4.right {
  padding: 30px;
}

/*.col-sm-8.right a {
  color: #000000 !important;
}*/

.image__overlay--primary {
	background: #009578;
}

.image__overlay>* {
	transform: translateY(20px);
	transition: transform 0.25s;
}

.image__title {
	font-size: 2em;
	font-weight: bold;
}

.image__description {
	font-size: 1.25em;
	margin-top: 0.25em;
}

/* Cards */

.card-img-top {
  height: 150px;
}

/* News */
.col-sm-4 img {
  width: -webkit-fill-available;
}

img.img_une {
  width: -webkit-fill-available;
}

.row.othernews {
    margin-bottom: 10px;
}

span.newsdate {
    font-size: 0.8em;
}

#une p {
  text-align: justify;
}

a.more-news {
  padding: 5px 10px;
  text-decoration: none;
  border: 1px solid #999;
  margin-top: 20px !important;
  display: inline-block;
}

/* Chiffres */

.front-block-chiffres {
  background: rgba(216,216,216,0.44);
}

.front-block-chiffres .container {
  padding: 70px;
}

h3 {
    color: #d0082d !important;
    font-size: 38px !important;
    line-height: 40px !important;
    margin-top: 30px !important;
}

/* Footer */

h3.menu-title {
  font-size: 16px !important;
  font-weight: bold;
  text-transform: uppercase;
  text-align: left;
}

footer li.navigation__item {
  list-style: none;
  text-align: left;
}

footer li.navigation__item a {
  text-decoration: none;
  color: #000;
}


/* Centres */

.card__title {
  color: @gray-dark;
  font-size: 1.25rem;
  font-weight: 300;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.card__text {
  flex: 1 1 auto;
  font-size: 0.875rem;
  line-height: 1.5;
  margin-bottom: 1.25rem;
}

.cards {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
}

.cards__item {
  /* display: flex; */
  padding: 1rem;
  @media(min-width: 40rem) {
    width: 50%;
  }
  @media(min-width: 56rem) {
    width: 25%;
  }
}

.card {
  background-color: white;
  border-radius: 0.25rem;
  box-shadow: 0 20px 40px -14px rgba(0,0,0,0.25);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  &:hover {
    .card__image {
      filter: contrast(100%);
    }
  }
}

.card__content {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  padding: 1rem;
}

.card__image {
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  border-top-left-radius: 0.25rem;
  border-top-right-radius: 0.25rem;
  filter: contrast(70%);
//filter: saturate(180%);
  overflow: hidden;
  position: relative;
  transition: filter 0.5s cubic-bezier(.43,.41,.22,.91);;
  &::before {
    content: "";
    display: block;
    padding-top: 56.25%; // 16:9 aspect ratio
  }
  @media(min-width: 40rem) {
    &::before {
      padding-top: 66.6%; // 3:2 aspect ratio
    }
  }
}

/* Breadcrumb */

li.breadcrumb-item {
  margin-right: 10px;
}

li.breadcrumb-item::after {
  content: " / ";
}

/* Body */

#block-fedasildefault-content p {
  font-size: 20px;
}

/* top */

img#belgium {
  position: absolute;
  bottom: 0;
  right: 0;
}

p#text-belgium {
  margin-right: 50px;
  margin-left: auto;
}


.federal-header {
  width: 100%;
  display:flex;
}

/*.federal-header > * {
  width: calc(100% / 3);
}*/

.federal-header {
  background: url(../images/federalheader_bg.gif) repeat-x right bottom scroll;
  position: relative;
}

.container.federal-header {
  padding: 1px;
}

.top ul {
  list-style: none;
}

.top ul li {
  display: inline-block;
  line-height: 1em;
  margin-right: 0.25em;
  text-align: center;
  padding: 0;
}

.top ul li a {
  padding: 0.1em;
  width: 1.5em;
  display: block;
  text-decoration: none;
  border: 1px solid #999999;
  background-color: #cccccc;
  color: #666666;
  font-size: 0.95em;
  font-weight: 300;
  font-family: arial,verdana,sans-serif;
}

.row.highlight {
  --bs-gutter-x: 0;
  margin-bottom: 30px;
}

@media screen and (max-width: 768px) {
  .row.highlight {
  display: none;
  }
}

@media screen and (min-width: 770px) {
  .row.highlight-mobile {
  display: none;
  }
}


.col-12.highlight-left {
  padding: 20px 20px 20px 20px;
}

.col-12.highlight-left a {
  color: #FFFFFF;
}


.col-12 {
    margin-bottom: auto;
    margin-top: auto;
}

.col-12.highlight-left a.btn
 {
  border: 1px solid #FFF;
  margin-left: auto;
  margin-right: auto;
}



.highlight-left {
  background-color: #CF032D;
  color: #FFFFFF;
}

.highlight-left {
font-size: 1.2em;
}

.col-md-4.highlight-left {
  padding: 30px 30px 30px 80px;
}

.col-md-4.highlight-left a {
  color: #FFFFFF;
}


.col-md-8 {
    margin-bottom: auto;
    margin-top: auto;
}

.col-md-4.highlight-left a.btn {
  border: 1px solid #FFF;
  margin-left: auto;
  margin-right: auto;
}


.highlight-inner {

}

div#highlight-home h1 {
  color: #FFFFFF;
  font-size: 3em !important;
}

.col-md-8.highlight-left {
  margin-bottom: auto;
  margin-top: auto;
}

.col-md-8.highlight-right p {
  text-align: center;
  font-size: 20px;
}

.col-md-8.highlight-right a {
color: #FFFFFF !important;
}

/* Breadcrumb */

div#block-fedasildefault-breadcrumbs ol {
  list-style: none;
}

div#block-fedasildefault-breadcrumbs ol li {
  display: inline;
}

div#block-fedasildefault-breadcrumbs ol li::after {
  content: " /";
}
