#newsalertmodal {
    z-index: 1055 !important;
}
#newsalertmodal .modal {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1060 !important;
    display: none;
    overflow: auto;
    overflow-y: scroll;
    -webkit-overflow-scrolling: touch;
    outline: 0;
}
#newsalertmodal .modal-content {
    position: relative;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #999;
    border: 1px solid rgba(0, 0, 0, .2);
    border-radius: 6px;
    outline: none;
    -webkit-box-shadow: 0 3px 9px rgba(0, 0, 0, .5);
    box-shadow: 0 3px 9px rgba(0, 0, 0, .5);
}
#newsalertmodal .modal-backdrop {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1040;
    background-color: #000;
}
#newsalertmodal .modal-backdrop.fade {
    filter: alpha(opacity=0);
    opacity: 0;
}
#newsalertmodal .modal-backdrop.in {
    filter: alpha(opacity=50);
    opacity: .5;
}
#newsalertmodal .modal-header {
    min-height: 16.42857143px;
    padding: 15px;
    border-bottom: 1px solid #e5e5e5;
}
#newsalertmodal .modal-header .close {
    margin-top: -2px;
}
#newsalertmodal .modal-title {
    margin: 0;
    line-height: 1.42857143;
}
#newsalertmodal .modal-body {
    position: relative;
    padding-top: 10px;
    padding-left: 20px;
    padding-right: 20px;
    padding-bottom: 0px;
    margin-bottom: 0px;
}
#newsalertmodal .modal-footer {
    text-align: right;
    border-top: 1px solid #e5e5e5;
}

body.v6-body.news-body-article #newsalertmodal .modal-dialog {
    max-width: 900px;
    width: 90%;
    margin-top: -90px;
    z-index: 1060 !important;
}

body.v6-body.news-home #newsalertmodal .modal-dialog {
    max-width: 900px;
    width: 90%;
    margin-top: 100px;
    z-index: 1060 !important;
}

#newsalertmodal .modal-footer .btn + .btn {
    margin-bottom: 0;
    margin-left: 5px;
}
#newsalertmodal .modal-footer .btn-group .btn + .btn {
    margin-left: -1px;
}
#newsalertmodal .modal-footer .btn-block + .btn-block {
    margin-left: 0;
}
#newsalertmodal @media (min-width: 968px) {
    .modal-dialog {
        width: 1200px;
        margin: 30px auto;
    }
    .modal-content {
        -webkit-box-shadow: 0 5px 15px rgba(0, 0, 0, .5);
        box-shadow: 0 5px 15px rgba(0, 0, 0, .5);
    }
    .modal-sm {
        width: 600px;
    }
}
@media (min-width: 992px) {
    .modal-lg {
        width: 900px;
    }
}

#newsalertmodal .select-button {
    padding: 8px 15px;
    margin: 5px;
    border: 1px solid #5d7ca5;
    background-color: #5d7ca5;
    font-weight: bold;
    border-radius: 4px;
    color: white;
    cursor: pointer;
}

#newsalertmodal .select-button.selected {
    background-color: #fece06;
    border: 1px solid #fece06;
    color: black;
}

#newsalertmodal .section-title {
    margin: 0 0 10px 0;
    font-size: 16px;
    font-weight: bold;
    color: #333;
}

#newsalertmodal .section-description {
    margin: 0 0 15px 0;
    font-size: 14px;
    color: #666;
}

#newsalertmodal .button-group {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 5px;
}

#newsalertmodal .button {
    background-color: #5d87b5;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 8px 15px;
    font-size: 14px;
    cursor: pointer;
    position: relative;
    font-weight: bold; /* Added bold text for all buttons */
}

#newsalertmodal .button.active {
    background-color: #ffbf00;
    color: black; /* Zwarte tekst voor geselecteerde knoppen */
}

#newsalertmodal .button.active::after {
    content: " ✕";
    font-size: 10px;
}

/* Frequentie knoppen styling (segmented button style met rondere hoeken) */
#newsalertmodal .frequency-group {
    display: inline-flex;
    border-radius: 8px; /* Increased border radius for segmented button */
    overflow: hidden;
    gap: 0;
    border: 1px solid #5d87b5;
}

#newsalertmodal .frequency-group .button {
    border-radius: 0;
    flex: 1;
    margin: 0;
    border-right: 1px solid rgba(93, 135, 181, 0.3);
    text-align: center;
    background-color: white;
    color: black;
}

#newsalertmodal .frequency-group .button:first-child {
    border-top-left-radius: 7px; /* Adding rounded corners to first child */
    border-bottom-left-radius: 7px;
}

#newsalertmodal .frequency-group .button:last-child {
    border-right: none;
    border-top-right-radius: 7px; /* Adding rounded corners to last child */
    border-bottom-right-radius: 7px;
}

#newsalertmodal .frequency-group .button.active {
    background-color: #ffbf00;
    color: black;
    box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
}

#newsalertmodal .frequency-group .button.active::after {
    content: "";
}

#newsalertmodal .save-button {
    background-color: #ffbf00;
}

#newsalertmodal .form-group {
    margin-bottom: 0px;
}

#newsalertmodal .button-group-container {
    margin-left: -5px;
}

#newsalertmodal .button-group-container .select-button {
    font-size: 10px !important;
}

.delete_news {
    color: #9F9F9F;

    .active {
        color: #4a4a4a;
    }
}