@import url('../fontawesome/css/fontawesome.min.css');
@import url('../fontawesome/css/regular.min.css');
@import url('../fontawesome/css/light.min.css');
@import url('grid.css');
@import url('fields.css');

@font-face {
    font-family: "Cera-Pro";
    src: url(../fonts/Cera-Pro-Bold.woff2) format("woff2"),
         url(../fonts/Cera-Pro-Bold.woff) format("woff"),
         url(../fonts/Cera-Pro-Bold.ttf) format("truetype");
    font-weight: 700;
    font-style: normal
}

@font-face {
    font-family: "Cera-Pro";
    src: url(../fonts/Cera-Pro-Medium.woff2) format("woff2"),
         url(../fonts/Cera-Pro-Medium.woff) format("woff"),
         url(../fonts/Cera-Pro-Medium.ttf) format("truetype");
    font-weight: 500;
    font-style: normal
}

@font-face {
    font-family: Cera-Pro;
    src: url(../fonts/Cera-Pro-Regular.woff2) format("woff2"),
         url(../fonts/Cera-Pro-Regular.woff) format("woff"),
         url(../fonts/Cera-Pro-Regular.ttf) format("truetype");
    font-weight: 400;
    font-style: normal
}


/* Base styles */
body {
    margin: 0;
    padding: 0;
    font-family: "Open Sans", sans-serif;
    font-weight: 400;
    font-size: 13px;
}

/* text */
.text-right {
    text-align: right;
}

.text-left {
    text-align: left;
}

.text-center {
    text-align: center;
}

.mb20,
.button.mb20 {
    margin-bottom: 20px;
}

.mt20 {
    margin-top: 20px;
}

.f-right {
    float: right;
}

p {
    color: #272727;
}

a {
    color: #447E9B;
    text-decoration: none;
    cursor: pointer;
}

div.hide {
    display: none;
}

span.alt {
    color: #B4B4B4;
}

ul.messages {
    list-style: none;
    padding: 10px 40px;
    margin: -30px 0 20px 0;
}

ul.messages li {
    border-radius: 3px;
    padding: 10px 20px;
    font-size: 14px;
}

ul.messages .error {
    background-color: #df9090;
}

ul.messages .success {
    background-color: #a7e9ad;
    color: #374739;
}

header {
    background: #f6f6f6;
    padding: 20px 0;
}

header .logo {
    width: 200px;
}

header ul.menu {
    margin: 6px 0 0;
    list-style: none;
}

header ul.menu li {
    float: left;
    width: auto;
}

header ul.menu li a {
    display: block;
    background: #fff;
    padding: 10px 20px;
    border-radius: 4px;
    color: #222;
}

header ul.menu li a i {
    margin-right: 10px;
}

header .user {
    padding-top: 8px;
    line-height: 1.8;
}

header .user img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    float: left;
    margin-right: 20px;
}

header .user .name {
    font-weight: bold;
}

#logout-form {
    display: inline-block;
}

#logout-form button {
    border: 0;
    background: transparent;
    display: inline;
    float: left;
    font-size: 12px;
    line-height: 0.5;
    cursor: pointer;
}

/* Estilos generales */

.sub-header.with-menu {
    padding-bottom: 0;
}

/* Contenedor del menú */
div.sub-menu-wrap {
    background: #08376B;
    opacity: 75%;
    overflow: auto;
    width: 100%;
    padding: 0;
}

/* Menú */
ul.sub-menu {
    list-style: none;
    position: absolute;
    margin-top: 0;
    padding-top: 11px;
}

ul.sub-menu li {
    float: left;
}

ul.sub-menu li i {
    margin-right: 6px;
}

ul.sub-menu li a {
    padding: 12px 20px;
    color: #fff;
}

/* Elemento de menú seleccionado */
ul.sub-menu li.selected a {
    background: #fff;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
    color: #08376B;
    font-weight: bold;
}

div.sub2-header {
    background: #f6f6f6;
    padding: 20px 0;
    margin: -40px 0 40px;
}

div.sub2-header h3 i {
    margin-right: 10px;
}

div.sub2-header h3 {
    text-transform: uppercase;
    color: #08376B;
    font-size: 14px;
}

div.sub2-header .simulado {
    color: #B4B4B4;
}

div.sub2-header .proceso {
    color: #666;
}

div.sub2-header .invertido {
    color: #55C560;
}

div.sub2-header span {
    font-size: 14px;
    font-weight: bold;
}

.side {
    position: absolute;
    right: 40px;
    width: 300px;
    padding-bottom: 100px;
    padding-left: 10px;
    background: #fff;
    z-index: 2;
}

@media (max-width: 1000px) {
    .side {
        position: static;
        right: auto;
        width: auto;
        padding-bottom: 0;
        padding-left: 0;
        background: transparent;
        z-index: auto;
        margin-top: 5%;
    }
}

.num-card {
    font-size: 16px;
    font-weight: bold;
    border: 0;
    border-left: 3px solid #B4B4B4;
    padding: 0 0 0 10px;
    margin-bottom: 20px;
}

.num-card span.currency {
    color: #B4B4B4;
}

.num-card h4 {
    margin: 0 0 6px 0;
    padding: 0;
    font-size: 12px;
}

.num-card .percent {
    font-size: 14px;
}

.num-card.yellow {
    border-color: #d8dd6a;
}

.num-card.yellow .percent {
    color: #d8dd6a;
}

.num-card.green {
    border-color: #55C560;
}

.num-card.green .percent {
    color: #55C560;
}

table.list {
    border-collapse: collapse;
    /*flex-flow: row wrap;
    /*table-layout: fixed;*/
    width: 100%;
    max-height: 100%;
    position: relative;
    /* horizontal scroll */
    overflow-x: auto;
    white-space: nowrap;
}

table.list tr {}

table.list tbody {
    overflow: auto;
}

table.list th {
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(4px);
    z-index: 1;
    text-align: left;
    padding: 10px 0 4px 6px;
    text-transform: uppercase;
    font-size: 12px;
    border-bottom: 1px solid #272727;
}

table.list td {
    padding: 16px 10px;
    border-bottom: 1px solid #efefef;
    margin: 0;
    white-space: nowrap;
}

table.list td i {
    margin-right: 6px;
}

/* table col sorting */

thead th.sorted a.sortremove {
    visibility: hidden;
}

table thead th.sorted:hover a.sortremove {
    visibility: visible;
}

table thead th.sorted .sortoptions {
    display: block;
    padding: 0px 5px 0 0px;
    float: right;
    text-align: right;
}

table thead th.sorted .sortoptions a {
    position: relative;
    width: 14px;
    height: 14px;
    display: inline-block;
    background: url(../img/sorting-icons.svg) 0 0 no-repeat;
    background-size: 14px auto;
}

table thead th.sorted .sortoptions a.sortremove {
    background-position: 0 0;
}

table thead th.sorted .sortoptions a.sortremove:after {
    content: '\\';
    position: absolute;
    top: -6px;
    left: 3px;
    font-weight: 200;
    font-size: 1.125rem;
    color: #d3d3d3;
}

table thead th.sorted .sortoptions a.sortremove:focus:after,
table thead th.sorted .sortoptions a.sortremove:hover:after {
    color: #222;
}

table thead th.sorted .sortoptions a.sortremove:focus,
table thead th.sorted .sortoptions a.sortremove:hover {
    background-position: 0 -14px;
}

table thead th.sorted .sortoptions a.asc {
    background-position: 0 -28px;
}

table thead th.sorted .sortoptions a.asc:focus,
table thead th.sorted .sortoptions a.ascx:hover {
    background-position: 0 -42px;
}

table thead th.sorted .sortoptions a.desc {
    top: 1px;
    background-position: 0 -56px;
}

table thead th.sorted .sortoptions a.desc:focus,
table thead th.sorted .sortoptions a.desc:hover {
    background-position: 0 -70px;
}


.filter {
    background: #f6f6f6;
    overflow: auto;
    border-radius: 6px;
    margin-top: 20px;
}

.filter ul {
    margin: 0;
    padding: 0;
    list-style: none;
    float: left;
    width: 100%;
}

.filter ul li {
    margin: 0;
}

.filter ul li i {
    margin-right: 10px;
}

.filter ul li a {
    display: block;
    padding: 12px 20px;
    margin: 2px 10px 4px 0;
    text-decoration: none;
    color: #272727;
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
}

.filter ul li a:hover {
    font-weight: bold;
}

.filter ul li.selected a {
    background: #fff;
    color: #08376B;
    font-weight: bold;
}

.filter h3 {
    color: #272727;
    text-transform: uppercase;
    padding-left: 20px;
    font-size: 14px;
}

.button {
    display: block;
    background: #0E3C6F;
    color: #fff;
    border-radius: 6px;
    padding: 14px;
    text-transform: uppercase;
    font-weight: bold;
    border: 0;
    font-family: "Cera-Pro", Roboto, Helvetica, Arial, sans-serif;
}

button:disabled {
    background: #e6e6e6;
    color: #666;
}

.button i {
    float: right;
}

.button.highlight {
    background: #ED3535;
}

.button.alt {
    color: #274F7D;
    background: #f6f6f6;
}

a.button.alt:hover,
button.alt:hover {
    background: #e6e6e6;
}

span.pill,
a.pill {
    background: #d7e6ee;
    color: #274F7D;
    padding: 4px 10px;
    border-radius: 4px;
}

.estado {
    padding: 6px 16px;
    text-align: center;
    text-transform: uppercase;
    color: #fff;
    font-weight: bold;
    font-size: 12px;
}

h1 .estado {
    margin-top: -20px;
    display: inline;
    font-size: 11px;
    padding: 4px 12px;
}

.estado.SIMULADO {
    background: rgb(248, 148, 75, 0.8);
}

.estado.FIRMA_PENDIENTE {
    background: rgb(121, 131, 188, 0.8);
}

.estado.TRANSFERENCIA_PENDIENTE {
    background: rgb(169, 121, 188, 0.8);
}

.estado.VALIDACION_PENDIENTE {
    background: rgba(101, 116, 5, 0.8);
}

.estado.INVERSION_SATISFACTORIA,
.estado.INVERSION_CERTIFICADA {
    background: rgba(85, 197, 96, 0.8);
}

span.dias {
    color: #fff;
    background: #D02E2E;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    padding: 2px;
    line-height: 1;
    border-radius: 50%;
    display: flex;
    text-align: center;
    justify-content: center;
    align-items: center;
    font-weight: bold;
}

/* bottom navigation var */
.button-nav {
    background: #f6f6f6;
    position: fixed;
    bottom: 0;
    z-index: 2;
    overflow: auto;
    text-align: center;
    padding: 20px 0;
    width: 100%;
}

.button-nav a.button,
button.button {
    display: inline-block;
    text-transform: none;
    margin: 0;
    width: 400px;
    cursor: pointer;
}

.button-nav a.button.alt,
.button-nav button.button.alt {
    width: 300px;
    color: #274F7D;
    background: #fff;
    margin-right: 10px;
}

.button-nav .button.alt:hover {
    background: #fff;
}

.button.button.side {
    text-transform: uppercase;
    text-align: left;
    width: 100%;
}

/* process steps */

.pasos {
    padding: 0 0 40px 0;
}

.pasos .col {
    font-size: 14px;
    color: #d3d3d3;
}

.pasos .col div {
    width: 100%;
    height: 4px;
    background: #d3d3d3;
    border-radius: 2px;
}

.pasos .col.selected {
    color: #274F7D;
    font-weight: bold;
}

.pasos .col.selected div {
    background: #274F7D;
}

/* dialog */
.dialog-wrapper {
    background: #222222b3;
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100000;
    display: none;
}

.dialog-wrapper.show {
    display: block;
}

div.dialog h2,
div.dialog p {
    margin: 0 0 40px;
}

div.dialog {
    border-radius: 4px;
    background: #fff;
    padding: 40px;
    margin: auto;
    width: 50%;
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
}

/* auth css */



footer {
    font-size: 12px;
    text-align: center;
}

/* simulacion */
#inversion-slider {
    margin-top: 40px;
}

#inversion-slider-min-display,
#inversion-slider-max-display {
    margin-bottom: 20px;
    display: inline-block;
}

#inversion-slider-max-display {
    float: right;
}

div.line {
    margin: auto;
    background: #efefef;
    border-radius: 2px;
    padding: 6px 10px 4px;
    margin-bottom: 10px;
    font-size: 12px;
}

div.line .delete {
    float: right;
}

div.alert {
    background: #df9090;
    color: #9f1919;
    padding: 10px;
    border-radius: 4px;
    margin-bottom: 20px;
}

.small {
    font-size: 12px;
}


.draft-dashboard {
    width: 100%;
    display: block;
    text-align: center;
}

.dashboard-global {
    display: grid;
    gap: 20px;
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(3, 1fr);
}

.dashboard-section {
    /*opacity: 0.5;*/
    text-align: center;
    color: black;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1280px;
}

.dashboard-global .dashboard-container {
    min-height: 425px;
}

.dashboard-column-1 {
    grid-column: 1;
    grid-row: 1;
}

.dashboard-column-2 {
    grid-column: 2;
    grid-row: 1;
    background-color: red;
}

.dashboard-column-3 {
    grid-column: 3;
    grid-row: 1;
    background-color: green;
}

.dashboard-column-4 {
    grid-column: 1 / 3;
    grid-row: 2;
}

.dashboard-column-5 {
    grid-column: 3;
    grid-row: 2;
    background-color: cyan;
}

.dashboard-column-6 {
    grid-column: 1 / 3;
    grid-row: 3;
    background-color: lightblue;
}

.dashboard-column-7 {
    grid-column: 3;
    grid-row: 3;
    background-color: lavender;
}

@media (max-width: 1280px) {

.dashboard-global {
    grid-template-columns: repeat(2, 1fr);
}

.dashboard-column-1 {
    grid-column: 1;
    grid-row: 1;
}

.dashboard-column-2 {
    grid-column: 2;
    grid-row: 1;
}

.dashboard-column-3 {
    grid-column: 1/3;
    grid-row: 2;
}

.dashboard-column-5 {
    grid-column: 1;
    grid-row: 4;
}

.dashboard-column-4 {
    grid-column: 1 / 3;
    grid-row: 3;
}

.dashboard-column-6 {
    grid-column: 1 / 3;
    grid-row: 5;
}

.dashboard-column-7 {
    grid-column: 2;
    grid-row: 4;
}
}

@media (max-width: 720px) {

    .dashboard-global {
        grid-template-columns: repeat(1, 1fr);
    }
    
    .dashboard-column-1 {
        grid-column: 1;
        grid-row: 1;
    }
    
    .dashboard-column-2 {
        grid-column: 1;
        grid-row: 2;
    }
    
    .dashboard-column-3 {
        grid-column: 1;
        grid-row: 3;
    }
    
    .dashboard-column-4 {
        grid-column: 1;
        grid-row: 4;
    }
    
    .dashboard-column-5 {
        grid-column: 1;
        grid-row: 5;
    }
    
    .dashboard-column-6 {
        grid-column: 1;
        grid-row: 6;
    }
    
    .dashboard-column-7 {
        grid-column: 1;
        grid-row: 7;
    }
}

.evolution-chart-container {
    display: flex;
    flex-direction: row;
}

.evolution-chart-text-container{
    width: 33%;
    margin: auto;
    background-color: red;
    aspect-ratio: 4.3/6;
}

.evolution-chart-graph-container {
    width: 67%;
    background-color: blue;
}

.evolution-chart-graph{
    aspect-ratio: 9/6;
}

.half-circle-containter {
    display: flex;
    flex-direction: row;
    height: 100%;
    width: 90%;
    margin: auto;
}

.half-circle-graph {
    height: 90%;
    width: 90%;
    border-radius: 18px;
    border-style: solid;
    border-color: #d3cddc;
    border-width: 2px;
    
    background-color: red;
}

.half-circle-text {
    height: 100%;
    width: 50%;
    background-color: blue;
}

.temp{
    width: 40vw;
    height: 40vw;
    left: 50%;
}