/*
 * Globals
 */

/* Links */
a,
a:focus,
a:hover {
    color: #fff;
}

/* Custom default button */
.btn-default,
.btn-default:hover,
.btn-default:focus {
    color: #333;
    text-shadow: none; /* Prevent inheritence from `body` */
    background-color: #fff;
    border: 1px solid #fff;
}


/*
 * Base structure
 */

html,
body {
    height: 100%;
    background-color: #60a02e;
    background-image: url(../img/background.png);
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: left bottom;
}

body {
    color: #fff;
    text-align: center;
}

.sombra {
    text-shadow: 0 1px 3px rgba(0,0,0,.8);
}


/* Extra markup and styles for table-esque vertical and horizontal centering */
.site-wrapper {
    display: table;
    width: 100%;
    height: 100%; /* For at least Firefox */
    min-height: 100%;
}

.site-wrapper-inner {
    display: table-cell;
    vertical-align: top;
}

.cover-container {
    margin-right: auto;
    margin-left: auto;
}

/* Padding for spacing */
.inner {
    text-shadow: 0 1px 3px rgba(0,0,0,.8);
}


/*
 * Header
 */
.masthead-brand {
    margin-top: 10px;
    margin-bottom: 10px;
}

.masthead-nav > li {
    display: inline-block;
}

    .masthead-nav > li + li {
        margin-left: 20px;
    }

    .masthead-nav > li > a {
        padding-right: 0;
        padding-left: 0;
        font-size: 16px;
        font-weight: bold;
        color: #fff; /* IE8 proofing */
        color: rgba(255,255,255,.75);
        border-bottom: 2px solid transparent;
    }

        .masthead-nav > li > a:hover,
        .masthead-nav > li > a:focus {
            background-color: transparent;
            border-bottom-color: rgba(255,255,255,.25);
        }

.masthead-nav > .active > a,
.masthead-nav > .active > a:hover,
.masthead-nav > .active > a:focus {
    color: #fff;
    border-bottom-color: #fff;
}

@media (min-width: 768px) {
    .masthead-brand {
        float: left;
    }

    .masthead-nav {
        float: right;
    }
}


/*
 * Cover
 */

.cover {
    padding: 0 20px;
}

    .cover .btn-lg {
        padding: 10px 20px;
        font-weight: bold;
    }


/*
 * Footer
 */

.mastfoot {
    color: #999; /* IE8 proofing */
    color: rgba(255,255,255,.5);
}


/*
 * Affix and center
 */

@media (min-width: 768px) {
    /* Pull out the header and footer */
    .masthead {
        top: 0;
    }

    .mastfoot {
        bottom: 0;
    }
    /* Start the vertical centering */
    .site-wrapper-inner {
        padding-top: 80px;
        vertical-align: top;
        padding-bottom: 80px;
    }

    .site-wrapper-innerPrincipal {
        padding-top: 30px;
    }

    /* Handle the widths */
    .masthead,
    .mastfoot,
    .cover-container {
        width: 100%; /* Must be percentage or pixels for horizontal alignment */
    }
}

@media (min-width: 992px) {
    .masthead,
    .mastfoot,
    .cover-container {
        width: 1200px;
    }
}

.errorValidacion {
    float: right;
    display: inline-block;
    width: 100%;
    margin-right: .5em;
    padding-top: .5em;
    text-align: right;
    font-size: 10px;
    color: #ff0000;
}

.mensajePopup {
    text-align: center;
    width: 100%;
    font-size: 16px;
    color: #333;
}

.mensaje {
    width: 100%;
    text-align: center;
    font-size: 12px;
    color: #333;
}

.etiqueta {
    display: inline-block;
    width: auto;
    margin-right: .5em;
    padding-top: .6em;
    padding-left: .2em;
    text-align: left;
    color: #000;
}

.etiquetaCheckBox {
    display: inline-block;
    width: auto;
    padding-left: .2em;
    text-align: left;
    color: #000;
}

.etiquetaRoja {
    display: inline-block;
    width: 100%;
    text-align: left;
    font-size: 10px;
    color: #999;
}

.checkBox {
    color: #000;
    font-weight: normal;
}

.botones {
    text-align: right;
}

.botonesLeft {
    text-align: left;
}

.contenedor-tabla {
    width: 100%;
    display: table;
}

.contenedor-fila {
    display: table-row;
}

.contenedor-columna {
    display: table-cell;
}

.backgroundPopup {
    background-color: #333;
    filter: alpha(opacity=60);
    opacity: 0.5;
}

.popup {
    background-color: #FFFFFF;
    border-width: 3px;
    border-style: solid;
    border-color: black;
    padding-top: 10px;
    padding-left: 10px;
    width: 400px;
    height: 350px;
}

.espaciado {
    padding-right: 5px;
}

.espaciado10 {
    padding-right: 10px;
}

.pdf {
    width: 100%;
    height: 500px;
    margin: 1em auto;
    border: 5px solid #FFF;
}

.file_upload {
    background-color: #FFF;
    width: 100%;
    padding: 3px 10px;
    font-size: 14px;
    line-height: 1.42857143;
    color: #555;
    border: 1px solid #ccc;
    border-radius: 4px;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    -webkit-transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
    transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
}


/*Estilo general para el gridView*/
.gridView {
    border-style: hidden;
    border-color: inherit;
    border-width: medium;
    color: #333;
    margin: 0 0px 0 auto;
    font-size: 12px;
    text-align: center;
}
    /*Selecciona las filas pares y las colorea*/
    .gridView tr:nth-child(even) {
        background-color: #f5f5f5;
    }
    /*Selecciona las filas impares y las colorea*/
    .gridView tr:nth-child(odd) {
        background-color: rgba(0,0,0,.07);
    }
    /*Estilo para las casillas del gridView*/
    .gridView td {
        padding: 6px;
        border: hidden;
    }

.gridViewHeader {
    height: 25px;
}

    .gridViewHeader th {
        background-color: rgba(0,0,0,.075);
        padding: 5px;
        border: hidden;
        color: #333;
        text-align: center;
    }

        /*Redondeamos el borde superior izquierdo de la primera casilla del header*/

        .gridViewHeader th:first-child {
            border-radius: 0px 0 0 0;
        }

        /*Y el borde superior derecho de la ultima casilla*/

        .gridViewHeader th:last-child {
            border-radius: 0 0px 0 0;
        }

        /*Estilo para los enlaces del header...*/

        .gridViewHeader th a {
            padding: 5px;
            text-decoration: none;
            color: #435B14;
            background-color: #a9c673;
            border-radius: 5px;
        }

            .gridViewHeader th a:hover {
                color: #435B14;
                background-color: #B1C689;
                box-shadow: 0 0 .9em rgba(0, 0, 0, .8);
            }

/*Color de fondo para la paginación*/

.gridViewPaginacion td {
    background-color: rgba(0,0,0,.01);
    padding: 2px;
}

/*Bordes redondeados para la paginacion*/

.gridViewPaginacion > td {
    border-radius: 0px 0px 5px 5px;
}

/*Centramos la tabla que contiene los enlaces para las paginas*/

.gridViewPaginacion table {
    margin: 0px auto;
    width: 100%;
}

/*El span representa el enlace a la pagina en la que estamos actualmente*/

.gridViewPaginacion span {
    display: block;
    margin: 0;
    padding: 5px;
    width: 25px;
    height: 25px;
    border-radius: 50% 50%;
    background: gray;
    color: #fff;
    font-weight: bold;
}

/*Estilo para los enlaces redondos*/

.gridViewPaginacion a {
    display: block;
    text-decoration: none;
    margin: 0;
    padding: 5px;
    width: 25px;
    height: 25px;
    border-radius: 50% 50%;
    background-color: rgba(0,0,0,.075);
    color: #000;
    font-weight: bold;
}

    .gridViewPaginacion a:hover {
        display: block;
        margin: 0;
        padding: 5px;
        width: 25px;
        height: 25px;
        border-radius: 50% 50%;
        background: gray;
        color: #fff;
        box-shadow: 0 0 .5em rgba(0, 0, 0, .8);
        font-weight: bold;
    }

/*Estilos para el control TabContainer*/

.MyTabStyle .ajax__tab_tab {
    color: black;    
}
