@import url('https://fonts.googleapis.com/css2?family=Rokkitt:ital,wght@0,100..900;1,100..900&display=swap');

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

:root {
    --main-color: rgb(200, 0, 0);
}

body {
    width: 100%;
    height: 100vh;
    overflow: hidden;
    background: rgb(var(--bg-color));
}

body::-webkit-scrollbar,
.over::-webkit-scrollbar,
.tablediv::-webkit-scrollbar {
    display: none;
}

.over::-webkit-scrollbar-thumb,
.tablediv::-webkit-scrollbar-thumb {
    background-color: rgb(150, 0, 0);
    border-radius: 5px;
}

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

.df {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.p-f {
    position: fixed;
}

.p-r {
    position: relative;
}

.p-a {
    position: absolute;
}

.imgdiv {
    margin: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

img {
    border-radius: 5px;
}

.red {
    color: red;
}

.black {
    color: black;
}

.blue {
    color: blue;
}

.white {
    color: white;
}

.gold {
    color: gold;
}

.left {
    text-align: left;
}

.right {
    text-align: right;
}

.center {
    text-align: center;
}

.italic {
    font-style: italic;
}

a {
    text-decoration: none;
    cursor: pointer;
    color: var(--main-color);
}

a:hover {
    color: var(--main-color);
}

p {
    font-size: 12px;
}

.span, #span {
    position: absolute;
    width: 98%;
    font-size: 12px;
    text-align: center;
    background-color: white;
    border: 1px solid black;
    border-radius: 15px 0 15px 0;
    font-weight: 500;
    padding: 7px 0;
    left: 1%;
}


.myForm {
    border: 1px solid black;
    border-radius: 7px;
    box-shadow: 0 0 20px 2px rgba(15, 15, 15, 0.5);
    padding-bottom: 3px;
    overflow: hidden;
}

.myForm h3 {
    background-color: var(--main-color);
    padding: 5px;
    text-align: center;
    text-transform: uppercase;
    color: white;
    font-size: 16px;
    font-weight: 500;
}

.aa {
    width: 96%;
    display: flex;
    justify-content: space-evenly;
    border: 1px solid black;
    border-radius: 3px;
    height: 38px;
    margin: auto;
    margin-top: 7px;
    overflow: hidden;
}

.aa label {
    font-size: 11px;
    width: 30%;
    padding: 7px 10px;
    background: var(--main-color);
    color: white;
    text-align: right;
    align-items: center;
    align-content: center;
}

.aa input,
.aa select {
    width: 70%;
    padding: 7px 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 {
    border: 1px solid blue;
    border-radius: 0 3px 3px 0;
    background-color: yellow;
}

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

.updown {
    width: 94%;
    margin: 5px auto;
    background: none;
}

.updown>label {
    padding: 1px 10px;
    font-size: 12px;
    font-weight: 400;
}

.updown>select,
.updown>input {
    width: 100%;
    border: none;
    border-bottom: 2px solid black;
    padding: 5px 10px;
    font-size: 14px;
    font-weight: 500;
    color: darkred;
    outline: none;
    background: none;
}

.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: 7px;
    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;
}

.btnedit {
    padding: 1px 7px;
    border: 1px solid black;
    border-radius: 3px;
    color: red;
    background: linear-gradient(135deg, var(--main-color), white);
}

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

.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;
    scroll-behavior: smooth;
}

table {
    margin: auto;
    border-collapse: collapse;
}

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

tr th {
    background-color: var(--main-color);
    color: white;
    padding: 7px 0;
    align-content: center;
    text-align: center;
    font-size: 12px;
    font-weight: 500;
    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: 12px;
}

#hidden, .hidden {
    display: none;
}

.boxshadow {
    border: 1px solid black;
    border-radius: 3px;
    box-shadow: 2px 10px 20px 2px rgba(14, 14, 14, 0.7);
}

.iddate {
    display: flex;
    justify-content: space-between;
    width: 96%;
    margin: auto;
    margin-top: 5px;
}

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

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

.over {
    overflow: auto;
}

/* GENERAL END */
