/******************RESET******************/

/* Eric Meyer's Reset CSS v2.0 - http://cssreset.com */
html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{border:none;font-size:100%;font:inherit;vertical-align:baseline;margin:0;padding:0}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}body{line-height:1}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:before,blockquote:after,q:before,q:after{content:none}table{border-collapse:collapse;border-spacing:0}button,input{border:none;outline:none;font:inherit;background:none}

/*@import url(https://fonts.googleapis.com/css?family=Roboto:400,100&subset=latin,cyrillic-ext);*/
/* latin */
@import url(fonts/DejaVuSans-ExtraLight.ttf);

/*@import url(https://fonts.googleapis.com/css?family=Quicksand:400,100);*/
/******************DEFAULTS******************/
a:focus{
    color: inherit;
    text-decoration: inherit;
}
a:focus:not(:hover), button:focus:not(:hover){
    /*outline: 2px dotted #708916;*/
}
html{
    height: 100%;
}
body{
    padding-top: 41px;
    font-size: 14px;
    font-family:  Roboto, Helvetica, Verdana, Segoe UI, sans-serif;
    color: #5b5b5b;
    /*color: #454545;*/
    min-height: 100%;
}
body.loading * {
    cursor: progress!important;
}
h1{font-size: 1.6em;}
h2{font-size: 1.4em;}
h3{font-size: 1.3em;}
h4{font-size: 1.2em;}
strong{font-weight: bold;}
a{color: inherit; cursor: pointer;}
a:hover{text-decoration: none; color: inherit}
textarea{
    border: none;
    resize: vertical;
}
select{
    border: none;
}
/******************HELPERS******************/
/*clear fix*/
.cf:after{
    content: '';
    display: table;
    clear: both;
}
.cl-b{
    clear: both;
}
.btn{
    display: inline-block;
    position: relative;
    vertical-align: baseline;
    cursor: pointer;
}
.ico{
    position: absolute;
    display: block;
    overflow: hidden;
    background: transparent url('img/sprite.css');
}

/*positioned at center*/
[class*=cc-]{
    top:  50%;
    left: 50%;
    -webkit-transform: translate(-50%,-50%);
    -moz-transform: translate(-50%,-50%);
    -ms-transform: translate(-50%,-50%);
    -o-transform: translate(-50%,-50%);
    transform: translate(-50%,-50%);
}
/*of the screen*/
.cc-fixed{
    position: fixed;
}
/*of the first non static parent*/
.cc-abs{
    position: absolute;
}
/*box-sizing*/
.bsz-bb, .bsz-bb-all, .bsz-bb-all *{
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -o-box-sizing: border-box;
    -ms-box-sizing: border-box;
}
.bsz-cb, .bsz-cb-all, .bsz-cb-all *{
    box-sizing: content-box;
    -webkit-box-sizing: content-box;
    -moz-box-sizing: content-box;
    -o-box-sizing: content-box;
    -ms-box-sizing: content-box;

}
.tbar-f, .tbar-r, .tbar-a{top: 0;left: 0;right: 0;}
.bbar-f, .bbar-r, .bbar-a{bottom: 0;left: 0;right: 0;}
.lbar-f, .lbar-r, .lbar-a{top: 0px;left: 0px;bottom: 0px; right: auto;}
.rbar-f, .rbar-r, .rbar-a{top: 0px;right: 0px;bottom: 0px; left: auto;}
.tbar-f, .bbar-f, .lbar-f, .rbar-f, .ps-f{position: fixed;}
.tbar-r, .bbar-r, .lbar-r, .rbar-r, .ps-r{position: relative;}
.tbar-a, .bbar-a, .lbar-a, .rbar-a, .ps-a{position: absolute;}
.frame{
    overflow: auto;
    width: 100%;
    height: 100%;
}
.wrap{
    width: 100%;
    height: 100%;
    overflow: hidden;
}
.wrap:after{
    content: '';
    display: table;
    clear: both;
}
.ov-h{
    overflow: hidden;
}
.tbar-header, .bbar-header{
    float: left;
    height: 100%;
    padding: 0 10px;
}
.tbar-nav, .bbar-nav{
    float: right;
    height: 100%;
    padding: 0 10px;
}
.fl-l{float: left;}
.fl-r{float: right;}
.fl-n{float: none;}
.cl-l{clear: left;}
.cl-r{clear: right;}
.cl-n{clear: none;}
.cl-b{clear: both;}
.show{visibility: visible;display: block;}
.hide{visibility: hidden; display: none;}
.cur-p{cursor: pointer;}
.cur-d{cursor: default;}
.col-gut{
    padding: 20px;
}
.transition{
    -webkit-transition: 0.3s ease;
    -moz-transition:    0.3s ease;
    -ms-transition:     0.3s ease;
    -o-transition:      0.3s ease;
    transition:         0.3s ease;
}
.fullscreen{
    position: fixed!important;
    top:        0!important;
    left:       0!important;
    right:      0!important;
    height:  100%!important;
    z-index: 9999999!important;
}
.text-center{text-align: center}
/*****************LOCAL HELPERS*****************/
.tile{background: #fff; padding: 10px; color: #454545; padding-top: 35px;}
.gut-r{border-right:    9.27px solid transparent;}
.gut-l{border-left:     9.27px solid transparent;}
.gut-t{border-top:      9.27px solid transparent;}
.gut-b{border-bottom:   9.27px solid transparent;}
[class*=gut-]{
    /*border-color: #eee;*/
    background-clip: padding-box;
}
.tile-xs{height: 80px;}
.tile-sm{height: 160px;}
.tile-md{height: 240px;}
.tile-lg{height: 320px;}
.tile-xl{height: 400px;}
.tile-xxl{height: 720px;}
[class*=col-]{
    margin-bottom: 9.27px;
}
.row{
    margin-bottom: 5.73px;
}
.inp{
    width: 100%;
    height: 100%;
}
/*lockable inputs*/
.lock-wrap{
    position: relative;
}
.lockable{
    display: block;
    padding: 0 10px;
    width: 100%;
    height: 100%;
}
.lock-label{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
    border: 3px solid #4BBAB1;
    display: none;
    opacity: 0;
  -webkit-user-select: none;  /* Chrome all / Safari all */
  -moz-user-select: none;     /* Firefox all */
  -ms-user-select: none;      /* IE 10+ */
}
.lockable + .lock-label:before{
    content: '';
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    border-top: 17px solid transparent;
    border-color: inherit;
    border-left: 27px solid transparent;
}
.lockable + .lock-label:after{
    content: '\2713';
    position: absolute;
    top: -2px;
    right: -2px;
    color: #fff;
    display: block;
    font-size: 30px;
    -webkit-transform: scale(0.5, 0.5) translate(16px, -16px);
    -moz-transform: scale(0.5, 0.5) translate(16px, -16px);
    -ms-transform: scale(0.5, 0.5) translate(16px, -16px);
    -o-transform: scale(0.5, 0.5) translate(16px, -16px);
    transform: scale(0.5, 0.5) translate(16px, -16px);
}
[disabled].lockable + .lock-label{
    display: block;
}
[disabled].lockable + .lock-label.clicked{
    opacity: 1;
}
.btn-default{
    border: 1px solid transparent;
    /*background: #efefef;*/
    color: #777;
}
.btn-default:hover{
    background: #ededed;
    border-color: #bbb;
}
.btn-light{background: #eee;color: #777;}
.btn-light:hover{background: #e1e1e1;}
.btn-success{
    background: #67AAA5;
}
.btn-success:hover{
    background: #75A075;
    color: #fff;
}
.btn-warning{
    background: #EBCE84;
}
.btn-warning:hover{
    background: #E7C262;
    color: #fff;
}
.btn-danger{
    background: #F58F8F;
}
.btn-danger:hover{
    background: #E76262;
    color: #fff;
}
.tab{
    display: none;
}
.tab-radio{
    display: none;
}
.tab-radio:checked + .tab-label + .tab{
    display: block!important;
}
/*****************STYLES*****************/


body{
    padding: 51px 0 50px 60px;
    min-width: 360px;
}
.shownav #main-header,
.shownav #page-content{
    -webkit-transform:  translateX(90px) translateZ(0);
    -moz-transform:     translateX(90px) translateZ(0);
    -ms-transform:      translateX(90px) translateZ(0);
    -o-transform:       translateX(90px) translateZ(0);
    transform:          translateX(90px) translateZ(0);
}
/*HEADER*/
#main-header{
    height: 51px;
    left: 60px;
    border-bottom: 1px solid transparent;
    z-index: 10;
}
#logo{
    line-height: 50px;
    color: #107065;
    font-size: 1em;
    width: auto;
    text-align: center;
    font-weight: bold;
    padding: 0 20px;
}
.usr-btn{
    display: block;
    height: 50px;
    line-height: 50px;
    padding: 0 5px 0 5px;
}
.usr-btn:hover{
    background: #eee;
}
.usr-opt-menu{
    position: absolute;
    top: 100%;
    right: 10px;
    background: #fff;
    display: none;
    border: 1px solid #aaa;
    margin-top: 12px;
}
.usr-opt-menu:before,
.usr-opt-menu:after{
    content: '';
    display: block;
    position: absolute;
    top: -10px;
    right: 20px;
    border: 8px solid transparent;
    border-top: none;
    border-bottom: 10px solid #aaa;
}
.usr-opt-menu:after{
    border: 6px solid transparent;
    border-top: none;
    border-bottom: 8px solid #FFF;
    right: 22px;
    top: -8px;
}
.usr-opt{
    display: block;
    width: 100%;
    line-height: 30px;
    padding: 0 10px;
    white-space: nowrap;
    color: #555;
}
.usr-opt:hover{
    background: #489194;
    color:#fff;
}




/*NAVIGATION BAR*/
#aside{
    width: 150px;
    padding-top: 51px;
    padding-bottom: 51px;
    z-index: 0;
}
#nav{

}
.nav-items{
    width: 100%;
}
.nav-item{
    display: block;
    white-space: nowrap;
    color: #08474e;
    border-bottom: 1px solid transparent;
    line-height: 50px;
    position: relative;
}
.nav-item.selected{
    color: #fff;
}
.nav-btn:hover{
    background: rgba(255,255,255,0.1);
}
.nav-btn{
    display: block;
    width: 100%;
    height: 50px;
    line-height: inherit;
}
.nav-btn i{
    display: block;
    float: left;
    font-size: 24px;
    padding: 0 13px;
    width: 60px;
    text-align: center;
    line-height: inherit;
}
.nav-btn i.secondary{
    position: absolute;
    left: 9px;
    top: 9px;
    font-size: 20px;
}
.nav-btn-label{
    display: block;
    line-height: inherit;
    color: #eee;
}
#toggle-nav{
    position: absolute;
    height: 51px;
    line-height: 50px;
}
.nav-item:hover > .nav-items.dd-menu{
    height: auto;
}
.nav-btn.dd-handler:after{
    content: '';
    display: block;
    position: absolute;
    right: 15px;
    top: 50%;
    border: 6px solid transparent;
    margin-top: -3px;
    border-bottom: none;
    border-top-color: #305D4D;
}
.nav-items.dd-menu{
    display: none;
    overflow: hidden;
}
.nav-items.dd-menu .nav-btn{
    line-height: 30px;
    height: 30px;
    position: relative;
    padding-left: 60px;
}
.nav-items.dd-menu .nav-btn:before{
    content: '';
    display: block;
    position: absolute;
    border: 1px solid #305D4D;
    height: 6px;
    width: 6px;
    border-radius: 50%;
    top: 50%;
    margin-top: -3px;
    left: 46px;
}
/*end of navigation*/



/*CONTENT SECTION*/
#page-content{
    min-height: 405px;
    min-width: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    background: #eee;
    z-index: 9;
    /*padding: 30px 40px;*/
    padding: 30px 10px 0 10px;
}

/*page header*/
.page-header h1{
    line-height: 50px;
    font-size: 2.6em;
    font-weight: lighter;
    padding: 30px 15px 0px 15px;
}





[class*=form-group]{
    position: relative;
    width: 100%;
    /*max-width: 450px;*/
    padding: 5px;
}
.form-group-half{
    width: 50%;
    float: left;
}
[class*=form-group].with-cnt{
    padding-right: 30px;
}
[class*=form-group] > label:not([class*="cs-"]){
    display: block;
    position: absolute;
    top: 0px;
    left: 0;
    width: 100px;
    height: 30px;
    color: transparent;
}
.text-inp{
    display: block;
    width: 100%;
    /*max-width: 450px;*/
}

.pseudo-label{
    position: relative;
    padding-left: 100px;
}
.pseudo-label:before{
    content: attr(title) ':';
    display: block;
    position: absolute;
    top: 6px;
    left: 0;
    width: auto;
    color: #909090;
}
.half-w{width: 50%;}
.half-h{height: 50%;}
.half-w-h{width: 50%;height: 50%;}
/****************SECTIONS****************/
.tile .tbar-a{
    padding: 8px 10px;
    margin-bottom: 10px;
}
.tile-label{
    padding: 0px 0px 8px 0px;
    color: #2baea8;
    text-transform: uppercase;
    font-size: 1.2em;
}
.tile-icon{
    position: absolute;
    display: block;
    right: 10px;
    bottom: 10px;
    z-index: 0;
    font-size: 2.2em;
    color: #2baea8;
}
.with-cnt{
    padding-right: 30px;
}
.with-cnt:after{
    content: '' attr(data-cnt) '';
    position: absolute;
    top: 7px;
    width: auto;
    text-align: right;
    right: 5px;
    padding: 2px 2px 0 2px;
    background: #ECDC99;
    /*line-height: 15px;*/
    font-size: 0.9em;
    text-align: center;
    min-width: 17px;
}
.with-cnt.cnt-valid:after{
    background: #62ca86;
}
/*client select*/
#client-select-box{
}
.form-group-client{
    /*padding: 5px 40px 0px 0px;*/
    width: 100%;
}
#client-inp{
    display: block;
    height: 100%;
    width: 100%;
    max-width: 100%;
}
.order-date-num{
    padding-top: 10px;
}
.o-d-n{
    line-height: 28px;
}
.o-d-n-in{
    width: 50px;
}
#date-id{
    padding: 8px 10px;
    margin-bottom: 10px;
}
#date-id [class*="form-group"]{
    padding-left: 50px!important;
    padding-right: 0!important;
}
/*invoice tile*/

#go-top{
    display: none;
    bottom: 0px;
    left: 0;
    line-height: 50px;
    width: 60px;
    z-index: 11;
}
#invoice-additional [class*=form-group]{
    /*padding-left: 160px;*/
}
#payway{
    margin-top: -30px;
}
[class*=form-group-] select{
    width: 100%;
    height: 23px;
    border: 1px solid #2baea8;
}
.cs-check{
    display: none;
}
.cs-check-label{
    cursor: pointer;
    position: relative;
    display: block;
    border: 1px solid #2baea8;
    height: 20px;
    width: 20px;
    border-radius: 3px;
    display: block!important;
}
.cs-check-label:hover{
    box-shadow: 0 0 2px #2baea8;
}
.cs-check:checked + .cs-check-label{
    border-color: #2baea8;
}
.cs-check:checked + .cs-check-label:after{
    content: '';
    display: block;
    position: absolute;
    top: -1px;
    right: 4px;
    height: 16px;
    width: 10px;
    border-radius: 0 5px 2px 5px;
    border-right: 5px solid #2baea8;
    border-bottom: 5px solid #2baea8;
    -webkit-transform:  rotate(35deg);
    -moz-transform:     rotate(35deg);
    -ms-transform:      rotate(35deg);
    -o-transform:       rotate(35deg);
    transform:          rotate(35deg);
}

/*QUERYES TABLE*/
.query-data .tile{
    /*padding: 35px 0;*/
}
.table{
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    margin-bottom: 20px;
    min-width: 100%;
}
.table .inp{
    border-color: transparent!important;
}
.table tr{
    position: relative;
}
.has-counter  tr{
    counter-increment: tr-cnt;
}
.table tbody > tr:nth-of-type(2n+1){
    background: #eee;
}
[list],[type="number"]{
    min-width: 70px;
}
.table-inp-wrap{
    padding: 2px 0px;
    height: 100%;
}
.table-inp-wrap .inp{
    background: #fff;
}
.query-table .inp{
    text-align: center;
}
.query-table .tclmn-1 .inp{
    text-align: left;
    min-width: 330px;
}
.query-table .tclmn-4{
    min-width: 100px;
}
/*.table-inp-wrap .lockable,*/ .table-inp-wrap .inp:focus{
    box-shadow: 0 0 2px #2baea8;
}
.table-inp-wrap [disabled].lockable{
    box-shadow: none;
    background: none;
}
.has-counter tr td:first-of-type:before{
    content: counter(tr-cnt);
    display: block;
    width: 30px;
    text-align: center;
}
.table [class*="tclmn-"]{
    text-align: center;
    vertical-align: middle;
}
.query-table [class*="tclmn-"]:nth-of-type(2){
    text-align: left;
}
.table th{
    height: 56.24px;
}
.table td{
    height: 34px;
    vertical-align: middle;
}
.table th, .table td{
    padding: 0 5px;
}
.query-table th, .query-table th{
    padding: 0 10px 0 0;
}
.query-table th.tclmn-1{
    padding-left: 10px;
}
.query-table .tclmn-0{
    padding-left:10px;
    position: relative;
}
.query-table .tclmn-1{
    width: 65%;
}
.query-table .tclmn-5,.tclmn-4{
    padding-right: 5px;
}
.row-btn{
    position: relative;
    display: block;
    height: 30px;
    width: 30px;
    line-height: 30px;
    text-align: center;
    z-index: 333;
}
.row-btn .fa{
    background: #fff;
    padding: 4px 5px;
    font-size: 12px;
    border-radius: 50%;

}
.add-row-btn{
    display: none;
}
.query-table tr:hover td.tclmn-0:before{
    display: none;
}
.query-table tr:hover td.tclmn-0 .add-row-btn{
    display: block;
}
.table tbody tr:nth-of-type(2n)   .row-btn:not(:hover) .fa{
    background: #eee;
}
.row-btn:hover .fa{
    background: #2baea8;
    color: #fff;
}
.print-order{
    height: 40px;
    line-height: 38px;
    padding: 0 10px;
}
#query-overview{
    position: relative;
    height: auto;
    background: #489194;
    border-color: #489194;
    float: right;
    color: #fff;
    margin-bottom: 10px;
}
#query-overview:before{
    content: '';
    display: block;
    position: absolute;
    border: 10px solid transparent;
    border-top: none;
    border-bottom-color: inherit;
    left: 50%;
    top: -10px;
    margin-left: -10px;
}
#total-price{
    font-size: 2.5em;
    text-align: center;
    padding: 10px;
    padding-bottom: 5px;
    float: left;
}
#total-price:after{
    content: ' лв.';
    font-size: 0.6em;
}
#total-price[data-msr]:after{
    content: ' ' attr(data-msr);
}
#query-vat{
    position: relative;
    float: right;
    padding: 22px 10px 0 5px;
}
/*#query-vat:before{
    content: 'лв.';
    display: block;
    position: absolute;
    top: 0;
    left: 8px;
    width: 100%;
    line-height: 28px;
}*/
#query-vat-check{
    margin: 0 auto;
    height: 20px;
    width: 45px;
}
#query-vat-check:before{
    content: 'ддс:';
    display: block;
    width: 100%;
    /* text-align: center; */
    padding-top: 4px;
    /* font-weight: bold; */
    height: 25px;
    line-height: 8px;
    font-size: 0.8em;
    color: darkgrey;
    margin-left: 2px;
}
.query-btn-save{
    display: block;
    height: 40px;
    width: 100%;
    clear: both;
    margin: 5px 0 0 0;
    line-height: 36px;
    text-align: center;
    border-top: 3px solid #fff;
}
.query-btn-refuse{
    height: 100%;
    width: 30px;
    position: absolute;
    right: -33px;
    top: 0px;
    line-height: 90px;
    text-align: center;
    color: #fff;
height: 20px;
width: 100px;
position: absolute;
right: 16px;
top: -20px;
line-height: 20px;
text-align: center;
color: #fff;
}
.client-btns{
    height: 30px;
    padding-right: 166px;
    color: #fff;
}
.client-btn{
    display: block;
    height: 30px;
    line-height: 30px;
    text-align: center;
    /*color: #FFF;*/
}
.client-del-btn, .client-clear-btn{width: 80px;}
.client-clear-btn{right: 83px;}
.no-labels .client-clear-btn{right: 33px;}
.no-labels .client-del-btn,.no-labels  .client-clear-btn{width: 30px;}
.small-btns .client-btn, .small-btns{height: 20px;line-height: 20px;font-size:12px;}
#bckp-btns .client-btn:first-child{text-align: left;white-space: nowrap;}
/*INVENTORY PAGE*/
.deliver.tab-label,
.revision.tab-label{
    height: 40px;
    text-align: center;
    line-height: 22px;
    background: #fffad2;
    cursor: pointer;
}
.tab-radio:checked + .tab-label,
.tab-label.selected{
    background: #fff;
}
.ref-table .inp{
    background: inherit;
    text-align: center
}
.ref-table .tclmn-1{
    text-align: left;
}
.toqSaitMnoooSmotan:after{
    content: '+ддс';
    display: inline;
    font-size: 0.6em;
    color: green;
}
/*REF ORDERS*/
.tclmn-btn{
    width: 30px;
}
.ref-table{
    text-align: center;
    overflow: hidden;
}
.ref-link{
    display: block;
    position: absolute;
    top: 0;
    left: 0px;
    height: 100%;
    width: 20000px;
    z-index: 1;
    opacity: 0.3;
    cursor: pointer;
}
.ref-tr:hover{
    background: #d8e7d3!important;
}
.ref-table td{
    padding-top: 5px;
    padding-bottom: 5px;
    position: relative;
}
tr.nullified{
    background: #FFBCBC!important;
}
tr.nullified:hover{
    background: #FAA6A6!important;
}
tr.nullified .nullify-btn{
    display: none;
}
.backup-btn{
    color: #2baea8;
    margin-top: 4px;
    padding: 2px 0px;
    display: block;
}
.backup-btn:hover{
    text-decoration: underline;
}

/*MAIN FOOTER*/
#main-footer{
    height: 50px;
    line-height: 50px;
    color: #88BE9C;
    font-size: 0.8em;
    padding: 0 80px;
}
.tile.login{
    width: 300px;
    height: 120px;
    border-radius: 10px;
    box-shadow: 0px 0px 20px  rgba(0, 0, 0, 0.5);
    padding: 60px 20px 0 20px;
}
.tbar-a.login{
    background: #eee;
    text-align: center;
    padding: 10px 0 0 0;
}
.form.login{
    display: block;
    height: 30px;
    width: 100%;
    padding-right: 30px;
}
.inp.login{
    width: 100%;
    border: 1px solid #2baea8!important;
    height: 100%!important;
    background: #fafafa;
    box-shadow: none!important;
    padding: 0 5px;
}
.btn.login{
    height: 100%;
    color: #fff;
    width: 30px;
    font-size: 1.3em;
    line-height: 30px;
}
/*AUTOCOMPLETE*/
.ac-box{
    position: absolute;
    display: none;
    overflow-x: hidden;
    overflow-y: auto;
    max-height: 300px;
    color: #2baea8;
    z-index: 9999999;
    left: 0;
    top: 100%;
    background: #fff;
    min-width: 300px;
    box-shadow: 0 -1px #2baea8 inset;
    border-right: 1px solid #2baea8;
    border-left: 1px solid #2baea8;
}
.ac-box li{
    padding: 0 2px;
}
.ac-box li:first-of-type{
    border-top: 1px solid #eee;
}
.ac-box li:last-of-type{
    border-bottom: 1px solid #2baea8;
}
.ac-box .selected{
    background: #2baea8;
    color: #fff;
}
.ac-box li:hover:not(.selected){
    background: #eee;
    cursor: pointer;
}
.ac-box a{
    display: block;
    word-break: normal;
    white-space: nowrap;
    line-height: 25px;
    width: 100%;
    overflow: hidden;
}
    body{
        /*background: rgb(65,152,118)!important;*/
        overflow-y: auto!important;
        overflow-x: hidden!important;
        height: auto!important;
    }
    #main-header, #aside, #main-footer{
        position: absolute!important;
    }
@media all and (max-width: 1200px){
    #go-top{
        display: block;
    }

    #dds-num{
        max-width: 60%;
    }
    #id-num{
        max-width: 40%;
        padding-left: 20px;
    }

    td, th{
        padding-right: 5px;
    }

}
@media all and (max-width: 780px){
    #dds-num{
        max-width: 100%;
    }
    #id-num{
        max-width: 100%;
        padding-left: 100px;
    }
    #page-content{
        padding: 15px 0 0 0;
    }
    /*fix tiles*/
    .tile.gut-r,
    .tile.gut-l{
        border: none;
    }
    .tile{
        width: 100%!important;
    }
    .tile .frame{
        max-height: 100%;
        padding: 3px 0;
        height: auto;
    }
    [class*=tile-]{
        height: auto!important;
    }
    .tile-hide{
        display: none;
    }
    .frame{
        height: auto;
    }
}
@media all and (max-width: 600px){
    body{
        padding-left: 0;
    }
    #logo{
        font-size: 0.6em;
    }
    .shownav #page-content{
        -webkit-transform:  translateX(150px) translateZ(0);
        -moz-transform:     translateX(150px) translateZ(0);
        -ms-transform:      translateX(150px) translateZ(0);
        -o-transform:       translateX(150px) translateZ(0);
        transform:          translateX(150px) translateZ(0);
    }
}
@media all and (max-width: 360px){
    body{
        overflow: auto!important;
        min-width: 360px;
    }
    #logo{
        max-width: 150px;
        overflow: hidden;
        text-align: left;
    }
}
@media print{
    body{
        padding: 0;
        font-size: 11px!important;
    }
    .page-header h1{
        padding-left: 25px;
    }
    .noprint{
        display: none!important;
    }
    [class*=gut-]{
        border-color: transparent;
    }
    textarea{
        resize: none;
    }
    .print-newpage{
        page-break-before: always;
    }
    tbody > tr{
        border-top: 1px solid #eee;
    }
    #query-overview:before{
        display: none!important;
    }
}

.conf-box{
    width: 90%;
    min-height: 130px;
    max-height: 200px;
    max-width: 300px;
    padding: 30px 0;
    box-shadow: 0 0 20px 2px #959595;
    z-index: 100000;
    background: #fff;
    display: none;
}
.conf-box [class*=bar-a]{
    height: 30px;
    line-height: 24px;
    padding: 3px 0px;
    background: #eee;
    padding-left: 10px;
}
.conf-title{
    background: #eee;
    color: #343434;
    background: #67AAA5!important;
    color:#fff;
    font-size: 1em;
    text-shadow: 0 0 1px rgba(0,0,0,0.6), 0 0 1px rgba(0,0,0,0.6);
}
.conf-msg{
    padding: 10px;
}
.conf-x{
    position: absolute;
    top: 5px;
    right: 5px;
    border-radius: 50%;
    line-height: 20px;
    width: 20px;
    text-align: center;
    background: #67AAA5;
    color: #fff;
}
.conf-x:hover{
    color: #777;
    background: #fff;
}
[class*=conf-btn]{
    margin-right: 3px;
    height: 100%;
    line-height: 20px;
    color: #fff;
    width: 30%;
}
.alert .conf-btn-action,
.alert .conf-btn-no{
    display: none;
}
.conf-btn-ok{
    display: none;
}
.alert .conf-btn-ok{
    display: block;
}
