@import '../variables';
@import '~tippy.js/dist/tippy.css';

.tippy-content {
    padding: 0px;
    border-radius: 0px;
    background-color: $blanco;

    .card.card-tippy {
        border: none;
        border-radius: 0px;
        background-color: $blanco;
        color: $negro;
        min-width: 150px;

        .card-header {
            border: none;
            border-radius: 0px;
            background-color: $color1;

            h5 {
                color: $color2;
                font-size: 14px;
                font-weight: 600;
            }
        }

        .card-body {
            padding: 10px;
            background-color: $color2;

            p {
                color: $color1;
                font-size: 12px;
                font-weight: 700;
            }
        }
    }
}

.home {
    &-slide-principal {
        @import '../components/pagination_swiper';

        position: relative;

        .bg {
            height: calc(100vh - 112px);
            overflow: hidden;
            position: relative;
            min-height: 400px;

            &::before {
                content: "";
                width: 100%;
                height: 100%;
                background-color: rgba(0, 0, 0, 0.17);
                position: absolute;
                top: 0px;
                left: 0px;
            }

            @media screen and (min-width: 768px) {
                min-height: 550px;
            }
        }

        .informacion {
            padding: 0px 15px;
            position: absolute;
            top: 50%;
            left: 50%;
            z-index: 2;
            width: 100%;
            transform: translate(-50%, -50%);

            h1 {
                font-family: $font-family-futura;
                font-size: 30px;
                font-weight: bold;
                letter-spacing: 0.61px;
                color: $blanco;
                max-width: 335px;

                @media screen and (min-width: 768px) {
                    font-size: 50px;
                    max-width: 560px;
                }
            }
        }
    }

    &-nosotros {
        background-color: $blanco;

        .container-fluid {
            padding-top: 70px;
            padding-bottom: 70px;
            z-index: 2;

            @media screen and (min-width: 992px) {
                padding-top: 95px;
                padding-bottom: 95px;
            }
        }

        .patron {
            width: 71px;
            height: 100%;
            position: absolute;
            top: 0px;
            left: 0px;
            background-position: top center;
            background-size: auto;
            background-repeat: repeat;

            @media screen and (max-width: 991px) {
                z-index: -1;
                opacity: 0.05;
            }
        }

        .bg {
            box-shadow: 0 2px 50px 0 rgba(0, 0, 0, 0.5);
        }
    }

    &-merida {
        padding: 60px 0px;
        background-image: url(/img/bg-merida.jpg);
        background-position: center;
        background-repeat: repeat-x;
        background-size: cover;
        position: relative;
        z-index: 2;

        &::before {
            content: "";
            width: 100%;
            height: 100%;
            background-color: rgba(239, 224, 210, 0.85);
            z-index: -1;
            position: absolute;
            top: 0px;
            left: 0px;
        }

        .swiper-slide-merida {
            box-shadow: 0 2px 50px 0 rgba(0, 0, 0, 0.2);
        }

        .nav-item {
            border: none;
            border-radius: 40px;
            background-color: $color1;
            color: $blanco;
            font-family: $font-family-futura;
            font-size: 12px;
            font-weight: bold;
            letter-spacing: 0.24px;
            padding: 5px 0px;
            min-width: 66px;
            text-align: center;

            @media screen and (min-width: 400px) {
                font-size: 15px;
                min-width: 84px;
            }

            @media screen and (min-width: 992px) {
                font-size: 18px;
                padding: 5px 15px;
                min-width: 100px;
            }

            @media screen and (min-width: 1200px) {
                font-size: 20px;
                min-width: 140px;
            }
        }

        .tab-pane {
            @media screen and (min-width: 1200px) {
                padding-left: 90px;
            }
        }

        .titulo {
            max-width: 370px;
        }

        h4 {
            font-size: 20px;
            font-weight: 500;
            letter-spacing: 0.3px;
            color: $color1;

            @media screen and (min-width: 992px) {
                font-size: 25px;
            }
        }

        p {
            font-size: 16px;
            letter-spacing: 0.25px;
            font-weight: 400;

            @media screen and (min-width: 1200px) {
                font-size: 21px;
            }

            b {
                font-weight: 600;
            }
        }

        @media screen and (min-width: 992px) {
            padding: 110px 0px;
        }
    }

    &-semillas {
        @import '../components/pagination_swiper';

        .swiper-container-horizontal>.swiper-pagination-bullets,
        .swiper-pagination-custom,
        .swiper-pagination-fraction {
            bottom: 0;
        }

        &::before,
        &::after {
            content: "";
            width: 100%;
            height: 122px;
            background-image: url(/img/patron-semillas.png);
            background-position: center;
            background-repeat: repeat-x;
            background-size: auto;
            display: block;
        }

        .card {
            background-color: #e9ebeb;
            min-height: 290px;
            max-width: 290px;
            border: none;
            border-radius: 0px;
            position: relative;
        }

        .pantalla {
            position: absolute;
            top: 0px;
            left: 0px;
            width: 100%;
            height: 100%;
            background-color: $color1;
            color: $color2;
            padding: 20px;
            display: flex;
            align-items: center;
            justify-content: center;
            text-align: center;
            opacity: 0;
            cursor: pointer;

            &.active {
                opacity: 1;
                transition: all 350ms;
            }
        }

        .img-cont {
            height: 58px;
            display: flex;
            align-items: center;
            justify-content: center;
            width: 100%;
        }

        .container-fluid {
            padding-top: 40px;
            padding-bottom: 60px;

            @media screen and (min-width: 992px) {
                padding-top: 60px;
                padding-bottom: 110px;
            }
        }
    }

    &-galeria {
        padding: 60px 0px;
        background-color: $color1;
        position: relative;

        &::before {
            content: "";
            width: 100%;
            height: 122px;
            background-image: url(/img/patron-galeria.png);
            background-position: center;
            background-repeat: repeat-x;
            background-size: auto;
            position: absolute;
            top: 50%;
            left: 0%;
            transform: translate(0%, -50%);
        }

        .swiper-container {
            padding-bottom: 60px;
            overflow: visible;
        }

        .swiper-wrapper {
            box-shadow: 0 2px 50px 0 rgba(0, 0, 0, 0.5);
        }

        .swiper-button-next,
        .swiper-button-prev {
            top: initial;
            bottom: 0px;

            &::after {
                content: none;
            }
        }

        .swiper-button-prev,
        .swiper-container-rtl .swiper-button-next {
            right: auto;
            left: 40%;

            @media screen and (min-width: 768px) {
                left: 45%;
            }
        }

        .swiper-button-next,
        .swiper-container-rtl .swiper-button-prev {
            left: auto;
            right: 40%;

            @media screen and (min-width: 768px) {
                right: 45%;
            }
        }

        @media screen and (min-width: 992px) {
            padding: 110px 0px;
        }
    }

    &-ubicacion {
        background-color: $color2;
        padding: 20px 0px;

        .container-fluid {
            z-index: 2;

            &::before,
            &::after {
                content: "";
                width: 542px;
                height: 220px;
                position: absolute;
                background-position: center;
                background-repeat: no-repeat;
                background-size: contain;
                right: -125px;
                z-index: -1;

                @media screen and (max-width: 991px) {
                    opacity: 0.05;
                }
            }

            &::before {
                top: -20px;
                background-image: url(/img/patron-ubicacion-1.png);
            }

            &::after {
                bottom: -21px;
                background-image: url(/img/patron-ubicacion-2.png);
            }
        }

        .img-ubicacion {
            box-shadow: 0 2px 50px 0 rgba(0, 0, 0, 0.5);
        }
    }

    &-informacion {
        padding: 40px 0px;
        background-color: $color1;

        @media screen and (min-width: 992px) {
            padding: 60px 0px;
            padding-top: 85px;
        }
    }

    &-cotizador {
        padding: 40px 0px;
        background-color: $blanco;

        #master-proyecto {
            max-width: 100%;
            background-position: center;
            background-repeat: no-repeat;
            background-size: contain;
        }

        .rosa{
            position: absolute;
            width: 120px;
            height: 120px;
            left: 0;
            top: -40px;

            @media screen and (min-width: 650px) {
                width: 160px;
                height: 160px;
                top: -10px;
            }

            @media screen and (min-width: 768px) {
                width: 120px;
                height: 120px;
            }

            @media screen and (min-width: 992px) {
                width: 160px;
                height: 160px;
                top: -10px;
            }

            @media screen and (min-width: 1200px) {
                width: 200px;
                height: 200px;
            }
        }


        .leyenda {
            li {
                &::before {
                    content: "";
                    width: 20px;
                    height: 20px;
                    border-radius: 30px;
                    display: inline-block;
                    margin-right: 30px;
                    position: relative;
                    top: 5px;
                }

                &.disponible::before {
                    background-color: #59a12f;
                }

                &.apartado::before {
                    background-color: #ddc54f;
                }

                &.vendido::before {
                    background-color: #c72020;
                }

                &+li {
                    margin-top: 20px;

                    @media screen and (min-width: 768px) {
                        margin-top: 50px;
                    }
                }
            }
        }

        @media screen and (min-width: 992px) {
            padding: 60px 0px;
        }
    }

    &-contacto {
        background-color: $color1;
        padding: 50px 0px;
        color: $blanco;

        @import '../components/custom-checkbox';

        &::before {
            content: "";
            width: 70%;
            height: 122px;
            background-image: url(/img/patron-galeria.png);
            background-position: center right;
            background-repeat: repeat-x;
            background-size: auto;
            position: absolute;
            top: 28%;
            left: 0%;
            transform: translate(0%, -50%);
            z-index: 1;

            @media screen and (min-width: 768px) {
                width: 40%;
                top: 70%;
            }
        }

        .m100 {
            margin-bottom: 180px;
        }

        .titulo,
        p {
            color: $blanco;
        }

        .titulo {
            max-width: 404px;
        }

        p {
            &.limit {
                max-width: 430px;
            }
        }

        input.form-control {
            background-color: $color1;
            border-radius: 0px;
            border: none;
            border-bottom: 1px solid rgba($color: $blanco, $alpha: 0.46);
            box-shadow: none;
            color: $blanco;
        }

        .btn-borde-blanco {
            border-radius: 20px;
            border: solid 2px #ffffff;
            min-width: 110px;
            font-size: 15px;
            font-weight: 600;
            font-stretch: normal;
            font-style: normal;
            line-height: normal;
            letter-spacing: 0.31px;
            color: #ffffff;
            padding: 9px 15px;
        }

        @media screen and (min-width: 992px) {
            padding: 110px 0px;
        }
    }
}

#mdTest {

    @media screen and (min-width: 768px) {
        top: initial;
        left: initial;
        right: 70px;
        bottom: 0px;
        width: initial;
        height: initial;

        .modal-dialog {
            margin: 0;

            &.modal-sm {
                max-width: 325px;
            }
        }
    }


    .modal-content {
        border: none;
        border-radius: 0px;
        background-color: $color1;

        .modal-body {
            background-color: $color1;
            border: none;
            border-radius: 0px;

            @media screen and (min-width: 992px) {
                padding: 25px;
                padding-bottom: 0px;
            }
        }

        .modal-footer {
            background-color: $color1;
            border: none;
            border-radius: 0px;

            @media screen and (min-width: 992px) {
                padding-left: 25px;
                padding-right: 25px;
                padding-bottom: 15px;
            }
        }
    }

    h4 {
        font-family: $font-family-futura;
        font-size: 16px;
        color: $blanco;
        letter-spacing: 0.19px;
    }

    p {
        font-size: 12px;
        letter-spacing: 0.15px;
        color: $blanco;
    }

    label {
        font-size: 16px;
        color: $blanco;
    }

    select.form-control,
    input.form-control {
        background-color: $color1;
        color: $blanco;
        border-radius: 0px;
        border: none;
        border-bottom: 1px solid $blanco;
        padding: 0px;
        height: 30px;
        box-shadow: none;

        &::placeholder {
            color: rgba($color: $blanco, $alpha: 0.7);
        }
    }

    .btn-blanco {
        padding: 10px 55px;
    }
}
