/*//////////
// TABLAS //
//////////*/

/* Formato select2 para tablas */
.dataTables_length label,
.dataTables_length label .form-control {
    line-height: 32px;
}
.form-control.select2-container {
    height: 34px !important;
}
.dataTables_length label .form-control .select2-choice {
    padding-top: 0;
}
.select2-container .select2-choice {
    height: 32px;
    line-height: 32px;
}


/* Botones en tablas */
.table .btn {
    margin: 0 5px 5px 0;
}

/* Detalles de línea en tablas */
table.detalles-tabla {
    width: 100%;
}
td.detalles-titulo {
    min-width: 100px;
}
td.detalles-valor {
    width: 100%;
}

/* Sobreescribir background detalles tabla */
.dataTable .details {
    background-color: transparent;
}

.dataTable .details tr:nth-child(2n+1) td,
.dataTable .details tr:nth-child(2n+1) th {
    background-color: transparent;
}
.dataTable .details tr:nth-child(2n) td,
.dataTable .details tr:nth-child(2n) th {
    background-color: transparent;
}

.dataTable .details tr:hover td,
.dataTable .details tr:hover th {
    background-color: transparent;
}


/* Selector de fila */
td.row-selector,
th.row-selector {
    text-align: center;
}

/* Contador de filas seleccionadas */
.table-info {
    width: 100%;
    text-align: center;
}

.table-listado-seleccion {
    overflow-x:hidden;
    overflow-y:auto;
    max-height: 100px;
}

/* Labels de estado */
td.estado,
th.estado {
    text-align: center;
    width: 70px;
}
.estado .badge {
    min-width: 70px;
}
.estado .badge.visibilidad-oferta {
    min-width: inherit;
}

.badge {
    font-weight: 400;
}

/* Labels de estado (bootstrap-select) */
.dropdown-menu > li > a > .badge {
    position:relative;
}

/* Estos colores habrá que cambiarlos si cambian en components.css */
.btn-default .badge-danger {
    background-color: #F3565D;
}
.btn-default .badge-warning {
    background-color: #dfba49;
}
.btn-default .badge-success {
    background-color: #45B6AF;
}
.btn-default .badge-primary {
    background-color: #428bca;
}
.btn-default .badge-default {
    background-color: #c6c6c6;
}



/* Acciones */
td.acciones,
th.acciones {
    text-align: right;
    width: auto;
}

.table td.acciones .btn {
    margin: 0;
}

.table td.acciones form {
    display: inline;
}

/*////////////
// PORTLETS //
////////////*/

/* Notas grises */
.note.note-grey {
    background-color: #eee;
    border-color: #ccc;
}

/* portlets grises con borde */
.portlet.box.grey {
    border: solid 1px #E5E5E5;
}

/* Formularios de botones en título de portlets */
.portlet > .portlet-title > .actions form {
    display: inline;
}
.portlet > .portlet-title > .actions .btn.btn-default,
.portlet > .portlet-title > .actions .btn.btn-sm.btn-default,
.portlet > .portlet-title > .actions .btn-group > .btn.btn-default,
.portlet > .portlet-title > .actions .btn-group > .btn.btn-sm.btn-default {
    padding: 3px 9px;
    margin-left: 0;
    margin-top: 1px;
    margin-bottom: 2px;
}

/* Portlet con well y sin botones inferiores */
.portlet-body .well {
    margin-bottom: 0;
}


/* Portlet de búsqueda */
.titulo-busqueda {
    cursor:pointer;
}

/* Portlet reducido para visor de seguros y certificados de alumno (admin) */

div.seguros-certificados-alumno div.portlet div.portlet-title {
    margin-top: -10px !important;
    margin-bottom: -10px !important;
    min-height: 39px !important;
}

div.seguros-certificados-alumno div.portlet div.portlet-title div.caption {
    padding-bottom: 10px !important;
}

div.seguros-certificados-alumno div.portlet {
    padding-top: 10px !important;
    padding-bottom: 5px !important;
    margin-bottom: 10px !important;
}

div.seguros-certificados-alumno div.portlet div.portlet-body div.note {
    margin-bottom: 5px !important;
}




/*//////////
// FORMS  //
//////////*/

/* Botones de formulario */
.form .form-actions {
    padding: 20px 10px;
    margin: 0px;
    background-color: #F5F5F5;
    border-top: 1px solid #E5E5E5;
}

.ms-container {
    width: 100% !important;
}

/* Sobreescribir components.css para evitar cursor not-allowed */
.form-control[disabled], .form-control[readonly], fieldset[disabled] .form-control {
    cursor:  default;
}

/* Bootstrap switch: sobreescribir uniform.default.css para que se muestre correctamente */
.bootstrap-switch-container div.checker,
.bootstrap-switch-container div.checker span,
.bootstrap-switch-container div.checker input {
    height: 0;
}

.bootstrap-switch-container div.selector,
.bootstrap-switch-container div.checker,
.bootstrap-switch-container div.button,
.bootstrap-switch-container div.radio,
.bootstrap-switch-container div.uploader {
    display: none;
}

div.checker span {
    display: block;
}

/*//////////
// ADMIN  //
//////////*/

/* Portada admin */

.dashboard-stat .details {
    padding-left: 15px;
}
.dashboard-stat .details .number {
    padding-top: 10px !important; /* Sobreescribe components.css:5162 */
}

/* Toggler que no se mueva al abrir / cerrar */
.page-sidebar .sidebar-toggler,
.page-sidebar-closed.page-sidebar-fixed .page-sidebar:hover .sidebar-toggler,
.page-sidebar-closed .page-sidebar .page-sidebar-menu.page-sidebar-menu-closed .sidebar-toggler {
    margin-left: 7px;
    float: none;
}
fo
/* Menú superior: hacer coincidir el alto del menú con el alto de la barra */
.page-header.navbar.navbar-fixed-top,
.top-menu {
    min-height:70px;
}

.top-menu ul.nav.navbar-nav,
.top-menu ul.nav.navbar-nav li,
.top-menu ul.nav.navbar-nav li a {
    min-height: inherit;
}

.top-menu ul.nav.navbar-nav li a {
    line-height: 35px;
}


/* Texto estático en menú admin */
.navbar-nav .navbar-text {
    padding: 10px;
    color: #bbb;
}

/*///////////////////
// LABELS Y BADGES //
///////////////////*/
i.fa,
span.label,
span.badge {
    cursor: default;
}
a i.fa,
a span.label,
a span.badge {
    cursor: pointer;
}

span.badge-purple {
    background-color: rebeccapurple!important;
}

/* Anular z-indez del desplegable de estados para que no quede por debajo de otros */
.input-group .form-control.open {
    z-index: auto;
}

label[for="condiciones"] {
  text-align: justify;
}

label[for="lopd"] {
    text-align: justify;
}

/*///////////////////
//     BOTONES     //
///////////////////*/

/* Sobreescribir .btn-default para que su padding coincida con el resto de botones */
.btn-default {
    padding: 7px 14px;
}

/* Compatibilidad con css de datepicker (solucionar descuadre) */
.datepicker .btn-default, .datepicker2 .btn-default {
  padding: 6px 13px;
}

.btn-solicitar-doc-adicional {
    position: relative;
    display: block;
    width: 20%;
    margin-left: 40%;
    margin-right: 40%;
    color: #ffffff;
    background-color: #8e5fa2;
    border-color: #8e5fa2;
}


/*////////////////////
//      LAYOUT      //
////////////////////*/
.page-header.navbar {
    height: auto;
}

/* Sobreescribir components.css para permitir los tamaños font-awsome */
.fa-2x {
    font-size: 2em !important;
}
.fa-3x {
    font-size: 3em !important;
}
.fa-4x {
    font-size: 4em !important;
}

/* Permitir combinar iconos en tamaño pequeño */
.fa-stack.fa-sm {
    height: 1em;
    line-height: 1em;
}

/* Indicativo de sesión simulada */
.sesion-simulada {
    background-color: darkgrey;    
}
.sesion-simulada-aviso {
    text-align: center;
    vertical-align: middle;
    font-size: 14px;
    line-height: 20px;
    background-color: gold;
    font-weight: bold;
}
/*////////////////////////////////////////////////////
// Deshabilitar eventos en controles deshabilitados //
////////////////////////////////////////////////////*/
input.disabled,
input[disabled],
input[readonly] {
    pointer-events: none;
}

/*///////////////////////
// Wysiwyg + xeditable //
///////////////////////*/
.editable-input,
.editable-container.editable-inline {
    width: 100%;
}
.editable-buttons {
    float: right; /* Mostrar guardar/cancelar debajo del input */
}

/* Link editable campo por campo */
.editable-link {
    float: right;
}


/* //////////
// OFERTAS //
///////////*/

/* Validación custom selector de días  */

.has-error-selector-semanas label{
    font-weight: bold !important;
    color: #a94442;
}

.error-block-semana-selector {
    font-weight: bold !important;
    color: #a94442;
    margin-top: 5px;
    margin-bottom: 5px;
    display: block
}


.titulo-oferta,
.detalles-oferta td,
.titulo-alumno,
.detalles-alumno td {
    border-bottom: 1px solid #DDD;
    border-top: none !important;
}

.titulo-alumno-seccion {
    border-bottom: none !important;
    font-size: 3rem;
}

.bootstrap-tagsinput input {
  width: 100% !important;
}

/* Descripción editable de oferta */
/*
.editable#DESCRIPCION {
    max-height: 40vh;
    overflow-y: auto;
    width: 100%;
}
*/

/* Editable dirección */
.editable-address span,
.editable-tutor span {
    width: 70px;
    display: inline-block;
}

/* Sobreescribir plugins.css para que el .datepicker quede por debajo del modal */
.modal-open .datepicker {
    z-index: 10045 !important;
}

.modal-open .datepicker-dropdown {
    z-index: 10055 !important;
}


/* Mensajes de error x-debug */
.xdebug-error:first-of-type {
    margin-top: 52px;
}

/* Mostrar prácticas */
.datePract {
    height: 70px;
}

.datePract div {
    text-align: center;
    font-size: 30px;
    margin-top: -7px;
}

.fechaPractica,
.datoPractica {
    text-align: center;
}

.fechaPractica {
    font-size: 28px;
}

.fechaPractica,
.fechaPracticaTitulo,
.datoPractica,
.datoPracticaTitulo {
    /*line-height: 30px;*/
    display: block;
    padding-bottom: 15px;
    line-height: 22px;
}

.datoPracticaTitulo,
.fechaPracticaTitulo {
    font-weight: bold;
}

.anexos-practica {
    line-height: 1.2em;
    display: inline;
}
.anexos-practica td {
    /*padding-left: 7px;*/
    padding-right: 14px;
    padding-bottom: 5px;
}

.icono-anexo-container {
    padding-right: 0;
}

.icono-anexo {
    font-size: 1.5em !important;
    padding: 0;
}

.estado-anexo-firma,
.estado-anexo-envio {
    padding: 7px 0;
}

table.dataTable tr > td > .estado-anexo-firma,
table.dataTable tr > td > .estado-anexo-envio {
    padding: 0;
}

span.dateTitle {
    font-size: 14px;
    margin: 28px;
    line-height: 22px;
}

.pracTr td {
    width:25%;
}

.pracTr .btn {
    margin-left: -14px; /* compensa el padding-left (14px) de .btn al mostrar enlace a anexos en pantalla de práctica */
}

.cuestionario {
    margin: 30px 30px;
    border: 1px solid #e3edef;
}

.cuestionario .table {margin-bottom: 0px;}

/* Leyendas */
.leyenda {
    margin-left: 0;
}

/* Errores validation js */
.help-block-error {
    color: #a94442;
}

/* Ampliar campo para emails */
#email textarea[name="cuerpo"] {
    height: 200px;
}

/* Clases para ofertas rápidas */
.ofertaDisabled div {
    background: repeating-linear-gradient( 45deg, rgba(223, 186, 73, 0.5), rgba(223,186,73,0.5) 20px, rgba(196,159,71,0.5) 20px, rgba(196,159,71,0.5) 40px );
    line-height: 84px;
    display: block;
    font-weight: bold;
}

.form .form-actions2 {
    padding: 20px 10px;
    margin: 0px;
    background-color: #F5F5F5;
    border-top: 1px solid #E5E5E5;
}

.form .form-actions2:before, .form .form-actions2:after {
    content: " ";
    display: table;
}

.form .form-actions2:after {
    clear: both;
}

/* Contenedor de iframe */
.iframe-container {
    background:url(../img/loading-spinner-grey.gif) center center no-repeat;
}

/* Ajuste botones en formulario de calificacion */
.tablaEval .radio input {
    margin-left: -10px;
}

/* Bootstrap tagsinput */
.bootstrap-tagsinput {
    width: 100%;
}

/* Listado ofertas en vista alumno */
h3.entidad {
    font-size: 17px;
    font-family: calibri;
    font-weight: bold;
    text-transform: uppercase;
    text-decoration: underline;
}

img.logo_oferta {
    max-height: 100px;
    max-width: 150px;
}

p.oferta-desc {
    font-style: italic;
    text-indent: 50px;
    /* height: 2.5em; */
    overflow: hidden;
    display: block;
}

.enlace-oferta button {
    margin-left: 10px;
}

.enlace-oferta {
  float: right;
}

.list-group a[class^="list-group-item pagina"] {
  cursor: default;
}

span.pagecount {
    display: inline-block;
    padding: 0px 50px;
}

.titulo-oferta .fa-lg {
  font-size: 30px !important;
  vertical-align: top;
}

/* Mostrar áreas de conocimiento una tras otra, y que se rompa en varias líneas si el ancho de pantalla lo requiere */
.area-inline {
    display: inline-block;
    height: 24px;
    line-height: 20px;
}

.dato-oferta-inline,
.dato-oferta-inline-separador {
    display: inline-block;
    margin: 0 10px 5px 0;
}

.dato-oferta-inline a {
    color: #333333;
}

@media (max-width: 468px) {
    .dato-oferta-inline {
        width: 100%;
    }
    .dato-oferta-inline-separador {
        display: none !important;
    }
}

.datos-oferta-container {
    border-bottom: 1px solid #DDD;
}

/* Ajuste en validacion */
.has-error, .has-error .control-label {
  font-weight: bold;
}

/* Vista de currículum */
#idiomas .rowName, #formacion .rowName, #formacionReg .rowName, #expLaboral .rowName {
    font-weight: bold;
}

#idiomas p, #formacion p, #formacionReg p, #expLaboral p {
    text-indent: 20px;
}

/* Arreglar descuadre de botón de datepicker por validación */
.input-group-btn {
  vertical-align: top;
}

.popupModal {
  z-index:10052;
}


/* RESPONSIVE */
@media (max-width:992px) {
  #uniform-optionsChecks4 div {
    padding-right: 0px !important;
  }
}

@media (max-width:767px) {
  .input-pais {
    margin-bottom: 15px;
  }
}

/* añadir niveles por encima de hidden-lg */
@media (min-width:1350px) {
    .hidden-lg {
        display:inherit!important;
    }

    .hidden-lg-extra {
        display:none!important;
    }
}

@media (min-width:1500px) {
    
    .hidden-lg,
    .hidden-lg-extra {
        display:inherit!important
    }
    
    .hidden-lg-extra2 {
        display:none!important;
    }
}

/* EXPERIMENTAL RESPONSIVE */
@media (max-width:700px) {
    [class*="col-"] [class*="col-"] {
        /*padding-left: 0px !important;
        padding-right: 0px !important;*/
    }

    .no-padding {
        padding-left: 0px !important;
        padding-right: 0px !important;
    }
}

/* Título de la aplicación Responsive */
.navbar-text h2 {
    line-height: 31px;
}
@media (min-width:1200px) {
    .header > .container {
        height: 80px;
    }
}
@media (max-width:1199px) {
    .navbar-text h2 {
        font-size: 17px;
        line-height: 16px;
        max-width: 140px; /* Fuerza varias líneas en título con tal de no sobreescribir el menú */
    }
    

    /* Mantiene logo y título en la misma línea */
    .navbar-header {
        float: left;
    }
    .navbar-header .site-logo #logo-mini {
        visibility: visible;
        display: inline;
    }
    .navbar-header .site-logo #logo-base {
        visibility: hidden;
        display: none;
    }
}

@media (min-width: 1025px) and (max-width: 1205px) {
    .header .header-navigation {
        margin-top: -11px; /* sobreescribir assets/frontend/layout/css/style-responsive.css */
    }
}
.header-navigation > ul > li.dropdown:hover > a::after {
    margin-left: -3px; /* sobreescribir assets/frontend/layout/css/style-responsive.css */
}

@media (max-width:767px) {
    .navbar-nav > li > a {
        padding-top: 15px;
        padding-bottom: 15px;
    }
}

.page-header-fixed .header {
    height: 80px;
}

.navbar-header > .navbar-toggle.collapsed {
    display: none;
}
.navbar-nav {
    margin-left: 15px; /* Evitar que título pise logo URJC */
}
.login-reg-links {
    padding-right: 0;
}

/* Adaptar botones deshabilitados al color corporativo */
.btn-primary.disabled, 
.btn-primary.disabled:hover, 
.btn-primary.disabled:focus, 
.btn-primary.disabled:active, 
.btn-primary.disabled.active, 
.btn-primary[disabled], 
.btn-primary[disabled]:hover, 
.btn-primary[disabled]:focus, 
.btn-primary[disabled]:active, 
.btn-primary.active[disabled] {
    background:     #8e0010 !important;
    border-color:   #8e0010 !important;
}

/* Icono enlaces a nueva página */
a.target-blank:hover:after,
a[target="_blank"]:hover:after {
    font-family: 'FontAwesome';
    content: " \f08e";
    margin: 0 3px 0 0;
    visibility: visible;
}
a.target-blank:after,
a[target="_blank"]:after {
    font-family: 'FontAwesome';
    content: " \f08e";
    margin: 0 3px 0 0;
    visibility: hidden;
}

.acciones > a.target-blank:hover:after,
.acciones > a[target="_blank"]:hover:after,
.acciones > a.target-blank:after,
.acciones > a[target="_blank"]:after {
    font-family: none;
    content: none;
    margin: 0;
    visibility: visible;
}

a:hover,
a:active,
a.btn-link:hover,
a.btn-link:active {
    text-decoration: none;
}

/* Enlaces en barra de título: evitar mismo color hover que el fondo */
.panel-primary .panel-title a {
    color: #ecc3c4;
}
.panel-primary .panel-title a:hover {
    color: #f8e9ea
}

/* Mostrar textos respetando sus cambios de línea (evitando scroll). Fuente: http://www.forosdelweb.com/f4/etiqueta-pre-con-atributo-width-559165/ */
pre.texto-preformateado {
    font-family: "Open Sans", sans-serif; 
    padding: 0;
    white-space: pre-wrap; 
    white-space: -moz-pre-wrap !important; 
    white-space: -pre-wrap; 
    white-space: -o-pre-wrap; 
    word-wrap: break-word;
    border: none;
    background-color: transparent;
}

/* 
Campos de texto de Datepickers siempre están disabled, solo se pueden utilizar mediante el botón 
Aclarar apariencia para evitar que el usuario piense que no puede utilizar el control
*/
.datepicker .form-control[disabled],
.datepicker2 .form-control[disabled] {
    background-color: #fafafa; /* sobreescribe #eeeeee en components.css:3392 */
}
.datepicker .form-control[readonly],
.datepicker2 .form-control[readonly] {
    background-color: #eeeeee;
}

.datepicker .form-control.disabled,
.datepicker2 .form-control.disabled {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    
    background-color: #fafafa;
}

/* Radio buttons de titulaciones al inscribir alumno */
#alumno_titu label.radio-inline {
    width: 100%;
}

/* Ajustes en datatables para botones de impresión */
.portlet.box .dataTables_wrapper .dt-buttons {
    margin-top: 0;
    padding-right: 20px;
}

.dataTables_wrapper .dt-buttons {
    float: right;
}

div.dataTables_wrapper div.dataTables_filter {
    text-align: right;
}

.dataTables_wrapper .dataTables_filter {
    float: right;
    text-align: right;
}

.dataTables_wrapper .dataTables_length, .dataTables_wrapper .dataTables_filter, .dataTables_wrapper .dataTables_info, .dataTables_wrapper .dataTables_processing, .dataTables_wrapper .dataTables_paginate {
    color: #333;
}

a.dt-button, button.dt-button, div.dt-button {
    background-image: none!important;
    padding: 6px 12px!important;
}

button.dt-button, div.dt-button, a.dt-button {
    position: relative;
    display: inline-block;
    box-sizing: border-box;
    margin-right: 0.333em;
    padding: 0.5em 1em;
    border: 1px solid #999;
    border-radius: 2px;
    cursor: pointer;
    font-size: 0.88em;
    color: black;
    white-space: nowrap;
    overflow: hidden;
    background-color: #e9e9e9;
    background-image: -webkit-linear-gradient(top, #fff 0%, #e9e9e9 100%);
    background-image: -moz-linear-gradient(top, #fff 0%, #e9e9e9 100%);
    background-image: -ms-linear-gradient(top, #fff 0%, #e9e9e9 100%);
    background-image: -o-linear-gradient(top, #fff 0%, #e9e9e9 100%);
    background-image: linear-gradient(to bottom, #fff 0%, #e9e9e9 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(GradientType=0,StartColorStr='white', EndColorStr='#e9e9e9');
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    text-decoration: none;
    outline: none;
}

.buttons-print {
    border-color: #2f353b;
    color: #2f353b;
    background: 0 0;
}

.buttons-print:hover {
	border-color: #2f353b;
    color: #FFF;
    background-color: #2f353b;
}

#checkEnvio {
	margin-left: -10px;
}

/* CSS Star rating */
/* Para ajustar el tamaño de las etiquetas de los star-ratings*/
.rating-container .caption .label {
    font-size: unset !important;
}

.rating-stars {
    cursor: default !important;
}

#valoracion-entidad-error {
    font-size: 14px;
}

.small-stars .rating-container {
    font-size: unset !important;
}

.small-stars .rating-stars {
    font-size: 14px;
}

.small-stars .rating-container .caption {
    font-size: 14px !important;
}

.rating-container .rating-input {
    display: none;
}

.hide-radio > .radio {
    visibility: hidden;
    position: absolute;
}
.hide-radio > .radio + img {
    cursor: pointer;
    border: 2px solid transparent;
}


.language {
    float: right;
    display: block;
    width: 33px;
    padding: 5px 6px;
}
.lang-selected {
    background-color: #ff000066;
    border: solid 1px black;
}
.informe-intermedio-fila {
    margin-bottom: 20px;
}
.informe-intermedio-fila > table {
    margin-bottom: 0px;
}

/* CSS Chat Tutores */
.formChatStyle > .modal-body > .list-group > .list-group-item {
    margin-bottom: 4px;
}

.formChatStyle > .modal-body > .list-group > .list-group-item > .row > .portlet{
    margin-bottom: 0px;
}

.formChatStyle > .modal-body > .list-group > .list-group-item > .row > .remStyle > .portlet-title {
    border-bottom: 0px;
}

.formChatStyle > .modal-body > .list-group > .list-group-item > .row > .remStyle > .portlet-title > .caption {
    word-break: break-word;
}

.formChatStyle > .modal-body > .list-group > .list-group-item > .row > .remStyle > .portlet-title > .caption > span {
    font-size: 14px;
}

.formChatStyle > .modal-body > .list-group > .list-group-item > .row > .portlet > .portlet-title > .actions > em {
    float: right;
}

.formChatStyle > .modal-body > .list-group > .list-group-item > .row > .portlet > .portlet-body {
    text-align: justify;
}

.formChatStyle > .modal-body > .form-group > label {
    text-align: left;
}

.formChatStyle > .modal-footer > .btnRecordatorio {
    float: left;
}

.btn-wysiwig {
    background-color: #e5e5e5;
}

.btn-wysiwig > i{
    color: black;
}

#cuerpo-toolbar {
    padding-left: 0px;
    margin-bottom: 5px;
}