﻿.Cuerpo {
    overflow: auto;
    /* Definimos un padding superior */
    padding-top: 0px;
    /* Definimos el padding inferior:
       130px del pie de pagina mas 10px de separacion*/
    padding-bottom: 150px;
}

.define {
    width:100%;
    min-width: 100%;
    margin: 0 auto;
}

/* The modal box */
.modal-dialog {
    display: table-cell;
    vertical-align: middle;
}

    /* The modal's content */
    .modal-dialog .modal-content {
        margin: auto;
        background-color: #FFFFFF;
        position: relative;
        padding: 0;
        outline: 0;
        z-index: 999;
        border-radius: 7px;
        -webkit-border-radius: 7px;
        -moz-border-radius: 7px;
        -o-border-radius: 7px;
        -ms-border-radius: 7px;
        border-radius: 7px;
        text-align: justify;
        width: 100%;
        box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
        /* Add animation */
        -webkit-animation-name: example; /* Chrome, Safari, Opera */
        -webkit-animation-duration: 0.5s; /* Chrome, Safari, Opera */
        animation-name: example;
        animation-duration: 0.5s;
        border:none;
    }

    /* The modal's background */
.modal {
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 999;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0, 0, 0);
    background-color: rgba(0, 0, 0, 0.4);
}

    /* Display the modal when targeted */
    .modal.activo {
        display: table;
        position: fixed;
        overflow: hidden;
        z-index: 999;
    }

    .modal-header {
    padding: 10px 20px;
}

.modal-footer {
    padding: 3px 5px;
}

.modal-header {
    color: #ffffff;
    background: -webkit-gradient(linear,left top,left bottom,from(#A2C152),to(#779e02));
    background: -webkit-linear-gradient(#A2C152,#779e02);
    background: -moz-linear-gradient(#A2C152,#779e02);
    background: -o-linear-gradient(#A2C1521,#779e02);
    background: linear-gradient(#A2C152,#779e02);
    border-radius: 5px 5px 0px 0px;
    -moz-border-radius: 5px 5px 0px 0px;
    -webkit-border-radius: 5px 5px 0px 0px;
}

    .modal-header h2 {
        font-size: 15px;
        font-weight: normal;
    }

    .modal-header.modalError {
        background: rgba(109,0,25,1);
        background: -moz-linear-gradient(top, rgba(109,0,25,1) 0%, rgba(143,2,34,1) 56%, rgba(169,3,41,1) 100%);
        background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(109,0,25,1)), color-stop(56%, rgba(143,2,34,1)), color-stop(100%, rgba(169,3,41,1)));
        background: -webkit-linear-gradient(top, rgba(109,0,25,1) 0%, rgba(143,2,34,1) 56%, rgba(169,3,41,1) 100%);
        background: -o-linear-gradient(top, rgba(109,0,25,1) 0%, rgba(143,2,34,1) 56%, rgba(169,3,41,1) 100%);
        background: -ms-linear-gradient(top, rgba(109,0,25,1) 0%, rgba(143,2,34,1) 56%, rgba(169,3,41,1) 100%);
        background: linear-gradient(to bottom, rgba(109,0,25,1) 0%, rgba(143,2,34,1) 56%, rgba(169,3,41,1) 100%);
        filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#6d0019', endColorstr='#a90329', GradientType=0 );
        border-bottom: #6d0019 solid 1px;
    }

    .modal-header.modalAlerta {
        background: rgba(230,158,14,1);
        background: -moz-linear-gradient(top, rgba(230,158,14,1) 0%, rgba(237,191,66,1) 100%);
        background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(230,158,14,1)), color-stop(100%, rgba(237,191,66,1)));
        background: -webkit-linear-gradient(top, rgba(230,158,14,1) 0%, rgba(237,191,66,1) 100%);
        background: -o-linear-gradient(top, rgba(230,158,14,1) 0%, rgba(237,191,66,1) 100%);
        background: -ms-linear-gradient(top, rgba(230,158,14,1) 0%, rgba(237,191,66,1) 100%);
        background: linear-gradient(to bottom, rgba(230,158,14,1) 0%, rgba(237,191,66,1) 100%);
        filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#e69e0e', endColorstr='#edbf42', GradientType=0 );
        border-bottom: #feb645 solid 1px;
    }

    .modal-header.modalValido {
        background: rgba(101,168,39,1);
        background: -moz-linear-gradient(top, rgba(101,168,39,1) 0%, rgba(162,194,68,1) 100%);
        background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(101,168,39,1)), color-stop(100%, rgba(162,194,68,1)));
        background: -webkit-linear-gradient(top, rgba(101,168,39,1) 0%, rgba(162,194,68,1) 100%);
        background: -o-linear-gradient(top, rgba(101,168,39,1) 0%, rgba(162,194,68,1) 100%);
        background: -ms-linear-gradient(top, rgba(101,168,39,1) 0%, rgba(162,194,68,1) 100%);
        background: linear-gradient(to bottom, rgba(101,168,39,1) 0%, rgba(162,194,68,1) 100%);
        filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#65a827', endColorstr='#a2c244', GradientType=0 );
        border-bottom: #65a827 solid 1px;
    }

.modal-header-img {
    float: left;
    margin-top: -7px;
    margin-right: 10px;
}

.modal-footer {
    text-align: center;
    font-weight: normal;
    color: #ffffff;
    background: -webkit-gradient(linear,left top,left bottom,from(#A2C152),to(#779e02));
    background: -webkit-linear-gradient(#A2C152,#779e02);
    background: -moz-linear-gradient(#A2C152,#779e02);
    background: -o-linear-gradient(#A2C1521,#779e02);
    background: linear-gradient(#A2C152,#779e02);
    border-radius: 0px 0px 5px 5px;
    -moz-border-radius: 0px 0px 5px 5px;
    -webkit-border-radius: 0px 0px 5px 5px;
}

    .modal-footer.modalError {
        background: rgba(109,0,25,1);
        background: -moz-linear-gradient(top, rgba(109,0,25,1) 0%, rgba(143,2,34,1) 56%, rgba(169,3,41,1) 100%);
        background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(109,0,25,1)), color-stop(56%, rgba(143,2,34,1)), color-stop(100%, rgba(169,3,41,1)));
        background: -webkit-linear-gradient(top, rgba(109,0,25,1) 0%, rgba(143,2,34,1) 56%, rgba(169,3,41,1) 100%);
        background: -o-linear-gradient(top, rgba(109,0,25,1) 0%, rgba(143,2,34,1) 56%, rgba(169,3,41,1) 100%);
        background: -ms-linear-gradient(top, rgba(109,0,25,1) 0%, rgba(143,2,34,1) 56%, rgba(169,3,41,1) 100%);
        background: linear-gradient(to bottom, rgba(109,0,25,1) 0%, rgba(143,2,34,1) 56%, rgba(169,3,41,1) 100%);
        filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#6d0019', endColorstr='#a90329', GradientType=0 );
        border-top: #6d0019 solid 1px;
    }

    .modal-footer.modalAlerta {
        background: rgba(230,158,14,1);
        background: -moz-linear-gradient(top, rgba(230,158,14,1) 0%, rgba(237,191,66,1) 100%);
        background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(230,158,14,1)), color-stop(100%, rgba(237,191,66,1)));
        background: -webkit-linear-gradient(top, rgba(230,158,14,1) 0%, rgba(237,191,66,1) 100%);
        background: -o-linear-gradient(top, rgba(230,158,14,1) 0%, rgba(237,191,66,1) 100%);
        background: -ms-linear-gradient(top, rgba(230,158,14,1) 0%, rgba(237,191,66,1) 100%);
        background: linear-gradient(to bottom, rgba(230,158,14,1) 0%, rgba(237,191,66,1) 100%);
        filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#e69e0e', endColorstr='#edbf42', GradientType=0 );
        border-top: #feb645 solid 1px;
    }

    .modal-footer.modalValido {
        background: rgba(101,168,39,1);
        background: -moz-linear-gradient(top, rgba(101,168,39,1) 0%, rgba(162,194,68,1) 100%);
        background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(101,168,39,1)), color-stop(100%, rgba(162,194,68,1)));
        background: -webkit-linear-gradient(top, rgba(101,168,39,1) 0%, rgba(162,194,68,1) 100%);
        background: -o-linear-gradient(top, rgba(101,168,39,1) 0%, rgba(162,194,68,1) 100%);
        background: -ms-linear-gradient(top, rgba(101,168,39,1) 0%, rgba(162,194,68,1) 100%);
        background: linear-gradient(to bottom, rgba(101,168,39,1) 0%, rgba(162,194,68,1) 100%);
        filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#65a827', endColorstr='#a2c244', GradientType=0 );
        border-top: #65a827 solid 1px;
    }
