/* Variáveis */

.main-view
{
    --system-space-off: 30px;
    --scroll-vertical-width: 5px;
}

.main-container-all{
    z-index: 1001;
    position: absolute;
}


/* -------------------------------------- */
@keyframes entrace {
	0% {
		opacity: 0;
	}
	100% {
		opacity: 1;
	}
}

/* Main View */
.main-view
{
    position: relative;
    width: 100vw;
    background-color: transparent;
    box-shadow: none;
    padding: var(--system-space-off);
    margin: 0;
    height: calc(100vh - 85px);
    overflow-y: auto;
    overflow-x: hidden;
    animation: entrace 0.9s ease 0s 1 normal forwards;
    scroll-behavior: smooth;
}


/* -------------------------------------- */


/* home e SubMenus*/

.box-int-title
{
    width: 96%;
    text-align: center;
    margin: auto 2% calc(var(--system-space-off)) 2%;
    position: relative;
}


.box-int-title h3
{
    color: #fff;
    font-weight: bold;
    font-size: 40px;
    text-shadow: 1px 1px 2px black, 0 0 1em #5b6788, 0 0 0.2em #5b6788;
    margin: 0;
    margin-bottom: 5px;
    padding: 0;
    white-space: break-spaces;
}

.box-int-title h6
{
    color: #fff;
    font-size: 17px;
    text-shadow: 1px 1px 2px black, 0 0 1em #5b6788, 0 0 0.2em #5b6788;
    margin: 0;
    padding: 0;
    white-space: break-spaces;
}

.box-list-menu
{
    position: relative;
    width: 100%;
    margin-bottom: var(--system-space-off);
}

.box-list-menu-item
{
    position: relative;
    background-color: #fff;
    width: 14.1%;
    margin: 1%;
    float: left;
    height: 31vh;
    border-radius: 10px;
    cursor: pointer;
    font-size: 75%;
    color: #5b6788;
}


.box-list-menu-item:hover
{
    box-shadow: 7px 7px 8px #aaaaaa;
    transform: scale3d(1.05, 1.05, 1.05);
    border: 3px solid #c5e6ff;
}

.box-list-menu-item-icon
{
    display: grid;
    width: 100%;
    height: 35%;
    margin-bottom: 10%;
    border-radius: 10px;
    text-align: center;
    pointer-events: none;
    align-content: center;
}

.box-list-menu-item-icon i
{
    color: #5b6788;
    position: relative;
    top: 50%;
    transform: translateY(-50%);
    font-size: 3.6em;
    text-shadow: 1px 1px 0.1em #fff, 0 0 1px #adc1ff, 0 0 0.1em #adc1ff;
}

.box-list-menu-item-text
{
    font-size: 1.5em;
    text-align: center;
    position: relative;
    transform: translateY(-50%);
    pointer-events: none;
    text-decoration: underline;
    font-weight: bold;
    align-content: center;
    display: grid;
    height: 33%;
    margin: 0 8px 0 8px;
}

.box-list-menu-item-text-desc
{
    font-size: 1.1em;
    text-align: center;
    position: relative;
    transform: translateY(-50%);
    pointer-events: none;
    height: 35%;
    margin-left: 10px;
    margin-right: 10px;
}




.box-sic
{
    position: relative;
    padding: 5px;
    margin: var(--system-space-off) 1.4% 0 1.4%;
    background-color: #fff;
    border-radius: 10px;
    width: 94.5%;
    box-shadow: 7px 7px 8px #aaaaaa;
    float: left; 
}

.box-sic-frame
{
    width: 48%;
    margin: auto 1%;
    float: left;
}

.box-sic-frame h3
{
    color: #333;
    margin: 5px auto;
    text-align: center;
    border-bottom: 3px #eee solid;
    font-size: 14px;
    padding-bottom: 8px;
    color: #5b6788;
}

.info-text
{
    width: 49%;
    margin: 5px 0.5%;
    float: left;
    font-size: 15px;
    color: #5b6788;
}

.info-text p
{
    font-size: 12px;
}

.info-text i
{
    font-size: 8px;
    top: 0px;
    border: 2px solid #5b6788;
    border-radius: 100%;
    padding: 0;
    background-color: #5b6788;
    color: #fff;
}

/* -------------------------------------- */


/* Legislação do Porta */

.box-legislacao
{
    position: relative;
    padding: 5px;
    width: 100%;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 7px 7px 8px #aaaaaa;
    float: left;
    margin-top: 25px;
}

.box-legislacao-frame
{
    width: 48%;
    margin: auto 1%;
    float: left;
}

.box-legislacao-frame h3
{
    color: #333;
    margin: 5px auto;
    text-align: center;
    border-bottom: 3px #eee solid;
    font-size: 18px;
    padding-bottom: 8px;
}

.box-legislacao-frame a
{
    text-align: center;
    display: block;
    margin-bottom: 8px;
}

.box-legislacao-frame p
{
    display: block;
    text-align: justify;
    margin-bottom: 8px;
    color: #5B6788;
}

.box-legislacao-frame-item i, .box-legislacao-frame-item a 
{
    position: relative;
    display: inline-block;
    margin-right: 5px;
}

/* -------------------------------------- */

/* Buttons */

.btn-search
{
    background-color: #5b6788 !important;
    border-color: var(--color-primary-1) !important;
    margin-top: 12px;
    height: 45px;
}

.btn-search i
{
    top: 0px;
    margin-right: -3px;
}

.btn-clear
{
    margin-top: 12px;
    height: 45px;
    color: #2A3040;
    border: 1px solid #2A3040;
}

.btn-clear i
{
    top: 0px;
    margin-right: -3px;
}

.btn-info:focus, .btn-info:hover, .btn-default:focus, .btn-default:hover {
    background-color: #788aba !important;
    color: #fff;
}

/* -------------------------------------- */


/* Accordion */

.box-accordion 
{
    margin-bottom: 30px;
    padding: 0;
}

.box-accordion .panel-group
{
    border-radius: 10px;
    background-color: #fff;
    border: none;
    padding: 0;
    box-shadow: 0px 4px 8px #aaaaaa;
}

.box-accordion .panel-default
{
    border-radius: 10px;
    background-color: #fff;
    border: none;
    padding: 0;
}

.box-accordion  .panel-group .panel-default .panel-heading 
{
    background-color: #fff;
    border-radius: 10px;
    border-bottom: 1px #eee solid;
    color: #2A3040;
    border: none;
}

.panel-group .heading-arrow.panel-heading:after 
{
     color: #2A3040;
}

.box-accordion  .panel-group .panel-default .panel-heading  .lead 
{
    margin-bottom: 0;
}

.box-accordion .panel-group .panel-default .panel-heading .lead  h4 
{
    text-align: left;
    font-size: 1em;
    padding-bottom: 3px;
    margin-bottom: 5px;
    text-overflow: clip;
    white-space: break-spaces;
    color: #5b6788;
}

.box-accordion  .panel-group .panel-default .panel-heading  .lead  h4  i 
{
    position: relative;
    top: 0px;
    color: #5b6788;
    padding: 5px;
    font-size: 0.8em;
    border-radius: 100%;
    background: transparent;
}

.box-accordion  .panel-group .panel-default .panel-collapse 
{
    padding: 0;
    border-radius: 0 0 10px 10px;
    border-top: 1px solid #eee;
}

.box-accordion  .panel-default .panel-collapse .panel-body 
{
    border-top: none;
    border-radius: 0 0 10px 10px;
    padding: 8px
}
/* -------------------------------------- */


/* GRIDE */

.k-grid.k-display-block 
{
    padding: 0;
    box-shadow: 0px 4px 8px #aaaaaa;
    border-radius: 10px;
}

.k-header 
{
    background-color: #fff;
    color: #2A3040;
    height: 54.8px;

}

.k-header .k-button
{
    background-color: transparent;
    color: #2A3040;
    border-radius: 10px;
    position: relative;
    top: 4px;
}

.k-header .crn-grid-title
{
    color: #5b6788;
    font-size: 21px;
    position: relative;
    top: -8px;
    padding: 9px 3px;
}

.k-grid-toolbar .k-button:hover {
    text-transform: capitalize;
    background-color: var(--color-secondary);
    color: var(--color-aux);
}

.k-button i:hover{
    color: #fff;
}

.k-grouping-header
{
    background-color: #fff;
    color: #2A3040;
    text-align: left;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.k-grouping-header a
{
    color: #2A3040;
}

.k-grid-header tr th
{
    vertical-align: middle !important;
}


.k-grid-header tr th:hover, .k-grid-header .k-link:hover, .k-grid-header .k-header:focus, .k-grid-header .k-header a.k-link:focus, .k-grid-header .k-header:hover, .k-grid-header .k-header:hover a, .k-grid-header .k-grid-filter:focus 
{
    color: #fff !important;
    text-shadow: 2px 2px 3px black, 0 0 0.7em #fff, 0 0 0.2em #fff;
}

.k-grid tbody .k-button
{
    background-color: #5b6788 !important;
    color: #ffffff !important;
}

.k-grid tbody .k-button:hover
{
    background-color: #788aba !important;
    text-shadow: 2px 2px 3px black, 0 0 0.7em #fff, 0 0 0.2em #fff;
}

/* -------------------------------------- */

/* Box da lei */

.box-law
{
    margin-bottom: 30px;
    background-color: #fff;
    box-shadow: 0px 4px 8px #aaaaaa;
    padding: 10px;
    color: #5B6788;
    border-radius: 10px;
    margin-bottom: 30px;
}

.box-law p
{
    margin-bottom: 0;
    text-align: justify;
    font-weight: normal;
}

/* -------------------------------------- */

/* Off bar */

.box-page-title
{
    background-color: #5b6788;
    position: relative;
    left: -30px;
    height: 49px;
    display: block;
    width: calc(100% + 100px);
    margin-top: -30px;
}

.box-page-title h3
{
    color: #fff;
    position: relative;
    text-align: center;
    margin: 0;
    font-size: 2em;
    top: 41%;
    transform: translateY(-50%);
    text-shadow: 2px 2px 3px #00000085, 0 0 0.1em white, 0 0 0.2em black;
}

.box-breadcrumb
{
    position: relative;
    left: -30px;
    width: calc(100% + 60px);
    background-color: #fff;
    padding-left: 8px;
    padding-right: 8px;
    margin-bottom: 5px;
}

.box-breadcrumb .box-breadcrumb-item
{
    width: auto%;
    display: inline-block;
    position: relative;
    color: #2A3040;
}

.box-breadcrumb .box-breadcrumb-item p
{
    width: auto;
    display: inline-block;
}

.box-breadcrumb .box-att-db
{
    position: relative;
    display: inline-block;
    width: auto;
    color: #034d8c;
    text-align: end;
    float: right;
    display: none;
}

/* -------------------------------------- */


/* Box de Detalhes */

.box-details
{
    background-color: #fff;
    height: auto;
    padding: 0 !important;;
}

.box-details .box-details-item
{
    border-bottom: 1px #eee solid;
    border-right: 1px #eee solid;
    padding: 6px;
    text-align: left;
}

.box-details .box-details-item label
{
    display: inline-block;
    color: #5B6788;
    position: relative;
    margin-bottom: 0;
}

.box-details .box-details-item p
{
    display: inline-block;
    color: #000;
    font-weight: normal;
    position: relative;
}

@keyframes slide {
	0% {
		transform: translateX(-1000px);
        opacity: 0;
	}

	100% {
		transform: translateX(0px);
        opacity: 1;
	}
}

#box-deitail-on
{
    padding: 25px;
    animation: slide 1s ease 0s 1 normal forwards;
}

#box-deitail-off
{
    padding:25px;
}

@keyframes exit {
    0% {
        transform: translateX(1000px);
        opacity: 0;
    }
    100% {
        transform: translateX(0px);
        opacity: 1;
    }
}

/* -------------------------------------- */


/* Table */

.panel-collapse table thead tr th
{
    vertical-align: middle !important;
}

.panel-collapse table thead tr th:hover
{
    color: #fff !important;
    text-shadow: 2px 2px 3px black, 0 0 0.7em #fff, 0 0 0.2em #fff;
}

.panel-collapse .panel-body .k-grid
{
    border-radius: 0px;
}


/* -------------------------------------- */

/* COMBOBOX */

.dynamic-combobox-memory 
{
    text-align: left;
    font-size: 16px;
    width: 100%;
    margin-bottom: 15px;
}

/* gride-tree-view */
.grid-tree-header
{
    background: #5b6788;
    color: #fff !important;
    /* text-shadow: 2px 2px 3px black, 0 0 0.7em #fff, 0 0 0.2em #fff; */
    padding: 12px;
    font-weight: normal;
    font-size: 12px;
    text-decoration: none !important;
    white-space: nowrap;
    vertical-align: middle !important;
    position: relative;
    vertical-align: bottom;
    padding: 20px 0;
}

.gride-tree-header-item:hover, .gride-tree-header-item:focus
{
    text-shadow: 2px 2px 3px black, 0 0 0.7em #fff, 0 0 0.2em #fff;
}

.grid-tree-body-item {
    font-size: 12px;
}

.grid-tree-body-item-row {
    padding: 6px 20px;
    border-top: 1px solid #eee;
    white-space: nowrap;
}

.grid-tree-body-item:hover {
    background-color: rgba(0, 0, 0, 0.07);
}

.grid-tree-body-item-row-button {
    padding: 0;
    font-size: 20px;
    width: 25px;
    height: 25px;
    border: 1px solid #eee;
    border-radius: 6px;
    background-color: #5b6788;
    color: #fff;
    padding-top: 2px;
    padding-left: 2px;
    position: relative;
    display: inline-block;
}

/* Tooltip com ::after */
.grid-tree-body-item-row-button:hover::after {
    content: "Abrir detalhes da receita"; /* Texto do tooltip */
    font-size: 10px;
    text-align: center;
    visibility: visible;
    max-width: 200px; /* Define uma largura máxima para o tooltip */
    width: auto; /* Deixe a largura ajustar conforme o conteúdo */
    height: auto;
    background-color: #272f61;
    color: #fff;
    border-radius: 2px;
    padding: 3px;
    position: absolute;
    top: 110%; /* Coloca o tooltip logo abaixo do botão */
    /*left: 50%;*/
    transform: translateX(-50%);
    white-space: nowrap; /* Impede a quebra de linha */
    opacity: 1;
    line-height: 1;
    z-index: 1;
    transition: opacity 0.3s; /* Transição suave */
    font-family: 'Roboto', sans-serif; /* Fonte Roboto */
    text-shadow: none; /* Desabilita o text-shadow no tooltip */
    border-top: -3px;
   
}

/* Esconde o tooltip por padrão */
.grid-tree-body-item-row-button::after {
    visibility: hidden;
    opacity: 0;
}

.grid-tree-body-item-row-button:hover {
    background-color: #788aba !important;
    text-shadow: 2px 2px 3px black, 0 0 0.7em #fff, 0 0 0.2em #fff; /* Mantém o text-shadow no botão */
}






.icon-grid-tree:hover
{
    color: #5b6788!important;
    text-shadow: 1px 1px 1px #788aba, 0 0 0.7em #fff, 0 0 0.2em #fff;
}

.panel-collapse .panel-body .k-grid
{
    border-radius: 0px;
    overflow: hidden;
}

.k-i-loading
{
    text-align: center;
    width: 100%;
    font-size: 25px;
    margin: 10px;
}

.loading-refresh{
    display: none;
    text-align: center;
    width: 100%;
    font-size: 55px;
    height: 100%;
    position: fixed;
    z-index: 9999999;
    background: #00000070;
    margin: 0;
}

.box-cookie-policy
{
    background-color: #5b6788;
    padding: 5px;
    position: sticky;
    width: 90.5%;
    margin-right: 2.5%;
    margin-left: 4.2%;
    color: #fff;
    box-shadow: 7px 7px 8px #aaaaaa;
    border-radius: 10px;
    bottom: 2.5rem;
    z-index: 100;
}

.box-cookie-policy p i
{
    background: #fff;
    padding: 3px;
    border-radius: 100%;
    color: #5b6788;
    display: inline-block;
}

.box-cookie-policy p 
{
    display: inline-block;
    float: left;
    width: 93%;
    text-align: justify;
    padding: 5px;
    margin-right: 1%;
    position: relative;
}

.box-cookie-policy button
{
    display: inline-block;
    width: auto;
    margin-top: 5px;
    position: relative;
}

.box-list-submenu, .box-list-menu
{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.k-list-filter 
{
    display: none;
}

div[data-component="crn-cron-grid"]
{
    margin-bottom: 50px;
}

.flight-button{
    position: fixed;
    right: 10px;
    bottom: -1px;
    z-index: 1;
    transition: .6s;
    margin-bottom: 3rem;
    display: flex;
    flex-direction: column;
    text-align: center;
    justify-content: center;
    align-items: center;
    width: 4vw;
}

.flight-button button{
    border-radius: 100%;
    width: 3.2vw;
    height: 3.2vw;
    box-shadow: 2px 2px 3px #66666655;
    border: none;
    background-color: #637bba99 !important;
    min-width: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0.9;
}

.flight-button button:hover{
    background-color: #101f76 !important;
    color: #fff;
    opacity: 1;
}

.flight-button button i{
    top: 0px;
    color: #fff;
    align-items: center;
    display: flex;
    justify-content: center;
    left: 4px;
}

.icon-tooltip-teto{
    cursor: pointer;
    margin-left: 5px;
    font-size: 14px;
}

.main-container-empty-state{
    display: flex;
    align-items: center;
    justify-content: center;
    animation: slide 1s ease 0s 1 normal forwards;
}

.container-empty-state{
    padding: 25px;
    display: flex;
    flex-direction: column;
    width: 55%;
    animation: slide 1s ease 0s 1 normal forwards;
}

.empty-state-title{
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 15px 0 15px;
}


.empty-state-title i{
    font-size: 70px;
    color: #5B6788;
}

.empty-state-title h4{
    text-align: left;
    font-size: 1.6em;
    padding-bottom: 3px;
    margin-bottom: 5px;
    text-overflow: clip;
    color: #5b6788;
}

.btn-empty-state-container{
    padding: 15px;
}

.btn-empty-state{
    width: 100%;
    height: 5rem;
    background-color: #5B6788;
    border: none;
    border-radius: 7px;
    color: #fff;
    font-size: 20px;
}

.btn-empty-state:hover{
    background-color: #5b6788e3
}

/* accordion da tela perguntas frequentes  */

 .faq-title a {
        font-size: 16px;
        font-weight: 500;
        display: flex;
        justify-content: space-between;
        align-items: center;
        background: #e7e9e9;
        padding: 12px 15px;
        border-radius: 5px 5px 0 0;
        text-decoration: none;
        color: #5B6788; 
        border-bottom: 1px solid #ccc;
        position: relative;
    }

    .faq-title a:hover {
        background: #5B6788;
        color: #fff;
        border: none;
    }

    .faq-accordion-icon {
        transition: transform 0.3s;
    }

    .faq-panel-collapse.show .faq-accordion-icon {
        transform: rotate(180deg);
    }

    .faq-panel-collapse.show + .faq-panel-body {
        border-top-left-radius: 0;
        border-top-right-radius: 0;
    }

    .faq-panel-collapse.show .faq-title a {
        border-bottom: none;
    }

    .faq-title a::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: #e7e9e9;
        border-radius: 5px 5px 5px 5px;
        z-index: -1;
    }

    .faq-panel-collapse.show .faq-title a {
        border-radius: 5px 5px 0 0;
    }

    .faq-panel-body {
        font-size: 14px;
        padding: 0 15px 15px 15px;
        background: #e7e9e9;
        border-radius: 0 0 5px 5px;
        margin-top: 0;
        position: relative;
    }

    .faq-response-title {
     display: flex;
     position: relative;
     align-items: center;
      justify-content: center;
     width: 75px;
     top: 20px;
     margin-left: 20px;
     background: linear-gradient(to top, #fff 50%, #E7E8E8 50%);
     margin-bottom: 8px;
     font-size: 16px;
     font-weight: 500;
     color: #2A3040;
}

    .faq-text-resp {
        background: #fff;
        padding: 12px;
        border: 1px solid #2A3040;
        border-radius: 5px;
    }

    
    .faq-panel {
        box-shadow: 0px 5px 8px rgba(0, 0, 0, 0.3);
        margin-bottom: 20px;
        border-radius: 5px;
    }

    .box-search{
        position: relative;
        right: 0;
        display: inline-block;
        width: auto;
        margin-right: var(--system-space-off);
        float: right;
    }

    .box-search .input-search{;
        position: relative !important;
        width: auto;
        min-width: 300px !important;;
        height: 33px;
        border-radius: 10px;
        padding-left: 5px;
        font-size: 12px;
        margin-right: 10px;
        border: 1px solid #727171;
        padding-left: 30px;
        outline:none;
    }

    .box-search .input-search-label, .box-search .input-search-label:focus{
        position: relative !important;;
        top: 0px !important;; 
        left: 25px !important;;    
        z-index: 999;
        font-weight: bold;
        color: #5b6788;
    }

    .box-search #frame-search-result{
        display: block;
        background-color: white;
        position: absolute;
        width: calc(100% - 18px);
        margin-left: 12px;
        padding: 10px 5px;
        z-index: 999;
        border-radius: 10px;
        max-height: 250px;
        overflow: auto;
    }

    .box-search #frame-search-result .frame-search-result-item{
        display: block;
        margin-bottom: 5px;
        padding-left: 10px;
        border-radius: 5px;
        border-left: 3px solid #5b6788;
    }

    .box-search #frame-search-result .frame-search-result-item:hover{
        background-color: #5b6788ed;
        color: #fff;
        border-left: 3px solid #a3b5e7;
    }

    .box-search #frame-search-result .frame-search-result-item i{
        margin-right: 5px;
        font-size: 14px;
        margin-bottom: 0px;
    }

    .box-search #frame-search-result .frame-search-result-item span{
        font-size: 14px;
        font-weight: bold;
        margin-bottom: 0px;
    }

    .box-search #frame-search-result .frame-search-result-item p{
        font-size: 12px;
        margin-top: 0px;
    }

    .box-radar{
        position: relative;
        right: 0;
        display: inline-block;
        width: auto;
        margin-left: var(--system-space-off);
        float: right;
        height: 33px;
        border-radius: 10px;
        background-color: #fff;
        padding: 5px;
    }

    .box-radar:hover{
        box-shadow: 2px 2px 3px black, 0 0 0.7em #fff, 0 0 0.2em;
    }

    .box-radar a img{
        width: 25px;
    }