.modalidad .play-url{
    
    background: url('/images/play-video.png');
    background-position: center center;
    background-repeat: no-repeat;
    height: 100%;
    width: 100%;    
    cursor: pointer;
    float: left;
    position: absolute;
    left: 0px;
    top: 0px;
    /*z-index: 1001;*/
}
.modalidad .container-item{
    position: relative;
}

.modalidad .texto{
    text-align: center;
    font-size: 16px;
    font-style: italic;
    margin-bottom: 10px;
}

@media (min-width: 768px) and (max-width: 980px){
    .modalidad .texto{
        min-height: 40px;
    }
}

.modal-modalidad iframe{
    height: 33rem;
}

.modal-modalidad {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transform: scale(1.1);
    transition: visibility 0s linear 0.25s, opacity 0.25s 0s, transform 0.25s;
    z-index: 1002;
}
.modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    padding: 5px 5px;
    width: 64rem;
    height: 35rem;
    border-radius: 0;
}
.close-button {
    float: right;
    width: 1.5rem;
    line-height: 1.5rem;
    text-align: center;
    cursor: pointer;
    border-radius: 0.25rem;
    background-color: lightgray;
}
.close-button:hover {
    background-color: darkgray;
}
.show-modal {
    opacity: 1;
    visibility: visible;
    transform: scale(1.0);
    transition: visibility 0s linear 0s, opacity 0.25s 0s, transform 0.25s;
}

@media (max-width: 768px){
    .modal-modalidad .modal-content{
        width: 95%;
        height: auto;
    }
}