/* add sorting icons to gridview sort links */
a.asc:after, a.desc:after {
    position: relative;
    top: 1px;
    display: inline-block;
    font-family: 'Glyphicons Halflings';
    font-style: normal;
    font-weight: normal;
    line-height: 1;
    padding-left: 5px;
}

a.asc:after {
    content: /*"\e113"*/ "\e151";
}

a.desc:after {
    content: /*"\e114"*/ "\e152";
}

.sort-numerical a.asc:after {
    content: "\e153";
}

.sort-numerical a.desc:after {
    content: "\e154";
}

.sort-ordinal a.asc:after {
    content: "\e155";
}

.sort-ordinal a.desc:after {
    content: "\e156";
}

.grid-view th {
    white-space: nowrap;
}

.hint-block {
    display: block;
    margin-top: 5px;
    color: #999;
}

.error-summary {
    color: #a94442;
    background: #fdf7f7;
    border-left: 3px solid #eed3d7;
    padding: 10px 20px;
    margin: 0 0 15px 0;
}

.modal-dialog .modal-content{
    height: 80%;
}

.negotiation-item{
    border-bottom: 1px solid #2b669a;
    margin-bottom: 4px;
}

.negotiation-item.current-student {
    background-color: #dff0d8;
}

.ui-datepicker, #ui-datepicker-div{
    /*z-index: 10 !important;*/
}

.modal-body {
    padding: 5px 35px;
}

.inner-content {
    background-color: #fff;
    padding: 10px;
}

#baselesson-schedule .form-control, .lesson-form .form-control{
    z-index: 1;
}

.student-status-0 {

}
.student-status-1 {
    text-decoration: underline;
}
.student-status-2 {
    text-decoration: line-through;
}

.task-timeout-row {
    font-size: 12px;
    background-color: #D6D6D6;
}

.task-timeout-status-2 {
    text-decoration: line-through;
}

.student-lesson {
    cursor: pointer;
}

.student-lesson.is-visit{
    background-color: #B4E8C2;
}

.is-payed-yes {
    box-shadow: inset 0 0 1px 1px #24c800;
}
.is-payed-no {
    box-shadow: inset 0 0 1px 1px #AD2424;
}

/*#group-table th{
    -webkit-transform: rotate(90deg);
    -ms-transform: rotate(90deg); // IE9 only
    transform: rotate(90deg);
}*/
#group-table td {
    padding: 0;
}

#group-table td span{
    display: block;
    min-width: 58px;
    min-height: 34px;
    padding: 4px;
    font-size: 10px;
}

#group-table #closest-lesson {
    color: red;
}

#student-table-outer {
    position:relative;
}

#student-table-outer th {
    min-width: 62px;
    font-size: 12px;
    padding: 4px 0;
}

#student-table-ajax {
    overflow-x: scroll;
    overflow-y: visible;
    margin-left: 150px;
}

#student-table-ajax td.student-column {
    position: absolute;
    left: 0;
    top: auto;
    width:150px;
    height: 36px;
    line-height: 14px;
}

#student-table-ajax .first-student-column {
    border: none;
}

.student-column a{
}

.edit-mark {
    cursor: pointer;
}

.age-column .form-control {
    width: 49px;
}

#studentsearch-searchbycommentstext {
    margin-top: 2px;
}

.base-lesson-filter-column .form-control {
    width: 108px;
}

.bs-callout {
    padding: 5px 20px;
    margin: 5px 0;
    border: 1px solid #eee;
    border-left-width: 5px;
    border-radius: 3px;
}

.bs-callout-info {
    border-left-color: #1b809e;
}

.bs-callout-warning {
    border-left-color: #aa6708;
}

#calendar {
    /*max-width: 900px;*/
    margin: 0 auto;
}

.quick-select {
    cursor: pointer;
    color: #337ab7;
    text-decoration: underline;
}

.base-lesson-form .form-group {
    margin-bottom: 2px;
    margin-left: 10px;
}

.base-lesson-form .form-group .col-sm-6{
    width: 75%!important;
}

.payment-form h4 {
    margin: 2px 0;
}

#payment-chosenlessons #show-old {
    font-size: 12px;
}

#payment-statuses .copy-to-clipboard {
    cursor: pointer;
}

#payment-statuses .payment-button-column a {
    display: block;
}

#payment-statuses .payment-button-column .before-copy-link {
    float: left;
    margin-right: 5px;
}

.modal-header {
    padding: 0 15px;
}

.modal-dialog {
    width: 800px!important;
}

.bg-padding {
    padding: 5px 15px 5px 15px;
}

.schedule-day-of-week {
    width: 200px;
}

.active-row, .active-row a {
    /*color: #11aa14;*/
}

.inactive-row, .inactive-row a {
    color: #AAAAAA;
}

.mid-active-row, .mid-active-row a {
    /*color: #e0b91e;*/
}
.base-lesson-index .color-tooltip {
    width: 12px;
    height: 12px;
    display: block;
}

.student-color-tag {
    width: 12px;
    height: 12px;
    display: block;
    border-radius: 25px;
    float: right;
    margin: 4px 0 0 2px;
}

/*.family-index .top-row {
    border-top: 1px solid black;
}*/

.family-index tbody td{
    border-bottom: none !important;
    border-top: none !important;
}

.family-index .bottom-row/*, .family-index .bottom-row td */{
    border-bottom: 1px solid #ababab;
    border-collapse: collapse;
}

.search-by-color-tag .select2 {
    width: 49% !important;
    float: left;
    margin-top: 2px;
}
.search-by-color-tag .select2:first-of-type {
    margin-right: 2%;
}
.search-by-color-tag .select2-selection__choice {
    font-size: 10px;
    line-height: 18px;
}
.base-lesson-filter-column .select2 {
    margin-top: 2px;
}
#baselessonsearch-filteraffiliate {
    margin-top: 2px;
}


.navbar .badge {
    background-color: #d9534f;
}

.filter-second-line {
    margin-top: 2px;
}

.alert-success, .alert-danger {
    clear: both;
}

input[placeholder]#familysearch-filterparentname {
    font-size: 12px;
}

.long-comment-column {
    word-break: break-all;
    max-width: 300px;
    min-width: 160px;
}

thead .long-comment-column {
    word-break: normal;
}

#student-lesson-grid progress {
    width: 100px;
}

.text-success-payment {
    color: green;
}

.payment-quick-search {
    float: right;
    width: 150px;
}
/*
.alert-success {
    background-color: #abe7ed;
    border-color: #abe7ed;
    color: #27a4b0;
}

.alert-danger {
    background-color: #fbe1e3;
    border-color: #fbe1e3;
    color: #e73d4a;
}*/
