/*
 *  Copyright 2012 Anyware Services
 *
 *  Licensed under the Apache License, Version 2.0 (the "License");
 *  you may not use this file except in compliance with the License.
 *  You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 *  Unless required by applicable law or agreed to in writing, software
 *  distributed under the License is distributed on an "AS IS" BASIS,
 *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 *  See the License for the specific language governing permissions and
 *  limitations under the License.
 */

/*
CSS FOR AGENDA
*/
.agenda div.rss
{
	float: left;
	margin: 5px 10px 12px 0;
}

.agenda {
	margin: 4em 0.1em 0 0;
}

.agenda a {
	text-decoration: none;
}

.previous a, .next a
{
	font-size: 0.8em !important;
	text-align: left;
	text-transform: uppercase;
	text-decoration: none;
	color: #E9600F !important;
}

.previous a::before
{
	content: "«\00A0";
}
.next a::after
{
	content: "\00A0»";
}

.previous,
.next {
	position: absolute;
	top: 0.3em;
	display: block;
}

.previous
{
	left: 0;
}
.next
{
	right: 0;
}

.week th,
.month th
{
	font-size: 0.82em;
}

.week .current,
.month .current
{
	font-size: 1.4em;
	margin: 0.5em auto;
	width: 24em;
	color: #b8a47f;
	text-align: center;
	font-weight: bold;
}

.other-view
{
	font-style: italic;
	font-size: 0.9em;
	clear: both;
	display:none;
}

.month,
.week
{
	width: 100%;
 	table-layout: fixed;
}

.month thead,
.week thead {
	color: #fff;
	font-size: 1.2em;
	text-align: center;
}

.month thead tr th,
.week thead tr th
{
	text-align: center;
	border: 2px solid #fff;
	padding: 5px;
	background-color: #b8a47f;
	text-transform: uppercase;
}

.month tbody tr,
.week tbody tr
{
	height: 75px;
}

.month .day,
.week td {
	border: 2px solid #fff;
	background-color: #F5EEE8;
	padding: 5px;
	text-align: left;
	vertical-align: top;
	width: 14%;
}

.month td.outside {
	background-color: #FAF7F3;
}

.month td.outside .num {
/* 	display:none; */
}

.month .day,
.week td {
	min-height: 72px;
	margin: 0;
	padding: 5px;
	font-size: 80%;
}

.month .day .num {
	color: #AD8F6B;
	line-height: 0.5em;
	margin: 2px 1px 8px;
	display: block;
}

.month .today,
.week .today
{
	background-color: #FEEBDC;
}

.month .today .num,
.week .today .num
{
	font-weight: bold;
	color: #E9600F;
}

.legend ul 
{
	margin: 15px 0;
}

.legend ul li
{
	list-style-type: none;
	line-height: inherit;
	display: inline-block;
	margin-bottom: 3px;
	margin-right: 6px;
    padding: 0 5px;
}

.legend ul li a
{
	vertical-align: baseline;
}

.agenda .category_1 a {
	color: rgb(28, 66, 97);
	background: url('../../img/services/agenda/a.gif') no-repeat;
}

.agenda .category_2 a {
	color: rgb(239, 13, 13);
	background: url('../../img/services/agenda/b.gif') no-repeat;
}

.agenda .category_3 a {
	color: rgb(55, 120, 35);
	background: url('../../img/services/agenda/c.gif') no-repeat;
}

.agenda .category_4 a {
	color: rgb(80, 126, 178);
	background: url('../../img/services/agenda/d.gif') no-repeat;
}

.agenda .category_5 a {
	color: rgb(170, 80, 178);
	background: url('../../img/services/agenda/e.gif') no-repeat;
}

.agenda .category_6 a {
	color: rgb(148, 134, 13);
	background: url('../../img/services/agenda/f.gif') no-repeat;
}

.agenda .category_7 a {
	color: rgb(219, 89, 26);
	background: url('../../img/services/agenda/g.gif') no-repeat;
}

.agenda .category_8 a {
	color: #fff;
	background: url('../../img/services/agenda/h.gif') no-repeat;
}

.agenda .category_9 a {
	color: #fff;
	background: url('../../img/services/agenda/i.gif') no-repeat;
}

.agenda .category_10 a {
	color: #fff;
	background: url('../../img/services/agenda/j.gif') no-repeat;
}

.day .category_1 a,
.day .category_2 a,
.day .category_3 a,
.day .category_4 a,
.day .category_5 a,
.day .category_6 a,
.day .category_7 a,
.day .category_8 a,
.day .category_9 a,
.day .category_10 a
{
	display: block;
	text-decoration: none;
	padding: 2px 0 6px 14px;
	font-weight: bold;
	line-height: 1em;
	background-position: 0 3px;
	background-repeat: no-repeat;
	font-size: 0.85em;
}

.legend .category_1 a,
.legend .category_2 a,
.legend .category_3 a,
.legend .category_4 a,
.legend .category_5 a,
.legend .category_6 a,
.legend .category_7 a,
.legend .category_8 a,
.legend .category_9 a,
.legend .category_10 a
{
	background-position: 0.2em center;
	padding-left: 19px !important;
}

.legend .current
{
	border: 1px solid;
}

.legend ul
{
	padding: 0;
	margin: 0;
}

/** With No script **/
.months > ul > li
{
	padding-bottom: 10px;
}

.months .month {
	font-weight: bold;
}

.events .category {
	font-weight: bold;
}

ul.events {
	padding: 10px 0 0 20px;
}
