/* BTN DELETE WITH FORM */
.confirm-form-button, .edit-inline {
    display: inline-block;
}

.confirm-form-button > .btn {
    top: 0px;
}

/* FLASH MESSAGES */
.flash-messages {
    border-top: none;
    border-left: none;
    border-right: 1px solid transparent;
    border-bottom: 1px solid transparent;
}

/* UI AUTOCOMPLETE */
.ui-autocomplete {
    position: absolute;
    z-index: 1000;
    cursor: default;
    padding: 0;
    margin-top: 2px;
    list-style: none;
    background-color: #ffffff;
    border: 1px solid #ccc;
    -webkit-border-radius: 5px;
       -moz-border-radius: 5px;
            border-radius: 5px;
    -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
       -moz-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
            box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);



    max-height: 200px;
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 20px;
}
.ui-autocomplete > li {
  padding: 3px 20px;
}
.ui-autocomplete > li.ui-state-focus {
  background-color: #DDD;
}
.ui-helper-hidden-accessible {
  display: none;
}

.tour-3 .btn {
    cursor: default;
}

/* DIVIDER */
hr.hidden {
    display: block !important;
    border: none;
}

/* HPANEL COLORS MAPPING FROM STATUS */
.hpanel.hgray .panel-body {
  border-top: 2px solid #ccc;
}

/* REQUIRED FIELDS */
label.required.control-label:after {
    color: #d00;
    content: "*";
    position: absolute;
    margin-left: 8px;
    top:7px;
    font-family: 'Glyphicons Halflings';
    font-weight: normal;
    font-size: 10px;
}

.required-asterisk {
    margin-right: 1em;
}
.required-asterisk:after {
    color: #d00;
    content: "*";
    position: absolute;
    font-family: 'Glyphicons Halflings';
    font-weight: normal;
    font-size: 10px;
}

/* COLORED FIELDS */
.field-info, .field-info input {
    color: #31708f;
    background-color: #d9edf7;
    border-color: #bce8f1;
}

.field-warning, .field-warning input {
    color: #8a6d3b;
    background-color: #fcf8e3;
    border-color: #faebcc;
}

.field-danger, .field-danger input {
    color: #a94442;
    background-color: #f2dede;
    border-color: #ebccd1;
}

/* HPANEL */
.hpanels > .hpanel {
    margin-bottom: 0px;
}
.hpanels > .hpanel.top:not(:first-child) > .panel-body {
    border-top: none;
}

.hpanel .panel-body .label.status {
    position: absolute;
    top: 0.3em;
    right: 0.3em;
    padding: 0.5em;
}

.hpanel .panel-body .actions {
    position: absolute;
    bottom: 1em;
    right: 1em;
}

.equal-height {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -webkit-flex-direction: row;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-align: stretch;
    -webkit-align-items: stretch;
    -ms-flex-align: stretch;
    align-items: stretch;
}

.equal-height > .hpanel {
    display: flex;
    float: none;
}

.panel-heading-buttons.pull-right {
    margin-top: -10px;
    margin-right: 0px;
}
.panel-heading-buttons.pull-right .btn {
    /* from btn-sm */
    padding: 5px 10px;
    font-size: 12px;
    line-height: 1.5;
    border-radius: 3px;
}

/* BOARDS */
.social-board {
    margin-top: 25px;
}
.social-board .hpanel .panel-body {
    padding: 1em;
    padding-bottom: 3em;
    width: 100%;
}

/* MODAL CONTACT */
#administrator-contact .modal-header {
    padding: 20px 15px;
}

/* FLIP CARD */
.flip {
    -webkit-perspective: 800;
    perspective: 800;

    position: relative;

}
.flip .card.flipped {
    -webkit-transform: rotatex(-180deg);
    transform: rotatex(-180deg);
}
.flip .card {

    height: 100%;
    -webkit-transform-style: preserve-3d;
    -webkit-transition: 0.5s;
    transform-style: preserve-3d;
    transition: 0.5s;
}
.flip .card .face {

    -webkit-backface-visibility: hidden ;
    backface-visibility: hidden ;
    z-index: 2;

}
.flip .card .front {
    position: relative;
    width: 100%;
    z-index: 1;

}
.flip .card .back {
    -webkit-transform: rotatex(-180deg);
    transform: rotatex(-180deg);
    position: relative;
}
.inner{margin:0px !important;}

.flip .card .card-actions {
    margin-top: 1em;
}

.flip .card .flash-messages {
    margin-bottom: 1em;
}

/* MONEY & Custom NUMBER FIELDS */
.money input, input.maskedNumber {
    text-align: right;
}

.money .input-group-addon {
    font-weight: bold;
}

/* GRID */
.grid-switch .form-group .control-label {
    margin-right: 1em;
    margin-left: 1em;
}

.grid-switch .form-group .form-control {
    width: 120px;
}

@media only screen and (min-width : 1200px) {
    .survey-index .sylius-table-column-actions {
        min-width: 280px;
    }
}

/* HOME */
.home h1 {
    margin-bottom: 1em;
}

.home-buttons {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
}
.btn-home {
    font-size: 1.5em;
    width: 200px;
    height: 200px;
    white-space: normal;
    position: relative;
}

.btn-home .glyphicon {
    position: absolute;
    left:60px;
    top: 100px;
    font-size: 80px;
}
.btn-home .pe-icon {
    position: absolute;
    left:60px;
    top: 90px;
    font-size: 90px;
    font-weight: bold;
}

/* DISABLED BUTTONS HOVER */
.check-terminate-survey-true:hover {
    cursor: not-allowed;
}
.check-terminate-sieg-survey-true:hover {
    cursor: not-allowed;
}

/* BOOTSTRAP TOUR OVERWRITE */
.popover {
    max-width: none;
}

.tour-step-background {
    z-index: 1; /* Fixes icons masking*/
}

/* ALERT FIX */
.alert.bottom-spaced {
    margin-bottom: 1em;
}

/* MODAL FIX */
/**
 * Sur la première question "Avez-vous des saisies", le wrapper occupe 75% de la page au lieu de 100%
 *
 * Ne pas hésiter à supprimer s'il y a des effets de bord, lorsque la modal est fermée, l'affichage devient corrrct)
 **/
body.modal-open {
    position: relative;
}

/* MODAL */
.modal-xxl {
    width: 85%;
}

.swal2-popup .swal2-styled.swal2-confirm, .swal2-popup .swal2-styled.swal2-cancel {
    font-size: 1.5rem !important;
}

/* MAP */
.circle {
    border:1px solid;
    border-radius:50%;
    -moz-border-radius:50%;
    -webkit-border-radius:50%;
}

