body
{
	padding: 0;
	margin: 0;
}


#contenedor{

    position: absolute;

    top: 0px;

    left: 0px;

    width: 100%;

    min-width: 400px;

    min-height: 100%;

    background-color: #ffffff;

    border: 0px solid #333333;

    border-top: 0px solid #333333;

}

.gray{
	background-color: #e8e8e8 !important;
}

#form_center {

    /*max-width: 800px;*/

    margin: auto;

    text-align: center;

    width: calc(100% - 80px);

    width: 23cm;

}


.fieldset-form{
	margin: 50px 0 0 0;
	padding: 20px 15%;
	background-color: white;
	border: none;
	border-radius: 5px;
	-webkit-box-shadow: 10px 10px 23px -9px rgba(0,0,0,0.63);
	-moz-box-shadow: 10px 10px 23px -9px rgba(0,0,0,0.63);
	box-shadow: 10px 10px 23px -9px rgba(0,0,0,0.63);
}

.fieldset-form h3{
	font-family: sans-serif;
	font-weight: bold;
	font-size: 24px;
	padding: 10px;
	text-align: center;
	color: white;
	background-color: #527DA0;
	border-radius: 5px;
}

.campo_form{
	font-size: 16px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 5px;
}

.campo_form:last-of-type{
	margin-bottom: 0px;
}

.campo_form label{

}

.relative {
	position: relative;
}

input, select, textarea {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

.campo_form input,
.campo_form select,
.campo_form textarea {
	width: 50%;
	height: 28px;
	border: 1px solid black;
	border-radius: 3px;
	transition: all .2s ease;
}

.campo_form textarea {
	resize: none;
}

.campo_form input:focus,
.campo_form select:focus,
.campo_form textarea:focus {
	outline: none;
	border: 2px solid #00b058;
}

.imgAgregar:hover
{
	transform: rotate(20deg);
	transform: scale(1.1);
	background-color: #dadada;
}

.TA_select{
	height: 100px !important;
}

.cont-cuadro{
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.cuadro{
	display: flex;
	flex-direction: column;
	align-items: center;
	height: 60px;
	background-color: white;
}

.cuadro input[type="button"]{
	background-color: #00a1ff;
	color: white;
	outline: none;
	border: none;
	border-radius: 5px;
	padding: 15px;
	font-weight: bold;
}

.cuadro input[type="submit"]{
	margin: 5px 0;
	background-color: #ababab;
	width: 100%;
	color: white;
	outline: none;
	border: none;
	border-radius: 3px;
	padding: 5px;
	font-weight: bold;
}

.cuadro input[type="text"]{
	height: 34px;
	border: none;
	border: 1px solid black;
	border-radius: 3px;
}

.tabla-enfermedades table{
	border: 1px solid white;
	width: 100%;
}

.tabla-enfermedades table .tb-encabezado{
	background-color: #527DA0;
	text-align: center;
	color: white;
	padding: 15px;
	font-weight: bold;
	font-size: 18px;
}

.tabla-enfermedades table .tb-encabezado td{
	background-color: #527DA0;
}

.tabla-enfermedades table td{
	padding: 8px;
	text-align: center;
	background-color: #e8e8e8;
}


/* --------- estilos boton buscar ------------- */

.container-3{
  vertical-align: middle;
  white-space: nowrap;
  position: relative;
}

.container-3 input#search{

  height: 30px;
  border: 1px solid gray;
  float: left;

  padding-left: 45px;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;

}

.container-3 .icon{
  position: absolute;
  top: 50%;
  margin-left: 17px;
  margin-top: 6px;
  z-index: 1;
  color: #93a2ad;

   -webkit-transition: all .45s ease;
  -moz-transition: all .45s ease;
  -ms-transition: all .45s ease;
  -o-transition: all .45s ease;
  transition: all .45s ease;
}

.container-3 input#search:focus, .container-3 input#search:active{
    outline:none;
    border: 1px solid black;
}

.container-3:hover .icon{

  color: #4f5b66;


  }

/* ------- FIN estilos boton buscar ----------- */

/* ------- Estilos div cargando --------------- */


#ocultarCredenciales
{
  position: fixed;

    top: 0px;

    left: 0px;

    width: 100%;

    min-width: 300px;

    height: 100%;

    background: rgba(0, 0, 0, 0.8);

    z-index: 100;

    text-align: center;

    display: none;
}

#ocultarCredenciales img
{
  width: 70px;
  margin: 20% auto;
  animation: 1.5s rotate360 infinite linear;
}

@keyframes rotate360 {
     to { transform: rotate(-360deg); }
}

#mensajeX
{
  width: 90%;
  margin: 0 auto;
  text-align: center;
  border: 1px solid darkgray;
  background-color: lightgray;
  color: darkgray;
  border-radius: 5px;
  margin-bottom: 20px;
  margin-top: 20px;
}


/* ----- FIN Estilos div cargando ------------- */


@media screen and (max-width: 980px) {

	#form_center {

        width: calc(100% - 80px);

        max-width: 800px;

        margin: auto;

        text-align: center;
}

@media screen and (max-width: 850px) {

	#form_center {

        width: calc(100% - 80px);

        max-width: 800px;

        margin: auto;

        text-align: center;
}

@media screen and (max-width: 500px) {

	#form_center {

        width: calc(100% - 40px);

        max-width: 800px;

        margin: auto;

        text-align: center;
}
