@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

/* common css start */
body {
    font-family: "Inter", serif;
    /* background: #F9F8F8; */
}

img {
    max-width: 100%;
    height: auto;
}

ul {
    /* list-style: none; */
    margin: 0;
    padding: 0;
}

a {
    text-decoration: none;
}

._container {
    max-width: 414px;
    width: 100%;
    margin: 0 auto;
    overflow-x: hidden;
    padding-bottom: 0px;
    overflow: hidden;
}

.content {
    padding: 0 15px;
}

.title {
    padding: 16px;
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    text-align: center;
    border-radius: 10px;
    background: #2577A4;
    margin: 30px 0;
}

.accordion-item {
    margin-bottom: 15px;
    border-radius: 10px;
}

.accordion-item:first-of-type {
    border-radius: 10px;
}

.accordion-button {
    border: 1px solid #DCDCDC;
    border-radius: 10px;
}

.accordion-button i {
    margin-right: 10px;
}

.accordion-item .accordion-button.collapsed {
    border-radius: 10px;
}

.accordion-item:first-of-type .accordion-button {
    border-radius: 10px;
    border: 0;
    box-shadow: unset;
}

.accordion-item .accordion-button {
    color: #2577A4;
    font-size: 16px;
    font-weight: 700;
    border: 0;
}

.accordion-button:not(.collapsed) {
    background: #fff;
    box-shadow: unset;
}

.accordion-item:not(:first-of-type) {
    border-top: 1px solid #DCDCDC;
}

.accordion-button:focus {
    box-shadow: unset;
    border-color: unset;
}

.accordion-header {
    border-radius: 10px;
}

.accordion-collapse.collapse.show {
    border-top: 1px solid #DCDCDC;
}

.accordion-body ul {
    padding-left: 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 25px;
    row-gap: 10px;
}

.accordion-body ul li {
    font-size: 14px;
    font-weight: 400;
}

.time-box {
    border-top: 1px solid #DCDCDC;
    padding: 15px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.time-box span {
    background: #A2BFCF;
    border-radius: 5px;
    color: #000;
    font-size: 14px;
    font-weight: 400;
    display: flex;
    padding: 10px 2px;
    width: 44px;
    align-items: center;
    justify-content: center;
}


.map iframe {
    width: 100%;
    height: 400px;
}

.footer {
    padding: 30px 15px;
    margin-top: 30px;
}

.footer p {
    font-size: 18px;
    font-weight: 400;
    color: #000000;
    margin: 0;
    text-align: center;
}

.journey-banner {
    background-image: url('../images/journey-planing.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    text-align: center;
    padding: 20px 0 120px;
}

.journey-banner img {
    margin-bottom: 20px;
}

.journey-banner span {
    background: #2577A4;
    border-radius: 35px;
    color: #fff;
    padding: 10px 15px;
    font-size: 16px;
    font-weight: 700;
    display: block;
    width: max-content;
    margin: 0 auto;
}

.bus-route-box {
    border-radius: 10px;
    box-shadow: 0 1px 15px 0 rgba(0, 0, 0, 25%);
    padding: 20px 25px;
    margin-top: -100px;
    background: #fff;
    margin-bottom: 30px;
}

.bus-route-box h4 {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
}

.field-box {
    position: relative;
    margin-bottom: 30px;
}

.form-field {
    position: relative;
}

.form-field select {
    padding: 10px 14px 10px 39px;
    border: 1px solid #BEBEBE;
    outline: none;
    width: 100%;
}

.form-field .select2-container .select2-selection--single .select2-selection__rendered {
    padding: 10px 14px 10px 39px !important;
}

.route-detail .select2-container .select2-selection--single .select2-selection__rendered {
    padding: 10px !important;
}

.route-detail .select2-container--default.select2-container--open.select2-container--below .select2-selection--single, .route-detail .select2-container--default.select2-container--open.select2-container--below .select2-selection--multiple {
    border-radius: 5px !important;
}

.form-field.source .select2-container--default .select2-selection--single {
    border-radius: 5px 5px 0 0 !important;
}

.form-field.destination .select2-container--default .select2-selection--single {
    border-radius: 0 0 5px 5px !important;
    border-top: 0;
}

.form-field svg {
    fill: #2577A4;
    position: absolute;
    top: 50%;
    left: 10px;
    transform: translateY(-50%);
    z-index: 1;
}

.transformer {
    position: absolute;
    top: 50%;
    right: 15px;
    transform: translateY(-50%) rotate(90deg);
    outline: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    border: 0;
    color: #2577A4;
    font-size: 15px;
    background: #E4E4E4;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.green-btn {
    border: 0;
    outline: none;
    color: #fff;
    text-align: center;
    width: 100%;
    padding: 9px 15px;
    border-radius: 5px;
    background: #2577A4;
    font-size: 18px;
    font-weight: 800;
}

.error-sec {
    text-align: center;
    margin-bottom: 30px;
}

.error-sec img {
    margin-bottom: 20px;
}

.error-sec h3 {
    text-align: center;
    margin: 0 auto;
    color: #838383;
    font-size: 18px;
    font-weight: 700;
    width: 300px;
}

.journey-point {
    position: relative;
    padding: 20px 20px 20px 45px;
    border-radius: 10px;
    box-shadow: 0 1px 15px 0 rgba(0, 0, 0, 25%);
    background: #fff;
    margin-bottom: 15px;
}

.source-sec {
    padding-bottom: 10px;
    border-bottom: 1px solid #B9B9B9;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.source-sec.without-border {
    border: 0;
    margin: 0;
    padding: 0;
}
/* .source-sec.without-border span{
    color: #EB1616;
} */

.source-sec h5 {
    font-size: 14px;
    font-weight: 600;
    color: #898989;
    margin-bottom: 5px;
}

.source-sec span {
    font-size: 14px;
    font-weight: 600;
    color: #2577A4;
    display: block;
}

.source-sec.interchange span {
    color: #F08326;
}

.source-sec button {
    border-radius: 5px;
    padding: 7px 15px;
    background: #DBF3FF;
    font-size: 12px;
    font-weight: 700;
    border: 0;
    outline: none;
    color: #2577A4;
}

.source-sec p {
    font-size: 14px;
    font-weight: 400;
    color: #000;
    margin-bottom: 5px;
}

.source-sec h6 {
    font-size: 18px;
    font-weight: 600;
    color: #000;
    margin: 0;
    text-align: right;
}

.start-end-route {
    position: absolute;
    top: 50%;
    left: 15px;
    transform: translateY(-50%);
}


.route-box {
    /* max-width: 300px; */
    /* border: 1px solid #ccc; */
    /* border-radius: 8px; */
    /* padding: 15px; */
    position: relative;
}

.route-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}

.route-header div {
    font-weight: bold;
}

.route-header .green {
    color: green;
}

.route-header .red {
    color: red;
}

.stop-list {
    list-style: none;
    padding: 0;
    position: relative;
    margin-top: 20px;
}

.stop-list::before {
    content: '';
    position: absolute;
    top: 12px;
    bottom: 12px;
    left: 11px;
    width: 2px;
    background-color: #ccc;
}

.stop-list li {
    padding-left: 30px;
    position: relative;
    margin-bottom: 12px;
    font-size: 14px;
}

.stop-list li::before {
    content: '';
    position: absolute;
    left: 6px;
    top: 4px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #2577A4;
    border: 2px solid white;
    /* box-shadow: 0 0 0 1px #3498db; */
}

.stop-list .interchange::before {
    background-image: url('../images/interchange_li.png');
    left: 2px;
    top: 2px;
    width: 20px;
    height: 20px;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    background-color: unset;
    border: unset;
    border-radius: unset;
}

.stop-list .interchange {
    color: #F08326;
}

.stop-list li:first-child::before {
    background-color: green;
}

.stop-list li:first-child {
    font-weight: bold;
    color: green;
}

.stop-list li:last-child::before {
    /* background-color: red; */
    background-image: url('../images/red-map.png');
    height: 20px;
    width: 18px;
    background-repeat: no-repeat;
    background-color: snow;
    z-index: 81;
    border-radius: inherit;
    left: 4px;
}

.stop-list li:last-child {
    font-weight: bold;
    color: red;
}

.close-btn {
    position: absolute;
    right: 10px;
    top: 10px;
    cursor: pointer;
}

.modal-body {
    padding: 45px 15px 15px;
}

.close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    border: 0;
    outline: none;
    background: none;
    color: #000;
    font-size: 20px;
    cursor: pointer;
    z-index: 10;
}

.modal .journey-point {
    padding: 0 0 0 35px;
    border-radius: unset;
    box-shadow: unset;
    border-bottom: 1px solid #B9B9B9;
    padding-bottom: 5px;
}

.modal .start-end-route {
    left: 5px;
}

.modal .source-sec .green {
    color: #25A450;
}

.modal .source-sec .red {
    color: #EB1616;
}

.tab-view {
    display: flex;
    align-items: stretch;
    justify-content: center;
    margin-bottom: 15px;
}

.tab-view h6 {
    font-size: 14px;
    font-weight: 700;
    color: #2577A4;
    padding: 10px 15px 10px 10px;
    box-shadow: 0 1px 10px 0 rgba(0, 0, 0, 10%);
    margin: 0;
    border-radius: 5px 0 0 5px;
}

.tab-view a {
    background: #2577A4;
    color: #fff;
    padding: 10px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 5px;
    align-items: center;
    display: flex;
}

.route-detail {
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    /* justify-content: space-between; */
    border-bottom: 1px solid #B9B9B9;
    padding-bottom: 15px;
    margin-bottom: 15px;
}

.route-detail>div {
    display: flex;
    align-items: center;
    gap: 15px;
}

.route-detail>div span {
    font-size: 14px;
    font-weight: 600;
}

.modal-body iframe {
    width: 100%;
    height: 400px;
    margin-top: 15px;
}


/* bus km handling css start */
.main-content-sec {
    position: relative;
}

.main-content-sec .card-box {
    border-radius: 10px;
    padding: 30px 15px;
    margin: 30px 0;
    box-shadow: 0 1px 15px 0 rgba(0, 0, 0, 25%);
}

.single-field {
    position: relative;
    box-sizing: border-box;
    width: 100%;
    margin-bottom: 30px;
}

.single-field select, .single-field textarea, .single-field input {
    position: relative;
    /* height: 42px; */
    width: 100%;
    display: block;
    background: #ffffff;
    border: 1px solid #6c757d;
    border-radius: 4px;
    font-size: 15px;
    padding: 10px;
    box-shadow: none;
    transition: 0.3s all;
    outline: none;
}

.single-field.date-field input {
    padding-right: 30px;
}

.tag-group label, .single-field label {
    position: absolute;
    top: -9.5px;
    left: 10px;
    margin: 0;
    font-size: 14px;
    line-height: normal;
    text-transform: capitalize;
    color: #000;
    transition: 0.3s all;
    padding: 1px 5px;
    background: #ffffff;
    border-radius: 2px;
}

.single-field.date-field:before {
    content: '\f073';
    font-family: 'fontawesome';
    font-size: 18px;
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translate(0, -50%);
    text-align: center;
    line-height: 20px;
    color: #6c757d;
    pointer-events: none;
    z-index: 1;
    transition: 0.3s;
}

.common-black-btn {
    outline: none;
    border: 0;
    border-radius: 5px;
    background: #000;
    color: #fff;
    white-space: nowrap;
    /* display: flex; */
    align-items: center;
    justify-content: center;
    font-size: 16px;
    padding: 10px 20px;
    text-transform: capitalize;
    text-decoration: none;
    transition: 0.3s all;
}

.card-box.withTable {
    padding: 15px;
    margin-top: 0;
}

.table-responsive {
    position: relative;
}

.table-responsive table {
    width: 100%;
    margin: 0;
    border-collapse: collapse;
}

.table-responsive table thead {
    background: rgb(110 112 114);
    color: #fff;
}

.table-responsive table th, .table-responsive table td {
    text-align: center;
    padding: 10px;
    border-bottom: 1px solid grey;
    white-space: nowrap;
}

.table-responsive table td a {
    color: #6e7072;
}

.modal-body.editmodal {
    padding: 55px 15px 15px;
}

/* bus km handling css end */