/**************** BatchJobs ***********/

#batchJobs{
    border:1px solid transparent;
    border-radius:4px;
    position: inherit;
    float: right;
    margin-top:24px;
}
#batchJobs.open,
#batchJobs:hover{
    background: none repeat scroll 0 0 #FFFFFF;

    -o-box-shadow: 0 1px 2px #777777;
    -webkit-box-shadow: 0 1px 2px #777777;
    -moz-box-shadow: 0 1px 2px #777777;
    -ms-box-shadow: 0 1px 2px #777777;
    box-shadow: 0 1px 2px #777777;
}

/*********/
#batchJobs[data-mainStatus="idle"] > span > i.icon-tasks{
    background: url("/img/glyphicons.png") -144px -93px no-repeat transparent;
    width: 30px;
    height: 30px;
    margin: -5px 0 -10px -5px;
}
#batchJobs[data-mainStatus="inProgress"] > span > i.icon-tasks{
    background: url("/img/movingCogs.gif") 0px 1px no-repeat transparent;
    width: 30px;
    height: 30px;
    margin: -5px 0 -10px -5px;
}

#batchJobs .btn.dropdown-toggle,
#batchJobs.open .btn.dropdown-toggle{
    border-color:transparent;
    background:none;

    -o-box-shadow:none;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    -ms-box-shadow: none;
    box-shadow: none;
}
#batchJobs .btn.dropdown-toggle:hover{
    color: #333333;
}

/**********/
#batchJobs #batchJobsList{
    max-height: 430px;
    overflow: hidden;

    padding-bottom: 0;
    top: 45px;
    right: -291px;
}
#body.whiteLabel #batchJobs #batchJobsList{
    right: -146px;
}
#batchJobs.showDetails #batchJobsList{
}

#batchJobs > #batchJobsList > li  a{
    padding: 0;
}
#batchJobs > #batchJobsList > li + li:last-child,
#batchJobs .batchJobOverview:last-child{
    border-bottom: none;
}
#batchJobs > #batchJobsList > li.dropdown-header{
    border-bottom:1px solid #eee;
}

/*********/

#batchJobs > #batchJobsList > li.batchJobsList-bottomClosure{
    background:#efefef;
    padding:5px 20px;
    border-top:1px solid #ddd;
    text-align: right;
    min-height: 20px;
}
#batchJobs > #batchJobsList > li.batchJobsList-bottomClosure a{
    background: none !important;
    color:#06c !important;
}

/*********/
#batchJobs > #batchJobsList  ul#batchJobsListScrollableContent{
    max-height: 373px;
    overflow:hidden;

    -moz-box-sizing: border-box;
    -o-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -ms-box-sizing: border-box;
    box-sizing: border-box;
}
#batchJobs > #batchJobsList  ul#batchJobsListScrollableContent.addScrollBar{
    overflow-y:auto;
}
#batchJobs > #batchJobsList  ul#batchJobsListScrollableContent > li{
    padding-right:60px;
}
#batchJobs.showDetails > #batchJobsList  ul#batchJobsListScrollableContent > li{
}

/*********/
#batchJobs > #batchJobsList .batchJobOverview {
    min-width: 768px;
    position:relative;
    min-height: 60px;
    padding: 11px 40px;
    border-bottom:1px solid #eee;

    -moz-box-sizing: border-box;
    -o-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -ms-box-sizing: border-box;
    box-sizing: border-box;

}
#batchJobs > #batchJobsList .batchJobOverview.expanded{
    min-width: 937px;
    border: none;
}
#batchJobs.showDetails .batchJobOverview.collapsed,
#batchJobs.showDetails > .dropdown-menu > li.batchJobsList-bottomClosure{
    min-height:0 !important;
    height:0 !important;
    border: 0 !important;
    padding: 0 !important;
    overflow:hidden;
}

/*********/
#batchJobs .batchJobOverview  [data-name="ajaxCallActive"]{
    visibility:hidden;
    background: url("/img/throbberLike-background.gif");
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
    z-index:2;
    opacity:.1;
    filter: alpha(opacity=10);
    overflow:hidden;
    text-indent:-500%;

    -moz-transition: all .3s ease;
    -o-transition: all .3s ease;
    -webkit-transition: all .3s ease;
    -ms-transition: all .3s ease;
    transition: all .3s ease;
}
#batchJobs .batchJobOverview[data-ajaxCallActive="true"]  [data-name="ajaxCallActive"]{
    visibility:visible;
    opacity:.7;
    filter: alpha(opacity=70);

}

/*********/
#batchJobs .batchJobOverview > .toggleDetails[data-action]{
    padding: 0;
    width: 29px;
    height: 30px;
    position:absolute;
    top: 25px;
    cursor:pointer;
    right: 25px;
    opacity:0;
    filter: alpha(opacity=0);
    display:none;
    background: #FFFFFF !important;
}
#batchJobs .batchJobOverview > .toggleDetails[data-action]:hover{

}
#batchJobs .batchJobOverview > .toggleDetails[data-action="batchJob-collapse"]{
}
#batchJobs .batchJobOverview.expanded > .toggleDetails[data-action="batchJob-collapse"]{
    opacity:1;
    filter: alpha(opacity=100);
    display:block;
}
#batchJobs .batchJobOverview.collapsed > .toggleDetails[data-action="batchJob-expand"]{
    opacity:1;
    filter: alpha(opacity=100);
    display:block;
}
#batchJobs .batchJobOverview > .toggleDetails[data-action] i{
    opacity:.25;
    filter: alpha(opacity=25);
    background: url("/img/glyphicons.png") -96px -1919px no-repeat transparent;
    width:30px;
    height:30px;
    margin: 0;

    -moz-transition: all .5s ease;
    -o-transition: all .5s ease;
    -webkit-transition: all .5s ease;
    -ms-transition: all .5s ease;
    transition: all .5s ease;
}
#batchJobs .batchJobOverview > .toggleDetails[data-action]:hover i{
    opacity:.6;
    filter: alpha(opacity=60);
}
#batchJobs .batchJobOverview > .toggleDetails[data-action="batchJob-expand"] i.icon-chevron-right{
    background-position: -48px -1919px;
}

/*********/
#batchJobs .batchJobOverview [data-name="info"]{

}

/*********/

#batchJobs .batchJobOverview [data-name="info"] [data-name="batchJob-status"]{
    display: inline-block;
    position: absolute;
    top: 40px;
    left: 28px;
}
#batchJobs.showDetails .batchJobOverview [data-name="batchJob-status"]{
    top: 50px !important;
}
#batchJobs .batchJobOverview [data-name="batchJob-status"] > span{
    display:inline-block;
    color: #bbb;
    font-size: 11px;
}
#batchJobs .batchJobOverview.hasError [data-name="batchJob-status"] > span{
    color: red;
    font-weight:bold;
}
#batchJobs .batchJobOverview[data-batchStatus="completed"] [data-name="batchJob-status"] > span{
    color:rgb(39, 192, 10);
}
#batchJobs.showDetails .batchJobOverview [data-name="batchJob-status"] > span{
    font-size: 13px;
}

/*********/
#batchJobs .batchJobOverview [data-name="info"] [data-name="batchJob-Label"]{
    display:block;
}
#batchJobs .batchJobOverview [data-name="info"] [data-name="batchJob-Label"] [data-name="batchJob-Type"]{
    display:inline-block;
    color: #333;
    font-weight: bold;
    float: left;
}

#batchJobs .batchJobOverview [data-name="info"] [data-name="batchJob-Label"] [data-name="batchJob-subType"]{
    display:inline-block;
    color: #888;
    font-size: 11px;
    font-style: italic;
    padding-left:10px;
    float: left;
    text-overflow: ellipsis;
    max-width: 322px;
    overflow:hidden;
    margin-right:20px;
}
#batchJobs .batchJobOverview [data-name="info"] [data-name="batchJob-Label"] [data-name="batchJob-LastUpdateDate"]{
    display:inline-block;
    font-size:11px;
    color:#999;
    float:right;
}

/*********/
#batchJobs .batchJobOverview [data-name="batchJob-Progressbar"]{
    clear: both;
    display: block;

    min-height: 3px;
    overflow: hidden;
    background: #eee;
    border-radius: 10px;
    margin: 5px auto;

    box-shadow: inset 0px 1px 1px rgba(100,100,100,.4), inset 0px -1px 1px rgba(255,255,255,.4);
    -o-box-shadow: inset 0px 1px 1px rgba(100,100,100,.4), inset 0px -1px 1px rgba(255,255,255,.4);
    -webkit-box-shadow: inset 0px 1px 1px rgba(100,100,100,.4), inset 0px -1px 1px rgba(255,255,255,.4);
    -moz-box-shadow: inset 0px 1px 1px rgba(100,100,100,.4), inset 0px -1px 1px rgba(255,255,255,.4);
    -ms-box-shadow: inset 0px 1px 1px rgba(100,100,100,.4), inset 0px -1px 1px rgba(255,255,255,.4);

    -moz-box-sizing: border-box;
    -o-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -ms-box-sizing: border-box;
    box-sizing: border-box;

    -moz-transition: all .3s ease;
    -o-transition: all .3s ease;
    -webkit-transition: all .3s ease;
    -ms-transition: all .3s ease;
    transition: all .3s ease;
}
#batchJobs .batchJobOverview [data-name="batchJob-Progressbar"] [data-name="batchJob-Progress"]{
    display: block;
    background: url(/img/throbberLike-background-blue.gif) center center repeat-x transparent;
    height: 4px;

    box-shadow: inset 0px 1px 1px rgba(100,100,100,.3), inset 0px -1px 1px rgba(255,255,255,.4);
    -o-box-shadow: inset 0px 1px 1px rgba(100,100,100,.3), inset 0px -1px 1px rgba(255,255,255,.4);
    -webkit-box-shadow: inset 0px 1px 1px rgba(100,100,100,.3), inset 0px -1px 1px rgba(255,255,255,.4);
    -moz-box-shadow: inset 0px 1px 1px rgba(100,100,100,.3), inset 0px -1px 1px rgba(255,255,255,.4);
    -ms-box-shadow: inset 0px 1px 1px rgba(100,100,100,.3), inset 0px -1px 1px rgba(255,255,255,.4);

    -moz-box-sizing: border-box;
    -o-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -ms-box-sizing: border-box;
    box-sizing: border-box;

    -moz-transition: all .5s ease;
    -o-transition: all .5s ease;
    -webkit-transition: all .5s ease;
    -ms-transition: all .5s ease;
    transition: all .5s ease;
}
#batchJobs.showDetails .batchJobOverview [data-name="info"] [data-name="batchJob-Progressbar"] [data-name="batchJob-Progress"]{
    height:12px;
}
#batchJobs.showDetails .batchJobOverview .batch-subtasks-list [data-name="batchJob-Progressbar"] [data-name="batchJob-Progress"]{
    height:2px;
}
#batchJobs .batchJobOverview[data-batchStatus="pending"] [data-name="batchJob-Progressbar"] [data-name="batchJob-Progress"],
#batchJobs .batchJobOverview[data-batchStatus="paused"] [data-name="batchJob-Progressbar"] [data-name="batchJob-Progress"]{
    background: #DDDDDD !important;
}
#batchJobs .batchJobOverview.hasError [data-name="batchJob-Progressbar"] [data-name="batchJob-Progress"]{
    background:red !important;
}
#batchJobs .batchJobOverview [data-name="batchJob-Progressbar"] [data-name="batchJob-Progress"][data-completionStatus="100"]{
    background: rgb(39, 192, 10) !important;
}

/*********/
#batchJobs .batchJobOverview [data-name="batchJob-actionsShortcuts"]{
    min-height: 18px;
}
#batchJobs .batchJobOverview [data-name="batchJob-actionsShortcuts"] .btn,
#batchJobs .batchJobOverview .errorDetailsContainer .btn{
    padding: 2px;
    line-height: normal;
    margin:0 3px;
    background: #FFF;
    border:none;

    -webkit-border-radius: 4px !important;
    -moz-border-radius: 4px !important;
    border-radius: 4px !important;
}
#batchJobs .batchJobOverview .errorDetailsContainer .btn{
    position:absolute;
    top:10px;
    right:8px;
}
#batchJobs.showDetails .batchJobOverview [data-name="batchJob-actionsShortcuts"] .btn{

}
#batchJobs .batchJobOverview [data-name="batchJob-actionsShortcuts"] .btn.disabled{
    display:none;
}
#batchJobs.showDetails .batchJobOverview [data-name="batchJob-actionsShortcuts"] .btn i,
#batchJobs.showDetails .batchJobOverview .errorDetailsContainer .btn.batch-downloadReport i{
    height: 32px;
    width: 32px; 
}
#batchJobs.showDetails .batchJobOverview [data-name="batchJob-actionsShortcuts"] .btn.batch-pause i{
    background: url("/img/glyphicons.png") -192px -815px;  
}
#batchJobs.showDetails .batchJobOverview [data-name="batchJob-actionsShortcuts"] .btn.batch-resume i{
    background: url("/img/glyphicons.png") -144px -815px;
}
#batchJobs.showDetails .batchJobOverview  .btn.batch-downloadReport i{
    background: url("/img/glyphicons.png") -47px -862px;
}
#batchJobs.showDetails .batchJobOverview [data-name="batchJob-actionsShortcuts"] .btn.batch-restart i{
    background: url("/img/glyphicons.png") -240px -383px;
}
#batchJobs .batchJobOverview.hasError [data-name="batchJob-actionsShortcuts"] .btn.batch-pause,
#batchJobs .batchJobOverview.hasError [data-name="batchJob-actionsShortcuts"] .btn.batch-resume,
#batchJobs .batchJobOverview.hasError [data-name="batchJob-actionsShortcuts"] .btn.batch-downloadReport,
#batchJobs .batchJobOverview [data-name="batchJob-actionsShortcuts"] .btn.batch-restart{
    display:none;
}
#batchJobs .batchJobOverview.hasError [data-name="batchJob-actionsShortcuts"] .btn.batch-restart{
    display:inline-block;
}


/*********/
#batchJobs .batchJobOverview [data-name="details"]{
    min-height:0px;
    max-height:0;
    overflow:hidden;
    width: 837px;
    max-width: 837px;
    display: none;

    -moz-box-sizing: border-box;
    -o-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -ms-box-sizing: border-box;
    box-sizing: border-box; 

    -moz-transition: all .5s ease;
    -o-transition: all .5s ease;
    -webkit-transition: all .5s ease;
    -ms-transition: all .5s ease;
    transition: all .5s ease;
}
#batchJobs.showDetails .batchJobOverview.expanded [data-name="details"]{
    display:block;
    min-height: 200px;
    max-height:300px;
    margin-left:0;
}

/*********/
#batchJobs.showDetails .batchJobOverview [data-name="details"] [data-name="batch-operationDescription"]{
    font-size: 13px;
    position: absolute;
    margin-top: -50px;
    left: 118px;
}

#batchJobs.showDetails .batchJobOverview [data-name="details"] .detailsRow{
    display: block;
    color: #777;
    padding: 10px 0;
    border-radius: 5px;
}
#batchJobs.showDetails .batchJobOverview [data-name="details"] .detailsRow .detailsLabel{
    font-weight: bold;
    display: inline-block;
    color: #333;
    padding-right: 10px;
}


#batchJobs.showDetails .batchJobOverview [data-name="details"] .batch-subtasks-list{
    margin: 14px 10px 20px 10px;
}

#batchJobs.showDetails .batchJobOverview [data-name="details"] .batch-subtasks-list > li{
    font-size:12px;
    margin: 0px;
}
#batchJobs.showDetails .batchJobOverview [data-name="details"] .batch-subtasks-list > li + li{
    margin: 10px 0 0;
}
/**********/
#batchJobs.showDetails .batchJobOverview [data-name="details"] .relevantInfo{
    margin: 10px 0 0;
    padding: 0 15px 10px 15px;
    width: 270px;
    float: left;
    text-align: center;
    border-radius: 5px;
    font-size: 12px;
    min-height: 147px;
    position: relative;

    -moz-box-sizing: border-box;
    -o-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -ms-box-sizing: border-box;
    box-sizing: border-box;
}
#batchJobs.showDetails .batchJobOverview [data-name="details"] .relevantInfo + .relevantInfo{
    margin-left: 10px;
}
#batchJobs.showDetails .batchJobOverview [data-name="details"] .relevantInfo .title{
    font-size: 18px;
    display: block;
    line-height: 45px;
}
#batchJobs.showDetails .batchJobOverview [data-name="details"] .relevantInfo .data{
    font-size: 50px;
    display: block;
    line-height: normal;
}
#batchJobs.showDetails .batchJobOverview [data-name="details"] .errorDetailsContainer{
    background: #efefef;
    border-radius: 5px;
    padding: 3px 5px;
    position: relative;
    display:none;
}
#batchJobs.showDetails .batchJobOverview [data-name="details"] .errorDetails{
    clear: both;
}
#batchJobs.showDetails .batchJobOverview [data-name="details"] .errorDetails div{
    font-size: 12px;
    float: left;
    height: auto;
    line-height: 18px !important;
}
#batchJobs.showDetails .batchJobOverview [data-name="details"] .errorDetails .title{
    clear: left;
    padding: 3px 5px;
    width: 88px;
    font-size: 12px;
    text-align: left;
    color: #777;
}
#batchJobs.showDetails .batchJobOverview [data-name="details"] .errorDetails .info{
    min-width: 20px;
    padding: 3px 5px;
    max-width: 600px;
    overflow: hidden;
    text-align: left;
}


/*********/
#batchJobs.showDetails .batchJobOverview [data-name="details"] #importProgress_TotalImported{
}
#batchJobs.showDetails .batchJobOverview [data-name="details"] #importProgress_TotalErrors{
    padding-bottom: 39px;
}
#batchJobs.showDetails .batchJobOverview [data-name="details"] #importProgress_TotalErrors .openErrorDetails{
    background: white;
    position: absolute;
    padding: 5px 10px;
    bottom: 0;
    border-radius: 5px 5px 0 0;
    color: #06C;
    cursor: pointer;
    overflow: hidden;
    left: 50%;
    margin-left: -43px;
    -moz-transition: all .4s ease;
    -o-transition: all .4s ease;
    -webkit-transition: all .4s ease;
    -ms-transition: all .4s ease;
    transition: all .4s ease;
}
#batchJobs.showDetails .batchJobOverview [data-name="details"] #importProgress_TotalErrors .importErrorsFile{
    position: relative;
    color: #06C;
    cursor: pointer;
    display: block;
    margin-top: 6px;
    width: 100%;
    text-align: left;
    padding-left: 5px;
    height: 16px;
}
#batchJobs.showDetails .batchJobOverview [data-name="details"] #importProgress_TotalErrors .importErrorsFile.active{
    background: url("/img/loading.gif") no-repeat scroll 5px center transparent;
    text-indent: -500px;
    overflow: hidden;
}
#batchJobs.showDetails .batchJobOverview [data-name="details"] #importProgress_TotalCandidates{
}
#batchJobs.showDetails .batchJobOverview [data-name="details"] #importProgress_TotalDuration{
}
#batchJobs.showDetails .batchJobOverview [data-name="details"] #importProgress_TotalDuration .timeNote{
    word-spacing: 21px;
    display: block;
    text-indent: 15px;
}
