html { 
  scroll-behavior: smooth; 
}

body {
    margin: 0;
    font-size: 0.875rem;
    font-weight: 400;
    line-height: 1.4;
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

.navbar-vertical .navbar-brand>img, .navbar-vertical .navbar-brand-img {
    max-width: 100%;
    max-height: inherit;
}

p {
    font-size: 0.875rem;
    line-height: 1.4;
    margin-bottom: 5px;
    font-weight: 400;
}

h1, .h1, h2, .h2, h3, .h3, h4, .h4, h5, .h5, h6, .h6 {
    margin-top: 0;
    /*color: #556072;*/
    letter-spacing: -0.01rem;    
}

  #textarea h1 {
    font-size: 1.075rem ;
    line-height: 1.6;    
    font-family: "Roboto", Helvetica, Arial, sans-serif;
    font-weight: 600;
    margin-bottom: 0.1rem;    
  }
 
  #textarea h2 {
    font-size: 0.975rem ;
    line-height: 1.4;    
    font-family: "Roboto", Helvetica, Arial, sans-serif;
    font-weight: 500;
    margin-bottom: 0.1rem;
  }

#textarea h3, #textarea h4 {
    font-size: 0.925rem;
    line-height: 1.4;    
    font-family: "Roboto", Helvetica, Arial, sans-serif;
    font-weight: 500;
    color: #7b809a;
    margin-bottom: 0.1rem;    
}

#textarea p, #textarea li {
  font-size: 0.875rem !important;
  line-height: 1.4;
  margin-bottom: 5px;
  font-weight: 400;
}

#textarea table {
    table-layout: auto;
    width: 100%;
    
    margin-bottom: 15px;
    border-collapse: collapse;  
}

/* #textarea tr:hover {background-color: #ddd;} */
#textarea tr:nth-child(even) {background-color: #ddd;}

#textarea th {
    border-bottom: 1px solid #ddd;
    text-align: center; 
}

#textarea td {
    text-align: center; 
}

#textarea {
    width: 100%;
    outline: none;
    resize: none;
    overflow: hidden;
    min-height:90px;
    overflow:scroll;
}

#textareaTitle {
    width: 100%;
    outline: none;
    resize: none;
    overflow: hidden;
    min-height:100px;
    overflow:scroll;
}

#textareaUserInput {
    width: 100%;
    outline: none;
    resize: none;
    overflow: hidden;
    min-height:100px;
    overflow:scroll;
}

#textareaInstruction {
    width: 100%;
    outline: none;
    resize: none;
    overflow: hidden;
    min-height:120px;
    overflow:scroll;
}

.hide {
     display: none!important;
}

@keyframes loader {
    0% {
      background: transparent;
      left: -10px;
      transform-origin: 10px 35px;
    }
    30% {
      background: white;
    }
    100% {
      background: transparent;
      left: 10px;
      transform-origin: -10px 35px;
    }
}


@media (max-width: 991.98px) {
  .dropdown:not(.dropdown-hover) .dropdown-menu {
      margin-top: 0.8125rem !important;
  }
}

.navbar-dark .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.85%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

.Notcard-switch {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    word-wrap: break-word;
    background-color: #f0f2f5 !important;;
    background-clip: border-box;
    border: 0 solid rgba(0, 0, 0, 0.125);
    border-radius: 0.75rem;
}

.input-group.has-danger .form-label  {
  color: #f44336;
}

.input-group.has-warning .fileinput .fileinput-preview {
  color: #ff9800;
}

.input-group.has-warning .fileinput .thumbnail {
  border-color: #ff9800;
}

.input-group.has-error .fileinput .fileinput-preview {
  color: #f44336;
}

.input-group.has-error .fileinput .thumbnail {
  border-color: #f44336;
}

.input-group.has-success .fileinput .fileinput-preview {
  color: #4caf50;
}

.input-group.has-success .fileinput .thumbnail {
  border-color: #4caf50;
}


.invalid-feedback {
    font-size: .75em;
}

.dataTable-wrapper .dataTable-container .table thead tr th {
    color: #454856;
    text-transform: uppercase;
    font-size: 0.75rem;
}

.description-text, .description-text p, .description-text h4 {
    margin-bottom: 0 !important;
    font-weight: 400 !important;
    font-size: .875rem !important;
    line-height: 1.375 !important;
    color: #7b809a;
    letter-spacing: 0rem !important;
}

.select_dropdown:after {
    position: absolute;
    top: 18px;
    right: 10px;
    width: 0;
    height: 0;
    padding: 0;
    content: '';
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid rgba(0, 0, 0, 0.12);
    pointer-events: none;
}


.list-group-item.active {
    background-color: #ced4da;
    border-color: #ced4da;
}

.input-group.input-group-dynamic.is-focused label, .input-group.input-group-static.is-focused label {
    color: #344767;
}

.input-group.input-group-outline.is-focused .form-label+.form-control,
.input-group.input-group-outline.is-filled .form-label+.form-control {
  border-color: #344767 !important;
  border-top-color: transparent !important;
  box-shadow: inset 1px 0 #344767, inset -1px 0 #1A73E8, inset 0 -1px #344767;
}

.input-group.input-group-outline.is-focused .form-label:before,
.input-group.input-group-outline.is-focused .form-label:after,
.input-group.input-group-outline.is-filled .form-label:before,
.input-group.input-group-outline.is-filled .form-label:after {
  border-top-color: #344767;
  box-shadow: inset 0 1px #344767;
}
.input-group.input-group-outline.is-focused .form-label,
.input-group.input-group-outline.is-filled .form-label {
  width: 100%;
  height: 100%;
  font-size: 0.6875rem !important;
  color: #344767;
  display: flex;
  line-height: 1.25 !important;
}

.input-group.input-group-dynamic.is-focused label,
.input-group.input-group-dynamic.is-filled label,
.input-group.input-group-static.is-focused label {
 /* color: #1A73E8; */
}

.input-group.input-group-dynamic .form-control, .input-group.input-group-dynamic .form-control:focus, 
.input-group.input-group-static .form-control, .input-group.input-group-static .form-control:focus {
    background-image: linear-gradient(0deg, #344767 2px, rgba(156, 39, 176, 0) 0), linear-gradient(0deg, #d2d2d2 1px, rgba(209, 209, 209, 0) 0);
    border-radius: 0 !important;
}

.choices .choices__input {
    background-image: linear-gradient(0deg, #344767 2px, rgba(156, 39, 176, 0) 0), linear-gradient(0deg, #d2d2d2 1px, rgba(209, 209, 209, 0) 0);
    background-size: 0 100%, 100% 100%;
}

.choices .choices__list.choices__list--single, .choices .choices__list.choices__list--single:focus {
    background-image: linear-gradient(0deg, #344767 2px, rgba(156, 39, 176, 0) 0), linear-gradient(0deg, #d2d2d2 1px, rgba(209, 209, 209, 0) 0);
}

.dataTable-table>tbody>tr>td, .dataTable-table>tbody>tr>th, .dataTable-table>tfoot>tr>td, .dataTable-table>tfoot>tr>th, .dataTable-table>thead>tr>td, .dataTable-table>thead>tr>th {
    vertical-align: top;
    padding: 4px 10px;
}


.page-item.active .page-link {
    z-index: 3;
    color: #fff;
    background-color: #344767;
    border-color: #344767;
}

.choices__input {
  background-color: transparent !important;
  width: 100% !important;
}

.navbar-nav>.nav-item .nav-link.active+.collapse .nav-item.active .nav-link.active, .sidenav[data-color="info"] .navbar-nav>.nav-item .nav-link.active+.collapsing .nav-item.active .nav-link.active {
    background-image: linear-gradient(195deg, #344767 0%, #344767 100%) !important;
}

.navbar-vertical .nav-item .nav-link, .navbar-nav>.nav-item {
    color: #344767 !important;
}

.sidenav .collapse .nav-item .nav-link.active {
    color: #fff !important;
    background-image: linear-gradient(195deg, #344767 0%, #344767 100%) !important;    
}

.dataTable-wrapper .dataTable-bottom .dataTable-pagination .dataTable-pagination-list .active a {
    background: transparent;
    background-image: linear-gradient(195deg, #344767 0%, #344767 100%) !important;
}

.dataTable-wrapper .dataTable-top .dataTable-dropdown label .dataTable-selector {
    background-color: #f0f2f5 !important;
    color: #7b809a !important;
}
