@charset "utf-8";
/* CSS Document */

:root {
	--rosso: #e2001a;
	--nero: #040000;
	--blu: #1054b9;
	--grigio: #9f9f9f;
	--beige: #e5dbd1;
	--grigioChiaro: #f8f8f8;
	--beigeChiaro: #f3ede8;
}

html,
body {
	margin: 0px;
	padding: 0px;
	color: #000;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 15px;
}

a,
a:hover,
a:focus {
	color: #000;
	outline: none !important;
}

.underline {
	text-decoration: underline;
}

a.underline:hover,
a.underline:focus {
	text-decoration: none;
}

button {
	outline: none !important;
}

textarea {
	resize: none;
}

b,
strong {
	font-weight: 700;
}

.btn.active.focus,
.btn.active:focus,
.btn.focus,
.btn.focus:active,
.btn:active:focus,
.btn:focus {
	outline: 0 !important;
	outline-offset: 0 !important;
	background-image: none !important;
	-webkit-box-shadow: none !important;
	box-shadow: none !important;
}

/* -------------------------------------------------------------------------------- */
/* ! margin - padding */
/* -------------------------------------------------------------------------------- */

.mb-70 {
	margin-bottom: 70px;
}

.mb-130 {
	margin-bottom: 130px;
}

/* -------------------------------------------------------------------------------- */
/* ! fonts */
/* -------------------------------------------------------------------------------- */
.font12 {
	font-size: 12px;
}

/* -------------------------------------------------------------------------------- */
/* ! colori */
/* -------------------------------------------------------------------------------- */
.testo-rosso {
	color: var(--rosso) !important;
}

.testo-grigio {
	color: var(--grigio) !important;
}

.testo-nero {
	color: var(--nero) !important;
}

.border-beige {
	border-color: var(--beige) !important;
}

.border-grigioChiaro {
	border-color: var(--grigioChiaro) !important;
}

/* -------------------------------------------------------------------------------- */
/* ! Menu */
/* -------------------------------------------------------------------------------- */

#navbarMenu {
	justify-content: end;
}

header .navbar-nav .nav-link {
	color: var(--nero) !important;
}

header .navbar-nav .nav-link:hover,
header .navbar-nav .nav-link:focus,
header .navbar-nav .active .nav-link {
	color: var(--rosso) !important;
}

@media (min-width: 992px) {
	header .navbar-nav .nav-link {
		padding: 10px 0px;
		margin: 0px 32.5px;
		border-bottom: 3px solid transparent;
	}

	header .navbar-nav .nav-link:hover,
	header .navbar-nav .nav-link:focus,
	header .navbar-nav .active .nav-link {
		color: var(--nero);
		border-color: var(--rosso);
	}
}

/* -------------------------------------------------------------------------------- */
/* ! Footer */
/* -------------------------------------------------------------------------------- */

body {
	display: flex;
	min-height: 100vh;
	flex-direction: column;
}

#wrapper {
	flex: 1;
}

footer {
	font-size: 13px;
}

.footer-1 {
	background-color: var(--beige);
	padding: 20px 0px;
}

.footer-2 {
	padding: 10px 0px;
}

/* -------------------------------------------------------------------------------- */
/* ! HP */
/* -------------------------------------------------------------------------------- */

header {
	background-color: var(--beige);
}

.box-avvocato {
	padding: 50px 35px 25px;
	background-color: var(--grigioChiaro);
	margin-top: 100px;
}

.btn-primary {
	background-color: #d2d2d2;
	color: #000000;
	border: none;
	padding: 12px 30px;
	font-size: 14px;
	font-family: Arial, Helvetica, sans-serif;
	font-style: normal;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:not(:disabled):not(.disabled):active {
	background-color: #929292;
	color: #fff;
}

.box-avvocato .btn-primary {
	margin-top: 40px;
}

a.morelink {
	float: right;
}

.morecontent span {
	display: none;
	transition: all 1s cubic-bezier(.215, .61, .355, 1);
}

.box-avvocato img.img-fluid {
	-webkit-border-radius: 50%;
	-moz-border-radius: 50%;
	border-radius: 50%;
	margin-top: -100px;
}

.box-avvocato .comment {
	font-size: 16px;
	font-style: italic;
	font-family: 'Times New Roman', Times, serif;
}

.box-avvocato .righe {
	position: absolute;
	top: -81px;
}

h1,
h2 {
	padding-left: 50px;
	font-size: 30px;
	line-height: 67px;
	font-weight: 700;
	background: url(../img/righe-rosse.svg) no-repeat left center;
	background-size: 35px 67px;
}

.box-news {
	border: 1px solid var(--beige);
	padding: 40px 40px 20px;
	margin-bottom: 25px;
}

.box-news .data {
	font-size: 14px;
	margin-bottom: 10px;
}

.box-news .titolo {
	color: var(--rosso);
	font-size: 18px;
	font-weight: 700;
	margin-bottom: 10px;
}

.newsHome .box-news .testo {
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
	text-overflow: ellipsis;
}

.newsHome .box-news {
	margin-top: 45px;
}

.box-news a.link {
	color: var(--rosso);
}

.btn-outline-primary {
	color: var(--grigio);
	border-color: var(--grigio);
	padding: 12px 30px;
	font-size: 14px;
}

.btn-outline-primary:hover,
.btn-outline-primary:focus,
.btn-outline-primary:not(:disabled):not(.disabled):active {
	background-color: var(--grigio);
	border-color: var(--grigio);
}

.header-interna {
	background: url(../img/bg-header-interna.jpg) no-repeat center center;
	background-size: cover;
	height: 150px;
}

/* -------------------------------------------------------------------------------- */
/* ! Diritto civile */
/* -------------------------------------------------------------------------------- */

.breadcrumb {
	background-color: transparent;
	border-radius: 0px;
	padding-left: 0px;
}

.breadcrumb-item.active {
	color: var(--rosso);
}

.box-civile {
	padding: 30px;
	background-color: var(--beigeChiaro);
	margin-bottom: 130px;
	height: 100%;
	max-height: 380px;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
}

.box-civile.h-440 {
	max-height: 440px;
	margin-bottom: 70px;
}

.box-civile .titolo,
.box-penale .titolo {
	margin-top: 25px;
	padding-left: 0px;
	font-size: 25px;
	line-height: normal;
	font-weight: 700;
	background: none;
	margin-bottom: 10px;
}

.box-civile .testo p,
.box-penale .testo p {
	margin-bottom: 10px;
	text-align: justify;
}

.box-civile .righe,
.box-penale .righe {
	position: absolute;
	left: 35px;
	top: -31px;
}

.box-civile .immagine,
.box-penale .immagine {
	margin-top: -80px;
}

.box-civile .immagine img,
.box-penale .immagine img {
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
}

/* -------------------------------------------------------------------------------- */
/* ! Diritto penale */
/* -------------------------------------------------------------------------------- */

.box-penale {
	padding: 50px 120px;
	background-color: var(--beigeChiaro);
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
}

/* -------------------------------------------------------------------------------- */
/* ! News */
/* -------------------------------------------------------------------------------- */

.elencoNews .box-news {
	padding: 0px;
	border-top: none;
	border-left: none;
	border-right: none;
	font-size: 13px;
	padding-bottom: 1rem;
	margin-bottom: 1rem;
}

.elencoNews .box-news .data {
	font-size: 14px;
}

.box-news .titolo {
	font-size: 16px;
	margin-bottom: 5px;
}

.elencoNews .box-news p {
	margin-bottom: 0px;
}

.elencoNews .box-news .pdf-link a {
	display: inline-block;
	margin-top: 1rem;
	padding-left: 35px;
	background: url(../img/ico-pdf.png) no-repeat left top;
	line-height: 25px;
	color: var(--blu) !important;
}

.page-link {
	color: var(--blu);
	background-color: #fff;
	border: none;
}

.page-link:hover,
.page-link:focus {
	color: var(--rosso);
	background-color: #fff;
}

.page-item.active .page-link {
	color: var(--rosso);
	background-color: #fff;
	font-weight: 700;
}

/* -------------------------------------------------------------------------------- */
/* ! Contatti */
/* -------------------------------------------------------------------------------- */
.embed-container {
	position: relative;
	padding-bottom: 30%;
	height: 0;
	overflow: hidden;
	max-width: 100%;
}

.embed-container iframe,
.embed-container object,
.embed-container embed {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.radius-50 {
	-webkit-border-radius: 50%;
	-moz-border-radius: 50%;
	border-radius: 50%;
}

/* -------------------------------------------------------------------------------- */
/* ! Privacy */
/* -------------------------------------------------------------------------------- */

h3 {
    font-size: 18px;
    font-weight: bold;
	margin-bottom: 1rem;
}

h4 {
    color: var(--grigio);
    font-weight: bold;
    font-size: 15px;
}

/* -------------------------------------------------------------------------------- */
/* ! Media Desktop piccolo */
/* -------------------------------------------------------------------------------- */
@media (max-width: 1199px) {
	.elencoContatti img {
		max-width: 100px;
		margin-bottom: 15px;
	}
}

/* -------------------------------------------------------------------------------- */
/* ! Media Tablet */
/* -------------------------------------------------------------------------------- */
@media (min-width: 768px) and (max-width: 991px) {
	.box-civile {
		max-height: 440px;
	}
	.elencoContatti span {
		display: none;
	}
}

/* -------------------------------------------------------------------------------- */
/* ! Media Mobile */
/* -------------------------------------------------------------------------------- */

@media (max-width : 767px) {
	.box-avvocato img.img-fluid {
		max-width: 190px;
		margin-bottom: 25px;
	}

	.box-avvocato .righe {
		top: -195px;
		left: -5px;
	}

	.box-news {
		padding: 20px;
	}

	.footer-1 .row>div {
		text-align: center !important;
		margin-bottom: 15px;
	}

	.footer-1 .row>div.text-right {
		margin-bottom: 0px;
	}

	.box-civile {
		height: auto;
		max-height: none;
	}

	.box-civile.h-440.first {
		margin-bottom: 130px;
	}

	.box-penale {
		padding: 30px;
	}

	.box-penale .righe {
		left: 5px;
	}
	.elencoContatti>.col-md-4 {
		text-align: center;
		margin-bottom: 20px;
		padding-bottom: 20px;
		border-bottom: 1px solid var(--grigioChiaro);
		margin-left: 1rem;
		margin-right: 1rem;
	}
}