.main_tmpl #calendar .datepicker-wrap {width:422px;}
.main_tmpl #calendar_single .datepicker-wrap {width:210px;}

.main_tmpl .datepicker-wrap {
	background: #cfd6db url(../img/datepicker/brdr.gif) repeat-y 210px top;
	border: 1px solid #333;
	clear: both;
	text-align: center;
}

/* HIGLIGHT CHARTER DATES */
.main_tmpl .datepicker-container.type-b td.available span,
.main_tmpl .datepicker-container.type-b td.available a,
.main_tmpl #calendar.type-b .datepicker-panel .legend div.av span,
.main_tmpl #calendar_single.type-b .datepicker-panel .legend div.av span
{
	background-color: #e5fffa;
}

.main_tmpl .datepicker-container {
	float:right;
	width:210px;
}
.main_tmpl #date1 { border-left: 1px solid #333; }
.main_tmpl #date2 { border-right: 1px solid #999; }

.main_tmpl #calendar .datepicker-panel {
	width:424px;
	min-height: 60px;
	height: auto !important;
	height: 60px;
	clear: both;
}
.main_tmpl #calendar_single .datepicker-panel {width:212px; padding-bottom: 14px;}

.main_tmpl .datepicker-panel {
	float:right;
	background: #3b3b3b url(../img/datepicker/panel_gr.gif) repeat-x left top;
	position: relative;
}

.main_tmpl .datepicker-panel .legend {
	float:right;
	width:210px;
	margin: 14px 9px 14px 0px;
	color: #fff;
	display: inline;
	text-align: right;
	clear: both;
}
.main_tmpl .datepicker-panel .legend span {
	display: inline-block;
	height: 11px;
	width: 11px;
	border: 1px solid #8ba2af;
	margin: 0px 6px;
	vertical-align: middle;
}

.main_tmpl .datepicker-panel .legend div.av span {background-color: #8dead7;}
.main_tmpl .datepicker-panel .legend div.np span {background-color: #f3eec4;}
.main_tmpl .datepicker-panel .legend div.na span {background-color: #e9f2f6;}
.main_tmpl .datepicker-panel .legend div.ch span {background-color: #ff867b;}
.main_tmpl .datepicker-panel .legend div.ex span {background-color: transparent; border: 0px none; padding: 0px 1px;}
.main_tmpl .datepicker-panel .legend div.ex strong {
	font-weight: normal;
	color: #8dead7;
}

.main_tmpl #calendar .datepicker-panel a.yellarrs { position: absolute; bottom: 14px; left: 14px; z-index: 10000; }
.main_tmpl #calendar_single .datepicker-panel a.yellarrs {
	float: left;
	margin-left: 14px;
}

.main_tmpl .datepicker-container h3,
.main_tmpl .datepicker-container .title
{
	color: #fff;
	line-height: 30px;
	text-align: center;
	background: #262626 url(../img/datepicker/head_gr.gif) repeat-x left top;
	font-size: 14px;
	font-weight: 700;
}

.main_tmpl .datepicker-container div.ui-datepicker-header {
	position: relative;
	height: 23px;
	background: #262626;
}
.main_tmpl #date2 div.ui-datepicker-header {
	left: 0px !important;
	left: -1px;
}

.main_tmpl div.ui-datepicker-header a.ui-datepicker-next {
	position: absolute;
	top: 4px;
	left: 10px;
	display: inline-block;
	height: 20px;
	width: 18px;
	cursor: pointer;
	background: url(../img/datepicker/arrows.gif) no-repeat left top;
}
.main_tmpl div.ui-datepicker-header a.ui-datepicker-next:hover { background: url(../img/datepicker/arrows.gif) no-repeat left -40px; }

.main_tmpl div.ui-datepicker-header a.ui-datepicker-prev {
	position: absolute;
	top: 4px;
	right: 10px;
	display: inline-block;
	height: 20px;
	width: 18px;
	cursor: pointer;
	background: url(../img/datepicker/arrows.gif) no-repeat left -80px;
}
.main_tmpl div.ui-datepicker-header a.ui-datepicker-prev:hover { background: url(../img/datepicker/arrows.gif) no-repeat left -120px; }

.main_tmpl div.ui-datepicker-header div.ui-datepicker-title {
	position: absolute;
	top: 0px;
	left: 30px;
	width: 150px;
	text-align: center;
	display: inline-block;
	margin: 0px auto;
}

.main_tmpl div.ui-datepicker-header div.ui-datepicker-title select {margin: 0px 2px;}
.main_tmpl div.ui-datepicker-header a span { display: none;}

.main_tmpl .datepicker-container table {
	width: 186px;
	margin: 10px 12px;
}

.main_tmpl .datepicker-container td, .main_tmpl .datepicker-container th {
	margin: 3px;
}
.main_tmpl .datepicker-container th {
	font-weight: bold;
	font-size: 11px;
	padding: 0px 4px 0px 0px;
}
.main_tmpl .datepicker-container td {
	border: 1px solid #8ba2af;
	font-size: 10px;
	background: #e9f2f6;
	padding: 0px;
}
.main_tmpl .datepicker-container td.ui-datepicker-other-month {
	border-width: 0px;
	border-style: none;
	background: transparent;
}

.main_tmpl .datepicker-container td a, .main_tmpl .datepicker-container td span {
	display: block;
	padding-right: 2px;
	text-align: center;
}
.main_tmpl .datepicker-container td a {
	background-color: #8dead7;
	color: #000;
	text-decoration: none;
}
.main_tmpl .datepicker-container td a:hover {
	background-color: #14c8a3;
	color: #333;
	text-decoration: none;
}

/* today */
.main_tmpl .datepicker-container td.today {border: 1px solid #000;}
.main_tmpl .datepicker-container td.today span, .main_tmpl .datepicker-container td.today a {
	color: #000;
	text-decoration: none;
}
.main_tmpl .datepicker-container td.today a:hover {
	color: #000;
	text-decoration: none;
}

/* available */
.main_tmpl .datepicker-container td.available span, .main_tmpl .datepicker-container td.available a {
	background-color: #8dead7;
	color: #000;
	text-decoration: none;
}
.main_tmpl .datepicker-container td.available a:hover {
	background-color: #14c8a3;
	color: #000;
	text-decoration: none;
}

/* busy */
.main_tmpl .datepicker-container td.busy span, .main_tmpl .datepicker-container td.busy a, .main_tmpl .datepicker-container td.busy a:hover {
	background-color: #f3eec4;
	color: #000;
	text-decoration: none;
}

/* nofly */
.main_tmpl .datepicker-container td.nofly span, .main_tmpl .datepicker-container td.nofly a, .main_tmpl .datepicker-container td.nofly a:hover {
	background-color: #e9f2f6;
	color: #000;
	text-decoration: none;
}

/* na */
.main_tmpl .datepicker-container td.na span, .main_tmpl .datepicker-container td.na a, .main_tmpl .datepicker-container td.na a:hover {
	background-color: #e9f2f6;
	color: #aaa;
	text-decoration: none;
}

/* available */
.main_tmpl .datepicker-container td.available span, .main_tmpl .datepicker-container td.available a {
	background-color: #8dead7;
	color: #000;
	text-decoration: none;
}
.main_tmpl .datepicker-container td.available a:hover {
	background-color: #14c8a3;
	color: #000;
	text-decoration: none;
}

/* chart */
.main_tmpl .datepicker-container td.chart span, .main_tmpl .datepicker-container td.chart a {
	background-color: #ff867b;
	color: #000;
	text-decoration: none;
}
.main_tmpl .datepicker-container td.chart a:hover {
	background-color: #ec5860;
	color: #000;
	text-decoration: none;
}

/* Active choice */
.main_tmpl .datepicker-container td.ui-datepicker-current-day span, .main_tmpl .datepicker-container td.ui-datepicker-current-day a {
	background-color: #000!important;
	color: #fff;
	text-decoration: none;
}
.main_tmpl .datepicker-container td.ui-datepicker-current-day a:hover {
	background-color: #000;
	color: #aaa;
	text-decoration: none;
}

/***************** datepicker dialog *****************/
.main_tmpl .ui-dialog-titlebar {
	background: #000;
	height: 17px;
}
.main_tmpl .ui-dialog-titlebar span { display:none; }
.main_tmpl .ui-dialog-titlebar a.ui-dialog-titlebar-close {
	display: block;
	margin: 5px;
	height: 7px;
	width: 36px;
	float: left;
	background: url(../img/datepicker/close.new.gif) no-repeat left top;
}


.main_tmpl #calendar.ui-hide-select-button .datepicker-panel a,
.main_tmpl #calendar_single.ui-hide-select-button .datepicker-panel a
{
	display: none;
}

.main_tmpl #calendar_single.ui-hide-select-button .datepicker-panel
{
	padding-bottom: 0px;
}

.main_tmpl #calendar_single .datepicker-wrap .title.hotel,
.main_tmpl #calendar .datepicker-wrap .title.hotel {
	display: none;
}


.main_tmpl #calendar_single .datepicker-wrap.hotel .title.regular,
.main_tmpl #calendar .datepicker-wrap.hotel .title.regular {
	display: none;
}

.main_tmpl #calendar_single .datepicker-wrap.hotel .title.hotel,
.main_tmpl #calendar .datepicker-wrap.hotel .title.hotel {
	display: block;
}
