:root {
    --naranja: #FA9918;
    --claro: #A6A6A6;
    --oscuro: #393E49;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    width: 100%;
    height: 100vh;
    background-color: var(--oscuro);
    color: white;
    font-family: interface, sans-serif;
    font-weight: 400;
    font-style: normal;
}

.plantilla {
    width: 100%;
    height: 100%;
    position: relative;
    background: url(../img/exhaust-pipe@2x.png) no-repeat bottom left;
    background-size: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Flex containers */

.contenedor-flex {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: auto;
    max-width: 100%;
}

.column {
    flex-direction: column;
}

.space-around {
    justify-content: space-around !important;
}

/* end of flex containers */

/* Scroll containers */

.contenedor-scroll-x {
    overflow-x: auto;
    white-space: nowrap;
    width: 80vw;
    text-align: center;
}

.contenedor-scroll-y {
    overflow-y: auto;
    overflow-x: hidden;
    white-space: nowrap;
    height: 65vh;
    text-align: center;
    margin: 30px auto;
    border-radius: 5px;
    position: relative;
}

.cont-productos {
    width: 80vw;
}

.cont-usuarios {
    width: 50vw;
    position: relative;
}

.contenedor-scroll-x::-webkit-scrollbar {
    height: 5px;
}

.contenedor-scroll-y::-webkit-scrollbar {
    width: 5px;
}

.contenedor-scroll-x::-webkit-scrollbar-track, .contenedor-scroll-y::-webkit-scrollbar {
    background: var(--claro);
    border-radius: 2.5px;
}

.contenedor-scroll-x::-webkit-scrollbar-thumb, .contenedor-scroll-y::-webkit-scrollbar {
    background: var(--naranja);
    border-radius: 2.5px;
}

/* end of scroll containers */

.logo-login {
    width: 200px;
    margin: 30px auto;
}

.form-ch {
    width: 300px;
}

.form-md {
    width: 520px;
}

.form-full {
    width: 100%;
}

.form-uno label {
    color: var(--claro);
    font-size: .8rem;
    margin: auto;
}

.form-uno input {
    background-color: transparent;
    border: none;
    border-bottom: 1px solid var(--claro);
    width: 100%;
    height: 45px;
    margin: auto auto 30px auto;
    font-weight: 700;
    color: white;
    text-align: center;
    font-size: 1rem;
}

.form-busqueda input {
    background-color: rgba(255, 255, 255, .95);
    border: none;
    border-radius: 5px;
    width: 100%;
    height: 45px;
    margin: auto 10px auto auto;
    font-weight: 400;
    color: var(--naranja);
    text-align: center;
    font-size: 1em;
}

.btn-primario {
    display: block;
    width: 200px;
    color: var(--oscuro);
    border-radius: 25px;
    border: none;
    padding: 13px 15px 15px 15px;
    font-weight: 700;
    font-size: 1em;
    background: rgb(250, 153, 24);
    background: linear-gradient(90deg, rgba(250, 153, 24, 1) 0%, rgba(247, 246, 139, 1) 100%);
    cursor: pointer;
    margin: 15px auto auto auto;
    text-decoration: none;
    text-align: center;
}

.redondo {
    margin: 0;
    padding: 15px 16px;
    width: auto;
}

.btn-secundario {
    display: block;
    width: 200px;
    color: var(--oscuro);
    border-radius: 25px;
    border: none;
    padding: 13px 15px 15px 15px;
    font-weight: 700;
    font-size: 1em;
    background-color: var(--claro);
    margin: 15px auto auto auto;
    text-decoration: none;
    text-align: center;
}

.btn-link {
    display: block;
    color: var(--naranja);
    font-weight: 700;
    font-size: 1rem;
    padding: 15px 0;
    margin: auto auto 15px auto;
}

.btn-link:hover {
    color: var(--claro);
}

/* Dropdown Button */

.dropbtn {
    color: var(--claro);
    padding: 16px;
    font-size: 1rem;
    border: none;
    background-color: transparent;
    font-weight: 700;
    cursor: pointer;
}

/* The container <div> - needed to position the dropdown content */

.dropdown {
    position: absolute;
    top: 0;
    right: 0;
    display: inline-block;
}

/* Dropdown Content (Hidden by Default) */

.dropdown-content {
    display: none;
    position: absolute;
    right: 20px;
    background-color: white;
    min-width: 200px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 2;
    border-radius: 5px;
    overflow: hidden;
}

/* Links inside the dropdown */

.dropdown-content a {
    color: var(--oscuro);
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: right;
}

.dropdown-content a i {
    color: var(--naranja);
    margin: auto 10px;
}

/* Change color of dropdown links on hover */

.dropdown-content a:hover {
    background-color: #eee;
}

/* Show the dropdown menu on hover */

.dropdown:hover .dropdown-content {
    display: block;
}

.caja-resultado {
    display: inline-block;
    height: 400px;
    width: 300px !important;
    background-color: white;
    border-radius: 5px;
    overflow: hidden;
    margin: 30px 15px;
}

.contenedor-foto img {
    width: 100%;
}

.contenedor-foto {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.caja-resultado .serie {
    font-weight: 700;
    color: var(--oscuro);
    padding-left: 15px;
    margin: 15px auto auto 0;
}

.caja-resultado .precio {
    font-weight: 700;
    color: var(--naranja);
    padding-right: 15px;
    margin: 15px 0 auto auto;
}

.caja-resultado .descripcion {
    color: var(--claro);
    font-size: 1rem;
    padding: 15px;
    width: 100%;
    white-space: normal;
    text-align: left;
}

h1 {
    margin: 15px auto 30px auto;
}

/* Tabla */

table {
    background-color: white;
    border-radius: 5px;
    color: var(--oscuro);
    text-align: center;
    width: 100%;
    position: relative;
}

table th {
    padding: 15px 30px;
    position: sticky;
    top: 0 !important;
    background-color: white;
    z-index: 1;
}

table td {
    padding: 15px;
}

table tr {
    border-bottom: 1px solid var(--claro);
}

.foto-preview-cont {
    overflow: hidden;
    width: 100px;
    height: 100px;
    border-radius: 5px;
    position: relative;
    margin: auto;
}

.foto-preview-cont img {
    height: 100%;
    position: absolute;
    left: 50%;
    transform: translate(-50%);
}

.table-desc {
    width: 100%;
    white-space: normal;
    text-align: left;
}