@font-face {
    font-family: "CustomCG";
    src: url("3394-font.ttf");
}

:root {
    --FF: 'CustomCG', sans-serif;
    --Main_Background: #2a2a2c;
}

body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    font-family: 'CustomCG', sans-serif;
    color: white;
}

.LogInBody {
    background: linear-gradient(to bottom, #292C37 0%, #293C32 100%);
    display: flex;
    justify-content: center;
    align-items: center;
}

.ErrorBody404 {
    background: linear-gradient(to bottom, #292C37 0%, #293C32 100%);
    display: flex;
    justify-content: center;
    align-items: center;
}

.card-custom-LogIn {
    font-family: var(--FF);
    width: auto;
    height: auto;
    border-radius: 20px;
    margin-bottom: 20px;
    margin-left: 10px;
    margin-right: 10px;
    padding: 3%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.LogInLogo {
    height: 300px;
    margin-bottom: 20px;
    margin-left: 20px;
}

.LogInForm {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.custom-btn {
    width: 150px;
    font-size: 16px !important;
    font-weight: 600;
    color: #fff !important;
    cursor: pointer;
    margin: 20px;
    text-align: center;
    border: none;
    background-size: 300% 100%;
    padding: 10px !important;
    text-decoration: none;
    border-radius: 10px;
    -o-transition: all .4s ease-in-out !important;
    -webkit-transition: all .4s ease-in-out !important;
    transition: all .4s ease-in-out !important;
}

.custom-btn:hover {
    color: black !important;
    background-position: 100% 0;
    -o-transition: all .4s ease-in-out;
    -webkit-transition: all .4s ease-in-out;
    transition: all .4s ease-in-out;
}

.custom-btn:focus {
    outline: none;
}

.custom-btn.color-1 {
    background-image: linear-gradient(to right, #293C32, #293C32, white, white);
    box-shadow: 0 4px 15px 0 #0e1411;
}

.custom-btn.color-2 {
    background-image: linear-gradient(to right, #222224, #222224, white, white);
    box-shadow: 0 4px 15px 0 #0e1411;
}

.custom-btn.color-3 {
    background-image: linear-gradient(to right, var(--Main_Background), var(--Main_Background), white, white);
    box-shadow: 0 4px 15px 0 #0e1411;
}

.custom-btn.color-4 {
    background-image: linear-gradient(to right, white, white, #222224, #222224);
    color: black !important;
    box-shadow: 0 4px 15px 0 #0e1411;
}

.custom-btn.color-5 {
    background-image: linear-gradient(to right, #222224, #222224, #293C32, #293C32);
    box-shadow: 0 4px 15px 0 #0e1411;
    color: white !important;
}

.custom-btn.color-2.green-bg {
    background-image: linear-gradient(to right, #293C32, #293C32, white, white);
}

.custom-btn.color-2.red-bg {
    background-image: linear-gradient(to right, #7b1919, #7b1919, white, white);
}

.InputCustom {
    margin-top: 20px;
    font-family: var(--FF);
    border: 2px solid #0e1411;
    box-shadow: 0 5px 15px #0e1411;
    border-radius: 10px;
    min-width: 300px;
    min-height: 50px;
    font-size: 1.2rem;
    background-color: var(--Main_Background);
    color: white;
    width: 10em;
    transition: width 1.2s ease-in-out;
    text-align: center;
    outline: none;
}

.InputCustomsmall {
    margin-top: 20px;
    font-family: var(--FF);
    border: 2px solid #0e1411;
    box-shadow: 0 5px 15px #0e1411;
    border-radius: 10px;
    min-width: 300px;
    min-height: 30px;
    font-size: 15;
    background-color: var(--Main_Background);
    color: white;
    width: 10em;
    transition: width 1.2s ease-in-out;
    text-align: center;
    outline: none;
}

.CustomTextArea {
    font-family: var(--FF);
    border: 2px solid #0e1411;
    border-radius: 10px;
    font-size: 15px;
    background-color: var(--Main_Background);
    color: white;
    text-align: left;
    box-shadow: 0 5px 10px #0e1411 !important;
}

.CustomCheckbox {
    display: none !important;
}

.CustomCheckbox+label {
    display: inline-block;
    width: 20px !important;
    height: 20px !important;
    background-color: var(--Main_Background);
    border-radius: 10px;
    border-width: 5px;
    border-style: solid;
    border-color: #293C32;
    box-shadow: 0 5px 10px #0e1411;
    cursor: pointer;
    flex-shrink: 0;
    flex-grow: 0;
}

.CustomCheckbox:checked+label {
    background: url('Check.png') no-repeat center center #293C32;
}

.FormDivCenter {
    width: 100%;
    display: flex;
    justify-content: center;
}

.card-custom {
    font-family: var(--FF);
    width: auto;
    height: auto;
    background-color: #222224;
    border-radius: 20px;
    margin-bottom: 20px;
    margin-left: 10px;
    margin-right: 10px;
    box-shadow: 0 5px 15px #0e1411;
    padding: 1%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

@media screen and (min-width: 1920px) {
    .card-custom {
        padding: 2%;
    }
}

.background-image {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20%;
    height: 30%;
    z-index: 0;
    background: url('TR.png') no-repeat center center;
    background-size: contain;
    opacity: 0.1;
}


#FormContainer {
    position: absolute;
    left: 250px;
    right: 0;
    height: 100vh;
    overflow: auto;
    transition: left 0.3s ease;
    overflow-x: hidden;
}

#FormContainer h1 {
    text-align: center;
    font-family: var(--FF);
}

#FormContainer h2 {
    text-decoration: none;
    font-family: var(--FF);
    margin-top: 50px;
}

#FormContainer h3 {
    text-decoration: underline;
    text-underline-offset: 5px;
    font-family: var(--FF);
    margin-top: 50px;
}

#FormContainer h4 {
    text-decoration: underline;
    font-family: var(--FF);
    margin-top: 20px;
}


.MainDiv {
    display: flex;
    align-items: center;
}

.sticky-Top {
    position: sticky;
    top: 0;
    z-index: 10;
}

.sticky-color {
    background-color: #222224;
    box-shadow: 0 5px 15px #0e1411;
}

.fixed-Top {
    position: fixed;
    top: 0;
    z-index: 9;
}

.Allowed_SPE_Display {
    margin: 0 0 0 15px;
    padding: 5px;
    text-decoration: none;
    font-family: var(--FF);
}

.Allowed-Path-Sign-Sizeing {
    font-size: 25px;
    margin-left: 10px;
}

.container {
    width: 100%;
}

.container_85 {
    width: calc(100% - 250px);
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}

.col {
    flex: 0 0 50%;
    max-width: 50%;
    padding-right: 15px;
    padding-left: 15px;
    box-sizing: border-box;
    justify-content: center;
    display: flex;
    align-items: center;
}

.col-3 {
    flex: 0 0 33.33%;
    max-width: 33.33%;
    padding-right: 15px;
    padding-left: 15px;
    box-sizing: border-box;
    justify-content: start;
    display: flex;
    align-items: center;
}

.col-4 {
    flex: 0 0 25%;
    max-width: 25%;
    padding-right: 15px;
    padding-left: 15px;
    box-sizing: border-box;
    justify-content: start;
    display: flex;
    align-items: center;
}

.col-5 {
    flex: 0 0 20%;
    max-width: 20%;
    padding-right: 15px;
    padding-left: 15px;
    box-sizing: border-box;
    justify-content: start;
    display: flex;
    align-items: center;
}

.col-80 {
    flex: 0 0 80%;
    max-width: 80%;
    padding-right: 15px;
    padding-left: 15px;
    box-sizing: border-box;
    justify-content: center;
    display: flex;
    align-items: center;
}

.col-20 {
    flex: 0 0 20%;
    max-width: 20%;
    box-sizing: border-box;
    justify-content: center;
    display: flex;
    align-items: center;
}

.col-button-config {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100%;
    font-family: 'CustomCG', sans-serif !important;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.grid-item {
    display: flex;
    flex-direction: row;
    justify-content: start;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
    margin-bottom: 10px;
}

@media (min-width: 0px) {
    .grid-container {
        grid-template-columns: repeat(1, 1fr);
    }
}

@media (min-width: 800px) {
    .grid-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1100px) {
    .grid-container {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1400px) {
    .grid-container {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (min-width: 1700px) {
    .grid-container {
        grid-template-columns: repeat(5, 1fr);
    }
}

@media (min-width: 2000px) {
    .grid-container {
        grid-template-columns: repeat(6, 1fr);
    }
}

@media (min-width: 2300px) {
    .grid-container {
        grid-template-columns: repeat(7, 1fr);
    }
}

@media (min-width: 2600px) {
    .grid-container {
        grid-template-columns: repeat(8, 1fr);
    }
}

@media (min-width: 2900px) {
    .grid-container {
        grid-template-columns: repeat(9, 1fr);
    }
}

@media (min-width: 3200px) {
    .grid-container {
        grid-template-columns: repeat(10, 1fr);
    }
}

#loading-screen {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: linear-gradient(to bottom, #292C37 0%, #293C32 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 12;
}

.loader {
    border: 16px solid #f3f3f3;
    border-radius: 50%;
    border-top: 16px solid #292C37;
    border-right: 16px solid #292C37;
    border-bottom: 16px solid #292C37;
    border-left: 16px solid #365344;
    width: 120px;
    height: 120px;
    box-sizing: border-box;
    animation: spin 2s linear infinite;
}

@-webkit-keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.outer-container {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    justify-content: center;
    overflow-x: auto;
    overflow-y: auto;
    padding-bottom: 20px;
}

.outer-container::-webkit-scrollbar {
    width: 12px;
}

.outer-container::-webkit-scrollbar-track {
    background: transparent;
}

.outer-container::-webkit-scrollbar-thumb {
    background-color: #2a2a2c;
    border-radius: 10px;
    border: 2px solid transparent;
}

.outer-container::-webkit-scrollbar-thumb:hover {
    background-color: #2a2a2c;
}

.table-container {
    flex-grow: 1;
}

.User-InputCustom {
    font-family: var(--FF);
    border: 2px solid #0e1411;
    box-shadow: 0 2px 10px #0e1411;
    border-radius: 10px;
    min-height: 25px;
    max-width: 300px;
    max-height: 50px;
    font-size: 12px;
    background-color: var(--Main_Background);
    color: white;
    width: auto;
    transition: width 1.2s ease-in-out;
    text-align: center;
    outline: none;
}

.User-table {
    width: 100%;
    border-collapse: collapse;
    border: none;
}

.User-th {
    padding: 8px 12px;
    text-align: center;
    vertical-align: middle;
    border: none;
}

.User-td {
    padding: 8px 12px;
    text-align: center;
    vertical-align: middle;
    border: none;
}

.User-td-btn {
    display: flex;
    justify-content: center;
    align-items: center;
}

.User-thead {
    background-color: transparent;
}

.User-tr:nth-child(even) {
    background-color: transparent;
}

.User-tr:hover {
    background-color: transparent;
}

.User-Control-Img {
    height: 30px;
    margin-right: 10px;
}

.User-td-Link {
    padding: 8px 12px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.User-Link {
    color: white;
    font-family: 'CustomCG', sans-serif;
    transition: color 0.2s ease-in-out;
}

.User-Link:hover {
    color: #8981d6;
}

#Add_User {
    flex-direction: column;
}

table {
    width: 99%;
    border-collapse: separate;
    border-spacing: 0 10px;
}

th {
    position: relative;
    padding: 10px 10px;
    text-align: center;
    font-size: 15px;
    background-color: transparent;
}

td {
    position: relative;
    padding: 0px 15px;
    font-size: 12px;
    background-color: transparent;
}

td::after,
th::after {
    position: absolute;
    left: 0;
    bottom: 0;
    height: 5px;
    max-height: 5px;
    width: 100%;
}

.Table_Type {
    text-align: center;
}

.Table_Date {
    text-align: center;
}

.Table_Size {
    text-align: center;
}

.Table_Select {
    text-align: center;
}

.Table_first_td {
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
}

.Tabel_last_td {
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
}

.Table_Btn {
    background-color: transparent;
    border-color: transparent;
    color: white;
    font-size: 15px;
    font-family: 'CustomCG';
}

.Table_Btn:hover {
    color: #b6b5b5;
}

.Main_Logo {
    height: 120px;
    margin-bottom: 20px;
}

.toolbar {
    z-index: 1;
    background-color: #222224;
    width: 100%;
    height: 100%;
}

.toolbar-tools {
    position: absolute;
    left: 0;
    top: 0;
    height: 95%;
    width: 230px;
    padding: 20px;
}

.toolbar-tools-links {
    position: absolute;
}

.tool-fav {
    /*box-shadow: 0 5px 15px #0e1411;*/
    border-radius: 15px;
    position: relative;
    top: 100px;
    left: -8px;
    width: 220px;
    height: 400px;
    overflow-y: auto;
    overflow-x: hidden;
}

.tool-fav a {
    font-size: 14px !important;
    font-weight: normal !important;
    margin: 0 !important;
}

.tool-fav-btn {
    width: 25px;
    height: 25px;
    background-color: #222224 !important;
    background: url('Trash.png') no-repeat center center;
    background-size: contain;
    border-radius: 5px;
    transition: 0.3s ease-in-out;
    font-weight: normal !important;
}

.tool-fav-btn:hover {
    transform: scale(1.2);
}

.tool-fav::-webkit-scrollbar {
    width: 12px;
}

.tool-fav::-webkit-scrollbar-track {
    background: transparent;
    margin-top: 10px;
    margin-bottom: 10px;
}

.tool-fav::-webkit-scrollbar-thumb {
    background-color: #293C32;
    border-radius: 10px;
    border: 2px solid transparent;
}

.tool-fav::-webkit-scrollbar-thumb:hover {
    background-color: #293C32;
}

.tooltip {
    position: relative;
    display: inline-block;
    cursor: pointer;
}

.tooltip::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 30%;
    left: 50%;
    transform: translateX(-50%);
    background-color: #333;
    color: #fff;
    padding: 5px;
    border-radius: 8px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s;
    font-size: 12px;
    z-index: 1;
}

.tooltip:hover::after {
    opacity: 1;
    visibility: visible;
}


.toolbar a {
    display: block;
    color: white;
    font-size: 20px;
    text-decoration: none;
    margin-bottom: 10px;
    font-family: var(--FF);
    font-weight: normal !important;
}

.toolbar-Back-Btn {
    display: block;
    color: white;
    font-size: 20px;
    text-decoration: none;
    margin-bottom: 10px;
    font-family: var(--FF);
}

.toolbar a:hover {
    display: block;
    color: rgb(173, 173, 173);
    text-decoration: none;
    margin-bottom: 10px;
}

.toolbar button {
    display: block;
    background-color: transparent;
    padding: 0;
    border: none;
    color: white;
    text-decoration: none;
    font-family: var(--FF);
    font-weight: normal !important;
}

.toolbar button:hover {
    display: block;
    color: rgb(173, 173, 173);
    text-decoration: none;
}

.toolbar-closed {
    width: 100% !important;
    border-top-left-radius: 0 !important;
}

.toolbar-open {
    width: calc(100% - 250px) !important;
    border-top-left-radius: 15px !important;
}

.Show_Toolbar{
    position: absolute;
    left: 10px;
    bottom: 10px;
    background-color: #2a2a2c !important;
    background-image: url('LeftArrow.png');
    box-shadow: 0 2px 10px #0e1411;
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.toolbarIcon {
    height: 25px;
    vertical-align: middle;
    margin-bottom: 5px;
    margin-right: 10px;
}

.Dir_Container {
    background: linear-gradient(to bottom, #292C37 0%, #293C32 100%);
    box-shadow: inset 5px 5px 10px #0e1411;
    position: absolute;
    bottom: 0;
    right: 0;
    border-top-left-radius: 15px;
    width: calc(100% - 250px);
    height: 95%;
    overflow-y: auto;
}

.Dir_Container h1 {
    text-align: center;
    font-family: var(--FF);
}

.Dir_Container h2 {
    text-decoration: none;
    font-family: var(--FF);
    margin-top: 50px;
}

.Dir_Container h3 {
    text-decoration: underline;
    text-underline-offset: 5px;
    font-family: var(--FF);
    margin-top: 50px;
}

.Dir_Container h4 {
    text-decoration: underline;
    font-family: var(--FF);
    margin-top: 20px;
}

.Dir_Container::-webkit-scrollbar {
    width: 12px;
}

.Dir_Container::-webkit-scrollbar-track {
    background: transparent;
    margin-top: 10px;
    margin-bottom: 10px;
}

.Dir_Container::-webkit-scrollbar-thumb {
    background-color: #222224;
    border-radius: 10px;
    border: 2px solid transparent;
}

.Dir_Container::-webkit-scrollbar-thumb:hover {
    background-color: #222224;
}

@media (max-width: 500px) {
    .Main_Logo {
        height: 80px;
    }

    .Dir_Container {
        box-shadow: inset 2px 2px 10px #0e1411;
        position: absolute;
        bottom: 0;
        right: 0;
        border-top-left-radius: 0;
        width: 100%;
        height: 95%;
        overflow-y: auto;
    }

    .Table_Btn {
        font-size: 12px;
    }

    .Allowed_SPE_Display{
        font-size: 12px;
        position: fixed;
        top: 105px;
    }
}

.Simcanvas {
    background-color: black;
    display: block;
    width: 100%;
    height: 100%;
    z-index: 2;
}

.controls {
    text-align: center;
    margin-top: 10px;
    background-color: transparent;
    display: flex;
    justify-content: center;
    align-items: center;
    width: calc(100% - 250px);
}

.controls button {
    background-color: transparent;
    border: none;
    margin: 0 5px;
}

.controls button img {
    height: 40px;
    transition: transform 0.5s ease-in-out;
}

.controls button:hover img {
    transform: scale(1.3);
}

#page_num_count,
#page_num,
#page_count {
    color: white;
}

#pdf-container {
    flex-grow: 1;
    overflow: auto;
    background-color: transparent;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 30px auto;
}

#pdf-viewer {
    width: 90%;
    height: 100%;
}

.Pic_container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.Pic_Display {
    max-height: 80%;
    max-width: 80%;
    border-radius: 10px;
    box-shadow: 0 5px 15px #0e1411;
    transition: transform 0.5s ease-in-out;
}

.Pic_Display:hover {
    transform: scale(1.2);
}

.Formatted_Email_body {
    white-space: pre-wrap;
    font-family: var(--FF);
    font-size: 14px;
    padding: 10px;
}

hr {
    height: 5px;
    background-color: var(--Main_Background);
    border: none;
    border-radius: 5px;
    box-shadow: 0 4px 4px #0e1411;
}

.Meta {
    font-size: 20px;
}

.DirForm {
    padding: 0;
    position: absolute;
    top: 0;
    left: 0;
}

#DIR_TABLE {
    padding-left: 0.8%;
    margin-top: 10px;
}

#msgContent {
    margin-top: 2%;
    margin-left: 2%;
}

.Success_toast {
    visibility: hidden;
    min-width: 200px;
    background-color: var(--Main_Background);
    box-shadow: 0 10px 15px #0e1411;
    border-radius: 10px !important;
    color: #fff;
    text-align: center;
    padding: 16px;
    position: fixed;
    z-index: 10;
    right: 0;
    top: 40px;
    font-size: 17px;
    transition: visibility 0s, opacity 0.5s linear;
}

.Error_toast {
    visibility: hidden;
    min-width: 200px;
    background-color: rgb(161, 42, 42);
    box-shadow: 0 10px 15px #0e1411;
    border-radius: 10px !important;
    color: #fff;
    text-align: center;
    padding: 16px;
    position: fixed;
    z-index: 10;
    right: 0;
    top: 40px;
    font-size: 17px;
    transition: visibility 0s, opacity 0.5s linear;
}

#toast.show {
    visibility: visible;
    animation: slide-in 2s forwards, slide-out 2s 3s forwards;
}

#progress {
    height: 5px;
    background: #325241;
    width: 0;
    border-radius: 5px;
    margin-top: 10px;
}

#toast.show #progress {
    animation: progress 4.5s linear;
}

@keyframes slide-in {
    0% {
        transform: translateX(100%);
    }

    100% {
        transform: translateX(0);
    }
}

@keyframes slide-out {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(100%);
    }
}

@keyframes progress {
    0% {
        width: 0;
    }

    100% {
        width: 100%;
    }
}


#MessageBox {
    width: 30%;
    padding: 20px;
    position: sticky;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background-color: transparent;
    border-radius: 20px;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.2);
    z-index: 10;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

#MessageBox.show {
    opacity: 1;
    visibility: visible;
}

#MessageBox::before {
    border-radius: 20px;
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #222224;
    backdrop-filter: blur(5px);
    z-index: -1;
}

.MBButtons {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 15px;
}

.MBCloseButton {
    position: absolute;
    top: 10px;
    right: 5px;
    background-color: transparent;
    border: 0;
}

.MBSelect {
    display: flex;
    align-items: center;
}

#Selected_Path_div {
    justify-content: center;
    align-items: center;
    display: flex;
    flex-direction: column;
}

ul {
    list-style-type: disc;
}

ul.custom-symbol {
    list-style-type: none;
}

ul.custom-symbol li::before {
    content: "• ";
    color: black;
    font-size: 1em;
    margin-right: 5px;
}

.context-menu {
    display: none;
    position: absolute;
    background-color: var(--Main_Background);
    border: none;
    border-radius: 15px;
    box-shadow: 0 4px 15px 0 #0e1411;
    z-index: 1000;
}

.menu-item {
    font-family: var(--FF);
    border-radius: 15px;
    padding: 10px 20px;
    cursor: pointer;
}

.menu-item:hover {
    background-color: #293C32;
}