/* @import url("/static/common/rubik.css"); */

.dropdown-toggle {
  font-weight: 500;
  font-size: 15px;
  line-height: 18px;
  color: #595959;
}
.toolbar-command-btn {
  height: 40px;
  width: 117px;
  box-sizing: border-box;

  margin-left: 20px;
  margin-top: 12px;
  margin-bottom: 12px;
}

.form-control-feedback {
  right: 4;
  top: 3px;
}

.toolbar-top-left {
  text-align: center;
  display: inline-flex;
}

.toolbar-search {
  text-align: center;
  vertical-align: middle;
  width: 25%;
  margin: 0 auto;
}

.input-group-addon {
  border: none;
  background-color: transparent;
  padding: 0;
}

input#search.form-control {
  margin-top: 0;
  background-color: #e6e6e6;
  border: 1px solid #c4c4c4;
  border-radius: 4px;
  padding: 9px 30px 9px 12px;
  height: auto;
}

input#search.form-control:focus {
  box-shadow: unset;
  border-color: #3bafda;
}

.input-group .form-control,
.input-group-addon,
.input-group-btn {
  /* margin-top: 16px; */
}

hr {
  margin: 0;
  margin-top: 10;
}

.toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.grid-toolbar {
  height: 130px;
  color: #333333;
}

.alignleft {
  float: left;
}

.alignright {
  float: right;
}

.container-fluid {
  padding-left: 0;
  padding-right: 0;
}

div.container-fluid hr {
  height: 1px;
  background-color: rgba(117, 137, 150, 0.18);
}

div ul li p {
  display: inline-block;
  vertical-align: middle;
}

/* kendoui grid */
#grid {
  margin-left: 24px;
  margin-right: 24px;
  color: #333;
  background: none;
  border: none;
}
div.k-grid-header {
  background-color: #f5f5f5;
  border: none;
}
.k-grid-content {
  background-color: #fff;
}

.k-grid {
  border-style: none;
}

.k-grid table td[data-field="edit-delete-user"],
.k-grid table th[data-field="edit-delete-user"],
.k-grid table td[data-field="edit-delete-group"],
.k-grid table th[data-field="edit-delete-group"],
.k-grid table th[data-field="close"],
.k-grid table td[data-field="close"] {
  width: 90px;
}

div.k-grid-header {
  border-bottom-width: 1px;
  border-color: #ccc;
  color: #ccc;
  background-color: #fff;
}

.k-grid-header-wrap.k-auto-scrollable {
  border-right: none;
  border-bottom: 2px solid #ccc;
}

#grid .k-grid-header .k-header {
  background-color: #fff;
  color: #333333;
  font-size: 12px;
  height: 64px;
  line-height: 15px;
  border-style: none;
  vertical-align: middle;
}

#grid .k-grid-header .k-header:hover {
  background: #ecedf1;
}

.k-grid td {
  border-style: none;
  background-color: #fff;
  border-bottom: 1px solid #ccc;
  color: #333;
  font-size: 13px;
  line-height: 15px;
  height: 50px;
}

.command-btn {
  background: none;
}

span.fa {
  padding: 3px;
}

.k-grid .fa-info {
  background-color: #758996;
  border-radius: 50%;
  color: #fff;
  font-size: 10px;
  line-height: 16px;
  width: 16px;
  height: 16px;
}

.k-grid .fa-pencil {
  color: #6db66a;
}

/* .k-i-arrow-up */
.k-i-sort-asc-sm:before {
  content: "\e017";
  color: #3bafda;
}

/* .k-i-arrow-down */
.k-i-sort-desc-sm:before {
  content: "\e019";
  color: #3bafda;
}

/* kendo dropdown list */

.dropdown-header {
  border-width: 0 0 1px 0;
  text-transform: uppercase;
}

.dropdown-header > span {
  display: inline-block;
  /*padding: 10px;*/
}

span.k-dropdown {
  background-color: #f5f5f5;
}

.k-dropdown-wrap.k-state-default {
  border-style: none;
  background: none;
}

.k-dropdown-wrap .k-icon {
  top: -2;
  color: #587588;
  padding-right: 20px;
}

.k-dropdown-wrap .k-select {
  top: 8;
  right: 9;
}

.k-dropdown-wrap .k-input {
  color: #587588;
  font-size: 15px;
  font-weight: 500;
  line-height: 21px;
  min-height: 27px;
}

.k-item.k-state-selected,
.k-item.k-state-selected.k-state-hover {
  background-color: #3bafda;
  border-color: #3bafda;
  color: #fff;
}
.k-item.k-state-selected.k-state-focused {
  box-shadow: none;
}

.k-dropdown .k-state-hover .k-input,
.k-dropdown .k-dropdown-wrap.k-state-hover,
.k-menu .k-state-hover > .k-link,
.k-button.k-state-hover,
.k-button:hover,
.k-item.k-state-hover,
.k-menu .k-link.k-state-active {
  background-color: #e5e6e6;
  border-color: #e5e6e6;
  border-radius: 3px;
}

.k-button.k-state-active,
.k-button:active {
  background-color: #e5e6e6;
  border-color: #e5e6e6;
  color: #333;
  outline: none;
}

.k-button:focus,
.k-button:focus:active,
.k-button:focus:hover,
.k-menu .k-link:focus {
  color: #333;
  border-color: #e5e6e6;
  box-shadow: 0 0 3px rgba(0, 0, 0, 0.3);
}
.k-menu .k-item {
  border-radius: 3px;
}

.allFiltersContainer {
  display: flex;
  float: none;
}
.allFiltersContainer > div:nth-child(3) {
  flex: 1;
}

.filterContainer {
  display: flex;
  align-items: center;
  margin-right: 34%;
}

.allFiltersContainer .filterContainer .k-dropdown {
  width: unset;
  min-width: 151px;
}

.allFiltersContainer .filterContainer:first-child .k-dropdown,
.toolbar > .filterContainer .k-dropdown {
  width: unset;
  min-width: 71px;
}

.filterContainer .title {
  margin-right: 8px;
  color: #595959;
  font-size: 15px;
  line-height: 21px;
}

.refreshBtnContainer {
  /*margin-top: 5px;*/
  display: flex;
}

#main .refreshBtnContainer .k-checkbox-label {
  margin-bottom: 0;
}

.refreshBtnContainer .k-menu-group {
  padding-top: 10px;
  padding-bottom: 10px;
}

.k-menu .k-popup {
  max-height: 400px !important;
}

.k-checkbox-label,
#chart-menu-list .k-item {
  position: relative;
  font-weight: normal;
  font-size: 14px;
  line-height: 22px;
  padding-left: 32px;
  min-height: unset;
}

#chart-menu-list .k-item {
  padding: 2px 14px 2px 46px;
  color: #3b4351;
}

.k-checkbox-label:before,
#chart-menu-list .k-item:before {
  content: "";
  position: absolute;
  top: 2px;
  left: 14px;
  border-width: 1px;
  border-style: solid;
  width: 22px;
  height: 22px;
  line-height: 22px;
  border-color: #8798ad;
}

#chart-menu-list .k-item:after {
  position: absolute;
  top: 6px;
  left: 18px;
  width: 22px;
  height: 22px;
  font: 700 14px WebComponentsIcons, monospace;
  content: "\e118";
  color: #fff;
  display: none;
}

#chart-menu-list .k-state-selected.k-item:after {
  display: block;
}

.k-checkbox-label:hover:before,
.k-checkbox:checked + .k-checkbox-label:hover:before,
.k-checkbox:checked:hover + .k-checkbox-label:before,
.k-checkbox:hover + .k-checkbox-label:before,
#chart-menu-list .k-state-hover.k-item:before {
  border-color: #3498db;
}

.k-checkbox:checked + .k-checkbox-label:before,
#chart-menu-list .k-state-selected.k-item::before {
  font-weight: bold;
  background-color: #3498db;
  border-color: #3498db;
  color: #fff;
}
.k-state-focused .k-checkbox-label:before,
.k-checkbox-label:active:before,
.k-checkbox:active + .k-checkbox-label:before,
.k-checkbox:checked + .k-checkbox-label:active:before,
.k-checkbox:checked:active + .k-checkbox-label:before {
  box-shadow: none;
  border-color: #3498db;
}

#chart-menu-list .k-state-selected.k-item {
  color: 3b4351;
  background: none;
}
#chart-menu-list .k-state-selected.k-state-hover {
  border-color: transparent;
  background-color: #e5e6e6;
}

/* glyphicon */

#column-menu {
  margin-right: 50px;
  border-style: none;
}

#column-menu .k-menu-link,
.k-pager-refresh {
  color: #595959;
  font-size: 15px;
  line-height: 21px;
  background: none;
}

.filter-label {
  color: #595959;
  font-size: 15px;
}

#column-menu .k-menu-group .k-item .k-menu-link {
  padding: 0;
}

#column-menu .k-menu-group .k-item .k-checkbox-label {
  display: block;
  padding: 5px 14px 5px 46px;
}

#column-menu .k-menu-group .k-checkbox-label:before {
  top: 4px;
  left: 14px;
}

/* ------------------------ grid dialogs ----------------------------*/
.modal-open .modal {
  overflow: hidden;
}

.modal.fade .modal-dialog {
  width: 762px;
  margin: 0 auto;
  top: 50%;
  transform: translateY(-100%);
}

.modal.in .modal-dialog {
  transform: translateY(-50%);
}
.modal-content {
  max-height: calc(100vh - 34px);
  overflow-y: auto;
  border-radius: 2px;
  background-color: #fafafa;
  /* margin: 0 auto; */
}

.modal-header {
  padding: 14px 40px 12px;
  color: #fff;
  border-radius: 2px;
  background-color: #fafafa;
}

.modal-header::before {
  display: block;
  clear: both;
  content: "";
}

.modal-title {
  width: 90%; /*189px;*/
  font-size: 28px;
  font-weight: 300;
  line-height: 1.14;
  color: #2e384d;
}

.modal-body {
  padding: 15px 40px 10px;
}

.modal-body .control-label {
  font-weight: normal;
  font-size: 12px;
  padding-top: 0;
}

.modal-body label[for="form_edge_choose"] {
  margin-bottom: 0;
  line-height: 39px;
}

.modal-body .hr-line {
  margin-top: 0;
}

.modal-body form {
  margin: 0;
}
.modal-body .form-group {
  margin-left: -10px;
  margin-right: -10px;
}
.modal-body .form-group::after {
  display: block;
  clear: both;
  content: "";
}
.modal-body .form-group:last-child {
  margin-bottom: 0;
}
.modal-body .form-group > div[class^="col-"],
.modal-body .form-group > label[class^="col-"] {
  padding-left: 10px;
  padding-right: 10px;
}

.modal-footer {
  border-top: 0 none;
  padding: 10px 40px 20px;
}

.modal-footer .btn + .btn {
  margin-left: 12px;
}

#modal_activities .modal-footer .btn {
  padding-left: 15px;
  padding-right: 15px;
}

.form-control {
  height: 39px;
  padding: 9px 16px;
  font-size: 15px;
  line-height: 18px;
  color: #000;
  border-radius: 5px;
  box-shadow: none;
}

.form-control::placeholder {
  opacity: 0.4;
  color: #000;
}

.form-control[disabled],
.form-control[readonly],
fieldset[disabled] .form-control {
  background-color: #e5e5e5;
  border-color: #ccc;
  opacity: 1;
  color: rgba(0, 0, 0, 0.4);
}

textarea.form-control {
  min-height: 62px;
  max-width: 100%;
  padding-top: 5px;
  padding-bottom: 5px;
}

input[type="checkbox"].form-control {
  height: 26px;
  width: 26px;
}

.modal-body input[type="checkbox"].form-control {
  margin-top: 6px;
}

.modal-body .title-label {
  font-weight: 500;
  font-size: 14px;
  margin-bottom: 4px;
}

.multiple-select-holder label {
  font-weight: normal;
  font-size: 12px;
  margin-bottom: 0;
}

.bootstrap-duallistbox-container .btn {
  padding-top: 6px;
  padding-bottom: 6px;
}

#bootstrap-duallistbox-nonselected-list_user_groups,
#bootstrap-duallistbox-selected-list_user_groups {
  height: 79px !important;
}

#bootstrap-duallistbox-nonselected-list_group_users,
#bootstrap-duallistbox-selected-list_group_users {
  height: 98px !important;
}

.hr-line {
  margin-top: 22px;
  /* width: 683px; */
  height: 1px;
  border: solid 1px #e6e6e6;
}

.modal-buttons-holder {
  display: flex;
  align-items: center;
}

.btn-with-img {
  display: flex;
  align-items: center;
  padding: 0;
  margin-right: 27px;

  font: 500 12px/18px Rubik, sans-serif;
  color: #333;
  border: none;
  background: none;
}

.btn-with-img .img-with-btn,
.btn-with-img .btn-text {
  display: inline-block;
  vertical-align: top;
}

.btn-with-img:hover .btn-text {
  text-decoration: underline;
}

.img-with-btn {
  margin-right: 8px;
  fill: #333;
}

.btn-color {
  color: #3498db;
}

.btn-color .img-with-btn {
  fill: #3498db;
}

.btn {
  padding: 8px 22px;
  font-size: 15px;
}

.btn-primary {
  color: #fff;
  background-color: #3bafda;
  border-color: #3bafda;
}

.btn-primary:hover {
  color: #fff;
  background-color: #1e94da;
  border-color: #1e94da;
}
.btn-primary.active,
.btn-primary:active,
.btn-primary:active:hover,
.btn-primary.active.focus,
.btn-primary:active:focus,
.btn-primary:focus,
.btn-primary.active:hover {
  outline: none;
  background-color: #1e94da;
  border-color: #1e94da;
}

.btn-primary.disabled.focus,
.btn-primary.disabled:focus,
.btn-primary.disabled:hover,
.btn-primary[disabled].focus,
.btn-primary[disabled]:focus,
.btn-primary[disabled]:hover,
fieldset[disabled] .btn-primary.focus,
fieldset[disabled] .btn-primary:focus,
fieldset[disabled] .btn-primary:hover {
  background-color: #1e94da;
  border-color: #1e94da;
}
.buttons-holder {
  white-space: nowrap;
  max-width: 90px;
}

.btn.btn-xs {
  padding: 4px 5px;
}

.btn.active.focus,
.btn.active:focus,
.btn.focus,
.btn:active.focus,
.btn:active:focus,
.btn:focus {
  outline: unset;
}

.command-btn {
  margin: 0;
}

.command-edit {
  margin-right: 10px;
}

.actionBar .btn {
  margin-left: 5px;
}

.table > thead > tr > th {
  font-weight: 500;
}

div#msgFilters {
  display: inline-block;
  margin: 0 20px 0 0;
  vertical-align: middle;
  width: 250px;
}

.container {
  margin-left: 0px;
}

/* dialog textarea's */

textarea {
  resize: vertical;
}

/* grid column settings */

.id-hidden {
  visibility: hidden;
  display: none;
}

.k-menu-expand-arrow {
  display: none;
  border: 0;
}

.k-menu .k-image {
  margin-right: 10px;
}
#column-menu .k-image {
  width: 12px;
  height: 12px;
}
.k-widget.k-menu-horizontal > .k-item {
  border-style: none;
  border-width: 0 0 0 0;
}

.k-button {
  border-style: none;
}

.k-button .k-icon,
.k-button .k-image,
.k-button .k-sprite {
  margin-right: 10;
}

.backup-dialog {
  background-color: transparent;
}

.backup-dialog .k-listbox {
  height: 60%;

  background-color: #fff;
}

.backup-dialog .k-listbox.bl {
  width: 100%;
}

.backup-dialog .k-listbox.ll {
  width: 100%;
}

.backup-dialog .k-listbox .k-list-scroller {
  border-radius: 4px;
}

.backup-dialog-footer {
  padding-left: 40px;
  padding-right: 40px;
}

/* side bar */

html,
body {
  height: 100%;
}

body {
  overflow-x: hidden;
  background-color: #f5f5f5;
  color: #333;
  font-family: Rubik, Arial, Helvetica, sans-serif;
}

.wrapper {
  min-height: 100%;
  overflow: hidden;
}

.row.alt {
  margin-right: 0;
  margin-left: 0;
}

.wrapper:before,
.wrapper:after,
.column:before,
.column:after {
  content: "";
  display: table;
}

.wrapper:after,
.column:after {
  clear: both;
}

#sidebar {
  position: relative;
  z-index: 5;

  float: left;
  padding-left: 0;
  padding-bottom: 9999px;
  margin-bottom: -9999px;
  min-height: 100%;
  width: 160px;

  -webkit-transition: all 0.4s ease-in-out;
  -moz-transition: all 0.4s ease-in-out;
  transition: all 0.4s ease-in-out;

  background-color: #eee;
}

.row-offcanvas-left.active #sidebar {
  width: 50px;
}

#sidebar > .nav > li > a[data-toggle="offcanvas"] {
  padding-top: 10px;
  padding-bottom: 10px;
  background: url("arbutus-img/icons-sprite.png") no-repeat 15px 10px/26px 50px;
  min-height: 33px;
}

.row-offcanvas-left.active #sidebar > .nav > li > a[data-toggle="offcanvas"] {
  background-position: 15px -27px;
}

#sidebar > .nav > li > a {
  min-height: 55px;
  padding-top: 15px;
  padding-bottom: 15px;
  padding: 15px 10px 15px 15px;
  font-size: 15px;
  font-weight: 500;
  line-height: 18px;
  white-space: nowrap;
  overflow: hidden;
  color: #69707f;
}
#sidebar > .nav > li > a::before {
  display: inline-block;
  vertical-align: middle;
  width: 1px;
  overflow: hidden;
  height: 25px;
  margin-right: -4px;
  content: "";
}

#sidebar > .nav > li > a:hover {
  background-color: #d9d9d9;
}

#sidebar .collapse,
#sidebar .collapse.in {
  display: inline-block;
  vertical-align: middle;
  margin-left: 9px;
}

.nav > li .menu-icon-svg {
  display: inline-block;
  vertical-align: middle;
  fill: #69707f;
}
.nav > li.active .menu-icon-svg {
  fill: #3bafda;
}

#sidebar .nav > li.active a {
  background-color: #fff;
  color: #3bafda;
}

.nopadding {
  padding: 0 !important;
  margin: 0 !important;
}

#main {
  overflow: hidden;
  /* -webkit-transition: all 3s ease-in-out;
  -moz-transition: all 0.4s ease-in-out; */
  transition: all 0.4s ease-in-out;
}

#grid {
  height: calc(100vh - 80px);
}

.gap-1 {
  padding-bottom: 10px;
}
.gap-2 {
  padding-bottom: 120px;
}

/* navbar overrides */

.navbar-default {
  background-color: #ffffff;
  border-color: #ffffff;
}

.navbar-header {
  height: 56px;
  display: flex;
  align-items: center;
}

/* remove the default margin on the bottom 25px */
.navbar {
  margin-bottom: 0px !important;
  border-radius: 0;
}

.navbar-brand {
  height: unset;
  width: unset;
  color: black;
  padding-top: 7px;
  padding-bottom: 7px;
}

.navbar-brand-logo {
  max-height: 34px;
  width: auto;
}

.navbar-brand-label {
  height: unset;
  width: 157px;
  color: #3b4351;
  font-family: Roboto, sans-serif;
  font-size: 14px;
  font-weight: bold;
  /*line-height: 16px;*/
  padding-left: 0;
}

.navbar-default .navbar-brand-label {
  color: #3b4351;
}

.navbar-right {
  margin-right: 24px;
  margin-left: 0;
  display: flex;
  align-items: center;
  height: 56px;
}

#main .k-grid-toolbar {
  padding: 0 18px 0 0;
  border-bottom: none;
}

#main .k-grid-toolbar .container-fluid .header-row:first-child {
  display: flex;
  align-items: center;
  padding-top: 23px;
  padding-bottom: 12px;
  border-bottom: 1px solid #dee1e4;
}

#main .k-grid-toolbar .container-fluid .header-row:first-child .toolbar-top {
  align-items: center;
}

#main .toolbar-top h3 {
  margin: 0;
  font-size: 28px;
  line-height: 32px;
  font-weight: 300;
}

#main .k-grid-toolbar .container-fluid .header-row:nth-child(2) {
  padding: 16px 0 6px;
}

#main .k-header.k-grid-toolbar hr {
  display: none;
}

h4 {
  font-weight: 300;
  font-size: 24px;
  color: #333;
}

.caret {
  height: 6px;
  width: 10px;
  color: #595959;
  margin-left: 16px;
}

/* admin panels */
.panel-group {
  margin-top: 20px;
}
.panel {
  border: none;
  margin-left: 24px;
  margin-right: 24px;
}

.panel-default > .panel-heading {
  font-size: 28px;
  line-height: 32px;
  font-weight: 300;
}

.panel-body {
  border-radius: 3px;
}

.panel-body .row {
  padding: 10px 0;
}
.panel-body .row + .row {
  border-top: 1px solid #ccc;
}

.k-widget.k-tooltip {
  padding: 2px 10px;
  background: #000;
  color: #fff;
  font-size: 12px;
  line-height: 18px;
}
.k-tooltip .k-callout-s {
  border-top-color: #000;
}

@media screen and (max-width: 1500px) {
  .filterContainer {
    margin-right: 15px;
  }
}
@media screen and (max-width: 1024px) {
  #grid .k-grid-header {
    padding-right: 0 !important;
  }
  .toolbar-search {
    width: 35%;
  }
  .multiple-select-holder .box1 {
    padding-bottom: 15px;
  }
}

@media screen and (max-width: 1023px) {
  .toolbar,
  .allFiltersContainer {
    flex-direction: column;
    width: 100%;
    align-items: flex-start;
    margin-bottom: 5px;
  }

  .filterContainer {
    margin: 0 0 7px;
  }

  .header-row #column-menu .k-menu-link {
    padding-left: 0;
  }

  .toolbar-command-btn {
    margin: 0 0 0 10px;
  }
}

/*
  * off canvas sidebar
  * --------------------------------------------------
  */
@media screen and (max-width: 767px) {
  .navbar-brand-logo {
    max-width: 75px;
  }
  #sidebar {
    width: 50px;
  }
  .row-offcanvas-left.active #sidebar {
    width: 150px;
  }

  #sidebar .collapse.in {
    display: none;
  }

  #sidebar .nav .hidden-xs {
    display: inline !important;
    margin-left: 3px;
  }
  #sidebar > .nav > li > a {
    min-height: 40px;
    padding-top: 8px;
    padding-bottom: 8px;
  }

  .modal.fade .modal-dialog {
    width: 94%;
  }

  .modal-body,
  .modal-footer,
  .modal-header {
    padding-left: 30px;
    padding-right: 30px;
  }

  .modal-body .bootstrap-duallistbox-container.row {
    margin: 0;
  }

  .files .btn span {
    display: inline;
  }

  .toolbar-search {
    width: 100%;
    margin-top: 10px;
  }

  #main .k-grid-toolbar .container-fluid .header-row:first-child {
    flex-direction: column;
    align-items: flex-start;
  }

  #main .k-grid-toolbar {
    padding-right: 0;
  }

  .k-grid td,
  .k-grid th {
    width: 60px;
  }

  .modal-footer {
    text-align: center;
  }

  .modal-footer .btn,
  .modal-footer .btn + .btn {
    margin: 0 5px 5px;
  }

  .modal-content {
    width: 100%;
  }

  .modal-body .form-group {
    margin: 0;
  }

  .modal-body .form-group div[class*="col"] {
    margin-bottom: 15px;
    padding: 0;
  }
  .modal-body .form-group label[class*="col"] {
    padding: 0;
  }

  .header-row #column-menu .k-image {
    margin-left: 0;
  }
  .template-download,
  .template-upload {
    flex-wrap: wrap;
  }

  .files .template-download .btn span,
  .files .template-upload .btn span {
    display: inline-block;
  }
}

@media screen and (max-height: 414px) {
  #grid {
    height: 600px;
  }
}
