/* =========================< Font-face >========================= */

@font-face {
    font-family: 'Roboto';
    font-weight: normal;
    src: url('../../fonts/Roboto-Regular.ttf'), url('../../fonts/Roboto-Regular.woff2') format('woff2'),
        url('../../fonts/Roboto-Regular.woff') format('woff');
}

@font-face {
    font-family: 'Roboto';
    font-weight: bold;
    src: url('../../fonts/Roboto-Bold.ttf'), url('../../fonts/Roboto-Bold.woff2') format('woff2'), url('../../fonts/Roboto-Bold.woff') format('woff');
}

/* =========================< Main layout css >========================= */

html,
body {
    overflow-x: hidden;
    background-color: var(--blank-page);
    position: relative;
    width: 100%;
    height: auto;
}

p {
    margin: 0px;
}

* {
    font-family: 'Roboto', Arial, Helvetica, sans-serif;
}

form,
.btn {
    outline: none !important;
}

/*For "a" without href (bootstrap dropdown elements, for exemple)*/

a:hover {
    cursor: pointer;
}

#layout {
    display: flex;
    flex: 1 0 100%;
}

.viewEncapsulator {
    display: none;
}

#wrapper {
    background-color: var(--blank-page);
    display: block;
    height: auto;
    min-height: 100vh;
    width: calc(100% - 250px);
}

#wrapper.full-width,
.side-nav-collapsed + #wrapper.full-width {
    width: 100%;
    margin-left: 0;
}

.side-nav-collapsed + #wrapper {
    width: calc(100% - 44px);
    margin-left: 44px;
}

.breadcrumb {
    padding-left: 33px;
}

.custom-breadcrumb {
    background-color: transparent;
    padding-bottom: 0;
    margin-bottom: 0;
}

/* Hide reCAPTCHA badge */
.grecaptcha-badge {
    visibility: hidden;
}

.check-list-container {
    display: flex;
    flex-direction: column;
    align-items: right;
    max-height: 200px;
    min-height: 50px;
    overflow-y: auto;
}

/*  TODO:: menu mobile */

/* ===< Small size layout >=== */

@media (max-width: 768px) {
    #wrapper {
        -webkit-transition: none;
        transition: none;
        left: 0px;
        width: 100%;
        margin-left: 0px;
    }
    #view-wrapper {
        -webkit-transition: none;
        transition: none;
        left: 0px;
        width: 100%;
    }
    .side-nav-collapsed + #wrapper {
        width: 100%;
        margin-left: 0px;
    }
}

/* ====================< Generic utilitary classes >==================== */

.noSelect {
    -webkit-touch-callout: none;
    /* iOS Safari */
    -webkit-user-select: none;
    /* Safari */
    -khtml-user-select: none;
    /* Konqueror HTML */
    -moz-user-select: none;
    /* Firefox */
    -ms-user-select: none;
    /* Internet Explorer/Edge */
    user-select: none;
    /* Non-prefixed version, currently supported by Chrome and Opera */
}

.makeItBold {
    font-weight: bold;
}

.text-center {
    text-align: center;
}

.float-right {
    float: right;
}

.nowrap {
    white-space: nowrap;
}

.inline {
    display: inline;
}

.spacer-25 {
    height: 25px;
}

.status-gray {
    color: var(--street-grey);
}

.status-lightgray {
    color: var(--diligent-grey);
}

.status-blue {
    color: var(--candy-blue);
}

.status-green {
    color: var(--leaf-green);
}

.status-yellow {
    color: var(--cheezy-fries);
}

.status-red {
    color: var(--party-red);
}

.background-gray {
    background-color: var(--street-grey);
}

.background-phantomGrey {
    background-color: var(--phantom-grey);
}

.background-blue {
    background-color: var(--candy-blue);
}

.background-green {
    background-color: var(--muffled-green);
}

.background-yellow {
    background-color: var(--cheezy-fries);
}

.background-red {
    background-color: var(--party-red);
}

.border-gray {
    border: solid var(--street-grey) 1px;
}

.border-blue {
    border: solid var(--candy-blue) 1px;
}

.border-yellow {
    border: solid var(--cheezy-fries) 1px;
}

.border-green {
    border: solid var(--leaf-green) 1px;
}

.border-red {
    border: solid var(--party-red) 1px;
}

.whiteColorFill {
    fill: var(--truly-white);
}

.whiteColorStroke {
    stroke: var(--truly-white);
}

/* =========================< Generic elements >========================= */

.alert-link {
    text-decoration: underline;
}

input {
    display: block;
    font-size: 17px;
    background-color: var(--truly-white) !important;
    padding: 5px 10px;
    border-radius: 4px;
    border: 1px solid var(--diligent-grey);
    color: var(--deep-grey);
    -webkit-transition: border-color 0.25s ease, box-shadow 0.25s ease;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

input:focus {
    border: 1px solid var(--candy-blue);
    box-shadow: none !important;
    outline: none;
}

.select-default {
    display: block;
    font-size: 17px;
    background-color: var(--truly-white) !important;
    padding: 5px 10px;
    border-radius: 4px;
    border: 1px solid var(--diligent-grey);
    color: var(--deep-grey);
    -webkit-transition: border-color 0.25s ease, box-shadow 0.25s ease;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.select-default:hover {
    cursor: pointer;
}

.select-default:focus {
    border: 1px solid var(--candy-blue);
    box-shadow: none !important;
}

.validatedInput {
    border: 1px solid var(--muffled-green) !important;
}

.errorInput {
    border: 1px solid var(--party-red) !important;
}

textarea {
    display: block;
    font-size: 17px;
    background-color: var(--truly-white) !important;
    padding: 5px 10px;
    border-radius: 4px;
    border: 1px solid var(--diligent-grey);
    color: var(--deep-grey);
    resize: none;
    overflow: auto;
    -webkit-transition: border-color 0.25s ease, box-shadow 0.25s ease;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

textarea:focus {
    border: 1px solid var(--candy-blue);
    box-shadow: none !important;
    outline: none;
}

.button {
    border: 0;
    outline: none;
    border-radius: 4px;
    padding: 10px;
    background: var(--candy-blue);
    font-size: 17px;
    color: var(--bubble-white);
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

.button:hover,
.button:focus,
.button:active {
    background: var(--sea-blue);
    color: var(--bubble-white);
}

.btn-disabled {
    color: var(--street-grey) !important;
    pointer-events: none;
}

.button--secondary {
    border: 1px solid var(--candy-blue);
    color: var(--candy-blue);
    background-color: transparent;
}

.linkButton {
    border: 0;
    outline: none;
    border-radius: 4px;
    padding: 10px;
    background: var(--candy-blue);
    font-size: 17px;
    font-weight: bold;
    color: var(--bubble-white);
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

.linkButton:hover {
    background: var(--sea-blue);
    color: var(--bubble-white);
    cursor: pointer;
    text-decoration: none;
}

.linkButton:focus {
    color: var(--bubble-white);
    text-decoration: none;
}

.filterButton {
    display: inline-block;
    padding: 6px 12px;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.42857143;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    -ms-touch-action: manipulation;
    touch-action: manipulation;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-image: none;
    border: solid var(--diligent-grey) 1px;
    border-radius: 4px;
    background-color: var(--truly-white);
    color: var(--deep-grey);
    -moz-transition: all 0.25s ease;
    -ms-transition: all 0.25s ease;
    -webkit-transition: all 0.25s ease;
    -o-transition: all 0.25s ease;
    transition: all 0.25s ease;
}

.filterButton:hover {
    background-color: var(--candy-blue);
    border: 1px solid transparent;
    color: var(--truly-white);
}

.filterButton.disabled {
    background-color: var(--umbra-grey);
    border-color: var(--umbra-grey);
}

.filterButtonClicked {
    background-color: var(--candy-blue);
    border: solid transparent 1px;
    color: var(--blank-page);
}

.favourite-icon {
    font-size: 15px;
    opacity: 0.3;
}

.favourite-icon:hover {
    cursor: pointer;
    color: var(--cheezy-fries);
    opacity: 1;
}

.favourite-icon--active {
    color: var(--cheezy-fries);
    opacity: 1;
}

.panel__heading__favourite-icon {
    margin: 0 10px 0 10px;
}

.notificationsIconInPanelHead {
    float: right;
    padding: 3px 0 0 5px;
}

.bulletCircle {
    font-size: 7px;
    vertical-align: middle;
    padding-right: 1px;
}

.selectInput {
    display: inline-block;
    width: 300px;
    max-width: calc(100% - 50px);
    margin: 10px;
    margin-top: 20px;
    margin-bottom: 30px;
}

.selectInput__button {
    width: 20px;
    height: 20px;
    border-radius: 15px;
    border: 0;
    padding: 0;
    margin: 0;
    font-size: 12px;
}

.selectInput__button--add {
    background-color: var(--muffled-green);
    color: var(--truly-white);
}

.button--remove {
    background-color: var(--party-red);
    color: var(--truly-white);
}

.selectInput__button--remove {
    background-color: var(--party-red);
    color: var(--truly-white);
    margin-left: 10px;
}

.selectInput__button--disabled {
    background-color: var(--umbra-grey);
    color: var(--truly-white);
}

/* ===============< PANELS >============== */

.panel__table tbody tr td,
.panel__table.route-info-stops-table tbody tr td.route-info-stops-table__stop-name-column,
#resources-body .panel__table tbody tr td,
#trip-changes__table.panel__table tbody tr td {
    padding: 8px 8px 8px 15px !important;
}

.panel__table.table-bordered-custom tbody tr td {
    padding: 0.75rem !important;
}

.panel__heading__title {
    display: inline;
    color: var(--deep-grey);
    font-weight: bold;
    font-size: 15px;
}

.panel__heading__title--nowrap {
    white-space: nowrap;
    display: inline;
    color: var(--deep-grey);
    font-weight: bold;
    font-size: 15px;
}

.panel__heading__title--flex {
    display: flex;
    align-items: center;
    color: var(--deep-grey);
    font-weight: bold;
    font-size: 15px;
}

.panel__heading__title .glyphicon-th-list {
    right: 5px;
}

.panel-heading {
    background-color: var(--truly-white);
    border-color: var(--diligent-grey);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.panel__content {
    border-color: var(--diligent-grey);
}

.panel__content__body {
    padding: 0px;
    min-width: auto;
}

.panel__content__error__input {
    border-color: var(--party-red);
}

.panel__table {
    margin-bottom: 0px;
}

.panel__table th {
    background: none;
}

.panel__table tr {
    background-color: var(--truly-white);
}

.user-infoTable {
    margin: 0;
    border-bottom: solid var(--diligent-grey) 1px;
}

.user-infoTable:nth-of-type(even) {
    background-color: rgba(0, 0, 0, 0.05);
}

th {
    text-align: center;
}

table th.sortable.sort-desc {
    background: none;
}

table th.sortable.sort-asc {
    background: none;
}

.panel__heading__form input:disabled {
    background-color: var(--phantom-grey) !important;
    pointer-events: none;
}
.table-responsive,
/* When the routes table has no or few data, we need to enable the scroll on the .routes__table itself 
    and not .table-responsive, which is applied to the parent panel and needs to have a visible overflow
    for the routes page filter dropdown */
.table-responsive.routes__table-no-data .routes__table,
.table-responsive.routes__table__few-data .routes__table {
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
}

/* When the routes table has no or few data, we need to make the overflow visible on the .table-responsive
    element to be able to see the filter dropdown */
.table-responsive.routes__table-no-data,
.table-responsive.routes__table__few-data {
    overflow-x: visible;
    overflow-y: visible;
}

/* When the disciplinary table has no or few data, we need to make the overflow visible on the .table-responsive
    element to be able to see the filter dropdown */
.table-responsive.visible {
    overflow-x: visible;
    overflow-y: visible;
}

.table--sortable-header:hover {
    cursor: pointer;
    background-color: var(--phantom-grey);
}

.card table tr:last-child td {
    border-radius: 0.25rem !important;
}

.panel__table__cell {
    border: 0;
    padding: 10px;
    text-align: center;
    vertical-align: middle !important;
}

.panel__table__cell--heavy-border {
    border-bottom: 2px solid #ddd;
}

.panel__table__cell--padded {
    padding: 1em !important;
    border: 0;
    text-align: center;
    vertical-align: middle !important;
}

.panel__table__cell--padded-right {
    padding: 1em !important;
    border: 0;
    text-align: right;
    vertical-align: middle !important;
}

.panel__table__cell--align-left {
    padding: 1em !important;
    border: 0;
    text-align: left;
    vertical-align: middle !important;
}

.panel__table__cell--padded-not-centered {
    padding: 1em !important;
    border: 0;
}

.panel__table__cell__content--flex {
    display: flex;
    justify-content: center;
    align-items: center;
}

.panel--single-page {
    margin: 20px 10px;
}

.panel--single-page-full-width {
    margin: 20px 0px;
}

.panel--single-page-with-date-bar {
    margin-top: 0px;
    margin-bottom: 20px;
    margin-left: 10px;
    margin-right: 10px;
}

.panel__heading__button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 33.5px;
    line-height: 33.5px;
    text-decoration: none;
    color: var(--deep-grey);
    background-color: var(--truly-white);
    border: solid var(--diligent-grey) 1px;
    border-radius: 3px;
    text-align: center;
    -webkit-transition: all 0.5s ease;
    transition: all 0.5s ease;
    font-size: 18px;
}

.panel__heading__button--wide {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 150px;
    height: 33.5px;
    line-height: 33.5px;
    text-decoration: none;
    color: var(--deep-grey);
    background-color: var(--truly-white);
    border: solid var(--diligent-grey) 1px;
    border-radius: 3px;
    text-align: center;
    -webkit-transition: all 0.5s ease;
    transition: all 0.5s ease;
    gap: 10px;
}

.panel__heading__button:disabled,
.panel__heading__button:disabled:hover,
.panel__heading__button:disabled:active,
.panel__heading__button:disabled:focus {
    background-color: var(--phantom-grey);
    cursor: not-allowed;
}

.panel__heading__buttonLabel {
    font-size: 15px;
}

.panel__heading__button:hover,
.panel__heading__button:active,
.panel__heading__button:focus {
    cursor: pointer;
    background-color: var(--phantom-grey);
    text-decoration: none;
    color: var(--deep-grey);
}

.panel__heading__button--wide:hover {
    cursor: pointer;
    background-color: var(--phantom-grey);
    text-decoration: none;
    color: var(--deep-grey);
}

.panel__no-data-box {
    min-width: 200px;
    width: 70%;
    padding: 25px;
    margin: 20px auto;
    background-color: var(--phantom-grey);
    border-radius: 5px;
    text-align: center;
    font-weight: bold;
}

/* CARDS */

.card__header--white {
    background-color: var(--truly-white);
    margin-bottom: 5px;
}

/* TABLES */

.sortIcon {
    cursor: pointer;
    margin-left: 5px;
}

.inactiveSortIcon {
    color: var(--street-grey);
}

.tableSortableHeader {
    cursor: pointer;
}

.tableSortableHeader p {
    margin-bottom: 0px;
}

.tableUnsortableHeader {
    cursor: default;
}

.tableUnsortableHeader p {
    margin-bottom: 0px;
}

.table p {
    margin: 0px;
}

.table-noHeader thead {
    display: none;
}

.table-bordered-custom th,
.table-bordered-custom tr td {
    border-left: 1px solid;
    border-color: var(--border-grey);
}

.table-bordered-custom th:first-child,
.table-bordered-custom tr td:first-child {
    border-left: 0;
}

.statusTextBox {
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid;
    border-radius: 5px;
    height: 30px;
    color: var(--bubble-white);
    font-weight: bold;
    margin: 0 8px;
}

.statusText {
    min-width: 120px;
    white-space: nowrap !important;
    text-align: center;
    padding: 2px;
}

/*Toggle Switches*/

/* The switch - the box around the slider */

.switch {
    position: relative;
    display: inline-block;
    width: 45px;
    height: 20px;
    margin-top: 15px;
}

/* Hide default HTML checkbox */

.switch input {
    display: none;
}

/* The slider */

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--diligent-grey);
    -webkit-transition: 0.4s;
    transition: 0.4s;
}

.slider:before {
    position: absolute;
    content: '';
    height: 12px;
    width: 12px;
    left: 4px;
    bottom: 4px;
    background-color: var(--truly-white);
    -webkit-transition: 0.4s;
    transition: 0.4s;
}

.slider-gray {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--diligent-grey);
    -webkit-transition: 0.4s;
    transition: 0.4s;
}

.slider-gray:before {
    position: absolute;
    content: '';
    height: 12px;
    width: 12px;
    left: 4px;
    bottom: 4px;
    background-color: var(--truly-white);
    -webkit-transition: 0.4s;
    transition: 0.4s;
}

input:checked + .slider-gray:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
}

input:checked + .slider {
    background-color: var(--candy-blue);
}

input:focus + .slider {
    box-shadow: 0 0 1px var(--candy-blue);
}

input:checked + .slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
}

/* Rounded sliders */

.slider.sliderRound {
    border-radius: 34px;
}

.slider.sliderRound:before {
    border-radius: 50%;
}

input:disabled + .slider {
    background-color: var(--phantom-grey);
    cursor: not-allowed;
}

/* ===================================< Footers >=================================== */

.footer-default {
    align-self: flex-end;
    text-align: center;
    padding-bottom: 15px;
    padding-top: 10px;
}

.footer {
    text-align: center;
}

.footer-default p {
    margin: 25px;
}

/* ==================================< PAGINATION >================================== */

.pagination-leftButton span {
    position: relative;
    left: -1px;
}

.pagination-rightButton span {
    position: relative;
    right: -1px;
}

.pagination-repeat-container {
    display: inline-block;
}

.pagination-button {
    display: inline-block;
    text-align: center;
    margin: 5px;
    font-size: 15px;
    height: 40px;
    width: 40px;
    background-color: var(--truly-white);
    border: solid var(--candy-blue) 1px;
    border-radius: 50px;
    text-decoration: none !important;
    color: var(--candy-blue);
    -webkit-transition: all 0.25s ease;
    transition: all 0.25s ease;
}

.pagination-button span {
    position: relative;
    top: 10px;
}

.pagination-button:hover,
.pagination-button-active {
    background-color: var(--sea-blue);
    color: var(--bubble-white);
}

/* ===========================< dropdowns >=========================== */

.dropdown {
    position: absolute;
    top: 100%;
    z-index: 1000;
    float: left;
    min-width: 260px;
    padding: 0;
    margin-top: 5px;
    font-size: 14px;
    text-align: left;
    list-style: none;
    background-color: var(--truly-white);
    -webkit-background-clip: padding-box;
    background-clip: padding-box;
    border: 1px solid var(--diligent-grey);
    border-radius: 4px;
    -webkit-box-shadow: 0 6px 12px var(--umbra-grey);
    box-shadow: 0 6px 12px var(--umbra-grey);
}

.dropdown-collapsibleSectionHeader {
    display: block;
    background-color: var(--truly-white);
    border-bottom: solid var(--umbra-grey) 1px;
    padding-left: 0px;
    padding-right: 0px;
}

.dropdown-headerText {
    text-align: center;
    -webkit-touch-callout: none;
    /* iOS Safari */
    -webkit-user-select: none;
    /* Safari */
    -khtml-user-select: none;
    /* Konqueror HTML */
    -moz-user-select: none;
    /* Firefox */
    -ms-user-select: none;
    /* Internet Explorer/Edge */
    user-select: none;
    /* Non-prefixed version, currently supported by Chrome and Opera */
}

.dropdown-checkbox:hover {
    cursor: pointer !important;
}

.dropdown-buttons:focus,
.dropdown-buttons:active,
.dropdown-buttonsSelected,
.dropdown-buttonsSelected:hover {
    background-color: var(--sea-blue);
    color: var(--bubble-white);
}

.dropdown-optionText {
    -webkit-touch-callout: none;
    /* iOS Safari */
    -webkit-user-select: none;
    /* Safari */
    -khtml-user-select: none;
    /* Konqueror HTML */
    -moz-user-select: none;
    /* Firefox */
    -ms-user-select: none;
    /* Internet Explorer/Edge */
    user-select: none;
    /* Non-prefixed version, currently supported by Chrome and Opera */
}

.dropdown-optionCheckbox {
    position: relative;
    top: 3px;
    text-align: right;
}

.dropdown-clickableLine {
    padding-top: 5px;
}

.dropdown-clickableLine:hover {
    background-color: var(--phantom-grey);
    cursor: pointer;
}

/* ===========================< Generic class >=========================== */

.pageTitle {
    text-align: center;
    font-size: 30px;
    padding: 15px;
    margin: 0px;
}

.pageSubtitle {
    text-align: center;
    font-size: 23px;
    padding: 15px;
    margin: 0px;
}

.darkLink {
    color: var(--deep-grey);
}

.image-thumbnail {
    width: 85px;
    height: 85px;
}

/* =========================< Generic animations >========================= */

/* ============================< STATUS BLINKING >============================ */

@keyframes highlight-red {
    0% {
        background: var(--party-red);
    }
    100% {
        background: none;
    }
}

@keyframes highlight-yellow {
    0% {
        background: var(--cheezy-fries);
    }
    100% {
        background: none;
    }
}

@keyframes highlight-blue {
    0% {
        background: var(--candy-blue);
    }
    100% {
        background: none;
    }
}

.highlight-red {
    animation: highlight-red 2s;
}

.highlight-yellow {
    animation: highlight-yellow 2s;
}

.highlight-blue {
    animation: highlight-blue 2s;
}

/* ============================< STATUS BLINKING >============================ */

@keyframes blinker {
    50% {
        opacity: 0;
    }
}

@keyframes blinker {
    50% {
        opacity: 0;
    }
}

/* Firefox < 16 */

@-moz-keyframes blinker {
    50% {
        opacity: 0;
    }
}

/* Safari, Chrome and Opera > 12.1 */

@-webkit-keyframes blinker {
    50% {
        opacity: 0;
    }
}

/* Internet Explorer */

@-ms-keyframes blinker {
    50% {
        opacity: 0;
    }
}

/* Opera < 12.1 */

@-o-keyframes blinker {
    50% {
        opacity: 0;
    }
}

.status-slowBlink {
    -webkit-animation: blinker 1s linear infinite;
    /* Safari, Chrome and Opera > 12.1 */
    -moz-animation: blinker 1s linear infinite;
    /* Firefox < 16 */
    -ms-animation: blinker 1s linear infinite;
    /* Internet Explorer */
    -o-animation: blinker 1s linear infinite;
    /* Opera < 12.1 */
    animation: blinker 1s linear infinite;
}

.status-alertBlink {
    -webkit-animation: blinker 0.25s linear 12;
    /* Safari, Chrome and Opera > 12.1 */
    -moz-animation: blinker 0.25s linear 12;
    /* Firefox < 16 */
    -ms-animation: blinker 0.25s linear 12;
    /* Internet Explorer */
    -o-animation: blinker 0.25s linear 12;
    /* Opera < 12.1 */
    animation: blinker 0.25s linear 12;
}

/* ============================< FADE IN >============================ */

@keyframes fadein {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Firefox < 16 */

@-moz-keyframes fadein {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Safari, Chrome and Opera > 12.1 */

@-webkit-keyframes fadein {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Internet Explorer */

@-ms-keyframes fadein {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Opera < 12.1 */

@-o-keyframes fadein {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.fadeIn {
    -webkit-animation: fadein 2s;
    /* Safari, Chrome and Opera > 12.1 */
    -moz-animation: fadein 2s;
    /* Firefox < 16 */
    -ms-animation: fadein 2s;
    /* Internet Explorer */
    -o-animation: fadein 2s;
    /* Opera < 12.1 */
    animation: fadein 2s;
}

/* ============================< FADE OUT >============================ */

@keyframes fadeout {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}

/* Firefox < 16 */

@-moz-keyframes fadeout {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}

/* Safari, Chrome and Opera > 12.1 */

@-webkit-keyframes fadeout {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}

/* Internet Explorer */

@-ms-keyframes fadeout {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}

/* Opera < 12.1 */

@-o-keyframes fadeout {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}

.fadeOut {
    -webkit-animation: fadeout 2s;
    /* Safari, Chrome and Opera > 12.1 */
    -moz-animation: fadeout 2s;
    /* Firefox < 16 */
    -ms-animation: fadeout 2s;
    /* Internet Explorer */
    -o-animation: fadeout 2s;
    /* Opera < 12.1 */
    animation: fadeout 2s;
}

/* ============================< FADE OUT BORDER-RED >============================ */

@keyframes fadeout-border-red {
    from {
        box-shadow: 0 0 2pt 1pt var(--party-red);
    }
    to {
        box-shadow: 0 0 2pt 1pt transparent;
    }
}

/* Firefox < 16 */

@-moz-keyframes fadeout-border-red {
    from {
        box-shadow: 0 0 2pt 1pt var(--party-red);
    }
    to {
        box-shadow: 0 0 2pt 1pt transparent;
    }
}

/* Safari, Chrome and Opera > 12.1 */

@-webkit-keyframes fadeout-border-red {
    from {
        box-shadow: 0 0 2pt 1pt var(--party-red);
    }
    to {
        box-shadow: 0 0 2pt 1pt transparent;
    }
}

/* Internet Explorer */

@-ms-keyframes fadeout-border-red {
    from {
        box-shadow: 0 0 2pt 1pt var(--party-red);
    }
    to {
        box-shadow: 0 0 2pt 1pt transparent;
    }
}

/* Opera < 12.1 */

@-o-keyframes fadeout-border-red {
    from {
        box-shadow: 0 0 2pt 1pt var(--party-red);
    }
    to {
        box-shadow: 0 0 2pt 1pt transparent;
    }
}

.fadeout-border-red {
    -webkit-animation: fadeout-border-red 1s;
    /* Safari, Chrome and Opera > 12.1 */
    -moz-animation: fadeout-border-red 1s;
    /* Firefox < 16 */
    -ms-animation: fadeout-border-red 1s;
    /* Internet Explorer */
    -o-animation: fadeout-border-red 1s;
    /* Opera < 12.1 */
    animation: fadeout-border-red 1s;
}

/** Helpers **/

.text-red {
    color: var(--party-red);
}

tr.text-red td {
    color: var(--party-red);
}

.text-blue {
    color: var(--candy-blue);
}

.text-green {
    color: var(--leaf-green);
}

.fz-16 {
    font-size: 16px;
}

/**
    Stops accordion layout, in layout.css cause its reused
**/

.pointer {
    cursor: pointer;
}

.display-stop-toggle {
    float: right;
    font-size: 20px;
}

.display-accordion-toggle {
    float: left;
    font-size: 15px;
    margin-right: 10px;
    margin-top: 2px;
}

.stops-student-list {
    width: 100%;
    text-align: center;
}

.table .list + tr > td {
    padding: 0;
    -webkit-transition: all 0.2s ease;
    transition: all 0.2s ease;
}

.route-info-stops-table > tbody > tr:nth-child(odd) > td {
    padding: 0px !important;
}

.stop-list.pointer:hover > td {
    background-color: var(--phantom-grey);
}

#stopAccordion tr:not(.stop-list) thead tr th:nth-of-type(1) {
    width: 15%;
}

#stopAccordion tr:not(.stop-list) thead tr th:nth-of-type(3),
#stopAccordion tr:not(.stop-list) thead tr th:nth-of-type(4),
#stopAccordion tr:not(.stop-list) thead tr th:nth-of-type(2) {
    width: 20%;
}

#stopAccordion tr:not(.stop-list) thead tr th:nth-of-type(5) {
    width: 25%;
}

.stop-list > td:not(.collapsed) {
    background-color: var(--truly-white);
}

#stopAccordion.panel__table > tbody tr th:nth-of-type(1) {
    width: 50%;
}

.collapsablePanel .collapsing {
    pointer-events: none;
}

.bus-icon {
    content: url('../../../img/ui/icons8-bus-24.png');
    height: 15px;
    width: 15px;
}

.stop-list span.glyphicon {
    float: left;
    color: var(--deep-grey);
}

.stops-student-list > table {
    margin: 10px 20px 15px 20px;
    width: calc(100% - 40px);
}

.stops-student-list > table th:nth-child(1),
.stops-student-list > table th:nth-child(2) {
    width: 20%;
}

.stops-student-list > table th:nth-child(3),
.stops-student-list > table th:nth-child(4) {
    width: 30%;
}

.stops-student-list > table tbody tr td {
    vertical-align: middle;
}

.stops-student-list > table td img.image-thumbnail {
    width: 75px;
    height: 75px;
}

.routes-stopPickup {
    width: 35px;
}

.routes-stopDrop {
    width: 35px;
}

.routes__stop__student-count {
    font-size: 22px;
}

/* Modal confirmation */

.confirmation-text {
    white-space: pre-line;
    padding: 0px 15px 0px;
}

.fa-disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* ===============< Icon Toggle component >============== */

.icon__toggle {
    cursor: pointer;
}

.icon__toggle .red__icon {
    color: var(--party-red);
}

/* ===============< Radio Toggle Notifications component >============== */

.radio-toggle-notifications--flexbox {
    display: flex;
    justify-content: start;
    align-items: center;
}

/* ===============< Minus Icon >============== */

.minus-icon_grey {
    cursor: not-allowed;
}

/* ===============< Route statuses >============== */

.statusTextBox__inProgress {
    background: var(--sea-blue);
    border: 1px solid var(--sea-blue);
}

.statusTextBox__incomplete {
    background: var(--danger-orange);
    border: 1px solid var(--danger-orange);
}

.statusTextBox__completed {
    background: var(--leaf-green);
    border: 1px solid var(--leaf-green);
}

.statusTextBox__planned {
    background: var(--diligent-grey);
    border: 1px solid var(--diligent-grey);
}

.statusTextBox__cancelled {
    background: var(--party-red);
    border: 1px solid var(--party-red);
}

.statusTextBox__unplanned {
    border: 1px solid var(--deep-grey);
    color: var(--deep-grey);
}

.statusTextBox__grey {
    background: var(--street-grey);
}
.statusTextBox__onDuty {
    background: var(--muffled-green);
}
.statusTextBox__yellow {
    background: var(--cheezy-fries);
}

.statusIcon {
    margin: 0px 2px 0px 6px;
    height: 16px;
}
