﻿html, body{
   // height: 100%;

}
/* Space out content a bit */

body {
  padding-bottom: 20px;
}

.nav, .pagination, .carousel, .panel-title a { cursor: pointer; }

/* Everything but the jumbotron gets side spacing for mobile first views */
.header,
.marketing,
.footer {
  padding-left: 15px;
  padding-right: 15px;
}

/* Custom page header */
.header {
  border-bottom: 1px solid #e5e5e5;
}
.content {
    padding: 10px;
}

/* Make the masthead heading the same height as the navigation */
.header h3 {
  margin-top: 0;
  margin-bottom: 0;
  line-height: 40px;
  padding-bottom: 19px;
}

/* Custom page footer */
.footer {
    padding-top: 19px;
    color: #777;
    border-top: 1px solid #e5e5e5;
    margin-top: 2em;
}
.footer p{
    padding:20px;

}
@media (min-width: 768px) {
  .container {
    //max-width: 730px;
  }

}
.container-narrow > hr {
  margin: 30px 0;
}

/* Main marketing message and sign up button */
.jumbotron {
  text-align: center;
  border-bottom: 1px solid #e5e5e5;
}
.jumbotron .btn {
  font-size: 21px;
  padding: 14px 24px;
}

/* Supporting marketing content */
.marketing {
  margin: 10px 0;
    height: 100%;
}
.marketing p + h4 {
  margin-top: 28px;
}

.issue {
    border: solid 1px #606060;  
    border-left: 5px solid green;
    padding: 2px;
    padding-left: 10px;
    position:relative;
    background: white;
    padding-right: 40%;
}
.issue:hover{
    background: #f5f5f5;
    cursor: pointer;
}
.issue.cablebroken{
    border-left: 5px solid purple; 
}
.issue .user-info{
    top:10px;
    right: 10px;
    position:absolute;
    padding-right: 5px;
    text-align: right;
    font-size: 0.9em;
    font-weight: bold;
    width: 40%;
}
.issue .user-info .creator {
    margin-bottom: 5px;
}
.done-issues-list .issue{
    opacity: 0.5;
}

/* logon */
.technician-dd-item{
    padding: 5px;
    
}
.technician-dd-item:hover{
    cursor: pointer;
    background-color: #f5f5f5;
}
.dropdown-menu {
    right: 15px;
}
.dropdown-menu li{
    border-top: 1px solid #d0d0d0;
}
.dropdown-menu li:first-child{
    border: none;
}
    
.technician-dd-item span{
    display: block;
}

/* startpage */
.issue-list-items {
    display: table;
    width: 100%;
    table-layout: fixed;
    
}
.issue-list-items > div {
    display: table-cell;
    padding: 0;
    
    margin-right: 10px;
    float: none;
}
.issue-list-items > div {
    padding-bottom: 20px;
    background: #EFEFEF;
    border-right: 10px solid white;
}
.issue-list-items h3{
    background-color: white;
    margin:0;
    padding:5px 0;
}
.issue-list-items > div:last-child {
    border: none;
}

/* issue details */
.issue-details {
    position: relative;
}

.reassign-dialog {
    position: absolute;
    left: 50%;
    top: 0;
    width: 100%;
    max-width: 500px;
    min-height: 250px;
    margin-left: -250px;
    background-color: white;
    box-shadow: 0 5px 15px rgba(0,0,0,.5);
    border-radius: 5px;
    padding: 10px;
    border: solid 1px #c0c0c0;
}
.reassign-dialog li {
    margin-bottom: 5px;
    vertical-align:middle;
 }

.reassign-dialog li span {
    line-height: 34px;
    vertical-align: middle;
}
.dialog-header {
    margin:0;
}
.label-cablebroken {
  background-color: purple;
}
.label-error-report {
  background-color: green;
}
.label-unknown {
  background-color: gray;
}
.issue-status, .issue-type{
    padding: 8px 12px;
}
.comment {
    border: 1px solid #e3e3e3;
    border-radius: 5px;
    padding: 10px;
}
.comment .comment-by{
    font-weight: bold;
}
.comment .comment-time{
    color: gray;
    font-size: 0.9em;
}
.comment .comment-text{
    margin: 5px 0 0;
}
.new-comment-btn {
    margin-bottom: 5px;
}
.data li {
    padding: 2px 0;
}
.data li .key {
    font-weight: bold;
    text-transform: capitalize;
}
.contact .key:first-letter {
   
}
.contact .text {
    font-weight: bold;
}
.adress-list-item.list-group{
    padding: 10px;
    margin-bottom: 0;
}
.form-container {
    margin-bottom: 3em;
}


span.claim:last-child:after {
  content: "";
}

span.claim:after {
  content: ",";
  margin-right: 2px;
}

table span.technician:last-child:after {
  content: "";
}

table span.technician:after {
  content: ",";
  margin-right: 2px;
}

/* Responsive: Portrait tablets and up */
@media screen and (min-width: 768px) {
  /* Remove the padding we set earlier */
  .header,
  .marketing,
  .footer {
    padding-left: 0;
    padding-right: 0;
  }
  /* Space out the masthead */
  .header {
    margin-bottom: 30px;
  }
  /* Remove the bottom border on the jumbotron for visual effect */
  .jumbotron {
    border-bottom: 0;
  }

}
@media screen and (max-width: 768px) {
    .issue-list-items > div{
        display: block;
        border: none;
        margin-right: 0;

    }
}
@media screen and (max-width: 450px) {
    .filter-container button {
        display: block;
        width: 100%;

        margin-bottom: 0.5em;
    }
    p.description {
        margin-bottom: 0.5em;
    }
    .issue {
        padding-right: 0;
    }
    .issue .user-info {
        position: inherit;
        width: 100%;
        text-align: left;
        font-size: 1em;
        margin-bottom: 0.5em;
    }
    .issue .user-info .creator{
        margin-bottom: 0;
    }
    .btn {
        margin-bottom: 0.5em;
    }
    span.value {
        overflow: auto;
        display: block;
    }
    
}


.directory span.name { cursor: pointer; }
ol.collapsed{ display: none; }
ol.children { list-style: none; }


/*  */
div[class^="days-open-"] {
    position: relative;
    display: block;
    height: 5px;
    background-color: red;
    width: 100%;
    
}
.days-open-0 {
    width: 0% !important;
}
.days-open-1 {
    width: 5% !important;
    background-color: green !important;
}
.days-open-2 {
    width: 10% !important;
    background-color: green !important;
}
.days-open-3 {
   width: 15% !important;
   background-color: green !important;
}
.days-open-4 {
    width: 20% !important;
    background-color: green !important;
}
.days-open-5 {
    width: 25% !important;
}
.days-open-6 {
    width: 30% !important;
}
.days-open-7 {
    width: 35% !important;
}
.days-open-8 {
    width: 40% !important;
}
.days-open-9 {
    width: 45% !important;
}
.days-open-10 {
    width: 50% !important;
}
.days-open-11 {
    width: 55% !important;
}
.days-open-12 {
    width: 60% !important;
}
.days-open-13 {
    width: 70% !important;
}
.days-open-14 {
    width: 75% !important;
}
.days-open-15 {
    width: 80% !important;
}
.days-open-16 {
    width: 85% !important;
}
.days-open-17 {
    width: 90% !important;
}
.days-open-18 {
    width: 100% !important;
}
.days-open-19 {
    width: 10% !important;
}
.days-open-20 {
    width: 10% !important;
}

@media print {
    .issue-buttons, .comment-container, .map-files {
        display: none;
    }
}