.float-left {
    float: left !important;
}

.float-right {
    float: right !important;
}

.text-align-left {
    text-align: left !important;
}

.text-align-center {
    text-align: center !important;
}

.text-align-right {
    text-align: right !important;
}

.line-height-initial {
    line-height: initial;
}

.hr-col {
    float: left;
    width: 100%;
    margin: 16px 0;
}

.height-100 {
    height: 100vh;
}

/* flex */
.d-flex {
    display: flex;
}

.d-flex.align-items-center {
    align-items: center;
}

.d-flex.justify-content-center {
    justify-content: center;
}

.d-flex.flex-wrap {
    flex-wrap: wrap;
}

.d-flex.justify-content-flex-end {
    justify-content: flex-end;
}

.d-flex.justify-content-space-between {
    justify-content: space-between;
}
.d-flex.justify-content-space-evenly {
    justify-content: space-evenly;
}
.d-flex.flex-direction-column {
    flex-direction: column;
}

@media (max-width: 992px) {
    .d-flex-md {
        display: flex;
    }
    
    .d-flex-md.flex-wrap-md {
        flex-wrap: wrap;
    }

    .d-flex-md.justify-content-center-md {
        justify-content: center;
    }
}

.overflow-hidden {
    overflow: hidden;
}


.d-flex.gap-4-px {
    gap: 4px;
}
.d-flex.gap-8-px {
    gap: 8px;
}
.d-flex.gap-12-px {
    gap: 12px;
}
.d-flex.gap-16-px {
    gap: 16px;
}




/**
    main components
**/

/*
    loader dots
    https://10015.io/tools/css-loader-generator (dot alt-3)
    to change color, please edit "background-image" property
*/

.loader-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background-color: #f6fafd;
    opacity: 0.85;
}

.loader-dots {
   width: 56px;
   height: 26.9px;
   background: radial-gradient(circle closest-side,var(--basic-light-900) 90%,#0000) 0%   50%,
          radial-gradient(circle closest-side,var(--basic-light-900) 90%,#0000) 50%  50%,
          radial-gradient(circle closest-side,var(--basic-light-900) 90%,#0000) 100% 50%;
   background-size: calc(100%/3) 13.4px;
   background-repeat: no-repeat;
   animation: dots-7ar3yq 1s infinite linear;
}

@keyframes dots-7ar3yq {
   20% {
      background-position: 0%   0%, 50%  50%,100%  50%;
   }

   40% {
      background-position: 0% 100%, 50%   0%,100%  50%;
   }

   60% {
      background-position: 0%  50%, 50% 100%,100%   0%;
   }

   80% {
      background-position: 0%  50%, 50%  50%,100% 100%;
   }
}

.loader-dots.small {
   width: 40px;
   height: 19.2px;
   background: radial-gradient(circle closest-side,var(--basic-light-900) 90%,#0000) 0% 50%,
          radial-gradient(circle closest-side,var(--basic-light-900) 90%,#0000) 50%  50%,
          radial-gradient(circle closest-side,var(--basic-light-900) 90%,#0000) 100% 50%;
   background-size: calc(100%/3) 9.6px;
   background-repeat: no-repeat;
   animation: dots-7ar3yq 1s infinite linear;
   display: inline-block;
}

@keyframes dots-7ar3yq {
   20% {
      background-position: 0%   0%, 50%  50%,100%  50%;
   }

   40% {
      background-position: 0% 100%, 50%   0%,100%  50%;
   }

   60% {
      background-position: 0%  50%, 50% 100%,100%   0%;
   }

   80% {
      background-position: 0%  50%, 50%  50%,100% 100%;
   }
}


/**
    modals
**/
.modal-design-system.modal {
    z-index: 2001;
}
/* .modal-backdrop {
    z-index: 2000;
} */

.modal-design-system .modal-content {
    border-radius: 24px;
}

.modal-design-system .modal-header {
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--basic-light-100);
    border-top-left-radius: 24px;
    border-top-right-radius: 24px;
}

.modal-design-system .modal-body,
.modal-design-system .modal-footer {
    background-color: var(--basic-light-200);
    border: 0;
}

.modal-design-system .modal-footer,
.modal-design-system .modal-body.modal-rounded {
    border-bottom-left-radius: 24px;
    border-bottom-right-radius: 24px;
    overflow: hidden;
}

.modal-design-system .modal-header,
.modal-design-system .modal-body,
.modal-design-system .modal-footer {
    padding: 24px;
}

#tooltip-restore-cart .modal-footer {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}

#tooltip-restore-cart .modal-footer::after {
    content: none;
}

.modal-design-system input.form-control {
    border-radius: 12px;
    background: transparent;
    border: 1px solid var(--basic-light-400);
}


@media (max-width: 992px) {
    .w-100-md {
        width: 100%;
    }

    .text-align-center-md {
        text-align: center;
    }
}

.btn:disabled {
    cursor: pointer;
    background-color: var(--basic-light-500);
}

/* dropdown */
.dropdown .dropdown-menu {
    box-shadow: var(--shadow-100-light);
    border-radius: 0.75rem;
    border: none;
}
.dropdown .dropdown-menu ul {
    margin-bottom: 0;
}
.dropdown .dropdown-toggle:after {
    display: none;
}
.dropdown .dropdown-header {
    padding: 0.5rem 0;
    color: var(--secondary-01-light-400);
}
.dropdown .dropdown-item:not(.dropdown-item-header):hover {
    background-color: var(--basic-light-200);
    color: var(--basic-light-700);
}
.dropdown .dropdown-menu {
    margin-top: 10px;
}
.dropdown .dropdown-menu-center {
    left: 50%;
    transform: translateX(-50%);
}

.dropdown .dropdown-menu ul::-webkit-scrollbar {
    width: 6px;
    border-radius: 1rem;
}

.dropdown .dropdown-menu ul::-webkit-scrollbar-track {
    background: var(--basic-light-200);
}

.dropdown .dropdown-menu ul::-webkit-scrollbar-thumb {
    background: var(--basic-light-300);
}

.dropdown .dropdown-menu ul::-webkit-scrollbar-thumb:hover {
    background: var(--basic-light-400);
}

@media (max-width: 767px) {
    .dropdown-item, .menu {
        padding-left: 1.5rem;
    }
}

#product-carriers-pills i.design-system-icon {
    font-size: 24px;
}

#product-carriers-pills .carrier-disabled i::before {
    color: rgba(60, 97, 127, 0.5);
}

#product-carriers-pills .product-carrier {
    cursor: default;
}

#product-carriers-pills .carrier-disabled {
    background-color: rgba(214, 225, 236, 0.5);
}

#product-carriers-pills .carrier-disabled .cross {
    display: block;
    position: relative;
    width: 28px;
    height: 1px;
    background-color: rgba(60, 97, 127, 0.5);
    top: -12px;
    transform: rotate(45deg);
}

/*
TABLES
*/
.table {
    border-radius: 12px;
    overflow: hidden;
}
.table thead th {
    background-color: var(--basic-light-600);
    color: #fff;
    text-align: center;
    vertical-align: middle;
}
.table-striped tbody tr:nth-of-type(odd) {
    background-color: var(--basic-light-200);
}


/* LABEL */
body#history .label.dark,
body#order-detail .label.dark {
    font-size: inherit;
}


/**
    LATERAL SLIDERS
*/
.lateralslider {
    /* display: none; */
}
.lateralslider.open {
    /* display: block; */
}
.lateralslider .lateralslider-overlay {
    position: fixed;
    display: none;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.3);
    z-index: 10000002;
    cursor: pointer;
}
.lateralslider.open .lateralslider-overlay {
    display: block;
}
.lateralslider .lateralslider-block {
    position: fixed;
    right: -600px;
    top: 0;
    z-index: 10000002;
    width: 530px;
    max-width: 80%;
    max-height: 100vh;
    min-height: 100vh;
    background: #fff;
    box-shadow: 2px 2px 8px 0 #00000033;
    -webkit-transition: right 200ms ease-in;
    transition: right 200ms ease-in;
    overflow: auto;
}
.lateralslider.open .lateralslider-block {
    right: 0;
}
.lateralslider .lateralslider-title {
    padding: 24px 72px 24px 24px;
    position: relative;
}
.lateralslider .lateralslider-close-btn {
    background-color: transparent;
    position: absolute;
    right: 0;
    top: 0;
    border: none;
    line-height: 20px;
    padding: 22px 24px;
}
.lateralslider .lateralslider-close-btn:hover {
    color: var(--primary-01-light-500);
}
.lateralslider .lateralslider-body {
    padding: 0 24px 24px;
    max-height: calc(100% - 68px);
    overflow-y: auto;
}

.lateralslider .lateralslider-body::-webkit-scrollbar {
    width: 6px;
    border-radius: 1rem;
}
.lateralslider .lateralslider-body::-webkit-scrollbar-track {
    background: var(--basic-light-200);
}
.lateralslider .lateralslider-body::-webkit-scrollbar-thumb {
    background: var(--basic-light-300);
}
.lateralslider .lateralslider-body::-webkit-scrollbar-thumb:hover {
    background: var(--basic-light-400);
}