* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

html,
body {
    font-size: 1rem;
    overflow-x: hidden;
}


::placeholder {
    color: #e4e4e4c4;
    opacity: .5;
}
input:-webkit-autofill,
input:-webkit-autofill:hover, 
input:-webkit-autofill:focus, 
input:-webkit-autofill:active{
    -webkit-box-shadow: 0 0 0 30px #a0a0a0 inset !important;
    color: #fff !important;
}

.main-content {
    min-height: 85vh;
    box-sizing: border-box;
}

.alert-section {
    margin: 0 auto;
    padding-top: 10px;
    max-width: 100%;
    width: fit-content;
}
.alert-section .alert{
    margin-top: 150px;
}

.alert-dismissible .btn-close:focus {
    box-shadow: none;
}
.custom-alert
{
    margin-top: 100px;
}
.modal-body
{
    min-height: 150px;
}
.modal-body h5
{
    margin-top: 40px;
}

/* Navbar */
.navbar {
    background-color: #8a8583;
    color: #fff;
    --bs-navbar-padding-y: 3px !important;
    letter-spacing: 1px;
    box-shadow: 5px 1px 15px #5a5a5a;
}
#commonNavbar .container-fluid
{
    width: 90%;
    margin: 0 auto;
}

.navbar .navbar-brand {
    color: #fff;
    font-weight: bold;
    font-size: 30px;
    padding-top: 0;
}
.navbar .navbar-brand img{
    width: 200px;
    height: 60px;
}

.navbar .nav-item {
    padding: 10px 5px;
    margin: 0 5px;
    font-size: 15px;
    font-weight: 500;
    text-transform: uppercase;
}

.navbar .nav-item .nav-link {
    color: #fff;
}

.navbar .nav-item:hover .nav-link,
.navbar .nav-item .nav-link.active {
    color: #006db1;
    transition: ease-in-out .5s;
    cursor: pointer;
}

/* Sidebar */

/*===== GOOGLE FONTS =====*/
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;600&display=swap");

/*===== VARIABLES CSS =====*/
:root {
    --nav-width: 92px;

    /*===== Colores =====*/
    --first-color: #0C5DF4;
    --bg-color: #12192C;
    --sub-color: #B6CEFC;
    --white-color: #FFF;

    /*===== Fuente y tipografia =====*/
    --body-font: 'Poppins', sans-serif;
    --normal-font-size: 1rem;
    --small-font-size: .875rem;

    /*===== z index =====*/
    --z-fixed: 100;
}


/*===== BASE =====*/
*,
::before,
::after {
    box-sizing: border-box;
}

/* body{
  position: relative;
  margin: 0;
  padding: 2rem 0 0 6.75rem;
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
  transition: .5s;
} */
h1 {
    margin: 0;
}

ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

a {
    text-decoration: none;
}

/*===== l NAV =====*/
.l-navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: var(--nav-width);
    height: 100vh;
    background-color: #8a8583;
    color: var(--white-color);
    padding: 1.5rem 1.5rem 2rem;
    transition: .5s;
    z-index: var(--z-fixed);
}

/*===== NAV =====*/
.l-navbar .nav {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    background-color: #8a8583;
}

.nav__brand {
    display: grid;
    grid-template-columns: max-content max-content;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}
.nav__brand i{
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
    margin-left: 5px;
}

.nav__toggle {
    font-size: 1.5rem;
    padding: .75rem;
    font-weight: bold;
    cursor: pointer;
}

.nav__logo {
    color: #f7efd2;
    font-weight: 600;
}

.nav__logo:hover {
    color: #475c6c;
}

.nav__link {
    display: grid;
    grid-template-columns: max-content max-content;
    align-items: center;
    column-gap: .75rem;
    padding: .75rem;
    border-radius: .5rem;
    margin-bottom: 1rem;
    transition: .3s;
    cursor: pointer;
    background-color: #f7efd2;
    color: #475c6c;
}

.nav__link:hover {
    background-color: #475c6c;
    color: #f7efd2;
}

#my-holding i
{
    background-image: url('../images/icon/my-holding.png');
    background-size: 100%;
    width: 22px;
    height: 22px;
}
#my-holding:hover i,
#my-holding.active i
{
    background-image: url('../images/icon/my-holding-active.png');
}
#available-alt i
{
    background-image: url('../images/icon/available-alt.png');
    background-size: 100%;
    width: 22px;
    height: 22px;
}
#available-alt:hover i,
#available-alt.active i
{
    background-image: url('../images/icon/available-alt-active.png');
}
#discount-alt i
{
    background-image: url('../images/icon/discount-alt.png');
    background-size: 100%;
    width: 22px;
    height: 22px;
}
#discount-alt:hover i,
#discount-alt.active i
{
    background-image: url('../images/icon/discount-alt-active.png');
}
#active-order i
{
    background-image: url('../images/icon/active-order.png');
    background-size: 100%;
    width: 22px;
    height: 22px;
}
#active-order:hover i,
#active-order.active i
{
    background-image: url('../images/icon/active-order-active.png');
}
#my-trade i
{
    background-image: url('../images/icon/my-trade.png');
    background-size: 100%;
    width: 22px;
    height: 22px;
}
#my-trade:hover i,
#my-trade.active i
{
    background-image: url('../images/icon/my-trade-active.png');
}
#transaction i
{
    background-image: url('../images/icon/transaction.png');
    background-size: 100%;
    width: 22px;
    height: 22px;
}
#transaction:hover i,
#transaction.active i
{
    background-image: url('../images/icon/transaction-active.png');
}

.nav__icon {
    font-size: 1.25rem;
}

.nav__name {
    font-size: var(--small-font-size);
}

#navbar .user{
    display: flex;
    margin-bottom: 20px;
}
#navbar .profile {
    display: flex;
}
#navbar .profile a,
#navbar .refer a{
    text-decoration: none;
    color: #f7efd2;
}
#navbar .profile a:hover,
#navbar .refer a:hover{
    color: #475c6c;
    transition: all .5s;
}

#navbar .profile i {
    font-size: 35px;
    margin-bottom: 0px;
}

#navbar .refer {
    margin-top: 8px;
    margin-left: 10px;
}
/*Expander menu*/
.expander {
    width: calc(var(--nav-width) + 9.25rem);
}

/*Add padding body*/
.body-pd {
    padding: 2rem 0 0 16rem;
}

/*Active links menu*/
#navbar .active {
    background-color: #475c6c;
    color: #f7efd2;
}

/*===== COLLAPSE =====*/
.collapse {
    grid-template-columns: 20px max-content 1fr;
}

.collapse__link {
    justify-self: flex-end;
    transition: .5s;
}

.collapse__menu {
    display: none;
    padding: .75rem 2.25rem;
}

.collapse__sublink {
    color: var(--sub-color);
    font-size: var(--small-font-size);
}

.collapse__sublink:hover {
    color: var(--white-color);
}

/*Show collapse*/
.showCollapse {
    display: block;
}

/*Rotate icon*/
.rotate {
    transform: rotate(180deg);
}

/* Top Nav */
.navbar {
    box-shadow: none;
}
.navbar-toggler:focus{
  box-shadow: none;
}
#top-navbar {
    background-color: #8a8583;
    color: #fff;
    padding: 10px 0;
    margin-right: 30px;
    margin-bottom: 100px;
    border-radius: 10px;
    padding: 0 10px;
}

#top-navbar .nav-link i {
    font-size: 25px;
}

#top-navbar .nav-link {
    color: #fff;
}

#top-navbar input {
    padding: 5px 15px;
    margin: 10px 0;
    background-color: transparent;
    color: #fff;
    border: 1px solid #fff;
    outline: #fff;
    border-radius: 10px;
}

.top-section {
    position: absolute;
    left: 0;
    top: 0;
    height: 120px;
    background-color: #8a8583;
    width: 100%;
}

.logo-section{
    margin-left: 270px;
    margin-top: 15px;
    margin-bottom: 15px;
    text-align: center;
}
.logo-section img{
    width: 200px;
    height: 55px;
}
.logo-section h6{
    
    color: #fff;
}
#top-navbar .wallet {
    display: flex;
}
#top-navbar .wallet i{
    font-size: 20px;
    margin-top: 3px;
    margin-right: 5px;
}

/* Footer */
.footer-section {
    background-color: #8a8583;
    color: #fff;
    font-family: "Ropa Sans", sans-serif;
    letter-spacing: 1px;
    padding: 10px 0;
    /* box-shadow: 
    inset 0px 11px 8px -10px #5a5a5a; */
}
.footer-section .container-fluid{
    width: 90%;
    margin: 0 auto;
}
.footer-section .footer-logo {
    margin-bottom: 10px;
    text-align: center;
    margin-right: 50px;
}

.footer-section .footer-logo img{
    width: 200px;
    height: 60px;
}
.footer-section .links{
    width: 100%;
    margin-top: 5px;
    text-align: right;
}
.footer-section .links a{
    text-decoration: none;
    text-align: right;
    color: #fff;
    margin: 5px;
    margin-left: 20px;
}
.footer-section .links a:hover{
    text-decoration: none;
    color: #eeca76;
    transition: all .5s;
}
.footer-section small
{
    color: #dadada;
    display: block;
}

/* Social Media */
.social-media {
    padding: 3px 0;
    font-size: 1.5rem;
    text-align: left;
    margin-left: 200px;
}

.social-media:hover {
    cursor: pointer;
}

.social-media a {
    padding: 0px 3px;
}

.social-media i {
    font-size: 16px;
}

.social-media i {
    background-color: #fff;
    color: #333;
    padding-top: 10px;
    text-align: center;
    border-radius: 50%;
    width: 35px;
    height: 35px;
}
.social-media i:hover {
    background: #eeca76;
    color: #111;
    transition: ease-in .3s;
}

/* Other */
.table-section img{
    width: 50px;
    height: 50px;
    margin-right: 10px;
}
.table-section a{
    text-decoration: none;
    cursor: pointer;
    color: #212529;
}
.table-striped>tbody>tr:nth-of-type(even)>* {
    background-color: #fff;
}

.table-striped>tbody>tr:nth-of-type(odd)>* {
    background-color: #fff;
}
.table-section td{
    vertical-align: middle;
}

.button {
    background-color: #37454e;
    padding: 5px 15px;
    padding-bottom: 7px;
    text-decoration: none;
    color: #fff !important;
    border-radius: 5px;
    border: none;
    margin-top: 7px;
    max-width: 175px;
    text-align: center;
}
button {
    padding: 0;
    padding-bottom: 5px !important;
    font-size: 15px;
    margin-top: 5px;
}

.button:hover {
    background-color: #242c31;
    color: #679ac2;
    transition: ease-out .5s;
}

.button.disable {
    opacity: .7;
}

.button.disable:hover {
    background-color: #242c31;
    color: #fff;
}

.create-btn {
    margin: 0 auto;
    padding: 8px 20px;
    font-weight: 500;
    color: #ffffffe3;
    background: #0063a1;
    border: none;
    border-radius: 25px;
    text-transform: uppercase;
    text-decoration: none;
}

.create-btn:hover {
    background-color: #0073bb;
    color: #9edaff;
    transition: ease-in .3s;
}

.status-active {
    color: #00693f;
}

.status-inactive {
    color: #e97c00;
}

.status-delete {
    color: #d40000;
}

thead {
    background-color: #0063a1;
    color: #fff;
}

h3 {
    font-style: italic;
}

#customSuccessAlert,
#customFailedAlert{
    display: none;
}
.modal input:focus,
.modal input:active,
.modal select:focus,
.modal select:active{
    box-shadow: none;
}

/* data table */
.dataTables_wrapper .dataTables_filter {
    margin-bottom: 10px;
}

table.dataTable {
    border-collapse: collapse;
}

#myTable_filter input {
    border: 1px solid gray;
    color: #333;
    border-radius: 3px;
    padding: 5px 7px;
}

#myTable_filter input:focus {
    outline: none;
}
table.dataTable thead>tr>th.sorting:after,
table.dataTable thead>tr>th.sorting:before{
    color: #cecece;
    opacity: 1;
    font-size: 15px;
}
.dataTables_wrapper .dataTables_length select
{
    background-color: #cecece;
    color: #333;
    outline: none;
}


/* Media Query */
@media only screen and (max-width: 1800px) {
    .table-section{
        margin-left: 200px;
    }
}
@media only screen and (max-width: 1400px) {
    .table-section{
        margin-left: 250px;
    }
}
@media only screen and (max-width: 1280px) {
    #top-navbar input{
        width: 170px;
        padding: 5px 10px;
    }
    .nav__brand
    {
        margin-bottom: 1rem;
    }
}
@media only screen and (max-width: 991px) {
    .button {
        display: block;
        margin: 5px 2px;
        font-size: 13px;
        padding: 4px 8px;
        width: max-content;
    }
    #top-navbar .profile{
        margin-top: 15px;
        text-align: center;
        display: block;
    }
    #top-navbar .refer{
        text-align: center;
    }
    #top-navbar .nav-item{
        text-align: center;
    }
    #top-navbar{
        width: 600px;
        margin-left: auto;
        margin-right: 0px;
        padding: 10px;
        padding-right: 30px;
        z-index: 999;
    }
    .logo-section
    {
        text-align: center;
        margin-left: 0px;
    }
    .navbar-toggler-icon{
      box-shadow: none;
    }
    #top-navbar input{
       margin: 0 auto;
       margin-bottom: 15px;
    }
    .top-section {
        height: 90px;
    }
    .nav__brand
    {
        justify-content: left;
    }
    .footer-section .links{
        text-align: center;
    }
    .footer-section .links a{
        margin: 5px;
        margin-left: 0px;
        text-align: center;
    }
    .footer-section .social-media{
        text-align: center;
        margin-left: 0;
    }
    #top-navbar .wallet{
        justify-content: center;
    }
    .footer-section small
    {
        margin-top: 10px;
    }
    .footer-section .footer-logo{
        margin-right: 0px;
    }
}

@media only screen and (max-height: 600px) {
    .nav__link
    {
        margin-bottom: .75rem;
        padding: .5rem .75rem;
    }
}

@media only screen and (max-width: 767px) {

    html,
    body {
        font-size: .9rem;
    }

    .button {
        width: 100%;
    }

    .create-btn {
        padding: 5px 15px;
        font-size: 13px;
    }
    .navbar .navbar-brand img{
        width: 160px;
        height: 50px;
    }

    .navbar-toggler:focus {
        box-shadow: none;
    }

    .navbar .nav-item .nav-link {
        text-align: center;
    }

    .table>:not(caption)>*>* {
        padding: 5px 5px;
    }

    .table th {
        font-size: 11px;
    }

    h3 {
        font-size: 20px;
    }

    #top-navbar {
        width: 250px;
        padding-right: 20px;
    }

    .l-navbar {
        padding: 1rem;
        width: 65px;
    }

    .expander {
        width: calc(65px + 8rem);
    }

    .l-navbar .nav__link {
        width: 10.5rem;
        padding: .75rem .5rem;
    }
    .main-content {
        margin-top: 80px;
    }
    .table-section{
        margin-left: 100px;
    }

}
