/*
Theme Name:     Tema Digital Sezioni Ail
Description:    Questo è il tema Digital Sezioni Ail
Author:         GoProject
Template:       bootstrap-basic4
Version:        0.0.1
*/

@charset "utf-8";
/* CSS Document */

body {
  font-family: 'Raleway', sans-serif;
}

.img-responsive {width:100%;}

main {margin:50px 0px;}

h1,h2,h3,h4,h5,h6 {margin-bottom:10px;}

.mt10 {margin-top:10px;}
.mt20 {margin-top:20px;}
.mt30 {margin-top:30px;}
.mt40 {margin-top:40px;}
.mt50 {margin-top:50px;}
.mt60 {margin-top:60px;}
.mt70 {margin-top:70px;}
.mt80 {margin-top:80px;}

.mb10 {margin-bottom:10px;}
.mb20 {margin-bottom:20px;}
.mb30 {margin-bottom:30px;}
.mb40 {margin-bottom:40px;}
.mb50 {margin-bottom:50px;}

.mr10 {margin-right:10px;}
.mr20 {margin-right:20px;}
.mr30 {margin-right:30px;}
.mr40 {margin-right:40px;}
.mr50 {margin-right:50px;}

.pt5 {padding-top:5px;}
.pt10 {padding-top:10px;}
.pt20 {padding-top:20px;}
.pt30 {padding-top:30px;}
.pt40 {padding-top:40px;}
.pt50 {padding-top:50px;}

.pb5 {padding-bottom:5px;}
.pb10 {padding-bottom:10px;}
.pb20 {padding-bottom:20px;}
.pb30 {padding-bottom:30px;}
.pb40 {padding-bottom:40px;}
.pb50 {padding-bottom:50px;}


a{color:#000;}

a:hover,a:active {text-decoration:none; color:#ddd;}

a.btn:hover,a.btn:active {text-decoration:none; color:#ddd;}

.no-gutters {padding:0px;}

h1,h2{font-weight:bold;}

.ptb-30 {padding-top:30px; padding-bottom:30px;}

.bg-red {background-color:#db2f34;}

.bg-gray {background-color:#f7f7f7;}

/** Top - Header **/

.top-header {border-bottom:1px solid #999; margin:15px 0px; padding-bottom:15px;}

.card {border: 1px solid #999;}

.form-control-borderless {
  border: none;
}

.form-control-lg {
  padding: 0px;
  font-size: 15px;
  height:auto;
}

.fa-search {
  margin-left:15px;
  color:#db2f34;
  padding-top: 10px;
}

.search-box {
  position: relative;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: column;
  flex-direction: column;
  min-width: 0;
  word-wrap: break-word;
  background-color: #fff;
  background-clip: border-box;
  border: 1px solid rgba(0, 0, 0, 0.125);
  border-radius: 0.25rem;
  border-radius: 13px;
}

.form-control-borderless:hover, .form-control-borderless:active, .form-control-borderless:focus {
  border: none;
  outline: none;
  box-shadow: none;
}

.search-control .form-control {border-bottom:0px !important;}

.right-bar-elements {
  display: flex;
  align-items: center;
  justify-content: flex-end;

}

.btn-dona {
  text-transform:uppercase;
  font-weight:bold;
  color:#fff;
  padding:10px 20px;
  background-color:#db2f34;
  margin-left: 30px;
  border-radius:5px;
}

ul {
  margin:0px !important;
  padding:0px;
}

.social-bar li {
  list-style-type:none;
  color:#db2f34;
  float: left;
  margin-right:15px;
}

.social-bar a {
  color:#db2f34 !important;
}

/** Logo - Header **/

.sezione-info {
  display:flex;
  align-items:center;
  justify-content:center;
  margin:20px 0px;
}

.sezione-info h1{
  font-weight:bold;
  margin-bottom:0px;
  text-transform:uppercase;
}

/** Menu - Header **/

.nav-link {
    display: block;
    padding: 0.7rem 1rem;
}

.navbar-brand {margin-right: 2rem;}

.navbar {background-color:#db2f34;}

.nav-item a{color:#fff;}

.current {font-weight:bold;}

@media (min-width: 992px) {

.navbar-expand-lg .navbar-collapse {
  display: flex !important;
  justify-content: center;
}

}

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

.carousel-control-prev {display:none}

.carousel-control-next {display:none}

.carousel-indicators li {background-color: #db2f34;}



/** Mission **/

.mission-bar {
  color:#fff;
  justify-content: center;
  align-items: center;
  padding:10px 0px;
}

.mission-bar img {
  width:45%;
}


.numeri-mission {
  font-size:28px;
  margin-right:10px;
  color:#f36187;
}

.mission-bar h3 {font-weight:bold;}

section {margin:80px 0px;}

#chi-siamo {position:relative;}

.description-box {
  position: absolute;
  width: 700px;
  height: auto;
  background-color: #f7f7f7;
  top: 55px;
  padding: 20px 0px 25px 30px;
  right: 0px;
}

.description-box h2{font-weight:bold; display:initial;}

.sede-box {
  width: 160px;
  background-color: #db2f34;
  padding: 5px 10px;
  color: #fff;
  float: right;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sede-box i {float:left; margin-right:10px;}

.sede-box a{
  color:#fff;
  display: flex;
  justify-content: center;
  align-items: center;
}

.sede-box a:hover,.sede-box a:active{color:#ddd;}

.text-description-box {margin:20px 60px 30px 0px;}

.btn-red {
  font-weight: bold;
  color: #fff;
  padding: 10px 20px;
  background-color: #db2f34;
  justify-content: center;
  display: -webkit-inline-box;
}

.btn-green {
  font-weight:bold;
  color:#fff;
  padding:10px 20px 10px 0px;
  background-color:#3d808b;

}

.img-fondi {
  width:60px;
  background-color:#fff;
  margin-right:15px;
  justify-content: center;
  display: -webkit-inline-box;
}

/** News **/

.card-date {
  background-color:#db2f34;
  position:absolute;
  top:0px;
  left:0px;
  width:50px;
  color:#fff;
  text-align:center;
}

.card-date p{font-size:25px; margin:0px;}
.card-date span{font-size:14px;}


.card {
  border:0px;
  -webkit-box-shadow: 0px 0px 10px 0px rgba(84, 84, 84, 0.5);
  -moz-box-shadow: 0px 0px 10px 0px rgba(84, 84, 84, 0.5);
  box-shadow: 0px 0px 10px 0px rgba(84, 84, 84, 0.5);

}

.card-body {padding:0px;}


.btn-news {
  color:#db2f34;
  padding:5px 20px;
  width:100%;
  border-radius:0px;
}


.card-title {
  padding:20px 10px 0px 10px;
  color: #db2f34;
  font-weight:bold;
}

.card-title a{color: #db2f34;}

.tag-news {
  padding:0px 10px 10px 10px;
  font-size:12px;
  margin: 0px;
}

.card-text{
  padding:10px 10px 20px 10px;
  margin: 0px;
}

.card-dtext{
  padding: 0px 10px 5px 10px;
  margin: 0px;
}

.card p {
  padding:10px 10px 20px 10px;
  margin: 0px;
}

.card-eventi {
  width:100%;
  background-image:url(../img/doc.jpg);
  background-repeat: no-repeat;
  background-position: center;
  background-size:cover;
  -webkit-box-shadow: 1px 2px 18px -2px rgba(0,0,0,0.5);
  -moz-box-shadow: 1px 2px 18px -2px rgba(0,0,0,0.5);
  box-shadow: 1px 2px 18px -2px rgba(0,0,0,0.5);
  position: relative;
  display: inline-block;
}

.data-eventi {
  color:#fff;
  font-size:15px;
  padding: 10px 10px 128px 10px;
  position:relative;
  z-index:999;
}

.card-title-eventi {
  padding:5px 10px 0px 10px;
  color: #db2f34;
  font-weight:bold;
  margin-bottom: 0.75rem;
}

.card-title-eventi a{color: #fff;}

.btn-news-eventi {
  font-weight: bold;
  color: #fff;
  padding: 5px 20px;
  background-color: transparent;
  width: 100%;
  border-radius: 0px;
}

.overlay:before{
  position: absolute;
  content:" ";
  top:0;
  left:0;
  width:100%;
  height:100%;
  display: block;
  z-index:1;
  background-color: rgba(219, 47, 52, 0.71);
}

.card-body-event {
  padding:0px;
  position: relative;
  z-index: 999;}

.card-text-event {
  color:#fff;
  padding:10px 10px 20px 10px;
  }

.tag-news-eventi {
  padding:0px 10px 10px 10px;
  font-size:12px;
  color:#fff;
}

.tag-news-eventi a{color:#fff;}

.pagination {
    justify-content: center;
    align-items: center;
    border-radius:0px;
}

.page-item {margin-right:10px; font-size:16px;}

.page-item:first-child .page-link {
    border-top-left-radius: 0px;
    border-bottom-left-radius: 0px;
}

.page-item:last-child .page-link {
    border-top-right-radius: 0px;
    border-bottom-right-radius: 0px;
}

.page-link {
    color: #db2f34;
    border-bottom: 1px solid #999;
}

.page-link-current {
  border-bottom: 1px solid #db2f34;
  color: #db2f34;
  position: relative;
  display: block;
  padding: 0.5rem 0.75rem;
  margin-left: -1px;
  line-height: 1.25;
}

.page-link:hover {
    z-index: 2;
    color: #db2f34;
    text-decoration: none;
    background-color: transparent;
    border-bottom: 1px solid #db2f34;
}

.news-title a {color:#db2f34; font-weight:bold;}

/** Cosa puoi fare tu **/

.pulsante-dona a {
  background-color:#db2f34;
  color:#fff;
  padding:30px 40px;
  border-radius:10px;
  justify-content: center;
  align-content: center;
  align-items: center;
  display: flex;
  margin-bottom:26px;
}

.pulsante-volontario a {
  background-color:#508e9a;
  color:#fff;
  padding:20px 40px;
  border-radius:10px;
  justify-content: left;
  align-content: center;
  align-items: center;
  display: flex;
}

.pulsante-servizi a{
  color:#fff;
  padding: 45px 0px;
  justify-content: center;
  align-content: center;
  align-items: center;
  display: flex;
}

.pulsante-cinque{
  background-image:url(../img/cinque.png);
  background-size: cover;
  background-repeat:no-repeat;
  background-position:center;
  border-radius:15px;
}

.pulsante-lieti{
  background-image:url(../img/lieti.png);
  background-size: cover;
  background-repeat:no-repeat;
  background-position:center;
  border-radius:15px;
}

.pulsante-lasciti{
  background-image:url(../img/lasciti.png);
  background-size: cover;
  background-repeat:no-repeat;
  background-position:center;
  border-radius:15px;
}

.img-sostenitori {border-radius:15px;}

.pulsante-servizi h4 {
  font-weight:bold;
  position:relative;
  z-index:999;
}

.pulsanti h3 {
  text-transform:uppercase;
  font-weight:bold;
  text-align:center;
}

.pulsanti i {
  float:left;
  padding-right:40px;
  font-size:48px;
}

/** Progetti **/

.progetti-box {
  width:100%;
  height:auto;
}

.progetto-case {
  background-image:url(../img/case.jpg);
  background-size: cover;
  background-repeat:no-repeat;
  background-position:center;
  display: flex;
  align-items: flex-end;
}

.progetto-scuola {
  background-image:url(../img/pazienti.jpg);
  background-size: cover;
  background-repeat:no-repeat;
  background-position:center;
  display: flex;
  align-items: flex-end;
}

.progetto-cure {
  background-image:url(../img/assidomi.jpg);
  background-size: cover;
  background-repeat:no-repeat;
  background-position:center;
  display: flex;
  align-items: flex-end;
}

.progetto-a {
  background-image:url(../img/progetto-a.jpg);
  background-size: cover;
  background-repeat:no-repeat;
  background-position:center;
  display: flex;
  align-items: flex-end;
}

.btn-progetti {
  font-weight:500;
  background-color: #db2f34;
  padding: 10px 20px;
  width: 100%;
  border-radius: 0px;
  margin-bottom: 0px;
  text-align: center;
}

.btn-progetti a{color: #fff;}

/** Manifestazioni **/

.manifestazioni-title {
  color:#db2f34;
  text-transform:uppercase;
  font-weight:bold;
}

.box-manifestazioni {
  width:440px;
  justify-content: center;
  align-items: flex-start;
  display: flex;
  flex-wrap: nowrap;
  align-content: stretch;
  flex-direction: column;
}

/** Footer **/

footer h5 {margin:0px 0px 30px 0px;}

.footer-text{
  text-align:left;
}

.footer-text p{
  padding: 3px 0px;
  margin-bottom: 0px;
  font-size: 13px;
}


.logo-footer {
  float:left;
  margin-right:15px;
  border-right:1px solid #000;
}

.logo-footer img{width:100%;}

footer a {text-decoration:underline;}

.legal-bar a {
  color:#fff;
  text-decoration:none;
}

.legal-bar a:nth-of-type(1) {
  padding-right:10px;
  border-right:1px solid #fff;
}

.legal-bar a:nth-of-type(2) {
  padding-left:5px;
  padding-right:10px;
  border-right:1px solid #fff;
}

.legal-bar a:nth-of-type(3) {padding-left:5px}

.full-section-image {
height:400px;
background-position:center;
background-size:cover;
background-repeat:no-repeat;
}

#chi-siamo-img {background-image:url(../img/foto_chi_siamo.jpg);}

#progetti-img {background-image:url(../img/progetti.jpg);}

#news-img {background-image:url(../img/news.jpg);}

#progetto-img {background-image:url(../img/news-interna.jpg);}

.bt-red {border-top:1px solid #db2f34;}

ul {
  margin: 0;
}
ul.dashed {
  list-style-type: none;
}
ul.dashed > li {
  text-indent: -5px;
}
ul.dashed > li:before {
  content: "-";
  text-indent: -5px;
  padding-right:5px;
  padding-left: 5px;
}

aside h2 {
  font-weight:bold;
  color:#b5b5b5;
  margin-bottom:20px;
}

aside li {
  padding-bottom: 5px;
  border-bottom: 1px solid #b5b5b5;
  margin-bottom: 10px;
}

aside ul {
  list-style-type: none;
}
aside ul > li {
  text-indent: -5px;
}
aside ul > li:before {
  content:url(../img/arrow.png);
  text-indent: -5px;
  padding-right:8px;
  padding-left: 5px;
}

aside ul > li > a:hover {
color:#db2f34;
}

.organigramma {
  padding:12px 0px;
}

.organigramma span {
  font-weight:bold;
  color:#7f7f7f;
}

.btn-statuto {
  font-weight:bold;
  color:#fff;
  padding:20px 10px;
  background-color:#db2f34;
}

/**Form contatti **/

.form-control {
    display: block;
    width: 100%;
    height: calc(2.25rem + 2px);
    padding: 0px;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #495057;
    background-color: transparent;
    border:0px;
    border-bottom: 1px solid #ced4da !important;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

label {margin-bottom:0px;}

.form-check-input {
    position: relative;
    margin-top: 0.3rem;
    margin-left: 0px;
}

.contact-side {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  flex-direction: column;
  padding: 30px 40px;
}

.contact-side a {
  margin-bottom:1rem;
  color:#fff;
}

@media screen and (min-width:1420px) {

.carousel-inner {height:650px;}

}

@media screen and (min-width:1366px) and (max-width:1400px) {

.carousel-inner{height:500px;}

.navbar-brand img{width:80%;}

.full-section-image {height: 250px;}

main section {margin: 50px 0px;}

}

@media screen and (min-width:1020px) and (max-width:1290px) {

.search-box .row {flex-wrap: inherit;}

.full-section-image {
    height: 250px;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

}

@media screen and (min-width:1000px) and (max-width:1024px) {

.pulsante-dona a {
    padding: 20px 10px;
}

.pulsante-volontario a {
    padding: 10px 10px;
}

}

@media screen and (min-width:500px) and (max-width:768px) {

.fa-search {margin-left: 5px;}

.right-bar-elements {justify-content: flex-end;}

.text-description-box {
    margin: 20px 0px 30px 0px;
    font-size: 13px;
}

.description-box {
    position: absolute;
    width: 490px;
    height: auto;
    background-color: #f7f7f7;
    top: -20px;
    padding: 20px 0px 25px 30px;
    right: 0px;
}

.mission-bar img {width: 60%;}

.pulsante-servizi h4 {font-size: 20px;}

.pulsante-dona a{padding: 10px 10px;}

.pulsanti h3 {
  font-size: 20px;
  margin: 0px;
}

.pulsanti i {
  font-size: 40px;
  padding-right: 12px;
}

.pulsante-volontario a {padding: 10px 10px;}


.navbar-brand {
  margin-right: 0rem;
  text-align:center;
  margin-bottom:15px;
}

.navbar-brand img{width:80%;}

.img-responsive-mobile {width:100%;}

.mission-bar h4 {font-size:16px;}

.numeri-mission {font-size: 20px;}

section {margin: 60px 0px;}

.no-p-m {padding:0px !important;}

.pulsante-dona a{margin: 0px 0px 27px 0px;}

.footer-text {text-align:center;}

.logo-footer img {display: none;}

.pulsante-servizi a {padding: 25px 0px;}

.pulsante-cinque {margin-bottom: 30px;}

.pulsante-lieti {margin-bottom: 30px;}

.pulsante-lasciti {margin-bottom: 30px;}

.card p {margin-bottom:0px;}

.progetti-box {height: 180px;}

.first {order: 1;}

.second {order: 2;}

footer h5 {margin:50px 0px 10px 0px;}

.full-section-image {height: 200px;}

.organigramma {padding: 0px;}

#organigramma .row {margin-top:20px;}

.contact-side {
  align-items:left;
  padding: 10px 10px;
}


}


@media screen and (min-width:325px) and (max-width:480px) {

.btn-c, .btn-g {text-align:center !important;}

.btn-g {margin-top:20px;}

.news-date {margin-top:20px;}

.contact-side i {margin-top:20px;}

#organigramma .container-fluid {padding:0px;}

h1 {font-size: 2rem;}

h3 {font-size: 1.6rem;}

.carousel-inner {
    height: auto;
}

.right-bar-elements {
  justify-content:center;
  margin-top:15px;
}

.mission-bar img {width: 80%;}

.navbar-brand {
  margin-right: 0rem;
  text-align:center;
  margin-bottom:15px;
}

.navbar-brand img{width:80%;}

.img-responsive-mobile {width:100%;}

.mission-bar h4 {font-size:16px;}

.numeri-mission {font-size: 20px;}

.mission-section {display:none;}

section {margin: 60px 0px;}

.description-box {
    position: relative;
    top:0px;
}

.no-p-m {padding:0px !important;}

.pulsante-dona a {margin: 30px 0px;}

.pulsante-cinque {margin-bottom: 30px;}

.pulsante-lieti {margin-bottom: 30px;}

.pulsante-lasciti {margin-bottom: 30px;}

.card p {margin-bottom:0px;}

.progetti-box {height: 180px;}

.first {order: 1;}

.second {order: 2;}

footer h5 {margin:50px 0px 10px 0px;}

.full-section-image {height: 200px;}

.organigramma {padding: 0px;}

#organigramma .row {margin-top:20px;}

.contact-side {align-items:center;}

}

@media screen and (min-width:100px) and (max-width:320px) {

#organigramma .container-fluid {padding:0px;}

h3 {font-size: 1.4rem;}

.btn-dona {font-size: 13px;}

.carousel-inner {
    height: auto;
}

h1 {font-size: 1.7em;}

.right-bar-elements {
  justify-content:center;
  margin-top:15px;
}

.mission-bar img {width: 80%;}

.navbar-brand {
  margin-right: 0rem;
  text-align:center;
  margin-bottom:15px;
}

.navbar-brand img{width:65%;}

.sede-box {
  width: 110px;
  font-size: 10px;
  margin-top: 5px;
}

.img-responsive-mobile {width:100%;}

.mission-bar h4 {font-size:16px;}

.numeri-mission {font-size: 20px;}

.mission-section {display:none;}

section {margin: 60px 0px;}

.description-box {
    position: relative;
    top:0px;
}

.no-p-m {padding:0px !important;}

.pulsante-dona a{margin: 30px 0px;}

.pulsante-cinque {margin-bottom: 30px;}

.pulsante-lieti {margin-bottom: 30px;}

.pulsante-lasciti {margin-bottom: 30px;}

.card p {margin-bottom:0px;}

.pulsanti h3 {font-size: 22px;}

.pulsanti i {font-size: 40px;}

.pulsante-servizi a {padding: 28px 0px;}

.progetti-box {height: 180px;}

.first {order: 1;}

.second {order: 2;}

footer h5 {margin:50px 0px 10px 0px;}

.logo-footer img {width: 70%;}

.logo-footer {
   float:none;
   border-right:0px;
}

.footer-text {text-align:center;}

.full-section-image {height: 200px;}

.organigramma {padding: 0px;}

#organigramma .row {margin-top:20px;}

.contact-side {align-items:center;}

}

.m-0-auto {
  margin:0 auto;
}

.img-search-page{
  max-height: 167px;
}

.menuInformazioniTab{
  width: 100%;
}
