* {
	margin:0;
} 

html {
	position: relative;
	min-height: 100%;
}

body  {
	color: #3d3d3d;
	font-family: 'Raleway', Helvetica, Arial, sans-serif;
	font-weight: 500;
	margin: 0 0 38px; /* bottom = footer height */
}

p {
	margin: 0 0 25px;
}

a, a:visited, a:focus, a:active {
	color: #3d3d3d;
}

a:hover {
	color: #d0cc08;
}

a.list-group-item:focus, a.list-group-item:hover, button.list-group-item:focus, button.list-group-item:hover {
	background-color: #ede709;
	color: #3d3d3d;
	text-decoration: none;
}

.color-error {
	color: #e60000;
}

.color-cua {
	color: #ede709;		/* #d0cc08 */
}

.texto-centrado {
	text-align: center;
}

.centrar {
	display: block;
	margin: auto;
}

.negrita {
	font-weight: 700;
}

.subrayado {
	text-decoration: underline;
}

.div-toggle {
	display: none;
}

.margen-peq {
	margin: 1% 0% 0% 2%;
}

.blank-row {
	height: 40px;
}

.display-none {
	display: none;
}

.inline-block {
	display: inline-block;
}

.espacio-arriba1 {
	margin-top: 3% !important;
}

.espacio-arriba-peq {
	margin-top: 5px;
}

/* Botones */
.btn {
	padding: 10px 35px;
	margin-top: 5px;
}

.btn-primary, .btn-info, .btn-primary:visited, .btn-info:visited {
	background-color: #ede709;
	border: 0;
	color: #3d3d3d;
	font-weight: bold;
}

.btn-primary:hover, .btn-primary:focus, .btn-primary:active, .btn-info:hover, .btn-info:focus, .btn-info:active{
	background-color: #f7f022 !important;
	border: 0 !important;
	color: #3d3d3d !important;
}

.btn-alt, .btn-alt:visited {
	background-color: #d0cc08;
	color: #3d3d3d;
	font-weight: bold;
}

.btn-alt:hover, .btn-alt:focus, .btn-alt:active {
	background-color: #ddda08;
}

.btn-pequenio, .btn-pequenio:visited {
	background-color: #ede709;
	color: #3d3d3d;
	font-weight: bold;
	margin: 0;
	padding: 5px 15px;
}

.btn-pulsado, .btn-pequenio:hover, .btn-pequenio:active {
	background-color: #cccccc !important;
	color: #3d3d3d;
}

tr:hover .btn-pequenio {
	background-color: #e6e6e6;
}

.btn-copy {
	cursor: pointer;
}

.btn-copy:active > i  {
	color: white;
}

.btn-editar {
	margin: 0px;
	padding: 3px 5px;
}

.btn-editar > .fa {
	font-weight: bold;
}

/* tablas */
.table > tbody > tr > th {
	vertical-align: middle;
}

.table-hover tbody tr:hover td, .table-hover tbody tr:hover th {
	background-color: #f7f022;
}

.table tr:last-child{
	border-bottom: 1px solid #DDD;
}

.tabla-sm {
	width: 40%;
}

.margen-centr {
	margin: 2% auto 0 auto;
}

.table  .border-bottom-ancho {
	border-bottom: 5px solid #ddd;
}

.table > tbody > tr > td, .table > tbody > tr > th, .table > tfoot > tr > td, .table > tfoot > tr > th, .table > thead > tr > td, .table > thead > tr > th {
	border-top: 2px solid #ddd;
}

.td-width{
	width: 30%;
}

.td-peq {
	width: 20px;
}

.v-align-mid {
	vertical-align: middle !important;
}

.table thead .titulo {
	border-bottom: 5px solid #ddd;
	font-size: 24px;
	padding-top: 3%;
}

/* Estilos de los encabezados */
.header{
	background-color: #3d3d3d;
	padding: .5% 0 .5% 1.2%;
}

.tit-header {
	margin-top: 14px;
	margin-left: 3px;
}

.tit-header-font {
	color: #fff;
	font-size: 36px;
	font-weight: bold;
	margin-left: .5em;
}

.header a:hover {
	text-decoration: none;
}

.navbar {
	/* Color de fondo gradiente (generado automáticamente) */
	background: rgba(237,237,237,1);/* Old Browsers */
	background: -moz-linear-gradient(top, rgba(237,237,237,1) 0%, rgba(237,237,237,1) 11%, rgba(226,226,226,1) 100%); /* FF3.6+ */
	background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(237,237,237,1)), color-stop(11%, rgba(237,237,237,1)), color-stop(100%, rgba(226,226,226,1)));/* Chrome, Safari4+ */
	background: -webkit-linear-gradient(top, rgba(237,237,237,1) 0%, rgba(237,237,237,1) 11%, rgba(226,226,226,1) 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top, rgba(237,237,237,1) 0%, rgba(237,237,237,1) 11%, rgba(226,226,226,1) 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top, rgba(237,237,237,1) 0%, rgba(237,237,237,1) 11%, rgba(226,226,226,1) 100%); /* IE 10+ */
	background: linear-gradient(to bottom, rgba(237,237,237,1) 0%, rgba(237,237,237,1) 11%, rgba(226,226,226,1) 100%);/* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ededed', endColorstr='#e2e2e2', GradientType=0 );/* IE6-9 */
}

.navbar-nav {
	margin-right: 5%;
}

.nav > li {
	display: inline-block;
}

/* Menú izquierdo */
#izquierda{
	max-height: 65%;
	text-align: left;
	padding-bottom: 20px;
	padding-left: 1%;
}

#izquierda .list-group-item {
	background-color: #f1f1f1;
	width: 100%;
}

#izquierda .list-group-item:hover {
	background-color: #d6d6d6;
}

#izquierda .list-group-item .fa {
	margin-right: 3px;
}

#izquierda a.list-group-item:visited {
	color: #3d3d3d;
}

/* Contenido central */
#contenido{
	font-size: 16px;
	padding-bottom: 50px;
}

a, a:visited {
	color: #999999;
}

a:hover, a:focus, a:active {
	color: #3d3d3d;
}

.panel-body {
	padding-top: 0px;
}

@media (max-width: 767px) {		/* Reorder divs when col-xs */
  .row.reorder-xs {
    -webkit-transform: rotate(180deg);
    -moz-transform: rotate(180deg);
    -ms-transform: rotate(180deg);
    -o-transform: rotate(180deg);
    transform: rotate(180deg);

    direction: rtl;
  }

  .row.reorder-xs > [class*="col-"] {
    -webkit-transform: rotate(-180deg);
    -moz-transform: rotate(-180deg);
    -ms-transform: rotate(-180deg);
    -o-transform: rotate(-180deg);
    transform: rotate(-180deg);

    direction: ltr;
  }
}

/* Footer */
.footer {
	height: 38px;
	position: absolute;
	bottom: 0;
	width: 100%;
	background-color: #f1f1f1;
}

.footer p {
	text-align: center;
	font-weight: bold;
	padding-top: 7px;
	margin-bottom: 0;
}

/* Formularios */
.formulario {
  display: none;
  background-color: #eee;
  width: 40%;
}

.eliminar {
  display: none;
  background-color: #eee;
  width: 50%;
  padding: 0 2em 1em;
}

#prof-act {
	display: none;
}

.form-index {
	margin: auto;
	margin-top: 2%;
	max-width: 610px;
}

.form-centr {
  padding: 15px;
  margin: 0 auto;
  text-align: center;
}

.form-convs {
	border: 3px solid #bbb;
	border-radius: 6px;
	margin-top: 4%;
	max-width: 550px;
	padding: 25px 15px 50px 15px;
}

.form-convs span {
	font-weight: bold;
}

.filtr-form {
	margin: auto;
	width: 455px;
}

.marco-form {
	border: 1px solid #bbb;
	border-radius: 15px;
	padding: 3% 25px;
}

/* Formulario de login.html */
.form-signin {
  background-color: #eee;
  max-width: 400px;
}

.form-signin label {
	margin-left: 14%;
}

.form-signin input {
	margin-bottom: .3%;
	margin-left: 3%;
}

.form-signin .form-signin-heading {
  margin-bottom: 10px;
}

/* index (busqueda) */
#id_nom_prof {
	margin-left: 2.5%;
}

#id_nom_asig {
	margin-left: .5%;
}

/* Profesor */
.profesor h1 {
	text-align: center;
}

.foto-prof {
	margin-left: 15%;
	width: 80%;
}

.no-foto {	/* fa icon para usuario sin foto */
	font-size: 100px;
	margin-left: 33%;
}

/* Asignatura */
.video-formset {
	margin-bottom: 6%;
}

#add-vid a:not(.btn){
	background-color: #ede709;
	color: #3d3d3d;
	padding: 1% 2%;
	margin-left: 40%;
}

/* Paginacion */
#contenido .pagination {
	border: 1px solid #bbb;
	display: block;
	margin: 4% auto 0;
	padding: 2% 0;
	text-align: center;
	width: 275px;
}

#contenido .pagination form {
	margin-left: 10%;
}

.pag-space {			/* Espacio para paginacion */
	display: inline-block;
	width: 5.5em;
}

.ir-pag {
	margin-top: 12px;
}

/* Programa */
.lista-prog {
	list-style-type: none;
	padding-left: 2%;
}

.lista-prog li {
	padding-top: 2%;
}

ul#id_programas {
	list-style-type: none;
}

/* Valoracion */
.h3-valoracion {
	margin: 3% 0 5% 4%;
}

.h3-valoracion > div:not(:last-child) {
	margin-bottom: 2%;
}

.margen-arriba {
	margin-top: 5%;
}

/* Grafica */
.grafica {
	border-bottom: 1px solid #ccc;
	border-top: 1px solid #ccc;
	margin: 3% auto 2% auto;
	padding: 3% 0;
	width: 700px;
}

/* Menu desplegable */
#contenido .dropdown {
    position: relative;
    display: inline-block;
}

#contenido .dropdown-menu {
	background-color: #eee;
	margin-left: 2px;
	margin-top: 20px;
	top: 0;
}

#contenido .opciones {
	margin-top: -10px;
	margin-left: 3px;
}

#contenido .dropdown-menu > li > a {
	padding: 7px 20px;
}

/* Descarga de xls */
.lista-descarga {
	list-style-type: none;
}
.lista-descarga > li {
	margin-bottom: 10px;
}

