/** COMMON */
/*****************************/
header,
#banners,
#form-dir,
#search-medic,
#especialidades,
#resultados,
.nav-directorio{
	background: #FFF;
	color: white;
    position: relative;
}

#nav-icon {
  display: none;
}

#nav-icon > i {
  cursor: pointer;
  font-size: 20px;
}

#menu-mobile,
#submenu-mobile {
  background: #1e5f96;
  box-shadow: 5px 0px 15px lightgrey;
  display: none;
  margin-left: -100%;
  max-height: 100%;
  min-height: 100%;
  overflow-y: auto;
  position: fixed;
  width: 90%;
  z-index: 99999;
}

#menu-mobile .body-options ul li,
#submenu-mobile .body-options ul li {
  list-style: none;
}

#menu-mobile .body-options ul li a,
#submenu-mobile .body-options ul li a {
  color: #FFF;
  font-size: 1.2rem;
}

#menu-mobile .cerrar {
  color: #FFF;
  cursor: pointer;
  position: absolute;
  right: 15px;
  top: 15px;
}

#submenu-mobile .return-menumob { 
  background: #1e5f96;
  border-bottom: #FFF 1px solid;
  position: fixed;
  width: 93%;
  z-index: 9999;
}

#submenu-mobile .submenu-mob-li ul {
  margin-top: 3rem;
}

#submenu-mobile .submenu-mob-li li {
  list-style: none;
}

#submenu-mobile .submenu-mob-li li a {
  color: #FFF;
  text-decoration: none;
  font-size: 1.2rem;
}

#sub-menu {
  background: #0a66b3;
  border: black 1px solid;
  border-top: white 1px solid;
  /*bottom: -200px;*/
  box-shadow: black 1px 1px 5px;
  color: white;
  display: none; 
  min-height: 100px;
  left: 0;
  position: absolute;
  right: 0;
  z-index: 10000;
}

#sub-menu i {
  cursor: pointer;
  position: absolute;
  right: .5rem;
  top: .5rem;
}

#sub-menu .submenu-content ul li {
  list-style: none;
}

#sub-menu .submenu-content ul li a {
  color: #fff;
  text-decoration: none;
}

a:hover {
  text-decoration: underline!important;
}

.arrows {
	position: relative;
}

.arrows i {
    cursor: pointer;
    margin-top: 100%;
}

.borderRadius {
  border-radius: 1rem;
}

.borderRadiusBottom {
  border-radius: 0 0 1rem 1rem;
}

.img-dr-rounded{
	border: white 3px solid;
	height: 70px!important;
	width: 70px!important;
}

.img-results-rounded{
	border: white 6px solid;
	height: 100px!important;
	width: 100px!important;
}

.likes-count {
  background: #205998;
  border-radius: 1rem;
  color: white;  
  opacity: .8;
  padding-left:.5rem; 
  padding-right:.5rem; 
  position: absolute;
  right: .5rem;
  top: .5rem;
  width: auto;
  z-index: 11;
}

.likes-count > i {
  margin-left: 5px;
}

.perfil-ok {
  left: 115px;
  position: absolute; 
  top: 120px; 
}

.stars {
	color: #fdd663;
    z-index: 11;
}

.starsBlock .stars {
	color: #FFF;
}

.yellow-line {
  border: 3px yellow solid;
  width: 40px;
}

.yellow-line.contacto {
  float: right;
}

.font-small > p {
    font-size: smaller!important;
}

/** HEADER */
/*****************************/
header > .container > .row {
	padding: 10px 0;
}

header #logo-dm img {
	height: 30px;
}

header #logo-dm img:first-child {
	height: 50px;
}	

header #logo-agsmedico img {
	height: 50px;
}

header #siguenos {
	padding-top: .7rem;
}

header #siguenos a {
	color: white;
	margin-top: .5rem; 
	text-decoration: none;
}

/** NAVIGATION */
/*****************************/
.nav-directorio {
	background: #000;
    border-bottom: #fff 1px solid;
    border-top: #fff 1px solid;
    display: table;
    width: 100%;
}

.nav-directorio li {
    display: table-cell;
    vertical-align: middle;
}

.nav-directorio a {
	color: white;
    font-weight: bold;
    line-height: 1.2;    
	text-decoration: none;
    padding-bottom: 5px;
    padding-top: 5px;
    position: relative;
}

.nav-directorio a span {
    font-weight: normal;
}

.nav-directorio i {
	font-size: 14px;
    left: 80%;
    position: absolute;
    top: 36%;
}

/** SEARCH */
/*****************************/
#search-medic {
	padding-bottom: 3rem;
	padding-top: 3rem;
}

#search-medic form {
	background: white;
	border: #2b3f54 8px solid;
	border-radius: 1.5rem;
	margin-left: 10%;
	width: 80%;
}

#search-medic form img {
	height: 30px;
	padding-left: .2rem;
	padding-right: .2rem;
}

#search-medic form input{
	border: none;
}

#search-medic form img,
#search-medic form input {
	display: inline-block;
	margin: 0;
	padding: 5px;
}

#search-medic form input[type=text]{
	width: 70%!important;
}

#search-medic form input[type=submit]{
	background: #00B0B7;
	border-radius: 0 1.5rem 1.5rem 0;
	color: white;
	float: right;
	font-weight: bold;
	width: 20%!important;
}

/** ESPECIALIDADES COLUMNS */
/*****************************/
#especialidades {
	padding-bottom: 1rem;
	padding-top: 1rem;
}

#especialidades ul li{
	list-style: none;
	/*line-height: .6;*/
}

#especialidades ul li a{
	color: white;
	font-size: 14px;
	text-decoration: none;
}

#especialidades ul li a:hover {
	text-decoration: underline;
}

#especialidades #img-celular {
	bottom: -1rem;
	height: 100%;
	position: absolute;
	right: 0;
}

#especialidades .espc-column {
    padding-left: 0;
    padding-right: 0;
	z-index: 2;
}

#especialidades .espc-column ul {
  padding-left: 0;
}

#especialidades .espc-column:nth-child(4) {
	z-index: 1;
}

/** DIRECTORIO INFO */
/*****************************/
#directorio-info {
	background: #0a66b3;
	color: white;
	padding-bottom: 1rem;
	padding-top: 1rem;
}

#directorio-info a {
  color: white;
  text-decoration: none;
}

#directorio-info img {
	width: 80%!important;
}

#directorio-info .direccion {
  font-size: 12px;
}

#directorio-info .tel-contacto {
  font-weight: bold;
}

#directorio-info .tel-contacto span {
  font-size: 13px;
}

/** FOOTER */
/*****************************/
#footer {
	background: #205998;
	color: white;
	padding-top: .7rem;
}

#footer ul li{
	display: inline-block;
	list-style: none;	
	margin: 0 .7rem;
}

#footer ul li:last-child{
	margin-right: 0;
}

#footer ul li a {
	color: white;
	text-decoration: none;
}

/** BANNERS */
/*****************************/
#banners {
	padding-bottom: 2rem;
}

#banners-column {
  visibility: hidden;
}

#banners-column li {
  height: 206px; 
  width: 320px;
}

#banners-column li a {
  height: 100%;
  left: 0;
  position: absolute;
  top: 0;
  width: 100%;
}

#banners-column li a .banner-content {
  border: #ccdbec 2px solid;
  border-radius: 1rem;
  position: relative;
}

#banners-column li a .banner-content .banner-header {
	height: 170px; 
	position: relative;
	width:100%;
    z-index: 0;
}

#banners-column li a .banner-content .layer-color {
  height: 100%;
  left: 0;
  position: absolute;
  top: 0;
  width: 100%;
  z-index: 11;
}

#banners-column li a .banner-content img {
	border-radius: .9rem .9rem 0 0;
	height: 100%;
    left: 0;
    margin-top: 0!important;
	position: absolute;
	width: 100%;
    z-index: 10; 
}

#banners-column li a .banner-content span.banner-especialidad, 
#banners-column li a .banner-content span.banner-dr {
    background: #205998;
    border-radius: .4rem;
    color: white;
    font-size: .8rem;
    left: .5rem;
    padding: .1rem .8rem;
    position: absolute;
    top: 2rem;
    white-space: initial;
    z-index: 11;
}

#banners-column li a .banner-content span.banner-especialidad {
  text-transform: uppercase!important;
} 


#banners-column li a .banner-content span.banner-dr {
    background: none;
    font-size: 1.5rem;
    line-height: initial;
    text-align: left;
    text-shadow: 1px 1px 5px #205998;
    top: 40%;
}

#banners-column li a .banner-content .banner-body .banner-body-images {
  position: relative;
}

/*#banners-column li a .banner-content .banner-body .img-dr-banner {
    border: 5px white solid;
    border-radius: 3rem;
	height: 70px!important;
    margin-left: 30%;
    margin-top: -55px!important;
    margin-bottom: 5px;
    width: 70px!important;
    z-index: 12;
}*/

#banners-column li a .banner-content .banner-body .banner-body-images .perfil-banner-ok {
  bottom: -5px;
  height: 25px;
  margin-left: 60%;
  position: absolute;
  width: 25px;
  z-index: 100;
}

.nbs-flexisel-inner {
  background: none!important;
  border: none!important;
}

/** PERFIL */
/*****************************/
#perfil-bkg-img {
  background-repeat: no-repeat!important;
  background-size: 100% 100%!important;
  height: 100%;
  opacity: .5;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: -1;
}

#perfil-domicilio .mapa iframe {
  height: 100%!important;
  width: 100%!important;
}

#perfil-domicilio h5,
#perfil-informacion h5,
#perfil-fotos h5 {
  color: #FFF;
}

#perfil-header {
  color: #205998;
  /*max-height: 160px;*/
  min-height: 160px;
}

#perfil-header .img-perfil {
  border-radius: 50%;
  height: 150px;
  left: 0;
  /*position: absolute;*/
  width: 150px;
}

#perfil-header .data-perfil {
  /*margin-left: 160px;*/
}

#perfil-header .data-perfil h3,
#perfil-header .data-perfil h4 {
  font-weight: bold;
}

#perfil-header .data-perfil .stars {
  display: inline-block;
  font-size: 1.3rem;
}

#perfil-header .data-perfil .likes-count {
  display: inline-block;
  font-size: 1rem;
  margin: 0 .3rem;
  padding-bottom: .3rem;
  padding-top: .2rem;
  position: relative!important;
  top: 0!important;
}

#perfil-menu {
  margin-bottom: 0;
}

#perfil-menu img {
  height: 70px;
  width: auto;
}

#perfil-menu .menu-option-mail,
#perfil-menu .menu-option {
  cursor: pointer;
}

#perfil-servicios .img-anuncio {
  height: 100%;
  width: 100%;
}

#compartir {
  position: absolute;
  right: 0;
  top: 30px;
}

#compartir p {
  font-weight: bold;
}

#compartir ul {
  border-radius: 1rem;
}

#compartir ul li{
  display: inline-block;
  list-style: none;
}

.bkg-data{
  background: rgba(255, 255, 255, .5);
  color: #000;
  font-weight: bold;
}

#compartir-mobile {
  /*background: #33CC66;*/
  bottom: 0;
  display: none;
  left: 0;
  margin: 0;
  position: fixed;
  width: 100%;
  z-index: 99999;
}

#compartir-mobile a img {
  height: 80px!important;
  width: auto!important;
}

#compartir-mobile a #imgGps {
  height: 90px!important;
  margin-top: -4px;
  margin-left: -2px;
}

#compartir-mobile #btnLlamar img {
  margin-top: 10px;
}

#share-mobile {
  display: none;
}

.bkg-data .col-md-12 > p {
     background: none!important;
}

/** RESULTADOS */
/*****************************/
#resultados {
	background: #1e5f96;
}

#resultados h1, 
#resultados h4, 
#resultados h5 {
  color: white;
}

#resultados .profInfo h5:nth-child(2) {
  text-transform: uppercase!important;
}

#resultados ul li {
	/*background: #00aeef;*/
	border: white 3px solid;
	border-radius: 1rem;
	list-style: none;
    min-height: 98px;
	position: relative;
}

#resultados ul li a {
	color: white;
	text-decoration: none;
}

#resultados ul li p,
#resultados ul li h5 {
	padding-left: 10rem;
}

#resultados ul li a img {
	bottom: 0;
	left: 1rem;
	margin: auto;
	position: absolute;
	top: 0;
}

#resultados #espec-header {
  position: relative;
  height: 150px;
}

#resultados #espec-bkg {
  /*background: linear-gradient(#0e68b4, #205998);*/
  background: none;
}

#resultados #espec-header .espec-info p {
  color: #fff;
}

#resultados .non-status {
  background: #FFF;
  height: auto;
  max-height: 30px;
  min-height: 30px;
}

#resultados .non-status a {
  color: #1e5f96!important;
  padding-left: 1rem;
}

#resultados .non-results h5 {
  padding-left: 0;
}

#resultados .likes-count {
  background: #205998;
  opacity: 1;
  position: relative;
  right: 0;
  top: 0;
}

.perfil-ok-results {
  left: 5rem!important;
  top: 63%!important;
}

.img-espec {
  height: 150px;
  width: 150px;
}

/** FORMULARIOS */
/*****************************/
#form-dir form {
  background: #FFF;
  border-radius: 1rem;
  color: #000;
}

#form-mensaje {
  display: none;
}

#form-mensaje h3 {
  position: relative;
}

/*#form-mensaje .close-form {
  cursor: pointer;
  font-size: .8rem!important;
  position: absolute;
  right: 6rem;
  top: 0;
}*/

#form-dir .form-control-feedback,
#form-mensaje .form-control-feedback,
#close-coment{
  display: none;
}

#close-coment {
  border: 2px #000 solid;
  border-radius: .6rem;
  background: #FFF;
  color: #000;
}

#close-coment p {
  background: #8dd7f7;
  border-radius: 0 0 .5rem .5rem;
}

/** ANUNCIO */
/*****************************/
#anuncio img {
  width: 70%;
}

/******************************************************/
/** RESPONSIVE STYLES *********************************/
/******************************************************/

/*** HEADER *******/
@media (max-width: 575px) {  
  .data-profile {
    text-align: center;
  }
  
}

@media (max-width: 720px) {
  #logo-agsmedico {
    display: none!important;
  }  
}  

@media (max-width: 959px) {  
  #nav-icon,
  #menu-mobile,
  #submenu-mobile{
    display: inline-block;
  }
  
  #compartir,
  #siguenos,
  #sub-menu, 
  .nav-directorio {
    display: none!important;
  }
  
  #container-head {
    width: 100%;
  }

  #logo-dm {
    text-align: right;
  }
  
  #especialidades .espc-column {
    text-align: center;
  }
  
  #especialidades .espc-column a {
    font-size: 16px;
  }
  
  .img-col {
    display: none;
  }
  
  .perfil-ok {
    left: 58%;
  }
  
}

@media (min-width: 720px) and (min-width: 959px) {
  #logo-agsmedico {
    display: block;
  }
}

@media (max-width: 972px){
  .nav-directorio {
    padding-left: 0!important;
    padding-right: 0!important;
  }
}
  
/*** SEARCH *******/
@media (max-width: 880px){
  #search-medic form {
    margin-left: 0;
    width: 100%;
  }
  
  #search-medic form img {
    padding-left: 0;
  }
}

@media (max-width: 767px){
  #resultados li {
    height: auto!important;
  }

}

@media (max-width: 577px){
  #form-dir {
    padding: 0 10px!important;
  }
  
  #resultados li img {
    top: 0;  
  }
}

@media (max-width: 415px){
  .banner {
    width: 250px!important;
  }
}

@media (max-width: 959px){

  #form-dir form {
    margin: 0!important;
  }
  
  #share-mobile {
    display: block;
  }
}

/*** RESULS ***/
@media (min-width: 768px) and (max-width: 991px){

  #resultados img.img-espec {
    height: auto;
    width: 100%;
  }
}

@media (min-width: 768px) and (max-width: 1199px){
    .font-small > p {
        font-size: 1vw!important;
    } 
}

@media (max-width: 991px){
  div#form-mensaje {
      padding: 0!important
  }  

    div#form-mensaje form {
      padding: 0!important
  }  

}

@media (max-width: 767px){

  #resultados #espec-bkg {
    text-align: center;
  }
}

@media (max-width: 575px){
  #resultados {
  	padding: 0 .5rem;
  }

  
  #resultados .profImg,
  #resultados .profInfo, 
  #resultados .profInfo b, 
  #resultados .profInfo span,
  #resultados .likes-count {
    display: inline-block;
    text-align: center;
    position: relative;
    width: 100%;
  }
  
  #resultados .profImg img {
    left: 0;
    position: relative;
  }

  #resultados .profInfo p,
  #resultados .profInfo h5 {
    padding-left: 0;
  }
  
  #resultados .profInfo h5:nth-child(1) span,
  #resultados .profInfo p {
  	display: none!important;
  }
  
  #perfil-bkg-img {
    display: none;
  }
  
  .perfil-ok-results {
    left: -2rem!important;
    top: 2rem!important;
  }
}

/*************************************
DATEPICKER
*************************************/
#populateDate,
#populateHour {
    border: none;
    color: #FFF;
    font-size: 1.2rem;
    font-weight: bold;
    text-align: center;
    width:100%;
}

#calendario .blueDatepickerHeader { 
    background: #164A79;
    color: #FFF;
}

#calendario .greenDatepickerBody {
    background: #05c570;
}

p.h-d {
        width: 100%;
    text-align: center;
    color: #FFF;
    font-size: 1.2rem;
    font-weight: bold;
}

/** Barra Mes **/
#calendario .ui-datepicker-header.ui-widget-header.ui-helper-clearfix.ui-corner-all{
    background: #05c570;
    border: none;
    color: #164A79;
    font-size: 2rem;
    border-bottom: #FFF 1px solid;
    border-radius: initial;
}

/** Cuerpo Calendario **/
#calendario .ui-datepicker-inline.ui-datepicker.ui-widget.ui-widget-content.ui-helper-clearfix.ui-corner-all {
    background: #05c570;
    border: none;
    color: #FFF;
    width: 100%!important;
}

/** Days **/
#calendario a.ui-state-default {
    background: #05c570!important;
    border: none!important;
    color: #FFF!important;
    text-align: center!important;
    font-size: 1.5rem!important;
    width: 3rem!important;
    height: 3rem!important;
}

#calendario a.ui-state-default:hover {
    background: #164A79!important;
    border-radius: 2rem!important;
    text-decoration: none!important;
}

#calendario a.ui-state-default.ui-state-active {
	background: #164A79!important;
    border-radius: 2rem!important;
    text-decoration: none!important;
}

#calendario td.ui-state-disabled span.ui-state-default {
    text-align: center!important;
    font-size: 1.5rem!important;
    width: 3rem;
    height: 3rem;
}

#calendario a.ui-datepicker-prev.ui-corner-all,
#calendario a.ui-datepicker-next.ui-corner-all {
    background: #164A79;
    border-radius: 2rem;
}

#calendario a.ui-datepicker-prev.ui-corner-all:hover,
#calendario a.ui-datepicker-next.ui-corner-all:hover {
    border: #000 2px solid;
}

.citaDisponible {
    font-weight: bold;
    cursor: pointer!important;
}

.citaDisponible:hover {
    background: #167A79;
    color: #FFF;
}

/*************************************
FORM
*************************************/
.textCheckbox {
    position: absolute;
    width: 170px;
}

.btnVolver {
    cursor: pointer;
    position: absolute;
    right: 1rem;
    top: 0.4rem;
}

/*************************************
Formar Parte Pages
*************************************/
h5 {
    margin-top: .5rem;
}

hr {
    border-bottom: 4px #003152 solid;
    width: 40%;
}

.greenDirMed {
    color: #05C570!important;
}

.formar-parte,
.formar-parte a {
    color: #666666;
}

.formar-parte img.imgvertical {
    height: 200px;
    max-height: 200px;
    width: auto;
}

.formar-parte img.imghorizontal {
    height: auto;
    max-width: 100%;
    width: 100%;
}

.formar-parte img.imghorizontal80 {
    height: auto;
    max-width: 80%;
    width: 80%;
}




