/*VIDEO MESSAGE*/

.grid.start_grid {
    position: relative;
}

.vid-msg {
    display: none;
}

.vid-msg__container {
    width: 100%;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    justify-content: space-between;
    color: #fff;
    position: relative;
    background-color: #fff;
}

.vid-msg__whois {
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
}

.vid-msg__wrapper {
    position: relative;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    -ms-align-items: center;
    align-items: center;
    justify-content: space-between;
    width: calc(50% - 1px);
    padding: 45px 30px 11px;
    cursor: pointer;
}

.vid-msg__datename {
    position: absolute;
    left: 30px;
    top: 10px;
}

.vid-msg__text {
    font-size: 26px;
    line-height: 1.2;
    font-weight: 600;
    text-transform: uppercase;
}

.vid-msg__date {
    display: inline-block;
    font-size: 18px;
    line-height: 1.2;
    color: #fff;
}

.vid-msg__who {
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
}

.vid-msg__who-info {
    padding-top: 0;
    margin-left: 13px;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    -webkit-flex-direction: column;
    -moz-flex-direction: column;
    -ms-flex-direction: column;
    -o-flex-direction: column;
    flex-direction: column;
    text-align: left;
}

.vid-msg__name {
    font-size: 14px;
    font-weight: 400;
}

.vid-msg__position {
    font-size: 14px;
    font-weight: 600;
}

.vid-msg__theme {
    font-size: 18px;
    font-weight: 600;
}

.vid-msg__img {
    width: 55px;
    height: 55px;
    flex-shrink: 0;
    border-radius: 100%;
    overflow: hidden;
    border: 2px solid #fff;
    background: #fff;
}

.vid-msg__play {
    width: 68px;
    height: 48px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 30%;
}

.vid-msg__play svg {
    width: 100%;
    height: 100%; 
}

.vid-msg__close {
    position: absolute;
    cursor: pointer;
    width: 22px;
    height: 22px;
    right: 12px;
    top: 9px;
}

.vid-msg__close svg {
    width: 100%;
    height: 100%; 
}

.vid-msg__video {
    position: fixed;
    display: none;
    z-index: 100000;
    background: rgba(0,0,0,.7);
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    justify-content: center;
    -ms-align-items: center;
    align-items: center;
}

.vid-msg__video.active {
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
}

.vid-msg__player-wrapper {
    display: inline-block;
    padding: 0;
    margin: 0;
    width: 100%;
    max-width: 1280px;
    max-height: 720px;
    padding-top: 56.25%;
    height: 0;
    position: relative;
}

.vid-msg__player-wrapper #player {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
}

@media (max-width: 1400px) {
    .vid-msg__player-wrapper #player {
        height: 100%;
        width: 100%;
    }
    .vid-msg__video {
        padding: 40px;
    }
}

@media (max-width: 1110px) {

    .vid-msg__wrapper {
        padding: 45px 15px 11px;
    }

    .vid-msg__text {
        font-size: 18px;
    }

    .vid-msg__who-info {
        padding-top: 0;
    }

    .vid-msg__who {
        -ms-align-items: center;
        align-items: center;
    }

    .vid-msg__play {
        right: 20%;
    }

    .vid-msg__date {
        font-size: 14px;
    }

    .vid-msg__datename {
        left: 15px;
    }
}

@media (max-width: 991px) {
    .vid-msg__text {
        font-size: 18px;
    }

    .vid-msg__position {
        font-size: 14px;
    }

    .vid-msg__play {
        right: 8%;
    }
}

@media (max-width: 768px) {

    .vid-msg__wrapper {
        width: 100%;
    }

    .vid-msg__wrapper:not(:last-child) {
        border-bottom: 2px solid #fff;
    }

    .vid-msg__container {
        flex-direction: column;
    }

    .vid-msg__datename {
        text-align: center;
    }

    .vid-msg__text {
        display: inline-block;
        width: 100%;
        text-align: center;
        margin-bottom: 20px;
    }

    .vid-msg__text br {
        display: none;
    }

    .vid-msg__who {
        width: 100%;
    }

    .vid-msg__img {
        flex-shrink: 0;
        width: 60px;
        height: 60px;

    }

    .vid-msg__whois {
        width: 100%;
    }

    .vid-msg__video {
        padding: 0;
    }

}

@media (max-width: 543px) {
    .vid-msg__text {
        padding: 0 15px;
        margin-bottom: 15px;
    }

    .vid-msg__name {
        line-height: 1;
        margin-bottom: 4px;
    }

    .vid-msg__position {
        line-height: 1.2;
    }

    .vid-msg__who {
        position: relative;
    }

    .vid-msg__who-info {
        margin-left: 15px;
        margin-right: 0;
        width: auto;
    }

    .vid-msg__img {
        position: static;
    }

    .vid-msg__whois {
      flex-direction: column;
    }

    .vid-msg__play {
        width: 45px;
        height: 30px;
        position: static;
        top: auto;
        transform: translateY(0);
        right: auto;
        margin-bottom: 20px;
        margin-left: 16px;
        flex-shrink: 0;
    }

    .vid-msg__who:not(:last-child) {
      margin-right: 0;
      margin-bottom: 25px;
    }

    .vid-msg__wrapper {
        justify-content: flex-start;
        padding: 45px 23px 11px 15px;
    }
}

@media screen and (orientation: landscape) and (max-width: 768px) {
    .vid-msg__video {
        padding: 30px;
    }
}


/*END VIDEO MESSAGE*/