.grid_main {
    background: white;
    border-radius: 5px;
}
.grid_main, .grid_main td {
    font-family: Open Sans;
    font-size: 14px;
}
.grid_corner {
}
.grid_corner > div:nth-of-type(2) {
    display: none;
}
.grid_corner_inner {
    padding: 12px 16px;
    font-size: .9em;
    color: #888;
}

.grid_rowheader {
    color: #333333;
}
.grid_rowheader_inner, .grid_corner > div > div {
    margin-top: 12px;
    padding-left: 16px;
    cursor: pointer;
    /*border-left:solid 5px grey;*/
}
.grid_rowheader_inner::before {
	position: absolute;
	top: 12px;
	left: 0px;
	width: 13px;
	padding: 2px 0px;
	font-size: 10px;
	font-weight: bold;
	color: white;
	background: #999;
	text-align: center;
	border-radius: 0 4px 4px 0;
}
.bold {
	font-weight: bold;
}
.a > .grid_rowheader_inner::before {content: 'A';}
.b > .grid_rowheader_inner::before {content: 'B';}
.c > .grid_rowheader_inner::before {content: 'C';}
.d > .grid_rowheader_inner::before {content: 'D';}
.e > .grid_rowheader_inner::before {content: 'E';}
.f > .grid_rowheader_inner::before {content: 'F';}
.g > .grid_rowheader_inner::before {content: 'G';}
.h > .grid_rowheader_inner::before {content: 'H';}
.i > .grid_rowheader_inner::before {content: 'I';}
.j > .grid_rowheader_inner::before {content: 'J';}
.k > .grid_rowheader_inner::before {content: 'K';}
.l > .grid_rowheader_inner::before {content: 'L';}
.m > .grid_rowheader_inner::before {content: 'M';}
.n > .grid_rowheader_inner::before {content: 'N';}
.o > .grid_rowheader_inner::before {content: 'O';}
.p > .grid_rowheader_inner::before {content: 'P';}
.q > .grid_rowheader_inner::before {content: 'Q';}
.r > .grid_rowheader_inner::before {content: 'R';}
.s > .grid_rowheader_inner::before {content: 'S';}
.t > .grid_rowheader_inner::before {content: 'T';}
.u > .grid_rowheader_inner::before {content: 'U';}
.v > .grid_rowheader_inner::before {content: 'V';}
.x > .grid_rowheader_inner::before {content: 'X';}
.y > .grid_rowheader_inner::before {content: 'Y';}
.z > .grid_rowheader_inner::before {content: 'Z';}


.blue > .grid_rowheader_inner::before {background: #5A4A9C;}
.green > .grid_rowheader_inner::before {background: #51A338;}
.yellow > .grid_rowheader_inner::before {background: #f6a509;}

.grid_rowheader_inner::after {
	position: absolute;
	top: 0px;
	right: 3px;
	font-size: 14px;
	opacity: .5;
}
.panorama > .grid_rowheader_inner::after {content: '●';}


.grid_cell.header {
	box-sizing: border-box;
	padding: 5px;
	color: #333333;
	text-align: center;
}
.grid_cell.header > span {
	display: block;
	margin: 4px 0;
}
.grid_cell.header > small {
	display:block;
	opacity: .5;
}
.grid_cell.header > small > b {
	color: #000;
}


.grid_cell.delete::before {
	position: absolute;
	z-index: 1;
	content: '✕';
	color: white;
	width: 32px;
	height: 32px;
	display: flex;
	justify-content: center;
	align-items: center;
	border-radius: 50%;
	background: #f44336;
}


/*.grid_timeheadergroup, .grid_timeheadercol {*/
/*    color: #333333;*/
/*    text-align: center;*/
/*}*/
/*.grid_timeheadergroup_inner, .grid_timeheadercol_inner {*/
/*    position: absolute;*/
/*    left: 0px;*/
/*    right: 0px;*/
/*    top: 0px;*/
/*    bottom: 0px;*/
/*    border-right: 1px solid #bbb;*/
/*    padding: 5px;*/
/*}*/
/*.grid_timeheadergroup_inner {*/
/*    border-bottom: 1px solid #bbb;*/
/*}*/
/*.grid_timeheader_float_inner {*/
/*    padding: 5px;*/
/*}*/
/*.grid_timeheadercol_inner > small {*/
/*    display:block;*/
/*    opacity: .5;*/
/*}*/
.today {background: #EDE7F6;}
/*.monthstart {background: #E8F5E9;}*/
.monthstart {background: #DCEDC8;}
.weekend {background: #eee;}
.selected {background: rgba(233, 30, 99, .2);}
/*month {position:absolute; top:-12px;}*/


.grid_matrix_vertical_line, .grid_matrix_horizontal_line {
    background-color: #bbb;
}
.grid_divider, .grid_splitter, .grid_divider_horizontal, .grid_resourcedivider {
    background-color: #bbb;
}


.grid_event {
    overflow: visible !important;
}
.grid_event_inner {
    position: absolute;
    left: 20px;
    right: -20px;
    top: 0px;
    bottom: 0px;
    margin: 0px;
    overflow: hidden;
    padding: 2px;
    padding-top: 12px;
    border: 1px solid #ffffff;
    border-radius: 12px;
    color: white;
    text-align: center;
}
.unconfirmed > .grid_event_inner {background: rgba(246, 165, 9, .6);}
.confirmed > .grid_event_inner {background: rgba(81,163,56, .6);}
.in > .grid_event_inner {background: rgba(90, 74, 156, .6);}
.done > .grid_event_inner {background: rgba(117, 117, 117, .6);}
.overdue > .grid_event_inner {background: rgba(244, 67, 54, .6);}
.unpayed > .grid_event_inner {background: rgba(254, 65, 74, .6);}

.grid_event_inner > marker {
	position: absolute;
	top: 5px;
	right: 5px;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: white;
	opacity: .9;
}

/*.canceled > .grid_event_inner {background: rgba(255, 0, 0, .5);}*/
/*.grid_event_inner > small {*/
/*    display:block;*/
/*    opacity: .8;*/
/*    margin-top:3px;*/
/*    font-size:.8em;*/
/*}*/
/*.grid_event_float_inner {*/
/*	background: red;*/
/*    padding: 12px 2px 2px 7px;*/
/*    color: white;*/
/*}*/
/*.grid_event_float_inner:after {*/
/*    content:"";*/
/*    border-color: transparent white transparent transparent;*/
/*    border-style:solid;*/
/*    border-width:5px;*/
/*    width:0;*/
/*    height:0;*/
/*    position:absolute;*/
/*    top:15px;*/
/*    left:-4px;*/
/*}*/

.grid_shadow {
    overflow: visible !important;
}
.grid_shadow_inner {
    position: absolute;
    left: 20px;
    right: -20px;
    background-color: #666;
    opacity: 0.5;
    filter: alpha(opacity=50);
    height: 100%;
}
.grid_shadow_overlap .grid_shadow_inner, .grid_shadow_forbidden .grid_shadow_inner {
    background-color: red;
}
.grid_event_moving_source {
    opacity: 0.5;
    filter: alpha(opacity=50);
}
.grid_cell:not(.header) {
	box-sizing: border-box;
	padding: 0;
	padding-top: 12px;
	color: #655;
	/*color: white;*/
	text-align: center;
}
.grid_cell > input {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 1;
	box-sizing: border-box;
	width:40px;
	height: 40px;
	border: solid 2px #5A4A9C;
	outline: solid 2px #5A4A9C;
	padding: 1px;
}
.setrate:not(.header) {
	font-weight: bold;
	color: #f00;
}
.disabled {
	background: #e2e2e2;
}



/*.grid_matrix_vertical_break {*/
/*    background-color: #000;*/
/*}*/


/*.grid_cell.grid_cell_business {*/
/*    background: #ffffff;*/
/*}*/

/*.grid_cellparent {*/
/*}*/
/*.grid_columnheader {*/
/*}*/
/*.grid_columnheader_inner {*/
/*    font-weight: bold;*/
/*}*/
/*.grid_columnheader_cell {*/
/*    background: -webkit-gradient(linear, left top, right top, from(#eeeeee), to(#dddddd));*/
/*    background: -moz-linear-gradient(left, #eeeeee 0%, #dddddd);*/
/*    background: -ms-linear-gradient(left, #eeeeee 0%, #dddddd);*/
/*    background: -webkit-linear-gradient(left, #eeeeee 0%, #dddddd);*/
/*    background: linear-gradient(left, #eeeeee 0%, #dddddd);*/
/*    filter: progid:DXImageTransform.Microsoft.gradient(startColorStr="#eeeeee", endColorStr="#dddddd", GradientType=1);*/
/*}*/
/*.grid_columnheader_splitter {*/
/*    background-color: #666;*/
/*    opacity: 0.5;*/
/*    filter: alpha(opacity=50);*/
/*}*/
/*.grid_columnheader_cell_inner {*/
/*    padding: 2px;*/
/*}*/

/*.grid_event_move_left {*/
/*    box-sizing: border-box;*/
/*    padding:2px;*/
/*    border:1px solid #ccc;*/
/*    background:#fff;*/
/*    background: -webkit-gradient(linear, left top, left bottom, from(#ffffff), to(#eeeeee));*/
/*    background: -webkit-linear-gradient(top, #ffffff 0%, #eeeeee);*/
/*    background: -moz-linear-gradient(top, #ffffff 0%, #eeeeee);*/
/*    background: -ms-linear-gradient(top, #ffffff 0%, #eeeeee);*/
/*    background: -o-linear-gradient(top, #ffffff 0%, #eeeeee);*/
/*    background: linear-gradient(top, #ffffff 0%, #eeeeee);*/
/*    filter: progid:DXImageTransform.Microsoft.Gradient(startColorStr="#ffffff", endColorStr="#eeeeee");*/
/*}*/
/*.grid_event_move_right {*/
/*    box-sizing: border-box;*/
/*    padding:2px;*/
/*    border:1px solid #ccc;*/
/*    background:#fff;*/
/*    background: -webkit-gradient(linear, left top, left bottom, from(#ffffff), to(#eeeeee));*/
/*    background: -webkit-linear-gradient(top, #ffffff 0%, #eeeeee);*/
/*    background: -moz-linear-gradient(top, #ffffff 0%, #eeeeee);*/
/*    background: -ms-linear-gradient(top, #ffffff 0%, #eeeeee);*/
/*    background: -o-linear-gradient(top, #ffffff 0%, #eeeeee);*/
/*    background: linear-gradient(top, #ffffff 0%, #eeeeee);*/
/*    filter: progid:DXImageTransform.Microsoft.Gradient(startColorStr="#ffffff", endColorStr="#eeeeee");*/
/*}*/
/*.grid_rowmove_handle {*/
/*    background-repeat: no-repeat;*/
/*    background-position: center center;*/
/*    background-color: #ccc;*/
/*    background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAAKCAYAAACT+/8OAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAAadEVYdFNvZnR3YXJlAFBhaW50Lk5FVCB2My41LjExR/NCNwAAAClJREFUGFdj+P//P4O9vX2Bg4NDP4gNFgBytgPxebgAMsYuQGMz/jMAAFsTZDPYJlDHAAAAAElFTkSuQmCC);*/
/*    cursor: move;*/
/*}*/
/*.grid_rowmove_source {*/
/*    background-color: black;*/
/*    opacity: 0.2;*/
/*}*/
/*.grid_rowmove_position_before, .grid_rowmove_position_after {*/
/*    background-color: #999;*/
/*    height: 2px;*/
/*}*/
/*.grid_rowmove_position_child {*/
/*    margin-left: 10px;*/
/*    background-color: #999;*/
/*    height: 2px;*/
/*}*/
/*.grid_rowmove_position_child:before {*/
/*    content:'+';*/
/*    color: #999;*/
/*    position: absolute;*/
/*    top: -8px;*/
/*    left: -10px;*/
/*}*/
/*.grid_rowmove_position_forbidden {*/
/*    background-color: red;*/
/*    height: 2px;*/
/*    margin-left: 10px;*/
/*}*/
/*.grid_rowmove_position_forbidden:before {*/
/*    content:'x';*/
/*    color: red;*/
/*    position: absolute;*/
/*    top: -8px;*/
/*    left: -10px;*/
/*}*/
/*.grid_overlay {*/
/*    background-color: gray;*/
/*    opacity: 0.5;*/
/*    filter: alpha(opacity=50);*/
/*}*/
/*.grid_event_group {*/
/*    box-sizing: border-box;*/
/*    font-size:12px;*/
/*    color:#666;*/
/*    padding:2px 2px 2px 2px;*/
/*    overflow:hidden;*/
/*    border:1px solid #ccc;*/
/*    background-color: #fff;*/
/*}*/
/*.grid_header_icon {*/
/*    box-sizing: border-box;*/
/*    border: 1px solid #bbb;*/
/*    background-color: #ffffff;*/
/*    color: #333333;*/
/*}*/
/*.grid_header_icon:hover {*/
/*    background-color: #fafafa;*/
/*}*/
/*.grid_header_icon_hide:before {*/
/*    content:'\00AB';*/
/*}*/
/*.grid_header_icon_show:before {*/
/*    content:'\00BB';*/
/*}*/
/*.grid_row_new .grid_rowheader_inner {*/
/*    cursor: text;*/
/*    background-position: 0px 5px;*/
/*    background-repeat: no-repeat;*/
/*    background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAABUSURBVChTY0ACslAaK2CC0iCQDMSlECYmQFYIAl1AjFUxukIQwKoYm0IQwFCMSyEIaEJpMMClcD4Qp0CYEIBNIUzRPzAPCtAVYlWEDgyAGIdTGBgAbqEJYyjqa3oAAAAASUVORK5CYII=);*/
/*}*/
/*.grid_row_new .grid_rowheader_inner:hover {*/
/*    background: white;*/
/*}*/
/*.grid_rowheader textarea {*/
/*    padding: 3px;*/
/*}*/
/*.grid_rowheader_scroll {*/
/*    cursor: default;*/
/*}*/
/*.grid_linkpoint {*/
/*    background-color: white;*/
/*    border: 1px solid gray;*/
/*    border-radius: 5px;*/
/*}*/
/*.grid_linkpoint.grid_linkpoint_hover {*/
/*    background-color: black;*/
/*}*/