/* Repairs for unavailable graphics and compatibility with current browsers. */
img { object-fit: cover; }
header#header { box-sizing: border-box; }
header#header #logo img { object-fit: contain; max-width: calc(100% - 60px); height: auto; }
header#header nav { box-sizing: border-box; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible { outline: 3px solid #254598; outline-offset: 3px; }
body { line-height: 1.5; }
#index_content { display: flow-root; padding: 0 20px 24px; }
.slider_left { width: 100%; height: 302px; }
#example { position: relative; left: 0; width: 100%; height: 302px; }
#slides { position: relative; top: 0; left: 0; width: 100%; }
.slides_container { display: block; margin: 0; width: 100%; height: 270px; box-shadow: 0 2px 5px #0002; }
.slides_container a { width: 920px; height: 270px; position: relative; overflow: hidden; }
.slides_container a img { width: 100%; height: 270px; }
.slides_container a:not(:first-child) { display: none; }
.slides_control a { display: block !important; }
#slides .prev, #slides .next { top: 110px; left: 10px; width: 32px; height: 48px; display: flex; align-items: center; justify-content: center; border-radius: 3px; background: #18376f99; }
#slides .next { left: auto; right: 10px; }
.pagination { position: relative; left: auto; display: flex; justify-content: center; width: 100%; margin: 12px auto 0; gap: 6px; }
.pagination li { float: none; margin: 0; }
.pagination li a { background-image: none; background: #c5c5c5; width: 10px; height: 10px; padding: 0; border-radius: 50%; font-size: 0; }
.pagination li.current a { background: #254598; }
.photo-label { position: absolute; left: 0; right: 0; bottom: 0; padding: 8px 10px; color: white; background: #16346bd9; font-size: 13px; font-weight: bold; line-height: 1.25; }
.slides_container .photo-label { padding: 18px 60px; font-size: 25px; background: linear-gradient(transparent,#132d66bb); }
.about { box-sizing: border-box; width: 470px; height: auto; min-height: 584px; margin: 20px 0 0; padding: 14px; }
.about h2, .themas h2, .thema_h2 { font-size: 18px; }
.about p { line-height: 1.6; }
.contact_index { box-sizing: border-box; width: 100%; height: auto; margin: 20px 0 0; background: #f8f9fb; }
.contact_index span { font-size: 23px; padding: 16px 10px; color: #254598; }
.themas { box-sizing: border-box; width: 424px; height: auto; min-height: 584px; margin: 20px 0 0; padding: 14px; display: grid; grid-template-columns: repeat(2,1fr); gap: 12px; }
.themas h2, .thema_seeall { grid-column: 1 / -1; }
.thema_img_top { position: relative; float: none; margin: 0; display: block; height: 152px; overflow: hidden; }
.thema_img_top img { display: block; width: 100%; height: 152px; }
.thema_seeall { margin: 0; padding: 6px 0; text-align: right; }
.top_bar_title { clear: both; width: 100%; margin: 0; padding: 24px 0 0; }
.title_thema { display: none; }
.thema_h2 { margin: 0; padding-bottom: 8px; border-bottom: 1px solid #e9e9e9; }
.populaire_themas { display: flex; gap: 20px; margin: 0; padding: 0 20px 24px; }
.thema_popu { display: block; flex: 1; margin: 0; position: relative; overflow: hidden; height: 171px; }
.thema_popu img { width: 100%; height: 171px; margin: 0; }
.thema_popu .photo-label { padding: 12px; font-size: 16px; }
footer#footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; height: auto; min-height: 55px; }
footer#footer #footer-copyright { order: -1; padding: 16px; font-size: 11px; }
footer#footer .box ul { float: none; padding: 16px; }
footer#footer .box ul li { margin-left: 15px; }
footer#footer .box ul li a { font-size: 10px; }
footer#footer .footer_sep { display: none; }
.results header#header { height: auto; min-height: 125px; padding-bottom: 20px; }
.results #content { padding: 20px 15px 28px; margin-top: 0; display: flow-root; }
.results #left-bar { width: 150px; }
.results #left-bar span.see-and-do { background: none; height: auto; }
.results #left-bar span.see-and-do::after { content: "THEMA'S"; font-size: 16px; font-weight: bold; color: #254598; }
.results #right-content { width: 750px; margin-left: 30px; }
#breadcrumbs { margin-bottom: 16px; font-size: 12px; }
#content h1 { color: #254598; font-size: 26px; line-height: 1.25; padding-bottom: 18px; }
#main-content p { margin: 0 0 18px; line-height: 1.65; }
#main-content h2 { margin: 22px 0 12px; font-size: 19px; }
#main-image { max-width: 100%; height: 200px; display: block; }
.ad_span { color: #767676; font-size: 11px; }
.ad_content { display: flex; flex-wrap: wrap; gap: 20px; margin: 0 0 24px; }
.advertisement_content { border: 1px solid #e5e5e5; padding: 16px; box-sizing: border-box; width: calc(50% - 10px); min-height: 185px; }
.advertisement_content img { float: left; margin: 0 14px 12px 0; object-fit: contain; }
.ad_title { color: #254598; font-weight: bold; display: block; margin: 10px 0 6px; font-size: 16px; }
.ad_look_button { display: inline-block; clear: both; padding: 7px 16px; color: #fff; background: #254598; border-radius: 3px; font-weight: bold; }
.button-yellow, .button-yellow-small { background: #254598 !important; color: white; height: auto !important; padding: 10px 16px; border-radius: 3px; font-size: 13px !important; }
.button-yellow span, .button-yellow-small span { background: none !important; color: white; margin: 0; padding: 0; line-height: 1.4; height: auto; }
#categories-list { list-style: none; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px 18px; }
#categories-list > li { border: 1px solid #e5e5e5; padding: 12px; }
#categories-list .title { font-weight: bold; display: block; color: #254598; font-size: 15px; margin-bottom: 10px; }
#categories-list .image img { width: 100% !important; height: 134px !important; margin-bottom: 10px; }
#categories-list p { min-height: 90px; }
#categories-list .button-yellow-small { padding: 8px; font-size: 11px !important; }
#contact-form { width: 100%; float: none; }
#contact-form input:not([type=submit]), #contact-form textarea { box-sizing: border-box; padding: 8px; border: 1px solid #bbb; width: min(100%,440px) !important; font: inherit; height: auto; }
#contact-form textarea { min-height: 160px; }
#contact-form input[type=submit] { background: #254598; color: white; border: 0; padding: 10px 20px; width: auto; height: auto; cursor: pointer; }
.form-status { display: block; color: #254598; padding: 12px 0; }
#main-content .text .box { width: auto !important; border-bottom: 1px solid #eee; }
#main-content .text h3 { color: #254598; margin: 24px 0 10px; }
#main-content .text .ganaar { display: inline; margin-left: 15px; }
@media (max-width: 980px) {
  #wrap, footer#footer, .wrap { width: 100%; }
  .index header#header { width: 100%; }
  header#header nav { width: calc(100% - 40px); margin-left: 20px; }
  header#header #logo img { margin-left: 20px; max-width: calc(100% - 40px); }
  .about { width: 51%; }
  .themas { width: 46%; }
  .slides_container a { width: calc(100vw - 40px); }
  .results #right-content { width: calc(100% - 175px); margin-left: 25px; }
}
@media (max-width: 660px) {
  header#header nav ul { display: flex; flex-wrap: wrap; }
  header#header nav ul li a { font-size: 13px; padding: 0 12px; }
  .about, .themas { width: 100%; float: none; min-height: 0; }
  .themas { margin-top: 20px; }
  .photo-label { font-size: 12px; }
  .slides_container .photo-label { font-size: 21px; padding: 16px; }
  .slides_container, .slides_container a, .slides_container a img { height: 230px; }
  .slider_left, #example { height: 260px; }
  #slides .prev, #slides .next { top: 80px; }
  .populaire_themas { flex-direction: column; }
  .thema_popu { flex: auto; }
  footer#footer { display: block; }
  footer#footer .box ul { display: flex; flex-wrap: wrap; gap: 12px; }
  footer#footer .box ul li { margin: 0; }
  .results #left-bar { float: none; width: 100%; margin-bottom: 22px; }
  .results #left-bar ul { display: flex; flex-wrap: wrap; gap: 5px 15px; }
  .results #left-bar ul li { border: 0; }
  .results #right-content { width: 100%; float: none; margin: 0; }
  #categories-list { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .advertisement_content { width: 100%; }
  #content h1 { font-size: 24px; }
}
@media (max-width: 380px) { #categories-list { grid-template-columns: 1fr; } }
