/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */

.mbtce-flex {
    display: flex;
}
.mbtce-justify-content-between {
    justify-content: space-between;
}
.mbtce-left, .mbtce-right {
    flex-basis: 49%;
}
.mbtce-date-group {
    position: relative;
    margin-bottom: 0;
}
.mbtce-date-group .fa-calendar {
    position: absolute;
    right: 0;
    top: 0;
    font-size: 20px;
    background: #cacaca;
    padding: 10px;
}

/* Modal*/
/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 11; /* Sit on top */
    padding-top: 100px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Content */
.modal-content {
    position: relative;
    background-color: #e8e8e8;
    margin: auto;
    padding: 15px 0;
    border: 1px solid #888;
    border-radius: 8px;
    width: 50%;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
    -webkit-animation-name: animatetop;
    -webkit-animation-duration: 0.4s;
    animation-name: animatetop;
    animation-duration: 0.4s
}

/* Add Animation */
@-webkit-keyframes animatetop {
    from {top:-300px; opacity:0}
    to {top:0; opacity:1}
}

@keyframes animatetop {
    from {top:-300px; opacity:0}
    to {top:0; opacity:1}
}

/* The Close Button */
.close {
    color: white;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

.modal-header {
    padding: 2px 16px;
    background-color: #5cb85c;
    color: white;
}

.modal-body {padding: 2px 16px;}

.modal-footer {
    padding: 2px 16px;
    background-color: #5cb85c;
    color: white;
}
/* Modal END*/
.mbtce-modal-title {
    margin-bottom: 15px;
}
.mbtce-modal-title h3 {
    margin-bottom: 0;
    padding-bottom: 2px;
}
.mbtce-modal-content .mbtce-cancel-label {
    display: block;
    margin-bottom: 0;
}
.mbtce-modal-content .mbtce-cancel-desc {
    color: #464646;
}
#mbtce-cance-req-btn {
    background: #4d4747;
    border: 1px solid #4d4747;
    border-radius: 5px;
    color: #fff;
}
.mbtce-modal-bottom {
    display: flex;
    align-items: center;
    margin-top: 15px;
}
.mbtce-modal-bottom .mbtce-modal-notification {
    margin-left: 5px;
}
#mbtce-cancel-btn {
    background: #f44336;
    color: #fff;
    border: 1px solid #f44336;
    margin: 20px 0;
    padding: 10px 15px;
    box-shadow: 2px 1px 6px 1px #d2cdcd;
    border-radius: 5px;
    font-weight: 700;
}
#mbtce-cance-req-btn:disabled {
    cursor: not-allowed;
    background: #9a9a9a;
}
/* Ajax Loader*/
.lds-ring {
    display: inline-block;
    position: relative;
    width: 30px;
    height: 30px;
}
.lds-ring div {
    box-sizing: border-box;
    display: block;
    position: absolute;
    width: 15px;
    height: 15px;
    margin: 8px;
    border: 8px solid #fff;
    border-radius: 50%;
    animation: lds-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
    border-color: #000 transparent transparent transparent;
}
.lds-ring div:nth-child(1) {
    animation-delay: -0.45s;
}
.lds-ring div:nth-child(2) {
    animation-delay: -0.3s;
}
.lds-ring div:nth-child(3) {
    animation-delay: -0.15s;
}
@keyframes lds-ring {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}
.hidden.lds-ring {display: none}
/* Ajax Loader END*/

/*Ticket exchange */
.mbtce-bus-list-title {
    background: #1f2c75;
    color: #fff;
    padding: 5px;
    margin-bottom: 5px;
    border-radius: 3px;
}
.mbtce-bus-list-title > div {
    font-weight: bold;
}
.mbtce-bus-list-item {
    box-shadow: 1px 3px 3px 0px #717171;
    border-radius: 3px 3px 0 0;
    background: #3f51b5;
    border: 1px solid #3f51b5;
    margin-bottom: 5px;
}
.mbtce-bus-list-item-inner {
    padding: 3px 10px;
    color: #fff;
}
.mbtce-bus-list-item-detail {
    padding: 5px 5px;
    border-radius: 0 0 3px 3px;
    background: #ffffff7d;
    display: none;
}
.mbtce-item-detail-view {
    background: #ff5722;
    border: 1px solid #ff5722;
    color: #fff;
    border-radius: 3vmax;
}
.mbtce-item-detail-view:focus {
    outline: none;
}
.mbtce-bus-name h4 {
    margin-bottom: 0;
    color: #fff;
    font-size: 14px;
}
.mbtce-bus-name span {
    margin-top: -8px;
    display: block;
    font-size: 13px;
    color: #cccccc;
}
.mbtce-search-form-inner .mbtce-date-group {
    width: 70%;
}
.mbtce-search-btn {
    background: #3f51b5;
    color: #fff;
    width: 29%;
    height: 41px;
    cursor: pointer;
}
.mbtce-exchange-update-btn {
    background: #3f51b5;
    border: 1px solid #3f51b5;
    padding: 10px 30px;
    border-radius: 5px;
    color: #fff;
    box-shadow: 1px 1px 3px 1px #686868;
}
.mbtce-exchange-update-btn:hover {
    background: #673ab7;
    border-color: #673ab7;
}
.mbtce-bus-list-item-detail .detail-inner {
    display: flex;
}
.mbtce-bus-list-item-detail .detail-inner > div {
    flex-basis: 49%;
    text-align: center;
}
.mbtce-exchange-selection {
    cursor: pointer;
}
.mbtce-exchange-selection.selected span,
.mbtce-exchange-selection.selected span::before,
.mbtce-exchange-selection.selected span::after {
    background-color: #ffeb3b !important;
    border-color: #ff9800 !important;
    color: #534073 !important;
}
.mbtce-exchange-update-summary, .mbtce-exchange-update-summary h3 {
    color: #fff;
}
/*Ticket exchange END*/