/* ----------------------------------------------------------------
	Custom CSS

	Add all your Custom Styled CSS here for New Styles or
	Overwriting Default Theme Styles for Better Handling Updates
-----------------------------------------------------------------*/


body {
    line-height: 1.5;
    color: #000;
    /*font-family: 'Lato', sans-serif;*/
    font-family: 'Corbel', sans-serif;
    font-weight: 400;
    font-style: normal;
}
@font-face {
    font-family: "Corbel";
    src: url("fonts/Corbel.ttf");
    src: url("fonts/Corbel.eot?#iefix") format("embedded-opentype"), url("fonts/Corbel.woff") format("woff"), url("fonts/Corbel.ttf") format("truetype"), url("fonts/Corbel.svg#Flaticon") format("svg");
    font-weight: normal;
    font-style: normal;
}
@font-face {
  font-family: "Charm", cursive;
  font-weight: 400;
  font-style: normal;
}
/*@font-face {
    font-family: "Corinthia-Bold";
    src: url("fonts/Corinthia-Bold.ttf") format("truetype");
    font-weight: 700;
    font-style: normal;
}*/
#content p {
    line-height: 1.5;
    font-size: 18px;
    /*font-size: 24px;*/
}
.heading-block span p {
    font-size: 24px !important;
}
span{
font-family: 'Corbel', sans-serif;
}

.menu-link {
    display: block;
    line-height: 25px;
    padding: 2px 5px;
    color: #444;
    font-weight: 700;
    font-size: 0.9999rem;
    letter-spacing: 1px;
    text-transform: none;
    font-family: 'Corbel', sans-serif;
}

.nunito-sans-<uniquifier> {
    font-family: 'Corbel', sans-serif;
  /*font-family: "Nunito Sans", sans-serif;*/
  font-optical-sizing: auto;
  font-weight: <weight>;
  font-style: normal;
  font-variation-settings:
    "wdth" 100,
    "YTLC" 500;
}


@media (min-width: 992px) {

	.full-header #logo {
		padding-right: 30px;
		border-right: 0px solid #EEE;
	}
}
#top-social li .ts-icon,
#top-social li .ts-text {
	display: block;
	-ms-flex-preferred-size: 0;
	flex-basis: 0;
	-ms-flex-positive: 1;
	flex-grow: 1;
	height: 23px;
	line-height: 25px;
}
.top-links-sub-menu,
.top-links-section {
	width: 120px;
	margin-top: 10px;
	border: 1px solid #EEE;
	border-top-color: #0061C4;
	box-shadow: 0px 3px 3px 3px rgba(0, 0, 0, 0.03);
	transition: opacity .25s ease, margin .2s ease;
}
.top-links-sub-menu .top-links-item:hover {
  background-color: #FDFDFD;
}
#top-bar {
	position: relative;
	border-bottom: 0px;
	font-size: 13px;
}
.top-links {
    border-bottom: 0px;
}
h1,
h2,
h3,
h4,
h5,
h6 {
	color: #004e9d;
	/*font-weight: 700;*/
	line-height: 1.1;
	margin: 0 0 30px 0;
	/*font-family: 'Corinthia-Bold' !important;*/
     font-family: "Charm", cursive !important;
      /*font-family: "Italianno", cursive !important;*/
      font-weight: 400;
      font-style: normal;
}
.heading-block h1 {
    font-size: 52px !important;
    text-transform: none;
}
.heading-block h2 {
    font-size: 24px !important;
    text-transform: none;
    font-family: 'Corbel', sans-serif !important;
}
    .heading-block h1 p {
        font-size: 54px !important;
        text-transform: none;
        line-height: 1 !important;
        margin-bottom: 4px;
    }
@media (max-width: 450px) {
    .heading-block h1 p {
        font-size: 48px !important;
        line-height: 1 !important;
        margin-bottom: 2px;
    }
}
.heading-block > span:not(.before-heading) {
    display: block;
    margin-top: 1px;
    font-weight: 300;
    color: #000;
}
.heading-block::after {
    margin-top: 15px;
    border-top: 0px solid #444;
}
.menu-item:hover > .menu-link,
.menu-item.current > .menu-link {
	color: #0061C4;
}
h1 > span:not(.nocolor):not(.badge),
h2 > span:not(.nocolor):not(.badge),
h3 > span:not(.nocolor):not(.badge),
h4 > span:not(.nocolor):not(.badge),
h5 > span:not(.nocolor):not(.badge),
h6 > span:not(.nocolor):not(.badge) { color: #0061C4; }

.bg-color,
.bg-color #header-wrap { background-color: #0061C4 !important; }

.dark .copyright-links a {
    color: rgba(255, 255, 255, 0.4);
    border-bottom: none;
}
#copyrights {
    border-top:5px solid #146be1;
	color:#6e9bc9 !important;
}
.text-white-50 {
    --bs-text-opacity: 1;
    color: #6e9bc9 !important;
}

.gallery {
        
        height: 200px;
        background-size: cover;
        background: url('../images/hero.jpg') center center no-repeat;
        /*margin-bottom:35px;*/
        margin-bottom:0;
	}

@media (min-width: 768px) {
	.gallery {
        margin-top:10px;
		height: 430px;
        margin-bottom:0px;
	}
}

.galleryp {
        
        height: 30px;
        background-size: cover;
        background: url('../images/hero.jpg') center center no-repeat;
        /*margin-bottom:35px;*/
	}

@media (min-width: 768px) {
	.galleryp {
        margin-top:10px;
		height: 70px;
        /*margin-bottom:80px;*/
	}
}


.second-bg-color {
    background-color: #0061C4 !important;
    color:#fff;
}
.second-bg-color:hover {
    background-color: #0061c4 !important;
    color:#ffffff91;
}
::selection {
	background: #0776e9;
}

::-moz-selection {
	background: #0776e9; /* Firefox */
}

::-webkit-selection {
	background: #0776e9; /* Safari */
}

.heading-block h1, .heading-block h2, .heading-block h3, .heading-block h4, .emphasis-title h1, .emphasis-title h2 {
    color: #004e9d;
}

.promo-light {
    background-color: #ffffffd1;
    border-radius: 10px;
    margin-bottom:150px !important;
    border:1px solid #e5e5e5c7;
}
.servizi-light {
    margin-bottom:50px !important;
}
.content-wrap {
    position: relative;
    padding: 5px 0;
    overflow: hidden;
    /*background: url('../images/hero2.jpg') center center no-repeat;*/

}
a {
	text-decoration: none !important;
	color: #014e9d;
}
a:hover { color: #106ecd; }

.button {
    background-color: #0061c4;
    color: #FFF;
}
.button.button-3d:hover {
  background-color: #1977F7;
  opacity: 0.9;
}

	.sfondogalleryh1 {
        /*background: -webkit-gradient(ease-out,left top,right top,from(#12649745),to(#1d6fa759));*/
        /*background: linear-gradient(to top,#14537a7a,#4d90fe66);*/
		/*background-color:#6e9bc9;*/
        /*font-family: 'Poppins', sans-serif !important;*/
        color: #fff!important; 
        text-shadow: 3px 3px 20px #002b53;
	}

.top-links-container {
	display: -ms-flexbox;
	display: flex;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
	-ms-flex-align: end;
	align-items: end;
	-ms-flex-pack: end;
	justify-content: end;
	list-style: none;
	margin-bottom: 0;
}
.promo-light ul {
    margin: 0;
    padding-left: 20px;
}



/* ----------------------------------------------------------------
	Featured Boxes
-----------------------------------------------------------------*/


.feature-box {
	position: relative;
	display: -ms-flexbox;
	display: flex;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
	margin-left: -0.75rem;
	margin-right: -0.75rem;
}

.feature-box:first-child { margin-top: 0; }

.fbox-icon {
	width: 5.5rem;
	height: 4rem;
	padding: 0 0.75rem;
}

.fbox-icon a,
.fbox-icon i,
.fbox-icon img {
	display: block;
	position: relative;
	width: 100%;
	height: 100%;
	color: #FFF;
}

.fbox-icon i,
.fbox-icon img {
	border-radius: 50%;
	background-color: #1ABC9C;
}

.fbox-icon i {
	font-style: normal;
	font-size: 1.75rem;
	line-height: 4rem;
	text-align: center;
}

.fbox-content {
	-ms-flex-preferred-size: 0;
	flex-basis: 0;
	-ms-flex-positive: 1;
	flex-grow: 1;
	min-width: 0;
	max-width: 100%;
	padding: 0 0.75rem;
}

.fbox-content h3 {
	font-size: 1rem;
	font-weight: 600;
	font-family: 'Poppins', sans-serif;
	text-transform: uppercase;
	margin-bottom: 0;
	color: #333;
}

.fbox-content p {
	margin-top: 0.5rem;
	margin-bottom: 0px;
	color: #999;
}

.fbox-content .before-heading {
	font-size: 0.875rem;
}

.fbox-content-sm h3,
.fbox-content-sm p {
	font-size: 0.875rem;
}

.fbox-content-sm .before-heading {
	font-size: 0.75rem;
}

.fbox-content-lg h3 {
	font-size: 1.25rem;
}

.fbox-content-lg p {
	font-size: 1.125rem;
	margin-top: 0.75rem;
}

.fbox-content-lg .before-heading {
	font-size: 1rem;
}

/* Media Featured Box
-----------------------------------------------------------------*/

.media-box {
	padding: 0;
	margin-left: 0;
	margin-right: 0;
	-ms-flex-direction: column;
	flex-direction: column;
}

.media-box .fbox-media { margin: 0 0 1.5rem; }

.media-box .fbox-media,
.media-box .fbox-media a,
.media-box .fbox-media img {
	position: relative;
	display: block;
	width: 100%;
	height: auto;
}

.media-box .fbox-media iframe { display: block; }

.media-box p { margin-top: 1rem; }

.media-box.fbox-bg .fbox-media { margin: 0; }

.media-box.fbox-bg .fbox-content {
	padding: 1.5rem;
	background-color: #FFF;
	border: 1px solid #E5E5E5;
	border-top: 0;
	border-radius: 0 0 5px 5px;
}

.media-box.fbox-bg .fbox-media img { border-radius: 5px 5px 0 0; }

.contact-properties [class^="col-"] > a:hover, .product:hover .product-image, .button:hover, .feature-box.media-box.fbox-bg:hover {
box-shadow: 0 10px 30px -5px rgba(10, 16, 34, .2);
-webkit-transform: scale(0.90);
-ms-transform: scale(0.90);
-o-transform: scale(0.90);
transform: scale(0.90);
}
.boxservizi_home {
  padding: 1.5rem;
  background: linear-gradient(0deg,rgba(228, 234, 242, 0.43) 23%, rgba(228, 234, 242, 1) 97%)!important;
  /*background-color: #8ECFFC !important;
  border: 2px solid #fff !important;*/
  border-top: 0;
  border-radius: 5px!important;
}
.fbox-content h3 {
  color: #145378 !important;
}
.fbox-content h3 {
  font-size: 20px !important;
  font-weight: 600;
  font-family: 'Corbel', sans-serif !important;
  text-transform: uppercase;
  margin-bottom: 0;
  color: #333;
}
.feature-box.media-box.fbox-bg {
  -webkit-transform: scale(1);
  -ms-transform: scale(1);
  -o-transform: scale(1);
  transform: scale(1);
  box-shadow: 0 1px 1px 0 rgba(10, 16, 34, .2);
  -webkit-transition: all 200ms ease;
  -o-transition: all 200ms ease;
  transition: all 200ms ease;
  border-radius: 5px;
  }
/*@media (min-width: 992px) {
.top-bar-mr {
margin-right:30px!important;
  }
}
    */
.testi-content p::before, .testi-content p::after {
  content: none;
}
.owl-carousel .owl-nav [class*="owl-"]:hover {
  background-color: #4879D0 !important;
}
.testimonial span {
    color: #fff;
    font-size:16px;
}
.testimonial {
	position: relative;
	padding: 20px;
	background-color: #2F5496;
	border: 1px solid #2F5496;
	border-radius: 5px;
	box-shadow: none;
    text-align: center;
    color: #fff;
}
/*.testimonial::after { 
content: '"'; 
    font-size: 130px;
    font-family: "Ephesis", cursive !important;
    font-weight: 400;
    font-style: normal;

    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}*/
@media screen and (max-width: 600px) {
.owl-carousel .owl-nav [class*=owl-] {
    position: fixed;
visibility: hidden;
}
}
.testi-meta {
  text-transform: none;
  margin-bottom:0;
  height:auto;
}
.testi-meta::before {
  content: none;
}
/*.testi-meta::after { 
	content: '"'; 
    font-size:110px;
	font-family: "Ephesis", cursive !important;
    font-weight: 400;
    font-style: normal;
    position:absolute;
}*/
.testi-content p {
	margin-bottom: 0;
    font-family: 'Corbel', sans-serif!important;
	font-style: normal;
}