input,
textarea {
    padding: 12px 9px;
    border-radius: 2px;
    background: #fff;
    margin: 0 0 15px 0;
    border: 1px solid #dddddd;
    color: #555555;
    font-size: 14px;
    width: 370px;
}
textarea {
    height: 125px;
    width: 795px;
    resize: none;
    overflow-x: hidden;
    overflow-y: auto;
}

.red input.requiredInput,
.red textarea.requiredInput { border-right: 5px solid #e57a6a }

.leftside label {
    width: 110px;
    float: left;
    clear: left;
}
.leftside .itemPerPage label {
    clear: none;
}
input.radioinput,
input.radioinput2 {
    width: 435px;
    clear: none;
    margin: -5px 0 0 -25px;
}
input.radioinput2 {
    width: 300px;
}

input::-webkit-input-placeholder,
textarea::-webkit-input-placeholder
{ color: rgba(85,85,85,.5) }
input:-moz-placeholder,
textarea:-moz-placeholder
{ color: rgba(85,85,85,.5) }
input::-moz-placeholder,
textarea::-moz-placeholder
{ color: rgba(85,85,85,.5) }
input:-ms-input-placeholder,
textarea:-ms-input-placeholder
{ color: rgba(85,85,85,.5) }

button {
    cursor: pointer;
    display: block;
    float: right;
    border: 1px solid #90be3e;
    border-radius: 2px;
    height: 40px;
    line-height: 38px;
    padding: 0 15px;
    color: #90be3e;
    text-decoration: none;
    font-size: 16px;
    background: transparent;
}

/**
    file upload
                **/

div.fileUpload {
    float: left;
    width: 100%;
}
div.fileUpload input[type=text] {
    border-right: 0;
    display: block;
    float: left;
    width: -moz-calc(100% - 106px);
    width: -webkit-calc(100% - 106px);
    width: calc(100% - 106px);
    border-radius: 2px 0 0 2px;
}
div.fileUpload button {
    /*background: #438097;
    background: -moz-linear-gradient(top,  #438097 0%, #29667e 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#438097), color-stop(100%,#29667e));
    background: -webkit-linear-gradient(top,  #438097 0%,#29667e 100%);
    background: -o-linear-gradient(top,  #438097 0%,#29667e 100%);
    background: -ms-linear-gradient(top,  #438097 0%,#29667e 100%);
    background: linear-gradient(to bottom,  #438097 0%,#29667e 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#438097', endColorstr='#29667e',GradientType=0 );*/
    margin: 0;
    float: left;
    border-radius: 0 2px 2px 0;
}

div.fileUpload button[disabled] {
    opacity: 0.5;
    cursor: default!important;
}
div.fileUpload button[disabled]:hover {
    background: #595a5a;
    background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzU5NWE1YSIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiM0MTQxNDEiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
    background: -moz-linear-gradient(top,  #595a5a 0%, #414141 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#595a5a), color-stop(100%,#414141));
    background: -webkit-linear-gradient(top,  #595a5a 0%,#414141 100%);
    background: -o-linear-gradient(top,  #595a5a 0%,#414141 100%);
    background: -ms-linear-gradient(top,  #595a5a 0%,#414141 100%);
    background: linear-gradient(to bottom,  #595a5a 0%,#414141 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#595a5a', endColorstr='#414141',GradientType=0 );
}

/**
    select
            **/

div.select {
    position: relative;
    height: 30px;
    width: -moz-calc(100% - 110px);
    width: -webkit-calc(100% - 110px);
    width: calc(100% - 110px);
    margin: 0;
    float:  left;
    margin-bottom: 10px;
}
div.fullwidth div.select {
    width: 100%;
}
div.select button {
    width: 100%;
    font-size: 12px;
    color: #818181;
    border: 1px solid #d1d1d1;
    border-radius: 2px;
    margin: 0;
    padding: 0 25px 0 10px;
    background: #fff url(../pic/formstyle/bg_select.png) no-repeat 100% 0;
    cursor: pointer;
    text-align: left;
    height: 30px;
    line-height: 28px;
    text-transform: none !important;
    font-weight: normal;
    float:  none;
    font-family: Arial;
}
.red div.select button { background: #fff url(../pic/formstyle/bg_select_red.png) no-repeat 100% 0 }

div.selectContainer {
    width: 100%;
    border: 1px solid #d1d1d1;
    position: absolute;
    left: 0;
    top: 29px;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    background-color: #fff;
    z-index: 100;
}
div.selectContainer ul {
    width: inherit;
    max-height: 245px!important;
    overflow-x: hidden;
    overflow-y: auto;
}
.selectContainer li {
    padding: 7px 0;
    border-bottom: 1px solid #d1d1d1;
    list-style: none;
    /*float: left;*/
    width: inherit;
    vertical-align: middle !important;
    font-size: 12px;
    color: #818181;
    font-family: Arial;
}
.selectContainer li.group {
    color: #555555;
    font: 13px Arial;
    font-weight: bold;
    background-color: #f2f2f2;
    cursor: default;
    padding: 6px 10px;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}
.selectContainer li:last-child {
    border: 0;
}
.selectContainer .search {
    width: auto;
    background: #0098ab;
    padding: 0 9px 5px 9px;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}
.selectContainer .search input[type=text] {
    margin: 6px 0 0 0 !important;
    border: 1px solid #d9d9d9;
    border-radius: 2px;
    background: #fff url(../pic/formstyle/bg_search.gif) no-repeat 0 0;
    padding: 2px 5px 3px 25px;
    font: 12px Arial;
    width: 100%;
    color: #000;
    float: none;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}
.selectContainer .search a {
    font: 12px Arial;
    font-weight: bold;
    text-decoration: none;
    padding-left: 18px;
    background: transparent url(../pic/formstyle/filter.png) no-repeat 0 3px;
    color: #fff;
    display: inline-block;
    margin: 5px 10px 0 0;
}
.selectContainer .search a.none { background-position: 0 -12px }
.selectContainer .search a.change { background-position: 0 -27px }

.selectContainer li img {
    float: right;
    margin: 5px 10px;
}
.selectContainer span {
    font: 11px Arial;
    color: #555;
    font-style: italic;
    padding-left: 10px;
}

/**
    checkbox + multiselect checkbox
                                    **/

.selectContainer li label,
label.checkbox,
label.radio {
    padding: 9px 10px;
    display: block;
    text-decoration: none;
    cursor: pointer;
    font-size: 14px;
    color: #36475d;
    font-weight: 500;
}
.selectContainer li label {
    padding: 0 9px !important;
    clear: none !important;
    float: none;
    text-align: left;
    width: auto !important;
    line-height: normal !important;
    display: inline-block !important;
}
label.checkbox,
label.radio {
    display: inline-block;
    width: auto !important;
}
.selectContainer li {
    cursor: pointer;
}
.selectContainer li:hover {
    background-color: #ededed;
}
.selectContainer li:hover label {
    color: #000 !important;
}
.selectContainer li.group:hover {

}
label.checkbox,
label.radio {
    padding: 0 0 10px 0;
}
.selectContainer li label i,
label.checkbox i,
label.radio i {
    display: inline-block;
    width: 16px;
    height: 16px;
    font-style: normal;
    background: transparent url(../pic/formstyle/bg_checkbox.png) no-repeat 0 -42px;
    margin: 2px 4px -2px 0;
}
/*
.selectContainer li:hover i,
label.checkbox:hover i {
    background-position: 0 -56px;
}*/
.selectContainer li.selected {
    background-color: #82badb;
    color: #fff !important;
}
.red .selectContainer li.selected { background-color: #e57a6a }
.yellow .selectContainer li.selected { background-color: #f2cf6b }
.green .selectContainer li.selected { background-color: #6cc390 }
.green2 .selectContainer li.selected { background-color: #5c8f30 }



.selectContainer li.selected label {
    color: #fff !important;
}
.selectContainer li.selected i,
label.checkbox.selected i {
    background-position: 0 0;
}/*
.selectContainer li.selected:hover i,
label.checkbox.selected:hover i {
    background-position: 0 -14px;
}*/
.selectContainer li.disabled {
    background-color: #fafafa;
    color: #9a9a9a;
    cursor: default;
}
.selectContainer li.disabled label {
    cursor: default;
}
div.select .selectContainer li.disabled i,
label.checkbox.disabled i                           { background-position: 0 -70px }
div.select .selectContainer li.disabled:hover i,
label.checkbox.disabled i                           { background-position: 0 -70px }

div.select .selectContainer li.disabled.selected i,
label.checkbox.disabled.selected i       { background-position: 0 -28px }
div.select .selectContainer li.disabled.selected:hover i,
label.checkbox.disabled.selected:hover i { background-position: 0 -28px }

label.checkbox.disabled { cursor: default }

/**
    radio
            **/

label.radio i                   { background: transparent url(../pic/formstyle/bg_radio.png) no-repeat 0 0 }
label.radio.selected i           { background: transparent url(../pic/formstyle/bg_radio.png) no-repeat 0 -16px }
label.radio.disabled i          { opacity: .8 }
label.radio.disabled.selected i  { opacity: .8 }

label.radio.disabled            { cursor: default }

/**
    checkbox
            **/

label.checkbox i                   { background: transparent url(../pic/formstyle/bg_checkbox.png) no-repeat 0 0 }
label.checkbox.selected i           { background: transparent url(../pic/formstyle/bg_checkbox.png) no-repeat 0 -16px }
label.checkbox.disabled i          { opacity: .8 }
label.checkbox.disabled.selected i  { opacity: .8 }

label.checkbox.disabled            { cursor: default }

label.checkbox { white-space: nowrap}

.mapFilters label.checkbox i {
    width: 32px;
    height: 44px;
    margin-right: 10px;
    background: transparent url(../pic/formstyle/marker_shoppingcenter.png) no-repeat 0 0;
    float: left;
}
.mapFilters .shop label.checkbox i { background: transparent url(../pic/formstyle/marker_shop.png) no-repeat 0 0 }
.mapFilters .trainstation label.checkbox i { background: transparent url(../pic/formstyle/marker_trainstation.png) no-repeat 0 0 }
.mapFilters .entertainment label.checkbox i { background: transparent url(../pic/formstyle/marker_entertainment.png) no-repeat 0 0 }

.mapFilters label.checkbox,
.mapFilters label.checkbox + label { opacity: 0.35 }
.mapFilters label.checkbox.selected,
.mapFilters label.checkbox.selected + label { opacity: 1 }

.mapFilters span label {
    float: left;
}
.mapFilters span {
    float: left;
    /*width: 135px;*/
    display: table-cell;
    vertical-align: middle;
    color: #006000;
    font-size: 14px;
    font-weight: 600;
    line-height: 44px;
    padding-top: 18px;
    margin-right: 20px;
}

/**
    error state
                **/

input.inputError,
textarea.inputError { border: 1px solid #e57a6a; border-right: 5px solid #e57a6a; }

input.inputValid,
textarea.inputValid { border: 1px solid #90BE3E; border-right: 5px solid #90BE3E; }


/**
    other
            **/

.ui-dialog label {
    color: #555555;
    font-size: 13px;
}
.ui-dialog input {
    margin-bottom: 0;
    width: 220px;
}
.ui-dialog .regDiv input {
    margin-bottom: 10px;
}
.ui-dialog .regDiv label {
    width: 140px;
    display: inline-block;
}

/**
    formError
                **/

.formError,
.loginErrorForm {
    margin: 0 0 20px 110px;
    border: 1px solid #e57a6a;
    border-radius: 2px;
    background: #fae4e1;
    color: #e57a6a;
    padding: 10px;
    width: 730px;
    float: left;
    clear: both;
}
.formError h2,
.loginErrorForm h2 {
    margin: 0 0 10px 0;
    color: #e57a6a;
    float: none;
}
.formError ul,
.loginErrorForm ul {
    margin: 0 25px;
    line-height: 20px;
}
.otherWidth div.select {
    width: 100%;
}
#registerDialog .loginErrorForm {
    margin-left: 0;
    width: 100%;
}

/* ==========================================================================
   Media Queries
   ========================================================================== */

@media /*only screen and*/ (min-width : 980px) and (max-width : 1279px) {

    textarea {
        height: 150px;
        width: 100%;
    }
    input, textarea {
        width: 100%;
        margin-bottom: 10px;
    }
    .twocolumn label {
        line-height: normal;
    }
    .twocolumn textarea {
        margin-top: 15px;
        height: 158px;
    }
    div.select {
        width: 100%;
        float: left;
    }
}
@media /*only screen and*/ (max-width : 979px) {
    input, textarea {
        font-size: 12px;
        width: calc(100% - 110px);
        width: -moz-calc(100% - 110px);
        width: -webkit-calc(100% - 110px);
    }
    textarea {
        width: 100%;
    }
    .formError, .loginErrorForm {
        width: calc(100% - 110px);
        width: -moz-calc(100% - 110px);
        width: -webkit-calc(100% - 110px);
    }
}
