html,
body {
    height: 100%;
    font-size: 9pt;
}

.wrap {
    min-height: 100%;
    height: auto;
    margin: 0 auto -60px;
    padding: 0 0 60px;
}

.wrap > .container {
    padding: 70px 15px 20px;
}

.footer {
    height: 60px;
    background-color: #f5f5f5;
    border-top: 1px solid #ddd;
    padding-top: 20px;
}

.jumbotron {
    text-align: center;
    background-color: transparent;
}

.jumbotron .btn {
    font-size: 21px;
    padding: 14px 24px;
}

.not-set {
    color: #c55;
    font-style: italic;
}

/* add sorting icons to gridview sort links */
a.asc:after, a.desc:after {
    position: relative;
    top: 1px;
    display: inline-block;
    font-family: 'Glyphicons Halflings';
    font-style: normal;
    font-weight: normal;
    line-height: 1;
    padding-left: 5px;
}

a.asc:after {
    content: /*"\e113"*/ "\e151";
}

a.desc:after {
    content: /*"\e114"*/ "\e152";
}

.sort-numerical a.asc:after {
    content: "\e153";
}

.sort-numerical a.desc:after {
    content: "\e154";
}

.sort-ordinal a.asc:after {
    content: "\e155";
}

.sort-ordinal a.desc:after {
    content: "\e156";
}

.grid-view th {
    white-space: nowrap;
}

.hint-block {
    display: block;
    margin-top: 5px;
    color: #999;
}

.error-summary {
    color: #a94442;
    background: #fdf7f7;
    border-left: 3px solid #eed3d7;
    padding: 10px 20px;
    margin: 0 0 15px 0;
}

/* align the logout "link" (button in form) of the navbar */
.nav li > form > button.logout {
    padding: 15px;
    border: none;
}

@media(max-width:767px) {
    .nav li > form > button.logout {
        display:block;
        text-align: left;
        width: 100%;
        padding: 10px 15px;
    }
}

.nav > li > form > button.logout:focus,
.nav > li > form > button.logout:hover {
    text-decoration: none;
}

.nav > li > form > button.logout:focus {
    outline: none;
}

/* Overload */
label {
  font-weight: normal;
}
.required label:after {
    content:' *';
    color: #ff0000;
}

.content-header > .breadcrumb {
  top: 0 !important;
}

.logo .logo-mini img {
  width: 35px;
  height: auto;
}

.skin-black .wrapper, .skin-black .main-sidebar, .skin-black .left-side {
    background-color: #004366 !important;
}

.skin-black .sidebar-menu > li.header {
    color: #4b646f;
    background: #013550 !important;
}

.skin-black .sidebar-menu > li:hover > a, .skin-black .sidebar-menu > li.active > a, .skin-black .sidebar-menu > li.menu-open > a {
    color: #fff;
    background: #013550 !important;
}

.login-page, .register-page {
  background-color: #ecf0f5 !important;
}


.login-logo img {
  width: 250px;
}

.btn-primary {
    background-color: #004366 !important;
    border-color: #0370aa !important;
}

.btn-primary:hover, .btn-primary:active, .btn-primary.hover {
    background-color: #06608f !important;
}

/* Custom */
.grid-view a {
  color:#454545;
}

.grid-view a:hover {
  color:#676767;
}

a.ws-link-white {
  color: #fff;
}

a.ws-link-white:hover {
  color: #EEEEEE;
}

#ws-submenu-close {
 position: absolute;
 top: 1em;
 right: 2em;
 cursor: pointer;
 font-size: 1.3em; 
}

.ws-submenu {
  position: relative;
  width: 100%;
  background-color: #fff;
  display: none;
  padding: 1em;
}

.ws-submenu > div {
  display: none;
}

.ws-submenu ul {
  list-style: none;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-flow: row wrap;
          flex-flow: row wrap;
  padding-left: 0;
}

.ws-submenu h5 {
  margin-top: 0;
  color: #676767;
}

.ws-submenu ul li {
  width: 110px;
  height: 70px;
  margin: 0.5em;
}

.ws-submenu ul li a {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  border: 1px solid #9E9E9E;
  color: #575757;
  height: 100%;
  text-align: center;
  padding: 0 2px;
}

.ws-submenu ul li a:hover {
  border: 1px solid #828282;
  color: #3D3D3D;
  background-color: #F9F9F9; 
}

.ws-submenu ul li a span {
  font-size: 1.5em;
}

.ws-submenu ul li a div {
  font-size: 0.8em;
  overflow: hidden;
  line-height: 1em;
}

.ws-red {
    color:#ff0000;
}

.ws-card {
  background-color: #fff;
  border: 1px solid #ebebeb;
}

.ws-card-header {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  padding: 1em;
  border-bottom: 1px solid #ebebeb;
}

.ws-card-title {
  font-size: 1.5em;
}

.ws-card-body {
  padding: 1em;
}

.ws-card-footer {
  margin-top: 2em;
  padding-top: 1em;
  border-top: 1px solid #ebebeb;
}

.ws-thumb {
  width: 75px;
  height: 35px;
  margin-right: 5px;
}

@media (min-width: 767px) {
  .logo-lg img {
      width: 250px;
      height: auto;
  }
}

@media (max-width: 767px) {
  .logo-lg img {
      width: 60px;
      height: auto;
  }
}