/* ------------------------------------------------------- */
/* Sticky footer */
/* ------------------------------------------------------- */
html {
  position: relative;
  min-height: 100%;
}

body {
  overflow-x: hidden;
}

.hidden {
  display: none !important;
}

input[type="date"],
input[type="time"],
input[type="datetime-local"],
input[type="month"] {
  min-height: 40px;
}

main {
  margin-bottom: 80px;
}

.footer {
  padding-top: 14px;
  padding-bottom: 14px;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  color: #fff;
  border-top-left-radius: 30px;
  border-top-right-radius: 30px;
}

/*Button emulation*/
.cursor-pointer {
  cursor: pointer;
}

.modal-backdrop.ajax-loader.show {
  opacity: 0.5;
  z-index: 9999 !important;
}

.gly-ani {
  animation: ani 2s infinite linear;
}

@keyframes ani {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(359deg);
  }
}

.noselect {
  -webkit-touch-callout: none; /* iOS Safari */
  -webkit-user-select: none; /* Safari */
  -khtml-user-select: none; /* Konqueror HTML */
  -moz-user-select: none; /* Firefox */
  -ms-user-select: none; /* Internet Explorer/Edge */
  user-select: none;
  /* Non-prefixed version, currently
                                     supported by Chrome and Opera */
}

/*Disable arrows at Number Input*/
input[type="number"] {
  -moz-appearance: textfield;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/*Other styles*/
.borderless td,
.borderless th {
  border: none;
}

.w-auto {
  width: auto;
}

.tr-padding-sm td,
.tr-padding-sm th {
  padding: 0.55rem;
}

.table-cell-success {
  background-color: #c3e6cb !important;
}

/*Colors*/
.text-red {
  color: #ff0000;
}

.text-green {
  color: #008000;
}

.text-blue {
  color: #0000ff;
}

.text-cyan {
  color: #00ffff;
}

.text-magenta {
  color: #ff00ff;
}

.text-yellow {
  color: #ffff00;
}

.text-gray {
  color: #707070;
}

.text-light-gray {
  color: #d3d3d3;
}

.text-teal {
  color: #008080;
}

div.prevent {
  background: #f0f0f0;
  border: 1px solid #f0f0f0;
  padding: 10px;
  border-radius: 8px;
  color: #0a0a0a;
}

.locker {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 2000;
  /* pointer-events: none; */
  overflow: hidden;
}

.selectpicker ~ .dropdown-menu.show,
.selectpicker ~ .dropdown-menu.show .inner {
  max-width: 50vw!important;
  min-width: calc(100% + 81px)!important;
}

@media (max-width: 991px) {
  #addClient .add-client-btn {
    position: absolute;
    bottom: 20px;
  }
}

@media screen and (max-width: 992px) {
  .selectpicker ~ .dropdown-menu.show,
  .selectpicker ~ .dropdown-menu.show .inner {
    max-width: calc(100% + 81px)!important;
    min-width: calc(100% + 81px)!important;
  }

  .input-group-append .dropdown-menu.show {
    max-width: calc(100% - 30px);
    overflow: auto;
  }
}

@media screen and (max-width: 768px) {
  .fs-tariffs-item {
    height: 120px !important;
  }
}

@media (max-width: 575px) {
  #modalContent .modal-dialog,
  #editItem .modal-dialog {
    margin: 0;
  }

  #modalContent .modal-content,
  #editItem .modal-content {
    border: none;
  }

  #modalContent,
  #editItem {
    background: #ffffff;
  }
}

tr.active > td {
  background-color: #74cc88;
}

.tracking-wrap {
  position: relative;
  padding: 10px 0;
  margin: 20px 0;
}

.tracking-wrap:before {
  content: "";
  width: 4px;
  height: 100%;
  background: #e9ecef;
  border-radius: 3px;
  position: absolute;
  top: 50%;
  left: 90px;
  transform: translateY(-50%);
}

.tracking-wrap p {
  margin: 0;
}

.tracking-item {
  position: relative;
  margin-bottom: 25px;
  min-height: 42px;
  font-family: Calibri;
}

.tracking-item:last-of-type {
  margin-bottom: 0;
}

.tracking-item-wrap:first-of-type {
  position: absolute;
}

.tracking-item-wrap:last-of-type {
  width: calc(100% - 135px);
  margin-left: auto;
}

.tracking-time,
.tracking-date {
  text-align: center;
  font-size: 15px;
  color: #8b8b8b;
  font-weight: 700;
}

.tracking-time {
  color: #000;
}

.tracking-status {
  font-weight: 700;
  font-size: 18px;
  padding-bottom: 10px;
}

.tracking-descr,
.tracking-city {
  font-size: 15px;
}

.tracking-descr {
  color: #8b8b8b;
}

.tracking-city {
  color: #863fd8;
}

.tracking-circle {
  display: inline-block;
  width: 18px;
  height: 18px;
  border: 4px solid #e9ecef;
  border-radius: 50%;
  box-shadow: 0 0 0 3px #fff;
  position: absolute;
  top: 4px;
  left: 83px;
  background: #fff;
}

.tracking-circle[data-status-id="0"] {
  border-color: #3f6ad8;
}
.tracking-circle[data-status-id="1"] {
  border-color: #863fd8;
}
.tracking-circle[data-status-id="2"] {
  border-color: #f7b924;
}
.tracking-circle[data-status-id="3"] {
  border-color: #3ac47d;
}
.tracking-circle[data-status-id="4"] {
  border-color: #d92550;
}
.tracking-circle[data-status-id="5"] {
  border-color: #35b2d8;
}
.tracking-circle[data-status-id="6"] {
  border-color: #f7b924;
}
.tracking-circle[data-status-id="7"] {
  border-color: #d92550;
}
.tracking-circle[data-status-id="8"] {
  border-color: #863fd8;
}
.tracking-circle[data-status-id="14"] {
  border-color: #3ac47d;
}
.tracking-circle[data-status-id="12"] {
  border-color: #0c59e9;
}
.tracking-circle[data-status-id="10"] {
  border-color: #000000;
}

.tracking-status[data-status-id="0"] {
  color: #3f6ad8;
}
.tracking-status[data-status-id="1"] {
  color: #863fd8;
}
.tracking-status[data-status-id="2"] {
  color: #f7b924;
}
.tracking-status[data-status-id="3"] {
  color: #3ac47d;
}
.tracking-status[data-status-id="4"] {
  color: #d92550;
}
.tracking-status[data-status-id="5"] {
  color: #35b2d8;
}
.tracking-status[data-status-id="6"] {
  color: #f7b924;
}
.tracking-status[data-status-id="7"] {
  color: #d92550;
}
.tracking-status[data-status-id="8"] {
  color: #863fd8;
}
.tracking-status[data-status-id="14"] {
  color: #3ac47d;
}
.tracking-status[data-status-id="12"] {
  color: #0c59e9;
}

.tariff-row {
  height: 70px;
}

.tariff-row.hovered {
  /* transition: all 0.5s ease; */
  /* cursor: pointer; */
  box-shadow: 0 0 15px 2px rgba(0, 0, 0, 0.45);
}

#export-modal .modal-header,
#export-modal .modal-footer {
  border: none;
}

@media (max-width: 480px) {

  .fs-price-clone3 img
  {
    width: 100%;
    max-width: 100px;
  }

  .fs-price-clone {
    padding: 8px 15px;
    border: 1px solid #7162fb;
    border-radius: 10px;
    font-size: 16px;
    position: relative;
  }
  .fs-price-clone2 {
    padding: 8px 2px;
    border: 1px solid #7162fb;
    border-radius: 10px;
    font-size: 15px;
    position: relative;
  }
  .fs-price-clone3 {
    padding: 8px 2px;
    border: 1px solid #7162fb;
    border-radius: 10px;
    font-size: 15px;
    position: relative;
  }

  #export-modal {
    background: #ffffff;
  }

  #export-modal .modal-content {
    border: none;
  }
}

.fs-border-gradient {
  border-radius: 10px;
  border-top: 5px solid #7162fb;
  border-bottom: 5px solid #0dded4;
  background-color: #ffffff;
  background-position: 0 0, 100% 0;
  background-repeat: no-repeat;
  background-size: 5px 100%;
  background-image: linear-gradient(to bottom, #7162fb 0%, #0dded4 100%), linear-gradient(to bottom, #7162fb 0%, #0dded4 100%);
}

.fs-dots {
  flex-grow: 1;
  background-image: url("/template/shared/image/dots.svg");
  background-repeat: repeat-x;
  background-position: 0 80%;
}

.fs-btn {
  padding: 15px 30px;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-align: center;
  text-shadow: 1px 1px 1px rgba(0, 0, 0, .55);
  box-shadow: 0 8px 20px 0 rgba(0, 0, 0, .3);
  background-color: #0dded4;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: all .5s;
}

.fs-btn:hover {
  box-shadow: 0 4px 10px 0 rgba(0, 0, 0, .5);
  color: #fff;
  text-decoration: none;
  background: #09b9ac;
}
.fs-btn:disabled:hover,
.fs-btn[disabled]:hover,
.fs-btn[disabled],
.fs-btn:disabled {
  box-shadow: 0 4px 10px 0 rgba(0, 0, 0, .5);
  color: #e9e9e9;
  text-decoration: none;
  background: #8f8d8d;
}
.fs-btn:focus {
  outline: none;
}

.fs-input {
  width: 100%;
  padding: 10px;
  margin-top: 15px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 14px;
  background: #fff;
  position: relative;
  transition: border .3s;
}

.fs-input:focus {
  outline: none;
  border: 1px solid #7162fb;
  box-shadow: none;
}

.fs-input-label {
  font-size: 14px;
  color: #8b8b8b;
  position: absolute;
  top: 25px;
  left: 22px;
  cursor: text;
  transition: all .3s;
}

.fs-input-label.label-active {
  font-size: 12px;
  transform: translate(-12px, -30px);
  cursor: default;
}

.fs-checkbox {
  margin-bottom: 0;
  margin-right: 10px;
}

.fs-checkbox input[type="checkbox"] {
  width: 1px;
  height: 1px;
  position: absolute;
  opacity: 0;
  clip: rect(0 0 0 0);
}

.fs-checkbox input[type="checkbox"]+span {
  position: relative;
  display: inline-block;
  width: 28px;
  height: 16px;
  background: #ccc;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s;
}

.fs-checkbox input[type="checkbox"]+span:after {
  content: "";
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ffffff;
  position: absolute;
  top: 2px;
  left: 2px;
  transition: all 0.3s;
}

.fs-checkbox input[type="checkbox"]:checked+span {
  background: #7162fb;
}

.fs-checkbox input[type="checkbox"]:checked+span:after {
  transform: translateX(12px);
}

/* ======================================= */

.fs-calc {
  font-family: "Open Sans", sans-serif;
}

.fs-tariffs {
  padding: 15px;
  margin: 0 -15px;
}

.fs-tariffs-header {
  font-weight: 600;
  background: #7162fb;
  color: #ffffff;
}

.fs-tariffs-item {
  background: #ffffff;
  height: 70px;
  overflow-y: hidden;
  cursor: pointer;
  transition: all 0.5s;
}
.fs-tariffs-item-clone {
  background: #ffffff;
  height: 70px;
  overflow-y: hidden;
  cursor: pointer;
  transition: all 0.5s;
}

.fs-price-clone3 img
{
  width: 100%;
  max-width: 150px;
}

.fs-tariffs-item:hover {
  transform: translateX(15px);
}

.fs-tariffs-header,
.fs-tariffs-item {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  margin-bottom: 10px;
  border-radius: 10px;
  overflow-x: auto;
  padding: 15px 5px;
  box-shadow: 0 3px 10px 0 rgba(0, 0, 0, .18);
}

.fs-tariffs-header::-webkit-scrollbar,
.fs-tariffs-item:not(:last-of-type)::-webkit-scrollbar {
  width: 0px;
  background: transparent;
}

.fs-tariffs-header,
.fs-tariffs-item:not(:last-of-type) {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.fs-tariffs-header div,
.fs-tariffs-item div {
  padding: 0 15px;
}

.fs-tariffs-header div:first-of-type,
.fs-tariffs-item div:first-of-type {
  width: 30%;
  min-width: 105px;
}

.fs-tariffs-header div:last-of-type,
.fs-tariffs-item div:last-of-type {
  width: 40%;
  min-width: 180px;
}

.fs-tariffs-header div:nth-of-type(2),
.fs-tariffs-item div:nth-of-type(3) {
  width: 15%;
  min-width: 100px;
}

.fs-tariffs-header div:nth-of-type(3),
.fs-tariffs-item div:nth-of-type(4) {
  width: 15%;
  min-width: 80px;
}

.fs-tariffs-item-checked {
  border: 2px solid #7162fb;
}

.fs-tariffs-item img {
  width: 100%;
  max-width: 150px;
}




.fs-price {
  padding: 8px 15px;
  border: 1px solid #7162fb;
  border-radius: 10px;
  font-size: 16px;
  position: relative;
}
.fs-price-clone {
  padding: 8px 15px;
  border: 1px solid #7162fb;
  border-radius: 10px;
  font-size: 16px;
  position: relative;
}
.fs-price-clone2 {
  padding: 8px 8px;
  border: 1px solid #7162fb;
  border-radius: 10px;
  font-size: 16px;
  position: relative;
}


.fs-price-lower {
  border-color: #0dded4;
}

.fs-price-lower::after {
  content: "";
  width: 18px;
  height: 18px;
  background-image: url("./images/mark.svg");
  background-repeat: no-repeat;
  background-size: 110%;
  background-position: center;
  position: absolute;
  top: 50%;
  left: 0;
  transform: translate(-50%, -50%);
  background-color: #fff;
}

.fs-calc-form {
  padding-bottom: 5px;
  /*background-image: linear-gradient( 135deg,#990fc3 0,#760fc3 16%,#652ec3 52%,#652ec3 52%,#0dd3c5 100%,#7db9e8 100% );*/
  background-image: linear-gradient(to right, #7162fb 0%, #0dded4 100%);
  border-radius: 10px;
  box-shadow: 0 3px 10px 0 rgba(0, 0, 0, .18);
}

.fs-calc-form>div {
  padding: 20px;
  background: #ffffff;
  border-radius: 9px;
}

.fs-calc-del-form {
  font-size: 14px;
  color: #E92B01;
  cursor: pointer;
  margin: 10px 0 0;
  position: relative;
}

.fs-calc-del-form::after {
  content: url("./images/cross.svg");
  width: 20px;
  height: 20px;
  position: absolute;
  top: 0;
  right: 105px;
}

.fs-calc-sum {
  position: sticky;
  top: 15px;
  padding: 20px;
  max-width: calc(100% - 30px);
  margin: 0 auto;
}

.fs-calc-sum h5 {
  font-weight: 600;
}

.fs-calc-sum p {
  font-size: 14px;
}

.orders-print {
  position: fixed;
  bottom: -100px;
  right: 0;
  font-family: "Open Sans";
  opacity: 0;
  z-index: 100;
}

.orders-print .card{
  box-shadow: 0 0 15px rgba(0, 0, 0, .3);
}

.orders-print .card-header {
  cursor: pointer;
  padding-left: 50px;
  position: relative;
 }

.orders-print .card-header[aria-expanded="false"] {
  border-bottom: none;
}

.orders-print .card-header[aria-expanded="false"]:after {
  content: "";
  display: inline-block;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 5px 5px 5px;
  border-color: transparent transparent #000000 transparent;
  position: absolute;
  top: 22px;
  left: 20px;
}

.orders-print .card-header[aria-expanded="true"]:after {
  content: "";
  display: inline-block;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 5px 5px 0 5px;
  border-color: #000000 transparent transparent transparent;
  position: absolute;
  top: 22px;
  left: 20px;
}

.recalc-form {
  padding: 15px;
}

.recalc-form.fs-border-gradient {
  border-top-color: #7c8595;
  background-image: linear-gradient(to bottom, #7c8595 0%, #0dded4 100%), linear-gradient(to bottom, #7c8595 0%, #0dded4 100%);
}

.recalc-form label {
  font-weight: 400;
}

.recalc-form div {
  position: relative;
  margin-bottom: 15px;
}

.recalc-form .fs-input-label {
  left: 13px;
}

.recalc-form .newsletter-radio {
  margin-right: 15px;
}

.recalc-form .newsletter-radio span {
  top: 2px;
  border-color: #ccc;
}

.recalc-form .newsletter-radio input[type=radio]:checked+span {
  background: transparent !important;
}

.recalc-form button {
  width: 100%;
}