@media screen and (min-width: 0px) and (max-width: 575px) {
/* Aggiunto da Mattia per immagini nel bodyContent */

img.alignright {
    width: 100% !important;
    height: auto;
    float: none !important;
    margin: 0 !important;
    padding: 0!important;
}

img.alignleft{
    width: 100% !important;
    height: auto; 
    float: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

  #title-2ndHeader-h1 h1 {
    font-size: .7rem;
    line-height: 1;
  }

  .path-node.node--type-grandi-eventi .title-grandi-eventi-center {
    width: 90%;
    left: 5%;
  }

  /*.path-frontpage #main-wrapper * {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
}*/

  .path-frontpage #main-wrapper img:not(#block-views-blockhomeprogetti-block-1) {
    width: 100%;
    height: auto;
  }

  .path-node.node--type-grandi-eventi #title-grandi-eventi-h1 h1 {
    font-size: 1.3rem;
  }

  .path-node.node--type-grandi-eventi #title-grandi-eventi-h1 {
    padding: 5% 5% 5% 5%;
  }

  /*footer*/
  .site-footer__top .region {
    width: 100%;
  }

  .path-frontpage .featured-bottom section {
    width: 100%;
  }

  /**/
}

@media only screen and (min-device-width: 0px) and (max-device-width: 575px) and (orientation: landscape) {
  /*  .header-home,
  .header-home .view-content.row,
  .header-home .view-content.row .carousel-inner,
  .header-home .view-content.row .carousel-inner .carousel-item,
  .header-home .view-content.row .carousel-inner .carousel-item img {
    height: 47vh;
  }
  .header-home .view-content.row .carousel-inner .carousel-item img {
    width: auto;
  }*/
}


@media screen and (min-width: 0px) and (max-width: 850px) {

  /*footer*/
  .site-footer__top .region {
    width: 100%;
  }

  .path-frontpage .featured-bottom section {
    width: 100%;
  }

  /**/
}

@media only screen and (min-device-width: 360px) and (max-device-width: 850px) and (orientation: landscape) {
  /*.header-home,
  .header-home .view-content.row,
  .header-home .view-content.row .carousel-inner,
  .header-home .view-content.row .carousel-inner .carousel-item,
  .header-home .view-content.row .carousel-inner .carousel-item img {
    height: 62vh;
  }
  .header-home .view-content.row .carousel-inner .carousel-item img {
    width: auto;
  }*/
}

@media screen and (min-width: 576px) and (max-width: 991px) {
  .path-node.node--type-grandi-eventi .title-grandi-eventi-center {
    width: 90%;
    left: 5%;
  }

  /*.path-node.node--type-grandi-eventi #title-grandi-eventi-h1 h1{
    font-size: 1.5rem;
  }*/
}

@media screen and (min-width: 768px) and (max-width: 991px) {
  #title-2ndHeader-h1 h1 {
    font-size: 1.1rem;
    line-height: 1.2;
  }
}

@media screen and (min-width: 575px) and (max-width: 767px) {
  /* Aggiunto da Mattia per immagini bodyContent */
  
  img.alignright {
    width: 100% !important;
    height: auto; 
    float: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

img.alignleft{
    width: 100% !important;
    height: auto; 
    float: none !important;
    margin: 0 !important;
    padding: 0 !important;
}
  
  #title-2ndHeader-h1 h1 {
    font-size: .8rem;
    line-height: 1.3;
  }
}

@media screen and (max-width: 575px) {
  /*body .navbar::after {
        content: '0-575px'; 
    }*/
}

@media screen and (min-width: 576px) {
  /*body .navbar::after {
        content: '576-991px';
    }*/
}

@media screen and (max-width: 767px) {
  body .navbar {}

  .navbar-collapse {
    background-color: white;
    padding: 2em 1em;
  }

  .navbar-collapse {
    border-left: 4px solid #33333311;
    border-right: 4px solid #33333311;
    border-bottom: 4px solid #33333311;
    margin-top: .5em
  }

  .nav-item {
    padding: .5em 0;
  }

  h2,
  .h2 {
    font-size: 1.1rem;
  }
  
  .node--type-progetti-in-corso h2,
  .h2 {
    font-size: 1.3rem;
  }

  .ds-2col-stacked-fluid>.group-left {
    width: 100%
  }

  .ds-2col-stacked-fluid>.group-right {
    width: 100%;
  }

  .navbar .navbar-nav>li:nth-last-of-type(1),
  .navbar .navbar-nav>li:nth-last-of-type(2),
  .navbar .navbar-nav>li:nth-last-of-type(3) {
    margin-bottom: .5em
  }

  .navbar .navbar-nav>li:nth-last-of-type(3) {
    /*width: 40px;
        height: 40px;*/
    overflow: hidden;
  }

  .navbar .navbar-brand {
    margin: 0 3vw 0 0;
  }
}

@media screen and (min-width: 992px) and (max-width: 1190px) {
	#block-acsitalia-main-menu {
	    font-size: 1em;
	}
	.navbar-expand-lg .navbar-nav .nav-link {
  	padding-right: .3rem;
    padding-left: .3rem;
  }
}

@media screen and (min-width: 992px) and (max-width: 1458px) {
  .header .navbar {
    padding-left: .7em;
    padding-right: .7em;
    font-size: .6em;
  }
}

@media screen and (min-width: 1200px) {
  /*body .navbar::after {
        content: '1200-Npx';
    }*/

  /* slide caption position */
  .slide__grid {
    padding-bottom: 6em !important
  }

  .slide__caption {
    top: 11.5em !important;
  }

  .views-field-title {
    padding-bottom: .5em !important;
    height: auto;
  }

  .views-field-body {
    padding-top: .5em !important;
  }

  /**/
}

body .navbar::after {
  position: absolute;
  top: 0;
  right: 0
}





/*media queries MARIO*/


/*text under static block homepage*/
@media screen and (min-width: 0px) and (max-width: 991px) {
	#text-our-mission, #text-i-numeri-acs, #text-offri-santa-messa, #text-liberta-religiosa-nel-mondo {
  		width: 90%;
  		margin: 0 auto;
	}
}
/*--------------------------------*/

/*solo desktop*/
@media screen and (min-width: 800px) {
  .path-node.page-node-9557 #img-text-huma {
  	float: left;
      margin: 0 1em 1em 0;
      padding: 0.5em;
  }
  
  .path-node.page-node-9557 #img-text-huma img {
      float: left;
      margin: 0 1em 0 0;
  }
}
/*-----------*/

/* (1920x1080) Full HD Display */
@media only screen and (max-width: 1920px) {
  .title-2ndHeader-center {
    width: 65%;
    height: auto;
    left: 17%;
  }
}

/* Large screens ----------- */
@media only screen and (max-device-width: 1824px) {}

/* Desktops and laptops ----------- */
@media only screen and (max-device-width: 1600px) {
  body {
    padding-top: 19.5vh;
  }

  #span-donaora {
    font-size: 15px;
  }

  .navbar {
    height: 19.5vh;
  }

  .navbar .navbar-brand {
    padding-bottom: 1rem;
  }

  #title-2ndHeader-h1 h1 {
    font-size: 1.3rem;
  }

  .title-2ndHeader-center {
    width: 65%;
    height: auto;
    left: 17%;
  }
}


/*Menu fix 1025-1189*/
@media only screen and (min-width: 1025px) and (max-width: 1189px) {
  #block-acsitalia-main-menu {
    font-size: 13px;
  }  
}
/*------------*/

/*menu fix no mobile*/
@media only screen and (min-width: 1459px) and (max-width: 1481px) {
  #block-acsitalia-main-menu {
    font-size: 16px;
  }
}
@media only screen and (min-width: 1190px) and (max-width: 1235px) {
  #block-acsitalia-main-menu {
    font-size: 16px;
  }
}
/*------------------*/

/*Menu & logo align fix no mobile*/
@media only screen and (min-width: 992px) and (max-width: 1189px) {
  #block-acsitalia-main-menu {
      margin-bottom: 3em;
  }
}

@media only screen and (min-width: 1190px) and (max-width: 1457px) {
  #block-acsitalia-main-menu {
      margin-bottom: 2em;
  }
}

@media only screen and (min-width: 1459px) and (max-width: 1617px) {
  #block-acsitalia-main-menu {
      margin-bottom: 3em;
  }
}

@media only screen and (min-width: 1618px) and (max-width: 1690px) {
  #block-acsitalia-main-menu {
      margin-bottom: 2.9em;
  }
}

@media only screen and (min-width: 1691px) and (max-width: 1919px) {
  #block-acsitalia-main-menu {
      margin-bottom: 2.5em;
  }
}
/*-------------------------------*/

/* ----------- Retina Screens ----------- */
@media screen and (min-device-width: 1200px) and (max-device-width: 1600px) and (-webkit-min-device-pixel-ratio: 2) and (min-resolution: 192dpi) { 
  #title-and-data {
    max-height: 90% !important;
  }
}

/* ----------- iPad 1, 2, Mini and Air Portrait ----------- */
@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: portrait) and (-webkit-min-device-pixel-ratio: 1) {}

/* ----------- iPad 1, 2, Mini and Air Landscape ----------- */
@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: landscape) and (-webkit-min-device-pixel-ratio: 1) {}

/* ----------- iPad 3, 4 and Pro 9.7" Portrait ----------- */
@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: portrait) and (-webkit-min-device-pixel-ratio: 2) {
  .path-node .views-field.views-field-field-eco-image .field-content {
    width: max-content;
    margin: 0 auto;
  }

  .path-node .view-eco-dell-amore img {
    width: auto;
    height: 25vh;
  }
}

/* ----------- iPad 3, 4 and Pro 9.7" Landscape ----------- */
@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: landscape) and (-webkit-min-device-pixel-ratio: 2) {}

/* iPad in portrait ----------- */

@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: portrait) and (orientation: portrait) and (-webkit-min-device-pixel-ratio: 2) {

  .header-home,
  .header-home .view-content.row,
  .header-home .view-content.row .carousel-inner,
  .header-home .view-content.row .carousel-inner .carousel-item,
  .header-home .view-content.row .carousel-inner .carousel-item img {
    width: 100%;
    height: auto;
  }

  .card-row {
    display: block;
  }

  .card-altred {
    margin: 0 0 1em 0;
  }

  .navbar-collapse {
    flex-basis: 100%;
    align-items: baseline;
    background-color: white;
    padding: 2em 1em;
  }

  .nav-item {
    padding: .5em 0;
  }

  #main-wrapper {
    margin-top: 10vh;
  }

  .path-node .views-field.views-field-field-eco-image .field-content {
    width: max-content;
    margin: 0 auto;
  }

  .path-node .view-eco-dell-amore img {
    width: auto;
    height: 45vh;
  }

  .lista-menu-cercadona li:first-child {
    width: 100%;
  }
  
  .lista-menu-cercadona button {
    width: 100%;
    padding-top: 0;
    padding-bottom: 0;
  }

  .lista-menu-cercadona {
    padding-left: 40px;
  }
  
  .donaora-mobile {
    top: 17vh;
  }

  #block-offriunasantamessa .content .field--name-body p {
    /*background-position-y: 0;*/
    /*background-position-x: -15em;*/
    /*background-position-x: right;*/
    background-size: cover;
    background-position: center;
  }
  
    #block-homeourmission .content .field--name-body p {
    /*background-position-x: right;*/
    background-position: center;
  }

  .header2nd img {
    height: 19.52vh;
    width: auto;
  }

  .node--type-grandi-eventi .featured-top {
    margin-top: 1.5em;
  }
  #title-2ndHeader-h1 h1 {
    font-size: 1.1rem;
  }
  /*newsletter*/
#block-simplenewssubscription {
    margin: 0 auto;
    width: 100%;
    text-align: center;
}
  .ds-2col-stacked-fluid>.group-left .field--name-node-title h2{
    text-align: initial;
  }
}

/* iPad in landscape ----------- */

@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: landscape) {

  .header-home,
  .header-home .view-content.row,
  .header-home .view-content.row .carousel-inner,
  .header-home .view-content.row .carousel-inner .carousel-item,
  .header-home .view-content.row .carousel-inner .carousel-item img {
    width: 100%;
    height: auto;
  }

  .header .navbar {
    padding: 0 1em 0 1em;
    font-size: .7em;
  }
  
   .header .navbar {
    padding: 0 2em 0 2em !important;
  }

  #block-acsitalia-main-menu {
    font-size: 13px;
    margin-right: 0;
  }

  .path-node .views-field.views-field-field-eco-image .field-content {
    width: max-content;
    margin: 0 auto;
  }

  .path-node .view-eco-dell-amore img {
    width: auto;
    height: 50vh;
  }

  .lista-menu-cercadona {
    padding-left: 0;
  }
  .home_grid_content_row {
    height: 25vh;
  }
  #div_video {
    height: 26vh;
  }
  #title-2ndHeader-h1 h1 {
    font-size: 1.1rem;
  }
  /*newsletter*/
  #block-simplenewssubscription {
    margin: 0 auto;
    width: 100%;
    text-align: center;
  }
  
  .page-node-9526 .row {
    margin-right: 0;
    margin-left: 0;
  }
  
  .page-node-9526 #main.container-fluid {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  
  .page-node-9526 .main-content{
    padding-left: 0;
    padding-right: 0;
  }
  
  .page-node-9526 #img1-background {
    background-position-x: center;
	  background-position-y: top;
    background-size: 56.2vh;
    height: 37vh;
  }
  
  .page-node-9526 #img2-background {
	  background-position-y: 0vh;
    background-size: 85vh;
    background-position-x: center;
    background-size: 56.2vh;
    height: 37vh;
  }
  
  .page-node-9526 .img1_missioneevalori h3,
  .page-node-9526 .img2_missioneevalori h3 {
	  font-size: 1rem;
    line-height: 1.3em;
    margin: 0;
    width: 100%;
  }

  .page-node-9526 .img1_missioneevalori h3,
  .page-node-9526 .img2_missioneevalori h3 {
    top: 30vh;
  }

  .page-node-9526 .titolo-missioneevalori,
  .page-node-9526 .text1-missioneevalori,
  .page-node-9526 .text2-missioneevalori {
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-node-9526 #img1-background {
    background-position: left;
    background-size: 100%;
    height: 60vh;
  }
  
  .page-node-9526 #img2-background {
    background-position-y: bottom;
    background-size: 100%;
    height: 60vh;
  }
  
  .page-node-9526 .img1_missioneevalori h3,
  .page-node-9526 .img2_missioneevalori h3 {
    top: 53.1vh;
  }
}

/* iPad Pro 10.5 in portrait */
@media only screen and (min-device-width: 834px) and (max-device-width: 834px) and (orientation: portrait) and (-webkit-min-device-pixel-ratio: 2) {
  #block-offriunasantamessa .content .field--name-body p {
    /*background-position-x: -17em;
    background-position-y: 0;*/
    background-size: cover;
    background-position: center;
  }
}

/* iPad Pro 10.5 in landscape */
@media only screen and (min-width: 1112px) and (max-width: 1112px) and (orientation: landscape) and (-webkit-min-device-pixel-ratio: 2) {
  #block-offriunasantamessa .content .field--name-body p {
    /*background-position-y: 0em;*/
    background-size: cover;
    background-position: center;
  }

  .lista-menu-cercadona {
    padding-left: 0;
  }
}

/* iPad Pro 12.9" 12.9 in portrait ----------- */

@media only screen and (min-device-width: 1024px) and (max-device-width: 1366px) and (-webkit-min-device-pixel-ratio: 2) and (orientation: portrait) {
  .header .navbar {
    padding: 5em 4em 1em 2em;
    font-size: .6em;
  }

  .header-home,
  .header-home .view-content.row,
  .header-home .view-content.row .carousel-inner,
  .header-home .view-content.row .carousel-inner .carousel-item,
  .header-home .view-content.row .carousel-inner .carousel-item img {
    width: 100% !important;
    height: auto !important;
  }

  .lista-menu-cercadona {
    padding-left: 0;
  }

  #span-donaora {
    padding: 0.3vw .1vw .3vw .1vw;
  }

  #main-wrapper {
    margin-top: 2vh;
  }

  .path-node .views-field.views-field-field-eco-image .field-content {
    width: max-content;
    margin: 0 auto;
  }

  .path-node .view-eco-dell-amore img {
    width: auto;
    height: 25vh;
  }

  .navbar-expand-lg .navbar-nav .nav-link {
    padding-right: .2rem;
    padding-left: .2rem;
  }

  .header .navbar {
    padding: 2em 1em 1em 1em;
  }

  #block-acsitalia-main-menu {
    margin-right: 0;
    font-size: 16px;
  }

  .lista-menu-cercadona li:first-child {
    width: 100%;
  }
  
  .lista-menu-cercadona button {
    width: 100%;
    padding-top: 0;
    padding-bottom: 0;
  }

  .lista-menu-cercadona {
    padding-left: 0px;
  }

  #block-offriunasantamessa .content .field--name-body p {
    /*background-position-x: -20em;*/
    background-size: cover;
    background-position: center;
  }
}

/* iPad Pro 12.9" in landscape ----------- */

@media only screen and (min-device-width: 1024px) and (max-device-width: 1366px) and (-webkit-min-device-pixel-ratio: 2) and (orientation: landscape) {
  .header .navbar {
    padding: 0 1em 0 1em;
    font-size: 1.1em;
  }

  .path-node .views-field.views-field-field-eco-image .field-content {
    width: max-content;
    margin: 0 auto;
  }

  .path-node .view-eco-dell-amore img {
    width: auto;
    height: 50vh;
  }

  .header2nd img {
    height: 34.73vh;
    width: auto;
  }

  #block-offriunasantamessa .content .field--name-body p {
    /*background-position-y: 0;*/
    background-size: cover;
    background-position: center;
  }
  #div_video {
    height: 26vh !important;
  }
  /*newsletter*/
  #block-simplenewssubscription {
      margin: 0 auto;
      width: 100%;
      text-align: center;
  }
}

/* ----------- iPhone 5, 5S, 5C and 5SE in portrait ----------- */

/*@media only screen and (min-device-width: 320px) and (max-device-width: 568px) and (-webkit-min-device-pixel-ratio: 2) and (orientation:portrait) {*/
@media only screen and (min-device-width: 320px) and (max-device-width: 568px) and (-webkit-device-pixel-ratio: 2) and (device-aspect-ratio: 40/71) and (orientation:portrait) {
  .header .navbar {
    padding: 1em .3em 1em .3em;
  }

  .navbar-toggler {
    padding: 0.12rem 0.40rem;
  }

  .header-home,
  .header-home .view-content.row,
  .header-home .view-content.row .carousel-inner,
  .header-home .view-content.row .carousel-inner .carousel-item,
  .header-home .view-content.row .carousel-inner .carousel-item img {
    height: 14.7vh;
  }

  .header-home .view-content.row .carousel-inner .carousel-item img {
    width: auto;
  }
  
  .header-home-mobile,
  .header-home-mobile .view-content.row,
  .header-home-mobile .view-content.row .carousel-inner,
  .header-home-mobile .view-content.row .carousel-inner .carousel-item,
  .header-home-mobile .view-content.row .carousel-inner .carousel-item img {
      width: auto;
    height: 43.5vh;
  }
  .header-home-mobile .view-content.row .carousel-inner .carousel-item img {
    width: auto;
  }
  
  .path-frontpage .header-home-mobile .carousel-item h3 {
    bottom: 0;
    width: 100%;
    position: absolute;
    text-align: left;
    height: auto;
    min-height: 21vh;
    background-color: #ffffff;
    opacity: 0.8;
    font-family: 'Martel', serif;
    margin: 0;
    font-weight: 700;
    padding: .6em;
    font-size: 1.2rem;
  }
  
  .path-frontpage .header-home-mobile .carousel-item h3 a {
    font-size: .9rem;
    font-weight: 600;
    padding-bottom: 0;
    width: 100%;
    line-height: 1.1em;
    height: 3em;
    /*overflow: hidden;*/
    /*display: -webkit-box;*/
    /*-webkit-box-orient: vertical;*/
    /*-webkit-line-clamp: 3;*/
    display: block;
  }
  
  .path-frontpage .layout-main-wrapper section h2 {
    font-size: 100%;
  }
  
  .path-frontpage .featured-top {
    margin-top: 3em;
  }

  .page-node-8346 #main-wrapper {
    margin-top: 15vh;
  }

  i .block-views.block-views-blockxdev-homenews-block-1,
  .block-views.block-views-blockxdev-homeprogettiincorso-block-1,
  .block-views.block-views-blockxdev-homeappuntamenti-block-1 {
    padding: 0 4.5vw;
  }

  #title-and-data {
    width: 80%;
  }

  .path-frontpage .block-views.block-views-blockxdev-homenews-block-1 .home_grid_content_row,
  .path-frontpage .block-views.block-views-blockxdev-homeprogettiincorso-block-1 .home_grid_content_row,
  .path-frontpage .block-views.block-views-blockxdev-homeappuntamenti-block-1 .home_grid_content_row {
    margin: 0 auto;
  }

  .path-frontpage .block-views .home_grid_content_row {
    /*height: 25vh;*/
    height: 30vh;
  }

  .path-frontpage .block-views .home_grid_content_row .content-body-field,
  footer .site-footer__bottom section p {
    font-size: 13px !important;
  }

  .path-frontpage .ndSectionHome .text-formatted h3 {
    font-size: 1rem;
    line-height: 1.3em;
    margin: 0 10%;
    width: 80%;
  }

  #text-our-mission,
  #text-i-numeri-acs,
  #text-offri-santa-messa,
  #text-liberta-religiosa-nel-mondo {
    font-size: 13px;
  }

  /*.path-node #main-wrapper #main.container-fluid {
    padding: 0 4.5vw;
  }*/

  .title-2ndHeader-center {
    width: 80%;
    height: auto;
    left: 10%;
  }

  #title-2ndHeader-h1 {
    padding: 15px 20px 12px 20px;
  }

  #title-2ndHeader-h1 h1 {
    font-size: 22px;
    line-height: 1.3em;
  }

  #title-2ndHeader-h1 {
    padding: 15px 20px 12px 20px;
  }

  #title-2ndHeader-h1 h1 {
    font-size: 13px;
    line-height: 1.3em;
  }

  .page-link {
    padding: 1vh 2.5vw 1vh 2.5vw;
  }

  /* Dona ora sezioni cliccabili */
  .block-do-container {
    display: block;
  }

  .card-row {
    display: block;
  }

  .card-altred {
    margin: 0 0 1em 0;
  }

  #main-wrapper {
    margin-top: 10vh;
    font-size: 13px;
  }
  
  .path-search #main-wrapper {
    margin-top: 10vh;
  }
  
  .path-search .views-exposed-form form,
  .path-search .views-exposed-form form div.form-row fieldset.form-group {
    width: 100%;
  }
  
  div#block-acsitalia-content .content table td:first-child {
    display: none;
  }

  .path-video #main-wrapper,
  .path-doni-di-fede-video #main-wrapper{
    margin-top: 11vh;
  }

  .path-node .views-field.views-field-field-eco-image .field-content {
    width: max-content;
    margin: 0 auto;
  }

  .path-node .view-eco-dell-amore img {
    width: auto;
    height: 65vh;
  }

  .select-method {
    display: block;
  }

  .contatti-button {
    display: block;
  }

  footer .container-fluid,
  footer .site-footer__bottom section {
    margin: 0 auto;
  }

  .lista-menu-cercadona li:first-child {
    width: 100%;
  }
  
  .lista-menu-cercadona button {
    width: 100%;
    padding-top: 0;
    padding-bottom: 0;
  }

  .lista-menu-cercadona {
    padding-left: 40px;
  }

  .header2nd img {
    height: 14.65vh;
    width: auto;
  }

  .node--type-grandi-eventi .featured-top {
    margin-top: 3em;
  }

  .node--type-contenuti-generici #main-wrapper {
    margin-top: 15vh;
  }

  #block-offriunasantamessa .content .field--name-body p {
    /*background-position-y: 3.9em;*/
    /*background-position-x: -14em;*/
    /*background-position-x: right;*/
    /*background-size: 90vh;*/
    background-size: cover;
    background-position: center;
  }
  .ytPlayerVideo {
    padding-right: 0;
  }
  #div_video {
    height: 38.3vh !important;
  }
  /*slider mobile*/
  .header-home {
    display: none;
  }
  .header-home-mobile {
    display: block;
  }
  /**/
  /*newsletter*/
#block-simplenewssubscription {
    margin: 0 auto;
    width: 100%;
    text-align: center;
}

  #block-homeourmission .content .field--name-body p {
    /*background-position: -47em;*/
    /*background-position-x: -150vw;*/
    background-position: center;
  }
    .node--type-progetti-in-corso #block-acsitalia-content .field--name-field-immagine .field__item img,
    .path-taxonomy #block-acsitalia-content .node--type-progetti-in-corso .field--name-field-immagine .field__item img,
    .node--type-notizie-dal-mondo #block-acsitalia-content .field--name-field-ndm-image .field__item img,
    .node--type-appuntamenti-acs #block-acsitalia-content .field--name-field-appnt-image .field__item img {
    display: block;
    width: 90vw;
    height: auto;
  }
  
  .ds-2col-stacked-fluid>.group-left .field--name-node-title h2{
    text-align: initial;
  }
  
  .rapportorl-page {
    padding-bottom: 0em;
  }
  
  .node--type-pubblicazioni-acs #block-acsitalia-content .field--name-field-pacs-image .field__item img {
    width: 90vw;
    height: auto;
  }
  
.path-elenco-progetti-in-corso #main-wrapper {
    margin-top: 10vh !important;
}

.path-elenco-progetti-in-corso #block-acsitalia-content .view-elencoprogettiincorso form.views-exposed-form fieldset.form-group.col-auto,
.path-elenco-progetti-in-corso #block-acsitalia-content .view-elencoprogettiincorso form.views-exposed-form .form-actions,
.path-elenco-progetti-in-corso #block-acsitalia-content .view-elencoprogettiincorso form.views-exposed-form .form-actions button.form-submit.btn.btn-primary {
	width: 100%;
}

  .page-node-9526 .row {
    margin-right: 0;
    margin-left: 0;
  }
  
  .page-node-9526 #main.container-fluid {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  
  .page-node-9526 .main-content{
    padding-left: 0;
    padding-right: 0;
  }
  
  .page-node-9526 #img1-background {
    background-position-x: center;
	  background-position-y: top;
    background-size: 56.2vh;
    height: 37vh;
  }
  
  .page-node-9526 #img2-background {
	  background-position-y: 0vh;
    background-size: 85vh;
    background-position-x: center;
    background-size: 56.2vh;
    height: 37vh;
  }
  
  .page-node-9526 .img1_missioneevalori h3,
  .page-node-9526 .img2_missioneevalori h3 {
	  font-size: 1rem;
    line-height: 1.3em;
    margin: 0;
    width: 100%;
  }

  .page-node-9526 .img1_missioneevalori h3,
  .page-node-9526 .img2_missioneevalori h3 {
    top: 30vh;
  }

  .page-node-9526 .titolo-missioneevalori,
  .page-node-9526 .text1-missioneevalori,
  .page-node-9526 .text2-missioneevalori {
    padding-left: 15px;
    padding-right: 15px;
  }
  /*pagina "/huma"*/
  .path-node.page-node-9557 #img-text-huma img {
      width: 100%;
      height: auto;
  }
  /*-------------*/
}

/* ----------- iPhone 5, 5S, 5C and 5SE in landscape ----------- */

/*@media only screen and (min-device-width: 320px) and (max-device-width: 568px) and (-webkitmin--device-pixel-ratio: 2) and (orientation:landscape) {*/
/*@media only screen and (min-device-width: 320px) and (max-device-width: 568px) and (-webkit-device-pixel-ratio: 2) and (device-aspect-ratio: 40/71) and (orientation:landscape){*/
@media only screen and (min-device-width: 320px) and (max-device-width: 568px) and (orientation:landscape) {
  .header .navbar {
    padding: 1em .3em 1em .3em;
  }

  .navbar-toggler {
    padding: 0.12rem 0.40rem;
  }

  /*.header-home,
  .header-home .view-content.row,
  .header-home .view-content.row .carousel-inner,
  .header-home .view-content.row .carousel-inner .carousel-item,
  .header-home .view-content.row .carousel-inner .carousel-item img {
    height: 47vh;
  }

  .header-home .view-content.row .carousel-inner .carousel-item img {
    width: auto;
  }*/
  
  .header-home,
  .header-home .view-content.row,
  .header-home .view-content.row .carousel-inner,
  .header-home .view-content.row .carousel-inner .carousel-item,
  .header-home .view-content.row .carousel-inner .carousel-item img {
    height: auto;
  }

  .header-home .view-content.row .carousel-inner .carousel-item img {
    width: 100%;
  }
  
  .donaora-mobile {
    padding-top: 4em;
  }

  .page-node-8346 #main-wrapper {
    margin-top: 15vh;
  }

  i .block-views.block-views-blockxdev-homenews-block-1,
  .block-views.block-views-blockxdev-homeprogettiincorso-block-1,
  .block-views.block-views-blockxdev-homeappuntamenti-block-1 {
    padding: 0 4.5vw;
  }

  #title-and-data {
    width: 80%;
  }

  .path-frontpage .block-views.block-views-blockxdev-homenews-block-1 .home_grid_content_row,
  .path-frontpage .block-views.block-views-blockxdev-homeprogettiincorso-block-1 .home_grid_content_row,
  .path-frontpage .block-views.block-views-blockxdev-homeappuntamenti-block-1 .home_grid_content_row {
    margin: 0 auto;
  }

  .path-frontpage .block-views .home_grid_content_row {
    height: 25vh;
  }

  .path-frontpage .block-views .home_grid_content_row .content-body-field,
  footer .site-footer__bottom section p {
    font-size: 13px !important;
  }

  .path-frontpage .ndSectionHome .text-formatted h3 {
    font-size: 1rem;
    line-height: 1.3em;
    margin: 0 10%;
    width: 80%;
  }

  #text-our-mission,
  #text-i-numeri-acs,
  #text-offri-santa-messa,
  #text-liberta-religiosa-nel-mondo {
    font-size: 13px;
  }

  /*.path-node #main-wrapper #main.container-fluid {
    padding: 0 4.5vw;
  }*/

  .title-2ndHeader-center {
    width: 80%;
    height: auto;
    left: 10%;
  }

  #title-2ndHeader-h1 {
    padding: 15px 20px 12px 20px;
  }

  #title-2ndHeader-h1 h1 {
    font-size: 22px;
    line-height: 1.3em;
  }

  #title-2ndHeader-h1 {
    padding: 15px 20px 12px 20px;
  }

  #title-2ndHeader-h1 h1 {
    font-size: 13px;
    line-height: 1.3em;
  }

  .page-link {
    padding: 1vh 2.5vw 1vh 2.5vw;
  }

  /* Dona ora sezioni cliccabili */
  .block-do-container {
    display: block;
  }

  .card-row {
    display: block;
  }

  .card-altred {
    margin: 0 0 1em 0;
  }

  #main-wrapper {
    margin-top: 5vh;
    font-size: 13px;
  }

  .path-video #main-wrapper,
  .path-doni-di-fede-video #main-wrapper{
    margin-top: 11vh;
  }

  .path-node .views-field.views-field-field-eco-image .field-content {
    width: max-content;
    margin: 0 auto;
  }

  .path-node .view-eco-dell-amore img {
    width: auto;
    height: 65vh;
  }

  .select-method {
    display: block;
  }

  .contatti-button {
    display: block;
  }

  footer .container-fluid,
  footer .site-footer__bottom section {
    margin: 0 auto;
  }

  .donaora-mobile .lista-menu-cercadona li:first-child {
    width: 100%;
  }
  
  .lista-menu-cercadona button {
    width: 100%;
    padding-top: 0;
    padding-bottom: 0;
  }

  .donaora-mobile .lista-menu-cercadona {
    padding-left: 40px;
  }

  .header2nd img {
    height: 14.65vh;
    width: auto;
  }

  .node--type-grandi-eventi .featured-top {
    margin-top: 3em;
  }

  .node--type-contenuti-generici #main-wrapper {
    margin-top: 15vh;
  }

  #block-offriunasantamessa .content .field--name-body p {
    /*background-position-y: 3.9em;
    background-position-x: -14em;
    background-size: 90vh;*/
    background-size: cover;
    background-position: center;
  }
  .home_grid_content_row {
    height: 60vh !important;
  }
}

/* ----------- iPhone 6, 6S, 7 and 8 Portrait ----------- */
@media only screen and (min-device-width: 375px) and (max-device-width: 667px) and (-webkit-min-device-pixel-ratio: 2) and (orientation: portrait) {
  body {
    padding-top: 7vh;
  }

  .navbar {
    height: 16vh;
    padding: 0 7vw;
  }

  #span-donaora {
    font-size: 1.1rem;
  }

  .header-home,
  .header-home .view-content.row,
  .header-home .view-content.row .carousel-inner,
  .header-home .view-content.row .carousel-inner .carousel-item,
  .header-home .view-content.row .carousel-inner .carousel-item img {
    height: 14.7vh;
  }

  .header-home .view-content.row .carousel-inner .carousel-item img {
    width: auto;
  }
  
  #main-wrapper {
    margin-top: 5vh;
  }
  
  .path-search #main-wrapper {
    margin-top: 20vh;
  }
  
  .path-search .views-exposed-form form,
  .path-search .views-exposed-form form div.form-row fieldset.form-group {
    width: 100%;
  }
  
  div#block-acsitalia-content .content table td:first-child {
    display: none;
  }
  
  .path-node #main-wrapper {
    /*margin-top: 5vh !important;*/
    margin-top: 24vh !important;
  }
  
  .path-frontpage .header-home-mobile .carousel-item h3 {
    bottom: 0;
    width: 100%;
    position: absolute;
    text-align: left;
    height: auto;
    min-height: 17vh;
    background-color: #ffffff;
    opacity: 0.8;
    font-family: 'Martel', serif;
    margin: 0;
    font-weight: 700;
    padding: .6em;
    font-size: 1.2rem;
  }
  
  .path-frontpage .header-home-mobile .carousel-item h3 a {
    font-size: .9rem;
    font-weight: 600;
    padding-bottom: 0;
    width: 100%;
    line-height: 1.1em;
    height: 3em;
    /*overflow: hidden;*/
    /*display: -webkit-box;*/
    /*-webkit-box-orient: vertical;*/
    /*-webkit-line-clamp: 3;*/
    display: block;
  }
  
  .path-frontpage .layout-main-wrapper section h2 {
    font-size: 100%;
  }

  .block-views.block-views-blockxdev-homenews-block-1,
  .block-views.block-views-blockxdev-homeprogettiincorso-block-1,
  .block-views.block-views-blockxdev-homeappuntamenti-block-1 {
    padding: 0 4.5vw;
  }

  #title-and-data {
    width: 80%;
  }

  .path-frontpage .block-views.block-views-blockxdev-homenews-block-1 .home_grid_content_row,
  .path-frontpage .block-views.block-views-blockxdev-homeprogettiincorso-block-1 .home_grid_content_row,
  .path-frontpage .block-views.block-views-blockxdev-homeappuntamenti-block-1 .home_grid_content_row {
    margin: 0 auto;
  }

  .path-frontpage .ndSectionHome .text-formatted h3 {
    font-size: 1rem;
    line-height: 1.3em;
    margin: 0;
    width: 100%;
  }
  
  .path-frontpage #block-offriunasantamessa.ndSectionHome .text-formatted h3 {
    /*top: 35vh;*/
  }
  
  #block-offriunasantamessa .content .field--name-body p {
    /*height: 41vh !important;*/
    background-size: cover;
    background-position: center;
  }

  #text-our-mission,
  #text-i-numeri-acs,
  #text-offri-santa-messa,
  #text-liberta-religiosa-nel-mondo {
    font-size: 0.8em;
  }

  .path-node #main-wrapper #main.container-fluid {
    padding: 0 4.5vw;
  }

  .home_grid_content_row {
    height: 30vh;
  }

  .page-link {
    padding: 1vh 2.5vw 1vh 2.5vw;
  }

  .title-2ndHeader-center {
    width: 90%;
    height: auto;
    left: 5%;
  }

  #title-2ndHeader-h1 {
    padding: 15px 20px 12px 20px;
  }

  #title-2ndHeader-h1 h1 {
    font-size: 11px;
    line-height: 1.3em;
  }


  .select-method {
    display: block;
  }

  .card-row {
    display: block;
  }

  .card-altred {
    margin: 0 0 1em 0;
  }

  .contatti-button {
    display: block;
  }

  .node--type-grandi-eventi .featured-top {
    margin-top: 7em;
  }

  .path-video #main-wrapper,
  .path-doni-di-fede-video #main-wrapper{
    margin-top: 22vh;
  }

  .node--type-eco-dell-amore #main-wrapper {
    margin-top: 25vh;
  }
  
  .path-node .view-eco-dell-amore img {
    height: 65vh;
  }

  .node--type-contenuti-generici #main-wrapper {
    margin-top: 25vh;
  }

  #block-offriunasantamessa .content .field--name-body p {
    /*background-position-y: 3.9em;
    background-position-x: -6em;*/
    background-position: center;
    /*background-size: 75vh;*/
    background-size: cover;
    /*background-position-y: 0 !important;*/
  }
  
    #block-offriunasantamessa .content .field--name-body p {
    /*background-size: 75vh;*/
    background-size: cover;
    background-position: center;
    /*background-position-x: -5.7em !important;*/
    /*background-position-y: 0 !important;*/
    
  }
  
  .lista-menu-cercadona li:first-child {
    width: 100%;
  }
  
  .lista-menu-cercadona button {
    width: 100%;
    padding-top: 0;
    padding-bottom: 0;
  }
  
  .lista-menu-cercadona {
    padding-left: 40px;
  }
  
  .header2nd img {
    height: 14.7vh;
    width: auto;
  }
  .ytPlayerVideo {
    padding-right: 0;
  }
  #div_video {
      height: 39vh !important;
  }
.path-frontpage .featured-top {
  margin-top: 7em;
}
/*slider mobile*/
.header-home-mobile,
.header-home-mobile .view-content.row,
.header-home-mobile .view-content.row .carousel-inner,
.header-home-mobile .view-content.row .carousel-inner .carousel-item,
.header-home-mobile .view-content.row .carousel-inner .carousel-item img {
    width: auto;
  height: 43.5vh;
}
.header-home-mobile .view-content.row .carousel-inner .carousel-item img {
  width: auto;
}

.header-home {
  display: none;
}
.header-home-mobile {
  display: block;
}
/**/

/*newsletter*/
#block-simplenewssubscription {
    margin: 0 auto;
    width: 100%;
    text-align: center;
}
  .node--type-progetti-in-corso #block-acsitalia-content .field--name-field-immagine .field__item img,
  .path-taxonomy #block-acsitalia-content .node--type-progetti-in-corso .field--name-field-immagine .field__item img,
  .node--type-notizie-dal-mondo #block-acsitalia-content .field--name-field-ndm-image .field__item img,
  .node--type-appuntamenti-acs #block-acsitalia-content .field--name-field-appnt-image .field__item img {
    display: block;
    width: 90vw;
    height: auto;
  }
  
  .ds-2col-stacked-fluid>.group-left .field--name-node-title h2{
    text-align: initial;
  }
  
  .rapportorl-page {
    padding-bottom: 0em;
  }
  .node--type-pubblicazioni-acs #block-acsitalia-content .field--name-field-pacs-image .field__item img {
    width: 90vw;
    height: auto;
  }
  
  .path-elenco-progetti-in-corso #main-wrapper {
    margin-top: 20vh !important;
  }


  .path-elenco-progetti-in-corso #block-acsitalia-content .view-elencoprogettiincorso form.views-exposed-form fieldset.form-group.col-auto,
  .path-elenco-progetti-in-corso #block-acsitalia-content .view-elencoprogettiincorso form.views-exposed-form .form-actions,
  .path-elenco-progetti-in-corso #block-acsitalia-content .view-elencoprogettiincorso form.views-exposed-form .form-actions button.form-submit.btn.btn-primary {
	  width: 100%;
  }
  
  .page-node-9526 .row {
    margin-right: 0;
    margin-left: 0;
  }
  
  .page-node-9526 #main.container-fluid {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  
  .page-node-9526 .main-content{
    padding-left: 0;
    padding-right: 0;
  }
  
  .page-node-9526 #img1-background {
    background-position-x: center;
	  background-position-y: top;
    background-size: 56.2vh;
    height: 37vh;
  }
  
  .page-node-9526 #img2-background {
	  background-position-y: 0vh;
    background-size: 85vh;
    background-position-x: center;
    background-size: 56.2vh;
    height: 37vh;
  }
  
  .page-node-9526 .img1_missioneevalori h3,
  .page-node-9526 .img2_missioneevalori h3 {
	  font-size: 1rem;
    line-height: 1.3em;
    margin: 0;
    width: 100%;
  }

  .page-node-9526 .img1_missioneevalori h3,
  .page-node-9526 .img2_missioneevalori h3 {
    top: 30vh;
  }

  .page-node-9526 .titolo-missioneevalori,
  .page-node-9526 .text1-missioneevalori,
  .page-node-9526 .text2-missioneevalori {
    padding-left: 15px;
    padding-right: 15px;
  }
  
  /*la nostra missione homepage background*/
  .path-frontpage .ndSectionHome#block-homeourmission .text-formatted p:nth-child(1) {
    /*background-position-x: -34em;*/
    background-position: center;
  }
  /*--------------------------------------*/
}

/* ----------- iPhone 6, 6S, 7 and 8 Landscape ----------- */
@media only screen and (min-device-width: 375px) and (max-device-width: 667px) and (-webkit-min-device-pixel-ratio: 2) and (orientation: landscape) {
   body {
    padding-top: 7vh;
  }

  .navbar {
    height: 16vh;
  }

  #span-donaora {
    font-size: 1.1rem;
  }

  /*.header-home,
  .header-home .view-content.row,
  .header-home .view-content.row .carousel-inner,
  .header-home .view-content.row .carousel-inner .carousel-item,
  .header-home .view-content.row .carousel-inner .carousel-item img {
    height: 46.3vh;
  }

  .header-home .view-content.row .carousel-inner .carousel-item img {
    width: auto;
  }*/
  
  .header-home,
  .header-home .view-content.row,
  .header-home .view-content.row .carousel-inner,
  .header-home .view-content.row .carousel-inner .carousel-item,
  .header-home .view-content.row .carousel-inner .carousel-item img {
    height: auto;
  }

  .header-home .view-content.row .carousel-inner .carousel-item img {
    width: 100%;
  }
  
  .donaora-mobile {
    padding-top: 4em;
  }

  .block-views.block-views-blockxdev-homenews-block-1,
  .block-views.block-views-blockxdev-homeprogettiincorso-block-1,
  .block-views.block-views-blockxdev-homeappuntamenti-block-1 {
    padding: 0 4.5vw;
  }

  #title-and-data {
    width: 80%;
  }

  .path-frontpage .block-views.block-views-blockxdev-homenews-block-1 .home_grid_content_row,
  .path-frontpage .block-views.block-views-blockxdev-homeprogettiincorso-block-1 .home_grid_content_row,
  .path-frontpage .block-views.block-views-blockxdev-homeappuntamenti-block-1 .home_grid_content_row {
    margin: 0 auto;
  }

  .path-frontpage .ndSectionHome .text-formatted h3 {
    font-size: 1rem;
    line-height: 1.3em;
    margin: 0;
    width: 100%;
  }

  #text-our-mission,
  #text-i-numeri-acs,
  #text-offri-santa-messa,
  #text-liberta-religiosa-nel-mondo {
    font-size: 0.8em;
  }

  .path-node #main-wrapper #main.container-fluid {
    padding: 0 4.5vw;
  }

  .home_grid_content_row {
    height: 55vh;
  }

  .page-link {
    padding: 1vh 2.5vw 1vh 2.5vw;
  }

  .title-2ndHeader-center {
    width: 90%;
    height: auto;
    left: 5%;
  }

  #title-2ndHeader-h1 {
    padding: 15px 20px 12px 20px;
  }

  #title-2ndHeader-h1 h1 {
    font-size: 22px;
    line-height: 1.3em;
  }


  .select-method {
    display: block;
  }

  .card-row {
    display: block;
  }

  .card-altred {
    margin: 0 0 1em 0;
  }

  .contatti-button {
    display: block;
  }

  .node--type-grandi-eventi .featured-top {
    margin-top: 7em;
  }

  .path-frontpage .featured-top {
    margin-top: 7em;
  }

  .path-video #main-wrapper,
  .path-doni-di-fede-video #main-wrapper{
    margin-top: 40vh;
  }
  
  .ytPlayerVideo #frame {
    height: 90vh;
  }

  .node--type-eco-dell-amore #main-wrapper {
    margin-top: 40vh;
  }
  
  .path-node.node--type-eco-dell-amore .flipping-book-iframe {
    width: 100%;
    height: 180vh;
  }

  .node--type-contenuti-generici #main-wrapper {
    margin-top: 25vh;
  }

  #block-offriunasantamessa .content .field--name-body p {
    /*background-position-y: 0;*/
    /*background-position-x: 0;*/
    /*background-size: 100%;*/
    background-size: cover;
    background-position: center;
  }
  
    .lista-menu-cercadona li:first-child {
      width: 100%;
    } 
    
  .lista-menu-cercadona button {
    width: 100%;
    padding-top: 0;
    padding-bottom: 0;
  }
  
    .lista-menu-cercadona {
      padding-left: 40px;
    }
    #div_video {
      height: 38vh !important;
    }
}

/* iPhone X/XS in portrait ----------- */

@media only screen and (min-device-width: 375px) and (max-device-width: 812px) and (-webkit-device-pixel-ratio: 3) and (orientation: portrait) {
  .header-home,
  .header-home .view-content.row,
  .header-home .view-content.row .carousel-inner,
  .header-home .view-content.row .carousel-inner .carousel-item,
  .header-home .view-content.row .carousel-inner .carousel-item img {
    height: 13.1vh !important;
  }

  .header-home .view-content.row .carousel-inner .carousel-item img {
    width: auto;
  }
  
  .path-frontpage .header-home-mobile .carousel-item h3 a {
    height: 4em !important;
  }
  
  #main-wrapper {
    margin-top: 5vh;
  }
  
  .path-node #main-wrapper {
    /*margin-top: 5vh !important;*/
    margin-top: 22vh !important;
  }
  .path-video #main-wrapper {
    margin-top: 20vh !important;
  }
  
  .path-search #main-wrapper {
    margin-top: 20vh;
  }
  
  .path-search .views-exposed-form form,
  .path-search .views-exposed-form form div.form-row fieldset.form-group {
    width: 100%;
  }
  
  div#block-acsitalia-content .content table td:first-child {
    display: none;
  }

  .block-views.block-views-blockxdev-homenews-block-1,
  .block-views.block-views-blockxdev-homeprogettiincorso-block-1,
  .block-views.block-views-blockxdev-homeappuntamenti-block-1 {
    padding: 0 4.5vw;
  }

  #title-and-data {
    width: 80%;
  }

  .path-frontpage .block-views.block-views-blockxdev-homenews-block-1 .home_grid_content_row,
  .path-frontpage .block-views.block-views-blockxdev-homeprogettiincorso-block-1 .home_grid_content_row,
  .path-frontpage .block-views.block-views-blockxdev-homeappuntamenti-block-1 .home_grid_content_row {
    margin: 0 auto;
  }

  .path-frontpage .ndSectionHome .text-formatted h3 {
    font-size: 1rem;
    line-height: 1.3em;
    margin: 0 10%;
    width: 80%;
  }
  
  .path-frontpage #block-homeourmission.ndSectionHome .text-formatted h3 {
    top: 33vh;
  }
  .path-frontpage #block-offriunasantamessa.ndSectionHome .text-formatted h3 {
    /*top: 35vh;*/
  }
  
  .path-frontpage #block-homelibertareligiosa.ndSectionHome .text-formatted p:nth-child(1) {
    height: 37vh;
  }
  
  .path-frontpage #block-homelibertareligiosa.ndSectionHome .text-formatted h3 {
      top: 30vh;
  }

  #text-our-mission,
  #text-i-numeri-acs,
  #text-offri-santa-messa,
  #text-liberta-religiosa-nel-mondo {
    font-size: 0.8em;
  }

  .path-node #main-wrapper #main.container-fluid {
    padding: 0 4.5vw;
  }

  .path-node .views-field.views-field-field-eco-image .field-content {
    width: max-content;
    margin: 0 auto;
  }

  .path-node .view-eco-dell-amore img {
    width: auto;
    height: 50vh;
  }

  .page-link {
    padding: 1vh 2.5vw 1vh 2.5vw;
  }

  /* Dona ora sezioni cliccabili */
  .block-do-container {
    display: block;
  }

  .select-method {
    display: block;
  }

  .contatti-button {
    display: block;
  }

  .lista-menu-cercadona li:first-child {
    width: 100%;
  }
  
  .lista-menu-cercadona button {
    width: 100%;
    padding-top: 0;
    padding-bottom: 0;
  }

  .lista-menu-cercadona {
    padding-left: 40px;
  }

  .header2nd img {
    height: 12.02vh;
    width: auto;
  }
  
  #block-homeourmission .content .field--name-body p {
    /*background-position: -40em;*/
    background-position: center;
  }

  #block-offriunasantamessa .content .field--name-body p {
    /*background-size: 75vh;*/
    background-size: cover;
    background-position: center;
    /*background-position-x: -8em;*/
  }
  
  .path-frontpage #block-offriunasantamessa.ndSectionHome .text-formatted p:nth-child(1) {
    height: 42vh;
  }
  
  .path-frontpage .ndSectionHome#block-homeourmission .text-formatted p:nth-child(1) {
    height: 40vh;
    /*background-position-x: -20em;*/
    background-position: center;
  }
  
  #div_video {
    height: 33vh !important;
  }
  .ytPlayerVideo {
    padding-right: 0;
  }
  .path-frontpage .featured-top {
    margin-top: 7em;
  }
  /*slider mobile*/
  .header-home-mobile,
  .header-home-mobile .view-content.row,
  .header-home-mobile .view-content.row .carousel-inner,
  .header-home-mobile .view-content.row .carousel-inner .carousel-item,
  .header-home-mobile .view-content.row .carousel-inner .carousel-item img {
    width: auto;
    height: 38.6vh !important;
  }
  .header-home-mobile .view-content.row .carousel-inner .carousel-item img {
    width: auto;
  }
  
  .header-home {
    display: none;
  }
  .header-home-mobile {
    display: block;
  }
  
  .path-frontpage .header-home-mobile .carousel-item h3 {
	  bottom: 0;
    width: 100%;
    position: absolute;
    text-align: left;
    height: auto;
    min-height: 16vh;
    background-color: #ffffff;
    opacity: 0.8;
    font-family: 'Martel', serif;
    margin: 0;
    font-weight: 700;
    padding: .6em;
    font-size: 1.2rem;
  }
  /**/
  
  .path-frontpage .header-home-mobile .carousel-item h3 a {
    font-size: .9rem;
    font-weight: 600;
    padding-bottom: 0;
    width: 100%;
    line-height: 1.4em;
    height: 3em;
    /*overflow: hidden;*/
    /*display: -webkit-box;*/
    /*-webkit-box-orient: vertical;*/
    /*-webkit-line-clamp: 3;*/
    display: block;
  }
  
  .path-frontpage .layout-main-wrapper section h2 {
    font-size: 100%;
  }
  
  .home_grid_content_row {
    height: 22vh !important;
  }
  #block-views-block-xdev-homeappuntamenti-block-1 {
    padding-bottom: 0 !important;
  }
  .node--type-progetti-in-corso #block-acsitalia-content .field--name-field-immagine .field__item img,
  .path-taxonomy #block-acsitalia-content .node--type-progetti-in-corso .field--name-field-immagine .field__item img,
  .node--type-notizie-dal-mondo #block-acsitalia-content .field--name-field-ndm-image .field__item img,
  .node--type-appuntamenti-acs #block-acsitalia-content .field--name-field-appnt-image .field__item img {
    display: block;
    width: 90vw;
    height: auto;
  }
  .ds-2col-stacked-fluid>.group-left .field--name-node-title h2{
    text-align: initial;
  }
  .rapportorl-page {
    padding-bottom: 0em;
  }
  
  .node--type-pubblicazioni-acs #block-acsitalia-content .field--name-field-pacs-image .field__item img {
    width: 90vw;
    height: auto;
  }
  .path-elenco-progetti-in-corso #main-wrapper {
    margin-top: 20vh !important;
  }


  .path-elenco-progetti-in-corso #block-acsitalia-content .view-elencoprogettiincorso form.views-exposed-form fieldset.form-group.col-auto,
  .path-elenco-progetti-in-corso #block-acsitalia-content .view-elencoprogettiincorso form.views-exposed-form .form-actions,
  .path-elenco-progetti-in-corso #block-acsitalia-content .view-elencoprogettiincorso form.views-exposed-form .form-actions button.form-submit.btn.btn-primary {
	  width: 100%;
  }
  
  .page-node-9526 .row {
    margin-right: 0;
    margin-left: 0;
  }
  
  .page-node-9526 #main.container-fluid {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  
  .page-node-9526 .main-content{
    padding-left: 0;
    padding-right: 0;
  }
  
  .page-node-9526 #img1-background {
    background-position-x: center;
	  background-position-y: top;
    background-size: 56.2vh;
    height: 37vh;
  }
  
  .page-node-9526 #img2-background {
	  background-position-y: 0vh;
    background-size: 85vh;
    background-position-x: center;
    background-size: 56.2vh;
    height: 37vh;
  }
  
  .page-node-9526 .img1_missioneevalori h3,
  .page-node-9526 .img2_missioneevalori h3 {
	  font-size: 1rem;
    line-height: 1.3em;
    margin: 0;
    width: 100%;
  }

  .page-node-9526 .img1_missioneevalori h3,
  .page-node-9526 .img2_missioneevalori h3 {
    top: 30vh;
  }

  .page-node-9526 .titolo-missioneevalori,
  .page-node-9526 .text1-missioneevalori,
  .page-node-9526 .text2-missioneevalori {
    padding-left: 15px;
    padding-right: 15px;
  }
}

/* iPhone X/XS in landscape ----------- */

@media only screen and (min-device-width: 375px) and (max-device-width: 812px) and (-webkit-device-pixel-ratio: 3) and (orientation: landscape) {

  /*.header-home,
  .header-home .view-content.row,
  .header-home .view-content.row .carousel-inner,
  .header-home .view-content.row .carousel-inner .carousel-item,
  .header-home .view-content.row .carousel-inner .carousel-item img {
    height: 57vh;
  }

  .header-home .view-content.row .carousel-inner .carousel-item img {
    width: auto;
  }*/
  
  .header-home,
  .header-home .view-content.row,
  .header-home .view-content.row .carousel-inner,
  .header-home .view-content.row .carousel-inner .carousel-item,
  .header-home .view-content.row .carousel-inner .carousel-item img {
    height: auto;
  }

  .header-home .view-content.row .carousel-inner .carousel-item img {
    width: 100%;
  }
  
  .block-views.block-views-blockxdev-homenews-block-1,
  .block-views.block-views-blockxdev-homeprogettiincorso-block-1,
  .block-views.block-views-blockxdev-homeappuntamenti-block-1 {
    padding: 0 4.5vw;
  }

  #title-and-data {
    width: 80%;
  }

  .path-frontpage .block-views.block-views-blockxdev-homenews-block-1 .home_grid_content_row,
  .path-frontpage .block-views.block-views-blockxdev-homeprogettiincorso-block-1 .home_grid_content_row,
  .path-frontpage .block-views.block-views-blockxdev-homeappuntamenti-block-1 .home_grid_content_row {
    margin: 0 auto;
  }
  
  .path-frontpage .ndSectionHome .text-formatted p:nth-child(1) {
    background-size: 100%;
  }
  
  .path-frontpage .ndSectionHome#block-homelibertareligiosa .text-formatted p:nth-child(1) {
    background-position: center;
  }

  .path-frontpage .ndSectionHome .text-formatted h3 {
    font-size: 1rem;
    line-height: 1.3em;
    margin: 0 10%;
    width: 80%;
    top: 54vh;
  }

  #text-our-mission,
  #text-i-numeri-acs,
  #text-offri-santa-messa,
  #text-liberta-religiosa-nel-mondo {
    font-size: 0.8em;
  }

  .path-node #main-wrapper #main.container-fluid {
    padding: 0 4.5vw;
  }

  .path-node .views-field.views-field-field-eco-image .field-content {
    width: max-content;
    margin: 0 auto;
  }

  .path-node .view-eco-dell-amore img {
    width: auto;
    height: 50vh;
  }

  .page-link {
    padding: 1vh 2.5vw 1vh 2.5vw;
  }

  /* Dona ora sezioni cliccabili */
  .block-do-container {
    display: block;
  }

  .select-method {
    display: block;
  }

  .contatti-button {
    display: block;
  }

  .lista-menu-cercadona li:first-child {
    width: 100%;
  }
  
  .lista-menu-cercadona button {
    width: 100%;
    padding-top: 0;
    padding-bottom: 0;
  }

  .lista-menu-cercadona {
    padding-left: 40px;
  }

  .header2nd img {
    height: 12.02vh;
    width: auto;
  }

  .path-frontpage .featured-top {
    margin-top: 7em;
  }

  #block-offriunasantamessa .content .field--name-body p {
    /*background-size: 217vh;*/
    /*background-size: 100%;*/
    /*background-position-x: 0;*/
    /*background-position-y: -1em;*/
    background-size: cover;
    background-position: center;
  }
  
  .home_grid_content_row {
    height: 50vh;
  }
  .path-video #main-wrapper,
  .path-doni-di-fede-video #main-wrapper{
    margin-top: 20vh;
  }
  .ytPlayerVideo {
    padding-right: 0;
  }
  .ytPlayerVideo #frame {
    width: 100%;
    height: 98vh;
  }
  #div_video {
    height: 48vh !important;
  }
}

/*-----------Galaxy S4, S5, Note 3 portrait -----------*/
@media only screen and (min-device-width: 360px) and (max-device-height: 640px) and (orientation: portrait) and (-webkit-min-device-pixel-ratio: 3) {
  body {
    padding-top: 7vh;
  }

  .navbar {
    height: 16vh;
    padding: 0 5vw;
  }

  #span-donaora {
    font-size: 1.1rem;
  }
  

  .header-home,
  .header-home .view-content.row,
  .header-home .view-content.row .carousel-inner,
  .header-home .view-content.row .carousel-inner .carousel-item,
  .header-home .view-content.row .carousel-inner .carousel-item img {
    height: 14.7vh;
  }

  .header-home .view-content.row .carousel-inner .carousel-item img {
    width: auto;
  }
  
  .path-frontpage .header-home-mobile .carousel-item h3 {
    bottom: 0;
    width: 100%;
    position: absolute;
    text-align: left;
    height: auto;
    min-height: 16vh;
    background-color: #ffffff;
    opacity: 0.8;
    font-family: 'Martel', serif;
    margin: 0;
    font-weight: 700;
    padding: .6em;
    font-size: 1.2rem;
  }
  
  .path-frontpage .header-home-mobile .carousel-item h3 a {
    font-size: .9rem;
    font-weight: 600;
    padding-bottom: 0;
    width: 100%;
    line-height: 1.1em;
    height: 3em;
    /*overflow: hidden;*/
    /*display: -webkit-box;*/
    /*-webkit-box-orient: vertical;*/
    /*-webkit-line-clamp: 3;*/
    display: block;
  }
  
  .path-frontpage .layout-main-wrapper section h2 {
    font-size: 100%;
  }

  .block-views.block-views-blockxdev-homenews-block-1,
  .block-views.block-views-blockxdev-homeprogettiincorso-block-1,
  .block-views.block-views-blockxdev-homeappuntamenti-block-1 {
    padding: 0 4.5vw;
  }

  #title-and-data {
    width: 80%;
  }

  .path-frontpage .block-views.block-views-blockxdev-homenews-block-1 .home_grid_content_row,
  .path-frontpage .block-views.block-views-blockxdev-homeprogettiincorso-block-1 .home_grid_content_row,
  .path-frontpage .block-views.block-views-blockxdev-homeappuntamenti-block-1 .home_grid_content_row {
    margin: 0 auto;
  }

  .path-frontpage .ndSectionHome .text-formatted h3 {
    font-size: 1rem;
    line-height: 1.3em;
    margin: 0%;
    width: 100%;
    top: 38vh;
  }
  
  .path-frontpage #block-offriunasantamessa.ndSectionHome .text-formatted h3 {
    /*top: 35vh;*/
  }

  #text-our-mission,
  #text-i-numeri-acs,
  #text-offri-santa-messa,
  #text-liberta-religiosa-nel-mondo {
    font-size: 0.8em;
  }

  .path-node #main-wrapper #main.container-fluid {
    padding: 0 4.5vw;
  }

  .home_grid_content_row {
    height: 30vh;
  }

  .page-link {
    padding: 1vh 2.5vw 1vh 2.5vw;
  }

  .select-method {
    display: block;
  }

  .page-node-8346 #main-wrapper {
    margin-top: 15vh;
  }

  .title-2ndHeader-center {
    width: 90%;
    height: auto;
    left: 5%;
  }

  #title-2ndHeader-h1 {
    padding: 15px 20px 12px 20px;
  }

  #title-2ndHeader-h1 h1 {
    font-size: 22px;
    line-height: 1.3em;
  }

  #title-2ndHeader-h1 {
    padding: 15px 20px 12px 20px;
  }

  #title-2ndHeader-h1 h1 {
    font-size: 11px;
    line-height: 1.3em;
  }

  #main-wrapper {
    margin-top: 5vh;
  }
  
  .path-search #main-wrapper {
    margin-top: 25vh;
  }
  
  .path-search .views-exposed-form form,
  .path-search .views-exposed-form form div.form-row fieldset.form-group {
    width: 100%;
  }
  
  div#block-acsitalia-content .content table td:first-child {
    display: none;
  }
  
  .path-node #main-wrapper {
    margin-top: 25vh;
  }
  
  .node--type-grandi-eventi #main-wrapper,
  .node--type-progetti-in-corso #main-wrapper,
  .node--type-notizie-dal-mondo #main-wrapper,
  .node--type-pubblicazioni-acs #main-wrapper {
    margin-top: 25vh;
  }
  
  .path-video #main-wrapper,
  .path-doni-di-fede-video #main-wrapper{
    margin-top: 25vh;
  }

  .path-node .views-field.views-field-field-eco-image .field-content {
    width: max-content;
    margin: 0 auto;
  }

  .lista-menu-cercadona li:first-child {
    width: 100%;
  }
  
  .lista-menu-cercadona button {
    width: 100%;
    padding-top: 0;
    padding-bottom: 0;
  }

  .lista-menu-cercadona {
    padding-left: 40px;
  }

  .path-node .view-eco-dell-amore img {
    width: auto;
    height: 65vh;
  }

  .contatti-button {
    display: block;
  }

  .view-elencoprogettiincorso .form-row *:not(#edit-submit-elencoprogettiincorso) {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .node--type-grandi-eventi .featured-top {
    margin-top: 7em;
  }

  .header2nd img {
    height: 14.65vh;
    width: auto;
  }

  .node--type-contenuti-generici #main-wrapper {
    margin-top: 25vh;
  }

  #block-offriunasantamessa .content .field--name-body p {
    /*background-size: 75vh;*/
    background-size: cover;
    /*background-position-x: -5.7em !important;*/
    /*background-position-y: 0 !important;*/
    background-position: center;
  }
  .ytPlayerVideo {
    padding-right: 0;
  }
  #div_video {
    height: 33.5vh !important;
  }
  .path-frontpage .featured-top {
  margin-top: 7em;
}
/*slider mobile*/
.header-home-mobile,
.header-home-mobile .view-content.row,
.header-home-mobile .view-content.row .carousel-inner,
.header-home-mobile .view-content.row .carousel-inner .carousel-item,
.header-home-mobile .view-content.row .carousel-inner .carousel-item img {
    width: auto;
  height: 43.5vh;
}
.header-home-mobile .view-content.row .carousel-inner .carousel-item img {
  width: auto;
}

.header-home {
  display: none;
}
.header-home-mobile {
  display: block;
}

  .path-frontpage .header-home-mobile .carousel-item h3 {
	  bottom: 0;
    width: 100%;
    position: absolute;
    text-align: left;
    height: auto;
    min-height: 16vh;
    background-color: #ffffff;
    opacity: 0.8;
    font-family: 'Martel', serif;
    margin: 0;
    font-weight: 700;
    padding: .6em;
    font-size: 1.2rem;
  }
  
  /*.path-frontpage .header-home-mobile .carousel-item h3 {
    font-size: 17px;
    font-weight: 600;
    padding-bottom: 5px;
    width: 100%;
    line-height: 1.1em;
    height: 4em;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
  }*/
  
  .path-frontpage .header-home-mobile .carousel-item h3 {
  }
  
  #block-homeourmission .content .field--name-body p {
    /*background-position: -20em;*/
    background-position: center;
  }
/**/

  /*newsletter*/
  #block-simplenewssubscription {
    margin: 0 auto;
    width: 100%;
    text-align: center;
  }
  
  .path-frontpage .ndSectionHome .text-formatted p:nth-child(1) {
    height: 45vh;
  }
  
  .path-frontpage .ndSectionHome#block-homelibertareligiosa .text-formatted p:nth-child(1) {
    background-position: center;
  }
  
  .node--type-progetti-in-corso #block-acsitalia-content .field--name-field-immagine .field__item img,
  .path-taxonomy #block-acsitalia-content .node--type-progetti-in-corso .field--name-field-immagine .field__item img,
  .node--type-notizie-dal-mondo #block-acsitalia-content .field--name-field-ndm-image .field__item img,
  .node--type-appuntamenti-acs #block-acsitalia-content .field--name-field-appnt-image .field__item img {
    display: block;
    width: 90vw;
    height: auto;
  }
  
  .ds-2col-stacked-fluid>.group-left .field--name-node-title h2{
    text-align: initial;
  }
  
  .rapportorl-page {
    padding-bottom: 0em;
  }
  
  .node--type-pubblicazioni-acs #block-acsitalia-content .field--name-field-pacs-image .field__item img {
    width: 90vw;
    height: auto;
  }
  
  .path-elenco-progetti-in-corso #main-wrapper {
    margin-top: 25vh !important;
  }


  .path-elenco-progetti-in-corso #block-acsitalia-content .view-elencoprogettiincorso form.views-exposed-form fieldset.form-group.col-auto,
  .path-elenco-progetti-in-corso #block-acsitalia-content .view-elencoprogettiincorso form.views-exposed-form .form-actions,
  .path-elenco-progetti-in-corso #block-acsitalia-content .view-elencoprogettiincorso form.views-exposed-form .form-actions button.form-submit.btn.btn-primary {
	  width: 100%;
  }
  
  /*search*/
  .navbar, .highlighted {
    padding: 0 5vw;
  }
  /*------*/
  .page-node-9526 .row {
    margin-right: 0;
    margin-left: 0;
  }
  
  .page-node-9526 #main.container-fluid {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  
  .page-node-9526 .main-content{
    padding-left: 0;
    padding-right: 0;
  }
  
  .page-node-9526 #img1-background {
    background-position-x: center;
	  background-position-y: top;
    background-size: 56.2vh;
    height: 37vh;
  }
  
  .page-node-9526 #img2-background {
	  background-position-y: 0vh;
    background-size: 85vh;
    background-position-x: center;
    background-size: 56.2vh;
    height: 37vh;
  }
  
  .page-node-9526 .img1_missioneevalori h3,
  .page-node-9526 .img2_missioneevalori h3 {
	  font-size: 1rem;
    line-height: 1.3em;
    margin: 0;
    width: 100%;
  }

  .page-node-9526 .img1_missioneevalori h3,
  .page-node-9526 .img2_missioneevalori h3 {
    top: 30vh;
  }

  .page-node-9526 .titolo-missioneevalori,
  .page-node-9526 .text1-missioneevalori,
  .page-node-9526 .text2-missioneevalori {
    padding-left: 15px;
    padding-right: 15px;
  }
}

/*-----------Galaxy S4, S5, Note 3 landscape-----------*/
@media only screen and (min-device-width: 360px) and (max-device-width: 640px) and (orientation: landscape) and (-webkit-min-device-pixel-ratio: 3) {
  body {
    padding-top: 7vh;
  }

  .navbar {
    height: 16vh;
  }

  #span-donaora {
    font-size: 1.1rem;
  }

  /*.header-home,
  .header-home .view-content.row,
  .header-home .view-content.row .carousel-inner,
  .header-home .view-content.row .carousel-inner .carousel-item,
  .header-home .view-content.row .carousel-inner .carousel-item img {
    height: 46.3vh;
  }

  .header-home .view-content.row .carousel-inner .carousel-item img {
    width: auto;
  }*/
  
  .header-home,
  .header-home .view-content.row,
  .header-home .view-content.row .carousel-inner,
  .header-home .view-content.row .carousel-inner .carousel-item,
  .header-home .view-content.row .carousel-inner .carousel-item img {
    height: auto;
  }

  .header-home .view-content.row .carousel-inner .carousel-item img {
    width: 100%;
  }

  .block-views.block-views-blockxdev-homenews-block-1,
  .block-views.block-views-blockxdev-homeprogettiincorso-block-1,
  .block-views.block-views-blockxdev-homeappuntamenti-block-1 {
    padding: 0 4.5vw;
  }

  #title-and-data {
    width: 80%;
  }

  .path-frontpage .block-views.block-views-blockxdev-homenews-block-1 .home_grid_content_row,
  .path-frontpage .block-views.block-views-blockxdev-homeprogettiincorso-block-1 .home_grid_content_row,
  .path-frontpage .block-views.block-views-blockxdev-homeappuntamenti-block-1 .home_grid_content_row {
    margin: 0 auto;
  }

  .path-frontpage .ndSectionHome .text-formatted h3 {
    font-size: 1rem;
    line-height: 1.3em;
    margin: 0%;
    width: 100%;
    top: 54vh;
  }

  #text-our-mission,
  #text-i-numeri-acs,
  #text-offri-santa-messa,
  #text-liberta-religiosa-nel-mondo {
    font-size: 0.8em;
  }

  .path-node #main-wrapper #main.container-fluid {
    padding: 0 4.5vw;
  }

  .home_grid_content_row {
    height: 55vh;
  }

  .page-link {
    padding: 1vh 2.5vw 1vh 2.5vw;
  }

  .select-method {
    display: block;
  }

  .page-node-8346 #main-wrapper {
    margin-top: 15vh;
  }

  .title-2ndHeader-center {
    width: 90%;
    height: auto;
    left: 5%;
  }

  #title-2ndHeader-h1 {
    padding: 15px 20px 12px 20px;
  }

  #title-2ndHeader-h1 h1 {
    font-size: 22px;
    line-height: 1.3em;
  }

  #title-2ndHeader-h1 {
    padding: 15px 20px 12px 20px;
  }

  #title-2ndHeader-h1 h1 {
    font-size: 15px;
    line-height: 1.3em;
  }

  #main-wrapper {
    margin-top: 5vh;
  }
  
    
  .path-search #main-wrapper {
    margin-top: 42vh;
  }

  .path-video #main-wrapper,
  .path-doni-di-fede-video #main-wrapper{
    margin-top: 25vh;
  }

  .path-node .views-field.views-field-field-eco-image .field-content {
    width: max-content;
    margin: 0 auto;
  }

  .lista-menu-cercadona li:first-child {
    width: 100%;
  }
  
  .lista-menu-cercadona button {
    width: 100%;
    padding-top: 0;
    padding-bottom: 0;
  }

  .lista-menu-cercadona {
    padding-left: 40px;
  }

  .path-node .view-eco-dell-amore img {
    width: auto;
    height: 65vh;
  }

  .contatti-button {
    display: block;
  }

  .view-elencoprogettiincorso .form-row *:not(#edit-submit-elencoprogettiincorso) {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .node--type-grandi-eventi .featured-top {
    margin-top: 7em;
  }

  .header2nd img {
    height: 14.65vh;
    width: auto;
  }

  .path-frontpage .featured-top {
    margin-top: 7em;
  }

  .node--type-contenuti-generici #main-wrapper {
    margin-top: 25vh;
  }

  #block-offriunasantamessa .content .field--name-body p {
    /*background-size: 178vh;*/
    background-size: cover;
    background-position: center;
    /*background-position-x: 0;*/
    /*background-position-y: 0;*/
  }
  #div_video {
    height: 38vh !important;
  }
  
  /*search*/
  .navbar, .highlighted {
    padding: 0 5vw;
  }
  /*------*/
}

/* ----------- iPhone 6+, 7+ and 8+ Portrait ----------- */
@media only screen and (min-device-width: 414px) and (max-device-width: 736px) and (-webkit-min-device-pixel-ratio: 3) and (orientation: portrait) {
  body {
    padding-top: 7vh;
  }

  .navbar {
    height: 16vh;
  }

  #span-donaora {
    font-size: 1.1rem;
  }

  /*.header-home,
  .header-home .view-content.row,
  .header-home .view-content.row .carousel-inner,
  .header-home .view-content.row .carousel-inner .carousel-item,
  .header-home .view-content.row .carousel-inner .carousel-item img {
    height: 14.7vh !important;
  }

  .header-home .view-content.row .carousel-inner .carousel-item img {
    width: auto;
  }*/
  .header-home-mobile,
  .header-home-mobile .view-content.row,
  .header-home-mobile .view-content.row .carousel-inner,
  .header-home-mobile .view-content.row .carousel-inner .carousel-item,
  .header-home-mobile .view-content.row .carousel-inner .carousel-item img {
    width: auto;
    height: 43.4vh !important;
  }
  
  .path-frontpage #main-wrapper {
    margin-top: 1vh;
  }
  
  #main-wrapper {
    margin-top: 20vh;
  }
  
  .path-search #main-wrapper {
    margin-top: 20vh;
  }
  
  .path-search .views-exposed-form form,
  .path-search .views-exposed-form form div.form-row fieldset.form-group {
    width: 100%;
  }
  
  div#block-acsitalia-content .content table td:first-child {
    display: none;
  }
  
  .path-frontpage .header-home-mobile .carousel-item h3 {
    bottom: 0;
    width: 100%;
    position: absolute;
    text-align: left;
    height: auto;
    min-height: 16vh;
    background-color: #ffffff;
    opacity: 0.8;
    font-family: 'Martel', serif;
    margin: 0;
    font-weight: 700;
    padding: .6em;
    font-size: 1.2rem;
  }
  
  .path-frontpage .header-home-mobile .carousel-item h3 a {
    font-size: .9rem;
    font-weight: 600;
    padding-bottom: 0;
    width: 100%;
    line-height: 1.1em;
    height: 3em;
    /*overflow: hidden;*/
    /*display: -webkit-box;*/
    /*-webkit-box-orient: vertical;*/
    /*-webkit-line-clamp: 3;*/
    display: block;
  }
  
  .path-frontpage .layout-main-wrapper section h2 {
    font-size: 100%;
  }

  .block-views.block-views-blockxdev-homenews-block-1,
  .block-views.block-views-blockxdev-homeprogettiincorso-block-1,
  .block-views.block-views-blockxdev-homeappuntamenti-block-1 {
    padding: 0 4.5vw;
  }

  #title-and-data {
    width: 80%;
  }

  .path-frontpage .block-views.block-views-blockxdev-homenews-block-1 .home_grid_content_row,
  .path-frontpage .block-views.block-views-blockxdev-homeprogettiincorso-block-1 .home_grid_content_row,
  .path-frontpage .block-views.block-views-blockxdev-homeappuntamenti-block-1 .home_grid_content_row {
    margin: 0 auto;
  }

  .path-frontpage .ndSectionHome .text-formatted h3 {
    font-size: 1em;
    line-height: 1.3em;
    margin: 0;
    width: 100%;
  }
  
  .path-frontpage #block-homeourmission.ndSectionHome .text-formatted h3 {
    top: 33vh;
  }

  #title-2ndHeader-h1 {
    padding: 15px 20px 12px 20px;
  }

  #title-2ndHeader-h1 h1 {
    font-size: 13px;
    line-height: 1.3em;
  }

  #text-our-mission,
  #text-i-numeri-acs,
  #text-offri-santa-messa,
  #text-liberta-religiosa-nel-mondo {
    font-size: 0.8em;
  }

  .path-node #main-wrapper #main.container-fluid {
    padding: 0 4.5vw;
  }

  .page-link {
    padding: 1vh 2.5vw 1vh 2.5vw;
  }

  .title-2ndHeader-center {
    width: 90%;
    height: auto;
    left: 5%;
  }

  .home_grid_content_row {
    height: 25vh;
  }

  .select-method {
    display: block;
  }

  .card-row {
    display: block;
  }

  .card-altred {
    margin: 0 0 1em 0;
  }
  
  .path-node .view-eco-dell-amore img {
    height: 65vh;
  }

  /* Dona ora sezioni cliccabili */
  .block-do-container {
    display: block;
  }

  .contatti-button {
    display: block;
  }

  .lista-menu-cercadona li:first-child {
    width: 100%;
  }
  
  .lista-menu-cercadona button {
    width: 100%;
    padding-top: 0;
    padding-bottom: 0;
  }

  .lista-menu-cercadona {
    padding-left: 40px;
  }

  .header2nd img {
    height: 14.7vh;
    width: auto;
  }

  #block-offriunasantamessa .content .field--name-body p {
    /*background-position-x: -10em;*/
    background-position: center;
    background-size: cover;
  }
  
  /*#block-offriunasantamessa .content .field--name-body p {
    background-position-y: 0;
    background-position-x: -6.5em;
    background-size: 83vh;
  }*/
    #div_video {
    height: 39.2vh !important;
  }
  .path-frontpage .featured-top {
    margin-top: 7em;
  }
  /*slider mobile*/
  .header-home-mobile,
  .header-home-mobile .view-content.row,
  .header-home-mobile .view-content.row .carousel-inner,
  .header-home-mobile .view-content.row .carousel-inner .carousel-item,
  .header-home-mobile .view-content.row .carousel-inner .carousel-item img {
      width: auto;
    height: 43.5vh;
  }
  .header-home-mobile .view-content.row .carousel-inner .carousel-item img {
    width: auto;
  }
  
  .header-home {
    display: none;
  }
  .header-home-mobile {
    display: block;
  }
  /**/
  
  .node--type-progetti-in-corso #block-acsitalia-content .field--name-field-immagine .field__item img,
  .path-taxonomy #block-acsitalia-content .node--type-progetti-in-corso .field--name-field-immagine .field__item img,
  .node--type-notizie-dal-mondo #block-acsitalia-content .field--name-field-ndm-image .field__item img,
  .node--type-appuntamenti-acs #block-acsitalia-content .field--name-field-appnt-image .field__item img {
    display: block;
    width: 90vw;
    height: auto;
  }
  
  .ds-2col-stacked-fluid>.group-left .field--name-node-title h2{
    text-align: initial;
  }
  
  .rapportorl-page {
    padding-bottom: 0em;
  }
  
  .node--type-pubblicazioni-acs #block-acsitalia-content .field--name-field-pacs-image .field__item img {
    width: 90vw;
    height: auto;
  }
  
  #block-offriunasantamessa .content .field--name-body p {
    /*background-size: 75vh;*/
    background-size: cover;
    background-position: center;
    /*background-position-x: -2em;*/
  }
  
  .path-elenco-progetti-in-corso #main-wrapper {
    margin-top: 20vh !important;
  }


  .path-elenco-progetti-in-corso #block-acsitalia-content .view-elencoprogettiincorso form.views-exposed-form fieldset.form-group.col-auto,
  .path-elenco-progetti-in-corso #block-acsitalia-content .view-elencoprogettiincorso form.views-exposed-form .form-actions,
  .path-elenco-progetti-in-corso #block-acsitalia-content .view-elencoprogettiincorso form.views-exposed-form .form-actions button.form-submit.btn.btn-primary {
	  width: 100%;
  }
  .page-node-9526 .row {
    margin-right: 0;
    margin-left: 0;
  }
  
  .page-node-9526 #main.container-fluid {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  
  .page-node-9526 .main-content{
    padding-left: 0;
    padding-right: 0;
  }
  
  .page-node-9526 #img1-background {
    background-position-x: center;
	  background-position-y: top;
    background-size: 56.2vh;
    height: 37vh;
  }
  
  .page-node-9526 #img2-background {
	  background-position-y: 0vh;
    background-size: 85vh;
    background-position-x: center;
    background-size: 56.2vh;
    height: 37vh;
  }
  
  .page-node-9526 .img1_missioneevalori h3,
  .page-node-9526 .img2_missioneevalori h3 {
	  font-size: 1rem;
    line-height: 1.3em;
    margin: 0;
    width: 100%;
  }

  .page-node-9526 .img1_missioneevalori h3,
  .page-node-9526 .img2_missioneevalori h3 {
    top: 30vh;
  }

  .page-node-9526 .titolo-missioneevalori,
  .page-node-9526 .text1-missioneevalori,
  .page-node-9526 .text2-missioneevalori {
    padding-left: 15px;
    padding-right: 15px;
  }
  
  /*la nostra missione homepage background*/
  .path-frontpage .ndSectionHome#block-homeourmission .text-formatted p:nth-child(1) {
    /*background-position-x: -18em;*/
    background-position: center;
  }
  /*--------------------------------------*/
}

/* ----------- iPhone 6+, 7+ and 8+ Landscape ----------- */
@media only screen and (min-device-width: 414px) and (max-device-width: 736px) and (-webkit-min-device-pixel-ratio: 3) and (orientation: landscape) {
  body {
    padding-top: 7vh;
  }

  .navbar {
    height: 16vh;
  }

  #span-donaora {
    font-size: 1.1rem;
  }

  /*.header-home,
  .header-home .view-content.row,
  .header-home .view-content.row .carousel-inner,
  .header-home .view-content.row .carousel-inner .carousel-item,
  .header-home .view-content.row .carousel-inner .carousel-item img {
    height: 46.3vh;
  }

  .header-home .view-content.row .carousel-inner .carousel-item img {
    width: auto;
  }*/
  
  .header-home,
  .header-home .view-content.row,
  .header-home .view-content.row .carousel-inner,
  .header-home .view-content.row .carousel-inner .carousel-item,
  .header-home .view-content.row .carousel-inner .carousel-item img {
    height: auto;
  }

  .header-home .view-content.row .carousel-inner .carousel-item img {
    width: 100%;
  }
  
  .donaora-mobile {
    padding-top: 4em;
  }
  
  .path-frontpage .featured-top {
    margin-top: 8em;
  }

  .block-views.block-views-blockxdev-homenews-block-1,
  .block-views.block-views-blockxdev-homeprogettiincorso-block-1,
  .block-views.block-views-blockxdev-homeappuntamenti-block-1 {
    padding: 0 4.5vw;
  }

  #title-and-data {
    width: 80%;
  }

  .path-frontpage .block-views.block-views-blockxdev-homenews-block-1 .home_grid_content_row,
  .path-frontpage .block-views.block-views-blockxdev-homeprogettiincorso-block-1 .home_grid_content_row,
  .path-frontpage .block-views.block-views-blockxdev-homeappuntamenti-block-1 .home_grid_content_row {
    margin: 0 auto;
  }

  .path-frontpage .ndSectionHome .text-formatted h3 {
    font-size: 1em;
    line-height: 1.3em;
    margin: 0;
    width: 100%;
  }

  #title-2ndHeader-h1 {
    padding: 15px 20px 12px 20px;
  }

  #title-2ndHeader-h1 h1 {
    font-size: 22px;
    line-height: 1.3em;
  }

  #text-our-mission,
  #text-i-numeri-acs,
  #text-offri-santa-messa,
  #text-liberta-religiosa-nel-mondo {
    font-size: 0.8em;
  }

  .path-node #main-wrapper #main.container-fluid {
    padding: 0 4.5vw;
  }

  .page-link {
    padding: 1vh 2.5vw 1vh 2.5vw;
  }

  .title-2ndHeader-center {
    width: 90%;
    height: auto;
    left: 5%;
  }

  .home_grid_content_row {
    height: 50vh;
  }

  .select-method {
    display: block;
  }

  .card-row {
    display: block;
  }

  .card-altred {
    margin: 0 0 1em 0;
  }

  /* Dona ora sezioni cliccabili */
  .block-do-container {
    display: block;
  }

  .contatti-button {
    display: block;
  }

  .lista-menu-cercadona li:first-child {
    width: 100%;
  }
  
  .lista-menu-cercadona button {
    width: 100%;
    padding-top: 0;
    padding-bottom: 0;
  }

  .lista-menu-cercadona {
    padding-left: 40px;
  }

  .header2nd img {
    height: 14.7vh;
    width: auto;
  }

  #block-offriunasantamessa .content .field--name-body p {
    /*background-position-x: 0;*/
    /*background-position-y: 0;*/
    /*background-size: 35.5em;*/
    background-size: cover;
    background-position: center;
  }
  
  .node--type-eco-dell-amore #main-wrapper {
    margin-top: 40vh;
}
  .path-node.node--type-eco-dell-amore .flipping-book-iframe {
    width: 100%;
    height: 180vh;
  }
  .path-video #main-wrapper,
  .path-doni-di-fede-video #main-wrapper{
    margin-top: 35vh;
  }
}

/*----------- Pixel 2 XL in portrait ----------- */
@media only screen and (min-width: 411px) and (max-device-width: 823px) and (orientation: portrait) and (-webkit-min-device-pixel-ratio: 3.5) {

  /*.header-home,
  .header-home .view-content.row,
  .header-home .view-content.row .carousel-inner,
  .header-home .view-content.row .carousel-inner .carousel-item,
  .header-home .view-content.row .carousel-inner .carousel-item img {
    height: 13vh !important;
  }

  .header-home .view-content.row .carousel-inner .carousel-item img {
    width: auto;
  }*/
  /*slider mobile*/
.header-home-mobile,
.header-home-mobile .view-content.row,
.header-home-mobile .view-content.row .carousel-inner,
.header-home-mobile .view-content.row .carousel-inner .carousel-item,
.header-home-mobile .view-content.row .carousel-inner .carousel-item img {
    width: auto;
  height: 38.5vh;
}
.header-home-mobile .view-content.row .carousel-inner .carousel-item img {
  width: auto;
}

.path-frontpage #main-wrapper {
    margin-top: 1vh;
  }

  #main-wrapper {
    margin-top: 20vh;
  }

  .path-search #main-wrapper {
    margin-top: 20vh;
  }
  
  .path-search .views-exposed-form form,
  .path-search .views-exposed-form form div.form-row fieldset.form-group {
    width: 100%;
  }
  
  div#block-acsitalia-content .content table td:first-child {
    display: none;
  }

.path-frontpage .header-home-mobile .carousel-item h3 {
    bottom: 0;
    width: 100%;
    position: absolute;
    text-align: left;
    height: auto;
    min-height: 16vh;
    background-color: #ffffff;
    opacity: 0.8;
    font-family: 'Martel', serif;
    margin: 0;
    font-weight: 700;
    padding: .6em;
    font-size: 1.2rem;
}

.path-frontpage .header-home-mobile .carousel-item h3 a {
    font-size: .9rem;
    font-weight: 600;
    padding-bottom: 0;
    width: 100%;
    line-height: 1.1em;
    height: 3em;
    /*overflow: hidden;*/
    /*display: -webkit-box;*/
    /*-webkit-box-orient: vertical;*/
    /*-webkit-line-clamp: 3;*/
    display: block;
  }
  
  .path-frontpage .layout-main-wrapper section h2 {
    font-size: 100%;
  }

  .block-views.block-views-blockxdev-homenews-block-1,
  .block-views.block-views-blockxdev-homeprogettiincorso-block-1,
  .block-views.block-views-blockxdev-homeappuntamenti-block-1 {
    padding: 0 4.5vw;
  }

  #title-and-data {
    width: 80%;
  }

  .path-frontpage .block-views.block-views-blockxdev-homenews-block-1 .home_grid_content_row,
  .path-frontpage .block-views.block-views-blockxdev-homeprogettiincorso-block-1 .home_grid_content_row,
  .path-frontpage .block-views.block-views-blockxdev-homeappuntamenti-block-1 .home_grid_content_row {
    margin: 0 auto;
  }

  .path-frontpage .ndSectionHome .text-formatted h3 {
    font-size: 1rem;
    line-height: 1.3em;
    margin: 0 10%;
    width: 80%;
  }

  #text-our-mission,
  #text-i-numeri-acs,
  #text-offri-santa-messa,
  #text-liberta-religiosa-nel-mondo {
    font-size: 0.8em;
  }

  .path-node #main-wrapper #main.container-fluid {
    padding: 0 4.5vw;
  }

  .page-link {
    padding: 1vh 2.5vw 1vh 2.5vw;
  }

  .select-method {
    display: block;
  }

  .page-node-8346 #main-wrapper {
    margin-top: 15vh;
  }

  .contatti-button {
    display: block;
  }

  .header2nd img {
    height: 13vh;
    width: auto;
  }

  .node--type-grandi-eventi .featured-top {
    margin-top: 8em;
  }
  
  #block-offriunasantamessa .content .field--name-body p {
    /*background-position-y: 0;*/
    /*background-position-x: -12.3em;*/
    /*background-size: 83vh;*/
    background-size: cover;
    background-position: center;
  }
  
  .path-frontpage .ndSectionHome .text-formatted p:nth-child(1) {
    height: 45vh;
  }
  
  .path-frontpage .ndSectionHome#block-homelibertareligiosa .text-formatted p:nth-child(1) {
    background-position: center;
  }
  
  .path-frontpage .ndSectionHome#block-homeourmission .text-formatted p:nth-child(1) {
    /*background-position-x: -31em;*/
    background-position: center;
  }
  
  .path-frontpage .ndSectionHome .text-formatted h3 {
    top: 39vh;
  }
  
  .node--type-progetti-in-corso #block-acsitalia-content .field--name-field-immagine .field__item img,
  .path-taxonomy #block-acsitalia-content .node--type-progetti-in-corso .field--name-field-immagine .field__item img,
  .node--type-notizie-dal-mondo #block-acsitalia-content .field--name-field-ndm-image .field__item img,
  .node--type-appuntamenti-acs #block-acsitalia-content .field--name-field-appnt-image .field__item img {
    display: block;
    width: 90vw;
    height: auto;
  }
  
  .ds-2col-stacked-fluid>.group-left .field--name-node-title h2{
    text-align: initial;
  }
  
  .rapportorl-page {
    padding-bottom: 0em;
  }
  
  .node--type-pubblicazioni-acs #block-acsitalia-content .field--name-field-pacs-image .field__item img {
    width: 90vw;
    height: auto;
  }
  
  .path-elenco-progetti-in-corso #main-wrapper {
    margin-top: 20vh !important;
  }


  .path-elenco-progetti-in-corso #block-acsitalia-content .view-elencoprogettiincorso form.views-exposed-form fieldset.form-group.col-auto,
  .path-elenco-progetti-in-corso #block-acsitalia-content .view-elencoprogettiincorso form.views-exposed-form .form-actions,
  .path-elenco-progetti-in-corso #block-acsitalia-content .view-elencoprogettiincorso form.views-exposed-form .form-actions button.form-submit.btn.btn-primary {
	  width: 100%;
  }
  
  .page-node-9526 .row {
    margin-right: 0;
    margin-left: 0;
  }
  
  .page-node-9526 #main.container-fluid {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  
  .page-node-9526 .main-content{
    padding-left: 0;
    padding-right: 0;
  }
  
  .page-node-9526 #img1-background {
    background-position-x: center;
	  background-position-y: top;
    background-size: 56.2vh;
    height: 37vh;
  }
  
  .page-node-9526 #img2-background {
	  background-position-y: 0vh;
    background-size: 85vh;
    background-position-x: center;
    background-size: 56.2vh;
    height: 37vh;
  }
  
  .page-node-9526 .img1_missioneevalori h3,
  .page-node-9526 .img2_missioneevalori h3 {
	  font-size: 1rem;
    line-height: 1.3em;
    margin: 0;
    width: 100%;
  }

  .page-node-9526 .img1_missioneevalori h3,
  .page-node-9526 .img2_missioneevalori h3 {
    top: 30vh;
  }

  .page-node-9526 .titolo-missioneevalori,
  .page-node-9526 .text1-missioneevalori,
  .page-node-9526 .text2-missioneevalori {
    padding-left: 15px;
    padding-right: 15px;
  }
}

/*----------- Pixel 2 XL in landscape ----------- */
@media only screen and (min-device-width: 412px) and (max-device-width: 824px) and (orientation: landscape) and (-webkit-min-device-pixel-ratio: 3.5) {
  
  body {
    padding-top: 35.5vh;
  }

  /*.header-home,
  .header-home .view-content.row,
  .header-home .view-content.row .carousel-inner,
  .header-home .view-content.row .carousel-inner .carousel-item,
  .header-home .view-content.row .carousel-inner .carousel-item img {
    height: 52.2vh;
  }

  .header-home .view-content.row .carousel-inner .carousel-item img {
    width: auto;
  }*/
  
  .header-home,
  .header-home .view-content.row,
  .header-home .view-content.row .carousel-inner,
  .header-home .view-content.row .carousel-inner .carousel-item,
  .header-home .view-content.row .carousel-inner .carousel-item img {
    height: auto;
  }

  .header-home .view-content.row .carousel-inner .carousel-item img {
    width: 100%;
  }
  
  .donaora-mobile {
    padding-top: 4em;
  }

  .block-views.block-views-blockxdev-homenews-block-1,
  .block-views.block-views-blockxdev-homeprogettiincorso-block-1,
  .block-views.block-views-blockxdev-homeappuntamenti-block-1 {
    padding: 0 4.5vw;
  }

  #title-and-data {
    width: 80%;
  }

  .path-frontpage .block-views.block-views-blockxdev-homenews-block-1 .home_grid_content_row,
  .path-frontpage .block-views.block-views-blockxdev-homeprogettiincorso-block-1 .home_grid_content_row,
  .path-frontpage .block-views.block-views-blockxdev-homeappuntamenti-block-1 .home_grid_content_row {
    margin: 0 auto;
  }

  .path-frontpage .ndSectionHome .text-formatted h3 {
    font-size: 1rem;
    line-height: 1.3em;
    margin: 0 10%;
    width: 80%;
  }

  #text-our-mission,
  #text-i-numeri-acs,
  #text-offri-santa-messa,
  #text-liberta-religiosa-nel-mondo {
    font-size: 0.8em;
  }

  .path-node #main-wrapper #main.container-fluid {
    padding: 0 4.5vw;
  }

  .page-link {
    padding: 1vh 2.5vw 1vh 2.5vw;
  }

  .select-method {
    display: block;
  }

  .page-node-8346 #main-wrapper {
    margin-top: 15vh;
  }

  .contatti-button {
    display: block;
  }

  .header2nd img {
    height: 13vh;
    width: auto;
  }

  .node--type-grandi-eventi .featured-top {
    margin-top: 8em;
  }

  .lista-menu-cercadona li:first-child {
    width: 100%;
  }
  
  .lista-menu-cercadona button {
    width: 100%;
    padding-top: 0;
    padding-bottom: 0;
  }

  .lista-menu-cercadona {
    padding-left: 40px;
  }
  .home_grid_content_row {
    height: 55vh;
  }
  .path-video #main-wrapper,
  .path-doni-di-fede-video #main-wrapper{
    margin-top: 20vh;
  }
  .ytPlayerVideo {
    padding-right: 0;
  }
  .ytPlayerVideo #frame {
    height: 105vh;
  }
  #div_video {
    height: 45vh !important;
  }
}
/* Galaxy S9/S9+ in portrait ----------- */

@media only screen and (min-width: 360px) and (max-device-width: 740px) and (orientation: portrait) and (-webkit-min-device-pixel-ratio: 4) {
  body {
    padding-top: 7vh;
  }

  .navbar {
    height: 16vh;
  }
  
  .navbar, .highlighted {
    padding: 0 5vw;
  }

  #span-donaora {
    font-size: 1.1rem;
  }
  
  .lista-menu-cercadona li:first-child {
    width: 100%;
  }
  
  .lista-menu-cercadona button {
    width: 100%;
    padding-top: 0;
    padding-bottom: 0;
  }
  
  .lista-menu-cercadona {
    padding-left: 40px;
  }

  .header-home,
  .header-home .view-content.row,
  .header-home .view-content.row .carousel-inner,
  .header-home .view-content.row .carousel-inner .carousel-item,
  .header-home .view-content.row .carousel-inner .carousel-item img {
    height: 12.7vh;
  }

  .header-home .view-content.row .carousel-inner .carousel-item img {
    width: auto;
  }
  
  .path-frontpage .header-home-mobile .carousel-item h3 {
    bottom: 0;
    width: 100%;
    position: absolute;
    text-align: left;
    height: auto;
    min-height: 16vh;
    background-color: #ffffff;
    opacity: 0.8;
    font-family: 'Martel', serif;
    margin: 0;
    font-weight: 700;
    padding: .6em;
    font-size: 1.2rem;
  }
  
  .path-frontpage .header-home-mobile .carousel-item h3 a {
    font-size: .9rem;
    font-weight: 600;
    padding-bottom: 0;
    width: 100%;
    line-height: 1.1em;
    height: 3em;
    /*overflow: hidden;*/
    /*display: -webkit-box;*/
    /*-webkit-box-orient: vertical;*/
    /*-webkit-line-clamp: 3;*/
    display: block;
  }
  
  .path-frontpage .layout-main-wrapper section h2 {
    font-size: 100%;
  }

  .page-node-8346 #main-wrapper {
    margin-top: 15vh;
  }

  .block-views.block-views-blockxdev-homenews-block-1,
  .block-views.block-views-blockxdev-homeprogettiincorso-block-1,
  .block-views.block-views-blockxdev-homeappuntamenti-block-1 {
    padding: 0 4.5vw;
  }

  #title-and-data {
    width: 80%;
  }

  .path-frontpage .block-views.block-views-blockxdev-homenews-block-1 .home_grid_content_row,
  .path-frontpage .block-views.block-views-blockxdev-homeprogettiincorso-block-1 .home_grid_content_row,
  .path-frontpage .block-views.block-views-blockxdev-homeappuntamenti-block-1 .home_grid_content_row {
    margin: 0 auto;
  }

  .path-frontpage .ndSectionHome .text-formatted h3 {
    font-size: 1rem;
    line-height: 1.3em;
    margin: 0%;
    width: 100%;
  }

  #text-our-mission,
  #text-i-numeri-acs,
  #text-offri-santa-messa,
  #text-liberta-religiosa-nel-mondo {
    font-size: 0.8em;
  }

  .path-node #main-wrapper #main.container-fluid {
    padding: 0 4.5vw;
  }


  .page-link {
    padding: 1vh 2.5vw 1vh 2.5vw;
  }

  .select-method {
    display: block;
  }

  .card-row {
    display: block;
  }

  .card-altred {
    margin: 0 0 1em 0;
  }

  #main-wrapper {
    margin-top: 22vh;
  }

  .path-search #main-wrapper {
    margin-top: 20vh;
  }
  
  .path-search .views-exposed-form form,
  .path-search .views-exposed-form form div.form-row fieldset.form-group {
    width: 100%;
  }
  
  div#block-acsitalia-content .content table td:first-child {
    display: none;
  }
  
  .path-frontpage #main-wrapper {
    margin-top: 5vh;
  }

  .path-node .views-field.views-field-field-eco-image .field-content {
    width: max-content;
    margin: 0 auto;
  }

  .path-node .view-eco-dell-amore img {
    width: auto;
    height: 55vh;
  }

  .contatti-button {
    display: block;
  }

 #block-offriunasantamessa .content .field--name-body p {
    /*background-size: 82vh;*/
    /*background-position-x: -6em;*/
    /*background-position-y: 2.5em;*/
    background-size: cover;
    background-position: center;
  }
  .ytPlayerVideo {
    padding-right: 0;
  }
  #div_video {
    height: 33.5vh !important;
  }
  
  .node--type-notizie-dal-mondo #block-acsitalia-content .field--name-field-ndm-image .field__item img,
  .node--type-appuntamenti-acs #block-acsitalia-content .field--name-field-appnt-image .field__item img,
  .node--type-progetti-in-corso #block-acsitalia-content .field--name-field-immagine .field__item img,
  .path-taxonomy #block-acsitalia-content .node--type-progetti-in-corso .field--name-field-immagine .field__item img,
  .node--type-appuntamenti-acs #block-acsitalia-content .field--name-field-appnt-image .field__item img {
    width: 100%;
  }
  .path-frontpage .featured-top {
  margin-top: 7em;
}
/*slider mobile*/
.header-home-mobile,
.header-home-mobile .view-content.row,
.header-home-mobile .view-content.row .carousel-inner,
.header-home-mobile .view-content.row .carousel-inner .carousel-item,
.header-home-mobile .view-content.row .carousel-inner .carousel-item img {
    width: auto;
  height: 37.5vh;
}
.header-home-mobile .view-content.row .carousel-inner .carousel-item img {
  width: auto;
}

.header-home {
  display: none;
}
.header-home-mobile {
  display: block;
}
/**/
  /*newsletter*/
  #block-simplenewssubscription {
    margin: 0 auto;
    width: 100%;
    text-align: center;
  }
  
  .node--type-progetti-in-corso #block-acsitalia-content .field--name-field-immagine .field__item img,
  .path-taxonomy #block-acsitalia-content .node--type-progetti-in-corso .field--name-field-immagine .field__item img,
  .node--type-notizie-dal-mondo #block-acsitalia-content .field--name-field-ndm-image .field__item img {
    display: block;
    width: 90vw;
    height: auto;
  }
  
  .ds-2col-stacked-fluid>.group-left .field--name-node-title h2{
    text-align: initial;
  }
  
  .rapportorl-page {
    padding-bottom: 0em;
  }
  
  .node--type-pubblicazioni-acs #block-acsitalia-content .field--name-field-pacs-image .field__item img {
    width: 90vw;
    height: auto;
  }
  
  .path-elenco-progetti-in-corso #main-wrapper {
    margin-top: 20vh !important;
  }


  .path-elenco-progetti-in-corso #block-acsitalia-content .view-elencoprogettiincorso form.views-exposed-form fieldset.form-group.col-auto,
  .path-elenco-progetti-in-corso #block-acsitalia-content .view-elencoprogettiincorso form.views-exposed-form .form-actions,
  .path-elenco-progetti-in-corso #block-acsitalia-content .view-elencoprogettiincorso form.views-exposed-form .form-actions button.form-submit.btn.btn-primary {
	  width: 100%;
  }
  .page-node-9526 .row {
    margin-right: 0;
    margin-left: 0;
  }
  
  .page-node-9526 #main.container-fluid {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  
  .page-node-9526 .main-content{
    padding-left: 0;
    padding-right: 0;
  }
  
  .page-node-9526 #img1-background {
    background-position-x: center;
	  background-position-y: top;
    background-size: 56.2vh;
    height: 37vh;
  }
  
  .page-node-9526 #img2-background {
	  background-position-y: 0vh;
    background-size: 85vh;
    background-position-x: center;
    background-size: 56.2vh;
    height: 37vh;
  }
  
  .page-node-9526 .img1_missioneevalori h3,
  .page-node-9526 .img2_missioneevalori h3 {
	  font-size: 1rem;
    line-height: 1.3em;
    margin: 0;
    width: 100%;
  }

  .page-node-9526 .img1_missioneevalori h3,
  .page-node-9526 .img2_missioneevalori h3 {
    top: 30vh;
  }

  .page-node-9526 .titolo-missioneevalori,
  .page-node-9526 .text1-missioneevalori,
  .page-node-9526 .text2-missioneevalori {
    padding-left: 15px;
    padding-right: 15px;
  }
  
  /*la nostra missione homepage background*/
  .path-frontpage .ndSectionHome#block-homeourmission .text-formatted p:nth-child(1) {
    height: 50vh;
    /*background-position-x: -25em;*/
    background-position: center;
  }
  
  .path-frontpage #block-homeourmission .content p {
	  margin-bottom: 4rem;
  }
  /*--------------------------------------*/
}

/* Galaxy S9/S9+ in landscape ----------- */

@media only screen and (min-device-width: 360px) and (max-device-width: 740px) and (orientation: landscape) and (-webkit-min-device-pixel-ratio: 4) {

  /*.header-home,
  .header-home .view-content.row,
  .header-home .view-content.row .carousel-inner,
  .header-home .view-content.row .carousel-inner .carousel-item,
  .header-home .view-content.row .carousel-inner .carousel-item img {
    height: 53.5vh !important;
  }

  .header-home .view-content.row .carousel-inner .carousel-item img {
    width: auto;
  }*/
  
  .header-home,
  .header-home .view-content.row,
  .header-home .view-content.row .carousel-inner,
  .header-home .view-content.row .carousel-inner .carousel-item,
  .header-home .view-content.row .carousel-inner .carousel-item img {
    height: auto; !important;
  }

  .header-home .view-content.row .carousel-inner .carousel-item img {
    width: 100%;
  }
  
  .path-frontpage .featured-top {
    margin-top: 7em;
  }
  
  body {
    padding-top: 7vh;
  }

  .navbar {
    height: 16vh;
  }

  #span-donaora {
    font-size: 1.1rem;
  }

  .page-node-8346 #main-wrapper {
    margin-top: 15vh;
  }

  .block-views.block-views-blockxdev-homenews-block-1,
  .block-views.block-views-blockxdev-homeprogettiincorso-block-1,
  .block-views.block-views-blockxdev-homeappuntamenti-block-1 {
    padding: 0 4.5vw;
  }

  #title-and-data {
    width: 80%;
  }

  .path-frontpage .block-views.block-views-blockxdev-homenews-block-1 .home_grid_content_row,
  .path-frontpage .block-views.block-views-blockxdev-homeprogettiincorso-block-1 .home_grid_content_row,
  .path-frontpage .block-views.block-views-blockxdev-homeappuntamenti-block-1 .home_grid_content_row {
    margin: 0 auto;
  }

  .path-frontpage .ndSectionHome .text-formatted h3 {
    font-size: 1rem;
    line-height: 1.3em;
    margin: 0%;
    width: 100%;
  }

  #text-our-mission,
  #text-i-numeri-acs,
  #text-offri-santa-messa,
  #text-liberta-religiosa-nel-mondo {
    font-size: 0.8em;
  }

  .path-node #main-wrapper #main.container-fluid {
    padding: 0 4.5vw;
  }


  .page-link {
    padding: 1vh 2.5vw 1vh 2.5vw;
  }

  .select-method {
    display: block;
  }

  .card-row {
    display: block;
  }

  .card-altred {
    margin: 0 0 1em 0;
  }

  #main-wrapper {
    margin-top: 10vh;
  }

  .path-node .views-field.views-field-field-eco-image .field-content {
    width: max-content;
    margin: 0 auto;
  }

  .path-node .view-eco-dell-amore img {
    width: auto;
    height: 55vh;
  }

  .contatti-button {
    display: block;
  }

  #block-offriunasantamessa .content .field--name-body p {
    /*background-size: 205.5vh;*/
    /*background-size: 100%;*/
    /*background-position-x: 0;*/
    /*background-position-y: 0;*/
    background-size: cover;
    background-position: center;
  }
  
  .home_grid_content_row {
    height: 60vh;
  }
  .path-video #main-wrapper,
  .path-doni-di-fede-video #main-wrapper{
    margin-top: 40vh;
  }
}

/*-------------------*/

/*iPhone XS Max portrait - 2688x1242px at 458ppi */
@media only screen and (device-width : 414px) and (device-height : 896px) and (-webkit-device-pixel-ratio : 3) and (orientation : portrait) {
  .path-frontpage #main-wrapper {
    margin-top: 6vh;
  }
  #block-offriunasantamessa .content .field--name-body p {
    /*background-position-x: -6em;*/
    /*background-position-y: 0;*/
    background-size: cover;
    background-position: center;
  }
  
  .path-frontpage #block-homelibertareligiosa.ndSectionHome .text-formatted p:nth-child(1) {
    height: 37vh;
  }
  
  .path-frontpage #block-homelibertareligiosa.ndSectionHome .text-formatted h3 {
      top: 30vh;
  }
}


/*iPhone XS Max landscape - 2688x1242px at 458ppi */
@media only screen and (device-width : 896px) and (device-height : 414px) and (-webkit-device-pixel-ratio : 3) and (orientation : landscape) {
  .path-frontpage .ndSectionHome .text-formatted p:nth-child(1) {
    height: 70vh;
  }
  
  .path-frontpage .ndSectionHome#block-homelibertareligiosa .text-formatted p:nth-child(1) {
    background-position: center;
  }
  
  .donaora-mobile .lista-menu-cercadona li:first-child {
    width: 100%;
  
    
  }
  .lista-menu-cercadona li:first-child {
    width: 100%;
  }
  
  .lista-menu-cercadona button {
    width: 100%;
    padding-top: 0;
    padding-bottom: 0;
  }
  
  .lista-menu-cercadona {
    padding-left: 40px;
  }
  
  #block-offriunasantamessa .content .field--name-body p {
    /*background-size: 100%;*/
    /*background-position-y: 0;*/
    background-size: cover;
    background-position: center;
  }
  .path-frontpage .ndSectionHome .text-formatted h3 {
    top: 58vh;
    height: auto;
    font-size: 35px;
  }
}

/* bottone speciale landing page */
@media screen and (max-width: 374px) and (min-width: 200px) {
  .btn-small-text{
    font-size: 0.80rem;
  }
}