@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@100;300;400;500;700;900&display=swap');

*, *::after, *::before {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

*::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

*::-webkit-scrollbar-track {
  box-shadow: inset 0 0 3px rgba(33, 37, 41, 0.5);
  border-radius: 1px;
}

*::-webkit-scrollbar-thumb {
  border-radius: 1px;
  background-color: rgba(33, 37, 41, 0.95);
  outline: 1px solid grey;
}

html, body {
  width: 100%;
  height: 100%;
  font-size: 16px;
}

body {
  font-family: 'Roboto', sans-serif;
  font-size: 16px;
  line-height: 1.5;
  scroll-behavior: smooth;
  position: relative;
  background: linear-gradient(315deg, rgba(0, 191, 255, 0.01) 0%, rgba(0, 107, 200, 0.01) 100%) !important;
}

label {
  font-size: 1rem;
}

.input-group-info {
  font-size: .9rem;
}

input, select, textarea {
  border-color: #cbcbcb;
}

input:disabled, 
select:disabled, 
textarea:disabled,
input[readonly],
select[readonly],
textarea[readonly] {
  background: rgba(0, 0, 0, 0.1) !important;
  pointer-events: none !important;
}

a,
button {
  letter-spacing: .5px !important;
}

.vertical-line {
  border-left: 1px solid #ccc;
  height: 25px;
  margin: 0 15px; 
}

/*! start table */
.table.data td {
  max-width: 300px;
  padding: .5rem 2px;
  font-size: 1rem;
  overflow: hidden;
}

.table.data th {
  font-weight: 500;
  font-size: 1.1rem;
  padding: .3rem .1rem;
}

.table.data td:last-child {
  padding: 0px 6px;
}

.dataTables_filter,
.dataTables_length {
  margin: 0.5rem 1.5rem 0.1rem 1.5rem !important;
}

.dataTables_length {
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.dataTables_filter {
  display: flex !important;
  justify-content: flex-end !important;
  align-items: center;
}

.dataTables_info {
  margin: 0.5rem 1.5rem !important;
  font-size: .8rem;
}

.dataTables_paginate {
  margin: 0.1rem 1.5rem !important;
  display: flex !important;
  justify-content: flex-end !important;
}

.dataTables_wrapper {
  background-color: #fff;
  /* border: 0.1rem solid rgba(51, 51, 51, 0.1); */
  padding: 0 0;
  border-radius: 0.3rem;
  border: 0.1px solid rgba(0, 0, 0, 0.2);
  margin-top: 0.5rem;
}

.paginate_button.page-item.active>.page-link {
  background-color: #656D74 !important;
  border-color: #656D74 !important;
  color: #fff !important;
  font-size: .8rem;
  padding: .3rem .6rem;
}

.paginate_button.page-item>.page-link {
  color: #656D74 !important;
  font-size: .8rem;
  padding: .3rem .6rem;
}

#row-highlight,
.row-highlight {
  background-color: #CFE2FF !important;
}

.row-danger {
  background-color: rgba(255, 0, 0, 0.3) !important;
}

.btn-table {
  padding: 0 .5rem;
  outline: none;
  border: none;
  background: transparent;
  font-size: 1.3rem;
}

.btn-table,
.link-table {
  cursor: pointer;
  display: inline-block;
  transition: all 200ms ease-in-out;
}

.btn-table:hover,
.link-table:hover {
  transform: scale(1.1) !important;
}
/*! end table */

/* tinymce */
#textareaContentTemplate {
  min-height: 20rem;
}

.tox-toolbar__primary, 
.tox-edit-area {
  border-top: .1px solid rgba(0, 0, 0, 0.1) !important;
}

/* select2  */
.select2-container {
  /* z-index: 10000; */
}

.select2 {
  /* width: 100% !important; */
}

.select2-selection--single {
  height: 38px !important;
  line-height: 38px !important;
}

.select2-selection__arrow {
}

.select2-dropdown {
}

.select2-search__field {
  padding: .5rem !important;
  border: 1px solid #457AF5 !important;
  border-radius: .3rem !important;
  outline: none !important;
}

.select2-selection__placeholder {
  line-height: 38px !important;
}

.select2-selection__rendered {
  line-height: 38px !important;
}

.select2-results__option {
}

.select2-results__option--highlighted {
}

/* Change the background color of Select2 options on hover */
.select2-results__option:hover {
  background-color: #457AF5;
}

/* navbar */
footer, nav {
  transition: all 100ms ease-in-out;
  z-index: 900 !important;
}

footer.compact {
  font-size: .9rem;
}

nav .nav-link {
  font-size: 1rem;
}

nav.compact .navbar-brand {
  font-size: 1.1rem;
}

nav.compact .nav-link {
  font-size: .9rem;
}

nav.compact button {
  font-size: .9rem;
}

.tox-promotion { 
  display: none !important;
}

/*! start responsive */
@media (min-width: 576px) {
  .title {
    font-size: 1.5rem;
  }
}

@media (min-width: 768px) {
  .title {
    font-size: 1.5rem;
  }
}

@media (min-width: 992px) {
  .title {
    font-size: 2rem;
  }
}

@media (min-width: 1200px) {
  .title {
    font-size: 2rem;
  }
}

@media (min-width: 1400px) {
  .title {
    font-size: 2rem;
  }
}
