@charset "UTF-8";

/*------------------- 2.5. Mobile Menu -------------------*/
.th-menu-wrapper {
   position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    background-color: rgb(5, 54, 80, 0.6);
    z-index: 999999;
    width: 100%;
    height: 100%;
    -webkit-transition: all ease 0.8s;
    transition: all ease 0.8s;
    opacity: 0;
    visibility: hidden;
}
.th-menu-wrapper .mobile-logo {
    padding-bottom: 15px;
    padding-top: 15px;
    display: block;
    text-align: center;
    background-color: #053650;
}
.th-menu-wrapper .mobile-logo img {
    max-width: 185px;
}
.th-menu-wrapper .th-menu-toggle {
    border: none;
    font-size: 22px;
    position: absolute;
    right: -16.5px;
    top: 50px;
    padding: 0;
    width: 33px;
    height: 33px;
    line-height: 35px;
    z-index: 1;
    color: #ffffff;
    background-color: #053650;
    border-radius: 50%;
}
.th-menu-wrapper .th-menu-toggle:hover {
    background-color: #053650;
    color: #ffffff;
}
.th-menu-wrapper .th-menu-area {
    width: 100%;
    max-width: 310px;
    background-color: #ffffff;
    height: 100%;
    position: relative;
    left: -110%;
    opacity: 0;
    visibility: hidden;
    -webkit-transition: all ease 1s;
    transition: all ease 1s;
    z-index: 1;
}
.th-menu-wrapper.th-body-visible {
    opacity: 1;
    visibility: visible;
}
.th-menu-wrapper.th-body-visible .th-menu-area {
    left: 0;
    opacity: 1;
    visibility: visible;
}

.th-mobile-menu {
    overflow-y: scroll;
    max-height: calc(100vh - 200px);
    padding-bottom: 40px;
    margin-top: 33px;
    text-align: left;
}
.th-mobile-menu ul {
    margin: 0;
    padding: 0 0;
}
.th-mobile-menu ul li {
    border-bottom: 1px solid #cccccc;
    list-style-type: none;
}
.th-mobile-menu ul li li:first-child {
    border-top: 1px solid #cccccc;
}
.th-mobile-menu ul li a {
    display: block;
    position: relative;
    padding: 12px 0;
    line-height: 1.4;
    font-size: 16px;
    text-transform: capitalize;
    color: #000000;
    padding-left: 18px;
}
.th-mobile-menu ul li a:before {
    content: ""; /*\f105*/
    font-family: "FontAwesome";
    position: absolute;
    left: 0;
    top: 12px;
    margin-right: 10px;
    display: inline-block;
}
.th-mobile-menu ul li.th-active > a {
    color: #003a66;
}
.th-mobile-menu ul li.th-active > a:before {
    -webkit-transform: rotate(90deg);
    transform: rotate(90deg);
}
.th-mobile-menu ul li ul li {
    padding-left: 20px;
}
.th-mobile-menu ul li ul li:last-child {
    border-bottom: none;
}
.th-mobile-menu ul .menu-item-has-children > a .th-mean-expand {
    position: absolute;
    right: 0;
    top: 50%;
    font-weight: 400;
    font-size: 12px;
    width: 25px;
    height: 25px;
    line-height: 25px;
    margin-top: -12.5px;
    display: inline-block;
    text-align: center;
    background-color: #ffffff;
    color: #000000;
    -webkit-box-shadow: 0 0 20px -8px rgba(173, 136, 88, 0.5);
    box-shadow: 0 0 20px -8px rgba(173, 136, 88, 0.5);
    border-radius: 50%;
}
.th-mobile-menu ul .menu-item-has-children > a .th-mean-expand:before {
    content: "\f067";
    font-family: "FontAwesome";
}
.th-mobile-menu ul .menu-item-has-children > a:after {
    content: "\f067";
    font-family: "FontAwesome";
    width: 22px;
    height: 22px;
    line-height: 22px;
    display: inline-block;
    text-align: center;
    font-size: 12px;
    border-radius: 50px;
    background-color: #ffffff;
    float: right;
    margin-top: 1px;
}
.th-mobile-menu ul .menu-item-has-children.th-active > a .th-mean-expand:before {
    content: "\f068";
}
.th-mobile-menu ul .menu-item-has-children.th-active > a:after {
    content: "\f068";
}
.th-mobile-menu > ul {
    padding: 0 40px;
}
.th-mobile-menu > ul > li:last-child {
    border-bottom: none;
}

.th-menu-toggle {
    width: auto;
    height: auto;
    padding: 0;
    font-size: 20px;
    border: none;
    background-color: #003a66;
    color: #ffffff;
    display: inline-block;
    border-radius: 5px;
}
.th-menu-toggle.style-text, .th-menu-toggle.style-text-white {
    width: auto;
    height: auto;
    background-color: transparent;
    color: #000000;
    font-size: 20px;
}
.th-menu-toggle.style-text i, .th-menu-toggle.style-text-white i {
    margin-right: 10px;
}
.th-menu-toggle.style-text-white {
    color: #ffffff;
}

@media (max-width: 400px) {
    .th-menu-wrapper .th-menu-area {
        width: 100%;
        max-width: 270px;
    }
    .th-mobile-menu > ul {
        padding: 0 20px;
    }
}

.scroll-top {
    position: fixed;
    right: 30px;
    bottom: 55px;
    height: 50px;
    width: 50px;
    cursor: pointer;
    display: block;
    border-radius: 50px;
    z-index: 10000;
    opacity: 1;
    visibility: hidden;
    -webkit-transform: translateY(45px);
    transform: translateY(45px);
    -webkit-transition: all 300ms linear;
    transition: all 300ms linear;
}
.scroll-top:after {
    content: "\f102";
    font-family: "FontAwesome";
    position: absolute;
    text-align: center;
    line-height: 50px;
    font-size: 20px;
    color: #003a66;
    left: 0;
    top: 0;
    height: 50px;
    width: 50px;
    cursor: pointer;
    display: block;
    z-index: 1;
    border: 2px solid #003a66;
    -webkit-box-shadow: none;
    box-shadow: none;
    border-radius: 50%;
}
.scroll-top svg {
    color: #06263e;
    border-radius: 50%;
    background: #ffffff;
}
.scroll-top svg path {
    fill: none;
}
.scroll-top .progress-circle path {
    stroke: #06263e;
    stroke-width: 20px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-transition: all 400ms linear;
    transition: all 400ms linear;
}
.scroll-top.show {
    opacity: 1;
    visibility: visible;
    -webkit-transform: translateY(0);
    transform: translateY(0);
}
.scroll-top.style2 svg {
    background: #000000;
}

/*------------------- 4.2. Header  -------------------*/
.th-header {
    position: relative;
    z-index: 41;
}
.th-header .icon-btn {
    border-radius: 10px;
}
.th-header .th-menu-toggle:hover {
    background: #053650;
}
.th-header .menu-area {
    position: relative;
    z-index: 2;
}

.sticky-wrapper {
    -webkit-transition: 0.4s ease-in-out;
    transition: 0.4s ease-in-out;
}
.sticky-wrapper.sticky {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    background-color: #ffffff;
    -webkit-filter: drop-shadow(0 0 10px rgba(0, 0, 0, 0.07));
    filter: drop-shadow(0 0 10px rgba(0, 0, 0, 0.07));
    -webkit-animation: stickyAni 0.4s ease-in-out;
    animation: stickyAni 0.4s ease-in-out;
}

@-webkit-keyframes stickyAni {
    0% {
        -webkit-transform: translate3d(0, -40px, 0) scaleY(0.8);
        transform: translate3d(0, -40px, 0) scaleY(0.8);
        opacity: 0.7;
    }
    100% {
        -webkit-transform: translate3d(0, 0, 0) scaleY(1);
        transform: translate3d(0, 0, 0) scaleY(1);
        opacity: 1;
    }
}

@keyframes stickyAni {
    0% {
        -webkit-transform: translate3d(0, -40px, 0) scaleY(0.8);
        transform: translate3d(0, -40px, 0) scaleY(0.8);
        opacity: 0.7;
    }
    100% {
        -webkit-transform: translate3d(0, 0, 0) scaleY(1);
        transform: translate3d(0, 0, 0) scaleY(1);
        opacity: 1;
    }
}
.main-menu a {
    display: block;
    position: relative;
    font-weight: 500;
    font-size: 16px;
    color: #000000;
    text-transform: uppercase;
}
.main-menu a:hover {
    color: #003a66;
}
.main-menu > ul > li {
    margin: 0 15px;
}
.main-menu > ul > li > a {
    padding: 36.5px 0;
}
.main-menu > ul > li > a:hover {
    color: #003a66;
}
.main-menu ul {
    margin: 0;
    padding: 0;
}
.main-menu ul li {
    list-style-type: none;
    display: inline-block;
    position: relative;
}
.main-menu ul li:has(.sub-menu) > a:after, .main-menu ul li:has(.mega-menu) > a:after, .main-menu ul li.menu-item-has-children > a:after {
    content: "\f107";
    display: inline-block;
    position: relative;
    font-family: FontAwesome;
    margin-left: 5px;
    font-weight: 600;
    top: 0;
    font-size: 0.9em;
    color: #000000;
    -webkit-transition: 0.3s ease-in-out;
    transition: 0.3s ease-in-out;
}
.main-menu ul li:has(.sub-menu) > a:hover:after, .main-menu ul li:has(.mega-menu) > a:hover:after, .main-menu ul li.menu-item-has-children > a:hover:after {
    content: "\f106";
    -webkit-transform: rotate(180deg);
    transform: rotate(180deg);
    color: #003a66;
}
.main-menu ul li:last-child {
    margin-right: 0 !important;
}
.main-menu ul li:first-child {
    margin-left: 0 !important;
}
.main-menu ul li:hover > ul.sub-menu {
    visibility: visible;
    opacity: 1;
    -webkit-transform: scaleY(1);
    transform: scaleY(1);
    z-index: 9;
}
.main-menu ul li:hover ul.mega-menu {
    visibility: visible;
    opacity: 1;
    -webkit-transform: scaleY(1) translateX(0%);
    transform: scaleY(1) translateX(0%);
    z-index: 9;
    border-bottom: 3px solid #003a66;
}
.main-menu ul.sub-menu {
    position: absolute;
    text-align: left;
    top: 100%;
    background-color: #ffffff;
    visibility: hidden;
    min-width: 230px;
    width: -webkit-max-content;
    width: -moz-max-content;
    width: max-content;
    padding: 7px;
    left: -14px;
    opacity: 0;
    z-index: -1;
    -webkit-box-shadow: 0px 4px 15px rgba(1, 15, 28, 0.06);
    box-shadow: 0px 4px 15px rgba(1, 15, 28, 0.06);
    border-radius: 0px;
    -webkit-transform: scaleY(0);
    transform: scaleY(0);
    -webkit-transform-origin: top center;
    transform-origin: top center;
    -webkit-transition: all 0.4s ease 0s;
    transition: all 0.4s ease 0s;
    border-bottom: 3px solid #003a66;
}
.main-menu ul.sub-menu a {
    font-size: 16px;
    line-height: 30px;
}
.main-menu ul.sub-menu {
    padding: 18px 20px 18px 18px;
    left: -27px;
}
.main-menu ul.sub-menu li {
    display: block;
    margin: 0 0;
    padding: 0px 9px;
}
.main-menu ul.sub-menu li:has(.sub-menu) > a:after, .main-menu ul.sub-menu li:has(.mega-menu) > a:after, .main-menu ul.sub-menu li.menu-item-has-children > a:after {
    content: "\f105";
    float: right;
    top: 1px;
    display: inline-block;
}
.main-menu ul.sub-menu li:has(.sub-menu) > a:hover:after, .main-menu ul.sub-menu li:has(.mega-menu) > a:hover:after, .main-menu ul.sub-menu li.menu-item-has-children > a:hover:after {
    content: "\f105";
    -webkit-transform: rotate(180deg);
    transform: rotate(180deg);

}
.main-menu ul.sub-menu li a {
    position: relative;
    padding-left: 0;
    text-transform: capitalize;
}
.main-menu ul.sub-menu li a:before {
    content: "\f105";
    position: absolute;
    top: 6px;
    left: 10px;
    font-family: FontAwesome;
    width: 11px;
    height: 11px;
    text-align: center;
    border-radius: 50%;
    display: inline-block;
    font-size: 1em;
    line-height: 1;
    color: #003a66;
    font-weight: 400;
    opacity: 0;
    visibility: visible;
    -webkit-transition: 0.3s ease-in-out;
    transition: 0.3s ease-in-out;
}
.main-menu ul.sub-menu li a:hover {
    padding-left: 23px;
}
.main-menu ul.sub-menu li a:hover:before {
    visibility: visible;
    opacity: 1;
    left: 0;
}
.main-menu ul.sub-menu li ul.sub-menu {
    left: 100%;
    right: auto;
    top: 0;
    margin-left: 20px;
}
.main-menu ul.sub-menu li ul.sub-menu li ul {
    left: 100%;
    right: auto;
}


@media (max-width: 1500px) {
    .main-menu > ul > li {
        margin: 0 13px;
    }
}


.simple-icon {
    border: none;
    background-color: transparent;
    padding: 0;
    font-size: 24px;
    position: relative;
}
.simple-icon:has(.badge) {
    padding-right: 8px;
}
.simple-icon .badge {
    top: -8px;
    right: 0;
    font-size: 12px;
}


.header-logo {
    display: flex; /*per ingrandire l'immagine*/
    top: 0;
    bottom: 0;
    /* Medium devices */
}
@media (max-width: 991px) {
    .header-logo {
        padding-bottom: 0;
    }
}
.header-logo img {
    width: 120px;
    height: 120px;
    margin-left:20px;

}
.header-logo img:hover{
    transform: scale(1.9);
    top:50px;
    transition: all 100ms linear;
}

.header-top {
   /* background-color: #e02454;
    max-width: 1840px;
    */
    margin: 0;
    position: relative;
    z-index: 1;
    overflow: hidden;
    /* Large devices */
    /* Medium devices */
}


.sidebar-btn {
    /* Medium devices */
}
.sidebar-btn .line {
    display: block;
    height: 2px;
    width: 56px;
    background: #003a66;
    -webkit-transition: 0.4s;
    transition: 0.4s;
}
.sidebar-btn .line:not(:last-child) {
    margin-bottom: 13px;
}
.sidebar-btn .line:nth-child(2) {
    width: 40px;
}
.sidebar-btn:hover .line:nth-child(2) {
    width: 56px;
}
@media (max-width: 991px) {
    .sidebar-btn .line {
        width: 40px;
    }
    .sidebar-btn .line:nth-child(2) {
        width: 26px;
    }
    .sidebar-btn .line:not(:last-child) {
        margin-bottom: 9px;
    }
    .sidebar-btn:hover .line:nth-child(2) {
        width: 40px;
    }
}
.sidebar-btn:has(.dots) .simple-icon {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    gap: 12.5px;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    height: 40px;
    width: 40px;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}
.sidebar-btn .dots {
    width: 5px;
    height: 5px;
    background: #000000;
    border-radius: 50%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    gap: 12.5px;
    position: relative;
    -webkit-transition: 0.4s;
    transition: 0.4s;
}
.sidebar-btn .dots:after, .sidebar-btn .dots:before {
    content: "";
    position: relative;
    display: inline-block;
    width: 5px;
    height: 5px;
    background: #000000;
    border-radius: 50%;
    -webkit-transition: 0.4s;
    transition: 0.4s;
}
.sidebar-btn .dots:before {
    top: -17.5px;
}


.header-bg{
    border-radius: 16px 0;
}
.header-no-bg {
    background-color: rgba(0, 0, 0, 0.18);
    border-radius: 16px 0;
}
/* Header 3 ---------------------------------- */
.header-layout3 {
    position: relative;
    left: 0;
    top: 0;
    bottom:0;
    right: 0;
    /* Medium Large devices */
    /* Medium Large devices */
}
@media (max-width: 1699px) {
    .header-layout3 {
        margin: 0;
    }
}
.header-layout3 .header-top {
    margin:0;
    border-radius: 0;
    overflow: visible;
    padding: 0;
    position: relative;
    z-index: 111;
}

.header-layout3 .header-top::after {
    display: none;
}

.header-layout3 .header-top .shape {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.header-layout3 .header-top .shape::before {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    content: "";
    background: rgba(234, 231, 231, 0.3);
}
.header-layout3 .header-links ul {
    /* Medium devices */
}
@media (max-width: 991px) {
    .header-layout3 .header-links ul {
        text-align: center;
    }
}
.header-layout3 .header-links li:nth-child(2) {
    margin: 0;
    margin-right: 10px;
}
.header-layout3 .header-links li:nth-child(2):after {
    display: none;
}
.header-layout3 .header-links.style2 li {
    margin: 0;
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.12);
    padding: 3px 12px;
    padding-bottom: 5px;
    font-weight: 600;
}
.header-layout3 .header-links.style2 li:after {
    display: none;
}
.header-layout3 .header-links.style2 li:not(:last-child) {
    margin-right: 15px;
}
.header-layout3 .social-links a::after {
    display: none;
}
.header-layout3 .header-links li,
.header-layout3 .header-links span,
.header-layout3 .header-links p,
.header-layout3 .header-links a {
    color: #ffffff;
}
.header-layout3 .header-links a:hover {
    color: #003a66;
}
.header-layout3 .header-logo {
    display: flex; /*per ingrandire la img*/
    bottom:0;
    /* Medium Large devices */
}
.header-layout3 .header-logo img{
    position: relative;

    /* Medium Large devices */
}

.header-layout3 .main-menu a:hover {
    color: #000000;
}
.header-layout3 .main-menu > ul > li > a {
    padding: 15px 0;
}
.header-layout3 .main-menu > ul > li > a:hover {
    color: #06263e;
}
.header-layout3 .main-menu ul li:has(.sub-menu) > a:hover:after,
.header-layout3 .main-menu ul li:has(.mega-menu) > a:hover:after,
.header-layout3 .main-menu ul li.menu-item-has-children > a:hover:after {
    color: #06263e;
}

.header-layout3 .sidebar-btn {
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    background: #06263e;
    -webkit-transition: 0.4s;
    transition: 0.4s;
    width: 56px;
    height: 56px;
    padding: 0;
    font-size: 20px;
    border: none;
    border-radius: 8px;
    margin: 0 20px;
    /* Extra small devices */
}
@media (max-width: 375px) {
    .header-layout3 .sidebar-btn {
        margin: 0 10px;
    }
}
.header-layout3 .sidebar-btn .dots:after, .header-layout3 .sidebar-btn .dots:before {
    background: #ffffff;
}
.header-layout3 .sidebar-btn:hover {
    background: #000000;
}
.header-layout3 .sidebar-btn:hover .dots {
    background: #06263e;
}
.header-layout3 .sidebar-btn:hover .dots:after, .header-layout3 .sidebar-btn:hover .dots:before {
    background: #06263e;
}
/* posiziona a destra le barre che attivano il menu in mobile*/

.header-layout3 .header-sidbtn{
    position: absolute;
    top:20px;
    right: 10px;
}
.header-layout3 .sticky-wrapper.sticky .header-sidbtn {
    top:10px;
}

.header-layout3 .sticky-wrapper.sticky {
    /* Extra small devices */
}
.header-layout3 .sticky-wrapper.sticky .header-button {
    z-index: 1;
}
@media (max-width: 375px) {
    .header-layout3 .sticky-wrapper.sticky {
        max-width: 100%;
    }
}
.header-layout3 .sticky-wrapper.sticky .header-logo {
    margin-top: 0;
}
.header-layout3 .sticky-wrapper.sticky .header-button {
    top: 0;
}
.header-layout3 .sticky-wrapper.sticky .header-button .th-btn {
    padding: 20px 30px 20px 30px;
}
.header-layout3 .sticky-wrapper.sticky .menu-area {
    /* Large devices */
}
@media (max-width: 1199px) {
    .header-layout3 .sticky-wrapper.sticky .menu-area {
        padding: 0;
    }
}
.header-layout3 .sticky-wrapper.sticky .header-logo {
    padding-left: 15px;
    /* Medium Large devices */
}
.header-layout3 .sticky-wrapper.sticky .header-logo img {
    width: 80px;
    height:80px;
    /* Medium Large devices */
}
.header-layout3 .sticky-wrapper.sticky .header-logo img:hover {
    transform:scale(2.1);
    top:40px;
    /* Medium Large devices */
}

.header-layout3 .menu-area {
    background: #ffffff;
    margin:0;
    }

/* Extra small devices */
@media (max-width: 575px) {
    .header-layout3 .header-logo {
        margin-right: 0;
    }
    .header-layout3 .header-logo img {
        width: 100px;
        height: 100px;
    }
    .header-logo img:hover, .header-layout3 .sticky-wrapper.sticky .header-logo img:hover {
        transform: scale(1);
        top:0;
    }

}
