#opaque {
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    z-index: 400;
    display: none;
    background-color: black;
    filter: alpha(opacity=30);
    opacity: 0.6;
    
    
}

* html #opaque {
    position: absolute;
    overflow: hidden;
}


body.modal-opened {
 
  height: 100vh;
  overflow-y: hidden;

}

.content-overlay {
    display: none;
}

.content-overlay {
    position: absolute;
    top:0 ;
    right: 0;
    background-color: white;
    opacity: 1;
    width: 0;
    height: 100%;
    z-index: 5000;
    overflow-y: scroll;
    padding-bottom: 100px;
}

.content-overlay .backdrop {
    background-size: cover;
    background-repeat: no-repeat;
    background-position-x: center;
    background-position-y: center;
    width: 100%;
    height: 450px;
    position: absolute !important;
    top: -40px;
    right: 0px;
    z-index: inherit;
    display: block;
    
}

.content-overlay .backdrop div {
    position: absolute;
    bottom: 15px;
    left: 40px;
}

.content-overlay .backdrop div h4.label {
    color: white;    
    z-index: 5010;
    margin-bottom: 20px;
}

.content-overlay .backdrop h2.title {
    color: white;
    z-index: 5010;
    font-size: 36px;
    line-height: 44px;
}

.content-overlay h2.headline {
    margin-left: 40px;
}

.content-overlay h3.subtitle {
    margin: 480px 0 40px 40px;
    display: block;
    font-size: 18px;
    line-height: 24px;
    font-weight: normal;
    width: 90%;
    padding-bottom: 40px;
    clear: both;
    border-bottom: 1px solid rgba(0, 0, 0, 0.15);
}


.content-overlay p {
    padding: 10px 40px 10px 40px;
    margin-top: 20px;
    margin-bottom: -20px;
}

.content-overlay p strong {
    line-height: 60px;
}

.content-overlay p a:hover {
    color: gray;
}

.content-overlay #myvideo {
    width: 80% !important;
    margin-left: 40px !important;
}

.content-overlay ul {
    margin-left: 60px;
    padding-top: 20px;
}
.content-overlay ul li{
    font-feature-settings: 'pnum' 1;
    letter-spacing: 0.5px;
    font-weight: normal;
    -webkit-font-smoothing: antialiased;
    opacity: 0.8;
    line-height: 22px;
}

[id^="overlay-close"]  {
    display: none;
    position: fixed !important;
    top: 30px ;
    right: 30px;
    outline: none;
    z-index: 6000;
    width: 30px;
}

[id^="overlay-close"] img {
    width: 30px;
}



.content-overlay div{
    float: left;
    min-width: 300px;
    margin-bottom: 40px;
    margin-top: 40px;
}

.content-overlay div p.label{
    font-size: 11px;
    line-height: 16px;
    font-weight: 600;
    text-transform: uppercase;
    color: #7f8890;
    margin-bottom: 10px;
}

.content-overlay div p.label a{
    font-size: 11px;
    line-height: 16px;
    font-weight: 600;
    text-transform: uppercase;
    color: #7f8890;
    margin-bottom: 10px;
}



@media (max-width: 760px){
    .content-overlay {
        width: 100%;
        padding: 50px 20px;
    }
    .content-overlay .backdrop {
        background-size: cover;
        background-repeat: no-repeat;
        background-position-x: center;
        background-position-y: center;
        width: 100%;
        height: 350px;
        position: absolute !important;
        top: -40px;
        right: 0px;
        z-index: inherit;
        display: block;
    }

    .content-overlay #myvideo {
        width: 90% !important;
        margin-left: 20px !important;
        outline: none;
    }
    
    .content-overlay .backdrop div {
        position: absolute;
        bottom: 0px;
        left: 40px;
    }

    .content-overlay h2.headline {
       margin-left: 20px;
    }
    
    .content-overlay .backdrop div h4.label {
        color: white;    
        z-index: 5010;
        margin-bottom: 20px;
    }
    
    .content-overlay .backdrop h2.title {
        color: white;
        z-index: 5010;
        font-size: 24px;
        line-height: 28px;
        max-width: 90%;
    }
    .content-overlay h3.subtitle {
        margin: 340px 0 40px 20px;
        padding: 0 0 40px 0;
    }

    .content-overlay p
    
     {
        padding: 20px;
    }
  
}


@media (min-width: 761px) and (max-width: 1024px){
    .content-overlay {
        width: 100%;
        padding: 50px 20px;
    }
    .content-overlay .backdrop {
        background-size: cover;
        background-repeat: no-repeat;
        background-position-x: center;
        background-position-y: center;
        width: 100%;
        height: 350px;
        position: absolute !important;
        top: -40px;
        right: 0px;
        z-index: inherit;
        display: block;
    }
    
    .content-overlay .backdrop div {
        position: absolute;
        bottom: 0px;
        left: 40px;
    }
    
    .content-overlay .backdrop div h4.label {
        color: white;    
        z-index: 5010;
        margin-bottom: 20px;
    }
    
    .content-overlay .backdrop h2.title {
        color: white;
        z-index: 5010;
        font-size: 24px;
        line-height: 28px;
        max-width: 90%;
    }
    .content-overlay h3.subtitle {
        margin-top: 300px;
    }
    .content-overlay p,
    .content-overlay h3,
    .content-overlay h3.subtitle {
        padding: 20px;
    }
  
}
