
/* ********************************
  NUEVOS ESTILOS DE SECCIÓN FORUM
**********************************/

.forum-h2 {
    font-size: 1.85em;
}
.forum-h3 {
    font-size: 1.3em;
}
.forum-h4 {
    font-size: 1.25em;
}
.forum-h5 {
    font-size: 1.2em;
}
.forum-h6 {
    font-size: 1.15em;
}

/* Tabs */
#nav-tabs-forum .nav-link {
    width: .9em;
    height: .9em;
    background-color: #bb162b;
    opacity: .4;
}
#nav-tabs-forum .next-active,
#nav-tabs-forum .active {
    opacity: 1 !important;
}

/* Form */
.form-group-bubble label {
    position: absolute;
    top: -.8em;
    left: 5em;
    font-size: .9em;
    background-color: #fff;
    padding: 0 .25em;
}
.form-control-bubble,
.form-group-bubble-select .bootstrap-select>.dropdown-toggle,
.custom-file-label {
    font-size: 1.15rem;
    border: 1px solid #58595b;
    padding: .45em .85em;
    border-radius: 1.5em;
}
.form-group-bubble-select .dropdown-item,
.form-group-bubble-select .bootstrap-select .dropdown-toggle .filter-option {
    text-align: center; 
}
.custom-file:hover,
.custom-file-label:hover,
.custom-file-input:hover  {
    cursor: pointer !important;
}
.custom-file, .custom-file-input {
    height: auto;
}
.custom-file-label {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding-right: 2em;
    height: auto;
}
.custom-file-label::after {
    font-family: 'icomoon' !important;
    display: block;
    height: auto;
    padding: 0 .5rem;
    line-height: 1.5;
    color: #bb162b;
    content: "\e90a";
    background-color: transparent;
    border-left: none;
    border-radius: 0;
    font-size: 1.7em;
    -webkit-transition: all .35s ease-in-out;
       -moz-transition: all .35s ease-in-out;
        -ms-transition: all .35s ease-in-out;
         -o-transition: all .35s ease-in-out;
            transition: all .35s ease-in-out;
}
.custom-file:hover .custom-file-label::after {
    color: #58595b;
}
.btn-forum-files {
    display: block;
    font-size: 1.15rem;
    padding: .45em;
    border-radius: 1.5em;
}
.btn-forum-files.kia-btn-disabled {
    border: 1px solid #58595b;
    background: transparent;
}

/* Range slider */
.forum-range-slider {
    width: 90%
}

/* Otros elementos */
.forum-pie-btn {
    position: absolute;
    top: 50%;
    right: -2.5em;
    margin-top: -.9em;
    height: 1.8em;
    font-size: .95em;
    padding: 0 .95em;
    border-radius: 1em;
    color: #58595b;
}
.forum-pie-btn-disabled {
    border: 1px solid #58595b;
    background-color: #fff;
    color: #58595b;
    cursor: not-allowed;
    pointer-events: none !important;
}
.forum-pie-btn-active {
    border: 1px solid #bb162b;
    background-color: #bb162b;
    color: #fff !important;
}
.forum-pie-btn-active:hover {
    box-shadow: .15em .15em .25em rgba(0,0,0,.75);
    cursor: pointer;
}


.forum-credito-box {
    font-size: 1.15em;
}
.forum-credito-box p {
    margin-bottom: .75rem;
}
.forum-credito-box label {
    margin-bottom: 0;
}
.forum-credito-box h4 {
    font-size: .95em;
    background: #fff;
    display: inline-block;
    padding: 0 .25em;
}
.forum-credito-box h5 {
    font-size: .65em;
}
.forum-credito-box .mt-n-box {
    margin-top: -.95rem;
}
.forum-credito-box-active {
    color: #bb162b;;
    border: 1px solid #bb162b;
    border-radius: 3em;
    font-size: 1.25em;
}
.pesos {
    font-size: 1em;
}
.forum-monto-financiar .pesos {
    font-size: 1em;
}
.forum-monto-financiar-active {
    color: #bb162b;
}
.forum-monto-financiar-row  .monto-financiar-title {
    font-size: 13px;
}
.forum-monto-financiar-row .separador-financiar {
    display: block;
    width: 1px;
    height: 4.5em;
    background-color: #bb162b;
}
.monto-financiar-h2 {
    font-size: 1.95em;
}
.forum-cuota-box {
    border-radius: 1em;
}

/* Radio buttons */
.forum-cuotas-seleccion .custom-control {
    padding-left: 0;
    margin-right: 0;
    font-size: 1.25em;
}
.forum-cuotas-seleccion .custom-control-label {
    padding-left: 1.25em;
}
.forum-cuotas-seleccion .custom-control-label:hover {
    cursor: pointer;
}
.forum-cuotas-seleccion .custom-control-label::before,
.forum-cuotas-seleccion .custom-control-label::after {
    border-radius: 50%;
    left: 0;
    top: .1rem;
    border: 1px solid #58595b;
    height: .8em;
    width: .8em;
}
.forum-cuotas-seleccion .custom-control-label::after {
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100%;
}
.forum-cuotas-seleccion .custom-radio .custom-control-input:checked~.custom-control-label::after {
    background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%23bb162b'/%3e%3c/svg%3e")
}
.forum-cuotas-seleccion .custom-control-input:checked~.custom-control-label::before,
.forum-cuotas-seleccion .custom-control-input:not(:disabled):active~.custom-control-label::before {
    color: #fff;
    background-color: transparent;
}
.forum-seleccion .btn {
    padding: 0;
    box-shadow: none !important;
    color: #58595b;
}
.forum-seleccion .btn .btn-bubble {
    background-color: #fff;
    border: 1px solid #606060 !important;
    border-radius: 1.5em;
    text-align: center;
    line-height: 1.25;
    padding: .35em .25em;
}
.forum-seleccion .btn:not(:disabled):not(.disabled).active .btn-bubble {
    color: #fff;
    background-color: #bb162b;
    border: 1px solid #bb162b !important;
}
.forum-seleccion .btn:focus .btn-bubble,
.forum-seleccion .btn.focus .btn-bubble,
.forum-cuotas-seleccion .custom-control-input:focus~.custom-control-label::before,
.custom-file-input:focus~.custom-file-label {
    border-color: transparent;
    box-shadow: none;
}
.forum-seleccion .btn .btn-h {
    font-size: .85em;
}
.forum-producto-seleccion .btn .btn-bubble:last-child {
    font-size: 1.25em;
    border-radius: .75em;
}
.forum-producto-seleccion .btn .btn-bubble:last-child p:last-child {
    font-size: 1.5em;
}

/* Tooltip */
.icon-info {
    display: inline-block;
}
.icon-info:hover,
.icon-info:focus {
    color: #58595b;
}
.icon-info-absolute {
    font-size: 1.75em;
    position: absolute;
    top: 50%;
    right: -1.15em;
    margin-top: -.5em;

}
.bs-tooltip-auto[x-placement^=top] .arrow::before, .bs-tooltip-top .arrow::before {
    border-top-color: #bb162b;
}
.bs-tooltip-auto[x-placement^=right] .arrow::before, .bs-tooltip-right .arrow::before {
    border-right-color: #bb162b;
}
.bs-tooltip-auto[x-placement^=bottom] .arrow::before, .bs-tooltip-bottom .arrow::before {
    border-bottom-color: #bb162b;
}
.bs-tooltip-auto[x-placement^=left] .arrow::before, .bs-tooltip-left .arrow::before {
    border-left-color: #bb162b;
}
.tooltip-inner {
    max-width: 250px;
    padding: .75em;
    background-color: #bb162b;
    line-height: 1.25em;
}
.tooltip.show {
    opacity: 1;
}

/*  Modal */
.forum-modal {
    border-radius: 1.5rem;
}
#forum-modal-detalle {
    font-size: .9em;
}
#forum-modal-detalle td {
    text-align: right;
}

/*  Accordion */
.forum-accordion .btn-link {
    font-size: 2.5em;
    color: #bb162b;
    padding: 0;
    line-height: 0;
    border-radius: 50%;
}
.forum-accordion .btn.focus, .btn:focus {
    box-shadow: none;
}
.forum-accordion .forum-accordion-box {
    border: 1px solid #58595b;
    border-radius: 1.25rem;
    margin-bottom: 1em;
}
.forum-accordion .forum-accordion-box p {
    font-size: 13.5px;
    line-height: 1.475em;
}
.forum-accordion .btn-link:hover,
.forum-accordion .btn-link[aria-expanded="true"] {
    color: #58595b;
}
.forum-accordion-box-disabled {
    pointer-events: none;
    opacity: .5;
}
#forum-accordion-agregados .forum-accordion-box,
.forum-accordion-box-agregados {
    border-color: #bb162b !important;
    color: #bb162b;
}

@media screen and (max-width: 767.5px) {
    .monto-financiar-h2 {
        font-size: 1.85em;
    }
    .forum-producto-seleccion .btn div:last-child {
        font-size: 1em;
    }
}