@import url("bootstrap.min.css");
@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.5.0/font/bootstrap-icons.css");
@import url('https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css');

@import url("https://fonts.googleapis.com/css2?family=Kristi&display=swap");
@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap');


:root {
    --brand-color: #0F425C;
    --sec-color: #007597;
    --bg-color: #f7fbfc;
    --font-alt: 'Lato', sans-serif;
    --font-sec: 'Kristi';

}

body {
    /* color: var(--brand-color); */
    color: black;
    font-family: var(--font-alt);
}

/* Logo header */
.logo {
    margin-left: 5%;
    padding: 0 2%;
}

a {
    text-decoration: none;
}

/* Header */
#navi {
    padding-top: 20px;
}

.logo {
    width: 272px;
}
.bg-img {
    height: 280px !important;
    object-fit: cover;
    width: 100%;
}
.bg-holder{
    position: relative;
}
.bg-holder:after {
    background-image: linear-gradient(to bottom, #fff, rgba(0, 0, 0, 0));
    content: " ";
    display: block;
    position: absolute !important;
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
    height: 100%;
}

.scrolled #navi {
    background-color: rgb(255, 255, 255, 0.85);
    padding-top: 10px;
    padding-bottom: 5px;
    transition: 300ms ease all;
    box-shadow: 0px 1px 12px rgba(0, 0, 0, 0.6);
    transition: all 0.5s ease;
    animation: smoothScroll 1s forwards;

}

.scrolled .top-bar {
    display: none;
}

.scrolled .logo {
    width: 150px;
}


.main-nav a, #navi a {
    color: var(--brand-color);
    border-bottom: 2px solid transparent;
    padding-bottom: 0.5rem;


}

#navi a.active, .modal-menu a.active, #navi a:hover {
    border-bottom: 2px solid var(--brand-color);
    transition: 300ms ease all;
}


.main-nav-links a {
    font-size: 1.2rem;
    font-size: clamp(1rem, 1.25vw, 1.2rem);
    font-weight: 400;
    margin: 0.8rem;
    display: inline-block;
}


.main-nav .dropdown-toggle {
    display: none;
}

.main-nav .dropdown-toggle {
    display: block;
}

.main-nav .dropdown-toggle {
    border: 1px solid var(--brand-color) !important;
    border-radius: 10px;
    padding: 5px 10px;
    text-transform: uppercase;
}

.toggle-menu i {
    font-size: 30px;
}

.main-nav .dropdown-menu {
    background-color: white;
    box-shadow: 0px 0px 100px rgba(0, 0, 0, 0.18);
    border-radius: 0;
    color: var(--brand-color);
    min-width: 80px !important;
}


.dropdown {
margin: 0.8rem;
}

.dropdown a:hover {
    background-color: white;
    transition: 300ms ease all;

}

.dropdown a.dropdown-item {
    margin: 0;
    text-transform: uppercase;

}
.navbar-toggler:focus{
    outline: 0 !important;
    box-shadow: none !important;
}
.dropdown-toggle.show {
    background-color: transparent !important;
}

.bg-intro{
    width: 100%;
    height: 900px;
    background-position: center;
    background-size: cover;
    align-items: center;
    justify-content: center;
}
.bg-intro .carousel-item img{
    object-fit: cover;
}

.main-nav.collapse.show .lang .dropdown-toggle{
    border: 0 !important;
    width: 100%;
    padding: 0;
    text-align: center;
}

#carousel .carousel-item img {
    object-fit: cover;
    object-position: center;
    height: 900px;
}

.bg-intro:after {
    background-image: linear-gradient(to bottom, #fff, rgba(0, 0, 0, 0));
    content: " ";
    display: block;
    position: absolute !important;
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
    height: 50%;
}

.navbar-collapse.show{
    background-color: white;
}
@media (max-width: 767px) {


    .logo {
        width: 120px;
    }

    .scrolled .logo {
        width: 120px;
    }

}

.bg-color {
    background-color: var(--brand-color);
    position: absolute;
    top: 870px;
    /*left: 48.55%;*/
    z-index: 3;
    padding: 20px 10px;
    align-items: center;
    justify-content: center;
}

@media (max-width: 992px) {
    .bg-intro {
        min-height: 300px;
        height: 480px;
    }

    #carousel .carousel-item img {
        height: 480px;
    }

    .bg-color {
        top: 425px;
        padding: 8px 5px;
    }

}

.bg-color i {
    color: white;
    font-size: 35px;
}

.box-radius {
    border-radius: 10px;
    overflow: hidden;
}

.box-img.box-radius {
    width: auto;
    height: 500px;
    overflow: hidden;
}

.box-img img {
    min-height: 500px;
    height: auto;
    width: 100%;
    object-fit: cover;
}

.box-img .hover-bg {
    opacity: 1;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgb(255,255,255,0.8);
    transition: 300ms ease all;
}
.box-img .hover-bg{
    color: var(--brand-color);
    font-size: 14px;
}
@media (max-width: 1200px){
    .box-img .hover-bg{
        font-size: 12px;
    }
}
@media (max-width: 992px){
    .box-img .hover-bg{
        font-size: 14px;
    }
}
@media (max-width: 600px){
    .box-img .hover-bg{
        font-size: 12px;
    }
}

.box-content.box-radius {
    box-shadow: 0px 0px 90px rgba(0, 0, 0, 0.18);
    border-radius: 10px;
    padding: 20px 20px;
    width: 454px;
    min-height: 370px;
    background-color: white;
    height: 100%;
}

.box-content.to-right {
    margin-right: -50px;
    z-index: 3;
}

.box-content.to-left {
    margin-left: -50px;
}

.box-content.box-radius p {
    font-size: 16px;
}

.carta {
    width: 90%;
}

/* @media (max-width: 992px) {
    .threeitems .box-content.to-right {
        margin-right: 0px !important;
        margin-bottom: -100px !important;
        width: 80% !important;
        height: 100% !important;
    }

} */

 @media (max-width: 1200px) {
    /*.row-direc .box-content.to-left,  */
    .fouritems .box-content.to-right {
        margin-left: 0px !important;
        margin-right: 0px !important;

    }
}

@media (max-width: 600px) {
    .box-content h2, p {
        font-size: 0.75rem;
    }

    .carta {
        width: 100% !important;
    }
}

@media (max-width: 767px) {
    .row-direc {
        flex-direction: column-reverse !important;
    }

    /* .fouritems .box-content.to-right,  */
    .row-direc .box-content.to-left {
        margin-bottom: -100px !important;
        width: 80% !important;
    }

    .carta {
        width: 100%;
    }


}

h2.font-sec {
    /* color: var(--sec-color); */
    color: black;
    font-family: var(--font-sec);
    font-size: 54px;
}

.box-content h2 {
    font-size: 26px;

}

.bg-light-color {
    background-color: var(--bg-color);
}
.parallax{
    min-height: 500px;

    /* Create the parallax scrolling effect */
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.horaris {
    background-repeat: no-repeat;
    background-size: cover;

}

.horaris .overlay-white {
    background-color: rgb(255, 255, 255, 0.8);
}

.horaris .bg-b-c {
    background-color: var(--brand-color);
    color: white;
    padding: 20px;
    opacity: .9;
    box-shadow: 0px 0px 90px rgba(0, 0, 0, 0.18);
    border-radius: 10px;
}
.bg-white-op{
    background-color: rgba(255,255,255,0.8);
}
.horaris .bg-b-c h2.font-sec {
    font-size: 32px;
    opacity: .4;
    text-transform: none;
}

.horaris .bg-b-c h2 {
    text-transform: uppercase;
    opacity: 1;
}

.horaris .bg-b-c .line {
    border-right: 2px solid white;
}

@media (max-width: 992px) {
    .horaris .bg-b-c .line {
        border-right: 0;
    }
}

.horaris table td.title {
    text-transform: uppercase;
    font-size: 18px;
    font-weight: 600;
}

.horaris table td {
    font-weight: 300;
    font-size: 14px;
    margin-right: 30px;
}

@media (max-width: 600px) {
    .horaris table td {
        margin-right: 10px;
    }

    .horaris .bg-b-c {
        padding: 5px;
    }

    table tr td {
        font-size: 12px !important;
    }
}

table {
    border-collapse: separate;
    border-spacing: 30px;
}

table p, table td, table tr {
    margin-bottom: 0;
    padding-bottom: 0;
}

table td strong {
    font-weight: 600;
}
.box-content h2{
    text-transform: uppercase;
}
/* Buttons */
.btn-normal {
    /* border: 1px solid var(--sec-color); */
    border: 1px solid black;
    background-color: white;
    text-transform: uppercase;
    border-radius: 10px;
    /* color: var(--sec-color); */
    color: black;
    padding-left: 70px;
    padding-right: 70px;
    margin-bottom: 0;
    width: 100%;
}
.btn-normal:focus, .btn-normal:active {
    outline: 0;
    box-shadow: none;
}


@media (max-width: 992px) {
    .btn-normal {
        font-size: 14px;
        padding-left: 5%;
        padding-right: 5%;

    }

    .box-content.box-radius p {
        font-size: 14px;
    }
}

@media (max-width: 600px) {
    .btn-normal {
        font-size: 12px;
    }

    .box-content.box-radius p {
        font-size: 12px;
    }
}
.btn-normal:hover {
    background-color: var(--sec-color);
    color: white;
    transition: 300ms ease all;
}


/* Footer */
footer {
    background-repeat: no-repeat;
    background-position: bottom center;
    background-size: cover;
    padding: 0 !important;
    width: 100%;
    font-size: 14px;
}

footer a, footer {
    font-weight: 300;
}

footer a {
    margin-right: 13px;
    font-size: 14px;
}

footer .overlay-black {
    background-color: rgb(0, 0, 0, 0.7);
    width: 100%;
    padding: 0;
}

footer .legal {
    width: 90%;
}

@media (max-width: 1200px) {
    footer .legal {
        width: 100%;
    }
}

footer strong {
    font-weight: 700;
}

footer .legal a {
    color: var(--brand-color);
    border-bottom: 2px solid transparent;
    padding-bottom: .5rem;
}

footer .legal a:hover, footer .legal a.active {
    border-bottom: 2px solid black;
    padding-bottom: .5rem;
    transition: 300ms ease all;
    color: black;


}

footer .social-links a {
    border-radius: 50%;
    border: 1px solid white;
    display: inline-flex;

    height: 35px;
    width: 35px;
    align-items: center;
    justify-content: center;
    padding-right: 7px;
    margin-right: auto;
    margin-left: auto;
}

footer .info a:hover, footer .info a:hover i {
    color: var(--sec-color) !important;
    transition: 400ms ease all;

}

footer .social-links a:hover {
    background-color: white;
    color: var(--brand-color);
    transition: 400ms ease all;
}

footer .social img {
    width: 280px;
    margin-right: auto;
    margin-left: auto;
    margin-bottom: 20px;
}

footer .info.familiar>div{
    width: 78%;
}


@media (max-width: 600px){
    footer .info.familiar>div{
        width: 100%;
    }
}
@media (min-width: 1200px){
    footer .info.familiar>div{
        width: 250px !important;
    }
}
footer .info a, footer .info {
    display: block;
    font-size: 14px;
}

footer .info a {
    margin-bottom: 8px;
}

@media (max-width: 767px) {
    footer .info {
        width: 50%;
        margin-bottom: 30px;
        margin-top: 30px;
    }
}

@media (max-width: 992px) {
    footer .info a, footer .info {
        font-size: 12px;
    }
}

.bg-white{
    background-color: white;
}