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

.datatable {
    width: 100% !important;
}

.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;
}


[dir=rtl] .form-check {
    padding-right: 1.25rem;
 }

 [dir=rtl] .form-check-input {
        margin-right: -1.25rem;
 }

 [dir=rtl] .px-4 {
    padding-right: 1.5rem!important;
    padding-left: 1.5rem!important;
}

[dir=rtl] div.dataTables_wrapper {
    direction: rtl;
}

.wrapper {
    position: relative;
    overflow: hidden;
  }

  .wrapper:after {
    content: '';
    display: block;
    padding-top: 100%;
  }

  .wrapper img {
    width: auto;
    height: 100%;
    max-width: none;
    position: absolute;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
  }

  .carousel-item {
    min-height: 350px;
    background: no-repeat center center scroll;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
  }
body {
    font-family: 'Tajawal', sans-serif;
      /* Margin bottom by footer height */
  margin-bottom: 30px;

  background: url('../qcc_bg.jpg') no-repeat center center fixed;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  background-size: cover;
  -o-background-size: cover;
}

.card .card-badge {
    position:absolute;
    top:-10px;
    left:-30px;
    padding:5px;
    background:green;
    color:white;
    transform:rotate(-20deg);
}
.card .card-badge-rejected {
    position:absolute;
    top:-10px;
    left:-30px;
    padding:5px;
    background:red;
    color:white;
    transform:rotate(-20deg);
}

.card .card-badge-processing {
    position:absolute;
    top:-10px;
    left:-30px;
    padding:5px;
    background:orange;
    color:white;
    transform:rotate(-20deg);
}

.card .card-badge-checked-in {
    position:absolute;
    top:-10px;
    left:-30px;
    padding:5px;
    background:black;
    color:white;
    transform:rotate(-20deg);
}

  .footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    /* Set the fixed height of the footer here */
    height: 30px;
    line-height: 30px; /* Vertically center the text there */

  }

  .footer > .container {
    padding-right: 15px;
    padding-left: 15px;
  }

  html {
    position: relative;
    min-height: 100%;
  }


  .share-btn .fa {
    padding: 10px;
    font-size: 25px;

    text-align: center;
    text-decoration: none;
    margin: 5px 5px;
    border-radius: 50%;
  }

  .share-btn .fa:hover {
      opacity: 0.7;
  }

  .share-btn  .fa-twitter {
    background: #55ACEE;
    color: white;
  }

  .share-btn  .fa-whatsapp {
    background: #4FCE5D;
    color: white;
  }

  .share-btn .fa-copy {
    background: #125688;
    color: white;
  }

  .icon-cr{
    background-image : url(../img/cr-icon.png);
    background-size: cover;
    display: inline-block;
    height: 40px;
    width: 40px;
  }


  .icon-tk{
    background-image : url(../img/tk-icon.png);
    background-size: cover;
    display: inline-block;
    height: 40px;
    width: 40px;
  }

  .icon-cr:hover,  .icon-tk:hover {
    background-color: wheat;
  }

  /* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
input[type=number] {
  -moz-appearance: textfield;
}
