html {
    font-size: 20px;
    min-height: 100%;
    word-wrap: break-word;
}

@media (min-width: 768px) {
    html {
        font-size: 13px;
    }
}

body {
    color: var(--text-color);
    min-width: fit-content !important;
    background: var(--main-bg-color) !important;
}

::-webkit-scrollbar {
    width: 10px;
    background-color: rgba(50,50,50, 0.3);
}

*::-webkit-scrollbar-thumb {
    background-color: rgba(75, 75, 75, 0.8);
    border-radius: 5px;
    border: 3px solid transparent;
    background-clip: content-box;
}

    ::-webkit-scrollbar-thumb:hover {
        background-color: rgba(25,25,25, 0.8);
    }

/*----------CUSTOM SHARED CLASS STYLING----------*/
.navbar {
    background-color: var(--btn-brdr-bg-color) !important;
    border: none !important;
    box-shadow: var(--header-shallow) !important;
    height: 35px !important;
}

.footer {
    z-index: 2000 !important;
    background-color: var(--btn-brdr-bg-color) !important;
    border: none !important;
    box-shadow: var(--footer-shallow) !important;
    height: 30px !important;
}


.view {
    width: fit-content !important;
    max-width: 96vw;
    margin: 0 auto;
    padding: 0 !important;
}


.title {
    margin-bottom: 15px;
    font-size: 20px !important;
}

.title h2 {
    font-size: 20px !important;
}

.main-plate {
    margin: 0px !important;
    border-radius: 25px;
    padding: 5px;
    max-width: 96vw;
    font-size: 15px;
    box-shadow: var(--floating-card-deep) !important;
}

.plate {
    margin: 15px;
    padding: 10px;
    border-radius: 15px;
    background: var(--main-bg-color);
    box-shadow: var(--expression-shallow);
    height: fit-content !important;
}

.plate-title {
    display: flex;
    justify-content: space-between;
}

.view-plate {
    width: 100%;
    overflow: auto;
    display: grid;
}

.input-btn {
    display: none;
}

.container {
    width: fit-content !important;
}

.view {
    padding-bottom: 6em !important;
}
/*----------CUSTOM SHARED CLASS STYLING----------*/

.file-viewer {
    margin: 15px;
    margin-top: 5px;
    margin-bottom: 5px;
    position: relative;
    height: 75vh;
    width: auto;
}

.viewer-border {
    z-index: 10;
    width: 100%;
    height: 100%;
    position: absolute;
    border-radius: 20px;
    box-shadow: var(--viewer-window-shadow);
    pointer-events: none;
}

/*----------BUTTONS----------*/
.btn-action {
    margin: 0 auto;
    margin-top: 15px !important;
    width: 200px;
    min-height: 35px;
    height: auto;
    z-index: 0;
    font-size: 12px;
    line-height: 20px;
    border-radius: 30px;
    background: var(--btn-brdr-bg-color);
    box-shadow: var(--btn-raised-shadow);
    vertical-align: middle;
}

.btn-hover {
    width: 196px;
    height: auto;
    max-height: 33px;
    margin: 2px;
    position: absolute;
    text-align: center;
    z-index: 0;
    font-size: 12px;
    color: var(--text-color);
    border-radius: 28px;
    background: var(--main-bg-color);
    box-shadow: var(--btn-hover-raised-shadow);
}

    .btn-hover:hover {
        cursor: pointer;
        border-radius: 25px;
        background: var(--main-bg-color);
        box-shadow: var(--btn-hover-shadow);
    }

.btn-hover-green {
    background: var(--btn-proceed) !important;
    box-shadow: var(--btn-proceed-raised) !important;
}

    .btn-hover-green > .btn-txt {
        color: whitesmoke !important;
    }

    .btn-hover-green:hover {
        box-shadow: var(--btn-proceed-depressed) !important;
    }

.btn-hover-red {
    background: var(--btn-delete) !important;
    box-shadow: var(--btn-delete-raised) !important;
}

.btn-hover-red > .btn-txt {
    color: whitesmoke !important;
}

    .btn-hover-red:hover {
        box-shadow: var(--btn-delete-depressed) !important;
    }



.btn-txt {
    font-style: normal;
    font-variant: normal;
    font-weight: medium;
    line-height: 31px;
    font-size: 12px;
    font-family: 'M PLUS', sans-serif;
}
/*----------BUTTONS----------*/

.err-msg {
    margin-top: 25px;
    width: 400px;
    z-index: 0;
    font-size: 20px;
    line-height: 35px;
    border-radius: 30px;
    background: var(--btn-brdr-bg-color);
    box-shadow: var(--btn-raised-shadow);

    padding: 25px;

    color: red;
    overflow: hidden;
}

img {
    margin-bottom: 25px;
    width: 100%;
    object-fit: contain;
}

#start-plate {
    padding: 35px 50px 25px 50px;
    min-width: 24%;
}

#title-plate {
    width: 100%;
    height: fit-content !important;
    padding: 15px;
    padding-top: 0px;
}

#view-title {
    margin-top: 15px;
    width: 100%;
    display: block;
}

#title-action {
    width: 100%;
    display: block;
}

#progress-bar {
    display: none;
    width: 100%;

    justify-content: center;
    align-items: center;
}

#progress-message {
    display: none;
    width: 198px;
    margin: 10px;
    padding: 15px;
    text-align: center;
    height: auto;
    font-size: 10px;
    color: var(--text-color);
    border-radius: 56px;
    box-shadow: var(--btn-hover-shallow-shadow);
    background: repeating-linear-gradient(to right, transparent 0%, transparent 40%, var(--gradient-color) 50%, transparent 60%, transparent 100%);
    background-size: 200% auto;
    background-position: 0 100%;
    animation: gradientAnimation 2s infinite;
    animation-fill-mode: forwards;
    animation-timing-function: linear;
}

.progress-button {
    margin: 0 !important;
    padding: 0 !important;
}

@keyframes gradientAnimation {
    0% {
        background-position: 0 0;
    }

    100% {
        background-position: -200% 0;
    }

}

.auto-selector {
    display: none;
    border: solid 2px var(--btn-brdr-bg-color);
    width: auto;
    margin: 10px;
    padding: 15px;
    text-align: center;
    height: auto;
    font-size: 16px;
    color: var(--text-color);
    border-radius: 56px;
    box-shadow: var(--btn-hover-shallow-shadow);
}

.global-select-button {
    border-radius: 10px;
}

.error-header {
    text-align: center;
    display: flex;
    justify-content: center;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
/*    padding: 10px;*/
    margin: 0;
    z-index: 10000;
}

.header-title {
    font-size: 28px;
    width: 100%
}

.header-msg {
    max-width: 1200px;
    margin: 0 auto;
    font-size: 20px !important;
}

.header-close {
    position: absolute;
    top: 0;
    right: 0;
    padding: 10px;
    margin: 0;
    cursor: pointer;
}

.close-vector {
/*    margin-top: 5px;*/
    width: 30px;
    height: 30px;
    padding: 2px;
    border-radius: 6px;
}


/*----------Plate Screen Width Alignment----------*/
@media (min-width: 1200px) {
    #left-plate {
        grid-column: 1;
        vertical-align: top;
        height: fit-content !important;
    }

    #right-plate {
        grid-column: 2;
        vertical-align: top;
        height: fit-content !important;
    }

    #view-title {
        vertical-align: top;
        width: auto;
        max-width: 60%;
        display: inline-block;
    }

    #title-action {
        vertical-align: top;
        width: fit-content !important;
        display: inline-block;
        float: right;
    }
}

@media (max-width: 1200px) {
    #left-plate {
        vertical-align: top;
        width: 100%;
    }

    #right-plate {
        vertical-align: top;
        width: 100%;
    }
}