/**
 * @file
 * Form Styling
 */


.form-item { /* Wrapper for a form element (or group of form elements) and its label */
  margin: 1.5em 0;
}

.emailTemplate .form-item { margin: 10px 0; }

.form-item input.error,
.form-item textarea.error,
.form-item select.error { /* Highlight the form elements that caused a form submission error */
  border: 1px solid #c00;
}

.form-item label { /* The label for a form element */
  display: block;
  font-weight: bold;
}

.form-item label.option { /* The label for a radio button or checkbox */
  display: inline;
  font-weight: normal;
}

.form-required { /* The part of the label that indicates a required field */
  color: #c00;
}

.form-item .description { /* The descriptive help text (separate from the label) */
  font-size: 0.85em;
}

.form-checkboxes .form-item,
.form-radios .form-item { /* Pack groups of checkboxes and radio buttons closer together */
  margin: 0; /* Drupal core uses "0.4em 0" */
}

input[type="submit"] { /* The submit button */
}

.container-inline div,
.container-inline label { /* Inline labels and form divs */
  display: inline;
}

.tips { /* Tips for Drupal's input formats */
}

a.button { /* Buttons used by contrib modules like Media */
  -webkit-appearance: button;
  -moz-appearance: button;
  appearance: button;
}

 /* Fix for Mailchiml button style */
#mc_embed_signup .button {
  background: #aaa;
}

/*
 * Password confirmation
 */

.password-parent,
.confirm-parent {
  margin: 0;
}

/*
 * Drupal's default login form block
 */

#user-login-form {
  text-align: left; /* LTR */
}

/*
 * OpenID
 *
 * The default styling for the OpenID login link seems to assume Garland's
 * styling of list items.
 */

#user-login-form ul { /* OpenID creates a new ul above the login form's links. */
  margin-bottom: 0; /* Position OpenID's ul next to the rest of the links. */
}

html.js #user-login-form li.openid-link,
#user-login-form li.openid-link { /* The "Log in using OpenID" link. */
  margin-top: 1.5em;
  margin-left: -20px; /* LTR */ /* Un-do some of the padding on the ul list. */
}

#user-login-form li.user-link { /* The "Cancel OpenID login" link. */
  margin-top: 1.5em;
}

#user-login ul {
  margin: 1.5em 0;
}

/*
 * Drupal admin tables
 *
 * We overrode these styles in normalize.css, but restore them for the admin
 * section of the site.
 */

form th {
  text-align: left; /* LTR */
  padding-right: 1em; /* LTR */
  border-bottom: 3px solid #ccc;
}

form tbody {
  border-top: 1px solid #ccc;
}

form tr.even {
  background-color: #fff;
}

form table .item-list ul {
  margin: 0;
}

.lt-ie8 tr.even th,
.lt-ie8 tr.even td,
.lt-ie8 tr.odd th,
.lt-ie8 tr.odd td {
  border-bottom: 1px solid #ccc; /* IE doesn't display borders on table rows */
}

/*
 * Drupal core wrongly puts this in system.menus.css. Since we override that, add it back.
 */

td.menu-disabled {
  background: #ccc;
}

/* Custom */

.webform-container-inline label {
    display: inline-block;
    margin-right: 1em;
    min-width: 195px;
    text-align: right;
}

.node-webform .webform-client-form .form-wrapper {
	margin-bottom: 20px;
}

.node-webform .webform-client-form  .webform-container-inline label {
	min-width: 255px;
}

.node-webform .webform-client-form  #webform-component-appointment-information .webform-container-inline select {
	width: 400px;
}

.node-webform .webform-client-form  #webform-component-appointment-information .webform-container-inline label {
	min-width: 355px;
}

/*buttons*/
input[type="submit"],
.wrapperFileButton {
    display: inline-block;
    *display: inline;
    /* IE7 inline-block hack */

    *zoom: 1;
    padding: 4px 12px;
    margin-bottom: 0;
    font-size: 14px;
    line-height: 20px;
    text-align: center;
    vertical-align: middle;
    cursor: pointer;
    color: #333333;
    text-shadow: 0 1px 1px rgba(255, 255, 255, 0.75);
    background-color: #f5f5f5;
    background-image: -moz-linear-gradient(top, #ffffff, #e6e6e6);
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), to(#e6e6e6));
    background-image: -webkit-linear-gradient(top, #ffffff, #e6e6e6);
    background-image: -o-linear-gradient(top, #ffffff, #e6e6e6);
    background-image: linear-gradient(to bottom, #ffffff, #e6e6e6);
    background-repeat: repeat-x;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#ffe6e6e6', GradientType=0);
    border-color: #e6e6e6 #e6e6e6 #bfbfbf;
    border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
    *background-color: #e6e6e6;
    /* Darken IE7 buttons by default so they stand out more given they won't have borders */

    filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
    border: 1px solid #cccccc;
    *border: 0;
    border-bottom-color: #b3b3b3;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    *margin-left: .3em;
    -webkit-box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05);
    -moz-box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05);
}
input[type="submit"]:hover,
input[type="submit"]:focus,
input[type="submit"]:active,
input[type="submit"].active,
input[type="submit"].disabled,
input[type="submit"][disabled],
.wrapperFileButton:hover {
    color: #333333;
    background-color: #e6e6e6;
    *background-color: #d9d9d9;
}
input[type="submit"]:active,
input[type="submit"].active {
    background-color: #cccccc \9;
}
input[type="submit"]:first-child {
    *margin-left: 0;
}
input[type="submit"]:hover,
input[type="submit"]:focus,
.wrapperFileButton:hover,
.wrapperFileButton:focus {
    color: #333333;
    text-decoration: none;
    background-position: 0 -15px;
    -webkit-transition: background-position 0.1s linear;
    -moz-transition: background-position 0.1s linear;
    -o-transition: background-position 0.1s linear;
    transition: background-position 0.1s linear;
}
input[type="submit"]:focus {
    outline: thin dotted #333;
    outline: 5px auto -webkit-focus-ring-color;
    outline-offset: -2px;
}
input[type="submit"].active,
input[type="submit"]:active {
    background-image: none;
    outline: 0;
    -webkit-box-shadow: inset 0 2px 4px rgba(0,0,0,.15), 0 1px 2px rgba(0,0,0,.05);
    -moz-box-shadow: inset 0 2px 4px rgba(0,0,0,.15), 0 1px 2px rgba(0,0,0,.05);
    box-shadow: inset 0 2px 4px rgba(0,0,0,.15), 0 1px 2px rgba(0,0,0,.05);
}
input[type="submit"].disabled,
input[type="submit"][disabled] {
    cursor: default;
    background-image: none;
    opacity: 0.65;
    filter: alpha(opacity=65);
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
}

.textChooseFile {
	width: 170px;
	vertical-align: middle;
	float: left;
	margin-top: 8px;
}

.wrapperFileButton {
	/* IMPORTANT STUFF */
	overflow: hidden;
	position: relative;
	float: left;
	margin: 0 20px 0 5px;
}

.wrapperFileButton input.form-file {
  height: 30px;
  cursor: pointer;
  position: absolute;
  top: 0px;
  right: 0px;
  font-size: 100px;
  z-index: 2;

  opacity: 0.0; /* Standard: FF gt 1.5, Opera, Safari */
  filter: alpha(opacity=0); /* IE lt 8 */
  -ms-filter: "alpha(opacity=0)"; /* IE 8 */
  -khtml-opacity: 0.0; /* Safari 1.x */
  -moz-opacity: 0.0; /* FF lt 1.5, Netscape */
}

/*hide the date for the event registration*/
#edit-registration-settings-scheduling{
    display:none;
}


/* http://www.thechildren.com/request-appointment */
#webform-client-form-11762 fieldset,
#webform-client-form-12629 fieldset  {
	border-color:#4E4E4E;
}

#webform-client-form-11762 .fieldset-legend,
#webform-client-form-12629 .fieldset-legend {
  font-weight:bold;
}

.form-item-mailchimp-lists-mailchimp-l-enfant-avant-tout-mergevars-MMERGE9  { display: none; }

div.conteneurSymptomes{
  max-width:100%;
}

div.classSymptomes {
  display: inline-block;
  margin-left: 272px;
  margin-bottom: 20px;
  float: left;
}

div.conteneurSymptomes label:first-child {
  margin-bottom: -20px;
  display: block;
  float: left;
}

/** special css for the become volunteer webform **/
.section-devenez-un-benevole .node-webform .webform-client-form .webform-container-inline input,
.section-become-volunteer .node-webform .webform-client-form .webform-container-inline input {
  border: 1px solid #9e9e9e;
}
.section-devenez-un-benevole .node-webform .webform-client-form .webform-container-inline label,
.section-become-volunteer .node-webform .webform-client-form .webform-container-inline label {
  width: 30%;
  min-width: unset;
  margin-right: 0;
  padding-right: 1em;
  vertical-align: top;
}
.section-devenez-un-benevole .node-webform .webform-client-form .webform-container-inline input[type="text"],
.section-become-volunteer .node-webform .webform-client-form .webform-container-inline input[type="text"] {
  width: 65%;
  vertical-align: top;
}
.section-devenez-un-benevole .node-webform .webform-client-form .webform-container-inline .form-checkboxes,
.section-become-volunteer .node-webform .webform-client-form .webform-container-inline .form-checkboxes {
  width: 65%;
  display: inline-block;
}

.section-devenez-un-benevole .node-webform .webform-client-form .webform-container-inline .form-checkboxes .form-item,
.section-become-volunteer .node-webform .webform-client-form .webform-container-inline .form-checkboxes .form-item {
  width: 30%;
  display: inline-block;
  vertical-align: top;
}

.section-devenez-un-benevole .node-webform .webform-client-form .form-actions,
.section-become-volunteer .node-webform .webform-client-form .form-actions {
  text-align: right;
}

.section-devenez-un-benevole .node-webform .webform-client-form .webform-component-markup,
.section-become-volunteer .node-webform .webform-client-form .webform-component-markup {
  margin: 0 10%;
}
.section-devenez-un-benevole .node-webform .webform-client-form .webform-component-markup ol,
.section-become-volunteer .node-webform .webform-client-form .webform-component-markup ol {
  margin: 0 10%;
}
.section-devenez-un-benevole .node-webform .webform-client-form .webform-component-markup + .webform-component-radios .form-radios,
.section-become-volunteer .node-webform .webform-client-form .webform-component-markup + .webform-component-radios .form-radios {
  text-align: center;
}
.section-devenez-un-benevole .node-webform .webform-client-form .webform-component-markup + .webform-component-radios .form-radios .form-type-radio,
.section-become-volunteer .node-webform .webform-client-form .webform-component-markup + .webform-component-radios .form-radios .form-type-radio {
  display: inline;
  margin: 0 5px;
}

@media only screen and (max-width: 960px) {
  .section-devenez-un-benevole .node-webform .webform-client-form .webform-container-inline label,
  .section-become-volunteer .node-webform .webform-client-form .webform-container-inline label {
    width: 100%;
    min-width: unset;
  }
  .section-devenez-un-benevole .node-webform .webform-client-form .webform-container-inline input[type="text"],
  .section-become-volunteer .node-webform .webform-client-form .webform-container-inline input[type="text"] {
    width: 100%;
  }
  .section-devenez-un-benevole .node-webform .webform-client-form .webform-container-inline .form-checkboxes,
  .section-become-volunteer .node-webform .webform-client-form .webform-container-inline .form-checkboxes {
    width: 100%;
  }

  .section-devenez-un-benevole .node-webform .webform-client-form .webform-container-inline .form-checkboxes .form-item,
  .section-become-volunteer .node-webform .webform-client-form .webform-container-inline .form-checkboxes .form-item {
    width: 100%;
  }

  .section-devenez-un-benevole .node-webform .webform-client-form .form-actions,
  .section-become-volunteer .node-webform .webform-client-form .form-actions {
    text-align: right;
  }

  .section-devenez-un-benevole .node-webform .webform-client-form .webform-component-markup,
  .section-become-volunteer .node-webform .webform-client-form .webform-component-markup {
    margin: 0;
  }
  .section-devenez-un-benevole .node-webform .webform-client-form .webform-component-markup ol,
  .section-become-volunteer .node-webform .webform-client-form .webform-component-markup ol {
    margin: 0;
  }
}

.webform-component--misc--availabilities-from-may-to-august-inclusively .fieldset-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-around;
}

.webform-component--misc--availabilities-from-may-to-august-inclusively .fieldset-wrapper label {
  margin: 5px 0;
}


@media only screen and (max-width: 600px) {

  .webform-component--misc--availabilities-from-may-to-august-inclusively .fieldset-wrapper {
    display: inline;
  }

}