:root {
  --color-linetime-blue: #152545;
}

* :not(.scroll-top) {
  border-radius: 0 !important;
}

a {
  outline: none;
}

@media (min-width: 1000px) {
  body .container-fluid {
    display: block !important;
  }
  body #tooSmallDisplay {
    display: none !important;
  }
}

@media (max-width: 1000px) {
  body .container-fluid {
    display: none;
  }
  body #tooSmallDisplay {
    display: block !important;
  }
}

/**
 * Menu Start
 */
.mainMenu {
  cursor: pointer;
}

#custom-bootstrap-menu.navbar-default .navbar-brand {
  color: rgba(255, 255, 255, 1);
}

#custom-bootstrap-menu.navbar, #custom-bootstrap-menu.nav, #custom-bootstrap-menu .dropdown-menu li {
  background-color: #152545;
  color: #fff;
  z-index: 10000;
}

.inactiveLink {
  pointer-events: none;
  cursor: default;
}

.modal {
  z-index: 10050;
}

.nav .dropdown-menu > li > a,
.navbar-nav > li > a {
  background-color: #152545;
  color: white;
}

.nav .dropdown-menu > li > a:hover,
.navbar-nav > li > a:hover {
  background-color: white;
  color: #152545;
}

.nav .open > a, .nav .open > a:hover, .nav .open > a:focus {
  background-color: #152545;
  border-color: #152545;
  color: white;
  z-index: 10;
}

.nav .open > a, .nav .open > a:hover, .nav .open > a:focus {
  background-color: white;
  color: #152545;
  z-index: 10;
}

.navbar-default .dropdown-menu > li > a:hover,
.navbar-default .dropdown-menu > li > a:focus,
.navbar-default .navbar-nav > li > a:hover,
.navbar-default .navbar-nav > li > a:focus {
  background-color: #283f73;
  background-repeat: repeat;
  background-attachment: scroll;
  background-clip: border-box;
  background-origin: padding-box;
  background-position-x: 0px;
  background-position-y: 0px;
  background-size: auto auto;
  color: #fff;
}

.dropdown-menu a {
  height: 2.5em;
}

.navbar-default .navbar-nav > li > a,
.navbar-default .dropdown-menu > li > a {
  color: #fff;
}

/* Override bootstrap */
.navbar {
  margin-bottom: 0px;
}

.dropdown-submenu {
  position: relative;
}

.dropdown-menu {
  padding-top: 0;
  padding-bottom: 0;
}

.dropdown-menu > li > a {
  padding: 10px 20px 30px 20px;
}

.dropdown-submenu > .dropdown-menu {
  top: 50px;
  margin-top: 0px;
  margin-left: -1px;
}

.dropdown-submenu > .dropdown-menu .dropdown-menu {
  top: 0px;
  left: 100%;
  margin-left: 0px;
}

.dropdown-submenu > .dropdown-menu .dropdown-menu .dropdown-menu {
  top: 0px;
  left: 100%;
}

.dropdown, .dropdown-submenu:hover > .dropdown-menu {
  display: block;
}

/*.dropdown-submenu>a:after {
  display: block;
  content: " ";
  float: right;
  width: 0;
  height: 0;
  border-color: transparent;
  border-style: solid;
  border-left-color: #FFF;
  margin-top: 10px;
  margin-right: -10px;
}*/

.dropdown-submenu:hover > a:after {
  border-left-color: #fff;
}

.dropdown-submenu.pull-left {
  float: none;
}

.dropdown-submenu.pull-left > .dropdown-menu {
  left: -100%;
  margin-left: 10px;
}

/**
 * Menu End
 */

.auth_group_lists {
  list-style-type: none;
  margin: 3em;
}

.auth_group_lists li {
  margin: 1em;
  cursor: pointer;
  padding: .2em 0 .2em 1em;
}

.auth_group_lists li:hover {
  text-decoration: underline;
  font-style: italic;
  font-weight: bold;
  background-color: #dff0d8;
}

.outer_box_auth {
  max-height: 35em;
  overflow-y: auto;
}

.btn-xs {
  line-height: 2em;
}

.side-nav {
  border: 1px solid #ddd;

}

.btn {
  margin-right: 0.5em;
  margin-top: 0.5em;
  margin-bottom: 0.5em;
}

.btn-default {
  border-color: #152545;
  color: #152545;
}

/*
 *
 * Sidebar start
 *
 */
body, html {
  height: 100%;
}

/* remove outer padding */
.main .row {
  padding: 0px;
  margin: 0px;
}

/*Remove rounded coners*/

nav.sidebar.navbar {
  border-radius: 0px;
}

nav.sidebar, .main {
  -webkit-transition: margin 200ms ease-out;
  -moz-transition: margin 200ms ease-out;
  -o-transition: margin 200ms ease-out;
  transition: margin 200ms ease-out;
}

/* Add gap to nav and right windows.*/
.main {
  padding: 10px 10px 0 10px;
}

/* .....NavBar: Icon only with coloring/layout.....*/

/*small/medium side display*/
@media (min-width: 768px) {

  /*Allow main to be next to Nav*/
  .main {
    position: absolute;
    width: calc(100% - 40px); /*keeps 100% minus nav size*/
    margin-left: 40px;
    float: right;
  }

  /*lets nav bar to be showed on mouseover*/
  nav.sidebar:hover + .main {
    margin-left: 200px;
  }

  /*Center Brand*/
  nav.sidebar.navbar.sidebar > .container .navbar-brand, .navbar > .container-fluid .navbar-brand {
    margin-left: 0px;
  }

  /*Center Brand*/
  nav.sidebar .navbar-brand, nav.sidebar .navbar-header {
    text-align: center;
    width: 100%;
    margin-left: 0px;
  }

  /*Center Icons*/
  nav.sidebar a {
    padding-right: 13px;
  }

  /*adds border top to first nav box */
  nav.sidebar .navbar-nav > li:first-child {
    border-top: 1px #e5e5e5 solid;
  }

  /*adds border to bottom nav boxes*/
  nav.sidebar .navbar-nav > li {
    border-bottom: 1px #e5e5e5 solid;
  }

  /* Colors/style dropdown box*/
  nav.sidebar .navbar-nav .open .dropdown-menu {
    position: static;
    float: none;
    width: auto;
    margin-top: 0;
    background-color: transparent;
    border: 0;
    -webkit-box-shadow: none;
    box-shadow: none;
  }

  /*allows nav box to use 100% width*/
  nav.sidebar .navbar-collapse, nav.sidebar .container-fluid {
    padding: 0 0px 0 0px;
  }

  /*colors dropdown box text */
  .navbar-inverse .navbar-nav .open .dropdown-menu > li > a {
    color: #777;
  }

  /*gives sidebar width/height*/
  nav.sidebar {
    width: 200px;
    height: 100%;
    margin-left: -160px;
    float: left;
    z-index: 8000;
    margin-bottom: 0px;
  }

  /*give sidebar 100% width;*/
  nav.sidebar li {
    width: 100%;
  }

  /* Move nav to full on mouse over*/
  nav.sidebar:hover {
    margin-left: 0px;
  }

  /*for hiden things when navbar hidden*/
  .forAnimate {
    opacity: 0;
  }
}

/* .....NavBar: Fully showing nav bar..... */

@media (min-width: 1330px) {

  /*Allow main to be next to Nav*/
  .main {
    width: calc(100% - 200px); /*keeps 100% minus nav size*/
    /*margin-left: 200px;*/
  }

  /*Show all nav*/
  nav.sidebar {
    margin-left: 0px;
    float: left;
  }

  /*Show hidden items on nav*/
  nav.sidebar .forAnimate {
    opacity: 1;
  }
}

nav.sidebar .navbar-nav .open .dropdown-menu > li > a:hover, nav.sidebar .navbar-nav .open .dropdown-menu > li > a:focus {
  color: #CCC;
  background-color: transparent;
}

nav:hover .forAnimate {
  opacity: 1;
}

section {
  padding-left: 15px;
}

body {
  font-size: 14px;
  color: #333; /*list-style: 26px;*/
  font-family: 'Roboto', sans-serif;
}

/** ======================  base css ==============================**/

a:hover {
  text-decoration: none;
}

/** ======================  header ==============================**/
.header {
  background-color: #152545
}

.header .dropdown-menu {
  position: absolute;
  right: 0;
  left: auto;
  border-radius: 0px;
}

.header .user-image {
  float: left;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  margin-right: 10px;
  margin-top: -2px;
}

.header .navbar-light .navbar-nav .nav-link {
  color: #fff
}

.header .navbar-light .navbar-nav .nav-link:hover, .header .navbar-light .navbar-nav .nav-link:focus {

  background: rgba(0, 0, 0, 0.1);
  color: #f6f6f6;
}

.header .fa.fa-fw.fa-bars {
  color: #fff;
}

.header .navbar-light .navbar-nav .nav-link {
  color: #fff;
  padding: 10px 20px;
  position: relative;
}

.header li > a > .label {
  position: absolute;
  top: 9px;
  right: 7px;
  text-align: center;
  font-size: 9px;
  padding: 2px 3px;
  line-height: .9;
  background-color: #333;
  border-radius: .25em;
}

.header li > a:after {
  display: none;
}

.header-ul {
  border-top-left-radius: 4px;
  border-top-right-radius: 4px;
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
  background-color: #ffffff;
  padding: 7px 10px;
  border-bottom: 1px solid #f4f4f4;
  color: #333;
  font-size: 14px;
}

.navbar-nav > .notifications-menu > .dropdown-menu, .navbar-nav > .messages-menu > .dropdown-menu, .navbar-nav > .tasks-menu > .dropdown-menu {
  width: 280px;
  padding: 0 0 0 0;
  margin: 0;
  top: 100%;
}

.navbar-nav > .messages-menu > .dropdown-menu li .menu > li > a > div > img {
  margin: auto 10px auto auto;
  width: 40px;
  height: 40px;
}

.navbar-nav > .messages-menu > .dropdown-menu li .menu > li > a, .navbar-nav > .notifications-menu > .dropdown-menu li .menu > li > a {
  margin: 0;
  padding: 10px 10px;
  display: block;
  white-space: nowrap;
  border-bottom: 1px solid #f4f4f4;
}

.navbar-nav > .messages-menu > .dropdown-menu li .menu > li > a > h4 {
  padding: 0;
  margin: 0 0 0 45px;
  color: #333;
  font-size: 15px;
  position: relative;
}

.navbar-nav > .messages-menu > .dropdown-menu li .menu > li > a > p {
  margin: 0 0 0 45px;
  font-size: 12px;
  color: #888888;
}

.footer-ul a {
  border-top-left-radius: 0;
  border-top-right-radius: 0;
  border-bottom-right-radius: 4px;
  border-bottom-left-radius: 4px;
  font-size: 12px;
  background-color: #fff;
  padding: 7px 10px;
  border-bottom: 1px solid #eeeeee;
  color: #333;
  display: block;
}

.dropdown-menu-over .menu {
  max-height: 200px;
  margin: 0;
  padding: 0;
  list-style: none;
  overflow-x: hidden;
}

.navbar-nav > .notifications-menu > .dropdown-menu li .menu > li > a {
  color: #444444;
  overflow: hidden;
  text-overflow: ellipsis;
  padding: 10px;
}

.navbar-nav > .notifications-menu > .dropdown-menu li .menu > li > a > .glyphicon, .navbar-nav > .notifications-menu > .dropdown-menu li .menu > li > a > .fa, .navbar-nav > .notifications-menu > .dropdown-menu li .menu > li > a > .ion {
  width: 20px;
}

a.navbar-brand {
  width: 165px;
}


/***    left menu ****/

/***********************  TOP Bar ********************/
.sidebar {
  width: 100%;
  color: #fff;
  background-color: #152545;
  transition: all 0.5s ease-in-out;
}

.bg-defoult {
  background-color: #152545;
}

.sidebar ul {
  list-style: none;
  margin: 0px;
  padding: 0px;
}

.sidebar li a {
  display: block;
  padding: 8px 12px;
  color: #fff;
  border-left: 5px solid #152545;
}

.sidebar li a[aria-expanded="true"],
.sidebar li a:hover {
  border-left: 5px solid white;
  text-decoration: none;
  width: 100%;
}

#left-menu {
  border-bottom: 1px solid white;
  margin-bottom: 0.8em;
}

.left-sidebar {
  background-color: #152545;
  color: white;
  min-height: 100vh;
}

.sidebar li a.active {
  background-color: #152545;
  border-left: 5px solid #034b75;
  transition: all 0.5s ease-in-out
}

.sidebar li a:hover {
  background-color: #283f73 !important;
}

.sidebar li a i {
  padding-right: 5px;
}

.sidebar ul li .sub-menu li a {
  position: relative
}

.sidebar ul li .sub-menu li a:before {
  font-family: FontAwesome;
  content: "\f105";
  display: inline-block;
  padding-left: 0px;
  padding-right: 10px;
  vertical-align: middle;
}

.sidebar ul li .sub-menu li a:hover:after {
  content: "";
  position: absolute;
  left: -5px;
  top: 0;
  width: 5px;
  background-color: #152545;
  height: 100%;
}

.sub-menu {
  border-left: 5px solid #1d6f9f;
}

.sidebar li a .nav-label, .sidebar li a .nav-label + span {
  transition: all 0.5s ease-in-out;
}

.sidebar li a, .sidebar li a.collapsed.active {
  display: inline-block;
}

.sidebar.fliph li a .nav-label, .sidebar.fliph li a .nav-label + span {
  display: none;
  transition: all 0.5s ease-in-out
}

.sidebar.fliph {
  width: 42px;
  transition: all 0.5s ease-in-out;

}

.sidebar.fliph li {
  position: relative
}

.sidebar.fliph .sub-menu {
  position: absolute;
  left: 37px;
  top: 0;
  background-color: #152545;
  width: 200px;
  z-index: 100;
}

#collapseActive:hover {
  text-decoration: none;
  border: none;
}

.user-panel > .info, .user-panel > .info > a {
  color: #fff;
}

.user-panel > .info > p {
  font-weight: 600;
  margin-bottom: 9px;
}

.user-panel,
.control-panel {
  clear: left;
  display: block;
  float: left;
  width: 100%;
  margin-bottom: 15px;
  padding: 25px 15px;
  border-bottom: 1px solid;
}

.user-panel > .info {
  padding: 5px 5px 5px 15px;
  line-height: 1;
  position: absolute;
  left: 60px;
}

.fliph .user-panel {
  display: none;
}

#main-sidebar {
  margin-top: -2em;
  margin-left: -2em;
  width: 100%;
}

/*
 *  flash messages
 */

#flashbox {
  margin-top:1em;
  margin-left: 1em;
  margin-right:1em;
}

.info-tab {
  width: 36px;
  min-height: 50px;
  float: left;
  margin-left: -21px;
  position: relative;
  top: 3px;
  background: url(/img/sprite.png) no-repeat;
}

.color-box .shadow {
  margin: 0;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  opacity: 0.9;
  filter: alpha(opacity=90); /* For IE8 and earlier */
  padding: 2px;
}

.message_box ul {
  list-style-type: none;
}

.shadow {
  padding: 3px;
  margin-left:10px;
  z-index:50000;
  position: fixed;
  width: 100%;
  bottom: 0;
  left: 0;
}

.success-box {
  color: white;
  background: #31c58e;
}

.info-box {
  color: white;
  background: #47bfe1;
}

.warning-box {
  color: white;
  background: #edab2f;
}

.alert-box {
  color: white;
  background: #e23333;
}

.success-box, .info-box, .warning-box, .alert-box {
  padding: 10px 25px 10px 50px;
  margin-bottom: 2px;
  min-height: 50px;
}

.success-icon {
  background-position: 0 -120px;
}

.warning-icon {
  background-position: 0 -180px;
}

.info-icon {
  background-position: 0 0px;
}

.alert-icon {
  background-position: 0 -60px;
}

.panel-default {
  border: none;
}

fieldset.fieldset {
  border: 1px solid #ddd !important;
  margin: 0;
  xmin-width: 0;
  padding: 10px;
  position: relative;
  border-radius: 4px;
  background-color: #f5f5f5;
  padding-left: 10px !important;
}

legend {
  font-size: 14px;
  font-weight: bold;
  margin-bottom: 0px;
  width: 35%;
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 5px 5px 5px 10px;
  background-color: #ffffff;
}

.display-none {
  display: none;
}

.display-inline {
  display: inline;
}

.treeview-action-left {
  margin-left: 2em;
}

.treeview-action-middle {
  margin-left: 0.5em;
}

.treeview-action-right {
  margin-right: 2em;
}

.treeview-text {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  margin-left: 1em;
}

.treeview-text.treeview-number-text {
  width: 14em;
  display: inline-block !important;
}

.treeview-text.treeview-note-text {
  width: 20em;
  display: inline-block !important;
}

.treeview-text.treeview-amount-text.text-right {
  width: 10em;
  display: inline-block !important;
}

.treeview-text.treeview-currency-text.text-center {
  width: 5em;
  display: inline-block !important;
}

.treeview_dr_amount {
  color: mediumseagreen;
  text-align: right;
}

.treeview_cr_amount {
  color: #c30;
  text-align: right;
}

/*.popover {
  background-color: #6E6E6E;
  color: white;
  opacity: 0.58 !important;
}*/

.popover-title {
  background-color: #152545;
  color: white;
}

.content-header {
  border-bottom: 1px solid lightgray;
  margin-bottom: 2em;
}

.page-header {
  margin-top: 5px;
  margin-bottom: 15px;
}

.form-group.required .control-label:after {
  content: "*";
  color: red;
}

.table > tbody > tr > td.timecalculation_week_sum {
  border-top: 1px solid #152545;
  border-bottom: 1px solid #152545;
  color: #152545;
  font-weight: bold;
}

.table > tbody > tr > td.timecalculation_month_sum {
  border-top: 1px solid #2e6da4;
  border-bottom: 1px solid #2e6da4;
  color: #2e6da4;
  font-weight: bold;
}

/*
* Spinner
* https://tobiasahlin.com/spinkit/
*/

.spinner {
  margin: 100px auto;
  width: 90px;
  height: 80px;
  text-align: center;
  font-size: 10px;
  position: absolute;
  z-index: 20000;
  left: 50%;
  top: 50%;
}

.spinner > div {
  background-color: #1c455c;
  height: 100%;
  width: 6px;
  display: inline-block;
  -webkit-animation: sk-stretchdelay 1.2s infinite ease-in-out;
  animation: sk-stretchdelay 1.2s infinite ease-in-out;
}

.spinner .rect2 {
  -webkit-animation-delay: -1.1s;
  animation-delay: -1.1s;
}

.spinner .rect3 {
  -webkit-animation-delay: -1.0s;
  animation-delay: -1.0s;
}

.spinner .rect4 {
  -webkit-animation-delay: -0.9s;
  animation-delay: -0.9s;
}

.spinner .rect5 {
  -webkit-animation-delay: -0.8s;
  animation-delay: -0.8s;
}

@-webkit-keyframes sk-stretchdelay {
  0%, 40%, 100% {
    -webkit-transform: scaleY(0.4)
  }
  20% {
    -webkit-transform: scaleY(1.0)
  }
}

@keyframes sk-stretchdelay {
  0%, 40%, 100% {
    transform: scaleY(0.4);
    -webkit-transform: scaleY(0.4);
  }
  20% {
    transform: scaleY(1.0);
    -webkit-transform: scaleY(1.0);
  }
}

.help-block {
  color: #a94442;
}

.help-block::before {
  font-family: "Font Awesome 5 Free";
  content: "\f071";
  display: inline-block;
  padding-right: 3px;
  vertical-align: middle;
  font-weight: 900;
}

h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
  color: #152545;
}

.lt2-hr {
  border: 1px solid #152545;
}

/**
Funky Radio Button Stylings
*/
/* For SheetBusinessTrips */

.sheetBusinesstripStyles .funkyradio div, .sheetBusinesstripStyles .funkyradio div {
  clear: none !important;
}

.sheetBusinesstripStyles .funkyradio input[type="radio"]:empty ~ label, .funkyradio input[type="checkbox"]:empty ~ label, .sheetBusinesstripStyles .funkyradio input[type="radio"]:empty ~ label, .funkyradio input[type="checkbox"]:empty ~ label {
  margin-top: 1.7em;
  margin-bottom: 2em;
}

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

/**
disable .form-control box shadow
*/
.no-boxshadow {
  box-shadow: none !important;
  -webkit-box-shadow: unset !important;
}

/**
    disable margin-bottom
*/
.no-margin-bottom {
  margin-bottom: 0 !important;
}

.no-margin-bottom .form-group {
  margin-bottom: 0 !important;
}

.center-all {
  text-align: center;
  vertical-align: middle !important;
}

.center-all .form-group {
  text-align: center;
  vertical-align: middle !important;
}

.modal-header {
  background-color: #152545;
}

h4.modal-title {
  color: white;
}

button.close {
  color: white;
  opacity: 1;
}

.modal-dialog {
  border: 2px solid #152545;
}

.modal-header .close {
  margin-top: -20px;
}

.scroll-top {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 30px;
  z-index: 99;
  font-size: 18px;
  border: none;
  box-sizing: border-box;
  border-radius: 15px;
  outline: none;
  background-color: #152545;
  color: white;
  cursor: pointer;
  padding: 15px;
  height: 47px;
  opacity: 0.6;
}

.scroll-top:hover {
  opacity: 1;
}

.no-margin {
  margin: 0 !important;
}

.no-padding {
  padding: 0 !important;
}

tr.table-header-paycheck {
  background: #e4e4e4;
}

tr.table-header-paycheck > td {
  text-align: center;
}

tr.table-row-paycheck > td {
  text-align: center;
  width: 8.3% !important;
}

/**
  SMARTMENU
  Styling
*/

.sm-clean {
  background-color:inherit !important;
}

.sm-nowrap, .sm-clean ul {
  background-color: #152545 !important;
}

.sm-clean a, .sm-nowrap a {
  color: white !important;
}

.sm-clean a:hover, .sm-nowrap a:hover {
  background-color: #283f73 !important;
  color: #fff !important;
}

.sm-clean ul a:hover, .sm-clean ul a:focus, .sm-clean ul a:active, .sm-clean ul a.highlighted {
  background-color: #283f73 !important;
  color: #fff !important;
}

.sm-clean a, .sm-clean a:hover, .sm-clean a:focus, .sm-clean a:active {
  font-size: 16px !important;
}

.navbar {
  min-height: 45px;
}
/*
 * Table tr style odd or even
 */
tr.odd {
  background-color:white;
}
tr.even {
  background-color:lightgrey;
}

tr.odd:hover td,
tr.even:hover td {
  background-color:#FFFACD;
}

tr.event-tr td {
  background-color:#152545;
  color:white;
  border:none;
}

tr.sheet-event-tr td {
  background-color:lightgrey;
  border: 1px solid #152545;
  color:#152545;
}
