/* MEDIA QUERY */

/* VISUALIZZAZIONE CELLULARI (NO TABLET) */

@media screen and (min-width: 0px) and (max-width: 576px) {
  .RomaLinkStyle {
    display: none !important;
  }
  .it-header-slim-wrapper {
    padding: 24.5px 18px;
  }
  .it-header-center-wrapper {
    background: transparent;
    height: 80px;
    display: flex;
    align-items: center;
    padding-left: 18px;
    padding-right: 18px;
  }
  .burgerButton {
    margin-top: -175px;
    margin-left: 5%;
  }
  .custom-logo {
    width: 100px;
    height: auto;
    margin-top: -86px;
    margin-left: 90px;
  }
  .footer-logo .custom-logo {
    width: 30%;
    height: auto;
    margin-left: 0px;
    margin-top: 0px !important;
  }
  .socialMargins {
    display: none !important;
  }
}

@media screen and (width: 576px) {
  .RomaLinkStyle {
    display: none !important;
  }
  .it-header-slim-wrapper {
    padding: 24.5px 18px;
  }
  .it-header-center-wrapper {
    background: transparent;
    height: 80px;
    display: flex;
    align-items: center;
    padding-left: 18px;
    padding-right: 18px;
  }
  .burgerButton {
    margin-top: -182px;
    margin-left: 30px;
  }
  .custom-logo {
    width: 100px;
    height: auto;
    margin-top: -86px;
    margin-left: 338px;
  }
  .footer-logo .custom-logo {
    width: 30%;
    height: auto;
    margin-left: 0px;
    margin-top: 0px !important;
  }
}

@media screen and (min-width: 577px) and (max-width: 768px) {
  /* DOVREBBERO MUOVERSI CON LA FINESTRA */
  .RomaLinkStyle {
    display: none !important;
  }
  .it-header-slim-wrapper {
    padding: 26.5px 18px;
  }
  .it-header-center-wrapper {
    background: transparent;
    height: 80px;
    display: flex;
    align-items: center;
    padding-left: 18px;
    padding-right: 18px;
  }
  .burgerButton {
    margin-top: -182px;
    margin-left: 30px;
  }
  .custom-logo {
    width: 100px;
    height: auto;
    margin-top: -86px;
    margin-left: 338px;
  }
  .footer-logo .custom-logo {
    width: 30%;
    height: auto;
    margin-left: 0px;
    margin-top: 0px !important;
  }
  .socialMargins {
    display: none !important;
  }
}

@media screen and (width: 768px) {
  /* NON FUNZIONA CON RESTRINGIMENTO MA FUNZIONA CON VISUALIZAZIONE TABLET */
  .RomaLinkStyle {
    display: none !important;
  }
  .it-header-slim-wrapper {
    padding: 26.5px 18px;
  }
  .it-header-center-wrapper {
    background: transparent;
    height: 80px;
    display: flex;
    align-items: center;
    padding-left: 18px;
    padding-right: 18px;
  }
  .burgerButton {
    margin-top: -183px;
    margin-left: 28px;
  }
  .custom-logo {
    width: 100px;
    height: auto;
    margin-top: -86px;
    margin-left: 519px;
  }
  .footer-logo .custom-logo {
    width: 20%;
    height: auto;
    margin-left: 0px;
    margin-top: 0px !important;
  }
  .socialMargins {
    display: none !important;
  }
}

@media screen and (min-width: 769px) and (max-width: 992px) {
  /* DOVREBBERO MUOVERSI CON LA FINESTRA */
  .RomaLinkStyle {
    display: none !important;
  }
  .it-header-slim-wrapper {
    padding: 26.5px 18px;
  }
  .it-header-center-wrapper {
    background: transparent;
    height: 80px;
    display: flex;
    align-items: center;
    padding-left: 18px;
    padding-right: 18px;
  }
  .burgerButton {
    margin-top: -182px;
    margin-left: 36px;
  }
  .custom-logo {
    width: 100px;
    height: auto;
    margin-top: -86px;
    margin-left: 526px;
  }
  .footer-logo .custom-logo {
    width: 20%;
    height: auto;
    margin-left: 0px;
    margin-top: 0px !important;
  }
  .socialMargins {
    display: none !important;
  }
}

@media screen and (width: 992px) {
  .RomaLinkStyle {
    display: none !important;
  }
  .it-header-slim-wrapper {
    padding: 26.5px 18px;
  }
  .romaCapitale-padding {
    margin-top: -45px !important;
    padding-left: 0px !important;
  }
  .it-header-center-wrapper {
    background: transparent;
    height: 80px;
    display: flex;
    align-items: center;
    padding-left: 18px;
    padding-right: 18px;
  }
  .navbar .navbar-collapsable .navbar-nav li a.nav-link {
    font-weight: 400;
    padding-top: 13px;
    padding-right: 36px;
    padding-bottom: 13px;
    padding-left: 13px;
    color: #fff;
    font-size: 14px !important;
  }
  #menu-primary-menu .nav-item {
    padding-right: 3px;
  }
  .burgerButton {
    margin-top: -182px;
    margin-left: 30px;
  }
  .custom-logo {
    width: 100px;
    height: auto;
    margin-top: -126px;
    margin-left: 786px;
  }
  .footer-logo .custom-logo {
    width: 20%;
    height: auto;
    margin-left: 0px;
    margin-top: 0px !important;
  }
  .socialMargins {
    display: none !important;
  }
}

@media screen and (min-width: 993px) and (max-width: 1200px) {
  .navbar .navbar-collapsable .navbar-nav li a.nav-link {
    font-weight: 400;
    padding-top: 13px;
    padding-right: 35px;
    padding-bottom: 13px;
    padding-left: 13px;
    color: #fff;
    font-size: 14px;
  }
  #menu-primary-menu .nav-item {
    padding-right: 4px;
  }
  .custom-logo {
    width: 100px;
    height: auto;
    margin-top: -173px;
    margin-left: 807px;
  }
  .footer-logo .custom-logo {
    width: 20%;
    height: auto;
    margin-left: 0px;
    margin-top: 0px !important;
  }
}

@media screen and (width: 1200px) {
  .navbar .navbar-collapsable .navbar-nav li a.nav-link {
    font-weight: 400;
    padding-top: 13px;
    padding-right: 46px;
    padding-bottom: 13px;
    padding-left: 13px;
    color: #fff;
    font-size: 16px;
  }
  #menu-primary-menu .nav-item {
    padding-right: 9px;
  }
  .custom-logo {
    width: 100px;
    height: auto;
    margin-top: -173px;
    margin-left: 987px;
  }
}

/* VISUALIZZAZIONE VOCI DEL MENU DEL BURGER */

@media screen and (max-width: 992px) {
  .Fondazione-padding {
    margin-left: 12px;
  }
  .Contatti-padding {
    margin-left: 0px;
  }
  .News-padding {
    margin-left: -6px;
  }
}

/* VISUALIZZAZIONE IMMAGINE NEWS NELLA HOME */

@media screen and (min-width: 0px) and (max-width: 768px) {
  .displayingImage {
    display: none !important;
  }
  #news {
    margin-top: 50px;
  }
}

@media screen and (min-width: 768px) and (max-width: 768px) {
  .displayingImage {
    display: block !important;
    padding-top: 32px;
  }
  #news {
    margin-top: 50px;
  }
}

@media screen and (min-width: 769px) and (max-width: 991px) {
  #news {
    margin-top: 50px !important;
  }
  .displayingImage {
    padding-top: 32px;
  }
}

@media screen and (min-width: 991px) and (max-width: 991px) {
  /* NON FUNZIONA */
  #news {
    margin-top: 50px !important;
  }
  .displayingImage {
    padding-top: 32px !important;
  }
}

@media screen and (min-width: 991px) and (max-width: 1200px) {
  #news {
    margin-top: 25px;
  }
  .news-photo img {
    height: 107% !important;
  }
}

@media screen and (min-width: 1200px) and (max-width: 1200px) {
  #news {
    margin-top: 0px !important;
  }
}

/* VISUALIZZAZIONE CARDS */

@media screen and (max-width: 768px) {
  .col-md-4 {
    margin-bottom: 8px;
  }
  .impiegato-space {
    margin-top: 0px !important;
  }
}

/* VISUALIZZAZIONE PAGINA CHI SIAMO */

@media screen and (min-width: 0px) and (max-width: 768px) {
  .section-title-margin {
    text-align: center;
  }
  .scheda-Impiegato .scheda-fotoImpiegato img {
    width: 221px;
    height: 221px;
    margin-top: 9px;
    margin-left: 0px;
  }
  .photoAlignment {
    text-align: center;
  }
  .name-role-margins {
    text-align: center;
  }
  .impiegato-name {
    margin-top: 35px;
    margin-bottom: 3px;
  }
  .descrizioneImpiegato {
    text-align: center;
  }
}

@media screen and (min-width: 768px) and (max-width: 768px) {
  .scheda-Impiegato .scheda-fotoImpiegato img {
    width: 96px;
    height: 96px;
    margin-top: 40px;
    margin-left: 24px;
  }
  .photoAlignment {
    text-align: center;
  }
  .scheda-fotoImpiegato {
    margin-bottom: -46px !important;
  }
  .name-role-margins {
    text-align: center;
  }
  .impiegato-name {
    margin-top: 35px;
    margin-bottom: 3px;
  }
  .descrizioneImpiegato {
    text-align: left;
  }
  .altezza-riga {
    margin-bottom: -25px;
  }
}

@media screen and (min-width: 769px) and (max-width: 992px) {
  .scheda-Impiegato .scheda-fotoImpiegato img {
    width: 93px;
    height: 93px;
    margin-left: 27px;
  }
  .scheda-fotoImpiegato {
    margin-bottom: -45px !important;
  }
  .photoAlignment {
    text-align: center;
  }
  .name-role-margins {
    margin-top: -60px !important;
  }
  .descrizioneImpiegato {
    margin-top: -25px;
  }
  .altezza-riga {
    margin-bottom: -20px;
  }
}

@media screen and (min-width: 992px) and (max-width: 1200px) {
  .scheda-Impiegato .scheda-fotoImpiegato img {
    width: 143px;
    height: 143px;
    margin-top: 60px;
    margin-left: 27px;
  }
  .photoAlignment {
    text-align: center;
  }
}

@media screen and (min-width: 1200px) and (max-width: 1200px) {
  .scheda-Impiegato .scheda-fotoImpiegato img {
    width: 87%;
    height: 180px;
    margin-top: 35px;
    margin-left: 25px;
  }
  .photoAlignment {
    text-align: center;
  }
}

@media screen and (min-width: 768px) and (max-width: 992px) {
  .noimg {
    margin-left: 19px;
  }
  .noimgAndContent {
    margin-left: 19px;
  }
}

@media screen and (min-width: 992px) {
  .noimg {
    margin-left: 43px;
  }
  .noimgAndContent {
    margin-left: 43px;
  }
}

/* SIDEBAR ROW */

/* MARGINI VISIONE NORMALE */

.socials-texts {
  margin-right: 0px !important;
}

@media (max-width: 768px) {
  .sidebar-rowShowing {
    text-align: center;
  }
  .sidebar-socialRowShowing {
    display: flex;
    padding-left: 0px !important;
    display: -webkit-inline-box;
  }
  .socials-texts {
    display: none !important;
  }
}

@media (min-width: 768px) {
  .sidebar-rowShowing {
    text-align: left !important;
  }
  .sidebar-socialRowShowing {
    display: block;
    padding-left: 24px !important;
  }
  .socials-texts {
    display: inline-block !important;
  }
}

/* IMMAGINI DEI POST */

@media screen and (max-width: 576px) {
  .wp-block-image .alignright {
    float: none !important;
    margin-left: 0px !important;
  }
  .col-md-12 .alignright {
    display: block;
    margin-right: 0px !important;
  }
  .wp-block-image .alignleft {
    float: none !important;
    margin-left: 0px !important;
  }
  .col-md-12 .alignleft {
    display: block;
    margin-right: 0px !important;
  }
  .wp-block-image img {
    width: 100% !important;
  }
}

/*xs min width 0
sm 576px 
md 768px 
lg 1024px
xl 1200px 
xxl 1600px*/