.container-modal{
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    overflow: auto;
}
.container-modal a {
    cursor: pointer!important;
}
.vr-modal{
    margin: 0 auto;
    max-width: 1024px;
    /* box-shadow: 0 0px 5px 0 #979897; */
    position: relative;
}
/* .vr-modal:before{
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    content: "";
    background: ;
    z-index: -1;
    opacity: 0.2;
} */

/* .close-button{
    position: absolute;
    top: 4px;
    right: 4px;
    width: 33px;
    height: 33px;
    color: #a62925;
} */
/* .close-button:hover{
    cursor: pointer;
}
.close-button:before, .close-button:after{
    position: absolute;
    left: 15px;
    content: ' ';
    height: 33px;
    width: 2px;
    background-color: #a62925;
}
.close-button:before{
    transform: rotate(45deg);
}
.close-button:after{
    transform: rotate(-45deg);
} */
.container-modal .content{
    padding: 40px 30px 30px 30px;
}
.media{
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px;
}

.media img{
    width: 100%;
    max-height: 450px;
    object-fit: contain;
}

.container-modal .content h1{
    font-weight: 500;
    color: #484948;
    width: 80%;
}

.container-modal .content p{
    width: 80%;
    font-size: 1.0625rem;
    line-height: 1.8125rem;
}

.media-control{
    width: 100%;
    display: flex;
    align-items: center;
    margin-top: 20px;
    justify-content: space-between;
}
.audio-bar{
    flex-basis: 80%;
    height: 3px;
    background-color: #979897;
    position: relative;
}

@media screen and (max-width: 1024px){
    .vr-modal h3{
        font-size: 32px;
    }
}
@media screen and (max-width: 767px) {
    /*VR css */
    .modal-wrapper{
        top: 0!important;
        left: 0!important;
        right: 0!important;
        bottom: 0!important;
        width: 100%!important;
        height: 100%!important;
    }

    .vr-modal .content{
        padding: 30px
    }

    .vr-modal h3{
        font-size: 24px;
    }

    .container-modal .content p{
        font-size: 15px;
        width: 100%;
    }
    .audio-bar{
        flex-basis: 55%;
    }
}
.audio-bar:hover{
    cursor: pointer;
}
.audio-bar .progress{
    position: absolute;
    left: 0%;
    top: 0;
    width: 0%;
    background-color: #a62925;
    height: 3px;
    transition: width 0.1s ease-in;
}
.time{
    flex-basis: 5%;
}

.button {
    /* flex-basis: 25%; */
    box-sizing: border-box;
    width: 18px;
    height: 18px;
    border-width: 9px 0px 9px 18px;
    border-radius: 2px;
    border-style: solid;
    border-color: transparent transparent transparent #a62925;
    transition: 20ms all ease;
    will-change: border-width;
  }
  .button:hover{
    cursor: pointer;
  }
  .button.pause{
    width: 18px;
    height: 20px;
    border-style: double;
    border-width: 0px 0px 0px 15px;
    border-color: #a62925; 
  }


  .media-control span{
    font-size: 1.0625rem;
    line-height: 1.8125rem;
    padding-bottom: 2px;
  }
  .photos{
      margin-top: 50px;
  }
  .photos h3{
      border-bottom: 2px solid #a2a2a2;
      padding-bottom: 10px;
  }
  .photos img{
      height: 100%;
      object-fit: cover;
      width: 100%;
  }
.photos-list{
  display: flex;
  flex-wrap: wrap;
}
  .photos .imgwrapper {
    position: relative;
    width: 230px;
    height: 230px;
    margin-right: 20px;
    margin-top: 20px;
    cursor: pointer;
  }

.photos .imgwrapper:hover .caption{
  display: block;
}
  .photos .imgwrapper .caption{
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(255,255,255, 0.8);
    margin: 20px;
    display: flex;
    flex-flow: column;
    justify-content: center;
    padding: 10px;
  }
  .photos .imgwrapper .caption{
    display: none;
  }
  .photos .imgwrapper .caption-full{
    display: none;
  }

  .lightbox{
    background-color: rgba(51, 51, 51, 0.8);
    /* height: calc(100vh - 100px); */
    left: 0;
    top: 0;
    bottom: 0;
    overflow-y: hidden;
    padding: 30px 30px 50px 30px;
    position: fixed;
    text-align: center;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-flow: column;
  }
  .lightbox img{
        max-height: 80%;
        object-fit: contain;
  }

  .lightbox .arrow-left{
    position: absolute;
    width: 20px;
    height: 20px;
    color: #fff;
    left: 20px;
    top: 50%;
    border-width: 1px 1px 0 0;
    border-style: solid;
    -webkit-transform: rotate(-135deg);
    -ms-transform: rotate(-135deg);
    transform: rotate(-135deg);
    cursor: pointer;
  }
  .lightbox .arrow-left:before{
    right: 0;
    top: -1px;
    position: absolute;
    height: 1px;
    -webkit-box-shadow: inset 0 0 0 20px;
    box-shadow: inset 0 0 0 20px;
    -webkit-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    transform: rotate(-45deg);
    width: 30px;
    -webkit-transform-origin: right top;
    -ms-transform-origin: right top;
    transform-origin: right top;
    content: "";
} 
  

  .lightbox .arrow-right{
    cursor: pointer;
    position: absolute;
    width: 20px;
    height: 20px;
    color: #fff;
    top: 50%;
    right: 20px;
    border-width: 1px 1px 0 0;
    border-style: solid;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}
.lightbox .arrow-right:before{
    right: 0;
    top: -1px;
    position: absolute;
    height: 1px;
    -webkit-box-shadow: inset 0 0 0 20px;
    box-shadow: inset 0 0 0 20px;
    -webkit-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    transform: rotate(-45deg);
    width: 30px;
    -webkit-transform-origin: right top;
    -ms-transform-origin: right top;
    transform-origin: right top;
    content: ""; 
}
.lightbox .close-icon{
    display: block;
    position: absolute;
    top: -10px;
    transform: translate(50%, 20px);
    width: 20px;
    height: 20px;
    background: url('../images/icon-close-white.svg');
    border: 1px solid #fff;
    border-radius: 100%;
    /* -webkit-mask-image: url('../images/icon-close.svg'); */

    cursor: pointer;
}
.lightbox .close-icon:after{
    content: 'Close';
    position: absolute;
    top: -3px;
    right: -45px;
    color: #fff;
}

.lightbox .caption{
    color: #fff;
    /* position: absolute; */
    bottom: 10px;
    padding: 0 10px;
    margin-top: 20px;
}