#taskbar{
    position: fixed;
    bottom: 1px;
    /*left: 1px;
    right: 1px;*/
    z-index: 9999;
}

ul.ui-autocomplete{
    z-index:1100!important;
}

.modal-body .oe_form_sidebar{
    padding:5px;
}

.modal-backdrop{
    display:none;
}

/*.modal-content{
    max-height: 760px;
    height: 760px;
}*/

.minimized .modal-content{
    height: 70px;
}

.modal-content > .modal-body{
    overflow-y: scroll;
    /*max-height: 650px;
    height: 650px;*/
}

/*.modal{
    max-width:1240px;
}
.modal-lg{
    max-width: 1200px;
}*/
.modal-open .modal{
    overflow-y: hidden!important;
}

.modal .modal-header button.minim, .modal .modal-header button.maxim {
    border: none;
    background: none;
    padding: 1px;
    height: 18px;
    font-size: 20px;
}
.maxim{
    margin-top: -2px!important;
}

.minim, .maxim{
    float: right;
    font-size: 21px;
    font-weight: bold;
    line-height: 1;
    color: #000;
    text-shadow: 0 1px 0 #fff;
    filter: alpha(opacity=20);
    opacity: .2;
}
.minim:hover, .maxim:hover{
    text-decoration: none;
    cursor: pointer;
    opacity: .5;
}

.modal.in.ui-draggable.minimized, .modal-dialog.modal-lg.minimized{
    width: 200px!important;
    height: 90px!important;
    display: block!important;;
    margin: 1px!important;;
    padding: 0!important;;
    float: left!important;;
    position: static!important;
    overflow: hidden!important;
}
.modal-content.minimized, .modal-header.minimized{
    width: 200px!important;
    height: 70px!important;
    position: static!important;
    overflow: hidden!important;
    opacity: 1!important;
}


.modal-dialog .minimized{
    width:180px!important;
    margin: 0;
}
.minimized .modal-content{
    overflow-y: hidden!important;
}
