﻿body {
    line-height: 1.2;
    font-size: 1.5em;
}
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-window-content .container {
    width: unset;
}

.k-window-content .shadowed {
    box-shadow: none;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    margin-top: unset;
    padding: unset;
}

.navbar-custom-menu > .navbar-nav > li > .dropdown-menu {
    box-shadow: 10px 10px 10px rgba(150, 150, 150, 80);
    background-color: #fffff0;
    border: solid 2px #808080;
}

.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-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;
    }

    table.product_table_inner {
        background-color: black;
    }
}

.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;
}

.k-grid.condensed td {
    height: 10px;
    line-height: 1.0em;
}

label {
    margin-bottom:0px;
}

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 !important;
}

.row_alert {
    background-color:#ff8c8c !important;
}

.row_new,
.row_new .status_colored_label {
    background-color: #f39c12;
}

.row_inactive,
.row_inactive .status_colored_label {
    background-color: #bbbbbb;
}

.row_active,
.row_active .status_colored_label {
    background-color: #bfd8ff;
}
.row_active2,
.row_active2 .status_colored_label {
    background-color: #5ccec8;
}
.row_waiting,
.row_waiting .status_colored_label {
    background-color: #76ade9;
}
.row_ready,
.row_ready .status_colored_label {
    background-color: rgba(148, 215, 126, 0.50);
}

.row_critical_task {
    background-color: crimson;
}

.row_bold {
    font-weight: bold;
}

.locked {
    color: #c0c0f0;
}

.logo-lg {
    
}

td.missingprice {
    color:#cc4900;
}

.k-event, .fa-square {
    border: solid 1px #a0a0a0 !important;
}

.fa_cal_event.ev_saleslead {
    border: 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_wrapper table tr td {
    font-size: .9em;
    padding: 10px 6px 10px 3px;
    border-bottom: 1px solid #eee !important;
}

.todo_list_wrapper table tr td:last-child {
    padding-right: 0;
}

.todo_list_wrapper {
    border: none;
    padding: 0;
    position: relative;
    overflow: auto;
    -webkit-box-shadow: none;
    box-shadow: none;
}

.todo_list_wrapper .label {
    line-height: 1.7em;
    border-radius: 1.2em;
}

.todo_list_wrapper .row_active_msg {
    background-color: deepskyblue;
}
.todo_list_wrapper .row_new_msg {
    background-color: orange;
}

.todo_list_wrapper .default_background {
    background-color: #aaa;
}

.todo_list_wrapper .label:empty {
    display: inline-block;
}

.todo_list_wrapper .k-pager-wrap {
    position: absolute;
    bottom: 0;
    right: 0;
}

.todo_list_wrapper a {
    color: #333;
}

.todo_box {
    border-top-width: 0;
}

.todo_box .box-header {
    font-size: 16px;
    padding: 16px;
}

.todo_box .box-header a {
    color: #fff;
}

.todo_list_wrapper .row_det {
    cursor: pointer;
}

.box.box-neutral {
    border-top-color: #fff;
}

.box-header-neutral {
    font-size: 1.2em;
    font-weight: 400;
    color: #98a6ad;
    padding-bottom: 0;
    padding-left: 0;
}

.box-header-neutral h3 {
    font-size: .7em;
    padding: 4px 7px;
    display: inline;
    font-weight: bold;
    color: #fff;
    background-color: #222d32;
}

.box-header-neutral a,
.box-header-neutral a:hover {
    color: #222d32;
}

.stats_list {
    overflow: hidden;
}

.stats_list li {
    float: left;
    display: block;
    text-align: center;
    padding: 0;
}

.stats_list .stats_count {
    display: block;
    width: 100%;
    font-size: 3em;
    font-weight: bold;
    color: #5e6365;
}

.stats_list .stats_description {
    display: block;
    width: 100%;
    color: #adafb1;
    font-size: 0.9em;
}

.stats_buttons {
    min-height: 24px;
}

.stats_buttons .btn {
    font-size: 11px;
    padding: 2px 5px;
}

.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;
}

.prd_express {
    color: #ac0000;
}

.prd_ready_somenot {
    
}

.prd_ready_somenot td {
    background-color: rgba(148, 185, 166, 0.50);
}

.prd_ready_somereleased td {
    background-color: rgba(148, 215, 126, 0.50);
    color: blue;
}

tr.prd_express td:first-child {
    border-left: solid 4px darkorange;
}

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;
}

.tsk_deadline {
    background-color: #ff0000;
}

.tsk_reactionDate{
    background-color: #b200ff
}

/*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;
}

table.product_table  .product_param_print_free {
    display: inline-block;
    padding: 6px;
    vertical-align:top;
    text-align:left;
}



table.product_table .cutlist_panel {
    border: solid 2px black; 
    border-radius: 8px; 
    padding: 6px; margin: 2px;
    display:inline-block;
    vertical-align:top;
}

.cutlist_panel table.paramstbl td {
    height: unset;
    line-height:1.0em;
}

.cutlist_panel table.paramstbl td.val {
    padding-right:4px;
    border-left: none;
    text-align:right;
}

.cutlist_panel table.paramstbl td.lbl {
    font-weight:bold;
    font-size: 90%;
}


.cutlist_panel table.paramstbl {
    width: unset;
    
}

.cutlist_panel table.paramstbl tr::alternate {
    background-color: black;
    color: white;
}
.cutlist_panel table.paramstbl td.lbl {
    padding-left: 4px;
    text-align:left;
}

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 2px 2px 2px ;
    vertical-align: middle;
    border-width: 2px;
    height:initial;
    line-height:1.2em;
    font-size: 1.0em;
}

.product_table>tbody>tr>td.line_hdr, .product_table>thead>tr>th.line_hdr
{
    display: none;
}

.product_table>tbody>tr.last {
    border-bottom: solid 2px #808080;
}
.product_table>thead>tr.last {
    border-bottom: solid 2px #808080;
}



.productconfig_info 
{
    font-size: 100%;
}

.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: 100%;
}

.product_table tbody td {
    line-height: 1.2em;
}

.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:12pt;
    font-variant:small-caps;
    font-family:Arial Narrow;
}

span.st_route span {
    padding: 1px 2px 1px 0px;
}

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;*/
    zoom:90%;
}

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;
}

tr.k-state-selected td.warning,
tr.k-state-selected td.danger,
tr.k-state-selected td.info,
tr.k-state-selected td.active,
tr.k-state-selected td.success {
    background-color: inherit !important;
    color: inherit !important;
    font-style: inherit !important;
}

tr:hover td.warning,
tr:hover td.danger,
tr:hover td.info,
tr:hover td.active,
tr:hover td.success {
    background-color: inherit !important;
    color: inherit !important;
    font-style: inherit !important;
}

tr.k-state-selected:hover td.warning,
tr.k-state-selected:hover td.danger,
tr.k-state-selected:hover td.info,
tr.k-state-selected:hover td.active,
tr.k-state-selected:hover td.success {
    background-color: inherit !important;
    color: inherit !important;
    font-style: inherit !important;
}

a#printer_statusicon.ok i  {
    color: lightgreen;
}

a#printer_statusicon.problem i  {
    color: red;
}

.sidebar-menu .treeview-menu > li > a {
    font-size: unset;
}

tr.line_highlight {
    color: blue;
    background-color: rgba(167, 213, 100, 0.8);
    border-bottom: solid 1px #505050;
    border-top: solid 1px #505050;
}

span.line_highlight {
    color:black;
    background-color:#b2e534;
    border: solid 2px #000;
}

table tr:hover td.danger,
table tr:hover td.danger:hover {
    background-color: #f2dede !important;
}

.k-button-white {
    color: white !important;
    margin-bottom: 3px;
}

.minipnl2 {
    background-color: #e0e0e0 !important;
    font-size: 10pt !important;
    padding: 2px;
}

.minipnl2 table {
    background: inherit !important;
}

.minipnl {
    background-color: #e0e0e0;
    border: solid 1px #c0c0c0;
    font-size:10pt;
    padding: 2px 8px 8px 8px;
    border-radius: 6px;
}

.minipnl .label {
    text-align: center;
    font-weight:bold;
    
    color:black;
    display:block;
    width:100%;
}

table.mini {
    width: unset;
}

table.mini tr {
    border-bottom: solid 1px black;
}

table.mini td {
    height:unset;
    border: none;
    padding-right: 3px;
}

table.mini td.v {
    color: red;
    font-weight:900;
}

table.mini th {
    height:unset;
    border: none;
    font-size: 8pt;
    text-decoration: underline;
    font-weight:bold;
    padding: 0px 2px 0 2px;
}


table.mini tr:hover {

}

input[readonly="readonly"], input[readonly] {
    background-color: rgba(245,245,245,0.7);
    color: rgba(51, 51, 51,0.7);
    border-color: rgba(204,204,204,0.7);
}

input[type="text"][disabled="disabled"] {
    background-color: rgba(245,245,245,0.7);
    color: rgba(51, 51, 51,0.7);
    border-color: rgba(204,204,204,0.7);
}

/* turning off spinners for input type numeric, because changing value with spin buttons didn't updated data */
input[type=number]::-webkit-outer-spin-button,
input[type=number]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type=number] {
    -moz-appearance: textfield;
}

@font-face {
    font-family: barcode_128;
    src:url(code128.ttf) format('truetype');
}

.barcode_128 {
    font-family: barcode_128;
    white-space:pre;
}

.hdrbarcode {
    font-family: barcode_128;
    line-height: 1;
    font-size: 50px;
}

.main-header .navbar .nav > li > a > .label {
    font-size: 0.9em;
}

.k-editor-toolbar {
    
}

input[type="radio"].ng-invalid {
    outline: 1px solid red;
}

.color-inherit {
    color: inherit !important;
}

.tooltip-inner {
    white-space: pre-wrap;
    text-align:left;
}

/* The sidebar menu */
.listsidebar {
    height: 100%; /* 100% Full-height */
    width: 0; /* 0 width - change this with JavaScript */
    position: fixed; /* Stay in place */
    z-index: 1; /* Stay on top */
    top: 0;
    right: 5px;
    overflow-x: hidden; /* Disable horizontal scroll */
    padding-top: 60px; /* Place content 60px from the top */
    transition: 0.5s; /* 0.5 second transition effect to slide in the sidebar */
}

    
    /* Position and style the close button (top right corner) */
    .listsidebar .closebtn {
        position: absolute;
        top: 50px;
        right: 5px;
        font-size: 36px;
        margin-right: 5px;
    }


/* Style page content - use this if you want to push the page content to the right when you open the side navigation */
#listmain {
    transition: margin-right .5s; /* If you want a transition effect */
}

/* On smaller screens, where height is less than 450px, change the style of the sidenav (less padding and a smaller font size) */
@media screen and (max-height: 450px) {
    .listsidebar {
        padding-top: 15px;
    }

        .listsidebar a {
            font-size: 18px;
        }
}

.rb-selector input {
    margin: 0;
    padding: 0;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}



    .rb-selector input:active + .thumb-rb {
        opacity: .9;
        border: 3px solid #dd4b39;
    }
    .rb-selector input:active + .thumb-rbc {
        opacity: .9;
        border: 3px solid #dd4b39;
    }
    .rb-selector input:active + .thumb-rbo {
        opacity: .9;
        border: 3px solid #dd4b39;
    }

    .rb-selector input:checked + .thumb-rb {
        -webkit-filter: none;
        -moz-filter: none;
        filter: none;
        border: 3px #dd4b39 solid;
    }

    .rb-selector input:checked + .thumb-rbc {
        -webkit-filter: none;
        -moz-filter: none;
        filter: none;
        border: 3px #dd4b39 solid;
    }

    .rb-selector input:checked + .thumb-rbo {
        -webkit-filter: none;
        -moz-filter: none;
        filter: none;
        border: 3px #dd4b39 solid;
    }

.thumb-rb {
    cursor: pointer;
    background-size: contain;
    background-repeat: no-repeat;
    border: 3px solid rgb(255,255,255, 0.3);
    display: inline-block;
    width: 100px;
    /*-webkit-transition: all 100ms ease-in;
    -moz-transition: all 100ms ease-in;
    transition: all 100ms ease-in;
    -webkit-filter: brightness(1.1) grayscale(1) opacity(.9);
    -moz-filter: brightness(1.1) grayscale(1) opacity(.9);
    filter: brightness(1.1) grayscale(1) opacity(.9);*/
}

    .thumb-rb:hover {
        -webkit-filter: none; /*brightness(1.2) grayscale(.5) opacity(.9);*/
        -moz-filter: none; /*brightness(1.2) grayscale(.5) opacity(.9);*/
        filter: none; /*brightness(1.2) grayscale(.5) opacity(.9);*/
        border: 3px solid #777;
    }
    .thumb-rb img {
        width: 100px;
        
    }
.thumb-rbc {
    cursor: pointer;
    background-size: contain;
    background-repeat: no-repeat;
    border: 3px solid rgb(255,255,255, 0.3);  
    display: inline-block;
    width: 100px;
    text-align: center;
}

    .thumb-rbc:hover {
        -webkit-filter: none;
        -moz-filter: none;
        filter: none;
        border: 3px solid #777;
    }

.thumb-rbc img {
    width: 50px;
    height: 50px;
    padding-bottom: 2px;
}

/*for displaying options*/
.thumb-rbo {
    cursor: pointer;
    background-size: contain;
    background-repeat: no-repeat;
    border: 3px solid rgb(255,255,255, 0.3);
    display: inline-block;
    width: 100px;
    text-align: center;
}
    .thumb-rbo:hover {
        -webkit-filter: none;
        -moz-filter: none;
        filter: none;
        border: 3px solid #777;
    }
    .thumb-rbo img {
        width: 90px;
        height: 100px;
        margin-top: 2px;
    }

.rb-selector2 input {
    margin: 0;
    padding: 0;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}


.thumb-rb2 {
    cursor: pointer;
    background-size: contain;
    background-repeat: no-repeat;
    border: 4px solid rgb(255,255,255, 0.3);
    width: 100px;
    -webkit-transition: all 100ms ease-in;
    -moz-transition: all 100ms ease-in;
    transition: all 100ms ease-in;
    -webkit-filter: brightness(1.1) grayscale(1) opacity(.9);
    -moz-filter: brightness(1.1) grayscale(1) opacity(.9);
    filter: brightness(1.1) grayscale(1) opacity(.9);
}

    .thumb-rb2:hover {
        -webkit-filter: brightness(1.2) grayscale(.5) opacity(.9);
        -moz-filter: brightness(1.2) grayscale(.5) opacity(.9);
        filter: brightness(1.2) grayscale(.5) opacity(.9);
        border: 4px solid #dd4b39;
    }

    .thumb-rb2 img {
        width: 100px;
    }

.rb-selector2 input:active + .thumb-rb2 {
    opacity: .9;
    border: 1px solid #dd4b39;
}
.rb-selector2 input:checked + .thumb-rb2 {
    -webkit-filter: none;
    -moz-filter: none;
    filter: none;
    border: 4px #dd4b39 solid;
}



.main-sidebar {
    min-height: 90%; /* this gets rid of unnecessary scrollbar */
}

.control-sidebar {
    min-height: 100%; /* this gets rid of unnecessary scrollbar */
}

.ord_draft {
    background-color: orange;
}
    .ord_draft a {
        color: #ffffff !important;
    }

.ord_cancelled {
    background-color: #bbb;
}
    .ord_cancelled a {
        color: #ffffff !important;
    }

.ord_offersent {
    background-color: #bfd8ff;
}
    .ord_offersent a {
        color: #ffffff !important;
    }

.ord_ordered {
    background-color: rgba(148, 215, 126, 0.50);
    color: #505050;
}
    .ord_ordered a {
        color: #000 !important;
    }

.ord_placed {
    background-color: #76ade9;
}
    .ord_placed a {
        color: #ffffff !important;
    }

.ord_inproduction {
    background-color: #5ccec8;
}
    .ord_inproduction a {
        color: #ffffff !important;
    }

.control-sidebar-menu .menu-info {
    margin: 3px 5px;
    padding: 3px;
    border-radius: 3px;
}
    .control-sidebar-menu > li > a {
        color: #000 !important;
    }
.control-sidebar-menu .menu-info a {
    color: #000;
}
/*.control-sidebar-dark, .control-sidebar-dark + .control-sidebar-bg {
    background: #fff;
}*/

.control-sidebar-menu .menu-info.menu-info-parent {
    color: #000;
    font-weight: bold;
    margin: 5px 5px;
}

.control-sidebar-menu .menu-info .box-header {
    padding-bottom: 5px;
    padding-top: 5px;
    padding-left: 5px;
}

.control-sidebar-menu .menu-info .box-body {
    padding-bottom: 2px;
    padding-top: 2px;
    padding-left: 5px;
}

.control-sidebar-light, .control-sidebar-light + .control-sidebar-bg {
    background: #ecf0f5;
    border-left: 1px solid #d2d6de;
}

.control-sidebar-light .nav-tabs.control-sidebar-tabs > li.active > a,
.control-sidebar-light .nav-tabs.control-sidebar-tabs > li.active > a:hover,
.control-sidebar-light .nav-tabs.control-sidebar-tabs > li.active > a:focus,
.control-sidebar-light .nav-tabs.control-sidebar-tabs > li.active > a:active {
    background: #505050;
    color: #d0d0d0;
}

.box.box-dark
{
    border-top-color:#505050;
}
.box.box-solid.box-dark
{
    border:1px solid #505050;
}
.box.box-solid.box-dark > .box-header
{
    color: #d0d0d0;
    background:#505050;
}

.label.label-dark
{
    border-color:#505050;
    background-color: #505050;
}

div.k-window input#btnShowConnections {
    display: none;
}
.srq_new {

}
.srq_draft {
    background-color: orange;
}
    .srq_draft a {
        color: #ffffff !important;
    }
.srq_processing {
    background-color: #76ade9;
}
    .srq_processing a {
        color: #ffffff !important;
    }
.srq_completed {
    background-color: #5ccec8;

}
    .srq_completed a {
        color: #ffffff !important;
    }

.srq_returned{

}
.srq_returned a {
    color: #ffffff !important;
}
.srq_closed {
    background-color: #bbb;
}
.srq_closed a {
    color: #ffffff !important;
}
.srq_sent{

}

.srq_waiting{

}
.srq_invoiced {
    background-color: #bfd8ff;
}
    .srq_invoiced a {
        color: #ffffff !important;
    }
.srq_controll{

}

.row_active2 a {
    color: #fff;
}



.action_buttons button,
.action_buttons .btn:first-child:not(:last-child):not(.dropdown-toggle) {
    margin-right: 4px;
    border-radius: 3px;
}

.action_buttons .btn-primary {
    color: #fff;
    background-color: #3c8dbc;
    border-color: #3c8dbc;
}

.multivalue_field_wrapper {
    padding: 3px 5px;
}

/*
    lists
*/
.member_list_wrapper th {
    font-size: .8em;
    border: none;
    background-color: #222d32;
    color: #fff;
}

.member_list_wrapper .k-grid-header {
    background-color: #222d32;
    color: #fff;
}

.member_list_wrapper th .k-grid-header .k-link:link,
.member_list_wrapper .k-grid-header .k-link:visited {
    color: #fff;
}

.member_list_wrapper .k-grid {
    -webkit-box-shadow: none;
    box-shadow: none;
    background: transparent;
    border: none;
    font-size: 13px;
}

.member_list_wrapper .k-grid td {
    border: none;
    padding: .8em .4em;
}

.member_list_wrapper .k-grid-content {
    border-top: 0;
    border-right: 1px solid #eee;
    border-bottom: 1px solid #eee;
    border-left: 1px solid #eee;
}

.member_list_wrapper .k-grid .k-grid-header,
.member_list_wrapper k-grid-header-wrap {
    border-top: 1px solid #222d32;
    border-right: 1px solid #222d32;
    border-bottom: 0;
    border-left: 1px solid #222d32;
}

/*
    clean grid,  without borders
*/

.clean_grid table,
.clean_grid table td,
.clean_grid table tr.k-alt,
.clean_grid .k-grid,
.clean_grid .k-pager-wrap,
.clean_grid table th.k-header,
.clean_grid table thead {
    border: none;
    background-color: transparent;
}

.clean_grid tr:hover,
.clean_grid td:hover {
    background: transparent !important;
}

.grid_without_header .k-grid-header {
    display: none;
}

.custom_pager .k-pager-wrap {
    box-shadow: none;
    font-size: 13px;
    background-color: transparent;
    padding-top: 10px;
}

.custom_pager .k-grid-pager,
.custom_pager .k-pager-wrap,
#Master_Soql_EmailMessage_theList .k-grid-pager {
    border: none;
    -webkit-box-shadow: none;
    box-shadow: none;
}

.custom_pager .k-grid-pager .k-link,
.custom_pager .k-pager-wrap .k-link,
#Master_Soql_EmailMessage_theList .k-grid-pager .k-link {
    margin: 0 2px;
    border: 1px solid #ccc;
    border-radius: 3px;
    color: #ccc;
}

.custom_pager .k-grid-pager .k-state-disabled,
.custom_pager .k-pager-wrap .k-state-disabled,
#Master_Soql_EmailMessage_theList .k-grid-pager .k-state-disabled {
    color: #eee;
    border-color: #eee;
}

.custom_pager .k-grid-pager .k-state-selected,
.custom_pager .k-pager-wrap .k-state-selected,
#Master_Soql_EmailMessage_theList .k-grid-pager .k-state-selected {
    background-color: #00A0C9 !important;
    border-color: #00A0C9;
    color: #fff;
    border-radius: 3px;
    font-style: normal;
    margin: 0 2px;
}

.only_arrows_pager .k-pager-numbers,
.only_arrows_pager .k-pager-last,
.only_arrows_pager .k-pager-first,
.only_arrows_pager .k-pager-info {
    display: none;
}

.only_arrows_pager .k-grid-pager .k-link {
    border: none;
}

#Master_Soql_EmailMessage_theList .k-grid tr td {
    border-style: none;
    padding: .8em .4em;
}

#Master_Soql_EmailMessage_theList th,
#Master_Soql_SalesLead_theList th {
    font-size: .8em;
    border: none;
}

#Master_Soql_EmailMessage_theList {
    padding: 3px;
    background-color: #fff;
}

#Master_Soql_EmailMessage_theList .k-grid-pager,
#Master_Soql_SalesLead_theList .k-grid-pager{
    -webkit-box-shadow: none;
    box-shadow: none;
    background: transparent;
    border: none;
    margin-top: 1em;
    margin-left: 12px;
    font-size: 13px;
}

@media only screen and (max-width: 768px) {
    #Master_Soql_EmailMessage_theList,
    #Master_Soql_SalesLead_theList {
        overflow: scroll;
    }

    #Master_Soql_SalesLead_theList .fa_list {
        min-width: 250%;
    }

    #panel_list_wrapper_Soql_EmailMessage .box-header > .box-tools,
    #panel_list_wrapper_Soql_SalesLead .box-header > .box-tools {
        right: 0;
    }
}


/*******************************************************/
/* EMAIL MESSAGE */
@media only screen and (max-width: 768px) {
    .k-window {
        min-width: 100% !important;
        top: 0 !important;
        left: 0 !important;
    }
}

/* message list */
#panel_list_wrapper_Soql_EmailMessage .list_filter_panel {
    padding-left: 0;
    padding-right: 0;
    padding-bottom: 10px;
    border-radius: unset;
}

#panel_list_wrapper_Soql_EmailMessage .list_panel {
    margin-bottom: 0;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    box-shadow: none;
}

.row_unread_msg,
.row_new_msg,
.row_alert_msg,
.row_inactive_msg,
.row_waiting_msg,
.row_active_msg {
    border-style: none;
    font-style: normal;
}

.row_unread_msg .msg_col_subject {
    font-weight: bold;
}

.row_important_msg .msg_col_subject span::before {
    font-family: FontAwesome;
    content: "\f12a";
    color: crimson;
}

.msg_col_assignee {
    font-size: 0.9em;
}

.msg_col_tags .badge {
    background-color: #222d32 !important;
}

.row_new_msg .label {
    background-color: orange;
}

#Master_Soql_EmailMessage_theList .k-grid tr.row_new_msg .msg_col_parent {
    border-left: 3px solid orange;
}

.row_alert_msg .label {
    background-color: crimson;
}
#Master_Soql_EmailMessage_theList .k-grid tr.row_alert_msg .msg_col_parent {
    border-left: 3px solid crimson;
}

.row_inactive_msg .label {
    background-color: darkgrey;
}
#Master_Soql_EmailMessage_theList .k-grid tr.row_inactive_msg .msg_col_parent {
    border-left: 3px solid darkgrey;
}

.row_waiting_msg .label {
    background-color: yellow;
}
#Master_Soql_EmailMessage_theList .k-grid tr.row_waiting_msg .msg_col_parent {
    border-left: 3px solid yellow;
}

.row_active_msg .label {
    background-color: deepskyblue;
}
#Master_Soql_EmailMessage_theList .k-grid tr.row_active_msg .msg_col_parent {
    border-left: 3px solid deepskyblue;
}

.email_message_list_folders {
    margin:  0;
    background-color: #ECF0F5;
    padding: 0;
}

.email_message_list_folders ul {
    margin-bottom: 0;
    padding-bottom: 0;
    padding-top: 16px;
    padding-left: 2px;
    border-bottom: 1px solid #dbdee2;
}

.email_message_list_folders ul li {
    padding: 0;
    position: relative;
    margin-right: -3px;
}

.email_message_list_folders label {
    color: #ffffff;
    background-color: #222d32;
    margin: 0;
    padding: 8px 10px;
    font-size: .9em;
    font-weight: normal;
    cursor: pointer;
    border-top-left-radius: 3px;
    border-top-right-radius: 3px;
    margin-bottom: -1px;
    border-bottom: 1px solid #dbdee2;
 }

.email_message_list_folders .list-inline {
    margin-left: 0;
}

.email_message_list_folders input[type="radio"]:checked + label {
    color: #13191c;
    font-weight: bold;
    background-color: #fff;
    z-index: 2;
    border-top: 1px solid #dbdee2;
    border-left: 1px solid #dbdee2;
    border-right: 1px solid #dbdee2;
    border-bottom: 1px solid #fff;
}

.email_message_list_folders input[type="radio"] {
    margin: 0;
    padding: 0;
    -webkit-appearance: none;
    -moz-appearance: none;
}

.email_message_list_folders .li_Sent label {
    padding-left: 30px;
}

.email_message_list_folders .li_Sent label::before {
    font-family: FontAwesome;
    position: absolute;
    top: 8px;
    left: 12px;
}

.email_message_list_folders .li_Sent label::before {
    content: "\f1d8"; 
}

.email_message_list_folders .li_MyClosed {
    float: right;
    margin-right: 0;
}

.email_message_list_searchbar {
    padding-left: 8px;
    padding-bottom: 14px;
    overflow: hidden;
}

.email_message_list_searchbar label {
    overflow: hidden;
}

#panel_list_wrapper_Soql_EmailMessage .formtitle h4 {
    display: none;
}

#panel_list_wrapper_Soql_EmailMessage .list_panel .btn-search,
#panel_list_wrapper_Soql_EmailMessage .list_panel .btn-default {
    background: none;
    border-color: #ddd;
}

@media only screen and (max-width: 768px) {
    .email_message_list_folders li {
        width: 49%;
        margin: 1px 0;
        box-sizing: border-box;
    }

    .email_message_list_folders label {
        width: 97%;
        border-radius: unset;
        box-sizing: border-box;
        border: none;
    }

    .email_message_list_folders input[type="radio"]:checked + label {
        border: none;
    }

    .msg_list_button_group {
        width: 100%;
    }

    .new_email_button {
        width: 100%;
        margin: 2px 0;
        box-sizing: border-box;
    }

    .email_message_list_folders .li_MyClosed {
        float: left;
    }

    .email_message_list_folders ul {
        border: none;
    }

    .grid_conversation .k-grid-pager .k-pager-numbers + .k-link,
    #Master_Soql_EmailMessage_theList .k-grid-pager .k-pager-numbers + .k-link {
        margin-left: 4.9em;
    }
}

/* message details */
.email_message_details_header .formtitle {
    padding-left: 44px !important;
    margin-left: 12px;
}

.msg_top_left_box .msg_from {
    font-size: 1.3em;
    margin-bottom: 6px;
    margin-top: 36px;
    font-weight: bold;
    overflow-wrap: break-word;
}

.msg_top_left_box .msg_to {
    font-size: 0.9em;
    margin-bottom: 0;
}

.msg_top_left_box div {
    margin: 0;
    padding: 0;
}

.msg_details_folder_name {
    background-color: #222d32;
    margin-left: 3px;
}

.msg_top_left_box .msg_date {
    color: #545454;
    font-size: 0.9em;
    text-align: right;
    margin-bottom: 5px;
}

.msg_top_left_box .msg_details_statusAndParent {
    margin-bottom: 8px;
    line-height: 1.6em;
}

.msg_top_left_box .msg_details_statusAndParent .label {
    font-size: 0.8em;
 }

.email_message_details_header .box, .email_message_details_header .box-header {
    box-shadow: none;
    border: none;
    padding: 0;
}

.msg_top_left_box {
    padding: 10px 10px 16px 10px;
    margin: 8px 10px 10px 16px;
    border: 1px solid #ccc;
    border-radius: 3px;
}

.msg_status_2901 {
    background-color: orange;
}

.msg_status_2907 {
    background-color: crimson;
}

.msg_status_2902,
.msg_status_2903,
.msg_status_2904 {
    background-color: darkgrey;
}

.msg_status_2906 {
    background-color: yellow;
}

.msg_status_2905 {
    background-color: deepskyblue;
}

.msg_subject {
    font-weight: bold;
    padding-left: 16px;
}

.msg_subject .fa-exclamation {
    color: crimson;
}

.email_message_details_header .k-button {
    border-color: #222d32;
    color: #fff;
    background-color: #222d32;
    border-radius: 4px;
}

.custom_fa_button {
    padding-left: 30px;
    position: relative;
}

.custom_fa_button::before {
    font-family: FontAwesome;
    position: absolute;
    top: 5px;
    left: 10px;
}

.msg_reply_button::before {
    content: "\f112"; 
}

.msg_move_to_button::before {
    content: "\f07b";
}

.msg_attach_button::before {
    content: "\f067";
}

.msg_print_button::before {
    content: "\f02f";
}

.msg_mark_as_read_button::before {
    content: "\f0e0";
}

.msg_more_actions_button {
    padding-left: 20px;
}

.msg_more_actions_button::before {
    content: "\f142";
}

.msg_details_assignee_group {
    margin-top: 8px;
    font-size: 0.9em;
}

.msg_details_tags {
    overflow: hidden;
    padding-bottom: 1px;
}

.msg_details_parent {
    background-color: #545454;
}

.msg_details_parent a {
    cursor: pointer;
    color: #fff;
}

.msg_details_tags .k-multiselect .k-button {
    background-color: #222d32;
    border: 1px solid #222d32;
}

.email_message_details_header .save_button button {
    background-color: #00c0ef;
    border-color: #00c0ef;
    color: #ffffff;
}

.attachment_thumbnails {
    padding-top: 1em;
}

.attachment_thumbnails .thumbnail .caption {
    padding-left: 4px;
    padding-right: 4px;
    font-size: .8em;
}

.attachment_thumbnails .img-thumbnail {
    max-width: 92%;
}

.attachment_thumbnails .thumbnail {
    background-color: #1b1b1b;
    padding: 20px 4px 4px 4px;
    border: none;
    overflow: hidden;
}


.attachment_thumbnails .thumbnail .caption {
    color: #fff;
    text-align: center;
}

.attachment_files_box_wrapper {
    position: relative;
}

.attachment_files_box_wrapper .fa-paperclip {
    position: absolute;
    top: 6px;
    left: 0;
    font-size: 1.5em;
    color: #a1a1a1;
}

.attachment_files_box {
    margin-top: 15px;
    padding-left: 16px;
}

.attachment_files_box .k-widget {
    box-shadow: none;
}

.attachment_files_box li {
    padding-top: 8px;
    padding-bottom: 8px;
    overflow: hidden;
}

.attachment_files_box .k-filename {
    font-size: .9em;
}

.attachment_files_box .k-file-success .k-progress {
    display:none;
}

.attachment_files_box .k-upload-files {
    padding-bottom: 0;
}

.attachment_files_box .k-dropzone {
    padding: .2em;
}

.editor_wrapper {
    padding-left: 16px;
    padding-right: 20px;
}

.editor_wrapper table.k-editor,
.editor_wrapper .k-editor .k-editable-area .k-content {
    border: none;
    background: none;
}

.editor_wrapper .k-widget {
    box-shadow: none;
}

.editor-wrapper .k-editable-area {
    padding: 5px;
}

.msg_details_history .timeline {
    margin-top: 10px;
}

.msg_details_history .time-label {
    font-size: .9em;
}

.msg_details_conversation .timeline {
    margin-top: 1em;
    margin-bottom: 1em;
    box-shadow: none;
    -webkit-box-shadow: none;
}

.msg_details_conversation .timeline-header,
.msg_details_conversation .timeline-body,
.msg_details_conversation .time-label {
    font-size: .9em;
    line-height: 1.2em;
}

.msg_details_conversation .timeline > li > .timeline-item,
.msg_details .timeline > li {
    -webkit-box-shadow: none;
    box-shadow: none;
}

.msg_details_conversation .time-label span {
    background-color: #222d32;
    color: #fff;
}

.msg_details_conversation .email_reference,
.activity_history .email_reference {
    float: right;
}

.email_reference a.entityref2,
.activity_history .email_reference {
    cursor: pointer;
}

.msg_details_conversation .timeline_from {
    font-weight: bold;
    margin-right: 5px;
    font-size: .9em;
}

.msg_details_conversation .timeline_subject {
    margin-right: 5px;
    font-size: .9em;
}

.msg_details_conversation .time {
    margin-right: 5px;
}

.msg_details_conversation table,
.msg_details_conversation table tr td,
.msg_details_conversation table tr.k-alt,
.msg_details_conversation .k-grid,
.msg_details_conversation .k-pager-wrap,
.msg_details_conversation table th.k-header,
.msg_details_conversation table thead {
    border: none;
    background-color: transparent;
}

.msg_details_conversation table tr td {
    position: relative;
}

.msg_details_conversation table .timeline-item {
    margin-left: 50px;
}

.msg_details_conversation table .time-label span {
    padding: 5px;
    border-radius: 4px;
    font-weight: bold;
}

.msg_details_conversation table .timeline-header {
    font-size: 1em;
    line-height: 1.2em;
}

.msg_details_conversation table .timeline-body {
    font-size: .9em;
    line-height: 1.1em;
}

.msg_details_conversation .email_reference {
    font-size: 12px;
}

.grid_conversation .k-pager-wrap {
    box-shadow: none;
    font-size: 13px;
    background-color: #fff;
    padding-top: 10px;
}

.grid_conversation .timeline:before {
    bottom: 7px;
    margin-left: 7px;
    top: 5px;
    border-radius: unset;
}

.grid_conversation .timeline-header {
    margin: 0;
    color: #555;
    border-bottom: 1px solid #f4f4f4;
    padding: 10px;
    font-size: 16px;
    line-height: 1.1
}

.grid_conversation .time-label {
    padding-top: 5px;
}
.grid_conversation .time-label,
.grid_conversation .timeline-item {
    position: relative;
    margin-right: 10px;
    margin-bottom: 15px;
}

.grid_conversation .timeline-body, 
.grid_conversation .timeline-footer {
    padding: 10px;
}

.grid_conversation tr:hover,
.grid_conversation td:hover {
    background: transparent !important;
}

.grid_conversation .k-grid-pager {
    border: none;
    -webkit-box-shadow: none;
    box-shadow: none;
}

.grid_conversation .k-grid-pager .k-link,
#Master_Soql_EmailMessage_theList .k-grid-pager .k-link {
    margin: 0 2px;
    border: 1px solid #ccc;
    border-radius: 3px;
    color: #ccc;
    text-align: center;
}

.grid_conversation .k-grid-pager .k-state-disabled,
#Master_Soql_EmailMessage_theList .k-grid-pager .k-state-disabled{
    color: #eee;
    border-color: #eee;
}

.grid_conversation .k-grid-pager .k-state-selected,
#Master_Soql_EmailMessage_theList .k-grid-pager .k-state-selected {
    background-color: #00A0C9 !important;
    border-color: #00A0C9;
    color: #fff;
    border-radius: 3px;
    font-style: normal;
    margin: 0 2px;
} 


    .email_message_details_header .k-button {
        margin: 2px 0;
    }

    .msg_top_left_box .msg_date {
        text-align: left;
        margin-top: 5px;
    }

    .msg_subject {
        padding-left: 2px;
    }

    .msg_top_left_box {
        margin-left: 2px;
        margin-right: 2px;
    }

    .attachment_thumbnails .img-thumbnail {
        max-width: 87%;
    }

    .msg_details_conversation .timeline:before {
        background: transparent;
    }

    .msg_details_conversation .timeline > li {
        margin-right: 0;
        margin-left: 0;
    }

    .msg_details_conversation .timeline > li > .timeline-item {
        margin-left: 0;
        margin-right: 0;
    }

/* message action windows */
.new_email_box .msg_body_box {
    margin-top: 10px;
}

.new_email_box .attachment_files_box_wrapper {
    margin-top: 10px;
}

.new_email_box .required .k-editor-toolbar-wrap .k-picker-wrap,
.new_email_box input.required,
.new_email_box table.k-editor.required,
.new_email_box span.required.k-dropdown .k-dropdown-wrap,
.email_msg_edit_box span.required.k-dropdown .k-dropdown-wrap {
    border-color: #ccc;
}

.email_msg_edit_box .k-combobox .k-dropdown-wrap,
.email_msg_edit_box .k-dropdown-wrap {
    height: 2.2em;
}

.email_msg_edit_box .btn-toolbar button {
    margin-right: 4px;
    border-radius: 3px;
}

.new_email_box .btn-primary,
.email_msg_edit_box .btn-primary {
    border: none;
    color: #fff;
    background-color: #3c8dbc;
    border: 1px solid #3c8dbc;
}

.new_email_box .btn-group > .btn-group:first-child:not(:last-child) > .btn:last-child,
.new_email_box .btn-group > .btn-group:first-child:not(:last-child) > .dropdown-toggle,
.new_email_box .btn-group > .btn:first-child:not(:last-child):not(.dropdown-toggle),
.email_msg_edit_box .btn-group > .btn-group:first-child:not(:last-child) > .btn:last-child,
.email_msg_edit_box .btn-group > .btn-group:first-child:not(:last-child) > .dropdown-toggle,
.email_msg_edit_box .btn-group > .btn:first-child:not(:last-child):not(.dropdown-toggle) {
    border-radius: 3px;
}

.new_email_box .btn-toolbar,
.email_msg_edit_box  .btn-toolbar {
    padding-left: 0 !important;
}

.new_email_box label {
    text-align: right;
}

.new_email_to_col,
.new_email_cc_col,
.new_email_bcc_col,
.new_email_subject_col {
    text-align: right;
}

@media only screen and (max-width: 768px) {
    .new_email_to_col,
    .new_email_cc_col,
    .new_email_bcc_col,
    .new_email_subject_col {
        text-align: left;
    }
}

@media print {
    #panel_list_wrapper_Soql_EmailMessage .list_filter_panel, #panel_list_wrapper_Soql_EmailMessage .list_panel .btn-toolbar, #Master_Soql_EmailMessage_theList .k-pager-wrap .k-link {
        display: none;
    }

    #panel_list_wrapper_Soql_EmailMessage .list_panel {
        border: none;
    }

    #Master_Soql_EmailMessage_theList {
        font-size: 0.7em;
    }
}

tr.line1 {

}

tr.line1:hover{
    cursor: pointer;
}

tr > td > a.entityref2:hover{
    cursor: pointer;
    text-decoration: underline;
}

.email_row {
    margin: 2px;
}

    .email_row .a.entityref2:hover{
        cursor: pointer;
    }

    .email_row .fa-exclamation {
        color: crimson;
    }
    .email_row .msg_unread{
        font-weight: 800;
    }

tr.row_important_sl > td.important_lead_flag span::before {
    font-family: FontAwesome;
    content: "\f024";
    color: crimson;
}

.nav-pills > li.active > a, .nav-pills > li.active > a:hover {
    background-color: #444 !important;
    border-top-color: #444 !important;
    color: #fff;
}

.nav-pills > li > a:hover {
    border-top-color: #444 !important;
}

.info-box-text > a {
    color: #444;
}

.info-box-text > a:hover {
    text-decoration: underline;
}

.label-black {
    background-color: #444 !important;
}
