body {
    font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
    font-size: 14px;
    line-height: 1.42857143;
    color: #333;
    background-color: #fff;
    margin: 0px;
}
#mainHeader {
    color: black !important;
    padding: 10px 20px;
    font-weight: bold;
    background-color: #c0cfde;
    box-shadow: 0px 0px 5px darkslategrey;
}
#year {
    color: black;
    box-shadow: 1px 1px 1px gray;
    border-radius: 5px;
    /*position: absolute;*/
    top: 8px;
    left: 16px;
}
#year:focus {outline: none;}
#container {
	margin: 10px 10px;
}
.tab {
	display: table;
}
.row {
	display: table-row;
}
.cell {
	display: table-cell;
	padding: 4px;
	border-top: 1px solid gray;
	border-left: 1px solid gray;
	position: relative;
}
.current {
	background-color: #fffde4;
}
.hcell {
	width: 50px;
	min-width: 50px;
	max-width: 50px;
}
.vcell {
	min-width: 150px;
	height: 500px;
	cursor: pointer;
}
.row > .cell:last-of-type {
	border-right: 1px solid gray;
}
.row:last-of-type > .cell {
	border-bottom: 1px solid gray;
}

.rowheader .cell {
	background-color: #d9d9d9;
}
.weekSwitch,.weeksSwitchPrevNext {
    display: inline-block;
    margin-right: 10px;
    background-color: #c0cfde;
    padding: 0px 10px;
    border-radius: 10px;
    cursor: pointer;
}
.currentWeek {
	background-color: #89b3dd;
}
.slot {
    border-bottom: 1px dashed gray;
    padding-left: 7px;
    position: absolute;
    top: 0px;
    left: 0px;
    z-index: 5;
    height: 40px;
}

/******** рабочий календарь ************/
.usedDay {background-color: lightblue;}
.yw_calendar-item {
	width: 200px;
	display: inline-block;
	vertical-align: top;
	margin: 0 16px 0px;
	font: 14px/1.2 Arial, sans-serif;
}
.yw_calendar-head {
	text-align: center;
	padding: 5px;
	font-weight: 700;
	font-size: 14px;
}
.yw_calendar-item table {
	border-collapse: collapse;
	width: 100%;
}
.yw_calendar-item th {
	font-size: 12px;
	padding: 6px 7px;
	text-align: center;
	color: #888;
	font-weight: normal;
}
.yw_calendar-item td {
	font-size: 13px;
	padding: 6px 5px;
	text-align: center;
	border: 1px solid #ddd;
}
.yw_calendar-item tr th:nth-child(6), .yw_calendar-item tr th:nth-child(7),
.yw_calendar-item tr td:nth-child(6), .yw_calendar-item tr td:nth-child(7)  {
	color: #e65a5a;
}	
.yw_calendar-day {
	cursor: pointer;
}
.yw_calendar-day.last {
	color: #999 !important;
}	
.yw_calendar-day.today {
	font-weight: bold;
}
.yw_calendar-day.event {
	background: #ffe2ad;
	position: relative;
	cursor: pointer;
}
.yw_calendar-day.event:hover .yw_calendar-popup {
	display: block;
}
.yw_calendar-popup {
	display: none;
	position: absolute;
	top: 40px;
	left: 0;
	min-width: 200px;
	padding: 15px;
	background: #fff;
	text-align: left;
	font-size: 13px;
	z-index: 100;
	box-shadow: 0 0 10px rgba(0,0,0,0.5);
	color: #000;
}
.yw_calendar-popup:before {
	content: ""; 
	border: solid transparent;
	position: absolute;    
	left: 8px;    
	bottom: 100%;
	border-bottom-color: #fff;
	border-width: 9px;
	margin-left: 0;
}
.ywcDayMode0 {
    color: #e65a5a !important;
}
.ywcDayMode1 {
    color: black !important;
}
#yearWorkCalendarYear {
    position: absolute;
    top: 3px;
    left: 222px;
}
#yearWorkCalendarYear:focus {
	outline: none;
}
.yw_calendar-wrp {
	width: 1000px;
}
/******** рабочий календарь ************/

