.no_padding {
    padding: 0 !important;
}

.no_margin {
    margin: 0 !important;
}

html,
body {
    height: 100%;
    font-family: "Open Sans" !important;
    padding-top: 0;
}

a {
    color: #000;
}

a:hover {
    color: #747678;
}

.navbar-expand-lg > .container {
    padding-left: 15px;
    padding-right: 15px;
}

.navbar-light .navbar-nav .nav-link {
    font-weight: bold;
    color: #333;
}

.navbar-light .navbar-nav .nav-link.activo {
    color: #000;
}

.navbar-light .navbar-nav .nav-link:hover {
    color: #000;
}

.navbar-expand-lg .navbar-nav .nav-link {
    padding: 1rem;
}

.form-group {
    padding: 10px 0;
    /*border-top: 1px solid #000;*/
}

.form-check-input {
    margin-left: 0;
}

.form-check-label {
    margin-left: 1.25rem;
}

label {
    font-weight: bold;
}

label.error {
    font-weight: 300;
    color: #c00;
    margin-top: 5px;
}

label.error:after {
    content: "\f35b";
    font-family: "Font Awesome 5 Free";
    margin-left: 5px;
}

div.form-check label.error {
    width: 100%;
}

div.form-check label.error:after {
    content: "";
}

.navbar-expand-lg {
    padding-left: 0;
    padding-right: 0;
}

section#pagina {
    padding: 20px 0;
}

footer {
    padding: 20px 0;
    background-color: rgba(74,76,78,0.05);
    margin-top: 50px;
}

body#inicio footer {
    position: absolute;
    width: 100%;
    bottom: 0;
}

body#inicio footer a {
    text-shadow: 1px 1px #777;
}

ol li {
    margin: 10px 0;
}

.btn-primary {
    color: #fff;
    background-color: #000;
    border-color: #000;
}

.btn-primary:hover {
    background-color: #747678;
    border-color: #747678;
}

p.desconectar {
    margin-top: 50px;
    clear: both;
}

span.lb-number {
    display: none !important;
}

@media (min-width: 767px) {
    ul.navbar-nav {
        margin-left: auto !important;
        margin-right: 0 !important;
    }
}

div.listado_galeria {
    width: 22%;
    margin: 20px 1.5%;
    float: left;
}

div.listado_galeria:nth-child(4n+1) {
    clear: both;
}

div.listado_ganadores {
    width: 30%;
    margin: 20px 1.5%;
    float: left;
}

div.listado_ganadores:nth-child(3n+1) {
    clear: both;
}

@media(max-width: 767px) {
    div.listado_galeria {
        width: 50%;
        float: left;
        clear: none;
    }
    div.listado_galeria:nth-child(2n+1) {
        clear: both;
    }
    div.listado_ganadores {
        width: 100%;
        margin: 20px 0;
        clear: none;
    }
}

div.listado_galeria h5,
div.listado_ganadores h5 {
    margin: 10px 0;
}

/* ESTILOS PARA LA PARTE DE GESTIÓN */

body#gestion table td {
    font-size: 15px;
}

body#gestion a:hover {
    text-decoration: none;
}

body#gestion input,
body#gestion select,
body#gestion textarea {
    font-size: 15px;
}

body#gestion form {
    padding: 20px 0;
}

body#gestion p {
    margin: 10px 0;
}

body#gestion p.desconectar {
    margin-bottom: 0;
    padding-bottom: 1rem;
    margin-top: 5rem;
}

body#gestion img.miniatura {
    max-width: 100px;
    height: auto;
}

body#gestion table.dibujos td {
    vertical-align: middle !important;
    padding: .75rem;
}
body#gestion {
    font-size: 15px;
}

html.gestion {
    background-color: #fff;
}
html.gestion body {
    background: none;
    margin: 0;
    height: auto !important;
    min-height: 100%;
}
html.gestion body h2 {
    font-size: 20px;
    font-weight: bold;
    color: #000;
    line-height: 29px;
    margin: 25px 0 15px 0;
}

body#gestion table thead {
    background-color: #333;
    text-transform: uppercase;
    color: #fff;
}

/* ESTILOS PARA LA PARTE DE LAS COOKIES */
#overbox3 {
    position: fixed;
    bottom: 0px;
    left: 0px;
    width: 100%;
    z-index: 999999;
    display: block;
}
#infobox3 {
    margin: auto;
    padding: 20px 0;
    position: relative;
    top: 0px;
    height: auto;
    width: 100%;
    text-align: center;
    background-color: #eeeeee;
}
#infobox3 p {
    line-height: 14px;
    font-size: 12px;
    text-align: center;
}
#infobox3 p a {
    margin-right: 5px;
    text-decoration: underline;
}

form.formulario_cata label {
    width: 100%;
}

form.formulario_cata .puntuacion label {
    width: auto;
    margin-left: 0;
    width: 100%;
}

form.formulario_cata .puntuacion {
    float: left;
    clear: none;
    width: auto;
}

.check-puntuacion {
    display: table;
    margin: 0 auto;
}

body#gestion div#cuadro_olor table td {
    font-size: 13px;
}

div#definiciones,
div#cuadro_olor,
div#cuadro_textura,
div#cuadro_sabor,
div#cuadro_persistencia,
div#cuadro_forma,
div#cuadro_corteza,
div#cuadro_veteado,
div#cuadro_cavidades {
    display: none;
}

.form-group h3 {
    border-bottom: 15px solid #000;
    padding-bottom: 5px;
    margin-top: 50px;
    text-transform: uppercase;
}

.form-group h3 a {
    text-transform: none;
}

form h5 {
    border-bottom: 1px solid #ddd;
    padding-bottom: 5px;
}

.form-check label {
    font-size: 13px;
}

.form-check h6 {
    font-size: 13px;
    font-weight: bold;
}

@media (max-width: 767px) {
    a.navbar-brand {
        font-size: 14px;
    }
}

@media (max-width: 767px) {
    .form-check h6 {
        margin: 20px 0 5px;
    }
}

div.row {
    margin-left: 0;
    margin-right: 0;
}

h3.definiciones {
    border-bottom: 15px solid #000;
    padding-bottom: 10px;
}

.form-group h3 a,
h3.definiciones a {
    font-size: 13px;
    float: right;
    background-color: #000;
    color: #fff;
    padding: 6px;
    display: inline-block;
    margin: 0 5px;
}

div.row.checks {
    margin-bottom: 20px;
}

div.row.checks label {
    font-weight: normal;
}

button.retroceder {
    float: left !important;
    text-transform: none !important;
    font-weight: 300 !important;
    font-size: 12px !important;
    padding: 10px !important;
    clear: both !important;
    margin-top: 20px;
}

button.continuar {
    float: right !important;
    text-transform: uppercase !important;
    font-weight: bold !important;
    font-size: 25px !important;
    padding: 15px !important;
    margin-bottom: 20px;
}

button.retroceder:before {
    content: "\f359";
    font-family: "Font Awesome 5 Free";
    margin-right: 5px;
}

button.continuar:after {
    /*content: "\f061";
    font-family: "Font Awesome 5 Free";
    margin-left: 10px;*/
}

button.continuar span,
button.continuar i {
    font-size: 15px;
    display: inline-block;
    text-transform: none;
}

button.continuar span {
    font-weight: normal;
}

button.continuar.finalizar i {
    font-size: 25px;
    margin-left: 5px;
}

table td.centrado_vertical,
table th.centrado_vertical {
    vertical-align: middle;
}

.form-check-input {
    clear: both;
}

a.nuevo {
    text-transform: none;
}

h1 {
    font-size: 1.5rem;
}

a.navbar-brand {
    margin: 0 auto;
    display: table;
}

a.botonon {
    font-size: 3rem;
    padding: 30px;
    border-radius: 25px;
    width: 300px;
    max-width: 100%;
}

a.botonon i {
    width: 100%;
    font-size: 4rem;
}

div#encabezado {
    background-color: #ccc;
    padding: 15px 0;
    margin-bottom: 10px;
}

table td {
    padding: .25rem !important;
    font-size: 0.8rem !important;
}

a.navbar-brand img {
    max-width: 240px;
}

table.entrada td {
    font-size: 1.1rem !important;
    font-weight: bold;
}

table.entrada td p.olvide {
    font-size: 0.9rem !important;
    font-weight: normal;
}