* {
    padding: 0;
    margin: 0;
}

html { height: 100%;; overflow: auto; }
body { 
    height: 100%;
    background-color: #fafafa;
    overflow: auto;
    font-family: 'Nunito', sans-serif;
    letter-spacing: 1.1px;
    color: rgb(50, 50, 50);
}
main { 
    min-height: calc(100% - 265px);
    overflow: auto; 
    padding: 40px;
    box-sizing: border-box;
}

a { 
    text-decoration: none;
    color: #000; 
    cursor:pointer;
}
#forgot-password { font-size: 14px; }

table { border-collapse: collapse; }
th {text-transform: uppercase;}
.w20 {width: 20%; text-align: center;}
.w25 {width: 25%; text-align: center;}
.w15 {width: 15%;}
.title { 
    text-align: center;
    padding: 60px; 
    display: block; 
    margin: 0 auto; 
    width: max-content;
    color: #424242;
    font-size: 32px;
}

.title::after {
    content: '';
    display: block;
    width: 0;
    margin: 0 auto;
    border: 2px solid transparent;
    border-radius: 10px;
    transition: all 1300ms ease-in;
}

.title.active::after {
    width: 100%;
    border: 2px solid #7ab7ff;
}

.sub-title { text-align: center; padding: 20px; }
.uppercase { text-transform: uppercase; }
.flex-column { flex-direction: column; }
.data-table {
    width: 100%;
    text-align: center;
    font-size: .85em;
}
.data-table td { padding: 2px; }

.btn {
    display: inline-flex;
    padding: 1px;
    outline: none;
    background: transparent;
    border: 0;
    border-radius: 7px;
    color: #424242;
    position: relative;
    font-size: 14px;
    cursor: pointer;
    background-color: #7ab7ff;
}

.btn:hover .btn-content {
    transform: translateY(-3px);
}
.btn:active .btn-content {
    transform: translateY(0);
}

.btn:disabled {
    background-color: rgb(180,180,180);
}

.btn:disabled:hover .btn-content {
    transform: translateY(0) !important;
}

.btn:disabled .btn-content {
    background-color: rgb(240, 240, 240);
    border-color: rgb(180,180,180);
    color: rgb(180,180,180);
}

.main-menu-link.disabled .main-menu-a-content {
    background-color: rgb(240, 240, 240);
    border-color: rgb(180,180,180);
    color: rgb(180,180,180);
    transform: translateY(0) !important;
}

.btn.small {
    padding: 5px 15px;
    text-transform: capitalize;
    font-size: .9em;
}
.btn.small.flat {
    margin-left: 10px;
}
.btn.small.flat.icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 30px;
    height: 30px;
}
.btn:not(:disabled).danger {
    background-color: rgb(255, 50, 50) !important;
}

.btn:not(:disabled).danger .btn-content {
    border-color: rgb(255, 50, 50) !important;
} 
.btn:not(:disabled).success {
    
    background-color: #66d980 !important;
}
.btn:not(:disabled).success .btn-content {
    border-color:  #66d980 !important;
}

.btn.flat {
    border: none;
    background-color: rgb(230,230,230);
    border-radius: 5px;
}

.btn.flat:hover {
    background-color: rgb(180,180,180);
}

.btn-content {
    height: 100%;
    width: 100%;
    box-sizing: border-box;
    background-color: #fafafa;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #7ab7ff;
    padding: 5px 10px;
    background-color: #fff;
    border-radius: 7px;
    transition: all 200ms;
}
.btn.icon {
    width: 27px;
    height: 27px;
    padding: 0;
    box-sizing: border-box;
}
.btn.icon .btn-content {
    width: 25px;
    height: 25px;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}
.btn.icon .fa {
    font-size: .9em;
}

.alert {
    padding: 15px;
    border: 1px solid;
}

.alert.danger {
    background-color: #f8d7da;
    color: #721c24;
    border-color: #f5c6cb;
}

.red { color: #ff3232 !important; }
.green { color: #28a745 !important; }
.blue { color: #007bff !important; }


.users-msg { text-align:center; margin-bottom: 40px; }

a.lang-btn {color: #fafafa; font-size: 16px;}
a.lang-btn.active { text-decoration: underline; font-size: 14px; color: #fafafa;}
a.lang-btn.active:hover { color: #fafafa; }
a.lang-btn:hover { color: #d0d0d0; }

.app-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    width: 100%; height: 200px;
    padding: 20px;
    box-sizing: border-box;
    background: url('/resources/images/Footer_Design_cropped.png');
    background-repeat: no-repeat;
    align-items: flex-end;
    background-size: 100% 200px;
}
.privacy-policy-trigger {
    align-self: center;
}

.powered-by {
    display: flex;
    align-items: center;
    color: #424242;
    padding-bottom: 15px;
}

.app-header {
    display: grid;
    align-items: center;
    grid-template-columns: max-content 1fr max-content  max-content max-content;
    background-color: #7ab7ff;
    padding: 0 20px;
}
.app-header * { color: #fafafa }
.pdf-modal #pdf-view-wrapper {
    box-shadow: none;
}

.pdf-modal  #pdf-viewer-tc-pp {
    box-shadow: none;
}

.pdf-modal.tc-and-pp .modal-body {
    max-width: 950px; 
    top: 20px;
    margin: 0 auto 50px auto;
}

#pdf-viewer-tc-pp {
    display: grid;
    padding: 10px 40px 40px;
    margin: 0 auto;
    grid-template-columns: max-content 1fr;
    gap: 20px; 
    border-radius: 6px;
    box-shadow: inset -2px 3px 2px 1px rgba(255, 255, 255, 0.5), 1px 1px 0px 0px rgba(0, 0, 0, 0.1), -1px 2px 2px 0px rgba(0, 0, 0, 0.3);
}
.privacy-policy-msg {
    width: 600px;
    margin: 0 auto;
    text-align: center;
    font-size: 1.1rem;
    letter-spacing: initial;
}
#pp-login-trigger {
    color: #007bff;
}
/* DEPRECATED */
.app-sub-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 40px;
}

.logo {
    width: max-content;
    padding: 15px 20px;
    border-radius: 48%;
    color: #fafafa;
    font-family: Georgia;
    font-size: 30px;
    font-weight: 600;
}

.logout-btn {
    text-align: right;
    padding: 5px 20px;
    width: max-content;
    justify-self: end;
    border-radius: 5px;
}

.logout-btn .btn-content {
    color: #787878 !important;
}

.logout-btn:hover .btn-content {
    box-shadow: 0 2px 6px rgba(0,0,0,.3);
}

.logout-btn:active .btn-content {
    box-shadow: none ;
}

.locale-selector {
    text-align: right;
    padding: 0 40px;
}

.locale-selector img {
    width: 75px;
}

/* FORM */

input {
    width: 100%;
    padding: 12px 20px;
    border: 1px solid rgb(160,160,160);
    box-sizing: border-box;
    font-size: 16px;
}

input[type=file] {
    border: 0;
    padding: 0;
}

.input-wrapper {
    display: flex;
}

.input-prefix {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 10px;
    background-color: #d0d0d0;
    border: 1px solid rgb(160,160,160);
    border-right: 0;
}

textarea {
    font-size: 16px;
}

select {
    padding: 7px;
}

label.required:after {
    content: '*';
    color: red;
}

.card-form {
    margin-top: 40px !important;
    border-radius: 10px;
    box-shadow: 1px 1px 24px rgba(4, 31, 62 ,.5);
    padding: 40px;
}
.card-form.animated > div , .card-form.animated > label {
    opacity: 0;
}
.fieldset { display: flex; justify-content: space-between;}
.fieldset div { flex:1; margin-right: 10px; }
.fieldset div:last-child { margin-right: 0; }
.create-form label {justify-self: end;}

#partners-table tr {
    text-align: left;
}
#partners-table tr td:last-child, #partners-table tr th:last-child {
    text-align: right !important;
}
.sub-label {
    font-size: .8rem;
}
/* LOGIN FORM*/
.login-title {
    text-align: center;
    padding: 0 40px 40px 40px;
}

.login-form {
    width: 600px;
    margin: 50px auto;
    align-items: center;
    text-align: right;
}

.login-form input {
    margin-bottom: 20px;
}

.forgot-password {
    text-align: right;
}

#login-btn {
    margin: 20px 0 0 0;
    background-color: #7ab7ff;
    padding: 1px;
    font-size: 18px;
    min-width: 120px;
}

.msg {
    margin-top: 20px;
    padding: 12px;
    border-radius: 5px;
    text-align: center;
}

.msg.error-msg {
    background-color: rgb(255, 200, 200);
    color: rgb(255, 50, 50);
    font-weight: 600;
}
.comment-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.comment-text{
    white-space: nowrap;
    text-align: left;
}
/* MODAL */
.modal {
    display: none;
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
}

.modal .overlay {
    position: fixed;
    width: 100%;
    height: 100%;
    background-color: rgb(0,0,0,.5);
    
    -webkit-animation-name: fadein;
    -webkit-animation-duration: 0.2s;
    animation-name: fadein;
    animation-duration: 0.2s;
}

.modal .modal-body {
    position: absolute;
    top: 200px;
    left: 0; right: 0;
    max-width: 90%;
    margin: 0 auto;
    width: max-content;
    background-color: #fff;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,.6);
    position: relative;
    -webkit-animation-name: animatetop;
    -webkit-animation-duration: 0.3s;
    animation-name: animatetop;
    animation-duration: 0.3s;
    animation-timing-function: ease-out;
}

.stamping {
    display: none;
}
.stamping .modal-body {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    width: 500px;
    height: 300px;
}

#identifiers-form-modal .modal-body {
    width: 600px;
}

.big-spinner {
    font-size:6rem;
}

.hidden { opacity: 0 }

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgb(220,220,220);
}

.modal-header h2 { padding: 20px 20px 10px 20px; }

.modal-content {
    padding: 20px;
}
.modal-close-btn {
    width: 45px;
    height: 45px;
    border: 0;
    border-radius: 50%;
    background-color: #fff;
    outline: none;
    color: rgb(160,160,160);
    font-weight: 600;
    font-size: 2.5em;
    line-height: 1em;
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-close-btn:hover { color: rgb(255, 50, 50); }

.confirm-modal-actions {
    display: flex;
    justify-content: space-around;
    padding-top: 20px;
}
.modal-actions {
    display: flex;
    justify-content: space-around;
    padding-top: 20px;
}
.confirm-modal-actions button {
    width: 100px;
}
.details-modal-table td { padding: 2px 10px; }
.details-modal-table th {
    text-align: right;
}

.details-modal-table tbody tr:hover, .users-table tbody tr:hover { background-color: rgb(240,240,240); }
.pdf-modal {
    overflow: auto;
    background-color: rgb(0,0,0,.7);
}
.pdf-modal .modal-body {
    max-width: 750px;
    top: 50px;
    margin: 0 auto 50px auto;
}
.pdf-modal #pdf-view-wrapper {
    box-shadow: none;
    gap: 40px;
}

.pdf-modal #download-btn {
    margin: 20px 40px;
    padding: 10px 20px;
}

.pdf-modal #download-btn span {
    margin-left: 10px;
}

.pdf-modal-header-info {
    display: grid;
    font-size: .7rem;
    grid-template-columns: 50% 50%;
    flex: 1;
    gap: 10px;
    margin: 15px 0;
}

/* INDEX OLDAL */

.index-panel {
    padding: 20px 40px;
}

.index-panel h1 {
    font-size: 47px;
    text-align: center;
}

#officer-panel .main-menu { justify-content: start; }

.main-menu {
    display: flex;
    justify-content: space-around;
}

.main-menu a {
    opacity: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 250px;
    max-width: 375px;
    width: 100%;
    margin: 5px;
    height: 350px;
    font-size: 25px;
    text-align: center;
    border-radius: 7px;
    position: relative;
    background-color: #787878;
    /*animation: fadein 1200ms;*/
}

.main-menu a.active {
    opacity: 1;
    animation: fadeinscale 1200ms;
}

.main-menu a * {
    z-index: 5;
}
.main-menu a:hover .main-menu-a-content {
    transform: translateY(-8px);
}
.main-menu a:active .main-menu-a-content {
    transform: translateY(0);
}

.main-menu a i { font-size: 40px; margin-bottom: 25px;}

.main-menu-a-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: calc(100% - 6px);
    height: calc(100% - 6px);
    background-color: #fafafa;
    border: 2px solid #787878;
    border-radius: 7px;
    transition: all 200ms;
}

#session-modal {
    z-index: 10000;
}

/* Cases */
.cases-table {
    width: 100%;
}

.cases-table thead tr:first-child {
    cursor: pointer;
}
.cases-table input {
    padding: 3px 10px;
    border-radius: 5px;
    outline: none;
}
.cases-table input:focus {
    box-shadow: 0 0 0 1px rgb(0, 200, 255);
}

.documents-deleted-filter {
    display: flex;
    align-items: center;
    justify-content: center;
}
.cases-table thead tr:nth-child(2) td {padding: 10px;}
.cases-table thead th {
    vertical-align: baseline;
    padding: 5px;
}
.cases-table thead th .flex {
    align-items: baseline;
    justify-content: space-between;
}

.documents-deleted-filter input {
    width: 25px;
}
.documents-deleted-filter input:focus {
    box-shadow: none !important;
}

.case-status { text-transform: uppercase; }
.case-row { cursor: pointer; }
.case-row:hover { background-color: rgb(240,240,240); }
.case-row td { padding:10px; }
.case-row.archived {
    color: deepskyblue !important
}
/* CASE MANAGEMENT INFO*/
.edit-title {
    padding: 20px 0;
}

#info {
    display: flex;
    justify-content: space-between;
    margin: 20px 0;
}

.info-case {
    max-width: 40%;
}
.info-case td { vertical-align: top; }
.info-case tr:last-child td:last-child { text-align: justify; }

.info-case { width: 50%; }
.info-case td { padding: 3px; }
.info-case td:first-child { font-weight: 600; white-space: nowrap; }
.info-case tbody td:last-child { padding-left: 20px; }

.management-exporters-table {
    flex: 1;
    margin: 0 50px;
}
.management-exporters-table th {
    text-align: left;
}
.management-exporters-table td {
    padding-right: 10px;
}
.exporter-table-title {
    font-size: 1.4rem;
    padding-bottom: 10px;
}
/* CASE MANAGEMENT ACTIONS*/
#case-actions { margin-bottom: 20px; }

/* CASE MANAGEMENT DOCUMENTS */
#case-documents .sub-title {
    padding: 20px 0;
    text-align: center;
}

.case-documents-table { width: 100%; }

.case-documents-table td {
    text-align: center;
    padding: 5px;
}

.case-documents-table tbody tr:hover {
    background-color: rgb(230,230,230);
}

/* CASE CREATE */

.form-group {
    margin-bottom: 20px;
}

.create-form {
    width: 60%;
    margin:0 auto;
    display: grid;
    gap: 20px;
    grid-template-columns: max-content 1fr;
}

.create-form .description-lbl { 
    align-self: start;
}

.create-form h1 { 
    text-align: center;
    grid-column-start: 1;
    grid-column-end: 3;
}

.create-form textarea {
    width: 100%;
    padding: 15px 20px;
    border: 1px solid rgb(160,160,160);
    box-sizing: border-box;
}

.create-form .actions {
    grid-column-start: 2;
    grid-column-end: 3;
    display: flex;
    align-items: center;
}

.create-form .actions .btn { margin-right: 5px; }

.field-error {
    color: red;
    grid-column-start: 2;
    grid-column-end: 3;
}

.checkbox-wrapper { 
    display: flex; 
    justify-content: space-between;
    align-items: center;
    width: 100%; 
    box-sizing: border-box; 
    padding: 5px 10px;
    
}
.checkbox-wrapper label { display: block; width: 1fr; }
.checkbox-wrapper input { width: max-content; }


/* CASE DOCUMENT TYPE SETTINGS */

.case-info {
    margin: 0 auto;
    width: max-content;
}

#doctypes-settings {
    width: 800px;
    margin: 40px auto;
}
#doctypes-settings h1 {
    padding-bottom: 0;
}
#doctypes-settings .case-info {
    padding: 20px;
} 

.checkbox {
    display: flex;
    align-items: center;
    padding: 3px;
}

.checkbox:hover {
    background-color: rgb(230,230,230);
}

.checkbox input {
    width: auto;
    margin-right:10px;
}
.checkbox.disabled label {
    color: #d0d0d0;
}

/* CASE DOCUMENT UPLOAD ADD */
#add-case-info { margin: 0 auto; }

#document-upload-form {
    width: 60%;
    min-width: min-content;
    margin:40px auto;
    display: grid;
    gap: 20px;
    /*align-items: center;*/
    grid-template-columns: max-content 1fr;
}
#document-upload-form h1 { padding-bottom: 0;}
#document-upload-form h1, #add-case-info {
    grid-column-start: 1;
    grid-column-end: 3;
    padding: 20px;
}

/* CASE INVITE MODAL */
.case-partner-invite-form { width: 500px; }
.case-partner-invite-form .partner-select { padding: 20px 0;}
.case-partner-invite-form .partner-select * { display: block; width: 100%; }

.case-partner-invite-form .document-type-select {
    max-height: 250px;
    overflow: auto;
    border: 1px solid rgb(160, 160, 160);
}
.case-partner-invite-form .actions { margin-top: 20px; }

.case-partner-invite-form .actions .btn:first-child {
    margin-right: 20px;
}

/* CONTAINERS */

#add-container input {
    margin-bottom: 5px;
}

#containers-grid {
    margin-top: 30px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 10px;
}

.error { color: red }

/* USERS LIST */
.users-table td {
    padding: 5px;
}

/* COMPANY LIST*/

.companies-table {
    width: 100%;
    text-align: center;
}

.companies-table td {
    text-align: center;
    padding: 5px;
}

.companies-table tbody tr:hover {
    background-color: rgb(230,230,230);
}

#company-input-wrapper {
    position: relative;
}

.drop-down {
    display: none;
    width: 100%;
    border: 1px solid rgb(160,160,160);
    list-style: none;
    box-sizing: border-box;
    position: absolute;
    background-color: #fff;
    z-index: 2;
}

.drop-down li { padding: 5px 10px; }

.drop-down li:hover {
    background-color: rgb(230,230,230);
}

/* COMPANY CREATE */
.address {
    display: grid;
    justify-content: space-between;
    gap: 15px;
    grid-template-columns: 1fr 2fr;
}

.address div:first-child { min-width: 180px; }

/* DOCUMENT TYPE LIST */

.document-types-table {
    width: 100%;
    text-align: center;
}

.document-types-table td {
    text-align: center;
    padding: 5px;
}

#document-types-table td:nth-child(2) {
    text-align: left;
}

#document-types-table tbody tr:hover {
    background-color: rgb(230,230,230);
}

.check-table {
    width: 50%;
    margin: 0 auto;
}

/*.check-table tr td:nth-child(1){text-align: right;}*/
.check-table tr td:nth-child(2) {
    text-align: left;
}

/* Events */
.events-table tbody tr:hover {
    background-color: rgb(230, 230, 230);
}

.events-table td:first-child {
    width: 100px;
}

.events-table td {
    text-align: left;
}
.events-table td:last-child {
    text-align: center;
}
.events-table td:nth-child(2){
    width: 300px;
}

/* Helpers */
.cap { text-transform: capitalize;}
.center { text-align: center; }
.left { text-align: left; }
.flex { display: flex; align-items: center; justify-content: center; margin: 0 auto; }

.pagination {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}
.pagination .btn { margin: 0 5px;}

/* Animations */

@keyframes animatetop {
    from {transform: translateY(50px); opacity:0}
    to {transform: translateY(0); opacity:1}
}

@keyframes fadein {
    from {opacity:0}
    to {opacity:1}
}

@keyframes fadeinscale {
    0% { opacity: 0; transform: scale(.90) }
    50% { opacity: .5; transform: scale(1.1) }
    100% { opacity: 1; transform: scale(1) }
}


* {font-family: 'Nunito';}

.expansion-panel {
    font-size: 1em;
}

.expandable-row {
    border-bottom: 1px solid rgb(220,220,220);
}
.expandable-row .expansion-icon i { transition: all 200ms ease-out; }
.expandable-row.closed .expansion-icon i {
    transform: rotateZ(0);
}
.expandable-row.open .expansion-icon i {
    transform: rotateZ(180deg);
}

.expandable-main {
    padding: 5px;
    display: flex;
    align-items: center;
    cursor: pointer;
}

.expandable-main .actions {
    text-align: right;
    display: flex;
    justify-content: flex-end;
}

.expandable-main .actions .btn { margin-left: 10px; width: 35px; height: 35px;}
.expandable-main .actions .btn .btn-content {padding: 0; width: 100%; }
.expansion {
    overflow: hidden;
    height: 0;
    padding: 10px;
    transition: all 200ms ease-out;
    transition-property: height, padding;
    background-color: rgb(240,240,240);
    box-sizing: border-box;
    box-shadow: inset 0 0 6px rgba(0,0,0,.4);
}

.expansion-panel header {
    display: flex;
    border-bottom: 1px solid rgb(220,220,220);
    font-size: 1.4em;
    gap: 10px;
}

.expansion-icon {
    flex: none;
    width: 50px;
}
.expansion-table {
    border-collapse: collapse;
    font-size: 15px;
}
.expansion-table tbody tr, .expansion-table thead tr {
    border-bottom: 1px solid rgb(220,220,220);
}
.expansion-table tr td {
    padding: 3px 5px;
}


@keyframes fadeIn {
    from {opacity: 0;}
    to {opacity: 1;}
}

.case-filter-actions {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.case-type-filter-radios {
    display: grid;
    grid-template-columns: repeat(3, 20px max-content);
    align-items: center;
}

.switch {
    width: 40px;
    height: 15px;
    margin-top: 10px;
    border-radius: 20px;
    position: relative;
    background-color: rgb(180, 180, 180);
    transition: all 150ms ease-out;
}

.switch:after {
    content: '';
    width: 30px; height: 30px;
    position: absolute;
    top: -7px; left: -7px;
    background-color: #fff;
    box-shadow: 0 0 4px rgba(0,0,0,.4);
    border-radius: 50%;
    transition: all 150ms ease-out;
}

.switch.active::after {
    transform: translateX(25px);
    background-color: #4497f0;
}

.switch.active {
    background-color: #94c9ff;
}

.icon-circle {
    width: 30px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    border: 2px solid;
}

.icon-circle.danger {
    border-color: rgb(255, 50, 50);
}
.icon-circle.danger i {
    color: rgb(255, 50, 50);
}

.tooltip {
    position: relative;
}
.tooltip-message {
    display: none;
    border: 2px solid #424242;
    border-radius: 5px;
    background-color: #424242;
    color: #fff;
    padding: 3px 15px;
    width: max-content;
    max-width: 400px;
    box-sizing: border-box;
    box-shadow: 0 0 4px rgba(0,0,0,.4);
    text-align: left;
    box-sizing: border-box;
}

.tooltip-message::after {
    content: '';
    display: block;
    box-sizing: border-box;
    position: absolute;
    margin-top: -8px;
    top: 50%;
    left: 100%;
    border-width: 8px;
    border-style: solid;
    border-color: transparent transparent transparent #424242;
}

.tooltip:hover .tooltip-message {
    display: block;
    position: absolute;
    bottom: auto;
    right: 130%;
}

.badge-error {
    padding: 5px 15px;
    background-color: rgb(255, 185, 185);
    color: red;
    margin: 20px 0;
    border-radius: 5px;
}

.btn-round {
    
    display: inline-block;
    background-color: #F0F1F0;
    padding: 7px 15px;
    outline: none;
    border: none;
    border-radius: 5px;
    text-transform: uppercase;
    box-shadow: inset -1px 1px 0px 0px rgba(255, 255, 255, 0.85),
                1px 1px 0px 0px rgba(0, 0, 0, 0.1),
                -1px 2px 2px 0px rgba(0, 0, 0, 0.3);
}

.btn-round:not(:disabled):hover, a.btn-round:hover {
    transform: translateY(-3px);
    box-shadow: inset -1px 1px 0px 0px rgba(255, 255, 255, 0.85),
                1px 1px 0px 0px rgba(0, 0, 0, 0.1),
                -1px 4px 2px 0px rgba(0, 0, 0, 0.3);
}

.btn-round:not(:disabled):active, .btn-round:not(:disabled).active, a.btn-round:active, a.btn-round.active {
    transform: translateY(0);
    box-shadow: -2px 1px 2px 1px rgba(255, 255, 255, 0.5),
                inset 1px 1px 0px 0px rgba(0, 0, 0, 0.1),
                inset -1px 2px 2px 0px rgba(0, 0, 0, 0.3);
}
.image-viewer img {
    width: 100%;
}
#pdf-view-wrapper {
    display: none;
    max-width: 700px;
    padding: 40px;
    margin: 0 auto;
    border-radius: 6px;
    box-shadow: 1px 1px 24px rgba(4, 31, 62 ,.5);
}

.pdf-viewer {
    display: grid;
    grid-template-columns: 50px 1fr;
    gap: 40px;
}

.pdf {
    width: 100%;
    overflow: hidden;
    position: relative;
    justify-self: center;
    border-radius: 6px;
    grid-column-start: 2;
    grid-column-end: 3;
    grid-row-start: 1;
    grid-row-end: 3;
}

.pdf .shadow-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    box-shadow: -2px 3px 2px 1px rgba(255, 255, 255, 0.5), inset 1px 1px 0px 0px rgba(0, 0, 0, 0.1), inset -1px 2px 2px 0px rgba(0, 0, 0, 0.3);
}

.pdf canvas {display: block; width: 100%;}

.pdf-actions {
    display: flex;
    flex-direction: column;
    /* align-items: flex-end; */
    justify-content: center;
    grid-column-start: 1;
    grid-column-end: 2;
    grid-row-start: 1;
    grid-row-end: 3;
}

.pdf-actions .pdf-action-paging {
    display: flex;
    flex-direction: column;
    text-align: center;
    align-items: center;
    font-size: 20px;
}

.pdf-actions .pdf-action-paging .btn-round {
    outline: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: inset -2px 3px 2px 1px rgba(255, 255, 255, 0.5), 1px 1px 0px 0px rgba(0, 0, 0, 0.1), -1px 2px 2px 0px rgba(0, 0, 0, 0.3);
    border: 0;
    font-size: 20px;
}

.pdf-actual-page {
    font-size: 24px;
    grid-column-start: 2;
    grid-column-end: 3;
    text-align: center;
}
.no-render {display: none;}
#document-upload-form {
    display: grid;
    width: 100%;
    margin: 0 !important;
    box-sizing: border-box;
}
.upload-document-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin: 50px 0;
}


.fadein {
    animation: fadein 750ms;
    opacity: 1 !important;
}

@keyframes fadein {
    0% {
      opacity: 0;
    }
  
    100% {
      opacity: 1;
    }
}

.infobox {
    position: absolute;
    box-shadow: 0 2px 4px rgba(0,0,0,.4);
    padding: 25px 15px 15px 15px;
    background-color: #fff;
    display: grid;
    grid-template-columns: max-content 1fr;
    gap: 0 10px;
    width: 400px;
    box-sizing: border-box;
}
.infobox div:nth-child(odd) {
    font-weight: bold;
}
.infobox > .close {
    position: absolute;
    right: 0;
    background-color: grey;
    color:#fff;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 25px;
    height: 25px;
    cursor: pointer;
}
.infobox > .close:hover {
    background-color: red;
    
}
.no-display {
    display: none;
}
.shadow {
    position: absolute;
    box-shadow: 0 2px 4px rgba(0,0,0,.4);
    padding: 25px 15px 15px 15px;
    width: 400px;
    box-sizing: border-box;
    background-color: rgb(230,230,230);
}

#intersect-counter {
    position: absolute;
    padding: 5px 10px;
    background-color: #fff;
    box-sizing: border-box;
    box-shadow: 0 2px 4px rgba(0,0,0,.4);
}