.content {
    margin: 32px auto;

    max-width: 1416px;
    padding: 0 48px;
    width: 100%;

    .inmocms-inmueble-block {
        width: 100%;

        display: flex;

        .inmocms-inmueble-block-left {
            flex: 1;

            margin-right: 24px;

            @media only screen and (max-width: 768px) {
                margin-right: 0;

                width: 100%;
                min-width: 100%;
            }
        }

        .inmocms-inmueble-block-right {
            min-width: 25%;
            width: 25%;

            @media only screen and (max-width: 768px) {
                width: 100%;
                min-width: 100%;

                padding: 0 24px;
            }
        }

        @media only screen and (max-width: 768px) {
            display: block;
        }
    }

    @media only screen and (max-width: 768px) {
        max-width: 100%;

        padding: 0;
    }
}

.inmocms-box {
    background: #fff;

    border-radius: 8px;

    box-shadow: 0 4px 6px rgba(62, 73, 84, .05);

    display: flex;
    flex-direction: column;

    width: 100%;

    margin-bottom: 24px;

    padding: 24px;

    .inmocms-box-title {
        color: #000;
        font-size: 22px;
        font-weight: 500;

        margin-bottom: 24px;
    }
}

.inmocms-poster {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    aspect-ratio: 16 / 9;

    background-color: #d8d8d8;
    background-position: 50%;
    background-size: cover;

    border-radius: 8px;

    cursor: pointer;

    margin-bottom: 16px;

    overflow: hidden;

    position: relative;

    .inmocms-poster-info-hook {
        display: flex;

        bottom: 30px;
        left: 35px;

        position: absolute;

        @media only screen and (max-width: 768px) {
            bottom: 24px;
            left: 24px;
        }
    }

    .inmocms-poster-info-extra-hook {
        bottom: 30px;
        right: 35px;

        position: absolute;

        @media only screen and (max-width: 768px) {
            bottom: 24px;
            right: 24px;
        }
    }

    .inmocms-poster-btn {
        background: #fff;

        border-radius: 6px;

        box-shadow: 0 4px 6px rgba(62, 73, 84, .15);

        cursor: pointer;

        color: #000;
        font-size: 15px;
        font-weight: 500;

        height: 40px;

        display: flex;
        align-items: center;
        justify-content: center;

        padding: 0 16px;

        svg {
            font-size: 20px;
        }
    }

    @media only screen and (max-width: 768px) {
        border-radius: 0;
    }
}

.inmocms-sticky {
    position: sticky;
    top: 100px;
}

.inmocms-titulo {
    color: #000;
    font-size: 18px;
    font-weight: 500;

    margin: 24px 0 8px;
}

.inmueble-contenido {

    @media only screen and (max-width: 768px) {
        padding: 0 24px;
    }
}

.inmocms-inmueble-video {
    border-radius: 8px;

    width: 100%;

    overflow: hidden;
}

.inmocms-inmueble-tour {
    border-radius: 8px;

    width: 100%;

    overflow: hidden;
}

.inmocms-inmueble-mapa {
    background: #d8d8d8;

    border-radius: 8px;

    width: 100%;
    height: 320px;

    overflow: hidden;
}

.flex {
    display: flex;

    &.v-center {
        align-items: center
    }

    &.v-end {
        align-items: flex-end
    }

    &.h-center {
        justify-content: center
    }

    &.h-end {
        justify-content: flex-end;
    }
}

.cal-label {
    align-items: center;
    background: #ccc;
    border-radius: 4px 0 0 4px;
    color: #fff;
    display: flex;
    font-size: 16px;
    font-weight: 500;
    height: 28px;
    padding: 0 4px;
    position: relative
}

.cal-label:before {
    border-bottom: 14px solid transparent;
    border-left: 14px solid #ccc;
    border-top: 14px solid transparent;
    content: "";
    position: absolute;
    right: -14px;
    top: 0;
    white-space: nowrap;
}

.cal-label>div {
    align-items: flex-end;
    display: flex;
    font-size: 10px;
    font-weight: 400;
    height: 100%;
    letter-spacing: -.5px;
    margin-left: 4px;
    padding-bottom: 6px;
    white-space: nowrap;
}

.cal-label.a {
    background: #377d37
}

.cal-label.a:before {
    border-left-color: #377d37
}

.cal-label.b {
    background: #51b233
}

.cal-label.b:before {
    border-left-color: #51b233
}

.cal-label.c {
    background: #abd442
}

.cal-label.c:before {
    border-left-color: #abd442
}

.cal-label.d {
    background: #f2e54c
}

.cal-label.d:before {
    border-left-color: #f2e54c
}

.cal-label.e {
    background: #f4ba40
}

.cal-label.e:before {
    border-left-color: #f4ba40
}

.cal-label.f {
    background: #ec792f
}

.cal-label.f:before {
    border-left-color: #ec792f
}

.cal-label.g {
    background: #ea4730
}

.cal-label.g:before {
    border-left-color: #ea4730
}

.cal-value {
    align-items: center;
    background: #000;
    border-radius: 0 4px 4px 0;
    color: #fff;
    display: flex;
    font-size: 14px;
    font-weight: 500;
    height: 24px;
    padding: 0 8px;
    position: relative
}

.cal-value:before {
    border-bottom: 12px solid transparent;
    border-right: 12px solid #000;
    border-top: 12px solid transparent;
    content: "";
    left: -12px;
    position: absolute;
    top: 0
}

.cert-title {
    text-wrap: balance;

    @media only screen and (max-width: 768px) {
        font-size: 9px;
    }
}

.inmueble-datos {
    display: flex;

    margin-bottom: 30px;

    .inmueble-datos-title {
        border-right: 1px solid #000;
        margin-right: 24px;
        padding-right: 12px;
        width: 41%;

        .inmueble-title {
            color: #000;
            font-size: 20px;
            font-weight: 900;
            margin-bottom: 6px;

            @media only screen and (max-width: 768px) {
                font-size: 18px;

                margin-bottom: 0;
            }
        }

        .inmueble-location {
            color: #909090;
            font-size: 12px;
            letter-spacing: .2px;
            text-transform: capitalize;
        }

        @media only screen and (max-width: 768px) {
            width: 100%;
            margin: 0 0 14px;
            padding-right: 0;

            border-width: 0;
        }
    }

    .inmueble-datos-extra {
        display: flex;
        align-items: center;
        flex: 1;

        .inmueble-datos-price {
            flex: 1;

            .inmocms-opcion {
                color: #000;
                font-size: 12px;
                font-weight: 500;
                margin-bottom: 6px;
            }

            .inmocms-price-hook {
                display: flex;
                align-items: center;

                .inmocms-price {
                    display: flex;
                    align-items: flex-end;

                    color: var(--base);
                    font-size: 22px;
                    font-weight: 500;
                    margin-bottom: 8px;

                    .inmocms-price-modo {
                        font-size: 14px;
                        margin: 0px 0px 2px 4px;
                    }
                }

                .inmocms-price-change {
                    font-size: 10px;
                    font-weight: 500;
                    line-height: 14px;

                    margin-left: 12px;

                    &.up {
                        color: #f55754;
                    }

                    &.down {
                        color: #0b3
                    }
                }
            }

            @media only screen and (max-width: 768px) {
                width: 100%;
            }
        }

        .inmueble-datos-options {
            display: flex;
            align-items: center;
            justify-content: flex-end;

            flex-grow: 1;

            .inmueble-datos-options-item {
                cursor: pointer;

                margin-right: 24px;

                svg {
                    color: #909090;

                    width: 24px;
                    height: 24px;

                    &.active {
                        fill: #909090;
                    }
                }

                &.hide {
                    display: none;
                }

                @media only screen and (max-width: 768px) {
                    margin-left: 24px;
                    margin-right: 0;
                }
            }

            @media only screen and (max-width: 768px) {
                width: 100%;
            }
        }
    }

    @media only screen and (max-width: 768px) {
        display: block;
    }
}

.inmocms-button {
    align-items: center;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    font-size: 14px;
    font-weight: 500;
    height: 42px;
    justify-content: center;
    letter-spacing: .4px;
    padding: 0 40px;
    text-decoration: none;
    white-space: nowrap;
    width: auto;

    &.small {
        border-radius: 4px;
        font-size: 13px;
        height: 32px;
        padding: 0 22px;
    }
}

.inmocms-list-items {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -12px;

    .inmocms-list-item {
        align-items: center;
        display: flex;

        color: #464255;
        font-size: 16px;

        margin-bottom: 8px;

        width: calc((100% / 5) - 24px);
        min-width: calc((100% / 5) - 24px);

        margin: 0 12px 8px;

        svg {
            color: #0b3;

            min-width: 28px;
            width: 28px;
            height: 28px;

            margin-right: 4px;
        }

        @media only screen and (max-width: 768px) {
            width: 100%;
            min-width: 100%;

            margin: 0 0 8px;
        }
    }

    @media only screen and (max-width: 768px) {
        margin: 0;
        display: block;
    }
}

input, textarea {

    &:focus {
        outline: none;
        box-shadow: none;
    }
}

select,
textarea,
.inmocms-inputs,
.inmocms-inputs[type=date],
.inmocms-inputs[type=email],
.inmocms-inputs[type=number],
.inmocms-inputs[type=password],
.inmocms-inputs[type=search],
.inmocms-inputs[type=tel],
.inmocms-inputs[type=text],
.inmocms-inputs[type=url] {
    width: 100%;
    min-height: 38px;

    border: solid 1px #DFDFDF;

    border-radius: 4px;

    padding: 6px 10px;

    resize: vertical;

    &:focus {
        border-color: var(--base);
    }

    +.inmocms-inputs {
        margin-top: 8px;
    }
}

.inmocms-buttons {
    width: 100%;
    height: 42px;

    background: var(--base);

    display: flex;
    align-items: center;
    justify-content: center;

    color: #FFF;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: .4px;
    text-decoration: none;
    white-space: nowrap;

    border-radius: 6px;

    border-width: 0;

    cursor: pointer;

    padding: 0 40px;
}

.inmocms-contact-info {
    margin-top: 16px;

    .inmocms-contact-info-text {
        color: #000;
        font-size: 12px;
        font-weight: 500;
    }

    .inmocms-contact-info-phone {
        color: #000;
        font-size: 18px;
        font-weight: 600;
    }

    .inmocms-contact-info-reference {
        color: #909090;
        font-size: 13px;
        font-weight: 400;
        margin-top: 6px;
    }
}

.inmocms-accept {
    margin: 8px 0 20px;

    .inmocms-accept-item {
        display: flex;
        align-items: center;

        color: #000;
        font-size: 13px;
        font-weight: 400;

        input {
            border: solid 1px #DFDFDF;

            margin-right: 8px;
        }

        +.inmocms-accept-item {
            margin-top: 12px;

            display: flex;
        }
    }
}

.inmocms-agente {
    display: flex;
    margin-bottom: 24px;

    .inmocms-agente-media {
        background-color: #EFEFEF;
        background-position: 50%;
        background-size: cover;

        border-radius: 50%;

        height: 70px;
        min-width: 70px;
        width: 70px;

        display: flex;
        align-items: center;
        justify-content: center;

        margin-right: 16px;
    }

    .inmocms-agente-data {
        color: #464255;

        .inmocms-agente-data-name {
            font-size: 15px;
            font-weight: 500;
            line-height: 22px;
        }

        .inmocms-agente-data-text {
            font-size: 13px;
            font-weight: 500;
            line-height: 19px;
            margin: 5px 0 8px;
        }

        .inmocms-agente-data-phone {
            align-items: center;
            display: flex;
            font-size: 16px;
            font-weight: 500;
            line-height: 24px;
        }
    }
}

.inmocms-agente-reference {
    color: #909090;
    font-size: 13px;
    font-weight: 400;
    margin-top: 16px;
}

.inmocms-modal {
    display: flex;
    align-items: center;
    justify-content: center;

    backdrop-filter: blur(2.5px);

    background: rgba(0, 0, 0, .25);

    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    top: 0;

    z-index: 99;

    .inmocms-modal-box {
        background: #fff;
        border-radius: 8px;
        box-shadow: 0 4px 30px 2px rgba(0, 0, 0, .25);
        flex-grow: 0;
        padding: 24px;
        width: auto;

        .inmocms-modal-box-title {
            color: #000;
            font-size: 20px;
            font-weight: 700;
            margin-bottom: 6px;
        }

        .inmocms-modal-box-subtitle {
            color: #000;
            font-size: 13px;
            margin-bottom: 28px;
        }

        .inmocms-modal-box-content {

            @media only screen and (max-width: 768px) {
                width: 100% !important;
            }
        }

        @media only screen and (max-width: 768px) {
            max-width: calc(100dvw - (24px * 2));
        }
    }

    @media only screen and (max-width: 768px) {
        padding: 24px;
    }
}

.inmocms-modal-notify {

    form {
        display: flex;
        flex-wrap: wrap;

        margin: 0 -12px;

        > div {
            margin: 0 12px 8px;
            width: calc(100% - (12px * 2));

            &.two {
                width: calc((100% / 2) - (12px * 2));

                @media only screen and (max-width: 768px) {
                    width: 100%;
                }
            }

            @media only screen and (max-width: 768px) {
                width: 100%;
                margin: 0 0 8px;
            }
        }

        .inmocms-accept {
            margin-top: 8px;
        }

        .inmocms-buttons {
            margin-top: 22px;
        }

        @media only screen and (max-width: 768px) {
            margin: 0;
        }
    }
}

.inmocms-modal-share {

    .inmocms-modal-share-links {
        display: flex;
        flex-wrap: wrap;

        margin: 0 -12px;

        > * {
            margin: 0 12px 8px;
            width: calc((100% / 3) - (12px * 2));

            display: flex;
            align-items: center;

            color: #000;
            font-size: 15px;
            font-weight: 500;

            .inmocms-modal-share-links-icon {
                display: flex;
                align-items: center;
                justify-content: center;

                background: #000;

                border-radius: 50%;

                color: #fff;
                font-size: 20px;

                width: 36px;
                height: 36px;

                margin-right: 10px;
            }

            @media only screen and (max-width: 768px) {
                width: 100%;
                margin: 0 0 12px;
            }
        }

        @media only screen and (max-width: 768px) {
            margin: 0;
        }
    }

    .inmocms-modal-share-url-hook {
        margin-top: 22px;

        background: #dbdbdb;

        display: flex;

        border-radius: 6px;

        input {
            flex: 1;

            border-width: 0;

            background-color: transparent;

            color: #717579;
            font-size: 15px;
            font-weight: 500;
            padding: 0 12px;
            white-space: nowrap;

            height: 42px;

            @media only screen and (max-width: 768px) {
                width: 100%;
            }
        }

        button {
            width: auto;

            @media only screen and (max-width: 768px) {
                width: 100%;
            }
        }

        @media only screen and (max-width: 768px) {
            display: block;
        }
    }
}

.row {
    display: flex;

    margin: 0 -12px;

    .col-3 {
        width: calc(100% / 3 - (12px * 2));

        margin: 0 12px;

        padding: 3px 0;
    }
}

.message-ok {
    align-items: center;
    background: #fff;
    border-radius: 3px;
    color: #2cb57d;
    display: flex;
    flex-direction: column;
    font-size: 16px;
    font-weight: 500;
    margin: 0 auto;
    padding: 10px 0;
    text-align: center;

    .icon {
        font-size: 32px;
        margin-bottom: 12px;
    }
}

.inmueble-estado-general {
    background: #909090;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    left: -59px;
    letter-spacing: .5px;
    padding: 5px 0;
    pointer-events: none;
    position: absolute;
    text-align: center;
    text-shadow: 0 1px 0 rgba(0, 0, 0, .5);
    text-transform: uppercase;
    top: 29px;
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
    width: 200px;

    &.alquilado,
    &.vendido {
        background: #fc2e53
    }

    &.reservado {
        background: #2251f8
    }

    &.rebajado {
        background: #0b3
    }

    &.privado {
        background: #f2a93b
    }

    &.big {
        padding: 15px 0;
        font-size: 20px;

        top: 35px;
        left: -55px;

        width: 240px;

        &.banner {
            transform: none;

            padding: 0;

            height: 100px;

            display: flex;
            align-items: center;
            justify-content: center;

            font-size: 38px;

            left: 0;

            top: calc(50% - (100px / 2));

            width: calc(100%);

            background: #FFF;
            color: #666;

            text-shadow: 0px 1px 0px rgba(0, 0, 0, 0);

            box-shadow: 0 0px 20px rgba(0, 0, 0, .5);

            opacity: .9;
        }
    }

    @media only screen and (max-width: 768px) {
        &.big {
            &.banner {
                height: 50px;

                top: calc(50% - (50px / 2));

                font-size: 20px;
            }
        }
    }
}