
.ic-modal,
.ic-viewer
{
    display: none;
    position: fixed;
    left: 0px;
    top: 0px;
    width: 100vw;
    height: 100vh;
    background-color: rgba(255,255,255,0.7);
    z-index: 999;
}

.ic-viewer
{
    background-color: rgba(0,0,0,0.7);
}

.ic-modal.visible,
.ic-viewer.visible
{
    display: block;
}

.ic-modal .ic-modal-form,
.ic-viewer .ic-viewer-form
{
    margin: 0;
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;

    padding: 0px;
    display: block;
    /*position: relative;
    margin: 0 auto;*/
    background-color: white;
    border-radius: 15px;
    box-shadow: 0px 0px 10px 5px rgba(0,0,0,0.1);
    /*margin-top: 15vh;*/
    overflow: hidden;
}

.ic-viewer .ic-viewer-form
{
    background-color: black;
}

.ic-viewer-form-video
{
    max-width: 90vw !important;
    max-height: calc(90vw * 0.5);
}

.ic-viewer .ic-viewer-form .ic-viewer-close
{
    position: absolute;
    right: 25px;
    top: 25px;
    width: 30px;
    height: 30px;
    color: white;
    text-shadow: 0px 0px 5px rgba(0,0,0,0.5);
    z-index: 99;
    cursor: pointer;
}

.ic-viewer .ic-viewer-form .ic-viewer-close:before
{
    font-family: "Font Awesome 6 Free";
    content: '\f00d';
    font-size: 30pt;
    font-weight: bold;
}

.ic-viewer .ic-viewer-form .ic-viewer-left
{
    position: absolute;
    left: 10px;
    top: 50%;
    width: 30px;
    height: 30pt;
    color: white;
    text-shadow: 0px 0px 5px rgba(0,0,0,0.5);
    z-index: 99;
    cursor: pointer;
}

.ic-viewer .ic-viewer-form .ic-viewer-left:before
{
    font-family: "Font Awesome 6 Free";
    content: '\f053';
    font-size: 30pt;
}

.ic-viewer .ic-viewer-form .ic-viewer-right
{
    position: absolute;
    right: 10px;
    top: 50%;
    width: 30px;
    height: 30pt;
    color: white;
    text-shadow: 0px 0px 5px rgba(0,0,0,0.5);
    z-index: 99;
    cursor: pointer;
}

.ic-viewer .ic-viewer-form .ic-viewer-right:before
{
    font-family: "Font Awesome 6 Free";
    content: '\f054';
    font-size: 30pt;
}

.ic-modal .ic-modal-form .ic-modal-header
{
    position: relative;
    display: block;
    width: calc(100% - 20px);
    height: 20px;
    border-bottom: 1px solid #CACACA;
    text-align: center;
    padding: 10px;
    background-color: white;
}

.ic-modal .ic-modal-form .ic-modal-body
{
    position: relative;
    display: block;
    padding: 20px;
    width: calc(100% - 40px);
    background-color: white;
}

.ic-viewer .ic-viewer-form .ic-viewer-body
{
    position: relative;
    display: block;
    padding: 20px;
    width: calc(100% - 40px);
    height: calc(100% - 40px);
    background-color: black;    
    /*background-size: contain;*/
    background-size: 100vw auto;
    background-position: center;
    background-repeat: no-repeat;
}

.ic-modal .ic-modal-form .ic-modal-footer
{
    position: relative;
    display: block;
    width: calc(100% - 20px);
    height: 50px;
    border-top: 1px solid #CACACA;
    text-align: center;
    padding: 10px;
    background-color: white;
    text-align: center;
}

.notransition 
{
    -webkit-transition: none !important;
    -moz-transition: none !important;
    -o-transition: none !important;
    transition: none !important;
}