input { font-family: "Open Sans", sans-serif; font-size: 16px; }
textarea { font-family: "Open Sans", sans-serif; font-size: 16px; }
div.input-text { transition: all .3s; -webkit-transition: all .3s; -moz-transition: all .3s; -ms-transition: all .3s; -o-transition: all .3s; }
div.inp-focus { border-color: #999!important; }

::-ms-clear { display: none; }

::-webkit-input-placeholder { font-size: 16px; color: #495057; font-weight: normal; }
::-moz-placeholder          { font-size: 16px; color: #495057; font-weight: normal; }
:-moz-placeholder           { font-size: 16px; color: #495057; font-weight: normal; }
:-ms-input-placeholder      { font-size: 16px; color: #495057; font-weight: normal; }

input:-webkit-autofill { -webkit-box-shadow: 0 0 0 30px white inset; }

div.input-text { height: 38px; background: #fff; border: 1px solid #ced4da; border-radius: 3px; position: relative; display: inline-block; box-sizing: border-box; -moz-box-sizing: border-box; -webkit-box-sizing: border-box; }
div.input-text div { height: 36px; border-radius: 3px; margin: 0 30px 0 9px; position: relative; }
div.input-text div b { display: block; width: 16px; height: 16px; padding: 0; margin: 0; position: absolute; right: -22px; top: 10px; outline: 0; background: url('/static/i2/nalog3/icon-field-clear-content.png') no-repeat center center; }
div.input-text div input { display: block; border-radius: 3px; width: 100%; height: 24px; line-height: 24px; padding: 6px 9px 6px 9px; margin: 0; border: 0 none; background-color: #fff; position: absolute; left: -9px; top: 0; outline: 0; }
div.input-text div input::placeholder { color: #495057; opacity: 1; }
div.input-text div input:-ms-input-placeholder { color: #495057; }
div.input-text div input::-ms-input-placeholder { color: #495057; }

div.textarea { height: 124px; background: #fff; border: 1px solid #ced4da; border-radius: 3px; position: relative; box-sizing: border-box; -moz-box-sizing: border-box; -webkit-box-sizing: border-box; overflow: hidden; }
div.textarea div { height: 122px; margin: 0 9px; position: relative; }
div.textarea div textarea { width: 100%; height: 100px; padding: 6px 9px 6px 9px; margin: 0; border: 0 none; position: absolute; left: -9px; top: 0; outline: 0; resize: none; }

div.input-date { height: 40px; background: #fff url('/static/i2/rsmp/calendar.png') no-repeat 10px center; border: 1px solid #ced4da; 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: "Open Sans", sans-serif; color: #000; text-decoration: none; border: 0 none; background-color: #fff; position: absolute; left: -9px; top: 0; outline: 0; }

div.input-enum { height: 40px; background: #fff; border: 1px solid #ced4da; 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('/static/i2/rsmp/magnifier.png') no-repeat center center; }
div.input-enum div input { display: block; width: 100%; height: 17px; padding: 10px 9px 11px 9px; margin: 0; font-family: "Open Sans", sans-serif; color: #000; text-decoration: none; border: 0 none; background-color: #fff; position: absolute; left: -9px; top: 0; outline: 0; }

div.select { height: 32px; background: #fff; border: 1px solid #ced4da; border-radius: 3px; 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: 30px; border-radius: 3px; margin: 0 32px 0 9px; position: relative; }
div.select div b { display: none; }
div.select div a { display: block; width: 32px; height: 30px; padding: 0; margin: 0; position: absolute; right: -32px; top: 0; outline: 0; }
div.select div a { background: #ced4da; }
div.select div a:after { content: ''; display: block; width: 32px; height: 30px; position: absolute; left: 0; top: 0; background: url('../../i/common/btn-dropdown.png') no-repeat center; }
div.select div input { display: block; border-radius: 3px; width: 100%; height: 18px; line-height: 24px; padding: 6px 9px 6px 9px; margin: 0; text-decoration: none; border: 0 none; background-color: #fff; position: absolute; left: -9px; top: 0; outline: 0; }
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 { color: #fff; background: #ced4da; }

div.uni-set { text-align: right; position: relative; display: inline-block; box-sizing: border-box; -moz-box-sizing: border-box; -webkit-box-sizing: border-box; }
div.uni-set ul { max-height: 200px; overflow-y: auto; border: 1px solid #ced4da; border-radius: 3px; background: #fff; margin: 0; text-align: left; padding: 0; list-style: none; cursor: pointer; }
div.uni-set ul li { list-style: none; padding: 6px 36px 6px 10px; margin: 0; position: relative; }
div.uni-set ul li.no-data { border: none; color: #495057; }
div.uni-set ul li.no-data a { display: block; width: 36px; height: 36px; position: absolute; right: 0; top: 0; }
div.uni-set ul li.no-data a:after { content: ''; display: block; width: 36px; height: 36px; position: absolute; left: 0; top: 0; background: url('/static/i2/rsmp/btn-dropdown.png') no-repeat center; }
div.uni-set ul li span { float: none!important; padding: 0!important; font-style: normal; font-family: "Open Sans", sans-serif; font-size: 16px; line-height: 24px; }
div.uni-set ul li a.uni-set-delete { display: block; width: 18px; height: 18px; position: absolute; right: 6px; top: 6px; background: url('/static/i2/rsmp/cross-small.png') no-repeat center; }
div.uni-set button { display: none; }

/* .uni-set-disabled */
div.uni-set-disabled { background: #c8dbe4!important; }
div.uni-set-disabled ul { background: #c8dbe4!important; border-color: #c8dbe4!important; cursor: default!important; }
div.uni-set-disabled ul li { background: #c8dbe4!important; color: #000!important; }
div.uni-set-disabled ul li.no-data { text-indent: -9999em; }
div.uni-set-disabled ul li.no-data a { display: none!important; }
div.uni-set-disabled ul li span { color: #999!important; }
div.uni-set-disabled ul li a.uni-set-delete { display: none!important; }
div.uni-set-disabled button { display: none!important; }
/* .uni-set-readonly same as .uni-set-disabled */
div.uni-set-readonly { background: #c8dbe4!important; }
div.uni-set-readonly ul { background: #c8dbe4!important; border-color: #c8dbe4!important; cursor: default!important; }
div.uni-set-readonly ul li { background: #c8dbe4!important; color: #000!important; }
div.uni-set-readonly ul li.no-data { text-indent: -9999em; }
div.uni-set-readonly ul li.no-data a { display: none!important; }
div.uni-set-readonly ul li span { color: #999!important; }
div.uni-set-readonly ul li a.uni-set-delete { display: none!important; }
div.uni-set-readonly button { display: none!important; }

.ontop { z-index: 1000; }

/* div.disabled */
div.disabled { background-color: #d9e4ec!important; border-color: #d9e4ec!important; color: #000!important; }
div.disabled div input { background-color: #d9e4ec!important; color: #000!important;border:none; }
div.disabled div textarea { background-color: #d9e4ec!important; color: #000!important; }
div.disabled div a { background: #d9e4ec!important; color: #000!important; cursor: default!important; }
div.disabled div input::-webkit-input-placeholder { color: #495057!important; }
div.disabled div input::-moz-placeholder          { color: #495057!important; }
div.disabled div input:-moz-placeholder           { color: #495057!important; }
div.disabled div input:-ms-input-placeholder      { color: #495057!important; }
/* div.readonly same as div.disabled */
div.readonly { background-color: #d9e4ec!important; border-color: #d9e4ec!important; color: #000!important; }
div.readonly div input { background-color: #d9e4ec!important; color: #000!important; }
div.readonly div textarea { background-color: #d9e4ec!important; color: #000!important; }
div.readonly div a { background: #d9e4ec!important; color: #000!important; cursor: default!important; }
div.readonly div input::-webkit-input-placeholder { color: #495057!important; }
div.readonly div input::-moz-placeholder          { color: #495057!important; }
div.readonly div input:-moz-placeholder           { color: #495057!important; }
div.readonly div input:-ms-input-placeholder      { color: #495057!important; }

div.input-static { min-height: 18px; background: #c8dbe4; border: 1px solid #ced4da; overflow: hidden; font-family: "Open Sans", sans-serif; color: #545454; padding: 3px 9px; }

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

a.checkbox { display: inline-block; min-height: 29px; padding: 0 2px 0 25px; background-image: url('/static/i2/rsmp/checkbox-off.png'); background-repeat: no-repeat; background-position: left 4px; text-decoration: none; color: #555; line-height: normal; font-family: "Open Sans", sans-serif; font-size: 16px; }
a.checkbox-off { background-image: url('/static/i2/rsmp/checkbox-off.png')!important; }
a.checkbox-on { background-image: url('/static/i2/rsmp/checkbox-on.png')!important; }
a.checkbox-part { background-image: url('/static/i2/rsmp/checkbox-part.png')!important; }
a.checkbox-disabled { background-image: url('/static/i2/rsmp/checkbox-disabled-off.png')!important; cursor: default; color: #bbb; }
a.checkbox-disabled-off { background-image: url('/static/i2/rsmp/checkbox-disabled-off.png')!important; cursor: default; color: #bbb; }
a.checkbox-disabled-on { background-image: url('/static/i2/rsmp/checkbox-disabled-on.png')!important; cursor: default; color: #bbb; }
a.checkbox-disabled-part { background-image: url('/static/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('/static/i2/rsmp/radio-off.png'); background-repeat: no-repeat; background-position: 14px 2px; text-decoration: none; color: #000; line-height: normal; }
a.radio-off { background-image: url('/static/i2/rsmp/radio-off.png')!important; }
a.radio-on { background-image: url('/static/i2/rsmp/radio-on.png')!important; }
a.radio-disabled { background-image: url('/static/i2/rsmp/radio-disabled-off.png')!important; cursor: default; color: #bbb; }
a.radio-disabled-off { background-image: url('/static/i2/rsmp/radio-disabled-off.png')!important; cursor: default; color: #bbb; }
a.radio-disabled-on { background-image: url('/static/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: "Open Sans", sans-serif; 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: "Open Sans", sans-serif; 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: 1px solid #ddd; 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; }

/* peace of sheet */
div.gamlet-period-selector { display: inline-block; }
div.gamlet-period-selector .gamlet-period-selector-data { display: none; }
div.gamlet-period-selector a { display: block; text-align: center; text-decoration: none; }
div.gamlet-period-selector a:hover { text-decoration: none; }

div.gamlet-period-selector ul.gamlet-period-selector-container-year { list-style: none; margin: 0; padding: 0; display: block; text-align: center; background-color: #fff; }
div.gamlet-period-selector ul.gamlet-period-selector-container-year li { display: inline-block; padding: 0; margin: 0; width: 100px; vertical-align: middle; }
div.gamlet-period-selector ul.gamlet-period-selector-container-year li a { line-height: 30px; font-size: 12px; }
div.gamlet-period-selector ul.gamlet-period-selector-container-year li.selected a { font-size: 20px; font-weight: bold; }

div.gamlet-period-selector ul.gamlet-period-selector-container-month { list-style: none; margin: 0; padding: 0; display: block; text-align: center; }
div.gamlet-period-selector ul.gamlet-period-selector-container-month li { display: inline-block; padding: 0; margin: 0; width: 30px; vertical-align: middle; }
div.gamlet-period-selector ul.gamlet-period-selector-container-month li a { color: #000; line-height: 25px; text-align: center; text-decoration: none; display: block; line-height: 25px; font-size: 14px; }
div.gamlet-period-selector ul.gamlet-period-selector-container-month li.disabled a { color: #ccc; cursor: default; }
div.gamlet-period-selector ul.gamlet-period-selector-container-month li.selected a { background-color: #ced4da; color: #fff; }
div.gamlet-period-selector ul.gamlet-period-selector-container-month {
    padding: 0 30px;
    border-top: 1px solid #e3e3e3;
    border-bottom: 1px solid #e3e3e3;
    background: #fbfbfb;
    background: -moz-linear-gradient(left, rgba(251,251,251,0) 0%, rgba(251,251,251,1) 20%, rgba(251,251,251,1) 80%, rgba(251,251,251,0) 100%);
    background: -webkit-linear-gradient(left, rgba(251,251,251,0) 0%, rgba(251,251,251,1) 20%, rgba(251,251,251,1) 80%, rgba(251,251,251,0) 100%);
    background: -o-linear-gradient(left, rgba(251,251,251,0) 0%, rgba(251,251,251,1) 20%, rgba(251,251,251,1) 80%, rgba(251,251,251,0) 100%);
    background: -ms-linear-gradient(left, rgba(251,251,251,0) 0%, rgba(251,251,251,1) 20%, rgba(251,251,251,1) 80%, rgba(251,251,251,0) 100%);
    background: linear-gradient(left, rgba(251,251,251,0) 0%, rgba(251,251,251,1) 20%, rgba(251,251,251,1) 80%, rgba(251,251,251,0) 100%);
}

.pane div.gamlet-period-selector ul.gamlet-period-selector-container-year { background-color: transparent; }
.pane div.gamlet-period-selector ul.gamlet-period-selector-container-month {
    padding: 0 30px;
    border-top: 1px solid #e3e3e3;
    border-bottom: 1px solid #e3e3e3;
    background: #ffffff;
    background: -moz-linear-gradient(left, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 20%, rgba(255,255,255,1) 80%, rgba(255,255,255,0) 100%);
    background: -webkit-linear-gradient(left, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 20%, rgba(255,255,255,1) 80%, rgba(255,255,255,0) 100%);
    background: -o-linear-gradient(left, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 20%, rgba(255,255,255,1) 80%, rgba(255,255,255,0) 100%);
    background: -ms-linear-gradient(left, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 20%, rgba(255,255,255,1) 80%, rgba(255,255,255,0) 100%);
    background: linear-gradient(left, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 20%, rgba(255,255,255,1) 80%, rgba(255,255,255,0) 100%);
}
