/*FORMATOWANIE KALENDARZEA: POCZĄTEK*/

#calendar {

	width: 210px;
	margin: 10px auto;
	border: 1px solid #008032;
	moz-border-rasius: 5px;
	webkit-border-radius: 5px;
	border-radius: 5px;
	float:left;
	margin: 0 10px;

}

#calendar > #header {

	width: 100%;
	height: 35px;
	background: linear-gradient(to top, #006732, #008032);
	/*background: #FF0000;*/
	position: relative;

}

#calendar > #header > #date {

	height: 35px;
	line-height: 35px;
	text-align: center;
	margin: 0 auto;
	font-size: 16px;
	color: #FFFFFF;

}

#calendar > #header > #prev,
#calendar > #header > #next {

	width: 10px;
	height: 10px;
	position: absolute;

	top: 7px;

}

#calendar > #header > #prev {

	left: 10px;

}

#calendar > #header > #next {

	left: 180px;

}

#calendar > #header > #prev  > a,
#calendar > #header > #next  > a {

	display: block;

}

#calendar > #header > #prev  > a {

	width: 0;
	height: 0;
	border-style: solid;
	border-width: 10px 20px 10px 0px;
	border-color: transparent #FFFFFF transparent transparent;

}

#calendar > #header > #next  > a {

	width: 0;
	height: 0;
	border-style: solid;
	border-width: 10px 0px 10px 20px;
	border-color: transparent transparent transparent #FFFFFF;

}

#calendar > #header > #prev  > a:hover {

	border-color: transparent #80AA80 transparent transparent;
	/*border-color: transparent #FF8080 transparent transparent;*/

}

#calendar > #header > #next  > a:hover {

	border-color: transparent transparent transparent #80AA80;
	/*border-color: transparent transparent transparent #FF8080;*/

}

#calendar > #weeks_day > #day_name {

	width: 72px;
	height: 35px;
	line-height: 35px;
	text-align: center;
	margin: 5px;
	float: left;
	moz-border-rasius: 5px;
	webkit-border-radius: 5px;
	border-radius: 5px;
	font-size: 10px;
	font-weight: bold;

}

#calendar > #weeks_day > #day_name.saturday {

	color: #808080;

}

#calendar > #weeks_day > #day_name.sunday {

	color: #FF2020;

}

#calendar > #month > #week > #day {

	position: relative;
	width: 24px;
	height: 24px;
	text-align: center;
	margin: 2px;
	float: left;
	border: 1px solid #C8C8C8;
	moz-border-rasius: 5px;
	webkit-border-radius: 5px;
	border-radius: 5px;

}

#calendar > #month > #week > #day > #events_handler {

	position: absolute;
	top: 0px;
	width: 100%;
	height: 100%;
	moz-border-rasius: 5px;
	webkit-border-radius: 5px;
	border-radius: 5px;
	background: rgba(127, 255, 127, 0.4);
	cursor: pointer;

}

#calendar > #month > #week > #day > #events_handler > a {

	display: block;
	width: 100%;
	height: 100%;
	moz-border-rasius: 5px;
	webkit-border-radius: 5px;
	border-radius: 5px;

}

#calendar > #month > #week > #day > #events_handler:hover {

	-webkit-box-shadow: inset 0px 0px 15px 0px rgba(0, 0, 0, 0.8);
	-moz-box-shadow: inset 0px 0px 15px 0px rgba(0, 0, 0, 0.8);
	box-shadow: inset 0px 0px 15px 0px rgba(0, 0, 0, 0.8);

}

#calendar > #month > #week > #day > #number {

	font-size: 10px;
	line-height: 24px;

}

#calendar > #month > #week > #day > #name {

	font-size: 10px;

}

#calendar > #month > #week > #day.null {

	width: 26px;
	height: 26px;
	border: none;
	moz-border-rasius: 0px;
	webkit-border-radius: 0px;
	border-radius: 0px;
	background: none;

}

#calendar > #month > #week > #day.saturday {

	border: 1px solid #808080;
	background: #C8C8C8;

}

#calendar > #month > #week > #day.sunday {

	border: 1px solid #FF0000;
	background: #FF8080;
	color: #FFFFFF;

}

#calendar > #month > #week > #day.today {

	-webkit-box-shadow: inset 0px 0px 15px 0px rgba(0, 0, 0, 0.8);
	-moz-box-shadow: inset 0px 0px 15px 0px rgba(0, 0, 0, 0.8);
	box-shadow: inset 0px 0px 15px 0px rgba(0, 0, 0, 0.8);

}

#event_record {

	border-width: 1px;
	border-style: solid;
	margin: 20px 0;
	padding: 5px;
	border-radius: 10px;

}

#event_record > #tag,
#event_record > #type,
#event_record > #title,
#event_record > #date,
#event_record > #description,
#event_record > #control {

	margin: 5px 0;
	border-bottom: 1px solid #C8C8C8;

}

#event_record > #type,
#event_record > #title,
#event_record > #date,
#event_record > #description,
#event_record > #control {

	padding: 5px 0;

}

#event_record > #tag,
#event_record > #control {

	border-bottom: none;

}

#event_record > #tag {

	width: 10px;
	height: 10px;
	border-radius: 5px;

}

#day_container_header {

	margin-top: 20px;
	font-weight: bold;
	font-size: 40px;

}

#day_container > #background {

	position: absolute;
	top: 0px;
	left: 0px;
	width: 100%;
	height: 100%;
	background: rgba(255, 255, 255, 0.5);
	cursor: pointer;

}

#day_container > #article {

	width: 50%;
	height: 50%;
	background: #FFFFFF;
	position: relative;
	top: 25%;
	left: 25%;
	border: 1px solid #000000;
	overflow: auto;

}

#day_container > #article > #header {

	width: 90%;
	height: 30px;
	line-height: 30px;
	padding-bottom: 5px;
	margin: 5px auto;
	border-bottom: 1px solid #000000;
	font-size: 16px;
	position: relative;

}

#day_container > #article > #header > #close {

	position: absolute;
	top: 0;
	left: 80%;
	background: #FF0000;
	height: 30px;
	line-height: 30px;

}

#day_container > #article > #section {

	width: 90%;
	height: auto;
	margin: 0 auto 5px auto;
	overflow: auto;

}

/*FORMATOWANIE KALENDARZEA: KONIEC*/