.ck-editor__editable,
textarea {
    min-height: 150px;
}

.datatable {
    width: 100% !important;
}

table.dataTable tbody td.select-checkbox::before,
table.dataTable tbody td.select-checkbox::after,
table.dataTable tbody th.select-checkbox::before,
table.dataTable tbody th.select-checkbox::after {
    top: 50%;
}

.dataTables_length,
.dataTables_filter,
.dt-buttons {
    margin-bottom: 0.333em;
    margin-top: .2rem;
}

.dataTables_filter {
    margin-right: .2rem;
}

.dt-buttons .btn {
    margin-left: 0.333em;
    border-radius: 0;
}

.table.datatable {
    box-sizing: border-box;
    border-collapse: collapse;
}

table.dataTable thead th {
    border-bottom: 2px solid #c8ced3;
}

.dataTables_wrapper.no-footer .dataTables_scrollBody {
    border-bottom: 1px solid #c8ced3;
}

.select2 {
    max-width: 100%;
    width: 100% !important;
}

.select2-selection__rendered {
    padding-bottom: 5px !important;
}

.has-error .invalid-feedback {
    display: block !important;
}

.btn-info,
.badge-info {
    color: white;
}

table.dataTable thead .sorting,
table.dataTable thead .sorting_asc,
table.dataTable thead .sorting_desc {
    background-image: none;
}

.sidebar .nav-item {
    cursor: pointer;
}

.btn-default {
    color: #23282c;
    background-color: #f0f3f5;
    border-color: #f0f3f5;
}

.btn-default.focus,
.btn-default:focus {
    box-shadow: 0 0 0 .2rem rgba(209, 213, 215, .5);
}

.btn-default:hover {
    color: #23282c;
    background-color: #d9e1e6;
    border-color: #d1dbe1;
}

.btn-group-xs > .btn,
.btn-xs {
    padding: 1px 5px;
    font-size: 12px;
    line-height: 1.5;
    border-radius: 3px;
}

.searchable-title {
    font-weight: bold;
}
.searchable-fields {
    padding-left:5px;
}
.searchable-link {
    padding:0 5px 0 5px;
}
.searchable-link:hover   {
    cursor: pointer;
    background: #eaeaea;
}
.select2-results__option {
    padding-left: 0px;
    padding-right: 0px;
}

.form-group .required::after {
    content: " *";
    color: red;
}

.form-check.is-invalid ~ .invalid-feedback {
    display: block;
}

.c-sidebar-brand .c-sidebar-brand-full:hover {
    color: inherit;
}

.custom-select.form-control-sm {
    padding: 0.25rem 1.5rem;
}

******************************
 * Countdown
 ******************************/

.countdown
{
   padding: 5px;
   background: #fafafa; 
}

#countdown
{
    display:none;
}

.countdown-box
{
    width:304px;
    border-top:1px solid #efefef;
    border-bottom:1px solid #efefef;
    border-left:1px solid #e1e1e1;
    border-right:1px solid #e1e1e1;
    -webkit-border-radius:2px;
    -moz-border-radius:2px;
    border-radius:2px;
    position:relative;
    margin-left:29px;
}

.countdown-box.no-seconds
{
    width:228px;
}

.countdown-box::before
{
    content:'';
    position:absolute;
    top:-1px;
    bottom:-1px;
    left:-26px;
    width:26px;
    /*background:url('img/timeleft.png') no-repeat center center;*/
    background:rgba(255,255,255,0.15);
    
    -webkit-border-radius:3px 0 0 3px;
    -moz-border-radius:3px 0 0 3px;
    border-radius:3px 0 0 3px;
}

.countdown-box::after {
    content:attr(data-label);
    position:absolute;
    top:27px;
    bottom:-1px;
    left:-53px;
    color:#fff;
    height:26px;
    line-height:26px;
    width:80px;
    text-align:center;
    opacity:0.3;
    letter-spacing:0.5px;
    
    -webkit-transform:rotate(-90deg);
    -moz-transform:rotate(-90deg);
    -ms-transform:rotate(-90deg);
    transform:rotate(-90deg);
}

.countdown-box .field
{
    float:left;
    width:70px;
    height:75px;
   
    position:relative;
    overflow:hidden;
}


.countdown-box .field.last
{
    background-position:left bottom;
}

.countdown-box .field.dropshade:before {
    content:"";
    position:absolute;
    z-index:1;
    top:0px;
    bottom:8px;
    left:-41px;
    width:40px;
    -webkit-box-shadow:0 0 5px 0 rgba(0,0,0,0.5);
       -moz-box-shadow:0 0 5px 0 rgba(0,0,0,0.5);
            box-shadow:0 0 5px 0 rgba(0,0,0,0.5);
    -webkit-border-radius:20px / 100px;
       -moz-border-radius:20px / 100px;
            border-radius:20px / 100px;
}

.webkit .countdown-box .field.dropshade:before {
    -webkit-box-shadow:0 0 7px 1px rgba(0,0,0,0.4);
       -moz-box-shadow:0 0 7px 1px rgba(0,0,0,0.4);
            box-shadow:0 0 7px 1px rgba(0,0,0,0.4);
}

.countdown-box .field .name
{
    text-align:center;
    color:#949494;
    font-size:12px;
    line-height:16px;
    -webkit-text-shadow:0 1px 0 rgba(255,255,255,0.4);
    -moz-text-shadow:0 1px 0 rgba(255,255,255,0.4);
    text-shadow:0 1px 0 rgba(255,255,255,0.4);
}

.countdown-box .field .value
{
    position:relative;
    margin:0 0 0 1px;
    height:60px;
    text-align:center;
    font-size:40px;
    line-height:60px;
    overflow:hidden;
    
    text-shadow:0 -1px 0 rgba(0, 0, 0, 0.4);
}

.countdown-box .field .value .current
{
    position:absolute;
    top:0px;
    left:0px;
    width:100%;
}

.countdown-box .field .value .next
{
    position:absolute;
    top:-54px;
    left:0px;
    width:100%;
}

.countdown-box .field .value .narrow
{
    letter-spacing:-6px;
    margin-left:-3px;
}

.countdown-box .field .value .shade
{
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background:url('img/countdown-shade.png') repeat-x 0 3px;
}
