.tl-image {
    height: 92px;
    margin-left: 2rem;
    margin-bottom: -7rem;
}

body .ui-dialog {
    padding: 0;
    box-shadow: 0px 11px 15px -7px rgba(0, 0, 0, 0.2), 0px 24px 38px 3px rgba(0, 0, 0, 0.14), 0px 9px 46px 8px rgba(0, 0, 0, 0.12);
    border: 1px solid #545B67;
    border-radius: 0;
    max-width: 96vw;
    overflow: hidden;
    max-height: 96vh;
}

body .ui-dialog.position-top {
    margin-top: 2vh;
}

body .ui-dialog.ui-dialog-400 {
    max-width: 600px;
    width: 100% !important;
}
body .ui-dialog.ui-dialog-600 {
    max-width: 600px;
    width: 100% !important;
}
body .ui-dialog.ui-dialog-800 {
    max-width: 800px;
    width: 100% !important;
}
body .ui-dialog.ui-dialog-1000 {
    max-width: 800px;
    width: 100% !important;
}
body .ui-dialog.ui-dialog-1200 {
    max-width: 1200px;
    width: 100% !important;
}

body .ui-fileupload.custom-upload {
    min-height: 220px;
    position: relative;
    background: #f4f5f9;
    border: dashed 1px #c4c7cf;
    border-radius: 6px;
}
body .ui-fileupload.custom-upload .ui-fileupload-buttonbar {
    border: none;
    background: transparent;
    padding: 0;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    width: 140px;
    position: absolute;
    top: 50%;
    margin: auto;
    left: calc(50% - 70px);
    z-index: 2;
}
body .ui-fileupload.custom-upload .ui-fileupload-buttonbar .ui-button {
    background: #333333;
    color: #ffffff;
    border: 1px solid #222222;
    width: 100%;
    border-radius: 3rem;
}
body .ui-fileupload.custom-upload .ui-fileupload-buttonbar .ui-button.ui-state-hover, body .ui-fileupload.custom-upload .ui-fileupload-buttonbar .ui-button:not(:disabled):hover {
    background: #333333;
    border-color: #222222;
    color: #ffffff;
}
body .ui-fileupload.custom-upload .ui-fileupload-buttonbar .ui-button.ui-state-focus {
    box-shadow: 0 0 0 0.2rem #988b8b;
}
body .ui-fileupload.custom-upload .ui-fileupload-buttonbar .ui-button.ui-state-active, body .ui-fileupload.custom-upload .ui-fileupload-buttonbar .ui-button:active {
    background: #333333;
    border-color: #222222;
    color: #ffffff;
}
body .ui-fileupload.custom-upload .ui-fileupload-buttonbar .ui-button.ui-button-outlined {
    background-color: transparent;
    color: #333333;
    border: 1px solid;
}
body .ui-fileupload.custom-upload .ui-fileupload-buttonbar .ui-button.ui-button-outlined:enabled:hover {
    background: rgba(155, 81, 224, 0.04);
    color: #333333;
    border: 1px solid;
}
body .ui-fileupload.custom-upload .ui-fileupload-buttonbar .ui-button.ui-button-outlined:enabled:active {
    background: rgba(184, 177, 191, 0.16);
    color: #333333;
    border: 1px solid;
}
body .ui-fileupload.custom-upload .ui-fileupload-buttonbar .ui-button.ui-button-flat {
    background-color: transparent;
    color: #333333;
    border-color: transparent;
}
body .ui-fileupload.custom-upload .ui-fileupload-buttonbar .ui-button.ui-button-flat:enabled:hover {
    background: rgba(155, 81, 224, 0.04);
    border-color: transparent;
    color: #333333;
}
body .ui-fileupload.custom-upload .ui-fileupload-buttonbar .ui-button.ui-button-flat:enabled:active {
    background: rgba(155, 81, 224, 0.16);
    border-color: transparent;
    color: #333333;
}
body .ui-fileupload.custom-upload .ui-fileupload-buttonbar .ui-button.ui-button-text-icon-left .ui-button-text {
    padding: 1rem;
}
body .ui-fileupload.custom-upload .ui-fileupload-buttonbar .ui-button.ui-fileupload-choose .ui-icon {
    display: none;
}
body .ui-fileupload.custom-upload .ui-fileupload-buttonbar::before {
    content: "Drag photo here \aor";
    color: #6c6e79;
    position: absolute;
    top: -89px;
    width: 100%;
    text-align: center;
    font-size: 1.2rem;
    font-weight: bold;
    white-space: pre-wrap;
    line-height: 38px;
}
body .ui-fileupload.custom-upload .ui-fileupload-buttonbar::after {
    content: "Upload photo, uncompressed, less than 2 GB in size";
    color: #6c6e79;
    position: absolute;
    top: 84px;
    width: max-content;
    text-align: center;
    font-size: 0.8rem;
    white-space: pre-wrap;
    line-height: 15px;
    left: -65px;
}
body .ui-fileupload.custom-upload .ui-fileupload-content {
    border: none;
    background: transparent;
    padding: 1rem;
    border-top: 0 none;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
body .ui-fileupload.custom-upload .ui-fileupload-content .ui-messages {
    position: absolute;
    z-index: 1;
    width: calc(100% - 2rem);
    height: calc(100% - 2rem);
}
body .ui-fileupload.custom-upload .ui-fileupload-content .ui-messages .ui-messages-error,
body .ui-fileupload.custom-upload .ui-fileupload-content .ui-messages .ui-messages-fatal {
    margin: 0;
    height: 100%;
    border: 0;
    display: flex;
    background: #f4f5f9;
    color: #f00021;
}
body .ui-fileupload.custom-upload .ui-fileupload-content .ui-messages .ui-messages-error .ui-messages-close,
body .ui-fileupload.custom-upload .ui-fileupload-content .ui-messages .ui-messages-fatal .ui-messages-close {
    background: transparent;
    color: #f00021;
}
body .ui-fileupload.custom-upload .ui-fileupload-content .ui-messages .ui-messages-error .ui-messages-error-icon,
body .ui-fileupload.custom-upload .ui-fileupload-content .ui-messages .ui-messages-fatal .ui-messages-error-icon {
    display: none;
}
body .ui-fileupload.custom-upload .ui-fileupload-content .ui-messages .ui-messages-error ul,
body .ui-fileupload.custom-upload .ui-fileupload-content .ui-messages .ui-messages-fatal ul {
    margin: auto;
}
body .ui-fileupload.custom-upload .ui-fileupload-content .ui-fileupload-files {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    background: #f4f5f9;
    z-index: 1;
    justify-content: center;
}
body .ui-fileupload.custom-upload .ui-fileupload-content .ui-fileupload-files div {
    margin: auto;
    padding: 0.5rem;
}
body .ui-fileupload.custom-upload.ui-state-drag .ui-fileupload-buttonbar::before {
    content: "Drop";
    top: -27px;
    font-size: 2rem;
}
body .ui-fileupload.custom-upload.ui-state-drag .ui-fileupload-buttonbar::after {
    content: " ";
}
body .ui-fileupload.custom-upload.ui-state-drag .ui-fileupload-buttonbar .ui-button {
    display: none;
}

