body {
    background-color: #fff;
    font-family: Verdana, Arial, Helvetica, sans-serif;
    font-size: 11px;
    margin: 0 auto;
    max-width: 800px;
    padding-bottom:2em;
    /*min-width: 700px;*/
    text-align: center;
}


a {
    color: black;
    text-decoration: none;
}

a:hover {
    color: black;
    text-decoration: none;
}

th a {

    color: white;
    text-decoration: none;
}

h2{
    text-align: left;
    display: block;
    font-weight: bold;
    color: #003876;
    font-size: 16px;
    margin-bottom: 0.5em;
    margin-top:0.5em;
}
h3 {
    color: #003876;
    font-size: 12px;
    font-weight: bold;
    margin-bottom: 1em;
    text-align: left;
    margin-top:1em;
}
h4{
    font-weight:bold;
    /*    background-color:#DADDDD;*/
    line-height:2em;
    margin-top:2em;
    margin-bottom:0;
    /*border-width: 1px 1px 0 1px;*/
    /*border-color: grey;*/
    /*border-style:solid;*/
    text-align:left;
    padding-left:1em;
    font-size:12px;
}

table{
    border: 1px solid grey;
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
}

table tr th{
    padding: 1em 0.4em;
    background-color: #EAEDED;
    border-bottom:1px solid grey;
}
table tr th.fit{
    padding: 0.5em 0.4em;

}
table tr td{
    padding: 0.5em 1em;
    background-color: #F6F9F9;
    border-bottom:1px solid #aaa;
    text-align: left;
}


input[type=text],input[type=email]{
    padding:0.2em 0.2em;
}

.container{
    max-width:650px;
    width:90%;
    margin:0 auto;
    text-align:left;
}
#footer{
    margin-top:2em;
}
h1{
    margin:0 auto;
    text-align:center;
}

div a#logocdp img{
    float:right;
    vertical-align:middle;
    margin-top:25px;
}
div a#logoempresa img{
    float:left;
    vertical-align:middle;
    width:170px;
}

h2 {
    color:#003876;
    font-size:16px;
    margin-bottom:1em;
    text-align:left;
}
h3{
    color:#003876;
    font-size:12px;
    font-weight:bold;
    margin-bottom:1em;
    text-align:left;
}
h3 img{
    margin:0 0 -0.3em 0;
    vertical-align:baseline;
}
h4{
    font-weight:bold;
    background-color:#DADDDD;
    line-height:2em;
    margin-top:2em;
    margin-bottom:0;
    border-width: 1px 1px 0 1px;
    border-color: grey;
    border-style:solid;
    text-align:left;
    padding-left:1em;
}

li{
    margin-bottom:0.5em;
}
li a{
    height:100%;
    width:100%;
}
input[type=button],input[type=submit] {
    border:1px solid #979898;
    background-color:#5484bb;
    color:white;
    font-size:12px;
    padding:0.1em 1.5em;

}
input[type=text],input[type=email],input[type=password]{
    border:1px solid #AAA;
    background-color:white;
    font-size:12px;
    padding:0.2em;
    vertical-align:baseline;
}
input[type=checkbox]
{
    border:0;
    font-size:12px;
    padding:0;
    margin:5px;
    vertical-align:middle;
}
input.error{
    border-color:red;
}
select
{
    border:1px solid #AAA;
    background-color:white;
    font-size:12px;
    text-align:center;
}
select.error{
    border-color:red;
}
select option
{
    padding: 0 2em;
    text-align:center;
}
textarea{
    border:1px solid #AAA;
    background-color:white;
    font-size:12px;
    text-align:left;
    padding:0em 0.1em;
}
textarea.error{
    border-color:red;
}
img{
    vertical-align:middle;
}

.modal-open {
    overflow: hidden;
}
.modal {
    display: none;
    overflow: hidden;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1050;
    -webkit-overflow-scrolling: touch;
    outline: 0;
}
.modal.fade .modal-dialog {
    -webkit-transform: translate(0, -25%);
    -ms-transform: translate(0, -25%);
    -o-transform: translate(0, -25%);
    transform: translate(0, -25%);
    -webkit-transition: -webkit-transform 0.3s ease-out;
    -o-transition: -o-transform 0.3s ease-out;
    transition: transform 0.3s ease-out;
}
.modal.in .modal-dialog {
    -webkit-transform: translate(0, 0);
    -ms-transform: translate(0, 0);
    -o-transform: translate(0, 0);
    transform: translate(0, 0);
}
.modal-open .modal {
    overflow-x: hidden;
    overflow-y: auto;
}
.modal-dialog {
    position: relative;
    width: auto;
    margin: 10px;
}
.modal-content {
    position: relative;
    background-color: #ffffff;
    border: 1px solid #999999;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 6px;
    -webkit-box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5);
    box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5);
    -webkit-background-clip: padding-box;
    background-clip: padding-box;
    outline: 0;
}
.modal-backdrop {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1040;
    background-color: #000000;
}
.modal-backdrop.fade {
    opacity: 0;
    filter: alpha(opacity=0);
}
.modal-backdrop.in {
    opacity: 0.5;
    filter: alpha(opacity=50);
}
.modal-header {
    padding: 15px;
    border-bottom: 1px solid #e5e5e5;
    min-height: 16.42857143px;
}
.modal-header .close {
    margin-top: -2px;
}
.modal-title {
    margin: 0;
    line-height: 1.42857143;
}
.modal-body {
    position: relative;
    padding: 15px;
}
.modal-footer {
    padding: 15px;
    text-align: right;
    border-top: 1px solid #e5e5e5;
}
.modal-footer .btn + .btn {
    margin-left: 5px;
    margin-bottom: 0;
}
.modal-footer .btn-group .btn + .btn {
    margin-left: -1px;
}
.modal-footer .btn-block + .btn-block {
    margin-left: 0;
}
.modal-scrollbar-measure {
    position: absolute;
    top: -9999px;
    width: 50px;
    height: 50px;
    overflow: scroll;
}
@media (min-width: 768px) {
    .modal-dialog {
        width: 600px;
        margin: 30px auto;
    }
    .modal-content {
        -webkit-box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    }
    .modal-sm {
        width: 300px;
    }
}
@media (min-width: 992px) {
    .modal-lg {
        width: 900px;
    }
}
.clearfix:before,
.clearfix:after,
.modal-footer:before,
.modal-footer:after {
    content: " ";
    display: table;
}
.clearfix:after,
.modal-footer:after {
    clear: both;
}
.center-block {
    display: block;
    margin-left: auto;
    margin-right: auto;
}
.pull-right {
    float: right !important;
}
.pull-left {
    float: left !important;
}
.hide {
    display: none !important;
}
.show {
    display: block !important;
}
.invisible {
    visibility: hidden;
}
.text-hide {
    font: 0/0 a;
    color: transparent;
    text-shadow: none;
    background-color: transparent;
    border: 0;
}
.hidden {
    display: none !important;
}
.affix {
    position: fixed;
}

.alert {
    border: 1px solid transparent;
    border-radius: 4px;
}
.alert ul li{
    text-align:left;
}

.alert h4 {
    margin-top: 0;
    color: inherit;
}
.alert .alert-link {
    font-weight: bold;
}
.alert > p,
.alert > ul {
    margin-bottom: 0;
}
.alert > p + p {
    margin-top: 5px;
}
.alert-dismissable {
    padding-right: 35px;
}
.alert-dismissable .close {
    position: relative;
    top: -2px;
    right: -21px;
    color: inherit;
}
.alert-success {
    background-color: #dff0d8;
    border-color: #d6e9c6;
    color: #3c763d;
}
.alert-success hr {
    border-top-color: #c9e2b3;
}
.alert-success .alert-link {
    color: #2b542c;
}
.alert-info {
    background-color: #d9edf7;
    border-color: #bce8f1;
    color: #31708f;
}
.alert-info hr {
    border-top-color: #a6e1ec;
}
.alert-info .alert-link {
    color: #245269;
}
.alert-warning {
    background-color: #fcf8e3;
    border-color: #faebcc;
    color: #8a6d3b;
}
.alert-warning hr {
    border-top-color: #f7e1b5;
}
.alert-warning .alert-link {
    color: #66512c;
}
.alert-danger {
    background-color: #f2dede;
    border-color: #ebccd1;
    color: #a94442;
}
.alert-danger hr {
    border-top-color: #e4b9c0;
}
.alert-danger .alert-link {
    color: #843534;
}
.tooltip-inner {
    border: solid 1px #AAA;
    padding:5px 10px;
    background-color: white;
    display:inline;
    top:5px;
    position:relative;
    left:100px;
}

/***************************/
.help-icon{
    position:relative;
    cursor:pointer;
}
.help-icon:hover .message{
    background-color:#EAEDED;
    border:1px solid gray;
    display:block;
    position:absolute;
    top:-5em;
    width:250px;
    z-index:99;
    border-radius: 5px 5px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.1);
    -webkit-box-shadow: 2px 2px rgba(0, 0, 0, 0.1);
    -moz-box-shadow: 2px 2px rgba(0, 0, 0, 0.1);
}
.help-icon .message{
    display:none;
    position:absolute;
    padding:0.5em;
}

/***************************/
.form-error-icon{
    position:relative;
    cursor:pointer;
    margin-left:0.5em;
}
.form-error-icon:hover .message{
    background-color:#EAEDED;
    border:1px solid gray;
    display:block;
    position:absolute;
    top:-3em;
    width:250px;
    z-index:99;
    border-radius: 5px 5px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.1);
    -webkit-box-shadow: 2px 2px rgba(0, 0, 0, 0.1);
    -moz-box-shadow: 2px 2px rgba(0, 0, 0, 0.1);
}
.form-error-icon .message{
    display:none;
    position:absolute;
    padding:5px;
}

.form-error-icon .message ul{
    margin:0;

}

.form-error-icon .message ul li{
    margin:0;
    padding:0;
}




/*******************************/
.has-errors input, .has-errors textarea {
    border:1px solid lightcoral;
    background-color: #f2dede;
}

/*******************************/

.vertical-radio-button-list{
    display: inline-block;
}
.vertical-radio-button-list input {
    float: left;
}

.vertical-radio-button-list label {
    float: left;
}

.vertical-radio-button-list label + input {
    clear: both;
}

/********************************/

table.profileform{
    margin-bottom:1em;
}
table.profileform caption{
    background-color: #DADDDD;
    border: 1px solid #AAA;
    border-bottom-width: 0;
    padding: 0.5em 1em;
    text-align:left;
    font-weight: bold;
}

table.profileform tr td.titulo{
    background-color: #EAEDED;
    line-height:1em;
}

table.profileform tr td.tituloseccion{
    background-color: #DADDDD;
    font-weight:bold;
}

table.tablaform{
    width:100%;
    border: 1px solid #AAAAAA;
}
table.tablaform tr td.titulo, table.tablaform tr th {
    background-color: #EAEDED;
    border-right: 1px solid #AAAAAA;
    border-left: 1px solid #AAAAAA;
    border-bottom: 1px solid #AAAAAA;
    line-height:1em;
    padding-left:1em;
}

.tablaform tr td.titulo2, .tablaform tr th.titulo2 {
    background-color: #DADDDD;
    border-right: 1px solid #AAAAAA;
    border-left: 1px solid #AAAAAA;
    border-bottom: 1px solid #AAAAAA;
    padding-left:1em;
}

.tablaform tr td {
    background-color: #F6F9F9;
    text-align: left;
    border-bottom: 1px solid #AAAAAA;
    padding-left:1em;
    padding-top:0.5em;
    padding-bottom:0.5em;

}


/***************************************/
.mensaje_ok,.mensaje_error,.mensaje_warning{
    background-repeat:no-repeat;
    background-position:0.5em;
    font-size:1.1em;
    margin-bottom:0.5em;
    padding:0.5em 2.5em;
    text-align:left;
}
.mensaje_ok a{
    color:#4F8A10;
    text-decoration:underline;
}
.mensaje_error a{
    color:#D63300;
    text-decoration:underline;
}

.mensaje_ok{
    background-color: #DFF2BF;
    border:1px dashed green;
    color: #4F8A10;

    background-image:url('https://img.cajadepagos.com/iconpacks/silk/accept.png');
}

.mensaje_error{
    background-color: #FFCCBA;
    border:1px dashed #DC5227;
    color: #D63300;

    background-image:url('https://img.cajadepagos.com/iconpacks/silk/error.png');
}

.mensaje_warning{
    background-color: #FEEFB3;
    border:1px dashed #DEB887;
    color: #9F6000;
    background-image:url('https://img.cajadepagos.com/iconpacks/silk/error.png');
}

.mensaje_error .titulo{
    padding-bottom:1em;
}
.mensaje_error_comentario{
    border:1px dashed black;
    background-color:#FAEAEA;
    color:#333;
    margin-top:0.5em;
    padding:0.5em 0.5em;

}
.detalle_error_side{
    background-image:url('https://img.cajadepagos.com/iconpacks/silk/bullet_error.png');
    background-repeat:no-repeat;
    background-position:0.5em;
    /*border:1px dotted red;*/
    color:red;
    padding-left:2.5em;
    padding-right:1em;
}
.detalle_error_bottom{
    background-image:url('https://img.cajadepagos.com/iconpacks/silk/bullet_error.png');
    background-repeat:no-repeat;
    background-position:0.5em;
    color:red;
    display:block;
    margin-top:5px;
    padding-left:2.5em;
    padding-right:1em;
}
/***************************/
.notasaclaratorias{
    margin-top:1em;
    text-align:left;
}
.notasaclaratorias p{
    margin-top:0;
    margin-bottom:0;
}
