body {
    color: #4A515A;
}

.hasPlaceholder {
    color: #aaa;
}


.navbar-inverse {
    background-color: #478AA6; /* #5e8ac7 */
    border-color: #478AA6;
}

.navbar-inverse .navbar-nav>li>a {
    color: #eeeeee;
}
.navbar-inverse .navbar-nav>.active>a, .navbar-inverse .navbar-nav>.active>a:hover, .navbar-inverse .navbar-nav>.active>a:focus {
    color: #ffffff;
    background-color: transparent;
}

.navbar-inverse .navbar-nav>.open>a, .navbar-inverse .navbar-nav>.open>a:hover, .navbar-inverse .navbar-nav>.open>a:focus {
    background-color: transparent;
}

.navbar-toggle {
    float: left;
    margin-top: 15px;
    margin-left: 15px;
}

.navbar-brand {
    padding-top: 0px;
}

.navbar-inverse .navbar-toggle {
    border-color: #eeeeee !important;
    color: #eeeeee;
}
.navbar-inverse .navbar-toggle:hover, .navbar-inverse .navbar-toggle:focus {
    background-color: #4B7FC8 !important;
    color: #eeeeee;
    text-decoration: none;
}

.lang-menu {
    border-color: #eeeeee !important;
    color: #eeeeee;
    padding: 6px 10px;
}
.lang-menu:hover {
    background-color: #4B7FC8 !important;
    color: #eeeeee;
    text-decoration: none;
}

.login-form {
    background: transparent url(../img/bg-page-login.jpg) no-repeat left top;
    background-size: cover;
    margin-top:-20px;
    padding-top: 40px;
}

footer {
    background-color: #478AA6;
    color: #fff;
    font-size: 15px;
    position: relative;
    text-align: center;
    padding-bottom: 50px;
    padding-top: 50px;
}

footer > img {
    margin-top: -28px;
    width:100%;
}

@media (max-width: 767px) {
    nav {
        position: fixed !important;
        top:0;
        width:100%;
        margin-bottom: 20px;
    }
    nav .navbar-brand {
        width: 140px;
        padding: 0px;
        padding-bottom: 5px;
        padding-left: 15px;
        float: none;
        display: block;
        margin: 0 auto;
    }
    nav + .container {
        padding-top: 87px;
    }
    .login-form {
        margin-top: 67px;
    }
}
@media (min-width: 768px) and (max-width: 991px) {
    .navbar-header {
        float: none;
    }
    nav.navbar ul.nav {
        clear: both;
        float: none;
        margin: 0px -30px;
    }

    nav .navbar-brand {
        width: 180px;
        float: none;
        display: block;
        margin: 0 auto !important;
    }
}
@media (min-width: 992px) and (max-width: 1999px) {
    nav.navbar ul.nav {
        padding-left: 30px;
        padding-top: 93px;
    }
    nav.affix {
        position: fixed;
        top:0;
        width:100%;
        margin-bottom: 20px;
    }

    nav .navbar-brand {
        width: 280px;
    }
    nav.affix .navbar-brand {
        width: 140px;
        padding: 0px;
        padding-bottom: 5px;
        padding-left: 15px;
    }
    nav.affix ul.nav {
        padding-left: 0px;
        padding-top: 15px;
    }
}
@media (min-width: 1200px) {
    nav.navbar ul.nav {
        padding-left: 70px;
        padding-top: 93px;
    }


    nav .navbar-brand {
        width: 305px;
    }
}
@media (min-width: 768px) {
    nav.affix .navbar-header {
        float: left;
    }
    nav.affix {
        position: fixed;
        top:0;
        width:100%;
        margin-bottom: 20px;
    }
    nav.affix ul.nav {
        clear: none;
        margin: 0px 0px;
        float: right;
    }

    nav.affix .navbar-brand {
        width: 140px;
        padding: 0px;
        padding-bottom: 5px;
        padding-left: 15px;
    }
    nav.affix ul.nav {
        padding-left: 0px;
        padding-top: 15px;
    }

    nav.affix + .container {
        padding-top: 169px;
    }
}

@media (max-width: 767px) {
    #cookiesEU-box {
        margin-top: 67px;
    }
    .page-logo > img {
        height: 56px;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .page-logo > img {
        height: 68px;
    }
}

@media (max-width: 767px) {

}

div.affix-hide.affix + nav.affix + .container {
    padding-top:166px;
}

.affix-hide.affix {
    visibility: hidden;
}

.affix-hide.affix-top {
   visibility: visible;
}

.affix-show.affix {
    visibility: visible;
    position:relative;
}

.affix-show.affix-top {
    visibility: hidden;
    position:fixed;
}

.field-required {
    color: #f00;
    font-family: verdana;
    font-size:.8em;
    font-weight: bold;
}

.zf-green {
    color: #68b604;
}

.panel-body .alert {
    margin-bottom: 0px;
}

.poll-answer-test .help-inline {
    display: block;
}
.has-error .help-inline {
    color: #B94A48;
}

.form-signin {
  max-width: 330px;
  padding: 15px;
  margin: 0 auto;
}
.form-signin .form-signin-heading,
.form-signin .checkbox {
  margin-bottom: 10px;
}
.form-signin .checkbox {
  font-weight: normal;
}
.form-signin .form-control {
  position: relative;
  font-size: 16px;
  height: auto;
  padding: 10px;
  -webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
          box-sizing: border-box;
}
.form-signin .form-control:focus {
  z-index: 2;
}
.form-signin input[type="text"] {
  margin-bottom: -1px;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}
.form-signin input[type="password"], .form-signin input.passwordType {
  margin-bottom: 10px;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}
.form-signin input.passwordType {
  border-bottom-left-radius: 4px;
  border-bottom-right-radius: 4px;
}
.form-signin input.solo {
    margin-bottom: 10px;
    border-radius: 4px;
}
.form-signin p.form-control-static {
    padding-bottom: 4px;
}
.form-signin p.form-control-static > span {
    font-size: 18px;
    text-transform: uppercase;
}

.main-container {
    min-height: 450px;
    overflow:hidden;
    margin-bottom: 70px;
}

.login-form .main-container {
    min-height: 547px;
}

.show-grid {
    margin-bottom: 15px;
}

tr.row-inactive td {
    background-color: #fdf0f0;
    color: #a0a0a0;
}
tr.row-inactive:hover td {
    background-color: #f8e2e2 !important;
}
span.state-handler {
    display: block;
    text-align: center;
}

.timepicker[readonly], .datepicker[readonly] {
    cursor: pointer;
    background-color: #fff;
}

.timepicker[disabled], .datepicker[disabled] {
    cursor: not-allowed;
    background-color: #eee;
}

/* Ankiety */
.poll-question {
    font-weight: bold;
}
.poll-question > label.control-label {
    text-align: left;
}
.poll-answer {
    margin-bottom: 20px;
}
.poll-answer-test label {
    font-weight: normal;
}
.poll-answer-test label input[type=radio] {
    margin-right: 7px;
}

.table-reservation .placement-time-busy {
    font-size: 13px;
    padding: 0px;
}
.table-reservation .placement-time-free.enabled {
    cursor: pointer;
    color: #fff;
    font-size: 13px;
    padding: 0px;
}
.table-reservation .placement-time-free.enabled:hover {
    background-color: #F5F5F5;
    color: #333;
}

.table-reservation td {
    height: 20px;
}

#freeScheduleButtons button {
    margin-right: 4px;
}

.report-list a.btn {
    margin-bottom: 30px;
}

/*
 * Side navigation
 *
 * Scrollspy and affixed enhanced navigation to highlight sections and secondary
 * sections of docs content.
 */

/* By default it's not affixed in mobile views, so undo that */
.bs-sidebar.affix {
  position: static;
}

/* First level of nav */
.bs-sidenav {
  margin-top: 30px;
  margin-bottom: 30px;
  padding-top:    10px;
  padding-bottom: 10px;
  text-shadow: 0 1px 0 #fff;
  background-color: #f5f8fa;
  border-radius: 5px;
}

/* All levels of nav */
.bs-sidebar .nav > li > a {
  display: block;
  color: #6B747A;
  padding: 5px 20px;
}
.bs-sidebar .nav > li > a:hover,
.bs-sidebar .nav > li > a:focus {
  text-decoration: none;
  background-color: #e3e7e9;
  border-right: 1px solid #dbd8e0;
}
.bs-sidebar .nav > .active > a,
.bs-sidebar .nav > .active:hover > a,
.bs-sidebar .nav > .active:focus > a {
  font-weight: bold;
  color: #2d6ca2;
  background-color: transparent;
  border-right: 1px solid #2d6ca2;
}

/* Nav: second level (shown on .active) */
.bs-sidebar .nav .nav {
  margin-bottom: 8px;
}
.bs-sidebar .nav .nav > li > a {
  padding-top:    3px;
  padding-bottom: 3px;
  padding-left: 30px;
  font-size: 90%;
}

/* Show and affix the side nav when space allows it */
@media screen and (min-width: 992px) {
  .bs-sidebar .nav > .active > ul {
    display: block;
  }
  /* Widen the fixed sidebar */
  .bs-sidebar.affix,
  .bs-sidebar.affix-bottom {
    width: 213px;
  }
  .bs-sidebar.affix {
    position: fixed; /* Undo the static from mobile first approach */
    top: 80px;
  }
  .bs-sidebar.affix-bottom {
    position: absolute; /* Undo the static from mobile first approach */
  }
  .bs-sidebar.affix-bottom .bs-sidenav,
  .bs-sidebar.affix .bs-sidenav {
    margin-top: 0;
    margin-bottom: 0;
  }
}
@media screen and (min-width: 1200px) {
  /* Widen the fixed sidebar again */
  .bs-sidebar.affix-bottom,
  .bs-sidebar.affix {
    width: 263px;
  }
}

.password-reset-link {
    margin-top: 15px;
}

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

.blue-dialog .modal-body {
    padding: 0;
}
.blue-dialog .modal-body button {
    position: relative;
    margin-bottom: -40px;
    width: 40px;
    height: 40px;
}

@media screen and (min-width: 625px) {
    .blue-dialog {
        right: auto;
        left: 50%;
        width: 600px;
        padding-top: 30px;
        padding-bottom: 30px;
    }
}

.btn-primary, .btn-primary:hover {
    background-color: #478AA6;
    border-color: #478AA6;
}

.dashboard-box {
    display: flex;
    flex-wrap: wrap;
}

.dashboard-box .dashboard-box-item {
    flex: 1 1 190px;
    border: 1px solid #ddd;
    margin-right: 10px;
    margin-bottom: 10px;
    max-width: 290px;
    padding: 5px;
    display: flex;
    flex-direction: column;
    border-radius: 4px;
}

.dashboard-box .dashboard-box-item > div {
    flex-grow: 0;
    flex-shrink: 0;
}

.dashboard-box .dashboard-box-item > div.image {
    flex-basis: 120px;
    max-height: 120px;
    overflow: hidden;
    border-radius: 4px;
}

.dashboard-box .dashboard-box-item > div.title {
    flex-basis: 52px;
}

.dashboard-box .dashboard-box-item > div.title h3 {
    font-size: 20px;
    font-weight: bold;
}

.dashboard-box .dashboard-box-item > div.description {
    flex-grow: 1;
}

.dashboard-box .dashboard-box-item > div.actions {
    flex-basis: 35px;
}

.dashboard-box .dashboard-box-item img {
    display: block;
    height: auto;
    max-width: 100%
}
