﻿body {
    background-color: #e7e7e7;
}
.panel {
    margin-top: 50px;
}
/*Smart table - start*/
.st-selected{
    background-color: cornflowerblue;
    font-weight: bold;
}
.table-striped>tbody>tr.st-selected:nth-child(odd)>td, .table-striped>tbody>tr.st-selected:nth-child(odd)>th {
    background-color: cornflowerblue;
}
.st-selected a {
    color: beige;
}
.table>thead>tr>th {
    border-bottom: 0 solid;
}
.label-align {
    text-align: right;
}
/*Smart table - end*/
/*Spinner - Start*/
/*loader css*/
/* Absolute Center Spinner */
.loading {
  position: fixed;
  z-index: 999;
  height: 2em;
  width: 2em;
  overflow: show;
  margin: auto;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
}

/* 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);
}
/*Spinner - End*/
input.error, div.error, span.error, select.error, ui-select.error{
    border: solid 2px red;
}
span.checkbox-error {
    border-bottom: solid 1px red;
}

.navbar-header {
    float: right;
    border-left: solid 1px #e7e7e7;
}
.user-profile {
    padding-right: 15px;
}
.filter-field-container {
    display: inline-block;
}
.filter-field {
    width: 250px;
}
.buffer-top-15 {
    margin-top: 15px;
}
.buffer-top-20 {
    margin-top: 20px;
}
.buffer-top-25 {
    margin-top: 25px;
}
.buffer-bottom-20 {
    margin-bottom: 20px;
}
.buffer-left-5 {
    padding-left: 5px;
}
.buffer-top-50 {
    margin-top: 50px;
}
.alert-box {
    position: absolute;
    z-index: 999999;
    width: 400px;
    left: 0;
    right: 0;
    margin-left: auto;
    margin-right: auto;
    padding: 8px 35px 8px 14px;
    margin-bottom: 20px;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    box-shadow: 5px 5px 10px rgba(0, 0, 0, .3);
}
.alert-danger {
    background-color: #d9534f;
    color: #fff;
    border-color: transparent;
}
.alert-success {
    background-color: #5cb85c;
    color: #fff;
    border-color: transparent;
}
/*Content editable - start*/
div[contentEditable] {
  cursor: pointer;
  background-color: white;
    padding: .2em;
}
div[contentEditable]:focus {
  cursor: pointer;
  background-color: #D0D0D0;
  border: 1px solid red;
  padding: .2em;
}
/*Content editable - end*/
.modal-dialog.predefined-task {
    width: 500px;
}
.modal-dialog.category {
    width: 500px;
}
.modal-body.category {
    height: 450px;
    /*overflow: auto;*/
}
.modal-dialog.customer {
    width: 900px;
}
.customer .modal-footer {
    margin-top: 30px;
}
.modal-body.customer {
    height: 450px;
    /*overflow: auto;*/
}
.modal-dialog.user {
    width: 900px;
}
.modal-dialog.task-info {
    width: 700px;
    z-index: 51;
}
.modal-dialog.task-estimation {
    width: 1000px;
    z-index: 51;
}
.modal-body.task-estimation {
    height: 450px;
    /*overflow: auto;*/
}
.modal-body.task-info {
    height: 450px;
    /*overflow: auto;*/
}
.modal-body.user {
    height: 518px;
    overflow: auto;
}
.modal-dialog.confirm {
    width: 450px;
    z-index: 2051;
}
.asterisk {
    color: red;
}
.invalid-field {
    color: red;
    font-size: 11px;
}
hr.ten-space {
    margin-top: 10px;
    margin-bottom: 10px;
}
.font-13 {
    font-size: 13px;
}
.table>thead>tr>th, .table>tbody>tr>th, .table>tfoot>tr>th, .table>thead>tr>td, .table>tbody>tr>td, .table>tfoot>tr>td {
    padding: 2px;
    padding-left: 5px;
}
input[type='file'] {
    left: 20px;
    position: absolute;
    top: 7px;
    right: 0;
    margin: 0;
    opacity: 0;
    -ms-filter: 'alpha(opacity=0)';
    font-size: 10px !important;
    direction: ltr;
    cursor: pointer;
    width: 130px;
}
.gallery-box {
    width: 200px;
    padding: 5px;
    margin: 7px;
    float: left;
    min-height: 200px;
    border: 1px solid #ddd;
    overflow: hidden;
}
.gallery-box .title {
    height: 22px;
    overflow: hidden;
    display: block;
}
.w200 {
    width: 200px;
}
.w250 {
    width: 250px;
}
.w130 {
    width: 130px;
}
.w150 {
    width: 150px;
}
.w400 {
    width: 400px;
}
.w100 {
    width: 100px;
}
.w80 {
    width: 80px;
}
.w25 {
    width: 25px;
}
.w5 {
    width: 5px;
}
.w300 {
    width: 300px;
}
.w15 {
    width: 15px;
}
.circleBase {
    border-radius: 50%;
    margin-top: 3px;
}
.task-red {
    width: 15px;
    height: 15px;
    background: red;
}
.task-orange {
    width: 15px;
    height: 15px;
    background: orange;
}
.task-green {
    width: 15px;
    height: 15px;
    background: green;
}
.task-info-tbody {
    height: 130px;
    overflow-y: auto;
}
.no-margin-bottom {
    margin-bottom: 0;
}
.btn.grid {
    font-size: 12px;
    padding: 3px;
}
.img-modal {
   display: flex;
   align-items: center;
   justify-content: center;
}
.image-caption {
    display: inline-block;
    font-weight: bold;
}
.p-inline {
    display: inline-block;
}
.project-view-row {
    background-color: gainsboro;
}
.short-add-predefined {
    position: absolute;
    top: 0px;
    right: -14px;
    padding: 0 5px;
}
.add-customer {
    top: 0px;
    right: -14px;
    padding: 0 5px;
}
.search-icon {
    position: absolute;
    top: 0px;
    right: -14px;
    padding: 0 5px;
}
.short-add-category {
    position: absolute;
    top: 0px;
    right: -14px;
    padding: 0 5px;
}
.table-striped>tbody>tr.relied-task-row:nth-child(odd)>td, .table-striped>tbody>tr.relied-task-row:nth-child(odd)>th {
    background-color: #F9D1AF!important;
}
.relied-task-row {
    background-color: #F9D1AF!important;
}
.search-select {
    min-width: 100%;
}
.scrollContent {
    /*height: 260px;*/
    height: calc(100vh - 300px);
    overflow-y: auto;
}
.count-visible {
    color: #428bca;
}
.dropdown-menu a.icon {
  position: relative;
  padding-left: 40px;
}
.dropdown-menu a.icon .glyphicon {
  top: 3px;
  left: 10px;
  font-size: 18px;
}
.footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  /* Set the fixed height of the footer here */
  height: 30px;
  background-color: #f5f5f5;
}
.footer p {
    padding-left: 20px;
}
/* basic positioning */
.legend { list-style: none;padding: 0; font-size: 12px;}
.legend li { margin-right: 10px; }
.legend span { border: 1px solid #ccc; float: left; width: 12px; height: 12px; margin: 2px; }
/* your colors */
.legend .green { border-radius: 50%; background-color: green; }
.legend .orange { border-radius: 50%; background-color: orange; }
.legend .red {  border-radius: 50%; background-color: red; }
.panel-report {
    margin-top: 0px;
}
.hand {
    cursor: pointer;
}
.work-container {
    max-height: 500px;
    height: 500px;
}
.selected-report {
    font-weight: bold;
    background-color: #e7e7e7;
    padding: 5px;
}
.trademark {
    font-size: 15px;
    font-weight: bold;
}
.trademark a:hover {
    text-decoration: none;
}
.bottom-space-3 {
    margin-bottom: 3px;
}
.extra-search-container {
    position: relative;
}
.extra-search-btn {
    position: absolute;
    padding: 0 5px;
    right: 0px;
    bottom: 3px;
}
    

/*Media*/
@media only screen and (max-width: 1024px) and (min-width: 768px) {
    .modal-dialog.customer {
        width: 700px!important;
    }
}
@media screen and (max-width: 768px) {
    .label-align {
        text-align: left;
    }
    .panel {
        overflow: auto;
    }
    .modal-dialog.customer {
        width: 300px;
    }
    .modal-body.customer {
        height: auto;
        /*overflow: auto;*/
    }
    .modal-dialog.predefined-task {
        width: 300px;
    }
    .modal-dialog.category {
        width: 300px;
    }
    .modal-body.category {
        height: auto;
        /*overflow: auto;*/
    }
    .modal-dialog.user {
        width: 300px;
    }
    .modal-dialog.task-info {
        width: 700px;
        z-index: 51;
    }
    .modal-dialog.task-estimation {
        width: 550px;
        z-index: 51;
    }
    .modal-body.task-estimation {
        height: auto;
        /*overflow: auto;*/
    }
    .modal-body.task-info {
        height: auto;
        /*overflow: auto;*/
    }
    .modal-body.user {
        height: auto;
        overflow: auto;
    }
    .modal-dialog.confirm {
        width: 300px;
        z-index: 2051;
    }
    .bottom-space-5 {
        margin-bottom: 5px;
    }
    .top-space-5 {
        margin-top: 5px;
    }
}