﻿:root {
    --default-red-color: #da291c;
    --default-red-color-with-opacity: #f77a77;
    --top-height: 60px;
    --top-element-padding: 10px;
    --page-padding: 20px 2vw;
    --search-button-height: 45px;
    --search-element-height: 55px;
    /* --page-padding: 40px; */
    /* --vehicle-padding: 10px 2.5vw; */
    --parent-padding-top-bottom: 30px;
    --parent-padding-left-right: 2.5vw;
    --title-font-size: 26px;
    --title-sub-font-size: 18px;
    --title-font-color: #222221;
    --title-sub-font-color: #4a4f53;
    --vehicle-status-1-color: #00adbb;
    --vehicle-status-2-color: #45B083;
    --vehicle-status-3-color: #FF8000;
    --tab-font: normal normal calc(18px + 0.4vw)/ 36px Lato;
    --top-button-font: normal normal calc(12px + 0.4vw)/ 36px Lato;
    --common-gap-left-part: 40px;
}

.glidego-custom-page.vehicle, .glidego-custom-page.driver {
    background: #fff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    font: normal normal normal 20px/27px Lato;
    /*height:calc(100vh - 220px);
            overflow-y:auto;*/
}

.layoutfooter-rf {
    height: auto;
}

.rf-page-left-menu-body ul > li {
    margin: 10px;
    white-space:nowrap;
}

    .rf-page-left-menu-body ul > li > a {
        color: #222221 !important;
    }

        .rf-page-left-menu-body ul > li > a.active {
            background-color: var(--default-red-color);
            padding: 10px;
            color: #fff !important;
        }

    .rf-page-left-menu-body ul > li::before {
        content: '';
        height: 40px;
        background: white;
        position: absolute;
        left: 1px;
        border-left: 5px solid var(--default-red-color);
        opacity: 0;
        transition: 0.5s all ease;
    }

    .rf-page-left-menu-body ul > li > a.active .rf-page-left-menu-body ul > li::before {
        opacity: 1;
    }

.drain-10 {
    background: #f9f9fc;
    width: 100%;
    height: 10px;
}

.drain-20 {
    background: #f9f9fc;
    width: 100%;
    height: 20px;
}

.drain {
    background: #f9f9fc;
    width: 100%;
    height: 40px;
    box-shadow: inset 0 2px 0px rgba(0, 0, 0, 0.2), 0 1px 1px 0 rgba(0, 0, 0, 0.14), 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    /* box-shadow: inset 0 2px 0px #ffffff50, inset 0 2px 0 0px rgba(0, 0, 0, 0.3); */
    /* box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19); */
}

.drain-vertical {
    background: #f9f9fc;
    width: 20px;
    height: 100vh;
}

.glidego-custom-page .rf-filter-quickfilter {
    align-items: center;
}

    .glidego-custom-page .rf-filter-quickfilter > .rf-filter-quickfilter-input {
        padding: 12px 15px;
    }

/*.main-layout {
    min-height: calc(100vh - 20px) !important;
    height: calc(100vh - 20px);
}*/

/*buttonrf custom*/
.custom-buttomrf .icon {
    color: var(--default-red-color);
}

.custom-buttomrf.add-new .icon {
    color: #fff;
}

.custom-buttomrf {
    background-color: #fff;
    border: 1px solid #ddd;
}

    .custom-buttomrf.add-new {
        background-color: var(--default-red-color);
        color: #fff;
    }
/*buttonrf custom*/

.tablerf-RideInfoView .custom-action-item {
    padding-left:5px;
    color: #000;
}
.tablerf-RideInfoView td .driver-info, .tablerf-driver-details td .driver-info {
    display: flex;
    white-space: nowrap;
    gap: 5px;
    align-items: center;
}
    .tablerf-RideInfoView td .driver-info .driver-img, .tablerf-driver-details td .driver-info .driver-img {
        width: 35px;
        height: 35px;
        border: 1px solid #e8e8e8;
        border-radius: 100%;
    }

.tablerf-RideInfoView th:not(:last-child) {
    white-space: nowrap;
    position: relative;
    min-width: 65px;
}

.tablerf-RideInfoView th::after {
    position: absolute;
    right: 5px;
    width: 10px;
    top: 32%;
    transform: translateY(-50%);
    white-space: nowrap;
}
.tablerf-RideInfoView td:nth-child(7), td:nth-child(8) {
    white-space:nowrap;
}
.tablerf-RideInfoView .start-point {
    width: 200px;
}
.tablerf-RideInfoView .destination {
    width: 200px;
}
.tablerf-RideInfoView .pickup-date {
    width: 105px;
}
.tablerf-RideInfoView .vehicle-code {
    width: 110px;
}


.tablerf-RideInfoView .truncated-text {
    width: 200px;
    overflow: hidden;
    position: relative;
    display: inline-block;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition: width 0.9s ease; /* Add a smooth transition */
}

    .tablerf-RideInfoView .truncated-text:hover {
        overflow: visible; /* Show all the text */
        white-space: normal; /* Allow text to wrap if it's still too long */
    }
.footercopyright-rf{
    font-size:10px;
}