/* Alleen uitvoeren als het systeem op Dark Mode staat */
@media (prefers-color-scheme: dark) {
    :root {
        color-scheme: dark;
    }

    body {
        /* Gebruik de standaard donkere kleuren van Bootstrap */
        background-color: #000; /* --bs-body-bg-dark */
        color: #fff!important; /* --bs-body-color-dark */
    }

    /* Specifieke Bootstrap elementen die mee moeten kleuren */
    .card, .modal-content, .list-group-item {
        background-color: #2c3034;
        border-color: #495057;
        color: #fff;
    }

    .table {
        --bs-table-color: #fff;
        --bs-table-bg: #212529;
        --bs-table-border-color: #373b3e;
    }

    h1, h2, h3, h4, h5, h6 {color:#fff;}

    :root {
        --bs-table-striped-color: #ffffff !important;
        --bs-table-color: #ffffff !important;
        --bs-table-color-state: #ffffff !important;
        --bs-emphasis-color: #fff;
        --bs-heading-color: #fff!important;
    }
}


/* Bootstrap 3 correcties*/
    label {
        font-weight: 500;
    }

/* standaard stijlen voor numerieke waarden */

/*decimale en money waarden */
.d, .m, .n {text-align: right;}
/* boolean , wordt vinkje als glyphicon getoond */
.b {text-align:center;}

.nav-link !important {
    color: #212529;
}

/*bootstrap rounded circle*/
.btn-circle.btn-xs {
    width: 20px;
    height: 20px;
    text-align: center;
    padding: 0px 0;
    font-size: 12px;
    line-height: 1.428571429;
    border-radius: 10px;
}

.btn-circle {
    width: 30px;
    height: 30px;
    text-align: center;
    padding: 6px 0;
    font-size: 12px;
    line-height: 1.428571429;
    border-radius: 15px;
}

.btn-circle.btn-lg {
    width: 50px;
    height: 50px;
    padding: 10px 16px;
    font-size: 18px;
    line-height: 1.33;
    border-radius: 25px;
}

.btn-circle.btn-xl {
    width: 70px;
    height: 70px;
    padding: 10px 16px;
    font-size: 24px;
    line-height: 1.33;
    border-radius: 35px;
}

/*padding bootstrap 4*/
.p-1 {
    padding: 0.25rem !important;
}

.p-2 {
    padding: 0.5rem !important;
}

.p-3 {
    padding: 1rem !important;
}

/* schaduwen */
.z-depth-3 {
    box-shadow: 0 12px 15px 0 rgba(0,0,0,.24), 0 17px 50px 0 rgba(0,0,0,.19);
}

/* textcounter onder input fields*/

.textcounter {font-size:9px;margin-top:3px;}

/* bootstrapalerts hebben bruine fontkleur*/
.alert{color:#1F2544}

/* help-block voor validatietekst in form validation*/
SPAN.help-block {
    font-size:smaller;
    margin:0;
}

.htmlafterinput {
    font-size:smaller;
    background-color:InfoBackground;
    color:InfoText;
    padding:2px;
}


/* Voor keywords */
ul.keywords {list-style-type:none}
ul.keywords > li {display:inline; }
ul.keywords > li > a > dfn { font-style:normal; }

/* Share buttons */
.share-buttons-embedded {
   text-align:center;
   padding:10px;
}

.share-buttons > svg {width:16px;font-size:1.1em;margin:10px;cursor:pointer;}

/*    background-color: #00bd6f;*/
.share-buttons.whatsapp {
/*    color: #fff;*/
    color: #00bd6f;
    padding: 3px;
    border-radius: 3px;
}

.share-buttons.facebook {
    color: #4c66a4;
}

.share-buttons.twitter {
    color: #00a0d1;
}

.share-buttons.linkedin {
    color: #0082b9;
}

.fab.fa-instagram {
    color: transparent;
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
    background: -webkit-radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
    background-clip: text;
    -webkit-background-clip: text;
}

.share-buttons.email {
    color: #c40000;
}

.share-buttons.api {
    color: #222;
}

.share-buttons > svg {width:18px;height:18px;}

.modal-dialog{z-index:999999999999;}

/*li.dropdown > a::after, li.open > a::after {
    display:inline-block;
    content: ' ';
    background-image: url('/libs/fa/svgs/light/sort-down.svg');
    background-size: 18px 15px;
    height: 15px;
    width: 18px;
}*/

/* testtabel voor mailing  mailer.cs */

#table-mailing-test td {padding:2px;border:1px solid #ccc;font-size:smaller}

.btn-group-xs > .btn, .btn-xs {
    padding: .3rem .4rem;
    font-size: .875rem;
    line-height: .5;
    border-radius: .2rem;
}



.container-reading {
    max-width: 720px; /* Ideale breedte voor leesbaarheid */
    margin-left: auto;
    margin-right: auto;
}




/* IMPORTANT:  The SCW calendar script requires all       
                    the classes defined here.                  
    */
table.scw {
    padding: 1px;
    vertical-align: middle;
    border: ridge 2px;
    font-size: 10pt;
    font-family: Arial,Helvetica,Sans-Serif;
    font-weight: bold;
}

td.scwDrag,
td.scwHead {
    padding: 0px 0px;
    text-align: center;
}

td.scwDrag {
    font-size: 8pt;
}

select.scwHead {
    margin: 3px 1px;
}

input.scwHead {
    height: 22px;
    width: 22px;
    vertical-align: middle;
    text-align: center;
    margin: 2px 1px;
    font-weight: bold;
    font-size: 10pt;
    font-family: fixedSys;
}

td.scwWeekNumberHead,
td.scwWeek {
    padding: 0px;
    text-align: center;
    font-weight: bold;
}

td.scwFoot,
td.scwFootHover,
td.scwFoot:hover,
td.scwFootDisabled {
    padding: 0px;
    text-align: center;
    font-weight: normal;
}

table.scwCells {
    text-align: right;
    font-size: 8pt;
    width: 96%;
}

td.scwCells,
td.scwCellsHover,
td.scwCells:hover,
td.scwCellsDisabled,
td.scwCellsExMonth,
td.scwCellsExMonthHover,
td.scwCellsExMonth:hover,
td.scwCellsExMonthDisabled,
td.scwCellsWeekend,
td.scwCellsWeekendHover,
td.scwCellsWeekend:hover,
td.scwCellsWeekendDisabled,
td.scwInputDate,
td.scwInputDateHover,
td.scwInputDate:hover,
td.scwInputDateDisabled,
td.scwWeekNo,
td.scwWeeks {
    padding: 1px;
    width: 16px;
    height: 16px;
    vertical-align: middle;
}
/* Blend the colours into your page here...    */
/* Calendar background */
table.scw {
    background-color: #ffffff;
}
/* Drag Handle */
td.scwDrag {
    background-color: #9999CC;
    color: #CCCCFF;
}
/* Week number heading */
td.scwWeekNumberHead {
    color: #6666CC;
}
/* Week day headings */
td.scwWeek {
    color: #333333;
}
/* Week numbers */
td.scwWeekNo {
    background-color: #ffffff;
    color: #333333;
}
/* Enabled Days */
/* Week Day */
td.scwCells {
    background-color: #CCCCCC;
    color: #000000;
}
/* Day matching the input date */
td.scwInputDate {
    background-color: #CC9999;
    color: #FF0000;
}
/* Weekend Day */
td.scwCellsWeekend {
    background-color: #CCCCCC;
    color: #CC6666;
}
/* Day outside the current month */
td.scwCellsExMonth {
    background-color: #CCCCCC;
    color: #666666;
}
/* Today selector */
td.scwFoot {
    background-color: #ffffff;
    color: #333333;
}
/* MouseOver/Hover formatting                             
            If you want to "turn off" any of the formatting    
            then just set to the same as the standard format   
            above.                                             
                                                                      
            Note: The reason that the following are            
            implemented using both a class and a :hover        
            pseudoclass is because Opera handles the rendering 
            involved in the class swap very poorly and IE6     
            (and below) only implements pseudoclasses on the   
            anchor tag.                                        
    */
/* Active cells */
td.scwCells:hover,
td.scwCellsHover {
    background-color: #FFFF00;
    cursor: pointer;
    color: #000000;
}
/* Day matching the input date */
td.scwInputDate:hover,
td.scwInputDateHover {
    background-color: #FFFF00;
    cursor: pointer;
    color: #000000;
}
/* Weekend cells */
td.scwCellsWeekend:hover,
td.scwCellsWeekendHover {
    background-color: #FFFF00;
    cursor: pointer;
    color: #000000;
}
/* Day outside the current month */
td.scwCellsExMonth:hover,
td.scwCellsExMonthHover {
    background-color: #FFFF00;
    cursor: pointer;
    color: #000000;
}
/* Today selector */
td.scwFoot:hover,
td.scwFootHover {
    color: #FFFF00;
    cursor: pointer;
    font-weight: bold;
}
/* Disabled cells */
/* Week Day */
/* Day matching the input date */
td.scwInputDateDisabled {
    background-color: #999999;
    color: #000000;
}

td.scwCellsDisabled {
    background-color: #999999;
    color: #000000;
    text-decoration: line-through;
}
/* Weekend Day */
td.scwCellsWeekendDisabled {
    background-color: #999999;
    color: #CC6666;
    text-decoration: line-through;
}
/* Day outside the current month */
td.scwCellsExMonthDisabled {
    background-color: #999999;
    color: #666666;
    text-decoration: line-through;
}

td.scwFootDisabled {
    background-color: #ffffff;
    color: #333333;
}  
/* end /css/pre*/
/*list groups*/

ul.list-group li {
    border: 0;
}

ul.list-group li:before {
    content: '';
    display: inline-block;
    height: 0.6em;
    width: 0.6em;
    background-image: url('/icons/chevron-breadcrum.svg');
    background-size: contain;
    background-repeat: no-repeat;
    color: #337ab7;
    padding-left: 1em;
}


/*Video*/

articles {
    padding-top: calc(var(--bs-gutter-x)/ 2);
    padding-bottom: calc(var(--bs-gutter-x)/ 2);
}

article {
    margin-bottom: 0.5rem;
}

/*.row>* {padding-left:0;padding-right:0;}*/

.post-div {
    width: 100%;
    position: relative;
    min-height: 200px;
    transition: transform .2s ease;
}

/*@media screen and (max-width: 768px) {
    .post-div {
        min-height:100px;
    }
}*/

.post-image {
    position: absolute;
    height: 100%;
    position: absolute;
    width: 100%;
    background-size: cover;
    transition: transform .5s;
    border-radius: var(--bs-border-radius) !important;
}

.post-div:hover .post-image {
    transform: scale(1.05);
}

.post-bg {
    overflow: hidden;
}

.post-footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 20px 10px 10px 10px;
    color: #fff;
    line-height: 18px;
    background: linear-gradient(transparent,#000000d1);
}

.post__video {
    color: #fff;
    background-color: #5084D0;
    height: 48px;
    padding: 12px 11px 12px 13px;
    right: 0;
    top: 0;
    width: 48px;
    position: absolute;
}

.icon path {
    fill: currentColor;
}

.post-div:hover .icon {
    /*
    -webkit-transform: rotate(360deg);
    -webkit-transition-duration: 1s;
    -webkit-transition-delay: now;
    -webkit-animation-timing-function: linear;
    -webkit-animation-iteration-count: infinite;
*/
}

.embeddedsubject {
    background-color: #5084D0;
    color: white;
    padding: 3px;
    border-radius: 3px;
    display: inline-block;
    margin-bottom: 5px
}


/*stemwijzer*/

.vote_omschrijving {
    margin-bottom: 1.5em;
}

.slides li h2 {
    margin-bottom: 1em
}

.progress {
    margin-bottom: 1em
}

.card-uitleg {
    background: #e5f5f5;
    margin: 1em;
}

[data-bs-target="#collapseExample"].collapsed {
    display: none;
}

[data-bs-target="#collapseExample"] {
    float: right;
    position: relative;
    right: 30px;
    z-index: 99;
    top: 8px;
}

.theme-select {
    display: flex;
    align-items: center;
    padding: 0.3em 1em;
    background: #e5f5e5;
}

.theme-select h3 {
    font-size: 16px
}

.theme-select h3:after {
    content: ':';
    margin-right: 1em;
}

.thema_block .btn {
    background-color: transparent;
    border-color: transparent;
    border-radius: 0 !important;
    color: black;
}

.thema_block .btn.active {
    font-weight: bold;
    background-color: #c4ddc4;
    text-decoration: underline;
}

.hoekje {
    float: right;
}

/*  TABEL RESULTS */
/*
table.statusbar {
    width: 100%;
}

table.statusbar th:first-child {
    border-left: 0 solid silver;
}

table.statusbar th {
    border-left: 1px solid silver;
    padding: 0 0 0 8px;
}

table.statusbar td {
    border-left: 1px solid silver;
}

table.statusbar td div {
    padding-top: 6px;
    font-weight: bold;
}

table.statusbar tr {
    border-bottom: 1px solid silver;
}

table.statusbar td {
    border-left: 1px solid silver;
}

table.statusbar td div {
    padding-top: 6px;
    font-weight: bold;
}

*/

/* sticky table header moties */
.location-votes .table-responsive {
    position: relative;
    max-height: 100vh;
    overflow: scroll;
}

.location-votes thead tr:last-child th {
    background-color: #ddd;
    position: sticky;
    top: 0;
}

.location-votes th:first-child {
    border-right: 1px solid silver;
    position: sticky;
    left: 0;
}

.location-votes .statusbar tr:nth-child(even) th {
    background-color: #ddd;
}

.location-votes .statusbar tr:nth-child(odd) th {
    background-color: white;
}

.pivot-th-header {text-align:center}

/*Tags*/

.ArticleTags__articleTagsList {
    list-style: none;
    padding-left: 0;
    margin-top: 0;
}

.ArticleTags__tag {
    font-display: swap;
    font-family: 'Roboto', 'Arial', sans-serif;
    font-weight: 700;
    font-size: 14px;
    line-height: 1.2;
    color: #3A3E3F;
    background-color: #D2D5D7;
    border-radius: 100px;
    text-decoration: none;
    padding: 4px 16px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    height: 32px;
    border: 0;
}

.ArticleTags__tag::after {
    content: url(/icons/plus.svg);
    margin-left: 8px;
    width: 8px;
}


/*Menu hover*/

/*.nav-link:hover, .nav-item.activelink >a  {
    text-decoration: none;
}

.nav-link::after {
    content: "";
    display: block;
    margin: auto;
    height: 3px;
    width: 0;
    top: 5px;
    background: transparent;
    transition: all 0.3s;
}

.nav-link:hover::after, .nav-item.activelink > a::after {
    width: 100%;
    background: #1b75bb;
}
*/
/* end /common/test/central*/
