/* vaatheelkunde-leuven.be - gebaseerd op Defaults/Global.css van de oude site */

*, *::before, *::after { box-sizing: border-box; }
img { border: 0; max-width: 100%; height: auto; }

body {
  font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
  font-size: 12px;
  line-height: 1.45;
  margin: 0;
  color: #202020;
  background: #fff url(/images/layout/background.jpg) repeat-x;
}

h1 { margin: 0; padding: 0 0 6px; font-size: 16px; }
h2 { margin: 0; padding: 6px 0; font-size: 14px; }
h3 { margin: 0; padding: 6px 0; font-size: 12px; }
h4 { margin: 0; padding: 6px 0; font-size: 12px; font-weight: normal; font-style: italic; }
p { margin: 0 0 10px; }
ul { margin: 0 0 10px; padding-left: 20px; }
figure { margin: 0 0 10px; }
figcaption { font-size: 11px; color: #555; padding-top: 4px; }

a:link, a:visited { color: #000; text-decoration: underline; }
a:hover { text-decoration: none; }
a:focus-visible, button:focus-visible { outline: 2px solid #00aef0; outline-offset: 2px; }

.visually-hidden, .skip:not(:focus) {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
.skip:focus { position: absolute; top: 8px; left: 8px; background: #fff; padding: 6px 10px; z-index: 10; }

.center { text-align: center; }
.right { float: right; margin: 0 0 12px 20px; }
.clear { clear: both; }

/* Knop (vervangt <a><input type=button></a> van de oude site) */
a.btn:link, a.btn:visited {
  display: inline-block; margin: 2px 0 2px 6px; padding: 4px 12px;
  background: #00d668; color: #fff; text-decoration: none; border-radius: 3px;
  font-size: 12px; white-space: nowrap;
}
.section1 a.btn { background: #00aef0; }
.section3 a.btn { background: #f01500; }
a.btn:hover { filter: brightness(0.92); }
p > a.btn:first-child { margin-left: 0; }
ul.plain { list-style: none; padding: 0; }
ul.plain li { padding: 3px 0; }
iframe.map { display: block; max-width: 100%; border: 0; }

/* Header ------------------------------------------------------------------ */

#header { max-width: 770px; margin: 14px auto 0; padding: 0 0 10px; }
#logo { display: inline-block; }
#logo img { display: block; width: 381px; }

/* Wrapper ----------------------------------------------------------------- */

#wrapper { max-width: 730px; margin: 0 auto; position: relative; }

#vakgebieden {
  position: absolute; left: -170px; top: 2px; margin: 0; padding: 0;
  list-style: none; color: #fff; font-size: 14px; line-height: 1.3;
}

#mainimages { display: flex; }
#mainimages img { width: 243px; flex: 1 1 0; display: block; min-width: 0; }

/* Menu -------------------------------------------------------------------- */

#menutop {
  display: flex; height: 70px;
  background: url(/images/layout/menu-top.jpg) no-repeat; background-size: 100% 100%;
}
.menuhead {
  flex: 1 1 0; width: 243px; margin: 0; padding: 15px 0 0 20px;
  background: none; border: 0; text-align: left; font: inherit; color: #fff; cursor: pointer;
  display: flex; flex-direction: column; justify-content: flex-start; align-items: flex-start;
}
.menuhead span { display: block; font-size: 24px; font-weight: normal; line-height: 1; }
.home .menuhead { cursor: default; }

/* homepage: drie kolommen met de hoofdrubrieken */
#menuhome {
  display: flex; padding: 0 0 35px;
  background: url(/images/layout/menu-bottom-home.jpg) left bottom; background-size: 100% auto;
}
#menuhome ul { flex: 1 1 0; list-style: none; margin: 0; padding: 20px; }

/* andere pagina's: uitklappaneel per rubriek */
.menupanel { padding: 0 0 35px; background: url(/images/layout/menu-bottom.jpg) left bottom; background-size: 100% auto; }
.menupanel[hidden] { display: none; }
.menupanelinner { display: flex; flex-wrap: wrap; }
#menupanel1 .menupanelinner { border-bottom: 7px solid #00aef0; }
#menupanel2 .menupanelinner { border-bottom: 7px solid #00d668; }
#menupanel3 .menupanelinner { border-bottom: 7px solid #f01500; }
.menucol { padding: 10px 10px 20px 20px; }
.menucol ul { list-style: none; margin: 0; padding: 10px 0 0; }

a.section1, a.section2, a.section3 {
  display: block; margin: 6px 0; padding: 0 0 0 18px;
  font-size: 15px; color: #404040; text-decoration: none;
}
a.section1 { background: url(/images/layout/bullet-blauw.gif) no-repeat left 3px; }
a.section2 { background: url(/images/layout/bullet-groen.gif) no-repeat left 3px; }
a.section3 { background: url(/images/layout/bullet-rood.gif) no-repeat left 3px; }
a.section1:hover, a.section2:hover, a.section3:hover { color: #000; text-decoration: underline; }

a.sub { display: block; margin: 2px 0; padding: 0 0 0 18px; font-size: 12px; color: #202020; text-decoration: none; }
a.sub:hover { text-decoration: underline; }
a[aria-current="page"] { font-weight: bold; color: #000; }

/* Inhoud ------------------------------------------------------------------ */

#content { display: block; padding: 24px 0; }
#content::after { content: ""; display: block; clear: both; }
.home #content { padding: 0; }

.pagetext { padding: 0 0 20px 25px; }
.withphoto .pagetext { margin-left: 240px; }

.pagetext h1 {
  color: #808080; font-size: 14px; text-transform: lowercase; font-weight: normal;
  padding: 0 0 0 18px;
}
.section1 .pagetext h1 { background: url(/images/layout/bullet-blauw.gif) no-repeat left 3px; }
.section2 .pagetext h1 { background: url(/images/layout/bullet-groen.gif) no-repeat left 3px; }
.section3 .pagetext h1 { background: url(/images/layout/bullet-rood.gif) no-repeat left 3px; }

.pagetext h2 { font-size: 22px; font-weight: normal; padding: 0 0 18px 18px; }
.section1 .pagetext h2 { color: #00aef0; }
.section2 .pagetext h2 { color: #00d668; }
.section3 .pagetext h2 { color: #f01500; }

.pagetext h3 { font-size: 16px; font-weight: normal; padding: 12px 0; color: #000; }

/* Foto + naam (artsenpagina's) */
#itemcontainer { float: left; width: 240px; background: #ececeb; margin: 0 0 24px; }
#itemcontainer img { display: block; width: 240px; }
#itemcontainer p { font-size: 18px; padding: 12px 6px 18px 12px; margin: 0; }
.section3 #itemcontainer { border-bottom: 14px solid #f01500; }

/* Footer ------------------------------------------------------------------ */

#footerwrapper { clear: both; background: #d7d5d5; padding: 50px 10px; min-height: 300px; }
#footer { max-width: 770px; margin: 0 auto; text-align: center; font-size: 11px; }

/* Kleinere schermen ------------------------------------------------------- */

@media (max-width: 1120px) {
  #vakgebieden { display: none; }
}

@media (max-width: 760px) {
  #header, #wrapper { padding-left: 10px; padding-right: 10px; }
  #logo img { width: 260px; }
  .menuhead { padding: 12px 0 0 10px; }
  .menuhead span { font-size: 18px; }
  #menuhome ul { padding: 14px 10px; }
  .pagetext { padding: 0 0 20px; }
  .withphoto .pagetext { margin-left: 0; }
  #itemcontainer { float: none; margin: 0 auto 24px; }
  .right { float: none; display: block; margin: 0 0 12px; }
}

@media (max-width: 520px) {
  #menuhome { flex-direction: column; background: #f4f4f4; padding-bottom: 10px; }
  #content { padding-top: 40px; }
  #menuhome ul { padding: 6px 10px; }
  .menuhead span { font-size: 15px; }
  .menucol { flex: 1 1 100%; padding: 6px 10px 10px; }
  .pagetext h2 { font-size: 19px; padding-left: 0; }
  .pagetext h1 { padding-left: 18px; }
  a.btn:link, a.btn:visited { margin-left: 0; white-space: normal; }
}

@media print {
  body { background: none; }
  #menutop, .menupanel, #menuhome, #mainimages, #vakgebieden, .skip { display: none !important; }
  #footerwrapper { min-height: 0; padding: 10px 0; background: none; }
}
