/*
	Agend.css
	Copyright (c) 2016, ObjectWeb Srl. All rights reserved.
	Version: 1.0.0
*/



/* General
------------------------------------------------------------------------------------------------- */
.section.agend .btn {
    border-radius: 2px;
    box-shadow: 0 -2px 0 rgba(0, 0, 0, 0.05) inset;
}

.section.agend .btn-primary {
    background-color: #3276b1;
    border-color: #2c699d;
    color: #fff;
}

.section.agend .btn-primary:focus, 
.section.agend .btn-primary:hover {
    background-color: #275b89;
    border-color: #1f496d;
    color: #fff;
}

.section.agend .btn-secondary {
    background-color: #fff;
    border-color: #ccc;
    color: #333;
}

.section.agend .btn-secondary:focus,
.section.agend .btn-secondary:hover {
   background-color: #e6e6e6;
   border-color: #adadad;
   color: #333;
}
/* ---------------------------------------------------------------------------------------------- */



/* Filtro Categoria
------------------------------------------------------------------------------------------------- */
.section.agend .section-body {
    position: relative;
}

.category-selector {
    position: absolute;
    right: 10px;
    top: 9px;
}

@media(max-width:767px){
	.category-selector {
		margin-bottom: 10px;
		position: relative;
		right: 0;
		top: 0;
		width: 100%;
	}
}
/* ---------------------------------------------------------------------------------------------- */



/* Briciole di pane
------------------------------------------------------------------------------------------------- */
.section.agend .breadcrumb {
    border-radius: 0;
    margin-bottom: 15px;
    padding: 15px;
}

.section.agend .breadcrumb li, 
.section.agend .breadcrumb li a {
    color: #42464d;
    font-size: 12px;
    text-transform: uppercase;
}

.section.agend .breadcrumb li a:hover {
    color: #3276b1;
}

.section.agend .breadcrumb > li + li::before {
    color: rgba(0, 0, 0, 0.3);
    content: "";
    font-family: "FontAwesome";
    padding: 0 8px;
}

.section.agend .breadcrumb li span {
    color: #3276b1;
}
/* ---------------------------------------------------------------------------------------------- */



/* Calendar
------------------------------------------------------------------------------------------------- */
.section.agend .calendar-header .current-date {
	font-weight: bold;
	text-transform: uppercase;
}

.section.agend .calendar-day-title {
    margin-top: 15px;
}

.section.agend .calendar-day-title div {
    background-color: #4c4f53;
    border-right: 1px solid #CCC;
    color: #fff;
    float: left;
    font-weight: bold;
    padding: 10px 0;
    text-align: center;
    width: 14.2857%;
}

.section.agend .calendar-day-title div:last-child {
    border-right: none;
}

.section.agend .calendar-day-title {
    border-left: 2px solid #4c4f53;
}

.section.agend .calendar-content {
    border-left: 1px solid #CCC;
}

.section.agend .calendar-day-title:after,
.section.agend .calendar-content:after {
    clear: both;
    content: ".";
    display: block;
    height: 0;
    visibility: hidden;
}

.section.agend .calendar-content .calendar-day {
    background-color: #fff;
    border-bottom: 1px solid #ccc;
    border-right: 1px solid #ccc;
    float: left;
    height: 170px;
    padding: 5px;
    width: 14.2857%;
}

.section.agend .calendar-content .prev-month.calendar-day, 
.section.agend .calendar-content .next-month.calendar-day {
    background-image: linear-gradient(135deg, rgba(0, 0, 0, 0.03) 25%, transparent 25%, transparent 50%, rgba(0, 0, 0, 0.03) 50%, rgba(0, 0, 0, 0.03) 75%, transparent 75%, transparent);
    background-size: 27px 27px;
}

.section.agend .calendar-content .calendar-day .day-info {
    margin-bottom: 4px;
}

@media(min-width: 992px){
	.section.agend .calendar-content .calendar-day .month-day span.day {
		display: none;
	}
}

.section.agend .calendar-content .calendar-day .month-day {
    background-color: #CCC;
    color: #fff;
    display: inline-block;
    height: 30px;
    line-height: 30px;
    text-align: center;
    width: 30px;
}

.section.agend .calendar-content .calendar-day .month-day:hover {
    background-color: #AAA;
	text-decoration: none;
}

.section.agend .calendar-content .prev-month.calendar-day .month-day, 
.section.agend .calendar-content .next-month.calendar-day .month-day {
    background-color: #f1f1f1;
}

.section.agend .calendar-content .prev-month.calendar-day .month-day:hover, 
.section.agend .calendar-content .next-month.calendar-day .month-day:hover {
    background-color: #CCC;
}

.section.agend .calendar-content .calendar-day.current-date .month-day {
    background-color: #3276b1;
}

.section.agend .calendar-content .calendar-day.current-date .month-day:hover {
    background-color: #275b89;
}

.section.agend .calendar-content .calendar-day .details-container {
    height: 130px;
	overflow-y: auto;
}

.agend-calendar .calendar-content .calendar-day .detail-container {
   /* serve quando l'evento non ha assegnato una categoria*/
   background-color: #aaaaaa;
}

.agend-calendar .calendar-content .calendar-day .detail-container a{
   /* serve quando l'evento non ha assegnato una categoria*/
   color: #ffffff;
}

.section.agend .calendar-content .calendar-day .detail-container {
    border-radius: 3px;
    font-size: 13px;
    margin-bottom: 2px;
    padding: 2px 3px;
    position: relative;
}

.section.agend .calendar-content .prev-month.calendar-day .detail-container, 
.section.agend .calendar-content .next-month.calendar-day .detail-container {
    opacity: 0.5;
}

.section.agend .calendar-content .calendar-day .detail-container:hover {
    opacity: 0.7;
}

.section.agend .calendar-content .calendar-day .detail-container span {
    display: block;
    line-height: 13px;
    max-width: 150px;
    overflow: hidden;
    white-space: nowrap;
    word-wrap: break-word;
}

.section.agend .calendar-content .calendar-day .detail-container span.time {
    display: inline;
    float: left;
    font-weight: lighter;
    margin-right: 5px;
    width: auto;
}

.section.agend .calendar-content .calendar-day .detail-container .info-container .icon-repeat {
    float: right;
    font-size: 11px;
    margin-top: 2px;
}

@media(min-width: 992px){
	.section.agend .calendar-content .calendar-day .detail-container .info-container:after {
        clear: both;
        content: ".";
        display: block;
        height: 0;
        visibility: hidden;
    }
}

@media(max-width:991px){
	.section.agend .calendar-day-title,
	.section.agend .calendar-content .prev-month.calendar-day, 
	.section.agend .calendar-content .next-month.calendar-day {
		display: none;
	}
	.section.agend .calendar-content .calendar-day {
		height: auto;
		width: 100%;
	}
	.section.agend .calendar-header {
		margin-bottom: 10px;
	}
	.section.agend .calendar-content .calendar-day .day-info {
		float: left;
		margin-bottom: 0;
		margin-right: 5px;
	}
	.section.agend .calendar-content .calendar-day .month-day {
		display: inline-block;
		height: auto;
		line-height: 15px;
		padding: 5px;
		width: 35px;
	}
	.section.agend .calendar-content .calendar-day .month-day > span {
		display: block;
		float: none;
	}
	.section.agend .calendar-content .calendar-day .month-day span.number {
		font-weight: bold;
	}
	.section.agend .calendar-content .calendar-day .month-day span.day {
		font-size: 12px;
	}
	.section.agend .calendar-content .calendar-day .details-container {
        margin-left: 40px;
		height: 100%;
	}
	.section.agend .calendar-content .calendar-day .detail-container span {
		max-width: 100%;
		white-space: normal;
	}
}

@media(max-width:1200px){
    .section.agend .calendar-content .calendar-day .detail-container span.time {
        float: none;
    }
}

/*Dettaglio giorno*/
.section.agend .calendar-day-header {
		margin-bottom: 10px;
}

.section.agend .calendar-day-header .date {
	font-weight: bold;
}

.section.agend .calendar-day-header .date .day {
	text-transform: capitalize;
}

@media(max-width: 767px){
	.section.agend .calendar-day-header .date .day {
		display: none;
	}
}

.section.agend .calendar-day-content {
	margin-top: 10px;
}

.section.agend .calendar-day-content .agend-item {
    color: #333;
	display: block;
	margin-bottom: 20px;
}

.section.agend .calendar-day-content .agend-item:hover {
    text-decoration: none;
}

.section.agend .calendar-day-content .agend-item .item-header {
    padding: 5px 10px;
}

.section.agend .calendar-day-content .agend-item .item-header {
   /* serve quando l'evento non ha assegnato una categoria */
   background-color: #aaaaaa;
   border-color: #aaaaaa;
   color: #ffffff;
}

.section.agend .calendar-day-content .agend-item .item-header span.title {
    font-size: 20px;
    font-weight: bold;
}

.section.agend .calendar-day-content .agend-item .item-header .fa-search {
    background-color: #fff;
    border: 1px solid #ccc;
    color: #ccc;
    float: right;
    height: 30px;
    line-height: 25px;
    text-align: center;
    width: 30px;
}

.section.agend .calendar-day-content .agend-item:hover .item-header .fa-search {
    border-color: #333;
    color: #333;
}

.section.agend .calendar-day-content .agend-item .item-content {
    border-bottom: 1px solid #ccc;
    border-left: 1px solid #ccc;
    border-right: 1px solid #ccc;
    padding: 10px;
}

.section.agend .calendar-day-content .agend-item:hover .item-content {
    border-color: #333;
}

.section.agend .calendar-day-content .agend-item .item-content .summary {
    border-bottom: 1px dashed #ccc;
    display: block;
    margin-bottom: 10px;
    padding-bottom: 10px;
}

.section.agend .calendar-day-content .agend-item .item-content .icon-repeat {
    color: #ccc;
    float: right;
    margin-top: 10px;
}

.agend-grid .calendar-day-empty {
    background-color: #eaeaea;
    border: 1px solid #ccc;
    margin-top: 15px;
    padding: 15px 0;
    text-align: center;
    text-transform: uppercase;
}

/*Dettaglio dell'evento*/
.agend-content .item-content .summary {
    font-weight: bold;
}

.agend-content .item-content:after {
    clear: both;
    content: ".";
    display: block;
    height: 0;
    visibility: hidden;
}

.agend-content .item-content img {
    float: left;
    margin-bottom: 10px;
    margin-right: 10px;
    max-width: 350px;
}

.agend-content .item-bottom {
    border-bottom: 1px solid #ccc;
    border-top: 1px solid #ccc;
    margin: 20px 0;
    padding: 10px 0;
}

.agend-content .item-bottom > span {
    margin-right: 20px;
}

.agend-content .item-bottom span.categories > span + span:before {
    color: #ccc;
    content: "/ ";
    padding: 0 5px;
}

.agend-content .repeat-text {
    font-weight: bold;
}


@media(max-width: 767px){
	.agend-content .item-content img {
		float: none;
		margin: 0 auto 10px;
		max-width: 100%;
	}
	.agend-content .item-bottom > span {
		display: block;
		margin-right: 0;
	}
}
/* ---------------------------------------------------------------------------------------------- */



/* Lista Eventi
------------------------------------------------------------------------------------------------- */
.agend-list .calendar-event:after {
    clear: both;
    content: ".";
    display: block;
    height: 0;
    visibility: hidden;
}

.agend-list .calendar-event {
    border-bottom: 1px solid #ccc;
    display: block;
    margin-bottom: 5px;
    padding-bottom: 5px;
}

.agend-list .calendar-event .date {
    background-color: #CCC;
    color: #fff;
    float: left;
    margin-right: 5px;
    padding: 5px 10px;
    text-align: center;
    text-transform: uppercase;
}

.agend-list .calendar-event .date span {
    display: block;
    font-size: 12px;
    line-height: 12px;
}

.agend-list .calendar-event .date span.number {
    font-size: 18px;
    font-weight: bold;
    line-height: 20px;
}

.agend-list .calendar-event .details .title {
	color: #333;
    display: block;
    font-weight: bold;
}

.agend-list .calendar-event .details .time {
	color: #333;
    font-size: 12px;
    font-style: italic;
}
/* ---------------------------------------------------------------------------------------------- */