@font-face {
	font-family: 'georgia_proregular';
	src: url('../fonts/GeorgiaPro/georgiapro-regular-webfont.woff2') format('woff2'),
		url('../fonts/GeorgiaPro/georgiapro-regular-webfont.woff') format('woff');
	font-weight: normal;
	font-style: normal;
}

body,
html {
	padding: 0px;
	overflow-x: hidden;
	font-family: 'georgia_proregular', sans-serif !important;
	position: relative;
	/*color: #5B5B5B !important;*/
}

.navbar {
	text-transform: uppercase;
	background-image: none;
	padding-bottom: 0px;
	padding-top: 0px;
	border-bottom: 1px solid lightgray;
}

/*.navbar > .d-flex {
	background-color:#133596;
	margin: 15px;
	border-radius: var(--bs-border-radius);
	padding-left:0px;
	padding-right:0px;
}*/

/*.navbar > .d-flex > ul > li > a {
	color: white;
}*/

#navbarNav>ul>li {
	margin-right: 5px;
	margin-left: 5px;
}

#navbarNav>ul>li>a.active {
	background-color: #00B0F4;
	color: #fff !important;
}

.navbar-brand {
	padding: 10px;
	background-color: white;
}

/* Webkit Scrollbar Styles */
::-webkit-scrollbar {
	width: 15px;
}

::-webkit-scrollbar-track {
	background: #f1f1f1;
	/* Track color */
}

::-webkit-scrollbar-thumb {
	background-color: #888;
	/* Handle color */
	border-radius: 6px;
	/* Rounded corners on the handle */
	border: 3px solid #f1f1f1;
	/* Border color of the handle */
}

::-webkit-scrollbar-thumb:hover {
	background-color: #555;
	/* Handle color on hover */
}

.img-container {
	position: relative;
	overflow: hidden;
	height: 100%;
}

.img-container img {
	object-fit: cover;
	width: 100%;
	height: 100%;
	display: block;
	margin: 0 auto;
}


/* New section with blurred background image and floating div */
.blurred-background {
	position: relative;
	width: 100%;
	height: 100vh;
	overflow: hidden;
	padding: 0px;
}

.blurred-background::before {
	content: '';
	position: absolute;
	width: 100%;
	height: 100%;
	background: url(../img/fotolia_2.jpg) center center fixed;
	background-size: cover;
	filter: blur(5px);
	/* Adjust the blur effect as needed */
}

.overlay-blur {
	position: absolute;
	width: 100%;
	height: 100%;
	background-color: rgb(85, 85, 85, 0.1);
	/* Adjust the transparency and color */
}

.floating-div {
	position: absolute;
	top: 60%;
	left: 50%;
	transform: translate(-50%, -50%);
	text-align: center;
	color: #fff;
	/* Text color on the floating div */
	width: 100%;
}

.floating-div img {
	width: 500px;
	/* Adjust the logo width as needed */
	height: auto;
	margin-bottom: 20px;
	max-width: 80%;
	background-color: rgba(255, 255, 255, 0.7);
	padding: 10px;
	border-radius: 5px;
}


/* #intro {
	margin-top: 150px;
	min-height: 30vh;
	padding-bottom: 70px;
	background: url(../img/min_3.jpg) no-repeat 50% 0 fixed; 
	height: 940px; 
	margin-top: 10px;
	margin-bottom: 10px;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
} */

.accordion-header>button>.container-fluid {
	min-height: 70px;
	align-items: start !important;
	justify-content: center !important;
	flex-direction: column !important;
	display: flex !important;
}

/*.prodotti {
	background: url(../img/min_3.jpg) no-repeat 50% 0 fixed;
	 height: 245px; 
	 	height: 940px; 
	margin-top: 10px;
	margin-bottom: 10px;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
}*/
#img-overflow-medici {
	/*overflow-clip-margin: content-box;
	overflow: clip;*/
	vertical-align: middle;
	height: auto;
	max-width: 100%;
	/*margin-top: -3rem !important;*/
	width: 250px;
}

#img-overflow-strutture {
	/*overflow-clip-margin: content-box;
	overflow: clip;*/
	vertical-align: middle;
	height: auto;
	max-width: 100%;
	/*margin-top: -3rem !important;*/
	width: 300px;
}

#img-overflow-dir-scolastici {
	/*overflow-clip-margin: content-box;
	overflow: clip;*/
	vertical-align: middle;
	height: auto;
	max-width: 100%;
	/*margin-top: -3rem !important;*/
	width: 290px;
}
#img-overflow-intermediari {
	/*overflow-clip-margin: content-box;
	overflow: clip;*/
	vertical-align: middle;
	height: auto;
	max-width: 100%;
	/*margin-top: -8rem !important;*/
	width: 350px;
}
/*Intermediari*/
.btn-bhdi {
	color: #fff !important;
    text-transform: uppercase;
    text-decoration: none;
    /* background: #60a3bc; */
    background: #133596;
    display: inline-block;
    border: none;
    transition: all 0.4s ease 0s;
}

.business-card {
	border-radius: 10px;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
	transition: transform 0.3s;
	cursor: default;
	margin: 15px;
}

.business-card:hover {
	transform: translateY(-5px);
}

.business-card>.card-header {
	background: linear-gradient(to bottom right, #00B0F4, #133596);
	color: #fff;
}

.certificazioni {
	margin-top: 10px;
	margin-bottom: 10px;
}

.servizioClienti {}

#comunicati {
	background: url(../img/parallax/AdobeStock_334080098.jpeg) 50% 70% fixed;
	;
	background-size: cover;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	width: 100%;
	margin-right: auto;
	margin-left: auto;
	color: #fff;
	padding-top: 20px;
	padding-bottom: 20px;
}

#comunicati>div>div {
	margin-top: 50px;
	margin-bottom: 50px;
	min-height: 200px;
}

.contatti {
	/* background: url(../img/fotolia_3.jpg) no-repeat 50% 0 fixed; */
	/* height: 940px; */
	margin-top: 10px;
	margin-bottom: 50px;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
}

.footer {
	background: var(--bs-secondary);
	border: none;
	color: white;
	padding-top: 20px;
	padding-bottom: 20px;
	margin-top: 20px;
}

.bh-blue {
	color: #00B0F4;
}

.back-to-top {
	position: fixed;
	bottom: 25px;
	right: 25px;
	display: none;
	background-color: white;
	opacity: 0.8;
}

.back-to-top img {
	width: 40px;
	height: 40px;
}

/* bootstrap parallax*/
.divider {
	height: 50px;
}


.title-parallax {
	margin: 0;
	padding: 20px 30px;
	position: absolute;
	bottom: 15%;
	color: #000;
	background: #fff;
	opacity: 0.75;
}

section#intro {
	margin-top: 100px;
	margin-bottom: 100px;
}

section#prodotti {
	margin-top: 100px;
	margin-bottom: 100px;
}

section#intermediari {
	margin-top: 100px;
	margin-bottom: 100px;
}

section#servizioClienti {
	margin-top: 100px;
	margin-bottom: 100px;
}

section#comunicati {
	margin-top: 100px;
	margin-bottom: 100px;
}

section#contatti {
	margin-top: 100px;
	margin-bottom: 100px;
}

.parallax-element {
	position: relative
}

section#intermediari-list {
	min-height: 90vh;
}
section#sinistri-auto{
	min-height: 100vh;
}

.anchor-parallax {
	display: block;
	height: 250px;
	/* same height as header; */
	margin-top: -50px;
	/* same height as header; */
	visibility: hidden;
	border: 0 px solid red;
	visibility: hidden
}

/* ------------------------------ */

/* INDEX PRODOTTI */
.accordion-button.collapsed > .newText {
    color: #00b0f4;
}
.accordion-button:not(.collapsed) {
    color: #ffffff !important;
    background-color: #00b0f4 !important;
}
.accordion-button:not(.collapsed) > div > h5 > .bh-blue {
    color: #ffffff !important;
    font-weight: bold !important;
   }
.accordion-button:not(.collapsed) > div > h5  {
    color: #ffffff !important;
   }
.img-res {
	width: 100%;
	height: 100%;
	color: #fff !important;
	text-transform: uppercase;
	text-decoration: none;
	display: inline-block;
	border: none;
	transition: all 0.4s ease 0s;
}

.img-res:hover {
	text-shadow: 0px 0px 6px rgba(255, 255, 255, 1);
	-webkit-box-shadow: 0px 5px 40px -10px rgba(0, 0, 0, 0.57);
	-moz-box-shadow: 0px 5px 40px -10px rgba(0, 0, 0, 0.57);
	transition: all 0.4s ease 0s;
}

.transition {
	color: #fff !important;
	text-decoration: none;
	transition: all 0.4s ease 0s;
}

.transiction:hover {
	text-shadow: 0px 0px 6px rgba(255, 255, 255, 1);
	-webkit-box-shadow: 0px 5px 40px -10px rgba(0, 0, 0, 0.57);
	-moz-box-shadow: 0px 5px 40px -10px rgba(0, 0, 0, 0.57);
	transition: all 0.4s ease 0s;
}

.button {
	color: #fff !important;
	text-transform: uppercase;
	text-decoration: none;
	background: #00B0F4;
	display: inline-block;
	border: none;
	transition: all 0.4s ease 0s;
}

.button:hover {
	text-shadow: 0px 0px 6px rgba(255, 255, 255, 1);
	-webkit-box-shadow: 0px 5px 40px -10px rgba(0, 0, 0, 0.57);
	-moz-box-shadow: 0px 5px 40px -10px rgba(0, 0, 0, 0.57);
	transition: all 0.4s ease 0s;
}

/* .container-fluid {
	margin-bottom: 265px;
} */

/* PRODOTTI */
blockquote {
	/* font-family: 'Source Sans Pro';
    -webkit-font-smoothing: antialiased; */
	font-weight: 200;
	font-size: 28px;
	font-style: italic;
	margin: 0.25em 0;
	padding: 0.25em 40px;
	line-height: 1.45;
	position: relative;
	color: #383838;
	border-left: 5px solid #fff;
	text-align: justify
}

blockquote:before {
	/* 	font-family: 'Source Sans Pro';
    -webkit-font-smoothing: antialiased; */
	display: block;
	content: "\201C";
	font-size: 90px;
	font-weight: 400;
	position: absolute;
	left: -10px;
	top: -10px;
	color: #7a7a7a;
}

/* Gallery */
.gallery {
	float: left;
	margin: 20px 0 20px 0;
	width: 100%;
}

.gallery-item {
	float: left;
	/* width: 33.333333%; */
	text-align: center;
}

.gallery-icon {
	margin-top: 0px;
}

.gallery img {
	margin: 0% 5% 5% 5%;
	/* 	margin: 0 10% 0 0; */
	width: 90%;
	height: auto;
	border: none !important;
}

.gallery-caption {
	width: 90%;
}

.content-article h1 {
	text-align: center;
	margin-bottom: 60px;
}

#mark-iso {
	width: 120px;
	margin: 20px;
	height: auto;
}

#mark-uni-pdr-125-2022 {
	width: 100px;
	height: auto;
}
/* ---------- AREA PERSONALE------- */
.accessButton {
	color: #fff !important;
	text-transform: uppercase;
	text-decoration: none;
	/* background: #60a3bc; */
	background: #304F72;
	padding: 20px;
	border-radius: 50px;
	display: inline-block;
	border: none;
	transition: all 0.4s ease 0s;
	margin: 120px;
}

.accessButton:hover {
	text-shadow: 0px 0px 6px rgba(255, 255, 255, 1);
	-webkit-box-shadow: 0px 5px 40px -10px rgba(0, 0, 0, 0.57);
	-moz-box-shadow: 0px 5px 40px -10px rgba(0, 0, 0, 0.57);
	transition: all 0.4s ease 0s;
}

@media (max-width: 767px) {
    .card-buttons {
        display: flex;
        flex-direction: column;
    }
    .card-buttons a {
        margin-bottom: 10px;
    }
}
