/*
 * Theme Name: Theme for MINIS-CIM
 * Theme URI: https://www.clever-web.be
 * Author: Koen De Wit
 * Author URI: https://www.clever-web.be
 * Description: Theme for MINIS-CIM
 * Version: 1.0
 * License: GNU General Public License v2 or later
 * License URI: http://www.gnu.org/licenses/gpl-2.0.html
 * Tags: featured-images
 * */

html {
    overflow-y: scroll;
    font-size: 18px;
    font-family: Verdana, arial, sans-serif;
}

@media (max-width: 1439px) { html { font-size: 17px; } }
@media (max-width: 1359px) { html { font-size: 16px; } }
@media (max-width: 1279px) { html { font-size: 15px; } }
@media (max-width: 1199px) { html { font-size: 14px; } }
@media (max-width: 1119px) { html { font-size: 13px; } }
@media (max-width: 1039px) { html { font-size: 12px; } }

p, h4, ol, ul, li { line-height: 160%; text-align: justify; }
p, h4, ol, ul { margin-bottom: 1rem; }
ol { list-style-type: decimal; }
ul { list-style-type: disc; }
ol li, ul li { margin-left: 3rem; }

a { color: blue; text-decoration: none; }
a:hover { text-decoration: underline; }

a#header {
    display: block;
    position: relative;
    margin: 0 0 0 10%;
}

img {
    border: 0;
}

img#logo {
    display: block;
    height: 5rem;
    width: auto;
    margin: 1rem 1rem 1rem 0;
}

p#sitetitle {
    position: absolute;
    z-index: 1;
    left: 3.5rem;
    top: 3rem;
    font-weight: bold;
    font-size: 1.2rem;
    color: black;
    letter-spacing: .1rem;
}

ul#language_switcher {
    display: block;
    position: absolute;
    z-index: 1;
    right: 9%;
    top: .5rem;
    width: 18.5rem;
    list-style-type: none;
    margin: 0;
}

ul#language_switcher li {
    display: inline-block;
    width: 9rem;
    margin: 0;
}

ul#language_switcher li a {
    display: inline-block;
    width: 8rem;
    margin: 0;
    padding: .2rem .5rem;
    text-decoration: none;
    color: black;
}

ul#language_switcher li a:hover {
    text-decoration: none;
    background-color: #829a22;
}


div#menu {
    background-color: #45521d;
    border-bottom: solid .2rem white;
    margin: 0; padding: 0 10%;
}

div#menu > ul {
    display: block;
    position: relative;
    list-style: none;
    background-color: #45521d;
    margin: 0 0 0 -1rem; padding: 0;
}

div#menu > ul > li {
    display: inline-block;
    margin: 0; padding: 0;
}

div#menu > ul > li > a {
    display: block;
    padding: .6rem 1rem;
    margin: 0;
    color: white;
    text-decoration: none;
    border-right: .2rem solid white;
}

div#menu > ul > li > ul {
    display: none;
    list-style: none;
    background-color: #45521d;
    position: absolute;
    top: 100%;
    margin: 0;
}

div#menu > ul ul > li {
    display: block;
    clear: both;
    border-top: .2rem solid white;
    border-right: 0;
    position: relative;
    margin: 0; padding: 0;
}

div#menu > ul ul > li > a {
    display: block;
    padding: .6rem 1rem;
    margin: 0;
    color: white;
    text-decoration: none;
}

div#menu a:hover {
    background-color: #829a22;
}

img#banner {
    width: 100%;
    height: auto;
}

div#pagecontents {
    padding: 1rem 10%;
}

h1 {
    font-size: 2rem;
    font-weight: normal;
    color: #444;
    padding: .5rem 0 .5rem 1rem ;
    margin: 2rem 0 2rem 0;
    border-left: solid 1rem #45521d;
}

h2 {
    font-size: 1.2rem;
    font-weight: bold;
    padding: 0;
    margin: 1.5rem 0 1rem 0;
}

h2 > a {
    color: black;
}

h3 {
    font-size: 1rem;
    font-weight: bold;
    padding: 0;
    margin: 1rem 0 1rem 0;
}

h4 {
    font-size: 1rem;
    font-weight: normal;
    font-style: italic;
    padding: 0;
    margin: 0 0 .5rem 0;
}

p {
    margin: 0 0 1rem 0;
}

.alignright { float: right; margin: 0 0 1rem 1rem; }
.alignleft { float: left; margin: 0 1rem 1rem 0; }
.aligncenter { display: block; margin: 1rem auto; }


div#subfooter {
    clear: both;
    background-color: #ddd;
    padding: 1rem;
    margin: 1rem 0 0 0;
}

div#subfooter table { width: 100%; }
div#subfooter tr, div#subfooter td { vertical-align: middle; }
div#subfooter tr td:last-child { text-align: right; }
div#subfooter p { margin: 0; }
div#subfooter p.copyright { margin: 0; font-size: .75rem; }
div#subfooter p.copyright a { color: black; text-decoration: underline; font-size: .75rem; }
div#subfooter p.copyright a:hover { color: blue; }

.socialShare, .printButton {
    display: inline-block;
    margin: 0 0 0 .5em;
    padding: .8em 1em .7em 1em;
    color: white !important;
    text-align: center;
    text-decoration: none !important;
}
.fbShare { background-color: #3b5998; margin-left: 0; }
.fbShare:hover, .fbShare:active { background-color: #2f4779; }
.twShare { background-color: #55acee; }
.twShare:hover, .twShare:active { background-color: #4c9ad6; }
.gpShare { background-color: #d03f2d; }
.gpShare:hover, .twShare:active { background-color: #ab3425; }
.printButton { margin: 0; background-color: #BFBFBF; }
.printButton:hover, .printButton:active { background-color: #9F9F9F; }

div.eventbox {
    float: right;
    width: 16rem;
    height: 22rem;
    overflow: hidden;
    margin: 2rem 0 1rem 2rem;
    background-color: #45521d;
    position: relative;
}

div.eventbox_titel {
    width: 16rem;
    height: 2rem;
    overflow: hidden;
    color: white;
    padding: .5rem 0 0 1rem;
    text-transform: uppercase;
    background-color: #45521d;
    position: absolute;
    top: 0; left: 0;
    z-index: 1;
}

div.eventbox .controls {
    height: 2rem;
    position: absolute;
    right: 0; top: 0;
    z-index: 2;
}

div.eventbox .controls div {
    width: 2rem;
    height: 2rem;
    overflow: hidden;
    display: inline-block;
    background-color: gray;
    border: solid #45521d 0;
    cursor: pointer;
    color: #45521d;
    font-size: 1.8rem;
    text-align: center;
}

div.eventbox .controls div:last-child { border-left-width: 1px; }

#eventbox_list {
    position: absolute;
    top: 2.5rem; left: 0;
}

div.eventbox a {
    display: block;
    height: 4.5rem;
    width: 14rem;
    padding: 1rem 1rem;
    overflow: hidden;
    border-style: dashed;
    border-color: white;
    border-width: 0 0 .1rem 0;
    text-decoration: none;
    color: white;
}

div.eventbox a:hover { background-color: #829a22; }

div.eventbox h2 {
    font-size: 1rem;
    font-weight: bold;
    margin: 0 0 .5rem 0;
}

div.eventbox a p {
    font-size: 1rem;
    margin: 0;
    height: 3.2rem;
    overflow: hidden;
    text-align: left;
}

div#footer {
    clear: both;
    background-color: #45521d;
    padding: .5rem 1rem;
    margin: 0;
    color: white;
}

div#footer p { margin: 0; }
div#footer a { color: white; text-decoration: underline; }
div#footer a:hover { color: #d7ff38; }