/* Grid Styles -----------------------------------------------------------------------------------*/
.grid
{
    width:100%;
    border: 1px dotted #888;
    padding-top:3px;
    padding-right:0px;
    padding-left:0px;
    padding-bottom:3px;
    border-spacing: 3px 0px;
}

.gridcustom
{
    width:100%;
    background-color: #FBFBFB;
}
.k-widget.k-grid.k-display-block{
    overflow: hidden;
}
table.gridcustom 
{
    /*border-style: solid;
    border-bottom-style: none;  
    border-width: 1px;
    border-color: #037193;*/
}

.t-widget {
    border-style: none;
}

.k-grid {
    border-collapse: collapse;
}

.t-grid .t-status-text {
    margin: 0;
    line-height:35px;
    height:35px;
}

 .t-grid .t-grid-pager 
 {
    margin: 0;
    padding: 0;
    line-height: normal;
	height:36px;
	background:url(../../../Images/UIv2/section-footer-bg.jpg) repeat-x;
}

.t-grid td.t-hierarchy-cell a.t-icon {
    background-image: url(../../../Images/UIv2/expand-button-sprite.png);
    height: 20px;
    width: 20px;
}

.t-grid td.t-hierarchy-cell a.t-plus,
.t-grid td.t-hierarchy-cell a.t-plus-disabled {
    background-position: 0px 0px;
}

.t-grid td.t-hierarchy-cell a.t-minus,
.t-grid td.t-hierarchy-cell a.t-minus-disabled {
    background-position: -20px 0px;
}

.gridcustom .k-alt 
{
    background-color:#D0EDFB;
}

.gridcustom tbody tr:hover {
    background-color:#aed1e1;
    cursor: pointer;
}

.gridcustom th.k-header .k-link:hover
{
    background-color: transparent;
    background-image: url(../../../Images/UIv2/thsp.png);
}

.t-header, .t-header .t-link {
    color:#3c404b;
}


.gridcustom .k-grid-header .k-header .k-link
{
    padding-left: 13px;
}

.gridcustom .k-filter-row th, .gridcustom .k-grid-header th.k-header{
    border: none;
}

.gridcustom thead th {
	font-size:14px;
	padding:10px 15px;
	background: #d5edfa;
	border:none;
}
.gridcustom tr {
    border-bottom: 1px solid #ebebeb;
	color:#505050;
}

.gridcustom td {
	line-height:18px;
	padding:10px 10px 10px 11px;
	border:none;
	font-size: 14px;
}

.gridcustom a:not(.hhbutton):not(.hhgridbutton):not(.integrationWeeklyLogErrors):not(.internalServiceWeeklyLogErrors):not(.k-link) {
    font-weight: bold;
    color: #037193;
    text-decoration: none;
}

.gridcustom td a.integrationWeeklyLogErrors {
    font-weight:bold;
    color:red;
    text-decoration:none;
}

.gridcustom td a.internalServiceWeeklyLogErrors {
    font-weight: bold;
    color: red;
    text-decoration: none;
}

.gridcustom td p.ccdaImportErrors {
    font-weight: bold;
    color: red;
    text-decoration: none;
}

a.hhgridbutton
{
    line-height: 10px;
    text-decoration: none;
	-webkit-appearance:none;
	color:#938583;
    padding: 6px 18px;  /*7px 30px;*/
	font-weight:bold;
	border-top:none;
	border-right:none;
	border-left:none;
	border-bottom:1px solid #b7b7b7;
    background: #e3e3e3;
    background:-moz-linear-gradient(top, #fbfbfb, #e3e3e3);
    background:-ms-linear-gradient(top, #fbfbfb, #e3e3e3);
    background:-o-linear-gradient(top, #fbfbfb, #e3e3e3);
	background:-webkit-gradient(linear, left top, left bottom, from(#fbfbfb), to(#e3e3e3));
	-moz-border-radius: 4px; 
	-webkit-border-radius: 4px; 
	border-radius: 4px;         
	-moz-background-clip: padding; 
	-webkit-background-clip: padding-box; 
	background-clip: padding-box;
	-moz-box-shadow: 1px 0px 0px #b7b7b7, 0px 1px 0px #b7b7b7, -1px 0px 0px #b7b7b7, 0px -1px 0px #b7b7b7; 
	-webkit-box-shadow: 1px 0px 0px #b7b7b7, 0px 1px 0px #b7b7b7, -1px 0px 0px #b7b7b7, 0px -1px 0px #b7b7b7; 
	box-shadow: 1px 0px 0px #b7b7b7, 0px 1px 0px #b7b7b7, -1px 0px 0px #b7b7b7, 0px -1px 0px #b7b7b7;
    margin: 0 0 0 5px;
    white-space: nowrap;
    display: inline-block;
}

a.hhgridbutton:hover {
	color:#037193;
}

.gridcustom td span.date {
	padding-right:10px;
}

.gridcustom .grid tr:nth-child(even) {
	background:#e7f6fd;
}


.gridcustom tr.k-state-selected {
    background-image: none;
    background-color: #aed1e1 !important;
}

.gridcustom .k-filter-row th, .gridcustom .k-grid-header th.k-header{
    padding-left: 0;
}
.k-pager-numbers .k-state-selected {
    background-image: none,linear-gradient(to bottom,#004258 0,#037193 100%);
    background-color: #004258;
    border-color: #004258;
    color: white;   
}

.grid tr:nth-child(odd) {
	background:#FFF;
}

h4.col-table-title {
	line-height:22px;
	color:#fff;
}

table.col-table td img {
	display:none;
}

table.col-table td {
	padding:5px 5px 5px 10px;
	vertical-align:middle;
}

table.col-table td:hover img {
	display:inline-block;
	cursor:pointer;
	float:right;
}

.k-grid input.number-field {
    width: 50px;
}

.k-grid span.k-datepicker {
    width: 120px;
}

/* Pager */
.t-grid .t-pager {
    font-weight: bold;
}

div.pagination {
	padding:7px 0 0 25px;
	overflow:hidden;
	color:#3c404b;
	font-weight:bold;
}

ul#pager {
	height:24px;
}

ul#pager li,
.t-pager .t-page-i-of-n {
	display:inline;
}

ul#pager li.info,
.t-pager .t-page-i-of-n {
	float:left;
	margin-right:5px;
}

ul#pager li.pager-current.button {
	float:left;
	height:24px;
	width:24px;
	margin-right:10px;
	line-height:24px;
	text-align:center;
	background:url(../../../Images/UIv2/pager-button-sprite.png) -48px 0;
}

ul#pager li a, .t-pager .t-link{
	cursor:pointer;
}

ul#pager li a, .t-pager .t-link{
	float:left;
	outline:none;
	overflow:hidden;
	margin-right:10px;
	width:24px;
	height:24px;
	margin-top:5px;
}

.t-arrow-first, .t-arrow-last, .t-arrow-prev, .t-arrow-next, .t-grid-pager .t-page-i-of-n input {
    background-image:url(../../../Images/UIv2/pager-button-sprite.png);
	background-repeat:no-repeat;
	width: 24px;
    height: 24px;
}

.k-pager-input input{
    text-align: center;
}

.t-grid-pager .t-page-i-of-n{
    outline:none;
	overflow:hidden;
	margin-right:10px;
	height:24px;
	margin-top:5px;
    vertical-align: middle;
}

ul#pager li.info {
	line-height:24px;
	margin-right:10px;
}

ul#pager li.pager-first a,
.t-arrow-first,
.t-state-disabled .t-arrow-first {
	background-position:0 0;
}

ul#pager li.pager-prev a,
.t-arrow-prev,
.t-state-disabled .t-arrow-prev {
	background-position:-24px 0;
}

ul#pager li.pager-next a,
.t-arrow-next,
.t-state-disabled .t-arrow-next {
	background-position:-72px 0;
}

ul#pager li.pager-last a,
.t-arrow-last,
.t-state-disabled .t-arrow-last {
	background-position:-96px 0;
}

ul#pager li.pager-first a:hover,
.t-state-hover .t-arrow-first {
	background-position:0 -24px;
}

ul#pager li.pager-prev a:hover,
.t-state-hover .t-arrow-prev {
	background-position:-24px -24px;
}

ul#pager li.pager-current a:hover,
.t-page-i-of-n input {
	background-position:-48px -24px;
}

ul#pager li.pager-next a:hover,
.t-state-hover .t-arrow-next {
	background-position:-72px -24px;
}

ul#pager li.pager-last a:hover,
.t-state-hover .t-arrow-last
{
	background-position:-96px -24px;
}

.t-state-hover:hover
{
    border-color: transparent;
    background-color: transparent;
}

.t-widget .t-status {
    color:#037193;
	border-left:1px solid #d9d6d6;
	border-top:1px solid #d9d6d6;
	border-bottom-right-radius:5px;
    padding: 8px 8px 12px 13px;
	background:url(../../../Images/UIv2/section-footer-details-bg.jpg) 0 1px repeat-x;
    height: 17px;
}

.k-grid-header .k-header .k-link {
    padding-right: 16px;
}

.k-grid-header .k-header .k-link {
    height: auto;
}
/*---------*/
.t-filter-options input[type="text"] {
    width: 125px;
}

tr.lightGray-item, .gridcustom .lightGray-item, tr.k-alt.lightGray-item.readonly-item {
    background-color: #D3D3D3;
}

tr.gray-item, .gridcustom .gray-item, tr.k-alt.gray-item.readonly-item {
    background-color: #C8C8C8;
}

/* Styles for grid invalid item highlighting ---------------------------------------------*/
tr.invalid-item, .gridcustom .invalid-item, tr.k-alt.invalid-item.readonly-item
{
	background-color: #ffe0e0;
	color: #f00;
}

tr.expired-item, .expired-item
{
	color: #f00;
}

a.invalid-item, li.invalid-item
{
	color: #f00;
}

tr.warning-item, .gridcustom .warning-item
{
	background-color: #f39c12;
}

tr.is-generic-item, .gridcustom .is-generic-item
{
	/*background-color: #E8B400;*/
}

a.is-generic-item, li.is-generic-item
{
	/*color: #E8B400;*/
}

tr.is-associated-item, .gridcustom .is-associated-item
{
	background-color: #CCCCCC;
}

a.is-associated-item, li.is-associated-item
{
	color: #CCCCCC;
}

table.gridWrapper {
    border: 0px;
    padding: 0px;
    width: 100%;
}

tr.readonly-item,  tr.readonly-item.k-state-selected{ 
    background-color: #dcdcdc;
    color: #4B4B4B;
}

tr.invalid-item.k-state-selected {
    background-color: #dcdcdc;
    color: #f00;
}

tr.k-alt.readonly-item {
    background-color: #cbcbcb;
    color: #4B4B4B;
}

tr.readonly-item:hover td, tr.k-alt.readonly-item:hover td{
    background-color: #b0b0b0;
    cursor: default;
}

.readonly-item-pointer tr.readonly-item:hover td, .readonly-item-pointer tr.k-alt.readonly-item:hover td {
    cursor: pointer;
}

tr.grid-item-bold-red td{
    font-weight: bold;
    color: #FF5959;
}

tr.grid-item-italic-grey td{
    font-style: italic;
    color: #737373;
}

tr.grid-item-italic-red td {
    font-style: italic;
    color: #f00;
}

/* Grouping */
.t-group-cell {
    display: none;
}

/* Row Templates */
.grid-row-template
{
    display:block;
}
        
.grid-row-template:after
{
    content:"";
    display:block;
    clear:both;
}
        
.grid-row-template dl,
.grid-row-template dt,
.grid-row-template dd
{
    margin:0;
    padding:0;
}
        
.grid-row-template dt
{
    margin-right: 5px; 
    float: left;
}
        
.grid-row-template img,
.grid-row-template h3,
.grid-row-template dl,
.commands
{
    float:left;
    clear:none;
    margin:0 14px 0 0;
}
.grid-row-template h3,
.grid-row-template dl
{
    width:200px;
    border-width:0 1px 0 0;
    background-color:transparent;
    color:inherit;
}
        
.grid-row-template h3
{
    width:90px;
    padding:0;
    font-size:1.5em;
    padding-right:20px;
}
        
.grid-row-template dt
{
    font-weight:bold;
}
/* End Row Templates */

td.k-state-focused {
    box-shadow: none;
    -webkit-box-shadow: none;
}

/* plain Grid */

.plaingrid .k-header, .plaingrid .k-grid-header {
    background: #fff;
    border-style: none;
    margin: 0;
    font-weight: bold;
}

.k-grid .plaingrid td {
    border: 0;
}

.plaingrid th:first-child {
    padding-left: 5px;
}

.plaingrid th input:first-child {
    margin-left: 3px;
}

.appointment-summary-page .k-grid {
    border: 0;
}

.medlinePlusIcon {
    width: 20px;
    padding: 7px;
}

.openInfoButtonIcon {
    width: 24px;
    padding: 5px;
}

.infoButton {
    width: 25px;
    padding: 2px 0px 0px 2px;
}

.cdsButton {
    width: 25px;
    padding: 7px;
}


.imageViewer {
    width: 25px;
    padding: 4px;
}

.quickLinks {
    width: 21px;
    padding: 2px;
}

.infoButtonSummary {
    width: 20px;
    padding: 1px;
    margin-left: 5px;
}

/* plain Grid */

/* in-line Grid*/
  .abutton,
    div.k-grid .k-grid-edit,
    div.k-grid .k-grid-delete,
    div.k-grid .k-grid-cancel,
    div.k-grid .k-grid-update  {
        display:inline-block;
        width:16px;
        height:16px;
        text-align:center;
        text-indent:-444px;
        min-width:0;
        border:0;
    }

    div.k-grid .k-grid-edit {
        background: url(../../../Images/Design/edit.png);
        width: 20px;
        height: 20px;
    }

    div.k-grid .k-grid-delete {
        background: url(../../../Images/Design/appCanceled.png);
    }

    div.k-grid .k-grid-cancel {
        background: url(../../../Images/Design/appCanceled.png);
    }

    div.k-grid .k-grid-update {
        background: url(../../../Images/Design/app.png);
    }

    .abutton.delete {
        background: url(../../../Images/Design/appCanceled.png);
    }

    .abutton.edit {
       background: url(../../../Images/Design/edit.png);
    }

    .abutton.update {
        background: url(../../../Images/Design/app.png);
    }

    .abutton.cancel {
        background: url(../../../Images/Design/appCanceled.png);
    }

/*in-line Grid*/


/* Tooltip in Grid */

/*Commenting wrongly placed CSS*/
/*.k-widget.k-tooltip {
    border-color: #006080;
    background-color: #037092;
    color: #fff;
}*/

.k-callout-e {
    border-left-color: #006080;
}

.k-grid div.searchTooltip {
    background: url(../../../Images/Design/tooltipsearch.png) no-repeat;
    width: 20px;
    height: 23px;
}

/* excel toolbar*/
.k-grid-toolbar {
    background: #037193;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#004258', endColorstr='#037193'); 
    background:-moz-linear-gradient(center top, #004258, #037193);
    background:-ms-linear-gradient(center top, #004258, #037193);
    background:-o-linear-gradient(center top, #004258, #037193);
	background:-webkit-gradient(linear, center top, center bottom, from(#004258), to(#037193));
}

.k-grid-toolbar .k-grid-excel {
    margin: 5px 20px;
}

.k-grid-toolbar .k-grid-excel .k-i-excel, .k-grid-toolbar .k-grid-excel:hover .k-i-excel{
    background-image: url("../../../Images/excel_icon.png");
    background-position: 0 0;
    opacity: 1;
}

.noClientFooter .k-footer-template {
    display: none;
}

/* grid tabs */
.gridTabs {
    margin-top: 15px;
    width: 100%;
    table-layout: fixed;
    border-collapse: collapse;
}
.gridTabs td {
    padding: 0 2px;
}

.gridTabs td > div {
    border: 1px solid #037193;
    border-bottom: none;
    width: 100%;
    height: 30px;
    line-height: 30px;
    box-sizing: border-box;
    padding: 0 3px;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    background: linear-gradient(#aeaeae, #d3d3d3);
    text-align: center;
    font-size: 14px;
    font-weight: bold;
    color: #3C404B;
    cursor: pointer;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.gridTabs td:first-child {
    padding-left: 0;
}

.gridTabs td:last-child {
    padding-right: 0;
}

.gridTabs td:not(.active) div:hover {
    background: #d3d3d3;
}

.gridTabs td.active div {
    background: linear-gradient(#037092, #004359);
    color: #fff;
    text-shadow: 0 1px 1px #013140;
}

.gridTabs + .section {
    border-top:1px solid #037193;
}
/* grid tabs end;*/

.bdhScrollable div.k-grid-header{
    background: #d5edfa;
    z-index: 1;
    position: relative;
    box-shadow: 0 -1px 4px 1.5px rgba(0, 0, 0, 0.359);
}

:not(.k-virtual-scrollable-wrap) > .gridcustom tbody tr:first-child {
    box-shadow: inset 0px 3px 4px -1.5px rgba(0, 0, 0, 0.359);
}

.k-grid-header th.k-header>span.k-link {
    overflow:visible;
}

span.medication-end-date-in-past {
    color: #FFA500;
    font-weight: bold
}