html,
body {
    font-family: sans-serif, Arial, Helvetica, sans-serif; /*--Calibri--*/
    min-height: 100%;
    min-width: 100%;
    height: 100%;
    background: #fff;
    border: 0;
    overflow-x: hidden;
}

p {
    display: block;
    text-align: justify;
    line-height: 1.5em;
    font-size: 0.9em;
}

a {
    text-decoration: none;
}

a:focus,
a:hover,
a:active {
    text-decoration: underline;
}

#nav-y-body a:visited {
    font-weight: bold;
    color: #000;
}

#nav-y-body a:link,
a:active {
    font-weight: normal;
    color: #000;
}

/*--Contract css--*/

table {
    border: 1px solid #535353;
    border-collapse: collapse;
    border-spacing: 0;
}

th {
    text-align: left;
    background-color: #535353;
    border: 1px solid #535353;
    border-width: 0px 1px 1px 0px;
    color: #fff;
    padding: 3px;
    font-size: 0.8em;
    line-height: 1.5em;
}

td {
    padding: 3px;
    border: 1px solid #535353;
    border-width: 0px 1px 1px 0px;
    font-size: 0.8em;
    line-height: 1.5em;
    text-align: center;
}

.col-group-1 {
    background-color: #ebebeb;
    text-align: right;
}

.col-group-2 {
    text-align: left;
}

.col-group-3 {
    background-color: #ebebeb;
    text-align: center;
}

.col-group-4 {
    text-align: right;
}

.col-group-5 {
    background-color: #ebebeb;
    text-align: left;
}

/* --------- demo presentation------------ */

.destacado {
    border: 1px solid #ccc;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    border-radius: 4px;
    margin: 10px 0;
    padding: 10px;
    position: relative;
    top: -1px;
    background-color: #eaeaea;
}

.destacado > :first-child {
    margin-top: 0;
    margin-bottom: 0;
}

.content-footer {
    font-family: Verdana, Arial, Helvetica, sans-serif;
    font-size: 0.7em;
    color: #666666;
    padding-top: 1em;
    padding-left: 2em;
}

.lnk-footer-dow {
    color: #666666;
    margin-left: 5px;
    margin-right: 5px;
    font-size: 0.8em;
}

.lnk-footer {
    color: #666666;
    margin-left: 5px;
    margin-right: 5px;
    display: inline;
}

#header {
    font-family: Calibri, Arial, Helvetica, sans-serif;
    font-size: 2em;
    min-height: 45px;
    background: #f0f0f0;
    padding-top: 5px;
    padding-bottom: 5px;
}

#archives {
    font-size: 0.9em;
}

#footer {
    min-height: 30px;
}

#content,
#nav-y {
    min-height: 400px;
}

#content {
    float: left;
    width: 60%;
}

#nav-y {
    float: left;
    border-right: 1px solid #cccccc;
    text-align: left;
}

#footer {
    clear: both;
}

#footer p {
    padding-top: 0px;
    padding-bottom: 2px;
}

.col-0,
col-1 {
    float: left;
}

.col-0 {
    width: 30%;
    border-right: 1px solid #ccc;
    margin-right: 20px;
}

.col-1 {
    width: 100%;
    *width: auto;
    width: auto\9;
}

#content-body {
    padding: 3% 5%;
    /* border-left: 1px solid #cccccc; */
    min-height: 400px;
}

#nav-y-body {
    padding: 3% 5%;
}

.logo {
    /*background-image:url(/imagenes/logo.gif);*/
    background-image: url(/static/img/logo.png);
    background-repeat: no-repeat;
    background-position: right center;
    height: 30px;
    width: 90%;
    margin: 2% auto 2%;
    _margin: 0% auto;
}

#nav-y ul {
    list-style: outside none none;
    margin: 0px;
    padding: 0px;
}

#nav-y li {
    border: medium solid #eee;
    border-width: 0px 0px 1px;
    padding: 9px 0px;
}

#nav-y li:last-child {
    border-width: 0px;
}

#main,
#header {
    width: 100%;
    display: grid;
    grid-template-columns: 30% 70%;
    grid-template-rows: 1fr;
    column-gap: 20px;
}

.col0 {
    border-right: 1px solid #ccc;
}

@media screen and (max-width: 767px) {
    .col-0,
    col-1,
    #content,
    #nav-y {
        float: none !important;
    }
    .col-0 {
        width: auto;
        border-right: 0px;
        margin-right: 0px;
        text-align: center;
    }
    .col-1 {
        width: auto;
        padding: 5px;
    }
    .logo {
        background-position: center;
        margin: 2% auto 2%;
    }
    #header {
        font-family: Calibri, Arial, Helvetica, sans-serif;
        font-size: 1.3em;
        min-height: 45px;
        background: #f0f0f0;
        padding: 5px;
        text-align: center;
    }
    #nav-y {
        width: auto;
        min-height: 10px;
    }
    #content {
        width: auto;
        padding-top: 10px;
    }
    #content-body {
        padding: 3% 3%;
        border-left: 0px;
    }
    .content-footer {
        padding-top: 0.2em;
        padding-left: 0.2em;
    }
}
