/* Importacion de fuentes de Google */

@import url('https://fonts.googleapis.com/css?family=Roboto');

/* Fuentes */
body *:not([class*="z-icon-"]) {
    font-family: ProximaNova,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
	font-style: normal;
	/* font-size: 13px; */
	font-variant: normal;
	/* font-weight: 300; */
}

/*************************************/
/* Cabecera del formulario principal /*
/*************************************/

.header {
    /*background: rgba(0, 0, 0, 0) linear-gradient(to bottom, #66a5d2 0%, #1063b2 100%, #66a5d2 0%) repeat scroll 0 0;*/
    background-color: #2B77BC;
}

/* Circulo en el avatar del usuario */
.avatar {
    width:45px;
    height:40px;
    border-radius:50%;
    overflow:hidden;
}
/* Circulo en el avatar de lista de estudiante */
.avatarList {
    width:100px;
    height:100px;
    border-radius:50%;
    overflow:hidden;
}

/*Smartphone - Portrait & Landscape*/
@media only screen and (min-device-width:319px) and (max-device-width:480px),
	   only screen and (min-width:319px) and (max-width:480px) {
	.imagen-fondo-logo {
		background: #fcfcfc; 
		background-position: center; 
		background-repeat: no-repeat; 
	}
	.header-titulo {
		font-size: 75%;
		font-weight: bold;
		color: #fff;
	}
	.header-contenedor { overflow:hidden; width:100%; }
	.header-imagen-div { width:15%;	float:left;	}
	.header-titulo-div { width:56%; float:left;	}
	.header-user-div   { width:29%; float:left;}
}

/*Ipad, tablets - Portrait & Landscape*/
@media only screen and (min-device-width:481px) and (max-device-width:639px),
	   only screen and (min-width:481px) and (max-width:639px) {
	.imagen-fondo-logo {
		background: #fcfcfc; 
		background-position: center; 
		background-repeat: no-repeat; 
	}
	.header-titulo {
		font-size: 100%;
		font-weight: bold;
		color: #fff;
		vertical-align:middle;
		line-height: 43px;
	}
	.header-contenedor { overflow:hidden; width:100%; }
	.header-imagen-div { width:10%;	float:left;	}
	.header-titulo-div { width:72%; float:left;	}
	.header-user-div   { width:18%; float:left;}
}
/*Ipad2, tablets2 - Portrait & Landscape*/
@media only screen and (min-device-width:640px) and (max-device-width:1023px),
	   only screen and (min-width:640px) and (max-width:1023px) {
	.imagen-fondo-logo {
		background: #fcfcfc; 
		background-position: center; 
		background-repeat: no-repeat; 
	}
	.header-titulo {
		font-size: 100%;
		font-weight: bold;
		color: #fff;
		vertical-align:middle;
		line-height: 43px;
	}
	.header-contenedor { overflow:hidden; width:100%; }
	.header-imagen-div { width:7%;	float:left;	}
	.header-titulo-div { width:78%; float:left;	}
	.header-user-div   { width:15%; float:left;}
}

/*Desktop - Portrait & Landscape*/
@media only screen and (min-device-width:1024px),
	   only screen and (min-width:1024px){
	.imagen-fondo-logo {
		background: #fcfcfc; 
		background-size: 30%;
		background-position: center; 
		background-repeat: no-repeat; 
	}
	.header-titulo {
		font-size: 100%;
		font-weight: bold;
		color: #fff;
		vertical-align:middle;
		line-height: 43px;
	}
	.header-contenedor { overflow:hidden; width:100%; }
	.header-imagen-div { width:5%;	float:left;	}
	.header-titulo-div { width:55%; float:left;	}
	.header-user-div   { width:40%; float:left; text-align: right; padding-right: 10px; }
}
	   
	
/*************************************/
/* Titulos de las ventanas /*
/*************************************/
.z-window-header {
    color: #222222;
    cursor: default;
    font-family: "Open Sans","Helvetica Neue",Helvetica,Arial,sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: bold;
    overflow: hidden;
    text-transform: uppercase;
}

/* Bordes redondeados */
.z-window {
    border-radius: 6px 6px 6px 6px;
}

/*************************************/
/* Barra de menu */
/*************************************/

/*
.z-menubar {
    background: #2B77BC;
}
*/

.z-menubar {
    background: white;
}

.z-menu, .z-menuitem {
	background-color: white;
}

.z-menu, .z-menuitem > .a {
	color: #666666;
}

.z-menu-content .z-menu-icon, 
.z-menuitem-content .z-menu-icon, 
.z-menu-content z-icon-caret-down, 
.z-menuitem-content .z-icon-caret-down {
	color: #666666;
    position: absolute;
    top: 6px;
    right: 2px;
}

.z-menu-selected, .z-menuitem-selected > .a {
	color: #666666;
}

.z-menu-hover > .z-menu-content, 
.z-menu-hover .z-menu-icon,
.z-menuitem-hover > .z-menuitem-content, 
.z-menuitem-hover .z-menu-icon 
 {
    color: white;
    background: #f38923;
    text-decoration: none;
}

.z-menu:hover, .z-menuitem:hover, .z-menuitem-content:hover {
    background: #f38923 none repeat scroll 0 0;
    box-shadow: 0 0px 0 #f38923;
    border-color: #f38923;
    text-decoration: none;
    color:white;
}
.z-menu-selected > .z-menu-content, .z-menu-selected .z-menu-icon {
    color: #666666;
    text-decoration: none;
}



/*

.z-menu:hover .a .z-icon-caret-down, 
.z-menuitem:hover .a .z-icon-caret-down,
.z-menu:hover .a .z-menu-icon, 
.z-menuitem:hover .a .z-menu-icon {
    background: #f38923 none repeat scroll 0 0;
    box-shadow: 0 0px 0 #f38923;
    border-color: #f38923;
    text-decoration: none;
}

.z-menu-content:hover, 
.z-menuitem-content:hover {
    color: white;
    background: #f38923;
    text-decoration: none;
}

.z-menu-content:hover .a .z-icon-caret-down, 
.z-menuitem-content:hover .a .z-icon-caret-down,
.z-menu-content:hover .a .z-menu-icon,
.z-menuitem-content:hover .a .z-menu-icon  {
    color: white;
    background: #f38923;
    text-decoration: none;
}
*/

.z-menu-content, .z-menuitem-content {
    color: #666666;
    font-family: "Open Sans",Arial,sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
    white-space: nowrap;
    min-height: 20px;
    padding: 5px 10px 5px 5px;
    
}

/*
.z-menu-text, .z-menuitem-text {

}
*/

/*
.z-icon-caret-down:hover {
    color: white;
    background-color: #f38923;
}
*/

/*
.z-tab {
    background: #2B77BC;
}

.z-tab-selected {
    background: #66a5d2;
}

.z-tab-selected:hover {
    background: #66a5d2;
}

.z-tab-selected .z-tab-text {
   color: #ffffff;
}
*/

/*************************************/
/* Arbol del menu */
/*************************************/

.z-tree {
	overflow: auto;
}

.z-treecell-content {
	white-space: nowrap;
	padding: 3px 0 4px 0;
}

.z-tree-line {
	width: 10px;	
}

.z-tree-spacer {
	width: 15px;	
}

.z-tree-icon {
	width: 15px;
}

.z-treerow-selected:hover > .z-treerow {
    background: #66a5d2 none repeat scroll 0 0;
    border-color: #e3e3e3;
}

.z-treerow-selected:hover > .z-treerow > .z-treerow-content {
    color: rgba(255,255,255,1);
}

.z-treerow-selected > .z-treecell {
	background: #66a5d2 none repeat scroll 0 0;
	color: #e3e3e3;
}

.z-treerow-selected > .z-treecell > .z-treecell-content {
	color: rgba(255,255,255,1);
}

.z-treecol {
	background: #ff944d none repeat scroll 0 0;
	border: 0px solid #ff944d;
}

.z-treecols-bar {
	background: #ff944d none repeat scroll 0 0;
	border: 0px solid #ff944d;
}


.z-tree-header {
	background: #ff944d none repeat scroll 0 0;
	border: 0px solid #ff944d;
}


/*************************************/
/* Listas de datos */
/*************************************/

.z-listbox-header {
	background: #ff944d none repeat scroll 0 0;
}

.z-listhead-bar {
    border-top: 1px solid #ff944d;
    border-left: 1px solid #ff944d;
}

.z-listhead {
	background: #ff944d none repeat scroll 0 0;
}

.z-listheader {
	background: #ff944d none repeat scroll 0 0;
	border: 0px solid #ff944d;
}

.z-auxhead-bar {
    border-top: 1px solid #ff944d;
    border-left: 1px solid #ff944d;
}

.z-auxhead {
	background: #ff944d none repeat scroll 0 0;
}

.z-auxheader {
	background: #ff944d none repeat scroll 0 0;
	border: 0px solid #ff944d;
}

.z-columns {
    border-top: 1px solid #ff944d;
    border-left: 1px solid #ff944d;
}

.z-columns-bar {
    border-top: 1px solid #ff944d;
    border-left: 1px solid #ff944d;
}

.z-column {
	background: #ff944d none repeat scroll 0 0;
	border: 0px;
}

.z-column-content {
	background: #ff944d none repeat scroll 0 0;
	border: 0px solid #ff944d;
}

.z-grid-header {
	background: #ff944d none repeat scroll 0 0;
}

.z-gridheader {
	background-clip:inherit;
}

.z-listitem-selected:hover > .z-listcell {
    background: #66a5d2 none repeat scroll 0 0;
    border-color: #e3e3e3;
}

.z-listitem-selected:hover > .z-listcell > .z-listcell-content {
    color: rgba(255,255,255,1);
}

.z-listbox-odd.z-listitem {
	background: #e0e0e0 none repeat scroll 0 0;
}

.z-listitem-selected > .z-listcell {
	background: #66a5d2 none repeat scroll 0 0;
	color: #e3e3e3;
}

.z-listitem-selected > .z-listcell > .z-listcell-content {
	color: rgba(255,255,255,1);
}

.z-listbox-odd.z-listitem {
    background: #e0e0e0 none repeat scroll 0 0;
}


/*************************************/
/* Botones del Toolbar */
/*************************************/

.z-toolbarbutton-content {
    color: #666666;
    font-family: "Open Sans",Arial,sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
    white-space: nowrap;
}

.z-toolbarbutton:hover {
    background: #f38923 none repeat scroll 0 0;
    box-shadow: 0 0px 0 #f38923;
    border-color: #f38923;
    text-decoration: none;
}

/*noinspection CssInvalidPseudoSelector*/
.z-a:over {
    text-decoration: none;
}


/*************************************/
/* Objeto radiobutton que se descuadra*/
/*************************************/

.z-radio-content{
	padding-left:10px; 
}


.z-loading { 
	top: 50% !important; 
	left: 45% !important; 
	align: center; 
	vertical-align: middle; 
}

/*************************************/
/* Objetto chechbox que se descuadra */
/*************************************/

.z-checkbox input {
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
	margin-left: 0px;
	width: 18px;
	height: 18px;
}

.z-checkbox-content {
	padding-left: 5px; 
}

.z-radio input {
	margin-top: -2px;
	margin-right: 0px;
	margin-bottom: 0px;
	margin-left: 0px;
	width: 18px;
	height: 18px;
}

.z-radio-content {
	padding-left: 5px; 
}

.z-comboitem {
	min-height: 25px;
}

/**************************************************************/
/* Responsive Design                                          */
/* URL: http://www.w3schools.com/css/css_rwd_mediaqueries.asp */
/**************************************************************/

/* For mobile phones: */
[class*="rdcol-"] {
    float: left;
    padding: 15px;
    width: 100%;
}
		 
@media only screen and (min-width: 600px) {
    /* For tablets: */
    .rdcol-m-1 {width: 8.33%;}
    .rdcol-m-2 {width: 16.66%;}
    .rdcol-m-3 {width: 25%;}
    .rdcol-m-4 {width: 33.33%;}
    .rdcol-m-5 {width: 41.66%;}
    .rdcol-m-6 {width: 50%;}
    .rdcol-m-7 {width: 58.33%;}
    .rdcol-m-8 {width: 66.66%;}
    .rdcol-m-9 {width: 75%;}
    .rdcol-m-10 {width: 83.33%;}
    .rdcol-m-11 {width: 91.66%;}
    .rdcol-m-12 {width: 100%;}
}
@media only screen and (min-width: 768px) {
    /* For desktop: */
    .rdcol-1 {width: 8.33%;}
    .rdcol-2 {width: 16.66%;}
    .rdcol-3 {width: 25%;}
    .rdcol-4 {width: 33.33%;}
    .rdcol-5 {width: 41.66%;}
    .rdcol-6 {width: 50%;}
    .rdcol-7 {width: 58.33%;}
    .rdcol-8 {width: 66.66%;}
    .rdcol-9 {width: 75%;}
    .rdcol-10 {width: 83.33%;}
    .rdcol-11 {width: 91.66%;}
    .rdcol-12 {width: 100%;}
}

/* Tamano de iconos */

.glyphicon {
	font-size: 2em;
}

.gi-2x{font-size: 2em;}
.gi-3x{font-size: 3em;}
.gi-4x{font-size: 4em;}
.gi-5x{font-size: 5em;}

.icon-large{
	display: inline-block;
	vertical-align: middle;
	transform: scale(0.65, 0.65);
	-ms-transform: scale(0.65, 0.65);
	-webkit-transform: scale(0.65, 0.65);
	position: relative;
	left: -5px;
}	

/* Estilos para formularios */
.bold {
	font-weight: bold;	
}

.italic {
	font-style: italic;
}

/* Estilos para alineacion */

.alinear-centro {
	display: flex;
	align-items: center;
	justify-content: center;
	height:100%;
}

/* Alineacion de botones del messagebox */
.z-messagebox-buttons {
	display: flex;
	align-items: center;
	justify-content: center;
	height:100%;
}

.z-messagebox-buttons .z-hlayout-inner {
	padding: 0px 5px 0px 5px;
}

/* Estilo para mostrar la barra de scroll */

.scroll {
	overflow-y: auto !important;
}

/* Alineamiento de boton de ayuda en el titulo de las ventanas */

.mainCaption { 
	display: flex; 
}

.mainCaption .z-caption-content { 
	display: flex; flex-grow: 1; 
}

.mainCaption .z-caption-content > .captionButtons {
	display: inline-block; 
	flex-grow: 1; 
	text-align: right; 
	margin-right: 1px; 
}

.captionButton { 
	margin: 0px 2px 0px -1px;
	padding: 2px 6px; 
	border: 1px solid #cfcfcf;
}

