/* @import url(fonts.css); */

html,
body,
div,
span,
h1,
h2,
h3,
h4,
h5,
h6,
p,
dl,
dt,
dd,
li,
form {
    margin: 0;
    padding: 0;
}

ol,
ul {
    margin: 0;
}

hr {
    border: 0;
    /* border-top: 1px solid #888; */
    margin-block-start: 2rem;
    margin-block-end: 1rem;
}

body {
    font-family: "Open_SansRegular", "Helvetica Neue", Helvetica, Arial, sans-serif;
    background: url(/grfx/background-seadatanet.jpg) no-repeat #d9e3ed;
    background-position: top center;
    font-size: 0.9em;
    color: #3c5068;
}

div.text-block > div > p,
main > p {
    margin-top: 5px;
    margin-bottom: 5px;
}

a {
    color: hsl(194, 99%, 35%);
    text-decoration: underline;
    cursor: pointer;
}

a:hover {
    color: #004f9e;
}


.wrapper {
    max-width: 1200px;
    height: auto;
    margin: auto;
    background-position: center top;
}

header {
    position: relative;
    width: 100%;
    padding-top: 10px;
    padding-bottom: 10px;
    margin-bottom: 1.7rem;
    background-color: white;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
}

header .header-content {
    --padding-x: 1rem;

    padding-left: var(--padding-x);
    padding-right: var(--padding-x);

    position: relative;
    width: calc(100vw - 2 * var(--padding-x));
    max-width: 1200px;
    margin: 0 auto;
    

    display: flex;
    flex-direction: row;
    justify-content: space-between
}

header #logo {
    width: 180px;
    border-right: 1px solid #e2ebf2;
    padding-right: 1rem;
}

header #logo img {
    height: 100%;
    width: 100%;
    object-fit: contain;
    object-position: center;
}

header #header_title {
    color: #2249a6;
    font-size: 0.85em;
    font-weight: 300;
    text-transform: uppercase;
    padding-left: 1rem;
    flex-grow: 1;
}

header #header_title .c_content {
    letter-spacing: 0.01em;
    max-width: 40ch;
    position: relative;
    top: 50%;
    transform: translateY(-50%);
}

header #cdi_title {
    display: flex;
    align-items: center;
}

header #cdi_title h1 {
    font-size: 1.3em;
    color: #003b8d;
    text-transform: uppercase;
    font-family: "Open_sansbold", "Helvetica Neue", Helvetica, Arial, sans-serif;
    text-align: right;
}

@media screen and (max-width: 768px) {
    header #cdi_title h1 {
        font-size: 1em;
    }
    header #header_title {
        font-size: 0.8em;
    }
}




main h2,
main h3,
main h4 {
    font-size: 1.3em;
    color: #3c5068;
    margin-top: 0.75rem;
    margin-bottom: 0.5rem;
    font-family: "open_sansregular", "Helvetica Neue", Helvetica, Arial, sans-serif;
    /* text-transform: uppercase; */
}

main h4 {
    font-size: 1.1em;
    margin-top: 1.5rem;
}

main h5 {
    font-size: 1em;
    margin-top: 1rem;
}

main h2 {
    color: #003b8d;
    left: 20px;
    bottom: 1px;
    font-family: "OpenSans-ExtraBold", "Helvetica Neue", Helvetica, Arial, sans-serif;
    /* text-transform: Uppercase; */
    line-height: 1;
    margin-bottom: 20px;
    font-size: 27px;
}

main {
    padding: 20px;
    padding-top: 0px;
    min-height: 100vh;
}

.btn.cdi-btn,
button.cdi-btn {
    border: 0;
    background-color: #003b8d;
    color: white;
    text-align: center;
    padding: 10px 15px;
    border-radius: 3px;
    cursor: pointer;
}
.btn.cdi-btn:hover,
button.cdi-btn:hover {
    background-color: #004f9e;
}

.btn.cdi-btn::after,
button.cdi-btn::after {
    content: ' ';
    width: 1em;
    height: 1em;
    margin-left: 0.5rem;
    display: inline-block;
    vertical-align: baseline;
    margin-bottom: -1px;
    background-image: url(/grfx/chevron-right-solid.svg);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

div.text-block {
    display: flex;
    flex-direction: row;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

div.text-block > div {
    flex: 0 50%;
    padding-right: 1rem;
}

@media screen and (max-width: 768px) {
    div.text-block {
        grid-template-columns: 1fr;
        flex-direction: column-reverse;
    }
}


div.image-block {
    display: block;
    text-align: center;
    /* margin-top: 1rem;*/
    margin-bottom: 1rem; 
}
div.image-block a {
    text-decoration: none;
}

div.image-block img {
    box-shadow: 1px 1px 19px -6px rgba(115, 115, 115, 1);
    border-radius: 3px;
    object-fit: cover;
    object-position: center;
    margin-bottom: 0.25rem;
}

div.image-block a {
    display: inline-block;
    width: 50%;
    min-width: 512px;
}

div.image-block img,
div.image-block button {
    display: block;
    width: 100%;
    height: auto;
}

div.image-block:hover img {
    opacity: 0.8;
}

@media screen and (max-width: 768px) {
    div.image-block a {
        width: 100%;
        min-width: 1px;
    }
}

.container {
    height: 100%;
    display: flex;
    display: -webkit-flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: flex-start;
    align-items: auto;
    align-content: flex-start;
    margin-bottom: 30px;
    margin-top: 20px;
}

.item {
    flex: 2 0 auto;
    margin: 0px 25px;
    position: relative;
    color: #fff;
    transform: perspective(1px) translateZ(0);
    transition-duration: 0.3s;
}

.item h3 {
    margin-bottom: 20px;
}

.container a:hover {
    opacity: 0.7;
}

.zoekpagina {
    background: url(/grfx/search.png) no-repeat #fff;
    background-size: inherit;
    height: 400px;
    background-position: top center;
    background-size: 100% auto;
    box-shadow: 1px 1px 19px -6px rgba(115, 115, 115, 1);
    background-size: cover;
}

.sparql {
    background: url(/grfx/sparql.png) no-repeat #fff;
    background-size: inherit;
    height: 400px;
    background-position: top center;
    background-size: 100% auto;
    box-shadow: 1px 1px 19px -6px rgba(115, 115, 115, 1);
    background-size: cover;
}



.item p {
    padding: 10px;
    box-sizing: border-box;
    position: absolute;
    bottom: 0;
    background: #003b8d;
    color: #fff;
    width: 100%;
    text-align: center;
    margin: 0;
}

.item p a {
    color: #fff;
    text-align: center;
    font-weight: bold;
    text-decoration: none;
}

.item p a:hover {
    text-decoration: underline;
}

.item:first-child {
    margin-left: 0px;
}

.item:last-child {
    margin-right: 0px;
}

footer {
    background-color: #fff;
    text-align: center;
    padding: 36px 20px;
    margin-top: 20px;
}


@media screen and (max-width: 1080px) {

    .zoekpagina,
    .sparql {
        /* background-size:100% auto!important;      */
        background-size: cover !important;
        width: 100%;
        height: 250px;
    }

}


@media screen and (max-width: 1050px) and (min-width: 900px) {

    header h1 {
        max-width: 450px;
        top: 30px;
        right: 20px;
    }

}


@media only screen and (min-width: 769px) and (max-width: 1000px) {

    .wrapper {
        max-width: 800px;
    }

    header h1 {
        max-width: 350px;
        top: 20px;
        right: 0;
    }

}


@media only screen and (min-width: 481px) and (max-width: 768px) {

    .wrapper {
        max-width: 600px;
    }

    header h1 {
        top: 135px;
        font-size: 1.1em;
        left: 20px;
    }

    main h2 {
        margin-top: 30px;
    }

    /* .zoekpagina, .sparql  { height:280px; } */

    .item {
        margin: 0px 15px;
    }
}


@media only screen and (max-width: 495px) {

    #wrapper {
        background: #fff;
        width: 405px;
        max-width: 100%;
    }

    .item h3 {
        display: none;
    }

    .zoekpagina,
    .sparql {
        height: auto;
        background: none;
    }

    main h2 {
        position: relative;
        left: auto;
        bottom: auto;
    }

    .item {
        margin: 0;
    }

    .container {
        margin-top: 60px;
    }

    .item p {
        border-right: 1px solid #fff;
        font-size: 0.9em;
        height: 60px;
        vertical-align: middle;
        text-align: center;
        margin-top: 60px;
    }

    .item:last-child {
        border: none;
        margin-top: 20px;
    }


}