.starter-template {
    padding: 40px 15px;
    text-align: center;
}

.table > tbody > tr > td,
.table > tbody > tr > th,
.table > tfoot > tr > td,
.table > tfoot > tr > th,
.table > thead > tr > td,
.table > thead > tr > th {
    vertical-align: middle;
}

.table-hover > tbody > tr > td.no-border-top {
    border-top: 0;
}

.table-hover > tbody > tr.no-hover:hover {
    background-color: transparent !important;
    color: inherit !important;
}

@media only screen and (max-width: 767px) {
    .table-hover > tbody > tr.no-hover {
        margin-top: -1em;
        margin-bottom: 1em;
        border-top: 0;
    }
}

.panel.panel-notas {
    margin-top: 0.25rem;
    margin-bottom: 0.35rem;
    margin-left: 0.5rem;
    border-radius: 0;
    border-top: 0;
    border-bottom: 0;
    border-right: 0;
    -webkit-box-shadow: unset;
    box-shadow: unset;
}

.panel-body.panel-body-notas {
    padding: 0px 0px 0px 12px;
}

.vertical-align-top.table > tbody > tr > td,
.vertical-align-top.table > tbody > tr > th,
.vertical-align-top.table > tfoot > tr > td,
.vertical-align-top.table > tfoot > tr > th,
.vertical-align-top.table > thead > tr > td,
.vertical-align-top.table > thead > tr > th {
    vertical-align: top;
}

/* Clase para poner un gradiente bonico */
hr.gradient {
    border: 0;
    height: 2px;
    background-image: -webkit-linear-gradient(left, #f0f0f0, #8c8b8b, #f0f0f0);
    background-image: -moz-linear-gradient(left, #f0f0f0, #8c8b8b, #f0f0f0);
    background-image: -ms-linear-gradient(left, #f0f0f0, #8c8b8b, #f0f0f0);
    background-image: -o-linear-gradient(left, #f0f0f0, #8c8b8b, #f0f0f0);
}

.label {
    display: inline;
    padding: 0.25em 0.5em 0.25em;
    font-size: 85%;
    font-weight: 700;
    line-height: 1;
    color: #fff;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: 0.25em;
}

/* OVERRIDES DE CHOSEN */
/*.chosen-container{
	width: 100% !important;
}

.chosen-choices .search-field input{
	height: auto !important;
	width: 241px !important;
	padding-left: 12px !important;
}

.chosen-single{
	height: 34px !important;
}
.chosen-single span{
	margin-top: 5px !important;
}

.chosen-container-single .chosen-single div b{
	background-position: 4px 6px !important;
}

.chosen-container-active.chosen-with-drop .chosen-single div b{
	background-position: -15px 5px !important;
}*/
/* FIN: OVERRIDES DE CHOSEN */

/* OVERRIDES DE NAVBAR */
/* Navbar */
@media (max-width: 1165px) {
    .navbar-header {
        float: none;
    }
    .navbar-left,
    .navbar-right {
        float: none !important;
    }
    .navbar-toggle {
        display: block;
    }
    .navbar-collapse {
        border-top: 1px solid transparent;
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
    }
    .navbar-fixed-top {
        top: 0;
        border-width: 0 0 1px;
    }
    .navbar-collapse.collapse {
        display: none !important;
    }
    .navbar-nav {
        float: none !important;
        margin-top: 7.5px;
    }
    .navbar-nav > li {
        float: none;
    }
    .navbar-nav > li > a {
        padding-top: 10px;
        padding-bottom: 10px;
    }
    .navbar-collapse.collapse.in {
        display: block !important;
    }
}

@media (width < 1260px) and (width > 1165px) {
    #nombre-usuario-navbar {
        display: none;
    }
}

@media (max-width: 1165px) and (min-width: 768px) {
    .container {
        padding-right: 5px;
        padding-left: 5px;
    }
}

@media (min-width: 1165px) {
    .navbar-nav {
        float: left;
        margin: 0;
    }
    .navbar-nav > li {
        float: left;
    }
    .navbar-nav > li > a {
        padding-top: 15px;
        padding-bottom: 15px;
    }
    .navbar-form .form-group {
        display: inline-block;
        margin-bottom: 0;
        vertical-align: middle;
    }
    .navbar-form .form-control {
        display: inline-block;
        width: auto;
        vertical-align: middle;
    }
    .navbar-form .form-control-static {
        display: inline-block;
    }
    .navbar-form .input-group {
        display: inline-table;
        vertical-align: middle;
    }
    .navbar-form .input-group .input-group-addon,
    .navbar-form .input-group .input-group-btn,
    .navbar-form .input-group .form-control {
        width: auto;
    }
    .navbar-form .input-group > .form-control {
        width: 100%;
    }
    .navbar-form .control-label {
        margin-bottom: 0;
        vertical-align: middle;
    }
    .navbar-form .radio,
    .navbar-form .checkbox {
        display: inline-block;
        margin-top: 0;
        margin-bottom: 0;
        vertical-align: middle;
    }
    .navbar-form .radio label,
    .navbar-form .checkbox label {
        padding-left: 0;
    }
    .navbar-form .radio input[type='radio'],
    .navbar-form .checkbox input[type='checkbox'] {
        position: relative;
        margin-left: 0;
    }
    .navbar-form .has-feedback .form-control-feedback {
        top: 0;
    }
    .navbar-form {
        width: auto;
        padding-top: 0;
        padding-bottom: 0;
        margin-right: 0;
        margin-left: 0;
        border: 0;
        -webkit-box-shadow: none;
        box-shadow: none;
    }
}

@media (max-width: 991px) {
    #menu-sistema,
    #exercise-navbar-selector-container {
        position: absolute !important;
    }
    .navbar-nav .open .dropdown-menu {
        position: static;
        float: none;
        width: auto;
        margin-top: 0;
        background-color: transparent;
        border: 0;
        -webkit-box-shadow: none;
        box-shadow: none;
    }
    .navbar-nav .open .dropdown-menu > li > a,
    .navbar-nav .open .dropdown-menu .dropdown-header {
        padding: 5px 15px 5px 25px;
    }
    .navbar-nav .open .dropdown-menu > li > a {
        line-height: 20px;
    }
    .navbar-nav .open .dropdown-menu > li > a:hover,
    .navbar-nav .open .dropdown-menu > li > a:focus {
        background-image: none;
    }
    .navbar-nav .open .dropdown-menu {
        position: static;
        float: none;
        width: auto;
        margin-top: 0;
        background-color: transparent;
        border: 0;
        -webkit-box-shadow: none;
        box-shadow: none;
    }
    .navbar-form .form-group {
        margin-bottom: 5px;
    }
    .navbar-form .form-group:last-child {
        margin-bottom: 0;
    }
    .navbar-inverse .navbar-nav .open .dropdown-menu > .dropdown-header {
        border-color: #080808;
    }
    .navbar-inverse .navbar-nav .open .dropdown-menu .divider {
        background-color: #080808;
    }
    .navbar-inverse .navbar-nav .open .dropdown-menu > li > a {
        color: #9d9d9d;
    }
    .navbar-inverse .navbar-nav .open .dropdown-menu > li > a:hover,
    .navbar-inverse .navbar-nav .open .dropdown-menu > li > a:focus {
        color: #fff;
        background-color: transparent;
    }
    .navbar-inverse .navbar-nav .open .dropdown-menu > .active > a,
    .navbar-inverse .navbar-nav .open .dropdown-menu > .active > a:hover,
    .navbar-inverse .navbar-nav .open .dropdown-menu > .active > a:focus {
        color: #fff;
        background-color: #080808;
    }
    .navbar-inverse .navbar-nav .open .dropdown-menu > .disabled > a,
    .navbar-inverse .navbar-nav .open .dropdown-menu > .disabled > a:hover,
    .navbar-inverse .navbar-nav .open .dropdown-menu > .disabled > a:focus {
        color: #444;
        background-color: transparent;
    }
}
/* FIN: OVERRIDES DE NAVBAR */

@media (max-width: 555px) {
    .nav-tabs > li {
        width: 100%;
        text-align: center;
    }
    .nav-tabs > li.active > a,
    .nav-tabs > li.active > a:focus,
    .nav-tabs > li.active > a:hover {
        border-bottom-color: #ddd;
    }
}

/* Typeahead: Fix en input typeahead para que no modifique el ancho original */
span.twitter-typeahead {
    display: block !important;
}
/* Typeahead: End fix */

/* SOBREESCRITURA DE DROPDOWNS PARA BOTONES CON MULTIPLES NIVELES */
.dropdown-submenu {
    position: relative;
    float: none;
}
.dropdown-submenu > .dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: -6px;
    margin-left: -1px;
    -webkit-border-radius: 0 6px 6px 6px;
    -moz-border-radius: 0 6px 6px;
    border-radius: 0 6px 6px 6px;
}
.dropdown-submenu:hover > .dropdown-menu {
    display: block;
}
.dropdown-submenu:not(.dropdown-submenu-right) > a:after {
    display: block;
    content: ' ';
    float: right;
    width: 0;
    height: 0;
    border-color: transparent;
    border-style: solid;
    border-width: 5px 0 5px 5px;
    border-left-color: #999;
    margin-top: 5px;
    margin-right: -10px;
}
.dropdown-submenu:hover > a:after {
    border-left-color: #fff;
}

/* SOBREESCRITURA DE DROPDOWNS PARA ALINEAR CON EL BORDE DERECHO CON MULTIPLES NIVELES */
.dropdown-submenu.dropdown-submenu-right {
    position: relative;
    float: none;
}
.dropdown-submenu.dropdown-submenu-right > .dropdown-menu {
    right: 100%;
    float: right;
    left: unset;
    -webkit-border-radius: 6px 0px 6px 6px;
    -moz-border-radius: 6px 0px 6px 6px;
    border-radius: 6px 0px 6px 6px;
}
.dropdown-submenu.dropdown-submenu-right:hover > .dropdown-menu {
    display: block;
}
.dropdown-submenu.dropdown-submenu-right > a:before {
    display: block;
    content: ' ';
    float: left;
    width: 0;
    height: 0;
    border-color: transparent;
    border-style: solid;
    border-width: 5px 5px 5px 0;
    border-right-color: #999;
    margin-top: 5px;
    margin-right: 5px;
    margin-left: -5px;
}
.dropdown-submenu.dropdown-submenu-right:hover > a:before {
    border-left-color: #ffffff;
}

ul.pagination {
    margin-top: 0px !important;
    margin-bottom: 0px !important;
}

.color-container {
    width: 40px;
    height: 25px;
    display: inline-block;
    border: solid 1px #000;
}

.nav-pills > li.active > a.nav-pills-orange,
.nav-pills > li.active > a.nav-pills-orange:focus,
.nav-pills > li.active > a.nav-pills-orange:hover {
    background-color: orange;
}
.nav-pills > li.active > a.nav-pills-green,
.nav-pills > li.active > a.nav-pills-green:focus,
.nav-pills > li.active > a.nav-pills-green:hover {
    background-color: green;
}
.nav-pills > li.active > a.nav-pills-red,
.nav-pills > li.active > a.nav-pills-red:focus,
.nav-pills > li.active > a.nav-pills-red:hover {
    background-color: red;
}

.icons-margin-r {
    margin-right: 0.5em;
}

.icons-margin-l {
    margin-left: 0.5em;
}

.modal.in .modal-dialog-center {
    -webkit-transform: translate(0, calc(50vh - 50%));
    -ms-transform: translate(0, 50vh) translate(0, -50%);
    -o-transform: translate(0, calc(50vh - 50%));
    transform: translate(0, 50vh) translate(0, -50%);
}

.list-group-item-flex {
    position: relative;
    display: flex;
    align-items: center;
    padding: 10px 15px;
    margin-bottom: -1px;
    background-color: #fff;
    border: 1px solid #ddd;
}

.loading-dots {
    font-size: 16px;
}

.loading-dots:after {
    overflow: hidden;
    display: inline-block;
    vertical-align: bottom;
    -webkit-animation: ellipsis steps(4, end) 1600ms infinite;
    animation: ellipsis steps(4, end) 1600ms infinite;
    content: '\2026'; /* ascii code for the ellipsis character */
    width: 0px;
}

@keyframes ellipsis {
    to {
        width: 1.25em;
    }
}

@-webkit-keyframes ellipsis {
    to {
        width: 1.25em;
    }
}

/* TYPEAHEAD JS */

/* Aumentar el width al máximo del input */
.twitter-typeahead,
.tt-input-full-width,
.tt-hint-full-width,
.tt-menu-full-width {
    width: 100%;
}

/* Estilo para las sugerencias con iniciales y sin iniciales */
.twitter-typeahead .tt-suggestion-with-initials {
    white-space: unset;
    height: auto !important;
    line-height: 20px !important;
    padding: 5px 0;
    border-width: 0 0 2px 0;
    border-style: solid;
    border-color: #1d8cf8;
}

.twitter-typeahead .tt-suggestion-with-initials:hover,
.twitter-typeahead .tt-suggestion-with-initials.tt-cursor {
    text-decoration: none;
    outline: 0;
    background-color: #e0e0e0 !important;
}

@media only screen and (min-width: 767px) {
    .twitter-typeahead .tt-suggestion-with-initials::after {
        content: '';
        height: 70%;
        width: 5px;
        position: absolute;
        left: 0;
        background-color: #1d8cf8;
    }
}
.twitter-typeahead .tt-suggestion-with-initials:last-child {
    border-width: 0;
}
.twitter-typeahead .tt-suggestion-with-initials .photo {
    display: inline-block;
    overflow: hidden;
    vertical-align: middle;
    width: 30px;
    height: 30px;
    background-color: #1d8cf8;
    text-align: center;
    border-radius: 50%;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
}
.twitter-typeahead .tt-suggestion-with-initials .photo .initials {
    position: relative;
    top: 4.5px;
    /* 25% of parent */
    font-size: 15px;
    /* 50% of parent */
    line-height: 15px;
    /* 50% of parent */
    color: #fff;
    font-weight: bold;
}

.twitter-typeahead .typeahead-title {
    margin: 0 20px 5px 20px;
    padding: 3px 0;
    border-bottom: 1px solid #ccc;
}

.twitter-typeahead .typeahead-title i {
    margin-right: 1.5rem;
}

.twitter-typeahead .tt-suggestion-with-row {
    display: block;
    margin: 0;
    width: 100%;
    clear: both;
    font-weight: normal;
    line-height: 1.42857143;
    white-space: nowrap;
    z-index: 1000 !important;
    padding: 5px 0;
    border-width: 0 0 1px 0;
    border-style: solid;
    border-color: #1d8cf8;
}
.twitter-typeahead .tt-suggestion-with-row:hover,
.twitter-typeahead .tt-suggestion-with-row.tt-cursor {
    text-decoration: none;
    outline: 0;
    background-color: #e0e0e0 !important;
}

.text-left {
    text-align: left !important;
}
.text-right {
    text-align: right !important;
}
.text-center {
    text-align: center !important;
}

@media (min-width: 576px) {
    .text-sm-left {
        text-align: left !important;
    }
    .text-sm-right {
        text-align: right !important;
    }
    .text-sm-center {
        text-align: center !important;
    }
}

@media (min-width: 768px) {
    .text-md-left {
        text-align: left !important;
    }
    .text-md-right {
        text-align: right !important;
    }
    .text-md-center {
        text-align: center !important;
    }
}

.inline-xs {
    display: none !important;
}

@media (max-width: 767px) {
    .inline-xs {
        display: inline !important;
    }
}

.jconfirm-buttons {
    display: flex;
    flex-flow: row wrap;
    gap: 16px;
    justify-content: center;
}

.auto-width {
    width: auto;
}

.nav-tabs > li > a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
