:root {
    --primary-color: #2C4874;
    --secondary-color: #CE9102;
}


.col-primary{
    color: var(--primary-color) !important;
}

.col-secondary{
    color: var(--secondary-color) !important;
}

body{
    font-family: "Libre Caslon Text", sans-serif;
    color: #404854;
}
h2{
    margin: 0px;
}

header {
    background-color: white;
    border-bottom: 1px solid #eee;
    padding: 10px 0;
}

header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 20px;
}

.right-group {
    display: flex;
    align-items: center;
    gap: 30px;
}

.logo img {
    height: 50px;
}

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 14px;
    padding: 0;
    margin: 0;
}

.main-nav a {
    text-decoration: none;
    color: #333;
    font-size: 14px;
    position: relative;
    padding:6px 10px;
}

.main-nav a.active {
    color: #1c1c1c;
}
.main-nav li:hover a::after,
.main-nav a.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #c49a6c; /* oro */
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.btn-consult {
    background-color: #23395b;
    color: white;
    padding: 8px 14px;
    border-radius: 4px;
    font-size: 14px;
    text-decoration: none;
    white-space: nowrap;
}

.evidence-menu-link a{
    background-color: var(--primary-color) !important;
    color: #ffffff !important;
    border-radius: 5px;
}

header .social-icons a {
    display: inline-block;
    text-decoration: none;
    background-color: var(--primary-color);
    border-radius: 50%;
    width: 24px;
    height: 24px;
    text-align: center;
    transition: opacity 0.2s;
    margin-left: 10px;
}

header .social-icons a i {
    color: #ffffff;
    font-size: 14px;
    line-height: 24px;
}

@media (max-width: 992px) {
    header .container {
        display: block;
    }
    
    .logo{
        float: left;
        width: calc(100% - 120px);
    }
    
    .right-group{
        float: right;
    }
    
    .main-nav ul {
        flex-direction: column;
        gap: 10px;
    }
    
    .header-actions {
        margin-top:14px;
        flex-direction: column;
        align-items: center;
        width: 100%;
    }
    
    .evidence-menu-link a{
        background-color: #ffffff !important;
        color: var(--primary-color) !important;
    }
}

@media (max-width: 575px) {
    header .container {
        display: block;
    }
    
    .logo{
        float: none;
        width: 100%
    }
    
    .right-group{
        float: none;
    }
    
    .header-actions {
        margin-top:14px;
        flex-direction: column;
        align-items: center;
        width: 100%;
    }
}


.close-menu{
    color: #ffffff;
    position: absolute;
    right: 24px;
    top: 24px;
    font-size: 36px;
    display: none;
    cursor: pointer;
}

.mobile-logo{
    display: none;   
}

.mobile-menu-toggle {
    display: none;
    float: right;
    font-size: 28px;
    padding:5px 8px;
    background-color: var(--primary-color);
    color: #ffffff;
    border-radius:5px;
    margin-top:7px;
}

@media (max-width: 992px) {         
    .mobile-logo{
        display: block;
        width: 75%;
        margin-left: 10px;
    }
    .close-menu{
        display: block;
    }
    nav {
        width: 100%;
        display: none;
        visibility: hidden;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 10001;
        transition: visibility 0.4s;
        background-color: var(--primary-color);
        height: 100vh;
        overflow: auto;
        padding: 10px;
    }
    nav.open{
        display: block;
        visibility: visible;
    }
    nav .menu {
        display: block;
        width: 100%;
        padding-top: 10px;
    }
    nav .menu li a {
        color: #ffffff;
        font-size: 20px;
        margin-top: 12px;
        padding: 12px 20px;
        padding-right: 30px;
        display: block;
    }
    .mobile-menu-toggle {
        display: block;
        padding-top:10px;
    }
    .logo-container img{
        height:60px;
    }
    .menu>li {
        margin-right: 1rem;
    }
}

.sr-slider-container{
    overflow: hidden;
    position: relative;
}

.sr-slider {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.sr-slide {
    flex: 0 0 100%;
    height: 100%;
    position: relative;    
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 550px;    
}

.sr-slide .sr-slide-overlay{
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0px;
    left: 0px;
    background: linear-gradient(to top, #284A8A 0%, transparent 80%);
}

.sr-slide .sr-slide-content{
    position: absolute;
    text-align: center;
    width: 800px;
    left: calc(50% - 400px);
    top: 30%;
    padding-top:2rem;    
}

.sr-slide .sr-slide-content .btn{
    margin-top:20px;
    border-radius: 4px;
    font-size: 14px;
    padding:4px 12px;
}

.sr-slide-title {
    font-weight: 400;
    font-size: 44px;
    margin-bottom: 10px;  
}

.sr-slide-subtitle {
    font-family: "Lato", sans-serif;
    font-weight: 300;
    font-size: 24px;
    margin-top: 10px;  
    margin-bottom: 30px;  
}

@media (max-width: 840px) {
    .sr-slide .sr-slide-overlay{
        background: linear-gradient(to top, #284A8A 0%, transparent 100%);
    }
    
    .sr-slide {
        height: 300px;    
    }
    
    .sr-slide .sr-slide-content{
        width: 60%;
        left:20%;
        right:20%;
        top:20%;
        padding-left:10px;
        padding-right:10px;        
    }
    
    .sr-slide-title {
        font-weight: 400;
        font-size: 24px;
        margin-bottom: 20px;  
    }
}

@media (max-width: 575px) {
    .sr-slide .sr-slide-overlay{
        background: linear-gradient(to top, rgba(40,74,138,0.9) 0%, rgba(40,74,138,0.6) 60%, transparent 100%);
    }
    
    .sr-slide {
        height: 250px;    
    }
    
    .sr-slide .sr-slide-content{
        width: 100%;
        left:0px;
        top:30px !important;
        padding-left:10px;
        padding-right:10px;        
    }
    
    .sr-slide-title {
        font-weight: 400;
        font-size: 20px;
        margin-bottom: 20px;  
    }
}

.sr-prev, .sr-next {
    position: absolute;    
    top: 50%;
    transform: translateY(-50%);
    background-color: white;
    color: var(--primary-color);
    cursor: pointer;
    z-index: 10;
    font-family: "Font Awesome 6 Pro";
    font-weight: 900;    
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;    
    font-size: 20px;    
}
.sr-prev:hover, .sr-next:hover {
    opacity: 0.85;
}

.sr-prev {
    content: "\f104";
    left: 8%;
}

.sr-next {
    content: "\f105";
    right: 8%;
}

.sr-prev::before {
    content: "\f104";
    font-family: "Font Awesome 6 Pro";
    font-weight: 900;
}

.sr-next::before {
    content: "\f105";
    font-family: "Font Awesome 6 Pro";
    font-weight: 900;
}

.sr-dots {
    display: none;
    text-align: center;
    margin-top: 10px;
}

.sr-dots span {
    display: inline-block;
    width: 10px;
    height: 10px;
    margin: 5px;
    background-color: gray;
    border-radius: 50%;
    cursor: pointer;
}

.sr-dots .active {
    background-color: black;
}
@media (max-width: 768px) {
    .sr-prev, .sr-next {
        width: 28px;
        height: 28px;
        font-size: 16px;   
        bottom: 10px;
        top: unset;
    }
    
    .sr-prev {
        left: 10px;
    }
    
    .sr-next {
        right: 10px;
    }
}

/********* PAGE TITLE *********/
.page-title {
    background-image: url(/frontend/images/citazione.png);
    background-size: cover;
    background-position: center;
    width: 100%;
    height: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.page-title h2 {
    color: white;    
    font-size: 40px;
    font-weight: 400;
    text-align: center;
}
.page-title p {
    color: white;
    font-size: 20px;
    text-align: center;
    margin-bottom: 0px;
}
/* Responsive layout */
@media (max-width: 768px) {
    .page-title h2 {
        font-size: 36px;
    }
    .page-title p {
        font-size: 18px;
    }
}

/* Layout di base */
.studio-section {
    background-color: #fff;
    padding: 60px 20px;
}

.studio-content {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}

.studio-image-wrapper {
    display: flex;
    align-items: stretch;
    width: fit-content;
}

.bg-bar {
    padding-top:20px;
    padding-bottom:20px;
    width: 20px;    
}
.bg-bar div{
    width:100%;
    height:100%;
    background-color: #173F7A;
}

.middle-image img {
    display: block;
    height: auto;
    max-width: 250px;
}

.studio-text {
    max-width: 400px;
    flex: 1;
}

.studio-text h2 {
    color: #173F7A;
    font-size: 28px;
    margin-bottom: 10px;
    font-weight: 300;
}

.studio-text p {
    font-family: "Lato", sans-serif;
    font-size: 16px;
    line-height: 24px;
    margin-top: 0px;
    margin-bottom: 20px;
}

.studio-button {
    display: inline-block;
    background-color: var(--secondary-color);
    color: white;
    padding: 4px 12px;
    text-decoration: none;
    border-radius: 4px;
    font-size: 14px;
}

.studio-extra-text {    
    max-width: 300px;
    flex: 1;
}

.studio-extra-text p {
    font-family: "Lato", sans-serif;
    font-size: 16px;
    line-height: 1.6;
}

/* Responsive */
@media (max-width: 992px) {
    .studio-section{
        padding-top:30px;
        padding-bottom:30px;
    }
    .studio-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 20px;
    }
    
    .studio-text p {
        margin-bottom:0px;
    }
    
    .studio-image img {
        border: none;
        width: 100%;
        max-width: 300px;
    }
    
    .studio-text,
    .studio-extra-text {
        max-width: 100%;
    }
    
    .studio-text h2 {
        font-size: 24px;
    }
}

/* Nuovo wrapper per il pulsante */
.studio-button-wrapper {
    margin-top: 20px;
}

/* Desktop: bottone accanto alla colonna centrale */
@media (min-width: 993px) {
    .studio-button-wrapper {
        display: none; /* nascondi bottone extra */
    }
    
    .studio-text .studio-button {
        display: inline-block;
    }
}

/* Mobile: bottone alla fine */
@media (max-width: 992px) {
    .studio-text .studio-button {
        display: none; /* nascondi il bottone dentro studio-text */
    }
    
    .studio-button-wrapper {
        display: flex;
        justify-content: center;
    }
    
    /*    .studio-button {
            background-color: var(--secondary-color);
            color: white;
            padding: 6px 14px;
            text-decoration: none;
            border-radius: 4px;
            font-size: 14px;
        }*/
}

.competence-section {
    background-color: #edf3fa;
    padding: 60px 20px;
}

.competence-container {
    max-width: 1440px;
    margin: 0 auto;
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
    justify-content: space-between;
}

.competence-left {
    flex: 1 1 250px;
    max-width: 300px;
}

.competence-left h2 {
    font-size: 28px;
    color: #173F7A;
    margin-bottom: 10px;
    font-weight: 400;
}

.competence-left p {
    font-family: "Lato", sans-serif;
    font-size: 16px;
    line-height: 24px;
    color: #404854;
    margin-bottom: 20px;
}

.btn-cta {
    display: inline-block;
    background-color: var(--secondary-color);
    color: white;
    padding: 4px 12px;
    text-decoration: none;
    border-radius: 4px;
    font-size: 14px;
}

.competence-right {
    flex: 2 1 600px;
}

.competence-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 30px 20px;
}

.competence-item {
    text-align: center;
    color: #173F7A;
    font-size: 14px;
    
}

.icon-circle {
    width: 60px;
    height: 60px;
    background-color: #fff;
    border-radius: 50%;
    margin: 0 auto 10px auto;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.icon-circle img {
    max-width: 30px;
    max-height: 30px;
    width: auto;
    height: auto;
    object-fit: contain;
}

/* Responsive layout */
@media (max-width: 768px) {
    .competence-section{
        padding-top:30px;
        padding-bottom:30px;
    }
    .competence-container {
        flex-direction: column;
        /*align-items: center;*/
    }
    
    .competence-left{
        flex: 0;
        text-align: center;
        max-width: 100%;
    }
    
    .competence-right{
        flex: 2 1 400px;
    }
    
    .btn-cta {
        margin-top: 10px;
    }
    
    .competence-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* CITAZIONE */
.citation-section{
    background-image: url(/frontend/images/citazione.png);
    background-size: cover;
    background-position: center;
    width: 100%;
    height: 330px;
    padding-top: 120px;
    padding-left: 10px;
    padding-right: 10px;
}

.citation-section h2{
    color: white;    
    font-size: 40px;
    font-weight: 400;
    text-align: center;
}

.citation-section p{
    color: white;
    font-size: 20px;
    text-align: center;
    margin-bottom: 0px;
}

/* Responsive layout */
@media (max-width: 768px) {
    .citation-section{
        height: 200px;
        padding-top: 40px;
    }
    .citation-box h2{
        font-size: 36px;
    }
    
    .citation-box p{
        font-size: 18px;
    }
}

/* TEAM */
.team-section{
    padding:60px 20px;
}

.team-box{ 
    display: block;
    padding:10px;
    margin-bottom: 24px;
}

.team-box img{
    width:100%;    
}

.team-role{
    margin-top: 14px;
    margin-bottom: 10px;
    font-family: "Lato", sans-serif;
    font-weight: 400;
    font-size: 18px;
    color: #8B95A5;
    text-transform: uppercase;
    text-align: center;
}

.team-name{
    margin-top: 0px;
    margin-bottom: 0px;
    font-weight: 500;
    font-size: 24px;
    color: var(--primary-color);
    text-align: center;
}

.team-box i{
    display: block;
    margin-top: 12px;
    text-align: center;    
    font-size: 28px;
    color: #8B95A5;
}
.team-container {
    margin: 20px 0;
}

/* Responsive layout */
@media (max-width: 992px) {
    .team-section{
        padding:30px 14px;
    }
    
    .team-box{
        padding:0px;
    }
    
    .team-role{
        font-size: 14px;
    }
    
    .team-name{
        font-size: 20px;
    }
}

/* FAQ */
.faq-section {
    background-color: #edf3fa;
    padding: 60px 20px;
}

.faq-container {
    max-width: 1440px;
    margin: 0 auto;    
}

.faq-left h2 {
    font-size: 28px;
    color: #173F7A;
    margin-bottom: 10px;
    font-weight: 400;
}

.faq-left p {
    font-family: "Lato", sans-serif;
    font-size: 16px;
    line-height: 24px;
    color: #404854;
    margin-bottom: 20px;
}

.btn-cta {
    display: inline-block;
    background-color: var(--secondary-color);
    color: white;
    padding: 4px 12px;
    text-decoration: none;
    border-radius: 4px;
    font-size: 14px;
}

.accordion {
    max-width: 600px;
    margin: 0 auto;
    float: right;
    font-family: "Lato", sans-serif;
}

.accordion-item {
    background-color: #173f7a;
    color: #fff;
    border-radius: 4px;
    margin-bottom: 10px;
    overflow: hidden;
    transition: background-color 0.3s ease;
}

.accordion-item.active {
    background-color: #d1a100;
    color: #fff;
}

.accordion-header {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    cursor: pointer;
    font-weight: bold;
}

.accordion-icon {
    margin-right: 12px;
    font-size: 14px;
    transition: transform 0.3s ease;
}

.accordion-icon  i{
    color: white;
    font-size: 20px;    
}

.accordion-icon i:before{
    content: "\f0da";
}

.accordion-item.active .accordion-icon i:before{
    content: "\f0d7";
}

.accordion-title {
    flex: 1;
    color: white;
    font-weight: 400;
}

.accordion-content {
    font-family: "Lato", sans-serif;
    max-height: 0;
    overflow: hidden;
    padding: 0 16px;
    font-size: 14px;
    line-height: 1.6;
    transition: max-height 0.4s ease, padding 0.3s ease;
}

.accordion-item.active .accordion-content {
    padding: 12px 16px;
    max-height: 500px;
}

.page-faq {
    background-color: initial;
}
.page-faq .accordion {
    max-width: none;
    float: none;
}
.page-faq .faq-left {
    text-align: center;
}
.page-faq .faq-left p {
    font-size: 20px;
}
.page-faq .accordion-title, .page-faq .accordion-content {
    font-size: 18px;
}

/* Responsive layout */
@media (max-width: 768px) {
    .faq-section{
        padding-top:30px;
        padding-bottom:30px;
    }
    
    .faq-left{
        text-align: center;
    }
    
    .btn-cta {
        margin-top: 10px;
    }
    
    .accordion {
        float: none;
    }
}

/********* BREADCRUMB *********/
.breadcrumb-nav {
    padding: 10px 0;
    font-size: 0.95rem;
}

.breadcrumb {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
}

.breadcrumb li {
    display: flex;
    align-items: center;
    color: #39251C;
}

.breadcrumb li+li::before {
    content: "/";
    margin: 0 8px;
    color: #ccc;
}

.breadcrumb a {
    text-decoration: none;
    color: #39251C;
}

.breadcrumb a:hover {
    color: #183A7A;
}

.breadcrumb .active {
    color: #183A7A;
    font-weight: 500;
}

/* Responsive font size */
@media (max-width: 576px) {
    .breadcrumb-nav {
        font-size: 0.85rem;
    }

    .breadcrumb li+li::before {
        margin: 0 5px;
    }
}

/* blog */
.blog-post-archive {
    margin-top: 70px;
}
.blog-post-archive .breadcrumb a:hover, .breadcrumb li:last-child {
  color: var(--primary-color);
}
.breadcrumb li:not(:last-child):after {
  font-family: "Font Awesome 6 Pro";
}
.post{
    box-shadow: 0px 0px 20px -5px #00000033;
    margin-bottom: 20px;
    /*border-radius: 30px;*/
    /*border:1px solid #c9c9c9;*/
}
.breadcrumb-blog{
    padding-bottom:20px;
    padding-top:0px !important;
}

.post-wrapper, .post-search-key, .breadcrumb{
    padding-left: 20px;
    padding-right: 20px;
}

.post-classic .post-title, .post-classic .post-content{
    padding: 0px;
}

.post .post-title a{
    color: var(--primary-color);
    font-size: 36px;
}

.post .post-content{
    font-size: 22px;
    color: #343434;
}
.post-media {
    margin: 0;
}
.post-media, .post-media img {
    width: 100%;
}
.post-read-more {
    background-color: var(--primary-color);
    color: #ffffff;
    padding: 10px 20px;
    margin-top: 20px;
    display: block;
    width: fit-content;
}

.post-calendar{
    display: none;
}

.post-details .btn{
    background-color: var(--primary-color);
    color: #ffffff;
    font-size: 1em;
    border:0px;
}
.post-border .post-details {
    border: 0;
}

.tag{
    font-size: 16px;
    color: var(--primary-color);
}
.tag:hover{
    color: var(--secondary-color);
}

.social-links {
    padding: 10px 20px;
}
.social-links a {
    color: var(--primary-color);
}
.social-links a:hover {
    color: var(--secondary-color);
}

.post-category-tree-list a{
    font-size: 20px;
    font-weight: 300;
    color: var(--primary-color);
}
.post-category-tree-list a:hover {
    color: var(--primary-color);
}

.post-category-tree-list .dd-item::marker{
    color: #ffffff;
}

.post-classic .post-details{
    padding: 20px;
    font-size: 18px;
}

.widget-search input{
    padding: 1.1em 1.22em 0.9em
}

.post-post-grid .entry-title a{
    color: var(--primary-color);
    font-size: 26px;
}
.social-link:hover {
  color: var(--primary-color);
}

@media screen and (max-width: 550px) {
    .post-wrapper, .post-search-key, .breadcrumb{
        padding-left: 0px;
        padding-right: 0px;
    }

    .post .post-title a{
        font-size: 26px;
    }
    
    .post .post-content{
        font-size: 18px;
    }
    
    .tag{
        font-size: 14px;
    }
}

/* chi siamo */
.section-about-us {
  padding: 60px 20px;
}

.about-us-container {
  max-width: 1200px;
  margin: 0 auto;
}

.about-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 60px;
  flex-wrap: wrap;
}

.about-section.reverse .about-image {
  order: 2;
}
.about-section.reverse .about-text {
  order: 1;
}

.about-image, .about-text {
  flex: 1 1 50%;
  padding: 20px;
}

.about-image img {
  width: 100%;
  height: auto;
  border-radius: 10px;
}

.about-text {
  font-size: 17px;
  line-height: 1.6;
}

.about-text .section-title {
  margin-bottom: 20px;
}

.about-gallery {
  margin-top: 60px;
}

.text-center {
  text-align: center;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 30px;
}

.gallery-grid img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
}

/* Responsive */
@media (max-width: 992px) {
  .about-section {
    flex-direction: column;
  }
  .about-image, .about-text {
    flex: 1 1 100%;
    text-align: center;
  }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}


/* SERVIZI */
.section-services {
  padding: 60px 20px;
}

.services-container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 10px;
}

.section-subtitle {
  font-size: 18px;
  color: var(--primary-color);
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.text-center {
  text-align: center;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.service-card {
  background-color: #f9f9f9;
  padding: 25px 20px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.service-card h3 {
  font-size: 20px;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.service-card p {
  font-size: 16px;
  color: var(--primary-color);
  line-height: 1.5;
}

/* Responsive */
@media (max-width: 992px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}


/* CONTACT */
.contact-form .form-row {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.contact-form .cols-2>* {
    flex: 1 1 50%;
}

.contact-form .form-input,
.contact-form .form-textarea {
    padding: 12px 16px;
    border: 1px solid #ccc;
    border-radius: 4px;
    width: 100%;
    box-sizing: border-box;
    font-size: 16px;
}

.contact-form .form-textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form .form-submit {
    width: 100%;
    padding: 14px;
    background: var(--primary-color);
    border-radius:6px;
    color: #fff;
    font-size: 16px;
    border: none;
    cursor: pointer;
    margin-top: 10px;
}

.contact-form .form-submit:hover {
    background: var(--primary-color);
}
.thankyou-message {
    text-align: center;
    margin: 50px;
}

/* Responsive */
@media (max-width: 768px) {
    .contact-form .cols-2>* {
        flex: 1 1 100%;
    }
    
    .contact-form-wrapper {
        padding: 20px 6px;
    }
    
    .contact-content {
        display: block;
        padding:0 20px;
        margin-top: -360px;
    }
    
    .contact-form-wrapper p{
        width: 100%;
        margin:0px;
        padding:0 10px;
    }
    
    .contact-form{
        width: 100%;
        padding:0px;
        margin-top: 20px;
    }
}


.social strong {
    display: block;
    margin-bottom: 0.3rem;
}

.social-icons a {
    display: inline-block;
    text-decoration: none;
    background-color: white;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    text-align: center;
    transition: opacity 0.2s;
}

.social-icons a i {
    color: #183A7A;
    font-size: 18px;
    line-height: 40px;
}

.social-icons a:hover {
    opacity: 0.7;
}

.contact-info {
    background-color: #ffffff;
    padding: 0 20px;
    margin-bottom: 30px;
    border-radius: 16px;
}
.contact-info h3 {
    margin-top: 0;
}

.contact-info ul {
    list-style: none;
    padding-left: 0;
}

.contact-info ul li {
    line-height: 2;
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 10px;
}

.contact-info ul li i {
    font-size: 16px;
    line-height: 1;
    margin-top: 0;
    margin-bottom: 0;
    flex-shrink: 0;
    color: #183A7A;
}

.contact-info ul li a,
.contact-info ul li p,
.contact-info ul li span {
    margin: 0;
    line-height: 1.4;
    display: inline-block;
}

/* Responsive */
@media (max-width: 768px) {
    .contact-form .cols-2>* {
        flex: 1 1 100%;
    }

    .contact-form-wrapper {
        padding: 30px 20px;
    }

    .contact-section {
        padding: 100px 20px;
    }
}

/****** FORM ******/
/****** elements: form ******/
input[type=email], input[type=number], input[type=password], input[type=reset], input[type=search], input[type=tel], input[type=text], input[type=url], select, textarea {
    display: block;
    width: 100%;
    padding: 1.1em 1.22em 0.9em;
    border: 1px solid #e0dede;
    border-radius: 0;
    box-shadow: none;
    box-sizing: border-box;
    font-size: 0.875em;
    line-height: 1.5;
    color: #999;
    -webkit-appearance: none;
    -moz-appearance: none;
    min-width: 20px;
}
.form-select .error {
    font-size: 14px;
    color: #c3173c;
}
.form-select .correct {
    font-size: 14px;
    color: #8ca123
}
.form-group.error input,
.form-group.error select,
.form-group.error textarea {
    border-color: #c3173c !important;
}
.form-group.error .error {
    color: #c3173c !important;
    text-align: left;
    font-size: 16px;
}

/* FOOTER */
.site-footer {
    background-color: #2a4573;
    color: #fff;
    font-family: "Lato", sans-serif;
    padding: 40px 20px 20px;
    font-size: 14px;
}

.footer-container {
    max-width: 1440px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 40px;
}

/*.footer-col {
    width: 25%;
    padding: 0 15px;
    box-sizing: border-box;
    margin-bottom: 30px;
}*/

.footer-column.with-2-subcolumns{
    display: flex;
    gap: 100px;
}

.site-footer a {
    color: inherit;
}
.footer-col p{
    margin-top:0px;
    margin-right: 10px;
}

.footer-logo {
    width: 240px;
    margin-bottom: 0px;
}
.footer-social{
    padding-left: 50px;
}

.footer-subcolumn-item {
    display: flex;
    align-items: baseline;
    gap: 10px;
}
.footer-subcolumn-item i {
    font-size: 16px;
    line-height: 1;
    margin-top: 0;
    margin-bottom: 0;
    flex-shrink: 0;
    color: #ffffff;
}

.footer-subcolumn-item a,
.footer-subcolumn-item p,
.footer-subcolumn-item span {
    margin: 0;
    line-height: 1.4;
    display: inline-block;
}

.footer-subcolumn-item a {    
    margin-bottom: 10px;
    font-size: 16px;
    color: #ffffff;
    text-decoration: none;
}

.footer-subcolumn-item a:not(.footer-subcolumn-item-icon-text,.footer-subcolumn-item-icon-address) {
    display: block;
    float: left;
}

.footer-subcolumn-item a.footer-subcolumn-item-icon-address{
    font-size: 15px;
}

.footer-subcolumn-item a:hover {
    opacity: 0.8;
}

[class^="footer-subcolumn-item-icon-"]{
    position: relative;
    padding-left: 24px;
}

[class^="footer-subcolumn-item-icon-"] i{
    position: absolute;
    left:0px;
    top:2px;
}

.footer-social a {
    color: #ffffff;
    margin-right: 16px;
    transition: color 0.3s;
    display: inline !important;
    float: none !important;
}

.footer-social a i{
    font-size: 24px;
}

.footer-social a:hover {
    color: #ffffff;
}

.footer-bottom-boxed {
    max-width: 1440px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    text-align: center;
    color: #ffffff;
    font-size: 16px;
    border-top: 1px solid #ffffff;
}
.footer-bottom-content{
    max-width: 768px;
    margin: 0 auto;
    padding: 10px 20px 0 20px;
}
.footer-bottom-boxed .footer-bottom-content div{
    float:left;
    margin-right:14px;
    font-size:15px;
    margin-top:8px;
}
.footer-bottom-boxed a {
    color: #ffffff;
}

.iub__us-widget {
    display: none !important;
}

@media (max-width: 992px) {
    .footer-social {
        display: block;
        padding-left: 0;
    }
}

@media (max-width: 650px) {
    .footer-logo{
        width: 80%;        
        margin:0 10%;
    }
    .footer-bottom-boxed .footer-bottom-content div:first-child{
        float:none;
    }
    .footer-container{
        justify-content: unset;
        gap: unset;
        padding-top: 20px;
    }
    
    .footer-column.with-2-subcolumns{
        display: block;
        width: 100%;
    }
    
    .footer-column.with-2-subcolumns .footer-subcolumn{
        width: 45%;
        margin:0px 2.5%;
        float: left;
        display: block;
    }
    
    .footer-column{
        margin-bottom: 30px;
    }
    
    .footer-column:not(.with-2-subcolumns){
        width: 100%;        
    }
    .footer-column:not(.with-2-subcolumns) .footer-subcolumn{
        text-align: center;
    }
    .footer-column:not(.with-2-subcolumns) .footer-subcolumn .footer-subcolumn-item{
        display: block;
    }
    .footer-social a{
        margin:0 8px;
    }    
}

@media (max-width: 576px) {
    .footer-col-big img{
        width: 70%;
    }
    .footer-col.footer-col-big {
        width: 100%;
        text-align: center;
    }

    .footer-col ul,
    .footer-col-right p,
    .footer-col-right a,
    .footer-social {
        /*justify-content: center;*/
        /*text-align: center;*/
    }

    .footer-social {
        display: block;
        padding-left: 0;
    }
    
    footer-social p{
        margin-bottom:0px;
    }

    .footer-col-item {
        display: block;
    }
}

@media (max-width: 485px) {
    .footer-bottom{
        padding-left:0px;
        padding-right: 0px;
        padding-top: 0px;
    }
    .footer-top{
        padding:0px;
    }
    .footer-col{
        margin-bottom:20px;
    }
    .footer-col *{
        font-size: 15px;
    }
    .footer-bottom-boxed .footer-bottom-content div{
        font-size:14px;
        margin-left:0px;
        margin-right:0px;
        padding:0 6px;
    }
}

/*footer {
    
}

.footer-top {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    padding-bottom: 20px;
}

.footer-logo img {
    max-width: 200px;
}

.footer-links {
    display: flex;
    gap: 40px;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #fff;
    text-decoration: none;
}

.footer-contact {
    display: flex;
    gap: 40px;
}

.footer-contact ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    margin-bottom: 10px;
}

.footer-contact ul i {
    margin-right: 8px;
}

.footer-social p {
    margin: 10px 0 6px;
}

footer .social-icons a {
    display: inline-block;
    text-decoration: none;
    background-color: white;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    text-align: center;
    transition: opacity 0.2s;
    margin-right: 10px;
}

footer .social-icons a i {
    color: var(--primary-color);
    font-size: 14px;
    line-height: 24px;
}

footer .social-icons a:hover {
    background-color: #d1a100;
    color: #fff;
}

.footer-bottom {
    text-align: center;
    padding-top: 15px;
    font-size: 13px;
    color: #ddd;
}

.footer-bottom a{
    color: #d6a533;
}

@media (max-width: 768px) {    
    footer {
        padding: 20px 10px;
    }
    .footer-logo img{
        max-width:100%;
    }
    .footer-top {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .footer-contact {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }
    
    .footer-contact {
        text-align: center;
    }
    
    footer .social-icons a{
        margin-right:0px;
        margin:4px 6px;
    }
        
    .footer-bottom p{
        margin:6px 0px;
    }
}*/

