.ref_appointments{
    text-align:center;
}
.ref_appointments table{
    margin:0 auto;
    width: 80%;
}

.clicksort{
    cursor : pointer;
}

.sort_chosen{
    color: red;
}

.pipelines_table_area{
    background: var(--light-color);
    border: 1px solid #eee;
    border-radius: 20px;
    padding: 20px;
    margin: 15px 0;
    color:white;
}
.pipelines_table_area input[type="text"],.pipelines_table_area button{
background:var(--dark-color);
color:white;
border:none;
height:35px;
padding:0px 10px;
}
.pipelines_table_area input[type="text"]{
    background:white;
    color:black;
}
.pipelines_table_area textarea{
outline:none; 
border:none;
}

.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%;
    min-width:100%;
    align-items:flex-start;
}
.pip_client_pill{
   padding: 5px;
    /* border-radius: 8px; */
    /* background: var(--light-color);); */
    text-align: center;
    /* border: 1px solid #eee; */
    margin: 8px;
    cursor: grab;
    height:33px;
}

.clients_pipeline_pill_holder .pip_referral{
    height: 73px;
    min-height: 65px;
    padding: 10px;
}

.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 #eee;
    padding: 20px;
}

.pip_stage_name{
    vertical-align: top;
    font-weight: bold;
    font-size: 1.1em;
    width: 15%;
    color:var(--referral-sidebar-bg);
    background: var(--referral-sidebar-text);
}
.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;
}
