/*        RESET       */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video, main {margin: 0;	padding: 0;	border: 0;}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section, main {display: block; width: 100%;}
ol, ul {list-style: none;}
blockquote, q {	quotes: none;}
blockquote:before, blockquote:after,
q:before, q:after {	content: '';content: none;}
table {	border-collapse: collapse;border-spacing: 0;}
* { box-sizing:border-box; outline: 0;}

/*----------------------------------------------------------------- */
/* GENERAL */
/*----------------------------------------------------------------- */
body{
    font-size: 14px;
    color: #333;
    line-height: 1.4;
    font-family: 'Roboto', Verdana, Helvetica , sans-serif; 
    min-height: 100%;
}
.flex{display: flex;}
.columna{flex-flow: column;}

/*----------------------------------------------------------------- */
/* LAYOUT */
/*----------------------------------------------------------------- */
.container-principal{
    height: 100vh;
    min-height: 100%;
    width: 100%;
    background: #FFF;
      /*FLEX*/
    display: flex;
    flex-flow: column;
}
/*
.container{
    width: 100%;
    margin: 0 auto;
    height: auto; 
    padding: 10px 5%;
}

header{
    min-height: 50px;
    height: 50px;
    width: 100%;
    position: absolute;
}

menu{
    min-height: 40px;
    height: 40px;
    color: #FFF;
    background: #202324;
}



.margen-izq{
    padding-left: 180px;
}*/

.panel{
    width: 100%;
    margin-bottom: 10px;
    background: #FFF;
    border: 1px solid #ddd;
    border-radius: 4px;
    -webkit-box-shadow: 0 1px 1px rgba(0,0,0,.05);
    box-shadow: 0 1px 1px rgba(0,0,0,.05);
    
}

.panel-header{
    height: 50px;
    padding: 0px;
    
    /*background: #445ab7;*/
    background: #b70404;
    color: #FFF;
    border-bottom: 1px solid #ddd;
    border-top-left-radius: 3px;
    border-top-right-radius: 3px;
    
}

.p-header{
    width: 100%;
    height: 100%;
    padding-left: 15px;
    padding-right: 15px;
    justify-content: space-between;
    align-items: center;
}

.panel-body{
    
    border-bottom-right-radius: 3px;
    border-bottom-left-radius: 3px;
    padding: 10px;
}


main{
    display: flex;
    min-height: 100vh;
    font-size: 12px;
    padding-top: 60px;
    background: #e2e2e2;
    color: #2a2a2a;
}
footer{
    padding-left: 180px;
    text-align: center;
    font-size: 12px;
    min-height: 40px;
    color: #999;
    background:  #FFF;
    border-top: 1px solid #dedede;
    transition: padding-left .3s;
}

.tabs{
    height: 100%;
}

.tabs a{
    text-decoration: none;
    color: #FFF;
    height: 100%;
    padding: 15px;
}

.tabs a:hover{
    background: rgb(55, 56, 57);
    border-radius: 5px;
    overflow: hidden;
}

.active-tab{
    background: rgb(55, 56, 57);
    border-radius: 5px;
    overflow: hidden;
}

/*------------------------------------------------------------------*/
/* MENU */
/*------------------------------------------------------------------*/

header{
	position: fixed;
	width: 100%;
	top: 0;
	left: 0;

    min-height: 60px;
    background: rgb(31, 33, 36);
    z-index: 1000;
}



.main-header{
    height: 60px;
    color: #fff;
    
    justify-content: space-between;
    align-items: center;
}

.main-header .logo-header{
    height: 100%;
    width: 180px;
    padding-left: 35px;
    padding-right: 10px;
    background: #ffffff;
    
    justify-content: space-between;
    align-items: center;
}


header #button-menu{
    padding: 12px;
    text-align: center;
	font-size: 20px;
	color: #333;
	cursor: pointer;
}

.main-header .opciones-header{
    width: 100%;
    min-width: 130px;
    padding-left: 5px;
    padding-right: 15px;
    justify-content: flex-end;
    align-items: center;
}

.main-header .opciones-header a{
    margin-left: 12px;
    padding-left: 12px;
   /* border-left: 1px solid #fff;*/
    text-decoration: none;
    color: #d8d8d8;
}

.main-header .opciones-header a:hover{
    color: #af5026;
}

.main-header .opciones-header a.active-menu-user{
    color: #af5026;
}

.main-header .opciones-header span{
    margin-right: 8px;
}

.navegacion{
	position: absolute;
	top: 100%;
	left: 0;
	/*width: 180px;*/
    width: 0%;
	height: 100vh;
	/*background: rgba(0, 0, 0, 0.78);*/
    background: rgba(0,0,0,.0);
}

.navegacion ul{
	width: 180px;
	height: 100%;
    background: rgb(31, 33, 36);
	list-style: none;

	position: absolute;
	top: 0;
	/*left: 0px;*/
    left: -180px;

	transition: left .3s;
}

.navegacion .menu li.title-menu{
	padding: 10px;
    background: #121212;
	color: #fff;
	text-align: center;
	font-size: 12px;
}

.navegacion .menu a{
	display: block;
	padding: 10px;

	font-size: 12px;
	font-weight: 200;
	text-decoration: none;
	color: #b5b6b7;
}

.navegacion .menu a:hover{
	background: rgb(55, 56, 57);
    border-left: 4px solid #b70404;
    padding-left: 6px;
	color: #fff;
    transition: .2s;
}

.navegacion .menu li span.icon-menu{
	margin-right: 12px;
}

.navegacion .menu .item-submenu > a::after{
	/*font: normal normal normal 14px/1 FontAwesome;
  	font-size: inherit;
  	text-rendering: auto;
  	-webkit-font-smoothing: antialiased;
  	-moz-osx-font-smoothing: grayscale;
    */
    font-family: 'Font Awesome 5 Free';
    font-weight: 900; 
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    line-height: 1; 
    
	content: "\f105";

	float: right;
	color: #C5C5C5;
}

.navegacion a.active-menu {
    background: rgb(55, 56, 57);
    border-left: 4px solid #b70404;
    padding-left: 6px;
    color: #fff;
}

/* Submenu ============*/

.navegacion .submenu li.title-menu{
	background: rgb(31, 33, 36);
	color: #fff;
}

.navegacion .submenu li.go-back{
	padding: 5px 10px;
    background: #b70404;
	color: #fff;
	font-size: 10px;
	cursor: pointer;
}

.navegacion .submenu li.go-back::before{
	font-family: 'Font Awesome 5 Free';
    font-weight: 900; 
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    line-height: 1; 
    
	content: "\f104";
	margin-right: 10px;
}




/*----------------------------------------------------------------- */
/* MAIN */
/*----------------------------------------------------------------- */
.main-container{
    padding-left: 0px;
    transition: padding-left .3s;
}

.contenido{
    width: 100%;
    padding: 10px;
}

#contenido_config{
    width: 100%;
    justify-content: space-around;
    align-items: flex-start;
}

#contenido_marcas, #contenido_colores{
    width: 33%;
}

#contenido_modelos{
    width: 33%;
}

.contenedor-registros{
    width: 100%;
    flex-flow: wrap;
    justify-content: space-around;
    align-items: flex-start;
    border-bottom: 1px solid #DDD;
    padding-bottom: 12px;
    padding-top: 12px;
    margin-bottom: 12px;
}


.form-registro-persona, .form-registro-automovil{
    width: 40%;
    min-width: 280px;
}

.form-registro-persona legend, .form-registro-automovil legend{
  
}

.input-fila{
    align-items:center;
    margin-bottom: 12px;
}

.input-columna{
    flex-flow: column;
    margin-bottom: 12px;
}

.input-fila label{
    width: 15%;
    min-width: 70px;
}

.input-columna label{
    width: 100%;
    margin-bottom: 12px;
}

#label-file{
    justify-content: flex-start;
    align-items: center;
}

#label-file label{
    width: 110px;
}

.input-fila input, .input-fila select{
    width: 85%;
    height: 30px;
    border: 1px solid #AAA;
    border-radius: 3px;
    overflow: hidden;
    padding-left: 5px;
    padding-right: 5px;
}

.input-servicios{
    align-items: center;
}

.input-servicios input{
    margin-right: 8px;
    cursor: pointer;
}

.input-servicios label{
    padding: 5px;
    cursor: pointer;
}

.input-columna #label-imagen{
    width: 100px;
}

.input-columna textarea, .input-columna img{
    border: 1px solid #AAA;
    border-radius: 3px;
    overflow: hidden;
}

.input-columna img{
    margin-top: 12px;
}


.tipos-visita{
    width: 100%;
    min-width: 280px;
    padding: 12px;
    margin: auto;
    justify-content: space-around;
    align-items: center;
}

.tipos-visita div{
    width: 40%;
    cursor: pointer;
    font-size: 1.2em;
}

.tipos-visita div span.fa-check-circle{
    color: #56c963;
}
    
.btnFooter{
    width: 100%;
    justify-content: flex-end;
    padding-right: 15px;
}

.btnFooter span{
    padding: 8px;
}

/*----------------------------------------------------------------- */
/* DATATABLES */
/*----------------------------------------------------------------- */

.btn-opc{
    margin-left: 4px;
}

/*----------------------------------------------------------------- */
/* MODALES */
/*----------------------------------------------------------------- */

.modal-responsive{
    width: 40%;
    min-width: 280px;
}

.small-words{
    font-size: 12px;
    color: #a4a4a4;
    text-align: right;
}

.modal-body div{
    margin-bottom: 10px;
}

.modal-body .fila-modal{
    justify-content: center;
    align-items: center;
}

.modal-body .fila-modal label{
    width: 20%;
    text-align: right;
    padding-right: 10px;
}

.modal-body .fila-modal input, .modal-body .fila-modal select{
    width: 60%;
    height: 28px;
    padding-left: 5px;
    padding-right: 5px;
}

.modal-body .fila-modal input{
    border: 0;
    border-bottom: 1px solid #a4a4a4;
}

.modal-body .fila-modal select{
    /*border: 1px solid #beb7b7;
    border-radius: 3px;
    overflow: hidden
    */    
    border: 0;
    border-bottom: 1px solid #a4a4a4;
}

.modal-body .fila-modal input:focus{
    border-bottom: 2px solid rgb(43, 153, 248);
}

.modal-body .fila-modal select:focus{
    border-bottom: 2px solid rgb(43, 153, 248);
}

.modal-body .columna-modal{
    flex-flow: column;
    justify-content: center;
    align-items: center;
}

.datos_detalle .contenedor{
    width: 100%;
    justify-content: space-between;
    align-items: center;
}

.datos_detalle img{
    width: 85%;
    height: 250px;
    align-self: center;
    padding-top: 12px;
    padding-bottom: 12px;
}

.datos_detalle textarea, .datos_detalle input{
    border: 0;
} 

.datos_detalle label{
    width: 15%;
    min-width: 70px;
}

.datos_detalle input{
    width: 85%;
    min-width: 200px;
}


/*----------------------------------------------------------------- */
/* LOGIN */
/*----------------------------------------------------------------- */

.wraper{
    width: 100%;
    height: 100%;
    background: rgb(31,33,36);
    
    /*FLEX*/
    flex-flow:  column wrap;
    justify-content: center;
    align-items: center;

}

.form-login{
    flex-flow: column;
    background: #fff;
    width: 350px;
    height: auto;
    padding: 40px 15px;
    border: 2px solid #525151;
    border-radius: 4px;
    overflow: hidden;
}

.form-login div{
    text-align: center;
}

.form-login img{
    margin: 0 auto;
    margin-bottom: 15px; 
    color: rgb(150, 0, 0);
}

.form-login input{
    margin-bottom: 15px;
    height: 40px;
}

.form-login span{
    padding: 8;
    color: #3a3a3a;
}

.form-login input#usuario, .form-login input#password{
    width: 230px;
    padding-left: 5px;
    border: 1px solid #DDD;
    border-radius: 4px;
    overflow: hidden;
}

.form-login a{
    font-size: .75em;
    text-decoration: none;
    color: #b3b3b3;
    text-align: right;
    padding: 5px;
}

.form-login input#btn_login{
    width: 250px;
    margin: auto;
    background: #59c785;
    color: #fff8f8;
    border: 1px solid #59c785;
    border-radius: 4px;
    overflow: hidden;
}

/* Telefonos */
@media screen and (max-width: 360px){
    .navegacion ul{
		width: 100%;
	}
    
    .main-header .logo-header{
        width: 100px;
        padding-left: 5px;
        padding-right: 1px;
        justify-content: center;
    }
    
    header #button-menu{
        padding-left: 10px;
        padding-right: 5px;
    }
    
    .main-header .logo-header img{
        width: 60px;
    }
    
    .main-header .opciones-header{
        padding-right: 5px;
        justify-content: space-around;
    }
    
    .modal-responsive{
        width: 95%;
        min-width: 280px;
    }
    
    .tipos-visita div{
        width: 50%;
    }
    
    .form-registro-persona #imagen{
        width: 90%;
    }
}
