@charset "utf-8";
/* CSS Document */

@font-face {
    font-family: 'Avenir Next LT Pro';
    src: url('/fonts/AvenirNextLTPro-Bold.woff2') format('woff2'), url('/fonts/AvenirNextLTPro-Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'Avenir Next LT Pro';
    src: url('/fonts/AvenirNextLTPro-Regular.woff2') format('woff2'), url('/fonts/AvenirNextLTPro-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Avenir Next LT Pro Demi';
    src: url('/fonts/AvenirNextLTPro-Demi.woff2') format('woff2'), url('/fonts/AvenirNextLTPro-Demi.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@media (max-width: 575px) {
    .favorites_main {
        height: auto;
        background-image: url("/media/TESCO_aerial.jpg");
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
    }

    #drivers td {
        min-height: 90px;
    }

    .driver_phone1 {
        width: 100%;
        min-height: 14px;
    }

    .driver_phone2 {
        width: 100%;
        min-height: 14px;
    }

    .driver_overnight {
        width: 100%;
        min-height: 14px;
    }

    .driver_name {
        font-size: 10pt;
        font-weight: bold;
        padding-top: 10px;
    }

    #drivers th.date {
        display: none;
    }

    #drivers {
        font-size: 9pt !important;
    }
}

@media (min-width: 576px) {
    .favorites_main {
        min-height: 100vh;
        background-image: url("/media/TESCO_aerial.jpg");
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
    }
}

@media (max-width: 575px) {
    .links_panel_content {
        font-size: 16pt !important;
    }
}

@media (min-width: 576px) {
    .links_panel_content {
        font-size: 15pt !important;
    }
}


body {
    font-family: "Avenir Next LT Pro" !important;
}


.yellow_strip {
    background-color: #fbad4b;
    /*background-color: #165B33;*/
    height: 21px;
}

.login {
    font-family: "Avenir Next LT Pro Demi";
    color: #fff;
    text-transform: uppercase;
    font-size: 10pt;
    text-align: right;
    padding-top: 1px;
    margin-right: -9px;
}

.logo {
    height: 80px;
    font-size: 10pt;
    text-align: left;
    padding-top: 1px;
    margin-left: 5px;
}

.module-header {
    font-family: "Avenir Next LT Pro Demi";
    color: #00578e;
    font-size: 18pt;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding-right: 15px;
    text-align: right;
    border-left: 3px solid #fbad4b;
    padding-left: 15px;
    line-height: 1.2;
}

@media (min-width: 576px) {
    .module-header {
        font-size: 24pt;
        padding-right: 25px;
        padding-left: 25px;
        border-left: 4px solid #fbad4b;
    }
}

@media (min-width: 992px) {
    .module-header {
        font-size: 28pt;
        padding-right: 35px;
        padding-left: 35px;
    }
}

.back-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: "Avenir Next LT Pro Demi";
    font-size: 16pt;
    font-weight: 600;
    color: #fff !important;
    background: linear-gradient(135deg, #00578e 0%, #0a5d90 100%);
    padding: 15px 40px;
    border-radius: 8px;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: 0 3px 12px rgba(0, 87, 142, 0.3);
    transition: all 0.3s ease;
    margin-right: 15px;
}

    .back-button:hover {
        background: linear-gradient(135deg, #0a5d90 0%, #00578e 100%);
        color: #fff !important;
        text-decoration: none;
        transform: translateY(-2px);
        box-shadow: 0 5px 20px rgba(0, 87, 142, 0.5);
    }

    .back-button:active {
        transform: translateY(0);
        box-shadow: 0 2px 8px rgba(0, 87, 142, 0.3);
        color: #fff !important;
    }

    .back-button:visited {
        color: #fff !important;
    }

    .back-button svg {
        transition: transform 0.3s ease;
    }

    .back-button:hover svg {
        transform: translateX(-3px);
    }

.links_panel {
    background-color: #fff;
    padding: 25px 25px;
    margin: 15px;
    font-family: "Avenir Next LT Pro";
    color: #00578e;
    flex-grow: 1;
    overflow-wrap: break-word;
    word-wrap: break-word;
    hyphens: auto;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.15);
    border-radius: 12px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

    .links_panel:hover {
        box-shadow: 0 6px 25px rgba(0, 87, 142, 0.25);
        transform: translateY(-5px);
    }

.links_panel_header {
    text-align: center;
    border-bottom: solid 3px #fbad4b;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 14pt;
    letter-spacing: .1em;
    padding: 20px 15px 20px 15px;
    margin-bottom: 25px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 12px;
}

    .links_panel_header img {
        filter: drop-shadow(0 2px 4px rgba(0, 87, 142, 0.2));
    }

    .links_panel_header u {
        text-decoration: none;
        border-bottom: 2px solid #00578e;
        padding-bottom: 2px;
    }

.links_panel_content {
    text-align: center;
    border-bottom: none;
    font-weight: 600;
    text-transform: none;
    letter-spacing: .04em;
    padding: 22px 20px;
    width: 100%;
    overflow-wrap: break-word;
    word-wrap: break-word;
    hyphens: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    margin: 0;
    background: linear-gradient(135deg, #00578e 0%, #0a5d90 100%);
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 87, 142, 0.3);
}

    .links_panel_content:hover {
        background: #fff;
        text-decoration: none;
        transform: scale(1.03);
        box-shadow: 0 4px 15px rgba(0, 87, 142, 0.4);
        border: 2px solid #00578e;
    }

.links_panel_link {
    text-decoration: none;
    display: block;
    width: 100%;
    margin-top: auto;
}

    .links_panel_link:link {
        color: #fff;
    }

    .links_panel_link:visited {
        color: #fff;
    }

    .links_panel_link:hover {
        color: #00578e;
        text-decoration: none;
    }

    .links_panel_link:active {
        color: #fff;
    }

.links_panel_links {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: auto;
}

    .links_panel_links .links_panel_link {
        margin-top: 0;
    }

.portal_title {
    font-size: 24px;
    text-align: center;
    padding: 15px 0;
}

.portal_user_info {
    font-family: "Avenir Next LT Pro";
    color: #fff;
    flex-grow: 1;
}

.profile_pic_circle {
    height: 177px;
    width: 177px;
    border-radius: 50%;
    border: solid 8px hsla(0,0%,100%,.50);
    padding-top: 5px;
    margin-left: auto;
    margin-right: auto;
}

.profile_pic_container {
    width: auto;
}

.profile_name {
    font-size: 22px;
}

.profile_date {
    font-size: 18px;
    margin-bottom: 10px;
}

.favorites_circle {
    height: 56px;
    width: 56px;
    border-radius: 50%;
    border: solid 2px hsla(0,0%,100%,.50);
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}


.favorites_container {
    width: 100%;
    text-align: center;
    margin-bottom: 25px;
}


    .favorites_container:hover .favorites_circle {
        background-color: hsla(0,0%,100%,.30);
        transition-duration: .2s;
    }

    .favorites_container:hover .favotites_link {
        text-decoration: underline;
        text-decoration-color: #fff;
    }



.favotites_link {
    font-size: 12pt;
    color: #fff;
    line-height: 120%;
    text-align: center;
    margin-top: 5px;
}

    .favotites_link:link {
        font-size: 12pt;
        color: #fff;
    }

    .favotites_link:visited {
        font-size: 12pt;
        color: #fff
    }

    .favotites_link:hover {
        font-size: 12pt;
        color: #fff;
        text-decoration: underline;
        text-decoration-color: #fff;
        transition-duration: .3s;
    }

    .favotites_link:active {
        font-size: 12pt;
        color: #fff
    }

.copyright {
    font-family: "Avenir Next LT Pro";
    color: #fff;
    font-size: 15px;
    position: relative;
    bottom: 5px;
    left: 10px;
}

.copyright_mobile {
    font-family: "Avenir Next LT Pro";
    color: #fff;
    text-transform: uppercase;
    font-size: 14pt;
    text-align: left;
    padding-top: 5px;
}

.yellow_strip_footer {
    background-color: #fbad4b;
    /*background-color: #165B33;*/
    height: 37px;
}

.event_header {
    font-family: "Avenir Next LT Pro";
    background-color: #0a5d90;
    /*background-color: #165B33;*/
    min-height: 107px;
    color: #fff;
    padding: 10px 10px 10px 15px;
    text-transform: uppercase;
    font-size: 14pt;
    margin-bottom: 20px;
}

.event_header_arrow {
    width: 0;
    height: 0;
    border-top: 13px solid transparent;
    border-left: 13px solid #0a5d90;
    /*border-left: 13px solid #165B33;*/
    border-bottom: 13px solid transparent;
    position: absolute;
    right: -13px;
    top: 40px;
    z-index: 5;
}

.event_content {
    font-family: "Avenir Next LT Pro";
    font-size: 10pt;
    /*color:#fff;*/
    padding-bottom: 5px;
    padding-left: 20px;
    padding-top: 5px;
    line-height: 125%;
    background-color: #E9E9E9;
    /*background-color: #BB2528;*/
    margin-bottom: 20px;
}

    .event_content ul {
        list-style-type: none;
        text-transform: capitalize;
        margin-left: -40px;
        font-size: 12pt;
        line-height: 140%;
    }

.event_content_header {
    text-transform: uppercase;
    font-size: 12pt;
    clear: both;
    margin-top: 3px;
    padding-bottom: 3px;
}

.wrapper {
    display: flex;
    width: 100%;
}

#sidebar {
    width: 250px;
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    z-index: 999;
    background: #7386D5;
    color: #fff;
    transition: all 0.3s;
    overflow-y: auto;
}

.directory_header {
    font-family: "Avenir Next LT Pro Demi";
    font-size: 15pt;
    padding-bottom: 5px;
    padding-top: 5px;
    line-height: 125%;
    color: #00578e;
    margin-bottom: 3px;
    border-bottom: 1px solid #fbad4b;
    text-transform: uppercase;
    width: 100%;
}

.directory_address {
    font-family: "Avenir Next LT Pro";
    font-size: 12pt;
    padding-bottom: 10px;
    padding-top: 5px;
    line-height: 145%;
    color: #00578e;
    width: 100%;
}


.stripe_dark {
    background-color: #E8E8E8;
    border-bottom: solid 1px #B8B8B8;
    font-size: 15px;
}

.stripe_light {
    background-color: #FFFFFF;
    border-bottom: solid 1px #B8B8B8;
    font-size: 15px;
}



.table_header {
    background-color: #343a40;
    border-bottom: solid 1px #B8B8B8;
    color: #FFF;
    font-weight: bold;
    display: flex;
    justify-content: center;
    align-items: flex-end;
}


.topButton {
    display: none;
    position: fixed;
    bottom: 50px;
    right: 0;
    width: 50px;
    height: 50px;
    background-image: url(/media/TopButton.png);
    z-index: 1;
    font-family: "Helvetica Neue", Helvetica, Arial;
    color: #fff;
    font-size: 12px;
    text-align: center;
    line-height: 80px;
    transition-duration: .4s;
}

    .topButton:hover {
        background-image: url(/media/TopButton_Mouseover.png);
        transition-duration: .4s;
    }


#drivers {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 8pt;
    border-collapse: collapse;
    min-width: 100%;
}

    #drivers td, #drivers th {
        border: 1px solid #ddd;
        padding: 2px 5px 4px 5px;
    }

        #drivers td.active {
            background-color: #B10002;
            color: #fff;
        }

        #drivers td.complete {
            background-color: #57D459;
        }


        #drivers td.off {
            background-color: #676767;
            color: #fff;
        }


    #drivers tr:nth-child(even) {
        background-color: #f2f2f2;
    }

    #drivers tr:hover {
        background-color: #ddd;
    }

    #drivers th {
        text-align: center;
        background-color: #343a40;
        color: white;
        border-top-color: #343a40;
    }



.driver_phone1 {
    width: 100%;
    min-height: 14px;
}

.driver_phone2 {
    width: 100%;
    min-height: 14px;
}

.driver_overnight {
    width: 100%;
    min-height: 14px;
}

.driver_name {
    width: 100%;
    min-height: 14px;
    font-weight: bold;
}

.driver_location {
    width: 100%;
    min-height: 14px;
}

.driver_unitnumber {
    width: 100%;
    min-height: 14px;
}

.driver_comment {
    width: 100%;
    min-height: 14px;
}

.driver_detail {
    width: 100%;
    min-height: 14px;
    padding-top: 4px;
}

.driver_detail1 {
    width: 25%;
    display: inline-block;
    text-align: left;
}

.driver_detail2 {
    width: 25%;
    display: inline-block;
    margin-left: -3px;
    text-align: center;
}

.driver_detail3 {
    width: 25%;
    display: inline-block;
    margin-left: -3px;
    text-align: center;
}

.driver_detail4 {
    width: 25%;
    display: inline-block;
    text-align: right;
    float: right;
}


.driver_circle {
    height: 25px;
    width: 25px;
    border-radius: 50%;
    border: solid 1px hsla(0,0%,100%,1.0);
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}


.driver_container {
    width: auto;
    text-align: center;
    margin: 4px 8px;
    display: inline-block;
}


    .driver_container:hover .driver_circle {
        background-color: hsla(0,0%,100%,.30);
        transition-duration: .2s;
    }





a:link {
    color: #00578e;
}

a:visited {
    color: #00578e;
}

a:hover {
    color: #323232;
}

a:active {
    color: #000;
}


#hideShow {
}

#hideShow1 {
    visibility: hidden;
}

#hideShow2 {
    visibility: hidden;
}

#hideShow4 {
    visibility: hidden;
}

#hideShow5 {
    visibility: hidden;
}

#hideShow3 {
}

tableWO {
    /*border: 1px solid #dbeaf4;*/
}

    tableWO tbody tr:hover {
        /*background: #dbeaf4;*/
    }

    tableWO tbody td {
        /*border-top: 1px solid #dbeaf4;*/
    }

th,
td {
    text-align: left;
    padding: 5px;
}








/* Compact buttons and headers only */
.links_panel_header {
    padding: 10px 15px 12px 15px;
    margin-bottom: 15px;
    gap: 1px;
}

    .links_panel_header img {
        width: 60px;
        height: 60px;
    }

.links_panel_content {
    padding: 16px 15px;
}

.links_panel_links {
    gap: 8px;
}

/* Equal height panels */
@media (min-width: 768px) {
    .row.justify-content-center {
        align-items: stretch;
    }

    .links_panel {
        height: 95%;
        display: flex;
        flex-direction: column;
    }

    .links_panel_links,
    .links_panel_link {
        margin-top: auto;
    }
}