.engine{
    margin-bottom: 20px;
}
.engine-list{
    min-width: 100%;
    width: auto;
    display: table !important;
    margin-bottom: 3px;
 /*   table-layout: fixed;*/
}
.engine-list th, .engine-list td{
    /*white-space:nowrap;*/
}
.engine-column:hover{
    text-decoration: underline;
    cursor: pointer;
}
.engine-header{
    border-bottom: 1px solid #E5E5E5;
}
.engine-top-actions{
    padding: 5px 0;
}
.engine-container{
    position: relative;
}
.engine-list-container{
    overflow-x: auto;
    clear: both;
}

.engine-nav{
    padding: 15px 10px 5px;
}
.engine-nav > *{
    vertical-align: top;
    margin-top: 0;
    margin-bottom: 0;
}
td.engine-actions{
    text-align: right;
    white-space:nowrap;
}
.engine-actions a{
    vertical-align: top;
}
.engine .engine-list .engine-row:hover td.engine-actions-fixed{
    position: absolute;
    right: 0;
    border-left: none;
    margin-top: -1px;
}

.engine-overlay{
    /*display: none;*/
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    background: #fff 50% 50% no-repeat url(loading.gif);
    opacity: 0.5;
    width: 100%;
}
.engine-num{
    color: #bbb;
    width: 10px;
}
.engine-benchmark{
    margin: 5px;
    font-size: 10px;
    line-height: 1.2;
    float: right;
    color: #999;
}
.engine-benchmark span {
    margin: 0 5px;
}
table.engine-details.table td input,table.engine-details.table td select,table.engine-details.table td textarea{
    margin-bottom: 0;
}
.engine .tab-content{
    padding: 8px;
    border: 1px solid #DDDDDD;
    border-top: 0;
}
/*.engine .engine-remove-file{
    vertical-align: bottom;
    margin-left: 5px;
}*/
.engine .engine-file-container.error{
    border: 1px solid #E20101;
    background-color: #FFE4E4;
    padding-left: 5px;
}
.engine .engine-file-container{
    font-size: 14px;
    line-height: 30px;
}
.engine .engine-file-container img{
    max-width: 99%;
    vertical-align: bottom;
}
.engine-add-file{
    /*margin-top: 5px;*/
    position: relative;
    overflow: hidden;
}
input.engine-upload{
    cursor: pointer;
    direction: ltr;
    font-size: 100%;
    margin: 0;
    opacity: 0;
    position: absolute;
    right: 0;
    top: 0;
    transform: translate(-300px, 0px) scale(4);
    -webkit-transform: translate(-300px, 0px) scale(4);
    filter:progid:DXImageTransform.Microsoft.Alpha(opacity=0);
}

.engine .engine-list td.engine-sum{
    font-weight: bold;
}

/* column styles */
.engine-list td.align-left{
    text-align: left
}
.engine-list td.align-right{
    text-align: right;
}
.engine-list td.align-center{
    text-align: center;
}
.engine-list td.font-bold{
    font-weight: bold;
}
.engine-list td.font-italic{
    font-style: italic;
}
.engine-list td.text-underline{
    text-decoration: underline;
}
.engine .engine-list td .btn{
    margin-top: -4px;
    margin-bottom: -4px;
}

.engine-th th{
    background: #efefef;  
    white-space: nowrap;
}

.engine .engine-daterange{
    width: 80px;
}
.engine-googlemap img{
    max-width: inherit;
}
.engine-search input,.engine-search select{
    width: 10%;
    margin: 0 5px 0 0;
    vertical-align: top;
    min-width: 120px;
}

.engine .btn-group{
    white-space: nowrap;
}
.engine .btn-group .btn{
    float: none !important;
}
.engine-upload-container img{
    display: block;
    max-width: 700px;
    clear: both;
    margin-bottom: 5px;
}

ul.engine-map-dropdown{
    list-style: none;
    margin: 0;
    padding: 0;
    background: #fff;
    border-radius: 2px;
    box-shadow: 1px 2px 2px rgba(0,0,0,0.3);
    position: absolute;
    z-index: 5;
}
ul.engine-map-dropdown li{
    margin: 0;
    padding: 3px 10px;
    cursor: pointer;
}
ul.engine-map-dropdown li:hover{
    background: #f4f4f4;
}
input.engine-inline{
    display: inline-block;
    width: 40%;
    margin-right: 10px;
}
.engine-map{
    border: 1px solid #CCCCCC;
    border-radius: 4px;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset;
    margin: 10px 0;
}
/*.engine-radio-label,.engine-checkboxes-label{
    display: block;
}
.engine-radio-label input,.engine-checkboxes-label input{
    margin-right: 7px;
}*/

.engine .validation-error{
    box-shadow: 0 0 1px red, 0 0 3px red !important;
    background: #FFEBEB !important;
}
th.engine-actions{
    width: 40px;
}
a.engine_modal{
    text-decoration: none;
    color: inherit;
}

/*.engine-view table tr td:first-child{
    width: 30%;
}*/
/*td.details-label{
    width: 30%;
}*/


/* messages */
.engine-message{
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    font-size: 15px;
    padding: 10px 20px;
    box-shadow: inset 0 -1px 0 rgba(0,0,0,0.05),inset 0 1px 0 rgba(0,0,0,0.05);
    display: none;
    text-shadow: 0 1px 0 rgba(0,0,0,0.4);
    color: #fff;
    color: rgba(255,255,255,0.90);
    cursor: pointer;
    z-index: 500;
}
.engine-message.success{
    background: #5AB95F;
    border-top: 1px solid #8A1414;
    border-bottom: 1px solid #8A1414;
}
.engine-message.error{
    background: #D05C5C;
    border-top: 1px solid #931C1C;
    border-bottom: 1px solid #931C1C;
}
.engine-message.info{
    background: #6CC3C6;
    border-top: 1px solid #127B7C;
    border-bottom: 1px solid #127B7C;
}
.engine-message.note{
    background: #DDB75D;
    border-top: 1px solid #A66E13;
    border-bottom: 1px solid #A66E13;
}
.engine-toggle-show{
    float: right;
    font-size: 13px;
    font-weight: bold;
    line-height: inherit;
    margin: 8px;
    cursor: pointer;
}
h2{
    border-bottom: 1px solid #ddd;
}
.engine-main-tab{
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 8px 15px 6px;
    margin: 0 2px;
    font-size: 20px;
}

#engine-modal-window .modal-body > span > img{
    display: block;
    width: 100%;
}

/* RTL */
.engine.engine_rtl{
    direction: rtl;
}
.engine.engine_rtl .engine-list .engine-row:hover td.engine-actions-fixed{
    right: auto;
    left: 1px;
}
.engine.engine_rtl .engine-toggle-show{
    float: left;
}
.engine.engine_rtl .engine-button > i{
    margin-right: auto;
    margin-left: 4px;
}
.engine.engine_rtl .engine-details-table td:first-child {
    text-align: left;
}