/********** Template CSS **********/

h1.site-tile {
    padding-bottom: 50px;
}

button.navbar-toggler.me-0.second-button {
    padding-right: var(--bs-gutter-x, 0.75rem);
}

a.navbar-brand {
    padding-left: var(--bs-gutter-x, 0.75rem);
}

button:focus:not(:focus-visible) {
    box-shadow: none;
}

*:focus-visible {
    outline: none;
}

*:focus {
    outline: none;
}

.navbar-toggler:focus {
        text-decoration: none;
        outline: 0;
        boxshadow: none!important;
    }

@media (max-width: 1199.98px) {

.logo {
    width: 150px!important;
}

.blog-list img.image-blog,.blog-content img.image-blog {
    height: 305px!important;
    max-height: 305px!important;
    min-height: 305px!important;
}

.blog-body {
    padding-bottom: 50px !important;
}

.blog-list .col-lg-2.col-md-6 {
    margin-bottom: 40px;
}

.hero-blog {
    margin-top: -20px;
}

    button.navbar-toggler.me-0 {
    border: none;
}

    .hero {
    min-height: 515px;
    object-fit: cover;
}

.cta.second {
    background-size: 117%!important;
    background-repeat: no-repeat!important;
    background-position: bottom!important;
    min-height: 450px!important;
}

.card.p-3.orange {
    min-height: 456px;
}
}

@media (min-width: 300px) and (max-width: 991.98px) {

.col-sm .card-blog {
    margin-bottom: 40px;
}

body .logo-hero img {
    width: 46% !important;
    margin-top: 80px;
    margin-left: 16vh;
}

.hero {
    background-position-x: 46%!important;
}

.footer .col-md-4 {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center!important;
}

body .footer .container.py-5 {
    max-width: 100%;
    padding: 0px;
}

.text-center {
        padding: 0px 10px;
}

ul.options-list {
    padding: 0px;
}

#about img, body #specifications imgv {
    padding: 0px!important;
}

.cta {
    background-position-x: 100%!important;
}

body .form-section .container {
        width: 80% !important;
    }

h3.cta-title {
    padding-top: 85px;
}

body .form-section h3, body h3.cta-title, body h1 {
    color: #fff;
    font-size: 9.2vw !important;
}

.cta.second {
    background-size: cover !important;
    background-position-x: 18% !important;
    min-height: 650px !important;
}

.cta.second {
    display: flex;
    flex-direction: column-reverse!important;
}

.cta.second .col-lg-6 {
    width: 100%;
}

    body .card.p-3.orange,body .card.p-3.yellow {
        min-height: unset;
        margin-bottom: 50px;
    }

.container-fluid.sticky-top.wow.fadeIn, .container-fluid.sticky-top.wow.fadeIn .container {
    padding: 0px;
}

button.navbar-toggler.me-0.second-button {
    padding-right: var(--bs-gutter-x, 0.75rem);
}

a.navbar-brand {
    padding-left: var(--bs-gutter-x, 0.75rem);
}

.navbar-nav {
    position: absolute;
    position: absolute;
    width: 100%;
    background: #fff;
}

.navbar .navbar-nav .nav-link {
    margin-right: 35px;
    padding: 25px 0;
    color: #000!important;
    font-size: 16px;
    text-transform: uppercase;
    font-weight: 600;
    outline: none;
    text-align: center;
}

.col-lg-6.logo-hero {
    width: 100% !important;
    max-width: 100% !important;
    display: flex;
    flex-direction: column!important;
    justify-content: center!important;
}

.logo-hero img {
    width: 28%!important;
    margin-top: 80px;
    margin-left: 61px;
}

.hero {
    margin-top: -114px!important;
    top:0!important;
}
}

.blog-content img.image-blog {
    height: 305px;
    object-fit: cover;
    max-height: 305px;
    min-height: 305px;
}

.blog-list img.image-blog {
    height: 180px;
    object-fit: cover;
    max-height: 180px;
    min-height: 180px;
}

.blog-body {
    padding-bottom: 60px !important;
}

.row.blog {
    margin-bottom: 50px;
}

.blog-content .card-blog {
    background: #efefef;
}

.blog-list {
    background: #efefef;
    padding-bottom: 30px;
}

h5.blog-list-title {
    text-align: center;
    font-size: 40px;
    margin-bottom: 40px;
}

.blog-content .card-blog {
    min-height: 405px;
}

.blog-list .card-blog {
    min-height: 318px;
}

.card-blog {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #fff;
    border-radius:10px;
    justify-content: space-between;
}

img.image-blog {
    width: 100%;
    margin-bottom: 10px;
    border-radius: 10px 10px 0px 0px;
}

h5.blog-title {
    padding: 0px 10px;
    font-size: 16px;
    text-align: center;
}

button.read-more {
    background: #fac006;
    color: #000;
    transition: .5s;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: 10px;
    width: 90%;
    text-align: center;
    border: navajowhite;
    margin-bottom: 15px;
    padding: 5px;
    font-size: 12px;
}

.hero-blog img {
    width:100%;
    max-height: 640px;
    object-fit: cover;
}

.hero-blog img {
    width:100%;
    max-height: 640px;
    margin-top: -98px;
}

.hero {
    background: url(../images/hero-background.jpg);
    background-position: center;
    background-size: cover;
    width: 100%;
    display: flex;
    flex-direction: row;
    min-height: 640px;
}

.col-lg-6.logo-hero {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: end;
    padding-right: 10%;
}

.logo-hero img {
    width: 60%;
}

.py-5 h1 {
    color: #ee6615;
}

a.btn.btn-square.btn-light.me-2 svg {
    width: 16px;
}

.col-md-4.center {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 20px;
}

.col-md-4.right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.footer  i.fa.fa-phone-alt.text-primary.me-3 {
    margin-left: 7px;
}

.footer {
    display: flex;
    justify-content: center;
    padding-bottom: 40px;
}

.footer .container.py-5 {
    max-width: 100%;
    padding: 0px 48px;
}

.row.copyright p {
    text-align: center;
}

.form-section h3 {
    color: #fff;
    font-size: 2.2vw;
}

.form-section::after {
    width: 100%;
    position: absolute;
    background: #000000a1;
    content: "";
    height: 60vh;
    z-index: 1;
}

.form-section .container {
    width: 33%;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex-wrap: wrap;
    z-index: 2;
}

.form-section {
    min-height: 60vh;
    background: url(../images/elemento-1_IMG_sezione_3-7.jpeg);
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

#specifications img {
    width: 100%;
    padding: 0px 25px 0px 0px;
}

.cta.second img {
    width: 80%;
}

a.btn.btn-warning.yellow {
    background: #fac006;
    color: #000;
}

.col-lg-6.service {
    padding-bottom: 95px;
}

.col-lg-6.service {
    padding-bottom: 55px;
}

.cta.second .col-lg-6 {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    flex-direction: column;
}

.cta.second {
    display: flex;
    flex-direction: row;
    background: url(../images/elemento_1_sezione_5-01-01-01.jpg);
    background-size: cover;
    align-items: flex-end;
    min-height: 590px;
}

h5.card-title {
    background: #fec307;
    width: 75%;
    padding: 10px;
    color: #000;
    margin: -30px auto 50px auto;
    border-radius: 10px;
}

.card.p-3 p {
    margin-bottom: 30px;
    font-size: 20px;
}

.card.p-3.orange {
    background: #ee6615;
    color: #fff;
    min-height: 400px;
    border-radius: 10px;
}

.card.p-3.yellow {
    background: #ee8826;
    color: #fff;
    min-height: 400px;
    border-radius: 10px;
}

h3.cta-title {
    color: #fff;
    font-size: 3vw;
}

#about {
    padding-top: 0px;
}

.col-lg-6.about {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

#about img {
    padding:0px 0px 0px 25px;
    width: 100%;
}

.options-list li {
    list-style: none;
    font-size: 20px;
    margin-bottom: 10px;
}

nav.navbar.navbar-expand-lg {
    background: transparent;
    position: sticky;
    top: 0;
}

.hero-image {
    width:100%;
}

.hero {
    margin-top: -98px;
}

.cta {
    background: url(../images/cta-background.jpeg);
    background-size: cover;
    color: white;
    min-height: ;
    text-align: center;
    min-height: 50vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.form-section input {
      margin-bottom: 1rem;
}

.logo {
    width: 200px;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 30px;
    z-index: 99;
}

.fw-medium {
    font-weight: 600;
}

.mt-6 {
    margin-top: 5rem;
}

.mb-6 {
    margin-bottom: 5rem;
}

.pt-6 {
    padding-top: 5rem;
}

.pb-6 {
    padding-bottom: 5rem;
}


/*** Button ***/
.btn {
    transition: .5s;
    font-weight: 600;
    text-transform: uppercase;
}

.btn-primary,
.btn-outline-primary:hover {
    color: var(--bs-light);
}

.btn-secondary,
.btn-outline-secondary:hover {
    color: var(--bs-dark);
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-xl-square {
    width: 60px;
    height: 60px;
}

.btn-xxl-square {
    width: 75px;
    height: 75px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square,
.btn-xl-square,
.btn-xxl-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}

/*** Navbar ***/
.sticky-top {
    top: -100px;
    transition: .5s;
}

.navbar .navbar-nav .nav-link {
    margin-right: 35px;
    padding: 25px 0;
    color: #fff;
    font-size: 16px;
    text-transform: uppercase;
    font-weight: 600;
    outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: #fac006;
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

@media (max-width: 991.98px) {
    .navbar .navbar-nav .nav-link  {
        margin-right: 0;
        padding: 10px 0;
    }

    .navbar .navbar-nav {
        margin-top: 8px;
        border-top: 1px solid #EEEEEE;
    }

    h1,.col-lg-6.about {
    text-align: center;
}

    .card.p-3.orange {
        min-height: 480px;
    }

    div#specifications .row.g-5 {
    flex-direction: column-reverse;
}

.form-section .container {
    width: 55% !important;
}

.form-section h3,h3.cta-title,h1 {
    color: #fff;
    font-size: 5.2vw!important;
}
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        border: none;
        margin-top: 0;
        top: 150%;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}


/*** Header ***/

.page-header {
    background: linear-gradient(rgba(0, 0, 0, .7), rgba(0, 0, 0, .7)), url(../img/carousel-1.jpg) center center no-repeat;
    background-size: cover;
}


/*** About ***/
.about-img {
    position: relative;
    padding-left: 45px;
}

.about-img::before {
    position: absolute;
    content: "";
    width: 200px;
    height: 300px;
    top: 0;
    left: 0;
    border: 5px solid var(--bs-primary);
    animation: animateUpDown 3s ease-in-out infinite;
    z-index: -1;
}

@keyframes animateUpDown { 
    0% { 
        top: -25px;
    }
    50% { 
        top: -45px;
    }
    100% { 
        top: -25px;
    } 
}


/*** Features ***/
.feature {
    background: linear-gradient(to right, rgba(0, 0, 0, .1), rgba(0, 0, 0, 1) 50%), url(../img/carousel-1.jpg) left center no-repeat;
    background-size: cover;
}

.feature-row {
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
}

.feature-item {
    border-color: rgba(0, 0, 0, .03) !important;
}

.feature-icon {
    position: relative;
    transition: .5s;
}

.feature-item:hover .feature-icon {
    margin-left: 3rem;
}

.feature-item a::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 1px;
    background: var(--bs-secondary);
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    z-index: -1;
}

.feature-item a:hover {
    color: var(--bs-primary) !important;
}

.feature-item a:hover::after {
    background: var(--bs-primary);
}

.experience .progress {
    height: 5px;
}

.experience .progress .progress-bar {
    width: 0px;
    transition: 3s;
}


/*** Service ***/
.service .service-item {
    position: relative;
    margin-top: 45px;
}

.service .service-inner {
    position: relative;
    height: 100%;
    margin-top: 45px;
    background: var(--bs-white);
    box-shadow: 0 0 45px rgba(0, 0, 0, .05);
}

.service .service-inner::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 0;
    left: 0;
    bottom: 0;
    transition: 1s;
    background: var(--bs-primary);
}

.service .service-inner:hover::before {
    height: 100%;
    top: 0;
}

.service .service-item img {
    margin-top: -45px;
    padding-left: 45px;
}

.service .service-item * {
    position: relative;
    transition: .5s;
    z-index: 1;
}

.service .service-item:hover h5,
.service .service-item:hover p {
    color: var(--bs-white);
}

.service .service-item:hover a {
    padding-left: 45px !important;
}


/*** Appoinment ***/
.appoinment {
    background: linear-gradient(rgba(0, 0, 0, .7), rgba(0, 0, 0, .7)), url(../img/carousel-2.jpg) left center no-repeat;
    background-size: cover;
}


/*** Team ***/
.team .team-item {
    background: var(--bs-white);
    box-shadow: 0 0 45px rgba(0, 0, 0, .05);
}

.team .team-item .team-social {
    position: absolute;
    width: 0;
    height: 100%;
    top: 0;
    right: 0;
    transition: .5s;
    background: var(--bs-primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.team .team-item:hover .team-social {
    width: 100%;
    left: 0;
}

.team .team-item .team-social .btn {
    opacity: 0;
    transition: .5s;
}

.team .team-item:hover .team-social .btn {
    opacity: 1;
}


/*** Testimonial ***/
.testimonial-img {
    position: relative;
    min-height: 400px;
    overflow: hidden;
}

.testimonial-img div {
    position: absolute;
    width: 100px;
    height: 100px;
    animation-duration: 5s;
}

.testimonial-img div:nth-child(1) {
    top: 10%;
    left: 10%;
    animation-delay: .1s;
}

.testimonial-img div:nth-child(2) {
    top: 60%;
    left: 20%;
    animation-delay: .4s;
}

.testimonial-img div:nth-child(3) {
    top: 20%;
    left: 60%;
    animation-delay: .7s;
}

.testimonial-img div:nth-child(4) {
    bottom: 10%;
    right: 10%;
    animation-delay: 1s;
}

.testimonial-img div::after {
    position: absolute;
    content: "";
    top: -1px;
    right: -1px;
    bottom: -1px;
    left: -1px;
    box-shadow: 0 0 10px 10px var(--bs-white) inset;
    z-index: 1;
}

.testimonial-carousel .owl-item img {
    width: 100px;
    height: 100px;
}

.testimonial-carousel .owl-nav {
    margin-top: 15px;
    display: flex;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    margin-right: 15px;
    color: var(--bs-primary);
    font-size: 45px;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    color: var(--bs-dark);
}


/*** Contact ***/
@media (min-width: 992px) {
    .contact-info::after {
        position: absolute;
        content: "";
        width: 0px;
        height: 100%;
        top: 0;
        left: 50%;
        border-left: 1px dashed rgba(255, 255, 255, .2);
    }
}

@media (max-width: 991.98px) {
    .contact-info::after {
        position: absolute;
        content: "";
        width: 100%;
        height: 0px;
        top: 50%;
        left: 0;
        border-top: 1px dashed rgba(255, 255, 255, .2);
    }
}


/*** Appoinment ***/
.newsletter {
    background: linear-gradient(rgba(0, 0, 0, .7), rgba(0, 0, 0, .7)), url(../img/carousel-3.jpg) left center no-repeat;
    background-size: cover;
}


/*** Footer ***/
.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: var(--bs-secondary);
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: var(--bs-primary);
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: var(--bs-primary);
    letter-spacing: 1px;
    box-shadow: none;
}

.copyright {
    background: #222222;
}

.copyright a {
    color: var(--bs-white);
}

.copyright a:hover {
    color: var(--bs-primary);
}

/* Icon 1 */

.animated-icon1,
.animated-icon2,
.animated-icon3 {
width: 30px;
height: 20px;
position: relative;
margin: 0px;
-webkit-transform: rotate(0deg);
-moz-transform: rotate(0deg);
-o-transform: rotate(0deg);
transform: rotate(0deg);
-webkit-transition: .5s ease-in-out;
-moz-transition: .5s ease-in-out;
-o-transition: .5s ease-in-out;
transition: .5s ease-in-out;
cursor: pointer;
}

.animated-icon1 span,
.animated-icon2 span,
.animated-icon3 span {
display: block;
position: absolute;
height: 3px;
width: 100%;
border-radius: 9px;
opacity: 1;
left: 0;
-webkit-transform: rotate(0deg);
-moz-transform: rotate(0deg);
-o-transform: rotate(0deg);
transform: rotate(0deg);
-webkit-transition: .25s ease-in-out;
-moz-transition: .25s ease-in-out;
-o-transition: .25s ease-in-out;
transition: .25s ease-in-out;
}

.animated-icon1 span {
background: #2d7ef7;
}

.animated-icon2 span {
background: #e3f2fd;
}

.animated-icon3 span {
background: #f3e5f5;
}

.animated-icon1 span:nth-child(1) {
top: 0px;
}

.animated-icon1 span:nth-child(2) {
top: 10px;
}

.animated-icon1 span:nth-child(3) {
top: 20px;
}

.animated-icon1.open span:nth-child(1) {
top: 11px;
-webkit-transform: rotate(135deg);
-moz-transform: rotate(135deg);
-o-transform: rotate(135deg);
transform: rotate(135deg);
}

.animated-icon1.open span:nth-child(2) {
opacity: 0;
left: -60px;
}

.animated-icon1.open span:nth-child(3) {
top: 11px;
-webkit-transform: rotate(-135deg);
-moz-transform: rotate(-135deg);
-o-transform: rotate(-135deg);
transform: rotate(-135deg);
}

/* Icon 3*/

.animated-icon2 span:nth-child(1) {
top: 0px;
}

.animated-icon2 span:nth-child(2),
.animated-icon2 span:nth-child(3) {
top: 10px;
}

.animated-icon2 span:nth-child(4) {
top: 20px;
}

.animated-icon2.open span:nth-child(1) {
top: 11px;
width: 0%;
left: 50%;
}

.animated-icon2.open span:nth-child(2) {
-webkit-transform: rotate(45deg);
-moz-transform: rotate(45deg);
-o-transform: rotate(45deg);
transform: rotate(45deg);
}

.animated-icon2.open span:nth-child(3) {
-webkit-transform: rotate(-45deg);
-moz-transform: rotate(-45deg);
-o-transform: rotate(-45deg);
transform: rotate(-45deg);
}

.animated-icon2.open span:nth-child(4) {
top: 11px;
width: 0%;
left: 50%;
}

/* Icon 4 */

.animated-icon3 span:nth-child(1) {
top: 0px;
-webkit-transform-origin: left center;
-moz-transform-origin: left center;
-o-transform-origin: left center;
transform-origin: left center;
}

.animated-icon3 span:nth-child(2) {
top: 10px;
-webkit-transform-origin: left center;
-moz-transform-origin: left center;
-o-transform-origin: left center;
transform-origin: left center;
}

.animated-icon3 span:nth-child(3) {
top: 20px;
-webkit-transform-origin: left center;
-moz-transform-origin: left center;
-o-transform-origin: left center;
transform-origin: left center;
}

.animated-icon3.open span:nth-child(1) {
-webkit-transform: rotate(45deg);
-moz-transform: rotate(45deg);
-o-transform: rotate(45deg);
transform: rotate(45deg);
top: 0px;
left: 8px;
}

.animated-icon3.open span:nth-child(2) {
width: 0%;
opacity: 0;
}

.animated-icon3.open span:nth-child(3) {
-webkit-transform: rotate(-45deg);
-moz-transform: rotate(-45deg);
-o-transform: rotate(-45deg);
transform: rotate(-45deg);
top: 21px;
left: 8px;
}