@import "https://fonts.googleapis.com/css?family=Open+Sans:300,400,500,600,700";

/* Estilos Generales */
html, body {
    font-size: 22px;
    font-family: 'Open Sans', sans-serif;
    background: #fff;
}

h1 {
    font-size: 1.15rem;
    font-weight: 600;
    color: #000;
    text-align: center;
    text-shadow: 1px 1px 0 #fff
}

section.wrapper {
    position: relative;
    height: calc(100vh - 110px);
    background-image: url('../img/layout/foto_cancha.jpg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

section.wrapper .box {
    position: relative;
    width: 60%;
    max-width: calc(100% - 2 * (6rem + 24px)); /* Brand width + padding + right + eps */
    height: calc(100% - .5rem);
    top: .25rem;
    margin: auto;
    box-shadow: 0 0 3px grey;
    background-color: rgba(240, 240, 240, 0.4);
    /*
    background-color: rgba(65, 65, 65, 0.5);
    */
}

section.wrapper .box form {
    width: 100%;
    height: 100%;
}

a, .btn-link {
    color: #004a98;
}

a:hover, .btn-link:hover {
    color: #df0000;
    text-decoration: none;
}


/* Navbar */
header.navbar {
    font-size: 22px;
    font-weight: 800;
    background-color: #00498f;
    background-image: url('../img/layout/banner-indice-sm.png');
    background-size: auto 100%;
    background-repeat: no-repeat;
    background-position: right;
    height: 110px;
}

header.navbar a, header.navbar a:hover, header.navbar a:focus {
    text-decoration: none;
    transition: all 0.3s;
}

header.navbar .navbar-brand {
    font-size: inherit;
}

#label_home {
    display: none;
    color: #fff;
    font-size: 1rem;
    font-weight: 300;
    text-shadow: 2px 2px 4px #000000;
    margin-left: 16px;
}

header.navbar .row-header {
    width: 100%;
    max-width: 100%;
}

header.navbar .navbar-brand {
    margin: 0;
}

header.navbar .navbar-light .navbar-nav .nav-link {
    color: #004a98 !important;
}

header.navbar .navbar-light .navbar-nav .nav-link:hover {
    color: #df0000 !important;
}

/* Content */
main.content {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-content: center;
    height: 80%;
    padding: .5rem;
}

nav.navigation {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    height: 20%;
}

nav.navigation .btn {
    font-size: 1.1rem;
}

/* Brand */
section.wrapper .brand {
    position: absolute;
    top: 6px;
    right: 12px;
    padding: 8px 4px;
    box-shadow: 0 0 3px grey;
    background-color: rgba(240, 240, 240, 0.4);
}

section.wrapper .brand > img {
    height: 6rem;
    width: 6rem;
    padding: .25rem;
}

section.wrapper .brand > p {
    display: table-cell;
    text-align: center;
    vertical-align: middle;
    background: rgba(255, 255, 255, 0.5);
    font-size: .8rem;
    height: 6rem;
    width: 6rem;
    padding: .25rem;
    overflow-wrap: break-word;
    text-shadow: 1px 1px 0 #fff;
}

section.wrapper .brand > .sponsors {
    display: flex;
    justify-content: center;
    align-items: center;
}

section.wrapper .brand > .sponsors img {
    height: 1.2rem;
    margin-right: .25rem;
}

/* Tables */
.table-wrapper {
    width: 100%;
    max-height: 100%;
    overflow-y: auto;
}

.table-wrapper table {
    background: rgba(255, 255, 255, 0.5);
    color: #000;
    text-shadow: 1px 1px 0 #fff;
    font-weight: 600;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: .2rem;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #888;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* Alerts */
.alert {
    color: #000;
    border: 0;
    background-color: rgb(252, 248, 227);
    -webkit-box-shadow: 0 0 1px 1px #fff;
    -moz-box-shadow: 0 0 1px 1px #fff;
    box-shadow: 0 0 1px 1px #fff;
    font-size: 1.1rem;
}

.alert .icon {
    font-size: 1.6em;
    margin-right: .25rem;
}

.alert .icon-warning {
    display: inline;
    color: darkorange;
}

.alert .icon-success {
    display: none;
    color: green;
}

.alert-success .icon-warning {
    display: none;
    color: darkorange;
}

.alert-success .icon-success {
    display: inline;
    color: green;
}

footer.info {
    position: fixed;
    color: #fff;
    text-shadow: 1px 1px 1px #000;
    font-size: .7rem;
    text-align: right;
    right: .5rem;
    bottom: .25rem;
}

footer.info .info-soporte {
    display: none;
    text-align: center;
    background: rgba(255, 255, 255, 0.8);
    color: #000;
    text-shadow: 1px 1px 0 #fff;
    padding: .25rem .5rem;
    margin-bottom: .25rem;
}

footer.info .info-detalle {
    display: inline-block;
}

footer.info .info-detalle:hover .info-soporte {
    display: block;
}

footer.info .icon {
    font-size: 1.1rem;
}

footer.info .info-dev {
    color: #cdcdcd;
    font-size: .6rem;
}

/* Media */
@media (min-width: 768px) {
    header.navbar .navbar-brand {
        margin: 0 1em 0 3em;
    }

    header.navbar {
        background-image: url('../img/layout/banner-indice.png');
    }
}

@media (min-width: 1024px) {
    html, body {
        font-size: 26px;
    }

    #label_home {
        display: inline-block;
    }
}

@media (min-width: 1440px) {
    html, body {
        font-size: 28px;
    }

    header.navbar {
        height: 140px;
    }

    section.wrapper {
        height: calc(100vh - 140px);
    }

    header.navbar .img-fluid {
        height: 84px;
    }

    #label_home {
        margin-left: 24px;
    }
}

@media (min-width: 2200px) {
    html, body {
        font-size: 54px;
    }

    header.navbar {
        height: 220px;
    }

    section.wrapper {
        height: calc(100vh - 220px);
    }

    header.navbar .img-fluid {
        height: 144px;
    }

    #label_home {
        margin-left: 48px;
    }
}