.overflowed-list {
    overflow: auto;
    height: 600px;
    scroll-behavior: smooth; /* Smooth scrolling effect */
}


.iternaries-list-header .form-control {
    background-color: #fcfcfc;
    border-color: #e3e7ed;
    border-width: 2px;
    height: 40px;
    padding-right: 20px;
    -webkit-transition: none;
    transition: none
}

.iternaries-list-header .form-control:focus {
    background-color: #fff;
    border-color: #b4bdce;
    -webkit-box-shadow: none !important;
    box-shadow: none !important
}

.iternaries-list-header .form-control:focus + .btn {
    color: #7987a1
}

.az-contact-item:hover {
    background: linear-gradient(358deg, rgba(91, 71, 251, .12), transparent);
}

.az-contact-item + .az-contact-item:before {
    border-top: 1px solid #e3e7ed;
    content: "";
    left: 15px;
    position: absolute;
    right: 0;
    top: -1px
}

#scrollerContainer {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 25px;
    gap: 50px;
}


.scroller {
    cursor: pointer;
    font-size: 35px;
    margin: 0 10px;
    color: #596882;
}

.scroller:hover {
    color: #5b47fb;
}


.active-itinerary {
    background: linear-gradient(358deg, rgba(28, 39, 60, .12), transparent);
}

.list-item {
    border-right-width: 0;
    cursor: pointer;
    display: flex;
    position: relative
}

@media (min-width: 992px) {
    .list-item {
        padding: 10px 15px
    }
}

.list-item + .list-item {
    border-top-color: transparent;
    margin-top: -1px
}

.list-item + .list-item:before {
    border-top: 1px solid #e3e7ed;
    content: "";
    left: 15px;
    position: absolute;
    right: 0;
    top: -1px
}

.list-item:focus, .list-item:hover {
    background-color: #f4f5f8;
    border-bottom-color: #e3e7ed;
    border-top-color: #e3e7ed
}

.list-item.selected {
    background-color: #f4f5f8;
    border-bottom-color: #e3e7ed;
    border-left-color: #5b47fb;
    border-top-color: #e3e7ed;
    z-index: 1
}

.az-contact-action a {
    color: #596882
}

.listview-search {
    position: relative
}

.listview-search .btn {
    color: #7987a1;
    font-size: 16px;
    position: absolute;
    right: 0;
    top: 0
}

.error {
    display: none;
    font-size: .8em
}

.error-visible {
    display: block
}

.form-control::-webkit-input-placeholder {
    color: #5b47fb
}

.form-control:-ms-input-placeholder {
    color: #5b47fb
}

.form-control::placeholder {
    color: #5b47fb
}

.input-borderless {
    background-color: #fff;
    border: none;
    margin: 0;
    overflow: hidden;
    padding: 0;
    text-overflow: ellipsis;
    white-space: nowrap
}

.form-control:disabled, .form-control[readonly] {
    background-color: #fff;
    border: none;
    color: #1c273c;
    font-weight: 500
}

.edit-input-jumbo {
    font-size: 26px;
    font-weight: 500;
    line-height: 32px
}

.edit-input-input {
    width: 200px
}

.contact-info-header {
    display: flex;
    flex: 0 0 auto;
    flex-wrap: wrap
}

.az-contact-info-header {
    border-bottom: 1px solid #cdd4e0;
    padding-bottom: 20px;
    padding-top: 20px;
    position: relative
}

.az-contact-info-body .media-body .contact-detail {
    align-items: center;
    display: flex;
    margin-bottom: 4px;
    margin-top: 4px
}

.az-contact-info-body .media-body label {
    align-items: flex-start;
    color: #7987a1;
    display: flex;
    flex: 0 0 150px;
    font-size: 13px;
    justify-content: flex-end;
    line-height: 16px;
    margin-right: 22px;
    padding: 0;
    position: relative;
    text-align: right
}

.az-contact-info-body .media-body span {
    color: #1c273c;
    display: block;
    font-weight: 500
}

.az-contact-options {
    align-items: center;
    border: solid #cdd4e0;
    border-width: 0 0 1px;
    display: flex;
    justify-content: flex-end;
    padding: 5px 10px 5px 20px
}

.az-contact-options .btn {
    align-items: center;
    background-color: transparent;
    display: flex;
    font-size: 22px;
    height: 36px;
    justify-content: center;
    width: 36px
}

.select2-container--default .select2-selection--single {
    background-color: #fff;
    border-color: #cdd4e0;
    border-radius: 0;
    height: 38px;
    outline: none
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    color: #596882;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    height: 100%;
    line-height: calc(1.5em + .75rem + 2px) -.1rem;
    padding-left: .75rem
}

.ui.selection.dropdown {
    min-width: 12em
}

@media (min-width: 576px) {
    .az-contact-info-header {
        padding-top: 20px
    }
}

@media (min-width: 992px) {
    .az-contact-info-body {
        height: calc(100% - 50px);
        padding-left: 30px;
        position: relative
    }
}

@media (max-width: 992px) {
    .az-contact-info-body .media-body {
        margin-left: 5px
    }

    .az-contact-info-body .media-body label {
        flex: 0 0 70px;
        font-size: .8em
    }

    .az-contact-info-body .media-body span {
        font-size: .8em;
        font-weight: 500
    }

    .az-contact-info-body .media-icon {
        font-size: 1.5em
    }
}


.form-control::-webkit-input-placeholder {
    font-style: italic
}

.form-control:-ms-input-placeholder {
    font-style: italic
}

.form-control::placeholder {
    font-style: italic
}

.form-checkbox {
    border-radius: 0;
    height: 14px !important
}


.az-icon-group i {
    font-size: 32px
}

.select2 {
    width: 300px
}

@media (max-width: 576px) {
    .select2 {
        min-width: 160px;
        width: 100% !important
    }
}

.select2-container--default .select2-selection--multiple {
    background-color: #fff;
    border: 1px solid rgba(34, 36, 38, .15);
    border-radius: .28571429rem;
    box-shadow: none;
    cursor: text
}

.select2-container--default.select2-container--disabled .select2-selection--multiple {
    background-color: #fff;
    cursor: default;
    opacity: .45
}

.select2-selection--multiple .select2-selection__rendered {
    box-sizing: border-box;
    list-style: none;
    margin: 0;
    padding: 0 5px
}

.select2-container--default .select2-selection--multiple .select2-selection__choice {
    background-color: #f4f5f8;
    border: 1px solid #f4f5f8;
    border-radius: 0;
    -webkit-box-shadow: inset 0 0 0 1px rgba(34, 36, 38, .15);
    box-shadow: inset 0 0 0 1px rgba(34, 36, 38, .15);
    color: rgba(0, 0, 0, .6);
    cursor: default;
    float: left;
    font-size: small;
    margin-right: 5px;
    margin-top: 5px;
    padding: 3px 5px
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
    color: #aaabad;
    float: right;
    font-size: 18px;
    left: 7px;
    line-height: 1;
    margin-left: 6px;
    margin-right: 6px;
    opacity: 1;
    position: inherit;
    top: 0
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background-color: rgba(0, 0, 0, .03);
    color: rgba(0, 0, 0, .95)
}


input:checked + .slider {
    background-color: #36f
}

input:focus + .slider {
    box-shadow: 0 0 1px #36f
}

input:disabled + .slider {
    opacity: .5
}

input:checked + .slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px)
}


.az-contact-body span.badge {
    font-size: 10px;
    font-weight: 500;
    padding: 3px 5px 4px
}

.az-contact-body span.badge-data-tags {
    background-color: #e8f1ff;
    color: #36f
}

.az-content-left-contacts .az-contact-action {
    right: 0
}


.form-group {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.form-group img {
    margin-right: 20px;
    width: 40px;
    height: 40px;
}

.form-group label {
    flex: 0 0 150px;
    font-weight: bold;
    color: #555;
    margin-right: 5px;
}

.form-group input, .form-group textarea {
    flex: 1;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.form-group input[readonly] {
    background-color: #f5f5f5;
    cursor: not-allowed;
}

.form-group td input {
    width: 100%;
    min-width: 200px;
}


input[type="checkbox"] {
    flex: 0 0 auto;
    height: 22px;
    width: 22px;
}

#cancel_edit_iternary_button {
    color: #C2001E;
}

.form-group.even {
    background-color: #f0f4f8;
    padding: 5px;
    border-radius: 5px;
}

.form-group.odd {
    background-color: #d9e3f0;
    padding: 5px;
    border-radius: 5px;
}

.iterneray-cabin-table {
    margin-bottom: 0;
}

.flex-container {
    width: 100%;
}

#tag_container {
    display: flex;
    align-items: center;
    width: 100%;
}

.select2-container {
    flex-grow: 1;
}

.select2-container--default .select2-selection--multiple {
    width: 100% !important;
}

.select2-container--disabled {
    background-color: #f5f5f5;
    cursor: not-allowed;
}

.btn-with-icon {
    margin-left: 8px; /* Adjust the spacing as needed */
}

#button-container {
    display: flex; /* Enables Flexbox */
    justify-content: center; /* Centers the button horizontally */
    align-items: center; /* Centers the button vertically if needed */
    margin-top: 20px; /* Adds some space above the button */
}

.addBtn {
    background-color: #ebebeb80;
    border: 1px dashed #b4b1b1;
    border-radius: 5px;
    padding: 5px 0;
    width: 100%;
}

#add-cabin-button:focus {
    outline: none; /* Removes focus outline */
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2); /* Adds a subtle shadow when focused */
}


#route-type {
    background: whitesmoke;
    padding: 10px;
    margin: 10px 0 10px 0;
}

.route-type {
    background-color: #f8f9fa;
    border-radius: 8px;
    border: 1px #ccc solid;
    padding: 20px;
    margin: 10px 0 10px 0;
}

.route-type fieldset {
  border: 1px solid #ddd;
  border-radius: 5px;
}

.route-type legend {
  font-weight: bold;
  color: #343a40;
  padding: 0 10px;
    font-size: 14px;
}

.route-type .form-group {
  margin-bottom: 1rem;
}

.route-type .form-control {
  border-radius: 5px;
}
