* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
  font-family: 'Raleway', sans-serif;
}
html,
body {
  scroll-behavior: smooth;
}
.header {
  padding-top: 4vw;
  width: 100%;
  background-image: url('images/Adp_BG_new.png');
  background-size: 100%;
  background-repeat: no-repeat;
  background-color: #0C3753;
}
.logo {
  margin: auto;
  height: 100%;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.logo img{
  margin: 0 auto 3rem;
  width: 25rem;
}


.avviso_box {
  background: white;
  border-radius: 10px;
  width: 50%;
  padding: 2rem;
  text-align: center;
  margin-top: 1rem;
  display: flex;
  align-items: center
}

.avviso_box>p {
  margin: 0;
  text-align: left;
  margin-left: 1rem;
}

.danger {
  color: #ffd636;
  font-size: 3rem;
  margin: 0 auto 0;
}
.btn_airports {
  display: flex;
  justify-content: space-between;
  width: 50%;
}

.btn_airports a {
  color: white;
  font-weight: 500;
  font-size: 2rem;
  padding: 1rem;
  border-radius: 10px;
  width: 48.5%;
  text-align: center;
  margin-bottom: 7rem;
  margin-top: 2rem;
  font-weight: 100;
}

.btn_airports a:hover {
  color: white;
}

.btn_airports>a span {
  font-weight: 800;
}


.ba {
  background-color: #dd3c2f;
}

.br {
  background-color: #e95a0c
}
.main_bari {
  width: 100%;
  background-image: url('images/IMG_Bari_02.png');
  background-size: 100%;
  background-repeat: no-repeat;
  position: relative;
}
.bari_container h6 {
  position: absolute;
  top: 8%;
  left: 50%;
  transform: translateX(-50%);
  /* background-color: #DD3C2F; */
  display: block;
  width: 100%;
  padding: 1.5vw 0;
  text-align: center;
  color: white;
  font-size: 4.7vw;
  font-weight: 800;
}
.bari_container h6 span{
  font-weight: 800
}
.main_brindisi {
  width: 100%;
  background-image: url('images/IMG_Brindisi_02.jpg');
  background-size: 100%;
  background-repeat: no-repeat;
  position: relative;
}

.brindisi_container h6 {
  position: absolute;
  top: 8%;
  left: 50%;
  transform: translateX(-50%);
  /* background-color: #DD3C2F; */
  display: block;
  width: 100%;
  padding: 1.5vw 0;
  text-align: center;
  color: white;
  font-size: 4.7vw;
  font-weight: 800;
}
.brindisi_container h6 span{
  font-weight: 800
}
.box_container {
  padding-top: 11vw;
  width: 100%;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}
.box_container>div{
  width: 42%;
  height: 25vw;
  border-radius: 10px;
  background-color: white;
  margin: 0 1vw 5vw 0;
  -webkit-box-shadow: 10px 10px 40px -20px rgba(0,0,0,0.75);
  -moz-box-shadow: 10px 10px 40px -20px rgba(0,0,0,0.75);
  box-shadow: 10px 10px 40px -20px rgba(0,0,0,0.75);
}
.box_container>div h6 {
  color: #0B3753;
  font-size: 1.2vw;
  font-weight: 800;
  padding: 5%;
  display: flex;
  align-items: flex-end;
  line-height: 100%;
}
.box_container>div h6 img{
  width: 10%;
  margin-right: 1vw;
}
.footer {
  margin-top: 3rem;
}
.logo_footer {
  width: 15rem;
}

.bg_social {
  background: #0B3753;
}

.row_social>a {
  color: white !important;
}

.social {
  margin-left: .5rem;
  margin-right: .5rem;
  font-size: 1.5rem;
}

.social:hover {
  text-decoration: none;
}

/* TABELLE */


.table_custom {
  width: 97%;
  margin: auto;
  overflow-y: scroll;
  height: 70%;
}

table {
  width: 100%;
  padding: 0 .5vw;
  margin: auto;
  font-family: 'Titillium Web', sans-serif;
}
.main_bari table thead th{
  color:  #DD3C2F;
}
.main_brindisi table thead th{
  color:  #E2780B;
}
table thead th,
table tbody td{
  border-top: 1px solid lightgray;
  padding: .5vw 0 .5vw .5vw;
  font-size: .6vw;
}
table tbody td:first-of-type{
  font-weight: 900;
}
table tbody td{
  color: grey;
}
table tbody tr:nth-child(odd){
  background-color: #F2F2F2;
}

@media (max-width: 992px) {
  .header {
    background-image: unset;
  }
  .logo img {
    width: 40vw;
    margin: 1.5rem 0;
  }
  .danger {
    color: #ffd636;
    font-size: 2rem;
    margin: 0 auto .5rem;
  }
  .avviso_box {
    width: 90%;
    border-radius: 10px;
    padding: 1rem 1rem;
    display: flex;
    align-items: center;
    flex-direction: column;
    font-size: .8rem;
  }
  .avviso_box>p{
    text-align: center;
    margin-left: 0;
  }

  .btn_airports {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    margin-top: 2rem;
    margin-bottom: 2rem;

  }
  .btn_airports a {
    color: white;
    font-weight: 500;
    font-size: 1.4rem;
    padding: 1rem;
    border-radius: 10px;
    width: 90%;
    text-align: center;
    margin: auto;
    margin-bottom: .5rem;
    margin-top: 0;

  }

  .bari_container h6, .brindisi_container h6 {
    width: 80% !important;
    font-size: 1.8rem !important;
  }

  .bg_social {
    flex-direction: column;
  }

  .row_social {
    margin-top: 2rem;
  }
  .box_container {
    padding-top: 21vw;
  }
  .box_container>div {
    width: 90%;
    height: 50vh;
  }

  table thead th,
  table tbody td{
    font-size: .5rem;
    min-width: 3rem;
    padding-right: 1vw;
  }
  .box_container>div h6 {
    color: #0B3753;
    font-size: 1.2rem;
    font-weight: 800;
    padding: 5%;
    display: flex;
    align-items: flex-end;
    line-height: 100%;
    justify-content: space-between;
  }
  .box_container>div h6 img{
    width: 15%;
    margin-right: 1rem;
  }

  .main_brindisi {
    margin-top: 5rem;
  }
  .bari_container h6 {
    top: 3%;
  }
  .brindisi_container h6 {
    top: 3%;
  }

  th {
    font-size: 1rem;
  }

  .table_custom {
    overflow-x: scroll;
  }

}
