/**
 * WP Essentials by DIBC.
 *
 * @package dibc-wp-essentials
 * @author DIBC <info@dibc.in>
 * @license COPYRIGHT
 *
 * @wordpress-plugin
 * Plugin Name:       DIBC WP Essentials
 * Description:       Adds several essentials services from DIBC.
 * Plugin URI:        https://dibc.in/wp-essentials
 * Version:           1.0.1
 * Author:            DIBC
 * Author URI:        https://dibc.in
 * License:           COPYRIGHT
 */

.dataTables_wrapper .dataTables_filter {
  float: none;
  max-width: 400px;
  margin: 16px 0;
}
.dataTables_wrapper .dataTables_filter input {
  background-color: #eee;
  width: 100%;
  border-width: 0;
  border-radius: 0;
  color: #999;
  font-size: 14px;
  padding: 16px;
}

table.dataTable {
  border: 1px solid #ccc;
  border-collapse: collapse;
  margin: 0;
  padding: 0;
  width: 100%;
  table-layout: fixed;
}

table.dataTable tbody tr {
  background-color: #f8f8f8;
  padding: 0.35em;
}
table.dataTable tbody tr.even {
  background-color: #e8e8e8;
  padding: 0.35em;
}
table.dataTable .btn {
  color: #ffffff !important;
  border-width: 0px !important;
  border-radius: 100px;
  background-color: #3856a6 !important;
  padding: 8px;
  margin-top: 8px !important;
  cursor: pointer;
}
table.dataTable tbody tr:hover {
  background-color: #6dbd42;
  color: #ffffff;
}
table.dataTable tbody tr:hover * {
  color: #ffffff;
}

table.dataTable th,
table.dataTable td {
  padding: 0.625em;
  text-align: center;
  border-bottom: 1px solid #ddd;
}

table.dataTable thead th {
  text-align: center;
}
table.dataTable th {
  font-size: 0.85em;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background-color: #3857a7;
  color: #ffffff;
}

table.dataTable .profile-image img {
  border-radius: 50%;
}

@media screen and (max-width: 768px) {
  table.dataTable {
    border: 0;
  }

  table.dataTable thead {
    border: none;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
  }

  table.dataTable tr {
    border-bottom: 3px solid #ddd;
    display: block;
    margin-bottom: 0.625em;
  }

  table.dataTable td {
    border-bottom: 1px solid #ddd;
    display: block;
    font-size: 0.8em;
    text-align: right;
  }

  table.dataTable td::before {
    /*
    * aria-label has no advantage, it won't be read inside a table
    content: attr(aria-label);
    */
    content: attr(data-label);
    float: left;
    font-weight: bold;
    text-transform: uppercase;
  }

  table.dataTable td:last-child {
    border-bottom: 0;
  }
}

.single-doctors #main-header {
  background: #3857a7;
}
.title-bar {
  background: #3857a7;
  padding: 50px 0 0 0;
  display: flex;
}
.profile-content {
  display: flex;
  flex-direction: row-reverse;
}
.doctor-left-bar {
  width: 400px;
}
.doctor-left-bar,
.doctor-right-area {
  padding: 0 50px;
}
.doctor-right-area {
  flex: 1;
}
.profile-image {
  height: 150px;
  position: relative;
}
.profile-image img {
  border-radius: 50%;
  box-shadow: 0px 0px 10px rgba(255, 255, 255, 0.5);
  border: 3px solid #6dbc46;
}

.profile-info * {
  color: #fff;
}
.profile-content .doctor-left-bar {
  padding-top: 200px;
  background-color: #edeffa;
}
.profile-content .doctor-right-area {
  padding: 50px;
}
#doctors-sidebar {
  padding: 50px 0;
}
.more-info {
  padding: 50px;
}

@media screen and (max-width: 768px) {
  .title-bar {
    display: block;
    text-align: center;
  }
  .profile-image {
    height: auto;
  }
  .doctor-left-bar {
    width: 100%;
  }
  .profile-content {
    display: block;
  }
  .profile-content .doctor-left-bar {
    padding-top: 50px;
  }
}
