/*
Theme Name: Avada Child
Description: Child theme for Avada theme
Author: ThemeFusion
Author URI: https://theme-fusion.com
Template: Avada
Version: 1.0.0
Text Domain:  Avada
*/
/*classi per correggere impostazioni tema */
::-moz-selection {
    /* Code for Firefox */
    color: white;
    background: #00293cc9;
}

::selection {
    color: white;
    background: #00293cc9;
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-thumb {
    background: #0199df;
    border-radius: 50px;
}

::-webkit-scrollbar-track {
    background: #e6e8ea;
}

.fusion-modal .modal-dialog::-webkit-scrollbar {
    width: 10px!important;
}

.fusion-modal .modal-dialog::-webkit-scrollbar-thumb {
    background: #004d70;
    border-radius: 20px;
    border: 2px solid #fff;
}

.fusion-modal .modal-dialog::-webkit-scrollbar-track {
    background: #ffffff;
    border-radius: 20px;
}
img {image-rendering: -webkit-optimize-contrast!important;}

/*font*/
.italic {font-style:italic!important;}
.maiuscolo, .uppercase {text-transform:uppercase!important;}
.minuscolo, .lowercase {text-transform:lowercase!important;}
.iniziali-maiuscole {text-transform:capitalize!important;}

.light {font-weight: 300;}
.regular {font-weight: 400!important;}
.medium {font-weight: 500!important;}
.semibold {font-weight: 600!important;}
b, strong, .bold, .grassetto {font-weight: 700!important;}
.underline{
  text-decoration-line:underline;
  text-decoration-style: solid;
  text-decoration-thickness:2px;
}

a {color:var(--lightblue);transition:.3s;}
a:hover {color:var(--blunavy);transition:.3s;}

h1,h2,h3 {letter-spacing: 0.3px;}

.p-small { font-size:14px; line-height:1.2;}
.p-big { font-size: 19px;line-height:1.2;}
/*Fine font*/


.full-height {height:100vh;}
.full-width {max-width:none!important;}
.riga-stretta { max-width: 900px; margin: 0 auto!important;}

.w-container, .col-100, .col-85, .col-80, .col-75, .col-70, .col-60, .col-50, .col-40, .col-33, .col-30, .col-25, .col-15 {box-sizing: border-box;}

/*colonne*/
 .w-container{width: 1330px;}
 .col-100,.full-width {width: 100%;}
 .col-85{width: 85%;}
 .col-80{width: 80%;}
 .col-75{width: 75%;}
 .col-70{width: 70%;}
 .col-60{width: 60%;}
 .col-50{width: 50%;}
 .col-40{width: 40%;}
 .col-33{width: 33%;}
 .col-30{width: 30%;}
 .col-25{width: 25%;}
 .col-20{width: 20%;}
 .col-15{width: 15%;}

.row .col-50:nth-child(odd) {padding-right:25px; box-sizing:border-box;}
.row .col-50:nth-child(even) {padding-left:25px; box-sizing:border-box;}

.row .col-25:nth-child(1n) {padding-top: 25px;padding-bottom:25px;}
.row .col-25:nth-child(4n+1) {padding-right:25px;}
.row .col-25:nth-child(4n+4) {padding-left:25px;}
.row .col-25:nth-child(4n+2),
.row .col-25:nth-child(4n+3) {padding-right:25px; padding-left:25px;}
/*Fine colonne*/


/*spazi*/
.padding {padding:var(--padding-box);}

.padding10 {padding:10px;}
.padding10sx {padding-left:10px;}
.padding10dx {padding-right:10px;}
.padding10top {padding-top:10px;}
.padding10bottom{padding-bottom:10px;}

.padding20 {padding:20px;}
.padding20sx {padding-left:20px;}
.padding20dx {padding-right:20px;}
.padding20top {padding-top:20px;}
.padding20bottom{padding-bottom:20px;}

.padding40 {padding:40px;}
.padding40sx {padding-left:40px;}
.padding40dx {padding-right:40px;}
.padding40top {padding-top:40px;}
.padding40bottom{padding-bottom:40px;}

.padding60 {padding:60px;}
.padding60sx {padding-left:60px;}
.padding60dx {padding-right:60px;}
.padding60top {padding-top:60px;}
.padding60bottom{padding-bottom:60px;}

.padding100 {padding:100px;}
.padding100sx {padding-left:100px;}
.padding100dx {padding-right:100px;}
.padding100top {padding-top:100px;}
.padding100bottom{padding-bottom:100px;}

.padding70 {padding:70px;}
.padding70sx {padding-left:70px;}
.padding70dx {padding-right:70px;}
.padding70top {padding-top:70px;}
.padding70bottom{padding-bottom:70px;}
.padding125top {padding-top:125px;}
.padding125bottom {padding-bottom:125px;}

.margin0 {margin:0px;}
.margin0top {margin-top:0px;}
.margin0bottom{margin-bottom:0px;}

.margin10 {margin:10px;}
.margin10sx {margin-left:10px;}
.margin10dx {margin-right:10px !important;}
.margin10top {margin-top:10px;}
.margin10bottom{margin-bottom:10px;}

.margin20 {margin:20px;}
.margin20sx {margin-left:20px;}
.margin20dx {margin-right:20px !important;}
.margin20top {margin-top:20px;}
.margin20bottom{margin-bottom:20px;}

.margin30 {margin:30px;}
.margin30sx {margin-left:30px;}
.margin30dx {margin-right:30px;}
.margin30top {margin-top:30px;}
.margin30bottom{margin-bottom:30px;}

.margin40 {margin:40px;}
.margin40sx {margin-left:40px;}
.margin40dx {margin-right:40px;}
.margin40top {margin-top:40px;}
.margin40bottom{margin-bottom:40px;}

.margin60 {margin:60px;}
.margin60sx {margin-left:60px;}
.margin60dx {margin-right:60px;}
.margin60top {margin-top:60px;}
.margin60bottom{margin-bottom:60px;}

.margin70bottom{margin-bottom:70px;}
.margin70top{margin-top:70px;}
.margin100bottom{margin-bottom:100px;}
.margin100top{margin-top:100px;}
.margin-125top{margin-top:-125px;}

.margin-auto {margin: 0 auto;}
.no-margin {margin: 0px!important;}
.no-padding {padding: 0px!important;}
/*Fine spazi*/

/*classi generiche*/
.display-block {display:block !important;}
.display-inline-block {display:inline-block;}
.clear {clear: both;}
.hidden {display: none!important;}
.float-left {float: left;}
.float-right {float: right;}
.float-none {float: none;}
.inline-block {display: inline-block;vertical-align: top;}
.align-center {text-align:center;}
.align-right {text-align:right;}
.align-left {text-align:left;}
.vertical-top {vertical-align:top;}
.overflow {overflow: visible!important;}
.no-overflow {overflow:hidden!important;}
.verticalaligntop{vertical-align:top;}
.bordo-top {border-top: 1px solid var(--blunavy);}
.bordo-bottom {border-bottom: 1px solid var(--blunavy);}
.tondo {border-radius:100%!important;}

/*flex*/
.flex {display: flex;align-items: center;}
.flex-row {flex-direction: row;}
.flex-column {flex-direction: column;}
.flex-top {display:flex;align-items: top;}
.flex-bottom {display:flex;align-items: bottom;}
.flex-wrap {flex-wrap: wrap;}
.flex-nowrap {flex-wrap: nowrap;}

.box-shadow{box-shadow:var(--shadow);}
.border-radius{ border-radius:var(--radius);}

.overlay {position:relative;}
.overlay * {z-index:10;}
.overlay:before {
    content: '';
    top: 0;
    background: #00000055;
    width: 100%;
    height: 100%;
    display: block;
    position: absolute;
    z-index: 2;
    }
.overlay.blur:before{
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  background: #0000001a;
    }

ul.elenco-due-colonne {
    list-style: none;
    padding: 0;
}
ul.elenco-due-colonne li {
    padding-bottom: 10px;
}
@media only screen and (min-width: 600px) {
    ul.elenco-due-colonne {
        column-count: 2;
        column-gap: 20px;
    }
}
/*Fine generiche*/

@media screen and (max-width:767px){
.wpcf7 .col-100, .form .col-100,
.wpcf7 .col-80, .form .col-80,
.wpcf7 .col-75, .form .col-75,
.wpcf7 .col-70, .form .col-70,
.wpcf7 .col-60, .form .col-60,
.wpcf7 .col-50, .form .col-50,
.wpcf7 .col-40, .form .col-40,
.wpcf7 .col-33, .form .col-33,
.wpcf7 .col-30, .form .col-30,
.wpcf7 .col-25, .form .col-25,
.wpcf7 .col-15, .form .col-15{
	padding-right:0px!important; 
	padding-left:0px!important;
	}
.col-85, .col-80, .col-75, .col-70, .col-60, .col-50, .col-40, .col-33, .col-30, .col-25, .col-15{
    width:100%!important; 
    margin-left:0px; 
    margin-right:0px;
    }
.col-100{
    margin-left:0px; 
    margin-right:0px;
    }
}
/*form*/
.wpcf7 input.wpcf7-form-control.wpcf7-submit:disabled {
    background-color: #ccc!important;
    }
.wpcf7 input.wpcf7-form-control.wpcf7-submit {
    background: #af1917!important;
    color: #fff!important;
    }      
.wpcf7 {width: 100%!important;}
.wpcf7 input,
.wpcf7 select {
    background-color: transparent!important;}
.wpcf7 input[type="checkbox"] {
    display: inline-block!important;
    margin:0 5px 0 0!important;
    padding:0!important;
    }
.wpcf7 span.wpcf7-list-item-label {
    font-weight: 800!important;
}
.wpcf7 textarea {height:150px!important;background: transparent}
 
.wpcf7 input,
.wpcf7 select,
.wpcf7 textarea{
    border-radius:0px!important;
    font-size: 18px!important;
    font-weight:600!important;
    line-height:1.6!important;
    padding: 10px 0px!important;
    transition: .3s!important;
    margin-top:0px!important;
    float:left!important;
    box-shadow: #000 0px 0px!important;
    border-top:none!important;
    border-right:none!important;
    border-left:none!important;
    }
.wpcf7 input,
.wpcf7 select,
.wpcf7 textarea {
    border: 1.5px solid #c8c8c8!important;
    border-radius:5px!important;
    padding: 10px 15px!important;
    background-color:#ffffff0f !important;
    }
.wpcf7 .negativo input,
.wpcf7 .negativo select,
.wpcf7 .negativo textarea {
    border: 1.5px solid #c8c8c8!important;
    border-radius:5px!important;
    padding: 10px 15px!important;   
    background-color:#ffffff0f !important;
    }
.wpcf7 input:focus,
.wpcf7 select:focus,
.wpcf7 textarea:focus{  
    padding: 10px 30px!important;

    }
.wpcf7 input:focus,
.wpcf7 select:focus,
.wpcf7 textarea:focus{  
    background-color:#0000000f !important;
    color:#428f4f !important;
    }
.wpcf7 .negativo input:focus,
.wpcf7 .negativo select:focus,
.wpcf7 .negativo textarea:focus{    
    background-color:#ffffff0f !important;
    color:#fff!important;
    }
.wpcf7 input,
.wpcf7 select,
.wpcf7 textarea{
    color:#000!important;
}
.wpcf7 .negativo input,
.wpcf7 .negativo select,
.wpcf7 .negativo textarea{
    color:#fff!important;
}
.wpcf7 input::placeholder,
.wpcf7 select::placeholder,
.wpcf7 textarea::placeholder{
    color:#c8c8c8!important;
    font-weight:400!important;
}
.wpcf7 .negativo input::placeholder,
.wpcf7 .negativo select::placeholder,
.wpcf7 .negativo textarea::placeholder{
     color: #ffffff61 !important;
     font-weight:400!important;
}
.wpcf7 .negativo select{
    background-image:url(data:image/svg+xml!important;charset=US-ASCII,%3Csvg%20width%3D%2220%22%20height%3D%2220%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M5%206l5%205%205-5%202%201-7%207-7-7%202-1z%22%20fill%3D%22%23999%22%2F%3E%3C%2Fsvg%3E)!important;
}
/*Change text in autofill textbox*/
.wpcf7 input:-webkit-autofill {
    -webkit-text-fill-color: #000!important;
    padding: 10px 30px!important;
}
.wpcf7-not-valid-tip {
    color: #dc3232!important;
    font-size: 0.9em!important;
    line-height:1.6!important;
    position: absolute!important;
}
/*fine Change text in autofill textbox*/
.wpcf7-not-valid {border-color: #dc3232!important;}
.wpcf7 .ajax-loader {
    filter: brightness(500%) contrast(80%)!important;
    width: 15px!important;
    height: 15px!important;
    background-size: cover!important;
    }
/* FORM SPUNTE */
.wpcf7 .info-privacy {margin-top:20px}
.wpcf7 .info-privacy,.info-privacy *{
    font-size:14px!important;
    line-height:1.6!important;
    }
.wpcf7 .info-privacy,
.wpcf7 .info-privacy *{
    color:var(--text-color)!important;
    }
.wpcf7 .negativo .info-privacy,
.wpcf7 .negativo .info-privacy *{
    color:#fff!important;
    }
.wpcf7 .info-privacy span.wpcf7-list-item { margin: 0!important;}
.wpcf7 .info-privacy span.wpcf7-form-control-wrap.accettazione {width: 20px!important;}
.wpcf7 .info-privacy p a{text-decoration:underline!important;}
.wpcf7 small {display: inline!important;}
.wpcf7 .wpcf7-form-control-wrap.marketing { display: inline!important;}
.wpcf7 span.wpcf7-form-control-wrap.radio {width: auto!important;}

option {
    color: #000!important;
}
input::-webkit-calendar-picker-indicator {
    color:transparent!important;
    background: transparent url(data:image/svg+xml!important;charset=US-ASCII,%3Csvg%20width%3D%2220%22%20height%3D%2220%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M5%206l5%205%205-5%202%201-7%207-7-7%202-1z%22%20fill%3D%22%23555%22%2F%3E%3C%2Fsvg%3E) no-repeat right 5px top 55%!important;
}
.wpcf7 form.sent .wpcf7-response-output {
    color: #46b450!important;
    font-weight:bold!important;
    border-width: 0px!important;
    border-style: solid!important;
    border-radius: 5px!important;
    float: left!important;
    width: 100%!important;
    margin: 20px 0px 0px 0px!important;
    }
.wpcf7 form.sent .wpcf7-response-output:before {
    content: "\f058"!important;
    font-family: "Font Awesome 5 Free"!important;
    font-size:2em!important;
    margin:0px 10px 0px 0px!important;
    position:relative!important;
    bottom:-5px!important;
    }
.wpcf7 input.wpcf7-file {width: 100%!important;}

.wpcf7 input[type="radio"] {margin: 5px!important;}

.wpcf7 input.wpcf7-text:disabled {
    opacity:.3;
    background:#c3c3c3!important;
    cursor:no-drop;
    }
.wpcf7 label,
.wpcf7 legend {
    display: block;
    margin-bottom: 5px;
    font-weight: 700;
}
/* FINE FORM SPUNTE */
/*fine form*/

/*----------------owl carousel----------------
#carosello-news*/
.owl-dots * {
    transition: 0.5s all ease-in-out;
}
.owl-dots {
    width:100px;
    height: 40px;
    margin-top:25px;
    align-items: center;
    display: inline-flex;
    text-align: right;
    float: left;
    border-left:2px solid #d2e1ea;
    padding-left:10px;
}
.owl-carousel .owl-dots .owl-dot {
    width: 8px;
    height: 8px;
    margin: 0px 3px;
    background: #0178b1;
    border-radius: 30px;
    box-shadow: none;
    opacity: 0.4;
}
.owl-carousel .owl-dots .owl-dot span {
    display: none;
}
.owl-carousel .owl-dots .owl-dot.active {
    opacity: 1;
    width: 40px;
}
.owl-carousel .owl-item img {
    display:initial!important;
    width: auto!important;
}


.owl-nav {
    width: 80px;
    height: 40px;
    margin-top:25px;
    align-items: center;
    display: inline-flex;
    float: left;
    }
.owl-nav button {
    display: inline-flex;
    margin-right:5px;
    }
    
.owl-nav button span {
    background: #0178b1;
    width: 30px;
    height: 30px;
    display: inline-block;
    color: #fff;
    font-size: 30px;
    line-height: 1;
    border-radius: 100px;
     transition: 0.5s all ease-in-out;
    }
.owl-nav button.disabled span {
    background: rgb(0 36 53 / 0.10);
    color: #ffffff87;
    transition: 0.5s all ease-in-out;
    }

/*owl carousel*/








.fusion-secondary-header,
.gradient-bg{
    background: rgb(1 120 177);
    background: -moz-linear-gradient(200deg, rgb(1 120 177)0%, #0199df 100%);
    background: -webkit-linear-gradient(200deg, rgb(1 120 177)0%, #0199df 100%);
    background: linear-gradient(200deg, rgb(1 120 177)0%, #0199df 100%)!important;

    }

html.high-contrast {
	filter: grayscale(100%)  contrast(150%)  invert(0%) ;
	-webkit-filter: grayscale(100%) contrast(150%)  invert(0%);
	-moz-filter: grayscale(100%) contrast(200%)  invert(0%);
}


/*----card----*/
.card-ambulatorio:hover {
    transform:scale(1.05);
}
.card-ambulatorio,
.card-ambulatorio:hover {
    -webkit-transition: all 0.5s 0s ease;
    -moz-transition: all 0.5s 0s ease;
    -o-transition: all 0.5s 0s ease;
    transition: all 0.5s 0s ease;
}


.card-medico:hover {
    transform:scale(1.03);
}
.card-medico,
.card-medico:hover{  
   -webkit-transition: all 0.5s 0s ease;
    -moz-transition: all 0.5s 0s ease;
    -o-transition: all 0.5s 0s ease;
    transition: all 0.5s 0s ease;
}

.card-medico .estratto-medico {  
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;  
  overflow: hidden;
    }
.card-medico .foto-medico {
    height: 100%!important;
    position: relative;
    display: flex;
    }   
.card-medico .foto-medico img {
    object-fit: cover;
    }
.card-medico .colonna-foto-medico div {
    height: 100%;
    }

/*portfolio*/
div#barra-titolo a {
    color: #fff;
}
.sidebar-portfolio input.fusion-search-submit.searchsubmit {
    background: #0199df!important;
    color: #fff!important;
	border-radius: 5px 0px 0px 5px!important;
}
.sidebar-portfolio .fusion-search-field.search-field input.s {
    padding-left: 60px!important;
}
.sidebar-portfolio .fusion-widget-area h4.widget-title {
    margin-bottom: 10px;
}
.sidebar-portfolio .fusion-content-widget-area .widget {
    margin-bottom:0px; 
 }
.sidebar-portfolio .fusion-widget-area h4.widget-title {
    font-size: 24px;
}
.sidebar-portfolio .aree-sidebar {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
}
.sidebar-portfolio .aree-sidebar p.bottone-aree i {
    font-size:20px!important;
    margin-bottom:10px
    }
.sidebar-portfolio .aree-sidebar p.bottone-aree {
    display: flex!important;
    justify-content: center;
    align-items: center;
    background: #0199df;
    border-radius: 5px;
    width:calc(50% - 5px);
    margin-bottom:10px
}
.sidebar-portfolio .aree-sidebar p.bottone-aree:hover{    
background: #017bb5;
  
}
.sidebar-portfolio .aree-sidebar p.bottone-aree a {
    display: flex!important;
    flex-direction: column;
    text-align: center;
    justify-content: center;
    align-items: center;
    width: 100%;
}



/*medico*/ 
.tabella-medico  * {
    border-right:0px!important; 
    border-left:0px!important;
    }
.tabella-medico tr:nth-child(even) {
    background: transparent!important
    }
.tabella-medico td:nth-child(1) {
    min-width:160px;
    }
.tabella-medico a {
    text-decoration: underline;
    color: #0078b1;
    font-weight: 500;
	}
.tabella-medico a:after {
    content: "\f35d";
    font-family: "Font Awesome 5 Pro";
    font-weight: 900;
    color: #0078b1;
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    line-height: 1;
    padding-left:5px
	}



@media only screen and (max-width: 640px) {
    .tabella-medico td:nth-child(1) {
    min-width:none!important;
    }
    .tabella-medico td {
        display: block;
        box-sizing: border-box;
        width: 100%;
    }

    .tabella-medico td:nth-child(2n+1) {
        border-bottom: 0px!important;
        padding-bottom:0!important;
        padding-top:20px!important;

    }
    .tabella-medico td:nth-child(2n+2) {
        border-top: 0px!important;
        padding-top:0!important;
        padding-bottom:20px!important;

    }
}
@media only screen and (max-width: 640px){
table td {
    white-space: initial!important;
}}

section.related-posts {
    background: #e1eaf3;
    width: calc(100% + 60px);
    max-width: none!important;
    padding: 50px 0!important;
    margin: 0!important;
    left: -30px;
    bottom: -60px;
    position: relative;
}

section.related-posts .fusion-title, section.related-posts .fusion-carousel {
    max-width: 1200px;
    margin: 0 auto;
}

section.related-posts .fusion-image-wrapper .fusion-rollover {
    opacity: 1;
    transform: translateX(0);
    height: auto;
    position: relative!important;
    float: left;
    background: transparent;
    text-align: left;
    justify-content: flex-start;
}

section.related-posts .fusion-image-wrapper.fusion-image-size-fixed img {
    border-radius: 14px;
}

section.related-posts a.fusion-rollover-gallery {
    display: none;
}

section.related-posts .fusion-rollover-sep {
    display: none;
}

section.related-posts .fusion-rollover-content {
    display: flex;
    flex-direction: column-reverse;
    padding: 19px 0;
}

section.related-posts a.fusion-rollover-link {
    background: #0078b1!important;
    margin-top: 15px;
}

section.related-posts a.fusion-rollover-link:before {
    content: "\f067"!important;
    font-family: "Font Awesome 5 Pro";
    font-weight: 100;
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    line-height: 1;
}

section.related-posts h2.title-heading-left {
    font-family: "Heebo";
    font-weight: 800;
    font-size: 30px!important;
}

section.related-posts h4.fusion-rollover-title {
    font-size: 24px!important;
}
#modale-form.fusion-modal .modal-header {
    border:0px;
    padding-bottom: 0;
    padding-top: 30px;
}
#modale-form .modal-body {
    padding-top: 0;
}



/*liste pagina prestazioni e specialisti*/
#lista-cpg .card-ambulatorio .estratto-ambulatorio{  
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;  
  overflow: hidden;
  line-height:1.4
    }

#lista-cpg .card-ambulatorio .card-arrow {
    width:45px;
    height:45px;
    padding:0px!important;
    text-align:center!important;
    display:flex;
    align-items: center;
    justify-content: center;
}
#lista-cpg .card-ambulatorio .card-arrow i {
    padding: 0;
    margin: 0;
}
#lista-cpg .card-ambulatorio .ambulatorio-divisore {
    border-left: 2px solid #9cb1c352;
}


/*responsive medici*/
@media only screen and (max-width: 1024px){
    #lista-cpg.lista-medici ul.fusion-grid {
        margin:0!important;
        justify-content: space-between;
        row-gap:20px;
    }
    #lista-cpg.lista-medici ul.fusion-grid > .fusion-grid-column {
        padding:0!important;
        width: calc(33.33% - 12.5px)!important;
        background: #f5faff;
    }
    #lista-cpg.lista-medici .card-ambulatorio .estratto-ambulatorio {
        display: -webkit-box;
        -webkit-line-clamp:3;
        font-size:15px;
    }
    #lista-cpg.lista-medici .card-ambulatorio .fusion-title h3,
    #lista-cpg.lista-prestazioni .card-ambulatorio .fusion-title h3{
        font-size:19px!important;
    }
    #lista-cpg.lista-medici .card-ambulatorio .card-arrow,
    #lista-cpg.lista-medici .lista-prestazioni .card-arrow {
        width: 30px;
        height: 30px;
    }
}



@media only screen and (max-width: 640px){
    #lista-cpg.lista-medici ul.fusion-grid {
        margin:0!important;
        justify-content: space-between;
        row-gap:15px;
    }
    #lista-cpg.lista-medici ul.fusion-grid > .fusion-grid-column {
        padding:0!important;
        width: calc(50% - 7.5px)!important;
        background: #f5faff;
    }
    #lista-cpg.lista-medici .card-ambulatorio .estratto-ambulatorio {
        display: -webkit-box;
        -webkit-line-clamp: 4;
        font-size:14px;
    }
    #lista-cpg.lista-medici .card-ambulatorio .fusion-title h3,
    #lista-cpg.lista-prestazioni .card-ambulatorio .fusion-title h3{
        font-size:19px!important
    }
    #lista-cpg.lista-medici .card-ambulatorio .card-arrow,
    #lista-cpg.lista-prestazioni .card-ambulatorio .card-arrow {
        width: 30px;
        height: 30px;
    }
    #lista-cpg.lista-prestazioni .card-ambulatorio .card-arrow {
      margin-top:15px;
    }
}


/*ricerca*/
#search{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:center;
  padding:5px 5px;
}

#search label {
    font-family: "Heebo";
    font-weight: 600;
    margin: 0;
    font-size: 22px;
    color: #0178b1;
    line-height: 1.2;
    flex-basis: 140px;
    
}
#search input {
  height:3rem;
  font-size:18px;
  font-family: "Heebo";
  padding-left:20px;
  border-radius:20px 0px 0px 20px; 
  flex-basis:calc(100% - 260px);
  border:1px solid  #3e86b1 !important;
}
#search button#clear {
  height:3rem;
  width:100%;
  font-size:14px;
  font-family: "Heebo";
  font-weight:bold;
  flex-basis:120px;
  border:0px;
  background:#3e86b1;
  border:1px solid  #3e86b1 !important;
  color:#fff;
  border-radius:0px 20px 20px 0px; 
}
#search button#clear:hover{
  background:#0199df;
  border:1px solid  #0199df !important;
}

#search input[type="search" i]::-webkit-search-cancel-button {
    display: none!important;
}

@media only screen and (max-width: 1024px) {
    #search {
        row-gap:25px;
        padding: 0;
        text-align: center;
    }
    #search label {
        flex-basis: 100%;
        row-gap: 10px
    }
    #search input {
        flex-basis: calc(100% - 50px);
        padding: 0px 0px 0px 15px;
        border-right: 0px!important;
        border-width: 2px!important;
    }
    #search button#clear {
        flex-basis: 50px;
        background: transparent;
        border-left: 0px!important;
        border-width: 2px!important;
        color: #222;
    }
    #search button#clear:hover {
        color: #fff;
    }
    #search button#clear span {
        display: none;
    }
}


main#main {
    padding-bottom: 100px;
}


.login-button:not(:last-child) {
    padding-right: 10px!important;
}