@font-face {
    font-family: "Myriad Pro";
    font-display: fallback;
    src: local("Myriad Pro"), url("fonts/Myriadproregular.ttf");
}

body {
    width: 100%;
    background: white;
    font-family: 'Myriad Pro', serif;
    font-size: 16px;
    padding-top: 80px;
}

body a:active,
body a:focus {
    outline: none;
}

.contenedor {
    width: 100%;
    max-width: 2560px;
    margin: 0px auto;
}

header {
    width: 100%;
    background: #00b1cb;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
}

header .logo-menu img {
    width: 164px;
    height: 80px;
}

header .logo-menu span {
    display: none;
}

header nav {
    width: calc(80% - 164px);
    text-align: right;
}

header nav .sesion {
    font-size: 16px;
    display: block;
    color: white;
    text-decoration: none;
    margin: 5px 0;
    margin-right: 20px;
}

header nav .sesion:hover {
    color: #ededed;
}

header nav .sesion .icon-user {
    margin-left: 10px;
}

header nav ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
}

header nav ul li a {
    margin: 0px 20px;
    text-decoration: none;
    color: white;
    font-size: 1em;
    line-height: 30px;
}

header nav ul li a:hover {
    color: #ededed;
}

header nav ul .carritoli {
  position: relative;
}

header nav ul .carritoli .carrito {
  display: none;
  width: 300px;
  position: absolute;
  background: #dedede;
  left: -120px;
}

header nav ul .carritoli .carrito div {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  margin: 20px 0;
}

header nav ul .carritoli .carrito img {
  width: 100px;
}



footer {
    width: 100%;
    background: #8b8b8b;
    padding-top: 40px;
    padding-bottom: 53px;
    color: #dedede;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    font-size: .875em;
    line-height: 20px;
}

footer h5 {
    color: white;
    font-size: 2em;
    margin-bottom: 20px;
}

footer .acercade {
    width: 32%;
}

footer .acercade .icon-loc,
footer .acercade .telefonos .icon-tel,
footer .acercade .correo .icon-email {
    color: white;
    font-size: 1.5em;
    margin-right: 15px;
}

footer .acercade address {
    width: 60%;
    display: flex;
    text-align: justify;
    margin-left: 20px;
    margin-bottom: 20px;
}

footer .acercade .telefonos {
    margin-left: 20px;
    margin-bottom: 20px;
    display: flex;
}

footer .acercade .telefonos a {
    display: block;
    color: #dedede;
    text-decoration: none;
}

footer .acercade .correo {
    margin-left: 20px;
    margin-bottom: 20px;
}

footer .acercade .correo a {
    color: white;
    text-decoration: none;
}

footer .acercade .redes {
    margin-left: 60px;
    margin-bottom: 20px;
}

footer .acercade .redes a {
    color: #efefef;
    margin-right: 40px;
}

footer .acercade .redes .icon-face,
footer .acercade .redes .icon-tw,
footer .acercade .redes .icon-tube{
    font-size: 2.5em;
}

footer .acercade .avisode {
    display: inline-block;
    color: white;
    font-size: 1.14em;
    margin-left: 60px;
}

footer .certificaciones {
    width: 26%;
    text-align: center;
}

footer .certificaciones .catalogo a .icon-shop {
    font-size: 1.28em;
    color: white;
    margin-right: 15px;
}

footer .certificaciones .catalogo a {
    display: inline-block;
    margin-bottom: 20px;
    color: #dedede;
    text-decoration: none;
}

footer .acercade .telefonos a:hover,
footer .certificaciones .catalogo a:hover {
    color: white;
}

footer .acercade .correo a:hover,
footer .acercade .redes a:hover,
footer .acercade .avisode:hover {
    color: #dedede;
}

footer .certificaciones strong {
    display: block;
    margin-bottom: 20px;
    color: white;
}

footer .certificaciones strong span {
    display: block;
}

footer .contactanos {
    width: 32%;
}

footer .contactanos h5 {
    text-align: right;
}

footer .contactanos h5::before {
    display: block;
    content: " ";
    margin-top: -80px;
    height: 80px;
    visibility: hidden;
}

footer .contactanos>small {
    text-align: right;
    display: block;
    font-size: 1.14em;
    color: white;
    margin-top: -10px;
    margin-right: 20px;
    margin-bottom: 10px;
}

footer .contactanos .icon-help {
    margin-right: 15px;
    font-size: 1.5em;
}

footer .contactanos form {
    text-align: right;
    font-size: 1em;
    position: relative;
    margin-right: 20px;
}

footer .contactanos div {
    width: 100%;
    margin-bottom: 10px;
}

footer form input[type="text"],
footer form input[type="email"],
footer form input[type="tel"] {
    margin-left: 5px;
    width: calc(100% - 70px);
    max-width: 260px;
    background: #e1e2e3;
    border: none;
    padding: 10px 5px;
    box-sizing: border-box;
    border-radius: 2px;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    -ms-border-radius: 2px;
    -o-border-radius: 2px;
}

footer form textarea {
    width: calc(100% - 70px);
    max-width: 260px;
    padding: 5px 5px;
    box-sizing: border-box;
    min-height: 80px;
    max-height: 80px;
    background: #e1e2e3;
    margin-bottom: 10px;
    border-radius: 2px;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    -ms-border-radius: 2px;
    -o-border-radius: 2px;
}

footer form input[type="text"]:focus,
footer form input[type="email"]:focus,
footer form input[type="tel"]:focus,
footer form textarea:focus {
    box-shadow: 0 0 5px #00b1cc;
}

footer form input[type="submit"] {
    width: 30%;
    border: none;
    padding: 12px 5px;
    box-sizing: border-box;
    display: block;
    margin-left: 70%;
    color: white;
    background: #00b1cc;
    border-radius: 2px;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    -ms-border-radius: 2px;
    -o-border-radius: 2px;
}

footer .contactanos .error {
    width: 70%;
    box-sizing: border-box;
    margin-left: calc(30% - 20px);
    padding: 15px;
    margin-top: 20px;
    background: #e1e2e3;
    border-radius: 20px;
    position: relative;
    display: none;
}

footer .error ul {
   width: 100%;
}

footer .error ul li {
    list-style: none;
    color: #686868;
    margin: 5px 0;
}

footer .error .icon-error {
    margin-right: 10px;
    color: #a94442;
}

footer .contactanos .error .close {
    position: absolute;
    top: -5px;
    right: -5px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    font-size: 20px;
    text-align: center;
    background: #dedede;
    color: #a94442;
    cursor: pointer;
}

.arriba {
    position: fixed;
    bottom: 16px;
    right: calc(5% - 30px);
    width: 40px;
    height: 40px;
    box-sizing: border-box;
    border: 1px solid rgba(84, 84, 84, 0.3);
    background: rgba(255, 255, 255, .8);
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    border-radius: 40px;
    -webkit-border-radius: 40px;
    -moz-border-radius: 40px;
    -ms-border-radius: 40px;
    -o-border-radius: 40px;
    visibility: hidden;
    opacity: .7;
}

.arriba:hover {
    opacity: 1;
    cursor: pointer;
}

.arriba .arriba-icon {
    font-size: 2em;
    margin-top: -1px;
    color: #00b1cc;
}

@media screen and (max-width: 1148px) {
	header nav {
        width: calc(90% - 164px);
    }
}

@media screen and (max-width: 1024px) {
    body {
        padding-top: 130px;
    }

    header {
        flex-direction: column;
    }

    header nav {
        width: 100%;
        margin: 10px 0;
    }

    header nav .sesion {
    margin: 0;
    position: absolute;
    top: 31px;
    right: 60px;
    }

    header nav ul {
        justify-content: center;
    }

    footer .acercade,
    footer .certificaciones {
        width: 45%;
    }

    footer .certificaciones {
        text-align: right;
    }

    footer .certificaciones .catalogo {
        margin-right: 20px;
    }

    footer .certificaciones strong {
        margin-right: 20px;
    }

    footer .contactanos {
        width: 45%;
        margin: 0 auto;
        margin-top: 40px;
    }

    footer .contactanos h5 {
        text-align: center;
    }

    footer .contactanos>small {
        text-align: center;
        margin-right: 0px;
    }

    footer .contactanos form {
        width: 100%;
        max-width: 330px;
        margin: 0 auto;
    }
}

@media screen and (max-width: 800px) {
    .arriba {
        right: calc(8% - 30px);
    }

}


@media screen and (max-width: 756px) {
    body {
        padding-top: 160px;
    }
}

@media screen and (max-width: 660px) {
    footer .acercade,
    footer .certificaciones,
    footer .contactanos {
        width: 60%;
        margin: 0 auto;
        text-align: center;
    }

    footer .acercade address,
    footer .acercade .telefonos,
    footer .acercade .correo,
    footer .acercade .redes,
    footer .acercade .avisode {
        width: 80%;
        margin: 20px auto;
    }

    footer .acercade .telefonos {
        justify-content: center;
    }

    footer .acercade .redes a:last-child,
    footer .acercade .avisode,
    footer .certificaciones .catalogo,
    footer .certificaciones strong {
        margin: 0;
    }

    footer .certificaciones,
    footer .contactanos {
        margin-top: 40px;
    }

}

@media screen and (max-width: 560px) {
    header nav .sesion {
	right: 20px;
    }

    footer .acercade,
    footer .certificaciones,
    footer .contactanos {
        width: 90%;
    }

    footer .acercade address {
        width: 70%;
    }
}

@media screen and (max-width: 460px) {
    header nav .sesion {
	top: 65px;
	
    }
}

@media screen and (max-width: 440px) {
    .arriba {
        right: calc(50% - 20px);
    }

}

@media screen and (max-width: 414px) {
    body {
        padding-top: 190px;
    }

    footer .contactanos h5 ::before {
        margin-top: -190px;
        height: 190px;

    }
}

@media screen and (max-width: 319px) {
    .contenedor {
        display: none;
    }

    body::before {
        content: "Pantalla demasiado chica";
    }
}

@media screen and (min-device-width: 320px) and (max-device-width: 1024px) {
    body {
        padding-top: 60px;
    }

    header .logo-menu {
        width: 100%;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        position: relative;
    }

    header .logo-menu img {
        width: 120px;
        height: 60px;
    }

    header .logo-menu span {
        display: block;
        position: absolute;
        font-size: 2em;
        color: white;
        right: 10px;
    }

    header nav {
        width: 100%;
        border-top: 1px solid rgba(255, 255, 255, .3);
        display: none;  
    }

    header nav .sesion {
	font-size: 16px;
	box-sizing: border-box;
	position: static;
    padding: 10px 0px;
    padding-right: 20px;
	border-bottom: 1px solid rgba(255, 255, 255, .3);
    }

    header nav ul {
        flex-direction: column;
        text-align: right;
    }

    header nav ul li {
        margin-bottom: 10px;
        border-bottom: 1px solid rgba(255, 255, 255, .3);
    }

    header nav ul li:first-child {
        margin-top: 10px;
    }

    header nav ul li:last-child {
        margin: 0;
        border: none;
    }

    header ul li a {
        display: block;
    }

    footer .acercade address {
        width: 80%;
    }

    .arriba {
        bottom: 10px;
        right: calc(50% - 20px);
        opacity: .6;
    }
}

@media screen and (min-device-width: 768px) and (max-device-width: 1024px) {
    header nav ul li a {
        font-size: 1.125em;
    }
}
