/**
* Overriding classes for RTL languages
*/
.blockHeader {
    width: auto;
}
.sortedTable td.sortedTableFooter {
    text-align: left;
}
body {
    text-align: right;
}

/*Split buttons*/
.btn-group > .btn:last-child:not(:first-child),
.btn-group > .dropdown-toggle:not(:first-child) {
    border-bottom-left-radius: 4px;
    border-top-left-radius: 4px;
    border-top-right-radius: 0px;
    border-bottom-right-radius: 0px;
}
.btn-group > .btn:first-child:not(:last-child):not(.dropdown-toggle) {
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
    border-top-left-radius: 0px;
    border-bottom-left-radius: 0px;
}

/*Input groups*/
.input-group .form-control:first-child,
.input-group-addon:first-child,
.input-group-btn:first-child > .btn,
.input-group-btn:first-child > .btn-group > .btn,
.input-group-btn:first-child > .dropdown-toggle,
.input-group-btn:last-child > .btn:not(:last-child):not(.dropdown-toggle),
.input-group-btn:last-child > .btn-group:not(:last-child) > .btn {
    border-bottom-left-radius: 0px;
    border-top-left-radius: 0px;
    border-bottom-right-radius: 4px;
    border-top-right-radius: 4px;
}
.input-group .form-control:last-child,
.input-group-addon:last-child,
.input-group-btn:last-child > .btn,
.input-group-btn:last-child > .btn-group > .btn,
.input-group-btn:last-child > .dropdown-toggle,
.input-group-btn:first-child > .btn:not(:first-child),
.input-group-btn:first-child > .btn-group:not(:first-child) > .btn {
    border-bottom-right-radius: 0px;
    border-top-right-radius: 0px;
    border-bottom-left-radius: 4px;
    border-top-left-radius: 4px;
}
.input-group-addon:last-child {
    border-right-width: 1px;
    border-right-style: solid;
    border: 1px solid #ccc;
}
/*Drag and drop questions*/
.tl-right-cell-puzzle {
    margin-right: -11px;
    float: right;
    margin-left: auto;
    border-top-right-radius: 0px;
    border-bottom-right-radius: 0px;
    border-left: 3px;
    border-top-left-radius: 3px;
    border-bottom-left-radius: 3px;
    border-right: 3px;
}
.tl-left-cell-puzzle {
    display: none;
}
