@charset "utf-8";
/**
 *
 * Extra CSS for application
 *
 */

body {
  font-size: 12px;
  font-family: helvetice, arial;
}

.clear {
	clear: both;
}

#content {
  background-color: #bec9cc;
  padding: 10px 20px 20px;
}

#content table {
	width: auto;
}

#content table.ui-datepicker-calendar {
	width: 99%;
}

h1.header {
  font-size: 1.7em;
  font-weight: normal;
  background-color: #bec9cc;
  border-bottom: 3px double #999999;
}

form {
	width: 100%;
	margin: 0 0 50px;
}

table tr {
  background: none repeat scroll 0 0 #F5F5F5;
}

table tr:nth-child(2n) {
  background: none repeat scroll 0 0 #e9e9e9;
}

table {
	border: 1px solid #999999;
	background-color: #f5f5f5;
	border-radius: 5px;
	width: 100%;
}

table.inner {
	margin: 0;
}

table tr td {
  padding: 7px;
}

td.label-200 {
  width: 200px;
}

th.body {
  border-bottom: 1px solid #DDDDDD;
}

a {
  font-weight: normal;
}

a.button {
	background: #3B8230;
	background-repeat: repeat-x;
	background-image: -webkit-gradient(linear, left top, left bottom, from(#76BF6B), to(#3B8230));
	background-image: -webkit-linear-gradient(top, #76BF6B, #3B8230);
	background-image: -moz-linear-gradient(top, #76BF6B, #3B8230);
	background-image: -ms-linear-gradient(top, #76BF6B, #3B8230);
	background-image: -o-linear-gradient(top, #76BF6B, #3B8230);
	background-image: linear-gradient(top, #76BF6B, #3B8230);
	/*background: -moz-linear-gradient(center top , #76BF6B, #3B8230) repeat scroll 0 0 #62AF56;*/
	border: 1px solid #2D6324;
	color: #FFFFFF;
	padding: 4px 10px;
	text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.5);
	border-radius: 4px 4px 4px 4px;
	box-shadow: 0 1px 0 rgba(255, 255, 255, 0.3) inset, 0 1px 1px rgba(0, 0, 0, 0.2);
	font-weight: normal;
	min-width: 0;
	text-decoration: none;
	line-height: 26px;
}

a.button:hover {
  background: none repeat scroll 0 0 #5BA150;
}

.block-form {
	border: 1px solid #999999;
	background-color: #f5f5f5;
	border-radius: 5px;
	width: 99%;
	margin: 0 0 5px 0;
}

.block-form div:hover input[type=text],
.block-form div:hover input[type=number],
.block-form div:hover select,
.block-form div:hover textarea {
	border-color: #3c7fb1;
}

.block-form div input[type=text]:focus,
.block-form div input[type=number]:focus,
.block-form div select:focus,
.block-form div textarea:focus {
	border-color: #3c7fb1;
}

.block-form-header {
	background-color: rgba(0, 0, 0, 0);
	border-bottom: 1px solid #999999;
	color: #3B8230;
	font-size: 125%;
	padding: 10px;
}

table.layout, table.layout tr, table.layout td {
	background-color: transparent;
	padding: 0;
	margin: 0;
	border: none;
}

.width-50 {
	width: 50%;
}

form div {
  margin: 0;
}

form div.submit {
	float: left;
	clear: none;
	margin: 0;
}

input, textarea {
  font-size: 100%;
  padding: 3px;
  font-family: arial;
  border: 1px solid #BBBBBB;
  border-radius: 2px;
  width: 99.5%
}

label {
  display: block;
  font-size: 100%;
  margin-bottom: 1px;
	padding: 0 0 0 20px;
}

.input.hide label {
	cursor: pointer;
	background-image: url('/img/show.png');
	background-repeat: no-repeat;
	background-position: 0 0;
}

.input.show label {
	cursor: pointer;
	background-image: url('/img/hide.png');
	background-repeat: no-repeat;
	background-position: 0 0;
}

.input.show div.checkbox label, .input.hide div.checkbox label  {
	padding: 0;
	background-image: none;
}

.input.hide input, .input.hide textarea, .input.hide select, .input.hide div {
	display: none;
}

select {
  font-size: 100%;
  padding: 3px;
  border: 1px solid #BBBBBB;
  border-radius: 2px;
	min-width: 30%;
}

option {
  font-size: 100%;
}


form .submit input[type="submit"] {
  padding: 3px 10px;
  font-size: 100%;
}

form .submit input[type="submit"]:hover {
  cursor: pointer;
}

.hidden {
	display: none;
}

/* MENU */
/****************************************/

#TopMenu {
	clear: both;
	color: #fff;
	border: 1px solid rgba(0, 0, 0, 0.5);
	background: #3B8230;
	background-repeat: repeat-x;
	background-image: -webkit-gradient(linear, left top, left bottom, from(#76BF6B), to(#3B8230));
	background-image: -webkit-linear-gradient(top, #76BF6B, #3B8230);
	background-image: -moz-linear-gradient(top, #76BF6B, #3B8230);
	background-image: -ms-linear-gradient(top, #76BF6B, #3B8230);
	background-image: -o-linear-gradient(top, #76BF6B, #3B8230);
	background-image: linear-gradient(top, #76BF6B, #3B8230);
	text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.3);
	padding: 0;
	margin: 0 0 25px 0;
	font-size: 0;
}

#TopMenu li {
	font-size: 12px;
	list-style-type: none;
  display: inline-block;
  margin: 0;
  padding: 0;
  border-right: 1px solid rgba(0, 0, 0, 0.5);
	position: relative;
}

#TopMenu li a.menu {
	display: block;
  color: #FFFFFF;
  font-weight: normal;
  text-decoration: none;
	padding: 7px 10px;
}

#TopMenu li a.menu:hover {
	background: #76BF6B;
	background-repeat: repeat-x;
	background-image: -webkit-gradient(linear, left top, left bottom, from(#3B8230), to(#76BF6B));
	background-image: -webkit-linear-gradient(top, #3B8230, #76BF6B);
	background-image: -moz-linear-gradient(top, #3B8230, #76BF6B);
	background-image: -ms-linear-gradient(top, #3B8230, #76BF6B);
	background-image: -o-linear-gradient(top, #3B8230, #76BF6B);
	background-image: linear-gradient(top, #3B8230, #76BF6B);
}

#TopMenu li:hover .submenu {
	display: block;
}

#TopMenu .submenu {
	z-index: 1000;
	display:none;
	position: absolute; 
	top: 100%;
	padding: 0;
	margin: 0;
	background-color: #3B8230;
	border-radius: 0;
	border: none;
	border-top: 1px solid rgba(0, 0, 0, 0.5);
	border-left: 1px solid rgba(0, 0, 0, 0.5);
	border-right: 1px solid rgba(0, 0, 0, 0.5);
}

#TopMenu .submenu li {
	float: none;
	border:none; 
	border-bottom: 1px solid rgba(0, 0, 0, 0.5);
	position: relative;
	display: block;
}

#TopMenu .submenu li a {
	color: #FFFFFF;
  font-weight: normal;
  text-decoration: none;
  display:block;
  padding: 5px 10px;
  position: relative;
}

#TopMenu .submenu li a:hover {
	background-color: #76BF6B;
}

#HomeDatepicker {
	display: none;
}

#LoaderDatepicker {
	background-color: #ffffff;
	border: 1px solid #aaaaaa;
	border-radius: 4px;
	padding: 79px 0.2em;
	text-align: center;
	width: 51em;
}

.ui-datepicker-today a {
	border: 1px solid rgba(0, 0, 0, 0.5) !important;
	background-image: none !important;
	background-color: #FFFFE0 !important;
}

/*
 NOT NEED IN NEW VERSION
.appointment-state-event a, .reservation-state-reservation a {
	background: #3B8230 !important;
	background-repeat: repeat-x !important;
	background-image: -webkit-gradient(linear, left top, left bottom, from(#76BF6B), to(#3B8230)) !important;
	background-image: -webkit-linear-gradient(top, #76BF6B, #3B8230) !important;
	background-image: -moz-linear-gradient(top, #76BF6B, #3B8230) !important;
	background-image: -ms-linear-gradient(top, #76BF6B, #3B8230) !important;
	background-image: -o-linear-gradient(top, #76BF6B, #3B8230) !important;
	background-image: linear-gradient(top, #76BF6B, #3B8230) !important;
	color: #ffffff !important;
	border: 1px solid rgba(0, 0, 0, 0.5) !important;
}
*/

.appointments-state-active a {
	background: #3B8230 !important;
	background-repeat: repeat-x !important;
	background-image: -webkit-gradient(linear, left top, left bottom, from(#76BF6B), to(#3B8230)) !important;
	background-image: -webkit-linear-gradient(top, #76BF6B, #3B8230) !important;
	background-image: -moz-linear-gradient(top, #76BF6B, #3B8230) !important;
	background-image: -ms-linear-gradient(top, #76BF6B, #3B8230) !important;
	background-image: -o-linear-gradient(top, #76BF6B, #3B8230) !important;
	background-image: linear-gradient(top, #76BF6B, #3B8230) !important;
	color: #ffffff !important;
	border: 1px solid rgba(0, 0, 0, 0.5) !important;
}

.reservations-state-active a {
	background: #303b82 !important;
	background-repeat: repeat-x !important;
	background-image: -webkit-gradient(linear, left top, left bottom, from(#6b76bf), to(#303b82)) !important;
	background-image: -webkit-linear-gradient(top, #6b76bf, #303b82) !important;
	background-image: -moz-linear-gradient(top, #6b76bf, #303b82) !important;
	background-image: -ms-linear-gradient(top, #6b76bf, #303b82) !important;
	background-image: -o-linear-gradient(top, #6b76bf, #303b82) !important;
	background-image: linear-gradient(top, #6b76bf, #303b82) !important;
	color: #ffffff !important;
	border: 1px solid rgba(0, 0, 0, 0.5) !important;
	
}

.appointments-state-active.reservations-state-active a {
	background: #82303b !important;
	background-repeat: repeat-x !important;
	background-image: -webkit-gradient(linear, left top, left bottom, from(#bf6b76), to(#82303b)) !important;
	background-image: -webkit-linear-gradient(top, #bf6b76, #82303b) !important;
	background-image: -moz-linear-gradient(top, #bf6b76, #82303b) !important;
	background-image: -ms-linear-gradient(top, #bf6b76, #82303b) !important;
	background-image: -o-linear-gradient(top, #bf6b76, #82303b) !important;
	background-image: linear-gradient(top, #bf6b76, #82303b) !important;
	color: #ffffff !important;
	border: 1px solid rgba(0, 0, 0, 0.5) !important;
}

.appointment-state-event a:hover, .reservation-state-reservation a:hover {
	background: #3B8230 !important;
	background-repeat: repeat-x !important;
	background-image: none;
	color: #ffffff !important;
	border: 1px solid rgba(0, 0, 0, 0.5) !important;
}


/* WIDGET */
/****************************************/

.widget {
	background-color: #ffffff;
	border: 1px solid #aaaaaa;
	border-radius: 4px;
	padding: 0.2em;
	text-align: center;
	float:left;
	margin: 0.5em;
}

.widget table {
	width: auto;
	margin: 0;
}

.widget h1.header {
	font-weight: normal;
	font-style: italic;
}

.widget .message {
	font-size: 100%;
	font-weight: normal;
	margin: 0;
}

.widget .overlay {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: rgba(255,255,255,0.9);
}

.widget .overlay-container {
	position: relative;
}

.widget .overlay-container .overlay {
    display: none;
}

.widget .overlay-container .overlay.protect {
    display: block;
}

/* .widget .overlay-container:hover .overlay.protect { */
    /* display: none; */
/* } */

/* HEADER MENUS */

#header .menu {
	float:right;
	line-height:50px;
	margin: 0 0 0 25px;
}

/* LOGOUT */
/****************************************/

#header .logout p {
	float:left;
	margin: 0 10px 0 0;
	font-size: 1.1em;
}

/* Icon Menu */
/****************************************/

#header  .icon-menu img {
    margin: -4px 0;
}

/* Legend */
/****************************************/

.legend {
	float: left;
	padding: 0.5em;
	border: 1px solid #AAAAAA;
	background: #ffffff;
	border-radius: 4px;
}

.legend .legend-row {
	float: left;
	margin: 0 0.5em;
}

.legend .legend-field {
	float: left;
	line-height: 1em;
	border: 1px solid rgba(0, 0, 0, 0.5);
	padding:0.3em;
	margin: 0;
}

.legend .legend-event {
	background: #3B8230 !important;
	background-repeat: repeat-x !important;
	background-image: -webkit-gradient(linear, left top, left bottom, from(#76BF6B), to(#3B8230)) !important;
	background-image: -webkit-linear-gradient(top, #76BF6B, #3B8230) !important;
	background-image: -moz-linear-gradient(top, #76BF6B, #3B8230) !important;
	background-image: -ms-linear-gradient(top, #76BF6B, #3B8230) !important;
	background-image: -o-linear-gradient(top, #76BF6B, #3B8230) !important;
	background-image: linear-gradient(top, #76BF6B, #3B8230) !important;
	color: #ffffff !important;
	border: 1px solid rgba(0, 0, 0, 0.5) !important;
}

.legend .legend-reservation {
	background: #303b82 !important;
	background-repeat: repeat-x !important;
	background-image: -webkit-gradient(linear, left top, left bottom, from(#6b76bf), to(#303b82)) !important;
	background-image: -webkit-linear-gradient(top, #6b76bf, #303b82) !important;
	background-image: -moz-linear-gradient(top, #6b76bf, #303b82) !important;
	background-image: -ms-linear-gradient(top, #6b76bf, #303b82) !important;
	background-image: -o-linear-gradient(top, #6b76bf, #303b82) !important;
	background-image: linear-gradient(top, #6b76bf, #303b82) !important;
	color: #ffffff !important;
	border: 1px solid rgba(0, 0, 0, 0.5) !important;
}

.legend .legend-event.legend-reservation {
	background: #82303b !important;
	background-repeat: repeat-x !important;
	background-image: -webkit-gradient(linear, left top, left bottom, from(#bf6b76), to(#82303b)) !important;
	background-image: -webkit-linear-gradient(top, #bf6b76, #82303b) !important;
	background-image: -moz-linear-gradient(top, #bf6b76, #82303b) !important;
	background-image: -ms-linear-gradient(top, #bf6b76, #82303b) !important;
	background-image: -o-linear-gradient(top, #bf6b76, #82303b) !important;
	background-image: linear-gradient(top, #bf6b76, #82303b) !important;
	color: #ffffff !important;
	border: 1px solid rgba(0, 0, 0, 0.5) !important;
}

.legend .legend-empty {
	background: #E6E6E6;
	border: 1px solid #D3D3D3;
  color: #555555;
}

.legend .legend-today {
	background: #FFFFE0;
	border: 1px solid rgba(0, 0, 0, 0.5);
	color: #363636;
}

/* Rating */
/****************************************/

.rating-box {
	width: 120px;
	background: url(/img/star-icon-24-g.png) 0 0 repeat-x;
}

.rating-box div {
	height: 24px;
	background: url(/img/star-icon-24-y.png) 0 0 repeat-x;
}