/* Custom CSS per pagina di cortesia */


body {
	background: #F5F5F5;
}

header {
	width: 100%;
	height: 70px;
	background: white;
	box-shadow: 0 2px 7px rgba(0, 0, 0, 0.16);
	position: relative;
}

header img.logo {
	height: 56px;
	width: auto;
	position: absolute;
	left: 2rem;
	top: 50%;	
	transform: translateY(-50%);
}

header > h3 {
	font-size: 1.5em;
	text-align: center;
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
}

article.p-box {
    width: 90vw;
    min-height: calc(100vh - 170px);
    height: auto;
    padding: 50px;
    border-radius: 16px;
    background: #99c1ea;
    box-shadow: 0px 10px 30px rgb(0 0 0 / 10%);
    margin: 50px auto;
}

article.p-box h2 {
	font-weight: 600;
	color: #043565;
	position: relative;
	top: 1rem;
}

article.p-box img {
    margin: 3rem auto 1rem;
    display: block;
    width: auto;
    height: 25rem;
}

.btn-group-courtesy {
	position: relative;
    top: -20px;
    text-align: center;
	
}

button.btn-courtesy {
	/* button reset */
	border: none;
    margin: 0.5rem 0.5rem;   
	
	font-weight: 600;
	font-size: 42px;
	text-align: center;
	color: #fff;
	padding: 2rem 3rem;
	border-radius: 6px;
	background: #06c;
	box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.16);
	transition: all 90ms linear;
}

button.btn-courtesy:focus {
	outline:0;
}

button.btn-courtesy:hover {
	background: #043565;
	cursor: pointer;
}

button.btn-courtesy:active {
	background: #043565;
	transform: scale(0.96);
}


/* Responsive */

@media only screen and (min-width: 1281px){
	article.p-box {
		padding: 30px 20px;
		min-height: 0;
	}
	article.p-box h2 {
		top: 0;
	}
	article.p-box img {
		height: 18rem;
		margin: 1rem auto;
	}
	button.btn-courtesy {
		padding: 1.5rem 3rem;
		font-size: 1.5em;
	}
}


@media only screen and (max-width: 1280px) {
	article.p-box {
		padding: 30px 20px;
		min-height: 0;
	}
	article.p-box h2 {
		top: 0;
	}
	article.p-box img {
		height: 18rem;
		margin: 1rem auto;
	}
	button.btn-courtesy {
		padding: 1.5rem 3rem;
		font-size: 1.5em;
	}
}

@media only screen and (max-width: 1025px) {
	article.p-box {
		padding: 30px 20px;
	}
	article.p-box h2 {
		top: 0;
	}
	article.p-box img {
		height: 18rem;
		margin: 1rem auto;
	}
	button.btn-courtesy {
		padding: 1.5rem 3rem;
		font-size: 1.5em;
	}
}

@media only screen and (max-width: 769px) {
	article.p-box {
		min-height: 0;
	}
	article.p-box img {
		height: 15rem;
	}
	header img.logo {
		left: 1.5rem;
	}
	header > h3 {
		right: 2rem;
		transform: translate(0, -50%);
		text-align: right;
	}
	button.btn-courtesy {
		padding: 1rem 3rem;
	    font-size: 1.35em;
	    width: 80%;
	    margin: 0.5rem auto;
	}
}

@media only screen and (max-width: 426px) {
	article.p-box {
		margin: 1.5rem auto;
	}
	article.p-box img {
		height: 17rem;
	}
	header img.logo {
		left: 1.5rem;
		height: 42px;
	}
	header > h3 {
		right: 2rem;
		transform: translate(0, -50%);
		text-align: right;
	}
	.btn-group-courtesy {
		top: -30px;
	}
	button.btn-courtesy {
		padding: 1rem 3rem;
	    font-size: 1.35em;
	    width: 100%;
	    margin: 0.5rem auto;
	}
}

@media only screen and (max-width: 361px) {
	article.p-box img {
		height: 15rem;	
	}
}






