
/* Commons ***********************************************************************/

* {
    box-sizing: border-box;
}
body {
    width: 100vw;
    margin: 0px;
    height: 100vh;
    display: flex;
    padding: 0px;
    font-size: 12px;
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
    flex-direction: column;
}
main {
    flex: 1;
    overflow-y: scroll;
}
button {
    height: 21px;
    cursor: pointer;
}
table {
    border: 1px solid black;
    font-size: 12px;
    border-collapse: collapse;
}
table + table {
    margin-top: 10px;
}
th {
    border: 1px solid black;
    padding: 3px;
    background-color: lightgray;
}
td {
    padding: 3px;
    border: 1px solid black;
}
label {
    height: 21px;
    line-height: 21px;
}
select {
    height: 21px;
}
input {
    height: 21px;
    margin-top: 0px;
}

/* Global classes ****************************************************************/

.center {
    text-align: center;
}
.right {
    text-align: right;
}
.top {
    vertical-align: top;
}
.clickeable {
    cursor: pointer;
    text-decoration: underline;
}
.clickeable:hover {
    font-weight: bold;
}
.noborder {
    border: 0px;
}

/* Header ************************************************************************/

header {
    height: 89px;
    display: flex;
    flex-direction: column;
    padding: 10px;
    background-color: lightgray;
}
header > div {
    flex: 1;
    display: flex;
}
header > div + div {
    margin-top: 3px;
}
header > div > div {
    flex: 1;
}
header > div > div:nth-of-type(1) {
    flex: 0 0 256px;
    display: flex;
}
header > div > div:nth-of-type(1) input[type=text] {
    width: 100%;
}
header > div > div:nth-of-type(2) {
    text-align: right;
}
header select {
    width: 420px;
}
header select.exception {
    width: auto;
}

/* Content ***********************************************************************/

#content {
    padding: 10px;
    min-height: 100%;
}

/* Content - Table Header ********************************************************/

#content_table_header {
    top: 99px;
    left: 50%;
    position: fixed;
    margin-left: -428;
}
#content_table_header th:nth-of-type(1) {
    width: 84px;
    cursor: pointer;
}
#content_table_header th:nth-of-type(2) {
    width: 84px;
    cursor: pointer;
}
#content_table_header th:nth-of-type(3) {
    width: 84px;
    cursor: pointer;
}
#content_table_header th:nth-of-type(4) {
    width: 84px;
    cursor: pointer;
}
#content_table_header th:nth-of-type(5) {
    width: 420px;
    cursor: pointer;
}
#content_table_header th:nth-of-type(6) {
    width: 84px;
}

/* Content - Table ***************************************************************/

#content_table {
    margin-top: 25px;
}
#content_table td:nth-of-type(1) {
    text-align: center;
    width: 84px;
}
#content_table td:nth-of-type(2) {
    text-align: center;
    width: 84px;
}
#content_table td:nth-of-type(3) {
    text-align: center;
    width: 84px;
}
#content_table td:nth-of-type(4) {
    text-align: center;
    width: 84px;
}
#content_table td:nth-of-type(5) {
    text-align: left;
    width: 420px;
}
#content_table td:nth-of-type(6) {
    text-align: center;
    width: 84px;
}

/* Content - Table Cobranza Header ***********************************************/

#content_table_cobranza_header {
    top: 99px;
    left: 50%;
    position: fixed;
    margin-left: -491px;
}
#content_table_cobranza_header th:nth-of-type(1) {
    width: 84px;
    cursor: pointer;
}
#content_table_cobranza_header th:nth-of-type(2) {
    width: 84px;
    cursor: pointer;
}
#content_table_cobranza_header th:nth-of-type(3) {
    width: 315px;
    cursor: pointer;
}
#content_table_cobranza_header th:nth-of-type(4) {
    width: 315px;
    cursor: pointer;
}
#content_table_cobranza_header th:nth-of-type(5) {
    width: 84px;
    cursor: pointer;
}
#content_table_cobranza_header th:nth-of-type(6) {
    width: 84px;
}

/* Content - Table cobranza ******************************************************/

#content_table_cobranza {
    margin-top: 25px;
}
#content_table_cobranza td:nth-of-type(1) {
    text-align: center;
    width: 84px;
}
#content_table_cobranza td:nth-of-type(2) {
    text-align: center;
    width: 84px;
}
#content_table_cobranza td:nth-of-type(3) {
    text-align: left;
    width: 315px;
}
#content_table_cobranza td:nth-of-type(4) {
    text-align: left;
    width: 315px;
}
#content_table_cobranza td:nth-of-type(5) {
    text-align: right;
    width: 84px;
}
#content_table_cobranza td:nth-of-type(6) {
    text-align: center;
    width: 84px;
}

/* Content - Table Miembro *******************************************************/

.content_table_miembro {
    width: 504px;
}
.content_table_miembro td {
    width: 25%;
}

/* Content - Table Contacto ******************************************************/

.content_table_contacto {
    width: 504px;
}
.content_table_contacto td:nth-of-type(1) {
    width: 25%;
}

/* Popup *************************************************************************/

#popup {
    top: 0px;
    left: 0px;
    width: 100vw;
    height: 100vh;
    padding: 120px 15px 120px 0px;
    display: none;
    position: fixed;
    text-align: center;
    background: rgba(0,0,0,0.25);
}
#popup > div {
    width: 600px;
    border: 1px solid black;
    height: 100%;
    padding: 10px;
    display: inline-block;
    position: relative;
    background-color: white;
}
.scrollable {
    overflow-y: scroll;
}

/* Tricks ************************************************************************/
#overlayer {
    top: 89px;
    left: 0px;
    width: calc(100% - 15px);
    height: 10px;
    position: fixed;
    background-color: white;
}
