/**
 * CSS pour les formulaires
 */

fieldset h4 {
    font-size: 14px;
    margin-left: -20px;
}

.form-horizontal .control-label {
    float: left;
    width: 160px;
    padding-top: 5px;
    text-align: left;
}

.ays-static-control-group .controls p {
    margin: 5px 0;
}

.ays-static-control-group .controls p img.flag {
    margin: 0 5px 2px 5px;
}

.form-horizontal .ays-control-label-inlinecheck .control-label {
    /* Nécessite d'être redéfinie au cas par cas */
    width: 86.5%;
}

legend {
    font-size: 20px;
    border-top: 1px solid #e5e5e5;
    border-bottom: none;
}

.ays-fake-legend {
    font-size: 20px;
    margin-bottom: 20px;
}

.radio input[type="radio"],
.checkbox input[type="checkbox"] {
    margin-left: 0px;
}

.input-block-level {
    width: 70%;
    height: 34px !important;
    float: left;
}

label,
input,
button,
select,
textarea {
    font-weight: 300;
}

textarea.m-wrap,
input[type="text"].m-wrap,
input[type="password"].m-wrap,
input[type="datetime"].m-wrap,
input[type="datetime-local"].m-wrap,
input[type="date"].m-wrap,
input[type="month"].m-wrap,
input[type="time"].m-wrap,
input[type="week"].m-wrap,
input[type="number"].m-wrap,
input[type="email"].m-wrap,
input[type="url"].m-wrap,
input[type="search"].m-wrap,
input[type="tel"].m-wrap,
input[type="color"].m-wrap {
    background: #ffffff;
}

.help-block,
.help-inline {
    color: #333333;
    font-weight: 300;
    font-size: 11px;
}

form input.input-condensed.m-wrap {
    height: 20px !important;
    min-height: 20px;
    line-height: 20px;
    font-size: 12px;
}

.form-horizontal .help-block {
    float: left;
    width: 100%;
}

.select2-container-multi.span6 {
    margin-left: 0;
}

form .select2-container-multi .select2-search-choice-close {
    top: 9px;
}

form .select2-container-multi .select2-choices .select2-search-choice {
    margin: 3px;
    line-height: 24px;
}

.select2-drop-active {
    border-color: #aaaaaa;
    z-index: 100000;
}

.select2-container a {
    font-weight: 300;
}

.select2-container-active .select2-choice,
.select2-container-active .select2-choices {
    border-color: #aaaaaa;
}

form .select2-container .select2-choice abbr {
    right: 25px;
    top: 10px;
}

form .ays-select2-regular-input.select2-container .select2-choice abbr {
    right: 10px;
}

button.btn.btn-filepick {
    margin-left: 0;
    font-weight: 300;
}

.controls .preview {
    line-height: 34px;
}

.controls .preview a {
    /*     color: #ccc; */
}

.controls .preview a:hover {
    /*     color: #ccc; */
    /*     text-decoration: none; */
}

.ays-control-group-force-validate.success {
    display: none;
}

form.small .control-label,
fieldset.small .control-label {
    width: 60px;
    word-wrap: break-word;
}

fieldset.small .control-label {
    word-wrap: normal;
}

form.small .controls,
fieldset.small .controls {
    margin-left: 70px;
}

form.small .controls .span6,
fieldset.small .controls .span6 {
    width: 90%;
}

form.small .controls .help-inline,
fieldset.small .controls .help-inline {
    display: none;
}

form img.preview {
    width: auto;
    max-width: 200px;
    max-height: 150px;
}

.portlet-body a .zoom {
    text-align: center;
}

.portlet-body div.thumb_center {
    margin-left: 50px;
}

.select2-container.ays-select2-regular-input {
    border: none;
}

.select2-container.ays-select2-regular-input .select2-choice {
    background: none;
    cursor: text;
    border: 1px solid #e5e5e5;
    height: 30px;
    line-height: 30px;
    max-width: 99%;
}

.select2-container.ays-select2-regular-input .select2-choice .select2-arrow {
    display: none;
}

.tab-content form.small .control-label,
.tab-content fieldset.small .control-label {
    width: 100px;
    margin-left: -40px;
}

.tab-content form.small .controls,
.tab-content fieldset.small .controls {
    margin-left: 100px;
}

.select2-elem-img {
    max-width: 24px;
    margin-top: -4px;
}

.ays-mode-add-modal-background-color .help-block {
    margin-top: 0px !important;
}

label, input, button, select, textarea,
.uneditable-input,
textarea.m-wrap,
input[type="text"].m-wrap,
input[type="password"].m-wrap,
input[type="datetime"].m-wrap,
input[type="datetime-local"].m-wrap,
input[type="date"].m-wrap,
input[type="month"].m-wrap,
input[type="time"].m-wrap,
input[type="week"].m-wrap,
input[type="number"].m-wrap,
input[type="email"].m-wrap,
input[type="url"].m-wrap,
input[type="search"].m-wrap,
input[type="tel"].m-wrap,
input[type="color"].m-wrap {
    font-weight: 300;
}

.make-switch.has-switch span.switch-success:hover,
.make-switch.has-switch span.switch-success:focus,
.make-switch.has-switch span.switch-success:active,
.make-switch.has-switch span.switch-success.active,
.make-switch.has-switch span.switch-success.disabled,
.make-switch.has-switch span.switch-success[disabled],
.make-switch.has-switch span.switch-success {
    background-color: #fb4747;
    background-image: none;
    color: #ffffff;
}

.make-switch.has-switch span.switch-danger:hover,
.make-switch.has-switch span.switch-danger:focus,
.make-switch.has-switch span.switch-danger:active,
.make-switch.has-switch span.switch-danger.active,
.make-switch.has-switch span.switch-danger.disabled,
.make-switch.has-switch span.switch-danger[disabled],
.make-switch.has-switch span.switch-danger {
    background-color: #ffffff;
    background-image: none;
    color: #fb4747;
    text-shadow: none;
}

.modal-body form fieldset:first-of-type legend {
    border: none;
}

fieldset.ays-first-fieldset legend {
    border-top: none;
}

#AppliAddForm fieldset.ays-first-fieldset legend {
    text-indent: 40px;
}

/* bug étrange d'apparition aléatoire de l'input filepicker */
.row-fluid form input[type="filepicker"] {
    display: none !important;
}

textarea.m-wrap {
    border: 1px solid #e5e5e5;
}

.cke + .help-inline,
.preview + .help-inline,
.item + .help-inline {
    display: block;
}

a.remove-file.ays-remove {
    font-size: 25px;
}

.item {
    margin-bottom: 0;
}

.control-label .required, th .required, p .required, h5 .required {
    color: #e02222;
    padding-left: 5px;
}

input.input-condensed.input-error,
input.input-condensed.input-error:focus,
input[type="text"].input-condensed.m-wrap.input-error:focus {
    border: 1px solid #b94a48;
}

.control-group.error .input-icon .input-error {
    top: 0;
    right: 0 !important;
}

.control-group.error .control-label,
.control-group.error .help-block,
.control-group.error .help-inline {
    font-weight: 600;
}

/**
 * Star rating
 */

.ays-static-rating {
    unicode-bidi: bidi-override;
    font-size: 25px;
}

.ays-rate {
    font-family: FontAwesome;
    font-weight: normal;
    font-style: normal;
    display: inline-block;
}

.ays-static-rating span.ays-rate:before {
    content: "\f006";
    padding-right: 5px;
    color: #777777;
}

.ays-static-rating span.ays-rate-active:before {
    content: "\f005";
    color: #ff5050;
}

.ays-star-rating i,
.ays-star-rating i:hover {
    color: #333333;
    font-size: 25px;
    line-height: 25px;
    vertical-align: baseline;
    margin-left: 10px;
}

.rating {
    font-size: 25px;
}

.rating span.star:before,
.rating {
    color: #aaaaaa;
}

.rating span.star:hover:before,
.rating span.star:hover ~ span.star:before,
.rating span.star.ays-star-active:before {
    content: "\f005";
    color: #ff5050;
}

.ays-star-no-edit .rating span.star:hover {
    cursor: default;
}

/* Fix for editor inside modals */
.cke_panel {
    z-index: 16001 !important;
}

/* Bug Ckeditor IE11 ? */
.cke.cke_chrome {
    visibility: inherit;
}

#localisation_query, .localisation_query {
    background-color: #ffffff;
    font-size: 15px;
    margin-top: 10px;
    margin-left: 10px;
    padding: 0 11px 0 13px;
    text-overflow: ellipsis;
    width: 80%;
    border: 1px solid transparent;
    border-radius: 2px 0 0 2px;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    height: 32px;
    outline: none;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    z-index: 1000 !important;
}

.ays-localisation-map {
    margin-bottom: 15px;
}

.ays-localisation-map .gmaps {
    height: 240px;
}

.ays-form-map {
    margin-bottom: 15px;
}

.ays-form-map input.m-wrap {
    margin-bottom: 8px;
    padding: 6px 6px !important;
    display: block;
    width: 100%;
    box-sizing: border-box;
    height: 34px;
}

.ays-form-map input.input-error {
    border: 1px solid #b94a48;
}

.ays-form-map .select2-container {
    width: 100%;
}

.ays-form-map .help-inline {
    display: none !important;
}

.ays-form-map .ays-btn-secondary {
    padding: 7px;
}

.pac-container {
    z-index: 11000;
}

#EcommerceModelAjaxEditModelServiceForm input[type="radio"],
#ModeLivraisonAjaxEditServiceDeliveryForm input[type="radio"] {
    margin-right: 10px;
}

.ays-dynamic-form_element {
    display: none;
!important
}

label.radio:not(.line) {
    display: inline-block;
    margin-right: 20px
}

.controls .select2-container.select2-container-multi {
    margin-left: 0;
}

.ays-form-map .ays-search-form-map .input-icon.left input.m-wrap {
    padding-left: 33px !important;
}

.ays-page-user_application-analytics form .select2-container-multi .select2-choices .select2-search-choice {
    margin: 1px;
}

#popupEdit .sub.solde {
    font-size:14px;
    font-weight:bold;
}
