@import "variables";
.wpbooking-hotel-view-admin{
  .wrapper-wpbooking-hotel-view-admin{
    background: #FFFFFF;
    box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.08);
    .toolbar {
      .wrapper-toolbar {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 20px 30px;
        background-color: #FAFAFA;
        @media (max-width: 575.98px) {
          padding: 10px 20px;
          flex-flow: column wrap;
          align-items: flex-start;
        }
        .title {
          width: 20%;
          @media (max-width: 575.98px) {
            width: 100%;
          }
          h3 {
            width: 100%;
            margin: 0;
            font-style: normal;
            font-weight: 600;
            font-size: 17px;
            line-height: 23px;
            color: #575962;
          }
        }

        .controllers {
          width: 80%;
          display: flex;
          align-items: center;
          justify-content: flex-end;
          @media (max-width: 575.98px) {
            width: 100%;
            justify-content: flex-start;
            flex-flow: row wrap;
          }
          button {
            padding: 13px 28px;
            border-radius: 3px;
            font-style: normal;
            font-weight: normal;
            font-size: 13px;
            line-height: 17px;
            border: none;
            margin: 0 0 0 15px;
            display: flex;
            align-items: center;
            justify-content: flex-start;
            @media (max-width: 575.98px) {
              width: 100px;
              padding: 10px 20px;
              margin: 10px 15px 0 0;
            }

            i {
              margin-right: 5px;
              &::before {
                font-size: 16px;
              }
            }

            &.btn-delete, &.btn-clone, &.btn-cancel, &.btn-back-to-list {
              background-color: #5867DD;
              transition: 250ms all ease-in-out;

              &:hover {
                background-color: #384AD7;
              }
            }

            &.btn-add, &.btn-apply, &.btn-save {
              background-color: #EE5757;
              transition: 250ms all ease-in-out;

              &:hover {
                background-color: #ED3838;
              }
            }

          }
        }
      }
    }
    form[name="admin_woopanel-form"] {
      div {
        .nav-tabs {
          li {
            margin-left: 15px;
            &:first-child {
              margin-left: 30px;
              @media (max-width: 575.98px) {
                margin-left: 20px;
              }
            }
            a {
              font-style: normal;
              font-weight: normal;
              font-size: 17px;
              line-height: 23px;
              text-transform: capitalize;
              color: #5867DD;
              border: 1px solid #EBEDF2;
              transition: 250ms all ease-in-out;
              &:hover {
                background-color: #5867DD;
                color: #ffffff;
              }
              @media (max-width: 575.98px) {
                font-size: 15px;
                line-height: 18px;
                padding: 10px;
              }
              @media (min-width: 576px) and (max-width: 767.98px) {
                font-size: 15px;
                line-height: 18px;
                padding: 10px;
              }
            }
            &.active {
              a {
                background: #5867DD;
                border-radius: 3px 3px 0px 0px;
                color: #FFFFFF;
                font-style: normal;
                font-weight: normal;
                font-size: 17px;
                line-height: 23px;
                @media (max-width: 575.98px) {
                  font-size: 15px;
                  line-height: 18px;
                }
                @media (min-width: 576px) and (max-width: 767.98px) {
                  font-size: 15px;
                  line-height: 18px;
                  padding: 10px;
                }
              }
            }
          }
        }
        .tab-content {
          padding: 50px 30px;
          @media (max-width: 575.98px) {
            padding: 50px 20px;
          }
          div[role='tabpanel'] {
            .form-group {
              label {
                font-weight: 600;
                font-size: 13px;
                line-height: 17px;
                color: #575962;
              }
            }

          }
        }
      }
    }
    #example_wrapper {
      .dataTables_length {
        margin-bottom: 25px;
        @media (max-width: 575.98px){
          width: 100%;
        }
      }
      .dataTables_scroll {
        .dataTables_scrollHead {
          .dataTables_scrollHeadInner {
            width: 100% !important;
            @media (max-width: 575.98px) {
              width: 1500px!important;
            }
            @media (min-width: 576px) and (max-width: 767.98px) {
              width: 1500px!important;
            }
            @media (min-width: 768px) and (max-width: 991.98px) {
              width: 1500px!important;
            }
            @media (min-width: 992px) and (max-width: 1199.98px) {
              width: 1500px!important;
            }
            table {
              width: 100% !important;
              thead {
                tr {
                  th {
                    vertical-align: middle;
                    padding: 15px 25px;
                  }
                }
              }
            }
          }
        }
        .dataTables_scrollBody {
          table {
            width: 100% !important;
            @media (max-width: 575.98px) {
              width: 1500px!important;
            }
            @media (min-width: 576px) and (max-width: 767.98px) {
              width: 1500px!important;
            }
            @media (min-width: 768px) and (max-width: 991.98px) {
              width: 1500px!important;
            }
            @media (min-width: 992px) and (max-width: 1199.98px) {
              width: 1500px!important;
            }
          }
        }
      }
      table#example {
        border-bottom: none;
        thead {
          tr {
            th {
              background-color: #f4f3f8;
              border-bottom: none;
              vertical-align: middle;
            }
          }
        }
        tbody {
          tr {
            &:nth-child(even) {
              td {
                background-color: #faf9fc !important;
              }
            }

            &:nth-child(odd) {
              td {
                background-color: #ffffff !important;
              }
            }

            td {

              h4{
                margin: 5px 0 0 0;
              }
              p{
                margin: 5px 0 5px 0;
              }
              vertical-align: middle;
              border-top: none;
              .list-order-status {
                width: 100%;

                .select2-container--default {
                  width: 100% !important;

                  .selection {
                    .select2-selection--single {
                      height: 35px;

                      .select2-selection__rendered {
                        line-height: 35px;
                      }

                      .select2-selection__arrow {
                        height: 35px;
                      }
                    }
                  }
                }
              }
            }
          }
        }
      }

      #example_paginate {
        a.paginate_button {
          font-size: 16px;
          padding: 8px 7px;
          background: transparent;
          border: none;
          &:hover {
            background: transparent;
            border: none;
            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_info, .dataTables_length {
        font-style: normal;
        font-weight: normal;
        font-size: 13px;
        line-height: 17px;
        color: #575962;

        select[name="example_length"] {
          padding: 10px;
          border-radius: 3px;
          border: 1px solid #EBEDF2;
          margin: 0 5px;
        }
      }

      #example_filter {
        @media (max-width: 575.98px) {
          width: 100%;
          label {
            width: 100%;
            display: flex;
            justify-content: center;
            align-items: center;
            input[type="search"] {
              width: 80%;
            }
          }
        }
      }
      label {
        input {
          padding: 10px 12px;
          border: 1px solid #EBEDF2;
          border-radius: 3px;
          outline: none;
          @media screen and (max-width: 576px) {
            margin-left: 0;
          }
          &::placeholder {
            font-style: normal;
            font-weight: normal;
            font-size: 13px;
            line-height: 17px;
            color: #AFB2C1;
          }
        }
      }
    }
  }

  .customize-for-hotel {
    .m-woopanel-toggle {
      display: none;
    }
    ul.m-menu__nav--dropdown-submenu-arrow{
      overflow-y: scroll;
      height: 100vh;
    }
  }


}