/**
Custom Css
*/
.wrapper {
    overflow-x: auto;
}
/* top nabvar */
.navbar-dark.navbar-custom
{
    background-color: #3c8dbc;
}
.pull-left {
    float: left;
}
.pull-right {
    float: right;
}

/* Side bar */
.brand-link
{
    background-color: #367fa9;
}
.brand-link .brand-image.img-circle {
    margin-left:0;
}
.sidebar-dark-secondary
{
    background-color: #222d32;
}
.sidebar-dark-secondary .nav-sidebar>.nav-item.menu-open .nav-treeview {
    background-color: #2c3b41;
    padding-left: 10px;
}
.sidebar .user-panel {
    padding-top: 10px;
}
.sidebar .user-panel img {
    width: 50px;
    height: 50px;
}
.user-panel .pull-left.image {
    padding-left: 5px;
}
.user-panel .pull-left.info {
    padding-top: 0px;
}

.user-panel .info p {
    color: #fff;
    margin-bottom: 0px;
}
.user-panel .info a {
    color: #fff;
    font-size: 11px;
}

.info .text-success {
    margin-right: 3px;
}

/* Account page */
#profile_preview {
    width: 150px;
    height: 150px;
}
#profile_picture {
    cursor: pointer;
    display: block;
    height: 150px;
    opacity: 0 !important;
    position: absolute;
    top: 0px;
    width: 150px;
    left: calc(50% - 50px);
}
.picture-label {
    position: absolute;
    top: 150px;
    left: calc(50% - 54px);
    font-size: 14px;
}
.search-profile-input {
    width: 90%;
    margin: 10px;
}
.search-factor-table {
    border-top: 1px solid;
}

.card-wrapper {
    position: relative;
}


/** Property Page **/
.listing-box {
    width: 100%;
}
.card-listing ul li {
    list-style: none;
    display: inline-block;
    margin-right: 2rem;
}
.property-title
{
    width: 100%;
    padding: 1rem;
    margin-bottom: 2rem;
    background: #F2F2F2;
}
.property-title a {
    color: #333;
}
.property-thumbnail {
    width: 100%;
    height: 350px;
}

span.label {
    padding: 0px 20px;
    display: inline-block;
}
span.property-value {
    padding: 0px 20px;
    display: inline-block;
}

.pagination-block {
    width: 100%;
    margin-bottom: 2rem;
}

.pagination-block ul {
    float: right;
}
.sub-value {
    display: block;
}
span.property-value .sub-value {
    padding: 0px 20px;
}

.card .row {
    margin: 0px;
    padding: 0.5rem 1rem;
    width: 100%;
}
.row.calc-data {
    margin-top: 20px;
}
.row.detail-panel {
    margin-top: 20px;
}
h2.detail-name {
    font-size: 1.5rem;
    text-decoration: underline;
}
.object-description {
    width: 100%;
}
.equipment-description {
    width: 100%;
}
.location-description {
    width: 100%;
}
.other-description {
    width: 100%;
}
.row.sub-item-row {
    padding: 0rem 2rem;
}
.sub-item-row span.label {
    padding: 0px 20px;
}
.sub-item-row span.property-value {
    padding: 0px 20px;
}
.interst-btn {
    cursor: pointer;
}
.archive-btn {
    cursor: pointer;
}
#map-canvas {
    width: 800px;
    height: 600px;
}
#myMapModal .modal-dialog {
    max-width: 800px;
}

.card .row.property-panel {
    border:1px solid #e0e0e0;
    border-radius: 3px;
    padding: 0px;
    margin-bottom: 2rem;
}

.card .property-panel-footer {
    background-color: #f3f3f3;
    display: block;
    text-align: right;
}
.property-panel-footer .btn {
    margin-right: 2rem;
}

.property-panel .property-thumbnail {
    margin-bottom: 10px;
}

.detail-box {
    padding-left: 2rem;
}

.detail-panel ul.nav-tabs {
    width: 100%;
}
.calc-span {
    padding: 8px;
    color: #fff;
}
.calc-span.red {
    background-color: #dc3545;
}
.calc-span.yellow {
    background-color: #f39c12;
}
.calc-span.green {
    background: #28a745;
}
/** Service Provider */
span.multi-span {
    padding-left: 0px;
}
.multi-span .form-control {
    display: inline-block;
}
.row.form-group {
    padding-left: 2rem;
}
.card .row.line-block {
    border-bottom: 1px solid #bdbdbd94;
    margin: 1rem 0rem;
}
input[type="file"] {
    display: block;
}
.btn {
    cursor: pointer;
}
.full-width {
    width: 100%;
    margin-bottom: 0px;
}
/** Datatable */
table.dataTable tbody tr.odd>.sorting_1{
    background-color: #eaeaea;
}
table.dataTable tbody tr.odd.selected>.sorting_1{
    background-color: #a6b4cd;
}
table.dataTable tbody tr.even.selected>.sorting_1{
    background-color: #acbad5;
}
table.dataTable tbody tr:hover>.sorting_1 {
    background-color: #d8d8d8;
}
table.dataTable tbody tr:hover {
    background-color: #f6f6f6;
}
table.dataTable tbody tr:hover.selected {
    background-color: #aab7d1;
}
table.dataTable th {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}
table.dataTable thead .sorting:before, table.dataTable thead .sorting:after, table.dataTable thead .sorting_asc:before, table.dataTable thead .sorting_asc:after, table.dataTable thead .sorting_desc:before, table.dataTable thead .sorting_desc:after, table.dataTable thead .sorting_asc_disabled:before, table.dataTable thead .sorting_asc_disabled:after, table.dataTable thead .sorting_desc_disabled:before, table.dataTable thead .sorting_desc_disabled:after {
    bottom: 0.6em;
}
.table-responsive {
    padding: 1rem;
    background-color: #ececec54;
    border: 1px solid #d0d0d0;
}
table.dataTable thead th.hidden-label {
    color: transparent;
}
/*************/
#provider_map {
    height: 600px;
}
.map-view {
    margin-bottom: 2rem;
}
#select_services {
    display: inline-block;
}
#provider_table_filter label {
    width: 40%;
}
#provider_table_filter label input.form-control {
    height:calc(2.25rem + 2px);
    width: 100%;
}
span.file-thumbnail {
    margin-left: 30px;
}
.exist-files .btn {
    height: max-content;
    margin-left: 10px;
    align-self: center;
}
ul.service-view {
    list-style: none;
}
ul.service-view li {
    padding-top: 0.5rem;
    text-decoration: underline;
    font-weight: 500;
}

/** Rating stars */
.rating-block {
    padding-left: 2rem;
}

.rating-block .detail-name {
    display: inline-block;
    width: 150px;
    vertical-align: middle;
}
.star-ratings-sprite {
    background: url("https://s3-us-west-2.amazonaws.com/s.cdpn.io/2605/star-rating-sprite.png") repeat-x;
    font-size: 0;
    height: 21px;
    line-height: 0;
    overflow: hidden;
    text-indent: -999em;
    width: 110px;
    margin: 0 auto;
}
.star-ratings-sprite .star-ratings-sprite-rating {
    background: url("https://s3-us-west-2.amazonaws.com/s.cdpn.io/2605/star-rating-sprite.png") repeat-x;
    background-position: 0 100%;
    float: left;
    height: 21px;
    display:block;
}
.rating-block .star-ratings-sprite {
    display: inline-block;
}
.rating-block .rate-area {
    padding-left: 0px;
    vertical-align: middle;
}
.rating-block .rate-area:not(:checked) label {
    font-size: 300%;
    line-height: 1;
    margin-bottom: 0px;
}
.rating-block .rate-area>input:checked~label {
    font-size: 300% !important;
    margin-bottom: 0px;
}

.radio-span {
    margin-left: 50px;
}
.radio-span input[type=radio] {
    cursor: pointer;
}

.has-search .form-control {
    padding-left: 2.375rem !important;
}

.has-search .form-control-feedback {
    position: absolute;
    z-index: 2;
    display: block;
    width: 2.375rem;
    height: 2.375rem;
    line-height: 2.375rem;
    text-align: center;
    pointer-events: none;
    color: #aaa;
}
.search-form {
    display: inline-block;
}

#myGallery .modal-dialog {
    max-width: 800px;
}
#image_gallery {
    position: absolute;
    left: 1rem;
    bottom: 1rem;
}
div.gallery-container {
    padding: 4px;
    border: 1px solid #ddd;
}
.object-detail td:nth-child(odd) {
    font-weight: 600;
    white-space: nowrap;
}
.object-detail td:nth-child(even) {
    background: none repeat scroll 0 0 #fff;
}
table.object-detail td, table.object-detail th {
    border-top: none;
    border-bottom: 1px solid #dee2e6;
}

/** Assets Property page*/

.nav-container nav > .nav.nav-tabs{

    border: none;
    color:#fff;
    /*background:#272e38;*/
    background: #222d32;
    border-radius:0;

}
.nav-container nav > div a.nav-item.nav-link
{
    border: none;
    padding: 18px 25px;
    color:#fff;
    background:#222d32;
    border-radius:0;
}

.nav-container nav > div a.nav-item.nav-link.active:after
{
    content: "";
    position: relative;
    bottom: -60px;
    left: -10%;
    border: 15px solid transparent;
    /*border-top-color: #e74c3c ; */
    border-top-color: #3c8dbc;
}
.nav-container .tab-content{
    background: #fdfdfd;
    line-height: 25px;
    border: 1px solid #ddd;
    border-top:5px solid #3c8dbc;
    border-bottom:5px solid #3c8dbc;
    padding:30px 25px;
}

.nav-container nav > div a.nav-item.nav-link:hover,
.nav-container nav > div a.nav-item.nav-link.active
{
    border: none;
    background: #3c8dbc;
    color:#fff;
    border-radius:0;
    transition:background 0.20s linear;
}

.nav-container .tab-content .tab-pane.active {
    padding: 20px;
}
.preview-images-zone {
    width: 100%;
    border: 1px solid #ddd;
    min-height: 100px;
    /* display: flex; */
    padding: 10px 5px 10px 5px;
    position: relative;
    overflow:auto;
}
.preview-images-zone > .preview-image {
    height: 90px;
    width: 90px;
    position: relative;
    margin-right: 5px;
    float: left;
    margin-bottom: 5px;
}
.preview-images-zone > .preview-image > .image-zone {
    width: 100%;
    height: 100%;
}
.preview-images-zone > .preview-image > .image-zone > img {
    width: 100%;
    height: 100%;
}
.preview-images-zone > .preview-image > .tools-edit-image {
    position: absolute;
    z-index: 100;
    color: #fff;
    bottom: 0;
    width: 100%;
    text-align: center;
    margin-bottom: 10px;
    display: none;
}
.preview-images-zone > .preview-image > .image-cancel {
    font-size: 18px;
    position: absolute;
    top: 0;
    right: 0;
    font-weight: bold;
    margin-right: 10px;
    cursor: pointer;
    display: none;
    z-index: 100;
}
.preview-image:hover > .image-zone {
    cursor: move;
    opacity: .5;
}
.preview-image:hover > .tools-edit-image,
.preview-image:hover > .image-cancel {
    display: block;
}
.ui-sortable-helper {
    width: 90px !important;
    height: 90px !important;
}
.asset-properties-table table.dataTable thead .sorting,
.asset-properties-table table.dataTable thead .sorting_asc,
.asset-properties-table table.dataTable thead .sorting_desc,
.asset-properties-table table.dataTable thead .sorting_asc_disabled,
.asset-properties-table table.dataTable thead .sorting_desc_disabled {
    text-align: center;
    vertical-align: top;
    font-size: 0.9rem;
}
.asset-properties-table table.dataTable thead .sorting:before,
.asset-properties-table table.dataTable thead .sorting:after,
.asset-properties-table table.dataTable thead .sorting_asc:before,
.asset-properties-table table.dataTable thead .sorting_asc:after,
.asset-properties-table table.dataTable thead .sorting_desc:before,
.asset-properties-table table.dataTable thead .sorting_desc:after,
.asset-properties-table table.dataTable thead .sorting_asc_disabled:before,
.asset-properties-table table.dataTable thead .sorting_asc_disabled:after,
.asset-properties-table table.dataTable thead .sorting_desc_disabled:before,
.asset-properties-table table.dataTable thead .sorting_desc_disabled:after {
    bottom: 2.6em;
}
.table-input {
    width: 100%;
    background: inherit;
    border: none;
}
.section-table {
    margin-top: 20px;
}
.section-table .table td {
    vertical-align: middle;
}
.table-responsive.asset-properties-table {
    overflow-y: hidden;
}
.asset-properties-table table {
    width: 100% !important;
}
.asset-properties-table table.result-table {
    margin-top: 1rem;
    border: 1px solid #dee2e6;
}

.asset-properties-table table.result-table thead{
    visibility: collapse;
}

.asset-properties-table table.result-table td {
    padding-top: 0.3rem;
    padding-bottom: 0.3rem;
}

.asset-properties-table div.dt-buttons {
    float: none;
}
a.calc-btn:not([href]):not([tabindex]){
    color: #17a2b8;
}
a.calc-btn:not([href]):not([tabindex]):hover {
    color: #fff;
}
a.save-btn:not([href]):not([tabindex]){
    color: #007bff;
}
a.save-btn:not([href]):not([tabindex]):hover {
    color: #fff;
}
a.remove-btn:not([href]):not([tabindex]){
    color: #dc3545;
}
a.remove-btn:not([href]):not([tabindex]):hover {
    color: #fff;
}
.section-table .table td.red {
    background-color: #dc3545;
    color: #fff;
}
.section-table .table td.green {
    background-color: #28a745;
    color: #fff;
}
.section-table .table td.yellow {
    background-color: #FFFF00;
}

.nav .nav-link.disabled {
    cursor: pointer;
    pointer-events: all;
}

/* photo gallery in own property edit page*/
#gallery {
    border: 1px solid #ddd;
    padding: 10px;
}
#gallery .gallery-item {
    height: 120px;
    width: 120px;
    object-fit: cover;
}
#gallery .image-zone {
    display: inline-block;
    margin-right: 1rem;
    cursor: pointer;
    position: relative;
}
#gallery .image-zone .gallery-item-remove {
    font-size: 18px;
    position: absolute;
    top: 0;
    right: 0;
    font-weight: bold;
    margin-right: 10px;
    cursor: pointer;
    display: none;
    z-index: 100;
}
#gallery .image-zone:hover .gallery-item{
    opacity: 0.5;
}
#gallery .image-zone:hover .gallery-item-remove {
    display: block;
}
#carouselModal .modal-dialog {
    max-width: 1000px;
}

#property_map {
    height: 600px;
}
#property_table_filter label {
    width: 40%;
}
#property_table_filter label input.form-control {
    height:calc(2.25rem + 2px);
    width: 100%;
}

#property_table ul {
    list-style: none;
    padding: 0px;
}

.card .row.section-table {
    margin-top: 20px;
}

.section-table .cockpit-table th,
.section-table .cockpit-table td {
    font-size: 0.9rem;
    word-break: break-all;
}

a.previous-tab {
    color: #FFFFFF;
}

.result-table td span{
    word-break: break-word;
}
.tenant-list td span{
    word-break: break-word;
}