﻿body, form {
    background-color: #FFFFFF;
    font-family: Arial,Tahoma,Helvetica,sans-serif;
    font-weight: normal;
    padding: 0px 0px 0px 0px;
}

.formholder {
    width: 100%;
}

.breadcrumbs {
    padding-bottom: 0px;
}

.lgd-page-title-block {
    margin-bottom: 0px;
}

.lgd-page-title-block__title {
    font-size: 40px;
}

@media screen and (max-width:768px) {
    .lgd-page-title-block__title {
        font-size: 30px;
    }
}

.lgd-page-title-block__title::after {
    margin-top: 0.625rem;
}



.lgd-page-title-block__title {
    padding-bottom: 0px;
}


input, select, selectarea {
    font-size: 100%;
    border-style: solid;
    border-width: 1px;
    border-color: #444444;
}

h1 {
    margin-top: 20px !important;
    margin-bottom: 10px !important;
    font-size: 24px;
}

h2 {
    margin-top: 0px !important;
    margin-bottom: 10px !important;
    font-size: 18px;
}

p {
    line-height: 1.2em !important;
    margin: 15px 0px;
}

.clearboth {
    clear: both;
}

.questionholder {
    clear: both;
    padding-bottom: 16px;
}

.labelholder {
    width: 200px;
    float: left;
    padding-bottom: 4px;
    font-weight: bold;
}

.textboxholder {
    display: block;
    overflow: hidden;
}

.subtext, .subtextinline {
    display: block;
    font-size: 14px;
    font-weight: normal;
    color: #444444;
    margin-top: 2px;
    margin-left: 10px;
}

.subtextinline {
    display: inline-block;
}

input, select, selectarea {
    font-size: 100%;
}

.smalltextbox {
    width: 200px;
}

.fulltextbox {
    width: 96%;
}

.fulllistbox {
    color: #000000;
    background-color: #FFFFFF;
    border-style: solid;
    border-width: 1px;
    border-color: #444444;
    border-radius: 0px;
    width: 99%;
}

.validatorclass {
    background-color: #FFFAFA;
    border-color: #DDCCCC;
    border-style: solid;
    border-width: 1px;
    display: block;
    background-image: url(images/exclaimorange.gif);
    background-repeat: no-repeat;
    background-position: 4px 4px;
    padding: 4px 4px 0px 40px;
    color: #440000 !important;
    margin-bottom: 10px;
}

    .validatorclass ul {
        margin: 10px 0px 5px 0px;
    }

    .validatorclass li {
        margin-left: 5px;
        list-style-type: disc;
    }

.filterdropdown {
    color: #000000;
    background-color: #FFFFFF;
    border-style: solid;
    border-width: 1px;
    border-color: #444444;
    border-radius: 0px;
}

.nearposition {
    display: block;
    padding-bottom: 16px;
    padding-left: 200px;
}

.strongtext {
    font-weight: bold;
}

.nooverflow {
    overflow-x: hidden;
}

.timetableholder {
    margin-top: 5px;
    background-color: #FDFDFD;
    border-collapse: collapse;
    width: 100%;
    max-height: 330px;
    overflow-x: auto;
    overflow-y: auto;
}

.timetabledisplay {
    width: 100%;
    table-layout: fixed;
}

    .timetabledisplay td {
        border-style: solid;
        border-width: 1px;
        padding: 2px;
        border-color: #AAAAAA;
        font-size: 16px;
        height: 18px;
    }

.busstopitem {
    width: 320px;
    overflow: hidden;
    text-align: left;
}

.timeitem24 {
    width: 60px;
    text-align: center;
}

.timeitem12 {
    width: 80px;
    text-align: center;
}

timetabledisplay tr {
    display: block;
    background-color: #FFFFFF;
}

timetabledisplay {
    display: block;
    height: 200px;
    overflow: auto;
}

.timetabledisplay tr:nth-child(even) {
    background-color: #EEEEEE;
}

.timetabledisplay tr td:first-child {
    position: sticky;
    left: 0px; /* This is for all the the "td" elements in the first child row */
    background-color: #FDF6E0;
}

.timetabledisplay tr:nth-child(even) td:first-child {
    background-color: #f9efd0;
}

.timetabledisplay tr:first-child td {
    position: sticky;
    top: 0px; /* This is for all the the "td" elements in the first child row */
    background-color: #FFFFFF;
    border-style: none;
    font-weight: bold;
}



/* NOTES */
.timetabledisplay tr:nth-child(2) td {
    position: sticky;
    top: 21px; /* This is for all the the "td" elements in the first child row */
    background-color: #FDF6E0;
    background-color: #d8f9fb;
    border-style: none;
    font-weight: normal;
    border-style: solid;
    border-width: 1px;
    padding: 2px;
    border-color: #AAAAAA;
}

    .timetabledisplay tr:nth-child(2) td:nth-child(1) {
        border-style: none;
    }

.opdisplay {
    width: calc(100% + 4px);
    display: block;
    background-color: #edfdf4;
    margin: -2px -2px 2px -2px;
    border-style: solid;
    border-color: #AAAAAA;
    border-width: 0px 0px 1px 0px;
}

/* END OF NOTES */

.timetabledisplay tr:nth-child(3) td {
    position: sticky;
    top: 42px; /* This is for all the the "td" elements in the first child row */
    background-color: #FDF6E0;
}




.timetabledisplay tr:first-child td:first-child {
    z-index: 9998;
    background-color: #FFFFFF;
}

.timetabledisplay tr:nth-child(2) td:first-child {
    z-index: 9998;
    background-color: #FFFFFF;
    text-align: right;
    padding-right: 5px;
    font-weight: normal;
}

.timetabledisplay tr:nth-child(3) td:first-child {
    z-index: 9998;
    background-color: #EAEAEA;
}

.timetablenoaltroute tr:first-child {
    display: none;
}

.timetablenoaltroute tr:nth-child(2) td {
    top: 0px !important; /* This is for all the the "td" elements in the first child row */
}

.timetablenonotes tr:nth-child(2) {
    display: none;
}

.timetableonelineout tr:nth-child(3) td {
    top: 21px !important; /* This is for all the the "td" elements in the first child row */
}

.timetabletwolineout tr:nth-child(3) td {
    top: 0px !important; /* This is for all the the "td" elements in the first child row */
}

.notimetable {
    margin-top: 20px;
    margin-left: 60px;
}

#divPleaseWait {
    border-style: solid;
    border-width: 2px;
    border-color: #F0BF4E;
    background-image: url(images/pleasewait.png);
    position: fixed;
    width: 200px;
    height: 70px;
    font-size: 24px;
    padding: 20px 0px 0px 0px;
    display: none;
    margin-top: -15px;
    margin-left: -75px;
    top: 50%;
    left: 50%;
    text-align: center;
    border-radius: 10px;
    z-index: 9999;
}

.timetableheaderholder {
    border-style: solid;
    border-width: 1px 0px 0px 0px;
    border-color: #000000;
    margin-top: 5px;
    padding-top: 5px;
}

.timetableheader {
    border-style: none;
    background-color: #444444;
    padding: 5px 10px;
    color: #EEEEEE;
}

.timetablestop {
    font-size: 16px;
}

.timetablefooter {
    margin-top: 12px;
    margin-left: 12px;
    margin-bottom: 10px;
    font-size: 14px;
    color: #444444;
}

.serviceinfo {
    display: inline-block;
    font-size: 24px;
    vertical-align: top;
}

.serviceinfonumber {
    display: inline-block;
    font-size: 40px;
    margin-top: -4px;
    margin-right: 20px;
}

.serviceinfosub {
    display: block;
    font-size: 14px;
    margin-top: 2px;
    padding-left: 2px;
}

.serviceheader {
    display: flex;
    justify-content: space-between;
    margin-top: 4px;
    margin-bottom: 0px;
}

.servicenotes {
    font-size: 14px;
    color: #000088;
    min-width: 350px;
    margin-bottom: 10px;
}

.servicefooter {
    margin-top: 20px;
    margin-bottom: 10px;
}

.servicenotesheader {
    font-weight: bold;
}

.serviceoperatorlogo {
    display: inline-block;
    margin-left: 20px;
}

.logoholder {
    display: block;
    text-align: right;
    margin: 5px 0px;
}

.timetablestop h2 {
    font-size: 16px;
    color: #444444;
    margin: 4px 0px 18px 0px;
}

.timeoptions {
    border-style: none;
    border-width: 1px;
    border-color: #AAAAAA;
    background-color: #cfe3f4;
    margin-bottom: 10px;
    border-radius: 16px;
    padding: 5px 5px 5px 10px;
    font-size: 14px;
}

.optionitem {
    display: inline-block;
    margin: 3px 15px 3px 0px;
}

.optionlabel {
    min-width: 65px;
    display: inline-block;
}

.optionitem select {
    margin-left: 5px;
}

.optionbutton {
    float: right;
    margin-top: 0px;
    border-style: none;
    border-radius: 4px;
    background-color: #459a34;
    padding: 3px 8px;
    color: #FFFFFF;
    cursor: pointer;
    margin-right: 22px;
}

.buttonholder {
    text-align: right;
}

.optionbutton:hover {
    background-color: #6abe60;
}

.actionbutton {
    font-size: 15px;
    text-decoration: none;
    color: #FFFFFF;
    background-color: #29408b;
    border-style: none;
    border-radius: 5px;
    padding: 3px 14px;
    cursor: pointer;
    margin-left: 15px;
}

    .actionbutton img {
        vertical-align: middle;
        margin-right: 10px;
        width: 17px;
    }

    .actionbutton:hover {
        background-color: #596eb1;
    }

    .actionbutton:disabled {
        background-color: #CCCCCC;
    }
/* Scrollbar styling */
/* width */
.timetableholder::-webkit-scrollbar {
    width: 12px;
    height: 12px;
}

/* Track */
.timetableholder::-webkit-scrollbar-track {
    background: #f1f1f1;
    width: 10px;
    height: 10px;
}

/* Handle */
.timetableholder::-webkit-scrollbar-thumb {
    background: #646464;
    border-radius: 10px;
}

    /* Handle on hover */
    .timetableholder::-webkit-scrollbar-thumb:hover {
        background: #444;
    }

/* End Scrollbar styling */

/* Route list display */
.linkholder {
    white-space: nowrap; /* this does the trick */
    overflow: hidden; /* this prevents the grey divs from overflowing */
}

.clickLinkNoImage, clickLinkNoImage:visited {
    display: block;
    border-style: solid;
    border-width: 1px;
    border-color: #BBBBBB;
    min-height: 46px;
    background-color: #F1F1F1;
    font-size: 100%;
    color: #444444;
    font-weight: bold;
    text-decoration: none;
    padding: 7px 8px 4px 8px;
}

    .clickLinkNoImage:hover, .clickLinkNoImage:active {
        background-color: #DDDDDD;
        -webkit-tap-highlight-color: rgba(120,120,120,0.5);
    }

.busimage {
    display: inline-block;
    vertical-align: top;
    font-size: 40px;
    width: 60px;
    color: #000088;
}

.busdetail {
    display: inline-block;
    vertical-align: top;
    white-space: normal;
    width: calc(100% - 60px);
}

.smalltext {
    font-size: 14px;
    font-weight: normal;
    color: #AA0000;
}

.operatorholder {
    display: block;
    font-size: 16px;
    font-weight: normal;
    margin-top: 3px;
}

.busdetail h3 {
    margin-top: 0px;
    font-size: 20px;
    font-weight: normal;
    margin-bottom: 5px;
}

.information {
    display: block;
    clear: both;
    border-style: solid;
    border-width: 1px;
    border-color: #C0971B;
    background-color: #FFFAEC;
    padding: 4px 4px 4px 50px;
    margin-bottom: 10px;
    background-image: url(images/exclamationshadow.gif);
    background-repeat: no-repeat;
    background-position: 4px 4px;
    min-height: 26px;
}



/* End Route list display*/




@media screen and (max-width:500px) {
    .textboxholder {
        overflow: visible;
    }

    .labelholder {
        width: 100%;
    }

    .detailholder {
        overflow: visible;
    }

    .infoholder {
        padding-bottom: 10px;
    }

    .nearposition {
        padding-left: 20px;
    }
}

@media screen and (max-width:760px) {
    .busstopitem {
        width: 240px;
    }

    #ddStops.filterdropdown {
        width: 75%;
    }
}

@media screen and (max-width:400px) {
    .busstopitem {
        width: calc(100vw - 150px);
    }
}

.subtext {
    margin-left: 0px;
}


/* collapsible area */
.servicestatus {
    margin-top: 10px;
}

    .servicestatus input[type='checkbox'] {
        display: none;
    }

    .servicestatus p {
        margin-top: 5px;
        margin-bottom: 5px;
    }

.servicestatusheader {
    font-weight: bold;
    font-family: Arial;
    font-size: 16px;
    text-transform: uppercase;
    text-align: center;
    color: #FFFFFF;
    background-color:#3c268c;
    padding: 2px;
}

.wrap-collapsible {
    margin-bottom: 2px;
}

.lbl-toggle {
    display: block !important;
    font-weight: bold;
    font-family: monospace;
    font-size: 16px;
    text-transform: uppercase;
    text-align: left;
    padding: 4px 4px 4px 10px;
    color: #222222;
    background: #fbd0d0;
    cursor: pointer;
}

    .lbl-toggle:hover {
        color: #444444;
        background: #eeb9b9;
    }

    .lbl-toggle::before {
        content: ' ';
        display: inline-block;
        border-top: 5px solid transparent;
        border-bottom: 5px solid transparent;
        border-left: 5px solid currentColor;
        vertical-align: middle;
        margin-right: .7rem;
        transform: translateY(-2px);
        transition: transform .2s ease-out;
    }

.collapsible-content .content-inner {
    background: rgba(250, 224, 66, .2);
    border-bottom: 1px solid rgba(250, 224, 66, .45);
    border-bottom-left-radius: 7px;
    border-bottom-right-radius: 7px;
    padding: 8px;
}

.collapsible-content {
    max-height: 0px;
    overflow: hidden;
    font-size: 14px;
    transition: max-height .25s ease-in-out;
}

.ins-toggle {
    display: inline-block;
}

.lbl-toggle::after {
    content: 'click here to show details';
    font-size: 80%;
    display: inline-block;
    margin-left: 16px;
}

.toggle:checked + .lbl-toggle + .collapsible-content {
    max-height: 100vh;
}

.toggle:checked + .lbl-toggle::before {
    transform: rotate(90deg) translateX(-3px);
}

.toggle:checked + .lbl-toggle {
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
}

    .toggle:checked + .lbl-toggle::after {
        content: 'click here to hide details';
    }
/* end of collapsible area */
@media screen and (min-width:550px) {
    .serviceoperatorhead {
        display: none;
    }
}

@media screen and (max-width:549px) {
    .serviceoperatorinline {
        display: none;
    }

    .serviceoperatorlogo {
        margin-left: 0px;
        margin-top: 10px;
        margin-bottom: 5px;
    }

        .serviceoperatorlogo img {
            max-height: 40px;
        }
}

.infolist {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    width: 100%;
}

    .infolist div {
        display: flex;
        flex-shrink: 1;
        width: calc(33% - 10px);
        margin-right: 10px;
        margin-bottom: 10px;
        vertical-align: top;
    }

        .infolist div a {
            width: 100%;
        }

@media screen and (max-width:900px) {
    .infolist div {
        width: calc(49% - 10px);
    }
}

@media screen and (max-width:620px) {
    .infolist div {
        width: 100%;
    }
}

.groupme {
    display: inline-block;
}
