#contenedor {
    margin: 40px auto;
    width: 90%;  /* Ancho del contenedor */
box-sizing: border-box;
-moz-box-sizing: border-box;
}

#contenedor label {
float: left;
cursor: pointer;
font-size: 15px;  /* Tamaño del texto de las pestañas */
line-height: 40px;
height: 40px;
padding: 0 20px;
display: block;
color: #888;  /* Color del texto de las pestañas */
text-align: center;
border-radius: 5px 5px 0 0;
background: #ddd;  /* Fondo de las pestañas */
margin-right: 5px;
margin-bottom: 0px;
}

#contenedor input:hover + label {
background: #ccc;  /* Fondo de las pestañas al pasar el cursor por encima */
color: #666;  /* Color del texto de las pestañas al pasar el cursor por encima */
}

#contenedor input:checked + label {
background: #eee;  /* Fondo de las pestañas al presionar */
color: #444; /* Color de las pestañas al presionar */
z-index: 2;
line-height: 45px;
height: 45px;
position: relative;
top: 0px;
-webkit-transition: .1s;
-moz-transition: .1s;
-o-transition: .1s;
-ms-transition: .1s;
}

.content {
background: #eee;  /* Fondo del contenido */
position: relative;
width: 100%;
overflow-y: scroll;
height: 400px;  /* Alto del contenido */
padding: 30px;
z-index: 1;
border-radius: 0 5px 5px 5px;
}

.content div {
width: 98%;
position: absolute;
z-index: -100;
opacity: 0;
transition: all linear 0.1s;
}

#nombrearticulo {
  opacity: 1;
  width: 100%;
}

#form_respuesta_subcategorias {
  opacity: 1;
  z-index: 101;
  position: relative;
}

#form_respuesta_envio {
  opacity: 1;
  z-index: 101;
  position: relative;
}

#form_respuesta_facturacion {
  opacity: 1;
  z-index: 101;
  position: relative;
}

#form_respuesta_facturacion2 {
  opacity: 1;
  z-index: 101;
  position: relative;
}

#nombrearticulo .clasactivos {
  opacity: 1;
  position: relative;
  z-index: 101;
}

#articulos_cargados .clasactivos {
  opacity: 1;
  position: relative;
  z-index: 101;
}

#alerta {
  opacity: 1;
  width: 100%;
  position: relative;
}

#contenedor input.tab-selector-1:checked ~ .content .content-1,
#contenedor input.tab-selector-2:checked ~ .content .content-2,
#contenedor input.tab-selector-3:checked ~ .content .content-3,
#contenedor input.tab-selector-4:checked ~ .content .content-4 {
    z-index: 100;
    opacity: 1;
    -webkit-transition: all ease-out 0.2s 0.1s;
-moz-transition: all ease-out 0.2s 0.1s;
-o-transition: all ease-out 0.2s 0.1s;
-ms-transition: all ease-out 0.2s 0.1s;
}
