﻿body {
    padding-top: 50px;
    padding-bottom: 65px;
    position: relative;
}

/* Set 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 width on the form input elements since they're 100% wide by default */
/*input,
select,
textarea {
    max-width: 280px;
}*/

label {
    font-weight: normal
}

/* see https://stackoverflow.com/questions/9288482/how-do-i-set-the-offset-for-scrollspy-in-bootstrap */

body {
    /*    margin-top: 40px;  make room for the nav bar */
}

/* make room for the nav bar */
h1[id],
h2[id],
h3[id],
h4[id],
h5[id],
h6[id],
dt[id] {
    padding-top: 60px;
    margin-top: -40px;
    /* to avoid hx pass over input (ex: Loyer mensuel / Cheminements extérieurs) */
    z-index: -1;
    position: relative;
}

/* logement form invalid color */
tr.ng-invalid {
    color: #a94442;
    background-color: #f2dede;
}

/* carto */

.handiToitCartoInfoWindow {
    text-align: center;
}

.handiToitCartoInfoWindow div.nomCommune {
    font-weight: bold;
    /*font-family: montserrat;*/
    font-size: 18px;
}

.handiToitCartoInfoWindow div.nomCommune hr {
    width: 1em
}

.handiToitCartoInfoWindow div.bloc {
    padding-top: 0.5em;
    width: 17em;
    float: left;
}

.handiToitCartoInfoWindow div.bloc img {
    vertical-align: middle;
    height: 40px;
}

.handiToitCartoInfoWindow span.value {
    font-weight: bold;
    font-size: larger;
    /*font-family: montserrat;*/
}

.handiToitCartoInfoWindow div.bloc .legend {
    margin-top: 0.5em;
}

.handiToitCartoInfoWindow .repartition {
    clear: both;
    padding-top: 0.5em;
}

.handiToitCartoInfoWindow .repartition hr {
    border: 0;
    font-weight: bold;
    border-bottom: 3px dotted #dfdfdf;
}

.handiToitCartoInfoWindow .repartition ul {
    list-style: none;
    padding: 0;
    margin: 0;
    margin-left: auto;
    margin-right: auto;
    width: 33em;
}

.handiToitCartoInfoWindow .repartition ul li {
    margin-top: 0.5em;
    width: 8em;
    float: left;
}

.handiToitCartoInfoWindow .repartition ul li img {
    vertical-align: middle;
    height: 40px;
}

.handiToitCartoInfoWindow .repartition ul li.separateur {
    line-height: 40px;
    border-left: 1px solid #dfdfdf;
    width: 0px
}

.handiToitCartoInfoWindow .dont {
    position: absolute;
    width: 100%;
    /*font-family: montserrat;*/
    text-transform: uppercase;
    top: 85px;
    right: 10px;
    font-weight: bold;
    letter-spacing: 0.5px;
}
