/***** FORM *****/
form {
    display: block;
}
.formrow, .textarearow, .buttonrow, .checkboxrow, .radioboxrow {
    min-height: 30px;
    margin-bottom: 10px;
    position: relative;
}
.textarearow {
    min-height: 85px;
}
label, input, select, textarea {
    width: 300px;
}
label, input, select, textarea, button, .styled-select {
    color: #333;
    font-size: 11px;
    line-height: 18px;
    vertical-align: middle;
    display: block;
    float: left;
}
input, select, textarea, button, .styled-select {
    padding: 10px;
    font-size: 1em;
    background-color: #FFF;
    border: 1px solid #CCC;
    border-radius: 3px !important;
    -webkit-border-radius: 3px !important;
    -moz-border-radius: 3px !important;
    -o-border-radius: 3px !important;
}
label {
    color: #999;
    width: 100px;
    line-height: 40px;
    height: 40px;
}
input, textarea {
    box-shadow: inset 0 1px 1px rgba(0,0,0,0.075);
    -moz-box-shadow: inset 0 1px 1px rgba(0,0,0,0.075);
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,0.075);
}
input:focus, textarea:focus {
    border-color: #3399FF;
    outline: 0;
    -moz-box-shadow: inset 0 1px 1px rgba(0,0,0,0.075),0 0 8px rgba(51,153,255,0.6);
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,0.075),0 0 8px rgba(51,153,255,0.6);
    box-shadow: inset 0 1px 1px rgba(0,0,0,0.075),0 0 8px rgba(51,153,255,0.6)
}
input[type=checkbox]:focus, input[type=radio]:focus {
    border: 1px solid #CCC;
    box-shadow: inset 0 1px 1px rgba(0,0,0,0.075);
    -moz-box-shadow: inset 0 1px 1px rgba(0,0,0,0.075);
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,0.075);
}

/**** DISABLED *****/
input[readonly=readonly]:focus, input[disabled=disabled]:focus,
textarea[readonly=readonly]:focus, textarea[disabled=disabled]:focus {
    border: 1px solid #CCC;
    box-shadow: inset 0 1px 1px rgba(0,0,0,0.075);
    -moz-box-shadow: inset 0 1px 1px rgba(0,0,0,0.075);
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,0.075);
}
input[disabled=disabled], textarea[disabled=disabled], select[disabled=disabled], 
input.disabled, textarea.disabled, select.disabled, .disabled .styled-select {
    background-color: #EEE !important;
    color: #999 !important;
}
button[disabled=disabled], button.disabled,
button[disabled=disabled]:hover, button.disabled:hover {
    background: #CCC !important;
    border: 1px solid #CCC !important;
    color: #EEE !important;    
}

.input-checkbox, .input-radio {
    display: inline-block;
    width: 18px;
    height: 18px;
    background: #FFF;
    border: 1px solid #999;
    border-radius: 2px;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    float: left;
    margin-right: 10px;
    text-align: center;
    position: relative;
}
.input-radio {
    border-radius: 50%;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
}
.input-checkbox.focus:before, .input-radio.focus:before {
    font-size: 9px;
    line-height: 20px;
    color: #333;
    width: 18px;
    position: absolute;
    left: 0;
}
.input-checkbox.focus:before {
    content: "\f00c";
    font-family: Font Awesome\ 5 Free !important;
    font-weight: 900 !important;
}
.input-radio.focus:before {
    content: "\f111";
    font-family: Font Awesome\ 5 Free !important;
    font-weight: 900 !important;
}
.readonly .input-checkbox.focus:before, .readonly .input-radio.focus:before,
.readonly .checkboxgroup label, .readonly .radiogroup label {
    color: #999 !important;
}
input[type=checkbox], input[type=radio] {
    background: none;
    border: none;
    margin: 3px !important;
    width: auto !important;
    position: absolute;
    opacity: 0;
    filter: alpha(opacity=0);
    -moz-opacity: 0;
    cursor: pointer;
}

textarea {
    height: 80px;
}
button {
    padding: 0 20px;
    display: inline-block;
    font-size: 14px;
    text-align: center;
    white-space: nowrap;
    cursor: pointer;
    border-radius: 4px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    color: #333;
    background: #E6E6E6;
    background: -webkit-gradient(linear, left 0%, left 100%, from(#ffffff), to(#e6e6e6));
    background: -webkit-linear-gradient(top, #ffffff, 0%, #e6e6e6, 100%);
    background: -moz-linear-gradient(top, #ffffff 0%, #e6e6e6 100%);
    background: linear-gradient(to bottom, #ffffff 0%, #e6e6e6 100%);
    background-repeat: repeat-x;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#ffe6e6e6', GradientType=0);
    text-shadow: 0 1px 0 #FFF;
    -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 1px 1px rgba(0, 0, 0, 0.075);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 1px 1px rgba(0, 0, 0, 0.075);
    -moz-transition: none;
    -webkit-transition: none;
    -o-transition: none;
    transition: none;
    border: 1px solid #CCC;
}
button:hover {
    border: 1px solid #999;
}
button img, button i, button .sqs-spin {
    margin-right: 10px;
}
select {
    cursor: pointer;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
}
.styled-select, .styled-select-number {
    height: 28px;
    line-height: 28px;
    overflow: hidden;
    cursor: pointer;
    padding: 0 10px;
    background-color: #FFF;
    background-image: url('../images/admin/select.png') !important;
    background-repeat: no-repeat !important;
    background-position: center right !important;
}
.styled-select-number {
    background: #FFF url('../images/admin/select-number.png') center right no-repeat;
}
.styled-select select {
    font-size: 14px;
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
    cursor: pointer;
    width: 100%;
    height: 28px;
    line-height: 28px;
    -moz-appearance: none;
    -webkit-appearance: none;
    text-indent: 0.01px;
    text-overflow: '';
    padding-right: 30px;
    margin-right: 40px;
}
.captcharow {
    margin-bottom: 30px;
}
.captcharow .wrap-captcha {
    float: left;
    width: 340px;
}
.captcharow .wrap-captcha input {
    width: 220px;
    float: left;
}
.captcharow .wrap-captcha img {
    float: left;
    margin-left: 10px;
}

.styled-select.formerror {
    position: relative;
}
.styled-select.formerror .formerror-msg {
    right: 7px;
}
.formerror input, .formerror textarea, .styled-select.formerror, .pretext.formerror {
    border-color: #C00;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,0.075),0 0 8px rgba(255,0,0,0.6);
    box-shadow: inset 0 1px 1px rgba(0,0,0,0.075),0 0 8px rgba(255,0,0,0.6);
}
.formerror_msg {
    display: none;
    color: #C00;
    margin-top: 10px;
    margin-bottom: 20px;
}
.formerror-msg {
    position: absolute;
    right: -10px;
    top: 0;
    cursor: pointer;
    height: 40px;
    line-height: 40px;
}
.formerror-msg i {
    line-height: 40px;
    color: #C00;
    display: block;
    float: left;
    margin-right: 5px !important;
}
.formerror-msg span {
    line-height: 40px;
    font-size: 11px;
    color: #C00;
    text-transform: lowercase;
    float: right;
}
.formerror-msg:hover span {
    display: block;
}
.textarearow .formerror-msg,
.textarearow .formerror-msg i,
.textarearow .formerror-msg span {
    line-height: 20px;
    height: 20px;
}
.tooltip.formerror {
    top: -30px;
    left: 90px;
}

form .checkboxrow input, form .radiorow input,
form .checkboxrow input:focus, form .radiorow input:focus {
    width: auto;
    box-shadow: none;
    -moz-box-shadow: none;
    -webkit-box-shadow: none;
}

form .addonrow {
    width: 200px;
}
form .addonrow input {
    margin-right: -39px;
    min-width: 190px;
    border-radius: 4px;
    -webkit-border-radius: 4px;
    padding-top: 10px;
    padding-bottom: 10px;
}
form .addonrow-pre input {
    border-bottom-left-radius: 0;
    border-top-left-radius: 0;
}
form .addonrow-post input {
    border-bottom-right-radius: 0;
    border-top-right-radius: 0;
    margin-right: -51px;
}
form .labelicon, form .addonrow .labelicon {
    background: #EEE;
    color: #333;
    border: 1px solid #CCC;
    border-radius: 4px;
    padding: 0 10px;
    min-width: 18px;
    height: 38px;
    line-height: 38px;
    text-align: center;
    display: block;
    float: left;
    font-size: 14px;
    text-shadow: 0 1px 0 #FFF;
}
form .labelicon * {
    margin: auto;
}
form .labelicon.addon-post {
    border-bottom-left-radius: 0;
    border-top-left-radius: 0;
    border-left: 0;
    margin-right: -50px;
    width: 30px;
    font-size: 12px;
}
form .labelicon.addon-pre {
    border-bottom-right-radius: 0;
    border-top-right-radius: 0;
    border-right: 0;
}
form .labelicon i {
    font-size: 18px;
    line-height: 40px;
}
form .addonrow.readonly .labelicon {
    display: none;  
}
.star-bg {
    width: 65px;
    height: 13px;
    line-height: 13px;
    display: block;
    margin: 1px auto;
    background: transparent url('../images/stars.png') repeat-x 0 -13px;
}
.star-bg .star {
    height: 13px;
    line-height: 13px;
    text-indent: -9999px;
    display: block;
    background: transparent url('../images/stars.png') repeat-x 0 0;
    width: 0;
}
.star-bg .star-1 {
    width: 13px;
}
.star-bg .star-2 {
    width: 26px;
}
.star-bg .star-3 {
    width: 39px;
}
.star-bg .star-4 {
    width: 52px;
}
.star-bg .star-5 {
    width: 65px;
}

.select-arrowrow .styled-select-arrow {
    height: 30px;
    line-height: 30px;
    float: left;
    background-color: #FFF;
    border: 1px solid #CCC;
}
.select-arrowrow .styled-select-arrow select {
    width: 100px;
    background: transparent;
    border: none;
    border-radius: 0;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    padding: 0;
    height: 30px;
    line-height: 30px;
    -webkit-appearance: none;
    moz-appearance: none;
    -moz-appearance: none;
    appearance: none;
    text-indent: 10px;
    margin-left: 20px;
}
.select-arrowrow .styled-select-arrow button {
    background: #FFF;
    border: none;
    width: 30px;
    text-align: center;
    height: 30px;
    line-height: 30px;
    border-radius: 0;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    padding: 0;
}
.select-arrowrow .styled-select-arrow button[disabled],
.select-arrowrow .styled-select-arrow button[disabled]:hover,
.select-arrowrow .styled-select-arrow button[disabled] i,
.select-arrowrow .styled-select-arrow button[disabled]:hover i {
    background: #FFF;
    color: #CCC;
}
.select-arrowrow .styled-select-arrow button i {
    font-size: 10px;
    color: #333;
    margin: 0 !important;
}
.select-arrowrow .styled-select-arrow button.button-minus {
    border-right: 1px solid #CCC;
    float: left;
}
.select-arrowrow .styled-select-arrow button.button-plus {
    border-left: 1px solid #CCC;
    float: right;
}
.select-arrowrow .styled-select-arrow button:hover {
    background: #EEE;
}
.select-arrowrow .styled-select-arrow button:hover i {
    color: #000;
}

.file-browse {
    float: left;
}
.file-browse .btn {
    float: left;
    height: 28px;
    line-height: 28px;
    cursor: pointer;
    margin: 5px 0;
}
.file-browse .btn i {
    margin-right: 10px;
}
.btn-upload {
    position: relative;
}
.uploadinput {
    height: 30px;
    width: auto;
    padding: 0;
    position: absolute;
    top: 0;
    right: 0;
    margin: 0;
    opacity: 0;
    filter: alpha(opacity=0);
    cursor: pointer;
}
.file-selected {
    color: #666;
    font-size: 14px;
}
.file-selected {
    float: left;
    line-height: 30px;
    height: 30px;
    color: #999;
    margin: 5px 0 5px 10px;
    max-width: 520px;
}
