.clicksort{
    cursor : pointer;
}

.sort_chosen{
    color: red;
}

.pipelines_table_area{
    background: #eee;
    border: 1px solid #888;
    border-radius: 20px;
    padding: 20px;
    margin: 15px 0;
}

.stagerow td{
    border-bottom:1px solid #888;
}

.pipelines_table_area table{
    width:100%;
}

#clientTable .client_row select{
    font-size:0.9em;
    border: 1px solid #ccc;
    border-radius:4px;
}

.new_stage_adder button{
    float:right;
}
.new_stage_adder{
    margin-bottom: 30px;
}

.dragorder{
    cursor: grab;
}

#clientTable td.noborder{
   border:0;
}

.stages_table p{
    margin:0;
}

.drop-hover{
    background:#fff3a5;
}

.pipe_mover_table td.pip_stage_mover{
    padding:0;
    height:100%;
    width:85%;
}

.clients_pipeline_pill_holder{
    display:flex;
    flex-wrap:wrap;
    height:100%;
    width:100%;
    align-items:center;
}
.pip_client_pill{
    padding:5px;
    border-radius: 8px;
    background: #eee;
    text-align:center;
    border: 1px solid #888;
    margin:8px;
    cursor: grab;
    height:33px;
}

.pip_client_pill.ui-draggable-dragging{
    -webkit-box-shadow: -2px 0px 11px 0px rgba(125,112,125,1);
    -moz-box-shadow: -2px 0px 11px 0px rgba(125,112,125,1);
    box-shadow: -2px 0px 11px 0px rgba(125,112,125,1);
    z-index: 9999999;
}

.pipe_mover_table{
    width:100%;
    margin: 0 auto;
    height: 1px; /*ignored but important for div to fill td */
}

.pipe_mover_table td{
    border: 1px solid #888;
    padding: 20px;
}

.pip_stage_name{
    vertical-align: top;
    font-weight: bold;
    font-size: 1.2em;
    width:15%;
    background:#eee;
}
.pip_stage_mover{
    /*width:90%;*/
}

.pipelines_edit_table{
    width:80%;
    margin: 0 auto;
}

.st_collapsed{
    max-height:0;
    padding:0;
}

.st_expand{
    max-height: 2000px;
    padding: 20px;
}

.stages_table{
    width:100%;
    margin: 0 auto;
}
.stages_table th{
    text-align:left;
}
.stages_table .details td:not(.collapsible):not(.collapsible td){
    border-bottom:1px solid #888;
    transition: max-height 1s linear;
}

.stage_editor .stages_table tbody .details table{
    width: 85%;
    margin: 20px auto;
}

.stage_editor .stages_table tbody .row_collapsed {
    display: none;
    max-height: 0;
    overflow: hidden;
}
.stage_editor .stages_table .details {
    display:table-row;
}
