.pretty-content {
  position: fixed;
  width: 85%;
  height: 95.5% !important;
}

.pretty-content .pretty-fill, .pretty-content .pretty-40, .pretty-content .pretty-half-left, .pretty-content .pretty-half-right, .pretty-content .pretty-third, .pretty-content .pretty-66, .pretty-content .pretty-70, .pretty-content .pretty-30, .pretty-content .pretty-33,
.pretty-content .pretty-60 {
  overflow-y: auto;
  overflow-x: hidden;
  margin-top: 8px !important;
  height: 98% !important;
  padding: 15px 20px !important;
}

.pretty-30 {
  overflow-y: hidden;
}

label {
  font-weight: normal;
}

.disabled-form .form-control,
.disabled-form .sideForm div[ng-form]{
  pointer-events: none;
}

.ui-grid {
  -webkit-transform: none;
  transform: none;
  overflow: hidden;
  flex-grow: 1;
  height: auto !important;
  min-height: 65px;
  position: relative;
}

.ui-grid .ui-grid-contents-wrapper {
  position: absolute;
}

.ui-grid[grideditable="true"] .ui-grid-viewport {
  padding-bottom: 60px;
}

.ui-grid-viewport {
  width: 100% !important;
  overflow: visible !important;
}

.ui-grid-render-container-body .ui-grid-viewport {
  overflow-x: hidden !important;
}

.ui-grid-render-container-right .ui-grid-viewport,
.ui-grid-render-container-left .ui-grid-viewport {
  height: 100% !important;
  overflow: hidden !important;
}

.ui-grid-header {
  display: table;
}

.ui-grid-selection-row-header-buttons.ui-grid-icon-ok {
  display: list-item;
  list-style: none;
}

.tab-content > .active {
  padding-top: 10px;
}

.nav-tabs {
  margin-top: 0;
}

.nav-tabs li a {
  padding: 5px 15px;
}

.ui-grid-pager-container {
  float: left;
}

.pretty-row-search.portlet.light.bordered {
  border: 0 !important;
  height: 5% !important;
  border-radius: 0;
}

.pretty-row-search.portlet.light.bordered i {
  transition-property: all;
  transition-duration: .5s;
  padding: 7px 8px;
  float: right;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  margin-right: 15px;
}

.bread-crumb {
  height: 40px;
  border: 1px solid #e5e8eb;
  width: 100%;
}

.page-sidebar.navbar-collapse {
  height: 95.5% !important;
  left: 0;
}

.page-sidebar.navbar-collapse ul li:first-child a {
  line-height: 40px !important;
}

.page-sidebar.navbar-collapse ul li:first-child .icon {
  margin-top: 12px;
}

.modal-grid-container {
  display: inline-flex;
  width: 98%;
  height: auto;
  overflow: hidden !important;
  padding-top: 5px;
}

.modal-grid-container .ui-grid {
  padding-right: 0;
  padding-left: 0;
  margin-left: 25px;
}

.ui-tab, span[ng-switch] {
  display: inline-block;
  width: 100%;
}

.ui-tab .disabled-form > .form-group, .ui-tab .tab-pane > .grid-form-group, span[ng-switch] .disabled-form > .form-group, span[ng-switch] .tab-pane > .grid-form-group {
  pointer-events: visible;
  position: relative;
}

span[ng-switch] {
  margin-top: 10px;
}

.ui-tab {
  border: 1px solid #3d3d3d;
  margin-top: 3px;
}

.ui-tab .ui-grid {
  position: absolute;
  width: 100%;
  padding-right: 0;
  padding-left: 0;
  margin: 0 auto;
  top: 0;
  bottom: 0;
  left: 0;
  border-left: 0;
}

.pretty-70, .pretty-70 > div, .pretty-70 form,
.pretty-fill, .pretty-fill > div, .pretty-30 {
  display: flex;
  flex-direction: column;
  min-height: 0;
  height: 100%;
}

.modal-content > form {
  height: 100%;
  padding-top: 10px;
}

.ui-grid-render-container, .ui-grid-pinned-container {
  padding-bottom: 34px;
  height: 100%;
}

.ui-grid.with-filter-bar .ui-grid-render-container {
  padding-bottom: 58px;
}

.grid-pane-grid .ui-grid-viewport.ng-isolate-scope, .ui-grid .ui-grid-viewport.ng-isolate-scope {
  overflow-y: scroll !important;
}

.grid-pane-grid .ui-grid-pinned-container-left .ui-grid-render-container-left .ui-grid-viewport, .grid-pane-grid .ui-grid-pinned-container-right .ui-grid-render-container-right .ui-grid-viewport {
  overflow-y: hidden !important;
}

.global-commands {
  bottom: 0;
  width: 100%;
  left: 0;
  flex-grow: 1;
}

.global-commands .global-command {
  padding-top: 5px;
  padding-bottom: 5px;
  text-align: left;
  padding-left: 10px;
}

.global-commands .global-command:hover {
  background-color: #e5e8eb;
}

.global-commands .global-command:first-child {
  border-top: 4px solid #efeff1;
}

.global-commands .global-command a {
  font-size: 14px;
  text-decoration: none;
}

.global-commands .global-command a:focus {
  outline: 0;
}

.jstree {
  flex-grow: 1;
  height: 100%;
  overflow-y: auto;
  margin-bottom: 5px;
}

.jstree .jstree-icon.jstree-themeicon.jstree-themeicon-custom {
  background-size: 24px !important;
}

.preview-toggle-btn {
  border-radius: 2px;
  position: absolute;
  border: 0;
  margin-top: 8px;
  right: 25px;
  width: 22px;
  height: 21px;
  background-color: rgba(0, 0, 0, 0);
}

.preview-toggle-btn:focus {
  outline: 0;
}

.preview-toggle-btn:before {
  content: "";
  position: absolute;
  top: 9px;
  left: 6px;
  border: solid 5px rgba(0, 0, 0, 0);
  border-top-color: #b5babf;
}

.preview-toggle-btn:hover {
  background-color: #5e5e5e;
}

.preview-toggle-btn.close:before {
  border-bottom-color: #b5babf;
  border-top-color: rgba(0, 0, 0, 0);
  top: 3px;
  right: 6px;
}

.preview-toggle-btn.close + .ui-tab {
  height: 31px !important;
}

.preview-toggle-btn.close + .ui-tab .nav.nav-tabs {
  display: none;
}

.preview-toggle-btn.close + .ui-tab .tab-content {
  display: none;
}

.preview-toggle-btn.close:hover {
  background-color: #f0f0f0;
}

.ui-tab .nav-tabs > li a {
  height: 31px;
  line-height: 31px;
  padding: 0 15px;
}

.invisible-tree-content {
  display: none !important;
}

.invalid-row .ui-grid-cell-contents {
  color: red !important;
}

.split .pretty-70 {
  min-width: 700px;
}

.split .pretty-30 {
  min-width: 200px;
}

.pretty-content .pretty-30 {
  padding: 10px 1px !important;
}

.bold {
  font-weight: bold;
}

.line {
  text-decoration: line-through;
}

.nav-tabs {
  background-color: #3d3d3d;
  border: 0;
}

.nav-tabs > li > a {
  border-radius: 0;
  color: white;
}

.nav-tabs > li > a:hover {
  color: black;
  border-bottom: 0;
  background-color: white;
}

.nav-tabs > li.active > a {
  color: #3d3d3d;
  font-weight: bold;
  border: 1px solid white;
}

.tab-content > .active {
  border: 0;
}

.ui-grid-row:nth-child(even) .ui-grid-cell {
  background-color: rgba(47, 64, 80, 0.11);
}

.ui-grid-row:nth-child(odd) .ui-grid-cell {
  background-color: rgba(252, 252, 252, 0);
}

.ui-grid-row:hover {
  background-color: #afbdca !important;
  transition: all 0.5s ease;
}

.ui-grid,
.ui-grid-pinned-container.ui-grid-pinned-container-left .ui-grid-cell:last-child,
.ui-grid-pinned-container.ui-grid-pinned-container-left .ui-grid-header-cell:last-child, .ui-grid-header,
.ui-grid-pinned-container.ui-grid-pinned-container-right .ui-grid-cell:first-child,
.ui-grid-pinned-container.ui-grid-pinned-container-right .ui-grid-header-cell:first-child {
  border: 0;
}

.ui-grid-header-cell .ui-grid-cell-contents {
  background-color: #3d3d3d;
  color: white;
}

.ui-grid-icon-ok:before {
  color: white;
}

.ui-grid {
  border: 1px solid #3d3d3d;
}

.pretty-row-search.light.bordered {
  background-color: black;
  padding-left: 10px;
}

.pretty-row-search i {
  color: white;
  background-color: #d54434;
}

.bread-crumb {
  background-color: white !important;
}

.page-sidebar.navbar-collapse ul li:first-child a span {
  color: #d9d9d9 !important;
}

body {
  direction: ltr;
}

.pretty-40 {
  float: left;
}

.input.right > input {
  direction: ltr;
}

.input > input [rg-input-mask] {
  /*@noflip*/
  direction: ltr;
}

pre {
  direction: rtl;
}

.nav-tabs {
  padding-right: 0;
}

.nav-tabs > li {
  float: left !important;
}

.ui-grid-pager-container {
  direction: ltr;
  float: left;
}

html[lang="fa"] .global-commands .global-command a {
  font-size: 14px;
}

html[lang="fa"] .jstree-container-ul a {
  font-size: 13px;
}

html[lang="fa"] .ui-grid.with-filter-bar .ui-grid-render-container {
  padding-bottom: 68px;
}

.acidjs-ui-ribbon[dir="rtl"] {
  font-family: IRANSans;
}

.acidjs-ui-ribbon[dir="rtl"] .acidjs-ui-ribbon-tab-ribbons ul[data-size="small"] li a span {
  float: left;
  margin-left: 5px;
}

.acidjs-ui-ribbon[dir="rtl"] .acidjs-ui-ribbon-tab-ribbons ul[data-size="small"] li a img {
  float: left;
}

.acidjs-ui-ribbon[dir="rtl"] .acidjs-ui-ribbon-tool span {
  font-size: 12px;
}

.ui-grid input[rg-input-mask] {
  direction: rtl;
}

span[ng-switch] .disabled-form {
  height: 100%;
}

.ui-tab > .tab-content {
  height: 84.5%;
}

.ui-tab > .tab-content > .tab-pane {
  height: 100%;
}

.ui-tab > .tab-content > .tab-pane > .grid-form-group {
  height: 100%;
}

.ui-tab > .tab-content > .tab-pane > .disabled-form {
  height: 100%;
}

.ui-tab > .tab-content > .tab-pane > .disabled-form > .form-group {
  height: 100%;
}

.entity-title {
  font-weight: bold;
  margin-top: 5px;
  margin-left: 10px;
}

@media only screen and (max-width: 1280px) {
  .modal-content .ui-grid {
    min-height: 290px;
    }
}

@media only screen and (min-width: 1290px) {
  .modal-content .ui-grid {
    min-height: 340px;
    }
}


@media only screen and (min-width: 1480px) {
  .modal-content .ui-grid {
    min-height: 420px;
    }
}

.modal .modal-content {
  display: flex;
  flex-direction: column;
}

.modal .modal-scrollable > div {
  overflow: hidden
}

#navbar {
  height: 55px;
}

div[class^="Combo"]
,div[class^="Combo"] button
{
  z-index:unset;
}

/* Layout problems */
.pretty-content , .page-sidebar.navbar-collapse {
  height: calc(100% - 55px)!important;
}

/* Scroll problem */
#sidebar {
  height: calc(100% - 55px) !important;
}

/* SideForm */
.md-sidenav-left div[ng-form],
.md-sidenav-right div[ng-form] {
  padding: 24px;
}

.md-sidenav-left .SidenavHeader,
.md-sidenav-right .SidenavHeader {
  padding: 10px 12px;
  background-color: #e2e1e1;
  display: flex;
  justify-content: space-between;
  flex-direction: row-reverse;
}

.SidenavHeader button.close {
  font-size: 30px;
}

.md-sidenav-left,
.md-sidenav-right
{
  min-width:750px
}

.darkgray {
  color: darkgray
}

/* Sidebar Layout and Styling */

.new-sidebar .pretty-content {
  width: calc(100% - 340px);
  left: unset;
}

.new-sidebar .pretty-70 {
  width: 100%;
}

.new-sidebar .page-sidebar-menu-closed {
  width: 340px !important;
  left: unset !important;
}


#sidebar a:focus {
  outline: none !important;
  color: rgba(255, 255, 255, 0.7);
}

#sidebar a {
  text-decoration: none !important;
}

.modal-opened .modal-content .form-group {
  flex-direction:row !important;
}

md-sidenav .form-group > div.centered-checkbox.col-md-6:last-child {
  width: 48% !important;
  margin-top: 16px !important;
}

/* Date */
.zaman > div {
  width: 250px !important;
  height: 290px !important;
}

.zm-DaysButton,
.zm-IconNextButton,
.zm-IconPrevButton,
.css-qmbtae {
  width: 30px !important;
  height: 30px !important;
}

.zaman {
  font-size: 12px;
}

.zm-Header {
  height: 45px !important;
}

div:has(> .zm-MonthPickerButton) {
  max-height: 230px !important;
  overflow-y: auto !important;
}
