
/*@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;800&display=swap');*/

@font-face

{
 font-family: 'Poppins';
 src: url(../font/Poppins-Regular.ttf);
 
 
 /* src: url(../fuente/Poppins-SemiBold.ttf); */
 /* src:url(../fuente/Poppins-ExtraBold.ttf); */
 
}

*,
::after,
::before {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

a {
    text-decoration: none;
    color: #6366f1;
}

li {
    list-style: none;
}

h2 {
    color: #3e4455;
}

img {
    vertical-align: middle;
    max-width: 100%;
}

body {
    font-family: 'Poppins', sans-serif;
}

.contenedor {
    display: flex;
}

/* Sidebar layout & functionality */

#sidebar {
    display: flex;
    flex-direction: column;
    background-color: #293b5f;
}

#toggler {
    display: none;
}

.toggle-btn {
    font-size: 1.5rem;
    cursor: pointer;
    color: #FFF;
    padding: 1rem 1.5rem;
    width: max-content;
}

.sidebar-nav {
    width: 85px;
    min-width: 85px;
    padding: 25px 0;
    flex: 1 1 auto;
    transition: all .22s ease-out;
}

#sidebar input[type="checkbox"]:checked~.sidebar-nav {
    width: 260px;
    min-width: 260px;
}

a.sidebar-link {
    padding: .625rem 1.625rem;
    color: #FFF;
    display: block;
    white-space: nowrap;
    border-left: 3px solid transparent;
}

.sidebar-link i {
    font-size: 1.1re;
    margin-right: .75rem;
}

a.sidebar-link:hover {
    background-color: rgba(255, 255, 255, .075);
    border-left: 3px solid #3b7ddd;
}

#sidebar input[type="checkbox"]:not(:checked)~* .sidebar-link span {
    display: none;
}

.main {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    width: 100%;
    overflow: hidden;
}

/* Dashboard Navbar */

.dashboard-navbar {
    display: flex;
    flex-wrap: nowrap;
    padding: 10px  10px  0px  10px;
    background-color: #f5f5f5;
	font-size:22px;
}

.dashboard-navbar form {
    display: none;
}

.dashboard-navbar .navbar-content {
    display: flex;
    flex-grow: 1;
    min-width: 200px;
}

.dashboard-navbar .main-nav {
    margin-left: auto;
}

.user-link {
    position: relative;
}

.avatar {
    height: 40px;
    width: 40px;
}

.user-link-dropdown {
    display: none;
}

.user-link:hover .user-link-dropdown {
    position: absolute;
    right: 0;
    left: auto;
    min-width: 10rem;
    background-color: #FFF;
    display: block;
    border: 1px solid #d2d2d2;
    box-shadow: 0 .1rem .2rem rgba(255, 255, 255, .075);
    animation: fade .5s;
}

@keyframes fade {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

.user-link-dropdown a {
    display: block;
    width: 100%;
    color: #fff;
    padding: 0 0.75rem;
    font-size: 1rem;
    margin-top: 0.75rem;
}

/* Dashboard Content */

.content {
    padding: 1.5rem;
    flex: 1 1 auto;
}

.dashboard-card {
    grid-template-columns: repeat(2, 1fr);
    margin: 3rem ;
    display: grid;
    gap: 5rem;
}

.dashboard-card-inventario {
    grid-template-columns: repeat(1, 1fr);
    margin: 1px ;
    display: grid;
    gap: 5rem;
	text-align: center;
	align-items: center;
    justify-content: center;

	
}

.card-inventario {
    background-color: #293b5f;
    padding: 1.5rem 1rem;
    color: #FFF;
    border-radius: 20px;
    transition: .4s;
    cursor: pointer;
	text-align:center;
	align-items: center;
    justify-content: center;	
}


.title-inventario {
    font-size: 1.5rem;
    font-weight: 600;
	
}


.title {
    font-size: 1.25rem;
    font-weight: 600;
}

.amount {
    font-weight: 400;
    font-size: 1rem;
}

.card {
    background-color: #293b5f;
    padding: 1.5rem 1rem;
    color: #FFF;
    border-radius: 20px;
    transition: .4s;
    cursor: pointer;
}

.card:hover {

    transform: translateY(-10.5px);
}


.text-success-bg {
    background-color: #71c664;
    padding: 0.25rem 0.35rem;
    margin-right: 0.375rem;
    font-size: 0.715rem;
    color: #FFF;
    border-radius: 5px;
}

.badge-text {
    font-size: 0.85rem;
    font-weight: 400;
}

/*------------ Table Layout ------------*/

#posts {
    border-collapse: collapse;
    margin: 10px auto;
    width: 100%;
}

#posts thead tr {
    color: #FFF;
    text-align: left;
    background-color: #293b5f;
}

#posts th,
#posts td {
    padding: 12px 5px;
	
}

#posts tbody tr:nth-of-type(2n) {
    background-color: #f5f5f5;
	
}

.form-control[readonly],fieldset[disabled] 
.form-control{background-color:#eee;opacity:1;cursor:not-allowed}


/* Footer */

.footer-wrap {
    display: flex;
    flex-wrap: wrap;
    white-space: nowrap;
    align-items: center;
    overflow-x: auto;
    justify-content: space-between;
    background-color: #f5f5f5;
    padding: 1rem 2rem;
}

.social-icons {
    display: none;
}


.user-link-dropdown{
	border-radius:10px;
	
}

#active a

{
	background-color:#f5f5f5;
	color:#333;
	
}
/* Responsive */

@media (min-width: 768px) {

    /* Navbar Form */

    .dashboard-navbar form {
        display: block;
        max-width: 320px;
    }

    .nav-search {
        display: flex;
        flex-wrap: wrap;
    }

    .nav-search .search-query {
        flex: 1 1 auto;
        width: 1%;
        height: calc(1.5em + .9rem + 2px);
        padding: 0 20px;
        border: none;
        color: #3e4455;
        font-family: 'Poppins', sans-serif;
    }

    .nav-search .search-query:focus-visible {
        outline: none;
    }

    .nav-search .btn {
        border: 0;
        background-color: #727cf5;
        color: #FFF;
        padding: 0.45rem 0.9rem;
        font-family: 'Poppins', sans-serif;
        cursor: pointer;
    }

    /* Social Icons */

    .social-icons {
        display: block;
    }

    .social-icons li:not(:last-child) {
        margin-right: 0.5rem;
        border-right: 1px solid #000;
        padding-right: 0.7rem;
    }

    .social-icons li {
        display: inline-block;
    }

    .social-icons li a {
        color: #000;
    }
}
