/* Sticky footer styles
-------------------------------------------------- */

/* Wrapper for page content to push down footer */
#container {
  min-height: 100%;
  height: auto !important;
  height: 100%;
  /* Negative indent footer by it's height */
  margin: 0 auto -46px;
}

/* Set the fixed height of the footer here */
#push,
.footerRow {
  height: 46px;
}

/* Lastly, apply responsive CSS fixes as necessary */
@media (max-width: 767px) {

  #container {
    /* Negative indent footer by it's height */
    margin: 0 auto -100px;
  }

  /* Set the fixed height of the footer here */
  #push,
  .footerRow {
    height: 100px;
  }

  .contententi {
    min-width: 100%;
  }
}

/*Footer Style*/
#footer{
  height:46px;
}

@media (max-width: 767px) {
  #footer{
    height:100px;
  }


  a.Developed {
    padding: 20px 0 0 0;
    margin: 0;
    display: inline-block;
    text-align: center;
    width: 100%;
    float:none;
    font-size: inherit;
  }

}

/*Header Style*/
#testata h1.logo {
  margin-top: 16px; 
}

html, body, .completa {
  background-image: none;
}

@media (max-width: 767px) {
  #testata h1.logo {
    margin-top: 16px; 
    margin-left: 0;
  }

  html, body, .completa {
    background-image: none;
  }

  #testata{
    height: auto;
  }
}

/*Login Style*/

@media (max-width: 767px) {
  #BoxLogin {
    width: 100%;
  }
}

/*Homepage Style*/
.BoxNews, .BoxServizi, .BoxInfo, .BoxInfoRep, .BoxLink{
  width: auto;
}

/*Navigation Style*/
@media (min-width: 767px) {
    .navbar-default .navbar-collapse, .navbar-default{
      border: none;
      padding: 0;
      background: #00458a;
      margin: 0;
      min-height: 0;
    }

    .navbar-nav>li>a{
      padding-top: 7px;
      padding-bottom: 10px;
      border-top: solid 2px #00458a;
    }

    .navbar-default .navbar-nav>li>a:focus, .navbar-default .navbar-nav>li>a:hover, .navbar-default .navbar-nav>li>a
    {
      color: #febe00;
      background: #00458a;
    }

    .navbar-default .navbar-nav>li>a 
    {
      color: #FFFFFF;
      background: #00458a;
    }

    .navbar-default .navbar-nav>.active>a, .navbar-default .navbar-nav>.active>a:focus, .navbar-default .navbar-nav>.active>a:hover{
      color: #febe00;
      background: #00458a;
      font-weight: bold;
      border-top: solid 2px #febe00;
    }

    .navbar-default .navbar-nav>.open>a, .navbar-default .navbar-nav>.open>a:focus, .navbar-default .navbar-nav>.open>a:hover {
      color: #febe00;
      background-color: #00458a;
    }

    .dropdown-menu>li>a:focus, .dropdown-menu>li>a:hover {
        color: #FFFFFF;
        text-decoration: none;
        background-color: #00458a;
    }

}

/*Profile Page Style*/

.tabellaForm {
  width: 100%;
}

ul.MenuDx {
  padding:0;
  margin: 0;
  width: auto;
}

ul.MenuDx li, ul.MenuDx li a  {
  width: 100%;
  /*text-align: center;*/
}

ul.MenuDx li.linkUtenti a, ul.MenuDx li.linkPersonalizzazioni a, ul.MenuDx li.linkInfoRep a, ul.MenuDx li.linkTravelPolicy a {    
    width: 100%;
}

@media (max-width: 767px) {
  
  ul.MenuDx {
    display: none;
  }

}

/*Support page Style*/

@media (max-width: 767px) {
  div.boxLogoSX, div.boxSupporto {
    width: 100%;
    max-width: 100%;
    padding: 0;
    margin:0;
    border:none;
  }

  div.logoSupporto {
    display:none;
  }

  div.boxSupporto table, div.boxSupporto tr{
    display: block;
  }

  div.boxSupporto td{
    display:block;
    width: 100%;
    max-width: 100%;
    clear: both;
  }
}


/*Table Style*/
@media screen and (max-width: 767px) {
  
  table.responsiveTable {
    width: 100%;
  }

  table.responsiveTable thead, table.responsiveTable tr.Titolo, table.responsiveTable tr.odd {
    border: none;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
  }

  table.responsiveTable tr {
    border-bottom: 3px solid #ddd;
    display: block;
  }

  table.responsiveTable td {
    border-bottom: 1px solid #ddd;
    display: block;
    text-align: left;
    min-height: 32px;
  }
  table.responsiveTable td:before {
    content: attr(data-label);
    float: left;
    font-weight: bold;
    padding-right: 5px;
  }

  table.responsiveTable.TableAmministrazione
  {
    min-width:100%;
  }

  /*table.normal.responsiveTable {
    width: 100%;
  }

  table.responsiveTable td.rigaDxGialla{
    border-right: none;
  }

  table.responsiveTable td.rigaSx{
    border-left: none;
  }

  table.responsiveTable td.rigaSotto{
    border-bottom: 1px solid #ddd;
  }*/

}

/*Form Style*/

table.tabellaForm, table.tabellaForm table{
  width: 100%;
}

.pull-right .pagination{
  margin: 0;
  padding: 0;
}

.tabellaForm .label{
  color: inherit;
  text-align: left;
}

.labelCheckbox label{
    width: auto;
    display: inline;
  }

textarea.w400{
  width: 400px;
}

@media screen and (max-width: 767px) {
  
  input[type='text'], input[type='password'], select {
    width: 100%;
    max-width: 100%
  }

  textarea, textarea.w400{
    width:100%;
    max-width: 100%
  }

  table.tabellaForm tr {
    display: block;
  }
  table.tabellaForm td {
    display: inline-block;
    /*min-height: 32px;*/
    width: 100%;
  }

  .tabellaForm td.Voce {
      width:100%;
      max-width:100%;
  }

   .tabellaForm td.bordoDx {
      width:100%;
      max-width:100%;
  }

  .tabellaForm td {
      overflow-wrap: break-word;
      overflow-y: hidden;
      white-space: normal !important;
  }

  .labelCheckbox input,.labelCheckbox label{
    float: left;
  }

  .labelCheckbox label{
    width: auto;
  }

  .labelCheckbox input{
    margin-top: 5px;
  }

}