/* ============================================================
   SELECT CUSTOMIZADO
   ============================================================ */

#chamamento-medico select option:not(:first-child) {
  color: black !important;
  font-weight: 500;
  font-family: 'Rawline';
}

#chamamento-medico select option:first-child,
#chamamento-medico select:has(option:first-child:checked) {
  color: #919191 !important;
  font-weight: 500;
  font-family: 'Rawline';
}

#chamamento-medico .select-container {
  position: relative;
  display: inline-block;
  width: 100%;
}

#chamamento-medico .select-container select {
  appearance: none;
}

#chamamento-medico .select-container__icon {
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  pointer-events: none;
  color: #303030;
}

/* ============================================================
   CHECKBOX CUSTOMIZADO
   ============================================================ */

#chamamento-medico .custom-checkbox {
    width: 20px;
    height: 20px;
    position: relative;
    margin-right: 10px;
    margin-bottom: 1px;
    cursor: pointer;
}


#chamamento-medico .custom-checkbox:not(:checked) {
  background-color: transparent;
  border: 1px solid #919191;
  border-radius: 4px;
}

#chamamento-medico .custom-checkbox:not(:checked):hover {
  background-color: #e9ecef;
  border: 2px solid #919191;
}

#chamamento-medico .custom-checkbox:checked {
  background-color: transparent;
  border: 1px solid #303030;
  border-radius: 4px;
}

#chamamento-medico .custom-checkbox:checked:before {
  font-family: 'FontAwesome';
  content: '\f00c';
  color: #303030;
  position: absolute;
  top: 4px;
  left: 5px;
  font-size: 10px;
}

.custom-checkbox {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  outline: none;
}

/* ============================================================
   DATATABLE
   ============================================================ */
#chamamento-medico .custom-footer {
  margin-top: 20px;
}

#chamamento-medico table.dataTable thead .sorting::after, 
#chamamento-medico table.dataTable thead .sorting_asc::after, 
#chamamento-medico table.dataTable thead .sorting_desc::after, 
#chamamento-medico table.dataTable thead .sorting_asc_disabled::after, 
#chamamento-medico table.dataTable thead .sorting_desc_disabled::after,
#chamamento-medico table.dataTable thead .sorting::before, 
#chamamento-medico table.dataTable thead .sorting_asc::before, 
#chamamento-medico table.dataTable thead .sorting_desc::before, 
#chamamento-medico table.dataTable thead .sorting_asc_disabled::before, 
#chamamento-medico table.dataTable thead .sorting_desc_disabled::before {
  top: 50px !important;
}

#chamamento-medico table.dataTable thead .sorting::after, 
#chamamento-medico table.dataTable thead .sorting_asc::after, 
#chamamento-medico table.dataTable thead .sorting_desc::after, 
#chamamento-medico table.dataTable thead .sorting::before, 
#chamamento-medico table.dataTable thead .sorting_asc::before, 
#chamamento-medico table.dataTable thead .sorting_desc::before {
  color: #000;
}

/* ============================================================
   MENU
   ============================================================ */

#chamamento-medico .nav .nav-item .nav-link.active {
  background-color: #262626;
  color: #fff;
}

#chamamento-medico .nav .nav-item .nav-link {
  border: 1px solid rgba(0, 0, 0, 0.125);
  color: #000;
}

#chamamento-medico .form-inputs {
  height: 95px;
}

/* ============================================================
   RESPONSIVIDADE
   ============================================================ */

@media (max-width: 767px) {
  #chamamento-medico .custom-footer {
    margin-top: 20px;
  }
}

@media (max-width: 991px) {
  #chamamento-medico #btn-download, 
  #chamamento-medico #btn-search, 
  #chamamento-medico #btn-register {
    width: 100%;
  }

  #chamamento-medico .form-inputs {
    height: auto;
  }
}
