/*======================================
Theme Name: Gränna Båtklubb
Theme URI: https://divicake.com/
Description: Barntema till Gränna Båtklubb
Version: 1.0
Author: Divi Cake
Author URI: https://divicake.com/
Template: Divi
======================================*/


/* You can add your own CSS styles here. Use !important to overwrite styles if needed. */

/* Default styles for larger screens */
.wpbs-custom-bookings-responsive {
    width: 100%;
    border-collapse: collapse;
}

.wpbs-custom-bookings-responsive th,
.wpbs-custom-bookings-responsive td {
    padding: 8px;
    text-align: left;
    border: 1px solid #ccc;
}

/* Responsive styles for smaller screens */
@media (max-width: 767px) {
    .wpbs-custom-bookings-responsive thead {
        display: none;
    }

    .wpbs-custom-bookings-responsive tr {
        display: block;
        margin-bottom: 10px;
    }

    .wpbs-custom-bookings-responsive td {
        display: block;
        text-align: right;
        padding-left: 50%;
        position: relative;
    }

    .wpbs-custom-bookings-responsive td:before {
        content: attr(data-label);
        position: absolute;
        left: 8px;
        font-weight: bold;
        text-align: left;
    }

    .wpbs-custom-bookings-responsive td:nth-child(1):before {
        content: "Från:";
    }

    .wpbs-custom-bookings-responsive td:nth-child(2):before {
        content: "Till:";
    }

    .wpbs-custom-bookings-responsive td:nth-child(3):before {
        content: "Namn:";
    }

    .wpbs-custom-bookings-responsive td:nth-child(4):before {
        content: "Telefon:";
    }
}