@import url('https://fonts.googleapis.com/css2?family=Dancing+Script:wght@400..700&display=swap');

body {
    font-family: 'Ubuntu', sans-serif;
    margin: 0;
    padding: 0;
    color: #212529 !important;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
    margin: 0 !important;
}

a{
  color: #212529 !important;
}

img, svg {
    vertical-align: middle;
}

a{
    text-decoration: none !important;
}

p{
    font-size: 12px;
}

h5{
    font-size: 15px !important;
}

h5 b{
    color: #0C0C52;
}

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

.card{
    padding: 10px;
}

.form-check-label{
    font-size: 12px;
}

/* Firefox */
input[type=number] {
  -moz-appearance: textfield;
}

.btn-primary{
    background-color: #0e2a3e !important;
    border: 1px solid #0e2a3e !important;
}

.btn{
    font-size: 12px !important;
    border-radius: 0 !important;
    font-weight: 600 !important;
    border-radius: 4px !important;
    padding: 0.375rem 1rem !important;
    width: fit-content;
}

.form-label {
    font-size: 12px;
    font-weight: 500;
    margin-bottom: 0 !important;
}

.login_box{
    width: 350px;
    padding: 20px;
    box-shadow:  25px -25px 50px #bebebe,
    -25px 25px 50px #ffffff;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 10px;
    text-align: center;
}

.top_head{
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
}

.top_head img{
    width: 50px;
}

.top_head_txt{
    text-align: end;
}

.form-control{
    font-size: 12px !important;
}

.btn-secondary{
    background-color: #fff !important;
    color: #212121 !important;
    border-color: #a8a6a6 !important;
}

.btn-primary{
    background-color: #0C0C52 !important;
}

.btn-primary {
    display: inline-block;
    padding: .75rem 1.25rem;
    border-radius: 10rem;
    color: #fff;
    font-size: 12px;
    transition: all .3s;
    position: relative;
    overflow: hidden;
    z-index: 1;
  }

  .btn-primary:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #0C0C52;
    z-index: -2;
  }

  .btn-primary:before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background-color: #47478d;
    transition: all .3s;
    z-index: -1;
  }

  .btn-primary:hover {
    color: #fff;
  }

  .btn-primary:hover:before {
    width: 100%;
  }
  

/* navbar */

.navbar{
    margin-top: 10px;
    padding: 0 !important;
    font-size: 12px;
    font-weight: 500;
    color: #fff;
    background-color: #0C0C52;
}

.navbar-expand-lg .navbar-nav .nav-link{
    color: #fff !important;
}

.navbar-expand-lg .navbar-nav .active{
    background-color: #C50105;
    color: #fff !important;
}

@media (min-width: 992px) {
    .navbar-expand-lg .navbar-collapse {
        justify-content: center;
    }

    .navbar-expand-lg .navbar-nav .nav-link{
        padding: 8px 20px !important;
    }
}

/* master */

.master-selection{
    display: flex;
    align-items: center;
}

/* table */

.table{
    font-size: 12px;
}

tr th{
    border-bottom: 0 !important;
    background-color: #e7e7e7 !important;
    color: #212121 !important;
    border: .5px solid #a8a6a6 !important;
    font-weight: 500;
    vertical-align: middle !important;
}

tr td{
    border: .5px solid #a8a6a6 !important;
    vertical-align: middle !important;
}

tr td .btn{
    padding: 5px !important;
    font-size: 10px !important;
}

.legend-yellow{
    width: 15px;
    height: 15px;
    background-color: rgb(255, 196, 0);
}

/* tab */

.nav-tabs .nav-link{
    font-size: 12px;
    color: #212121;
}

.nav-tabs .nav-link.active{
    border-bottom: 2px solid #0C0C52 !important;
    font-weight: 600;
}