
/**
    input
            **/


input[type=text],
input[type=password],
textarea {
    font: 12px Arial;
    color: #5b5b5b;
    border-radius: 2px;
    text-align: left;
    padding: 12px 10px;
}
input[type=text]:hover,
textarea:focus,
input[type=password]:hover {  }

input[type=text]:focus,
textarea:focus,
input[type=password]:focus {  }



input[readonly="readonly"],
textarea[readonly="readonly"] {
    color: #9a9a9a;
    background-color: #e7e7e9;
    border: 1px solid #ccc !important;
}
textarea {
    resize: none;
    height: 100px;
}

.form {
    padding: 10px 0;
    float: left;
    width: 100%;
}
.form .form-item {
    float: left;
    width: 25%;
    padding: 0 0 10px 10px;
}
.form .form-item input,
.form .form-item textarea {
    width: 100%;
    border: 1px solid #e7e7e9;
    transition: all 0.8s ease;
}
.form .form-item input:focus,
.form .form-item.required input,
.form .form-item textarea:focus,
.form .form-item.required textarea {
    border: 1px solid #14a6d4
}

.form .form-item div.select button { border: 1px solid #e7e7e9 }
.form .form-item div.select button:before { color: #e7e7e9 }

.form .form-item.required div.select button,
.form .form-item div.select button:hover,
.form .form-item div.select button:active { border: 1px solid #14a6d4 }
.form .form-item div.select button:hover:before,
.form .form-item div.select button:active:before,
.form .form-item.required div.select button:before { color: #14a6d4 }

.form .form-item label {
    cursor: pointer;
    font-weight: bold;
    font-size: 12px;
    margin-bottom: 4px;
    display: inline-block;
    float: left;
    color: #5D5D5D;
}
.form .form-item > * {
    float: left;
}
.form .form-item.middle { max-width: 210px }
.form .form-item.small { max-width: 90px }
.form .form-item.textarea { width: 50% }
.form .form-item.clearLeft { clear: left }

.form .form-item a {
    float: right;
    font-weight: bold;
    color: #14a6d4;
}

.iframe .form .form-item.textarea {
    width: calc(100% - 10px);
    width: -moz-calc(100% - 10px);
    width: -webkit-calc(100% - 10px);
}

.form > button,
a.button,
a.whitebutton {
    float: left;
    margin: 10px 10px 0 10px;
    display: block;
    height: 40px;
    line-height: 40px !important;
    border-radius: 40px;
    color: #ffffff;
    text-transform: uppercase;
    padding: 0 20px;
    font-weight: bold !important;
    font: 12px Arial;
    background: #14a6d4;
    transition: all 0.5s ease;
    border: 0;
    cursor: pointer;
    clear: both;
}
a.button,
a.whitebutton {
    clear: none;
}
a.whitebutton {
    background: #fff;
    border: 2px solid #14a6d4;
    color: #14a6d4;
    line-height: 38px !important;
}
/**
    file upload
                **/

div.fileUpload {
    float: left;
    width: 100%;
}
div.fileUpload input[type=text] {
    border-right: 0;
    display: block;
    float: left;
    width: -moz-calc(100% - 126px);
    width: -webkit-calc(100% - 126px);
    width: calc(100% - 126px);
}
div.fileUpload button {
    border-radius: 0 40px 40px 0;
    color: #fff;
    cursor: pointer;
    font-weight: bold;
    display: block;
    float: left;
    margin: 0;
    display: block;
    height: 40px;
    line-height: 40px !important;
    color: #ffffff;
    text-transform: uppercase;
    padding: 0 20px;
    font-weight: bold !important;
    font: 12px Arial;
    background: #14a6d4;
    transition: all 0.5s ease;
    border: 0;
    cursor: pointer;
}
div.fileUpload button:hover {

}

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;
    width: 100%;
    height: 40px;
}
div.select button {
    width: 100%;
    border: 1px solid #14a6d4;
    font: 12px Arial;
    color: #5b5b5b;
    padding: 0 25px 0 10px;
    border-radius: 2px;
    cursor: pointer;
    text-align: left;
    height: 40px;
    line-height: 38px;
    overflow: hidden;
    ext-overflow: ellipsis;
    white-space: nowrap;
    background: #fff;
    position: relative;
}
div.select button:focus,
div.select button:hover,
div.select button.active {
    border: 1px solid #14a6d4 !important;
}
div.select button:before {
    color: #21abd7;
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 18px;
}
div.selectContainer {
    width: 100%;
    border: 1px solid #14a6d4 !important;
    position: absolute;
    left: 0;
    top: 40x;
    border-radius: 2px;
    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 !important;
    max-height: 245px!important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
}
.ui-autocomplete {
    max-height: 245px!important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    border: 1px solid #0098ab !important;
    border-top: 0 !important;
}
.selectContainer li {
    padding: 8px 0;
    border-bottom: 1px solid #bfe5ea;
    list-style: none;
    /*float: left;*/
    width: inherit;
    vertical-align: middle !important;
    cursor: pointer !important;
}
.ui-autocomplete li.ui-menu-item {
    background: transparent !important;
    padding: 9px 5px !important;
    border-bottom: 1px solid #bfe5ea !important;
    list-style: none;
    width: inherit;
    vertical-align: middle !important;
    box-sizing: border-box !important;
    -moz-box-sizing: border-box !important;
    margin: 0 !important;
    cursor: pointer !important;
}
.ui-autocomplete li.ui-menu-item:last-of-type {
    border-bottom: 0 !important;
}
.ui-autocomplete li a {
    padding: 0 !important;
    line-height: normal !important;
}
.ui-autocomplete li:hover {
    background-color: #8fd5eb !important;
}

.selectContainer li.group {
    color: #555555;
    font: 13px Arial;
    font-weight: bold;
    background-color: #f2f2f2;
    cursor: default;
    padding: 9px 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;*/
    width: 100%;
    border: 1px solid #14a6d4 !important;
    margin-top: 8px;
}
.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;
}

.selectContainer li label {
    padding: 0 !important;
    margin: 0 !important;
}

/**
    checkbox + multiselect checkbox
                                    **/

.selectContainer li label,
label.checkbox,
label.radio {
    padding: 9px 10px;
    display: block;
    color: #000;
    font: 13px Arial;
    font-weight: normal;
    text-decoration: none;
    cursor: pointer;
}
.selectContainer li label {
    padding: 0 9px !important;
    clear: none !important;
    float: none !important;
    text-align: left;
    width: auto !important;
    line-height: normal !important;
    display: inline-block !important;
}
label.checkbox,
label.radio {
    display: inline-block;
    width: auto !important;
    color: #555555 !important;
    margin-bottom: 5px !important;
}
.selectContainer li {
    cursor: pointer;
}
.selectContainer li:hover {
    background-color: #8fd5eb;
}

.selectContainer li.hover {
    background-color: #8fd5eb;
}
.selectContainer li.group:hover {

}
label.checkbox,
label.radio {
    padding: 0;
}
.selectContainer li label i,
label.checkbox i,
label.radio i,
span.dynatree-checkbox {
    display: inline-block;
    width: 15px;
    height: 14px;
    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: #ecf0f3;
}
.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:hover i             { background: transparent url(../pic/formstyle/bg_radio.png) no-repeat 0 -14px }
label.radio.selected i           { background: transparent url(../pic/formstyle/bg_radio.png) no-repeat 0 -70px }
label.radio.selected:hover i     { background: transparent url(../pic/formstyle/bg_radio.png) no-repeat 0 -56px }
label.radio.disabled i          { background: transparent url(../pic/formstyle/bg_radio.png) no-repeat 0 -28px }
label.radio.disabled.selected i  { background: transparent url(../pic/formstyle/bg_radio.png) no-repeat 0 -42px }

label.radio.disabled            { cursor: default }


.dataTable label.checkbox i {
    margin: 5px 0 0 0;
}
.dataTable label.checkbox {
    line-height: normal !important;
    overflow: hidden;
    width: 15px !important;
}
.otherWidth .select,
.otherWidth input,
.iframe .otherWidth .select,
.iframe .otherWidth input{
    width: 100% !important;
}

.otherWidth textarea {
    width: calc(100% - 40px);
    width: -moz-calc(100% - 40px);
    width: -webkit-calc(100% - 40px);
    margin-left: 10px;
    margin-right: 10px;
}
.dataTables_length .select {
    width: 70px !important;
    margin-left: 10px !important;
    float: right;
}
.dataTables_length label {
    width: auto !important;
    margin: 0 0 5px 10px;
}
#forgottenPassFancy input {
    border: 1px solid #e7e7e9;
    padding: 17px 10px !important;
    width: 100% !important;
    margin: 0;
    font: 12px Arial;
    color: #5b5b5b;
    border-bottom: 0;
    border-radius: 5px 5px 0 0;
}
#forgottenPassFancy input#email,
#addNewPass input#pass2 {
    border-radius: 0 0 5px 5px !important;
    margin-bottom: 20px;
    border-bottom: 1px solid #e7e7e9;
    margin-bottom: 10px;
}
#forgottenPassFancy p {
    color: #5b5b5b;
}