/**
 * @file
 * Visual styles for Bartik's forms.
 */

/* Password field. */
.password-field {
  margin: 0;
}

/* Form elements. */
form {
  margin: 0;
  padding: 0;
}
fieldset {
  min-width: 0;
  margin: 1em 0;
}
/**
 * We've temporarily added this Firefox specific rule here to fix fieldset
 * widths.
 * @todo remove once this Mozilla bug is fixed.
 * See https://bugzilla.mozilla.org/show_bug.cgi?id=504622
 */
/*@media (min--moz-device-pixel-ratio: 0) {
  fieldset {
    display: table-cell;
  }
}*/
details,
fieldset,
.filter-wrapper {
  border-radius: 4px;
}
.filter-wrapper {
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}
.filter-help a {
  font-size: 0.857em;
}
.filter-wrapper .form-item label {
  margin-right: 10px; /* LTR */
}
[dir="rtl"] .filter-wrapper .form-item label {
  margin-right: 0;
  margin-left: 10px;
}
summary {
  color: #3b3b3b;
  background: #dbdbdb;
  text-shadow: 0 1px 0 #fff;
}
details summary a {
  color: #3b3b3b;
}
details summary a:hover,
details summary a:active,
details summary a:focus {
  color: #000;
}
details .details-description {
  font-style: italic;
}
label {
  display: table;
  font-weight: bold;
}
label[for] {
  cursor: pointer;
}
input,
textarea,
select {
  font-family: "Lucida Grande", "Lucida Sans Unicode", Verdana, sans-serif;
}
input {
  box-sizing: border-box;
  /* Keep form elements from overflowing their containers. */
  max-width: 100%;
  margin: 2px 0;
  padding: 4px;
}
input,
textarea {
  font-size: 0.929em;
}

/**
 * Make the font slightly bigger in mobile
 * @todo: check the correct font-size
 */
@media screen and (max-width: 60em) { /* 920px */
  input,
  textarea {
    font-size: 16px;
  }
}
textarea {
  line-height: 1.5;
}
textarea.form-textarea {
  padding: 4px;
}
input.form-text,
input.form-tel,
input.form-email,
input.form-url,
input.form-search,
input.form-file,
input.form-number,
input.form-color,
textarea.form-textarea {
  color: #3b3b3b;
  border: 1px solid #ccc;
}
input.form-submit:hover,
input.form-submit:focus {
  background: #dedede;
}
.password-suggestions ul li {
  margin-left: 1.2em; /* LTR */
}
[dir="rtl"] .password-suggestions ul li {
  margin-right: 1.2em;
  margin-left: 0;
}
.form-item label,
.form-wrapper .label {
  font-size: 0.929em;
}
.form-wrapper .field-multiple-table .label {
  font-size: inherit;
}
.form-type-radio label,
.form-type-checkbox label {
  margin-left: 4px; /* LTR */
}
[dir="rtl"] .form-type-radio label,
[dir="rtl"] .form-type-checkbox label {
  margin-right: 4px;
  margin-left: 0;
}
.form-type-radio .description,
.form-type-checkbox .description {
  margin-left: 2px; /* LTR */
}
[dir="rtl"] .form-type-radio .description,
[dir="rtl"] .form-type-checkbox .description {
  margin-right: 2px;
  margin-left: 0;
}
.form-actions {
  /*padding-top: 10px;*/
}

/* Node Form */
#edit-body {
  margin-bottom: 2em;
}
.node-form label,
.node-form .description,
.node-form .form-wrapper .label {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}
.node-form .form-wrapper .field-multiple-table .label {
  font-family: inherit;
}
.node-form .form-wrapper {
  margin-bottom: 2em;
}
.node-form .entity-content-form-footer,
.node-form .field--name-status {
  margin-bottom: 0;
}
.node-form .form-actions {
  margin-top: 0;
  padding-top: 0;
}

/* Contact Form */
.contact-form #edit-name {
  width: 75%;
  border-radius: 4px;
}
.contact-form #edit-mail {
  width: 75%;
  border-radius: 4px;
}
.contact-form #edit-subject {
  width: 75%;
  border-radius: 4px;
}
.contact-form #edit-message {
  width: 76.3%;
  border-top-left-radius: 4px;
  border-top-right-radius: 4px;
}

/* Disabled form elements */
.form-disabled input,
.form-disabled select,
.form-disabled textarea {
  color: #717171;
  border-color: #bbb;
  background: #ededed;
}
.form-disabled label {
  color: #717171;
}

/* Comment form */
.comment-form label {
  float: left; /* LTR */
  width: 120px;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 0.929em;
}
[dir="rtl"] .comment-form label {
  float: right;
}
.comment-form input,
.comment-form .form-select {
  margin: 0;
  border-radius: 4px;
}
.comment-form .form-type-textarea label {
  float: none;
}
.comment-form .form-item,
.comment-form .form-radios,
.comment-form .form-type-checkbox,
.comment-form .form-select {
  overflow: hidden;
  margin-bottom: 10px;
}
.comment-form .form-type-checkbox,
.comment-form .form-radios {
  margin-left: 120px; /* LTR */
}
[dir="rtl"] .comment-form .form-type-checkbox,
[dir="rtl"] .comment-form .form-radios,
[dir="rtl"] .comment-form .form-item .description {
  margin-right: 120px;
  margin-left: 0;
}
.comment-form .form-type-checkbox label,
.comment-form .form-radios label {
  float: none;
  margin-top: 0;
}
.comment-form input.form-file {
  width: auto;
}
.layout-no-sidebars .comment-form .form-text {
  width: 800px;
}
.layout-one-sidebar .comment-form .form-text {
  width: 500px;
}
.layout-two-sidebars .comment-form .form-text {
  width: 320px;
}
.comment-form .form-item .description {
  margin-left: 120px; /* LTR */
  font-size: 0.786em;
  line-height: 1.2;
}
.comment-form .form-textarea {
  border-top-left-radius: 4px;
  border-top-right-radius: 4px;
}
.comment-form details.filter-wrapper .details-wrapper,
.comment-form .text-format-wrapper .form-item {
  margin-top: 0;
  margin-bottom: 0;
}
.filter-wrapper label {
  float: none;
  width: auto;
}
.filter-wrapper .form-select {
  min-width: 120px;
}
.comment-form details.filter-wrapper .tips {
  font-size: 0.786em;
}
#comment-body-add-more-wrapper .form-type-textarea label {
  margin-bottom: 0.4em;
}
#edit-actions input {
  margin-right: 0.6em; /* LTR */
}
[dir="rtl"] #edit-actions input {
  margin-right: 0;
  margin-left: 0.6em;
}

/* Form error styles. */
.form-item textarea.error + .cke {
  border: 2px solid red;
}

/* Form error message styles. */
.form-item--error-message {
  color: #e32700;
}

/**
 * Improve form element usability on narrow devices.
 */
@media all and (max-width: 600px) {
  .form-actions .button {
    display: block;
    float: none;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    width: 100%;
    margin: 10px 0 0;
    /*padding-bottom: 6px;*/
  }

  .js .dropbutton .dropbutton-action > input,
  .js .dropbutton .dropbutton-action > a,
  .js .dropbutton .dropbutton-action > button {
    padding-left: 3em;
    text-align: center;
  }
}








.field--name-field-phone select {
	max-width: 100%;
	width: 100%;
}
.field--name-field-fax select {
	max-width: 100%;
	width: 100%;
}
.field--name-customer-profiles .form-wrapper {
	border: none;
}
.field--name-customer-profiles summary {
	display: none;
}
.field--name-customer-profiles .details-wrapper {
	padding: 0;
}
.field--name-customer-profiles .form-item-customer-profiles-0-entity-address-0-address-country-code,
.field--name-customer-profiles .form-item-customer-profiles-0-entity-address-0-address-organization {
	margin: 0;
}
.block-formblock-user-register {
	margin: 0 30px;
}

@media all and (min-width: 461px) and (max-width: 900px) {
	.block-formblock-user-register {
		margin: 0 30px;
	}
}





.user-register-form .button {
  display: inline-block;
  padding: 0.25em 1.063em;
  cursor: pointer;
  text-align: center;
  color: #3a3a3a;
  border: 1px solid #e4e4e4;
  border-right-color: #d2d2d2;
  border-bottom-color: #b4b4b4;
  border-left-color: #d2d2d2;
  border-radius: 1em;
  background-color: #fff;
  background-image: -webkit-linear-gradient(top, #f3f3f3, #e8e8e8);
  background-image: linear-gradient(to bottom, #f3f3f3, #e8e8e8);
  font-family: "Lucida Grande", "Lucida Sans Unicode", Verdana, sans-serif;
  font-size: 0.929em;
  font-weight: normal;
  line-height: normal;
}
.user-register-form .button:hover,
.user-register-form .button:active,
.user-register-form .button:focus {
  text-decoration: none;
  color: #5a5a5a;
  background: #dedede;
}




.user-register-form #edit-account input,
.user-register-form .field--name-field-webpage input,
.user-register-form .gender_and_date_birth,
.user-register-form .field--name-field-locality input,
.user-register-form .field--name-field-academic-title input,
.user-register-form .field--name-field-position input,
.user-register-form .field--name-field-organization input {
	width: 100%;
	max-width: 408px;
}
.user-register-form #edit-account .form-item-status input,
.user-register-form #edit-account .form-item-notify input {
	width: auto;
}
.user-register-form .field--name-field-gender {
	float: left;
	width: 49%;
	margin-right: 1%;
}
.user-register-form .field--name-field-birthday {
	float: left;
	width: 49%;
	margin-left: 1%;
}
.user-register-form .field--name-field-gender fieldset {
	margin: 0;
}
.user-register-form .field--name-field-gender fieldset .option {
	color: #4a4a4a;
	font-size: 14px;
	font-family: "Lucida Grande", "Lucida Sans Unicode", Verdana, sans-serif;
}
/*.user-register-form .phone_and_fax {
	width: 100%;
	max-width: 408px;
}
.user-register-form .field--name-field-phone,
.user-register-form .field--name-field-fax {
	float: left;
	width: 50%;
}
.user-register-form .field--name-field-phone input,
.user-register-form .field--name-field-fax input {
	width: 120px;
}*/
.user-register-form .field--name-field-member-status select,
.user-register-form .field--name-field-academic-degree select,
.user-register-form .field--name-field-academic-title select,
.user-register-form .field--name-field-country select {
	width: 100%;
	max-width: 408px;
}
.user-register-form .field--name-customer-profiles {
	width: 100%;
	max-width: 408px;
}
.user-register-form .field--name-customer-profiles .country {
	width: 100%;
	max-width: 408px;
}
.user-register-form .field--name-customer-profiles .form-item-customer-profiles-0-entity-address-0-address-given-name {
	float: left;
	width: 49%;
	margin-right: 1%;
}
.user-register-form .field--name-customer-profiles .form-item-customer-profiles-0-entity-address-0-address-family-name {
	float: left;
	width: 49%;
	margin-left: 1%;
	margin-right: 0;
}
.user-register-form .field--name-customer-profiles .form-item-customer-profiles-0-entity-address-0-address-given-name input {
	width: 100%;
}
.user-register-form .field--name-customer-profiles .form-item-customer-profiles-0-entity-address-0-address-family-name input {
	width: 100%;
}
.user-register-form .field--name-customer-profiles .locality {
	width: 100%;
	max-width: 408px;
}
.user-register-form .field--name-customer-profiles .administrative-area {
	width: 100%;
	max-width: 408px;
}
.user-register-form .field--name-customer-profiles .form-item-customer-profiles-0-entity-address-0-address-postal-code input {
	width: 49%;
}
.user-register-form select {
	border: 1px solid #ccc;
	color: #4a4a4a;
	-webkit-appearance: none;
	-moz-appearance: none;
	-o-appearance: none;
	appearance: none;
	height: 30px;
}
.user-login-form label,
.user-login-form .label,
.user-login-form .fieldset-legend,
.user-register-form label,
.user-register-form .label,
.user-register-form .fieldset-legend,
.user-pass label,
.user-pass .label,
.user-pass .fieldset-legend {
	color: #ccc;
	font-size: 14px;
	cursor: auto;
}
.user-register-form input {
	border: 1px solid #ccc;
	color: #4a4a4a;
	font-size: 14px;
}
.chosen-container-single .chosen-single {
	background: none;
	border: 1px solid #ccc;
	border-radius: 0;
	box-shadow: none;
	height: 30px;
	line-height: 28px;
	padding: 0 0 0 4px;
}
.chosen-container-single .chosen-single div b,
.chosen-container-active.chosen-with-drop .chosen-single div b {
	background-position-y: 4px;
}
.chosen-container-single .chosen-drop {
	border-radius: 0;
}
.chosen-container-active.chosen-with-drop .chosen-single {
	background-image: none;
}
.chosen-container-single .chosen-single span,
.chosen-container .chosen-results {
	color: #4a4a4a;
	font-size: 14px;
	font-family: "Lucida Grande", "Lucida Sans Unicode", Verdana, sans-serif;
}
.chosen-container .chosen-results li.highlighted {
	background-color: transparent;
	background-image: none;
	background-image: none;
	color: #fff !important;
	/*background-color: #3875d7;
	background-image: -webkit-gradient(linear, left top, left bottom, color-stop(20%, #3875d7), color-stop(90%, #2a62bc));
	background-image: linear-gradient(#3875d7 20%, #2a62bc 90%);
	color: #fff;*/
}

.manager .view-user-admin-people .views-exposed-form .form-item-permission,
.manager .view-user-admin-people .view-content .form-wrapper,
.manager .view-user-admin-people .view-content .views-field-user-bulk-form,
.manager .view-content .view-content .form-wrapper,
.manager .view-content .view-content .views-field-node-bulk-form,
.manager .view-scheduler-scheduled-content .view-content .form-wrapper,
.manager .view-scheduler-scheduled-content .view-content .views-field-node-bulk-form {
	display: none;
}





