/* --------------------------------------------|
|                                              |
| Videolinkarchiv                              |
|                                              |
|-------------------------------------------- */

.videolink__head {
    display: flex;
    gap: 15px;
    align-items: center;
    background: var(--color-grey-light);
    padding: 15px 15px 0 15px;
}

.videolink__row {
    display: flex;
    align-items: center;
    padding: 15px;
}

.videolink__row--video-castings {
    padding: 0;
}

.videolink__row:nth-child(2n) {
    background-color: var(--color-grey-light);
}

.videolink__role {
    display: flex;
    gap: 10px;
    align-items: center;
    padding: 10px 15px;
    margin-top: 15px;
    cursor: pointer;
    justify-content: space-between;
}

.videolink__role.videolink__role--video-castings {
    padding-left: 15px;
    margin-top: 0px;
}

.videolink__role.videolink__role--video-castings:nth-child(2n) {
    background-color: var(--color-grey-light);
}

.videolink__role.videolink__role--video-castingsddd {
    padding-left: 0px;
    align-items: self-start;
}

.videolink__project {
    display: flex;
    gap: 20px;
    align-items: center;
    overflow: hidden;
    min-width: calc(40% - 25px);
    flex-basis: calc(40% - 25px);
    flex-shrink: 0;
    flex-grow: 1;
}

.videolink__project__name {
    flex-shrink: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    min-width: 0;
    max-width: 100%;
}

.videolink__role__sub {
    min-width: calc(60% - 25px);
    flex-basis: calc(60% - 25px);
    flex-shrink: 0;
}

.videolink__role__sub > div {
    display: flex;
    gap: 10px;
    justify-content: space-between;
    align-items: center;
}

.videolink__role__sub__row {
    padding-left: 16%;
    display: flex;
    gap: 10px;
    justify-content: space-between;
    padding-bottom: 5px;
}

.videolink__role__sub__row .playbutton_box {
    width: calc(100% - 30px);
}

@media (max-width: 400px) {
    .videolink__role.videolink__role--video-castings {
        flex-wrap: wrap;
    }

    .videolink__role__sub {
        width: 100%;
        min-width: 100%;
        flex-basis: 100%;
    }

    .videolink__role__sub__row {
        padding-left: 5px;
    }
}

@media screen and (max-width: 768px) {
}

/* Margins aus anderen CSS überschreiben */
#js-popup ul.videolinklist {
    margin: 0;
}

#js-popup .videolinklist.form__section {
    margin-bottom: 0;
}

/* Playbutton und Mülleimer bei Videocastings ausblenden */
.video-castings a.playbutton_new,
.video-castings .js-delete-profvideolink {
    display: none;
}

/* --------------------------------------------|
|                                              |
| Checkbox                                     |
|                                              |
|-------------------------------------------- */

input.videolink__check[type="checkbox"] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 20px;
    flex-basis: 20px;
    flex-shrink: 0;
    min-width: 20px;
    height: 20px;
    border: 2px solid #969696;
    border-radius: 50%;
    outline: none;
    cursor: pointer;
    position: relative;
    background-color: white;
}

/* --------------------------------------------|
| Stati                                        |
|-------------------------------------------- */

input.videolink__check[type="checkbox"]:checked {
    background-color: #db6625;
    border-color: #db6625;
}

input.videolink__check[type="checkbox"]:checked::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    background-image: url("/res2/img/icons/icon-hook.svg");
    background-size: cover;
    background-position: center;
}

/* --------------------------------------------|
|                                              |
| Videolinkarchiv external                     |
|                                              |
|-------------------------------------------- */

.videolinklist_externe {
    margin-bottom: 30px;
}

.videolinklist_externe .playbutton_box {
    gap: 15px;
}

/* --------------------------------------------|
|                                              |
| Plus button                                  |
|                                              |
|-------------------------------------------- */

.circle-plus,
.circle-plus-outline,
.circle-minus {
    display: block;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    position: relative;
    border: 2px solid var(--color-grey);
    cursor: pointer;
    transition: all 0.5s ease;
}

.circle-plus::after,
.circle-plus-outline::after,
.circle-minus::after {
    display: block;
    content: "";
    position: absolute;
    width: 12px;
    height: 2px;
    background: var(--color-grey);
    top: calc(50% - 1px);
    left: calc(50% - 6px);
    border-radius: 2px;
    transition: all 0.5s ease;
}

.circle-plus::before,
.circle-plus-outline::before {
    display: block;
    content: "";
    position: absolute;
    width: 2px;
    height: 12px;
    background: var(--color-grey);
    top: calc(50% - 6px);
    left: calc(50% - 1px);
    border-radius: 2px;
    transition: all 0.5s ease;
}

.circle-plus:hover,
.circle-plus-outline:hover {
    border-color: var(--color-grey-light);
}

.circle-plus:hover::before,
.circle-plus-outline:hover::before,
.circle-plus:hover::after,
.circle-plus-outline:hover::after {
    background: var(--color-grey-light);
}

.circle-history {
    color: var(--color-grey);
    display: inline-block;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 0px solid var(--color-grey);
    box-sizing: border-box;
    transition: border-color 0.5s;
    cursor: pointer;
}

.circle-history:hover {
    border-color: var(--color-grey-light);
    color: var(--color-grey-light);
}

.circle-history svg {
    display: block;
    width: 100%;
    height: 100%;
}

.circle-plus-outline {
    border-color: var(--color-grey-dark);
}

.circle-plus-outline::after,
.circle-plus-outline::before
{
    background-color: var(--color-grey-dark);
}

.circle-plus-outline:hover {
    border-color: var(--color-sand-darker);
}
.circle-plus-outline:hover::before,
.circle-plus-outline:hover::after {
    background-color: var(--color-sand-darker);
}

.has-no-videolinks {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: -10px;
}

/* --------------------------------------------------------------------- */
/*                                                                       */
/* eigentlich in SV2 component.video.css - aber für SV1 hier noch einmal */
/*                                                                       */
/* --------------------------------------------------------------------- */

.videobutton--videolinks {
    margin-bottom: 16px;
}

/* --------------------------------------------------------------------- */
/*                                                                       */
/* HACK für SV1                                                          */
/*                                                                       */
/* --------------------------------------------------------------------- */

.prof_kuenstler_videobuttons_in_besetzung a {
    color: #777;
}

.prof_kuenstler_videobuttons_in_besetzung a:hover {
    color: var(--color-accent);
}

/* --------------------------------------------------------------------- */
/*                                                                       */
/* HACK für SV2                                                          */
/*                                                                       */
/* --------------------------------------------------------------------- */

.playbutton_box {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    width: 100%;
    margin: 0 0 16px 0;
    text-align: left;
    position: relative;
}

.videobox a.playbutton_new,
.videobox a.audiobutton_new {
    background-image: url(../img/icon_play_new_flat_roll.png);
    background-position: left top;
    background-repeat: no-repeat;
    color: #8c694a;
    display: inline-block;
    height: 23px;
    width: 23px;
    flex-shrink: 0;
}

/* --------------------------------------------------------------------- */
/*                                                                       */
/* Marker                                                                */
/*                                                                       */
/* --------------------------------------------------------------------- */

.has-videolinks::before {
    content: "\25CF";
    color: var(--color-accent);
    position: absolute;
    top: -9px;
    left: 20px;
    width: 5px;
    height: 5px;
    z-index: 1000;
}

.has-no-videolinks .has-videolinks::before {
    top:-21px;
}

.has-videolinks {
    position: relative;
}
