:root{
    --tema-principal: #596771;
    --tema-contratista: #4CBBBA;
    --tema-obra: #2DB1E5;
    --tema-terminado: #00b560;
    --descripcion: #f2f2f3;
    --danger: #d9534f;
    --rechazados: #f2dede;
}

.tema-principal{
    background-color: var(--tema-principal);
    color: #fff;
    .a-info{
        text-decoration: none;
        color: #fff;
        cursor: help;
    }
    .a-clic{
        text-decoration: none;
        color: #fff;
        cursor: pointer;
    }
}

.tema-contratista{
    background-color: var(--tema-contratista);
    color: #fff;
    .a-info{
        text-decoration: none;
        color: #fff;
        cursor: help;
    }
    .a-clic{
        text-decoration: none;
        color: #fff;
        cursor: pointer;
    }
}

.tema-obra{
    background-color: var(--tema-obra);
    color: #fff;
    .a-info{
        text-decoration: none;
        color: #fff;
        cursor: help;
    }
    .a-clic{
        text-decoration: none;
        color: #fff;
        cursor: pointer;
    }
}

.tema-terminado{
    background-color: var(--tema-terminado);
    color: #fff;
    .a-info{
        text-decoration: none;
        color: #fff;
        cursor: help;
    }
    .a-clic{
        text-decoration: none;
        color: #fff;
        cursor: pointer;
    }
}

.panel-manual-proceso{
    width: 100%;
    padding: 0 0 0 0;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.control-aio{
    display: none;
    &.active{
        display: inherit;
        animation: transicionPanel;
        animation-duration: 0.6s;
    }
}

@keyframes transicionPanel {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

.docs{
    position: relative;
    margin-bottom: 50px;
    width: 100%;
    .docs-enc{
        position: inherit;
        width: inherit;
        height: 70px;
        border-top-left-radius: 15px;
        border-top-right-radius: 15px;
        display: flex;
        align-items: center;
        .tira svg{
            border-top-left-radius: 15px;
            border-top-right-radius: 15px;
            position: absolute;
            top: 0;
            width: 100%;
        }
        .titulo{
            padding: 0 15px;
            h1{
                font-size: 2em;
            }
        }
    }
    .panel-group{
        padding: 0;
        margin: 0;
        .panel{
            box-shadow: none;
        }
    }
    .docs-enc-est{
        width: inherit;
        height: 60px;
        display: flex;
        justify-content: space-between;
        .docs-enc-l{
            display: flex;
            align-items: center;
            .icono{
                img{
                    width: 60px;
                }
            }
            .titulo{
                padding: 0 15px;
                h2{
                    font-size: 1.7em;
                }
            }
        }
        .docs-enc-r{

        }
    }
    .docs-cont{
        width: inherit;
        padding: 30px 15px;
        .p-descripcion{
            width: 100%;
            border: 1px solid var(--tema-principal);
            border-radius: 8px;
            display: flex;
            flex-direction: column;
            background-color: var(--descripcion);
            .t{
                border-top-left-radius: 8px;
                border-top-right-radius: 8px;
                padding: 5px 15px;
                font-weight: 700;
                font-size: 1.4em;
                text-decoration: underline;
            }
            .d{
                border-radius: 8px;
                padding: 5px 15px 15px 15px;
            }
        }
        .table{
            padding: 15px;
            th{
                background-color: var(--descripcion);
                text-align: center;
            }
            td{
                text-align: center;
                font-size: 0.8em;
                &.iz{
                    text-align: left;
                }
                span{
                    font-weight: unset!important;
                }
            }
        }
        .p-homologos{
            width: 100%;
            margin-top: 30px;
            .table{
                padding: 15px;
                th{
                    background-color: var(--descripcion);
                    text-align: center;
                }
                td{
                    text-align: center;
                    font-size: 0.8em;
                    &.rechazado{
                        border: 1px solid var(--danger);
                        background-color: var(--rechazados);
                    }
                    &.iz{
                        text-align: left;
                    }
                }
            }
        }
    }
}

.diagrama{
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    .tarjeta{
        width: 200px;
        height: auto;
        margin: 5px;
        border-radius: 15px;
        position: relative;
        .flecha-d{
            position: absolute;
            top: calc(50% - 20px);
            right: -55px;
            width: 50px;
            img{
                width: 100%;
            }
        }
        .circulo{
            position: absolute;
            left: 0;
            top: calc(50% - 40px);
            width: 80px;
            height: 80px;
            border-radius: 50%;
            border: 3px solid var(--tema-principal);
            img{
                height: 100%;
            }
        }
        .texto{
            position: relative;
            width: 160px;
            margin-left: 35px;
            padding-left: 40px;
            height: 80px;
            border: 3px solid var(--tema-principal);
            border-radius: 15px;
            display: flex;
            flex-direction: column;
            text-align: center;
            .titulo{
                margin-left: -40px;
                width: calc(100% + 40px);
                font-size: 1em;
                font-weight: 700;
                padding: 5px 0 5px 40px;
                border-top-right-radius: 10px;
            }
            .contenido{
                display: flex;
                justify-content: center;
                align-items: center;
                height: 100%;
                font-size: 0.85em;
                font-weight: 700;
                text-align: center;
            }
        }
    }
    .flecha-d{
        width: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        img{
            width: 100%;
        }
    }
}
