/*
Theme Name: 1898 Miniatures
Description: 1898 Miniatures - Divi Child Theme
Author:  Kebes
Author URI:  http://www.kebes.es
Template: Divi
Version:  1.0
*/

@import url("../Divi/style.css");
/* =Theme customizations
------------------------------------------------------- */

/*global*/

h1,
.et-db #et-boc .et-l h1,
h1.et_pb_contact_main_title,
.et-db #et-boc .et-l h1.et_pb_contact_main_title,
.et_pb_title_container h1,
.et-db #et-boc .et-l .et_pb_title_container h1 {
    font-size: 47px;
}

h2,
.et-db #et-boc .et-l h2 {
    font-size: 26px;
}

#logo {
    max-height: 100%;
    border-radius: 100%;
    height: 130px;
    max-height: 130px !important;
    width: 130px;
    border: 5px solid #a22a0a;
    margin-top: -33px;
    padding: 0;
}

#top-header {
    z-index: 8;
}

#main-header {
    z-index: 9;
}

a.et_pb_button {
    font-size: 17px;
    margin: 0 5px 8px 0;
    background: #FFF;
    border: 0;
    line-height: 50px !important;
    padding: 0px 20px;
    width: auto;
    text-transform: uppercase !important;
    color: #1f1d19 !important;
    box-shadow: none;
    min-width: 130px;
    border-radius: 10px !important;
    font-weight: bold;
}

.et_pb_button:hover,
.et_pb_module .et_pb_button:hover {
    padding: 0 2em 0 .7em;
}

.et_pb_button:after,
.et_pb_button:before {
    top: 8px;
}

#top-menu li li a {
    padding: 0;
    line-height: 1.5em;
    margin-bottom: 1em
}

@media only screen and (min-width: 981px) {
    #et-top-navigation {
        padding-left: 230px !important;
    }
    .et_fullwidth_secondary_nav #top-header .container {
        padding-left: 200px !important;
    }
    #top-header {
        padding: 5px 0;
    }
    .et_header_style_centered.et_hide_primary_logo #main-header:not(.et-fixed-header) .logo_container,
    .et_header_style_centered.et_hide_fixed_logo #main-header.et-fixed-header .logo_container {
        height: 0 !important;
    }
}

@media only screen and (min-width: 981px) and (max-width: 1200px) {
    #top-menu li a {
        font-size: 12px !important;
    }
}

@media only screen and (max-width: 980px) {
    #logo {
        height: 100px;
        max-height: 100px !important;
        width: 100px;
        margin-top: -9px;
    }
    #et-top-navigation {
        padding-left: 230px !important;
    }
    #et-info {
        text-align: right;
        width: 100%;
    }
    #page-container #main-header {
        background-color: #1f1d19 !important;
    }
}

div#et-top-navigation {
    background: #1f1d19;
    margin-left: -30px;
    width: calc(100% + 60px) !important;
}

@media only screen and (min-width: 981px) {
    .et_header_style_centered #top-menu>li>a {
        padding-top: 22px;
        padding-bottom: 22px !important;
    }
}

.et_parallax_bg {
    opacity: 0.5;
    transition: opacity 0.5s ease-in-out;
    background-position: center center;
}

.gradient,
.et_pb_article_item .mascara {
    background: #a22a0a;
    background: linear-gradient(135deg, #a22a0a 0%, #000000 100%);
}

.gradient:hover .et_parallax_bg {
    opacity: 0.3
}

.gradient h2 {
    padding-bottom: 20px;
}

.gradient h3 {
    font-family: "Open Sans", Arial, sans-serif;
    font-size: 20px;
    max-width: 700px;
    margin: 0 auto;
}

.et_pb_bg_layout_dark a.small-button {
    font-size: 17px;
    margin: 0 5px 8px 0;
    background: #FFF;
    border: 0;
    line-height: 50px;
    padding: 0px 20px;
    width: auto;
    text-transform: uppercase !important;
    color: #1f1d19 !important;
    box-shadow: none;
    min-width: 130px;
}

a.smallblue:hover,
a.bigblue:hover {
    color: #a22a0a !important;
}

.et_pb_text h1 {
    margin-bottom: 30px;
    position: relative;
}

.et_pb_text h1:after {
    content: "";
    width: 20%;
    height: 5px;
    display: block;
    background: #a22a0a;
    position: absolute;
    bottom: -10px;
    left: 40%;
}

/* Arrows */

.slick-prev,
.slick-next {
    font-size: 0;
    line-height: 0;
    position: absolute;
    top: 50%;
    display: block;
    width: 50px;
    height: 50px;
    margin-top: -25px;
    padding: 0;
    cursor: pointer;
    color: #222;
    border: none;
    outline: none;
    background: #FFF;
    border: 1px solid #bfbfbf;
    border-radius: 5px;
}

.slick-prev:hover,
.slick-prev:focus,
.slick-next:hover,
.slick-next:focus {
    color: transparent;
    outline: none;
    background: transparent;
}

.slick-prev:hover:before,
.slick-prev:focus:before,
.slick-next:hover:before,
.slick-next:focus:before {
    opacity: 1;
}

.slick-prev.slick-disabled:before,
.slick-next.slick-disabled:before {
    opacity: .25;
}

.slick-prev:before,
.slick-next:before {
    font-size: 27px;
    line-height: 1;
    opacity: .75;
    color: #222;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-weight: lighter;
    font-family: serif;
}

.slick-prev {
    left: -80px;
}

.slick-prev:before {
    content: '<';
}

.slick-next {
    right: -80px;
}

.slick-next:before {
    content: '>';
}

/* Dots */

.slick-slider {
    margin-bottom: 30px;
}

.slick-dots {
    position: absolute;
    bottom: -45px;
    display: block;
    width: 100%;
    padding: 0;
    list-style: none;
    text-align: center;
}

.slick-dots li {
    position: relative;
    display: inline-block;
    width: 20px;
    height: 20px;
    margin: 0 5px;
    padding: 0;
    cursor: pointer;
}

.slick-dots li button {
    font-size: 0;
    line-height: 0;
    display: block;
    width: 20px;
    height: 20px;
    padding: 5px;
    cursor: pointer;
    color: transparent;
    border: 0;
    outline: none;
    background: transparent;
}

.slick-dots li button:hover,
.slick-dots li button:focus {
    outline: none;
}

.slick-dots li button:hover:before,
.slick-dots li button:focus:before {
    opacity: 1;
}

.slick-dots li button:before {
    font-size: 6px;
    line-height: 20px;
    position: absolute;
    top: 0;
    left: 0;
    width: 10px;
    height: 10px;
    content: '';
    border-radius: 10px;
    border: 1px solid #222;
    text-align: center;
    opacity: .25;
    color: black;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.slick-dots li.slick-active button:before {
    opacity: .75;
    color: black;
}

/*articulos*/

.et_pb_article_item {
    position: relative;
    margin: 0 10px;
    background-size: cover;
    background-position: center;
    height: 280px
}

.et_pb_article_item .mascara {
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    z-index: 1;
    opacity: 0.5;
    transition: all 0.5s ease-in-out;
}

.et_pb_article_item>a {
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    z-index: 10;
}

.et_pb_article_item:hover .mascara {
    opacity: 0.7;
}

.et_pb_article_item h2,
.et_pb_article_item h3 {
    position: relative;
    z-index: 3;
    padding: 18px;
    font-size: 26px;
    font-weight: bold;
    color: #FFF;
}

.et_pb_article_item h2>span,
.et_pb_article_item h3>span {
    display: block;
    font-size: 16px;
}

.et_pb_article_item .post-author {
    position: absolute;
    right: 15px;
    bottom: 15px;
    z-index: 3;
}

.et_pb_article_item .post-author img {
    border-radius: 100px;
    border: 3px solid #FFF;
    width: 100px;
    transition: all 0.5s ease-in-out;
}

.nombre-cargo {
    position: absolute;
    color: #FFF;
    width: 300px;
    text-align: right;
    font-size: 16px;
    right: 123px;
    bottom: 30px;
    transition: all 0.5s ease-in-out;
}

@media only screen and (min-width: 980px) {
    .et_pb_article_item:hover .post-author img {
        width: 130px;
    }
    .et_pb_article_item:hover .nombre-cargo {
        right: 150px;
        bottom: 40px;
    }
}

.nombre-author {
    text-transform: uppercase;
    font-size: 20px;
    font-weight: bold;
}

/* articulo ficha */

.et_pb_title_container h1 {
    font-size: 40px !important;
}

#article-header h1 {
    text-transform: uppercase;
}

#article-header h2 {
    font-size: 24px !important;
    font-family: "Open Sans", Arial, sans-serif !important;
    font-weight: bold !important;
    padding-bottom: 0 !important;
    padding-bottom: 5px !important;
    text-transform: uppercase;
}

#article-header h3 {
    font-family: "Open Sans", Arial, sans-serif !important;
    font-weight: lighter !important;
    font-size: 20px !important;
    margin-bottom: 15px !important;
    text-transform: uppercase;
}

#article-foto-autor .et_pb_image img {
    position: absolute!important;
    width: 200px !important;
    left: 50%;
    margin-left: -105px;
    border: 5px solid #FFF;
    bottom: -50px;
    border-radius: 150px;
}

.et_pb_team_member .et_pb_team_member_image {
    border-radius: 500px;
    border: 6px solid #e4e4e4;
    overflow: hidden;
    position: relative;
    margin-bottom: 30px;
}

.et_pb_team_member img {}

.et_pb_team_member .et_pb_team_member_image:before {
    background: #a22a0a;
    background: linear-gradient(135deg, #a22a0a 0%, #000000 100%);
    content: "";
    opacity: 0.5;
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
}

.et_pb_member_position {
    padding-bottom: 7px;
    color: #333;
    font-weight: bold;
    margin: 10px 0;
}

/*ilustraciones*/

.ilustraciones .et_pb_text {
    display: none;
    position: fixed;
    z-index: 1000000;
    background: #FFF;
    width: 400px;
    height: 50%;
    overflow-y: auto;
    border: 20px solid #FFF;
    top: 25%;
    left: 50%;
    margin-left: -200px;
    padding-top: 25px;
}

.ilustraciones .et_pb_text h4 {
    text-align: center;
}

.ilustraciones .et_pb_text.activo {
    display: block;
}

.ilustraciones .et_pb_image {
    transition: all 1s ease;
    cursor: pointer;
}

.ilustraciones .et_pb_image:hover {
    transform: scale(1.1);
    filter: drop-shadow(0 0 10px rgba(0, 0, 0, 0.5));
}

.ilustraciones .et_pb_column.activo {
    z-index: 9999;
}

#overlay {
    position: fixed;
    z-index: 999998;
    background: rgba(0, 0, 0, 0.5);
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

#close-overlay {
    position: fixed;
    z-index: 1000001;
    background: #a22a0a;
    width: 50px;
    height: 50px;
    top: 22%;
    left: 50%;
    margin-left: -25px;
    text-align: center;
    line-height: 47px;
    font-size: 22px;
    color: #fff;
    border-radius: 30px;
    cursor: pointer;
}

#newsletter {
    background-size: contain;
    background: #f1f1f1;
    background-image: url(/wp-content/uploads/2018/06/newsletter-1.jpg);
    background-repeat: no-repeat;
    background-position: top center;
    padding-top: 25px;
}

@media only screen and (max-width: 980px) {
    #newsletter {
        background-size: 640px;
    }
}

#aceptoNewsletter {
    margin-top: 30px;
}

div#breadcrumbs {
    background: #e6e6e6;
    margin-left: -30px;
    margin-right: -30px;
}

#breadcrumbs>div {
    max-width: 1080px !important;
    font-family: "Open Sans", Arial, sans-serif;
    line-height: 40px;
    text-align: left !important;
    padding: 0 !important;
}

#breadcrumbs a {
    color: #666666;
    text-decoration: underline;
}

.home div#breadcrumbs {
    display: none;
}

#et-info-phone {
    display: none;
}

/*newsletter*/

#newsletter-form>div {
    max-width: 600px;
    margin: 0 auto;
}

#newsletter-form .entradilla {
    font-size: 12px;
    line-height: 1.25em;
    border: 1px solid;
    padding: 15px;
    margin-top: 20px;
    text-align: left;
}

div#mc_embed_signup {
    position: relative;
    top: 45px;
}

input#mce-EMAIL {
    width: 60%;
    border: 2px solid #929292;
    padding: 0 10px;
    line-height: 40px;
}

form#mc-embedded-subscribe-form {
    margin-bottom: 30px;
}

#mc-embedded-subscribe {
    background: #a22a0a;
    line-height: 44px;
    border: 0;
    font-family: 'Merriweather', Georgia, "Times New Roman", serif;
    color: #FFF;
    text-transform: uppercase;
    font-weight: bold;
    padding: 0 30px;
    cursor: pointer;
}

#mc-embedded-subscribe:disabled {
    opacity: 0.5;
}

@media only screen and (max-width: 980px) {
    #main-content .et_pb_novedades_tienda_0 .et_pb_portfolio_item h2 {
        font-size: 1em !important;
        line-height: 1.25em !important;
    }
    #main-content .et_pb_articles_0 .et_pb_portfolio_item h2 {
        font-size: 1em !important;
        line-height: 1.25em !important;
    }
    #main-content .et_pb_articles_0 .et_pb_article_item h2 {
        font-size: 1.5em !important;
        line-height: 1.25em !important;
        text-align: center;
    }
    #main-content .et_pb_articles_0 .et_pb_article_item h2 span {
        font-size: 14px;
        font-weight: normal;
    }
    .nombre-author {
        font-size: 14px;
        margin-top: 20px;
        text-transform: uppercase;
    }
    .et_pb_article_item .post-author img {
        margin: 10px auto 20px;
    }
    .et_pb_article_item .post-author {
        position: relative;
        right: auto;
        bottom: auto;
        z-index: 3;
        text-align: center;
        padding: 0 15px;
    }
    .et_pb_article_item {
        height: auto !important;
    }
    .nombre-cargo {
        position: relative;
        width: auto;
        text-align: center;
        font-size: 16px;
        right: auto;
        bottom: auto;
    }
    .slick-next {
        right: -25px;
    }
    .slick-prev {
        left: -25px;
    }
    .slick-prev,
    .slick-next {
        width: 30px;
    }
    .gradient h3 {
        font-size: 15px;
        line-height: 1.25em;
    }
    .et_pb_title_container h1 {
        font-size: 30px !important;
        line-height: 1.25em !important;
    }
    #article-header h2 {
        font-size: 20px;
    }
    .ilustraciones .et_pb_text {
        width: 90%;
        height: 90%;
        top: 5%;
        left: 5%;
        margin-left: 0;
    }
    #close-overlay {
        top: 2px;
    }
    div#mc_embed_signup {
        position: relative;
        top: 56px;
    }
    input#mce-EMAIL {
        width: 100%;
    }
    #mc-embedded-subscribe {
        margin-top: 4px;
        width: 100%;
    }
    .slick-slider {
        padding: 0 30px;
    }
    .et_pb_bg_layout_dark a.small-button {
        font-size: 14px;
        line-height: 40px;
        padding: 0px 10px;
        min-width: 100px;
    }
    #breadcrumbs {
        display: none;
    }
    #main-header,
    #main-header .nav li ul,
    .et-search-form,
    #main-header .et_mobile_menu {
        background-color: #FFF !important;
    }
    .et_mobile_menu li a {
        color: #1e1c18 !important;
        font-weight: normal !important;
    }
    .et_header_style_centered .et_mobile_menu {
        top: 33px;
    }
    #newsletter-form .entradilla {
        font-size: 11px;
        line-height: 1.15em;
    }
}

.wpml-ls-current-language {
    opacity: 0.7
}

.et_pb_image_leyenda {
    border: 1px solid rgb(221, 221, 221);
    background: #f3f3f3;
    text-align: center;
}

.et_pb_image_leyenda img {
    padding: 10px 10px 0 10px;
    background: #f3f3f3;
}

.imagen-leyenda {
    line-height: 1;
    padding: 10px;
    background: #f3f3f3;
    font-size: 12px;
}

.comment-form-policy-top-copy {
    padding: 15px;
    border: 1px solid #DDD;
    overflow: hidden;
    display: block;
    margin: 20px 0;
    font-size: 12px;
    line-height: 1.1em;
}

/*blog*/

#post-autor {
    margin: 20px 0;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-content: stretch;
    align-items: center;
}

#post-autor>img {
    max-width: 70px;
    border-radius: 50%;
    margin-right: 20px;
}

#post-autor h2 {
    font-size: 24px !important;
    font-family: "Open Sans", Arial, sans-serif !important;
    font-weight: bold !important;
    padding-bottom: 0 !important;
    padding-bottom: 5px !important;
    text-transform: uppercase;
}

#post-autor h3 {
    font-family: "Open Sans", Arial, sans-serif !important;
    font-weight: lighter !important;
    font-size: 20px !important;
    text-transform: uppercase;
}

#home-categorias .et_pb_button_module_wrapper {
    padding: 230px 50px 50px;
    text-align: center;
}

.et_pb_bg_layout_light a.small-button {
    font-size: 17px;
    margin: 0 5px 8px 0;
    background: #ffffff;
    border: 0;
    line-height: 50px;
    padding: 0px 20px;
    width: auto;
    text-transform: uppercase!important;
    color: #a22a0a!important;
    box-shadow: none;
    min-width: 130px;
    border: 2px solid;
}