/* Frontend CSS */

.wachttijden {
    width: 100%;
    max-width: 840px;
    display: flex;
    margin: 20px auto;
    flex-direction: column;
    align-items: center;
}

.wachttijden__header {
    width: 100px;
    height: 100px;
    background: white;
    box-shadow: 0px 3px 20px #00000029;
    border-radius: 50%;
    padding: 10px 20px;
    margin-bottom: 20px;
}

.wachttijden__content {
    margin-top: 35px;
    position: relative;
    width: 100%;
    box-shadow: 0px 3px 20px #00000029;
    border-radius: 15px 15px 20px 20px;
}

.wachttijden__content:before {
    content: "";
    background-image: url(../img/triangle-mobile.svg);
    background-size: 100%;
    background-repeat: no-repeat;
    width: 20px;
    height: 35px;
    z-index: 2;
    position: absolute;
    top: -35px; 
    left: 50%;
    margin-left: -10px;
}

.wachttijden__text {
    background: white;
    padding: 18px 38px 18px 18px;
    border-radius: 15px 15px 20px 20px;
}

.wachttijden__text p:first-of-type {
    font: normal normal 600 16px/20px Montserrat;
    letter-spacing: 0.16px;
    color: #030303;
    margin-top: 0; 
}

.wachttijden__text p:last-of-type {
    font: italic normal normal 14px/20px Montserrat;
    letter-spacing: 0.14px;
    color: #030303;
    margin-bottom: 0;
}

.wachttijden__text p .red {
    font: normal normal bold 18px/28px Montserrat;
    letter-spacing: 0.18px;
    color: #FF2327;
}

.wachttijden__info {
   display: none;
   background: var(--clr-primary-50);
   width: 100%;
   padding: 18px 38px 18px 18px;
   z-index: 2;
   border-radius: 15px 15px 0 0;
}

.wachttijden__info p {
    margin: 0;
    font: normal normal normal 14px/18px Montserrat;
    color: #030303;
}

.wachttijden__info .xmark__icon,
.wachttijden__toggle {
    position: absolute;
    right: 12px;
    top: 12px;
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.toggled .wachttijden__toggle {
    display: none;
}

.toggled .wachttijden__text {
    
    border-radius: 0 0 20px 20px;
}

@media only screen and (min-width: 1024px) { 
    .wachttijden {
        flex-direction: row;
        align-items: flex-start;
    }

    .wachttijden__header {
        width: 155px;
        height: 155px;
        min-width: 155px;
        padding: 10px 25px;
        margin-right: 16px;
        margin-bottom: 0;
    }

    .wachttijden__content {
        margin-top: 0;
        min-height: 155px;
        margin-left: 36px;
    }

    .wachttijden__content:before {
        background-image: url(../img/triangle.svg);
        height: 17px;
        width: 36px;
        top: 45px; 
        left: -36px;
        margin-left: 0;
    }

    .wachttijden__text,
    .wachttijden__info {
        padding: 22px 59px 22px 40px;
    }

    .wachttijden__text p:first-of-type,
    .wachttijden__text p .red {
        font: normal normal bold 22px/28px Montserrat;
    }

    .wachttijden__text p:last-of-type {
        font: italic normal normal 18px/28px Montserrat;
    }

    .wachttijden__info p {
        font: normal normal normal 18px/28px Montserrat;
    }

    .wachttijden__info .xmark__icon,
    .wachttijden__toggle {
        top: 24px;
        right: 24px;
        width: 30px;
        height: 30px;
    }

    .wachttijden__toggle svg {
        width: 100%;
        height: auto;
    }
}
