/*
 * Base structure
 */

/* Move down content because we have a fixed navbar that is 50px tall */
.lightbox-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-image {
  max-width: 80%;
  max-height: 80%;
}

body {
  padding-top: 120px;
}

.btn-custom {
  background-color: #333;
  color: #FFF;
}
.btn-custom:hover{
  background-color: #666;
  color: #FFF;
}

.form-control {
  border-radius: 5px !important;
  width: 250px !important;
}

table {
  border-radius: 5px;
}

#footer {
  text-align: right;
  margin-bottom: 20px;
  margin-right: 50px;
  font-size: 0.8em;
  color: #999;
}

@media (max-width: 768px) {
  .navbar-brand {
    padding-top: 0px;
  }
  
  .form-control {
    width: 100% !important;
  }
  
  label {
    display: compact !important;
  }
  .main {
    padding: 20px 20px 90px 20px !important;
    margin: 20px;
    background-color: #efefef;
    border-radius: 20px;
    }
  .input_file {
    width: 90%;
  }
  .input-group {
    width: 100%;
  }
  h3 {
    font-size: 16px;
  }
  .navbar-inverse {
    background: none !important;
  }
  .table.tr, .table.th, .table.td {
    display: block;
 }
  .navbar-fixed-bottom, .navbar-fixed-top {
    position: absolute;
    right: 0;
    left: 0;
    z-index: 1030;
    }
  .navbar-nav>li>a {
    padding-top: 10px;
    padding-left: 40px;
    padding-bottom: 40px;
    line-height: 20px;
    font-size: 16px;
    }
    body {
      padding-top: 150px;
      /*background: #000;*/
    }
    .navbar {
      padding-top: 30px;
      background: none !important;
    }
    .navbar-toggle {
      margin-top: 20px;
      margin-right: 40px;
      border-color: #FFF !important;
      display: none;
    }

    #footer {
      bottom: 0px;
      text-align: center;
      padding: 20px;
      width: 100%;
      margin-bottom: 0px;
      z-index: 111111;
    }
    .navbar-brand>img {
      height: 60px;
      }

      .well {
        background-color: #FFF;
        border: 0px;
        /*-webkit-box-shadow: 10px 10px 28px 0px rgba(0,0,0,0.75);
        /-moz-box-shadow: 10px 10px 28px 0px rgba(0,0,0,0.75);
        box-shadow: 10px 10px 28px 0px rgba(0,0,0,0.75);
        overflow-x: scroll;*/
      }

        .rsp_show {
          display: block !important;
        }

          .navbar-toggle {
            padding: 5px 5px;
          }

}

.rsp_show {
  display: none;
}

@media (max-width: 768px) {
  .rsp_tbl {
    display: none;
  }
  .navbar {
    height: 140px !important;
  }
}

@media print {
  body {
    visibility: hidden;
 }
  #reisekosten {
    visibility: visible;
    margin-top: -100px;
  }
  .btn_print {
    visibility: hidden !important;
  }
}

.timestamp {
  text-align: right;
}

/*
 * Global add-ons
 */

.sub-header {
  padding-bottom: 10px;
  border-bottom: 1px solid #eee;
}

/*
 * Top navigation
 * Hide default border to remove 1px line.
 */
.navbar-fixed-top {
  border: 0;
}

#navbar {
  margin-top: 40px;
  padding-bottom: 20px;
  padding-right: 30px;
}


.navbar-header {
  height: 90px !important;
  padding-top: 20px;
  padding-left: 20px;
}

/*
 * Sidebar
 */

/* Hide for mobile, show later */
.sidebar {
  display: none;
}
@media (min-width: 768px) {
  .sidebar {
    position: fixed;
    top: 90px;
    bottom: 0;
    left: 0;
    z-index: 1000;
    display: block;
    padding: 40px;
    overflow-x: hidden;
    overflow-y: auto; /* Scrollable contents if viewport is shorter than content. */
    background-color: #f5f5f5;
    border-right: 1px solid #eee;
  }
}

/* Sidebar navigation */
.nav-sidebar {
  margin-right: -21px; /* 20px padding + 1px border */
  margin-bottom: 20px;
  margin-left: -20px;
}
.nav-sidebar > li > a {
  padding-right: 20px;
  padding-left: 20px;
}
.nav-sidebar > .active > a,
.nav-sidebar > .active > a:hover,
.nav-sidebar > .active > a:focus {
  color: #000;
  background-color: #FFF;
}
a {
  color: #999;
}
a:hover {
  color: #333 !important;
}


/*
 * Main content
 */

.main {
  padding: 20px;
  margin-bottom: 50px;
}
@media (min-width: 768px) {
  .main {
    padding-right: 40px;
    padding-left: 40px;
  }
}

.main .page-header {
  margin-top: 0;
}


/*
 * Placeholder dashboard ideas
 */

.placeholders {
  margin-bottom: 30px;
  text-align: center;
}
.placeholders h4 {
  margin-bottom: 0;
}
.placeholder {
  margin-bottom: 20px;
}
.placeholder img {
  display: inline-block;
  border-radius: 50%;
}


/* Success Modal Popup */

.modal-confirm {		
  color: #636363;
  width: 325px;
}
.modal-confirm .modal-content {
  padding: 20px;
  border-radius: 5px;
  border: none;
}
.modal-confirm .modal-header {
  border-bottom: none;   
      position: relative;
}
.modal-confirm h4 {
  text-align: center;
  font-size: 26px;
  margin: 30px 0 -15px;
}
.modal-confirm .form-control, .modal-confirm .btn {
  min-height: 40px;
  border-radius: 3px; 
}
.modal-confirm .close {
      position: absolute;
  top: -5px;
  right: -5px;
}	
.modal-confirm .modal-footer {
  border: none;
  text-align: center;
  border-radius: 5px;
  font-size: 13px;
}	
.modal-confirm .icon-box {
  color: #fff;		
  position: absolute;
  margin: 0 auto;
  left: 0;
  right: 0;
  top: -70px;
  width: 95px;
  height: 95px;
  border-radius: 50%;
  z-index: 9;
  background: #82ce34;
  padding: 15px;
  text-align: center;
  box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.1);
}
.modal-confirm .icon-box i {
  font-size: 58px;
  position: relative;
  top: 3px;
}
.modal-confirm.modal-dialog {
  margin-top: 80px;
}
  .modal-confirm .btn {
      color: #fff;
      border-radius: 4px;
  background: #82ce34;
  text-decoration: none;
  transition: all 0.4s;
      line-height: normal;
      border: none;
  }
.modal-confirm .btn:hover, .modal-confirm .btn:focus {
  background: #6fb32b;
  outline: none;
}

.navbar-inverse {
  background:#FFF !important;
  border-bottom: 1px solid #FFF !important;
  -webkit-box-shadow: 0px 10px 20px 0px rgba(0,0,0,0.18);
  -moz-box-shadow: 0px 10px 20px 0px rgba(0,0,0,0.18);
  box-shadow: 0px 10px 20px 0px rgba(0,0,0,0.18);
}

/* Absolute Center Spinner */
.loading {
  position: fixed;
  z-index: 999;
  height: 2em;
  width: 2em;
  overflow: visible;
  margin: auto;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  display: none;
}

/* Transparent Overlay */
.loading:before {
  content: '';
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.3);
}

/* :not(:required) hides these rules from IE9 and below */
.loading:not(:required) {
  /* hide "loading..." text */
  font: 0/0 a;
  color: transparent;
  text-shadow: none;
  background-color: transparent;
  border: 0;
}

.loading:not(:required):after {
  content: '';
  display: block;
  font-size: 10px;
  width: 1em;
  height: 1em;
  margin-top: -0.5em;
  -webkit-animation: spinner 1500ms infinite linear;
  -moz-animation: spinner 1500ms infinite linear;
  -ms-animation: spinner 1500ms infinite linear;
  -o-animation: spinner 1500ms infinite linear;
  animation: spinner 1500ms infinite linear;
  border-radius: 0.5em;
  -webkit-box-shadow: rgba(0, 0, 0, 0.75) 1.5em 0 0 0, rgba(0, 0, 0, 0.75) 1.1em 1.1em 0 0, rgba(0, 0, 0, 0.75) 0 1.5em 0 0, rgba(0, 0, 0, 0.75) -1.1em 1.1em 0 0, rgba(0, 0, 0, 0.5) -1.5em 0 0 0, rgba(0, 0, 0, 0.5) -1.1em -1.1em 0 0, rgba(0, 0, 0, 0.75) 0 -1.5em 0 0, rgba(0, 0, 0, 0.75) 1.1em -1.1em 0 0;
  box-shadow: rgba(0, 0, 0, 0.75) 1.5em 0 0 0, rgba(0, 0, 0, 0.75) 1.1em 1.1em 0 0, rgba(0, 0, 0, 0.75) 0 1.5em 0 0, rgba(0, 0, 0, 0.75) -1.1em 1.1em 0 0, rgba(0, 0, 0, 0.75) -1.5em 0 0 0, rgba(0, 0, 0, 0.75) -1.1em -1.1em 0 0, rgba(0, 0, 0, 0.75) 0 -1.5em 0 0, rgba(0, 0, 0, 0.75) 1.1em -1.1em 0 0;
}

/* Animation */

@-webkit-keyframes spinner {
  0% {
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -ms-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
@-moz-keyframes spinner {
  0% {
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -ms-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
@-o-keyframes spinner {
  0% {
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -ms-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
@keyframes spinner {
  0% {
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -ms-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}