﻿@import url(//use.fontawesome.com/releases/v5.7.1/css/all.css);

body.stand-alone {
    font-family: Arial, Verdana, sans-serif;
    font-size: 14px;
}

div.mdr-dynamiclist {
    position: absolute;
    width: 200px;
    background-color: #ffffff;
    box-sizing: border-box;
    box-shadow: 5px 5px 5px rgba(0,0,0,.3);
    display: none;
    top: 0px;
}
.mdr-list-item {
    font-size: 12px;
    cursor: pointer;
    padding: 4px 6px;
}
.mdr-list-item:hover {
    background-color: rgba(255,255,0,.3);
}
.mdr-dl-item-wrap {
    max-height: 150px;
    overflow: hidden;
    overflow-y: auto;
    padding: 0px;
    border: 1px solid #000000;
}
.mdr-dl-filter {
    width: 100%; /*200px;*/
    box-sizing: border-box;
    /*padding: 8px;
    font-size: 12px;
    line-height: 18px;*/
    border: 1px #000000 solid;
    border-radius: 0px;
}

.mdr-dl-closer {
    padding: 4px;
    background-color: rgba(0,0,0,.7);
    color: #ffffff;
    text-align: right;
}
    .mdr-dl-closer > a {
        color: #ffffff !important;
        text-decoration: none !important;
    }

.mdr-ctl-wrap {
    display: inline-block;
    float: left;
}



/*------------ CUSTOM -----------------*/
.mdr-cb-err {
    border: 1px #ff0000 solid;
    margin: 4px;
    padding: 8px;
    color: #ff0000;
    background-color: #ffffff;
}
.select-22 {
    height: 22px;
}
.float-r {
    float: right !important;
}
.float-l {
    float: left !important;
}
.boxed {
    box-sizing: border-box;
    padding: 8px;
    border: 1px #000000 solid;
    margin-right: 1%;
}

.mdr-btn, .mdr-btn:hover {
    display: inline-block;
    text-decoration: none !important;
    padding: 4px 12px;
    background-image: none;
    background-color: #0094ff !important;
    color: #ffffff;
    border-radius: 3px;
    font-size: 14px !important;
    box-sizing: border-box;
    cursor: pointer;
}
    .mdr-btn.alert {
        background-color: #ff0000 !important;
    }
    .mdr-btn.won {
        background-color: green !important;
    }


button.mdr-btn, button.mdr-btn:hover {
/*    display: inline-block;
    text-decoration: none !important;*/
    padding: 5px 12px;
    background-image: none;
    cursor: pointer;
    /*background-color: transparent !important;
    color: #000000;
    border-radius: 3px;
    border: 1px #0094ff solid;
    box-sizing: border-box;*/
}
    .mdr-btn > .fa, .mdr-btn > .fas {
        color: #ffffff;
        font-size: 16px;
    }

a.mdr-btn, a.mdr-btn:hover, a.mdr-btn:link, a.mdr-btn:active, a.mdr-btn:visited { color: #ffffff !important; }


.mdr-inline { display: inline-block !important; }
.pg-hdr { padding: 4px; text-align: center; background-color: rgba(0,0,0,.3); border-bottom: 1px #000000 solid; font-weight: bold; margin-bottom: 8px; }
.text-left { text-align: left !important; }
.text-right { text-align: right !important; }
.text-ctr { text-align: center !important; }
.label { font-weight: bold; width: 15%; }
.data { width: 35%; }
.label-small { width: 10%; }
.data-small { width: 15%; }


.tab-wrap { position: relative; }
.tab-head { padding-left: 15px; clear: both; z-index: 10 !important; }
.tab { 
    display: inline-block; 
    float: left; 
    background-color: #f5f5f5;
    border-bottom: 1px #f5f5f5 solid;
    padding: 4px;
    cursor: pointer;
    border-left: 1px #000000 solid;
    border-top: 1px #000000 solid;
    border-right: 1px#000000  solid;
    border-top-left-radius: 3px;
    border-top-right-radius: 3px;
    margin-right: 4px;
}
    .tab.active {
        background-color: #0094ff;
        color: #ffffff;
        border-bottom: 1px #0094ff solid;
    }
.tab-body {
    z-index: 0;
    position: relative;
    top: -1px;
    border: 1px #000000 solid;
    padding: 0px;
}
.tab-wrap.padded .tab-body {
    padding: 10px;
}

.tab-body input[type="number"] { width: 75px; }

.tab-body br[clear="all"]:after { content: " "; margin-bottom: 12px; }

.bs-inner input[type="text"] { width: 100%; }
.bid-sheet input[type="text"] { text-align: right;}

.ctl-wrap {
    float: left;
    display: inline-block;
    margin-right: 1%;
    margin-bottom: 4px;
    box-sizing: border-box;
    padding: 8px;
    border: 1px #999999 solid;
    background-color: #ffffff;
}
    .ctl-wrap.one-one {
        width: 100%;
    }
    .ctl-wrap.one-half {
        width: 49%;
    }
    .ctl-wrap.one-third {
        width: 32.3%;
    }
    .ctl-wrap.one-fourth {
        width: 24%;
    }
    .ctl-wrap.three-fourth {
        width: 74%;
    }
.ctl-label {
    /*display: inline-block;
    width: 25%;*/
    display: block;
    width: 100%;
    font-weight: bold;
    xxtext-align: right;
    padding-right: 8px;
    box-sizing: border-box;    
    float: left;
}
.ctl-ctl {
    /*display: inline-block;
    width: 75%;*/
    display: block;
    width: 100%;
    box-sizing: border-box;    
    float: left;
    position: relative;
}
.ctl-ctl > select, .ctl-ctl > input[type="text"]
{
    width: 95%;
}

.mdr-better-check-display {
    display: block;
    width: 100%;
    border: 1px #999999 solid;
    box-sizing: border-box;
    padding: 2px;
    height: 20px;
    font-size: 12px;
    line-height: 16px;
    overflow: hidden;
    text-overflow: ellipsis;
    background-color: #ffffff;
}
.mdr-better-check-items {
    display: none;
    position: absolute;
    box-sizing: border-box;
    background-color: #ffffff;
    border: 1px #999999 solid;
    padding: 4px;
    width: 100%;
    z-index: 1000 !important;
}
XX.mdr-cols input[type="checkbox"] { width: 2%; box-sizing: border-box;}
.mdr-cols.one label { width: 95%; box-sizing: border-box; display: inline-block; }
.mdr-cols.two label { width: 45%; box-sizing: border-box; display: inline-block; }
.mdr-cols.three label { width: 28%; box-sizing: border-box; display: inline-block; }

.mdr-tbl {
    border-collapse: collapse;
    border-spacing: 0px;
    width: 100%;
}
.mdr-tbl th {
    background-color: rgba(0,0,0,.4);
    font-weight: bold;
    font-size: 14px;
    border-bottom: rgba(0,0,0,.7) 1px solid;
    margin: 0px;
    color: #ffffff;
    padding: 4px;
}
    .mdr-tbl td {
        padding: 4px;
        font-size: 14px;
    }
.mdr-tbl tr:nth-child(even) {
    background-color: #fff;
}
.mdr-tbl tr:nth-child(odd) {
    background-color: #ccc;
}

span.block-wrap {
    display: block;
    margin: 8px 0px;
    vertical-align: top;
}
.block-wrap > .label {
    display: inline-block;
    width: 150px !important;
    margin-right: 8px;
    text-align: right;
    vertical-align: top;
}
.block-wrap > .ctl {
    display: inline-block;
}

/*----- OVERRIDES -------*/
.ModuleActionsShadingTable { min-width: 480px !important; }

/*-- BUILDING OPTIONS  ---------*/
div[id$="_pnlActions"] { position: relative; }

div#div-title-float {
    position: absolute;
    border: 1px #000000 solid;
    border-radius: 3px;
    padding: 8px;
    box-sizing: border-box;
    box-shadow: 5px 5px 5px rgba(0,0,0,.2);
    background-color: #ffffff;
    z-index: 200;
    width: 200px;
    font-weight: .8em;
}

.mdr-bopt-tbl {
    border-collapse: collapse;
}
.mdr-bopt-tbl tr:nth-child(odd) {
    background-color: #ccc;
}
.mdr-bopt-tbl tr:nth-child(even), .mdr-bopt-tbl tr:nth-child(1) {
    background-color: #fff;
}
.mdr-bopt-tbl td {
    padding: 4px;
    border: 1px solid #ccc;
}
    .mdr-bopt-tbl.primary {
        z-index: 1;
    }
    .mdr-bopt-tbl.floater {
        position: absolute;
        z-index: 10;
        bottom: 0px;
        left: 0px;
    }
        .mdr-bopt-tbl.floater .float-hide {
            /*visibility: hidden;*/
            display: none;
        }

td.opt-data {
    width: 30px;
    text-align: center;
    font-size: 1.5em;
    cursor: pointer;
}
    td.opt-data > .fa-toggle-on, .key > .fa-toggle-on {
        color: green;
    }
    td.opt-data > .fa-toggle-off, .key > .fa-toggle-off {
        color: red;
    }
    td.opt-data[data-optval="3"] > .fa-toggle-on, td.opt-data[data-optval="3"] > .fa-toggle-off {
        display: none;
    }
    td.opt-data[data-optval="2"] > .fa-toggle-on, td.opt-data[data-optval="2"] > .fa-times-circle {
        display: none;
    }
    td.opt-data[data-optval="1"] > .fa-toggle-off, td.opt-data[data-optval="1"] > .fa-times-circle {
        display: none;
    }

.bldg-head {
    font-weight: bold;
    text-align: right;
    padding-right: 8px;
    white-space: nowrap;
}

.mdr-bopt-tbl.cst_INVENTORY_RESIDENTIAL_BLDG_TYPE th.rotate {
  height: 140px;
  white-space: nowrap;
}
.mdr-bopt-tbl.cst_INVENTORY_RESIDENTIAL_BLDG_TYPE th.rotate > div {
  transform: translate(24px, 54px) rotate(315deg);
  width: 30px;
}

.mdr-bopt-tbl.cst_INVENTORY_COMMON_BLDG_TYPE th.rotate {
  height: 240px;
  white-space: nowrap;
}
.mdr-bopt-tbl.cst_INVENTORY_COMMON_BLDG_TYPE th.rotate > div {
  transform: translate(18px, 104px) rotate(315deg);
  width: 30px;
}

.mdr-bopt-tbl.cst_INVENTORY_SYSTEM_OPTIONS th.rotate{
  height: 140px;
  white-space: nowrap;
}
.mdr-bopt-tbl.cst_INVENTORY_SYSTEM_OPTIONS  th.rotate > div {
  transform: translate(21px, 54px) rotate(315deg);
  width: 30px;
}

.mdr-bopt-tbl.cst_INVENTORY_INTERIOR_OPTIONS th.rotate {
      height: 80px;
  white-space: nowrap;
}
.mdr-bopt-tbl.cst_INVENTORY_INTERIOR_OPTIONS  th.rotate > div {
  transform: translate(19px, 22px) rotate(315deg);
  width: 30px;
}

.mdr-bopt-tbl.cst_INVENTORY_SITE_OPTIONS th.rotate {
  height: 80px;
  white-space: nowrap;
}
.mdr-bopt-tbl.cst_INVENTORY_SITE_OPTIONS  th.rotate > div {
  transform: translate(25px, 23px) rotate(315deg);
  width: 30px;
}

.mdr-bopt-tbl.cst_INVENTORY_PROPERTY_TYPE th.rotate {
  height: 120px;
  white-space: nowrap;
}
.mdr-bopt-tbl.cst_INVENTORY_PROPERTY_TYPE  th.rotate > div {
  transform: translate(24px, 42px) rotate(315deg);
  width: 30px;
}

.mdr-bopt-tbl.cst_INVENTORY_PROPERTY_TYPE td {
    width: 30px !important;
    text-align: center;
}


th.rotate {
  height: 70px;
  white-space: nowrap;
}
th.rotate > div {
  transform: translate(24px, 18px) rotate(315deg);
  width: 30px;
}
th.rotate > div > span {
  border-bottom: 1px solid #ccc;
  padding: 5px 10px;
}

div.clear {
    display: inline-table;
    clear: both;
}


.ui-widget-header {
    background: #295173 !important;
    border: 1px #295173 solid !important;
} 