﻿body {
    line-height: 1.3;
}
input.ng-invalid {
    border: solid 1px red;
}

input[type=checkbox].ng-invalid {
    outline: solid 2px red;
}

select.ng-invalid {
    border: solid 1px red;
}

.shadowed {
    margin-top: 50px;
    padding:0 15px 0 15px;

    -webkit-box-shadow: 7px 11px 40px -4px rgba(128,128,128,1);
    -moz-box-shadow: 7px 11px 40px -4px rgba(128,128,128,1);
    box-shadow: 7px 11px 40px -4px rgba(128,128,128,1);
}

.k-tabstrip:focus {
    box-shadow: none;
    -webkit-box-shadow: none;
}

.actionbtn {
    margin-bottom: 5px;
}

.form_separator 
{
    border-bottom: solid 1px #c0c0c0;
    
    width: 100%;
    margin-bottom: 10px;
}


.container-list {
  counter-reset: list;
  padding-left: 40px;
}

.container-list > .row {
  margin-top: 12px;
  position: relative;
  border-bottom: solid 1px #c0c0c0;
  padding-bottom: 8px;
}

.container-list > .row:before {
  counter-increment: list;
  content: counter(list) ". ";
  display: block;
  position: absolute;
  right: 100%;
  font-weight:bold;
}

.container-list input {
  
}

table.dynfld_matrix {
    font-family: 'Lucida Console';
    table-layout: fixed;
    border-collapse: collapse;
    border-spacing: 0;
    border: solid 2px #c0c0c0;
    width:unset;
}

.dynfld_matrix td:hover  {
    background-color: #f3b972 !important;
}

.dynfld_matrix td {
    background-repeat: no-repeat;
    background-position: center;  
    height:20px;
    border: solid 1px #c0c0c0;
    
}

.dynfld_matrix td.v0 {
    background-image: url("../Images/Product/Krispol/none.png");
}

.dynfld_matrix td.v1 {
    background-image: url("../Images/Product/Krispol/1vent.png");
    
}

.dynfld_matrix td.v2 {
    background-image: url("../Images/Product/Krispol/1wnd.png");
    
}

.dynfld_matrix td.v3 {
    background-image: url("../Images/Product/Krispol/vwnd.png");
    
}

.form-control {
    height: 28px;
}

.k-numeric-wrap > input.form-control {
    height:28px;
}

.k-dropdown.form-control {
    height:28px;
}


input.k-textbox {
    height: 29px;
}

.k-numerictextbox .k-link {
    height: 1.0em;
}

.k-dropdown-wrap {
    height: 1.96em;
    line-height: 1.50em;
}

.k-dropdown-wrap .k-select, .k-numeric-wrap .k-select, .k-picker-wrap .k-select {
    line-height: 2.1em;
}

.k-picker-wrap .k-input {
    height: 28px;
    line-height: 1.70em;
}

.form-inline .form-group {
    display: inline-block;
    margin-bottom: 0;
    vertical-align: middle;
}

@media print
{
    #pager,
    form,
    .no-print
    {
        display: none !important;
        height: 0;
    }


    .no-print, .no-print *{
        display: none !important;
        height: 0;
    }
}

.home_jumbo {
    position: relative;
    padding: 30px 0;
    color: #ffffff;
    text-align: center;
    text-shadow: 0 1px 0 rgba(0,0,0,.1);
    background-color: #d0d0d0;
    background-image: -webkit-gradient(linear,left top,left bottom,from(#d0d0d0),to(#bbbbbb)); 
    background-image: -webkit-linear-gradient(top,#d0d0d0 0,#bbbbbb 100%); 
    background-image: -o-linear-gradient(top,#d0d0d0 0,#bbbbbb 100%);
    background-image: linear-gradient(to bottom,#d0d0d0 0,#bbbbbb 100%); 
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#d0d0d0', endColorstr='#bbbbbb', GradientType=0);
    background-repeat: repeat-x;
}

tr.alert {
    color: #cc4900;
}


.dynfld_image {
    max-width: 100%;
}

table.orderlines  {
   border: solid 2px #f3b972;
    
}




.k-widget .border-box-sizing,
.k-widget .border-box-sizing * {
    box-sizing: border-box;
}

.k-widget > span.k-invalid,
input.k-invalid,
select.k-invalid
{
  border: 1px solid red !important;
}

.k-grid td {
    padding: 0px 2px 1px 2px;
    height: 32px;
    line-height: 1.2em;
}

label {
    margin-bottom:0px;
}

fieldset {
    margin-top:4px;
    padding: 2px;
}

fieldset.fieldset-border {
    border: 1px groove #ddd;
    padding: 0 1.4em 1.4em 1.4em !important;
    margin: 0 0 1.5em 0 !important;
    -webkit-box-shadow:  0px 0px 0px 0px #000;
            box-shadow:  0px 0px 0px 0px #000;
}

legend.fieldset-border {
    font-size: 1.2em !important;
    font-weight: bold !important;
    text-align: left !important;
    width:auto;
    padding:0 10px;
    border-bottom:none;
}

button.btn-flat {
    box-sizing: border-box;
}

div.un_productconfigpanel {
    background-color:white;
}

div.un_order_editor {
    background-color: #ffffff;
    padding: 25px;
    margin-left: auto;
    margin-right: auto;
    max-width: 1200px;
}

div.user-panel
{
    overflow: visible;
    white-space: normal!important;
}

.un_button_well
{
}

.table-bordered {
  border: 1px solid #707070;
}
.table-bordered > thead > tr > th,
.table-bordered > tbody > tr > th,
.table-bordered > tfoot > tr > th,
.table-bordered > thead > tr > td,
.table-bordered > tbody > tr > td,
.table-bordered > tfoot > tr > td {
  border: 1px solid #c0c0c0;
}

.newswrap {
    
    width: 100%;
}

.ann hr {
    margin-top: 8px;
    margin-bottom: 8px;
}
.newswrap .ann {
    padding: 10px;  
    border-bottom: solid 1px #c0c0c0;
    width: 100%;
}

.newswrap .ann h4 {
    font-weight:bold;
    margin-right:20px;
    margin-top: 4px;
    margin-bottom: 4px;
}

.ann .parent_link {
    text-decoration:underline;
}

a.disabled {
    pointer-events: none;
       cursor: default;
       color:#a0a0a0;
}

div.product-error
{
    padding: 10px;
    font-weight:bold;
    color: #cc4900;
    font-size:large;
}

div.product-warning
{
    font-size:large;
    padding: 10px;
    font-weight:bold;
    color: #fb9200;
}

.colored-row
{
    background-color: #cc4900;
    font-weight:bold;
    border-bottom: solid 2px red;
}

.row_overdue {
    background-color:#ff8c8c;
}

.row_new {
    background-color: #f39c12;
}

.row_inactive {
    background-color: #bbbbbb;
}

.row_active {
    background-color: #bfd8ff;
}
.row_active2 {
    background-color: #5ccec8;
}
.row_waiting {
    background-color: #76ade9;
}
.row_ready {
    background-color: rgba(148, 215, 126, 0.50);
}

.row_approved {
    background-color: rgba(148, 215, 126, 0.50);
}

.row_ready2 {
    background-color: rgba(107, 170, 219, 0.70);
}



.row_rejected {
    background-color: #bbbbbb;
}

.col_lead {
    background-color: #f3b972;
}

.row_rejected .col_lead {
    background-color: #bbbbbb;
}


.loan_grace {
    color: #0839ae;
}

.loan_overdue {
    color: red;
}

.loan_datastale {
    background-color: #d0d0d0;
}


tr.k-state-selected {
    color: white;
    
}

.row_bold {
    font-weight: bold;
}

.locked {
    color: #c0c0f0;
}

.logo-lg img {
    vertical-align:top;
    margin-top: 2px;
    margin-left: 2px;
    height:45px;   
}

.logo-lg {
    background-color: white;
    margin-left: -15px;
}

.logo-mini {
    background-color: white;
}

.logo-mini img {
    vertical-align:top;
    margin-top: 2px;
    margin-left: 2px;
    height:45px;   
}


td.missingprice {
    color:#cc4900;
}


.fa_cal_event.ev_saleslead {
    border-top: solid 2px #fb9200;
}

.fa_cal_event.ev_servicerequest {
    border-top: solid 2px #cc4900;
}

.fa_cal_event.ev_servicetask {
    border-top: solid 2px #00ffff;
}

.task-menu {
    -webkit-box-shadow: 10px 10px 26px 2px rgba(158,150,158,1);
    -moz-box-shadow: 10px 10px 26px 2px rgba(158,150,158,1);
    box-shadow: 10px 10px 26px 2px rgba(158,150,158,1);
    background-color: #ffe06d;
    padding:20px;
    min-width:300px
}

.task-menu li 
{
    padding-bottom: 5px;
    list-style:decimal;
}

.todo-list-row
{

}

.todo-list-row:hover
{
    background-color:#e0e0e0;
}


.prd_new td {
    background-color: rgba(251, 250, 189, 0.50);
}

.prd_ready td {
    background-color: rgba(148, 215, 126, 0.50);
    
}

.prd_inproduction {
    
}

.prd_delivery td {
    background-color: rgba(246, 213, 134, 0.50);
}

.prd_hold {
    background-color: #b0763f; 
}

.prd_parent {
    background-color: #ffcece;
    color: #0e1eca;
}

.prd_closed {
    background-color: #b0b0b0;
}

.prd_remarks {
    border-left: solid 4px red;
}

tr.prd_remarks td:first-child {
    border-left: solid 4px #fb9200;
}

tr.prd_assigned td:first-child .k-icon {
    background: #f8d499;
    color: green !important;
}

.no-border {
    border: 0;
    box-shadow: none;
}

/*500	Installation OK
501	Pricing error
502	Sales error
503	Missing/damaged parts
504	Partly installed
510	Cancelled*/

.inst_500 {
    background-color: rgba(148, 215, 126, 0.50);
    cursor: pointer;
}

.inst_501 {
    background-color: rgba(251, 250, 189, 0.50);
    cursor: pointer;
}

.inst_502 {
    background-color: #f8d499;
    cursor: pointer;
}

.inst_503 {
    background-color: #fb9200;
    cursor: pointer;
}
/******************************************************
	OUTLINE BUTTONS
******************************************************/
.btn.outline {
    background: none;
}

.btn-primary.outline {
    border: 2px solid #0099cc;
    color: #0099cc;
}

.btn-primary.outline:hover, .btn-primary.outline:focus, .btn-primary.outline:active, .btn-primary.outline.active, .open > .dropdown-toggle.btn-primary {
    color: #33a6cc;
    border-color: #33a6cc;
}

.btn-primary.outline:active, .btn-primary.outline.active {
    border-color: #007299;
    color: #007299;
    box-shadow: none;
}

.btn-success.outline {
    border: 2px solid #00bf6f;
    color: #00bf6f;
}

.btn-success.outline:hover, .btn-success.outline:focus, .btn-success.outline:active, .btn-success.outline.active, .open > .dropdown-toggle.btn-success {
    border-color: #39bf87;
    color: #39bf87;
}

.btn-success.outline:active, .btn-success.outline.active {
    border-color: #008c52;
    color: #008c52;
    box-shadow: none;
}

.btn-info.outline {
    border: 2px solid #31cde8;
    color: #31cde8;
}

.btn-info.outline:hover, .btn-info.outline:focus, .btn-info.outline:active, .btn-info.outline.active, .open > .dropdown-toggle.btn-info {
    border-color: #5fd4e8;
    color: #5fd4e8;
}

.btn-info.outline:active, .btn-info.outline.active {
    border-color: #35a2b5;
    color: #35a2b5;
    box-shadow: none;
}

.btn-warning.outline {
    border: 2px solid #eb8f34;
    color: #eb8f34;
}

.btn-warning.outline:hover, .btn-warning.outline:focus, .btn-warning.outline:active, .btn-warning.outline.active, .open > .dropdown-toggle.btn-warning {
    border-color: #eba259;
    color: #eba259;
}

.btn-warning.outline:active, .btn-warning.outline.active {
    border-color: #b87430;
    color: #b87430;
    box-shadow: none;
}

.btn-danger.outline {
    border: 2px solid #f25454;
    color: #f25454;
}

.btn-danger.outline:hover, .btn-danger.outline:focus, .btn-danger.outline:active, .btn-danger.outline.active, .open > .dropdown-toggle.btn-danger {
    border-color: #f26d6d;
    color: #f26d6d;
}

.btn-danger.outline:active, .btn-danger.outline.active {
    border-color: #bf4343;
    color: #bf4343;
    box-shadow: none;
}

.actions .btn
{
    margin-right: 10px;
}

.stepwizard-step p {
    margin-top: 10px;
}

.stepwizard-row {
    display: table-row;
}

.stepwizard {
    display: table;
    width: 100%;
    position: relative;
}

.stepwizard-step button[disabled] {
    opacity: 1 !important;
    filter: alpha(opacity=100) !important;
}

.stepwizard-row:before {
    top: 14px;
    bottom: 0;
    position: absolute;
    content: " ";
    width: 100%;
    height: 1px;
    background-color: #ccc;
    z-order: 0;
}

.stepwizard-step {
    display: table-cell;
    text-align: center;
    position: relative;
}

.btn-circle {
    width: 30px !important;
    height: 18px !important;
    vertical-align: bottom !important;
    text-align: center !important;
    padding: 6px 0 !important;
    font-size: 15px !important;
    line-height: 18px !important;
    border-radius: 15px !important;
}

.imgoverlay {
    
    display: inline-block;
    position: relative;
}
    
/*picture overlay (pic over pic) for fld-imageoverlay */
.imgoverlay .front {
    left: 0;
    top: 0;
    position: absolute;
    
    width: 100%;
    height: 100%;
}

.imgoverlay .back {

}
    
/* flip img horizontally */
.fliph {
    transform: rotateY(180deg);
}

.icon-navs li a, .icon-navs ul.tabs-left {
    background: none !important;
    border: none !important;
    text-align: center;
}

table.product_table {
    margin:0px !important;
    border: solid 2px #808080;
    width:initial;
    border-spacing: initial;
    border-collapse: collapse;
}

div.product_row {
    
}

div.product_row  h2 {
    font-size: 16pt;
}



.product_table>tbody>tr>td, .product_table>tbody>tr>th, .product_table>tfoot>tr>td, .product_table>tfoot>tr>th, .product_table>thead>tr>td, .product_table>thead>tr>th
{
    padding: 2px 3px 2px 3px ;
    vertical-align: middle;
    border-width: 2px;
    height:initial;
}

.product_table>tbody>tr.last {
    border-bottom: solid 2px #808080;
}
.product_table>thead>tr.last {
    border-bottom: solid 2px #808080;
}



.productconfig_info 
{
    font-size: 80%;
}

.productconfig_info h2 {
    display: none;
}

.review_order {
    zoom:80%;
}

.grid_row_details {
    padding-bottom: 10px;
    padding-top: 6px;
}

.grid_row_details .product_row h2 {
    display:none;
}

.grid_row_details .product_table {
    font-size: 120%;
}

.product_table tbody td {
    text-align: center;
}

.box {
    margin-bottom:8px;
}

.h1, .h2, .h3, h1, h2, h3 {
    margin-top: 10px;
    margin-bottom: 6px;
}

.desktop-menu .dropdown-menu {
    padding: 8px;
    
}

.desktop-menu .dropdown-menu li {
    padding-left: 8px;
    
}

.k-state-selected {
    background-color: #6985b2 !important;
    color: white !important;
    font-style: italic;
    border-style: dotted;
}

span.st_route {
    white-space:nowrap;
    font-size:11pt;
    font-weight:bold;
    font-family:Courier New, Courier, monospace;
    
}

span.st_route span {
    padding: 1px 3px 1px 2px;
}

span.st_route .N {
    color:gray;
}

span.st_route .Y {
    color:lightgreen;
    text-decoration:underline;
}

span.st_route .A {
    color:orangered;
    text-decoration:underline;
}

div.row_details {
    margin:0px 0px 0px -26px;
    
    padding: 6px;
    background-color:#e0e0e0;
}

div.row_details .productconfig_info h2 {
    display: none;
}

.small-box:hover {
    
    
}


div.infopanel1 
{
    width:initial;
    padding: 10px;
    border: 2px solid #c0c0c0;
    border-radius: 15px;
    -moz-border-radius: 15px;
}

div.infopanel1 ul 
{
    list-style: none;
    line-height:1.6em;
    margin: 0px 0px 0px 0px;
    padding: 0px 0px 0px 0px;
}


fieldset.formpanel {
    margin: 10px; 
    padding:10px; 
    border-radius:5px; 
    border: solid 1px #c0c0c0;
    
}



fieldset {
    padding: 2px;
}
fieldset legend {
    margin-bottom: 10px;
}

fieldset.formpanel legend {
    border: none;
    font-size: 12pt;
    margin-bottom: 4px;
    width: auto;
    padding-right: 3px;
    padding-left: 2px;
}

.fld_error {
    color: red;
    font-size: 10pt;
    padding-left: 6px;
}

.user-panel > .info {
    position: relative;
    left:0;
    padding: 0;
}

table.transaction_table {
    margin-bottom:0;
}

input.grid_bool {
    
}


table.spreadsheet_table, table.spreadsheet_table th, table.spreadsheet_table td {
    border: solid 1px #a0a0a0;
    padding-left:2px;
    padding-bottom:1px;
    padding-top:1px;
}

table.spreadsheet_table  {
    border-collapse: collapse;
    font-size:10pt;
    
}

table.w100 {
    width: 100%;
}

table.spreadsheet_table td {
    
}

table.spreadsheet_table td.lbl {
    background-color: #c0c0c0;
    font-weight: bold;
}

table.spreadsheet_table hr {
    padding:0px;
    margin: 1px 4px 1px 3px;
    border-top: 1px solid #a0a0a0;
}

td.amt {
    text-align: right;
    break-inside:avoid;
}

.rowdetails table tr:hover {
    background-color: white;
}

.infopanel {
    border: solid 1px #b0c0c0;
    
    border-radius: 4px;
    padding: 4px;
    
}

.infopanel table {
    border: none;
    
    
}

.infopanel table tr:nth-child(2n) {
    background-color: #f0f0f0;
}

.infopanel table tr {
    padding: 0;

}

.infopanel table tr td {
    padding: 0px;
    margin: 0px;
    height: initial;
    border: none;
    
    padding: 2px 2px 1px 2px;
}

.infopanel table tr {
    background-color: white;
    
}

.infopanel table tr td:first-child {
    font-weight: bold;
}

.table-condensed>tbody>tr>td, .table-condensed>tbody>tr>th, .table-condensed>tfoot>tr>td, .table-condensed>tfoot>tr>th, .table-condensed>thead>tr>td, .table-condensed>thead>tr>th {
    padding: 2px; 
}

.btn-mini {
    padding:2px;
    width:18px;
    height:18px;
    line-height: 0;
}

.vrq_pnl {
    font-size: small;
}

.vrq_pnl .ccpnl {
    color: white;
    background-color: green;
    display: inline-block;
    border: solid 1px #c0c0c0;
    padding: 1px;
}

.alert {
    margin-bottom: 2px;
    padding: 8px;
}

.lead_accept_pnl {

}

.lead_accept_pnl.active {
    
}

.lead_accept_pnl .approved {
    color:darkgreen;
}

.lead_accept_pnl .rejected {
    color:red;
}

.lead_accept_pnl .ccpnl {
    color: white;
    background-color: green;
    display: inline-block;
    border: solid 1px #c0c0c0;
    padding: 1px;
}

.k-grid .k-grid-header .k-header .k-link {
    height: auto;
}

.k-grid .k-grid-header .k-header {
    white-space: normal;
}

tr.trans_1 {
    background-color: #ffcc99;
}

tr.trans_2 {
    background-color: #a2e669;
}

i.green_yes {
    color:green;
}


.CustomerRank {
    height: 100%;
    padding: 5px;
}
.CustomerRank_O {
    background-color: #d65656;
}

.CustomerRank_AP {
    background-color: #00FF00;
}

.CustomerRank_A {
    background-color: #00DD00;
}

.CustomerRank_BP {
    background-color: #00BB00;
}

.CustomerRank_B {
    background-color: #008000;
}

.CustomerRank_C {
    background-color: #fffa00;
}

.CustomerRank_D {
    background-color: #ffc800;
}

.CustomerRank_E {
    background-color: #ff8000;
}

.CustomerRank_F {
    background-color: #c27720;
}

.CardLeadCRIF {
    height: 100%;
    padding: 5px;
}
.CardLeadCRIF_YELLOW {
    background-color:yellow;
}
.CardLeadCRIF_GREEN {
    background-color: greenyellow;
}
.CardLeadCRIF_RED {
    background-color: orangered;
}
.CardLeadCRIF_1 {
    background-color: yellow;
}