/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */


/* Below is the css styles for the crb_dynamic_table in functions.php. It controls the visibility of the html layout when in Desktop, Tablet or Mobile depending on screen width.
 * The HTML structure is different for the Desktop and tablet/mobile versions thus the different classes and you control them by displaying them accordingly */

/* code start */

/* Visibility controls */
.pricing-table-desktop {
    display: block;
}

.pricing-table-mobile {
    display: none;
}

@media screen and (max-width: 1024px) {
    .pricing-table-desktop {
        display: none;
    }
    .pricing-table-mobile {
        display: block;
    }
}

/* Table styling */
.pricing-table {
    width: 100%;
    border-collapse: collapse;
    text-align: center;
    color: #000;
    white-space: pre-wrap;
}

.pricing-table th,
.pricing-table td {
    border: 1px solid #ddd;
    padding: 8px;
}

.pricing-table th {
    background-color: #f5f5f5;
}

/* Availability colors */
.availability.available,
.attribute-row .value.available {
    color: green;
    font-weight: 800;
}

.availability.sold,
.attribute-row .value.sold {
    color: red;
    font-weight: 800;
}

/* Mobile view */
.pricing-table-mobile {
    padding: 10px;
}

.pricing-table-mobile h2 {
    text-align: center;
    color: #000;
    margin: 0 0 10px;
}

.apartment-card {
    border-bottom: 1px solid #ddd;
    padding: 10px 0;
}

.apartment-card.even {
    background-color: #ffffff;
}

.apartment-card.odd {
    background-color: #f5f5f5;
}

.apartment-card h4 {
    color: #000;
    text-align: center;
    margin: 5px 0;
}

.attribute-row {
    display: flex;
    justify-content: space-between;
    padding: 5px 10px;
    color: #000;
}

.attribute-row .label {
    font-weight: bold;
}

/* code end */