﻿/* 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 -60px;
}

/* Set the fixed height of the footer here */
#push,
.footerRow {
  height: 60px;
}

.contententi {
  min-width: 100%;
}


/* 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;
  }

}

/*Footer Style*/
#footer{
  height:60px;
}

@media (max-width: 767px) {
  
  #footer{
    height:100px;
    margin: 0;
    padding: 0;
    border:none;
  }

  #footer p {
  	padding: 5px;
  }

  a.Developed {
    padding: 20px 0 0 0;
    margin: 0;
    display: inline-block;
    text-align: center;
    width: 100%;
    float:none;
    font-size: inherit;
  }

}

#spacerSotto, #spacerSotto td {
  display: none;
}

/*Login Style*/

@media (max-width: 767px) {
  #BoxLogin {
    width: 100%;
  }
}

/*Header Style*/
#testata h1.logo{
  margin-top: 16px; 
}

#testata div img {
  margin-top: 5px; 
}

table.BoxProfilo td ul.MenuBoxProfilo li a span{
  padding: 2px 5px 0 5px;
}

table.BoxProfilo td ul.MenuBoxProfilo li a {
}

table.BoxProfilo {
  margin-right: 0;
}

.FVOBT #testata, .FVOBT #testata div{
  background-color: #FFFFFF;
}

.FVOBT #wrapper2{
  width: auto;
}

@media (max-width: 767px) {
  	#testata h1.logo {
    	margin-top: 16px; 
    	margin-left: 0;
  	}

  	#testata{
    	height: auto;
  	}

  	html, body, .completa {
	  	background-image: none;
  	}		
}

/*Menu 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;
    }

}

/*Homepage style*/

.popover-content.tooltipCalendario span{
  display: block;
  margin-bottom: 10px;
}

h1 {
  margin-top: 10px;
}
  
h3 a.btn, h2 a.btn, h1 a.btn {
  margin-top:0;
  padding-top: 0;
}

h1 span.glyphicon, h2 span.glyphicon{
  font-size: 12px;
}

@media (max-width: 767px) {
  
  .unit {
      float: inherit;
  }
  
  .size1of3 {
      width: inherit;
  }

  .TimelineCalendario {
    width: auto;
  }

  .NPratiche{
    float: left;
    width: 50%;
    margin: 0;
  }

  .NPratiche a {
    color: #336699;
    display: inline-block;
  }

  .bigNumber{
    width: 90%;
  }

  ul.AttivitaRecenti {
    padding: 0;
    margin: 0;
  }

  h1 {
    text-align: center;
  }

  h2, h4 {
    height: auto;
  }

  #contenuti table {
    margin: 0;
  }

  #contenuti {
    padding: 0;
    width: auto;
  }

  #contenuti.row {
    margin-right: -15px;
    margin-left: -15px;
  }

}

/*Table Style*/

.tabellaTitolone{
  width: 100%;
}


@media screen and (max-width: 767px) {
  
  table.responsiveTable.DettaglioViaggiatore, table.responsiveTable.Dettaglio, table.responsiveTable.DettaglioRichiesta, table.responsiveTable.DettaglioProposte {
    width: 100%;
  }

  table.responsiveTable thead, table.responsiveTable tr.Titolo, table.responsiveTable.DettaglioViaggiatore tr.odd, table.responsiveTable.Dettaglio tr.odd, table.responsiveTable.DettaglioRichiesta tr.odd, table.responsiveTable.DettaglioProposte 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.DettaglioViaggiatore tr, table.responsiveTable.Dettaglio tr, table.responsiveTable.DettaglioRichiesta tr, table.responsiveTable.DettaglioProposte tr {
    border-bottom: none;
  }

  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.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;
  }

}

/*Page "Elenco Servizi" Style*/

.BoxNuoviServizi .col-sm-12 .boxModalita {
  width: 100%;
  margin: 0 0 5px 0;
  padding: 5px;
}

tr#RigaTableServizi  .col-sm-12 .BoxNuoviServizi  .col-sm-12 .Servizio {
  width: 100%;
  margin: 5px 0 5px 0;
  min-height: 50px;
}

.Servizio {
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

@media screen and (max-width: 767px) {

  tr#RigaTableServizi  .col-sm-12 .BoxNuoviServizi  .col-sm-12 .Servizio {
   min-height: 70px;
  }

  .BoxErrore, .BoxSuccesso {
    width: 100%;
  }

  .collapse-mobile{
    display: none;
  }

  .btn.btn-sm.LinkCollapse{
    float: right;
  }

  .tabellaTitolone, .tabellaMaster{
    width: 100%;
  }

  .BoxMessaggi {
    margin-left: 0;
    width: 100%; 
}

}


/*Page "Elenco Messaggi" Style*/

@media screen and (max-width: 767px) {
  
  table.ElencoMessaggi, #contenuti table.ElencoMessaggi, table.ElencoMessaggiNew {
    width: 100%;
  }

  table.ElencoMessaggiNew td p.left{
    margin-left: 15px;
    margin-right: 20px;
  }

  table.ElencoMessaggiNew td p.left:after{
    left: -25px;
  }

  table.ElencoMessaggiNew td p.right {
    margin-right: 15px;
    margin-left: 20px;
  }

  table.ElencoMessaggiNew td p.right:after {
    right: -25px;
  }

}

/*Form Style*/

table.formTable, table.formTable table{
  width: 100%;
}

.pull-right .pagination{
  margin: 0;
  padding: 0;
}

.formTable .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.formTable tr {
    display: block;
  }
  table.formTable td {
    display: inline-block;
    min-height: 32px;
    width: 100%;
  }

  .BoxMarginLeft30{
    margin-left: 0;
  }

  .labelCheckbox input,.labelCheckbox label{
    float: left;
  }

  .labelCheckbox label{
    width: auto;
  }

  .labelCheckbox input{
    margin-top: 5px;
  }

}

/*Page "Elenco Pratiche" Style*/

table.elenco td.statoPratica a.btn{
  text-shadow: none;
}


/*Content Style*/
.row.content{
  padding-bottom: 10px;
}