.documents_body table td{ min-width: 110px; }
.documents_body table td.case{ min-width: 30px; }
.documents_body table td.large{ width: 100%; }
 
.main.document{ min-height: auto !important; }

@media (max-width: 600px) {
   .documents_body table td.case{ min-width: 20px; }
   .documents_body table td{ min-width: 70px; }
}
@media (max-width: 400px) {
   .documents_body table td.case{ min-width: 10px; }
   .documents_body table td{ min-width: 60px; }
   .documents_body table tr td:nth-child(3), .documents_body table thead th:nth-child(3){ display:none; }
}

.documents_view_main{ 
    position: fixed; 
    background-color: #888888; 
    width: 100%;
    left: 0px;
    right: 0px;
    top: var(--headTableHeight);
    bottom: 0px;
}
.documents_view_main .documents_view_top{ background-color: #666666; color:#ffffff; height:50px; text-align: center; }
.documents_view_main .documents_view_top a, .documents_view_main .documents_view_top span{ line-height: 45px; font-size:20px; }
.documents_view_main .return{ float:left; margin-left: 10px; }
.documents_view_main a{ float:right; margin-right: 15px; color:#ffffff; }
.documents_view_main .position_indicator *{ line-height: 50px !important; }
.documents_view_main .documents_view_body{ 
    position: fixed;
    top: calc(var(--headTableHeight) + 50px);
    bottom: 0px;
    text-align: center;
    overflow: hidden;
    width: 100%;
 }
.documents_view_body_center{ 
    height: 100%; 
    text-align: center; 
    overflow: auto; 
    width: 100%;
    position: fixed;
    top: calc(var(--headTableHeight) + 50px);
    max-height: calc(calc(100vh - var(--headTableHeight)) - 50px);
}
 
body:not(.ios) .documents_view_body_center{ 
   transform-origin: 0% 0% 0px !important; 
   transform: none !important; 
}
 
.documents_view_body .pinch-zoom-container{ 
    position: fixed !important;
    width: 100%;
    text-align: center;
    background-color: #888888; 
    transition-property: right, left;
    transition-duration: 1s;
    transition-delay: 0s;
    transition-timing-function: ease-in-out;
}
.documents_view_body .pinch-zoom-container .documents_view_body_center{ 
    position: relative !important;
    top: 0px !important;
}

.documents_view_body_center img{ 
    height: calc(100% - 3px); 
    /*position:absolute;*/
}

.documents_view_body_center p{ 
    width:800px;
    display: block;
    margin: 0 auto;
    padding:5px;
 }

 .documents_view_body .icon {
    position: fixed;
    display: block;
    top:calc(50% - 30px);
    width: 50px;
    height: 50px;
    line-height: 50px;
    font-size: 26px;
    text-align: center;
    z-index:300;
    background-color: transparent;
    color: black;
    cursor:pointer;
    border-radius: 25px;
    opacity: 1;

    transition-property: opacity;
    transition-duration: 1s;
    transition-delay: 0s;
    transition-timing-function: ease-in-out;
 }
 .documents_view_body .icon.hidden {
    opacity: 0;
    cursor:default;
 }
 .documents_view_body .icon:not(.hidden):hover {
    background-color: rgba(0, 0, 0, 0.3);
    color: white;
 }
 .documents_view_body .icon-chevron-left {
    left:15px;
 }
 .documents_view_body .icon-chevron-right {
    right:15px;
 }


 .documents_body .btn_plus{
    float: right;
    position: relative;
    width: 42px;
    height: 42px;
    padding: 0;
    top: -4px;
 }
 .documents_body .btn_plus *{
    color:#000000;
    line-height: 42px;
 }
 .documents_body input[type="datetime-local"]{
    display: inline-block !important;
    width: calc(100% - 30px) !important;
 }