
/**
    input
            **/

#container input[type=text],
#container input[type=password],
#container textarea {
    /*width: 168px;*/
    border: 1px solid #d9d9d9;
    font: 13px Arial;
    color: #000;
    border-radius: 2px;
    text-align: left;
    padding: 8px 10px 9px 10px;
    margin-bottom: 5px;
}
.login #container input[type=text],
.login #container input[type=password],
.login #container textarea,
.login #container input[type=text]:hover,
.login #container input[type=password]:hover,
.login #container textarea:hover {
    backgroubnd-color: #fff;
    width: 250px;
}
#container input[type=text]:hover,
#container textarea:hover,
#container input[type=password]:hover { border: 1px solid #b2b2b2 }

#container input[type=text]:focus,
#container textarea:focus,
#container input[type=password]:focus { border: 1px solid #0098ab }

#container input[type=text]:disabled,
#container textarea:disabled,
#container input[type=password]:disabled {
    border: 1px solid #d9d9d9;
    color: #9a9a9a;
    background-color: #f2f2f2;
}
#container textarea {
    resize: none;
    height: 80px;
}

/**
    file upload
                **/

div.fileUpload {
    display: inline-block;
    margin: 0 0 0 -10px;
}
div.fileUpload input[type=text] {
    border-right: 0;
    display: block;
    float: left;
    margin-left: 10px !important;
    width: -moz-calc(100% - 130px);
    width: -webkit-calc(100% - 130px);
    width: calc(100% - 130px);
}
div.fileUpload button,
table button {
    min-width: 90px;
    height: 34px;
    padding: 0 15px;
    line-height: 35px !important;
    border: none;
    border-radius: 0 2px 2px 0;
    background: #565757;
    text-align: center;
    font: 13px Arial;
    color: #fff;
    margin: 0 0 10px 0;
    cursor: pointer;
    font-weight: bold;
    display: block;
    float: left;
}
table button.delRow {
    background: #ef434f;
}
div.fileUpload button:hover {
    background: #424343;
}

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: 190px;
    height: 33px;
    margin: 0;
    vertical-align: middle;
}
div.select button {
    width: 100%;
    border: 1px solid #d9d9d9;
    font: 13px Arial;
    color: #000;
    padding: 0 25px 0 10px;
    border-radius: 2px;
    background: #fff url(../gfx/formstyle/bg_select.png) no-repeat right 10px top 11px;
    cursor: pointer;
    text-align: left;
    height: 33px;
    line-height: 33px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
div.select button:focus,
div.select button:hover,
div.select button.active {
    background: #fff url(../gfx/formstyle/bg_select.png) no-repeat right 10px top 11px;
    border: 1px solid #0098ab !important;
}
div.selectContainer {
    width: 100%;
    border: 1px solid #0098ab;
    position: absolute;
    left: 0;
    top: 34px;
    border-radius: 2px;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    background-color: #fff;
    z-index: 100;
    display: none;
}
div.formStyle.open .selectContainer {
    display: block;
}
div.selectContainer ul {
    width: inherit !important;
    max-height: 245px!important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    margin: 0 !important;
}
.ui-autocomplete {
    max-height: 245px!important;
    width: 300px;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    border: 1px solid #0098ab !important;
    border-top: 0 !important;
    z-index: 1000;
}
.selectContainer li {
    padding: 9px 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: #fff !important;
    padding: 9px 5px !important;
    border-bottom: 1px solid #bfe5ea !important;
    list-style: none;
    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: #d6eaef !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;
    margin: 0;
    padding: 0 0 0 0;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}
.selectContainer .search input[type=text] {
    margin: 0 0 0 0 !important;
    border: 1px solid #d9d9d9;
    border-radius: 2px;
    /*background: #fff url(../gfx/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(../gfx/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 {
    margin: 0;
    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: #d6eaef;
}

.selectContainer li.hover {
    background-color: #d6eaef;
}
.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(../gfx/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: #99d6dd;
}
.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(../gfx/formstyle/bg_radio.png) no-repeat 0 0 }
label.radio:hover i             { background: transparent url(../gfx/formstyle/bg_radio.png) no-repeat 0 -14px }
label.radio.selected i           { background: transparent url(../gfx/formstyle/bg_radio.png) no-repeat 0 -70px }
label.radio.selected:hover i     { background: transparent url(../gfx/formstyle/bg_radio.png) no-repeat 0 -56px }
label.radio.disabled i          { background: transparent url(../gfx/formstyle/bg_radio.png) no-repeat 0 -28px }
label.radio.disabled.selected i  { background: transparent url(../gfx/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: 0 0 10px 0;
    float: right;
}
.dataTables_length label {
    width: auto !important;
    margin: 0 0 5px 10px;
}