/*
Theme Name: Avada Child
Theme URI: https://avada.com/
Template: Avada
Author: ThemeFusion
Author URI: https://themeforest.net/user/ThemeFusion
Description: The Avada Website Builder is the ultimate design and creation suite. Design Anything, Build Everything, Fast. The #1 selling product of all time on ThemeForest.
Version: 7.12.1.1751984824
Updated: 2025-07-08 14:27:04

*/

#menu-main-menu ul a:hover {
    color: var(--awb-color4);
}

.fusion-person.person {
    border: 1px solid #ccc;
    padding: 10px;
}

.fusion-video,
.fusion-video .video-shortcode {
    width: 100%;
    max-width: 100%;
    max-height: unset;
}

.fusion-footer #menu-footer-menu .menu-item:not(:last-child) .awb-menu__main-a_regular span {
    border-right: 1px solid #FFF;
    padding-right: 10px;
}

.fusion-footer h2 a {
    color: var(--awb-color3) !important;
}

.fusion-footer :nth-child(1 of .fusion-fullwidth) a {
    text-decoration: underline !important;
    text-underline-offset: 4px !important;
}

.social-links i {
    font-size: 25px;
}

.display_phone i::before,
.social-links i::before {
    background-color: #FFF !important;
    color: var(--awb-color4) !important;
    border-radius: 15px !important;
    padding: 5px !important;
}

.display_phone i {
    margin-top: 5px !important;
    font-size: 9px !important;
    margin-right: 20px !important;
}

.display_directions p,
.display_phone p {
    margin-bottom: 0 !important;
}

.display_phone a {
    display: flex !important;
}

.gm-ui-hover-effect {
    position: absolute !important;
    right: 5px;
    top: 5px;
    width: 20px !important;
    height: 20px !important;
}

.gm-ui-hover-effect span {
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
}

.gm-style-iw h4 {
    font-size: 16px;
}

.gm-style-iw .fa-phone {
    transform: rotate(90deg);
}

.gm-style-iw .fa-phone:before {
    color: var(--link_color);
}

.item_phone a:before {
    content: "\f095";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    display: inline-block;
    transform: rotate(90deg);
    margin-right: 10px;
}

.item_direction a i {
    margin-right: 3px !important;
}

.map_items .fusion-post-cards {
    height: 50vh;
    overflow-x: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--awb-color4) transparent;
}

.map_items .fusion-post-cards::-webkit-scrollbar {
    width: 12px;
    height: 12px;
}

.map_items .fusion-post-cards::-webkit-scrollbar-track {
    background: transparent;
}

.map_items .fusion-post-cards::-webkit-scrollbar-thumb {
    background-color: var(--awb-color4);
    border-radius: 6px;
    border: 2px solid transparent;
    background-clip: content-box;
}

.map_items .fusion-post-cards::-webkit-scrollbar-thumb:hover {
    background-color: var(--awb-color4);
}

.map_items .fusion-post-cards::-webkit-scrollbar-corner {
    background-color: transparent;
}

/* Search Page */
.search-results #content {
    width: 100% !important;
}

.search-results h1.entry-title {
    color: #000 !important;
}
/* Search Page End */

.map-search-container {
    margin-bottom: 15px;
}
.search-input-wrapper {
    display: flex;
    gap: 8px;
    align-items: center;
}
.map-search-input {
    flex: 1;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    min-width: 0;
}
.map-search-button {
    padding: 10px 20px;
    background: #007cba;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    white-space: nowrap;
    transition: background-color 0.3s ease;
}
.map-search-button:hover {
    background: #005a87;
}
.map-search-clear {
    padding: 8px 15px;
    background: #f0f0f0;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 12px;
    cursor: pointer;
    white-space: nowrap;
    transition: background-color 0.3s ease;
}
.map-search-clear:hover {
    background: #e0e0e0;
}
.marker.search-hidden {
    display: none !important;
}

.gm-style-iw-d a{
    color: var(--awb-custom_color_1);
}

.gm-style-iw-d :nth-child(2 of p) {
    margin-top: 5px !important;
}

.gm-style-iw-d :nth-child(3 of p) {
    margin-top: 0px !important;
}

.search-results-message {
    padding: 8px 12px;
    margin-bottom: 10px;
    background: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    font-size: 13px;
    color: #666;
    
}


.small_mobile img{
    object-fit: contain !important;
}


@media (max-width: 600px) {
    .search-input-wrapper {
        flex-direction: column;
        align-items: stretch;
    }
    .map-search-button,
    .map-search-clear {
        width: 100%;
        justify-content: center;
    }
}

@media screen and (max-width: 1024px) {

    .small_mobile img {
        max-width: 200px;
    }

    .fusion-logo img {
        max-width: 150px;
    }

    #menu-footer-menu {
        justify-content: center;
    }

    #menu-footer-menu a,
    .footer_copyright p {
        font-size: 10.5px;
        text-align: center;
    }

    .fusion-footer .panel-heading span {
        color: #FFF;
    }

    .fusion-footer .panel-collapse p {
        margin: 0;
    }

    .fusion-footer .panel-collapse {
        padding-left: 33px;
    }
}

/* Responsive Table Styles for Convoy Alarm Codes Table */

.color-code-legend {
    flex-direction: row !important;
    gap: 20px !important;
    flex-wrap: wrap;
}

.color-code-legend p:has(span) {
    margin-bottom: 0 !important;
}

table tr :nth-child(1 of td) {
    min-width: 30px;
}

table tr :nth-child(2 of td) {
    min-width: 100px;
}

table tr :nth-child(4 of td) {
    min-width: 600px;
}

table tr td:last-child {
    min-width: 250px;
}

/* table tr td{
    height: 66px;
} */

.alarm-codes-table-wrapper {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 20px 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

.alarm-codes-table-wrapper + .alarm-codes-table-wrapper {
    margin-top: 0 !important;
}

.alarm-codes-table-wrapper:has(+ .alarm-codes-table-wrapper) {
    margin-bottom: 0 !important;
}

.alarm-codes-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 800px;
    background: white;
}

.alarm-codes-table td,
.alarm-codes-table th {
    padding: 5px !important;
    text-align: left;
    border-bottom: 1px solid #e0e0e0;
    vertical-align: middle;
}

.alarm-codes-table th {
    background-color: #f8f9fa;
    font-weight: 600;
    color: #333;
    position: sticky;
    top: 0;
    z-index: 10;
}

.severity-ok {
    background-color: #9bbb59;
    color: #000;
    font-weight: bold;
    text-align: center;
}

.severity-check {
    background-color: #ffff00;
    color: #000;
    font-weight: bold;
    text-align: center;
}

.severity-action {
    background-color: #c00000;
    color: #FFF;
    font-weight: bold;
    text-align: center;
}

.severity-na {
    background-color: #e2e3e5;
    color: #6c757d;
    font-weight: bold;
    text-align: center;
}

.alarm-codes-table tbody tr:nth-child(even) {
    background-color: #f8f9fa;
}

.alarm-codes-table tbody tr:hover {
    background-color: #e8f4fd;
    transition: background-color 0.2s ease;
}

.table-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin: 15px 0;
    font-size: 14px;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.legend-color {
    width: 20px;
    height: 20px;
    border-radius: 4px;
    border: 1px solid #ddd;
}

@media screen and (max-width: 991px) {

    .color-code-legend {
        flex-direction: column !important;
    }

    table tr :nth-child(1 of td) {
        min-width: unset;
    }

    table tr :nth-child(4 of td) {
        min-width: unset;
    }

    table tr td:last-child {
        min-width: unset;
    }

    .alarm-codes-table-wrapper {
        border-radius: 0;
    }

    .alarm-codes-table {
        font-size: 14px;
        min-width: auto;
    }

    .alarm-codes-table td,
    .alarm-codes-table th {
        padding: 8px 12px;
    }

    .alarm-codes-table-wrapper {
        overflow-x: visible;
    }

    .alarm-codes-table,
    .alarm-codes-table tbody,
    .alarm-codes-table td,
    .alarm-codes-table th,
    .alarm-codes-table thead,
    .alarm-codes-table tr {
        display: block;
    }

    .alarm-codes-table thead tr {
        position: absolute;
        top: -9999px;
        left: -9999px;
    }

    .alarm-codes-table tr {
        border: 1px solid #ccc;
        margin-bottom: 10px;
        padding: 10px;
        border-radius: 8px;
        background: white;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    }

    .alarm-codes-table td {
        border: none;
        position: relative;
        white-space: normal;
        text-align: left;
        display: flex;
        align-items: center;
        width: 100% !important;
        border-bottom: 0.5px solid;
    }

    .alarm-codes-table td:first-child {
        font-size: 18px;
        font-weight: bold;
        text-align: center;
        padding: 15px;
    }

    .table-legend {
        flex-direction: column;
        gap: 8px;
    }
}
