.form-item {
    margin-bottom: 4px;
    margin-top: 2px;
}

button,
input[type="reset"],
input[type="button"],
input[type="submit"] {
    border: 0 none;
    border-radius: 2px;
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.25);
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    line-height: 22px;
    padding: 10px;
    text-align: center;
    text-shadow: none;
    white-space: pre;
    cursor: pointer;
    margin-left: 5px;
    text-transform: uppercase;
    font-family: "Source Sans Pro", Helvetica, Arial, sans-serif;
}

form .form-actions {
    text-align: right;
}

form .form-actions #edit-cancel {
    float: left;
    margin-left: 0;
}

form .form-type-checkbox label.option {
    /*float: left;
    font-weight: normal;*/
}

input[type="checkbox"] {
    background-attachment: scroll;
    background-image: url("../images/checkbox.png");
    background-position: 0 0;
    background-repeat: no-repeat;
}

.checkbox {
    background-attachment: scroll;
    background-image: url("../images/checkbox.png");
    background-position: left top;
    /*background-position: center center;*/
    background-repeat: no-repeat;
    clear: left;
    display: block;
    float: left;
    height: 17px;
    margin: 5px 2px;
    padding: 0;
    width: 17px;
}

.checked {
    background-image: url("../images/checkbox-chacked.png");
    background-position: center center;
    border-radius: 3px;
}

form .form-wrapper {
    clear: both;
}

.text-format-wrapper {
    margin-bottom: 20px;
    clear: both;
}

/* hidden text input for chome */
input:focus {
    outline: 0 none !important;
}

input.form-text,
select.form-select {
    border: 0 none;
    border-bottom: 1px solid #c2c2c2;
    width: 95.2%;
}

.form-type-textfield,
.webform-component-textfield,
.webform-component-email,
.form-type-select,
.webform-component-select,
.form-type-password {
    float: left;
    width: 50%;
    padding-top: 10px;
    position: relative;
}

.form-type-textarea label {
    margin-bottom: 5px;
}

fieldset .fieldset-wrapper {
    margin-top: 25px;
    padding: 0;
}

.fieldset-wrapper .form-item:nth-child(even) > *,
form > div > .form-item:nth-child(3n) > * {
    left: 4.8%;
}

.fieldset-wrapper .form-type-checkboxes:nth-child(even) > .form-checkboxes {
    float: left;
}

.fieldset-wrapper .form-type-checkboxes:nth-child(even) > .form-checkboxes .form-item,
.fieldset-wrapper .form-type-checkboxes:nth-child(even) > label {
    float: none;
}

.fieldset-wrapper .form-type-checkboxes:nth-child(even) > .form-checkboxes .form-item * {
    float: left;
}

fieldset {
    background: none repeat scroll 0 0 #ffffff;
    border: 0 none;
    clear: both;
    float: left;
    margin-bottom: 30px;
    margin-top: 10px;
    padding: 0;
    position: relative;
    top: 12px;
    width: 100%;
}

fieldset legend {
    background: transparent;
    border: 0 none;
    color: #444444;
    font-size: 16px;
    font-weight: 600;
    padding-left: 0;
    text-align: left;
    position: absolute;
    width: 100%;
}

form .wizard-trail {
    height: 67px;
    font-size: 16px;
    font-weight: 400;
    line-height: 40px;
    margin-left: -20px;
    margin-right: -20px;
    margin-bottom: 20px;
    width: auto;
}

form .wizard-trail span {
    color: #ffffff;
    display: inline-block;
    padding: 20px 0 0;
    margin: 0 2.2%;
    width: 27.5%;
    position: relative;
    opacity: 0.5;
}

.logged-in form .wizard-trail span {
    width: 45%;
    margin-right: 0;
}

form .wizard-trail span.wizard-trail-current {
    font-weight: normal;
    opacity: 1;
}

form .wizard-trail span:before {
    color: #fff;
    font-size: 12px;
    position: absolute;
    top: 2px;
    left: 0;
}

form .wizard-trail span:first-child:before {
    content: "Step1";
}

form .wizard-trail span:nth-child(2):before {
    content: "Step2";
}

form .wizard-trail span:nth-child(3):before {
    content: "Step3";
}

/* text fields */
.form-type-textfield .form-required,
.webform-component-textfield .form-required,
.webform-component-email .form-required {
    display: none;
}

/* reset */
#aewa-events-form-start .form-item-title .form-required {
    display: inline;
}

.form-type-textfield input,
.webform-component-textfield input,
.webform-component-email input,
.form-type-password input {
    padding-left: 0;
    padding-right: 0;
    position: relative;
    font-size: 16px;
    font-weight: 400;
    color: #666666;
}

.form-item.form-type-textfield label,
.webform-component-textfield label,
.webform-component-email label,
.form-item.form-type-select label,
.webform-component-select label,
.form-item.form-type-password label {
    font-size: 12px;
    font-weight: 400;
    line-height: 60px;
    position: absolute;
    top: -25px;
    left: 0;
}

/* reset for event register form > title */
#aewa-events-form-start .form-item-title label {
    font-size: 16px;
    font-weight: bold;
    color: #434343;
}

/* jquery ui */
.form-type-select .ui-state-default,
.form-type-select .ui-widget-content .ui-state-default,
.form-type-select .ui-widget-header .ui-state-defaul {
    background-color: transparent;
    background-attachment: scroll;
    background-image: url("../images/Shape-2.png");
    background-position: 99% center;
    background-repeat: no-repeat;
    border: 0 none;
    border-bottom: 1px solid #c2c2c2;
    color: #9c9d98;
    font-size: 16px;
    font-weight: normal;
    height: 29.5px;
    width: 95.2% !important;
}

#block-gtranslate-gtranslate .ui-state-default {
    background-color: #fff;
    height: 29.5px;
    width: 100% !important;
}

.form-type-select .ui-selectmenu-button span.ui-selectmenu-text {
    display: block;
    line-height: 1.4;
    overflow: hidden;
    padding: 4px 2.1em 4px 0;
    text-align: left;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ui-selectmenu-menu .ui-menu {
    border-top: 0 none;
    height: 250px;
    overflow-y: scroll !important;
}

/* user login form */
form#user-login,
form#user-pass {
    margin-top: 20px;
}

/* custom for #aewa-events-form-start */
#aewa-events-form-start .form-item-title {
    float: left;
    width: 50%;
    margin-top: 10px;
}

#aewa-events-form-start .form-item-title input {
    width: 95.2%;
    font-weight: bold;
}

#aewa-events-form-start .form-item-event-type {
    clear: right;
    float: right;
    width: 47.5%;
}

#aewa-events-form-start .description,
#aewa-events-form-start .gmap-locpick_latitude,
#aewa-events-form-start .gmap-locpick_longitude,
.form-item-location-locpick-user-latitude,
.form-item-location-locpick-user-longitude {
    display: none;
}

#aewa-events-form-start .form-textarea-wrapper .description {
    display: block;
    margin: 0 0 5px 3px;
    line-height: 1.4;
}

#aewa-events-form-start .form-type-textarea label {
    line-height: 1.4;
    margin-bottom: 0;
    margin-left: 3px;
}

#aewa-events-form-start .filter-wrapper {
    display: none;
}

#aewa-events-form-start #edit-general {
    border: 0 none;
    margin-bottom: 20px;
    margin-top: 0;
    margin-left: 0;
    padding: 0;
    position: relative;
    top: 0;
}

#aewa-events-form-start .fieldset-wrapper {
    padding: 0;
}

.gmap-auto1map-gmap {
    float: left;
    clear: both;
    width: 100% !important;
    height: 390px !important;
}

.location-gmap-find-address-button-wrapper {
    clear: both;
    float: left;
    left: 0;
    margin-top: 15px;
    position: relative;
    top: 32px;
    z-index: 100;
}

.location-gmap-find-address-button-wrapper button {
    padding: 0 15px;
}

#edit-location .form-item {
    clear: none;
}

#edit-location .form-item input {
    width: 95.2%;
}

#gmap-auto1map-gmap0 > .gm-style > .gmnoprint {
    margin-top: 30px !important;
}

#gmap-auto1map-gmap0 > .gm-style > .gmnoprint:last-child {
    margin-top: 5px !important;
}

/* date popup */
.form-type-date-popup > label {
    display: none;
}

#aewa-events-form-start .container-inline-date {
    width: 50%;
    float: left;
    clear: none;
}

#aewa-events-form-start .container-inline-date > .form-item,
#aewa-events-form-start .date-padding,
#aewa-events-form-start .form-item-start-date input,
#aewa-events-form-start .form-item-end-date input {
    width: 100%;
}

#aewa-events-form-start .date-padding {
    padding-left: 0px;
}

#aewa-events-form-start .form-item-start-date,
#aewa-events-form-start .form-item-end-date {
    width: 70%;
    margin-right: 2%;
}

#aewa-events-form-start .container-inline-date:nth-child(even) {
    text-align: right;
}

#aewa-events-form-start .form-item-start > .description,
#aewa-events-form-start .form-item-end > .description {
    display: block!important;
    text-align: left;
}

/* Contact form */
#contact-site-form .fieldset-wrapper .form-item:nth-child(2n) > *,
#contact-site-form > div > .form-item:nth-child(3n) > * {
    left: 0;
}

#contact-site-form .form-type-textarea {
    clear: both;
    width: 100%;
    margin: 20px 0;
    float: left;
}

#contact-site-form .form-type-checkbox {
    clear: both;
    margin: 10px 0;
    float: left;
}

.contact-form #edit-message {
    border: 1px solid #ccc;
}

/* newsletter footer */
#footer-first .simplenews-subscribe {
    text-align: right;
}

#footer-first .simplenews-subscribe .form-item-mail {
    width: 60%;
    padding-top: 0;
    margin-top: 0;
}

.simplenews-subscribe .form-item-mail input.form-text {
    padding-left: 2%;
}

#footer-first .simplenews-subscribe .form-item-mail > label {
    display: none !important;
}

#footer-first .simplenews-subscribe .form-submit {
    float: left;
    margin-left: 5px;
    padding: 0 15px;
}

#footer-first .block-simplenews {
    padding-top: 20px;
    padding-left: 15%;
}

/* search form header */
.region-header .form-item-search-block-form {
    width: 100%;
    float: right;
}

/* Search block in region header. */
/*.region-header #block-search-form {
  width: 100%;
}*/
.region-header #block-search-form .form-text {
    margin-right: 0;
    padding: 4px;
    width: 167.5px;
}

.region-header #block-search-form #edit-actions input {
    margin-right: 6%;
}

/* block-gtranslate header */
.block-gtranslate select {
    opacity: 0.7;
    width: 175px;
}

/* reset */
.ui-state-default .ui-icon {
    background-image: none;
}

/* webform block */
.block-webform,
#main .block-webform.block {
    border: 0 none;
}

.webform-component {
    margin: 8px 0;
}

.webform-component-textarea {
    float: left;
    clear: both;
    margin: 20px 0;
}

.form-actions {
    float: left;
    clear: both;
    margin-bottom:
}

#edit-submitted-message {
    border: 1px solid #ccc;
}

/* swich elements im textarea section */
.webform-component-textarea {
    display: flex;
    flex-flow: column nowrap;
    width: 100%;
}

.webform-component-textarea .form-textarea-wrapper {
    order: 2;
}

.webform-component-textarea .description {
    display: block;
    flex-flow: row wrap;
    margin-bottom: 5px;
    order: 1;
}

/* required not red */
.marker, .form-required {
    color: #222;
}
