/********************************************************/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family-sans-serif);
}

li {
    list-style: none;
}

a {
    text-decoration: none;
    color: var(--color-texto-a);
}


::-webkit-scrollbar {
    width: 5px;
}

::-webkit-scrollbar-thumb {
    background: #2f3d4b;
    border-radius: 10px;
}

/* STICKY */
.sticky {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
}

/*****************************************************************/
/* MENU TOP STICKY */

.header {
    border: 1px solid #5c5c5c;
    border-radius: 5px;
    background-color: var(--color-fondo-menus);
    padding: 10px;
    margin: 5px;

    -webkit-box-shadow: 2px 2px 3px 0px rgba(61, 61, 61, 0.45);
    -moz-box-shadow: 2px 2px 3px 0px rgba(61, 61, 61, 0.45);
    box-shadow: 2px 2px 3px 0px rgba(61, 61, 61, 0.45);
}

.header .container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    flex-wrap: wrap;
}


.header .container .menu-principal {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
}

.header .container .menu-principal input {
    width: 100%;
}

.header .container .menu-principal .boton-menu {
    width: 100%;
}

.header-titulo {
    font-size: 25px;
}

.boton-menu {
    display: block;
    color: var(--color-fondo-boton);
    background-color: transparent;
    border: 1px solid #000;
    padding: 3px;
}

#boton-cliente {
    display: none;
    color: var(--color-fondo-boton);
    background-color: transparent;
}

/* CONFIGURACION MOVIL MENOR O IGUAL A 750 PX */
.nombre-sesion {
    display: block;
    color: #c8e2ff;
}

@media (max-width: 850px) {
    #boton-cliente {
        display: block;
    }

    .nombre-sesion {
        display: none;
    }
}

/* FINAL MENU TOP STICKY */
/*****************************************************************/

/*****************************************************************/
/* BARRA IZQUIERDA */


.left {
    width: 300px;
    min-width: 238px;
    position: fixed;
    left: 5px;
    top: 65px;
    bottom: 0;
    overflow: auto;
    align-items: center;
    text-align: center;
    background-color: var(--color-fondo-principal-left);
    color: var(--color-texto-normal);
    border-radius: 5px;
    padding: 5px;

    -webkit-box-shadow: 2px 2px 3px 0px rgba(61, 61, 61, 0.45);
    -moz-box-shadow: 2px 2px 3px 0px rgba(61, 61, 61, 0.45);
    box-shadow: 2px 2px 3px 0px rgba(61, 61, 61, 0.45);
}

.left .container {
    margin: 10px;
}
.left .header .container {
    text-align: center;
    margin: 0px 40px;
}
.left .header .container .boton-menu {
    color: #c4dbef;
    padding: 5px;
}
.left .header .container input {
    height: 25px;
}

@media (max-width: 850px) {
    .left {
        display: none;
    }
}


.checkbox-buscar {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 10px;

    margin: 5px;
}


.boton-borrado {
    font-size: 10px;
    background-color: #6484a3;
    border: 1px solid #5e5e5e;
    cursor: pointer;
    margin-bottom: 10px;
}
/* BARRA IZQUIERDA MOVIL */

.left-boton {

    z-index: 1000;

    width: 300px;
    min-width: 238px;
    position: fixed;
    left: 5px;
    top: 65px;
    bottom: 0;
    overflow: auto;
    background-color: var(--color-fondo-principal-left);
    color: var(--color-texto-normal);
    align-items: center;
    text-align: center;
    border-radius: 5px;
    padding: 5px;

    -webkit-box-shadow: 2px 2px 3px 0px rgba(61, 61, 61, 0.45);
    -moz-box-shadow: 2px 2px 3px 0px rgba(61, 61, 61, 0.45);
    box-shadow: 2px 2px 3px 0px rgba(61, 61, 61, 0.45);
}

.left-boton .container {
    margin: 10px;
}

@media (min-width: 850px) {
    .left-boton {
        display: none !important;
    }
}

/* TARJETA PRODUCTO */

.tarjeta-cliente-container {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    text-align:left;
    justify-content: space-between;

    -webkit-box-shadow: 2px 2px 3px 0px rgba(61, 61, 61, 0.45);
    -moz-box-shadow: 2px 2px 3px 0px rgba(61, 61, 61, 0.45);
    box-shadow: 2px 2px 3px 0px rgba(61, 61, 61, 0.45);

    border: 1px solid #5c5c5c;
    padding: 10px;
    margin: 5px 0px;
    border-radius: 5px;
    background-color: var(--color-fondo-tarjeta1);
    color: #000;
}

.clasif-cliente {
    margin: 5px;
}
.clasif-container {
    padding: 10px 15px 10px 15px;
    border: 1px solid #343434;
    border-radius: 50%;
    background-color: #06c;

    -webkit-box-shadow: 2px 2px 3px 0px rgba(61, 61, 61, 0.45);
    -moz-box-shadow: 2px 2px 3px 0px rgba(61, 61, 61, 0.45);
    box-shadow: 2px 2px 3px 0px rgba(61, 61, 61, 0.45);
}

.clasif-cliente-2 {
    margin: 0px 0px 0px 0px;
}
.clasif-cont {
    border: 1px solid #343434;
    border-radius: 50%;    
    background-color: rgb(30, 62, 93);
}

.clasif-cont button {
    border: none;
    background-color: transparent;
    cursor: pointer;
    box-shadow: none;
}
.nombre-cliente {
    text-align: right;
}

/* FINAL BARRA IZQUIERDA */
/*****************************************************************/

/***************************************************************/
/* BARRA DERECHA */

.right {
    width: calc(100% - 315px);
    min-width: 238px;
    position: fixed;
    left: 310px;
    top: 65px;
    bottom: 0;
    overflow: auto;
    align-items: center;
    text-align: left;

    background-color: var(--color-fondo-principal-left);
    color: var(--color-texto-normal);

    padding: 5px;

    -webkit-box-shadow: 2px 2px 3px 0px rgba(61, 61, 61, 0.45);
    -moz-box-shadow: 2px 2px 3px 0px rgba(61, 61, 61, 0.45);
    box-shadow: 2px 2px 3px 0px rgba(61, 61, 61, 0.45);


}

.right .container {
    margin: 10px;
}

@media (max-width: 850px) {
    .right {
        width: 98%;
        left: 5px;
        top:80px;
    }
}

/* FINAL BARRA DERECHA */
/*****************************************************************/
.cuerpo {

    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    margin: 5px;
}

.cuerpo-izq {

    width: 49%;
    padding: 15px;

    border: 1px solid #5c5c5c;
    padding: 10px;
    margin: 3px;
    border-radius: 5px;
    background-color: var(--color-fondo-tarjeta3);

    -webkit-box-shadow: 2px 2px 3px 0px rgba(61, 61, 61, 0.45);
    -moz-box-shadow: 2px 2px 3px 0px rgba(61, 61, 61, 0.45);
    box-shadow: 2px 2px 3px 0px rgba(61, 61, 61, 0.45);
}

.cuerpo-dch {

    padding: 15px;

    border: 1px solid #5c5c5c;
    padding: 10px;
    margin: 3px;
    border-radius: 5px;
    background-color: var(--color-fondo-tarjeta1);

    -webkit-box-shadow: 2px 2px 3px 0px rgba(61, 61, 61, 0.45);
    -moz-box-shadow: 2px 2px 3px 0px rgba(61, 61, 61, 0.45);
    box-shadow: 2px 2px 3px 0px rgba(61, 61, 61, 0.45);
}

@media (max-width: 850px) {
    .cuerpo {
        flex-wrap: wrap;
    }

    .cuerpo-izq {
        width: 100%;
    }
}

.barra-separadora {
    margin: 10px;
}

.lista-ofertas {
    padding: 0px 0; 
    text-align: center;   
}
.titulo-lista-ofertas {
        
    text-align: center;
    padding: 5px 0px 5px 0px;       
    font-weight: 800;
    
    margin-bottom: 5px;
    color: rgb(16, 24, 31);
}
/****************************************************************/

.modificar {
    font-size: 15px;
    font-weight: 800;
    margin-left: 5px;
    width: 98%;
    padding: 10px;
    border-radius: 5px;
    background-color: var(--color-fondo-tarjeta1);

    -webkit-box-shadow: 2px 2px 3px 0px rgba(61, 61, 61, 0.45);
    -moz-box-shadow: 2px 2px 3px 0px rgba(61, 61, 61, 0.45);
    box-shadow: 2px 2px 3px 0px rgba(61, 61, 61, 0.45);
}

.modificar-info {
    font-size: 15px;
    font-weight: 800;
    margin-left: 0px;
    width: 100%;
    padding: 10px;
    border-radius: 5px;
    background-color: var(--color-fondo-tarjeta1);

    -webkit-box-shadow: 2px 2px 3px 0px rgba(61, 61, 61, 0.45);
    -moz-box-shadow: 2px 2px 3px 0px rgba(61, 61, 61, 0.45);
    box-shadow: 2px 2px 3px 0px rgba(61, 61, 61, 0.45);
}

.añadir-contacto {
    font-size: 15px;
    font-weight: 800;
    margin: 0px 0px 0px 0px;
    width: 100%;
    padding: 10px;
    border-radius: 5px;
    background-color: var(--color-fondo-tarjeta1);

    -webkit-box-shadow: 2px 2px 3px 0px rgba(61, 61, 61, 0.45);
    -moz-box-shadow: 2px 2px 3px 0px rgba(61, 61, 61, 0.45);
    box-shadow: 2px 2px 3px 0px rgba(61, 61, 61, 0.45);
}

/*************************************************************/
/* tab */

.tabset {
    max-width: 65em;
    text-align: center;
}

.tab-panel {
    padding: 30px 0;
    border-top: 1px solid #ccc;
}

.tabset>input[type="radio"] {
    position: absolute;
    left: -200vw;
}

.tabset .tab-panel {
    display: none;
    
}

.tabset>input:first-child:checked~.tab-panels>.tab-panel:first-child,
.tabset>input:nth-child(3):checked~.tab-panels>.tab-panel:nth-child(2),
.tabset>input:nth-child(5):checked~.tab-panels>.tab-panel:nth-child(3),
.tabset>input:nth-child(7):checked~.tab-panels>.tab-panel:nth-child(4),
.tabset>input:nth-child(9):checked~.tab-panels>.tab-panel:nth-child(5),
.tabset>input:nth-child(11):checked~.tab-panels>.tab-panel:nth-child(6) {
    display: block;
    
}

/*
   Styling
  */

.tabset>label {
    width: 49%;
    /*position: relative;*/
    display: inline-block;
    padding: 15px 0px 15px 0px;
    border: 1px solid transparent;
    border-bottom: 0;
    cursor: pointer;
    font-weight: 600;
    background-color: rgb(108, 125, 148);
    border-radius: 5px;
    margin-bottom: 5px;
    color: rgb(82, 94, 112);
}

.tabset>label::after {
    content: "";
    left: 15px;
    bottom: 10px;
    width: 22px;
    height: 4px;
    background: #390000;
}

input:focus-visible+label {
    outline: 2px solid rgba(0, 102, 204, 1);
    border-radius: 3px;
    
}

.tabset>label:hover,
.tabset>input:focus+label,
.tabset>input:checked+label {
    color: rgb(255, 255, 255);
    background-color: rgb(63, 73, 87);
}

.tabset>label:hover::after,
.tabset>input:focus+label::after,
.tabset>input:checked+label::after {
    background: rgb(63, 73, 87);
}

.tabset>input:checked+label {
    border-color: #ccc;
    border-bottom: 1px solid #fff;
    margin-bottom: -1px;
}




/*********************************/

.img-replace {
    /* replace text with an image */
    display: inline-block;
    overflow: hidden;
    text-indent: 100%;
    color: transparent;
    white-space: nowrap;
  }

.cd-popup-trigger {
    display: block;
    width: 170px;
    height: 50px;
    line-height: 50px;
    margin: 3em auto;
    text-align: center;
    color: #FFF;
    font-size: 14px;
    font-size: 0.875rem;
    font-weight: bold;
    text-transform: uppercase;
    border-radius: 50em;
    background: #35a785;
    box-shadow: 0 3px 0 rgba(0, 0, 0, 0.07);
}

@media only screen and (min-width: 1170px) {
    .cd-popup-trigger {
        margin: 6em auto;
    }
}

.cd-popup {
    position: fixed;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    background-color: rgba(94, 110, 141, 0.9);
    opacity: 0;
    visibility: hidden;
    -webkit-transition: opacity 0.3s 0s, visibility 0s 0.3s;
    -moz-transition: opacity 0.3s 0s, visibility 0s 0.3s;
    transition: opacity 0.3s 0s, visibility 0s 0.3s;
    z-index: 100;
}

.cd-popup.is-visible {
    opacity: 1;
    visibility: visible;
    -webkit-transition: opacity 0.3s 0s, visibility 0s 0s;
    -moz-transition: opacity 0.3s 0s, visibility 0s 0s;
    transition: opacity 0.3s 0s, visibility 0s 0s;
}

.cd-popup-container {
    position: relative;
    width: 90%;
    max-width: 400px;
    margin: -2em auto;
    background: #FFF;
    border-radius: .25em .25em .4em .4em;
    text-align: center;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
    -webkit-transform: translateY(-40px);
    -moz-transform: translateY(-40px);
    -ms-transform: translateY(-40px);
    -o-transform: translateY(-40px);
    transform: translateY(-40px);
    /* Force Hardware Acceleration in WebKit */
    -webkit-backface-visibility: hidden;
    -webkit-transition-property: -webkit-transform;
    -moz-transition-property: -moz-transform;
    transition-property: transform;
    -webkit-transition-duration: 0.3s;
    -moz-transition-duration: 0.3s;
    transition-duration: 0.3s;
}

.cd-popup-container p {
    padding: 3em 1em;
}

.cd-popup-container .cd-buttons:after {
    content: "";
    display: table;
    clear: both;
}

.cd-popup-container .cd-buttons li {
    float: left;
    width: 50%;
    list-style: none;
}

.cd-popup-container .cd-buttons a {
    display: block;
    height: 60px;
    line-height: 60px;
    text-transform: uppercase;
    color: #FFF;
    -webkit-transition: background-color 0.2s;
    -moz-transition: background-color 0.2s;
    transition: background-color 0.2s;
}

.cd-popup-container .cd-buttons li:first-child a {
    background: #3b729a;
    border-radius: 0 0 0 .25em;
}

.no-touch .cd-popup-container .cd-buttons li:first-child a:hover {
    background-color: #82bbfc;
}

.cd-popup-container .cd-buttons li:last-child a {
    background: #79a7cf;
    border-radius: 0 0 .25em 0;
}

.no-touch .cd-popup-container .cd-buttons li:last-child a:hover {
    background-color: #e5edfb;
}

.cd-popup-container .cd-popup-close {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 30px;
    height: 30px;
}

.cd-popup-container .cd-popup-close::before,
.cd-popup-container .cd-popup-close::after {
    content: '';
    position: absolute;
    top: 12px;
    width: 14px;
    height: 3px;
    background-color: #8f9cb5;
}

.cd-popup-container .cd-popup-close::before {
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transform: rotate(45deg);
    left: 8px;
}

.cd-popup-container .cd-popup-close::after {
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    transform: rotate(-45deg);
    right: 8px;
}

.is-visible .cd-popup-container {
    -webkit-transform: translateY(0);
    -moz-transform: translateY(0);
    -ms-transform: translateY(0);
    -o-transform: translateY(0);
    transform: translateY(0);
}

@media only screen and (min-width: 1170px) {
    .cd-popup-container {
        margin: -2em auto;
    }
}

/***********************************************/
/* formulario popup */

#contact {
	background:#F9F9F9;
	padding:25px;
	margin:50px 0;
}

#contact h3 {
	color: #F96;
	display: block;
	font-size: 30px;
	font-weight: 400;
}

#contact h4 {
    color: rgb(13, 28, 43);
	margin:5px 0 15px;
	display:block;
	font-size:20px;
}

fieldset {
	border: medium none !important;
	margin: 0 0 10px;
	min-width: 100%;
	padding: 0;
	width: 100%;
}

#contact input[type="text"], #contact input[type="email"], #contact input[type="tel"], #contact input[type="url"], #contact textarea, #contact select {
	width:100%;
	border:1px solid #CCC;
	background:#FFF;
	margin:0 0 5px;
	padding:10px;
}

#contact input[type="text"]:hover, #contact input[type="email"]:hover, #contact input[type="tel"]:hover, #contact input[type="url"]:hover, #contact textarea:hover {
	-webkit-transition:border-color 0.3s ease-in-out;
	-moz-transition:border-color 0.3s ease-in-out;
	transition:border-color 0.3s ease-in-out;
	border:1px solid #AAA;
}

#contact textarea {
	height:100px;
	max-width:100%;
  resize:none;
}

#contact button[type="submit"] {
	cursor:pointer;
	width:100%;
	border:none;
	background:rgb(60, 87, 117);
	color:#FFF;
	margin:20px 0 5px;
	padding:10px;
	font-size:15px;
}

#contact button[type="submit"]:hover {
	background:#09C;
	-webkit-transition:background 0.3s ease-in-out;
	-moz-transition:background 0.3s ease-in-out;
	transition:background-color 0.3s ease-in-out;
}

#contact button[type="submit"]:active { box-shadow:inset 0 1px 3px rgba(0, 0, 0, 0.5); }

#contact input:focus, #contact textarea:focus {
	outline:0;
	border:1px solid #999;
}
::-webkit-input-placeholder {
 color:#888;
}
:-moz-placeholder {
 color:#888;
}
::-moz-placeholder {
 color:#888;
}
:-ms-input-placeholder {
 color:#888;
}
