html {
  height: 100%;
  box-sizing: border-box;
}
*,
*:before,
*:after {
  box-sizing: inherit;
}
body {
    text-align: center;
    font-size: 16px;
    font-family: 'allerregular';
    background-image: url('../img/bg-login-up.jpg');
    background-color: #011f2a;
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    padding-top: 35px;
    position: relative;
    margin: 0;
    padding-bottom: 6rem;
    min-height: 100%;
}
/*Cabecera*/

header {
    background-color: #05599d;
    margin: 0px;
}

    header .row {
        margin-bottom: 0px;
    }

    header img {
        margin: 1em;
    }

    header a {
    }

    header h1 {
        margin: 1em 0 0 0;
        padding: 0px;
        font-size: 27px;
        color: #ffffff;
        border-left: 1px solid #ffffff;
        padding-left: 1em;
    }

    header .user-up {
        margin-top: 1.5em;
    }

        header .user-up p,
        header .user-up a {
            font-size: 13px;
            color: #ffffff;
        }

        header .user-up p {
            text-decoration: none;
            font-weight: bolder;
        }

        header .user-up a {
            text-decoration: underline;
        }
/*Menú*/
nav#up-main-menu {
    height: 35px;
    line-height: 35px;
    background-color: #4498c8;
}

    nav#up-main-menu ul {
    }

        nav#up-main-menu ul li {
        }

            nav#up-main-menu ul li a {
                font-size: 15px;
            }
/*Alerta*/
#up-alert {
    margin-top: 1em;
}

.up-alert {
    width: 85%;
    display: block;
    padding: 0.1em;
    border-radius: .5em;
    margin: 10px auto;
    font-size: 18px;
}

    .up-alert p {
        text-align: center;
        margin: 0px;
        padding: 0.5em 0.5em 0.5em 3.5em;
    }

#up-alert.show {
    /*display: block;*/
    visibility: visible;
    height: 68px;
    overflow: hidden;
    -webkit-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

.hidden {
    /*display: none;*/
    visibility: hidden;
    height: 0px;
    overflow: hidden;
}

.show {
    visibility: visible;
    overflow: hidden;
    -webkit-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

#up-alert.hidden {
    visibility: hidden;
    overflow: hidden;
    -webkit-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

.up-alert.up-alert-confirm {
    background-image: url(../img/icon-check.png);
    background-repeat: no-repeat;
    background-position: 2% 50%;
    background-color: #def7c1;
    border: 2px solid #8fa476;
    color: #8fa476;
}

.up-alert.up-alert-error {
    background-image: url(../img/icon-error.png);
    background-repeat: no-repeat;
    background-position: 2% 50%;
    background-color: #f7c1c1;
    border: 2px solid #946060;
    color: #946060;
}

.up-alert.up-alert-info {
    background-image: url(../img/icon-info.png);
    background-repeat: no-repeat;
    background-position: 2% 50%;
    background-color: #fdfe9c;
    border: 2px solid #b6b76f;
    color: #b6b76f;
}
/*Textos*/
.main-title-up {
    margin-top: 20px;
    border-bottom: 1px solid #4498c8;
    margin-bottom: 1em;
    display: block;
}

    .main-title-up h2 {
        margin: .3em 0 .3em .2em;
        font-size: 1.7em;
        color: #4498c8;
    }
/*Panel*/
.panel-up {
    background-color: #ffffff;
    border-radius: 5px;
    padding: .5em 1em 0.5em 1em;
    box-shadow: 0 0 10px rgba(0,0,0,.2);
}
/*rows*/
.up-row-institucion {
    display: block;
    height: auto;
    min-height: 70px;
    clear: both;
}

.fila-institucion {
    height: 80px;
}

.up-row-institucion-btn {
    display: block;
    width: 100%;
    height: 55px;
    min-height: 60px;
}

.fixed-action-btn {
    right: 0 !important;
    bottom: 0 !important;
}

    .fixed-action-btn.horizontal ul {
        left: inherit;
    }

.without-margin-top {
    margin-top: 0px !important;
}

.without-margin-bottom {
    margin-bottom: 0px !important;
}

/*Sobreescritura Materialize*/
textarea.materialize-textarea {
    min-height: 1em !important;
}

/*Autocomplete*/
.autocomplete-content {
    position: absolute;
    background: #383838;
    margin-top: -.9rem;
}

    .autocomplete-content li {
        clear: both;
        color: rgba(0, 0, 0, 0.87);
        cursor: pointer;
        line-height: 0;
        width: 100%;
        text-align: left;
        text-transform: none;
        padding: 10px;
    }

        .autocomplete-content li > span {
            color: #ffa726;
            font-size: .9rem;
            padding: 1.2rem;
            display: block;
        }

            .autocomplete-content li > span .highlight {
                color: #000000;
            }

        .autocomplete-content li img {
            height: 52px;
            width: 52px;
            padding: 5px;
            margin: 0 15px;
        }

        .autocomplete-content li:hover {
            background: #eee;
            cursor: pointer;
        }

    .autocomplete-content > li:hover {
        background: #292929;
    }
/*Loader*/

.up-loader-box {
    position: fixed;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    z-index: 999999;
    overflow: visible;
    background-color: rgba(0,0,0,0.7);
}

    .up-loader-box #img-preloader {
        position: absolute;
        left: 50%;
        top: 50%;
        width: 300px;
        height: 5px;
        margin-top: -100px;
        margin-left: -150px;
    }

/*Botones*/
.btn-box {
}

    .btn-box ul {
        margin: .5em;
    }

        .btn-box ul li {
            display: inline-block;
        }

            .btn-box ul li a {
                display: inline-block;
            }

.up-btn {
    width: 100%;
    border-radius: 4px;
    background-color: #2a7cba;
    border-bottom: 5px solid #05599d;
}

.btn-small,
.btn-medium {
    margin-bottom: 20px;
    color: #fff;
    text-align: center;
    letter-spacing: .5px;
    transition: .2s ease-out;
    cursor: pointer;
    display: inline-block;
    outline: 0;
    padding: 0 1rem;
    text-transform: uppercase;
    vertical-align: middle;
    -webkit-tap-highlight-color: transparent;
}

.btn-small {
    font-size: .7em;
    height: 32px;
    line-height: 32px;
    box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
}

.btn-medium {
    font-size: .8em;
    height: 46px;
    line-height: 42px;
    box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
}

    .btn-small:hover,
    .btn-medium:hover {
        background-color: #05599d;
        box-shadow: 0 5px 11px 0 rgba(0, 0, 0, 0.18), 0 4px 15px 0 rgba(0, 0, 0, 0.15);
    }

button:focus {
    outline: none !important;
    background-color: #2a7cba !important;
}

.btn i {
    transition: all 0.3s ease;
}

.btn:hover i {
    padding-left: 1em;
}

/*Footer*/
footer {
    position: relative;
    bottom: 0;
    background-color: #2a7cba;
    padding: 0.5em;
    text-align: left;
}

    footer p {
        font-size: 12px;
        color: #ffffff;
    }

/*Tablas UP*/

table.table-up {
    margin: 1em 0;
}
    /* Los enlaces dentro de las tablas*/
    table.table-up a {
        color: #05599d;
        text-decoration: underline;
    }

        table.table-up a:hover {
            text-decoration: none;
        }

    table.table-up thead {
    }

        table.table-up thead tr {
            border-bottom: 3px solid #05599d;
        }

            table.table-up thead tr th {
                border-radius: 0 !important;
                background-color: #4498c8;
                color: #ffffff;
                font-size: .8em;
                text-align: center;
                font-weight: 500;
            }

    table.table-up tbody {
    }

        table.table-up tbody tr {
        }

            table.table-up tbody tr td {
                font-size: .8em;
            }

/*Autocomplete*/
.autocomplete-suggestions {
    border: 1px solid #999;
    background: #FFF;
    overflow: auto;
}

.autocomplete-suggestion {
    padding: 2px 5px;
    white-space: nowrap;
    overflow: hidden;
}

.autocomplete-selected {
    background: #F0F0F0;
}

.autocomplete-suggestions strong {
    font-weight: normal;
    color: #3399FF;
}

.autocomplete-group {
    padding: 2px 5px;
}

    .autocomplete-group strong {
        display: block;
        border-bottom: 1px solid #000;
    }

/*Error*/
label.error {
    font-size: 11px !important;
    color: #a94442 !important;
    position: relative !important;
    top: -15px !important;
    left: 0 !important;
    background-color: #f2dede;
    border-color: #ebccd1;
    display: block;
    margin: 0!important;
    padding: 0.5em 0 0.5em 1.0em;
    text-align: left;
}
/*Tipo de institucion*/
select.browser-default {
    border: none;
    border-bottom: 1px solid #9e9e9e;
    border-radius: 0px;
    color: rgba(0, 0, 0, 0.7);
    width: 100%;
    text-align: left;
    text-transform: none;
    margin: 0 0 15px 0;
}

    select.browser-default option:disabled {
        color: rgba(0, 0, 0, 0.3) !important;
        background-color: transparent !important;
    }

    select.browser-default:selected {
        border-bottom: 1px solid #4CAF50;
    }

    select.browser-default option:hover {
        background-color: #eee !important;
        color: #6daed4 !important;
    }

    select.browser-default option {
        font-size: 16px !important;
        font-weight: 400 !important;
        text-shadow: 0 1px 0 rgba(0,0,0,0.4) !important;
        padding: 0.6rem !important;
        color: #6daed4;
    }

    select.browser-default:focus {
        outline: 0px solid #ffffff;
    }

.fila-institucion > .input-field {
    height: 65px;
}

.picker {
    z-index: 999999;
}

.picker__close, .picker__today {
    font-size: 0.9rem !important;
}

#divdocument {
    z-index: 999998;
    position: relative;
    color: #035fad;
    border-bottom: 2px solid #4CAF50;
    padding-bottom: 0.7em;
}

    #divdocument span,
    #divdocument a {
        display: inline-block;
        vertical-align: middle;
    }

    #divdocument i {
    }

    #divdocument a {
        color: #035fad;
    }

.close-btn-inputs {
    position: absolute;
    top: 15px;
    right: 20px;
    display: block;
    text-align: right;
}

    .close-btn-inputs span,
    .close-btn-inputs-file span {
    }
/*Firefox*/
@-moz-document url-prefix() {
    select.browser-default {
        border: none;
        border-bottom: 1px solid #9e9e9e;
        border-radius: 0px;
        -moz-appearance: none;
        background-image: url(../img/arrow-down-b.png);
        background-repeat: no-repeat;
        background-position: right center;
        color: rgba(0, 0, 0, 0.87);
        width: 100%;
        text-align: left;
        text-transform: none;
        margin: 0 0 15px 0;
    }
}

/*Explorer*/
input[type=text]::-ms-clear {
    display: none;
}

input[type=password]::-ms-reveal {
    display: none;
}

#add-institucion,
#remove-institucion {
    text-align: center;
}

.dropdown-content {
    z-index: 999999;
}

#campo-beneficiario {
    height: 90px;
}

.datepicker {
    color: rgba(0, 0, 0, 0.7);
}

.select-dropdown {
    color: rgba(0, 0, 0, 0.7);
}

select.browser-default {
    color: rgba(0, 0, 0, 0.7);
}

::-webkit-input-placeholder {
    color: rgba(0, 0, 0, 0.7);
}

::-moz-placeholder {
    color: rgba(0, 0, 0, 0.7);
}

:-ms-input-placeholder {
    color: rgba(0, 0, 0, 0.7);
}

:-moz-placeholder {
    color: rgba(0, 0, 0, 0.7);
}

.file-field .btn {
    text-transform: capitalize !important;
    line-height: 2em;
    height: 2em;
    margin-top: 10px;
}

.autocompinstitucion, .autocomppais, #autocomplete-coordinador {
    color: rgba(0, 0, 0, 0.7);
}

.collapsible {
    padding: .5em 1em;
}

.collapsible-header {
    color: #2a7cba;
    padding: 1rem 0 1rem;
}

.collapsible-body {
    padding: 1em 0;
}

.collapsible-header h5 {
    font-size: 1.2em;
    margin: 0;
}

.flecha.right.glyphicon.glyphicon-chevron-right {
    transform: rotate(0deg);
    -webkit-transition: all 0.1s ease-out;
    -o-transition: all 0.1s ease-out;
    transition: all 0.1s ease-out;
}

.active .flecha.right.glyphicon.glyphicon-chevron-right {
    transform: rotate(90deg);
}

/*Modal*/
.modal {
}

    .modal .modal-header {
        text-align: center;
        position: relative;
    }

        .modal .modal-header:before {
            content: '';
            margin: auto;
            width: 0;
            display: block;
            height: 0;
            border-style: solid;
            border-width: 6px 10px 0 10px;
            position: absolute;
            top: 105%;
            left: 0;
            bottom: 0;
            right: 0;
        }

        .modal .modal-header h5 {
            color: #ffffff;
            font-size: 1.5em;
            padding: 0.5em;
            margin: 0;
        }

    .modal .modal-content {
        padding: 0px;
    }

        .modal .modal-content p {
            padding: 1em;
        }

    .modal .modal-footer {
        text-align: center;
    }

        .modal .modal-footer a {
            color: #ffffff;
        }

        .modal .modal-footer .btn-flat {
            float: none;
        }


/*-----------------------*/
/*Aviso normal*/
.modal-normal.modal .modal-header {
    background-color: #05599d;
}

    .modal-normal.modal .modal-header:before {
        border-color: #05599d transparent transparent transparent;
    }

    .modal-normal.modal .modal-header h5 {
        border-bottom: 1px solid #05599d;
    }

.modal-normal.modal .modal-content {
    padding: 0px;
}

    .modal-normal.modal .modal-content p {
        color: rgba(0, 0, 0, 0.7);
    }

.modal-normal.modal .modal-footer {
    border-top: 1px solid #05599d;
}

    .modal-normal.modal .modal-footer a {
        color: #ffffff;
    }

    .modal-normal.modal .modal-footer .btn-flat {
        background-color: #05599d;
    }
/*-----------------------*/

/*-----------------------*/
/*success*/
.modal-success.modal .modal-header {
    background-color: #5cb85c;
}

    .modal-success.modal .modal-header:before {
        border-color: #5cb85c transparent transparent transparent;
    }

    .modal-success.modal .modal-header h5 {
        border-bottom: 1px solid #5cb85c;
    }

.modal-success.modal .modal-content {
    padding: 0px;
}

    .modal-success.modal .modal-content p {
        color: rgba(0, 0, 0, 0.7);
    }

.modal-success.modal .modal-footer {
    border-top: 1px solid #5cb85c;
}

    .modal-success.modal .modal-footer a {
        color: #ffffff;
    }

    .modal-success.modal .modal-footer .btn-flat {
        background-color: #5cb85c;
    }
/*-----------------------*/

/*-----------------------*/
/*Alerta*/
.modal-alert.modal .modal-header {
    background-color: #ec971f;
}

    .modal-alert.modal .modal-header:before {
        border-color: #ec971f transparent transparent transparent;
    }

    .modal-alert.modal .modal-header h5 {
        border-bottom: 1px solid #ec971f;
    }

.modal-alert.modal .modal-content {
    padding: 0px;
}

    .modal-alert.modal .modal-content p {
        color: rgba(0, 0, 0, 0.7);
    }

.modal-alert.modal .modal-footer {
    border-top: 1px solid #ec971f;
}

    .modal-alert.modal .modal-footer a {
        color: #ffffff;
    }

    .modal-alert.modal .modal-footer .btn-flat {
        background-color: #ec971f;
    }
/*-----------------------*/

/*-----------------------*/
/*Error*/
.modal-error.modal .modal-header {
    background-color: #d9534f;
}

    .modal-error.modal .modal-header:before {
        border-color: #d9534f transparent transparent transparent;
    }

    .modal-error.modal .modal-header h5 {
        border-bottom: 1px solid #d9534f;
    }

.modal-error.modal .modal-content {
    padding: 0px;
}

    .modal-error.modal .modal-content p {
        color: rgba(0, 0, 0, 0.7);
    }

.modal-error.modal .modal-footer {
    border-top: 1px solid #d9534f;
}

    .modal-error.modal .modal-footer a {
        color: #ffffff;
    }

    .modal-error.modal .modal-footer .btn-flat {
        background-color: #d9534f;
    }
/*-----------------------*/

.info {
}

    .info p {
        color: gray;
        font-style: italic;
    }

#pie-pagina {
    background-color: rgba(5,89,157,0.3);
    
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
}

#pie-pagina .row{
    margin-bottom: 0;
}
    #pie-pagina h3 {
        font-weight: 400;
        font-size: 1.1em;
        color: #ffffff;
        margin: 0.8em 0;
    }

    #pie-pagina p {
        font-size: 0.8em;
    }

    #pie-pagina ul {
        margin: 0px;
        padding: 0px;
    }

        #pie-pagina ul li {
            list-style: none;
            display: inline-block;
        }

            #pie-pagina ul li a {
            }

.icon-footer {
    background-image: url(../img/sprite-social.png);
    background-repeat: no-repeat;
    display: inline-block;
    width: 24px;
    height: 24px;
}

    .icon-footer.icon-fb {
        background-position: -10px -10px;
    }

    .icon-footer.icon-tw {
        background-position: -43px -10px;
    }

    .icon-footer.icon-g {
        background-position: -77px -10px;
    }

    .icon-footer.icon-yt {
        background-position: -111px -10px;
    }

/*Lineamientos*/
#info-lineamientos {
}

    #info-lineamientos h3 {
        font-weight: 400;
        margin: .3em 0 .3em .2em;
        font-size: 1.6em;
        color: #4498c8;
        border-bottom: 1px solid #4498c8;
        padding-bottom: 0.5em;
        margin-bottom: 1em;
    }

    #info-lineamientos h4 {
        margin: .3em 0 .3em .2em;
        font-size: 1.2em;
        color: #4498c8;
    }

    #info-lineamientos p {
        font-size: 1em;
        line-height: 1.8em;
        padding: 0 .5em;
    }

    #info-lineamientos ul {
        font-size: 1em;
        padding-left: 1.5em;
    }

        #info-lineamientos ul li {
            margin-bottom: .5em;
        }

            #info-lineamientos ul li ul {
                padding-left: 1.5em;
            }

                #info-lineamientos ul li ul li {
                }

input:not([type]),
input[type=text],
input[type=password],
input[type=email],
input[type=url],
input[type=time],
input[type=date],
input[type=datetime-local],
input[type=tel],
input[type=number],
input[type=search],
textarea.materialize-textarea,
.select-wrapper input.select-dropdown,
select {
    /*background-color: rgba(0,36,62,.6);*/
}

.input-field .prefix {
    color: #ffffff;
}

    .input-field .prefix.active {
        color: #ffffff;
    }

    .input-field .prefix ~ input, .input-field .prefix ~ textarea {
        margin-top: 5px;
    }

/*Cambiando colores*/
/* label color */
.input-field {
    margin-top: 0;
}

    .input-field label {
        color: #ffffff;
    }
    /* label focus color */
    .input-field input[type=text],
    .input-field input[type=password] {
        padding: 0 0 0 3em;
        color: #ffffff;
        background: #00243e;
    }
     input[type=text].valid,
     .input-field input[type=password].valid{
         border-bottom: 1px solid #ffffff;
         box-shadow: 0 1px 0 0 #ffffff;
     }

        .input-field input[type=text]:focus + label {
            color: #ffffff;
        }

    .input-field .prefix ~ input, .input-field .prefix ~ textarea {
        margin-left: 0;
    }

h2 {
    color: #ffffff;
    font-size: 22px;
}

.input-field .prefix {
    top: 13px;
}


.icon {
    color: #ddd;
    font-size: 150%;
}

.forget-pass {
    color: #ffffff;
    text-decoration: underline;
}

::-webkit-input-placeholder {
    color: rgba(255, 255, 255, 0.7);
}

::-moz-placeholder {
    color: rgba(255, 255, 255, 0.7);
}

:-ms-input-placeholder {
    color: rgba(255, 255, 255, 0.7);
}

:-moz-placeholder {
    color: rgba(255, 255, 255, 0.7);
}
.cod-result{
    color: #ffffff;
}
.cod-result a.up-btn{
    margin-top: 5%;
    width: 35%;
    margin:0 auto;
}
.cod-result h3{
    font-size: 1.5em;
}
#code-number{
    padding: 20px 0px;
}
.cod-result span.code-up-result{
    font-size: 2.5em;
    font-weight: lighter;
    font-size: 'allerlight';
    color: #FFC612;
}
.alert{
	margin-top: 1rem;
	padding: 15px;
    margin-bottom: 1rem;
    border: 1px solid transparent;
    border-radius: .25rem;
    text-align:center;
}
.alert img{width:24px;height:24px;}
.alert-danger{
	color: #a94442;
    background-color: #f2dede;
    border-color: #ebcccc;
}
.alert-warning{
	color: #a94442;
    background-color: #f2dede;
    border-color: #ebcccc;
}
span.img
{
    height:24px;
    width:10%;
    display:inline-block;
    vertical-align:middle;
}
p.txt{
    width:78%;
    display:inline-block;
    vertical-align:middle;
    margin:0;
}

#content-form{
    margin:5% 0 2% 0;
}