.view-user-account {

  .side-navigation {
    .info-main {
      text-align: center;
      margin-bottom: 20px;

      .profile-img {
        width: 200px;
        height: 200px;
        margin: auto;
        margin-bottom: 20px;

        div {
          width: 100%;
          height: 100%;
          padding-bottom: calc(100% * 1 / 1);
          position: relative;

          img {
            width: 100%;
            height: 100%;
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            object-fit: cover;
            object-position: center;
          }
        }
      }

      h3 {
        font-size: 30px;
        margin-bottom: 10px;
      }

      p {
        font-size: 20px;
        margin-bottom: 40px;
      }

      button {
        border: 1px solid #cccccc;
        border-radius: 3px;
        padding: 5px 15px;
        font-size: 16px;
        background-color: #ffffff;
        color: #0f74a8;
        transition: 250ms all ease-in-out;

        &:hover {
          background-color: #0f74a8;
          color: #ffffff;
          text-decoration: none;
        }
      }
    }

    .profile-navigation {
      .block-separator {
        display: flex;
        justify-content: flex-start;
        align-items: center;
        margin-bottom: 20px;
        @media (min-width: 992px) and (max-width: 1199.98px) {
          flex-flow: column;
        }
        @media (min-width: 768px) and (max-width: 991.98px) {
          justify-content: space-between;
        }
        @media (min-width: 576px) and (max-width: 767.98px) {
          justify-content: space-between;
        }

        p {
          color: #87A6BD;
          margin: 0 10px 0 0;
          text-transform: uppercase;
          font-size: 16px;
        }

        .line {
          width: 70%;
          height: 1px;
          background-color: #87A6BD;
        }
      }

      .block-profile-navigation {
        @media (min-width: 768px) and (max-width: 991.98px) {
          display: grid;
          grid-row-gap: 20px;
          grid-column-gap: 20px;
          grid-template-columns: 1fr 1fr 1fr;
          margin-bottom: 50px;
        }
        @media (min-width: 576px) and (max-width: 767.98px) {
          display: grid;
          grid-row-gap: 20px;
          grid-column-gap: 20px;
          grid-template-columns: 1fr 1fr;
          margin-bottom: 50px;
        }
        .block-profile-navigation-item {
          padding: 5px 20px;
          transition: 250ms all ease-in-out;
          margin-bottom: 10px;
          @media (min-width: 768px) and (max-width: 991.98px) {
            margin-bottom: 0;
          }
          @media (min-width: 576px) and (max-width: 767.98px) {
            margin-bottom: 0;
          }
          i {
            margin-right: 20px;
            color: #87A6BD;
            transition: 250ms all ease-in-out;
            font-size: 16px;
          }

          a {
            transition: 250ms all ease-in-out;
            font-size: 16px;
          }

          &:hover, &.active {
            background-color: #13A9DF;

            i, a {
              color: #ffffff;
            }
          }
        }
      }
    }
  }

  .wrapper-content-profile {
    padding: 35px 35px 70px 35px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
    transition: all 0.3s cubic-bezier(.25,.8,.25,1);
    min-height: 100vh;
    @media (max-width: 575.98px) {
      padding: 35px 20px 70px 20px;
    }
    .dataTables_scroll{
      .dataTables_scrollHead{
        .dataTables_scrollHeadInner{
            width: 100% !important;
          table.dataTable{
            width: 100% !important;
          }
        }
      }
      .dataTables_scrollBody{
        width: 100% !important;
        table.dataTable{
          width: 100% !important;
        }
      }
    }
    .wrapper-profile-user {
      h2 {
        border-bottom: 1px solid #ccc;
        font-size: 20px;
        color: #578EBE;
        text-transform: uppercase;
        margin-bottom: 30px;
        padding-bottom: 10px;
      }

      .main-infomation {
        .main-info-item {
          display: flex;
          align-items: flex-end;
          justify-content: flex-start;
          margin-bottom: 15px;

          h3.name {
            font-size: 35px;
            margin: 0;
          }

          .address {
            margin-left: 20px;

            i {
              font-size: 16px;
              color: #9B9B9B;
            }

            span {
              font-size: 16px;
              color: #9B9B9B;
            }
          }

          p.job {
            color: #2196F3;
            font-size: 20px;
          }
        }
      }

      .basic-information {
        margin-bottom: 50px;

        h4 {
          font-size: 20px;
          color: #C8C8C8;
          text-transform: uppercase;
          margin-bottom: 20px;
        }

        .wrapper-basic-info {
          .basic-info-item {
            display: flex;
            align-items: center;
            justify-content: flex-start;
            padding: 10px 0;

            span {
              display: inline-block;
              font-size: 16px;

              &:first-child {
                width: 30%;
              }
            }
          }
        }
      }

      .contact-information {
        h4 {
          font-size: 20px;
          color: #C8C8C8;
          text-transform: uppercase;
          margin-bottom: 20px;
        }

        .wrapper-contact-info {
          .contact-info-item {
            display: flex;
            align-items: center;
            justify-content: flex-start;
            padding: 10px 0;

            span {
              display: inline-block;
              font-size: 16px;

              &:first-child {
                width: 30%;
              }
            }
          }
        }
      }
    }
  }

  .wrapper-category-form,.wrapper-service-form,.wrapper-employee-form,.wrapper-account-setting,.wrapper-location-form,
  .wrapper-state-form,.wrapper-customer-form, .wrapper-table-review, .wrapper-table-order,  .wrapper-review-form, .wrapper-employee-form, .wrapper-coupon-form{
    .block-nav-setting {
      display: flex;
      align-items: center;
      justify-content: flex-start;
      border-bottom: 1px solid #ccc;
      margin-bottom: 30px;
      padding-bottom: 10px;
      @media (max-width: 575.98px) {
        flex-direction: column;
        justify-content: center;

      }
      @media (min-width: 576px) and (max-width: 767.98px) {
        flex-flow: column;
        justify-content: center;
      }
      @media (min-width: 768px) and (max-width: 991.98px) {
        justify-content: space-between;
      }
      @media (min-width: 992px) and (max-width: 1199.98px) {
        justify-content: space-between;
      }
      h2 {
        font-size: 20px;
        color: #578EBE;
        text-transform: uppercase;
        @media (max-width: 575.98px) {
          margin-bottom: 20px;
        }
        @media (min-width: 576px) and (max-width: 767.98px) {
          margin-bottom: 20px;
        }
      }

    }

    .block-content-setting {
      .tab-content {
        margin-bottom: 30px;

        #personal-info {
          h3 {
            font-size: 18px;
            margin-bottom: 10px;
          }

          p {
            color: #666666;
            font-size: 16px;
            margin-bottom: 20px;
          }

          .block-edit-account {
            .wrapper-account-detail {
              display: flex;
              justify-content: space-between;
              align-items: center;
              @media (max-width: 575.98px) {
                flex-direction: column;
                align-items: flex-start;
              }
              @media (min-width: 576px) and (max-width: 767.98px) {
                flex-flow: column;
                align-items: flex-start;
              }
              @media (min-width: 992px) and (max-width: 1199.98px) {
                display: flex;
                justify-content: flex-start;
                align-items: center;
                flex-direction: column;
              }
              .form-group {
                width: calc(100% / 2 - 10px);
                @media (max-width: 575.98px) {
                  width: 100%;
                }
                @media (min-width: 576px) and (max-width: 767.98px) {
                  width: 100%;
                }
                @media (min-width: 992px) and (max-width: 1199.98px) {
                  width: 100%;
                }

                label[id$="-lbl"] {
                  margin-bottom: 10px;
                }

                input[type="text"] {
                  &:not(.phone_number) {
                    height: 40px;
                    padding: 12px;
                    border: 1px solid #E2E5EC;
                    box-shadow: none;
                    border-radius: 3px;
                  }

                }
              }

              &:last-child {
                .form-group {
                  width: 100%;
                }
              }
            }

            .form-group {
              #image-lbl {
                width: 100%;
                text-align: center;
              }
            }
          }
        }
        #billing-address {
          .wrapper-billing-address {
            display: flex;
            justify-content: space-between;
            align-items: center;
            @media (max-width: 575.98px) {
              flex-flow: column;
            }
            @media (min-width: 576px) and (max-width: 767.98px) {
              flex-flow: column;
            }

            .form-group {
              width: calc(100% / 2 - 10px);
              @media (max-width: 575.98px) {
                width: 100%;
              }
              @media (min-width: 576px) and (max-width: 767.98px) {
                width: 100%;
              }

              label[id$="-lbl"] {
                margin-bottom: 10px;
              }

              input[type="text"] {
                &:not(.phone_number) {
                  height: 40px;
                  padding: 12px;
                  border: 1px solid #E2E5EC;
                  box-shadow: none;
                  border-radius: 3px;
                }

              }
            }
          }
        }
      }
    }

    .btn-save-change {
      border: 1px solid #cccccc;
      border-radius: 3px;
      padding: 10px 30px;
      font-size: 16px;
      background-color: #ffffff;
      color: #0f74a8;
      transition: 250ms all ease-in-out;

      &:hover {
        background-color: #0f74a8;
        color: #ffffff;
        text-decoration: none;
      }
    }
  }

  .wrapper-category-form,.wrapper-service-form,.wrapper-employee-form,.wrapper-account-setting,.wrapper-location-form,
  .wrapper-state-form,.wrapper-customer-form, .wrapper-table-review,.wrapper-table-order,  .wrapper-review-form, .wrapper-employee-form, .wrapper-coupon-form{
    ul.nav-tabs {
      border-bottom: none;
      @media (max-width: 575.98px) {
        margin: 0;
        width: 100%;
      }
      @media (min-width: 576px) and (max-width: 767.98px) {
        display: grid;
        grid-row-gap: 20px;
        grid-column-gap: 20px;
        grid-template-columns: 1fr 1fr;
        margin: 0;
        width: 100%;
        &::before, &::after {
          display: none;
        }
      }
      @media (min-width: 768px) and (max-width: 991.98px) {
        display: grid;
        grid-row-gap: 20px;
        grid-column-gap: 20px;
        grid-template-columns: 1fr 1fr;
        margin: 0 0 0 30px;
        width: 70%;
        &::before, &::after {
          display: none;
        }
      }
      @media (min-width: 992px) and (max-width: 1199.98px) {
        display: grid;
        grid-row-gap: 10px;
        grid-column-gap: 10px;
        grid-template-columns: 1fr 1fr;
        margin: 0 0 0 30px;
        width: 60%;
        &::before, &::after {
          display: none;
        }
      }
      li {
        margin-left: 15px;
        @media (max-width: 575.98px) {
          margin: 0 0 10px 0;
          width: 100%;
        }
        @media (min-width: 576px) and (max-width: 767.98px) {
          width: 100%;
          margin: 0;
        }
        @media (min-width: 768px) and (max-width: 991.98px) {
          width: 100%;
          margin: 0;
        }
        @media (min-width: 992px) and (max-width: 1199.98px) {
          width: 100%;
          margin: 0;
        }
        a {
          font-style: normal;
          font-weight: normal;
          text-transform: capitalize;
          color: #337ab7;
          border: 1px solid #EBEDF2;
          transition: 250ms all ease-in-out;
          font-size: 18px;
          padding: 5px;
          border-radius: 3px;
          &:hover {
            color: #FFFFFF;
            background: #11a9df;
          }
        }

        &.active {
          a {
            background: #11a9df;
            color: #FFFFFF;
            font-style: normal;
            font-weight: normal;
          }
        }
      }
    }
    .add-background {
      .form-group {
        padding: 10px;
        background-color: #FAF9FC;
        border: 1px solid #E2E5EC;
      }
    }
    span{
      font-size: 1.6rem;
    }
    input{
      font-size: 1.6rem;
    }
    .open-close-on {
      .form-group {
        display: flex;
        flex-flow: row nowrap;
        justify-content: flex-start;
        align-items: center;
        padding: 10px;
        background-color: #FAF9FC;
        border: 1px solid #E2E5EC;
        label {
          width: 20%;
          margin-right: 15px;
          margin-bottom: 0;
        }
        #element_field_open_time, #element_field_close_time {
          width: 77%;
        }
      }
    }
    .btn-save{
      float: right;
      button{
        background-color: #11a9df;
        transition: 250ms all ease-in-out;
        border-color: unset;
        font-size: 15px;
        font-weight: bold;
        display: flex;
        align-items: center;
        justify-content: flex-start;
        i{
          margin-right: 4px;
        }
      }
    }
    .btn-save-change{
      button{
        background-color: #11a9df;
        transition: 250ms all ease-in-out;
        border-color: unset;
        font-size: 15px;
        font-weight: bold;
        display: flex;
        align-items: center;
        justify-content: flex-start;
        i{
          margin-right: 4px;
        }
      }
    }
  }

  .wrapper-table-order,.wrapper-table-category, .wrapper-wish-list, .wrapper-table-location, .wrapper-table-state ,.wrapper-table-customer, .wrapper-table-review,  .wrapper-table-service,.wrapper-table-employee,
  .wrapper-table-coupon{
    h2 {
      border-bottom: 1px solid #ccc;
      font-size: 20px;
      color: #578EBE;
      text-transform: uppercase;
      margin-bottom: 30px;
      padding-bottom: 10px;
    }

    .btn-add {
      float: right;
      margin-bottom: 20px;

      a {
        border-color: unset;
        font-size: 15px;
        font-weight: bold;
        display: flex;
        align-items: center;
        justify-content: flex-start;
        background-color: #EE5757;
        transition: 250ms all ease-in-out;
      }
    }

    img {
      width: 50px;
      height: 50px;
    }

    input[type="search"] {
      height: 40px;
      padding: 12px;
      border: 1px solid #E2E5EC;
      box-shadow: none;
    }

    .dataTables_info {
      font-size: 16px;
    }

    a.paginate_button {
      font-size: 16px;
      padding: 8px 7px;
      background: transparent;
      border: none;

      &:hover {
        background: transparent !important;
        border: none !important;
        color: #575962 !important;
      }

      &.previous {
        transform: rotate(180deg);
      }

      &.disabled {
        display: none;
      }

      &.current {
        border: none;
        background-color: transparent;
        background: none;
        font-weight: 600;
        line-height: 17px;
      }
    }

    .dataTables_length {
      margin-bottom: 50px;
      font-style: normal;
      font-weight: normal;
      font-size: 13px;
      line-height: 17px;
      color: #575962;
      @media (max-width: 575.98px) {
        margin-bottom: 20px;
        text-align: left;
      }
      @media (min-width: 576px) and (max-width: 767.98px) {
        margin-bottom: 20px;
        text-align: left;
      }
        select {
        padding: 10px;
        border-radius: 3px;
        border: 1px solid #EBEDF2;
        margin: 0 5px;
      }
    }
    .dataTables_filter{
      @media (max-width: 575.98px) {
        margin-bottom: 20px;
        text-align: left;
      }
      @media (min-width: 576px) and (max-width: 767.98px) {
        margin-bottom: 20px;
        text-align: left;
      }
    }
    .dataTables_wrapper {
      .dataTables_scroll {
        .dataTables_scrollHead {
          .dataTables_scrollHeadInner {
            width: 820px!important;
            table {
              width: 820px!important;
              border-collapse: collapse!important;
              thead {
                tr {
                  th {
                    vertical-align: middle;
                    font-size: 16px;
                    &.sorting, &.sorting_desc, &.sorting_asc {
                      background: none;
                    }
                  }
                }
              }
            }
          }
        }
        .dataTables_scrollBody {
          table#list-order-user, table#list-order-customer, table#wish-list , table#list-category, table#list-location, table#list-state, table#list-customer, table#list-review-vendor, table#list-review-service, table#list-service, table#list-category, table#list-employee,
          table#list-coupon{
            border-collapse: collapse !important;
            margin-bottom: 50px !important;
            width: 820px!important;


            tbody {
              tr {
                td {
                  vertical-align: middle;
                  border-top: none;
                  padding: 15px 25px;
                  font-size: 14px;
                  &:first-child {
                    font-style: normal;
                    font-weight: bold;

                    line-height: 17px;
                    color: #5867DD;
                  }
                  .button-action {
                    display: flex;
                    justify-content: flex-start;
                    align-items: center;
                    a {
                      &.btn-edit {
                        margin-right: 15px;
                      }
                    }
                    i {
                      &::before {
                        color: #575962;
                        font-size: 18px;
                      }
                    }
                    .btn-delete {
                      background:none;
                      padding: 0;
                      font-size: 18px;
                      text-decoration: none;
                    }
                  }
                  a.btn-view {
                    border: 1px solid #cccccc;
                    border-radius: 3px;
                    padding: 5px 10px;
                    font-size: 16px;
                    background-color: #ffffff;
                    color: #0f74a8;
                    transition: 250ms all ease-in-out;
                    width: 70%;
                    display: block;
                    text-align: center;
                    margin: auto;

                    @media (min-width: 768px) and (max-width: 991.98px) {

                    }
                    &:hover {
                      background-color: #0f74a8;
                      color: #ffffff;
                      text-decoration: none;
                    }
                  }

                  .published {
                    color: green;
                    i {
                      font-size: 19px;
                      padding-left: 14px;
                    }
                  }
                  .unpublished {
                    i {
                      font-size: 19px;
                      padding-left: 13px;
                    }
                  }

                  &.service-image,&.employee-image,&.category-image {
                    width: 20%;

                    .img-block {
                      width: 50px;
                      height: 50px;
                      border-radius: 5px;
                      overflow: hidden;

                      div {
                        width: 100%;
                        height: 100%;
                        position: relative;
                        padding-bottom: calc(100% * 1 / 1);

                        img {
                          width: 100%;
                          height: 100%;
                          position: absolute;
                          top: 50%;
                          left: 50%;
                          transform: translate(-50%, -50%);
                          object-fit: cover;
                          object-position: center;
                        }
                      }
                    }
                  }

                }
              }
            }
          }
        }
      }
    }

  }

  .wrapper-order-detail {
    h2 {
      border-bottom: 1px solid #ccc;
      font-size: 20px;
      color: #578EBE;
      text-transform: uppercase;
      margin-bottom: 30px;
      padding-bottom: 10px;
    }

    .block-order-detail {
      .title {
        span {
          &:first-child {
            font-size: 40px;
          }
        }
      }

      .status {
        background-color: #1e7e34;
        color: #ffffff;
        border-radius: 3px;
        width: 13%;
        padding: 5px 20px;
        font-size: 14px;
        @media (max-width: 575.98px) {
          width: 100%;
        }
        @media (min-width: 576px) and (max-width: 767.98px) {
          width: 100%;
        }
        @media (min-width: 768px) and (max-width: 991.98px) {
          width: 15%;
        }
        @media (min-width: 992px) and (max-width: 1199.98px) {
          width: 15%;
        }

      }
      .block-order-detail-sum {
        padding: 50px 0;

        .content-top {
          border-bottom: 1px solid #cccccc;
          display: flex;
          justify-content: flex-start;
          align-items: center;
          padding-bottom: 30px;
          @media (max-width: 575.98px) {
            justify-content: space-between;
          }
          @media (min-width: 576px) and (max-width: 767.98px) {
            justify-content: space-between;
          }
          h3 {
            color: #ff9381;
            font-size: 20px;
            margin-right: 100px;
            @media (max-width: 575.98px) {
              width: 50%;
              margin-right: 0;
            }
          }

          .price {
            border: 1px solid #cccccc;
            padding: 0 10px;
            border-radius: 4px;

            i {
              color: #ac2925;
              font-size: 16px;
              margin-right: 5px;
            }

            span {
              font-size: 16px;
            }
          }
        }

        .content-info-production {
          border-bottom: 1px solid #cccccc;
          display: flex;
          justify-content: flex-start;
          align-items: center;
          padding: 30px 0;
          @media (max-width: 575.98px) {
            flex-direction: column;
          }
          .table-info-order {
            tbody {
              tr {
                td {
                  &:first-child {
                    font-weight: bold;
                  }
                  .select2-container--default {
                    width: 100% !important;
                    .selection {
                      .select2-selection--single {
                        height: 34px;
                        .select2-selection__rendered {
                          line-height: 34px;
                        }
                        .select2-selection__arrow {
                          height: 34px;
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        }

        .content-info-payment {
          padding-top: 30px;

          .content-info-payment-item {
            display: flex;
            align-items: center;
            justify-content: space-between;

            & + .content-info-payment-item {
              margin-top: 10px;
            }

            span {
              font-size: 18px;
            }

            &.total {
              font-weight: bold;
            }
          }
        }
      }
    }
  }
  .btn-form{
    float: right;
    display: flex;
    justify-content: center;
    align-items: center;
    .btn-save{
      margin-right: 5px;
      button{
        background-color: #11a9df;
        transition: 250ms all ease-in-out;
        border-color: unset;
        font-size: 15px;
        font-weight: bold;
        display: flex;
        align-items: center;
        justify-content: flex-start;
        i{
          margin-right: 4px;
        }
      }
    }
    .btn-cancel{

      a{
        background-color: #11a9df;
        transition: 250ms all ease-in-out;
        border-color: unset;
        font-size: 15px;
        font-weight: bold;
        display: flex;
        align-items: center;
        justify-content: flex-start;
        i{
          margin-right: 4px;
        }
      }
    }
  }
  .wrapper-state-form,.wrapper-location-form, .wrapper-customer-form, .wrapper-table-review, .wrapper-review-form , .wrapper-category-form, .wrapper-service-form,.wrapper-employee-form,
  .wrapper-coupon-form, .wrapper-table-order{
    .block-nav-setting {
      display: flex;
      align-items: center;
      justify-content: flex-start;
      border-bottom: 1px solid #ccc;
      margin-bottom: 30px;
      padding-bottom: 10px;

      h2 {
        font-size: 20px;
        color: #578EBE;
        text-transform: uppercase;
      }
    }
    .block-content-setting {
      input[type="text"] {
        height: 40px;
        padding: 12px;
        border: 1px solid #E2E5EC;
        box-shadow: none;
      }
      textarea{
        height: 150px;
        border: 1px solid #E2E5EC;
        box-shadow: none;
        font-size: 16px;
      }
      label[id$="-lbl"] {
        margin-bottom: 10px;
        font-style: normal;
        font-weight: 600;
        font-size: 13px;
        line-height: 17px;
        color: #575962;
      }
      #element_field_published {
        margin: 36px 0 0 0;
      }
    }
  }
  .wrapper-button {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-top: 20px;
    @media (max-width: 575.98px) {
      justify-content: center;
    }
    .btn-save {
      border: 1px solid #0f74a8;
      border-radius: 3px;
      padding: 5px 15px;
      font-size: 16px;
      background-color: #ffffff;
      color: #0f74a8;
      transition: 250ms all ease-in-out;
      &:hover {
        background-color: #0f74a8;
        color: #ffffff;
        text-decoration: none;
        i {
          &::before {
            color: #ffffff;
          }
        }
      }
      i {
        margin-right: 5px;
        transition: 250ms all ease-in-out;
        &::before {
          transition: 250ms all ease-in-out;
          color: #0f74a8;
        }
      }
    }
    .btn-cancel {
      border: 1px solid #FF5016;
      border-radius: 3px;
      padding: 5px 15px;
      font-size: 16px;
      background-color: #ffffff;
      color: #FF5016;
      transition: 250ms all ease-in-out;
      margin-right: 20px;
      &:hover {
        background-color: #FF5016;
        color: #ffffff;
        text-decoration: none;
      }
      i {
        margin-right: 5px;
      }
    }
  }

  .wrapper-table-review, .wrapper-table-order {
    h2 {
      border-bottom: none;
      margin: 0;
      padding: 0;
    }
    table {
      td {
        &.comments {
          span {
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            display: inline-block;
            width: 135px;
          }

        }
      }
    }
  }


}