:root {
  --txtcolor: #040F43;
  --fu-gap: 12px !important;
  --nav-top-h: 54px;
}

@media (max-width: 768px){
  .fu-flex-container {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    width: 100%;
  }
  .fu-flex-container > .fu-flex-66,
  .fu-flex-container > .fu-flex-33,
  .fu-flex-container > .fu-flex-70,
  .fu-flex-container > .fu-flex-30,
  .fu-flex-66,
  .fu-flex-33,
  .fu-flex-70,
  .fu-flex-30,
  .fu-container-left,
  .fu-container-right {
    width: 100% !important;
    max-width: 100% !important;
    flex: 1 1 100% !important;
    min-width: 0 !important;
  }
  .fu-row.NeedToBeDealtWith {
    width: 100% !important;
    flex-direction: column !important;
    gap: 12px !important;
  }
  .fu-row.NeedToBeDealtWith > .fu-card {
    width: 100% !important;
    max-width: 100% !important;
    flex: 1 1 100% !important;
  }
  .fu-row.NeedToBeDealtWith > .fu-card.fu-row {
    flex-direction: column !important;
  }
  .cost-container .actions {
    gap: 10px;
  }
  .cost-container .actions .action {
    min-width: 0;
    padding: 12px 14px;
  }
  .cost-container .actions .action:not(:last-child) {
    margin-right: 0;
  }
  .cost-container .actions .action h2,
  .cost-container .info-container .balance-info h1 {
    white-space: nowrap !important;
    word-break: keep-all !important;
  }
  .userInformation .userInformation-xs1 .userInformation-itme {
    min-width: 0;
    margin-bottom: 8px;
  }
  .userInformation .binding.userInformation-xs2,
  .userInformation .fu-row.binding {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 12px !important;
  }
  .userInformation .userInformation-xs202 {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 10px !important;
    flex-direction: unset !important;
    width: 100% !important;
  }
  .userInformation .userInformation-xs202 .btn {
    padding: 8px 4px !important;
    justify-content: center !important;
    margin: 0 !important;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    white-space: nowrap;
    font-size: 13px;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .earnCommission .earnCommission-content .earnCommission-offers .offer-item {
    width: 100% !important;
    margin-right: 0 !important;
    padding: 14px 16px !important;
    background-size: 72px auto !important;
    background-position: right 8px bottom 8px !important;
  }
  .earnCommission .earnCommission-content .offer-item .offer-header {
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
  }
  .earnCommission .earnCommission-content .offer-item .offer-header h1,
  .earnCommission .earnCommission-content .offer-item .offer-header .title {
    writing-mode: horizontal-tb !important;
    text-orientation: mixed !important;
    white-space: nowrap !important;
    word-break: keep-all !important;
    transform: none !important;
    font-stretch: normal !important;
    letter-spacing: 0 !important;
    font-size: 15px !important;
    line-height: 1.4 !important;
    margin: 0 8px 0 0 !important;
    max-width: none !important;
    height: auto !important;
    width: auto !important;
  }
  .earnCommission .earnCommission-content .offer-item .desc {
    font-size: 13px !important;
    line-height: 1.55 !important;
    word-break: break-word;
  }
  .Product-table .operationButtons {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
  }
  .Product-table .operationButtons > * {
    flex-basis: 100%;
  }
  .Product-table .operationButtons > .btn, .Product-table .operationButtons > .dropdown.bootstrap-select.show-tick {
    flex-basis: calc(33.333% - 10px);
    margin-right: 10px;
  }
  .Product-table .operationButtons > a.btn:first-child, .Product-table .operationButtons > .dropdown.bootstrap-select.show-tick:first-of-type {
    flex-basis: auto;
    flex-grow: 1;
  }
  .Product-table .operationButtons > a.btn:nth-child(1), .Product-table .operationButtons > div:nth-child(2) {
    flex-basis: auto;
    flex-grow: 1;
  }
  .Product-table .operationButtons > :nth-child(3n+3) {
    margin-right: 0;
  }
  .Product-table .operationButtons > :nth-child(n+3) {
    flex-basis: calc(33.333% - 10px);
  }
  .Product-table .operationButtons > :nth-child(3n+4) {
    margin-right: 0;
  }
  .Product-table .table-responsive {
    background: transparent;
    overflow-x: hidden;
    box-shadow: none;
  }
  .Product-table .server-area {
    height: max-content;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    background: transparent;
    margin-bottom: 10px;
  }
  .Product-table .server-area .server-area-item {
    width: 100%;
    height: 38px;
    padding: 0 20px;
    border-bottom: 1px solid #e5e5e5;
    border-right: 1px solid #e5e5e5;
    justify-content: flex-start;
    background: #fff;
  }
  .Product-table .server-area .server-area-item:nth-child(1), .Product-table .server-area .server-area-item:nth-child(2) {
    border-top: 1px solid #e5e5e5;
  }
  .Product-table .server-area .server-area-item:before {
    display: none;
  }
  .Product-table .server-area .server-area-item.active {
    background: #e7eaef;
  }
  .Product-table .server-area .server-area-item.active * {
    color: var(--primary);
  }
  .fu-step ol {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0 !important;
  }
  .fu-step .step-item {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    width: 100% !important;
  }
  .fu-step .step-item .step-item-title {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    white-space: nowrap !important;
    writing-mode: horizontal-tb !important;
    word-break: keep-all !important;
    font-size: 14px !important;
    line-height: 1.4 !important;
  }
  .fu-step .step-item .step-arrow {
    margin: 6px 0 6px 12px !important;
  }
  .fu-step .step-item .step-arrow:before {
    display: inline-block;
    transform: rotate(90deg);
  }
  .selectDepartment {
    padding-bottom: 24px !important;
  }
  .selectDepartment .selectDepartment-content .selectDepartment-row {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 10px !important;
    width: 100% !important;
  }
  .selectDepartment .selectDepartment-content .selectDepartment-row .selectDepartment-item {
    width: 100% !important;
    min-height: auto !important;
    margin-bottom: 0 !important;
    padding: 16px !important;
    box-sizing: border-box;
  }
  .selectDepartment .selectDepartment-content .selectDepartment-row .selectDepartment-item .selectDepartment-item-text {
    width: 100%;
    min-width: 0;
  }
  .selectDepartment .selectDepartment-content .selectDepartment-row .selectDepartment-item .selectDepartment-item-title,
  .selectDepartment .selectDepartment-content .selectDepartment-row .selectDepartment-item .selectDepartment-item-content {
    writing-mode: horizontal-tb !important;
    text-orientation: mixed !important;
    white-space: normal !important;
    word-break: break-word !important;
    width: auto !important;
    max-width: 100% !important;
  }
  .selectDepartment .selectDepartment-content .selectDepartment-row .selectDepartment-item .selectDepartment-item-title {
    font-size: 15px !important;
    line-height: 1.4 !important;
    margin: 0 0 6px !important;
  }
  .selectDepartment .problemSearch .input-group {
    flex-wrap: nowrap;
  }
  .fu-row {
    gap: 0;
    flex-direction: column;
  }
  
  .userInformation .binding.fu-row,
  .userInformation .userInformation-xs202.fu-row {
    flex-direction: row !important;
  }
  .userInformation .userInformation-xs202.fu-row {
    display: grid !important;
    flex-direction: unset !important;
  }
  #screenModal .bootstrap-select:not([class*=col-]):not([class*=form-control]):not(.input-group-btn) {
    width: 100%;
  }
  #screenModal .dropdown-toggle.btn-default {
    border-color: #ced4da !important;
  }
  .productList_page {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 18px;
  }
  .productList_page .productList_page_pus {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 4px;
  }
  .productList_page .productList_page_pus i {
    color: #999;
  }
  .productList_page .productList_page_pus p {
    color: #999;
    display: flex;
    align-items: center;
    gap: 4px;
  }
  .productList_page .productList_page_search i {
    font-size: 24px;
    font-weight: 600;
    color: var(--primary);
  }
  .productList_page .productList_page_screen i {
    font-size: 20px;
    font-weight: 600;
  }
  .fu-table-footer-m {
    background: #fff;
    padding: 20px;
  }
  .fu-table-footer-m .dropdown-toggle.btn-default {
    border-color: #e1e6f0 !important;
  }
  .productTable_m {
    gap: 6px;
    min-height: calc(100vh - var(--nav-top-h) - var(--nav-top-h-page) - 70px);
  }
  .productTable_m .service-card {
    background: #fff;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }
  .productTable_m .service-card:last-child {
    margin-bottom: 0;
  }
  .productTable_m .service-card .service-card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 20px 20px 0;
    padding-bottom: 20px;
    justify-content: space-between;
    border-bottom: 1px solid #e1e6f0;
  }
  .productTable_m .service-card .service-card-header .instanceInformation-m {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 10px;
  }
  .productTable_m .service-card .service-card-header .instanceInformation-m img {
    margin-top: 4px;
  }
  .productTable_m .service-card .service-card-header .instanceInformation-m .service-name {
    font-weight: 500;
    color: var(--txtcolor);
    font-size: 16px;
    margin-bottom: 4px;
    display: block;
  }
  .productTable_m .service-card .service-card-header .instanceInformation-m .service-domain {
    color: #999;
    font-size: 14px;
    display: flex;
    white-space: nowrap;
    flex-direction: row;
    align-items: center;
    gap: 6px;
  }
  .productTable_m .service-card .service-card-header .instanceInformation-m .productstate-m {
    font-size: 14px;
  }
  .productTable_m .service-card .service-card-header .instanceInformation-m .productstate-m.t-suspended, .productTable_m .service-card .service-card-header .instanceInformation-m .productstate-m.t-fraud {
    color: var(--danger);
  }
  .productTable_m .service-card .service-card-header .instanceInformation-m .productstate-m.t-active {
    color: #34c38f;
  }
  .productTable_m .service-card .service-card-header .instanceInformation-m .productstate-m.t-pending {
    color: var(--warning);
  }
  .productTable_m .service-card .service-card-row {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 10px 20px 14px;
  }
  .productTable_m .service-card .instance-state {
    display: flex;
    align-items: center;
    gap: 2px;
    padding-right: 5px;
    position: relative;
  }
  .productTable_m .service-card .instance-state:after {
    content: "";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 10px;
    background: #e1e6f0;
  }
  .productTable_m .service-card .service-detail {
    width: 100%;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 10px 0;
    gap: 20px;
  }
  .productTable_m .service-card .service-detail:last-child {
    border-bottom: none;
  }
  .productTable_m .service-card .service-detail .label {
    font-weight: 400;
    color: #999;
    min-width: 70px;
  }
  .productTable_m .service-card .service-detail > div {
    display: flex;
    align-items: center;
    gap: 6px;
  }
  .productTable_m .service-card .service-detail .expirationReminder {
    font-size: 14px;
  }
  .productTable_m .service-card .service-detail .service-billing .automatic-renewal {
    color: #d3d3d3;
  }
  .productTable_m .service-card .service-detail .status-text {
    font-size: 14px;
    font-weight: 500;
  }
  .productTable_m .table-pagination-m {
    display: flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
    margin-bottom: 10px;
  }
  .productTable_m .table-pagination-m .bootstrap-select:not([class*=col-]):not([class*=form-control]):not(.input-group-btn) {
    width: 80px;
  }
  .cloudServer-head .bottomConsole {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: max-content;
    padding: 10px;
    background: #fff;
    box-shadow: 0px 2px 4px 0px rgb(0, 0, 0);
  }
  .cloudServer-head .bottomConsole .machineInformation {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin: 10px 0 8px;
    flex-direction: column;
  }
  .cloudServer-head .bottomConsole .machineInformation .Information-content {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
  }
  .cloudServer-head .bottomConsole .machineInformation .instanceInformation-itme {
    display: grid;
    margin-top: 0;
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: 10px;
  }
  .fu-servicedetail .cloudServer .example-left .instanceInformation .instanceInformation-row .instanceInformation-itme.controlArea {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(70px, 1fr));
    gap: 8px;
  }
  .usageInformation .ll-flex {
    display: flex;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 16px;
  }
  .usageInformation .progress.w-75 {
    width: 100% !important;
  }
  #moduleResetPass .justify-content-end, #moduleDcimCloudRescueForceDiv .justify-content-end, #moduleReinstall .justify-content-end, #moduleDcimCloudRescue .justify-content-end {
    flex-direction: column !important;
    align-items: flex-start !important;
  }
  #modalRenew .form-group .text-right {
    text-align: left !important;
  }
}

