.font-size-base {
    font-size: calc(15px + 2 * ( (100vw - 420px) / 604));
}

@media screen and (min-width: 420px) {
    .font-size-base {
        font-size: 15px;
    }
    
}

@media screen and (min-width: 1024px) {
    .font-size-base {
        font-size: 17px;
    }
}

.margin-right-left-default-s {
    padding-right: 3rem;
    padding-left: 3rem;
}

.link-default a {
    color: #787878;
}

.link-default a:hover {
    color: #005195;
    text-decoration: none;
}

.magnets-bkg {
    background: #FF7E4A;
}

.columbus-bkg {
    background: #A5DB6C;
}

.paramed-bkg {
    background: #50B5E3;
}

.asg-blue-bkg {
    background: #005195;
}

.news-single-bkg {
    background: #005195;
}


.carousel-indicators li {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

#carouselExampleCaptions .inner {
    width: 23rem;
    padding: 1rem;
}

@media (max-width: 768px) {
    #carouselExampleCaptions .inner {
        width: 18rem;
    }
	.fixed-top {
    position: inherit !important;
	}
}

#carouselExampleCaptions .inner h1 {
    color: #FFFFFF;
    font-size: calc(27px + 11 * ( (100vw - 420px) / 604));
}

@media screen and (min-width: 420px) {
    #carouselExampleCaptions .inner h1 {
        font-size: 27px;
    }
}

@media screen and (min-width: 1024px) {
    #carouselExampleCaptions .inner h1 {
        font-size: 38px;
    }
}

#carouselExampleCaptions .inner>div.text-slideshow {
    background: rgba(0, 81, 149, 0.7);
    color: #FFFFFF;
    font-size: calc(14px + 2 * ( (100vw - 420px) / 604));
    padding: 1rem;
}

@media screen and (min-width: 420px) {
    #carouselExampleCaptions .inner>div.text-slideshow {
        font-size: 14px;
    }
}

@media screen and (min-width: 1024px) {
    #carouselExampleCaptions .inner>div.text-slideshow {
        font-size: 16px;
    }
}

#carouselExampleCaptions .cta-slideshow {
    background: #FF7E4A;
    padding: 0.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#carouselExampleCaptions .cta-slideshow a.btn.btn-orange {
    color: #FFFFFF;
    text-transform: uppercase;
    font-weight: bold;
    font-size: calc(16px + 4 * ( (100vw - 420px) / 604));
}

@media screen and (min-width: 420px) {
    #carouselExampleCaptions .cta-slideshow a.btn.btn-orange {
        font-size: 16px;
    }
}

@media screen and (min-width: 1024px) {
    #carouselExampleCaptions .cta-slideshow a.btn.btn-orange {
        font-size: 20px;
    }
}

#container-visual-video {
    position: relative;
    width: 100%;
    /* You can set this width to whatever suits your needs */
    height: 617px;
    margin-left: 20%;
    margin-right: 20%;
}

#container-visual-video video {
    position: absolute;
    top: 0;
    left: 0;
    height: 617px;
}

.item-grid {
    background: #FFFFFF;
}

.item-grid .cta-readmore {
    display: flex;
    justify-content: space-between;
    /* padding: 0.5rem; */
}

.item-grid .title {
    font-weight: 700;
    font-size: 25px;
}
/*
@media screen and (min-width: 420px) {
    .item-grid .title {
        font-size: 23px;
    }
}

@media screen and (min-width: 1024px) {
    .item-grid .title {
        font-size: 33px;
    }
}
*/
.item-grid .subtitle,.item-grid .category,.item-grid .data {
    font-size: 16px;
    font-weight: 300;
    margin-bottom: 0px;
}

.cta-readmore a{
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 700;
    /*font-size: 25px;*/
}

.h-news-container .col-sm-4{
    padding-bottom:2em;
}
/*
@media screen and (min-width: 420px) {
    .item-grid .subtitle {
        font-size: 20px;
    }
}

@media screen and (min-width: 1024px) {
    .item-grid .subtitle {
        font-size: 28px;
    }
}
*/
.item-grid a {
    color: #404040;
}

.item-grid a:hover {
    color: #005195;
    text-decoration: none;
}

.item-grid .header a {
    color: #FFFFFF;
}

.item-grid .body {
    padding: 2rem;
}

.item-grid .body a {
    color: #404040;
}

.item-grid .footer {
    padding: 1rem 2rem;
}

.item-grid .image {
    width: 100%;
    height: 18rem;
}

.item-grid .info-on-image {
    height: 100%;
    display: flex;
    align-items: flex-end;
    padding: 1rem 2rem;
    color: #FFFFFF;
}

.item-grid .info-on-image h6 {
    margin-bottom: 0;
}

.gallery-home-accordion {
    height: 700px;
    background-color: #ddd;
    position: relative;
    overflow: hidden;
}

.gallery-home-accordion>div {
    height: 100%;
    width: 62%;
    position: absolute;
    transition: all 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    /* Ease-Out Quad */
    cursor: pointer;
    box-shadow: 0 0 20px #333;
}

.text-year-history {
    position: absolute;
    bottom: 45px;
    left: 0;
    min-width: 60%;
    max-width: 80%;
    background: rgba(0, 0, 0, 0.7);
    color: #FFF;
    padding: 0rem 2rem;
}

.text-year-history  p{
    margin: 10px 0;
}


.gallery-home-accordion>div>div.year-history {
    position: absolute;
    top: 2rem;
    left: 0;
    min-width: 13%;
    background: rgba(0, 0, 0, 0.7);
    color: #FFF;
    padding: 1rem 2rem;
    font-size: 50px;
}

@media (min-width: 1921px) {
    #accordion-orizzontale-container {
        width: 1920px;
        left: 25%;
        right: 25%;
    }
}

.cta-blue,
.cta-yellow,
.cta-grey {
    padding: 1rem 2rem;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
}

.cta-blue .row,
.cta-yellow .row,
.cta-grey .row {
    align-items: center;
}

.cta-blue p,
.cta-yellow p,
.cta-grey .p {
    margin-bottom: 0;
}

.cta-blue a:hover,
.cta-yellow a:hover,
.cta-grey a:hover {
    text-decoration: none;
}

@media (max-width: 992px) {
    .cta-blue,
    .cta-yellow,
	.cta-grey {
        padding: 1rem 3rem;
    }
}

.cta-blue {
    background: #005195;
    color: #FFFFFF;
}

.cta-grey {
    background: #495057;
    color: #FFFFFF;
}

.cta-yellow {
    background: #F9CA3C;
    color: #005195;
}

.cta-yellow a {
    color: #005195;
}

.cta-blue a,
.cta-grey {
    color:#fff;
}

.cta-button-text {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.2rem;
}

.cta-text {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 0;
    text-align: center;
    width: 100%;
}
/*
@media screen and (min-width: 420px) {
    .cta-text {
        font-size: 13px;
    }
}

@media screen and (min-width: 1024px) {
    .cta-text {
        font-size: 27px;
    }
}
*/
.cta-link {
    font-size: calc(11px + 14 * ( (100vw - 420px) / 604));
}

@media screen and (min-width: 420px) {
    .cta-link {
        font-size: 11px;
    }
}

@media screen and (min-width: 1024px) {
    .cta-link {
        font-size: 24px;
    }
}

.cta-link a {
    text-decoration: none;
    vertical-align: middle;
}

.cani {
    font-size: calc(11px + 5 * ( (100vw - 420px) / 604));
}

@media screen and (min-width: 420px) {
    .cani {
        font-size: 11px;
    }
}

@media screen and (min-width: 1024px) {
    .cani {
        font-size: 16px;
    }
}

#units-circle-all .container-units-circles {
    padding: 2rem 6rem 6rem 6rem;
}

@media (max-width: 992px) {
    #units-circle-all .container-units-circles {
        padding: 1rem;
    }
}

#units-circle-all .container-units-circles h3 {
    font-size: calc(18px + 3 * ( (100vw - 420px) / 604));
    text-transform: uppercase;
    font-weight: 900;
}

@media screen and (min-width: 420px) {
    #units-circle-all .container-units-circles h3 {
        font-size: 18px;
    }
}

@media screen and (min-width: 1024px) {
    #units-circle-all .container-units-circles h3 {
        font-size: 21px;
    }
}

#units-circle-all .container-units-circles .single-unit {
    display: flex;
    flex-direction: column;
}

@media (max-width: 768px) {
    #units-circle-all .container-units-circles .single-unit {
        margin-bottom: 3rem;
    }
}

#units-circle-all .container-units-circles .single-unit h3 {
    padding-top: 2rem;
}

#units-circle-all .container-units-circles .single-unit img {
    transition: border 0.5s;
}

#units-circle-all .container-units-circles .single-unit img.magnets:hover {
    border: 10px solid #FF7E4A;
}

#units-circle-all .container-units-circles .single-unit img.columbus:hover {
    border: 10px solid #A5DB6C;
}

#units-circle-all .container-units-circles .single-unit img.paramed:hover {
    border: 10px solid #50B5E3;
}

#units-circle-all .container-units-circles .single-unit a:hover {
    text-decoration: none;
}

#units-circle-all .cta-mappa-unit {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

.cta-mappa-unit {
    cursor: pointer;
}

#units-circle-all .cta-mappa-unit img {
    width: 1.5rem;
}

#units-circle-all .container-img-hover {
    position: relative;
}

#units-circle-all .middle {
    transition: 0.5s ease;
    opacity: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    text-align: center;
}

#units-circle-all .container-img-hover:hover .middle {
    opacity: 1;
}

#gallery-accordion-tab #accordion-orizzontale {
    margin: 0;
    padding: 0;
}

#gallery-accordion-tab .carousel-indicators li {
    background-color: #005195;
    opacity: 0.3;
}
#gallery-accordion-tab .carousel-indicators li.active{
    opacity: 1;
}
#gallery-accordion-tab .carousel-control-next-icon, #gallery-accordion-tab .carousel-control-prev-icon{
    display: none;
}

#colonna-detail-marker h3 {
    font-size: calc(15px + 15 * ( (100vw - 420px) / 604));
    font-weight: bold;
}

@media screen and (min-width: 420px) {
    #colonna-detail-marker h3 {
        font-size: 15px;
    }
}

@media screen and (min-width: 1024px) {
    #colonna-detail-marker h3 {
        font-size: 30px;
    }
}

iframe {
    overflow: hidden;
}

.home-map {
    height: 500px;
    width: 100%;
}

/*@media screen and (max-width: 1010px) {*/
@media screen and (max-width: 600px) {
    .home-map {
        height: 970px;
    }
}

@media screen and (max-width: 900px) {
    .h-news-container .col-sm-4 {
        flex: none;
        max-width: none;
    }
}

#units-circle-all .container-units-circles .single-unit .text-grigio{
    font-size: 25px;
}
#units-circle-all .container-units-circles .single-unit .cani{
    font-size: 16px;
    font-weight: 300;
    margin-bottom: 0px;
}

.single-unit hr{
    margin: 25px auto;
}

.cta-mappa-unit .text-grigio{
    font-size: 19px;
}

.arrow-home{
    vertical-align: text-top;
    border-style: none;
    margin-left: 5px;
    margin-top: 3px;
}

.ol-zoom {
    top: .5em;
    left: .5em;
}
.ol-control {
    position: absolute;
    background-color: rgba(255,255,255,0.4);
    border-radius: 4px;
    padding: 2px;
}
.ol-zoom .ol-zoom-in {
    border-radius: 2px 2px 0 0;
}
.ol-control button, .ol-attribution, .ol-scale-line-inner {
    font-family: 'Lucida Grande',Verdana,Geneva,Lucida,Arial,Helvetica,sans-serif;
}
.ol-control button {
    display: block;
    margin: 1px;
    padding: 0;
    color: white;
    font-size: 1.14em;
    font-weight: bold;
    text-decoration: none;
    text-align: center;
    height: 1.375em;
    width: 1.375em;
    line-height: .4em;
    background-color: rgba(0,60,136,0.5);
    border: none;
    border-radius: 2px;
}

.gallery-new .carousel-item{
    /*display: flex;*/
}


.gallery-new .sx{
    padding: 0px;
    background-color: #f1f1f1;
}
    
.gallery-new .sx img{
    width: 100%!important;
    /*float: left;
    width: 66.6%;*/
    padding: 0px;
}

@media screen and (min-width: 1000px) and (max-width: 1200px) {
    .gallery-new .sx img{
        margin: 125px 0!important;
    }
}
  
    

.gallery-new .dx{
    background: #f1f1f1;
    padding: 0px;
}
.gallery-new .dx div{
    padding: 50px 50px 0px;
}

.gallery-new .dx p{
    font-size: 16px;
    margin: 15px 0;
}

@media screen and (max-width: 1000px) {
    .gallery-new .dx p{
        min-height: 200px;
    }
}


.discover-more{
    bottom: 0;
    background-color: #005195;
    width: 100%;
    padding: 20px;
    color: white;
    display: inline-block;
}
#gallery-accordion-tab .carousel-indicators{
    top: 10px
} 

.m-banner-left h3{
    font-family: 'Roboto Condensed', sans-serif;
}


.top-single-img{
    background: url(/images/homepage/top/single/home.jpg) no-repeat;
    background-size: cover;
}


.carousel-item-top {
    height: 100vh;
    min-height: 350px;
    background: no-repeat center center scroll;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
  }

 /*
 * 
 Per HP Carosello
 */

.mySlides {display: none}
img {vertical-align: middle;}

/* Slideshow container */
.slideshow-container {
  max-width: 1000px;
  position: relative;
  margin: auto;
}

/* Next & previous buttons */
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 16px;
  margin-top: -22px;
  color: white;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
  background-color: #005195;
  color: white !important;	
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover, .next:hover {
  background-color: rgba(0,0,0,0.8);
}

/* Caption text */
.text {
  color: #f2f2f2;
  font-size: 15px;
  padding: 8px 12px;
  position: absolute;
  bottom: 8px;
  width: 100%;
  text-align: center;
}

/* Number text (1/3 etc) */
.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

/* The dots/bullets/indicators */
.dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

active-carousel, .dot:hover {
  background-color: #717171;
}

/* Fading animation */
.fade {
  animation-name: fade;
  animation-duration: 1.5s;
}

@keyframes fade {
  from {opacity: 1} 
  to {opacity: 1}
}

/* On smaller screens, decrease text size */
@media only screen and (max-width: 300px) {
  .prev, .next,.text {font-size: 11px}
}

@media (min-width: 1281px) {
  
  /* CSS */
	.prev, .next {
  margin-right: -100px;
  margin-left: -100px;
}
  
}

/* 
  ##Device = Laptops, Desktops
  ##Screen = B/w 1025px to 1280px
*/

@media screen (min-width: 1025px) and (max-width: 1280px) {
  
  /* CSS */
	.prev, .next {
  margin-right: -100px;
  margin-left: -100px;
}
}

/* 
  ##Device = Tablets, Ipads (portrait)
  ##Screen = B/w 768px to 1024px
*/

@media screen (min-width: 768px) and (max-width: 1024px) {
  
  /* CSS */
	.prev, .next {
  margin-right: 0px;
  margin-left: 0px;
}
}

/* 
  ##Device = Tablets, Ipads (landscape)
  ##Screen = B/w 768px to 1024px
*/

@media screen (min-width: 768px) and (max-width: 1024px) and (orientation: landscape) {
  
  /* CSS */
	.prev, .next {
  margin-right: 0px;
  margin-left: 0px;
}
}


  
  /*
 *  
 FINE Per HP Carosello
 */
