﻿body {
    padding-top: 50px;
    padding-bottom: 20px;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif !important;
    font-size: 14px;
}

hr {
  margin: 25px 0;
}

/* Wrapping element */
/* Set some basic padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

.main-heading {
  margin-top: 20px !important;
  font-size: 1.875rem !important;
}

.sub-heading {
  font-size: 1.125rem;
}

.standard-label {
  font-size: 14px !important;
  font-weight: 700 !important;
}

/* Carousel */
.carousel-caption p {
    font-size: 20px;
    line-height: 1.4;
}

/* Make .svg files in the carousel display properly in older browsers */
.carousel-inner .item img[src$=".svg"] {
    width: 100%;
}

/* QR code generator */
#qrCode {
    margin: 15px;
}

/* Hide/rearrange for smaller screens */
@media screen and (max-width: 767px) {
    /* Hide captions */
    .carousel-caption {
        display: none;
    }
}
.loading-icon {
    position: absolute;
    width: 50px;
    height: 50px;
    top: 55px;
    right: 0px;
    z-index: 10000;
    display:none;
}

.link-embed {
  color: #11568A !important;
  font-weight: 600 !important;
  cursor: pointer !important;
}

.text-small {
    font-size: 12px;
}
.padding-top-bottom {
    padding: 25px 0px;
}

.margin-top-bottom {
    margin: 25px 0px;
}

.clickable {
  cursor: pointer !important;
}

.list-group-item {
    position: relative;
}
.routesList {
font-size:.8em;
}

.yard-add-remove {
 position:absolute;
 top: 10px;
 right:10px;
}
.equal {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    flex-wrap: wrap;
}
.equal > [class*='col-'] {
    display: flex;
    flex-direction: row;
}
.bottom-of-column {
    height: 32px;
    bottom: 0px;
    position: absolute;
}

.form-contents {
    position: relative;
    padding-bottom: 50px;
}
.add-row-button {
    position:absolute;
    bottom:0px;
}
.navbar-custom .navbar-nav > li > a {
  color: #fff;
}
.navbar-brand:hover,
.logoutBtn:hover {
   color: white !important;
}
.navbar-custom .navbar-nav > li > a:hover .link-text,
.navbar-custom .navbar-nav > li > button:hover .link-text,
.navbar-custom .navbar-nav > li > a:focus .link-text {
    text-decoration: underline;
}
@media (min-width: 992px) {
  .navbar-custom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-left: 244px;
    padding-right: 270px;
  }
  .navbar-collapse.collapse {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
  }
  .navbar-custom .custom-container {
    display: inline;
    align-items: center;
  }
  .navbar-brand {
    padding: 0px !important;
  }
  .navbar-nav.left-nav,
  .navbar-nav.right-nav {
    align-items: center;
  }
  .navbar-custom .navbar-nav.right-nav {
    gap: 5px;
  }
}
@media (max-width: 991.98px) {
  .homepage .jumbotron .container {
    max-width: 100%;
  }
  .homepage .action-section.container,
  .container.body-content {
    max-width: 90%;
  }
  .navbar-custom .custom-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-left: 15px;
    padding-right: 15px;
    border-bottom: 0.5px solid #222;
  }
  .navbar-brand {
    padding: 10px 0px !important;
  }
  .navbar-custom .navbar-nav.left-nav,
  .navbar-custom .navbar-nav.right-nav {
    float: none !important;
  }
  .navbar-custom .navbar-nav.right-nav .navbar-text {
    margin: 0px !important;
  }
  .navbar-custom .navbar-nav.right-nav {
    flex-direction: row;
    align-items: center;
    gap: 15px;
  }
  .navbar-custom .navbar-collapse {
    padding: 6px 15px !important;
  }
  #editRolesModal .modal-dialog {
    width: 77% !important;
}
}
@media (min-width: 576px) {
  #verifyModal .modal-dialog,
  #editRolesModal .modal-dialog {
      max-width: 600px !important;
  }
  #permissionsModal .modal-dialog {
    max-width: 100% !important;
  }
}
.jumbotron {
     padding-top: 30px;
     padding-top: 30px;
     padding-bottom: 30px;
     padding-bottom: 30px;
     margin-bottom: 30px;
     margin-bottom: 30px;
     color: inherit;
     color: inherit;
     background-image: url(/images/JumbotronBG.jpg);
     background-color: #eeeeee;
     background-color: #eee;
     background-repeat: no-repeat;
     background-position: center;
     background-size: cover;
}

.jumbotron img {
     padding-top: 50px;
}

.form-control {
  font-size: 0.9rem !important;
}
.btn-primary {
  background-color: #286090 !important;
  border-color: #204d74 !important;
}
.btn-primary:hover,
.btn-primary:focus {
  background-color: #1F4D74 !important;
}
.btn-secondary {
  background-color: #EFEFEF !important;
  border: none !important;
  color: #3c3c3c !important;
}
.btn-secondary:hover,
.btn-secondary:focus {
  background-color: #EFEFEF !important;
}
.text-primary {
  color: #286090 !important;
}
.bg-primary {
  background-color: #286090 !important;
  border: none !important;
}
.form-contents input[type='checkbox'] {
    height:20px;
    width:20px;
}

.field-pre-description {
    width: 10%;
    position: absolute;
    bottom: 8px;
    font-weight:900;
    text-align:right;
    padding-right:5px;
}

.field-post-description {
    width: 10%;
    position: absolute;
    bottom: 8px;
    right: 10px;
    font-weight: 900;
}

.field-with-pre-description {
    margin-left:10%;
    width:90%;
}

.field-with-post-description {
    margin-right:10%;
    width:90%;
}
.field-with-post-description.field-with-pre-description {
    width:80%;
}

.form-contents label {
    margin-top:40px;
}
.row.row-form {
    margin-bottom:40px;
}
@media only screen and (min-width: 768px) {
    .row-form label {
        display: none;
    }

    .row-form:first-of-type .marginTop40 {
        margin-top: 40px;
    }

    .form-contents label {
        margin-top:0px;
        min-height: 40px;
    }
    .row.row-form {
        margin-bottom: 0px;
    }
}
.row-form:first-of-type label {
    display:block;
}

.card-details {
    display: flex !important;
}
.card-expiry {
    width: 15% !important;
    border-right: none;
    border-left: none;
}
.card-number {
    border-right: none;
}
.card-cvc {
    border-left: none;
    width: 10% !important;
}
.admin-nav .nav-link {
  color: #4d4d4d;
  font-size: 16px;
  padding: 10px 0px !important;
  transition: background-color 0.5s ease, border 0.5s ease, color 0.5s ease;
}
.admin-nav .nav-item:first-child .nav-link {
  border: 1px solid #ddd;
  border-right: 0px !important;
  border-top-left-radius: 6px !important;
  border-bottom-left-radius: 6px !important;
  border-top-right-radius: 0px !important;
  border-bottom-right-radius: 0px !important;

}
.admin-nav .nav-item:last-child .nav-link {
  border: 1px solid #ddd;
  border-left: 0px !important;
  border-top-right-radius: 6px !important;
  border-bottom-right-radius: 6px !important;
  border-top-left-radius: 0px !important;
  border-bottom-left-radius: 0px !important;
}
.admin-nav .nav-item:not(:first-child):not(:last-child) .nav-link {
  border-radius: 0 !important;
  border-top: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
}
.admin-nav .nav-link.active {
  font-weight: 500;
  background-color: #286090;
  border: 1px solid #286090 !important;
}
.search-container input {
    height: 44px;
    border-radius: 6px;
    font-size: 16px;
    padding-right: 41px;;
    box-shadow: none !important;
}
.search-container input.form-control:focus,
.dropdown input.form-control:focus,
#editDisclosureArea input.form-control:focus,
#editDisclosureArea textarea.form-control:focus {
  box-shadow: none !important;
  -webkit-box-shadow: none !important;
  border-color: inherit !important;
}
.bi-search {
  position: absolute;
  right: 12px;
  color: #a6a1a1;
  font-size: 18px;
  transform: scaleX(-1);
}
.up-9 {
  top: 9px;
}
.up-12 {
  top: 12px;
}
.sort-type-badge {
  background-color: #E6EBEF;
  color: #155789;
  padding: 6px 14px;
  gap: 10px;
}
.dropdown-toggle {
    height: 44px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    border: 1px solid #ccc;
}
.dropdown-item {
  padding: 10px 8px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
}
.dropdown-item:hover {
  background: #f1f1f1;
}
.dropdown-toggle::after {
  display: none !important;
}
#userDropdownMenu, .make-menu {
  overflow-y: auto;
  max-height: 282px;
}
.make-menu .dropdown-item {
  padding: 8px;
  font-size: 12px;
}
#editDisclosureMenu .dropdown-item,
#callCenterMenu .dropdown-item {
  padding: 12px 10px;
}
.active-btn {
  background: #f1f1f1;
}
/* Table */
.custom-table-container {
    box-shadow: 0px 2px 5px rgba(0,0,0,0.1);
    border-radius: 6px;
    max-height: 500px;
    overflow-y: auto;
    -ms-overflow-style: none;
    scrollbar-width: none;
    margin-bottom: 8px;
  }
.custom-table-container::-webkit-scrollbar,
#userDropdownMenu::-webkit-scrollbar {
    display: none;
}
  .custom-table {
    table-layout: fixed;
    border-collapse: collapse;
    font-size: 16px;
  }
  .custom-table thead {
    position: sticky;
    top: 0;
    z-index: 1;
    background-color: #f8f9fa;
  }
  .custom-table th, .custom-table td {
    padding: 12px;
    border-bottom: 1px solid #ddd;
  }
  .custom-table th {
    white-space: nowrap;
  }
  .custom-table tr:last-child td {
    border-bottom: none !important;
}
  .custom-table-container.custom-size {
    max-height: 400px;
  }
  .custom-size .custom-table th {
    padding: 10px 12px !important;
    font-size: 14px !important;
  }
  .custom-size .custom-table td {
    padding: 4px 12px !important;
  }

#usersGroups .group-list-item,
#userYards .yard-list-item {
  border-top-width: 1px !important;
}
#usersGroups .group-list-item:not(:last-child) {
  margin-bottom: 14px !important;
}
.badge {
  font-size: 12px !important;
  font-weight: 500 !important;
}
.role-badge {
  padding: 5px 8px;
  color: #575c61;
  background-color: #f0f0f0;
}
.req-role-badge, .yard-id-badge {
  padding: 4px 7px;
  border: 1px solid #ccc;
  font-weight: 600 !important;
}
.route-badge {
  padding: 8px 9px;
  font-size: 14px !important;
  color: #fff;
  background-color: black;
}
.status-badge {
  padding: 5px 6px;
}
.success {
  color: #156338;
  background-color: #DAFDE6;
  border: 1px solid #81D28B;
}
.failure {
  color: #D64545;
  background-color: #FFECEC;
  border: 1px solid #FFAAAA;
}
.info {
  color: #0B5394;
  background-color: #D9EEFF;
  border: 1px solid #66B3FF;
}
.unknown {
  color: #856404;
  background-color: #FFF3CD;
  border: 1px solid #E0B800;
}
  .verify-btn i {
    opacity: 35%;
  }
  .verify-btn:hover i {
    opacity: 90%;
  }
  .action-btn {
    padding: 4px;
    cursor: pointer;
    opacity: 35%;
  }
  .action-btn:hover {
    opacity: 90%;
  }
  #permissionsModal .modal-body::-webkit-scrollbar {
    display: none;
  }
  .modal-header .close {
    color: #a29e9e;
    font-size: 30px;
  }
  .modal-header .close:hover {
    color: #404040;
  }
  .modal-title {
    font-weight: 600;
    font-size: 20px;
    line-height: normal;
    margin-block-start: 0px;
    margin-block-end: 0px;
  }
  .modal-description {
    color:#717070;
    font-size: 16px;
  }
  .modal-footer {
    margin-top: 20px;
    gap: 8px;
  }
  .modal-footer>* {
    margin: 0px !important;
  }
  .modal-btn {
    height: 46px;
    width: 106px;
    padding: 10px 15px;
    font-size: 16px;
    border-radius: 5px;
    font-weight: 500;
}
  .route-path {
    color: black;
    background: none;
    font-size: 14px;
  }
  .custom-modal-backdrop {
    background: rgba(0, 0, 0, 0.5) !important;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1065;
    opacity: 1 !important;
  }
.switch {
  position: relative;
  display: inline-block;
  width: 48px;
  height: 26px;
}
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: .4s;
  transition: .4s;
}
.slider:before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 4px;
  bottom: 3px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
}
input:checked + .slider {
  background-color: #286090;
}
input:focus + .slider {
  box-shadow: 0 0 1px #286090;
}
input:checked + .slider:before {
  -webkit-transform: translateX(20px);
  -ms-transform: translateX(20px);
  transform: translateX(20px);
}
.slider.round {
  border-radius: 34px;
}
.slider.round:before {
  border-radius: 50%;
}
.tooltip-inner {
  max-width: none !important;
  white-space: normal !important;
  font-size: 14px !important;
}
#disclosureText::placeholder {
  font-size: 1.05rem !important;
}
.trash-box {
  cursor: pointer;
  opacity: 0.4;
  transition: opacity 0.2s ease;
}

.trash-box:hover {
  opacity: 1;
}
.placeholder-heading {
  color: black;
  margin-block-start: 0px !important;
  margin-block-end: 0px !important;
  font-size: 1.5rem !important;
}
.callcenter-table tbody tr, .callcenter-table thead tr {
  height: 47px;
}
.callcenter-table th, .callcenter-table td {
  padding: 15px 12px !important;
  vertical-align: middle !important;
}
.callcenter-table th:first-child, .callcenter-table td:first-child {
  padding-left: 20px;
}
button:focus, button:active {
  outline: none !important;
  box-shadow: none !important;
}
.page-item {
  display: inline-block;
}
.page-link {
  display: block;
  border-radius: 6px;
  padding: 10px 16px !important;
  font-size: 16px;
  font-weight: 500;
  border: 1px solid #ddd;
  text-decoration: none;
  background: #fff;
  color: #286090 !important;
}
.page-item.active .page-link {
  color: #fff !important;
}
ul.pagination li.page-item.active a.bg-primary:hover {
  background-color: #286090 !important;
  border: none !important;
}
.page-link.prev-next {
  border-radius: 6px !important;
  padding: 10px 18px;
}
.page-item.disabled .page-link {
  opacity: 0.5;
  pointer-events: none;
  cursor: not-allowed;
  background-color: #eee;
  border-color: #eee;
}
.table-input:focus {
  outline: none;
}
.form-control.selectize-control.callCenterSelectPicker {
  height: 34px !important;
}
.user-tab-btn {
  padding: 8px 14px;
  background-color: #F3F4F6;
  color: black;
  font-weight: 500;
  cursor: pointer;
  border: 1px solid #ddd;
  transition: background-color 0.5s ease, border 0.5s ease, color 0.5s ease;
}
.user-tab-btn.active-tab {
  background-color: #286090;
  border: 1px solid #286090;
  color: white;
}

.custom-card {
  border-radius: 8px;
  border: 1px solid #eef0f2;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  padding: 2rem;
  margin-top: 1.5rem;
  max-width: 720px;
  min-width: 320px;
  min-height: fit-content;
}

.finish-card {
  max-width: 500px !important;
  font-weight: 500;
  font-size: 16px;
}

.progress-line {
  position: absolute;
  top: 50%;
  left: 16px;
  right: 16px;
  height: 2px;
  background: #e9ecef;
  transform: translateY(-50%);
  z-index: 1;
  transition: background 0.3s ease;
}

.progress-line.progress-0 {
  background: #e9ecef;
}

.progress-line.progress-33 {
  background: linear-gradient(to right, #286090 33.33%, #e9ecef 33.33%);
}

.progress-line.progress-50 {
  background: linear-gradient(to right, #286090 50%, #e9ecef 50%);
}

.progress-line.progress-67 {
  background: linear-gradient(to right, #286090 66.67%, #e9ecef 66.67%);
}

.progress-line.progress-100 {
  background: #286090;
}

.step-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid #e9ecef;
  background: white;
  transition: all 0.3s ease;
  position: relative;
  z-index: 2;
}

.step-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 1rem;
}

.step-number {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 0.875rem;
}

.step-label {
  width: 32px;
  font-size: 0.875rem;
  font-weight: 500;
  color: #6c757d;
  transition: all 0.3s ease;
}

.success-wrapper {
  background-color: #D4EDD9;
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  max-width: 500px;
  min-width: 320px;
}

.fw-bold {
  font-weight: bold !important;
}

.reg-act-btn {
  font-size: 0.875rem;
  min-width: 100px;
}

.border-primary {
  border-color: #2373b1 !important;
}

[x-cloak] {
  display: none !important;
}

button:disabled,
button[disabled] {
  cursor: not-allowed !important;
  opacity: 0.65;
}

.btn-primary:disabled:hover,
.btn-primary[disabled]:hover,
.btn-primary:disabled:focus,
.btn-primary[disabled]:focus {
  background-color: #286090 !important;
  border-color: #204d74 !important;
  box-shadow: none !important;
}

@media (min-width: 355px) {
  .custom-justify {
    justify-content: space-between !important;
  }
}
