html, body {
	margin: 0;
	height: 100%;
	min-height: 100%;
	background-color: #f1f1f1;
}

body {
	padding-top: 50px;
	position: relative;
}

.outerContainer {
	position: absolute;
	display: block;
	text-align: center;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.outerContainer:before {
	content: ' ';
	display: inline-block;
	height: 100%;
	vertical-align: middle;
}

.innerContainer {
	display: inline-block;
	vertical-align: middle;
}

#loginForm{
	overflow: hidden;
	background-color: #ECEBE5;
}

#loginForm .logo{
	margin-top: -10px;
	margin-bottom: -10px;
}

#loginForm:after{
	content: ' ';
	display: block;
	height:105%;
	width:105%;
	text-align:center;
	background:url('../../download/random') no-repeat center;
	background-size:cover;
	-webkit-filter: blur(13px);
	-moz-filter: blur(13px);
	-o-filter: blur(13px);
	-ms-filter: blur(13px);
	filter: blur(13px);
	position: absolute;
	left:-2.5%;
	top: -2.5%;
	z-index: 1;
	opacity: 0.7;
}

#loginForm .miniboxLogin{
	width: 400px;
	padding: 15px;
	position: relative;
	z-index: 2;
	border-top: 4px solid #337ab7;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
	background-color: #fff;
	-webkit-box-shadow: 0 5px 14px rgba(90, 90, 128, 0.7);
	-moz-box-shadow: 0 5px 14px rgba(90, 90, 128, 0.7);
	box-shadow: 0 5px 14px rgba(90, 90, 128, 0.7);
	color: #321088;
}
@media screen and (max-width: 420px) {
	#loginForm .miniboxLogin{
		width: 85%;
		margin-left: -5px;
	}
}

#loginForm h1{
	color: #337ab7;
	margin-top: 15px;
	margin-bottom: 30px;
}

#loginForm h2{
	color: #337ab7;
	margin-top: 20px;
	margin-bottom: 20px;
}

#loginForm .bg-danger{
	margin: 20px 0 0;
	padding: 10px;
	text-align: left;
	border-radius: 4px;
	color: #c7254e;
}

#loginForm input{
	margin-top: 20px;
	border: 2px solid #ccc;
	-webkit-transition: all 0.3s ease;
	-moz-transition: all 0.3s ease;
	-o-transition: all 0.3s ease;
	transition: all 0.3s ease;
}
#loginForm input[type='text'], #loginForm input[type='password']{
	padding: 20px 10px;
	background: #f9f9f9;
	-webkit-box-shadow: inset 0 3px 9px rgba(90, 90, 128, 0.2);
	-moz-box-shadow: inset 0 3px 9px rgba(90, 90, 128, 0.2);
	box-shadow: inset 0 3px 9px rgba(90, 90, 128, 0.2);
}
#loginForm input[type='text']:focus, #loginForm input[type='password']:focus{
	background: #fff;
	-webkit-box-shadow: inset 0 0 7px rgba(90, 90, 128, 0.2);
	-moz-box-shadow: inset 0 0 7px rgba(90, 90, 128, 0.2);
	box-shadow: inset 0 0 7px rgba(90, 90, 128, 0.2);
}
#loginForm .btn-outline-inverse{
	background-color: transparent;
	color: #999;
	margin-bottom: 5px;
	float: right;
	-webkit-transition: all 0.5s ease;
	-moz-transition: all 0.5s ease;
	-o-transition: all 0.5s ease;
	transition: all 0.5s ease;
}
#loginForm .btn-outline-inverse:hover{
	background-color: #ccc;
	color: #fff;
}
#loginForm .otpText{
	margin: 10px 0 -10px;
	text-align: left;
}

.navbar-inverse{
	background-image: linear-gradient(to bottom,#337ab7,#2B669A 100%);
}

.navbar-inverse .navbar-brand, .navbar-inverse .navbar-nav>li>a{
	color: #fff;
}

code{
	color: #337ab7;
	background-color: #c8d6dd;
}

blockquote{
	font-size: inherit;
	border: 1px solid #c8d6dd;
	border-radius: 3px;
	border-left: 5px solid #337ab7;
}

blockquote h5{
	font-size: inherit;
	margin: 0;
	color: #337ab7;
	display: inline-block;
	vertical-align: top;
}

blockquote p{
	display: inline-block;
	width: calc(100% - 7em);
}
kbd{ background-color: #2B669A; }

.no-margin{
	margin:0;
}

.api-param th:nth-child(1){ width: 13%; }
.api-param th:nth-child(2){ width: 10%; }
.api-param th:nth-child(3){ width: 10%; }
.api-param th:nth-child(4){ width: 67%; }

.nav a{ color: #2B669A; }

#calendarBar h4{
	text-align: center;
	text-transform: capitalize;
}
#calendarBar .nav-pills li{
	width: 13%;
	text-align: center;
}
#calendarBar .nav-pills>li>a{
	padding: 7px 0;
}

#calendarBar li.today:before{
	content: '';
	display: inline-block;
	border: solid transparent;
	border-width: 0 0 7px 7px;
	border-bottom-color: #337ab7;
	border-top-color: rgba(0,0,0,0.2);
	position: absolute;
	bottom: 4px;
	right: 4px;
	z-index: 1;
}

#calendarBar li.active.today:before{
	border-bottom-color: #fff;
}

.title-noMargin{ margin-bottom: -30px; }
.calDay, .apiBox{ padding-top: 50px; }
.dashboard .calDay:first-child{ padding-top: 0; }
.calDay .table{ margin-bottom: 0; }

.calDay h3{
	text-transform: capitalize;
}

.calDay h3 span{
	display: inline-block;
	position: relative;
	width: 1.5em;
	height: 1.5em;
	text-align: center;
	color: #fff;
	background-color: #337ab7;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
	vertical-align: middle;
	padding-top: 5px;
}

.calDay.today h3 span:before{
	content: '';
	display: inline-block;
	border: solid transparent;
	border-width: 0 0 7px 7px;
	border-bottom-color: #fff;
	border-top-color: rgba(0,0,0,0.2);
	position: absolute;
	bottom: 4px;
	right: 4px;
	z-index: 1;
}

.nav>li>a:focus, .nav>li>a:hover{
	background-color: rgba(241, 241, 241, 0.6);
}

.backpage{
	float: right;
}

.moreInfo{
	display: inline-block;
	padding: 5px 7px;
	background-color: #337ab7;
	color: #fff;
	margin-top: -4px;
	margin-bottom: -4px;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
}
.moreInfo:hover{
	color: #fff;
	background-color: #5992C3;
	text-decoration: none;
}
.recallAll{
	float: right;
	margin-right: 7px;
}

.paginationContainer{
	text-align: center;
	margin: 20px 0;
}
.totalRow{
	color: #337ab7;
	font-style: italic;
}
.pagination{
	margin: 0;
}

.highlighted{
	color: #fff;
	background-color: #337ab7;
	padding: 5px;
}

.panel-title.highlighted{
	padding: 7px 10px;
}

.nav-tabs>li>a:hover{
	border: 1px solid #e5e5e5;
	-webkit-box-shadow: inset 0px -4px 7px rgba(90, 90, 128, 0.1);
	-moz-box-shadow: inset 0px -4px 7px rgba(90, 90, 128, 0.1);
	box-shadow: inset 0px -4px 7px rgba(90, 90, 128, 0.1);
	background-color: rgba(255, 255, 255, 0.6);
}

.nav-tabs>li.active>a, .nav-tabs>li.active>a:focus, .nav-tabs>li.active>a:hover{
	background-color: #f1f1f1;
	-webkit-box-shadow: 0px -4px 10px 2px rgba(90, 90, 128, 0.1);
	-moz-box-shadow: 0px -4px 10px 2px rgba(90, 90, 128, 0.1);
	box-shadow: 0px -4px 10px 2px rgba(90, 90, 128, 0.1);
	font-weight: bold;
}

.tab-pane{
	margin-top: 10px;
}

.microThumb{
	width: 18px;
	height: 18px;
	vertical-align: sub;
}

h1 .microThumb{
	width: 36px;
	height: 36px;
}

.planner-table tr td:first-child{
	width: 33%;
}

.col-md-4 .planner-table tr td:first-child{
	width: auto;
}

.detail-table tr td:first-child{
	width: 17%;
}

.dayByDay-table tr td:first-child, .general-travel-table>tbody>tr>td:first-child{
	width: 8%;
}

.evaluation-travel-table td:nth-child(2n+1){
	text-align: right;
}

.evaluation-travel-table td:nth-child(2n+2){
	border-right: 1px solid #ddd;
}

.evaluation-travel-table td[colspan="1"]:nth-child(2n+2){
	width: 15%;
}

.evaluation-travel-table td:last-child{
	border-right: 0;
}

.detail-notification-table>tbody>tr>td:nth-child(3){
	width: 100px;
	text-align: center;
}

.table>tbody>tr>td.iconTD{
	position: relative;
	padding-left: 30px;
}

td.iconTD img,
td.iconTD i.fa{
	position: absolute;
	left: 8px;
}

td.iconTD i.fa{
	font-size: 15px;
	margin-top: 3px;
}

.panel{
	background-color: transparent;
}

.panel-group{
	margin-bottom: 0;
}

.panel-collapse>p{
	margin: 10px 15px;
}

thead a{
	display: inline-block;
	width: 100%;
	padding-right: 15px;
	position: relative;
}

thead a:hover{
	text-decoration: none;
}

thead a:after{
	content: '\f0dc';
	font-family: FontAwesome;
	position: absolute;
	bottom: 0;
	right: 3px;
	line-height: 18px;
}

thead th.desc a:after{
	content: '\f0dd';
}

thead th.asc a:after{
	content: '\f0de';
}

.coll-partenza, .coll-arrivo{
	width: 7em;
}

/*
 * Global add-ons
 */

.sub-header {
	padding-bottom: 10px;
	border-bottom: 1px solid #eee;
}

/*
 * Top navigation
 * Hide default border to remove 1px line.
 */
.navbar-fixed-top {
	border: 0;
}

/*
 * Sidebar
 */

/* Hide for mobile, show later */
.sidebar, .calendarbar {
	display: none;
}
.sidebar .background, .calendarbar .background{
	display: block;
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	z-index: -1;
	overflow: hidden;
	-webkit-box-shadow: inset -15px 5px 50px rgba(90, 90, 128, 0.6);
	-moz-box-shadow: inset -15px 5px 50px rgba(90, 90, 128, 0.6);
	box-shadow: inset -15px 5px 50px rgba(90, 90, 128, 0.6);
}

.calendarbar .background{
	-webkit-box-shadow: inset 15px 5px 50px rgba(90, 90, 128, 0.6);
	-moz-box-shadow: inset 15px 5px 50px rgba(90, 90, 128, 0.6);
	box-shadow: inset 15px 5px 50px rgba(90, 90, 128, 0.6);
}
.sidebar .background:after, .calendarbar .background:after{
	content: ' ';
	display: block;
	height:110%;
	width:110%;
	text-align:center;
	background:url('../../download/random') no-repeat left center;
	background-size:cover;
	-webkit-filter: blur(18px);
	-moz-filter: blur(18px);
	-o-filter: blur(18px);
	-ms-filter: blur(18px);
	filter: blur(18px);
	position: absolute;
	left:-5%;
	top: -5%;
	opacity: 0.5;
}
.calendarbar .background:after{
	background-position: right center;
}
#TravelBar .select2{ width: 100% !important; }
.filterReset{ float: right; }
.maps{
	height: 150px;
}
.fancybox-skin{ background: #f1f1f1; }

.logNote{ display: none; }

@media (min-width: 768px) {
	.sidebar, .calendarbar {
		position: fixed;
		top: 51px;
		bottom: 0;
		left: 0;
		z-index: 1000;
		display: block;
		background-color: #ECEBE5;
		border-right: 1px solid #ddd;
	}
	.calendarbar{
		left: initial;
		right: 0;
		border-right: 0;
		border-left: 1px solid #ddd;
	}
	.sidebar-content{
		position: absolute;
		top: 0;
		left: 0;
		min-height: 100%;
		max-height: 100%;
		width: 100%;
		padding: 15px;
		overflow-x: hidden;
		overflow-y: auto; /* Scrollable contents if viewport is shorter than content. */
	}
}

/* Sidebar navigation */
.nav-sidebar {
	margin-right: -21px; /* 20px padding + 1px border */
	margin-bottom: 20px;
	margin-left: -20px;
}
.nav-sidebar > li > a {
	padding-right: 20px;
	padding-left: 20px;
	text-shadow: rgba(255, 255, 255, 0.15) -1px -1px 0;
	font-weight: bold;
}
.nav-sidebar > .active > a,
.nav-sidebar > .active > a:hover,
.nav-sidebar > .active > a:focus {
	color: #fff;
	background-color: #337ab7;
	text-shadow: none;
}

#datetimepicker{
	text-shadow: rgba(255, 255, 255, 0.15) -1px -1px 0;
	font-weight: bold; color: #2B669A;
	cursor: pointer;
	padding: 10px 0;
}
#datetimepicker:hover{
	background-color: rgba(241, 241, 241, 0.6);
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
}
#datetimepickerbox{ width: 100%; }
#datetimepickerbox span.input-group-addon{ display:none; }
.bootstrap-datetimepicker-widget.dropdown-menu{ width: 100%; min-width: 220px; background-color: #f1f1f1; }
.bootstrap-datetimepicker-widget.dropdown-menu.bottom:after,.bootstrap-datetimepicker-widget.dropdown-menu.top:after{ border-bottom-color: #f1f1f1;}
.bootstrap-datetimepicker-widget table td span{width: 52px; height: 52px; line-height: 52px; display: block; float: left;}
.bootstrap-datetimepicker-widget .datepicker-decades .decade{ text-align: left; padding: 0 5px;}
.bootstrap-datetimepicker-widget table td span:hover{background: #fbfbfb;}
.bootstrap-datetimepicker-widget table td span.active:hover{background: #337ab7;}
.bootstrap-datetimepicker-widget table thead tr:first-child th:hover, .bootstrap-datetimepicker-widget table td.day:hover, .bootstrap-datetimepicker-widget table td.hour:hover, .bootstrap-datetimepicker-widget table td.minute:hover, .bootstrap-datetimepicker-widget table td.second:hover{background: #fbfbfb;}
.bootstrap-datetimepicker-widget table td span:empty{background: transparent !important; cursor: default;}
#calendarBar .bootstrap-datetimepicker-widget.dropdown-menu{ top: -10px !important; }
#calendarBar .bootstrap-datetimepicker-widget.dropdown-menu.bottom:before, #calendarBar .bootstrap-datetimepicker-widget.dropdown-menu.top:before{ left: 50%; margin-left: -8px; }
#calendarBar .bootstrap-datetimepicker-widget.dropdown-menu.bottom:after, #calendarBar .bootstrap-datetimepicker-widget.dropdown-menu.top:after{ left: 50%; margin-left: -7px;}
#TravelBar .bootstrap-datetimepicker-widget.dropdown-menu{ width: 100%; }
#pushnotification-title, #pushnotification-abstract, #pushnotification-text{
	width: 100%;
	display: block;
	margin-bottom: 10px;
	padding: 5px 10px;
}

/*
 * Main content
 */

.main {
	padding: 20px;
}
@media (min-width: 768px) {
	.main {
		padding-right: 40px;
		padding-left: 40px;
	}
}
.main .page-header {
	margin-top: 0;
}


/*
 * Placeholder dashboard ideas
 */

.placeholders {
	margin-bottom: 30px;
	text-align: center;
}
.placeholders h4 {
	margin-bottom: 0;
}
.placeholder {
	margin-bottom: 20px;
}
.placeholder img {
	display: inline-block;
	border-radius: 50%;
}


/*
 * User Generated Content Grid
 */
.ugc-tabpanel{
	margin-left: -7px;
	margin-right: -7px;
}

.ugc-detail {
	position: fixed;
	top: 0;
	bottom: 50px;
	left: initial;
	right: 0;
	border-left: 1px solid #ddd;
	z-index: 1000;
	display: block;
	overflow: auto;
}

.ugc-detail .dropdown-menu { z-index: 9999; }

.ugc-content {
	position: fixed;
	top: 0;
	bottom: 0;
	left: 0;
	background-color: #ECEBE5;
}

.ugc-content>.sidebar-content>img { width: 100%; }

.ugc-content .ugc-grid-note {
	margin-top: 10px;
	margin-bottom: 10px;
}

#ugc-nav ul { width: 100%; }
#ugc-nav li { text-align: center; }
#ugc-delete h1 { color: #aaa; }
#ugc-delete p { margin: 0; }

.ugc-grid {
	max-width: 100%;
	list-style: none;
	margin: 30px auto;
	padding: 0;
	box-sizing: border-box;
}

.ugc-grid li {
	display: block;
	float: left;
	padding: 7px;
	width: 33%;
	opacity: 0;
	box-sizing: border-box;
}

.ugc-grid li.shown,
.no-js .ugc-grid li,
.no-cssanimations .ugc-grid li {
	opacity: 1;
}

.ugc-grid li a,
.ugc-grid li img {
	outline: none;
	border: none;
	display: block;
	max-width: 100%;
	box-sizing: border-box;
}

.ugc-grid-note, .ugc-grid-poi {
	background-color: #f9f9f9;
	padding: 40px 20px;
	border: 1px solid #ddd;
	box-shadow: 0 1px 2px rgba(0,0,0,.05);
	border-radius: 4px;
	position: relative;
}

.ugc-grid-poi { padding: 40px 40px 13px; }

.ugc-grid-note .fa-quote-left {
	position: absolute;
	top: 15px;
	color: #555;
}

.ugc-grid-note .fa-quote-right {
	position: absolute;
	bottom: 15px;
	right: 20px;
	color: #555;
}

.ugc-grid-note p {
	margin-left: 52px;
	margin-right: 52px;
	color: #333;
}

.ugc-grid-poi img { margin-bottom: 13px; }

.ugc-grid-poi p {
	text-align: center;
	text-decoration: none;
	color: #333;
	margin: 0;
}

.ugc-grid a:hover, .bxslider a:hover { text-decoration: none; }

.bxslider li img{ margin: 0 auto; }
.bxslider .bx-viewport{
	background: #f9f9f9;
	border-color: #f9f9f9;
}
.noGallery{
	color: #aaa;
	font-weight: 600;
	text-align: center;
	margin-top: 7em;
}

/* Effect: Move Up */
.ugc-grid li.animate {
	-webkit-transform: translateY(200px);
	transform: translateY(200px);
	-webkit-animation: moveUp 0.65s ease forwards;
	animation: moveUp 0.65s ease forwards;
}

@-webkit-keyframes moveUp {
	0% { }
	100% { -webkit-transform: translateY(0); opacity: 1; }
}

@keyframes moveUp {
	0% { }
	100% { -webkit-transform: translateY(0); transform: translateY(0); opacity: 1; }
}

@media screen and (max-width: 900px) {
	.ugc-grid li { width: 50%; }
}

@media screen and (max-width: 768px) {
	.ugc-content, .ugc-detail {
		position: static;
		display: block;
		padding-bottom: 40px;
		border: 0;
		background-color: #f1f1f1;
	}
	.ugc-content { padding: 0 0 1px 0; }
}

@media screen and (max-width: 400px) {
	.ugc-grid li { width: 100%; }
}

.flag {
	display: inline-block;
	width: 9px;
	height: 18px;
	vertical-align: sub;
	border-radius: 9px 0 0 9px;
	background-color: #c5cde0;
}
.flag+.flag {
	border-radius: 0 9px 9px 0;
}
.consenso_given {
	background-color: #028962;
}
.consenso_denied {
	background-color: #BB0338;
}