/* Core Style for the site */

/* #region - Direct on id */
#accordion {
    width: 530px;
}

#text {
    height: 25px;
    border-radius: 5px;
    padding: 4px;
    border: solid thin #aaa;
    width: 100%;
}

#error {
    height: 25px;
    /* background-color: #02aeff; */
    /* border: solid thin #02aeff; */
    border-style: hidden;
    width: 100%;
}

#button {
    padding: 10px;
    color: white;
    text-align: center;
    background-color: rgb(71, 70, 70);
    border: 1px;
}

#box {
    /* background-color: #02aeff; */
    border-radius: 10px;
    margin-top: 100px;
    margin-left: auto;
    margin-right: auto;
    width: 400px;
    padding: 20px;
}

#menu-card {
    background-color: rgb(71, 70, 70);
    color: #fafdff;
    text-align: left;
    height: 100vh;
}

#main-card {
    padding-top: 100px;
    padding-left: 20px;
    padding-right: 30px;
}

#uploadbox {
    height: 60px;
    width: 600px;
    border: 1px solid rgb(143, 143, 143); /* Add a 2px solid black border */
    padding: 20px; /* Add some padding inside the div */
}

/* #endregion - redit class modal control */

/* #region - Classes */
@keyframes slideInleft {
    from{
     transform: translateX(-1000px);
    }
    to {
    transform: translate(0);
    }
}
@keyframes slideInright {
    from{
     transform: translateX(1000px);
    }
    to {
    transform: translate(0);
    }
}

.slideinfromleft{
    animation-name:slideInleft;
    animation-duration: 0.3s;
    animation-timing-function: ease-in;

} 

.myheader {
    top: 0;
    color: #f3f3f6;
    text-align: center;
    text-shadow: 3px 3px rgb(5, 5, 5);
    padding-top: 20px;
    padding-bottom: 5px;
    animation-name:slideInright;
    animation-duration: 0.3s;
    animation-timing-function: step-end;
}

.head {
    background-color: #555;
}

.boxup{
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}


.loggedin {
    color: #f3f3f6;
    font: italic;
    text-align: right;
    padding: 10px;
}

.hidden {
    display: block;
    visibility: hidden;
}
.tablinks {
    background-color: #02aeff;
    color: blue
}

p.success {
    text-align: center;
    color: #04AA6D;
}
p.error {
    text-align: center;
    color: darkred;
}

.center {
    text-align: center;
    background-color: #888;
    width: 115%;
}

.vertical-center {
    margin: 0;
    position: absolute;
    top: 50%;
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
}

.new {
    position: relative;
    top: 0;
    width: fit-content;
    height: fit-content;
    margin: 10% auto;
    padding: 20px;
    border: 1px solid #888;
}

.top {
    position: relative;
    padding: 25px 40px;
}
.cusnum {
    position: relative;
    top: 0;
    background-color: red;
    color: white;
    padding-top: 70px;
    width: 150px;
    text-align: center;
    font-weight: bold;
    font-size: medium;
    box-shadow: 4px 4px #888;
}
.adminnum {
    position: relative;
    top: 0;
    background-color: rgb(59, 96, 147);
    color: white;
    padding-top: 70px;
    width: 150px;
    text-align: center;
    font-weight: bold;
    font-size: medium;
    box-shadow: 4px 4px #888;
}

.num {
    font-weight: bolder;
    font-size: xx-large;
    text-align: center;
}

.bg-header {
    padding-top: 3px;
    background-color: rgb(71, 70, 70);
    color: rgb(154, 150, 150);
    height: 40px;
    max-height: 40px;
}

.login-body {
    /*  background-image: url("../img/bg3withlogo.jpg");*/
    background-repeat: repeat;
    background-size: cover;
}
/* #region - CSS for the modal form for adding new customers */

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
}


.close {
    color: #888;
    float: right;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
}
/* #endregion - CSS for the modal form for adding new customers */

    /* #region - Style for Navigation */
    .topnav {
        overflow: hidden;
        background-color: #333;
    }

    .topnav a {
        float: left;
        display: block;
        color: #f2f2f2;
        text-align: center;
        padding: 14px 16px;
        text-decoration: none;
        font-size: 17px;
    }

    .active {
        background-color: #04AA6D;
        color: white;
    }

    .topnav .icon {
        display: none;
    }

    .dropdown {
        float: left;
        overflow: hidden;
    }

    .dropdown .dropbtn {
        font-size: 17px;
        border: none;
        outline: none;
        color: white;
        padding: 14px 16px;
        background-color: inherit;
        font-family: inherit;
        margin: 0;
    }

    .dropdown-content {
        display: none;
        position: absolute;
        background-color: #f9f9f9;
        min-width: 160px;
        box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2);
        z-index: 1;
    }

    .dropdown-content a {
        float: none;
        color: black;
        padding: 12px 16px;
        text-decoration: none;
        display: block;
        text-align: left;
    }

    .topnav a:hover,
    .dropdown:hover .dropbtn {
        background-color: #555;
        color: white;
    }

    .dropdown-content a:hover {
        background-color: #ddd;
        color: black;
    }

    .dropdown:hover .dropdown-content {
        display: block;
    }

    /* #endregion - Style for Navigation */

    /* #region - Tab Pages for Reports */
.tab {
    overflow: hidden;
    border: 1px solid #ccc;
    background-color: #f1f1f1;
}

/* Style the buttons that are used to open the tab content */
.tab button {
    background-color: inherit;
    float: left;
    border: none;
    outline: none;
    cursor: pointer;
    padding: 14px 16px;
    transition: 0.3s;
}

/* Change background color of buttons on hover */
.tab button:hover {
    background-color: #ddd;
}

/* Create an active/current tablink class */
.tab button.active {
    background-color: #ccc;
}

/* Style the tab content */
.tabcontent {
    display: none;
    z-index: 1;
    padding: 6px 12px;
    border: 1px solid rgb(99, 96, 96);
    opacity: 0.9;
    border-top: none;
}
/* #endregion - Tab pages for reports */

/* #endregion - Classes */

/* #region - Media Queries */
@media screen and(max-width: 600px) {
    .topnav a:not(:first-child),
    .dropdown .dropbtn {
        display: none;
    }
    .topnav a.icon {
        float: right;
        display: block;
    }

}



@media screen and(max-width: 600px) {
    .topnav.responsive {
        position: relative;
    }
    .topnav.responsive .icon {
        position: absolute;
        right: 0;
        top: 0;
    }
    .topnav.responsive a {
        float: none;
        display: block;
        text-align: left;
    }
    .topnav.responsive .dropdown {
        float: none;
    }
    .topnav.responsive .dropdown-content {
        position: relative;
    }
    .topnav.responsive .dropdown .dropbtn {
        display: block;
        width: 100%;
        text-align: left;
    }
}

/* #endregion - Media Queries */
