/* basic */
h2 {
  margin-bottom: 0.8em;
}

h3.page-title small {
  position: relative;
}

h3.page-title .badge {
  position: absolute;
  left: -10px;
  top: -18px;
}

/* header */
.dropdown-menu .dropdown-menu-list {
  height: 300px;
}

/* header - projects */
.header .navbar-nav li.dropdown.projects > a {
  line-height: 30px;
}

.header .navbar-nav li.dropdown.projects .icon-angle-down {
  margin-top: -4px;
}

.header .navbar-nav > li.dropdown.projects .dropdown-toggle {
  padding: 5px 4px 6px 9px;
}

.header .navbar-nav > li.dropdown.projects .dropdown-toggle .project {
  color: #ddd;
}

.header .navbar-nav li.dropdown.projects .dropdown-toggle i {
  vertical-align: middle;
}

.header .navbar-nav > li.dropdown.projects .dropdown-toggle .badge {
  position: absolute;
  top: 6px;
  left: 0px;
  right: auto;
}

/* header - language */
li.language {
  margin: 0 0 0 40px !important;
  padding-top: 7px !important;
}

li.language a {
  color: #fff !important;
  display: inline;
  padding: 6px 10px 5px 10px;
  line-height: 28px;
}

li.language a.btn-success:hover {
  background-color: #47a447 !important;
}

/* header - user */
.header .navbar-nav > li.dropdown.user {
  margin-left: 40px;
}

.header .navbar-nav > li.dropdown.user .dropdown-toggle {
  padding: 7px 4px 6px 9px;
}

.header .navbar-nav > li.dropdown.user .dropdown-toggle:hover {
  text-decoration: none;
}

.header .navbar-nav > li.dropdown.user .dropdown-toggle .username {
  color: #ddd;
}

.header .navbar-nav li.dropdown.user .dropdown-toggle i {
  display: inline-block;
  margin-top: 5px;
  margin: 0;
  font-size: 16px;
}

.header .navbar-nav > li.dropdown.user .dropdown-menu i {
  width: 15px;
  display: inline-block;
}

/* sidebar */
.page-sidebar-menu li.start {
  margin-top: 30px;
}

.page-sidebar-menu .note, .page-sidebar-menu .note:hover {
  padding: 18px 0 20px 20px;
  font-size: 140%;
  background-position: left center;
  background-repeat: no-repeat;
  background-color: #E02222;
  background-color: #FCB322;
  color: #000 !important;
}

/* portlets */
.portlet-body .scroller {
  height: 270px;
}

.portlet.projects .portlet-body .scroller {
  min-height: 490px;
}

/* module menu */
ul.amenu {
  margin: 0 0 2em 0;
  padding: 0;
}

ul.amenu li {
  list-style-type: none;
  display: inline;
  margin-right: 3px;
}

/* forms */
.sr_detail .checker {
  margin: 4px 10px 0 0 !important;
}

.sr_detail div {
  float: left;
}

.sr_detail .btn, .btn.margin-right {
  margin-right: 3px;
}

.alert {
  clear: both;
}


table.sr td {
  vertical-align: middle !important;
}

table.sr td:first-child {
  width: 150px;
  white-space: nowrap;
}

table.sr .choice {
  margin-right: 10px;
}

table.sr th {
  font-weight: normal;
}

.form-group.required input, .form-group.required textarea, .form-group.required select, .required_info {
  border-left: 2px solid #B94A47;
}

.required_info {
  padding-left: 10px;
  margin-top: 10px;
}

form a.icon {
  text-decoration: none;
}

.input-msmall {
  width: 5.5em;
}

.choose th {
  padding: 10px 0 5px 0;
}

.sc_err_border_show input, .sc_err_border_show input:focus,
.sc_err_border_show textarea, .sc_err_border_show textarea:focus,
.sc_err_border_show select, .sc_err_border_show select:focus {
  border: 1px solid #B84A47;
}

.required .sc_err_border_show input, .required .sc_err_border_show input:focus,
.required .sc_err_border_show textarea, .required .sc_err_border_show textarea:focus,
.required .sc_err_border_show select, .required .sc_err_border_show select:focus {
  border-left: 2px solid #B84A47;
}

.sc_err_msg_show {
  color: #B84A47;
  margin-top: 4px;
}

.field_image {
  float: left;
  margin: 0 5px 30px 0;
  background: #f5f5f5;
  width: 117px !important;
}

.icon_insert_enabled {
  width: 130px;
  display: block;
  margin: 3px 0;
}

.icon_insert_disabled {
  display: none;
  margin: 3px 0;
}

.field_image_preview {
  text-align: center;
  margin: 0 auto;
  width: 104px !important;
}

.field_image_tools {
  margin: 0 auto;
  text-align: center;
  width: 120px !important;
}

iframe {
  border: 0;
}

textarea.wysiwyg {
  height: 24em !important;
}

textarea.wysiwyg-half + .CodeMirror {
  height: 12em !important;
}

.date-picker span, .date-picker button {
  vertical-align: top;
}

#menu_icon_preview {
  margin-top: -3px;
}

/* form field: grid */
.grid_tools {
  margin-bottom: 1em;
}

.grid_disabled {
  display: none;
}

table.grid {
  width: 83.33333333%;
}

table.grid tr {
  background: #fff;
}

table.grid tr.grid_row_active {
  background: #DFF0D8;
}

table.grid td {
  cursor: pointer;
  _cursor: hand;
}

/* module pagination */
.pg {
  text-align: right;
  margin: 0;
}

.pagination {
  margin: 0 !important;
}

.info {
  float: right;
  margin-left: 40px;
  line-height: 40px;
}

.multiple_action a, .multiple_action button {
  vertical-align: top;
}

.multiple_action button {
  padding-top: 4px;
  padding-bottom: 4px;
}

.multiple_action select {
  padding-top: 3px;
  padding-bottom: 2px;
  height: 28px;
}

tr.checked td {
  background-color: #852B99 !important;
  color: #fff !important;
}

/* module actions */
table.show-detail td:first-child {
  width: 16.66666667%;
}

table th {
  background: #D9EDF7;
  color: #31708f;
}

form table th {
  background: transparent;
  color: #000;
}

/* spinners */
#form_search_preloader {
  position: fixed;
  left: 50%;
  top: 50%;
  display: none;
  z-index: 999;
}

#form_search_preloader_bg {
  width: 100%;
  height: 100%;
  position: absolute;
  display: block;
  top: 0;
  left: 0;
  background: transparent;
  z-index: 998;
}

img#form_server_check_preloader {
  position: absolute;
  margin: 14px 15px;
}

/* modal windows */
.modal-mode .page-content {
  margin-left: 0 !important;
}

.photogallery-preview img {
  cursor: pointer;
  _cursor: hand;
  margin: 10px;
}

@media (min-width: 992px) {
  .modal-lg-2 {
    width: 1200px;
  }
}

/* general */
.c {
  text-align: center !important;
}

.l {
  text-align: left !important;
}

.r {
  text-align: right !important;
}

/* special */
a.btn.default.zeroclipboard-is-hover {
  background-color: #d8d8d8 !important;
}

a.btn.btn-primary.zeroclipboard-is-hover {
  color: #fff;
  background-color: #3276b1;
  border-color: #285e8e;
}

.non_active {
    color: grey;
}
