body {font-family: "Lato", sans-serif;}

/* Style the tab */
div.tab {
    overflow: hidden;
    border: 1px solid #ccc;
    background-color: #f1f1f1;
}

/* Style the links inside the tab */
div.tab a {
    float: left;
    display: block;
    color: black;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    transition: 0.3s;
    font-size: 17px;
}

@media (max-width: 600px){
	div.tab a {
		width:100%;
	}
}

/* Change background color of links on hover */
div.tab a:hover {
    background-color: #ddd;
}

/* Create an active/current tablink class */
div.tab a:focus, .active {
    background-color: #ccc;
}

/* Style the tab content */
.tabcontent {
    display: none;
    padding: 6px 12px;
    /*border: 1px solid #ccc;*/
    border-top: none;
}

*{
	/*font-family:Arial;*/
	margin: 0px;
}

table {
	border-radius: 5px;	
    border-collapse: collapse;
	font-size: large;
}

th {
    text-align: left;
	color:blue;
}

table, th, td{
	border: 2px solid #21abcd;
	padding: 10px;
}

body{
	display: block;	
}

#campo100,#campo60,#campo50,#campo30,#campo25,#campo16,.campos{
	width: 99%;
}

#dia{
	
}

#dia > div{
	border-style:dotted;
	min-height: 50px;
}

header{
	width:100%;
}

header h1{
	margin-top:0;	
}

header *{
	float:left;
	vertical-align:middle;
}

header  img{
	width: 300px;
	margin: 0 5%; 
	
}

form{
	width:100%;
	clear: both;
	display:inline-block;
}

.campos, .login{
	/*width: 50%;*/
	border: 1px solid black;
	border-radius: 5px;
	float:left;	
	margin:1px 0;
}

.campos label,.login label{	
	#background-color: #21abcd; 
	#¿border: 1px solid #21abcd;
	border-radius: 5px 0 0 5px;
	#color: blue;
	font-weight: bold;
	display: block;	
}

.campos input, .campos select, .campos textarea,
.login input, .login select, .login textarea{
	width: calc(100% - 2px);
	border: 0px;
	border-bottom: 2px solid gray;
	border-radius: 0 0 5px 5px;
	font-size: large;
}

.campos input[type=radio]{
	margin-left: 50px;
	width:auto;
	display: inline-block;
}

.campos input[type=checkbox]{
	margin-left: 20px;
	display: inline-block;
	width:auto;
}

.campos input[type=submit],.campos input[type=button],.login input[type=submit]{
	width: auto;
	height:35px;
	color: black;
	font-weight:bold;
	border-radius: 5px;
	float:right;
	border: 1px solid black;
	margin-left: 10px;
}

.campos input[type=submit]:hover,.login input[type=submit]:hover{
	color: white;
	background: linear-gradient(to bottom, gray 0%, black 100%);
}
label button{
	margin: -3px;
}

#f_general .campos{
	min-height: 46px;
}

/*////////COLORES MEDICINA GENERAL/////////*/
#f_general input, #f_general select, #f_general textarea{
	border-bottom: 2px solid blue;
}

#f_general .campos{
	border: 1px solid #21abcd;
	float:left;
}

#f_general input[type=submit],#f_general input[type=button]{
	color: black;
	border: 1px solid blue;
	background-color: #93cede;
}

#f_general input[type=submit]:hover,#f_general input[type=button]:hover{
	color: white;
	background: linear-gradient(to bottom, #93cede 0%, #2155cd 100%);
}
/*////////COLORES /////////*/
#f_enfermeria input, #f_enfermeria select, #f_enfermeria textarea{
	border-bottom: 2px solid green;
}

#f_enfermeria .campos{
	border: 1px solid #21cd99;
}

#f_enfermeria input[type=submit]{
	color: black;
	border: 1px solid green;
	background-color: #93dec9;
}

#f_enfermeria input[type=submit]:hover{
	color: white;
	background: linear-gradient(to bottom, #93dec9 0%, #1aa178 100%);
}
/*////////COLORES /////////*/
#f_odontologia input, #f_odontologia select, #f_odontologia textarea{
	border-bottom: 2px solid red;
}

#f_odontologia .campos{
	border: 1px solid #e04171;
}

#f_odontologia .campos label,#f_odontologia .campos .opcion{
	display:inline;
}

#f_odontologia input[type=submit]{
	color: black;
	border: 1px solid red;
	background-color: #de93a8;
}

#f_odontologia input[type=submit]:hover{
	color: white;
	background: linear-gradient(to bottom, #de93a8 0%, #cc5879 100%);
}
/*////////COLORES /////////*/
#f_oftalmologia input, #f_oftalmologia select, #f_oftalmologia textarea{
	border-bottom: 2px solid orange;
}

#f_oftalmologia .campos{
	border: 1px solid #d8947f;
}

#f_oftalmologia input[type=submit]{
	color: black;
	border: 1px solid orange;
	background-color: #dea493;
}

#f_oftalmologia input[type=submit]:hover{
	color: white;
	background: linear-gradient(to bottom, #dea493 0%, #cc7358 100%);
}

.onoff {
  display: -moz-inline-stack;
  display: inline-block;
  vertical-align: middle;
  *vertical-align: auto;
  zoom: 1;
  *display: inline;
  position: relative;
  cursor: pointer;
  width: 55px;
  height: 30px;
  line-height: 30px;
  font-size: 14px;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  float: right;
}
.onoff label {
  position: absolute;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
  cursor: pointer;
  background: #cd3c3c;
  border-radius: 5px;
  font-weight: bold;
  color: #FFF;
  -webkit-transition: background 0.3s, text-indent 0.3s;
  -moz-transition: background 0.3s, text-indent 0.3s;
  -o-transition: background 0.3s, text-indent 0.3s;
  transition: background 0.3s, text-indent 0.3s;
  text-indent: 27px;
  -webkit-box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.4) inset;
  -moz-box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.4) inset;
  box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.4) inset;
}
.onoff label:after {
  content: 'NO';
  display: block;
  position: absolute;
  top: 0px;
  left: 0px;
  width: 100%;
  font-size: 12px;
  color: #591717;
  text-shadow: 0px 1px 0px rgba(255, 255, 255, 0.35);
  z-index: 1;
}
.onoff label:before {
  content: '';
  width: 15px;
  height: 24px;
  border-radius: 3px;
  background: #FFF;
  position: absolute;
  z-index: 2;
  top: 3px;
  left: 3px;
  display: block;
  -webkit-transition: left 0.3s;
  -moz-transition: left 0.3s;
  -o-transition: left 0.3s;
  transition: left 0.3s;
  -webkit-box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.4);
  -moz-box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.4);
  box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.4);
}
.onoff input:checked + label {
  background: #378b2c;
  text-indent: 8px;
}
.onoff input:checked + label:after {
  content: 'SI';
  color: #091707;
}
.onoff input:checked + label:before {
  left: 37px;
}

@media (min-width: 780px){
	header h1{
		margin-top:100px;
	}
}
@media (min-width: 600px){
	.login{
		position: relative;
		left: 37.5%;
		top: 35%;
	}
	
	#campo50, #fem, #masc, .campos{
		width: calc(((100% / 24)*12) - 3px);
		margin-right: 1px;
	}
	#campo100{
		width: calc(((100% / 24)*24) - 2px);
	}
	#campo60{
		width: calc(((100% / 24)*16) - 3px); 
		margin-right: 1px;
	}
	#campo30{
		width: calc(((100% / 24)*8) - 3px);
		margin-right: 1px;
	}
	#campo25{
		width: calc(((100% / 24)*6) - 3px);
		margin-right: 1px;
	}
	#campo16{
		width: calc(((100% / 24)*4) - 3px);
		margin-right: 1px;
	}
}

/*Emergente*/
#emergente{
	display:none;
	width: 100%;
	height: 100%;
	position: fixed;
	top: 0;
	left: 0;
	background-color: RGBA(0,0,0,0.75);
	text-align: center;
}
/*FIN Emergente*/

/*ODONTOGRAMA*/
.odontograma{
	display:block;
	font-family: "Lato", sans-serif;
}

.odontograma label{
	width:100%;
	font-weight: bold;
}

.sectorOdonto{
	border: 0;
	width: 49%;
	float:left;
	margin-right: 1px;
	text-align: center;
}

.sectorOdonto:nth-child(2n+1) .sectorDiente{
	float:right;
}
.sectorDiente,.sectorDienteMuestra{
	display:block;
	border: 1px solid #ccc;
	border-bottom: 1px solid #ccc;
	width: 50%;
	border-radius: 5px;
	float:left;
	width: 40px;    
	text-align: center;
	margin-right: 1px;
}

.selectorDiente::-ms-expand {
    display: none;
}

.selectorDiente::selection,.diente::selection {
    font-size:20px;
}

.selectorDiente::-ms-expand {
    display: none;
}

.diente,.selectorDiente{
	border:0;
	border-bottom: 0;
	background-position: center center;
	background-repeat: no-repeat;
	background-size: auto 100%;
	width:40px;
	/*height:40px;*/
	line-height:40px;
	-moz-appearance: none;
	-webkit-appearance: none;
	appearance: none;
	font-size: 15px;
	text-align: center;
	color: rgba(0, 0, 0, 0);
}
.sectorDienteMuestra{
	width:10%;
}

@media (max-width: 600px){
	.sectorDienteMuestra{
		width:20%;
	}
}
.diente:hover{
	color: rgba(0, 0, 0, 0);
}
#opcion1 ,#opcion2 ,#opcion3 ,#opcion4 ,#opcion5 ,#opcion6 ,#opcion7{
	color:black;
} 
#opcion1 {
	background-image: url(../img/dientes/dienteBlanco.png);
}
#opcion2 {
	background-image: url(../img/dientes/dienteAzul.png);
}
#opcion3 {
	background-image: url(../img/dientes/dienteAmarillo.png);
}
#opcion4 {
	background-image: url(../img/dientes/dienteRojo.png);
}
#opcion5 {
	background-image: url(../img/dientes/dienteX.png);
}
#opcion6 {
	background-image: url(../img/dientes/dienteI.png);
}
#opcion7 {
	background-image: url(../img/dientes/dienteInc.png);
}
/*FIN ODONTOGRAMA*/