/*****************
    COLORS:
        bg-light: #EDF2F2
        bg-blue: #D6EAEA
        primary-color: #FF0000
        primary-hover: #BB0000
        text-primary: #323635
        text-secondary: #929191
******************/

@font-face {
    font-family: Roboto;
    src: url(../font/Roboto-Regular.ttf);
}

@font-face {
    font-family: Roboto;
    src: url(../font/Roboto-Medium.ttf);
    font-weight: 500;
}

@font-face {
    font-family: Roboto;
    src: url(../font/Roboto-Bold.ttf);
    font-weight: 700;
}

/** {
    outline: solid 1px red;
}*/

html {
    height: 100%;
    font-size: 16px;
    color: #323635;
}

h1, h2, h3, h4, h5 {
    font-family: Roboto, 'Times New Roman', Arial, sans-serif;
}

a, a:hover, a:active {
    color: #BB0000;
}

    a:hover {
        text-decoration: none;
    }

body {
    font-family: Roboto, Arial, sans-serif;
    min-height: 100vh;
    background-color: #EDF2F2;
    display: flex;
    flex-direction: column;
}

header {
    min-height: 95px;
    z-index: 1000;
}

main {
    margin-top: 20px;
}

footer {
    background-color: #EDF2F2;
}

/* Page content. The value of the margin-left property should match the value of the sidebar's width property */
.content {
    margin-left: 310px;
    padding: 10px 20px 20px 20px;
}

.desktop-nav, .desktop-brand {
    display: block;
}

.mobile-nav {
    display: none;
}

.navbar {
    color: #323635;
    height: 95px;
    width: 100%;
    position: fixed;
    background: #FBFCFE;
    box-shadow: #0000001A 0 3px 6px;
}

.nav-icon {
    width: 1.5rem;
    height: auto;
}

.navbar-brand {
    color: #323635;
    font-size: 34px;
    font-weight: 700;
    margin-left: 40px;
}

.navbar-sub-header {
    font-size: 20px;
    font-weight: 400;
    line-height: 20px;
}

/* The side navigation menu */
.sidebar-nav {
    margin: 95px 20px 0 0;
    padding: 0;
    width: 310px;
    background-color: #323635;
    position: fixed;
    left: 0;
    top: 0;
    height: calc(100% - 95px);
    overflow: visible;
    display: flex;
    flex-direction: column;
}

.sidebar-links {
    margin-bottom: auto;
}

    /* Sidebar links */
    .sidebar-links a {
        font-size: 20px;
        font-weight: 400;
        display: block;
        color: white;
        padding: 20px;
        text-decoration: none;
    }

        .sidebar-links a:focus, .sidebar-links a:active {
            color: white;
        }

        /* Active/current link */
        .sidebar-links a.active {
            background-color: #202222;
            color: white;
        }

        /* Links on mouse-over */
        .sidebar-links a:hover:not(.active) {
            background-color: #2022225c;
            color: white;
        }

    .sidebar-links .active::after {
        border-bottom: 35px solid rgba(0, 0, 0, 0);
        border-left: 10px solid #202222;
        border-top: 35px solid rgba(0, 0, 0, 0);
        content: "";
        position: absolute;
        left: 310px;
        margin-top: -17px;
    }

.sidebar-logo {
    width: auto;
    height: 100px;
    margin: 40px auto;
}

    .sidebar-logo img {
        object-fit: contain;
        height: 100%;
    }

.offcanvas-body {
    overflow-y: unset;
}

.language-select {
    background: #202222;
    width: 100%;
    padding: 16px;
    color: #FFFFFF;
}

/* On screens that are less than 750px wide, swap to mobile version */
/***************************
     MOBILE NAV STYLES
****************************/
@media only screen and (max-width: 750px) {
    html {
        font-size: 16px;
    }

    header {
        min-height: 74px;
    }

    .desktop-nav, .desktop-brand {
        display: none;
    }

    .mobile-nav {
        display: block;
        width: 100%;
    }

    .content {
        margin-left: 0;
        padding: 20px 6px;
    }

    .navbar {
        min-height: 74px;
    }

    .navbar-brand {
        font-size: 22px;
        margin: 0px;
        padding: 0 10px;
    }

    .navbar-header {
        white-space:break-spaces;
    }

    .navbar-sub-header {
        font-size: 12px;
    }

    .navbar-toggler {
        border: none;
    }

    .offcanvas {
        background-color: #323635;
        color: #fff;
    }

    .offcanvas-end {
        width: unset;
    }

    .offcanvas-header {
        padding: 14px;
    }

    .offcanvas-body {
        padding: 0px;
        display: flex;
        flex-direction: column;
    }

    .offcanvas-header .mobile-nav-header-link {
        padding: 12px;
    }

    /********** MOBILE NAV START **********/

    .mobile-nav-links > .nav {
        flex-direction: column;
    }

    .mobile-nav-links {
        flex: 1;
    }

        .mobile-nav-links > .nav > .nav-link {
            padding: 14px 28px;
            font-size: 16px;
            color: white;
        }

            .mobile-nav-links > .nav > .nav-link.active {
                background-color: #202222;
            }

            .mobile-nav-links > .nav > .nav-link:active, .mobile-nav-links > .nav > .nav-link:focus, .mobile-nav-links > .nav > .nav-link:hover {
                color: white;
            }

    .mobile-logo {
        width: auto;
        height: 70px;
        margin: 20px auto;
    }

    .mobile-footer {
        font-size: 12px;
    }

        .mobile-footer a {
            color: white;
        }

            .mobile-footer a:active, .mobile-footer a:focus, .mobile-footer a:hover {
                color: white;
                text-decoration: none;
            }

    /********** MOBILE NAV END **********/

}

/*******************************
 *     MAIN CONTENT STYLES     *
 *******************************/

/********** BUTTONS START **********/

.btn {
    border: none;
}

.btn-full {
    width: 100%;
}

.btn-primary {
    color: #FFFFFF;
    font-weight: 700;
    background-color: #FF0000;
    border-color: #FF0000;
}

    .btn-primary:hover, .btn-primary:active, .btn-primary:focus, .btn-primary:focus-visible {
        color: #FFFFFF;
        background-color: #BB0000 !important;
        border-color: #BB0000 !important;
    }

.btn-secondary {
    font-weight: 700;
    background-color: #323635;
    border-color: #323635;
}

    .btn-secondary:hover, .btn-secondary:active, .btn-secondary:focus, .btn-secondary:focus-visible {
        background-color: #000000;
        border-color: #000000;
    }

.btn-outline-secondary {
    font-weight: 700;
    color: #323635;
    border: 2px solid #323635;
}

    .btn-outline-secondary:hover, .btn-outline-secondary:active, .btn-outline-secondary:focus, .btn-outline-secondary:focus-visible {
        background-color: #323635;
        border-color: #323635;
    }

.btn-rounded {
    border-radius: 40px;
}

.btn-dropshadow {
    box-shadow: 0px 3px 5px rgb(153, 178, 190);
}

.btn-language {
    font-weight: 400;
    color: #FFFFFF;
}

    .btn-language:active, .btn-language:hover {
        font-weight: 700;
    }

.btn-check:checked + .btn, .btn-check:hover + .btn {
    font-weight: 700;
    color: #FFFFFF;
    border: none;
    text-decoration: underline;
}

.btn-text {
    color: #FF0000;
    font-weight: 700;
    padding: 0;
}

    .btn-text:hover, .btn-text:active, .btn-text:focus, .btn-text:focus-visible {
        color: #BB0000;
        text-decoration: underline;
    }

.btn-usage {
    background-color: #323635;
    color: white;
    border-radius: 40px;
    padding: 8px 20px;
}
    .btn-usage:hover, .btn-usage:active, .btn-usage:focus {
        background-color: white;
        color: #323635;
        border: 2px #323635 solid;
        border-radius: 40px;
        padding: 7px 20px;
    }

/********** BUTTONS END **********/

.nav-tabs {
    border-bottom: none;
}

    .nav-tabs .nav-link {
        border-left: none;
        border-top: none;
        border-right: none;
        border-bottom: 2px solid #757575;
        color: #757575;
    }

        .nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link.active {
            border-left: none;
            border-top: none;
            border-right: none;
            border-bottom: 4px solid #323635;
            color: #323635;
            font-weight: 700;
        }

.redDivider {
    opacity: 100;
    border-top: #FF0000 3px solid;
    width: 25%;
    max-width: 150px;
}

.card {
    border: none;
    box-shadow: #0000001A 0 3px 6px;
    color: #323635;
}

.card-header {
    background-color: #323635;
    color: white;
    padding: 12px 16px;
    font-size: 16px;
    min-height:78px;
    align-items: center;
}

.card-title-cardnumber {
    font-weight: 500;
}

.card-subtitle-cardnumber {
    font-weight: 700;
    letter-spacing: .25px;
}

.search-input {
    border: 1px #323635 solid;
    border-radius: 10px;
}
    .search-input>span.input-group-text{
        background:transparent;
        border:none;
    }
    .search-input>input.form-control{
        background:transparent;
        border:none;
    }

.btn-search {
    border-left: 1px solid #323635;
}
    .btn-search:hover, .btn-search:active, .btn-search:focus {
        background-color: #323635;
        color: white;
    }

.overflow-elipses {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.oddRow {
    background-color: #EDF2F2;
}

.evenRow {
    background-color: #FFFFFF;
}

/********** PASSAGE DETAIL START **********/

.passageDetail {
    border-left: 3px solid #FF0000;
}

.pd-month-label {
    background-color: #323635;
    font-weight: 700;
    color: #FFFFFF;
    text-transform: uppercase;
    width: 100%;
    display: flex;
    align-content: baseline;
    justify-content: space-between;
    padding: 12px 10px 4px 10px;
    margin: 2px auto;
}
/*    a.pd-month-label{
        text-decoration: none;
        color: #FFFFFF;
    }*/

.pd-activity-label {
    font-weight: 700;
}

.pd-date-label {
    min-width: 2.75rem;
    font-weight: 700;
    font-size: 14px;
    color: #FF0000;
}

.pd-transaction-date-label {
    min-width: 1.5rem;
    color: #FF0000;
}

.pd-date {
    font-size: 14px;
}

.pd-usage-label {
    font-weight: 700;
    font-size: 12px;
    color: #FF0000;
    text-transform: uppercase;
}

.pd-usage {
    font-weight: 700;
    font-size: 20px;
}

.pd-transaction-collapse-btn[aria-expanded=false] .pd-transaction-more-label, .pd-month-collapse-btn[aria-expanded=false] .pd-month-more-label {
    display: inline-block;
}
.pd-transaction-collapse-btn[aria-expanded=false] .pd-transaction-less-label, .pd-month-collapse-btn[aria-expanded=false] .pd-month-less-label {
    display: none;
}

.pd-transaction-collapse-btn[aria-expanded=true] .pd-transaction-more-label, .pd-month-collapse-btn[aria-expanded=true] .pd-month-more-label {
    display: none;
}
.pd-transaction-collapse-btn[aria-expanded=true] .pd-transaction-less-label, .pd-month-collapse-btn[aria-expanded=true] .pd-month-less-label {
    display: inline-block;
}

/********** PASSAGE DETAIL END **********/

.c-number-label {
    min-width: 8rem;
}

.c-unlink-card-btn {

}

/*.p-receipt {
    border-top: 1px #323635 solid;
    border-bottom: 1px #323635 solid;
}*/

/****************************
     MOBILE PAGE CONTENT
*****************************/
@media only screen and (max-width: 750px) {
    .btn-mobile-full {
        width: 100%;
    }
}


/****************************
        MODAL STYLES
*****************************/

.modal-header{
    display: flex;
    align-content:center;
    border:none;
}

.modal-title {
    flex-grow: 1;
    text-align: center;
}

.modal-body{
    text-align: center;
}

.modal-footer{
    border: none;
    justify-content: center;
}

.checkoutContainer {
    height: 700px;
}