textarea {
    resize: vertical;
}

.radio-inline + .radio-inline {
    margin-left: 0;
}

.well > h2:first-child {
    margin-top: 0;
}

/* sm */
@media (min-width: 768px) and (max-width: 992px) {
    .navbar-fixed-top {
        position: absolute;
        z-index: auto;
    }

    .row-sm-no-margin {
        margin-right: 0;
        margin-left: 0;
    }

    .navbar-septeo {
        background-color: rgba(255, 255, 255, 0.00) !important;
        border-color: #e7e7e7;
        margin-top: 47px;
    }

    .sidebar-nav .navbar .navbar-collapse {
        padding: 0;
        max-height: none;
    }

    .sidebar-nav .navbar ul {
        float: none;
    }

        .sidebar-nav .navbar ul:not {
            display: block;
        }

    .sidebar-nav .navbar li {
        float: none;
        display: block;
    }

        .sidebar-nav .navbar li a {
            padding-top: 12px;
            padding-bottom: 12px;
        }

    .navbar-collapse {
        padding-left: 0;
        padding-right: 0;
        width: 100%;
    }

    .logo {
        position: absolute !important;
        z-index: 99;
        top: 0;
        left: 0;
        padding: 0;
        width: 100px;
        height: 100px;
    }
}

/* en dessous de sm (xs) */
@media (max-width: 767px) {
    .logo {
        position: fixed;
        z-index: 99;
        left: 0;
        padding: 0;
        width: 58px;
        height: 58px;
    }

    .menuList {
        width: initial !important;
    }

    .soldeLocataire {
        position: static !important;
        width: 100% !important;
        right: initial !important;
        bottom: initial !important;
    }
}

/*pour sm*/
@media (min-width: 769px) and (max-width: 992px) {
    .body-content {
        padding-top: 25px !important;
    }
}

/*pour xd*/
@media (max-width: 768px) {
    .body-content {
        padding-top: 10px !important;
    }

    #formerActionMessageModal .modal-dialog {
        width: 350px;
        padding-top: 40px;
    }
}
/* en desous de md (xs et sm) */
@media (max-width: 992px) {
    .body-content {
        padding-left: 15px;
        padding-right: 15px;
    }

    .menuList {
        width: 100px;
        min-height: 0px;
    }
}

/* au dessus de xs (sm, md et lg) */
@media (min-width: 768px) {
    .navbar-header {
        float: none;
        padding-left: 15px;
        padding-right: 15px;
    }

    .logo {
        width: 100px;
        height: 100px;
        background-color: transparent;
        position: absolute;
        top: 0;
        left: 0;
    }

    .navbar-nav > li > a {
        padding-top: 0;
        padding-bottom: 0;
        padding-left: 0;
        padding-right: 0;
        color: white;
    }

    .up {
        width: 100%;
        padding-left: 75px;
    }

    #formerActionMessageModal .modal-dialog {
        width: 450px;
        padding-top: 50px;
    }
}

/* au dessus de sm (md et lg) */
@media (min-width: 992px) {
    .navbar-collapse {
        width: 900px !important;
        float: none;
        margin-left: auto;
        margin-right: auto;
    }

    .up {
        width: 100%;
        padding-left: 150px;
    }

    .menuList {
        height: 100px;
    }
}

/* pour md */
@media (min-width: 992px) and (max-width: 1200px) {
    .logo {
        width: 100px;
        height: 100px;
    }
}

/* pour lg */
@media (min-width: 1200px) {
    .logo {
        width: 150px;
        height: 150px;
    }

    #documentsRadioRight {
        border-left: 1px solid grey;
    }
}

.separateur {
    border-top-width: 2px;
    border-top-style: solid;
    width: 100%;
    color: #C5C3C3;
    margin: 15px 0 15px;
}

p {
    color: gray;
    margin-bottom: 5px;
}

tbody {
    color: gray;
}

b {
    color: black;
}

body {
    font-family: 'Lato', sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
    font-family: 'Lato', sans-serif;
}

/* to handle ourself a table-striped like behaviour but on the budget voter table */
tr.oddTdRow {
    background-color: #f9f9f9;
}

.logo {
    position: fixed;
    z-index: 99;
}

    .logo img {
        height: auto;
        max-width: 100%;
    }

.navbar-collapse {
    max-height: 100%;
}

.navbar-nav > li > a {
    color: white;
}

.col-no-padding {
    padding-left: 0;
    padding-right: 0;
}

.navbar-septeo {
    background-color: #e84c3d;
    border-color: #e7e7e7;
}

body.login {
    background-color: #e84c3d;
}

.well-transparent {
    background-color: rgba(245, 245, 245, 0.25);
    border-style: none;
}

.btn-inverse {
    background-color: rgb(71, 65, 65);
    color: white;
}

.left-inner-addon {
    position: relative;
}

    .left-inner-addon input {
        padding-left: 30px;
    }

    .left-inner-addon i {
        position: absolute;
        padding: 10px 12px;
        pointer-events: none;
    }

.text-white {
    color: white;
}

thead {
    background: #e84c3d;
    color: white;
}

body {
    overflow-x: hidden;
}

/* Set padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
    padding-top: 75px;
}

/* styles for validation helpers */
.field-validation-error {
    color: #b94a48;
}

.field-validation-valid {
    display: none;
}

input.input-validation-error {
    border: 1px solid #b94a48;
}

input[type="checkbox"].input-validation-error {
    border: 0 none;
}

.validation-summary-errors {
    color: #b94a48;
}

.validation-summary-valid {
    display: none;
}

.RadioFilter > input[type=radio ]:not(old) {
    width: 2em;
    margin: 0;
    padding: 0;
    font-size: 1em;
    opacity: 0;
    position: absolute;
}

    .RadioFilter > input[type=radio ] :not(old) + label {
        display: inline-block;
        margin-left: -2em;
        line-height: 1.5em;
    }

        .RadioFilter > input[type=radio ]:not(old) + label > span {
            display: inline-block;
            width: 18px;
            height: 18px;
            margin: 0.25em 0.25em 0.25em 0.25em;
            border: 1px solid rgb(192,192,192);
            background: #e84c3d;
            -webkit-border-radius: 12px;
            -moz-border-radius: 12px;
            vertical-align: bottom;
        }

    .RadioFilter > input[type=radio]:not(old):checked + label > span:before {
        content: '✓';
        display: block;
        color: #ffffff;
        font-size: 1em;
        line-height: 1.1em;
        text-align: center;
        font-weight: bold;
        vertical-align: middle;
    }


.RoundRadioFilter input[type=radio ]:not(old) {
    width: 2em;
    margin: 0;
    padding: 0;
    font-size: 1em;
    opacity: 0;
}

    .RoundRadioFilter input[type=radio ]:not(old) + label {
        display: inline-block;
        margin-left: -2em;
        line-height: 1.5em;
    }

        .RoundRadioFilter input[type=radio ]:not(old) + label > span {
            display: inline-block;
            width: 13px;
            height: 13px;
            margin: 0.25em 0.25em 0.25em 0.25em;
            border: 2px solid #797e82;
            background: #cccccc;
            -webkit-border-radius: 12px;
            -moz-border-radius: 12px;
            vertical-align: bottom;
        }


    .RoundRadioFilter input[type=radio]:not(old):checked + label > span:before {
        content: '.';
        display: block;
        width: 9px;
        height: 9px;
        color: transparent;
        padding-left: 3px;
        padding-top: 1px;
        font-weight: bold;
        vertical-align: middle;
        -webkit-border-radius: 12px;
        -moz-border-radius: 12px;
        vertical-align: bottom;
        background: #e84c3d;
    }




navbar-nav > li {
    background-color: #e54d42;
}

.menuText {
    color: white;
    font-size: 13px;
    margin-top: 1em;
    text-align: center;
}

.menuImage {
    margin-left: auto;
    margin-right: auto;
    width: 35px;
    height: 35px;
}

.menuAnchor {
    text-align: center;
    padding-top: 15px !important;
}

    .menuAnchor:hover {
        background-color: #222 !important;
    }

.menuAnchorActive {
    background-color: #222 !important;
}

.minimalMenuAnchor {
    height: 50px;
    padding-top: 5px !important;
    padding-bottom: 5px !important;
}

.minimalMenuAnchorWithBorder {
    border-top: solid 1px black;
}

.menuList {
    background-color: #E84C3D;
}

.shortImg {
    display: inline-block;
    float: left;
}

.badgeMenu {
    float: right;
    margin-top: 0.6em;
    margin-right: 0.5em;
}

.deconnexion {
    padding-left: 0;
    padding-right: 0;
}

.nomUtilisateur {
    margin-left: 70px;
}

.badgeLogin {
    margin-right: 1em;
}

.badge {
    min-width: 30px;
}

.noStyleA {
    text-decoration: none;
}

.badgeMini {
    margin-top: 0.8em;
}

.modalDialog {
    position: fixed;
    font-family: Arial, Helvetica, sans-serif;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(0,0,0,0.8);
    z-index: 99999;
    opacity: 0;
    -webkit-transition: opacity 400ms ease-in;
    -moz-transition: opacity 400ms ease-in;
    transition: opacity 400ms ease-in;
    pointer-events: none;
    padding: 10px;
}

    .modalDialog:target {
        opacity: 1;
        pointer-events: auto;
    }

.modalDialog-content {
    max-width: 300px;
    position: relative;
    margin: 10% auto;
    padding: 5px 20px 13px 20px;
    border-radius: 10px;
    background: #E84C3D;
}

.close {
    background: #FFFFFF;
    color: #000000;
    line-height: 20px;
    position: absolute;
    right: 0px;
    text-align: center;
    top: -30px;
    width: 20px;
    text-decoration: none;
    -webkit-border-radius: 12px;
    -moz-border-radius: 12px;
    border-radius: 12px;
    opacity: initial;
    font-size: 15px;
    font-family: 'Arial Unicode MS';
    font-weight: bold;
}

.RoundButton {
    background: #ccc;
    cursor: pointer;
    color: #f5f5f5;
    line-height: 20px;
    position: absolute;
    right: 20px;
    text-align: center;
    top: 20px;
    width: 20px;
    text-decoration: none;
    -webkit-border-radius: 12px;
    -moz-border-radius: 12px;
    border-radius: 12px;
    opacity: initial;
    font-size: 15px;
    font-family: 'Arial Unicode MS';
    font-weight: bold;
}

    .RoundButton:hover {
        color: #f5f5f5;
        text-decoration: none;
    }

.RoundButtonColor {
    background: #e84c3d;
    color: #ffffff;
    position: static;
}


.modalDialog .badge {
    background-color: black;
    margin-top: 10px;
    float: right;
}

.navbar-toggle .icon-bar {
    background-color: #E84C3D !important;
}

.minimalMenuText {
    display: inline-block;
}

.titreLocataires {
    background-color: #D2D7D8;
    padding: 15px;
}

.clear {
    clear: both;
}

.soldeLocataire {
    background-color: white;
    position: absolute;
    width: 33%;
    right: 1em;
    bottom: 20px;
}

.soldeIcon {
    padding-left: 5px;
}

.tableMontantsLocataires {
    background-color: white;
    padding-top: 20px;
    margin-bottom: 25px;
}

.soldeLabel {
    padding-top: 2px;
    padding-bottom: 2px;
    margin: 0px;
}

.documentsRadio {
    display: inline;
    font-size: 13px;
}

#documentsRadioLeft {
    padding-left: 5px;
    padding-right: 0px;
}

#documentsRadioRight {
    padding-left: 5px;
    padding-right: 0px;
}

.modalDialog-Evenement-Content {
    max-width: 800px;
    position: relative;
    margin: 10% auto;
    padding: 5px 20px 13px 20px;
    border-radius: 10px;
    background-color: #F5F5F5;
}

.popEvenementTitle {
    background-color: #C5CBCC;
    padding-left: 20px;
    padding-top: 10px;
    padding-bottom: 5px;
}

#popDateEvenement {
    display: inline-block;
    padding-right: 3em;
    padding-bottom: 0px;
}

.popContentEvenement {
    background-color: white;
    padding: 10px;
    margin-bottom: 20px;
    margin-top: 20px;
}

#popDateEvenementLabel {
    margin-left: 0.5em;
    font-size: 16px;
    font-weight: bold;
}

.selectPolice {
    border: 0px;
    height: 2em;
    background-color: #f9f9f9;
}

    .selectPolice > option {
        border: 0px;
        height: 2em;
        background-color: #f9f9f9;
    }

.picker {
    margin: 0;
    padding: 0;
    border: 0;
    width: 100px;
    height: 20px;
    border-right: 20px solid white;
    line-height: 20px;
}

#adminLogo {
    padding-top: 10px;
}

#errorMessageCharte .validation-summary-errors ul {
    font-weight: bold;
    display: flex;
    list-style: none;
    flex-direction: column;
    align-items: center;
}

#TimeTable {
    max-height: 180px;
    margin-top: 10px;
    max-width: 100%;
}

.adminPicker {
    display: inline-block;
}

.listeCouleurs li {
    margin-top: 15px;
}

.listeCouleurs img {
    margin-right: 5px;
}

.listeCouleurs div {
    display: inline-block;
}

#adminPreview {
    max-width: 100%;
    max-height: 300px;
}

.tableMontantsLocataires table {
    width: 100%;
}

.custom-file-input::-webkit-file-upload-button {
    visibility: hidden;
}

.custom-file-input::before {
    content: 'Choisissez un logo';
    display: inline-block;
    background-color: #e84c3d;
    color: white;
    border-radius: 3px;
    padding: 5px 8px;
    outline: none;
    -webkit-user-select: none;
    cursor: pointer;
    margin-left: -10px;
}

.custom-file-input:hover::before {
    background-color: #000000;
    border-color: black;
}

.custom-file-input:active::before {
    background: -webkit-linear-gradient(top, #e3e3e3, #f9f9f9);
}

input:checked + label:nth-child(n) > span > span {
    display: block;
}

.btn[disabled] {
    /*opacity: 1;*/
}

.tabComptaTD, .tabComptaTH {
    text-align: right;
    width: 90px;
    padding-right: 1.5em !important;
}

.hide-overflow {
    white-space: nowrap;
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Bandeau accepter les cookies */
.accept-cookie {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #000;
    color: #fff;
    z-index: 100;
    padding: 10px 0;
    text-align: center;
}

.accept-cookie-message {
    color: #d8d8d8 !important;
    margin-bottom: 10px;
}

.accept-cookie-button {
    text-transform: uppercase;
}

@media (min-width: 992px) {

    .accept-cookie-message,
    .accept-cookie-button {
        display: inline-block;
        vertical-align: middle;
    }

    .accept-cookie-message {
        margin-bottom: 0;
    }

    .accept-cookie-button {
        margin-left: 10px;
    }
}

/* Choix de compte */

.account-item-title {
    margin-top: 0;
}

.account-item-reference {
    text-align: right;
}

.account-item-address p:empty {
    display: none;
}

@media (min-width: 768px) {
    .account-item-address,
    .account-item-lease,
    .account-item-detail {
        position: relative;
        min-height: 100px;
    }

    .account-item-address-inner,
    .account-item-lease-inner,
    .account-item-detail-inner {
        bottom: 0;
        left: 15px;
        right: 15px;
    }

    .account-item-lease-inner {
        max-height: 100%;
        overflow-y: auto;
    }

    .account-item-detail-inner {
        text-align: right;
        padding-bottom: 5px;
    }
}

/* Menu tabs */

.tabs-menu {
    text-align: center;
}

    .tabs-menu > li {
        display: inline-block;
    }

    .tabs-menu .menuAnchor {
        display: block;
        width: 100px;
        height: 100px;
        cursor: pointer;
        margin: 0;
        font-weight: normal;
    }

    .tabs-menu .menuText {
        display: block;
    }

/* Charte */

.charte-form-group {
    margin-bottom: 30px;
}

@media (min-width: 992px) {
    .charte-form-group {
        margin-bottom: 0;
    }
}

/* Tableaux scrollables */

.table-vertical-wrapper {
    overflow-y: auto;
    max-height: 500px;
    margin-bottom: 15px;
}

/* Évenements */
.event-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

    .event-list ul {
        list-style: none;
        margin: 0;
        padding: 0;
        padding-left: 23px;
    }

.event-item {
    margin-bottom: 30px;
    background: rgba(255, 255, 255, 0.3);
}

    .event-item > ul:nth-child(odd) {
        background: rgba(255, 255, 255, 0.8);
    }

.event-item-header {
    padding: 5px;
    background: gray;
    color: white;
}

.event-item-action {
    padding: 5px;
}

    .event-item-action .hide-overflow {
        width: auto;
    }

.foldable {
    float: left;
    width: 20px;
    height: 20px;
    border: 0px solid white;
    font-size: 0;
    color: transparent;
    border-radius: 99px;
    margin: 0px 10px 0 0;
    cursor: pointer;
}

    .foldable:not(.foldable-folded) {
        background: url(Images/Picto_MOINS.png) no-repeat center center/contain;
    }

    .foldable.foldable-folded {
        background: url(Images/Picto_PLUS.png) no-repeat center center/contain;
    }

.collapsable {
    float: left;
    min-width: 18px;
    width: 18px;
    height: 18px;
    border: 2px solid white;
    font-size: 0;
    color: transparent;
    background: url(Images/arrow-white.svg) no-repeat center center;
    border-radius: 99px;
    margin: 1px 10px 0 0;
    cursor: pointer;
    transform: rotate(180deg);
}

.event-item-action .collapsable {
    background-image: url(Images/arrow-black.svg);
    border-color: #808080;
}

.collapsable-collapsed {
    transform: rotate(90deg);
}

.warning-icon {
    float: right;
    width: 18px;
    height: 18px;
    color: transparent;
    font-size: 0;
    background: url(Images/warning.svg) no-repeat center center;
}

/* Paramètres */
.settings-form .control-label {
    text-align: left;
}

.edit-link,
.delete-link {
    display: inline-block;
    vertical-align: middle;
    width: 24px;
    height: 24px;
    background-repeat: no-repeat;
    font-size: 0;
    color: transparent;
}

.edit-link {
    background-image: url(Images/edit.svg);
}

.delete-link {
    background-image: url(Images/delete.svg);
}

/* Tricks to Flex center a picture within a div */
div.horizontal {
    display: flex;
    justify-content: center;
}

div.vertical {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

    div.vertical > div.horizontal.half {
        height: 50%;
    }

div.horizontal > div.vertical.half {
    width: 50%;
}

div.vertical > div.horizontal.half > img {
    width: 50%;
}

div.horizontal > div.vertical.half > img {
    height: 50%;
}

/* Services en ligne */
.service-item {
    margin-bottom: 30px;
    text-align: center;
}

.service-item-title {
    margin-top: 0;
    min-height: 40px;
}

.service-item-thumbnail {
    margin: 15px auto;
    width: 100px;
    height: 100px;
}

    .service-item-thumbnail img {
        max-width: 100%;
        height: auto;
    }

.service-item-body {
    min-height: 80px;
}

.file-preview {
    background-color: white;
}

/* a small fix according to the usage made of bootstrap-fileinput */
.file-drop-disabled {
    overflow: hidden;
}

/* add a specific final border line to the Gestionnaire selection screen's table */
#selectionGestionnaireTable tbody > tr > td, #choixCompteTable tbody > tr > td {
    border-bottom: 1px solid #ddd;
}

/* taille des icônes*/
.gi-lg {
    font-size: 1.2em;
}

.gi-2x {
    font-size: 2em;
}

.gi-3x {
    font-size: 3em;
}

.gi-4x {
    font-size: 4em;
}

.gi-5x {
    font-size: 5em;
}

/*gestion de l'affichage sur mobiles*/
@media screen and (max-width: 767px) {
    .table-responsive > .table {
        background-color: transparent !important;
    }

        .table-responsive > .table > tbody > tr > td {
            display: block;
        }

    .tdVide {
        display: none !important;
    }
}

@media (min-width: 768px) {
    .menuAnchor {
        width: 100px;
        height: 100px;
    }
}

.table-scrollable, .table-scrollable-small {
    overflow: auto;
}

.loader {
    border: 5px solid;
    border-radius: 50%;
    border-top: 5px solid;
    width: 30px;
    height: 30px;
    -webkit-animation: spin 2s linear infinite;
    animation: spin 2s linear infinite;
    margin-right: 0.5em;
    display: none;
}

@-webkit-keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
    }
}

@keyframes spin {
    0% {
        transform: scale(1) rotate(0deg);
    }

    100% {
        transform: scale(1) rotate(360deg);
    }
}

.glyphicon {
    margin-right: 5px;
}

.trhide {
    display: none;
}

.trfoldable {
    display: table-row;
}

.titleCenter {
    text-align: center;
    margin-bottom: 40px;
}

#formerActionMessageModal {
    z-index: 99999;
}

#selectionGestionnaireTable .vertical-middle {
    vertical-align: middle !important;
}

.navbar-center {
    text-align: center !important;
    margin-top: 15px;
    margin-bottom: 15px;
}

/* Footer + sticky ***********************************************************/
#layoutMainContainer .container-parent {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}


#layoutMainContainer .container-child {
    flex-grow: 1;
    padding-top: 50px;
    padding-bottom: 20px;
}

#layoutFooter {
    min-height: 1vh;
    background-color: #1d2730 !important;
    color: #fff !important;
}

#layoutFooterSpan {
    color: #fff !important;
}

#layoutFooter a, #layoutFooter a:hover {
    text-decoration: underline;
    color: #fff !important
}

.layout-footer-admin {
    position: fixed !important;
    bottom: 0 !important;
    width: 100% !important;
}
/*****************************************************************************/

/* Cookies *******************************************************/
.cc-revoke.cc-bottom.cc-animate {
    display: none !important;
}

.cc-allow, .cc-dismiss, .cc-deny {
    background-color: #ddd !important;
    color: #000 !important;
}

    .cc-allow:hover {
        background-color: #28a745 !important;
        color: #fff !important;
    }

    .cc-dismiss:hover, .cc-deny:hover {
        background-color: #d9534f !important;
        color: #fff !important;
    }
/*****************************************************************/

/* CGU************************************************************/
#modalPolicy .modal-body p, #modalCGU .modal-body p {
    margin-bottom: 10px;
}

#modalPolicy .modal-body h4, #modalCGU .modal-body h4 {
    margin-top: 20px;
}

@media print {
    #cgu-buttons, #cgu-checkbox {
        display: none
    }

    #cgu-text {
        max-height: none;
        overflow-y: visible !important;
    }
}

#cgu-text {
    max-height: 70vh;
    overflow-y: scroll;
}

.modalLogin {
    overflow: auto;
}

    .modalLogin .modal-80 {
        width: 80%;
    }

    .modalLogin .modal-body {
        max-height: calc(100vh - 212px);
        overflow-y: auto;
    }
/*****************************************************************/

/*Page de selection de bien*/
/*****************************************************************/
.primary-btn-select-bien, .primary-btn-select-bien:hover, .primary-btn-select-bien:focus {
    background-color: #3E486E;
    color: #FFFFFF;
    border-color: #3E486E;
}

.secondary-btn-select-bien {
    background-color: #FFFFFF;
    color: #2E3862;
    border-color: #2E3862;
    font-size: 15px;
}

    .secondary-btn-select-bien:hover, .secondary-btn-select-bien:focus {
        background-color: rgba(46,56,98,0.1);
        color: #2E3862;
        border-color: #2E3862;
        font-size: 15px;
    }

.Title-select-bien {
    color: #3E486E;
}

/* Page de confirmation de compte *******************************/
.confim-email-err .err-msg ul {
    list-style: none;
    padding-left: 25px;
    padding-right: 25px;
}

.confim-email-err h4 {
    font-weight: bold;
    margin-top: 0px;
    color: #d9534f;
    padding-left: 25px;
    padding-right: 25px;
}

.home-link, .home-link:hover, .home-link:focus, .home-link:visited {
    text-decoration: underline;
    font-size: large;
    font-weight: bold;
}

.err-home-link {
    padding-top: 10px;
    padding-left: 25px;
}
/****************************************************************/
