.digitale-login .token-input-container {
    display: inline-flex;
    gap: 8px;

    padding: 25px 30px;
    border-radius: 20px;
    background-color: var(--e-global-color-primary);
}

@media screen and (max-width: 1024px) {
    .digitale-login .token-input-container {
        padding: 15px 15px;
    }
}

.digitale-login .token-input {
    width: 40px;
    height: 50px;
    text-align: center;
    font-size: 1.5em;
    padding: 5px;
    border: 1px solid var(--e-global-color-secondary);
    border-radius: 10px;
    text-transform: uppercase;
    color: var(--e-global-color-text)
}

@media screen and (max-width: 1024px) {
    .digitale-login .token-input {
        width: 30px;
        height: 40px;
        font-size: 1.2em;
    }
}

.digitale-login button[type="submit"] {
    width: 40px;
    height: 50px;
    border-radius: 10px;
    border-top: none;
    border-left: none;
    border-right: none;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
    background-color: #0FA0DB;
    padding: 0;
}

@media screen and (max-width: 1024px) {
    .digitale-login button[type="submit"] {
        width: 30px;
        height: 40px;
    }
}

/* Hover */
.digitale-login button[type="submit"]:hover {
    background-color: var(--e-global-color-primary);
}

.digitale-login button[type="submit"] img {
    height: 22px;
    width: 22px;
}

.digitale-login .token-input:focus {
    border-color: #007bff;
    outline: none;
}

/* Feed */
.digitale-omgeving__feed {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 30px;

    font-family: var(--e-global-typography-text-font-family), Sans-serif;
    font-size: var(--e-global-typography-text-font-size);
    font-weight: var(--e-global-typography-text-font-weight);
    text-transform: var(--e-global-typography-text-text-transform);
    font-style: var(--e-global-typography-text-font-style);
    line-height: var(--e-global-typography-text-line-height);
}

.digitale-omgeving__feed__category {
    padding: 50px;
    border-radius: 20px;
    background-color: #f1faff;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 15px;
    align-items: flex-start;
    border: 1px solid var(--e-global-color-732a69b);
}

@media screen and (max-width: 1024px) {
    .digitale-omgeving__feed__category {
        padding: 15px;
    }
}

.digitale-omgeving__feed__category > h2 {
    margin-top: 0;
    color: var(--e-global-color-primary);


    font-family: var(--e-global-typography-primary-font-family), Sans-serif;
    font-size: var(--e-global-typography-primary-font-size);
    font-weight: var(--e-global-typography-primary-font-weight);
    text-transform: var(--e-global-typography-primary-text-transform);
    line-height: var(--e-global-typography-primary-line-height);
    letter-spacing: var(--e-global-typography-primary-letter-spacing);
}

body.digitale-omgeving-token-expired .digitale-omgeving__feed__videos {
    filter: grayscale(1);
    user-select: none;
    pointer-events: none;
    opacity: .5;
}

body.digitale-omgeving-token-expired .hide-if-token-expired {
    display: none !important;
}

.digitale-omgeving__feed__videos {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 30px;
    width: 100%;
}

.digitale-omgeving__feed__video {
    width: calc(25% - 22.5px);
}

/* Make the videos reponsive */
@media screen and (max-width: 1024px) {
    .digitale-omgeving__feed__video {
        width: calc(50% - 15px);
    }
}

@media screen and (max-width: 768px) {
    .digitale-omgeving__feed__video {
        width: 100%;
    }
}

.digitale-omgeving__feed__video__thumbnail {
    position: relative;
    overflow: hidden;
    font-size: 0;
    line-height: 0;
    border-radius: 14px !important;
    overflow: hidden;
}

.digitale-omgeving__feed__video__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(13, 90, 164, 0.3);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity .25s ease-in;
    border-radius: 14px;
    z-index: 2;
}

.digitale-omgeving__feed__video__play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    cursor: pointer;
    transition: transform .1s ease-in;
    transform-origin: center;
    z-index: 3;
}

/* hover */
.digitale-omgeving__feed__video .digitale-omgeving__feed__video__play-button:hover {
    transform: translate(-50%, -50%) scale(1.1);
}

.digitale-omgeving__feed__video:hover .digitale-omgeving__feed__video__overlay {
    opacity: 1;
}

.digitale-omgeving__feed__video__thumbnail .digitale-omgeving__feed__video__thumbnail__img {
    aspect-ratio: 16/9;
    object-fit: cover;
    object-position: center;
    transition: transform .25s ease-in;
    transform-origin: center;
}

.digitale-omgeving__feed__video__completed {
    position: absolute;
    right: 10px;
    top: 10px;
    height: 25px;
    width: 25px;
    z-index: 4;
}

.digitale-omgeving__feed a.digitale-omgeving__feed__video > h3 {
    margin-top: 0;
    margin-bottom: 0;
    padding: 10px 0px;
    font-size: 17px;
    transition: color .1s ease-in-out;
    font-family: var(--e-global-typography-primary-font-family), Sans-serif;
}

.digitale-omgeving__feed__video:hover > h3 {
    color: var(--e-global-color-text);
}

.digitale-omgeving__feed__video:hover .digitale-omgeving__feed__video__thumbnail__img {
    transform: scale(1.1);
}

.digitale-omgeving__logout {
    display: block;
    text-align: center;
    margin-bottom: 2rem;

    font-family: var(--e-global-typography-text-font-family), Sans-serif;
    font-size: var(--e-global-typography-text-font-size);
    font-weight: var(--e-global-typography-text-font-weight);
    text-transform: var(--e-global-typography-text-text-transform);
    font-style: var(--e-global-typography-text-font-style);
    line-height: var(--e-global-typography-text-line-height);
}

.digitale-omgeving__logout a {
    background-color: var( --e-global-color-primary );
    color: #fff !important;
    border-radius: 100px;
    width: auto;
    display: inline-block;
    padding: 8px 10px;
    border: 1px solid var(--e-global-color-732a69b);
    line-height: 1 !important;
    font-size: 16px !important;
    transition: background-color .12s ease-in;
}

/* Hover */
.digitale-omgeving__logout a:hover {
    background-color: #0FA0DB;
    color: #fff;
}

/* Single vide page */
.digitale-omgeving__video {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    gap: 50px;

    font-family: var(--e-global-typography-text-font-family), Sans-serif;
    font-size: var(--e-global-typography-text-font-size);
    font-weight: var(--e-global-typography-text-font-weight);
    text-transform: var(--e-global-typography-text-text-transform);
    font-style: var(--e-global-typography-text-font-style);
    line-height: var(--e-global-typography-text-line-height);

    margin-bottom: 2rem;
}

@media screen and (max-width: 768px) {
    .digitale-omgeving__video {
        gap: 30px;
    }
}

.digitale-omgeving__video__iframe iframe {
    aspect-ratio: 16/9;
    border-radius: 20px;
    overflow: hidden;
}

.digitale-omgeving__video__content {
    width: 800px;
    max-width: 100%;
}

.digitale-omgeving__video__content p:last-child {
    margin-bottom: 0;
}

.digitale-omgeving__video__iframe {
    width: 1100px;
    max-width: 100%;
}

.cpx-agenda-alert {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 15px;
    padding: 15px 30px;
    border-radius: 20px;
    margin-bottom: 2rem;
    background-color: #d1ecf1;
    border-color: #bee5eb;
    color: #0c5460;

    font-family: var(--e-global-typography-text-font-family), Sans-serif;
    font-size: var(--e-global-typography-text-font-size);
    font-weight: var(--e-global-typography-text-font-weight);
    text-transform: var(--e-global-typography-text-text-transform);
    font-style: var(--e-global-typography-text-font-style);
    line-height: var(--e-global-typography-text-line-height);
}

.cpx-agenda-alert.alert-danger {
    background-color: #f8d7da;
    border-color: #f5c6cb;
    color: #721c24;
}

.cpx-agenda-alert.alert-success {
    background-color: #d4edda;
    border-color: #c3e6cb;
    color: #155724;
}

.digitale-omgeving__video__mark-as-completed button[type="submit"] {
    background-color: #d4edda !important;
    color: #155724 !important;
    border-bottom-color: #155724 !important;
}

.digitale-omgeving__video__mark-as-completed button[type="submit"]:hover, .digitale-omgeving__video__mark-as-completed button[type="submit"]:focus {
    background-color: #d4edda !important;
    color: #155724 !important;
    border-bottom-color: #155724 !important; 
    opacity: .8;
    transform: scale(1.1);
}

.digitale-omgeving__video__bijlagen {
    width: 1100px;
    max-width: 100%;
    text-align: center;
}

.digitale-omgeving__video__bijlagen__wrapper {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 5px 15px;
    width: 100%;
}

.digitale-omgeving__video__bijlagen__wrapper a {
    background-color: var(--e-global-color-primary);
    color: #fff !important;
    border-radius: 100px;
    width: auto;
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 8px 15px;
    border: 1px solid var(--e-global-color-732a69b);
    line-height: 1 !important;
    font-size: 16px !important;
    transition: background-color .12s ease-in;
}

@media screen and (max-width: 768px) {
    .digitale-omgeving__video__bijlagen__wrapper a {
        width: 100%;
    }
}

.digitale-omgeving__video__bijlagen__wrapper a img {
    height: 1em;
    width: auto;
    margin-left: .5em;
    margin-bottom: -1px;
}

.digitale-omgeving__video__bijlagen__wrapper a:hover, .digitale-omgeving__video__bijlagen__wrapper a:focus {
    background-color: #0FA0DB;
}