.main-image-wrap img {
    max-height: 250px;
}
.attachment-wrap {
    height: 150px;
}
.attachment-wrap img {
    height: 100px;
}
button.delete_attachment {
    position: absolute;
    color: red;
    background-color: white;
    box-shadow: 0 0 1px #000;
    padding: 2px;
    right: 0;
    width: 20px;
    height: 20px;
}
.center {
    text-align: center;
}
.widgets-row {
    text-align: center;
}
.cars.view .widgets-row .widget-wrap {
    border: 2px solid #1798a5;
    border-radius: 15px !important;
    width: 100%;
    text-align: center;
    margin:auto;
    min-height: 120px;
}
.cars.view .widgets-row .widget-wrap h5 {
    margin-top: 0;
    border-radius: 12px 12px 0 0;
    background-color: #1798a5;
    color: white;
    padding: 2px;
}
.cars.view .widgets-row .widget-wrap .days_lapsed {
    font-size: 11pt;
}
.cars.view .widgets-row .widget-wrap .data {
    margin-bottom: 10px;
}
.negative {
    color: #a00;
}  
.positive {
    color: #0a0;
}
table tbody tr:nth-of-type(even) {
    background-color: #f9f9f9;
}
table.parts tbody tr td {
    border: 1px solid #ccc;
}

.statistics .widgets-row .columns .widget-wrap .data {
    font-size: 18pt;
}
.statistics .widgets-row .columns .widget-wrap {
    min-height: 60px;
}
.statistics .chart-container {
    margin-top: 10px;
}
.highcharts-credits {
    display: none;
}
button.update-chart {
    font-size: 11pt;
    padding: 6px;
    background-color: #eee;
    color: #777;
    border-radius: 10px;
}
button.update-chart.active {
    background-color: #008CBA;
    color: #eee;
}

ul li ul.nested {
    display:none;
    position: absolute;
    z-index: 2;
}
ul li ul.nested li {
    float: none;
}
ul li:hover ul.nested {
    display:block;
}

ul.side-nav li.active {
    background-color: #15848F;
}
ul.side-nav li.active a {
    color: #fff !important;
    font-weight: bold !important;
}

.printer {
    float: right;
    font-size: 20pt;
    cursor: pointer;
}
#dialog-confirm {
    display: none;
}
ul.page-sidebar-menu li a.icon-button {
    background-color: #ddd;
    color: #000 !important;
    font-size: 20px;
    width: 30px;
    height: 100%;
    padding: 0;
    display: inline-block;
    text-align: center;
    border-radius: 5px !important;
    line-height: normal;
    margin: 2px 2px 0 2px;
    float: right;
    z-index: 99;
}
ul.page-sidebar-menu li:hover a.icon-button, 
ul.page-sidebar-menu li a.icon-button:hover {
    background-color: #bbb;
}
ul.page-sidebar-menu li.active :hover a.icon-button, 
ul.page-sidebar-menu li.active  a.icon-button:hover {
    background-color: #555;
}
ul.page-sidebar-menu li.active a.icon-button {
    font-size: 20px;
    background-color: #333;
    color: #fff !important ;
    height: 100%;
}
.align_number {
    text-align: right;
}
tr.red td, tr.red td a {
    color: #a00;
}

.link_button {
    font-size: 18pt;

}
.heading {
    color: #ddd;
    font-weight: bold;
}
.static-chart {
    height: 400px;
}
#home-task {
    height: 50vh;
}
.page-sidebar-menu label {
    color: #eee;
}
table.filter-summary {
    width: 100%;
}
table.filter-summary td {
    width: 17%;
    text-align:center;
}
table.filter-summary th {
    width: 17%;
    height: 50px;
    text-align:right;
    padding-top:5px;
    padding-bottom:5px;
}
.userLogs {
    background: #fff;
    padding: 20px;
}
.userLogs table {
    width: 100%;
}
.userLogs table td {
    text-align:center;
}
.userLogs table thead {
    border-bottom: 2px solid #23527c;
}
.userLogs table th {
    height: 50px;
    text-align:center;
    padding-top:5px;
    padding-bottom:5px;
}
.userLogs table tr.ticket-open {
    background: #03f9;
}
.userLogs table tr.ticket-to-contact {
    background: #f309;
}



/* ---Modal--- */
 /* The Modal (background) */
.modal {
  display: block;
  position: fixed; /* Stay in place */
  z-index: 20; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Content/Box */
.modal .modal-content {
  background-color: #fefefe;
  margin: 10% auto; /* 15% from the top and centered */
  padding: 20px;
  border: 1px solid #888;
  width: 80%; /* Could be more or less, depending on screen size */
  position:relative; 
}

/* The Close Button */
.modal .close {
  color: #aaa;
  font-size: 28px;
  font-weight: bold;
  position:absolute;
  right: 18px;
  top: 13px;
}

.modal .close:hover,
.modal .close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
} 

.map-pin {
    font-size: large;
    cursor: pointer;
}

table tr.ticket-open {
    background-color: #23afe822 !important;
}
table tr.ticket-to-contact {
    background-color: #8e040422 !important;
}
table tr.ticket-to-send {
    background-color: #de8d0f22 !important;
}
