:root{
    --blue: #1b3765;
    --light-blue: #aab5cd;
    --bright-blue: #0050f5;
    --red: #e50746;
    --light-red: #FFE7E7;
    --border-radius-site: 3px;
    --black: #1d1d1d;
    --heavenly: #e1e8f3;
    --light-heavenly: #f6faff;
    --light-grey: #E6E6EB;
    --lighter-grey: #f5f5f7;
    --bg-footer: #d9e5fe;
    --green-success: #1ab394;
    --red-failed: #E50746;
    --blue-grey: #f0f3f7;
    --green-wa: #25d366;
    --green-wa-light: #e1f7f3;
}

body{
    font-family: "Inter", sans-serif;
    color: var(--blue);
}

img{
    max-width: 100%;
}

.alert > a{
    position: absolute;
    right: 10px;
    top: 5px;
    color: var(--blue);
}

/*HEADER*/
.logo-col{
    flex: 0 0 13%;
    width: auto;
}
.nav-list{
    flex: 0 0 auto;
    width: auto;    
}
.user-action-content{
    flex: 0 0 17%;
    width: auto;        
}
.user-action-content.user-logged{
    flex: 0 0 14%;
    
}
.user-action-content ul{
    border-radius: var(--border-radius-site);
    font-weight: 502;
    background-color: var(--blue);
    width: 240px;
}
.user-action-content ul.area-agenti{
    width: 175px;
}
.user-action-content a{
    color: #fff;
}
header {
    background: linear-gradient(90deg, #e1e8f3 0%, #c3dee5 100%);
}
body.home header {
    background: linear-gradient(90deg, #fff 0%, #fff 100%);
}
header .nav-link{
    color: var(--black);
    font-weight:bold;
}
header a.nav-link:hover{
    color: var(--red);
}

@media screen and (max-width: 1600px){
    header .nav-link{
        font-size: 14px;
    }
}
@media screen and (max-width: 1200px){
    .user-action-content,
    .logo-col{
        flex: 0 0 33.33%;
        width: auto;
    }
    .logo-col{
        margin-left: auto;
    }
    .user-action-content ul{
        
    }
    .user-action-content ul li a{
        
    }
    .ps-mobile-0{
        padding-left: 0;
    }
    .pe-mobile-0{
        padding-right: 0;
    }
    .user-action-content{
        flex: 0 0 100%;
    }
}


/* FOOTER */
footer {
    color: var(--blue);
    background-color: var(--bg-footer);
    background-size: cover;
    background-repeat: no-repeat;
    z-index: 2;
    position: relative;
}
footer a{    
    color: var(--blue);
}

@media screen and (max-width: 768px){
    footer .logo img{
        width: 200px;
    }
    footer .socials{
        margin-bottom: 20px;
    }
    .user-action-content ul{
        flex: 0 0 calc(50% - 5px);        
        text-align: center;
    }
    .user-action-content ul li{
        text-align: center;
    }
}
@media screen and (max-width: 400px){
    .user-action-content{
        flex-wrap: wrap;
    }    
    .user-action-content ul li{
        text-align: center;
        width: 100%;
        flex: 0 0 100%;
    }
    .user-action-content ul.area-agenti li{
        flex: 0 0 100%;
        width: 100%;        
    }
}

.color-blue{
    color: var(--blue);
}
.bg-blue{
    background-color: var(--blue);
}
.bg-blue-grey{
    background-color: var(--blue-grey);    
}
.bg-footer{
    background-color: var(--bg-footer);
}
.color-black{
    -color: var(--black);
}
.bg-black{
    background-color: var(--black);
}
.bg-green-wa{
    background-color: var(--green-wa);
}
.bg-green-wa-light{
    background-color: var(--green-wa-light);
}
.color-green-wa{
    color: var(--green-wa);
}
.color-green-wa-light{
    color: var(--green-wa-light);
}
.bg-light-blue{
    background-color: var(--light-blue);
}
.color-light-blue{
    color: var(--light-blue);
}
.bg-bright-blue{
    background-color: var(--bright-blue);
}
.bg-hover-bright-blue:hover{
    background-color: var(--bright-blue)!important;
}
.bg-hover-black:hover{
    background-color: var(--black)!important;
}
.color-bright-blue{
    color: var(--bright-blue);
}
.bg-heavenly{
    background-color: var(--heavenly);
}
.bg-light-heavenly{
    background-color: var(--light-heavenly);
}
.color-heavenly{
    color: var(--heavenly);
}
.bg-red{
    background-color: var(--red)!important;
}
.bg-hover-red:hover{
    background-color: var(--red)!important;
}
.border-red{
    border-color: var(--red);
}
.bg-light-red{
    background-color: var(--light-red);
}
.bg-light-grey{
    background-color: var(--light-grey);
}
.bg-lighter-grey{
    background-color: var(--lighter-grey);
}
.color-red{
    color: var(--red);
}
.color-red-failed{
    color: var(--red-failed);
}
.color-white{
    color: #fff;
}
.border-r-site{
    border-radius: var(--border-radius-site);
}
.border-r-30{
    border-radius: 30px;
}
ul {
    list-style-type: none;
}
a {
    text-decoration: none;
}
.border-blue{
    border-color: var(--blue)!important;
}
@media screen and (min-width: 992px){
    .border-left-blue{
        border-left:1px solid var(--blue)!important;
    }
}
.border-bright-blue{
    border-color: var(--bright-blue)!important;
}
.border-heavenly{
    border-color: var(--heavenly)!important;
}
.border-1{
    border: 1px solid;
}
.border-bottom-1{
    border-bottom: 1px solid var(--blue);
}
.border-bottom-2{
    border-bottom: 2px solid var(--blue);
}
.f-space-grotesk{
    font-family: "Space Grotesk", sans-serif;
}
.text-truncate {
    max-width: 100%;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-wrap-mode: nowrap;
    max-height: 80px;
    text-wrap: unset;
}
.fs-smaller{
    font-size: 0.85rem;
}
.truncate1 {
    -webkit-line-clamp: 1;
}
.truncate2 {
    -webkit-line-clamp: 2;
}
.truncate3 {
    -webkit-line-clamp: 3;
}
.truncate4 {
    -webkit-line-clamp: 4;
}
.truncate5 {
    -webkit-line-clamp: 5;
}
.credits{
    border-top: 1px solid var(--blue);
}
.lg-list{
    position: relative;
}
.fs-7{
    font-size: 0.85rem;
}
.fs-8{
    font-size: 0.70rem;
}

.link-white a{
    color: #fff;
    font-style: italic;
}

.btn.bg-blue:hover,
.btn.bg-bright-blue:hover{
    background-color: var(--red);
    color: #fff;
}
.lg-list:before{
    content: '';
    width: 1px;
    height: 100%;
    position: absolute;
    top: 0;
    left: 5rem;
    display: block;
    background-color: var(--blue);
}

.btn-mine{
    --bs-btn-padding-x: 0.75rem;
    --bs-btn-padding-y: 0.375rem;
    --bs-btn-font-family: ;
    --bs-btn-font-size: 1rem;
    --bs-btn-font-weight: 400;
    --bs-btn-line-height: 1.5;
    --bs-btn-color: var(--bs-body-color);
    --bs-btn-bg: transparent;
    --bs-btn-border-width: var(--bs-border-width);
    --bs-btn-border-color: transparent;
    --bs-btn-border-radius: var(--bs-border-radius);
    --bs-btn-hover-border-color: transparent;
    --bs-btn-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15),0 1px 1px rgba(0, 0, 0, 0.075);
    --bs-btn-disabled-opacity: 0.65;
    --bs-btn-focus-box-shadow: 0 0 0 0.25rem rgba(var(--bs-btn-focus-shadow-rgb), .5);
    display: inline-block;
    padding: var(--bs-btn-padding-y) var(--bs-btn-padding-x);
    font-family: var(--bs-btn-font-family);
    font-size: var(--bs-btn-font-size);
    font-weight: var(--bs-btn-font-weight);
    line-height: var(--bs-btn-line-height);
    color: var(--bs-btn-color);
    text-align: center;
    text-decoration: none;
    vertical-align: middle;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    border: var(--bs-btn-border-width) solid var(--bs-btn-border-color);   
    transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}

main{
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}



.iframe-maps{
    width: 100%;
    height: 500px;
}

.projects-paginate-number {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  background-color: transparent;
  width: 40px;
  height: 40px;
  font-weight: bold;
  aspect-ratio: square;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.15s linear;
}

.projects-paginate-number:hover {
  background-color: var(--blue);
  color: white;
}

.projects-paginate-active {
  background-color: var(--blue);
  color: white;
}

.projects-paginate-active:hover {
  background-color: var(--blue);
}
.container-iframe > iframe{
    width: 100%;
    height: 600px;
}

/* ASIDE-MENU HEADER */

#menu .spizzico-logo{
    width: 150px;
}
#accordion-aside li{
    
}
#accordion-aside  a {
    color: var(--blue);
    display: block;
    font-size: 16px;
    font-weight: 600;
    padding: 7px 0;
    position: relative;
}

#accordion-aside a:focus .fa-chevron-right{
  transform: rotate(180deg);
  transition: all .3s;
}

#accordion-aside .back{
    color: var(--red) !important;
}

#accordion-aside .fa-chevron-right{
    position: absolute;
    right: .5rem;
    font-size: 12px;
}

#accordion-aside  .fa-chevron-left{
    margin-right: 10px;
    font-size: 12px;
}


#accordion-aside .sotto-categorie a{
    color: var(--blue);
}

#accordion-aside .secondary-link{
    border-top: 1px solid var(--blue);
    border-bottom: 1px solid var(--blue);
}


/* ASIDE-MENU HEADER */

.services-icons img{
    width: 25px
}

.agenzia-item .box-image{
    display: inline-block;
    width: 300px;
    height: 200px;
}
.agenzia-item{
    box-shadow: rgba(0, 0, 0, 0.1) 0px 10px 15px -3px, rgba(0, 0, 0, 0.05) 0px 4px 6px -2px;
    flex: 0 0 calc(50% - 15px)
}
@media screen and (max-width: 768px){
    .agenzia-item{
        flex: 0 0 calc(100% - 30px)
    }    
}
.agenzia-item img{
    width: 100%;
    height: 100%;    
    object-fit: contain;
}
.agenzia-item img.icon{
    width: 25px;
}

.under-construction{
    height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}
.under-construction .logo{
    width: 200px;
    margin-top: 30px
}
.under-construction .logo img{
    display: inline-block;
}
.container-video iframe{
    width: 100%;
    height: 450px;
    max-height: 100%;
}
#map_item{
    height: 400px;
}

#float-message {
    z-index: 1056;
    position: fixed;
    bottom: 50px;
    left: -500px;
    background-color: var(--blue);
    border: none;
    border-radius: 10px;
    color:white;
    -moz-transition: all 500ms;
    -webkit-transition: all 500ms;
    transition: all 500ms;
    opacity:0;
}

#float-message.transition-float-message {
    opacity:1;
    left:50px
}

.search-input-words {
  background-image: url(../../../../assets/images/magnifying-glass.svg);
  background-position: 10px center;
  background-repeat: no-repeat;
  background-size: 22px;
}
.search-code-agencies{
    position: absolute;
    right: 1px;
    top: 1px;
    height: calc(100% - 2px);
    background-color: var(--bs-border-color);
    border-top-right-radius: var(--border-radius-site);
    border-bottom-right-radius: var(--border-radius-site);
}

.show-password{
    position: absolute;
    right: 15px;
    top: 8px;
    color: var(--bs-heading-color);
}

.width-10{flex: 0 0 10%}
.width-20{flex: 0 0 20%}
.width-30{flex: 0 0 30%}
.width-40{flex: 0 0 40%}
.width-50{flex: 0 0 50%}
.width-60{flex: 0 0 60%}
.width-70{flex: 0 0 70%}
.width-80{flex: 0 0 80%}
.width-90{flex: 0 0 90%}
.width-100{flex: 0 0 100%}

@media(max-width: 767px){
  .only-mobile{
      display: block!Important;
  }
  .no-mobile{
      display: none!important
  }
  #success p, #noSize p, .popup-notify p, #failed p,.popup-notify p.error-form{
      left: 5%;
      width: 90%;
      margin:-50px 0 0
  }
  
    .width-mobile-10{flex: 0 0 10%}
    .width-mobile-20{flex: 0 0 20%}
    .width-mobile-30{flex: 0 0 30%}
    .width-mobile-40{flex: 0 0 40%}
    .width-mobile-50{flex: 0 0 50%}
    .width-mobile-60{flex: 0 0 60%}
    .width-mobile-70{flex: 0 0 70%}
    .width-mobile-80{flex: 0 0 80%}
    .width-mobile-90{flex: 0 0 90%}
    .width-mobile-100{flex: 0 0 100%}
    
}