@import url('https://fonts.googleapis.com/css?family=Cinzel+Decorative:400,700|Roboto:400,700');

html, body {
	font-family:'Roboto',sans-serif;
	font-weight: 400;
	width:100%;
	height:100%;
	font-size: 14px;
}

@media (max-width: 768px){
	
	html, body {
		font-size: 12px;
	}
}

body {
	background-color: rgba(0,0,0,0.025);
}	

.background, .padded {
	margin-top:15px;
	margin-bottom:15px;
	padding-top:15px;
	padding-bottom:15px;
}

@media (min-width: 769px){
	
	body {
		background-image: url(images/idd-cover-image.jpg);
		background-position: center center;
		background-size: cover;	
		background-attachment: fixed;
	}
	
	.background {
		background-color: rgba(255,255,255,0.9);
		border-radius: 3px;
	}	
}

.main {
	background-color: rgba(202,213,217,0.5);
	padding:15px;
	border-radius: 3px;
}

.pill {
	background-color: rgba(202,213,217,0.25);
	padding:15px;
	border-radius: 3px;
	margin-bottom: 5px;
}

.pill p {
	margin-bottom:0.33em;
}

h1, h2, h3 {
	font-family: 'Cinzel Decorative', cursive;
	font-weight: 400;
	margin: 1.25em 0 0.75em;
}

h1:first-child, h2:first-child, h3:first-child {
	margin-top:0;
}

h1 {
	font-size: 2em;
}
h2 {
	font-size: 1.66em;
}
h3 {
	font-size: 1.33em;
}

b, strong {
	font-weight: 700;
}

p, label {
	margin-bottom:0.75em;
}

.sidebar {
	margin-bottom: 2em;
}

.sidebar input, .sidebar select {
	width:100%;
}

label {
	font-weight: normal;
	display:block;
}

@media (max-width: 768px){

	#ricerca_form {
		display:none;
	}

}

input, textarea, button, select, .form-control, .btn {
	margin-bottom:1.25em;
	height:auto;
}

.note-editor {
	margin-bottom:1.25em;
}

input[type="checkbox"], input[type="radio"] {
	margin-right:10px;
	width: auto !important;
}

/*
input[type="checkbox"] + *, input[type="radio"] + * {
	vertical-align: middle;
}
*/

/*
#conditions_panel {
	margin-bottom:1.25em !important;
	height:auto;
}

#conditions_panel select, #conditions_panel .form-control {
	margin-bottom:0;
	height:auto;
}
*/

.alert{
	display:block;
	margin:15px 0;
}

.fa, .fas {
	margin:0 5px;
}

ul li {
	margin-bottom:0.75em;
}

table th {
	cursor: pointer;
}

table .btn, table .form-control {
	margin-bottom: 0;
}

.floating {
	position: fixed !important;
	top:10px;
	right:10px;
	display:none;
	z-index: 1000;
}

#footer {
	color:#888;
	font-size: 0.8em;
}

.input-inline, .input-checkbox {
	display:block;
}

.input-checkbox > :first-child {
	display:inline-block;
	width: 90%;
	vertical-align: top;
}

.input-checkbox > :last-child {
	display:inline-block;
	width: 9%;
	vertical-align: top;
}

@media (min-width: 769px){

	.input-inline > :first-child {
		display:inline-block;
		width: 200px;
		vertical-align: top;
	}
	
	.input-inline > :last-child {
		display:inline-block;
		width: calc(100% - 210px);
		vertical-align: top;
	}
	
}

.form-inline .form-control {
    display: inline-block;
    width: auto;
    vertical-align: middle;
}

.btn-paypal {
	background-color: #00457C;
	color: white;
}
.btn-paypal:before {
	content: url('images/paypal-icon.svg');
	display: inline-block;
	width: 12px;
	vertical-align: middle;
	margin-right: 0.4rem;
}

/** 
 * Fix problem on events fonts
**/
.pill font {
    color: black;
}