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

.cursor-pointer {
    cursor: pointer;
}

.login-logo > img {
    max-width: 50%;
    margin-bottom: 10px;
}

.header-logo {
    max-height: 100%;
}

.c-input.c-checkbox-right {
    padding-left: 0;
    padding-right: 1.5rem;
}

form .card-block .row > .c-input.c-checkbox-right {
    padding-left: .625rem;
}

.c-checkbox-right .c-indicator {
    left: unset;
    right: 0;
}

/* ---------------------------------------
            Permisos de Conducir
----------------------------------------- */

.tipo_per {
    font-family: 'Roboto', sans-serif;
    font-size: 10pt;
    font-weight: bold;
    padding: 10px;
    background-color: #addbff;
    color: #666666;
    text-decoration: none;
    border-radius: 5px;
    margin-left:20px;
    margin-right:20px;
    margin-top:30px;
    margin-bottom:20px;
    line-height: 4;
}

.tipo_per:link,
.tipo_per:visited {
    border-top: 1px solid #cccccc;
    border-bottom: 2px solid #666666;
    border-left: 1px solid #cccccc;
    border-right: 2px solid #666666;
}

.tipo_per:hover {
    border-bottom: 1px solid #cccccc;
    border-top: 2px solid #666666;
    border-right: 1px solid #cccccc;
    border-left: 2px solid #666666;
}

/* ---------------------------------------
                Temas
----------------------------------------- */

#preview_zone {
    padding-top: 50px;
    padding-bottom: 50px;
    padding-left: 30%;
    padding-right: 25px;
    border: 3px dashed #2196f3;
    /* color: #2196f3; */
}

#preview_upload {
    text-decoration: none;
}

#default_preview,
#list_previews img {
    cursor: pointer;
    max-height: 200px;
    max-width: 200px;
}

.diap-container {
    display: inline-block;
    position: relative;
    margin: 5px;
}

#list_previews a.img_preview {
    position: absolute;
    top: 0;
    right: 0;
    transition: 0.3s;
}

#list_previews a.img_preview i.fa {
    cursor: pointer;
    margin: 5px;
    font-size: 2em;
}

.indicador-tema {
    color: #2196F3;
    margin-left: 5px;
}

/* ---------------------------------------
                Tests
----------------------------------------- */

#admin_questions .alert {
    padding: 0px;
    border: 0px solid transparent;
}

#modal_questions a.text-muted {
    text-decoration: none;
}

.preview-container {
    width: 100%;
    height: 300px;
    text-align: center;
    font: 0/0 a;
}

.preview-container:before {
    content: ' ';
    display: inline-block;
    vertical-align: middle;
    height: 100%;
}

.preview-container img.preview {
    display: inline-block;
    vertical-align: middle;
    max-height: 100%;
    max-width: 100%;
}

/* ---------------------------------------
                  Tags
----------------------------------------- */

.badge {
    border: 1px solid #000;
}

.badge {
    display: inline-block;
    padding: 0.25em 0.4em;
/*    font-size: 75%;*/
    font-weight: bold;
    line-height: 1;
    color: #fff;
    text-align: center;
/*    white-space: nowrap;*/
    vertical-align: baseline;
    border-radius: 0.25rem;
}

.badge:empty {
    display: none;
}

.btn .badge {
    position: relative;
    top: -1px;
}

a.badge:focus, a.badge:hover {
    color: #fff;
    text-decoration: none;
}

a.badge:focus,
a.badge:hover,
.tag .badge:focus,
.tag .badge:hover {
    cursor: pointer;
}

.badge-pill {
    padding-right: 0.6em;
    padding-left: 0.6em;
    border-radius: 10rem;
}

.badge-default {
    background-color: #636c72;
}

.badge-default[href]:focus, .badge-default[href]:hover {
    background-color: #4b5257;
}

.badge-primary {
    background-color: #2196F3;
}

.badge-primary[href]:focus, .badge-primary[href]:hover {
    background-color: #2196F3;
}

.badge-success {
    background-color: #00876e;
}

.badge-success[href]:focus, .badge-success[href]:hover {
    background-color: #449d44;
}

.badge-info {
    background-color: #5bc0de;
}

.badge-info[href]:focus, .badge-info[href]:hover {
    background-color: #31b0d5;
}

.badge-warning {
    background-color: #f0ad4e;
}

.badge-warning[href]:focus, .badge-warning[href]:hover {
    background-color: #ec971f;
}

.badge-danger {
    background-color: #d9534f;
}

.badge-danger[href]:focus, .badge-danger[href]:hover {
    background-color: #c9302c;
}

.card-block .tag-card {
    padding-bottom: 0;
    background-color: #eceeef;
    border: solid 1px #babbbc;
}

.card-block .tag-card > .row {
    min-height: 2.5em;
}

.tag {
    margin-bottom: .625rem;
}

.tag .badge {
    width: 100%;
}

.tag .delete {
    font-size: 20px;
    position: absolute;
    right: 10px;
    top: 2px;
}