/* =========================================================
   CUSTOM INLINE STYLES – OFFICE BLIND SYSTEMS LTD
   ========================================================= */


/* =========================================================
   GENERAL IMAGE STYLING
   ========================================================= */
img {
    max-width: 100%;
    height: auto;
}


/* =========================================================
   TABLES
   ========================================================= */
table {
    width: 100%;
    max-width: 100%;
    border-collapse: collapse;
    border: none;
}

table td,
table th {
    text-align: left;
    padding: 0;
}

table.wdn_responsive_table thead th abbr {
    border-bottom: none;
}


/* =========================================================
   RESPONSIVE TABLES
   ========================================================= */
@media screen and (max-width: 47.99em) {
    table.wdn_responsive_table td,
    table.wdn_responsive_table th {
        display: block;
    }

    table.wdn_responsive_table thead tr {
        display: none;
    }

    table.wdn_responsive_table tbody td:before {
        display: block;
        content: attr(data-header);
    }

    table.wdn_responsive_table tbody td:empty {
        display: none;
    }
}

@media (min-width: 48em) {
    table caption {
        font-size: 0.532rem;
    }

    table th,
    table td {
        font-size: 0.02rem;
        padding: 0;
    }
}

@media screen and (min-width: 48em) {
    table.wdn_responsive_table thead th:not(:first-child),
    table.wdn_responsive_table tbody td {
        text-align: center;
    }

    table.wdn_responsive_table.flush-left td,
    table.wdn_responsive_table.flush-left thead th {
        text-align: left;
    }
}


/* =========================================================
   FORM ELEMENTS
   ========================================================= */
input[type=text],
select,
textarea {
    width: 100%;
    padding: 8px 10px;
    margin: 8px 0;
    display: inline-block;
    border: 1px solid #ccc;
    border-radius: 15px;
    box-sizing: border-box;
}


/* =========================================================
   FORCE BLOCK ON PHONES - DOESNT SHOW TEXT
   ========================================================= */

@media (max-width: 767px) {
    .star-text-block,
    .star-phone-block {
        display: none !important;
    }
}

/* =========================================================
   FORCE COLOUR OF MOBILE TOGGLE NAVIGATION
   ========================================================= */

.navbar-toggle .icon-bar {
    background-color: #ffffff !important;  /* Choose any colour */
}

/* =========================================================
   MOBILE-SPECIFIC STYLES
   ========================================================= */
@media (max-width: 768px) {

    .mobile-message {
        display: block;
        text-align: center;
        margin: 10px 0;
    }

    .mobile-message .top-text {
        font-size: 36px;
        font-weight: bold;
        color: #E84F08;
        margin-bottom: 10px;
    }

    .mobile-message .coverage-text {
        font-size: 24px;
        font-weight: bold;
        color: black;
        background-color: #f7f7f7;
        padding: 5px 10px;
        border-radius: 5px;
        margin-bottom: 15px;
        display: inline-block;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    }

    .mobile-message .service-text {
        font-size: 22px;
        color: black;
        margin-bottom: 20px;
    }

    .mobile-message .appointment-button,
    .mobile-message .blind-button,
    .mobile-message .call-button {
        display: inline-block;
        font-size: 20px;
        padding: 10px 20px;
        margin: 8px 0;
        color: white;
        border: none;
        border-radius: 5px;
        text-decoration: none;
        text-align: center;
        width: 80%;
        max-width: 300px;
        cursor: pointer;
        transition: background-color 0.3s ease;
    }

    .mobile-message .appointment-button {
        background-color: #28a745;
    }
    .mobile-message .appointment-button:hover {
        background-color: #218838;
    }

    .mobile-message .blind-button {
        background-color: #E84F08;
    }
    .mobile-message .blind-button:hover {
        background-color: #c74206;
    }

    .mobile-message .call-button {
        background-color: #007bff;
    }
    .mobile-message .call-button:hover {
        background-color: #0056b3;
    }

    .side-menu {
        display: none;
    }

    .star-text-block {
        margin-bottom: 20px;
    }
}

@media (min-width: 769px) {
    .mobile-message {
        display: none;
    }
}
