/* CSSTerm.com Simple CSS menu */

.bdfirst-of-type ul {
    margin: 0; 
    padding: 0;
    width:130px;
    list-style-type: none;
}

.bdfirst-of-type ul li a {
    text-decoration: none;
    color: white; 
    padding: 10.5px 11px;
    background-color:  #0351A5;
    display:block;
    font-size: 12px
}
 
.bdfirst-of-type ul li a:visited {
    color: white;
}
 
.bdfirst-of-type ul li a:hover, .bdfirst-of-type ul li .current {
    color: white;
    background-color: #5076A0;
}





.ewGridMiddlePanel table { border-collapse: collapse; text-align: left; width: 100%; } 
.ewGridMiddlePanel {font: normal 12px/150% Arial, Helvetica, sans-serif; background: #fff; overflow: hidden; border: 1px solid #8C8C8C; -webkit-border-radius: 3px; -moz-border-radius: 3px; border-radius: 3px; }
.ewGridMiddlePanel table td, 
.ewGridMiddlePanel table th { padding: 3px 10px; }
.ewGridMiddlePanel table thead th {background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #8C8C8C), color-stop(1, #7D7D7D) );background:-moz-linear-gradient( center top, #8C8C8C 5%, #7D7D7D 100% );filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#8C8C8C', endColorstr='#7D7D7D');background-color:#8C8C8C; color:#FFFFFF; font-size: 15px; font-weight: bold; border-left: 1px solid #A3A3A3; } 
.ewGridMiddlePanel table thead th:first-child { border: none; }
.ewGridMiddlePanel table tbody td { color: #292222; border-left: 1px solid #DBDBDB;font-size: 12px;font-weight: normal; }
.ewGridMiddlePanel table tbody .alt td { background: #EBEBEB; color: #7D7D7D; }
.ewGridMiddlePanel table tbody td:first-child { border-left: none; }
.ewGridMiddlePanel table tbody tr:last-child td { border-bottom: none; }
.ewGridMiddlePanel table tfoot td div { border-top: 1px solid #8C8C8C;background: #EBEBEB;} 
.ewGridMiddlePanel table tfoot td { padding: 0; font-size: 12px } 
.ewGridMiddlePanel table tfoot td div{ padding: 2px; }
.ewGridMiddlePanel table tfoot td ul { margin: 0; padding:0; list-style: none; text-align: right; }
.ewGridMiddlePanel table tfoot  li { display: inline; }
.ewGridMiddlePanel table tfoot li a { text-decoration: none; display: inline-block;  padding: 2px 8px; margin: 1px;color: #F5F5F5;border: 1px solid #8C8C8C;-webkit-border-radius: 3px; -moz-border-radius: 3px; border-radius: 3px; background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #8C8C8C), color-stop(1, #7D7D7D) );background:-moz-linear-gradient( center top, #8C8C8C 5%, #7D7D7D 100% );filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#8C8C8C', endColorstr='#7D7D7D');background-color:#8C8C8C; }
.ewGridMiddlePanel table tfoot ul.active, 
.ewGridMiddlePanel table tfoot ul a:hover { text-decoration: none;border-color: #7D7D7D; color: #F5F5F5; background: none; background-color:#8C8C8C;}div.dhtmlx_window_active, div.dhx_modal_cover_dv { position: fixed !important; }

.ewRowLink {
    position: relative;
}

.ewRowLink {
  border-top: 1px solid #96d1f8;
  
  background: #3e779d;
  
  background: -moz-linear-gradient(top,  #65a9d7,  #3e779d);
  
  padding: 1px 15px;
  
  -webkit-border-radius: 6px;
  -moz-border-radius: 6px;
  border-radius: 6px;
  
  -webkit-box-shadow: black 0 1px 0;
  -moz-box-shadow: black 0 1px 0;
  box-shadow: black 0 1px 0;
  
  text-shadow: rgba(0,0,0,.4) 0 1px 0;
  
  color: white;
  font-size: 14px;
  text-decoration: none; 
  vertical-align: middle;
}
.ewRowLink:hover {
    border-top-color: #28597a;
  background: #28597a;
    color: #ccc; 
}
.ewRowLink:active {
    border-top-color: #1b435e;
  background: #1b435e;
  outline: 0;
}
