/*!
 * Start Bootstrap - Busines Frontpage (https://startbootstrap.com/template-overviews/business-frontpage)
 * Copyright 2013-2017 Start Bootstrap
 * Licensed under MIT (https://github.com/BlackrockDigital/startbootstrap-business-frontpage/blob/master/LICENSE)
 */
html {
	background-color: #394b54;
}
body {
	padding-top: 0 !important;
	font-family: 'Roboto Condensed', sans-serif;
	font-size: 14px;
	color: #333;
	background-color: #e5eaed;
}
a {
	color: black;
	text-decoration: none;
}
a:hover {
	color: #e4013b;
	text-decoration: none !important;
}

#advise {     display: block;
		position: fixed;
		left: 0;
		top: 0;
		bottom: 0;
		right: 0;
		z-index: 1;
		text-align: center;
		background-color: rgba(0,0,0,.5);}

#advise div {
	display: block;
		position: fixed;
		margin-right: -50%;
		background-color: #ffffff;
		/*border: 2px dotted #ff0000;*/
		border: 10px solid #1B39E7;
		z-index: 1150;
		text-align: left;
		padding: 20px;
}

input.bottone {
		/*position: absolute;
		right: 0px;
		top: 0px;
		border: 0px;
		background-color: #ff0000;
		margin-right: 0px;*/
		color: #c03;
		width: 200px;
		height: 40px;
		font-weight: bold;
		padding: 0;
		cursor: pointer;
		clear: both;
		border: none;
		background-color: transparent;
		text-align: center;
		width: 100%;
	}

.text-box { margin-left: 30px;}

/*  optimizer for mobile 375 x 667 (from iphone SE/X and and newer)  */
	@media (min-width: 375px) {
	  #advise div  { 
		width: 90%;
		left: 0;
		top: 0;
		transform: none;
		overflow:scroll;
		height: 375px!important;}
	  #advise div  { 
		  line-height: 1.0rem;
		  font-size: 0.6rem }
	}

/*  optimizer for screen 800 x 600 px  */
	@media (min-width: 800px) { 
	  #advise div { height: 580px;}
	}
	
/*  optimizer for screen 1920 px con visualizzazione al 150%  */
	@media (min-width: 1152px) {
	  #advise p { font-size: 0.7rem; line-height: 1.2rem; margin-bottom: 0.5rem;}
	  #advise div { 
		width: 900px; 
		height: 480px!important;
		transform: translate(-50%, -50%);
		left: 50%;
		top: 50%;
		overflow: hidden;}
	}

/*  optimizer for screen 1920 px con visualizzazione al 125%  */
	@media (min-width: 1520px) {
	  #advise p { font-size: 0.8rem; line-height: 1.3rem; margin-bottom: 0.7rem;}
	  #advise div{ width: 1300px;}
	}

/*  optimizer for screen 1920 px con visualizzazione al 100%  */
	@media (min-width: 1700px) {
	  #advise p {font-size: 1.0rem; margin-bottom: 1.5rem; }
	  #advise div{ width: 1600px; height: 695px!important;}
	}

h1, h2 {
	font-family: 'Anton', sans-serif;
}
h1 {
	font-size: 3.5em !important;
	text-transform: uppercase;
}
h2 {
	font-size: 2.2em !important;
	color: #233a74;
}
.red {
	color: #e4013b;
}
.error {
	font-size: 1.6rem;
}
.navbar {
	padding: 0;
}
.navbar-brand {
	padding: 0;
}
.bg-dark {
	background-color: #04204C !important;
	
	
	
}
.mt-4 {
	position: relative;
	top: 160px;
	margin-top: 0 !important;
}
.btn-primary {
	color: #e5272b;
	background-color: #ffffff;
	border: #e5272b 3px solid;
	border-radius: 0 !important;
	text-transform: uppercase;
	font-size: 14px;
	font-weight: 700;
	width: 100%;
}
.btn-primary:hover {
	color: #ffffff;
	background-color: #e4013b;
	border: #e4013b 3px solid;
}
input[type="text"], input[type="password"] {
	width: 100%;
	padding: .375rem .75rem;
	line-height: 1.5;
	border: 3px solid #eceef0;
	background-color: #eceef0;
}
input[type="submit"] {
	margin-top: 20px;
}
.card-body {
	padding: 1.25rem 1.25rem 0;
}
.card-body li {
	line-height: 27px;
}
footer.py-5 {
	padding-top: 3rem !important;
	background-color: #394b54;
}

@media (min-width: 992px) {
}
.business-header {
	height: 50vh;
	min-height: 300px;
	background: url(../images/formula-1-motion-blur-wallpaper-49938-51620-hd-wallpapers.jpg) center center no-repeat scroll;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	background-size: cover;
	-o-background-size: cover;
}
.card {
	height: 100%;
}
.form-group-inline {
	margin-bottom: .5rem;
}

@media (min-width: 992px) {
.form-group-inline {
	text-align: right;
}
.form-group-inline label {
	float: left;
}
.form-group-inline input[type="text"], .form-group-inline input[type="password"], .form-group-inline textarea {
	width: 50%;
}
}
