* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: "Roboto Slab", Arial, sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
}

/* GENERAL */
:root {
    --main-color: rgb(0, 120, 120);
}

.over::-webkit-scrollbar,
.tablediv::-webkit-scrollbar {
    width: 2px;
    height: 10px;
    overscroll-behavior: smooth;
}

.over::-webkit-scrollbar-thumb,
.tablediv::-webkit-scrollbar-thumb {
    background-color: darkred;
    border-radius: 5px;
    width: 2px;
}

.body {
    width: 100%;
    height: 92.5%;
    background: linear-gradient(135deg, white, var(--main-color));
    padding: 1px;
    display: flex;
    justify-content: space-evenly;
}

.red {
    color: red;
}

.black {
    color: black;
}

.blue {
    color: blue;
}

.white {
    color: white;
}

.left {
    text-align: left;
}

.right {
    text-align: right;
}

.center {
    text-align: center;
}

.italic {
    font-style: italic;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.df {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

p {
    font-size: 12px;
    font-weight: initial;
}

a {
    text-decoration: none;
    cursor: pointer;
    color: white;
}

a:hover {
    color: blue;
}

span {
    width: 100%;
    display: inline-block;
    color: red;
    text-align: center;
    font-size: 11px;
    background-color: white;
    border: 1px solid var(--main-color);
    border-radius: 5px;
    font-weight: 700;
    align-content: center;
    padding: 3px 0;
}

.aa {
    width: 100%;
    border-radius: 5px;
    margin-top: 5px;
    display: flex;
    justify-content: space-between;
    overflow: hidden;
    border: 1px solid black;
    height: 30px;
}

.aa label {
    width: 35%;
    padding: 5px 10px;
    font-size: 12px;
    font-weight: 300;
    background: linear-gradient(135deg, white, var(--main-color));
    color: black;
    text-align: right;
    /* align-items: center; */
    align-content: center;
}

.aa input,
.aa select {
    width: 65%;
    padding: 5px 10px;
    font-size: 14px;
    font-weight: 500;
    color: darkblue;
    border: none;
    outline: none;
    font-family: Arial, Helvetica, sans-serif;
}

.aa input:focus,
.aa select:focus {
    outline: none;
    border: 1px solid blue;
    border-radius: 0 5px 5px 0;
    background-color: yellow;
}

.aa select option {
    border-radius: 0 5px 5px 0;
}

.border {
    border: 1px solid black;
    border-radius: 5px;
    padding: 2px;
}

.updown {
    width: 100%;
}

.updown>input {
    width: 100%;
}

.updown select:focus {
    border: 1px solid blue;
    background-color: yellow;
    border-radius: 5px;
    color: blue;
}

.btndiv {
    width: 100%;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    text-align: center;
    padding: 5px;
    height: auto;
    margin-top: 5px;
}

.btndiv input:focus {
    background: linear-gradient(45deg, white, var(--main-color));
}

.btndiv input {
    width: 40%;
    padding: 9px 2px;
    background: linear-gradient(135deg, var(--main-color), white);
    color: blue;
    border: 1px solid black;
    border-radius: 10px;
    margin: auto;
    margin-bottom: 10px;
    outline: none;
    font-size: 13px;
    font-weight: bold;
}

.btndiv .btnupdate {
    background: linear-gradient(45deg, var(--main-color), white, var(--main-color));
    color: red;
}

.aa button:hover,
.btnadd:hover,
.btnupdate:hover {
    cursor: pointer;
    background: linear-gradient(135deg, white, var(--main-color));
    color: white;
}

.btndiv .btndel {
    color: red;
}

.btndel:hover {
    background: linear-gradient(180deg, var(--main-color), rgb(200, 0, 0), var(--main-color));
    color: white;
}

.tablediv {
    overflow: auto;
    margin: 1px 0;
}

table {
    margin-left: 3px;
    border-collapse: collapse;
}

table tr {
    background-color: white;
    cursor: pointer;
    border-bottom: 1px solid black;
}

table tr th {
    background-color: var(--main-color);
    color: white;
    padding: 7px 1px;
    align-content: center;
    text-align: center;
    font-size: 14px;
    position: sticky;
    top: 0;
    z-index: 0;
}

table tr:hover {
    background: linear-gradient(180deg, var(--main-color), white, var(--main-color));
}

.firstth {
    border-radius: 5px 0 0 0;
}

.lastth {
    border-radius: 0 5px 0 0;
}

td {
    padding: 5px;
    color: blue;
    font-size: 13px;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    align-content: center;
}

.hidden {
    display: none;
}

#hidden {
    display: none;
}

.boxshadow {
    box-shadow: 0 0 25px rgba(14, 14, 14, 0.8);
}

.form {
    padding: 7px 5px;
}

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

.iddate input {
    outline: none;
    padding: 5px;
    margin-left: 1px;
    width: 60%;
    border: 1px solid black;
    border-radius: 5px;
    text-align: center;
    font-size: 14px;
}

.iddate input:first-child {
    width: 33%;
}

/* GENERAL END */
/* LogIn Page */

form .underline {
    width: 80%;
    border-bottom: 2px solid blue;
    display: flex;
    margin: auto;
    margin-top: 30px;
    height: 30px;
    position: relative;
}

.underline i {
    width: 15%;
    font-size: 20px;
    color: blue;
}

.underline input {
    width: 85%;
    border: none;
    outline: none;
    background-color: rgba(255, 255, 255, 0.0);
    font-size: 15px;
}

form .underline p {
    position: absolute;
    right: 5px;
    top: -15px;
    text-align: right;
}

.underline input:focus {
    background-color: rgba(255, 255, 255, 0.0);
}


.signupdiv {
    width: 100%;
    height: 30px;
}

.signupdiv p a {
    color: whitesmoke;
    padding: 5px;
}

.signupdiv p a:hover {
    color: blue;
}

.btnlogin:hover {
    background-color: yellow;
    color: black;
    cursor: pointer;
}

.icon i {
    padding: 5px 10px;
    font-size: 20px;
    color: blue;
}

/* Parent Page */
.navigation {
    width: 100%;
    display: flex;
    background-color: var(--main-color);
    position: sticky;
    top: 0px;
    z-index: 1;
}

.atag,
.header {
    width: 60%;
    display: flex;
    align-items: center;
    align-content: center;
    color: white;
}

.header {
    width: 40%;
    text-align: center;
    justify-content: space-around;
}

/* Welcome Page */
.weldiv {
    background-image: url(photo/wallpaper.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    padding-top: 10px;
    width: 100%;
    height: 92vh;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.sformdiv {
    width: 300px;
    padding: 10px;
    border: 1px solid white;
    border-radius: 10px;
    /* height: 260px; */
}

.weldiv .sformdiv {
    height: 500px;
}


/* Register */
.regbody {
    height: 92vh;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 5px;
    overflow: hidden;
}

.regform {
    width: 24%;
    border-radius: 10px;
    overflow: hidden;
    height: 430px;
    border: 1px solid black;
    padding: 1px;
    background: linear-gradient(135deg, white, var(--main-color));
}

.reglist {
    width: 76%;
    height: 91vh;
    overflow: auto;
    display: flex;
    flex-wrap: wrap;
    padding: 3px;
}

.reglist form {
    width: 230px;
}

/* AccountPage */
.maindiv {
    width: 100%;
    height: 92vh;
    display: flex;
    justify-content: space-evenly;
    padding: 1px;
}

.formdiv {
    width: 25%;
    padding: 3px;
}


/* Media Query */
@media only screen and (max-width: 900px) {
    body,
    .body {
        height: auto;
        flex-wrap: wrap;
    }

    /* Parent */

    .navigation {
        flex-direction: column-reverse;
    }

    .navigation .header,
    .navigation .atag {
        width: 100%;
        justify-content: space-around;
        flex-wrap: wrap;
        padding: 1px;
    }

    .navigation .atag a {
        padding: 2px 5px 8px 5px;
        text-transform: uppercase;
        z-index: 0;
    }

    .atag .dropdown {
        position: relative;
        z-index: 0;
    }

    .dropdown .hiddendiv {
        position: absolute;
        z-index: 3;
    }

    .atag h2 {
        padding: 0;
    }

    /* WelcomePage */
    .weldiv {
        height: 100%;
    }

    .text,
    .sformdiv,
    .shoediv {
        width: 45%;
    }

    /* AccountPage */

    /* ExchangePage */

    form .child {
        width: 33%;
    }

    /* Account HistoryPage */
    .body .whform,
    .body .formdiv {
        width: 40%;
    }

    /* ReportPage */
    .body .tablediv {
        width: 60%;
        flex-wrap: wrap;
    }

    .body .contain {
        width: 80%;
    }

    .leftdiv,
    .middlediv,
    .rightdiv {
        width: 49%;
    }

    /* Register */
    .regbody {
        height: auto;
    }

    .regform {
        width: 40%;
    }

    .reglist {
        width: 59.5%;
        justify-content: space-around;
        height: auto;
    }
}

@media only screen and (max-width: 600px) {

    .aa,
    .searchaa {
        height: 40px;
    }

    .aa label {
        /* align-items: center; */
        align-content: center;
    }

    .updown input,
    .updown select {
        height: 40px;
    }

    .body {
        height: 100%;
        flex-wrap: wrap;
    }

    .day {
        display: none;
    }

    /* WelcomePage */
    .weldiv {
        height: 100vh;
    }

    .text {
        display: none;
    }

    .sformdiv,
    .showdiv {
        width: 90%;
        height: auto;
        margin-top: 5px;
    }

    /* AccountPage */
    .formdiv,
    .tablediv {
        width: 100%;
    }

    /* Exchange Page */
    .one {
        justify-content: space-between;
    }

    .one div {
        margin: 2px;
    }

    .one .searchaa {
        width: 100%;
    }

    form .child {
        width: 100%;
        margin-bottom: 5px;
        padding: 10px;
    }

    /* AccHistoryPage */
    .body .whform {
        width: 100%;
        margin-bottom: 5px;
    }

    .body .tablediv {
        width: 100%;
    }

    /* ReportPage */
    .body .contain,
    .body .formdiv {
        width: 100%;
        margin-bottom: 3px;
    }

    .contain .over {
        height: auto;
    }

    /* ProfitPage */
    .leftdiv,
    .middlediv,
    .rightdiv {
        width: 100%;
        padding: 5px;
    }

    /* Register */
    .regform,
    .reglist {
        width: 100%;
    }

}