/*! 
*  \file         ui.css
*  \brief        Code CSS pour les formulaires ninja form
*  \author       Cécile CHELIM / http://cecile-chelim.fr / @cecile_chelim
*  \version      1.0
*  \date         2015
*/

.ninja-forms-form-wrap *,
.ninja-forms-form-wrap *:after,
.ninja-forms-form-wrap *:before {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -ms-box-sizing: border-box;
    box-sizing: border-box;
}

a.tooltip {outline:none; text-decoration: none; }
a.tooltip strong {line-height:30px;}
a.tooltip:hover {text-decoration:none;}
a.tooltip span {
    z-index:10;display:none; padding:14px 20px;
    margin-top:-10px; margin-left:28px;
    width:240px; line-height:16px;
    z-index: 1;
    position: relative;
}
a.tooltip span:before {
    border-top: 10px solid transparent;
    border-right: 15px solid #ccc;
    border-bottom: 10px solid transparent;
    content: "";
    position: absolute;
    left: -15px;

}
a.tooltip:hover span{
    display:inline; position:absolute; color:#333;
    border:1px solid #ccc; background:#f1f1f1;}

/*CSS3 extras*/
a.tooltip span
{
    border-radius:4px;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;

    -moz-box-shadow: 5px 5px 8px #CCC;
    -webkit-box-shadow: 5px 5px 8px #CCC;
    box-shadow: 5px 5px 8px #CCC;
}
#ui-datepicker-div {
    background: #f1f1f1;
    border-radius: 3px;
}
#ui-datepicker-div a {
    text-decoration: none;
    cursor: pointer;
}
#ui-datepicker-div .ui-datepicker-header,
#ui-datepicker-div .ui-datepicker-calendar th,
#ui-datepicker-div .ui-datepicker-calendar td {
    padding: 5px;
    text-align: center;
}

#ui-datepicker-div .ui-icon {
    text-indent: 0px;
}
.ui-datepicker-prev {
    float: left;
}
.ui-datepicker-next {
    float: right;
}
.ninja-forms-no-display {
    display: none;
}
.ninja-forms-form .wp-switch-editor {
    height: auto;
}
.ninja-forms-form .mceIframeContainer {
    background: #fff;
}
.ninja-forms-req-symbol {
    color: #ff0000;
}
.ninja-forms-form .label-above label,
.ninja-forms-form .label-below label {
    display: block;
}

.field-wrap,
#ninja_forms_required_items {
    margin-bottom: 20px;
}

#pass-strength-result {
    background-color: #eee;
    border-color: #ddd !important;
    border-style: solid;
    border-width: 1px;
    margin: 13px 5px 5px 1px;
    padding: 3px 5px;
    text-align: center;
    width: 200px;
}

#pass-strength-result.bad {
    background-color: #ffb78c;
    border-color: #ff853c !important;
}

#pass-strength-result.good {
    background-color: #ffec8b;
    border-color: #fc0 !important;
}

#pass-strength-result.short {
    background-color: #ffa0a0;
    border-color: #f04040 !important;
}

#pass-strength-result.strong {
    background-color: #c3ff88;
    border-color: #8dff1c !important;
}
.ninja-forms-cont {
    position: relative;
}
.ninja-forms-cont:after {
    clear: both;
    content: "";
    display: block;
}

.ninja-forms-field-error {
    color: red;
}

.ninja-forms-form-wrap input,

.ninja-forms-form-wrap textarea {
    width: auto;
    height: auto;
    vertical-align: inherit;
}
.ninja-forms-form-wrap select{
    padding: 10px;
    width: 130%;
    box-shadow: none;
    background-color: transparent;
    background-image: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;   
}
.ninja-forms-form-wrap select:focus {
    outline: none;
    border-color: #ed6751;
}

.ninja-forms-form-wrap label {
    font-weight: bold;
}
.ninja-forms-form-wrap .list-checkbox-wrap ul label,
.ninja-forms-form-wrap .list-radio-wrap ul label {
    font-weight: normal;
}

.field-wrap:after {
    clear: both;
    content: "";
    display: block;
}

.field-wrap.label-left .ninja-forms-field,
.field-wrap.label-left .ninja-forms-star-rating-control {
    margin-left: 8px;
}
.field-wrap.label-right .ninja-forms-field,
.field-wrap.label-right .ninja-forms-star-rating-control {
    margin-right: 8px;
}
.field-wrap.label-right label,
.field-wrap.label-left label  {
    display: inline;
}

.label-above label {
    margin-bottom: 5px;
}

.MultiFile-wrap {
    display: inline-block;
}

/* ---------------------------------
TEXT FIELDS & TEXTAREAS
----------------------------------*/

.text-wrap.label-left input,
.profile_pass-wrap.label-left input,
.textarea-wrap.label-left textarea {
    margin-left: 10px;
}
.text-wrap.label-right input,
.profile_pass-wrap.label-right input,
.textarea-wrap.label-right textarea {
    margin-right: 10px;
}

.text-wrap.label-above label,
.textarea-wrap.label-above label {
    display: block;
    width: 100%;
}

.profile_pass-wrap input,
.text-wrap.label-above input,
.text-wrap.label-below input,
.text-wrap.label-inside input,
.textarea-wrap.label-above textarea,
.textarea-wrap.label-below textarea,
.textarea-wrap.label-inside textarea,
.list-dropdown-wrap.label-above select,
.list-dropdown-wrap.label-below select {
    width: 100%;
}

.textarea-wrap textarea {
    height: 200px;
}

.profile_pass-wrap input {
    margin-bottom: 10px;
}

/* ---------------------------------
RADIO & CHECKBOX LISTS
----------------------------------*/

.list-radio-wrap span ul li input,
.list-checkbox-wrap span ul li input {
    margin-right: 5px;
}

.list-radio-wrap ul,
.list-checkbox-wrap ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.list-radio-wrap ul li,
.list-checkbox-wrap ul li {
    list-style: none;
}

.list-radio-wrap ul li,
.list-checkbox-wrap ul li {
    margin: 0;
    padding: 0;
}

.list-radio-wrap.label-left label,
.list-radio-wrap.label-left ul,
.list-radio-wrap.label-left ul li,
.list-radio-wrap.label-right label,
.list-radio-wrap.label-right ul,
.list-radio-wrap.label-right ul li,
.list-checkbox-wrap.label-left label,
.list-checkbox-wrap.label-left ul,
.list-checkbox-wrap.label-left ul li,
.list-checkbox-wrap.label-right label,
.list-checkbox-wrap.label-right ul,
.list-checkbox-wrap.label-right ul li {
    float: left;
}
.rtl .list-radio-wrap.label-left label,
.rtl .list-radio-wrap.label-left ul,
.rtl .list-radio-wrap.label-left ul li,
.rtl .list-radio-wrap.label-right label,
.rtl .list-radio-wrap.label-right ul,
.rtl .list-radio-wrap.label-right ul li,
.rtl .list-checkbox-wrap.label-left label,
.rtl .list-checkbox-wrap.label-left ul,
.rtl .list-checkbox-wrap.label-left ul li,
.rtl .list-checkbox-wrap.label-right label,
.rtl .list-checkbox-wrap.label-right ul,
.rtl .list-checkbox-wrap.label-right ul li {
    float: right;
}
.list-radio-wrap.label-left ul li,
.list-radio-wrap.label-right ul li,
.list-checkbox-wrap.label-left ul li,
.list-checkbox-wrap.label-right ul li {
    padding: 0 8px;
}

.list-radio-wrap.label-above ul li,
.list-radio-wrap.label-below ul li,
.list-checkbox-wrap.label-above ul li,
.list-checkbox-wrap.label-below ul li {
    padding: 0 0 0 10px;
}

/* ---------------------------------
MULTI FIELD
----------------------------------*/

.list-multi-wrap.label-left label {
    float:left;
}
.list-multi-wrap.label-right select {
    float:left;
}

/* ---------------------------------
CREDIT CARD BLOCK
----------------------------------*/

.credit_card-wrap div label,
.credit_card-wrap div input {
    display: block;
    width: 100%;
}
.credit_card-wrap div {
    margin-bottom: 10px;
}
.credit_card-wrap div span {
    font-size: 0.8em;
}

/* ---------------------------------
HONEYPOT
----------------------------------*/

.hp-wrap {
    display: none;
}

.honeypot-wrap {
    display: none;
}


/* style général */
.ninja-forms-form input, .ninja-forms-form textarea{
  display: block;
      width: 100%;
      height: 34px;
      padding: 6px 12px;
      font-size: 14px;
      line-height: 1.42857143;
      color: #555;
      background-color: #fff;
      background-image: none;
      border: 1px solid #ccc;
      border-radius: 4px;
      -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
      box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
      -webkit-transition: border-color ease-in-out .15s,-webkit-box-shadow ease-in-out .15s;
      -o-transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
      transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
      -webkit-box-shadow:none;
      box-shadow: none;
}
/* affichage focus */
.ninja-forms-form input:focus, .ninja-forms-form textarea:focus {
  border-color: orange;
  outline: 0;
  -webkit-box-shadow: none; 
  box-shadow: none; 
}
/* label */
.ninja-forms-field p strong{
  font-weight: 400;
}
.ninja-forms-form label{font-weight: 500;}
/* espacement */

.field-wrap{
  margin:30px 0;
}
/* input required */
span.ninja-forms-req-symbol{
  color: #ce5945;
}


/* input disabled */
.ninja-forms-form input.disabled, .ninja-forms-form input[disabled] {
  background-color: rgb(230, 233, 237);
  border-color: rgb(230, 233, 237);
}
.ninja-forms-form input[disabled], .ninja-forms-form input[readonly]{
  cursor: not-allowed;
  background-color: rgb(238, 238, 238);
  opacity: 1;
}
/* submit */
input[type="submit"]{
  background-color: #e07767;
  color: #fff;
  border:0;
}
input[type="submit"]:focus,
input[type="submit"]:hover,
input[type="submit"]:visited,
input[type="submit"]:active{
  background-color: #ce5945;
}
/* messages erreur */
.ninja-forms-field-error p{
  color: #ce5945;
}
/* Select fonctionne avec stepper */
.stepper .stepper-input {
  overflow: hidden;
  -moz-appearance: textfield;
}
.stepper .stepper-input::-webkit-inner-spin-button, .stepper .stepper-input::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.stepper .stepper-arrow {
  position: absolute;
  right: 15px;
  display: block;
  width: 20px;
  height: 50%;
  text-indent: -99999px;
  cursor: pointer;
  background-color: #3bafda;
}
.stepper .stepper-arrow:hover, .stepper .stepper-arrow:active {
  background-color: #4fc1e9;
}
.stepper .up {
  top: 0;
  border: 1px solid #269ecb;
  border-top-right-radius: 3px;
  -webkit-border-top-right-radius: 3px;
  -moz-border-radius-topright: 3px;
}
.stepper .down {
  bottom: 0;
  border-bottom-right-radius: 3px;
  -webkit-border-bottom-right-radius: 3px;
  -moz-border-radius-bottomright: 3px;
}
.stepper .up::before, .stepper .down::before {
  position: absolute;
  width: 0;
  height: 0;
  content: "";
  border-right: 4px solid transparent;
  border-left: 4px solid transparent;
}
.stepper .up::before {
  top: 5px;
  left: 5px;
  border-bottom: 4px solid white;
}
.stepper .down:before {
  bottom: 5px;
  left: 6px;
  border-top: 4px solid white;
}
.stepper.disabled .stepper-arrow {
  background-color: #3bafda;
  filter: alpha(opacity=45);
  opacity: .45;
}
/* select */
.selecter {
  position: relative;
  z-index: 1;
  display: block;
  max-width: 100%;
  outline: none;
  /* Open */
  /* 'Cover' Positioning */
  /* 'Bottom' Positioning */
  /* 'Bottom' + 'Cover' Positioning */
  /* Multiple Select */
  /* 'Disabled' State */
  /* Scroller Support */
}
.selecter .selecter-element {
  position: absolute;
  left: 0;
  z-index: 0;
  display: none;
  width: 100%;
  height: 100%;
  filter: alpha(opacity=0);
  opacity: 0;

  *left: -999999px;
}
.selecter .selecter-element, .selecter .selecter-element:focus {
  outline: none;
  -webkit-tap-highlight-color: rgba(255, 255, 255, 0);
  -webkit-tap-highlight-color: transparent;
}
.selecter .selecter-selected {
  position: relative;
  z-index: 2;
  display: block;
  padding: 6px 10px;
  overflow: hidden;
  text-overflow: clip;
  cursor: pointer;
  background-color: white;
  border: 1px solid #aab2bd;
  border-radius: 4px;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
}
.selecter .selecter-selected:after {
  position: absolute;
  top: 14px;
  right: 10px;
  width: 0;
  height: 0;
  content: "";
  border-top: 4px solid black;
  border-right: 4px solid transparent;
  border-left: 4px solid transparent;
}
.selecter .selecter-options {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 50;
  display: none;
  width: 100%;
  max-height: 260px;
  overflow: auto;
  overflow-x: hidden;
  background-color: white;
  border: 1px solid #aab2bd;
  border-width: 0 1px 1px;
  border-radius: 0 0 4px 4px;
  -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, .175);
  -moz-box-shadow: 0 6px 12px rgba(0, 0, 0, .175);
  box-shadow: 0 6px 12px rgba(0, 0, 0, .175);
  -webkit-border-radius: 0 0 4px 4px;
  -moz-border-radius: 0 0 4px 4px;
  *width: auto;
}
.selecter .selecter-group {
  display: block;
  padding: 5px 10px 4px;
  font-size: 11px;
  color: #aab2bd;
  text-transform: uppercase;
  background-color: #f5f7fa;
  border-bottom: 1px solid #e6e9ed;
}
.selecter .selecter-item {
  display: block;
  width: 100%;
  padding: 6px 10px;
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  cursor: pointer;
  background-color: white;
  border-bottom: 1px solid #e6e9ed;
}
.selecter .selecter-item.selected {
  color: white;
  background-color: #3bafda;
  border-bottom-color: #4fc1e9;
}
.selecter .selecter-item.disabled {
  color: #aab2bd;
  cursor: default;
}
.selecter .selecter-item:first-child {
  border-radius: 0;
  -webkit-border-radius: 0;
  -moz-border-radius: 0;
}
.selecter .selecter-item:last-child {
  border-bottom: 0;
  border-radius: 0 0 4px 4px;
  -webkit-border-radius: 0 0 4px 4px;
  -moz-border-radius: 0 0 4px 4px;
}
.selecter .selecter-item:hover {
  background-color: #e6e9ed;
}
.selecter .selecter-item.selected:hover {
  background-color: #3bafda;
}
.selecter .selecter-item.disabled:hover, .selecter:hover .selecter-selected, .selecter.disabled .selecter-item:hover {
  background-color: white;
}
.selecter.open {
  z-index: 3;
  outline: 0;
}
.selecter.open .selecter-selected {
  z-index: 51;
  border: 1px solid #3bafda;
  border-radius: 4px 4px 0 0;
  -webkit-border-radius: 4px 4px 0 0;
  -moz-border-radius: 4px 4px 0 0;
}
.selecter.open .selecter-selected, .selecter.focus .selecter-selected {
  background-color: white;
}
.selecter.cover .selecter-options {
  top: 0;
  border-width: 1px;
  border-radius: 4px;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
}
.selecter.cover .selecter-options .selecter-item.first {
  border-radius: 4px 4px 0 0;
  -webkit-border-radius: 4px 4px 0 0;
  -moz-border-radius: 4px 4px 0 0;
}
.selecter.cover.open .selecter-selected {
  z-index: 49;
  border-radius: 4px 4px 0 0;
  -webkit-border-radius: 4px 4px 0 0;
  -moz-border-radius: 4px 4px 0 0;
}
.selecter.bottom .selecter-options {
  top: auto;
  bottom: 100%;
  border-width: 1px 1px 0;
}
.selecter.bottom .selecter-item:last-child {
  border: none;
  border-radius: 0;
  -webkit-border-radius: 0;
  -moz-border-radius: 0;
}
.selecter.bottom.open .selecter-selected {
  border-radius: 0 0 4px 4px;
  -webkit-border-radius: 0 0 4px 4px;
  -moz-border-radius: 0 0 4px 4px;
}
.selecter.bottom.open .selecter-options {
  border-radius: 4px 4px 0 0;
  -webkit-border-radius: 4px 4px 0 0;
  -moz-border-radius: 4px 4px 0 0;
}
.selecter.bottom.cover .selecter-options {
  top: auto;
  bottom: 0;
}
.selecter.bottom.cover.open .selecter-selected, .selecter.bottom.cover.open .selecter-options {
  border-radius: 4px;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
}
.selecter.multiple .selecter-options {
  position: static;
  display: block;
  width: 100%;
  border-width: 1px;
  border-radius: 4px;
  box-shadow: none;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
}
.selecter.disabled .selecter-selected {
  color: #aab2bd;
  cursor: default;
  background-color: #e6e9ed;
  border-color: #e6e9ed;
}
.selecter.disabled .selecter-options {
  background-color: #e6e9ed;
  border-color: #e6e9ed;
}
.selecter.disabled .selecter-group, .selecter.disabled .selecter-item {
  color: #aab2bd;
  cursor: default;
  background-color: #e6e9ed;
  border-color: #e6e9ed;
}
.selecter.disabled .selecter-item.selected {
  color: white;
  background-color: #3bafda;
  filter: alpha(opacity=45);
  opacity: .45;
}
.selecter .selecter-options.scroller {
  overflow: hidden;
}
.selecter .selecter-options.scroller .scroller-content {
  max-height: 260px;
  padding: 0;
}
/* checkbox */
.ninja-forms-form ul{
  margin: 0;
  list-style-type: none;
}
.ninja-forms-form li{
  margin: 0;
}

.ninja-forms-form ul>li>label{
  position: relative;
  top: 2px;
  padding-left: 5px;
}

.checkbox, .radio {
  padding-left: 0;
  margin-top: 0;
}
.checkbox label, .radio label {
  
}
.ninja-forms-form input[type="checkbox"]{
  display: inline-block;
  width: 20px;
  height: 20px;
  padding: 0 !important;
  margin: 0;
  vertical-align: middle;
  cursor: pointer;
  background: url("../img/check_flat/default.png") no-repeat;
  border: none;
  *display: inline;
}
..ninja-forms-form input[type="checkbox"] {
  background-position: 0 0;
}
.ninja-forms-form input[type="checkbox"].checked {
  background-position: -22px 0;
}
/* champs de recherche */
.search-only {position: relative; }
.search-only .search-icon {
  position: absolute;
  top: 2px;
  left: 8.5px;
  z-index: 20;
  width: 30px;
  font-size: 17px;
  line-height: 30px;
  color: rgb(230, 233, 237);
  text-align: center;
}
.glyphicon {
  position: relative;
  top: 1px;
  display: inline-block;
  font-family: 'Glyphicons Halflings';
  font-style: normal;
  font-weight: 400;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
}
.search-only .form-control:last-child {padding-left: 40px; }

.ninja-forms-form-wrap input,
.ninja-forms-form-wrap textarea {
    width: auto;
    height: auto;
    vertical-align: inherit;
}
.ninja-forms-form-wrap select{
    padding: 10px;
    width: 130%;
    box-shadow: none;
    background-color: transparent;
    background-image: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;   
}
.ninja-forms-form-wrap select:focus {
    outline: none;
    border-color: #ed6751;
}

