html,
body {
    height: 100%;
}

.wrap {
    min-height: 100%;
    height: auto;
    margin: 0 auto -60px;
    padding: 0 0 60px;
}

.wrap > .container {
    padding: 70px 15px 20px;
}

.footer {
    height: 60px;
    background-color: #f5f5f5;
    border-top: 1px solid #ddd;
    padding-top: 20px;
}

.jumbotron {
    text-align: center;
    background-color: transparent;
}

.jumbotron .btn {
    font-size: 21px;
    padding: 14px 24px;
}

.not-set {
    color: #c55;
    font-style: italic;
}

/* add sorting icons to gridview sort links */
a.asc:after, a.desc:after {
    position: relative;
    top: 1px;
    display: inline-block;
    font-family: 'Glyphicons Halflings';
    font-style: normal;
    font-weight: normal;
    line-height: 1;
    padding-left: 5px;
}

a.asc:after {
    content: /*"\e113"*/ "\e151";
}

a.desc:after {
    content: /*"\e114"*/ "\e152";
}

.sort-numerical a.asc:after {
    content: "\e153";
}

.sort-numerical a.desc:after {
    content: "\e154";
}

.sort-ordinal a.asc:after {
    content: "\e155";
}

.sort-ordinal a.desc:after {
    content: "\e156";
}

.grid-view th {
    white-space: nowrap;
}

.hint-block {
    display: block;
    margin-top: 5px;
    color: #999;
}

.error-summary {
    color: #a94442;
    background: #fdf7f7;
    border-left: 3px solid #eed3d7;
    padding: 10px 20px;
    margin: 0 0 15px 0;
}

/* align the logout "link" (button in form) of the navbar */
.nav li > form > button.logout {
    padding: 15px;
    border: none;
}

@media(max-width:767px) {
    .nav li > form > button.logout {
        display:block;
        text-align: left;
        width: 100%;
        padding: 10px 15px;
    }
}

.nav > li > form > button.logout:focus,
.nav > li > form > button.logout:hover {
    text-decoration: none;
}

.nav > li > form > button.logout:focus {
    outline: none;
}

/* ==========================================================================
   RESET GLOBAL DE LINKS & EXTINÇÃO DEFINITIVA DE ESTADO :VISITED INVISÍVEL
   ========================================================================== */
a, a:visited {
    color: inherit;
    text-decoration: none;
}

a:hover, a:focus {
    text-decoration: underline;
    color: #297b86;
}

/* Links de texto dentro de cards, artigos, tabelas e painéis */
.content a, .content a:visited,
.entry-content a, .entry-content a:visited,
.card-body a, .card-body a:visited,
.panel-body a, .panel-body a:visited,
.programa-card-body a, .programa-card-body a:visited,
.episodio-card a, .episodio-card a:visited,
.episodio-descricao-texto a, .episodio-descricao-texto a:visited {
    color: #297b86;
}

.content a:hover, .entry-content a:hover,
.card-body a:hover, .panel-body a:hover,
.programa-card-body a:hover, .episodio-card a:hover,
.episodio-descricao-texto a:hover {
    color: #1a5159;
    text-decoration: underline;
}

/* Blindagem absoluta para Botões (garante que texto NUNCA fique invisível pós-clique) */
a.btn, a.btn:visited,
button.btn, .btn {
    text-decoration: none !important;
}

a.btn-primary, a.btn-primary:visited,
.btn-primary, .btn-primary:visited {
    color: #ffffff !important;
    background-color: #297b86 !important;
    border-color: #246a74 !important;
}

a.btn-primary:hover, a.btn-primary:focus, a.btn-primary:active,
.btn-primary:hover, .btn-primary:focus, .btn-primary:active {
    color: #ffffff !important;
    background-color: #1f5f68 !important;
    border-color: #1a5159 !important;
}

a.btn-success, a.btn-success:visited,
.btn-success, .btn-success:visited {
    color: #ffffff !important;
    background-color: #28a745 !important;
    border-color: #218838 !important;
}

a.btn-info, a.btn-info:visited,
.btn-info, .btn-info:visited {
    color: #ffffff !important;
    background-color: #17a2b8 !important;
    border-color: #117a8b !important;
}

a.btn-warning, a.btn-warning:visited,
.btn-warning, .btn-warning:visited {
    color: #212529 !important;
    background-color: #ffc107 !important;
    border-color: #e0a800 !important;
}

a.btn-danger, a.btn-danger:visited,
.btn-danger, .btn-danger:visited {
    color: #ffffff !important;
    background-color: #dc3545 !important;
    border-color: #c82333 !important;
}

a.btn-default, a.btn-default:visited,
.btn-default, .btn-default:visited {
    color: #333333 !important;
    background-color: #ffffff !important;
    border-color: #cccccc !important;
}

a.btn-default:hover, a.btn-default:focus,
.btn-default:hover, .btn-default:focus {
    color: #333333 !important;
    background-color: #e6e6e6 !important;
    border-color: #adadad !important;
}

a.btn-outline-primary, a.btn-outline-primary:visited {
    color: #297b86 !important;
    border-color: #297b86 !important;
    background-color: transparent !important;
}

a.btn-outline-primary:hover, a.btn-outline-primary:focus {
    color: #ffffff !important;
    background-color: #297b86 !important;
    border-color: #297b86 !important;
}
