/*
Theme Name:
Theme URI: http://www.digloria.it
Description:  Custom Theme responsive.
Author: Francesco Di Gloria - MMN
Author URI: http://www.digloria.it
Version: 1.0
Tags: responsive,bootstrap,custom

License: Privata
License URI: http://www.digloria.it
*/

/* Grid Bootstrap 5
@media (max-width: 575px) {}
@media (min-width: 576px) AND (max-width: 767px) {}
@media (min-width: 768px) AND (max-width: 991px) {}
@media (min-width: 992px) AND (max-width: 1199px) {}
@media (min-width: 1200px) AND (max-width: 1399px) {}
@media (min-width: 1400px) {}
*/

/*	1.0 - IMPOSTAZIONI GENERALI
	Impostazione comuni di base */
/* /////////////////////////////////////////////////////////////// */

html {}
body {
    font-size: 1.5rem;
    font-weight: 200;
}
div {}
ol, ul, li {}
a {
    color:#509F9B;
    text-decoration: underline;
}
a:active,
a:focus,
a:hover {
    color:#535353;
    outline: none;
}
h1, h2, h3, h4, h5, h6 {}
p {
    font-size: 1.5rem;
    font-weight: 200;
}

/*	MENU  */
/* /////////////////////////////////////////////////////////////// */
.navbar .navbar-brand img {
    max-width: 250px;
}
.navbar-light .navbar-nav .nav-link {
    color: #535353;
}
.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link:active,
.navbar-light .navbar-nav .nav-link:focus {
    color: #EC671A;
}
.navbar-light .navbar-nav .nav-link.active {
    font-weight: 400;
    color: #EC671A;
}

/*	FOOTER  */
/* /////////////////////////////////////////////////////////////// */

footer {
    background-color: #008C88;
    padding: 50px 0px;
}
footer,
footer p {
    font-size: 1.2rem;
    color: #fff;
    margin-bottom: 0;
}
footer a {
    color: #fff;
}
footer a:hover,
footer a:active,
footer a:focus {
    color: #535353;
}

footer .copyright {
    margin-top: 30px;
}

footer .nav-item {
    border-right: 1px solid #fff;
}
footer .nav-item:last-of-type,
footer .nav-item.copyright-text{
    border-right: 0;
}

footer .nav-link {
    padding: 0 10px;
    color: #fff;
}
footer .nav-link:hover,
footer .nav-link:active,
footer .nav-link:focus {
    color: #535353;
}

footer .nav-social .nav-item {
    border-right: 0;
}

/*	MAIN  */
/* /////////////////////////////////////////////////////////////// */
.content {
    padding: 50px 0px;
}

.content h1 {
    font-weight: 300;
    font-size: 3.5rem;
    margin-bottom: 30px;
}
.content h2 {
    font-weight: 300;
    font-size: 3rem;
    margin-bottom: 30px;
}
.content h3 {
    font-weight: 300;
    font-size: 2.5rem;
    margin-bottom: 30px;
}
.content h4 {
    font-weight: 300;
    font-size: 2rem;
    margin-bottom: 30px;
}

section h1 {
    font-size: 3rem;
    margin-bottom: 40px;
}

section .btn-primary {
    background-color: #FEB738;
    color: #000;
    padding: 8px 25px;
    border-radius: 50px;
    font-size: 1.6rem;
    margin: 15px 0px;
    border: 0;
}
section .btn-primary:hover,
section .btn-primary:active,
section .btn-primary:focus {
    background-color: #008c88;
    color: #fff;
}

section .link-title {
    background-color: #FEB738;
    color: #000;
    padding: 12px 13px;
    border-radius: 50px;
    font-size: 2rem;
    line-height: 1;
    position: absolute;
    margin: 2px 25px;
}
section .link-title:hover,
section .link-title:active,
section .link-title:focus {
    background-color: #008c88;
    color: #fff;
}

@media (max-width: 991px) {
    .content h1 {
        font-size: 2.5rem;
    }
    .content h2 {
        font-size: 2.2rem;
    }
    .content h3 {
        font-size: 2rem;
    }
    .content h4 {
        font-size: 1.7rem;
    }

    section h1 {
        font-size: 2.5rem;
        margin-bottom: 40px;
    }
}

/*	HEADER IMAGE  */
/* /////////////////////////////////////////////////////////////// */
.header-image .imgWrapper {
    height: 530px;
    position: relative;
}

.header-image h1 {
    font-size: 4rem;
    color: #fff;
    margin-bottom: 10px;
}
.header-image p.h3 {
    font-size: 1.6rem;
    color: #fff;
    font-weight: 200;
}

@media (max-width: 575px) {
    .header-image .imgWrapper {
        height: 480px;
    }
}
@media (min-width: 576px) AND (max-width: 767px) {
    .header-image .imgWrapper {
        height: 400px;
    }
}
@media (min-width: 768px) AND (max-width: 991px) {
    .header-image .imgWrapper {
        height: 420px;
    }
}
@media (max-width: 991px) {
    .header-image h1 {
        font-size: 3rem;
    }
    .header-image p.h3 {
        font-size: 1.3rem;
    }
}

/*	HOME SETTINGS  */
/* /////////////////////////////////////////////////////////////// */
.header-image.page-home h1 {
    text-transform: uppercase;
    font-size: 6.5rem;
}
.header-image.page-home p.h3 {
    font-size: 2rem;
}

@media (max-width: 991px) {
    .header-image.page-home h1 {
        font-size: 3rem;
    }
    .header-image.page-home p.h3 {
        font-size: 1.5rem;
    }
}

/* Section Services */
.services {
    background-color: #F0F0F0;
    padding: 80px 0px;
}
.services .card.content-special {
    background-color: transparent;
    border: 0;
    border-radius: 0;
}
.services .card.content-special .card-body {
    padding-left: 0;
}
.services .card.content-special .card-body .card-title {
    font-size: 2rem;
    font-weight: 400;
    margin-bottom: 20px;
}
.services .card.content-special .card-body .card-text {
    font-size: 1.3rem;
}

.services .services-correlation {
    margin-top: 50px;
}
.services .content-service-box {
    margin-bottom: 10px;
}
.services .card.content-service {
    border: 0;
    border-radius: .8rem;
    min-height: 400px;
}
.services .card.content-service .card-img-top {
    padding: 5px 10px;
}
.services .card.content-service .card-title {
    font-size: 1.5rem;
    margin: 10px 0;
}

.services .card.content-service p.description,
.services .card.content-service a.link {
    display: none;
    font-size: 1.3rem;
    text-align: center;
    line-height: 1.3;
}
.services .card.content-service a.link {
    position: absolute;
    bottom: 30px;
    color: #fff;
    left: 0;
    right: 0;
}

.services .card.content-service:hover {
    background-color: #feb738;
}
.services .card.content-service:hover img {
    display: none;
}
.services .card.content-service:hover p.description,
.services .card.content-service:hover a.link {
    display: block;
}

/* Section customer */
.customer {
    background-color: #6BB7B3;
    padding: 50px 0px;
}

.customer .slideCustomer .card {
    display: inline-block;
    width: 17%;
    background: none;
    border: 0;
    margin-right: 2%;
}
.customer .slideCustomer .card .card-body {
    height: 160px;
    overflow: hidden;
    display: flex;
}
.customer .slideCustomer .card .card-body img {
    max-width: 95%;
    max-height: 180px;
    width: auto;
    margin: auto;
}
.customer .slideCustomer .card .card-footer {
    padding: 0;
    background-color: transparent;
    border: 0;
}
.customer .slideCustomer .card .card-footer p {
    font-size: 2rem;
    font-weight: 300;
    margin-top: 8px;
    line-height: 1;
}

@media (max-width: 575px) {
    .customer .slideCustomer .card {
        width: 30%;
    }
}
@media (min-width: 576px) AND (max-width: 767px) {
    .customer .slideCustomer .card {
        width: 25%;
    }
}

/* Section partner */
.partners {
    background-color: #FEB738;
    padding: 50px 0px;
}
section.partners h1 {
    color: #fff;
}
.partners .slidePartners .card {
    display: inline-flex;
    width: 17%;
    background: none;
    border: 0;
    margin-right: 2%;
}
.partners .slidePartners .card .card-body {
    height: 160px;
    overflow: hidden;
    display: flex;
}
.partners .slidePartners .card .card-body img {
    max-width: 95%;
    max-height: 180px;
    width: auto;
    margin: auto;
}
.partners .slidePartners .card .card-footer {
    padding: 0;
    background-color: transparent;
    border: 0;
}
.partners .slidePartners .card .card-footer p {
    color: #fff;
    font-size: 2rem;
    font-weight: 300;
    margin-top: 8px;
    line-height: 1;
}
@media (max-width: 575px) {
    .partners .slidePartners .card {
        width: 30%;
    }
}
@media (min-width: 576px) AND (max-width: 767px) {
    .partners .slidePartners .card {
        width: 25%;
    }
}


/*	PAGE SERVICE  */
/* /////////////////////////////////////////////////////////////// */

/* Section content Services */
.services.page-services-content {
    background-color: #fff;
    padding-top: 0;
}
.services.page-services-list-correlation {
    padding: 50px 0px;
}
.services.page-services-list-correlation .services-correlation {
    margin-top: 0px;
}
.services .service-list-content-details .number {
    display: none;
    position: absolute;
    background-color: #fff;
    border: 2px solid #000;
    border-radius: 50px;
    padding: 2px 15px;
    font-size: 1.6rem;
    font-weight: 300;
    margin-top: -25px;
    margin-left: -12px;
}
.services .service-list-content-details .card.content-special {
    margin-bottom: 20px;
}

@media (max-width: 767px) {
    .services .service-list-content-details {
        border-top: 0;
    }
    .services .service-list-content-details .number {
        margin-left: 0px;
    }
}

/* Section Services list (accordition) */
.services.page-services-list {
    background-color: #E1E1E1;
    padding: 40px 0px;
}
.services.page-services-list .accordion-item {
    border-radius: 1rem;
    margin-bottom: 15px;
}
.services.page-services-list .accordion-item .accordion-button {
    font-size: 1.4rem;
    border-top-left-radius: 1rem !important;
    border-top-right-radius: 1rem !important;;
    border-bottom-left-radius: 1rem;
    border-bottom-right-radius: 1rem;
}
.services.page-services-list .accordion-item:last-of-type .accordion-button.collapsed {
    border-bottom-left-radius: 1rem;
    border-bottom-right-radius: 1rem;
}
.services.page-services-list .accordion-button:not(.collapsed) {
    color: #212529;
    background-color: #fff;
    box-shadow: none;
}

.services.page-services-list .accordion-button::after {
    content: '+';
    background-color: #feb738;
    padding: 16px 12px;
    border-radius: 100px;
    background-image: none;
    width: auto;
    height: 37px;
    font-size: 1.3rem;
    line-height: 0;
    margin-top: 0px;
}
.services.page-services-list .accordion-button:not(.collapsed)::after {
    content: '-';
    padding: 16px 14px;
    background-image: none;
    transform: rotate(0deg);
}

.services.page-services-list .list-group {
    margin-top: 30px;
}
.services.page-services-list .list-group-item {
    border-bottom: 0;
}
.services.page-services-list .list-group-item p {
    font-size: 1.2rem;
}
.services.page-services-list .list-group-item a {
    font-size: 1.2rem;
    color: #509F9B;
    text-decoration: underline;
    margin: 6px 0px;
}
.services.page-services-list .list-group-item a:hover,
.services.page-services-list .list-group-item a:active,
.services.page-services-list .list-group-item a:focus {
    color: #FEB738;
}

/* single service */
.header-image.page-service h1 {
    text-transform: uppercase;
    font-size: 3rem;
}
.header-image.page-service .imgWrapper {
    height: 300px;
}
.header-image.page-service p.h3 {
    font-size: 4rem;
    text-transform: uppercase;
    font-weight: 400;
    margin-bottom: 40px;
    line-height: 1;
}
.page-service-correlation h5 {
    text-transform: uppercase;
    margin-bottom: 25px;
}
.page-service-content p {
    margin-bottom: .6rem;
}
section .page-service-content .btn-primary {
    margin: 3rem 0;
}
.page-service-correlation .back {
    font-size: 1.2rem;
    color: #509F9B;
    margin-bottom: 15px;
    display: inline-block;
}
.page-service-correlation .back:hover,
.page-service-correlation .back:active,
.page-service-correlation .back:focus {
    color: #000;
}

.page-service .page-service-list-correlation .list-group-item {
    color: #000;
    background-color: #6BB7B3;
    border: 0;
    margin-bottom: 20px;
    padding: 10px 20px;
    border-top-left-radius: 40px;
    border-top-right-radius: 40px;
    border-bottom-left-radius: 40px;
    border-bottom-right-radius: 40px;
}
.page-service .page-service-list-correlation .title-box {
    margin: auto;
}
.page-service .page-service-list-correlation .title {
    font-size: 1.1rem;
    font-weight: 400;
    line-height: 1.1;
}
.page-service .page-service-list-correlation .badge {
    padding: 10px 5px;
    border: 1px solid #000;
}

@media (max-width: 767px) {
    .header-image.page-service p.h3 {
        font-size: 2.8rem;
    }
}
@media (max-width: 991px) {
    .page-service-box-list-correlation {
        margin-top: 30px;
    }
}

/*	WHO WE ARE  */
/* /////////////////////////////////////////////////////////////// */

.header-image.page-whoweare h1 {
    font-size: 3rem;
}
.header-image.page-whoweare .imgWrapper {
    height: 350px;
}

.page-whoweare-team {
    background-color: #F0F0F0;
    padding: 80px 0px;
}
.page-whoweare .content-box-team {
    margin-bottom: 20px;
}
.page-whoweare .page-whoweare-team .card {
    border: 0;
    border-radius: 1rem;
    margin-bottom: 20px;
}
.page-whoweare-team .card {
    border: 0;
    border-radius: 1rem;
}
.page-whoweare-team .card.content-team .imgWrapper {
    height: 300px;
    background-color: #C4C4C4;
    border-top-left-radius: 1rem;
    border-top-right-radius: 1rem;
}
.page-whoweare-team .card.content-team .imgWrapper .description {
    display: none;
}
.page-whoweare-team .card.content-team .card-title {
    font-size: 1.5rem;
    margin-bottom: 0;
}
.page-whoweare-team .card.content-team .card-text {
    font-size: 1.4rem;
    color: #6BB7B3;
}
.page-whoweare-team .card.content-team:hover .description {
    display: block;
}
.page-whoweare-team .card.content-team:hover .imgWrapper {
    background-image: none !important;
}
.page-whoweare-team .card.content-team:hover .imgWrapper  .description {
    display: block;
    text-align: center;
    padding: 15px;
    font-size: 1.3rem;
}

.page-whoweare-story {
    background-color: #B3E4E2;
    padding: 50px 0px;
}
.page-whoweare-story .carousel-item {
    height: 240px;
}
.page-whoweare-story .carousel-item > div {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.page-whoweare-story .carousel-caption {
    position: relative;
    color: #000;
    max-width: 65%;
    margin: 0 auto;
    right: auto;
    left: auto;
}
.page-whoweare-story .carousel-caption h5 {
    text-transform: uppercase;
    font-size: 2.2rem;
    font-weight: 200;
    margin: 0px;
    margin-bottom: 15px;
}
.page-whoweare-story .carousel-caption p {
    font-size: 1.4rem;
}
.page-whoweare-story .carousel .carousel-control-next-icon,
.page-whoweare-story .carousel .carousel-control-prev-icon {
    background-image: none;
    width: 5rem;
    height: 5rem;
    background-color: #fff;
    border-radius: 50rem;
    color: #000;
    font-size: 3.5rem;
}
.page-whoweare-story .carousel .next-data {
    right: 0;
    margin-right: 70px;
}
.page-whoweare-story .carousel .prev-data {
    left: 0;
    margin-left: 70px;
}

@media (max-width: 991px) {
    .page-whoweare-story .carousel-caption h5 {
        font-size: 2rem;
        margin: 15px 0px;
    }
    .page-whoweare-story .carousel-caption p {
        font-size: 1.3rem;
    }
}
@media (max-width: 575px) {
    .page-whoweare-story .carousel .prev-data {
        margin-left: 0px;
    }
    .page-whoweare-story .carousel .next-data {
        margin-right: 0px;
    }
}
@media (min-width: 576px) AND (max-width: 767px) {
    .page-whoweare-story .carousel .prev-data {
        margin-left: 15px;
    }
    .page-whoweare-story .carousel .next-data {
        margin-right: 15px;
    }
}
@media (min-width: 768px) AND (max-width: 991px) {
    .page-whoweare-story .carousel .prev-data {
        margin-left: 25px;
    }
    .page-whoweare-story .carousel .next-data {
        margin-right: 25px;
    }
}

/*	PAGE GENERIC */
/* /////////////////////////////////////////////////////////////// */

.header-image.page-generic .imgWrapper {
    height: 350px;
}

/*	PAGE NEWS  */
/* /////////////////////////////////////////////////////////////// */
.header-image.page-news .imgWrapper {
    height: 250px;
}
.page-news .card {
    background-color: transparent;
    border: 0;
    border-radius: 0.4rem;
    margin-bottom: 25px;
}
.page-news .card .imgWrapper {
    height: 100%;
    border-top-left-radius: 0.4rem;
    border-bottom-left-radius: 0.4rem;
}
.page-news .card .card-data {
    font-size: 1rem;
    color: #6c757d;
    margin-bottom: 6px;
}
.page-news .card .card-text {
    margin: 8px 0px;
}
.page-news .card a {
    font-size: 1.2rem;
    color: #509F9B;
    text-decoration: underline;
    margin: 6px 0px;
}

/* single news */
.page-news-details .imgWrapper {
    height: 450px;
    position: relative;
    margin: 25px 0px;
}
.page-news-details .data {
    font-size: 1rem;
    color: #6c757d;
    margin-bottom: 6px;
}
.page-news-details .text {
    margin: 8px 0px;
}
.page-news-details .text-summary {
    font-size: 1.8rem;
    font-weight: 200;
    margin: 8px 0px;
    line-height: 1.4;
}
.page-news-details a {
    font-size: 1.2rem;
    color: #509F9B;
    text-decoration: underline;
    margin: 5px 0px;
    display: inline-block;
    margin-bottom: 15px;
}

.page-news-details .nav-item {
    border-top: 1px dashed #dbdbdb;
    border-bottom: 1px dashed #dbdbdb;
    padding: 15px 0;
    margin-top: 10px;
}

.page-link {
    border: 0;
    color: #509f9b;
    padding: 4px 16px;
}
.page-item.active .page-link {
    color: #fff;
    background-color: #509f9b;
}

/*	CONTACTS  */
/* /////////////////////////////////////////////////////////////// */

.contact {
    padding: 80px 0px;
}
.contact.blank {
    background-color: #F0F0F0;
}

.contact .form-control {
    font-size: 1.3rem;
    border: 2px solid #000;
    margin-bottom: 16px;
    font-weight: 200;
}

.contact .form_privacy_box2 h1 {
    font-size: 1.1rem;
    margin-bottom: 10px;
}
.contact .form_privacy_box2 .form-check-label,
.contact .form_privacy_box2 p.info {
    font-size: 1.1rem;
}
.contact .form_privacy_box2 p.info  {
    margin: 5px 0px;
}
.contact .form_privacy_box2 p.info.info_non_letta2 > span  {
    color: #a40028;
    font-size: 1.1rem;
}
.contact .form_privacy_box2 p.info.info_letta2 > span {
    color: #90a866;
    font-size: 1.1rem;
}

.contact .form_privacy_box2 a {
    color: #008c88;
}
.contact .form_privacy_box2 a:hover,
.contact .form_privacy_box2 a:active,
.contact .form_privacy_box2 a:focus {
    color: #8c8c8c;
}

.contact #btnForm.btn-primary {
    text-transform: uppercase;
    font-size: 1.4rem;
    background-color: #FEB738;
    color: #000;
    border: 0;
    margin-top: 20px;
    padding: 10px 20px;

}
.contact #btnForm.btn-primary:hover,
.contact #btnForm.btn-primary:active {
    background-color: #008c88;
    color: #fff;
}



.successFormSend {
    background-color: #b2c45b;
    margin-top: 20px;
    padding: 20px 10px;
    font-weight: bold;
    text-align: center;
}
.successFormSend p {
    margin-bottom: 0;
}

.errorFormSend {
    background-color: #a40028;
    margin-top: 20px;
    padding: 20px 10px;
    font-weight: bold;
    text-align: center;
}
.errorFormSend p {
    margin-bottom: 0;
    color: #fff;
}
.grecaptcha-badge {
    visibility: hidden;
}
