input { font-family: Arial; font-size: 14px; }
textarea { font-family: Arial; font-size: 14px; }

div.input-text { height: 40px; background: #fff; border-radius: 3px; border: 1px solid #1f6bb0; position: relative; display: inline-block; box-sizing: border-box; -moz-box-sizing: border-box; -webkit-box-sizing: border-box; }
div.input-text div { height: 40px; margin: 0 9px; position: relative; }
div.input-text div b { display: none; }
div.input-text div input { display: block; width: 100%; height: 17px; padding: 10px 9px 11px 9px; margin: 0; font-family: Arial; color: #000; border: 0 none; background-color: #fff; position: absolute; left: -9px; top: 0; outline: 0; border-radius: 3px; }

div.textarea { height: 124px; background: #fff; border-radius: 3px; border: 1px solid #1f6bb0; position: relative; box-sizing: border-box; -moz-box-sizing: border-box; -webkit-box-sizing: border-box; overflow: hidden; }
div.textarea div { height: 124px; margin: 0 9px; position: relative; }
div.textarea div textarea { width: 100%; height: 100px; padding: 10px 9px 11px 9px; margin: 0; font-family: Arial; color: #000; border: 0 none; background-color: #fff; position: absolute; left: -9px; top: 0; outline: 0; resize: none; border-radius: 3px; }

div.input-date { height: 40px; background: #fff url('../../i2/rsmp/calendar.png') no-repeat 10px center; border-radius: 3px; border: 1px solid #1f6bb0; position: relative; display: inline-block; box-sizing: border-box; -moz-box-sizing: border-box; -webkit-box-sizing: border-box; }
div.input-date div { height: 40px; margin: 0 9px 0 35px; position: relative; }
div.input-date div b { display: none; }
div.input-date div a { display: none; }
div.input-date div input { display: block; width: 100%; height: 17px; padding: 10px 9px 11px 9px; margin: 0; font-family: Arial; color: #000; text-decoration: none; border: 0 none; background-color: #fff; position: absolute; left: -9px; top: 0; outline: 0; border-radius: 3px; }

div.input-enum { height: 40px; background: #fff; border-radius: 3px; border: 1px solid #1f6bb0; position: relative; display: inline-block; box-sizing: border-box; -moz-box-sizing: border-box; -webkit-box-sizing: border-box; line-height: normal!important; }
div.input-enum div { height: 40px; margin: 0 35px 0 9px; position: relative; }
div.input-enum div a { display: block; width: 35px; height: 38px; padding: 0; margin: 0; position: absolute; right: -35px; top: 0; outline: 0; background: #fff url('../../i2/rsmp/magnifier.png') no-repeat center center; border-radius: 3px; }
div.input-enum div input { display: block; width: 100%; height: 17px; padding: 10px 9px 11px 9px; margin: 0; font-family: Arial; color: #000; text-decoration: none; border: 0 none; background-color: #fff; position: absolute; left: -9px; top: 0; outline: 0; border-radius: 3px; }

div.select { height: 40px; background: #fff url('../../i2/rsmp/magnifier.png') no-repeat 8px center; border-radius: 3px; border: 1px solid #1f6bb0; position: relative; display: inline-block; box-sizing: border-box; -moz-box-sizing: border-box; -webkit-box-sizing: border-box; line-height: normal!important; }
div.select div { height: 40px; margin: 0 35px 0 35px; position: relative; }
div.select div b { display: none; }
div.select div a { display: block; width: 35px; height: 38px; padding: 0; margin: 0; position: absolute; right: -35px; top: 0; outline: 0; background: #fff url('../../i2/rsmp/btn-dropdown.png') no-repeat center center; border-radius: 3px; }
div.select div input { display: block; width: 100%; height: 17px; padding: 10px 9px 11px 9px; margin: 0; font-family: Arial; color: #000; text-decoration: none; border: 0 none; background-color: #fff; position: absolute; left: -9px; top: 0; outline: 0; border-radius: 3px; }
div.select div select { display: none; }
div.select ul { cursor: default; position: absolute; border: 1px solid #999; display: none; left: -1px; max-height: 250px; width: 500px; margin: 0px; padding: 0px; background-color: #fff; overflow-y: auto; overflow-x: hidden; box-sizing: border-box; -moz-box-sizing:border-box; -webkit-box-sizing: border-box; box-shadow: 2px 2px 3px #aaa; -moz-box-shadow: 2px 2px 3px #aaa; -webkit-box-shadow: 2px 2px 3px #aaa; }
div.select ul li { margin: 0; padding: 3px; }
div.select ul li.static { color: #666; background-color: #f5f5f5; font-style: italic; padding: 5px 10px; }
div.select ul li.active { background-color: highlight; color: highlighttext; }

div.uni-set { text-align: right; padding-right: 100px; }
div.uni-set ul { max-height: 200px; overflow-y: auto; border: 1px solid #1f6bb0; border-radius: 3px; background: #fff; margin: 0; text-align: left; padding: 6px 0; list-style: none; cursor: pointer; }
div.uni-set ul li { list-style: none; padding: 3px 30px 3px 10px; margin: 2px; position: relative; }
div.uni-set ul li.no-data { border: none; background-color: #fff; color: #ccc; font-style: italic; }
div.uni-set ul li.no-data a { display: none; }
div.uni-set ul li span { float: none!important; padding: 0!important; }
div.uni-set ul li a.uni-set-delete { display: block; width: 16px; height: 16px; position: absolute; right: 2px; top: 2px; background: url('../../i2/rsmp/cross-small.png') no-repeat center center; }
div.uni-set button { position: absolute; top: 0px; right: 0px; width: 90px; }
div.uni-set-disabled ul li { background: #f3f3f0!important; color: #999!important; }
div.uni-set-disabled ul li a.uni-set-delete { display: none!important; }
div.uni-set-disabled button { display: none!important; }

.ontop { z-index: 1000; }

div.disabled { background-color: #f3f3f0!important; color: #545454!important; }
div.disabled div input { background-color: #f3f3f0!important; color: #545454!important; }
div.disabled div textarea { background-color: #f3f3f0!important; color: #545454!important; }
div.disabled div a { background-color: #f3f3f0!important; color: #545454!important; cursor: default!important; }

div.input-static { min-height: 18px; background: #f3f3f0; border-radius: 3px; border: 1px solid #1f6bb0; overflow: hidden; font-family: Arial; color: #545454; padding: 3px 9px; }

.input-error { color: #f00!important; }

a.checkbox { display: inline-block; height: 18px; padding: 3px 2px 0 40px; background-image: url('../../i2/checkbox-off.png'); background-repeat: no-repeat; background-position: 14px 4px; text-decoration: none; color: #000; line-height: normal; }
a.checkbox-off { background-image: url('../../i2/rsmp/checkbox-off.png')!important; }
a.checkbox-on { background-image: url('../../i2/rsmp/checkbox-on.png')!important; }
a.checkbox-part { background-image: url('../../i2/rsmp/checkbox-part.png')!important; }
a.checkbox-disabled { background-image: url('../../i2/rsmp/checkbox-disabled-off.png')!important; cursor: default; color: #bbb; }
a.checkbox-disabled-off { background-image: url('../../i2/rsmp/checkbox-disabled-off.png')!important; cursor: default; color: #bbb; }
a.checkbox-disabled-on { background-image: url('../../i2/rsmp/checkbox-disabled-on.png')!important; cursor: default; color: #bbb; }
a.checkbox-disabled-part { background-image: url('../../i2/rsmp/checkbox-disabled-part.png')!important; cursor: default; color: #bbb; }

a.radio { display: inline-block; min-height: 18px; padding: 3px 2px 0 40px; background-image: url('../../i2/rsmp/radio-off.png'); background-repeat: no-repeat; background-position: 14px 4px; text-decoration: none; color: #000; line-height: normal; }
a.radio-off { background-image: url('../../i2/rsmp/radio-off.png')!important; }
a.radio-on { background-image: url('../../i2/rsmp/radio-on.png')!important; }
a.radio-disabled { background-image: url('../../i2/rsmp/radio-disabled-off.png')!important; cursor: default; color: #bbb; }
a.radio-disabled-off { background-image: url('../../i2/rsmp/radio-disabled-off.png')!important; cursor: default; color: #bbb; }
a.radio-disabled-on { background-image: url('../../i2/rsmp/radio-disabled-on.png')!important; cursor: default; color: #bbb }
h3 a.radio { background-position: 4px 9px!important; padding-left: 30px; }
a.radio p { margin: 8px 0 0 0; }

/* uni-date */
.uni-calendar { z-index: 1000; width: 220px; padding: 15px; position: absolute; display: block; background-color: #fff; margin: 0; border: 2px solid #bbb; box-shadow: 0 0 10px 2px rgba(0,0,0,0.25); }
.uni-calendar .uni-calendar-head { display: block; height: 40px; position: relative; border-bottom: 1px solid #ccc; text-align: center; }
.uni-calendar .uni-calendar-head a.uni-calendar-title { display: inline-block; height: 20px; vertical-align: middle; line-height: 20px; font-family: Arial; font-size: 18px; text-decoration: none; }
.uni-calendar .uni-calendar-head a.uni-calendar-prev { display: block; width: 20px; height: 20px; position: absolute; background: url('/static/i2/nalog3/icon-move-prev.png') no-repeat center center; cursor: pointer; top: 0; left: 0; }
.uni-calendar .uni-calendar-head a.uni-calendar-prev-disabled { background-image: url('/static/i2/nalog3/icon-move-prev-disabled.png'); }
.uni-calendar .uni-calendar-head a.uni-calendar-next { display: block; width: 20px; height: 20px; position: absolute; background: url('/static/i2/nalog3/icon-move-next.png') no-repeat center center; cursor: pointer; top: 0; right: 0; }
.uni-calendar .uni-calendar-head a.uni-calendar-next-disabled { background-image: url('/static/i2/nalog3/icon-move-next-disabled.png'); }
.uni-calendar .uni-calendar-body { margin-top: 15px; }
.uni-calendar .uni-calendar-body a { display: block; float: left; color: #0063ad; font-family: Arial; font-size: 13px; line-height: 24px; height: 24px; padding: 0 5px; text-decoration: none; box-sizing: border-box; -moz-box-sizing: border-box; -webkit-box-sizing: border-box; }
.uni-calendar .uni-calendar-body a.uni-calendar-item-red { color: #c00; }
.uni-calendar .uni-calendar-body a.uni-calendar-item-active { color: #fff; background-color: #0063ad; }
.uni-calendar .uni-calendar-body a.uni-calendar-item-disabled { color: #ccc; cursor: default; }
.uni-calendar .uni-calendar-body a.uni-calendar-item-day { width: 14.28571428571429%; text-align: right; }
.uni-calendar .uni-calendar-body a.uni-calendar-item-month { width: 33.33333333333333%; text-align: left; margin: 2px 0; }
.uni-calendar .uni-calendar-body a.uni-calendar-item-year { width: 25%; text-align: center; margin: 2px 0; }

/* uni-search */
iframe.uni-search-bgiframe {
    position: absolute;
    z-index: -1;
    filter: mask();
    border: 1px solid #f00;
    margin: 0;
    padding: 0;
    top: 0;
    left: 0;
    width: 100%;
    height: 9999px;
    overflow: hidden;
    display: none;
}
ul.uni-search-list {
    list-style: none;
    cursor: default;
    position: absolute;
    border: 1px solid #999;
    display: none;
    left: 0px;
    max-width: 100%;
    margin: 0px;
    padding: 0px;
    background-color: #fff;
    box-sizing: border-box; -moz-box-sizing:border-box; -webkit-box-sizing: border-box;
    box-shadow: 0 0 3px #aaa; -moz-box-shadow: 0 0 3px #aaa; -webkit-box-shadow: 0 0 3px #aaa;
}
ul.uni-search-list li { margin: 0; padding: 3px 20px 3px 3px; }
ul.uni-search-list li.static { color: #666; background-color: #f5f5f5; font-style: italic; padding: 5px 20px 5px 10px; }
ul.uni-search-list li.active { background-color: highlight; color: highlighttext; }

.uni-dialog { }
.uni-dialog .uni-dialog-wrapper { z-index: 4001; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: #fff; opacity: 0.5; filter: alpha(opacity=50); }
.uni-dialog .uni-dialog-container { z-index: 4002; position: fixed; top: 50%; left: 50%; border: 2px solid #1f6bb0; border-radius: 3px; box-shadow: 2px 2px 6px 0px rgba(0,0,0,0.25);  }
.uni-dialog .uni-dialog-container .uni-dialog-data { z-index: 4003; width: 100%; height: 100%; }
.uni-dialog .uni-dialog-container .uni-dialog-data iframe { width: 100%; height: 100%; border: none; background-color: #fff; }
