/*
 * Main Styles
 */
body { background-color: #e1e1e1; font-family: arial, sans-serif; font-size: 12.5px; }

div#maincontainer { width: 100%; max-width:1024px;min-height: 500px;margin-left:auto;margin-right:auto;border:1px solid #eee;box-shadow: 0 0 5px #ddd; background-color: white;}
div#header { width: 100%; max-width:1024px; background-color: #2f4876; }
div#contentcontainer { padding: 5px 10px; }
div.messagecontainer {padding:0 80px 40px;}

/* header styles */

div#header-top div#background {
    position: relative;
    width: 100%;
    background: #E1E4EF;
}

div#header-top div#header-nav-top {
    position:absolute;
    top: 10px;
    right:15px;
    z-index:3;
    display: flex;
    justify-content: end;
}

div#header-top div#header-nav-top * {
    color: #33367e;
    font-size: 15px;
    margin-left: 10px;
    display: block;
    width: fit-content;
}

div#header-top div#header-nav-top a {
    text-decoration: underline;
}
div#header-top div#header-nav-bottom {
    margin-top: 15px;
    text-align: center;
}

@media screen and (max-width: 768px){
    #header-nav-bottom {
        padding: 0 5px 20px;
    }
}

div#header-top div#header-nav-bottom a {
    color: #33367e;
    font-size: 15px;
    display:inline-block;
    padding: 7px 15px;
    text-decoration: none;
    margin-left: 7px;
    max-height: 36px;
    line-height: 18px;
}
div#header-bottom > div > a{
    display: none;
}
div#header-bottom {
    /*margin-top: -15px;*/
}
div#header-bottom,
div#fixed-header {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    background-color: #33367e;
    width: 100%;
    max-width:1024px;
    position: relative;
    min-height: 90px;
}

div#fixed-header {
    position:fixed;
    top: 0;
    z-index:999;
}

a.extra_info_fancy {
    display: inline-block;
    padding: 1px 6px;
    background-color: #4d63ac;
    color: white;
    font-weight: bold;
    font-style: italic;
    font-size: smaller;
    line-height: 12px;
    vertical-align: top;
}

#headterm-extra-info-icon {
    /* background-color: transparent; */
    line-height: 15px;
    padding-left: 4px;
}

input, textarea {
    font-family: arial, sans-serif;
    font-size: 12px;
}

div#header-bottom input,
div#fixed-header input {
    margin-top: 25px;
    height:36px;
    width: 400px;
    padding: 3px 12px;
    font-size: 24px;
    vertical-align: middle;
    border-radius: 20px;
    border: none;
}

div#header-bottom span.header-bottom-button,
div#fixed-header span.header-bottom-button {
    margin-top: 25px;
    display: inline-block;
    vertical-align:middle;
    background-color: #718AB6;
    border-radius: 20px;
    padding: 7px 20px;
    cursor: pointer;
    color: white;
    font-size: 20px;
    line-height: 24px;
    margin-left: 8px;
}

.header-main-zoek-container { display:inline; }

div#header-bottom span#lang-search-option,
div#fixed-header span#lang-search-option {
    display: inline-block;
    background-color: #718AB6;
    color: white;
    font-weight: bold;
    bottom: 4px;
    left: 606px;
    padding: 2px 5px;
    border-radius: 8px;
    cursor: pointer;
    position: absolute;
}
@media (max-width: 524px) {
    div#header-bottom span.header-bottom-button,
    div#fixed-header span.header-bottom-button {
        margin:5px;
        margin-top: 30px;
        padding: 5px 16px;
    }

    div#header-bottom span#lang-search-option,
    div#fixed-header span#lang-search-option {
        margin: 5px 13px !important;
    }
    div#header-bottom input#header-zoeken {
        width: 70%;
    }
}
@media (max-width: 1024px) {
    div#header-bottom span#lang-search-option,
    div#fixed-header span#lang-search-option {
        position: unset;
        margin:1px auto 0;

    }
}
/* content container styles */
div#contentcontainer div#dictionary-selecion-container, div#contentcontainer div#content {
    float:left;
    padding: 5px;
    line-height: 1.5em;
}

div#contentcontainer div#dictionary-selecion-container {
    padding: 5px 15px;
    max-width: initial;
}

div#contentcontainer div#dictionary-selecion-container a {
    text-decoration: none;
    color: #33367e;
}

div#contentcontainer div#content {
    max-width: 900px;
    margin-top: 30px;
}

div#contentcontainer div#dictionary-selecion-container > * {
    padding-left: 0;
    padding-right: 0;
}

div#contentcontainer div#dictionary-selecion-container div.button {
    background-color: #E1E4EF;
    color: #33367e;
    font-weight: bold;
    border-radius: 20px;
    padding: 0;
    text-align: center;
    line-height: 40px;
    cursor: pointer;
    margin: 0.5em 0.5em 0;
}

div#contentcontainer div#dictionary-selecion-container > *:first-child div.button {
    margin-top: 0;
}

div#contentcontainer div#dictionary-selecion-container > a > div {
    padding: 0 1em;
}
div#contentcontainer div#dictionary-selecion-container div.active a {
    color: white;
}

div#contentcontainer div#dictionary-selecion-container div.active {
    color: #fff;
    background-color: #718AB6;
}

div#contentcontainer div#dictionary-selecion-container div.auth_false {
    color: white;
    background-color: #cccccc;
    cursor: default;
}

/* lemma styles */
div#contentcontainer div#content div#left-column {
    float: left;
    margin-left: 20px;
    width: 425px;
}

div#contentcontainer div#content div#right-column {
    float: right;
    width: 425px;
    margin-top: 20px;
}

div#contentcontainer div#content div#example, div#contentcontainer div#content div#references {
  padding-left: 15px;
  border-left: 2px solid #374880;
}

div#contentcontainer div#content div#example {
    /*margin-top: 20px;*/
}
.example-container .meaning {
    display: block;
}
div#content .meaning {
    color: #4d63ac;
}

div#content p.meaning{
    margin-bottom:0;
}

div#right-column a {
    color: #374880;
}
div#headterm-lemma h2{
    font-size:17px;
    font-weight:bold;
    margin-top: 0;
}
img.herkomst_flag {
    height: 14px;
}

h2 {
    color: #374880;
    font-size: 16px;
    font-weight:normal;
}

span.highlight {
    display: inline-block;
    padding: 2px 0px;
    background-color: #4d63ac;
    color: #fff;
}

.speakerbutton {
    background-image: url("../img/speakerbutton.png");
    border: none;
    width: 16px;
    height: 14px;
    cursor: pointer;
    opacity: 0.8;
    background-color: #fff;
    background-position: bottom;
    vertical-align: top;
}

.ui-autocomplete { border-radius: 20px;scrollbar-width: none;-ms-overflow-style: none;padding:0; margin:0; list-style:none; background:#fff; border:1px solid #ccc; width:140px; max-height:210px; overflow-y:auto; overflow-x: hidden;z-index:150;}
.ui-autocomplete::-webkit-scrollbar{display: none;}
.ui-autocomplete a { display:inline-block; padding:5px; width: 100%; cursor:pointer;}
.ui-state-hover { background-color:#2F4876; color: white; }
.ui-tabs-hide { display:none; }

/* Toegevoegd om alles responsive te maken */

#overigevoorbeeldzinnen + div,
#voorbeeldzinnen + div {
    margin-top: 20px;
}
#overigevoorbeeldzinnen,
#voorbeeldzinnen {
    margin-top: -120px;
    padding-top: 120px;
    margin-bottom: 2em;
    display: inline;
}
@media (max-width: 532px) {
    #overigevoorbeeldzinnen,
    #voorbeeldzinnen {
        margin-top: -180px;
        padding-top: 180px;
    }
}
#headterm-lemma {
    margin-left: 20px;
    width: 100%;
    max-width: 425px;
}
#lemma {
    margin-left: 20px;
    width: 100%;
    max-width:425px;
}
@media (max-width: 992px) {
    div.messagecontainer {
        padding: 0 5px;
    }
    div#contentcontainer.homepage > div#content {
        margin-left: 0;
    }
}
@media (max-width: 768px) {
    div#contentcontainer div#dictionary-selecion-container > a > div {
        padding: 0.5em 0;
    }
}
@media (min-width: 992px) {
    div#contentcontainer div#dictionary-selecion-container div.button {
        /*max-width: 80px;*/
        /*margin: 1em 0 0 0;*/
    }
    div#contentcontainer div#dictionary-selecion-container {
        margin-top: 30px;
    }
}
#background-overlay {
    width: 100%;
    max-width: 1024px;
    min-height: 203px;
    background-color: transparent;
}
div#background-overlay > div#header-nav-top {
    min-height: 25px;
    text-align: right;
    position: static;
    text-decoration: none;
    margin-bottom: 10px;
    padding-top: 15px;
}
div#header-top div#background {
    height: auto;
}
#logo {
    width: 100%;
    overflow: hidden;
    height: 100px;
}
#logo > .bedrijf {
    text-align: center;
    max-width: 100%;
    padding: 0;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}
#logo > .bedrijf > img {
    margin-left: 50px;
}
#logo > .bedrijf img {
    max-width: 100%;
    height: 50px;
}
#logo > .bedrijf.block-logo img {
    height: 100px;
}

#logo > .bedrijf.mobile-block {
    display: none;
}
#logo > .bedrijf.desc-block {
    display: flex;
}
@media (max-width: 600px) {
    div#logo .secondImage {
        padding: 0 5px;
    }
}
@media (max-width: 768px) {
    #logo { text-align: center; height:auto; }
    #logo  .bedrijf {
        display: flex;
        /*width: 100%;*/
        height: 60px;
        margin: auto;
        justify-content: center;
    }
    #logo  .bedrijf img {
        max-width: 100%;
        max-height: 50px;
        height: auto;
        margin:auto;
    }
    #logo > .bedrijf:last-of-type {
        text-align: center;
        padding: 0 0 0 0;
    }


    #logo > .bedrijf.jel-logo {
        width: 100%;
    }
    #logo > .bedrijf.desc-block {
        display: none;
    }
    #logo > .bedrijf.mobile-block {
        display: flex;
    }


}
#content img {
    max-width: 100%;
}
#menu-button {
    display: none;
    cursor: pointer;
    padding: 5px;
    height: 20px;
    margin: 0;
}
#menu-bar {
    text-align: right;
    padding-right: 20px;
    padding-bottom: 10px;
}
/* Adding a overflow parameter makes floats count for height */
#contentcontainer {
    overflow: auto;
}

@media (max-width: 500px) {
    #menu-button {
        display: inline-block;
    }
    #header-nav-bottom {
        display: none;
    }
    #menu-hider:checked ~ #header-nav-bottom {
        display: block;
    }
}
#menu-button {
    position: relative;
    padding-left: 1.25em;
}
#menu-button:before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.25em;
    width: 1.5em;
    height: 0.3em;
    background: #33367e;
    box-shadow:
        0 0.5em 0 0 #33367e,
        0 1em 0 0 #33367e;
}
.word {
    margin: 0;
}
a.ui-corner-all {
    color: black;
}
a.ui-corner-all.ui-state-hover {
    color: white;
    text-decoration: none;
}
#references a {
    color: #374880;
    text-decoration: underline;
}
.voorstel {
    margin-top: 1em;
}

/* Voorstel contact form */
#contact-container {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}
#voorstel-contact-submitted,
#voorstel-contact {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    padding: 1em;
    top: 50%;
    left: 50%;
    transform: translateY(-50%);
    transform: translateY(-50%) translateX(-50%);
    background: #e1e1e1;
    resize: both;
    overflow: auto;
    color: #33367e;
    border-radius: 3px;

    /* https://www.cssmatic.com/box-shadow */
    -webkit-box-shadow: 0px 0px 26px 6px rgba(0,0,0,0.57);
    -moz-box-shadow: 0px 0px 26px 6px rgba(0,0,0,0.57);
    box-shadow: 0px 0px 26px 6px rgba(0,0,0,0.57);
}
#voorstel-contact > label {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
}
#voorstel-contact > label > select,
#voorstel-contact > label > input,
#voorstel-contact > label > span {
    width: 50%;
}
#voorstel-contact > label > textarea,
#voorstel-contact > label > input {
    padding: 0 0.5rem;
}
#voorstel-contact > label > textarea,
#voorstel-contact > label > select,
#voorstel-contact > label > input {
    border-radius: 3px;
    border: 0;
}
#voorstel-contact > label > textarea {
    width: 100%;
    resize: none;
}
#voorstel-contact > label.textarea {
    flex-direction: column;
    flex: 1;
}
*::-ms-backdrop, #voorstel-contact > label.textarea {
    flex: auto;
    min-height: 50px;
}
#voorstel-contact > label.textarea > textarea {
    flex: 1;
}
.contact-container {
    position: relative;
}
.kader {
    border: 2px solid #2f4876;
    padding: 1em;
    padding-bottom: 0;
    margin: 1em 0;
}
.nlde .kader,
.ennl .kader,
.nlen .kader {
    border-color: red;
}
ul.no-indent {
    list-style: inside;
    padding: 0;
}
ul.indented-li > li::before {
    padding-left: 2em;
    content: "";
}

#voorbeeldzinnen + .col-sm-6 {
    padding-left: 20px;
}

.t-extra-info-container, .e-extra-info-container {
    font-size: 12.5px !important;
    color: #333 !important;
    line-height: 1.5em !important;
}

.taalunie-block {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 5px;
    font-size: 10px;
}
.taalunie-block > div {
    padding: 0;
}
.taalunie-block p {
    margin: 0;
}
.meer-block .btn-back {
    display: block;
    width: fit-content;
    padding: 5px 15px;
    background-color: #33367e;
    color: #fff;
    border-radius: 20px;
    border: none;
}
.meer-block .btn-back:hover {
    text-decoration: none;
}
.meer-block a:not(.btn-back) {
    text-decoration: underline;
}

#fancybox-content {
  /*  box-sizing: content-box !important; */
}

#fancybox-content > div {
    overflow: hidden !important;
}

    .survey-popup-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 9999;
        justify-content: center;
        align-items: center;
    }
    
    .survey-popup {
        background-color: white;
        padding: 30px;
        border-radius: 10px;
        max-width: 500px;
        width: 90%;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        position: relative;
        text-align: center;
    }
    
    .survey-popup h2 {
        color: #333;
        margin-bottom: 20px;
        font-size: 24px;
    }
    
    .survey-popup p {
        color: #666;
        margin-bottom: 25px;
        line-height: 1.5;
    }
    
    .survey-buttons {
        display: flex;
        gap: 15px;
        justify-content: center;
    }
    
    .survey-button {
        padding: 12px 30px;
        border: none;
        border-radius: 30px;
        cursor: pointer;
        font-size: 16px;
        font-weight: bold;
        transition: background-color 0.3s;
    }
    
    .survey-button-primary {
        background-color: #33367e;
        color: white;
    }
    
    .survey-button-primary:hover {
        background-color: #33367e;
    }
    
    .survey-button-secondary {
        background-color: #718AB6;
        color: white;
    }
    
    .survey-button-secondary:hover {
        background-color: #718AB6;
    }
    
    .close-button {
        position: absolute;
        top: 10px;
        right: 15px;
        font-size: 24px;
        cursor: pointer;
        color: #999;
    }
    
    .close-button:hover {
        color: #333;
    }

h2.spec-h2 {
    color: #33367e;
}