table.my-table td {
    vertical-align: middle;
}

tbody#records td:last-child {
    text-align: right;
}

table .price {
    text-align: right;
    padding-right: 15px;
}

table td.actions {
    width: 10px;
    text-align: center;
}

/*table th a {*/
/*    color: #000;*/
/*    text-decoration: underline;*/
/*}*/

table th.asc:after {
    content: "▲";
} 

table th.desc:after {
    content: "▼";
}

table td.actions i {
    cursor: pointer;
    font-size: 15px;
    display: none;
}

/** Google maps directions **/
div#google_maps_results table.table tr:first-child td,
div#google_maps_results table.table tr:first-child th {
    border-top: 0px;
}

/*
 |--------------------------------------------------------------------------
 |   Form
 |--------------------------------------------------------------------------
*/

div.form-container {
    box-shadow: 2px 2px 10px #ccc;
    border: 1px solid #ddd;
    border-radius: 6px;
    overflow: hidden;
    padding-top: 20px;
}

div.form-container span.label {
    margin-left: 20px;
}

div.form-container .form-actions, 
div.form-container form
{
    margin-bottom: 0px;
}

input.input-date {
    width: 180px;
}

/*
 |--------------------------------------------------------------------------
 |   Form consult: client search list
 |--------------------------------------------------------------------------
*/

#patient-list {
    position: absolute;   
    z-index: 100; 
    list-style: none;
    margin: 0;
    background: #fff;
    border: 1px solid #ccc;
    /*width: 240px;*/
    overflow:hidden;
    border-collapse: collapse;
    display: none;
    max-height: 352px;
    overflow: hidden;
}

#patient-list {
    
}

#patient-list li {
    height: 35px;
    line-height: 35px;
    cursor: pointer;
    /*width: 400px;*/
    padding-left: 5px;
    padding-right: 5px;
}

#patient-list li:nth-child(odd) {
    background: #f9f9f9;
}

div#selected_patient {
    position: absolute;
    border: 1px solid #ccc;
}

div#selected_patient span#name {
    min-width: 162px;
    background: #f1f1f1;
}

div#selected_patient span#remove {
    background: #f9f9f9;
    cursor: pointer;
    border-left: 1px solid #ccc;
    margin-left: -4px;
}

div#selected_patient span {    
    display: inline-block;
    padding: 5px 10px;
}

 div.search .input-append, div.search form {
    margin-bottom: 0px;
 }

div.load-indicator {
    text-align: center;
}

/*
 |--------------------------------------------------------------------------
 |   Helpers output style
 |--------------------------------------------------------------------------
*/

i.active {
    color: #00a400;
}

i.inactive {
    color: #c10000;
}

.form-login {
    padding-top: 30px;
}

#modalAgendaNewItem .patient-list-item {
    position: relative;
}
#modalAgendaNewItem .p-meta {
    font-size: 0.75rem;
    color: #6c757d;
}
#modalAgendaNewItem .p-meta.last-consult {
    position: absolute;
    right: 0;
    top: 3px;
}

.select2-container .p-meta {
    font-size: 0.75rem;
    color: #6c757d;
}
.select2-container .select2-results__option--highlighted .p-meta {
    color: #f2f2f2;
}
