body {
  height: 100%;
  width: 100%;
  padding: 0;
  margin: 0;
  font-family: "Helvetica Neue", Roboto, Arial, "Droid Sans", sans-serif;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.471;
}

.left_column {
  height: 100%;
  float: left;
}

.nav-md .left_column {
  width: 230px;
}

.nav-sm .left_column {
  width: 70px;
}

.right_column {
  height: 100%;
  position: absolute;
  display: flex;
  flex-flow: column;
}

.nav-sm .right_column {
  left: 70px;
  width: calc(100% - 70px);
}

.nav-md .right_column {
  left: 230px;
  width: calc(100% - 230px);
}

/* Don't display menu under 800 px */
@media (max-width: 1000px) {
  .left_column {
    width: 0px;
    display: none;
  }

  .nav-sm .right_column {
    left: 0px;
    width: 100%;
  }

  .nav-md .right_column {
    left: 0px;
    width: 100%;
  }
}

.main_frame {
  width: 100%;
  padding: 10px 17px;
}

.header {
  height: 60px;
  width: 100%;
}

.x_title h2 {
  white-space: nowrap;
  text-overflow: ellipsis;
}

.nav-sm .hidden-small {
  visibility: hidden;
}

.nav-sm .nav.side-menu li a {
  text-align: center !important;
  font-weight: 400;
  font-size: 10px;
  padding: 10px 5px;
}

.nav-sm .nav.side-menu li.active-sm ul ul,
.nav-sm ul.nav.child_menu ul {
  position: static;
  width: 200px;
  background: 0 0;
}

.nav-sm .nav.side-menu li a i.toggle-up {
  display: none !important;
}

.nav-sm .menu_section h3,
.nav-sm .menu_section span.fa,
.nav-sm .profile {
  display: none;
}

.nav-sm .nav.side-menu li a i {
  font-size: 25px !important;
  text-align: center;
  width: 100% !important;
  margin-bottom: 5px;
}

.nav-sm ul.nav.child_menu {
  left: 100%;
  position: absolute;
  top: 0;
  width: 210px;
  z-index: 4000;
  background: #3e5367;
  display: none;
}

.nav-sm ul.nav.child_menu li {
  padding: 0 10px;
}

.nav-sm ul.nav.child_menu li a {
  text-align: left !important;
}

.menu_section {
  margin-bottom: 35px;
}

.menu_section h3 {
  padding-left: 15px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 700;
  font-size: 11px;
  margin-bottom: 0;
  margin-top: 0;
  text-shadow: 1px 1px #000;
}

.menu_section > ul {
  margin-top: 10px;
}

.main_menu span.fa {
  float: right;
  text-align: center;
  margin-top: 5px;
  font-size: 10px;
  min-width: inherit;
  color: #c4cfda;
}

/* Display icon in minimized submenu */
.nav.child_menu span.fa {
  display: block;
}

.active a span.fa {
  text-align: right !important;
  margin-right: 4px;
}

.nav-sm .menu_section {
  margin: 0;
}

.nav-sm li li span.fa {
  display: inline-block;
}

.nav_menu {
  float: left;
  margin-bottom: 10px;
  width: 100%;
  position: relative;
}

@media (min-width: 480px) {
  .nav_menu {
    position: static;
  }
}

.server-time {
  bottom: 7px;
  left: 5px;
  position: fixed;
  color: #b9b9b9;
  text-align: center;
}

/* Change background color upper menu item on hover */
.top_nav .nav .open > a,
.top_nav .nav > li > a:hover {
  background: #d9dee4;
}

a {
  color: #5a738e;
}

.top_nav .navbar-right {
  margin: 0;
  width: 70%;
  float: right;
}

.top_nav .navbar-right li {
  display: inline-block;
  float: right;
  position: static;
}

@media (min-width: 480px) {
  .top_nav .navbar-right li {
    position: relative;
  }
}

.top_nav .dropdown-menu li {
  width: 100%;
}

.top_nav .dropdown-menu li a {
  width: 100%;
  padding: 12px 20px;
}

.top_nav li a i {
  font-size: 15px;
}

.nav.side-menu > li {
  position: relative;
  display: block;
  cursor: pointer;
}

.nav.side-menu > li > a {
  margin-bottom: 6px;
}

.nav.side-menu > li > a:hover,
.nav > li > a:focus {
  text-decoration: none;
  background: 0 0;
}

.nav.child_menu {
  display: none;
}

.nav.child_menu li.active,
.nav.child_menu li:hover {
  background-color: rgba(255, 255, 255, 0.06);
}

.nav.child_menu li {
  padding-left: 36px;
}

.nav-md ul.nav.child_menu li:before {
  background: #425668;
  bottom: auto;
  content: "";
  height: 8px;
  left: 23px;
  margin-top: 15px;
  position: absolute;
  right: auto;
  width: 8px;
  z-index: 1;
  border-radius: 50%;
}

.nav-md ul.nav.child_menu li:after {
  border-left: 1px solid #425668;
  bottom: 0;
  content: "";
  left: 27px;
  position: absolute;
  top: 0;
}

.nav.top_menu > li > a,
.nav > li > a {
  position: relative;
  display: block;
}

.nav.child_menu > li > a,
.nav.side-menu > li > a {
  color: #e7e7e7;
  font-weight: 500;
}

.nav li li.current-page a,
.nav.child_menu li li a.active,
.nav.child_menu li li a:hover {
  color: #fff;
}

.nav.child_menu li li.active,
.nav.child_menu li li:hover {
  background: 0 0;
}

.nav > li > a {
  padding: 13px 15px 12px;
}

.nav li.current-page {
  background: rgba(255, 255, 255, 0.05);
}

.nav li li li.current-page {
  background: 0 0;
}

.navbar-brand,
.navbar-nav > li > a {
  color: #ecf0f1 !important;
  margin-left: 0 !important;
}

.nav.side-menu > li.active > a {
  text-shadow: rgba(0, 0, 0, 0.25) 0 -1px 0;
  box-shadow: rgba(0, 0, 0, 0.25) 0 1px 0, inset rgba(255, 255, 255, 0.16) 0 1px 0;
}

.navbar-brand,
.navbar-nav > li > a {
  font-weight: 500;
  line-height: 32px;
}

.navbar-color {
  background-color: rgba(230, 230, 230, 0.4);
  border-color: rgb(180, 180, 180);
}

.navbar-custom {
  float: left;
  padding: 7px 7px;
}

.nav.top_menu > li > a {
  padding: 10px 15px;
  color: #34495e !important;
}

.nav > li > a:focus,
.nav > li > a:hover {
  background-color: transparent;
}

.toggle {
  float: left;
  margin: 0;
  padding-top: 16px;
  width: 40px;
}

.toggle a {
  padding: 15px 15px 0;
  margin: 0;
  cursor: pointer;
}

.toggle a i {
  font-size: 26px;
}

.nav.child_menu > li > a {
  color: rgba(255, 255, 255, 0.75);
  font-size: 12px;
  padding: 9px;
}

*,
:after,
:before {
  box-sizing: border-box;
}

h2 {
  font-size: 18px;
  font-weight: 400;
}

.accordion .panel {
  margin-bottom: 5px;
  border-radius: 0;
  border-bottom: 1px solid #efefef;
}

.accordion .panel-heading {
  padding: 13px;
  width: 100%;
  display: block;
}

.x_title {
  border-bottom: 2px solid #e6e9ed;
  padding: 1px 5px 6px;
}

/* Alerts mechanism */
ul.msg_list li {
  background: #f7f7f7;
  width: 96% !important;
}

ul.msg_list li a .time {
  font-style: italic;
  font-weight: 700;
  width: 100%;
  display: inline-block;
  text-align: center;
}

.dropdown-menu.msg_list span {
  white-space: normal;
}

.dropdown-menu {
  box-shadow: none;
  display: none;
  float: left;
  font-size: 12px;
  left: 0;
  list-style: none;
  padding: 0;
  position: absolute;
  text-shadow: none;
  top: 100%;
  z-index: 9998;
  border: 1px solid #d9dee4;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

.dropdown-menu > li > a {
  color: #5a738e;
}

.navbar-nav .open .dropdown-menu {
  position: absolute;
  background: #fff;
  margin-top: 0;
  border: 1px solid #d9dee4;
  -webkit-box-shadow: none;
  right: 0;
  left: auto;
  width: 220px;
}

.navbar-nav .open .dropdown-menu.msg_list {
  width: 300px;
}

.badge {
  font-size: 10px;
  font-weight: 400;
  line-height: 13px;
  padding: 2px 6px;
  position: absolute;
  left: 32px;
  top: 4px;
  background: #35bee7 !important;
  border: 1px solid #35bee7 !important;
  color: #fff;
}

.user-profile img {
  width: 29px;
  height: 29px;
  margin-right: 10px;
}

.main_menu {
  padding-top: 5px;
}

.main_menu .fa {
  width: 26px;
  opacity: 0.99;
  display: inline-block;
  font-family: FontAwesome;
  font-style: normal;
  font-weight: 400;
  font-size: 18px;
  -moz-osx-font-smoothing: grayscale;
}

.btn,
.buttons,
.modal-footer .btn + .btn,
button {
  margin-bottom: 0px;
  margin-right: 0px;
}

.btn-group .btn,
.btn-group-vertical .btn {
  margin-bottom: 0;
  margin-right: 0;
}

/* Controls size of select2 drop-down list */
.btn-select2 {
  margin-top: -5px;
  margin-right: -5px;
  margin-left: -5px;
  font-size: 12px;
  outline: none !important;
  text-decoration: none !important;
}

.select2-container .select2-selection--single {
  height: 32px !important;
}

.select2-selection__rendered {
  line-height: 25px !important;
}

.select2-selection__arrow {
  height: 30px !important;
}

.input-group {
  margin-bottom: 0px;
}

/* Form styling */
.form-control {
  border-radius: 0;
  width: 100%;
}

.form-control-bool {
  width: 20px;
  height: 20px;
  margin-top: 6px !important;
  margin-left: 15px !important;
}

.form-horizontal .control-label {
  padding-top: 8px;
}

legend {
  font-size: 18px;
  color: inherit;
  padding-bottom: 7px;
}

.form-horizontal .form-group {
  margin-right: 0;
  margin-left: 0;
}

.form-group {
  margin-bottom: 10px;
}

/* Buttons styling */

.btn {
  border-radius: 3px;
}

.btn-success {
  background: #26b99a;
  border: 1px solid #169f85;
}

.btn-success:hover {
  background: #169f85;
}

.btn-dark {
  color: #e9edef;
  background-color: #4b5f71;
  border-color: #364b5f;
}

.btn-dark:hover {
  color: #fff;
  background-color: #394d5f;
  border-color: #394d5f;
}

/* Separator for the right-click menu */
.divider {
  border-bottom: 1px solid #ddd;
  margin: 10px;
}

.dropdown-menu a {
  cursor: pointer;
}

.form-group .btn {
  margin-bottom: -6px;
}

.input-group-btn .btn {
  margin-bottom: 0;
}

.input-group.date .input-group-addon {
  border-radius: 0 !important;
  background-color: #ffff !important;
}

fieldset {
  border: none;
  margin: 0;
  padding: 0;
}

.wizard_horizontal ul.wizard_steps {
  display: table;
  list-style: none;
  position: relative;
  width: 100%;
  margin: 0 0 20px;
}

.wizard_horizontal ul.wizard_steps li {
  display: table-cell;
  text-align: center;
}

.wizard_horizontal ul.wizard_steps li a,
.wizard_horizontal ul.wizard_steps li:hover {
  display: block;
  position: relative;
  -moz-opacity: 1;
  opacity: 1;
  color: #666;
}

.wizard_horizontal ul.wizard_steps li a:before {
  content: "";
  position: absolute;
  height: 4px;
  top: 20px;
  width: 100%;
  z-index: 4;
  left: 0;
}

.wizard_horizontal ul.wizard_steps li a.disabled .step_no {
  background: #ccc;
}

.wizard_horizontal ul.wizard_steps li a .step_no {
  width: 40px;
  height: 40px;
  line-height: 40px;
  border-radius: 100px;
  display: block;
  margin: 0 auto 5px;
  font-size: 16px;
  text-align: center;
  position: relative;
  z-index: 5;
}

.step_no,
.wizard_horizontal ul.wizard_steps li a.selected:before {
  background: #34495e;
  color: #fff;
}

.wizard_horizontal ul.wizard_steps li:first-child a:before {
  left: 50%;
}

.wizard_horizontal ul.wizard_steps li:last-child a:before {
  right: 50%;
  width: 50%;
  left: auto;
}

.wizard_horizontal ul.wizard_steps li a {
  text-decoration: none;
}

.wizard_horizontal ul.wizard_steps li a:hover span.step_descr {
  text-decoration: underline;
}

.progress.progress_sm,
.progress.progress_sm .progress-bar {
  height: 10px !important;
}

.form_wizard .loader,
.form_wizard .msgBox {
  display: none;
}

.progress-bar-success {
  background-color: #26b99a;
}

.progress.progress_sm {
  border-radius: 0;
  margin-bottom: 18px;
}

.progress.vertical.progress_wide {
  width: 35px;
}

.fc-state-default {
  background: #f5f5f5;
  color: #73879c;
}

.fc-state-active,
.fc-state-down {
  color: #333;
  background: #ccc;
}

.dropzone {
  min-height: 300px;
  border: 1px solid #e5e5e5;
}

.dropdown-submenu > .dropdown-menu {
  left: 100%;
  top: auto;
  transform: translate(0, -60%);
}

.caret-right {
  float: right;
  display: inline-block;
  width: 0;
  height: 0;
  margin-left: 2px;
  vertical-align: middle;
  border-left: 5px solid;
  border-left-color: #999;
  border-bottom: 5px solid transparent;
  border-top: 5px solid transparent;
  margin-top: 5px;
  margin-right: -8px;
}

/* Deactivate selection */
.unselectable {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* Display of the buttons of the top menu */
.nav-item {
  min-width: 100px;
  display: inline-block;
  text-align: center;
}

/* Prevent alertify.js alerts from going off screen */
.ajs-message {
  word-wrap: break-word;
}

/* View
We cannot use 100% because main_frame is not set to 100%
80px = 60px (header) + 2*10px (main_frame vertical padding)
*/

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

/* Cross-browser control alignment in the middle */
.nav-controls {
  background-color: rgb(248, 248, 248, 0.4);
  border-radius: 10px;
  margin: auto;
  padding: 7px 7px;
  margin-bottom: 5px;
  width: intrinsic;
  width: -moz-max-content;
  width: -webkit-max-content;
}

/* Cross-browser compatibility for width: fit-content needed 
intrinsic (Safari) - moz (Firefox) - webkit (Chrome) */
.controls {
  z-index: 3;
  top: 75px;
  position: absolute;
  width: intrinsic;
  width: -moz-max-content;
  width: -webkit-max-content;
  left: 50%;
  transform: translate(-50%, 0);
}

.controls_mode {
  float: left;
  margin-right: 10px;
}

.glyphicon-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* For tooltips positioning with target key */
.overlay {
  position: absolute;
  height: 20%;
  width: 98%;
}

/* For context-sensitive help */
.icon-button {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  outline: none;
  border: 0;
  background: transparent;
}

/* Dashboard and customization section */
legend.section {
  width: inherit;
  padding: 0 10px;
  border-bottom: none;
  margin-bottom: 5px;
}

fieldset.section {
  border: 1px groove #ddd;
  padding: 5px;
  margin: 0 0 1.5em 0;
  -webkit-box-shadow: 0px 0px 0px 0px #000;
  box-shadow: 0px 0px 0px 0px #000;
}

/* enables resizing of code mirror content */
.CodeMirror {
  resize: vertical;
}

/* prevents text area resizing in horizontal direction to preserve layout. */
textarea.form-control {
  resize: vertical;
}

.slider {
  margin-left: 35px;
  margin-right: 35px;
}

/* Don't display underline in service panel section header */
.panel-heading {
  text-decoration: none !important;
}

td span {
  line-height: 18px;
}

/* Align Datatables cell content on y-axis */
table.dataTable tbody td {
  vertical-align: middle;
}

/* Set the table pages in the middle */
.dataTables_length {
  width: 30%;
  float: left;
}

/* Align center for "No data available in table" when empty table */
.dataTables_empty,
table.display td.center {
  text-align: center;
}

/* Align "Show 1 to 10 of X entries to the right */
.dataTables_info {
  font-size: 14px;
  margin-right: 8px;
  margin-top: -10px;
  float: right;
  display: none;
}

.dataTables_scrollBody {
  margin-bottom: 10px;
}

.dataTables_paginate .pagination {
  display: block;
  padding-left: 500px;
  margin-left: auto;
  margin-right: auto;
}

table.dataTable thead span.sort-icon {
  display: inline-block;
  padding-left: 5px;
  width: 16px;
  height: 16px;
}

th.dt-center,
td.dt-center {
  text-align: center;
}

/* Set default cursor for the header instead of pointer */
table.dataTable thead .sorting,
table.dataTable thead .sorting_asc,
table.dataTable thead .sorting_asc_disabled,
table.dataTable thead .sorting_desc,
table.dataTable thead .sorting_desc_disabled {
  cursor: default;
  pointer-events: none;
}

/* Position the sorting icon in the upper right corner */
/* Set pointer cursor on the sorting icon */
table.dataTable thead .sorting:after,
table.dataTable thead .sorting_asc:after,
table.dataTable thead .sorting_desc:after {
  top: 5px;
  right: 8px;
  cursor: pointer;
  pointer-events: all;
}

table.dataTable thead > tr > th.sorting,
table.dataTable thead > tr > th.sorting_asc,
table.dataTable thead > tr > th.sorting_desc {
  padding-right: 5px;
}

.table-search {
  pointer-events: all;
}

/** Multiple Tabs for Object Form Edit Panel **/
ul.bar_tabs {
  overflow: visible;
  background: #f5f7fa;
  height: 25px;
  margin: 21px 0 14px;
  padding-left: 14px;
  position: relative;
  z-index: 1;
  width: 100%;
  border-bottom: 1px solid #e6e9ed;
}
ul.bar_tabs > li {
  border: 1px solid #e6e9ed;
  color: #333 !important;
  margin-top: -17px;
  margin-left: 8px;
  background: #fff;
  border-bottom: none;
  border-radius: 4px 4px 0 0;
}
ul.bar_tabs > li.active {
  border-right: 6px solid #d3d6da;
  border-top: 0;
  margin-top: -15px;
}
ul.bar_tabs > li a {
  padding: 10px 17px;
  background: #f5f7fa;
  margin: 0;
  border-top-right-radius: 0;
}
ul.bar_tabs > li a:hover {
  border: 1px solid transparent;
}
ul.bar_tabs > li.active a {
  border-bottom: none;
}
ul.bar_tabs.right {
  padding-right: 14px;
}
ul.bar_tabs.right li {
  float: right;
}

/* Override Dropzone animation to slides-in instead of passing-through. */
/* Override Dropzone position to be slightly lower. */
.dropzone .dz-preview.dz-success .dz-success-mark,
.dropzone .dz-preview.dz-error .dz-error-mark {
  opacity: 1;
  margin-top: 5px;
  -webkit-animation: slide-in 3s cubic-bezier(0.77, 0, 0.175, 1);
  -moz-animation: slide-in 3s cubic-bezier(0.77, 0, 0.175, 1);
  -ms-animation: slide-in 3s cubic-bezier(0.77, 0, 0.175, 1);
  -o-animation: slide-in 3s cubic-bezier(0.77, 0, 0.175, 1);
  animation: slide-in 3s cubic-bezier(0.77, 0, 0.175, 1);
}
