body {
  background: #FFFFFF;
  font-family: 'Open Sans', sans-serif;
}
input[type="file"]{
  cursor: pointer;
}
.btn {
  box-shadow: 0 0 0 0 transparent !important;
  outline: none !important;
  border: none;
}
.btn-primary,
.btn-success,
.btn-info,
.btn-warning
.btn-danger,
.btn-secondary {
  filter: drop-shadow(2px 6px 4px rgba(0,0,0,.3));
}

.btn-warning,
.btn-warning:hover,
.btn-warning:focus {
  color: #FFFFFF;
}

.btn-float {
  position: fixed;
  bottom: 0;
  right: 0;
  width: 50px;
  height: 50px;
}

.btn-float-top {
  position: fixed;
  top: 0;
  right: 0;
  width: 35px;
  height: 35px;
  background-color: transparent;
  color: #dc3545;
}

.btn-icon {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  padding: 0;
}
.btn-icon:hover,
.btn-icon:focus {
  background-color: rgb(45,45,45);
  color: #FAFAFA;
}

.btn-close {
  position: absolute;
  top: 0;
  left: 250px;
}
.btn-logout,
.btn-logout:hover,
.btn-logout:focus {
  color: #FFFFFF;
  font-size: 14px;
}

.badge-social {
  background-color: #4267B2;
  border-color: #29487D;
  color: #FFFFFF;
}

.line {
  width: 100%;
  height: 1px;
  border-bottom: 1px dashed #FFFFFF;
  margin: 40px 0;
}

/* .form-search .form-control {
  box-shadow: 0 0 0 0 transparent !important;
  background-color: #FFFFFF;
  border: 2px solid #D2D2D2;
  border-radius: 18px;
  color: #B6B6B6;
  z-index: 1 !important;
}
.form-search .form-control::placeholder {
  color: #D2D2D2;
}
.form-search .append-search {
  margin-left: -15px;
}
.form-search .btn-primary {
  filter: none;
  box-shadow: 0 0 0 0 transparent !important;
  border-radius: 18px;
  border-top-left-radius: 15.5px !important;
  border-bottom-left-radius: 15.5px !important;
  color: #FFF;
  outline: none;
} */
.form-control,
.form-control:focus {
  background-color: transparent !important;
  box-shadow: 0 0 0 0 transparent !important;
  border: 1.5px solid #D2D2D2;
  color: #000000;
  transition: border-bottom, box-shadow .25s ease-in-out;
  -webkit-appearance: none;
  z-index: 1 !important;
}
.form-search .form-control,
.form-search .form-control:focus {
  background-color: #FFFFFF !important;
  box-shadow: 0 0 0 0 transparent !important;
  border: 1.5px solid #328CEC;
  color: #000000;
  transition: border-bottom, box-shadow .25s ease-in-out;
  -webkit-appearance: none;
  z-index: 1 !important;
}
.form-search .form-control::placeholder {
  color: #000000;
}
.form-search .append-search {
  margin-left: -15px;
}
.form-search .append-search .btn {
  background-color: #328CEC;
  color: #FFFFFF;
  filter: none;
  box-shadow: 0 0 0 0 transparent !important;
  outline: none;
}

.timedropper-field {
  background-color: #FFFFFF !important;
}
.table .t-row-head {
  background-color: #328CEC;
  color: #FFFFFF;
}
.table .t-row {
  background-color: #FFFFFF;
  color: #FFFFFF;
}
.table .t-row.draggable {
  /*cursor: ns-resize;*/
  cursor: grab;
}
.table .t-body {
  background-color: #FFFFFF;
}
.table .t-cell {
  background-color: #FFFFFF;
  border-top: 1px solid #dee2e6;
  color: #000000;
}
.table .t-cell .image {
  width: 50px;
  height: 50px;
  object-fit: cover;
}

.table thead tr th {
  background-color: rgb(50,140,236);
  color: #FFFFFF;
}
.table tbody tr td {
  vertical-align: middle;
}
.table tbody tr td .image {
  position: relative;
  width: 80px;
  height: 80px;
}
.table tbody tr td .image img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}
.table tbody tr td .badge {
  white-space: normal !important;
}
.table tbody tr td .gallery {
  width: 200px;
  height: 200px;
  box-shadow: 8px 3px 6px 0 rgba(0, 0, 0, 0.5);
  position: relative;
}

.card {
  border: 0;
  box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.26);
  transition: all .5s ease;
}
.card .image {
  background-color: #F5F5F5;
  border: 1px solid #F5F5F5;
  background-size: cover;
  background-position: center;
  width:120px;
  height:120px;
  border-radius:50%;
  position: relative;
}
.card .image img.img-fluid {
  width: 100%;
  height: 100%;
  border-radius:50%;
  object-fit: cover;
}
.card .badge-light,
.card .badge-primary {
  cursor: default;
}
.card .card-body::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}
.card .card-body::-webkit-scrollbar-track {
  background-color: #FFF;
}
.card .card-body::-webkit-scrollbar-thumb {
  border-radius: 10px;
  background-color: #E3EAEE;
}

.descriptions {
  font-size: 14px !important;
}

.hg-tabs {
   border-bottom: none;
   box-shadow: 0 4px 0 0 rgb(255, 255, 255), 0 5px 0 0 rgb(250, 250, 250);
}
.hg-tabs .nav-link {
  color:#999999;
  font-size:16px;
  text-transform: uppercase;
}
.hg-tabs .nav-link.disabled {
  color: #ccc;
}
.hg-tabs .nav-link.active, .hg-tabs .nav-link.active:hover{
  border-color: transparent;
  box-shadow: 0 3px 0 0 rgb(50,140,236);
  color: rgb(50,140,236);
  background:transparent;
}
.hg-tabs .nav-link:hover {
  border-color: transparent;
  box-shadow: 0 3px 0 0 #f0f0f0;
}
.hg-tabs .nav-link.active:focus{
  border-color: transparent;
}

.gallery {
  width: 100%;
  height: 250px;
  box-shadow: 8px 3px 6px 0 rgba(0, 0, 0, 0.5);
  position: relative;
}
.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gallery .buttons {
  position: absolute;
  left: 0;
  bottom: 16px;
  width: 100%;
}

.avatar-profile {
  height: 110px;
  width: 110px;
  margin-top: 0px;
  margin-left: 0px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center center;
  box-shadow: 8px 3px 6px 0 rgba(204, 204, 204, 0.8);
}
.avatar-image {
  height: 60px;
  width: 60px;
  margin-top: 0px;
  margin-left: 0px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center center;
  box-shadow: 8px 3px 6px 0 rgba(204, 204, 204, 0.8);
}

#map {
  width: 100%;
  height: 200px;
}


.lds-roller {
  display: inline-block;
  position: relative;
  width: 64px;
  height: 64px;
}
.lds-roller div {
  animation: lds-roller 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
  transform-origin: 32px 32px;
}
.lds-roller div:after {
  content: " ";
  display: block;
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #328CEC;
  margin: -3px 0 0 -3px;
}
.lds-roller div:nth-child(1) {
  animation-delay: -0.036s;
}
.lds-roller div:nth-child(1):after {
  top: 50px;
  left: 50px;
}
.lds-roller div:nth-child(2) {
  animation-delay: -0.072s;
}
.lds-roller div:nth-child(2):after {
  top: 54px;
  left: 45px;
}
.lds-roller div:nth-child(3) {
  animation-delay: -0.108s;
}
.lds-roller div:nth-child(3):after {
  top: 57px;
  left: 39px;
}
.lds-roller div:nth-child(4) {
  animation-delay: -0.144s;
}
.lds-roller div:nth-child(4):after {
  top: 58px;
  left: 32px;
}
.lds-roller div:nth-child(5) {
  animation-delay: -0.18s;
}
.lds-roller div:nth-child(5):after {
  top: 57px;
  left: 25px;
}
.lds-roller div:nth-child(6) {
  animation-delay: -0.216s;
}
.lds-roller div:nth-child(6):after {
  top: 54px;
  left: 19px;
}
.lds-roller div:nth-child(7) {
  animation-delay: -0.252s;
}
.lds-roller div:nth-child(7):after {
  top: 50px;
  left: 14px;
}
.lds-roller div:nth-child(8) {
  animation-delay: -0.288s;
}
.lds-roller div:nth-child(8):after {
  top: 45px;
  left: 10px;
}
@keyframes lds-roller {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
.saving-text {
  color: #328CEC;
}
.sk-fading-circle {
  width: 40px;
  height: 40px;
  position: relative;
}

.sk-fading-circle .sk-circle {
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
}

.sk-fading-circle .sk-circle:before {
  content: '';
  display: block;
  margin: 0 auto;
  width: 15%;
  height: 15%;
  background-color: #328CEC;
  border-radius: 100%;
  -webkit-animation: sk-circleFadeDelay 1.2s infinite ease-in-out both;
          animation: sk-circleFadeDelay 1.2s infinite ease-in-out both;
}
.sk-fading-circle .sk-circle2 {
  -webkit-transform: rotate(30deg);
      -ms-transform: rotate(30deg);
          transform: rotate(30deg);
}
.sk-fading-circle .sk-circle3 {
  -webkit-transform: rotate(60deg);
      -ms-transform: rotate(60deg);
          transform: rotate(60deg);
}
.sk-fading-circle .sk-circle4 {
  -webkit-transform: rotate(90deg);
      -ms-transform: rotate(90deg);
          transform: rotate(90deg);
}
.sk-fading-circle .sk-circle5 {
  -webkit-transform: rotate(120deg);
      -ms-transform: rotate(120deg);
          transform: rotate(120deg);
}
.sk-fading-circle .sk-circle6 {
  -webkit-transform: rotate(150deg);
      -ms-transform: rotate(150deg);
          transform: rotate(150deg);
}
.sk-fading-circle .sk-circle7 {
  -webkit-transform: rotate(180deg);
      -ms-transform: rotate(180deg);
          transform: rotate(180deg);
}
.sk-fading-circle .sk-circle8 {
  -webkit-transform: rotate(210deg);
      -ms-transform: rotate(210deg);
          transform: rotate(210deg);
}
.sk-fading-circle .sk-circle9 {
  -webkit-transform: rotate(240deg);
      -ms-transform: rotate(240deg);
          transform: rotate(240deg);
}
.sk-fading-circle .sk-circle10 {
  -webkit-transform: rotate(270deg);
      -ms-transform: rotate(270deg);
          transform: rotate(270deg);
}
.sk-fading-circle .sk-circle11 {
  -webkit-transform: rotate(300deg);
      -ms-transform: rotate(300deg);
          transform: rotate(300deg);
}
.sk-fading-circle .sk-circle12 {
  -webkit-transform: rotate(330deg);
      -ms-transform: rotate(330deg);
          transform: rotate(330deg);
}
.sk-fading-circle .sk-circle2:before {
  -webkit-animation-delay: -1.1s;
          animation-delay: -1.1s;
}
.sk-fading-circle .sk-circle3:before {
  -webkit-animation-delay: -1s;
          animation-delay: -1s;
}
.sk-fading-circle .sk-circle4:before {
  -webkit-animation-delay: -0.9s;
          animation-delay: -0.9s;
}
.sk-fading-circle .sk-circle5:before {
  -webkit-animation-delay: -0.8s;
          animation-delay: -0.8s;
}
.sk-fading-circle .sk-circle6:before {
  -webkit-animation-delay: -0.7s;
          animation-delay: -0.7s;
}
.sk-fading-circle .sk-circle7:before {
  -webkit-animation-delay: -0.6s;
          animation-delay: -0.6s;
}
.sk-fading-circle .sk-circle8:before {
  -webkit-animation-delay: -0.5s;
          animation-delay: -0.5s;
}
.sk-fading-circle .sk-circle9:before {
  -webkit-animation-delay: -0.4s;
          animation-delay: -0.4s;
}
.sk-fading-circle .sk-circle10:before {
  -webkit-animation-delay: -0.3s;
          animation-delay: -0.3s;
}
.sk-fading-circle .sk-circle11:before {
  -webkit-animation-delay: -0.2s;
          animation-delay: -0.2s;
}
.sk-fading-circle .sk-circle12:before {
  -webkit-animation-delay: -0.1s;
          animation-delay: -0.1s;
}

@-webkit-keyframes sk-circleFadeDelay {
  0%, 39%, 100% { opacity: 0; }
  40% { opacity: 1; }
}

@keyframes sk-circleFadeDelay {
  0%, 39%, 100% { opacity: 0; }
  40% { opacity: 1; }
}

p.gallery-caption{
  background-color: #fff;
  padding: 16px 24px;
  border-radius: 8px;
  max-width: 80%;
  margin: auto;
  font-size: 0.8em;
}

.dropdown-menu a{
  white-space: pre-wrap;
}

.video-box{
  height: auto;
  min-height: 250px;
}
.video-box video{
  background-color: #000;
  height: 300px;
  width: 100%;
  object-fit: contain;
}
.video-box .gallery-caption{
  margin: 16px auto;
  border: 1px solid rgba(0,0,0,0.15);
}
.video-box .buttons{
  padding-top: 16px;
  position: initial;
  display: inline-block;
}
tr.sortable-row, .ui-sortable-handle{
  cursor: grab;
  background-color: #fff;
}
tr.sortable-row:active, .ui-sortable-helper{
  cursor: grabbing;
  transition: box-shadow 0.2s ease;
}
tr.sortable-row.ui-sortable-helper{
  box-shadow: 2px 2px 5px rgba(0,0,0,0.3);
  /*border: 1px solid rgba(0,0,0,0.2);*/
}
tr .left-col, tr .right-col{
  display: inline-block;
  vertical-align: middle;
}
tr .right-col{
  flex: 1 0 auto;
}
td.doctor-info{
  white-space: nowrap;
}
.right-col span{
  margin-right: auto;
}
.right-col .doctor-name h5{
  margin-bottom: 0;
  white-space: normal;
}
.right-col .doctor-speciality{
  /*padding-right: 8px;*/
  border-right: 1px solid rgba(0,0,0,0.25);
  border-radius: 0;
}
.right-col .doctor-speciality:last-of-type{
  border-right-width: 0px;
}
.doctor-rating{
  margin-bottom: 16px;
}
.doctor-rating i.fa-star{
  vertical-align: middle;
}
span.doctor-recomendations {
  font-size: 0.7em;
  vertical-align: middle;
  display: inline-block;
  border-radius: 0.25em;
  padding: 0.2em 0.4em;
  line-height: 1;
}
.doctor-social{
  max-width: 160px;
}
.form-control:disabled, .form-control[readonly] {
  background-color: #e9ecef !important;
  opacity: 1;
}
/* ---------------------------------------------------------------------- PESTAÑAS DE DOCTORES */
.banner-preview{
  width: 100%;
  object-fit: contain;
  max-height: 400px;
  border: 1px dashed rgba(0,0,0,0.4);
  margin-right: auto;
  margin-bottom: 16px;
  display: block;
}
.group-selector button{
  margin-right: 16px;
}
.tab-group nav{
  width: 100%;
}
.tab-group{
  overflow-x: hidden;
}
.tab-group .tab-content{
  flex: 1 0 100%;
  max-width: 100%;
  padding: 48px 16px 0px;
  margin-top: -16px;
  display: flex;
  flex-wrap: wrap;
  /*border-bottom: 2px solid rgba(0,0,0,0.4);*/
}
.tab-group .tab-content:last-child{
  /*border-bottom: none;*/
}
.tab-group .tab-content h3{
  background-color: #328CEC;
  color: white;
  padding: 8px 16px;
  margin: 16px -16px;
  flex: 1 0 100%;
}
.tab-group h2{
  font-weight: bold;
  font-size: 36px;
}
.tab-group h2, .tab-group nav{
  padding: 0 16px;
}
.tab-content .table thead th, .table .t-row-head{
  background-color: #555;
  border-bottom-color: #ddd;
  font-weight: bold;
}
.tab-content p.description{
  font-size: 11px;
}
.tab-content table, .tab-content .missing-info, .tab-content .table{
  margin-left: 16px;
  border: 1px solid #dee2e6;
}
.tab-content form, .tab-content table, .tab-content .form-container, .tab-content .missing-info, .tab-content .table{
  flex: 1 0 45%;
}
.cannot-stretch{
  flex: 1 0 100%;
}
table.cannot-stretch{
  margin-left: 0;
  margin-top: 16px;
}

/* ------------------------------------------------------------------ CUENTA Y PERFIL DE DOCTORES */
a{
  cursor: pointer;
}
.tab-group.doctor-tab{
  overflow: unset;
}
.profile{
  display: flex;
  flex-wrap: wrap;
}
.profile .profile-banner{
  height: 180px;
  width: 100%;
  flex: 1 0 100%;
  background-size: cover;
  background-position: center;
  background-color: #ddd;
  position: relative;
  margin: 0;
  overflow: hidden;
}
.profile .profile-banner input, .profile .profile-photo input{
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  opacity: 0;
}
.profile .profile-photo{
  height: 180px;
  width: 180px;
  flex: 0 0 180px;
  background-size: cover;
  background-position: center;
  border: 3px solid lightgray;
  border-radius: 4px;
  background-color: #fff;
  position: relative;
  margin: -96px 48px 0 32px;
  overflow: hidden;
}
.profile .profile-photo label, .profile .profile-banner label{
  position: absolute;
  font-size: 14px;
  margin: 0;
  padding: 4px 8px;
  text-align: center;
  background-color: rgba(0,0,0,0.5);
  color: #fff;
  transition: 0.2s ease;
}
.profile .profile-photo label{
  width: 100%;
  bottom: -32px;
}
.profile .profile-photo:hover label{
  bottom: 0;
}
.profile .profile-banner label{
  padding: 4px 16px;
  top: -32px;
}
.profile .profile-banner:hover label{
  top: 0;
}
.profile .profile-name{
  flex: 1 0 0;
  display: flex;
  flex-wrap: wrap;
  margin-top: 16px;
}
.profile .profile-name .form-group{
  display: flex;
  align-items: center;
  flex: 1 0 100%;
}
.profile .profile-name .form-group label{
  width: 100px;
  text-align: right;
  padding-right: 16px;
  margin: 0;
}
.profile .profile-name .form-group input{
  width: 200px;
}
.tab-content .table{
  width: auto;
}
.gallery-row{
  width: 100%;
}
#add_gallery_button{
  display: block;
  margin: auto;
}
.gallery-row>div{
  margin: 0 8px;
  flex: 1 1 22%;
}
.form-group.phone-input{
  display: flex;
}
.form-group.phone-input input{
  border-radius: 0 0.25rem 0.25rem 0;
}
.form-group.phone-input::before{
  content: '+52';
  background-color: #efefef;
  border-right: 1px solid #D2D2D2;
  border: 1px solid #ccc;
  display: inline-block;
  align-self: center;
  padding: .375rem .75rem;
  border-radius: 0.25rem 0 0 0.25rem;
  border-right: none;
}
.form-group.file-input{
  display: flex;
  border: 1.5px solid #D2D2D2;
  padding: .375rem .75rem;
}
.form-group.file-input .file-label{
  padding-left: 8px;
  cursor: pointer;
  align-self: center;
  flex: 1 0 auto;
}
.form-group.file-input input{
  display: none;
}