﻿/* Move down content because we have a fixed navbar that is 50px tall */
body {
    padding-top: 50px;
    padding-bottom: 20px;
}

/* Wrapping element */
/* Set some basic padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

/* Override the default bootstrap behavior where horizontal description lists 
   will truncate terms that are too long to fit in the left column 
*/
.dl-horizontal dt {
    white-space: normal;
}

/* Set widths on the form inputs since otherwise they're 100% wide */
input[type="text"],
input[type="password"],
input[type="email"],
input[type="tel"],
input[type="select"] {
   /* max-width: 280px;*/
}

/* Responsive: Portrait tablets and up */
@media screen and (min-width: 768px) {
    .jumbotron {
        margin-top: 20px;
    }
    .body-content {
        padding: 0;
    }
}


/*Etichetta */

.contenuto {
    /*margin-top: 0.5em;*/
    margin-top: 1.3em;
    padding: 0;
    font-size: smaller;
    line-height: 1;
    display: block;
}

.divlabel {
    float: left;
    /*top: -16px;*/
    /*left: 0px;*/
    font-size: x-small;
    position: relative;
    background: rgba(181, 225, 239, 0.72);
    margin-bottom: 0px;
}

.divpedice {
    float: right;
    /*top: -16px;*/
    /*left: -16px;*/
    /*font-size: x-small;*/
    right: -10px;
    bottom: -4px;
    position: relative;
    /*background: rgba(181, 225, 239, 0.72);*/
    margin-bottom: 0px;
}

.rigatop {
    /*padding-top: 1em;
    padding-bottom: 1em;*/
    border: thin solid rgba(181, 225, 239, 0.72);
    /*height: 38px;*/
    text-align: center;
    min-height: 38px !important;
}


.rigatopsx {
    /*padding-top: 1em;
    padding-bottom: 1em;*/
    border: thin solid rgba(181, 225, 239, 0.72);
    /*height: 38px;*/
    text-align: center;
    min-height: 38px !important;
  /*  margin-right: -15px*/
}

.rigatopdx {
    /*padding-top: 1em;
    padding-bottom: 1em;*/
    border: thin solid rgba(181, 225, 239, 0.72);
    /*height: 38px;*/
    text-align: center;
    min-height: 38px !important;
  /*  margin-left: -15px;*/
}

.rigatopcx {
    /*padding-top: 1em;
    padding-bottom: 1em;*/
    border: thin solid rgba(181, 225, 239, 0.72);
    /*height: 38px;*/
    text-align: center;
    min-height: 38px !important;
   /* margin-left: -15px;
    margin-right: -15px*/
}

.tabellanobordi td {
    border: none;
    padding: 0px;
}

.navbar-brand {
    margin-left: auto !important;
    margin-right: auto !important;
}

.header-centered th {
    text-align: center !important;
}

@media screen and (min-width: 768px) {
    .rigatopsx {       
        margin-right: -15px
    }

    .rigatopdx {       
        margin-left: -15px;
    }

    .rigatopcx {
        margin-left: -15px;
        margin-right: -15px
    }

}

/* toglie l'allineamento verticale delle tabelle in bootstrap*/
.table td {
    vertical-align: inherit;
}