.trigger {
  padding: 0 4px;
  font-size: 18px;
  line-height: 64px;
  cursor: pointer;
  transition: color 0.3s;
}

.trigger:hover {
  color: #1890ff;
}

.trigger-header {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-content: center;
  justify-content: flex-end;
  align-items: flex-end;
  position: absolute;
  right: 0;
  padding: 18px;
  font-size: 18px;
  line-height: 64px;
  cursor: pointer;
  transition: color 0.7s;
}

.trigger-header:hover {
  color: #1890ff;
}

.logo {
  padding: 20px;
  margin-bottom: 10px;
  height: 97px;
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  align-content: center;
  justify-content: center;
  align-items: center;
}

/* .ant-layout-sider-dark {
  background: linear-gradient(176.44deg, #FFFBED 19.61%, #E1C870 88.13%) !important;
}
.ant-layout-has-sider{
  background: linear-gradient(176.44deg, #FFFBED 19.61%, #E1C870 88.13%) !important;
} */

/* .site-layout .site-layout-background {
  background: #fff;
}  */

.ant-layout-sider-children {
  display: none;
  overflow: scroll;
  padding-bottom: 150px;
}

.site-layout-leftbar {

  .ant-layout-sider-children {
    /* display: none; */
    overflow: auto;
  }

  /* display: none; */
  /* overflow: auto; */
  /* element.style {
    overflow: auto;
  } */
}

.anticon {
  /* vertical-align: 1.3px !important; */
}

.ant-layout {
  background: linear-gradient(0deg, rgba(226, 225, 225, 1) 0%, rgba(255, 255, 255, 1) 64%);
}

.ant-layout-sider {
  height: 100% !important;
  flex: 0 0 240px !important;
  max-width: 240px !important;
  min-width: 240px !important;
  width: 240px !important;
  position: fixed !important;
  z-index: 100;
}

.mobile-collapsed {
  flex: 0 0 0px !important;
  max-width: 0px !important;
  min-width: 0px !important;
  width: 0px !important;
  display: none !important;
}

.desktop-collapsed {
  flex: 0 0 0px !important;
  max-width: 0px !important;
  min-width: 0px !important;
  width: 0px !important;
}

/*  Layouts Side Bar */
.ant-menu-light {
  background: initial;
}

.ant-layout-sider-children {
  height: 100% !important;
  /* width: 240px; */
  /* position: fixed; */
  display: block;
  margin-top: -0.1px;
  padding-top: 0.1px;
  overflow: auto;
  /* background: #ffffff; */
  background: linear-gradient(176.44deg, #FFFBED 19.61%, #E1C870 88.13%) !important;
}

.ant-layout-sider-children::-webkit-scrollbar {
  width: 0px;
}

.ant-layout-sider-children::-webkit-scrollbar-track {
  background-color: initial;
}

.ant-layout-sider-children::-webkit-scrollbar-thumb {
  box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
}

.ant-layout-sider {
  position: relative;
  min-width: 0;
  background: #ffffff !important;
  transition: all 0.2s;
}

/*  Menu Aside Color*/
.ant-menu-inline .ant-menu-item:not(:last-child),
.ant-menu-vertical-left .ant-menu-item:not(:last-child),
.ant-menu-vertical-right .ant-menu-item:not(:last-child),
.ant-menu-vertical .ant-menu-item:not(:last-child) {
  margin-bottom: 8px;
  background: initial;
  /* background: rgba(74, 131, 152, 0.2); */
}

.ant-menu-inline .ant-menu-item,
.ant-menu-inline .ant-menu-submenu-title {
  background: initial;
  /* background: rgba(74, 131, 152, 0.2); */
}

:where(.css-dev-only-do-not-override-1km3mtt).ant-menu-light:not(.ant-menu-horizontal) .ant-menu-item:not(.ant-menu-item-selected):hover {
  background-color: none;
}

.ant-menu-item a {
  /* color:  rgba(0, 116, 130, 0.8); */
  color: #4E4E4E !important;
  font-weight: 500;
  font-size: 14px;
}

.ant-menu-light .ant-menu-item-active,
.ant-menu-light .ant-menu-item:hover,
.ant-menu-light .ant-menu-submenu-active,
.ant-menu-light .ant-menu-submenu-title:hover,
.ant-menu-light .ant-menu:not(.ant-menu-inline) .ant-menu-submenu-open {
  color: #4E4E4E;
  background: initial;
  /* background: rgba(74, 131, 152, 0.5) !important; */
}

.ant-menu-light .ant-menu-item-active {
  color: #4E4E4E;
}

.ant-menu:not(.ant-menu-horizontal) .ant-menu-item-selected {
  background: #E1C870;
  border-left: 4px solid rgba(102, 112, 133, 0.25);
  /* background: rgba(74, 131, 152, 0.5); */
  /* box-shadow: 0 0 10px 1px rgba(74, 131, 152, 0.4); */
  /* opacity: 0.8; */
}

.ant-menu-item-selected,
.ant-menu-item-selected a,
.ant-menu-item-selected a:hover {
  color: #4E4E4E !important;
}

.ant-menu-item .ant-menu-item-icon+span,
.ant-menu-item .anticon+span,
.ant-menu-submenu-title .ant-menu-item-icon+span,
.ant-menu-submenu-title .anticon+span {
  margin-left: 10px;
  /* opacity: 1; */
  transition: opacity 0.5s cubic-bezier(0.645, 0.045, 0.355, 1), margin 0.5s,
    color 0.5s;
  /* color:  rgba(0, 116, 130, 0.8); */
  font-weight: 500;
  font-size: 14px;
}

.ant-menu-submenu-arrow,
.ant-menu-submenu-expand-icon {
  position: absolute;
  top: 50%;
  right: 16px;
  width: 10px;
  color: #4E4E4E !important;
  /* color: rgba(0, 116, 130, 0.8) !important; */
  transform: translateY(-50%);
  transition: transform 0.5s cubic-bezier(0.645, 0.045, 0.355, 1);
  font-weight: 500;
  font-size: 14px;
}

/* icon antd */
.ant-menu-inline.ant-menu-root .ant-menu-item,
.ant-menu-inline.ant-menu-root .ant-menu-submenu-title {
  display: flex;
  align-items: center;
  transition: border-color 0.3s, background 0.3s,
    padding 0.5s cubic-bezier(0.215, 0.61, 0.355, 1);
  /* color: #ffffff !important; */
}

.ant-menu-inline .ant-menu-item:not(:last-child),
.ant-menu-vertical-left .ant-menu-item:not(:last-child),
.ant-menu-vertical-right .ant-menu-item:not(:last-child),
.ant-menu-vertical .ant-menu-item:not(:last-child) {
  margin-bottom: 8px;
  color: #4E4E4E !important;
  /* color: rgba(0, 116, 130, 0.8); */
}

.ant-menu-inline.ant-menu-root .ant-menu-item,
.ant-menu-inline.ant-menu-root .ant-menu-submenu-title {
  display: flex;
  align-items: center;
  transition: border-color 0.3s, background 0.3s,
    padding 0.5s cubic-bezier(0.215, 0.61, 0.355, 1);
  /* color: rgba(0, 116, 130, 0.8); */
}

.ant-menu-light .ant-menu-item-active,
.ant-menu-light .ant-menu-item:hover {
  color: currentColor;
  /* box-shadow: 0 0 10px 1.5px rgba(71, 128, 134, 0.6); */
}

.ant-menu-light .ant-menu-submenu-title:hover {
  color: initial !important;
}

/* .ant-menu-inline .ant-menu-item:after,
.ant-menu-vertical-left .ant-menu-item:after,
.ant-menu-vertical-right .ant-menu-item:after,
.ant-menu-vertical .ant-menu-item:after {
  border-right: 3px solid #36613e !important;
} */

.ant-menu-inline.ant-menu-root .ant-menu-item,
.ant-menu-inline.ant-menu-root .ant-menu-submenu-title {
  display: flex;
  align-items: center;
  transition: border-color 0.3s, background 0.3s,
    padding 0.1s cubic-bezier(0.215, 0.61, 0.355, 1);
  padding-left: 24px !important;
}

.ant-input-affix-wrapper {
  position: relative;
  display: inline-block;
  width: 100%;
  min-width: 0;
  padding: 4px 11px;
  color: #4E4E4E !important;
  /* color: rgba(12, 90, 100, 0.85) !important; */
  font-size: 15px !important;
  line-height: 1.8715 !important;
  background-color: #fff;
  background-image: none;
  border: 0px solid #d9d9d9;
  border-radius: 8px !important;
  transition: all 0.3s;
  display: inline-flex;
  background: var(--base-colors-white, #fff);
  box-shadow:
    rgba(102, 112, 133, 0.25) 0px 1px 5px 0px;
}

.ant-input-suffix {
  color: #98A2B3;
}

.ant-input-number-suffix {
  color: #98A2B3;
}

.ant-input-number-affix-wrapper {
  width: 100%;
  border: 1px solid transparent;
  border-radius: 8px !important;
  box-shadow:
    rgba(102, 112, 133, 0.25) 0px 1px 5px 0px;
  font-size: 15px !important;
  line-height: 1.8715 !important;
  /* height: 36px; */
}

.ant-input-number-affix-wrapper .ant-input-number-handler-wrap {
  display: none;
}

.ant-btn-primary {
  color: #fff;
  /* border-color: #E1C870;
  background: #007482; */
  text-shadow: 0 -1px 0 rgb(0 0 0 / 12%);
  box-shadow: 0 2px 0 rgb(0 0 0 / 5%);
}

.ant-btn-primary:focus,
.ant-btn-primary:hover,
.ant-btn-primary:active {
  border-color: #e1c870 !important;
  background-color: #e1c870 !important;
  box-shadow: 0 0 0 0.25rem rgba(225, 200, 119, 0.5) !important;
}

.ant-btn-success {
  color: #fff !important;
  background-color: #198754 !important;
  border-color: #198754 !important;
  text-shadow: 0 -1px 0 rgb(0 0 0 / 12%);
  box-shadow: 0 2px 0 rgb(0 0 0 / 5%);
}

.ant-btn-success:focus,
.ant-btn-success:hover,
.ant-btn-success:active {
  color: #fff !important;
  background-color: #157347 !important;
  border-color: #146c43 !important;
  box-shadow: 0 0 0 0.25rem rgba(60, 153, 110, 0.5) !important;
}

.ant-btn-danger-dark {
  color: #fff !important;
  border-color: #e42728 !important;
  background-color: #c01819 !important;
  text-shadow: 0 -1px 0 rgb(0 0 0 / 12%);
  box-shadow: 0 2px 0 rgb(0 0 0 / 5%);
}

.ant-btn-danger-dark:focus,
.ant-btn-danger-dark:hover,
.ant-btn-danger-dark:active {
  color: #000000 !important;
  border-color: #FFFFFF !important;
  background-color: #FFFFFF !important;
  box-shadow: 0 0 0 0.25rem rgba(255, 255, 255, 0.5) !important;
}

.swal2-styled.swal2-cancel {
  border: 0;
  border-radius: 0.6em;
  background: initial;
  border: 1.5px solid #4E4E4E;
  color: #4E4E4E;
  font-size: 1em;
  height: 40px;
  display: flex !important;
  flex-direction: row;
  flex-wrap: nowrap;
  align-content: center;
  justify-content: center;
  align-items: center;
}

.swal2-styled.swal2-cancel-none {
  border: 0;
  border-radius: 0.6em;
  background: initial;
  display: none !important;
}


.swal2-styled.swal2-confirm {
  border: 0;
  border-radius: 0.6em;
  background: initial;
  border-color: #DBB42C;
  background-color: #DBB42C;
  color: white;
  font-size: 1em;
  height: 40px;
  display: flex !important;
  flex-direction: row;
  flex-wrap: nowrap;
  align-content: center;
  justify-content: center;
  align-items: center;
}

.swal2-styled.swal2-confirm:focus,
.swal2-styled.swal2-confirm:hover,
.swal2-styled.swal2-confirm:active {
  border: 0;
  border-radius: 0.6em;
  background: initial;
  filter: brightness(110%);
  border-color: initial;
  background-color: #DBB42C;
  box-shadow: 0 0 0 0.075rem #fff, 0 0 0 0.21rem #fff;
  color: white;
  font-size: 1em;
}

.swal2-actions {
  padding: 0px 10px 0px 0px;
  display: flex;
  width: 100%;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: flex-end;
  align-items: flex-end;
}

.swal2-center>.swal2-popup {
  grid-column: 2;
  grid-row: 2;
  align-self: center;
  justify-self: center;
  width: 600px;
}

th.ant-table-cell {
  font-size: 16px !important;
  font-weight: 700 !important;
  background-color: aliceblue !important;
  color: #4E4E4E !important;
  /* color: rgba(0, 116, 130, 0.8) !important; */
}

.ant-input-affix-wrapper {
  line-height: 1.8715 !important;
}

.ant-input:placeholder-shown {
  line-height: 1.8715 !important;
}

.ant-input-status-success {
  line-height: 1.8715 !important;
}

.ant-input {
  line-height: 1.8715 !important;
}

.ant-select-selector {
  line-height: 1.8715 !important;
  min-height: 36px !important;
  padding: 2px 0px 0px 7px !important;
}

.ant-menu-submenu-selected>.ant-menu-submenu-title {
  color: #4E4E4E !important;
  background: #E1C870;
  /* background: rgba(74, 131, 152, 0.5) !important; */
}

.ant-menu-title-content:hover,
.ant-menu-title-content:focus {
  color: #4E4E4E !important;
  /* color: rgba(0, 116, 130, 0.8); */
}

.ant-menu-item-icon:hover svg,
.ant-menu-item-icon:focus svg {
  color: #4E4E4E !important;
  /* color: rgba(0, 116, 130, 0.8) !important; */
}

.ant-menu-submenu-title .ant-menu-item-icon:active svg {
  color: #4E4E4E !important;
}

.header-layout-style {
  background-color: transparent !important;
  justify-content: flex-end;
  display: flex;

  .style-collapsed {
    text-align: center;
    left: 0;
    right: 0;
    position: relative;
    z-index: 1;
    max-height: 65px;
  }

  .style-lang {
    text-align: right;
    position: relative;
    display: flex;
    padding-right: 10px;
    cursor: pointer;
    max-height: 65px;
  }
}