@import "compass";
@import "mixins";
// modificando

// .yui3-calendar-pane {
// 	padding-top: 20px;
// 	margin-bottom: -25px;
// }

.calendar-detail-div-calendar{
	display: none;
}

.calendar-portlet-recurrence-container{
	display: none;
}

.calendar-booking-invitations-panel{
	display: none;
}

.calendar-booking-reminders-panel{
	display: none;
}

.calendario {
	float: left;
	padding-top: 20px
}
.cal_day {
	text-align: center;
	background: #e4e4e4;
	width: 90px;
}

.cal_day .month {
	display: block;
	background: #083758;
	color: #fff;
	font-size: 0.6em;
}

.cal_day .day_num {
	display: block;
	color: #083758;
	padding-top: 6px;
	margin-top: 6px;
	margin-bottom: -5px;
	font-size: 24px;
	font-size: 1.71429rem;
	line-height: 1
}

.cal_day .day {
	color: #083758;
	font-size: 0.7em;
}

.text_cal_day {
	margin-left: 115px;
	padding-top: 20px
}

.text_cal_day_rep {
	margin-left: 115px;
	margin-top: -10px
}

.no-bullet {
	font-size: 1.1em
}

.text_b_c2 {
	font-weight: bold;
	color: #62BB46;
	font-size: 1.2em
}

.text_cal_day .no-bullet a, .text_cal_day .no-bullet a:hover {
	color: #009AE5;
	text-decoration: underline;
}

.text_cal_day_rep .no-bullet a, .text_cal_day_rep .no-bullet a:hover {
	color: #009AE5;
	text-decoration: underline;
}

.no-bullet img {
	margin-right: 1%;
	width: 2%
}

.no-bullet #links {
	margin-bottom: 1%
}

#sesiones_semanas {
	// margin-left: -90px;

	@include respond-to(phone) {
		clear: both;
		margin-left: 0;
	}
}

.calendar-portlet-mini-calendar {
	width: 230px
}

.hide {
	visibility: hidden
}

.publishDate {
	font-size: 0.9em
}

.spacer {
	margin-bottom: 7px
}

// hasta aqu�

.calendar-booking-invitations {
	min-height: 110px;

	.calendar-list-empty-message {
		margin: 4px 0 0 4px;
	}

	.field-label {
		margin-left: 15px;
	}
}

.calendar-booking-reminders .calendar-portlet-reminder-section {
	.reminder-duration {
		margin-bottom: 7px;
	}

	.reminder-type {
		margin: 0 6px 11px 0;
		padding: 4px 6px;
	}
}

.calendar-list-empty-message {
	color: #666;
	margin-top: 4px;
}

.calendar-list-item {
	color: #222;
	cursor: pointer;
	display: block;
	line-height: 35px;
	overflow: hidden;
	padding: 0 5px;
	position: relative;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.calendar-list-item-hover, .calendar-list-item-active {
	background-color: #DCE3EA;

	@include force-wrap();

	.calendar-list-item-arrow {
		display: block;
	}
}

.calendar-list-item-arrow {
	background-color: #FFF;
	border: 1px solid #B5B5B5;
	color: #656565;
	line-height: 1em;
	position: absolute;
	right: 5px;
	top: 9px;

	&:hover {
		background-color: #F0F0F0;
		color: #333;
	}

	.icon-caret-down {
		padding: 0 3px;
	}

	@include respond-to(phone, tablet) {
		font-size: 1.75em;
		top: 4px;

		.icon-caret-down {
			padding: 0 6px;
		}
	}
}

.calendar-list-item-color {
	border: 1px solid #DCDCDC;
	display: inline-block;
	height: 11px;
	margin-right: 4px;
	position: relative;
	top: 2px;
	width: 11px;
}

.calendar-list-item-label {
	line-height: 13px;
}

.calendar-list-item-hidden .calendar-list-item-label {
	color: #555;
}

.calendar-portlet {
	.allday-class-active .lfr-input-time {
		display: none;
	}

	.calendar-create-event-btn-row {
		margin: 0 0 1em 0;
		text-align: center;
	}

	.calendar-portlet-column-parent {
		// @include respond-to(tablet) {
		// 	.calendar-portlet-column-grid, .calendar-portlet-column-options {
		// 		float: none;
		// 		margin: 0;
		// 		width: 100%;
		// 	}
		// }
		@include respond-to(phone, tablet) {
			.calendar-portlet-column-grid,
			.calendar-portlet-column-options {
				float: left;
			}
			.calendar-portlet-column-grid {
				width: 60%;
			}
			.calendar-portlet-column-options {
				width: 35%;
			}
			.calendar-portlet-wrapper {
				margin-left: 5%;
			}
		}
		@media (max-width: 520px) {
			.calendar-portlet-column-grid,
			.calendar-portlet-column-options {
				float: none;
				width: 100%;
			}
			.calendar-portlet-column-grid {
				margin-top: 20px;
			}
		}

		.calendar-portlet-column-grid {
			position: relative;

			&.span12 {
				margin-left: 0;
			}

			.calendar-portlet-column-toggler {
				bottom: 0;
				margin-left: -10px;
				position: absolute;
				top: 0;
				width: 10px;

				&:hover {
					background: #E9E9E9;
					cursor: pointer;
				}

				.icon-caret-right, .icon-caret-left {
					left: 50%;
					margin: -14px 0 0 -1px;
					position: absolute;
					top: 50%;
				}
			}

			.scheduler-event {
				z-index: 300;
			}
		}

		.display-event-form {
			display: none;
		}
	}

	.modal-header h3 {
		text-transform: capitalize;
	}

	.scheduler-event-content, .scheduler-event-title {
		font-family: inherit;
		font-size: inherit;
		line-height: inherit;
		padding: 2px 4px;
	}

	.popover.scheduler-event-recorder-popover {
		max-width: none;
	}

	.scheduler-view-agenda-info-container {
		.scheduler-view-agenda-info {
			line-height: 1.2;
		}
	}
}

.calendar-event-answer {
	font-weight: bold;

	&.calendar-event-answer-false, &.calendar-event-answer-false:hover {
		color: #555;
		cursor: default;
		text-decoration: none;
	}
}

.calendar-portlet-add-calendars-input {
	max-width: 90%;
}

.calendar-portlet-availability {
	margin: 0 30px;
}

.calendar-portlet-calendar-list {
	margin-left: 11px;

	.calendar-portlet-add-calendars-input {
		margin: 2px 0 5px;
		padding: 5px 4px;
		width: 200px;
	}
}

.calendar-portlet-colors {
	width: 240px;
}

.calendar-portlet-color-box {
	display: inline-block;
	height: 80%;
	vertical-align: middle;
	width: 80%;
}

.calendar-portlet-confirmation-text {
	padding: 5px;
}

.calendar-portlet-event-loading {
	@include opacity(0.5);
}

.calendar-portlet-event-maybe, .calendar-portlet-event-pending {
	@include opacity(0.8);
}

.calendar-portlet-event-recorder {
	table td {
		padding: 5px;
	}
}

.calendar-portlet-field-date {
	white-space: nowrap;

	.calendar-portlet-field-datepicker {
		display: inline-block;
	}
}

.calendar-portlet-import-container {
	.portlet-msg-error, .portlet-msg-help, .portlet-msg-success {
		margin: 10px 0;
		width: 420px;
	}

	.field-input-text {
		width: 454px;
	}
}

.calendar-portlet-invite-resources-input {
	margin: 2px 0;
	width: 350px;
}

.calendar-portlet-list-arrow {
	background: url(@theme_image_path@/aui/icon_sprite.png) -34px -18px;
	display: inline-block;
	height: 13px;
	vertical-align: middle;
	width: 12px;
}

.calendar-portlet-list-header {
	color: #222;
	cursor: pointer;
	display: block;
	font-weight: normal;
	line-height: 35px;
	margin: 10px 0 0 0;
	padding: 2px 0;
	position: relative;
	text-decoration: none;

	&:hover {
		background-color: #DCE3EA;
		color: #222;
	}

	.calendar-list-item-arrow {
		top: 12px;

		@include respond-to(phone, tablet) {
			top: 6px;
		}
	}
}

.calendar-portlet-list-text {
	vertical-align: middle;
}

.calendar-portlet-recurrence-container {
	.field-content, .field-wrapper-content {
		margin: 2px;
	}

	table {
		width: 100%;
	}
}

.calendar-portlet-recurrence-content {
	.calendar-portlet-recurrence-limit  {
		label, input {
			display: inline-block;
			margin: 0 4px 0 0;
		}

		&.control-group {
			margin-bottom: 10px;
		}
	}

	&.calendar-recurrence-weekday-checkbox label {
		display: inline-block;
	}
}

.calendar-portlet-recurrence-summary {
	font-weight: bold;
	text-transform: capitalize;

	span {
		text-transform: none;
	}
}

.calendar-portlet-recurrence-title {
	font-weight: bold;
	margin-right: 10px;
	padding: 4px 10px;
	text-align: right;
	vertical-align: top;
}

.calendar-portlet-time-zone-field .field .field-content {
	margin: 0;
}

.calendar-portlet-wrapper {
	background: #FFF;
	margin: 0 0 0 5%;
	width: 95%;
	// width: 90%;
	// margin-left: 13%;

	.scheduler-event-all-day .scheduler-event-title {
		display: none;
	}

	.scheduler-event-disabled {
		@include opacity(0.8);
	}

	@include respond-to(phone) {
		margin-left: 0;
	}

	.calendario,
	.text_cal_day {
		padding: 0;
	}
	.text_cal_day,
	.text_cal_day_rep {
		.heading {
			margin-bottom: 0;
		}
	}
	.cal_day {
		font-size: 20px;

		.month {
			line-height: 1;
			padding: 7px 0;
		}
		.day_num,
		.day {
			display: block;
			text-align: center;
		}
		.day_num {
			font-size: 1.25em;
			margin: 0;
			padding: 8px 0;
		}
		.day {
			line-height: 1;
			padding: 0 0 8px;
		}
	}
}

.dialog-iframe-popup .calendar-portlet .fieldset {
	margin-bottom: 2em;
}

.ie6, .ie7, .ie8 {
	.yui3-skin-sam .yui3-calendar-day.lfr-busy-day {
		background: transparent url(../images/lfr-busy-day-arrow.png) right top no-repeat;
	}
}

.rss-time-interval {
	margin-left: 2em;
	margin-top: -1em;
}

.scheduler-base-content > .yui3-widget-bd {
	border: 1px solid #DDD;

	.scheduler-base-view-date {
		display: block;
		font-size: 18px;
		margin-top: 13px;
		text-align: center;
	}

	.scheduler-view {
		border-width: 0;
	}
}

.scheduler-base-controls .calendar-add-event-btn {
	margin-right: 3px;
}

.scheduler-base-hd .scheduler-base-controls .scheduler-base-today {
	margin-right: 0;
}

.scheduler-event-past {
	@include opacity(0.4);
}

.scheduler-event-recorder-body select {
	max-width: 340px;
	width: 100%;
}

.scheduler-event-recorder-header .scheduler-event-recorder-content {
	background: #FAFAFA;
	border: 1px solid #C4C4C4;
	outline-width: 0;
	padding: 7px;
	width: 90%;
}

.scheduler-event-recorder-header .scheduler-event-recorder-content:hover {
	background: #FFC;
	border-color: #FC0;
}

.scheduler-event-recorder-popover .popover-title .close {
	margin-top: 5px;
}

.scheduler-view .scheduler-view-agenda-container, .scheduler-view .scheduler-view-agenda-info-container {
	border-bottom: 1px solid #E4E4E4;
	border-width: 0;
	font-size: 1em;
	margin: 0;

	.scheduler-view-agenda-info {
		.scheduler-view-agenda-info-biggie {
			background: #FFF;
			padding: 5px 8px;
			width: 65px;
		}

		.scheduler-view-agenda-info-label {
			padding: 10px 0 10px 8px;
		}
	}

	.scheduler-view-agenda-no-events {
		background: #F6F6F6;
		text-align: center;
	}
}

.scheduler-view-agenda {
	margin-top: -13px;
}

.scheduler-view-content .scheduler-view-scrollable {
	overflow-y: auto;
}

.scheduler-view-day .scheduler-view-table .scheduler-view-table-data-col {
	padding-top: 5px;
}

.scheduler-view-day-content .yui3-widget-hd {
	padding-top: 4px;
}

.scheduler-view-day-header-col .scheduler-view-day-header-day {
	a, span {
		font-size: 14px;

		@include respond-to(phone) {
			display: block;
		}
	}
}

.scheduler-view-day:not(.scheduler-view-week) .scheduler-view-day-header-day span {
	display: none;
}

.scheduler-view-table-header-table .scheduler-view-table-header-col .scheduler-view-table-header-day div {
	font-size: 14px;
	padding: 6px 0 2px 0;
}

.scheduler-view-table-data-event {
	padding: 0 3px 0 3px;
}

.scheduler-view-table-events-overlay-node {
	max-height: 500px;
	overflow-y: auto;
}

.simple-menu {
	position: absolute;
}

.simple-menu-hidden {
	display: none;
}

.simple-menu .simple-menu-content {
	background: none repeat scroll 0 0 #FFF;
	border: 1px solid rgba(0, 0, 0, 0.2);
	margin: 0;
	outline: medium none;
	padding: 6px 0;
}

.simple-menu-item {
	color: #333;
	cursor: pointer;
	list-style-type: none;
	overflow: hidden;
	padding: 6px 30px;
	text-overflow: ellipsis;
	white-space: nowrap;

	&:hover {
		background-color: #EEE;
		border: dotted #EEE;
		border-width: 1px 0;
		padding-bottom: 5px;
		padding-top: 5px;
	}
}

.simple-menu-separator {
	border-top: 1px solid #EBEBEB;
	font-size: 0;
	height: 0;
	margin: 6px 0;
}

.simple-menu-item-hidden {
	display: none;
}

.simple-color-picker {
	white-space: normal;
}

.simple-color-picker-item {
	border: 1px solid;
	cursor: pointer;
	display: inline-block;
	height: 14px;
	margin: 0 4px 4px 0;
	width: 14px;

	@include respond-to(phone, tablet) {
		height: 18px;
		width: 18px;
	}
}

.simple-color-picker-item:hover, .simple-color-picker-item-selected {
	border-color: #000 !important;
}

.toggler-header-expanded .calendar-portlet-list-arrow {
	background-position: -66px -18px;
}

.yui3-skin-sam .calendar-portlet-mini-calendar .yui3-calendar-content {
	background: #FFF !important;
	border: 1px solid #DDD;
}

/* ---------- YUI calendar ---------- */

.yui3-skin-sam .calendar-portlet {
	.yui3-calendar-day, .yui3-calendar-header-label, .yui3-calendar-weekday {
		font-weight: 200;
	}

	.yui3-calendar-day, .yui3-calendar-prevmonth-day, .yui3-calendar-nextmonth-day, .yui3-calendar-content {
		border-width: 0;
	}

	.yui3-calendar-weekday {
		color: #4599E2;
	}

	.yui3-calendar-day {
		width: 14.286%
	}
	
	.yui3-calendar-day:hover{
		background: #BBB;
		color: #000;
	}

	.yui3-calendar-day.yui3-calendar-day-selected, .yui3-calendar-day.lfr-busy-day:hover {
		color: #FFFFFF;
		font-weight: bold;
	}
	
	.yui3-calendar-day.yui3-calendar-day-selected.lfr-busy-day{
		color: #FFFFFF;
		font-weight: bold;
		background-color: #62BB46;
	}

	.yui3-calendar-day.lfr-busy-day {
		font-weight: normal;
		background-color: #62BB46;
		color: #FFFFFF;
	}
	
	.yui3-calendar-day.yui3-calendar-day-selected {
		background-color: #f2f2f2;
    	font-weight: bold;
    	color: #000;
	}

	.yui3-calendar-day.lfr-current-day {
		border: 2px solid #083758;
		background: transparent;
		font-weight: bold;
	}
	.yui3-calendar-day.lfr-busy-day.lfr-current-day {
		border: 2px solid #083758;
		background-color: #62bb46;
		font-weight: bold;
	}

	.lfr-busy-day:after {
		/*El punto de los d�as con evento
		content: '\25CF';*/
		background-color: #62BB46 !important;
	}

	.yui3-aclist-list {
		margin: 0;
	}
}

/* ---------- Extras ---------- */

.scheduler-view .scheduler-view-agenda-container, .scheduler-view .scheduler-view-agenda-info-container {
	@include border-radius(0);
}

.scheduler-event-recorder-content {
	@include background-image(linear-gradient(top, #F7F7F7, #FFF));
	@include box-shadow(inset 0 1px 2px #DDD);
	@include transition(background 0.3s ease-in, border-color 0.3s ease-out);
}

.scheduler-event-recorder-content, .calendar-portlet .yui3-calendar-day {
	@include border-radius(2px);
}

.calendar-portlet-wrapper {
	@include border-radius(5px);
}

.calendar-list-item .calendar-list-item-color, .calendar-list-item-arrow, .calendar-list-item-arrow .icon-caret-down {
	@include border-radius(3px);
}

.simple-color-picker-item {
	@include border-radius(1px);
}

.simple-menu-content {
	@include box-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.simple-menu-item {
	@include transition(background 0.13s);

	&:hover {
		@include transition(background 0s);
	}
}

.simple-color-picker-item {
	@include transition(border-color 0.13s);
}

.simple-color-picker-item:hover, .simple-color-picker-item-selected {
	@include transition(border-color 0s);
}

@include respond-to(phone, tablet) {
	.scheduler-base-hd .btn {
		padding: 10px 12px;
	}

	.scheduler-view-table-header-day div {
		overflow: hidden
	}
}

@include respond-to(phone) {
	.scheduler-base-content .scheduler-base-controls .btn-group {
		margin: 5px 0 0 0;

		button {
			display: inline-block;
			width: 100%;
		}

		.scheduler-base-icon-next, .scheduler-base-icon-prev {
			width: 25%;
		}

		.scheduler-base-today {
			width: 50%;
		}
	}

	.scheduler-base-views select {
		margin-top: 10px;
		width: 100%;
	}
}



.calendar-portlet-column-parent {
	padding: 29.5px 20px;
}
.yui3-skin-sam .calendar-portlet .yui3-calendar-nextmonth-day {
	display: none;
}
@include respond-to(phone, tablet) {
	.calendar-portlet-mini-calendar {
		width: 100%;
		max-width: 280px;
		margin: 0 auto;
	}
	.signed-in.controls-visible {
		.portlet-borderless-container {
			height: auto;
		}
	}

}

.aui .calendar-portlet-wrapper > .caja12-4 > div {
    margin: 0 0 15px;
}