@media screen and (max-width: 1199px)
{
    #cosapossiamofare   { height:142px; }
    .pagina             { padding-left:40px; }
    #search input[type='text'],
    .default-form input[type='text'],
    #search a.style-btn                 { width:150px; }
    .searchselect			{ width:170px; }

    #cosapossiamofare h4 {
      font-size:16px;
    }
    #logo {
      height: 98px;
    }
}

@media screen and (max-width: 1024px)
{
  #home-con-video .copertina {
    height:100% !important;
  }
  #home-con-video .copertina.copertinatablet {
    display:block !important;
    opacity:1 !important;
  }
  #home-con-video .copertina.copertinadesktop {
    display:none !important;
  }
  #home-con-video #showcase iframe {
    display:none !important;
  }
  #home-con-video #showcase {
    position:absolute !important;
  }
  #home-con-video #showcase .dida {
    bottom:30px;
  }
}
@media screen and (max-width: 992px)
{
    #home_in_evid .link,
    #home_pazienti .link        { font-size:16px; }
    #submenu                    { bottom:-13px; }
    #search                     { bottom:-20px; }
    .formexec .news_prev {
      height: 180px;
    }
    .moduli-formazioni-executive {
      height: 196px;
      border: none;
      margin-bottom: 10px;
      background-size: 105%;
    }

    .moduli-formazioni-executive:hover {
      background-size: 100%;
    }
    .moduli-formazioni-executive span:nth-child(2) {
      top: 60px;
          padding-right: 18px;
    }

    .moduli-formazioni-executive span:nth-child(3) img {
      position: absolute;
      bottom: 12px;
      transform: translateX(88px);
    }

    .moduli-formazioni-executive span:nth-child(3) h4 {
      opacity: 1;
      transform: translateX(0);
    }

    .rightcol {
      border-top: 1px solid #aaa;
      padding-top: 20px;
      padding-left: 0;
    }


    .pfil {
      padding: 0 0 0 0;
    }
    .leftcol {
      padding-bottom: 40px;
    }
    .pfil:before {
      display: none;
    }
}

@media screen and (max-width: 769px)
{

  #home-con-video #cookie-policy {
    position:relative;
  }
  #home-con-video header {
    min-height:1px !important;
    height: auto !important;
  }

    header                          { height:auto; }
    #mm_cont                        { position:relative;  width:100%; height:auto; top:auto; left:auto; }
    #mm_cont .container             { position:relative; width:100%;}
    #mm                             { position:relative; width:100%; left:auto; top:auto; }
    #mm nav                         { font-size:18px; line-height:32px; width:100%; margin:0; }
    #search                         { position: relative; bottom: auto; width: 100%; background: url(../img/search.png); clear:both; }
    #search.interna                 { padding-top: 20px; }
    #search input[type='text'],
    #search a.style-btn             { width:90%; }
    .searchselect                   { width:94%; }
    .home header                    { height:auto; overflow:auto; }
    #head                           { height:auto; background:#FFF; position:relative; top:auto; left:auto; }
    #nav-top, #nav-bottom,
    #bg_header,
    #submenu
    {
        font-size:14px;
        /*position:relative;*/
        bottom:0;
        right:auto;
		left:30px;
        text-align:left;
        padding:0;
		color:#999;

        -ms-transform: rotate(0deg); /* IE 9 */
        -ms-transform-origin: 100% 100%; /* IE 9 */
        -webkit-transform: rotate(0deg); /* Chrome, Safari, Opera */
        -webkit-transform-origin: 100% 100%; /* Chrome, Safari, Opera */
        transform: rotate(0deg);
        transform-origin: 100% 100%;

    }
    #sistema_sanitario              { margin-bottom:40px; }
	#showcase 						{ margin-top: 0;}
	#nav-top						{ background:#f3f3f3; height:10px; padding:0; }
	#nav-bottom						{ display:none; }
	#mm nav ul li ul 				{ line-height:30px; }
	#submenu a 						{ color:#999; }
	#submenu a.togglemenu {
    	background: none repeat scroll 0 0 #d0ef97;
    	display: inline-block;
    	margin-right: 5px;
    	padding: 7px;
		color:#000;
	}
	#submenu a.togglemenu:hover 	{ color:#2c6a51; }
	#mm_cont						{ display:none; }

	#cosapossiamofare				{ background-position: left top; }
	#home-cosapossiamofare { background:#e9f1f0; color: #2c6a51; padding-bottom:20px;;}
  #home-cosapossiamofare .mail {
      background: url(../img/mail.png) no-repeat left center;
      padding-left: 30px;
      color: #2c6a51;
  }
  #home-cosapossiamofare .telefono {
    background: url(../img/telefono.png) no-repeat left center;
    padding-left: 30px;
    text-decoration: none;
    color: #2c6a51;
 }

 #home-cosapossiamofare a {
    font-size: 16px;
    line-height: 24px;
}

	.pagina             { padding-left:0px; }

	.pagina .pagina_left {width:100%;}

}

@media screen and (max-width: 767px)
{

  .footers .footer1,
  .footers .footer2,
  .footers .footer3,
  .footers .footer4,
  .footers .footer5 {
    height: auto !important;
  }
}

@media screen and (min-width: 767px) and (max-width: 769px)
{
	/* SU IPAD VERTICALE TOLGO COLONNA DI SINISTRA IN PAGINE INTERNE */
	.pagina_wrapper .col-sm-8,
	#search .col-sm-8 {width: 100%;}
	.pagina_wrapper .col-sm-offset-4,
	#search .col-sm-offset-4 {margin-left: 0;}
}

@media screen and (max-width: 480px)
{
#submenu {letter-spacing:-0.5px;}
}

@media screen and (max-width: 479px)
{
#head .clear.h40 {height:20px;}
#sistema_sanitario {margin-bottom: 70px;}
#submenu {bottom:5px; letter-spacing:0;}
#mm nav {font-size:16px; line-height:30px;}
#mm nav ul li ul { line-height:28px; }
}


.only-desktop {
  display:none;
}
.only-mobile {
  display:inline;
}

@media (min-width: 768px) {
  .container.footers {
    width: 100%;
  }
  .land-lead {
    font-size:1.2em;
  }
  .landing-box-button.three-btns {
    width:30%;
    margin:0 5%;
  }
  .landing-box-button.three-btns:first-child,
  .landing-box-button.three-btns:last-child {
    margin:0;
  }
  .landing-box-button.two-btns {
    width:47%;
    margin:0;
  }
  .landing-box-button.two-btns:first-child {
    margin-right:6%;
  }
  #bg_header.bg_header_landing {
    width:100%; height:auto; min-height:100%; position:absolute; bottom:0px; left:0px;
  }
  .bg_header_landing_text {
    margin:230px 0 80px;
  }
  .only-desktop.desktop-flex {
    display:flex;
  }
  .only-mobile {
    display:none;
  }
}
