﻿/* ===================================================================== */
/*  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);
}



.phone .header .header-content, 
.tablet .header .header-content {
    justify-content: space-between;
}

.menu-icon {
    background: var(--color-blue3);
    padding: 8px;
    width: 40px;
    height: 40px;
    justify-content: space-around;
    margin-right: unset;
}

.menu-icon-line {
    background-color: #fff;
    border-radius: 3px;
    height: 3px;
    width: 100%;
}

.tablet .header-logo, 
.phone .header-logo {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

nav.app-menu-content[aria-expanded="true"] .menu-icon:after {
    content: '\e910';
    font-family: 'cmvm';
    font-size: 18px;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
}

nav.app-menu-content[aria-expanded="true"] .menu-icon-line {
    display: none;
}

:root {
    --side-menu-size: 100%;
}
/* Table */

.table caption {
    font-size: 0;  
}

.table {
    border-radius: var(--border-radius-none);
    border: 1px solid var(--color-neutral-4);
}

.table-header th:first-child {
    border-radius: var(--border-radius-none);
}

.table-header th:last-child {
    border-radius: var(--border-radius-none);
}

.table-header th {
    border-bottom: unset;
    color: var(--color-neutral-0);
    background-color: var(--color-blue3);
}

.table-header label {
    color: var(--color-neutral-0);
}

.table-row td {
    background: unset;
    border-bottom: unset;
}

.table tbody tr:nth-child(odd) {
    background-color: rgba(235, 237, 243, 0.5);
}

.phone .table:not(.table-no-responsive) td:before, 
.tablet .table:not(.table-no-responsive) td:before {
    content: unset;
    display: none;
}

.phone .table:not(.table-no-responsive) tr, 
.tablet .table:not(.table-no-responsive) tr {
    border-bottom: unset;
    display: flex;
    align-items: center;
}

.phone .table:not(.table-no-responsive) td, 
.tablet .table:not(.table-no-responsive) td {
    width: auto !important;
}

/* Pagination */

.search-overlay .pagination {
    margin-top: 2vh;
}

.pagination-counter {
    color: var(--color-dark-blue);
}

.pagination-button[disabled] {
    opacity: 1;
}

.pagination-button.is--active {
    border: var(--border-size-s) solid #415A93;
    color: var(--color-white);
    background-color: var(--color-dark-blue);
}

.pagination-button {
    border: var(--border-size-s) solid #6C6C6C;
    border-radius: var(--border-radius-none);
}

.pagination-container > .pagination-button:first-child,
.pagination-container > .pagination-button:last-child {
    border-color: var(--color-dark-blue);
    color: var(--color-dark-blue);
}

.desktop .pagination-button:not(.is--ellipsis):hover,
.pagination-button:not(.is--ellipsis):hover {
    background-color: var(--color-dark-blue);
    border: var(--border-size-s) solid #415A93;
    color: #fff;
}

/* --------------------- STYLEGUIDE --------------------- */

.styleguide-screen .card-hover-text {
    color:var(--color-black);
    padding: 3vh 1vw 4vh 1vw;
}

.styleguide-screen .color-black {
    color: var(--color-black);
}
.styleguide-screen .color-white {
    color: var(--color-white);
}

.styleguide-screen .section-title {
    border-bottom: unset;
}

.styleguide-screen .margin-bottom-100 {
    margin-bottom: 100px;
}

.styleguide-screen .sidemenu-styleguide > div:last-child {
  margin-bottom: 0px;
}

.styleguide-screen .sidemenu-styleguide a:hover {
    color: var(--color-blue);
}
.styleguide-screen .sidemenu-styleguide a {
    color: var(--color-blue3);
}

.styleguide-screen .sidemenu-styleguide > div {
    direction: ltr;
}

.styleguide-screen .sidemenu-styleguide > div {
    margin-bottom: 13px;
    font-size: 16px;
}

.styleguide-screen .sidemenu-styleguide {
    overflow: auto;
    overflow-x: hidden;
    height: 62vh;
    width: 100%;
    padding: 0 20px;
    direction: rtl;
    position: sticky;
    top: 20vh;
}

.styleguide-screen .side-menu {
    background: var(--color-blue-lightest);
    padding: 16px;
    height: fit-content;
    position: sticky;
    top: 15vh;
}

/* ALERTA SCREEN */

.alert-screen-wrapper .entities-list-outer {
    margin-top: 60px;
}

.alert-screen-wrapper.entities-list-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.phone .alert-screen-wrapper .entities-list-top {
    flex-flow: column;
}

.alert-screen-wrapper .entities-list-top > * {
    width: 100%;
}

.alert-screen-wrapper .entities-list-top .form-control[data-input] {
    border: 1px solid var(--color-blue2);
    border-radius: var(--border-radius-none);
}

.alert-screen-wrapper .entities-list-top .input-with-icon .input-with-icon-content-icon {
    color: var(--color-primary-blue);
}


/* PORTAL INSTITUCIONAL MENU ATIVE BLUE */ 
.app-menu-links a[active='True'] {
    background-color: #EBEDF3;
    padding: 0 18px;
    justify-content: center;
    height: 4vh;
}


/* PORTAL INSTITUCIONAL CHECKBOXS */ 

.tablet [data-checkbox]:checked:after, 
.phone [data-checkbox]:checked:after {
    LEFT:25%;
    top: 30%;
}

[data-checkbox]:checked:after {
    border: 2px solid #FFFFFF; 
    position: absolute;
    left: 25%;
    top: 30%;
    width: 10px;
}

[data-checkbox]:checked:before {
    background: var(--color-blue3);
    border: 1px solid var(--color-blue3);
}


/* ===================================================================== */
/*  PInstitucional Alert Screen Mobiel/Tablet                            */
/* ===================================================================== */


.phone .table.entidades:not(.table-no-responsive) tr, 
.tablet .table.entidades:not(.table-no-responsive) tr{
    border:unset;
    display:flex;
    border-radius: 0px;
    align-items:center; 
    padding:var(--space-base);
}



.tablet.table.entidades [data-checkbox], .phone .table.entidades [data-checkbox] {
    margin-right:var(--space-base);
    
}
.phone .table.entidades:not(.table-no-responsive) td:not(:last-child),
.tablet .table.entidades:not(.table-no-responsive) td:not(:last-child) {
    border:unset;
}

.list-header-entidades {
    background-color:var(--color-blue3);
    color:white;
    font-size:18px;
    font-weight:700;
    display:flex;
    align-items:center;
    padding: var(--space-base);
    padding-left: var(--space-s);
}

.list-header-entidades [data-checkbox] {
    display:flex;
    margin-left:var(--space-s);
    width:40px;
}


.phone .alert-screen-wrapper .list-pattern-top > *,
.tablet .alert-screen-wrapper .list-pattern-top > * {
    width:100%;
    margin:var(--space-s) 0;
}


.tablet .table [data-checkbox]:checked:after, .phone .table [data-checkbox]:checked:after {
    left:35%;
    top:40%;
}


.tablet .list-header-entidades [data-checkbox]:checked:after, 
.phone .list-header-entidades [data-checkbox]:checked:after {
    left:20%;
    top:20%;
}


.phone .alert-screen-wrapper .list-pattern-outer,
.tablet .alert-screen-wrapper list-pattern-outer  {
    margin-top: 20px;
}


