

/* #########################################################################################################################

  parte ww4

 ######################################################################################################################### */
#fo #calendarData { padding: 0 20px 0 20px; }
#fo #calendarData h1 select{ margin-left: 15px; }

#fo #calendarHeaderWrapper{
  margin: 0px 20px 0 20px;
  top: -10px;
}

#fo #calendarHeaderWrapper .calendarHeader {
  text-align:center;
  text-transform: uppercase;
  vertical-align: middle;
  color: #4B812F;
}

#fo #calendarHeaderWrapper .calendarHeader h1 {
  font-size: 22px;
  padding-bottom: 10px;
}

/* #########################################################################################################################

  calendar.css

 ######################################################################################################################### */
@import url(http://fonts.googleapis.com/css?family=Lato:300,400,700);

@font-face {
  font-family: 'fontawesome-selected';
  src: url("../font/fontawesome-selected.eot");
  src: url("../font/fontawesome-selected.eot?#iefix") format('embedded-opentype'), url("../font/fontawesome-selected.woff") format('woff'), url("../font/fontawesome-selected.ttf") format('truetype'), url("../font/fontawesome-selected.svg#fontawesome-selected") format('svg');
  font-weight: normal;
  font-style: normal;
}

#boxcontentCalendar *,
#boxcontentCalendar *:after,
#boxcontentCalendar *:before {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  margin: 0;
}

#calendar {
  font-family: 'Lato', Calibri, Arial, sans-serif;
  font-weight: 300;
  font-size: 15px;
  color: #333;
  height: 100%;
}

#calendarWrapper { min-height: 700px; }

.fc-calendar-container {
	position: relative;
	height: 400px;
	width: 400px;
}

.fc-calendar {
	width: 100%;
	height: 100%;
}

.fc-calendar .fc-head {
	height: 30px;
	line-height: 30px;
	background: #ccc;
	color: #fff;
}

.fc-calendar .fc-body {
	position: relative;
	width: 100%;
	height: 100%;
	height: -moz-calc(100% - 30px);
	height: -webkit-calc(100% - 30px);
	height: calc(100% - 30px);
	border: 1px solid #ddd;
}

.fc-calendar .fc-row {
	width: 100%;
	border-bottom: 1px solid #ddd;
}

.fc-calendar .fc-row { height: 80px; }

.fc-calendar .fc-row > div,
.fc-calendar .fc-head > div {
	float: left;
	height: 100%;
	width:  14.28%; /* 100% / 7 */
	width: -moz-calc(100%/7);
	width: -webkit-calc(100%/7);
	width: calc(100%/7);
	position: relative;
}

/* IE 9 is rounding up the calc it seems */
.ie9 .fc-calendar .fc-row > div,
.ie9 .fc-calendar .fc-head > div { width:  14.2%; }

.fc-calendar .fc-row > div {
	border-right: 1px solid #ddd;
	padding: 4px;
	overflow: hidden;
	position: relative;
}

.fc-calendar .fc-head > div { text-align: center; }

.fc-calendar .fc-row > div > span.fc-date {
	position: absolute;
	width: 30px;
	height: 20px;
	font-size: 20px;
	line-height: 20px;
	font-weight: 700;
	color: #ddd;
	text-shadow: 0 -1px 0 rgba(140,98,57,0.8);
	bottom: 5px;
	right: 5px;
	text-align: right;
}

.fc-calendar .fc-row > div > span.fc-weekday {
	padding-left: 5px;
	display: none;
}

.fc-calendar .fc-row > div.fc-today { background: #fff4c3; }
.fc-calendar .fc-row > div.fc-out { opacity: 0.6; }
.fc-calendar .fc-row > div:last-child,
.fc-calendar .fc-head > div:last-child { border-right: none; }
.fc-calendar .fc-row:last-child { border-bottom: none; }

/* effetto onmouseover */
.fc-calendar .fc-row > div:hover:not(.fc-disabled) {
  background: rgba(150,150,150,0.7);
  -webkit-transition: all 0.2s ease-out;
  -moz-transition: all 0.2s ease-out;
  -o-transition: all 0.2s ease-out;
  transition: all 0.2s ease-out;
}

/* #########################################################################################################################

  custom_1.css

 ######################################################################################################################### */
.calendar-full {
  position: absolute;
  top: 120px;
  bottom: 0px;
  left: 0px;
  width: 100%;
  height: auto;
}

.fc-calendar-container {
  height: auto;
  bottom: 0px;
  width: 100%;
  top: 50px;
  position: absolute;
}

.header {
  padding: 20px 20px 10px 30px;
  height: 50px;
  position: relative;
}

.fc-calendar {
  width: auto;
  top: 10px;
  bottom: 20px;
  left: 20px;
  right: 20px;
  height: auto;
  border-radius: 20px;
  position: absolute;
}

.fc-calendar .fc-body .fc-row > div { background: rgba(150,150,150,0.1); }

.fc-calendar .fc-head {
  background: rgba(150,150,150,0.2);
  color: rgba(140,98,57,0.9);
  box-shadow: inset 0 1px 0 rgba(140,98,57,0.2);
  border-radius: 20px 20px 0 0;
  height: 40px;
  line-height: 40px;
  padding: 0 20px;
}

.fc-calendar .fc-head > div {
  font-weight: 300;
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 3px;
  text-shadow: 0 1px 1px rgba(0,0,0,0.4);
}

.fc-calendar .fc-row > div > span.fc-date {
  color: rgba(140,98,57,0.9);
  font-size: 26px;
  font-weight: 300;
  bottom: auto;
  right: auto;
  top: 10px;
  left: 10px;
  text-align: left;
  text-shadow: 2px 2px 1px rgba(0, 0, 0, 0.6);
}

.fc-calendar .fc-body {
  border: none;
  padding: 1px;
}

.fc-calendar .fc-row {
  box-shadow: inset 0 -1px 0 rgba(140,98,57,0.2);
  border: none;
}

/*.fc-calendar .fc-row:last-child { box-shadow: none; }*/
/*.fc-calendar .fc-row > div:first-child { box-shadow: none; }*/

.fc-calendar .fc-row > div {
  box-shadow: -1px 0 0 rgba(140,98,57, 0.2);
  border: none;
}

.fc-calendar .fc-row > div.lastcell {
  /* doppia bordatura */
  box-shadow: 1px 0 0 rgba(140,98,57, 0.2),
              -1px 0 0 rgba(140,98,57, 0.2);
}

.fc-calendar .fc-row > div.fc-today {
  background: transparent;
  box-shadow: inset 0 0 100px rgba(150,150,150,0.4);
}

.fc-calendar .fc-row > div.fc-today:after {
  content: '';
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.2;
  background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(rgba(150,150,150, 0.15)), to(rgba(0, 0, 0, 0.25))), -webkit-gradient(linear, left top, right bottom, color-stop(0, rgba(150,150,150, 0)), color-stop(0.5, rgba(150,150,150, .15)), color-stop(0.501, rgba(150,150,150, 0)), color-stop(1, rgba(150,150,150, 0)));
  background: -moz-linear-gradient(top, rgba(150,150,150, 0.15), rgba(0, 0, 0, 0.25)), -moz-linear-gradient(left top, rgba(150,150,150, 0), rgba(150,150,150, 0.15) 50%, rgba(150,150,150, 0) 50%, rgba(150,150,150, 0));
  background: -o-linear-gradient(top, rgba(150,150,150, 0.15), rgba(0, 0, 0, 0.25)), -o-llinear-gradient(left top, rgba(150,150,150, 0), rgba(150,150,150, 0.15) 50%, rgba(150,150,150, 0) 50%, rgba(150,150,150, 0));
  background: -ms-linear-gradient(top, rgba(150,150,150, 0.15), rgba(0, 0, 0, 0.25)), -ms-linear-gradient(left top, rgba(150,150,150, 0), rgba(150,150,150, 0.15) 50%, rgba(150,150,150, 0) 50%, rgba(150,150,150, 0));
  background: linear-gradient(top, rgba(150,150,150, 0.15), rgba(0, 0, 0, 0.25)), linear-gradient(left top, rgba(150,150,150, 0), rgba(150,150,150, 0.15) 50%, rgba(150,150,150, 0) 50%, rgba(150,150,150, 0));
}

.fc-calendar .fc-row > div > div { margin-top: 35px; }

.fc-calendar .fc-row > div > div a,
.fc-calendar .fc-row > div > div span {
  font-size: 12px;
  text-transform: uppercase;
  display: inline-block;
  padding: 3px 5px;
  border-radius: 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
  margin-bottom: 1px;
  background: rgba(150,150,150,0.1);
}

.no-touch .fc-calendar .fc-row > div > div a:hover { background: rgba(150,150,150,0.3); }

  /* aggiunte teoros */
#calendar .fc-row .fc-button {
  position: relative;
  display: block;
  margin-top: 30px;
  text-align: center;
}
#calendar .fc-row .fc-button a { cursor: pointer; }
#calendar .fc-row .fc-button a { padding: 5px; }
#calendar .fc-row .fc-button a span { background: transparent }

#calendar .fc-row .fc-button .fc-complete {
  background-color: red !important;
  width:97px;
  text-align: center;
  cursor: default !important;
}
#calendar .fc-row .fc-button .fc-complete span { padding: 0px;}
#calendar .fc-row .fc-button .fc-complete:hover {
  border-color: #fff;
  text-shadow:none;
  color: #000;
}

  /* #########################################################################################################################

  MEDIA QUERIES FOR A RESPONSIVE LAYOUT

 ######################################################################################################################### */
/*@media screen and (max-width: 880px) , screen and (max-height: 450px) {*/
@media screen and (max-width: 765px) {
  html, body, .container { height: auto; }

  .header,
  .calendar-full,
  .fc-calendar-container,
  .fc-calendar,
  .fc-calendar .fc-head,
  .fc-calendar .fc-row > div > span.fc-date {
    position: relative;
    top: auto;
    left: auto;
    bottom: auto;
    right: auto;
    height: auto;
    width: auto;
  }

  .fc-calendar { margin: 0 20px 20px; }

  .fc-calendar .fc-row,
  .ie9 .fc-calendar .fc-row > div,
  .fc-calendar .fc-row > div {
    height: auto;
    width: 100%;
    border: none;
  }

  .fc-calendar .fc-row > div {
    float: none;
    min-height: 50px;
    box-shadow: inset 0 -1px rgba(140,98,57,0.2) !important;
    border-radius: 0px !important;
  }

  .fc-calendar .fc-row > div:empty{
    min-height: 0;
    height: 0;
    box-shadow: none !important;
    padding: 0;
  }

  .fc-calendar .fc-row { box-shadow: none; }
  .fc-calendar .fc-head { display: none; }

  .fc-calendar .fc-row > div > div {
    margin-top: 0px;
    padding-left: 10px;
    max-width: 70%;
    display: inline-block;
  }

  .fc-calendar .fc-row > div.fc-today { background: rgba(150,150,150, 0.2); }
  .fc-calendar .fc-row > div.fc-disabled {
    background: rgba(150,150,150, 0.2);
  }
  .fc-calendar .fc-row > div.fc-disabled { display: none; }

  .fc-calendar .fc-row > div.fc-today:after { display: none; }

  .fc-calendar .fc-row > div > span.fc-date {
    width: 30px;
    display: inline-block;
    text-align: right;
  }

  .fc-calendar .fc-row > div > span.fc-weekday {
    display: inline-block;
    width: 40px;
    font-size: 10px;
    text-transform: uppercase;
    color: rgba(140,98,57,0.9);
    text-shadow: 0 -1px 0 rgba(140,98,57,0.8);
  }

  /* teoros */
  #fo #calendarHeaderWrapper, #calendar { top: 0px; }

  #fo #calendarHeaderWrapper{
    margin: 0px 10px 0 10px;
    width: 90%;
  }

  #fo #calendarData { margin-top: 20px; }

  #calendar .fc-row .fc-button {
    position: absolute;
    display: inline;
    text-align: left;
    margin-left: 20px;
    margin-top: 0px;
    width: 100%;
  }

}
