/**
 * @version 2.1.0
 * @package JEM
 * @subpackage JEM Calendar Module
 * @copyright (C) 2013-2014 joomlaeventmanager.net
 * @copyright (C) 2008-2009 Toni Smillie www.qivva.com
 * @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL
 */

/* Container div Width set the same as calendar width. Setting both margins to auto centres the calendar*/
.eventcalq {
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 10px;
	max-width: 100%;
}

/* Overall calendar table properties */
.eventcalq table.mod_jemcalq_calendar {
	width: 100%;
	padding: 0;
	margin: 0;
	border-collapse: separate;
	text-align: center;
	background-color: transparent;
	color: #848383;
}

.eventcalq table.mod_jemcalq_calendar th ,
.eventcalq table.mod_jemcalq_calendar td {
	padding: 0 !important;
	margin: 0;
	width: 9%;
}

.eventcalq table.mod_jemcalq_calendar tr td:first-child, 
.eventcalq table.mod_jemcalq_calendar tr th:first-child {
	border-left: 1px solid #008340;
}

.eventcalq table.mod_jemcalq_calendar tr th:last-child {
	border-right: 1px solid #008340;
}

.eventcalq table.mod_jemcalq_calendar tr:last-child td:first-child {
	-webkit-border-bottom-left-radius: 6px;
	-moz-border-radius-bottomleft: 6px;
	border-bottom-left-radius: 6px;
}

.eventcalq table.mod_jemcalq_calendar tr:last-child td:last-child {
	-webkit-border-bottom-right-radius: 6px;
	-moz-border-radius-bottomright: 6px;
	border-bottom-right-radius: 6px;
}

/* Blank cell properties */
.eventcalq td.mod_jemcalq {
	border-right: 1px solid #c4c4c4;
	border-bottom: 1px solid #c4c4c4;
}

/* Today cell properties */
.eventcalq td.mod_jemcalq_caltoday
{
	font-family: "Lucida Sans Bold", Helvetica, Arial, sans-serif;
	border-right: 1px solid #2fab6c;
	border-bottom: 1px solid #2fab6c;
	color: #F6F4DA;
	background-color: #2fab6c;
}

/* Today Event day cell hover Link / Visited*/
.eventcalq td.mod_jemcalq_caltodaylink a:link,
.eventcalq td.mod_jemcalq_caltodaylink a:visited{
	font-family: "Lucida Sans Bold", Helvetica, Arial, sans-serif;
	display: block;
	color: #008340;
	border: 2px solid #008340;
}

/* Today Event day cell hover */
.eventcalq td.mod_jemcalq_caltodaylink a:hover {
	text-decoration: none;
	font-family: "Lucida Sans Bold", Helvetica, Arial, sans-serif;
	display: block;
	color: #FFFFFF;
	background-color: #008340;
	border: 2px solid #008340;
}

/* Non event day cell preperties */
.eventcalq td.mod_jemcalq_calday {
	border-right: 1px solid #c4c4c4;
	border-bottom: 1px solid #c4c4c4;
}

.eventcalq td.mod_jemcalq_calday span.nolink {
	border: 2px solid transparent; /* to get always same cell size */
	display: block;
}

/* Event day cell properties */
.eventcalq td.mod_jemcalq_caldaylink,
.eventcalq td.mod_jemcalq_caltodaylink {
	border-right: 1px solid #c4c4c4;
	border-bottom: 1px solid #c4c4c4;
	background-color: #f3f3f3;
}

/* Event day cell hover Link / Visited*/
.eventcalq td.mod_jemcalq_caldaylink a:link,
.eventcalq td.mod_jemcalq_caldaylink a:visited{
	font-family: "Lucida Sans Bold", Helvetica, Arial, sans-serif;
	color: #008340;
	border: 2px solid transparent; /* to get always same cell size */
}

/* Event day cell hover */
.eventcalq td.mod_jemcalq_caldaylink a:hover {
	color: #FFFFFF;
	background-color: #008340;
	text-decoration: none;
	display: block;
	border: 2px solid #008340;
}

.eventcalq table.mod_jemcalq_calendar tr td:last-child {
	border-right-color: #008340;
}

.eventcalq table.mod_jemcalq_calendar tr:last-child td {
	border-bottom-color: #008340;
}

/* Month heading properies */
.eventcalq caption.mod_jemcalq_calendar-month {
	color: #ffffff;
	background-color: #008340;
	font-family: "Lucida Sans Bold", Helvetica, Arial, sans-serif;
	font-weight: normal;
	-webkit-border-top-left-radius: 6px;
	-moz-border-radius-topleft: 6px;
	border-top-left-radius: 6px;
	border-right: 0;
	-webkit-border-top-right-radius: 6px;
	-moz-border-radius-topright: 6px;
	border-top-right-radius: 6px;
}

/* Month heading Link / Visited properties */
.eventcalq caption.mod_jemcalq_calendar-month a,
.eventcalq caption.mod_jemcalq_calendar-month a:link,
.eventcalq caption.mod_jemcalq_calendar-month a:visited {
	color: #f3f3f3;
}

/* Month heading Hover properties */
.eventcalq caption.mod_jemcalq_calendar-month a:hover{
	color: #FF8C00;
	text-decoration: none;
}

/* Day of week heading properties*/
.eventcalq th.mod_jemcalq_daynames {
	font-family: "Lucida Sans Bold", Helvetica, Arial, sans-serif;
	font-weight: normal;
	color: #008340;
	background: #f3f3f3;
	padding: 0px;
}

/* Tooltips */
.tool-tip {
	float: left;
	background: #ffc;
	border: 1px solid #D4D5AA;
	padding: 5px;
	max-width: 300px;
}

.tool-title {
	padding: 0;
	margin: 0;
	font-size: 100%;
	font-family: "Lucida Sans Bold", Helvetica, Arial, sans-serif;
	margin-top: -15px;
	padding-top: 15px;
	padding-bottom: 5px;
	background: url(../templates/system/images/selector-arrow.png) no-repeat;
	color: #000000;
}

.tool-text {
	font-size: 100%;
	margin: 0;
	color: #000000;
}
/* prevent problems with some site templates */
.eventcalq table.mod_jemcalq_calendar span.hasTip {
	margin: 0;
}