/*Fonts*/
@import url('https://fonts.googleapis.com/css2?family=Raleway&display=swap');

/*Generales*/
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    font-family: 'Raleway', sans-serif;
}

body{
    margin-left: 80px;
    margin-top: 80px;
    transition: margin-left 300ms cubic-bezier(0.785, 0.135, 0.15, 0.86);
}

.panel{
	margin-top: 10px;
}

.bodyreg{
    margin-top: 80px;
}

main{
    padding: 40px;
}

header{
    width: 100%;
    height: 100px;
    display: flex;
    align-items: center;
    position: fixed;
    top: 0;
    z-index: 200;
}

.headereg{
    width: 100%;
    height: 100px;
    display: flex;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 200;
}

main h1{
	margin:auto;
	text-align: center;
}

table, th, td {
  border: 1px;
  border-collapse: collapse;
}

.contenedortabla {
	overflow-x:auto;
}

footer{
    width: 100%;
    height: 50px;
    background: #f6f6f6;
    display: flex;
    align-items: center;
    position: fixed;
    bottom: 0;
    z-index: 200;
	color: #a09e9e;
	justify-content: center;
}

.icon__menu{
    width: 50px;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    transform: translateX(10px);
}

.icon__menu i{
    font-size: 20px;
    cursor: pointer;
    position: absolute;
}

.logo{
	position: absolute;
	right: 60px;
}

.logo img{
	width: 60%;
	height: 60%;
	display: block;
}

.logoreg{
	position: absolute;
	right: 10px;
}

.menu__side{
    width: 80px;
    height: 100%;
    background: #9072a7;
    position: fixed;
    top: 0;
    left: 0;
    color: white;
    font-size: 18px;
    z-index: 300;
    overflow: hidden;
    overflow-y: scroll;
    border-right: 20px solid #9072a7;
    transition: all 300ms cubic-bezier(0.785, 0.135, 0.15, 0.86);
}

/*Ocultar scroll para chrome, safari y opera*/
.menu__side::-webkit-scrollbar{
    display: none;
}

/*Ocultar scroll para IE, Edge y Firefox*/
.menu__side{
    -ms-overflow-style: none;
    scrollbar-width: none;
}


.name__page{
    padding: 20px 30px;
    display: flex;
    align-items: center;
    margin-top: 10px;
}

.name__page i{
    width: 20px;
    margin-right: 20px;
}

.options__menu{
    padding: 20px 30px;
    position: absolute;
    top: 80px;
}

.options__menu a{
    color: #ffffffb2;
    cursor: default;
    display: block;
    position: relative;
    transition: color 300ms;
}

.options__menu a:hover{
    color: white;
}

.options__menu .option{
    padding: 20px 0px;
    display: flex;
    align-items: center;
    position: relative;
}

.options__menu .option i{
    width: 20px;
    margin-right: 20px;
    cursor: pointer;
}

.options__menu .option h4{
    font-weight: 300;
    cursor: pointer;
}

.options__menu .subtitle{
    padding: 20px 0px;
    display: flex;
    align-items: center;
    position: relative;
}

.options__menu .subtitle i{
    width: 20px;
    margin-right: 20px;
}

.options__menu .subtitle h4{
    font-weight: 300;
}

a.selected{
    color: #fff;
}

.selected:before{
    content: '';
    width: 3px;
    height: 80%;
    background: white;
    position: absolute;
    top: 10%;
    left: -30px;
}

/*Clases para usar en JavaScript*/

.body_move{
    margin-left: 250px;
}

.menu__side_move{
    width: 250px;
}


@media screen and (max-width: 760px){
    .body_move{
        margin-left: 0px;
    }

    .menu__side_move{
        width: 80px;
        left: -80px;
    }
	
	textarea {
		width: 80%;
	}
	
	.tablarecetas {
	    width: 100%;
	}
	
	.tablarecetas tbody {
	    width: 100%;
	}
}

/*Image Slider*/

.imageslider {
  width: 80%;
  height: 40%;
/*   position: relative; */
  margin: 0 auto;
}

.navegacion .prev {
  position: absolute;
  z-index: 10;
  font-size: 25px;
  top: 50%;
  left: 0px;
  font-weight: 700;
}
.navegacion .next {
  right: 0px;
  position: absolute;
  font-size: 25px;
  z-index: 10;
  top: 50%;
}
.navegacion .nav-btn {
  background: rgba(255, 255, 255, 0.55);
  cursor: pointer;
  width: 30px;
  height: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 5px;
}
.navegacion .nav-btn:hover {
  background: white;
}

.imagenes {
  margin-top: 20px;
  transition: all 0.3s ease;

}
.imagenes img {
  width: 100%;
  transition: all 0.3s ease;
}

.item {
  position: absolute;
  display: none;
}

.main {
  display: block;
}

.caption {
  position: absolute;
  bottom: 0;
  width: 100%;
  display: flex;
  font-size: 20px;
  justify-content: center;
  align-items: center;
  color: rgb(255, 255, 255);
  background: rgba(0, 0, 0, 0.3);
  height: 35px;
}


/* Tablas */

.tablausuarios {
	margin-left: auto;
	margin-right: auto;
}

.tablausuarios th{
	text-align: center;
	padding: 10px;
	background: #9072a7;
	color: white;
}

.tablausuarios td{
	text-align: center;
	padding: 10px;
}

.tablarespuestas {
	margin-left: auto;
	margin-right: auto;
}

.tablarespuestas th{
	text-align: center;
	padding: 10px;
	background: #9072a7;
	color: white;
}

.tablarespuestas td{
	text-align: center;
	padding: 10px;
}

.tablarespuestasdet {
	margin-left: auto;
	margin-right: auto;
}

.tablarespuestasdet th{
	text-align: center;
	padding: 10px;
	background: #9072a7;
	color: white;
}

.tablarespuestasdet td{
	text-align: center;
	padding: 10px;
}

.tablafichaid {
	margin-left: auto;
	margin-right: auto;
}

.tablafichaid th{
	text-align: center;
	padding: 10px;
	background: #9072a7;
	color: white;
}

.tablafichaid td{
	text-align: center;
	padding: 10px;
}

.tablebody {
	background: #dcdcdc;
}

.contenedorbotones {
	float: left;
}

.contenedorbuscar {
	float: right;
}

#buscartb {
	line-height: 30px;
	vertical-align: middle;
}

#buscarbtn {
	vertical-align: middle;
}

.minbtn:hover {
	opacity: 0.5;
}

.norbtn:hover {
	opacity: 0.5;
}

.tablaagregarusuarios {
	width: 35%;
	margin-left: auto;
	margin-right: auto;
}

.tablaagregarusuarios td{
	text-align: center;
	padding: 10px;
}

.tablaagregarusuarios th{
	text-align: left;
	padding: 10px;
	background: #9072a7;
	color: white;
}

.tablaficha {
	width: 35%;
	margin-left: auto;
	margin-right: auto;
}

.tablaficha td{
	text-align: center;
	padding: 10px;
}

.tablaficha th{
	text-align: left;
	padding: 10px;
	background: #9072a7;
	color: white;
}

#nombretb, #usuariotb, #correotb, #privilegiotb, #contraseñatb, #recontraseñatb, #estatustb, #ocupaciontb, #estadociviltb, #paternotb, #maternotb{
	width: 300px;
	line-height: 30px;
	vertical-align: middle;
}

.tabladatosgenerales{
	margin-left: auto;
	margin-right: auto;
}

.tablacuestionariodolor {
	margin-left: auto;
	margin-right: auto;
}

.tablacuestionariodolor h2{
	text-align: center;
}

.tablacuestionariodolor th{
	padding: 10px;
	background: #9072a7;
	color: white;
}

.tablacuestionariodolor td{
	background: #dcdcdc;
	padding-left: 25px;
}

.tablainventariodolor {
	margin-left: auto;
	margin-right: auto;
}

.tablainventariodolor th{
	padding: 10px;
	background: #9072a7;
	color: white;
}

.tablainventariodolor td{
	background: #dcdcdc;
	padding-left: 25px;
}

.tablasoapp {
	margin-left: auto;
	margin-right: auto;
}

.tablasoapp th{
	padding: 10px;
	background: #9072a7;
	color: white;
}

.tablasoapp td{
	background: #dcdcdc;
	padding-left: 25px;
}

.tablaresultadosadultos {
	margin-left: auto;
	margin-right: auto;
}

.tablaresultadosadultos th{
	padding: 10px;
	background: #9072a7;
	color: white;
}

.tablaresultadosadultos td{
	background: #dcdcdc;
	padding-left: 25px;
}

.tablafichaidentificacion {
	margin-left: auto;
	margin-right: auto;
	width: 80%;
}

.tablafichaidentificacion th{
	padding: 10px;
	background: #9072a7;
	color: white;
}

.tablafichaidentificacion td{
	background: #dcdcdc;
	padding-left: 25px;
}

.tablahistoriaclinica {
	margin-left: auto;
	margin-right: auto;
	width: 40%;
}

.tablahistoriaclinica th{
	padding: 10px;
	background: #9072a7;
	color: white;
}

.tablahistoriaclinica td{
	background: #dcdcdc;
	padding-left: 25px;
}

.forty {
    width: 40%;
}

.tablaevolucionclinica {
    margin-left: auto;
	margin-right: auto;
	width: 40%;
}

.tablaevolucionclinica th{
    padding: 10px;
	background: #9072a7;
	color: white;
}

.tablaevolucionclinica td{
    background: #dcdcdc;
	padding-left: 25px;
}

.tablarecetas {
    margin-left: auto;
	margin-right: auto;
	width: 40%;
}

.tablarecetas th{
    padding: 10px;
	background: #9072a7;
	color: white;
}

.tablarecetas td{
    background: #dcdcdc;
	padding-left: 25px;
}
/*EJEMPLO SBYS*/

.tituloc {
	text-align:center;
	padding: 10px;
	background: #9072a7;
	color: white;
}

#cuestionarioform {
  margin: auto auto;
  width: 60%;
}


input.invalid {
  background-color: #ffdddd;
}

.tab {
  display: none;
  background: #dcdcdc;
}

.tab p{
	text-align: center;
}

.tab h3{
	padding-left: 10px;
}

.buttonsc{
	background: #dcdcdc;
	overflow:auto;
}

.prevBtn:hover {
	opacity: 0.5;
}

.nextBtn:hover {
	opacity: 0.5;
}

.clear:hover {
	opacity: 0.5;
}

.aceptarbtn:hover {
	opacity: 0.5;
}

.step {
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #9072a7;
  border: none;
  border-radius: 50%;
  display: inline-block;
  opacity: 0.5;
}

.step.active {
  opacity: 1;
}

.step.finish {
  background-color: #9072a7;
}

.center {
    margin:0 auto;
    background: #dcdcdc;
    width: 40%;
}

.center2 {
    margin:0 auto;
    background: #dcdcdc;
    width: 40%;
}

.emptyspc {
    opacity: 0;
}

/*RESPONSIVE*/

@media only screen and (max-width: 600px) {
  /* For tablets: */
  
   .editarfichaform {
        left: 50%;
        top: 2%;
        transform: translate(-50%, -2%);
        width: 100%;
    }
  
  .tab {
        width: 150%;
    }
    
    #cuestionarioform {
        left: 50%;
        top: 5%;
        transform: translate(-50%, -5%);
        width: 100%;
    }
    
    .tab h3{
	    padding-left: 0px;
    }
    
    .tituloc {
	    text-align:center;
	    padding: 5px;
	    background: #9072a7;
	    color: white;
	    width: 150%;
    }
    
    .buttonsc{
	    background: #dcdcdc;
	    overflow:auto;
	    width: 150%;
    }
    
    .tablarespuestas {
        left: 30%;
        top: 2%;
        transform: translate(-30%, -2%);
        width: 100%;
    }
    
    .contenedorbtones {
        width: 100%;
    }
    
    
    .historiaform {
        width: 100%;
        left: 50%;
        top: 2%;
        transform: translate(-50%, -2%);
    }
    
    .tablahistoriaclinica {
        width: 100%;
    }
    
    .center2 {
        margin-left: auto;
        margin-right: auto;
        background: #dcdcdc;
        width: 100%;
    }
    
    #canvasDiv {
        width: 100%;
    }
    
    #canvas {
        width: 100%;
    }
}

@media screen and (max-width: 768px) {
    
    .editarfichaform {
        left: 50%;
        top: 2%;
        transform: translate(-50%, -2%);
        width: 100%;
    }
    
    .tab {
        width: 150%;
    }
    
    #cuestionarioform {
        left: 50%;
        top: 5%;
        transform: translate(-50%, -5%);
        width: 100%;
    }
    
    .tab h3{
	    padding-left: 0px;
    }
    
    .tituloc {
	    text-align:center;
	    padding: 5px;
	    background: #9072a7;
	    color: white;
	    width: 150%;
    }
    
    .buttonsc{
	    background: #dcdcdc;
	    overflow:auto;
	    width: 150%;
    }
    
    .tablarespuestas {
        left: 30%;
        top: 2%;
        transform: translate(-30%, -2%);
        width: 100%;
    }
    
    .contenedorbtones {
        width: 100%;
    }
    
    .historiaform {
        width: 100%;
        left: 50%;
        top: 2%;
        transform: translate(-50%, -2%);
    }
    
    .tablahistoriaclinica {
        width: 100%;
    }
    
    .center2 {
        margin-left: auto;
        margin-right: auto;
        background: #dcdcdc;
        width: 100%;
    }
    
    #canvasDiv {
        width: 100%;
    }
    
    #canvas {
        width: 100%;
    }
}
