﻿/* ===================================================================== */
/*  The following CSS was created using Theme Editor.                    */
/*  To modify this CSS, click "Open Theme Editor".                       */
/* ===================================================================== */

/* ===================================================================== */
/*  Root - CSS Variables                                                 */
/* ===================================================================== */

:root {
	
    /* Color - Brand */
    --color-primary: #282149;
    --color-secondary: #282149;

    --color-primary-hover: #1e1937;
    --color-primary-selected: rgba(40, 33, 73, .12);
	
    /* Dark Theme */
    --background-dark-theme: rgba(255, 255, 255, .1);
    --background-dark-theme-hover: rgba(255, 255, 255, .2);
}


:root {
    --color-primary-blue: #27224F;
    --color-white: #fff;
    --color-dark-blue: #415A93;
    --color-soft-orange: #B8814E;
    --color-blue-pi: #4B4B4B;
    --color-grey-pi: #D9DEE9;
    --color-green-pi: #1C5857;
    --color-green-pi-hover: #103231;
    --color-lightgreen-pi: #CCE4E4;
    --color-green-btn: #51883A;
    --color-green-btn-hover: #8AC236;
;
    
    /* Overlay Search sizes calc */
    --tab-height: 51px;
    --padding-total: 15vh;
    --max-height:calc(var(--tab-height) + var(--padding-total) + var(--header-size));
}

/* Resets */

a, a:visited {
    color: var(--color-blue3);
    transition: none;
}

/* Buttons */


.btn {
    border-radius: 0;
    color: var(--color-blue3);
    font-size: 18px;
    font-weight: 500;
}

.desktop .btn:hover {
    filter: unset;
    color: var(--color-primary);
    border-color: var(--color-primary);
}

.btn-primary {
    background-color: var(--color-blue3);
    border-color: var(--color-blue3);
    color: #fff;
}

.desktop .btn-primary:hover {
    filter: unset;
    background-color: var(--color-primary);
    border-color: var(--color-primary);
    color: var(--color-neutral-0)
}

.btn[disabled] {
    background-color: var(--color-neutral-0);
    border: var(--border-size-s) solid var(--color-grey3);
    color: var(--color-grey3);
}

.btn.btn-primary[disabled] {
    background-color: var(--color-grey3);
    border: var(--border-size-s) solid var(--color-grey3);
    color: var(--color-neutral-0);
}

/* Header */

.desktop .ThemeGrid_Container {
    max-width: 100%;
    padding: var(--space-none) 5vw;
}

/* Main Content */

.layout .main-content.ThemeGrid_Container {
    padding: 0;
    background: var(--color-white);
    min-height: 100vh;
}

/* Footer */

.layout .footer.ThemeGrid_Container {
    padding: 0;
}

a.skip-nav:focus {
    opacity: 1;
    background: var(--color-primary);
    color: var(--color-white);
}

h1 {
    font-weight: unset;
    line-height: unset;
}

.phone h1 {
    font-size: unset;
}

.app-menu-links {
    justify-content: flex-end;
    align-items: center;
}

.app-menu-links > a {
    margin-left: 32px;
}

.app-menu-links a {
    color: var(--color-primary-blue);
    font-weight: 500;
    font-size: 16px;
}

.phone .app-menu-links, .tablet .app-menu-links {
    justify-content: flex-start;
    align-items: baseline;
}

.desktop .app-menu-links .input-expand-outer {
    position: absolute;
    top: 135%;
    right: 14vw;
    transition: top .4s cubic-bezier(0.4, 0, 1, 1);
    z-index: 10;
}

.desktop .layout:has(.layout-inner-pinv) .input-expand-outer,
.desktop .app-menu-links .input-expand-outer.hide-menu,
.desktop .PInvestidor-Screen .input-expand-outer {
    top: 100%;
}

.desktop .menu-secondary-outer {
    position: absolute;
    width: 100%;
    height: var(--header-size);
    top: 135%;
    left: 0;
    padding: 0 20vw;
    opacity: 1;
    transition: top .4s cubic-bezier(0.4, 0, 1, 1), background-color .6s cubic-bezier(0.4, 0, 1, 1);
}

.desktop .layout:has(.layout-inner-pinv) .menu-secondary-outer,
.desktop .PInvestidor-Screen .menu-secondary-outer,
.desktop .menu-secondary-outer.hide-menu {
    top: 100%;
    background-color: var(--color-white);
    box-shadow: 0px 3px 3px 0px rgb(24 39 75 / 12%);
}

.desktop .layout:has(.layout-inner-pinv) .menu-secondary-inner > a,
.desktop .PInvestidor-Screen .menu-secondary-inner > a,
.desktop .menu-secondary-outer.hide-menu .menu-secondary-inner > a {
    color: var(--color-primary);
}

/* label */

label {
    color: var(--color-blue3);
}

/* Checkbox */

[data-checkbox] {
    height: 20px;
    width: 20px;
    position: relative;
}

[data-checkbox]:before {
    height: 20px;
    width: 20px;
    border: var(--border-size-s) solid var(--color-copper);
    border-radius: var(--border-radius-none);
}

[data-checkbox]:checked:before {
    background: var(--color-blue3);
    border: var(--border-size-s) solid var(--color-copper);
}



[data-checkbox]:hover:before {
    border: var(--border-size-s) solid var(--color-copper);
}

.tablet [data-checkbox], 
.phone [data-checkbox] {
    height: 25px;
    width: 25px;
}

.tablet [data-checkbox]:before, 
.phone [data-checkbox]:before {
    height: 25px;
    width: 25px;
}

.tablet [data-checkbox]:checked:after, .phone [data-checkbox]:checked:after {
    left: 25%;
    top: 30%;
}

/* Toggle [Data Switch] */

[data-switch] {
    height: 24px;
    width: 40px;
}

[data-switch]:empty:before {
    height: 100%;
    width: 100%;
    background-color: var(--color-grey2);
    border: var(--border-size-s) solid var(--color-grey2);
}    

[data-switch]:checked:before {
    background-color: var(--color-blue3);
    border: var(--border-size-s) solid var(--color-blue3);
}

[data-switch]:empty:after {
    height: 18px;
    top: 4px;
    width: 18px;
}

/* Tabs */

.tabs .tabs-header > div {
    width: 100%;
}

.tabs .tabs-header-tab {
    margin-left: unset;
    padding: 12px 50px;
    background: rgb(255 255 255 / 25%);
    border-bottom: unset;
    border-radius: unset;
    height: 100%;
    font-weight: 500;
    color: var(--color-neutral-7);
}

.tabs .tabs-header-tab.active:before {
    top: unset;
    bottom: 3px;
    height: 3px;
    width: 4ch;
}

.tabs .tabs-header-tab:before {
    background-color: transparent;
}

.tabs .tabs-header-tab.active {
    background-color: rgb(255 255 255 / 75%);
    border-bottom: unset;
    font-weight: 500;
}

.tabs .tabs-content {
    padding: 4vh 5vw;
    border-radius: 0;
}

.desktop .tabs-header-tab:hover {
    border-bottom: unset;
    color: var(--color-blue-4);
}

.desktop .tabs-header-tab.active:hover {
    border-bottom: unset;
}

/* Dropdown */

.dropdown-container > div.dropdown-display, 
.dropdown-container > select.dropdown-display {
    border: 1px solid var(--color-dark-blue);
    border-radius: 8px;
    color: #909090;
}

/* Radio Button */

.radio-button {
    color: var(--color-dark-blue);
}

.radio-button:before {
    border: var(--border-size-s) solid currentColor;
}

.radio-button:hover:before {
    border: var(--border-size-s) solid currentColor;
}

.radio-button:checked:after {
    content: '';
    position: absolute;
    height: 12px;
    width: 12px;
    border-radius: 50%;
    background-color: currentColor;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.radio-button:checked:before {
    background-color: unset;
    border: var(--border-size-s) solid currentColor;
}



.layout:has(.layout-inner-pinv) .layout-inner-pi, 
.layout-inner-pi:has(.layout-inner-pi-outer[hide-menu="True"]) {
    padding: 30px 5vw;
}

/* Filter */

.filter-row {
    display: flex;
    gap: 0 20px;
    align-items: center;
}

.phone .filter-row {
    flex-direction: column;
}

.phone .filter-row > div,
.phone .filter-row > .btn {
    flex: unset;
    width: 100%;
}

.filter-row > div {
    flex: 1;
    margin: 0;
}

.filter-row > .btn + .btn {
    margin: 0;
}





