/*Small devices (portrait phones, 320px and up) */
@media (min-width: 320px) and (max-width: 575.98px) {
  #block-footerunesco {
    width: 100%;
    top: 0;
    margin: 0;
  }

  .round-button {
    margin: 0 4px 0 3px;
  }

  .menu-links .header-links {
    display: none;
  }

  #header {
    height: auto !important;
    min-height: 0px;
  }

  #header.deployed {
    min-height: 160px;
  }

  .language-switcher-language-url {
    justify-content: flex-start;
    padding-left: 20px;
    margin-top: 0;
    padding-top: 9px;
  }

  #languageselector-button {
    border: 1px solid black;
    border-radius: 40px;
    width: 53px;
  }

  .ui-selectmenu-icon.ui-icon {
    margin: 5px 5px 0px 0px;
  }

  .ui-selectmenu-text {
    margin: 5px 0px 5px 10px;
  }

  #block-bxl-block-9 {
    margin-top: 0;
  }

  #block-formulaireexposesearchpage-1 {
    margin: 0;
    right: 0;
    z-index: -10;
    margin-top: -150px;
    transition: margin 500ms ease-in-out;
  }

  .deployed #block-formulaireexposesearchpage-1 {
    margin-top: 1px;
    animation: fadeIn 1000ms;
    z-index: 1;
  }

  body.path-frontpage #block-formulaireexposesearchpage-1 {
    width: 80%;
    margin: 0 auto;
    left: 0;
    display: block;
    z-index: 1;
  }

  ul.ui-widget.search-api-autocomplete-search {
    max-width: 98%;
  }

  body.path-frontpage ul.ui-widget.search-api-autocomplete-search {
    max-width: 80%;
  }

  #block-formulaireexposesearchpage-1 input {
    padding: 10px 50px;
  }

  body.path-frontpage #block-formulaireexposesearchpage-1 input {
    padding: 20px 40px 20px 60px;
    width: 100%;
  }

  #block-formulaireexposesearchpage-1 form {
    width: 100%;
  }

  body.path-frontpage #block-formulaireexposesearchpage-1 form {
    max-width: 100%;
  }

  #block-formulaireexposesearchpage-1 .form-actions:after {
    top: 8px;
    font-size: 23px;
  }

  body.path-frontpage #block-formulaireexposesearchpage-1 .form-actions:after {
    top: 16px;
    font-size: 25px;
  }

  #block-formulaireexposesearchpage-1 button {
    padding: 25px;
  }

  #darkmodebutton {
    position: absolute;
    top: 43px;
    display: none;
    left: 100px;
  }

  body.path-frontpage #darkmodebutton {
    display: block;
  }

  #main-wrapper {
    padding-top: 25px;
  }

  #mic {
    margin-left: 35%;
    top: 8px;
  }

  body.path-frontpage #mic {
    padding-top: 8px;
  }

  body.path-frontpage #block-formulaireexposesearchpage-1 {
    margin-top: 355px;
  }

  .mobilelogo img {
    display: block;
  }

  .logo-vbx {
    background: rgba(255, 255, 255, 0.8);
    height: 60px;
    margin-top: 0;
    align-items: center;
    padding: 0;
    flex-direction: row;
  }

  .logo-vbx .field,
  .logo-vbx p {
    padding: 0;
    margin: 0;
  }

  .logo-vbx img {
    padding-top: 0;
    width: unset;
    max-height: 54px;
  }

  body.path-frontpage .logo-vbx img {
    display: none;
  }

  .language-switcher-language-url .round-button {
    display: none;
  }

  .link-button.in-text,
  .link-button {
    width: 80%;
    max-width: 350px;
  }

  .row.row-column-reverse {
    display: flex;
    flex-flow: column-reverse;
  }

  .row-column-reverse .field--name-field-image img {
    width: auto;
    display: block;
  }

  .row-column-reverse .field--name-field-image-credit {
    margin-bottom: 10px;
  }

  article.node--type-directory.node--view-mode-button {
    width: 100%;
  }

  article.node--type-directory.node--view-mode-button .link-button {
    width: 90%;
  }

  #menu-mobile .links-menu li a {
    font-size: 14px;
  }

  .navbar-header #deploysearchbutton {
    margin-left: 7px;
  }

  #menu-responsive .navbar-header .link.mybxl {
    margin-left: 5px;
  }

  .path-frontpage #menu-responsive .navbar-header .link.mybxl {
    display: block;
  }

  #menu-responsive .navbar-header .navbar-toggler {
    margin-left: 5px;
  }

  #toTop {
    display: none !important;
  }

  body.node--type-agenda .agenda-brussels {
    margin-bottom: 10px;
  }

  body.node--type-agenda .readmore {
    margin-bottom: 15px;
  }

  body.node--type-agenda .field.field--name-field-text.field--type-text-long iframe {
    width: 100%;
  }

  .site-footer {
    background-position: center;
  }

  article .text-formatted.field li, article .text-formatted.field p {
    text-align: left;
  }

  .uk-legend-title {
    background-color: rgba(0, 0, 0, .5);
    color: white;
  }
}

/*Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
  #block-footerunesco {
    width: 100%;
    top: 0;
    margin: 0;
  }

  .menu-links .header-links {
    display: none;
  }

  #header {
    height: auto !important;
    min-height: 0px;
  }

  #header.deployed {
    min-height: 160px;
  }

  .language-switcher-language-url {
    justify-content: flex-start;
    padding-left: 20px;
    margin-top: 0;
    padding-top: 10px;
  }

  #languageselector-button {
    border: 1px solid black;
    border-radius: 40px;
    width: 53px;
  }

  .ui-selectmenu-icon.ui-icon {
    margin: 5px 5px 0px 0px;
  }

  .ui-selectmenu-text {
    margin: 5px 0px 5px 10px;
  }

  #block-bxl-block-9 {
    margin-top: 0;
  }

  #block-formulaireexposesearchpage-1 {
    margin: 0;
    right: 0;
    z-index: -10;
    margin-top: -150px;
    transition: margin 500ms ease-in-out;
  }

  .deployed #block-formulaireexposesearchpage-1 {
    margin-top: 1px;
    animation: fadeIn 1000ms;
    z-index: 1;
  }


  body.path-frontpage #block-formulaireexposesearchpage-1 {
    width: 70%;
    margin: 0 auto;
    left: 0;
    display: block;
    z-index: 1;
  }

  #block-formulaireexposesearchpage-1 input {
    padding: 10px 50px;
  }

  body.path-frontpage #block-formulaireexposesearchpage-1 input {
    padding: 20px 40px 20px 60px;
  }

  #block-formulaireexposesearchpage-1 form {
    width: 100%;
  }

  #block-formulaireexposesearchpage-1 .form-actions:after {
    top: 8px;
    font-size: 22px;
  }

  body.path-frontpage #block-formulaireexposesearchpage-1 .form-actions:after {
    top: 16px;
    font-size: 25px;
  }

  #block-formulaireexposesearchpage-1 button {
    padding: 25px;
  }

  #darkmodebutton {
    position: absolute;
    top: 43px;
    left: 100px;
  }

  #main-wrapper {
    padding-top: 25px;
  }

  body.path-frontpage #block-formulaireexposesearchpage-1 {
    margin-top: 355px;
  }

  #mic {
    top: 8px;
  }

  body.path-frontpage #mic {
    padding-top: 8px;
  }

  .mobilelogo img {
    display: block;
  }

  .logo-vbx {
    background: rgba(255, 255, 255, 0.8);
    height: 60px;
    margin-top: 0;
    flex-direction: row;
  }

  .logo-vbx img {
    width: 100%;
    height: 46px;
    margin-top: 6px;
    padding: 0;
  }

  body.path-frontpage .logo-vbx img {
    display: none;
  }

  .language-switcher-language-url .round-button {
    display: none;
  }

  .link-button.in-text,
  .link-button {
    width: 50%
  }

  .row.row-column-reverse {
    display: flex;
    flex-flow: column-reverse;
  }

  .row-column-reverse .field--name-field-image img {
    width: auto;
    display: block;
  }

  .row-column-reverse .field--name-field-image-credit {
    margin-bottom: 10px;
  }

  article.node--type-directory.node--view-mode-button {
    width: 100%;
  }

  article.node--type-directory.node--view-mode-button .link-button {
    width: 90%;
  }

  #toTop {
    display: none !important;
  }

  body.node--type-agenda .field.field--name-field-text.field--type-text-long iframe {
    width: 100%;
  }

  .site-footer {
    background-position: center;
  }

  article .text-formatted.field li, article .text-formatted.field p {
    text-align: left;
  }

  .uk-legend-title {
    background-color: rgba(0, 0, 0, .5);
    color: white;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
  #block-footerunesco {
    width: 100%;
    top: 0;
    margin: 0;
  }

  .menu-links .header-links .link a span.link-text {
    display: none;
  }

  .logo-vbx img {
    padding-top: 30px;
    width: 173px;
  }

  #block-mainmenu li.link-item {
    flex-basis: fit-content;
    margin: 0 6px;
  }

  #block-mainmenu li.link-item a {
    font-size: 12px;
  }

  #block-formulaireexposesearchpage-1 {
    margin-top: 112px;
  }

  body.path-frontpage #block-formulaireexposesearchpage-1 {
    margin-top: 270px;
  }

  #block-formulaireexposesearchpage-1 form {
    width: 55%;
  }

  .link-button {
    width: 50%
  }

  article.node--type-directory.node--view-mode-button {
    width: 49%;
  }

  article.node--type-directory.node--view-mode-button .link-button {
    width: 90%;
  }

  .row.row-column-reverse {
    display: flex;
    flex-flow: column-reverse;
  }

  .row-column-reverse .field--name-field-image img {
    width: auto;
    display: block;
  }

  .row-column-reverse .field--name-field-image-credit {
    margin-bottom: 10px;
  }

  #block-footertext .liens-center {
    margin: 0 auto;
    width: fit-content;
  }

  #block-footertext .footer-logos-right {
    text-align: right;
  }

  .view-id-archive_news h2.collapsediv i {
    display: none;
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .menu-links .header-links .link a span.link-text {
    display: none;
  }

  .logo-vbx img {
    padding-top: 15px;
    width: 234px;
  }

  #block-mainmenu li.link-item {
    flex-basis: fit-content;
    margin: 0 10px;
  }

  body.path-frontpage #block-formulaireexposesearchpage-1 {
    margin-top: 255px;
  }

  #block-formulaireexposesearchpage-1 {
    margin-top: 93px;
  }

  #block-formulaireexposesearchpage-1 form {
    width: 45%;
  }

  #block-footertext .liens-center {
    margin: 0 auto;
    width: fit-content;
  }

  #block-footertext .footer-logos-right {
    text-align: right;
  }

  .view-id-flash_news_homepage img {
    margin-left: 15px;
  }

  .view-id-archive_news h2.collapsediv i {
    display: none;
  }

  .node--type-agenda article .sticky-sidebar {
    position: sticky;
    top: 100px;
  }

  #views-exposed-form-agenda-page-1 #event-start-date .ui-datepicker-inline,
  #views-exposed-form-agenda-page-1 #event-end-date .ui-datepicker-inline,
  #views-exposed-form-agenda-page-1 .form-item-cat,
  #views-exposed-form-agenda-page-1 .form-item-mots {
    max-width: 300px;
  }

}

/* X-Large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) and (max-width: 1400px) {
  #block-footertext .liens-center {
    margin: 0 auto;
    width: fit-content;
  }

  #block-footertext .footer-logos-right {
    text-align: right;
  }

  .view-id-flash_news_homepage img {
    margin-left: 15px;
  }

  .view-id-archive_news h2.collapsediv i {
    display: none;
  }

  .node--type-agenda article .sticky-sidebar {
    position: sticky;
    top: 100px;
  }

  #views-exposed-form-agenda-page-1 #event-start-date .ui-datepicker-inline,
  #views-exposed-form-agenda-page-1 #event-end-date .ui-datepicker-inline,
  #views-exposed-form-agenda-page-1 .form-item-cat,
  #views-exposed-form-agenda-page-1 .form-item-mots {
    max-width: 300px;
  }
}

/* XX-Large devices (larger desktops, 1400px and up) */
@media screen and (min-width: 1400px) {
  #block-footertext .liens-center {
    margin: 0 auto;
    width: fit-content;
  }

  #block-footertext .footer-logos-right {
    text-align: right;
  }

  .view-id-flash_news_homepage img {
    margin-left: 15px;
  }

  .view-id-archive_news h2.collapsediv i {
    display: none;
  }

  .node--type-agenda article .sticky-sidebar {
    position: sticky;
    top: 100px;
  }

  #views-exposed-form-agenda-page-1 #event-start-date .ui-datepicker-inline,
  #views-exposed-form-agenda-page-1 #event-end-date .ui-datepicker-inline,
  #views-exposed-form-agenda-page-1 .form-item-cat,
  #views-exposed-form-agenda-page-1 .form-item-mots {
    max-width: 300px;
  }

}
