/*** Estilos EDP - Index **/
/** 2. Layout: l-; 2.1. Home */
/** 3. Componente: c-; 3.1. Slider */
/** 4. Paginas: p- */

/* ++++++++++++++++++++++++++++++++++++++++++++++++++++++ */

/** 2. Layout */

.l-page__general {
    padding: 5rem 0 2rem;
}

.l-page__content--categories > .l-page__container {
    max-width: 145rem;
}

h3 {
    font-size: 2.6rem;
    margin-bottom: 2.5rem;
}

/* ++++++++++++++++++++++++++++++++++++++++++++++++++++++ */

/** 3. Componentes */

/* 3.1 Finder */

.c-finder {
    background: #f6f8f7 none no-repeat scroll top right;
    min-height: 16.4rem;
    overflow: visible;
    padding: 4rem 0;
    position: relative;
    text-align: center;
    width: 100%;
    z-index: 2;
}

.c-finder h2 {
    margin-bottom: 2rem;
}

.c-finder__search {
    background-color: #fff;
    -webkit-border-radius: 2rem;
    border-radius: 2rem;
    -webkit-box-shadow: 1px 2px 5px #ccc;
    box-shadow: 1px 2px 5px #ccc;
    margin: 0 auto;
    max-width: 65rem;
    min-height: 8rem;
    padding: 1rem 2rem;
    position: relative;
    width: 100%;
}

.c-finder__search button[type="submit"] {
    background: var(--color-primary) url('../images/icons/icon-search.svg') no-repeat scroll center center;
    background-size: 3.5rem;
    -webkit-border-radius: 50%;
    border-radius: 50%;
    height: 6rem;
    margin-top: 1.5rem;
    min-width: auto;
    padding: 0;
    position: relative;
    right: auto;
    text-align: center;
    top: auto;
    width: 6rem;
}

.c-finder__search button[type="submit"]:hover {
    background-color: var(--color-secondary);
}

.c-finder__search input[type="text"] {
    border: 0 none;
    font-size: 1.4rem;
    font-weight: 300;
    padding: 1.1rem 2rem 1.1rem 0;
}

.c-finder__search > ul {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-flow: column;
    flex-flow: column;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
    margin: 0;
    padding: 0;
}

.c-finder__search > ul > li {
    border-bottom: 0.1rem solid var(--color-bkg-secondary);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-flow: column;
    flex-flow: column;
    padding: 0.6rem 0 0.5rem;
    position: relative;
    text-align: left;
}

.c-finder__search > ul > li > span {
    font-size: 1.1rem;
    font-weight: 700;
}

@media (min-width: 768px) {
    .c-finder {
        background: #f6f8f7 url('../images/bkg_search_girl.jpg') no-repeat scroll top right;
        -webkit-background-size: contain;
        background-size: contain;
        min-height: 20.4rem;
        padding: 8rem 0;
    }

    .c-finder__search {
        -webkit-border-radius: 5rem;
        -moz-border-radius: 5rem;
        border-radius: 5rem;
        padding-left: 3rem;
        padding-right: 8rem;
    }

    .c-finder__search button[type="submit"] {
        margin: 0;
        position: absolute;
        right: 1rem;
        top: 1rem;
    }

    .c-finder__search > ul {
        -webkit-box-orient: horizontal;
        -webkit-box-direction: normal;
        -ms-flex-flow: row wrap;
        flex-flow: row wrap;
        -webkit-box-pack: justify;
        -ms-flex-pack: justify;
        justify-content: space-between;
    }

    .c-finder__search > ul > li {
        border-bottom: 0 none;
        border-right: 0.1rem solid var(--color-bkg-secondary);
        padding-right: 1rem;
        width: 48%;
    }
}

/* 2. Categorias */

.c-carousel {
    overflow: hidden;
    padding: 0 0 2rem;
    width: 100%;
}

.c-carousel__wrapper {
    overflow: hidden;
    width: 100%;
}

.c-carousel__categories {
    overflow-x: auto;
    padding: 0 0 4rem;
    width: 100%;
    white-space: nowrap;
}

.c-carousel__categories li {
    display: inline-block;
    margin-right: 2rem;
    max-width: 27rem;
    padding: 0;
    position: relative;
    vertical-align: top;
    width: 100%;
}

.c-carousel__categories li:nth-child(2n+2) {
    padding-top: 4rem;
}

.c-carousel__categories li:last-child {
    margin-right: 0;
}

.c-carousel__categories li > a {
    -webkit-border-radius: 1rem;
    border-radius: 1rem;
    -webkit-box-shadow: 0 0 0.6rem #ccc;
    box-shadow: 0 0 0.6rem #ccc;
    display: block;
    overflow: hidden;
    position: relative;
}

.c-carousel__categories li > a::before {
    background: -moz-linear-gradient(top, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.65) 100%);
    background: -webkit-linear-gradient(top, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.65) 100%);
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.65) 100%);
    filter: progid:dximagetransform.microsoft.gradient(startColorstr='#00000000', endColorstr='#a6000000', GradientType=0);
    content: '';
    height: 100%;
    position: absolute;
    width: 100%;
    z-index: 1;
}

.c-carousel__categories li > a:hover::before {
    background: rgba(0, 0, 0, 0.6);
}

.c-carousel__categories li img {
    display: block;
    width: 100%;
}

.c-carousel__categories li h3 {
    bottom: 0;
    color: #fff;
    font-size: 2.1rem;
    font-weight: 600;
    left: 0;
    padding: 1.5rem 2.5rem 0;
    position: absolute;
    white-space: normal;
    z-index: 2;
}

.c-carousel__categories li h4 {
    bottom: 80px;
    color: #fff;
    font-size: 1.6rem;
    font-weight: 500;
    left: 0;
    padding: 1.5rem 2.5rem 0;
    position: absolute;
    white-space: normal;
    z-index: 2;
}

.c-carousel__categories li h3 strong {
    display: block;
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1.1;
    margin-top: 0.8rem;
}

@media (min-width: 768px) {

    .c-carousel__categories li h3 strong {
        font-size: 2.6rem;
    }
}

.c-carousel__categories::-webkit-scrollbar {
    border-radius: 0.5rem;
    display: initial;
    height: 5px;
    background-color: #9477be;
    width: 0.5rem;
}

.c-carousel__categories:hover::-webkit-scrollbar {
    display: initial;
}

.c-carousel__categories::-webkit-scrollbar-thumb {
    background-color: var(--color-primary);
    -webkit-border-radius: 0.5rem;
    border-radius: 0.5rem;
}


.c-list {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-flow: row wrap;
            flex-flow: row wrap;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    margin: 0 auto 3rem;
    max-width: 91rem;
}

.c-list li {
    margin: 2rem 0 0;
    max-width: 44.3rem;
    position: relative;
    width: 49%;
}

.c-list li a {
    border-radius: 2rem;
    overflow: hidden;
    text-decoration: none;
}

.c-list li a,
.c-list li img {
    display: block;
    width: 100%;
}

.c-list li a:hover::before {
    background-color: rgba(0,0,0,0.7);
    border-radius: 2rem;
    bottom: 0;
    content: '';
    height: 100%;
    left: 0;
    position: absolute;
    width: 100%;
}

.c-list li span {
    bottom: 0;
    color: #fff;
    font-size: 2.6rem;
    left: 0;
    padding: 2rem;
    position: absolute;
    text-decoration: none;
    z-index: 2;
}

/* Provincia */

.c-province {
    border: 0.1rem solid #ccc;
    -webkit-border-radius: 2rem;
    border-radius: 2rem;
    margin: 0 auto 2rem;
    max-width: 91rem;
    padding: 1.5rem;
    overflow: hidden;
    text-align: center;
    width: 100%;
}

.c-province p {
    font-size: 1.8rem;
    font-weight: bold;
    margin: 0 0 1rem;
}

.c-province select {
    background-color: #fff;
    border: 0.1rem solid #eee;
    -webkit-border-radius: 1rem;
    border-radius: 1rem;
    font-size: 1.4rem;
    height: 4.5rem;
    line-height: 2.4rem;
    text-transform: uppercase;
}

/* Modal */

.c-modal {
    background-color: rgba(0,0,0,0.8);
    display: none;
    flex-flow: column;
    align-items: center;
    justify-content: center;

    bottom: 0;
    height: 100%;
    left: 0;
    position: fixed;
    width: 100%;
    z-index: 25;
}

.c-modal__content {
    background-color: #fff;
    -webkit-border-radius: 2.5rem;
    border-radius: 2.5rem;
    margin: 0 auto;
    max-width: 50rem;
    padding: 3rem;
    text-align: center;
    transition: all 0.3s ease-in-out 0s;
    width: 94%;
}

.c-modal h2 {
    color: #f80000;
}

.c-modal p {
    font-weight: bold;
    margin-bottom: 3rem;
}

.c-modal button {
    border: 0 none;
    display: block;
    margin: 0 auto;
    width: 18rem;
}

/* ++++++++++++++++++++++++++++++++++++++++++++++++++++++ */

/** 4. Index */

.display-none {
    display: none;
}