#company-form {
    width: 496px;
    height: 743px;
    background-color: #000;
    border-radius: 8px;
    position: absolute;
    margin: -371.5px 0 0 -248px;
    left: 50%;
    top: 50%;
    z-index: 103;
    padding: 3px;
    display: none;
}

#company-form-inner {
    width: 100%;
    height: 100%;
    background-color: #C2DEEA;
    border-radius: 5px;

}

.company-label {
    width: 445px;
}

.company-label > div {
    width: 120px;
    float: left;
    margin: 3px 0 0 0;
}

#company-details {
    width: 461px;
    height: 287px;
    position: relative;
    top: 10px;
    left: 10px;
}

#company-details > :first-child {
    width: 458px;
    border: 1px solid #000;
    height: 127px;
    padding-top: 7px;
}

#company-details > :first-child > :first-child {
    width: 107px;
}

#company-details > :nth-child(2) {
    width: 458px;
    border: 1px solid #000;
    height: 148px;
    padding-top: 7px;
    top: 146px;
}

#company-details > :nth-child(2) > :first-child {
    width: 100px;
}

#company-details > :nth-child(3) {
    width: 458px;
    border: 1px solid #000;
    height: 125px;
    padding-top: 7px;
    top: 313px;
}

#company-details > :nth-child(3) > :first-child {
    width: 102px;
}

#company-details > :nth-child(4) {
    width: 458px;
    border: 1px solid #000;
    height: 108px;
    padding-top: 7px;
    top: 457px;
    opacity: 0.5;
}

#company-details > :nth-child(4) > :nth-child(2), #company-details > :nth-child(5) > :nth-child(3) {
    width: 452px;
    height: 91px;
    overflow-y: scroll;
    border: 1px solid #000;
    margin: 5px 0 0 -6px;
    background-color: #FFF;
}

#company-details > :nth-child(4) > label {
    width: 48px;
    right: 35px;
}

#company-details > :nth-child(5) {
    width: 458px;
    border: 1px solid #000;
    height: 130px;
    padding-top: 7px;
    top: 584px;
    opacity: 0.5;
}

#company-details > :nth-child(5) > label {
    width: 48px;
    right: 35px;
}

#company-details > div.subsection {
    position: absolute;
}

#company-role-table > tbody > tr.header {
    height: 20px;
    font-size: 9pt;
    text-align: left;
    background-color: #005172;
    vertical-align: top;
}

#company-role-table > tbody > tr.row {
    height: 20px;
    font-size: 9pt;
    border-bottom: 1px solid #AAA;
}

#company-cable-table, #company-role-table {
    width: 435px;
}

#company-cable-table > tbody > tr.header {
    height: 20px;
    font-size: 9pt;
    text-align: left;
    background-color: #005172 !important;
    vertical-align: top;
}

#company-cable-table > tbody > tr.header > :first-child, #company-role-table > tbody > tr.header > :first-child {
    width: 57px;
}

#company-cable-table > tbody > tr.header > :nth-child(2), #company-role-table > tbody > tr.header > :nth-child(2) {
    width: 338px;
}

#company-cable-table > tbody > tr.row {
    height: 20px;
    font-size: 9pt;
    border-bottom: 1px solid #AAA;
    cursor: pointer;
}

#company-cable-table > tbody > tr.row:hover {
    background-color: #03C6FC;
}

#company-cable-table > tbody > tr.row > :first-child {
    padding: 0 10px 0 0;
}

/****************************
     PREVIOUS NAME FORM
****************************/

#prev-company-form {
    width: 514px;
    height: 284px;
    background-color: #C2DEEA;
    border-radius: 8px;
    position: absolute;
    left: 712px;
    top: 260px;
    z-index: 102;
    padding: 3px;
    border: 3px solid #000;
    z-index: 101;
    display: none;
}

#prev-company-form > div.subsection {
    position: absolute;
}

#prev-company-form > :first-child {
    margin: 4px 0 0 7px;
    width: 477px;
    float: left;
}

#prev-company-form > :first-child > :first-child {
    width: 300px;
    float: left;
    margin: 0;
}

#prev-company-form > :first-child label > input {
    width: 100%;
}

#prev-company-form > :first-child > :is(:nth-child(2),:nth-child(3)) {
    width: 62px;
    float:left;
    margin: 0 0 0 5px;
}

#prev-company-form > :first-child > :is(:nth-child(2),:nth-child(3)) > input {
    text-align: center;
}

#prev-company-form > :first-child > :nth-child(4) {
    float:left;
    margin: 0 0 0 5px;
    cursor: pointer;
}

#prev-company-form > :nth-child(2) {
    width: 458px;
    border: 1px solid #000;
    height: 235px;
    padding-top: 7px;
    top: 36px;
    left: 10px;
}

#prev-company-form > :nth-child(2) > label {
    width: 102px;
}

#prev-company-form > :nth-child(2) > :nth-child(2) {
    width: 452px;
    height: 218px;
    overflow-y: scroll;
    border: 1px solid #000;
    margin: 5px 0 0 -6px;
    background-color: #FFF;
}

#prev-company-form-table {
    width: 435px;
}

#prev-company-form > :nth-child(3) {
    position: absolute;
    right: 0;
    height: 153px;
    vertical-align: middle;
    margin: -3px 0 0 0;
    padding: 137px 0 0 4px;
    width: 17px;
    border-radius: 0 5px 5px 0;
    color: #000;
}

#prev-company-form > :nth-child(3):hover {
    background-color: #ddd;
    cursor: pointer;
    color: #444;
}

#prev-company-table > tbody > tr.header {
    height: 20px;
    font-size: 9pt;
    text-align: left;
    background-color: #005172;
    vertical-align: top;
}

#prev-company-table > tbody > tr.header > :first-child {
    width: 375px;
}

#prev-company-table > tbody > tr.header > :is(:nth-child(2),:nth-child(3)) {
    width: 56px;
    text-align: center;
}

#prev-company-table > tbody > tr.row {
    height: 20px;
    font-size: 9pt;
    border-bottom: 1px solid #AAA;
    cursor: pointer;
}