select:focus,
input:focus {
    outline: none !important;
    box-shadow: none !important;
}

.page-normas .js-stools-container-bar,
.page-normas .js-stools-container-filters {
    padding: 0;
}

.norma.even {
    background-color: rgb(233, 241, 245);
}

.norma.odd {
    background-color: rgb(255, 254, 254);
}

.norma.col-12 {
    padding: 30px 43px;
}

.titulo-manual,
.legismappainel-module-title,
.ultimas-susep {
    font-size: 1.5rem;
    font-weight: 500;
    color: black;
}

.titulo-manual,
.filtros-pesquisa {
    margin-left: .75rem;
    margin-bottom: 1rem;
}

.legismappainel-module-title {
    margin-bottom: 1rem;
}

.filtros-pesquisa {
    font-size: 1rem;
    margin-bottom: 0;
    color: var(--azul-claro);
    display: none;
}

.chosen-single {
    padding: 3px 0 3px 8px !important;
    height: auto !important;
    font-size: .8rem !important;
    background: transparent !important;
    box-shadow: none !important;
    -webkit-box-shadow: none !important;
    border: .12rem solid rgb(193, 195, 197) !important;
}

.chosen-container-single .chosen-single div b {
    background: url(../../../images/chosen-sprite.png) no-repeat 0 5px !important;
}

.normarevogada,
.normarevogada a {
    /* text-decoration: none; */
    color: #8b0b0e !important;
    /* color: black!important; */
    font-weight: 600 !important;
    font-size: .7rem !important;
}

.normarevogada a:hover {
    color: #a80b0e !important;
}

.view-norma .modules-box,
.view-normas .modules-box,
.leis-e-normas .modules-box,
.diarios-oficiais .modules-box,
.view-legismapfeeds .modules-box,
.view-consultaspublicas .modules-box,
.view-advancedsearch .modules-box {
    display: none;
}

.legismappainel-main-inner a,
.diariosoficiais a,
.alertas a,
.itenssalvos a {
    color: rgb(40, 111, 170);
}

.legismappainel-main-inner a:hover,
.diariosoficiais a:hover,
.alertas a:hover,
.itenssalvos a:hover {
    color: var(--azul-medio);
}

.diariosoficiais h3,
.alertas h3,
.itenssalvos h3,
.feed h3,
.agencias h1 {
    font-size: 1.125rem;
    font-weight: bold;
    color: var(--azul-medio);
    font-family: "Montserrat", sans-serif;
}

.view-normas .feed h3 {
    margin-left: 1.1rem;
}

.agencias h1 {
    margin-left: 1.3rem;
}

a.btn.btn-primary {
    color: white;
}

.norma.row a {
    font-weight: 600;
    font-size: 1.2rem;
}

#adminForm .control-label label {
    font-size: .8rem;
    color: rgb(32, 32, 32, 1);
}

.field-calendar .input-group,
.controls:has(#filter_tipo_norma),
.controls:has(#filter_ramo),
.controls:has(#filter_tags),
.controls:has(#filter_area),
.controls:has(#filter_assunto),
.controls:has(#filter_ressegurador) {
    position: relative;
}

.field-calendar {
    display: flex;
}

.input-group:not(.has-validation)>.dropdown-toggle:nth-last-child(n+3),
.input-group:not(.has-validation)>.form-floating:not(:last-child)>.form-control,
.input-group:not(.has-validation)>.form-floating:not(:last-child)>.form-select,
.input-group:not(.has-validation)>:not(:last-child):not(.dropdown-toggle):not(.dropdown-menu):not(.form-floating) {
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
}

.custom-select-caret-down {
    position: absolute;
    right: 0;
    top: 0;
    padding: .45rem .6rem;
    cursor: pointer;
    font-size: .7rem;
    z-index: 299;
    display: none;
    color: rgb(48, 73, 134);
}

.custom-select-calendar {
    padding: .1rem .2rem;
    position: absolute;
    right: 0;
    top: 0;
    cursor: pointer;
    z-index: 299;
    display: none;
}

#fake_data_to,
#fake_data_from {
    z-index: 299;
    cursor: pointer;
    border-top-left-radius: 6px !important;
    border-bottom-left-radius: 6px !important;
    display: none;
}

.page-normas .legismappainel-main-inner {
    position: relative;
}

.page-normas .legismappainel-main-inner>div {
    /* padding-top: 1.4rem; */
    position: relative;
}

.view-advancedsearch .legismappainel-main-inner,
.view-legismapfeeds .legismappainel-main-inner {
    padding-top: unset;
}

.advanced-search {
    border: 1px solid lightgrey;
    border-radius: 8px;
    margin: auto;
    width: 65% !important;
}

.advanced-search-header {
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    background-color: lightgrey;
    width: 100%;
    height: 25px;
    padding: 5px;
}

#filter_keyword_search,
label[for="filter_keyword_search"] {
    margin-bottom: 10px;
}

#filter_norm_number {
    width: 150px;
}

label[for="filter_keyword_search"],
label[for="filter_norm_number"] {
    padding-top: .45rem;
}

.search-mode .form-check-input {
    margin-right: 5px;
}

.search-mode label {
    margin-right: 2.5rem;
}

.checkboxes.search-mode {
    flex-direction: row;
    height: auto;
}

.checkboxes.search-mode label {
    width: 25%;
}

.comment-back-btn {
    font-size: .7rem !important;
}

.back-btn {
    margin-left: 10px;
}

.btn {
    --bs-btn-border-radius: 1.4rem;
    font-size: 1rem;
    padding: 0.5rem 1rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    text-align: center;
    text-decoration: none;
    vertical-align: middle;
    border: 1px solid transparent;
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
    -webkit-border-radius: 1.15625rem;
    -moz-border-radius: 1.15625rem;
    -ms-border-radius: 1.15625rem;
    -o-border-radius: 1.15625rem;
    -webkit-transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
    -moz-transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
    -ms-transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
    -o-transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

.btn-primary {
    --bs-btn-color: #fff;
    --bs-btn-bg: var(--light-blue-variant);
    --bs-btn-border-color: var(--light-blue-variant);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: var(--dark-blue-variant);
    --bs-btn-hover-border-color: var(--dark-blue-variant);
    --bs-btn-focus-shadow-rgb: 49, 132, 253;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: var(--dark-blue-variant);
    --bs-btn-active-border-color: var(--dark-blue-variant);
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: var(--light-blue-variant);
    --bs-btn-disabled-border-color: var(--light-blue-variant);
    background: var(--light-blue-variant);
    border: 1px solid var(--light-blue-variant);
    padding: 0.5rem 1.5rem;
    line-height: 1;
}

.btn-primary span {
    color: #fff;
}

.btn-white {
    --bs-btn-color: var(--light-blue-variant);
    --bs-btn-bg: #fff;
    --bs-btn-border-color: var(--light-blue-variant);
    --bs-btn-hover-color: var(--light-blue-variant);
    --bs-btn-hover-bg: #fff;
    --bs-btn-hover-border-color: var(--light-blue-variant);
    --bs-btn-focus-shadow-rgb: 49, 132, 253;
    --bs-btn-active-color: var(--light-blue-variant);
    --bs-btn-active-bg: #fff;
    --bs-btn-active-border-color: var(--light-blue-variant);
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: var(--light-blue-variant);
    --bs-btn-disabled-bg: #fff;
    --bs-btn-disabled-border-color: var(--light-blue-variant);
    background: #fff;
    border: 1px solid var(--light-blue-variant);
    padding: 0.5rem 1.5rem;
    line-height: 1;
}

.buttons-filters .btn {
    display: block;
    padding: 0 1rem;
    display: block;
    white-space: nowrap;
    padding: 0.25rem 2rem;
    width: 100%;
    margin-top: 0.25rem;
}

.advanced-search .buttons-filters .btn {
    margin: unset;
    margin-right: .95rem;
    width: unset;
}

.js-stools-container-bar {
    display: flex;
    width: 100%;
    justify-content: space-between;
}

.js-stools-container-bar .input-group {
    padding: 0 0.75rem;
}

.js-stools-container-bar .search-filters-inputs {
    display: flex;
    width: 100%;
}

.js-stools-container-bar .search-filters-inputs .input-group {
    /* like bootstrap cols 20% */
    /* flex: 1 1 25%; */
    max-width: 33%;
}

.js-stools-container-bar .search-filters-inputs [class*="field-"] .input-group,
.js-stools-container-bar [class*="field-"] .input-group {
    /*  like bootstrap cols 80% */
    flex: 1 1 100%;
    max-width: 100%;
    padding: 0;
}

.nomemanual {
    margin: 0.375rem 0.75rem;
}

.buttons-filters {
    display: flex;
    justify-content: space-between;
}

.buttons-filters .control-group:first-child {
    margin: 0 0.75rem;
}

.normas-list {
    padding: 0;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

.view-normas .norma:last-child {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.view-suseps .norma:last-child {
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

.normas-list .legismappainel-side-left.hide .nav {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}

.legismappainel-side-left.hide .nav .nav-link [class*="fa"] {
    margin-right: 0;
    text-align: center;
    width: 100%;
}

.mod-breadcrumbs__wrapper {
    margin-top: calc(-1 * var(--bs-gutter-y));
    margin-right: calc(-.5 * var(--bs-gutter-x));
    margin-left: calc(-.5 * var(--bs-gutter-x));
}
/*  Calendar whithout borders */

.calendar-container .calendar-head-row td,
.calendar-container table td,
div.calendar-container table th {
    border: none;
}

.calendar-container table {
    border-collapse: separate;
    max-width: 100%;
    table-layout: auto;
}

.calendar-container .day-name.wn,
.calendar-container .day.wn {
    display: none;
}

.js-btn.btn-next-year,
.js-btn.btn-prev-year,
.js-btn.btn-next-month,
.js-btn.btn-prev-month {
    display: block;
    text-align: center;
    width: 100%;
    font-size: 1.5em;
    font-weight: bold;
    cursor: pointer;
}

.filter-buttons-vertical .btn,
.buttons-filters .btn {
    margin: 1.6em 0;
    border: 0;
    font-size: .9rem;
    padding: .4rem 2rem;
}

.filter-buttons-vertical #search_filter:hover,
.buttons-filters #search_filter:hover {
    /* background-color: var(--azul-claro); */
    background-color: #0A1F4B !important;
}

.filter-buttons-vertical #clear_all,
.buttons-filters #clear_all {
    margin: 0;
    background-color: rgba(173, 173, 173, 1);
    border: 0;
}

.filter-buttons-vertical #clear_all:hover,
.buttons-filters #clear_all:hover {
    background-color: rgb(114, 112, 112) !important;
}

.filter-buttons-vertical .btn i,
.buttons-filters .btn i {
    font-size: .7rem;
    margin-right: 2px;
}

.custom-margin-auto {
    margin: auto !important;
}

.manuais a,
.manuais .btn {
    color: var(--azul-escuro);
    color: rgba(24, 57, 137, 1);
}

.manuais a:hover,
.manuais a:focus,
.manuais a:active,
.manuais .btn:hover a,
.manuais .btn:focus a,
.manuais .btn:active a {
    color: var(--azul-claro);
}
/* START: Joomla Field Fancy Select custom styling in Leis & Normas*/
/*
.view-suseps joomla-field-fancy-select,
.view-normas joomla-field-fancy-select {
--gutter-x: 2rem;
background-color: #fff;
border: 0;
border-radius: .25rem;
box-shadow: none;
padding: 30px 2vw;
}
*/

.view-gmrform .choices[data-type*=select-one] .choices__inner {
    /*.view-suseps .choices[data-type*=select-one] .choices__inner {*/
    /* padding-bottom: 100px; */
    /* padding: 0 !important; */
    padding: .375rem .75rem;
    background-color: white;
    /* border: 2px solid black; */
    border: .12rem solid rgb(193, 195, 197) !important;
    border-radius: 5px;
    font-size: 0.8rem;
    display: inline-block;
    max-height: 34px;
}

.view-gmrform .choices__list--single .choices__item {
    /*.view-suseps .choices__list--single .choices__item {*/
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.view-gmrform .choices[data-type*=select-one] .choices__input {
    /*.view-suseps .choices[data-type*=select-one] .choices__input {*/
    border: 1px solid #47a0d3;
    margin: auto;
    margin-top: 10px;
    margin-bottom: 10px;
    width: 95%;
    border-radius: 5px;
    padding: .2rem .5rem !important;
}

.view-gmrform .choices__inner {
    /*.view-suseps .choices__inner {*/
    max-height: 34px;
    min-height: unset;
}

.view-gmrform .choices__list--single {
    /*.view-suseps .choices__list--single {*/
    padding: 0 !important;
}

.view-gmrform .choices__button_joomla {
    /*.view-suseps .choices__button_joomla {*/
    display: none;
}

.view-gmrform .choices__list--dropdown {
    /*.view-suseps .choices__list--dropdown {*/
    background-color: white;
    z-index: 1000;
    /* width: 400px; */
    width: 100%;
    word-break: normal;
}

.view-gmrform .choices__list--dropdown .choices__item {
    /*.view-suseps .choices__list--dropdown .choices__item {*/
    font-size: .8rem;
}

.view-gmrform .chosen-container-multi .chosen-choices {
    /*padding: .375rem .75rem;*/
    padding: .1rem .5rem;
    background-color: white;
    border: .12rem solid rgb(193, 195, 197) !important;
    border-radius: 5px;
    font-size: 0.8rem;
    display: inline-block;
    height: auto;
    min-height: 34px;
}

.view-gmrform .chosen-container .chosen-drop {
    border-top: 1px solid #ccc;
    margin-top: -5px;
}

.redimension-field {
    width: 100% !important;
}
/*
.hide-placeholder {
width: 0 !important;
}
*/

.jform_tags_geral .chosen-search-input {
    display: none !important;
}

@media (min-width: 640px) {
    .choices__list--dropdown .choices__item--selectable {
        padding-right: 0;
    }
}
/* END: Joomla Field Fancy Select custom styling in Leis & Normas */

.normas-tool {
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;
    padding: 1rem 1.2rem .7rem 1.2rem;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    flex-direction: row;
    justify-content: space-between;
    border-radius: 8px;
    -ms-box-shadow: 0px 0px 12px .5px #dddadd;
    -o-box-shadow: 0px 0px 12px .5px #dddadd;
    box-shadow: 0px 0px 12px .5px #dddadd;
}

.view-gmrform .normas-tool {
    margin-right: unset;
}

.normas-tool .btn2 {
    border: 0;
    background: none;
    text-align: center;
    margin-left: .2rem;
    margin-right: .2rem;
    font-size: 1.2rem;
    cursor: pointer;
}

.normas-tool .btn2:hover {
    color: black;
}

.normas-tool.disabled {
    pointer-events: none;
    opacity: 0.5;
}

.articles-tool .bookmark {
    margin-top: unset;
}

.highlight {
    background-color: red !important;
    color: white;
    border-radius: 5px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.7);
}

.highlighted-word {
    background-color: yellow;
}

.view-normas .default-filter-wrapper,
.diarios-oficiais .default-filter-wrapper {
    padding: 1rem 1.2rem 3rem 1.2rem;
}

.diarios-oficiais .default-filter-wrapper {
    padding-top: unset;
    padding-bottom: unset;
}

.view-suseps .default-filter-wrapper {
    padding: 1rem 1.8rem 3rem 1.8rem;
}

.normas-header {
    padding-bottom: .8rem;
}

.custom-padding {
    padding: 40px;
}

.mod-breadcrumbs.breadcrumb .mod-breadcrumbs__item.breadcrumb-item.active {
    font-weight: 600;
}

.mod-breadcrumbs.breadcrumb .mod-breadcrumbs__item.breadcrumb-item a:hover {
    text-decoration: underline;
}

.pagination__wrapper {
    margin-bottom: 30px;
}

.view-gmrnew .pagination__wrapper {
    margin-bottom: unset;
}

ul.pagination li.page-item {
    margin-left: 4px;
    margin-right: 4px;
}

ul.pagination li.page-item .page-link {
    background-color: rgba(220, 233, 245, 1);
    border-radius: 4px;
    font-weight: 700;
    padding: 2px 10px;
}

ul.pagination li.page-item .page-link:hover {
    border: 1px solid transparent;
    background-color: rgba(15, 107, 182, 1);
    color: white;
}
/* ul.pagination li.page-item.disabled .page-link { */

ul.pagination li.page-item.active .page-link {
    background-color: rgba(15, 107, 182, 1);
}
/* START: Normas tools */

.hide-select {
    display: none;
}

.mod-menu__heading.nav-header.nav-link {
    display: block;
    margin: auto;
    text-align: center;
}

.image-title {
    white-space: pre-wrap;
    /* font-size: .8rem; */
    text-align: left;
}

.nomemanual {
    font-size: .9rem !important;
    border: 0 !important;
    background-color: rgb(233, 241, 245) !important;
}

.nomemanual:hover {
    background-color: rgb(234, 237, 240) !important;
}

.nomemanual:hover a {
    color: #010a18 !important;
}

.norma {
    padding: 1.4rem 1.8rem;
}

.norma-title-wrapper .title {
    font-size: 1.5rem;
    margin-bottom: 0;
}

.normaementa,
.normaementa p {
    font-size: .8rem;
    margin-bottom: 0;
}

.js-stools-field-filter .form-check-inline {
    margin-right: 0 !important;
}

#filter_revogada-lbl {
    margin-top: -6px;
}

.spacer {
    height: 25px;
    width: 100%;
}

.tags-info,
.icons-info {
    display: flex;
    align-items: center;
}

.icons-info {
    padding-top: 5px;
    justify-content: end;
}

.tags-info i {
    color: rgba(15, 107, 182, 1);
}

.icons-info i {
    margin-left: 20px;
    color: rgba(15, 107, 182, 1);
    font-size: 1.3rem;
    cursor: pointer;
}

.icons-info .fa.fa-eye {
    margin-top: -5px;
    font-size: 1.4rem;
}

.tagged-normas .icone-legismap-fav,
.tagged-normas .icone-legismap-fav2 {
    margin-right: 10px;
    margin-top: 5.5px;
    font-size: 1.1rem;
    cursor: pointer;
}

.tagged-normas .default-filter-wrapper.normas-header,
.tagged-normas .filter-tags-btn,
.tagged-normas .legend-tags-colors {
    padding-left: 2.5rem;
}

.tagged-normas .legend-tags-colors {
    display: flex;
    justify-content: flex-start;
}

.tagged-normas .legend-tags-colors div {
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;
    display: flex;
    align-items: center;
    padding-right: 40px;
}

.legend-circle-tag {
    border-radius: 50%;
    width: 20px;
    height: 20px;
    margin-right: 5px;
    display: inline-block;
}

.legend-circle-text {
    font-size: .6rem;
}

.tagged-normas .default-filter-wrapper.normas-header {
    display: flex;
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
    padding-bottom: 0;
    max-height: 15rem;
    overflow-y: scroll;
}

.itens-salvos .tagged-normas .default-filter-wrapper.normas-header {
    overflow-y: unset;
}

.tagged-normas .default-filter-wrapper.normas-header .norma.row {
    width: 100%;
}

.tagged-normas .default-filter-wrapper.normas-header div:not(.norma.row):not(.no-norma) {
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;
    margin-bottom: 20px;
    margin-right: 20px;
    padding: 5px 15px;
    border-radius: 10px;
    font-size: .9rem;
    font-weight: 600;
    border: 1px solid rgb(233, 241, 245);
}

.tagged-normas .filter-tags-btn {
    padding-bottom: 1rem;
}

.tagged-normas .default-filter-wrapper.normas-header .chosen-tag {
    position: relative;
    margin-left: 10px;
    margin-right: 5px;
    top: 4px;
}

.tagged-normas .norma-title-wrapper .chosen-tag {
    position: relative;
    font-size: .8rem;
    line-height: 1.4;
    top: -4px;
    color: white;
    font-weight: 500;
    /* border: 2px solid white; */
}

.tagged-normas .norma-title-wrapper .chosen-tag:nth-child(2) {
    margin-left: 20px;
}

.mynotes-box .chosen-tag {
    position: relative;
    margin-left: 10px;
    line-height: 1.6;
    background: white !important;
    top: -4px;
    color: black;
    font-size: .8rem;
    font-weight: 500;
    border: 1px solid lightgrey;
}

.tagged-normas .default-filter-wrapper.normas-header input[name="jform[tags_group]"] {
    cursor: pointer;
}

.tagged-normas .ellipsis {
    position: relative;
    font-size: 1.6rem;
    font-weight: bold;
    top: -2px;
}

.no-norma {
    color: rgb(207, 201, 201);
    font-size: 1.4rem;
    margin-bottom: 2rem;
    display: block;
}

.no-norma span a {
    text-decoration: underline;
    font-size: .7rem !important;
    font-weight: 500 !important;
}

.added-tags-title {
    padding-left: 2.5rem;
}

.added-tags-title h6 {
    font-size: 1rem;
    color: rgb(41, 117, 218);
    font-weight: 700;
    margin-bottom: .8rem;
}

.added-tags-title p {
    font-size: .7rem;
    color: #323434;
}

.minhas-tags .custom-magicsuggest .dropdown-menu,
#tags-legismap-form .custom-magicsuggest .dropdown-menu {
    margin-left: -.8rem !important;
    margin-top: .6rem !important;
    font-size: .8rem !important;
    width: 100% !important;
    padding-left: .5rem !important;
}
/*.minhas-tags .custom-magicsuggest input { */

.minhas-tags .ms-ctn input,
#tags-legismap-form .ms-ctn input {
    padding-left: .5rem !important;
}

.ms-helper {
    display: none !important;
}

#magicsuggest-search-in-tags,
#magicsuggest-search-in-tags-legismap {
    outline: none;
    box-shadow: none;
    height: 33px;
}

#select-tag-legismap {
    display: none;
}

.norma-title span,
.voltar {
    margin-top: 5px;
    float: right;
    font-weight: normal !important;
    font-size: .8rem !important;
}

.add-new-tag {
    width: 100%;
    margin-top: 1rem;
    margin-bottom: .5rem;
    background-color: rgba(127, 131, 133, 1) !important;
    color: #ebeced;
    border-radius: 0 !important;
    color: #ebeced !important;
    font-size: .8rem !important;
    font-weight: 700 !important;
    padding: .2rem 2rem !important;
    text-align: center !important;
}

.add-new-tag span {
    font-size: 1.2rem;
}

.tag-icon,
.section-icon {
    font-size: .7rem;
    margin-left: .2rem;
    cursor: pointer;
    color: rgba(0, 0, 0, .4);
}

.tag-icon:first-child {
    margin-left: .8rem;
}

#tag-purple {
    background-color: purple;
}

#tag-red {
    background-color: red;
}

#tag-yellow {
    background-color: rgb(245, 231, 151);
}

#tag-blue {
    background-color: rgb(41, 117, 218);
}

#tag-green {
    background-color: green;
}

#tag-brown {
    background-color: brown;
}

#tag-pink {
    background-color: pink;
}

#tag-black {
    background-color: black;
}

.remove-tag-icon,
.edit-tag-icon,
.edit-section-icon {
    display: inline-flex;
}

.edit-tag-input,
.edit-section-input {
    width: -webkit-fit-content !important;
    width: -moz-fit-content !important;
    width: fit-content !important;
    font-size: .8rem;
    display: inline-flex;
    border: 0 !important;
    padding: 0 !important;
    background-color: transparent !important;
}

.additional-style {
    font-weight: bolder;
}

#calendar-box {
    padding-top: 1rem;
    width: 400px;
    display: none;
}

#calendar-box ul {
    list-style: none;
    list-style-position: inside;
    padding-left: 0;
    font-size: .9rem;
}

#norm-summary:focus {
    outline: none !important;
    box-shadow: none !important;
}

.box-footer button[name="jform[cancel_operation]"] {
    background-color: var(--bs-btn-bg) !important;
}

#insert-date {
    display: none;
}

.error-val-msg {
    color: red;
    font-size: .8rem;
}

#calendar-box label span {
    font-size: .7rem;
    font-weight: bold;
    color: brown;
}

/*
.calendar-wrapper {
    font-family: Arial, Helvetica, sans-serif !important;
}
*/

.calendar-wrapper h1 {
    text-align: center;
    font-size: 1.5rem;
    color: rgb(40, 111, 170);
    font-weight: bolder;
}

.calendar-wrapper hr,
.filter-wrapper hr {
    margin-top: .5rem;
    margin-bottom: 1.4rem;
    border: 1.2px dotted orangered;
}

.filter-wrapper {
    border-radius: 5px;
    padding: 10px;
    background-color: #eee;
}

.filter-wrapper .filter-title {
    position: relative;
    font-size: .8rem;
    font-weight: bold;
    font-style: italic;
    display: flex;
    flex-direction: row;
    width: 100%;
    justify-content: space-between;
}

.filter-label {
    position: relative;
    display: inline-block;
    width: 100%;
    margin-bottom: 5px;
    font-size: .8rem;
    padding: 5px 10px
}

.filter-label input[type="checkbox"] {
    margin-right: 5px;
}

.filter-label#susep {
    background-color: #C1E0FF;
}

.filter-label#ans {
    background-color: #e5dfe8;
}

.filter-label#previc {
    background-color: #FFFFC1;
}

.filter-label#bacen {
    background-color: #FADEC0;
}

.filter-label#anpd {
    background-color: #CDFCCE;
}

.richText .richText-editor {
    height: 160px !important;
}

.richText .richText-toolbar ul li a {
    font-size: .7rem;
}

.search-term-in-norm .magnifying-glass {
    top: 6px;
}

.itens-salvos .magnifying-glass,
.minhas-anotacoes .magnifying-glass {
    top: 0.4rem;
    right: 1.1rem;
}

.search-input-wrapper .form-group .row div:first-child .magnifying-glass {
    top: 6px;
    right: 1.1rem;
    cursor: pointer;
}

.search-instruction {
    color: red;
    font-size: .7rem;
}
/* .search-input-wrapper .form-group .row  div:nth-child(2) .search-norms-btn, */

.search-norms-btn,
.search-norms-btn-2,
.submit-newsletter,
.save-draft,
.create-section,
.add-section,
.send-comment,
.filter-by-tags,
.edit-date,
.new-date {
    border-radius: 1px !important;
    font-size: .7rem;
    border-radius: 5px !important;
}

.create-section:hover {
    color: white !important;
    background-color: #0A1F4B !important;
}

.edit-date {
    background-color: #c8d6d8 !important;
}

.clear-search,
.clear-search-2,
.clear-search-3,
.cancel-add-section {
    text-decoration: none !important;
    padding-top: .36rem !important;
    padding-bottom: .36rem !important;
    border-radius: 1px !important;
    font-size: .7rem;
    margin-left: 10px;
    border: 1px solid rgba(173, 173, 173, 1) !important;
    border-radius: 5px !important;
    color: white !important;
    background-color: rgba(173, 173, 173, 1) !important;
}

.clear-search:hover,
.clear-search-2:hover,
.clear-search-3:hover {
    background-color: rgb(139, 135, 135) !important;
}

.minhas-tags .clear-search,
.filter-tags-btn .clear-search,
.clear-search-3 {
    margin-left: 0;
}

#create-tag {
    cursor: pointer;
}

#create-tag:hover {
    color: var(--azul-escuro);
    font-weight: 900;
}

.content-type {
    position: relative;
    top: -3px;
    margin-left: 2px;
    font-size: .5rem;
    font-style: italic;
    color: var(--azul-claro);
    background-color: #f5f1f1;
    padding: 0.2rem 0.5rem;
    border-radius: 3px;
}

.calendar-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    max-height: 75vh;
    overflow-y: auto;
}

.calendar-list>div {
    border: 1px solid #e9edef;
    border-radius: 5px;
    margin-bottom: 20px;
    padding: 10px;
}

.calendar-list>div>div {
    font-size: .8rem;
    margin-bottom: 5px;
}

.calendar-list-title {
    margin-bottom: 20px;
}

#calendar-box .box-header {
    text-align: center;
}

.disappear {
    display: none !important;
}

.back {
    display: none;
    font-size: .8rem;
    margin-bottom: 10px;
    cursor: pointer;
}
/* END: Normas tools */

.tab {
    margin-top: .95rem;
    margin-left: 2rem;
    position: absolute;
    width: 93%;
}

.tab > div {
    position: relative;
}

.tab .asterisk {
    /* position: absolute; */
    /* top: 0; */
    /* right: 0; */
    margin-left: 3px;
}

.tab span:last-child {
    /* border: 1px solid black; */
    font-size: 1.1rem;
    font-weight: bold;
}

.tab hr {
    color: lightgrey;
}

.tablinks {
    border-bottom-left-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
    color: white !important;
}

.tablinks.inactive {
    background-color: #777 !important;
    border: 1px solid #777 !important;
}

.com-users-profile.profile,
.com-users-profile__edit.profile-edit {
    padding: 2rem;
}

.categorias-icones i {
    font-size: .95rem;
    color: grey;
}

/* START: Logos agências */
/*
.agencias h1 {
text-align: center;
margin-bottom: 2rem;
font-size: 1.8rem;
font-weight: bolder;
}
*/

.agencias ul li {
    flex: 0 0 auto;
    width: 50%;
    margin-bottom: 2rem;
}

.agencias ul li a img {
    width: 70%;
    height: auto;
    display: block;
    margin: auto;
    text-align: center;
}
/* .agencias .inner { */

.agencias {
    background-color: var(--white);
    border-radius: 5px;
    padding-top: 1.5rem;
    margin-bottom: 2rem;
}

.agencias ul li:nth-child(3) a img {
    width: 40%;
}

.agencias ul li:nth-child(4) a img {
    width: 55%;
}

.agencias ul li a img:hover {
    -webkit-filter: grayscale(100%);
    filter: grayscale(100%);
}
/* END: Logos agências */

body:has(.agencias) #legismappainel-main {
    display: none;
}

.modulos-e-filtros .legismappainel-main.modules-box .legismappainel-main-inner.col,
.notificacoes .legismappainel-main.modules-box .legismappainel-main-inner.col {
    display: none;
}

.norma-item-no-access, 
.gmr-item-not-found,
.gmr-item-no-access {
    padding: 1rem 1.5rem 1.5rem 1.5rem;
}

#search-term {
    width: 300px;
}

.search-term-wrapper {
    position: relative;
}

.modal-backdrop {
    display: none !important;
}

.btnpermissao {
    color: white;
    font-weight: 500;
}

.grey-paragraph {
    color: #393434;
    margin-left: 10px;
    font-size: .6rem;
}

.respond-comment {
    width: 100% !important;
}

.hr-custom {
    background-color: black;
}

/*START: TRILHA*/
.comments_trail_wrapper {
    padding: 0;
    overflow-y: auto;
    max-height: 200px;
}

.comments_trail_wrapper .comments_trail {
    padding-left: 1.75rem;
    list-style: none
}

.comments_trail_wrapper .comments_trail .comment_item {
    position: relative;
    display: block;
    padding-bottom: 1.5rem;
    margin: 0;
    cursor: pointer;
    word-wrap: break-word;
}

.comments_trail_wrapper .comments_trail .comment_item:hover .comment_content-desc {
    color: #053989;
    text-decoration: underline;
}

.comments_trail_wrapper .comments_trail .comment_item:last-child {
    padding-bottom: 0;
}

.comments_trail_wrapper .comments_trail .comment_item p:last-child {
    margin: 0;
}

.comments_trail_wrapper .comments_trail .comment_item::before {
    content: "";
    position: absolute;
    top: 0.5rem;
    left: -1.2rem;
    width: 6px;
    height: 100%;
    background: rgba(231, 231, 231, 1);
}

.comments_trail_wrapper .comments_trail .me-annotation-trilha::after {
    font-family: "Font Awesome 5 Free";
    content: "\f022";
    font-size: .9rem;
    color: darkgray;
    position: absolute;
    top: 0.25rem;
    left: -1.7rem;
    border-radius: 50%;
    outline: 2px solid #E7E7E7;
    background: #D9FF19;
    text-align: center;
    padding: .07rem .29rem;
}

.comments_trail_wrapper .comments_trail .share-annotation-trilha::after {
    font-family: "Font Awesome 5 Free";
    content: "\f075";
    font-size: .9rem;
    color: darkgray;
    border-radius: 50%;
    outline: 2px solid #E7E7E7;
    background: #EAEAEA;
    position: absolute;
    top: 0.25rem;
    left: -1.7rem;
    text-align: center;
    padding: .07rem .29rem;
}

.comments_trail_wrapper .comments_trail .comment_item-finalizado:before {
    background: darkred;
}

.comments_trail_wrapper .comments_trail .comment_item .comment_content-title {
    font-size: 0.875rem;
    font-weight: bold;
    margin-bottom: 0.2rem;
}

.comments_trail_wrapper .comments_trail .comment_content-desc {
    font-weight: 600;
    color: black;
}

.comments_trail_wrapper .left-panel {
    background: lightgray;
    padding: 0;
    border-radius: 0;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    -ms-border-radius: 0;
    -o-border-radius: 0;
}

.comments_trail_wrapper .left-panel>img {
    width: 100%;
}

.day-month-span,
.time-span {
    font-size: 0.75rem;
    color: grey;
}

.time-span {
    font-size: 0.6rem;
}

.year-span {
    font-size: 0.9rem;
    color: grey;
}
/*END: TRILHA*/

.has-comments {
    text-decoration: underline;
    color: #0dcaf0 !important;
    font-weight: 600;
    cursor: pointer !important;
}

.comment-marker {
    margin-left: .3rem;
    display: inline-block;
    border-radius: 50%;
    width: 10px;
    height: 10px;
    background: rgba(255, 63, 91, 1);
}
/* Estilos para a lista personalizada */

.custom-select {
    position: relative;
    width: 200px;
}
/* Estilos para o elemento atualmente selecionado */

.selected-option {
    background-color: #f1f1f1;
    padding: 5px;
    border: 1px solid #ccc;
    cursor: pointer;
}
/* Estilos para as opções */

.custom-options {
    display: none;
    position: absolute;
    z-index: 1;
    width: 100%;
    background-color: #fff;
    border: 1px solid #ccc;
}

.custom-option {
    padding: 5px;
    cursor: pointer;
}
/* Estilos para os quadradinhos de cores nas opções */

.color-swatch {
    display: inline-block;
    width: 15px;
    height: 15px;
    margin-right: 5px;
}

.color-b {
    background-color: green;
    color: #fff;
    font-weight: 600;
}

.color-m {
    background-color: #fae100;
    color: black;
    font-weight: 600;
}

.color-a {
    background-color: red;
    color: #fff;
    font-weight: 600;
}

.form-select.color-b-select {
    border: .12rem solid rgb(38, 160, 18) !important;
}

.form-select.color-m-select {
    border: .12rem solid rgb(255 224 0) !important;
}

.form-select.color-a-select {
    border: .12rem solid rgb(255 0 0) !important;
}

#jform_comentarios {
    width: 100% !important;
}

#jform_comentarios:focus {
    outline: none !important;
    box-shadow: none !important;
}

#switchForComments {
    cursor: pointer;
}

.data-retorno {
    display: block;
    margin-top: 1rem;
    margin-bottom: 1rem;
}


/*
.full-norm {
    width: 100%;
    margin-bottom: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.full-norm label[for="full-norm-annotation"] {
    font-size: .85rem;
    font-weight: bolder;
    margin-left: 5px;
    color: #6f7680;
}

.full-norm-span {
    display: block;
    font-size: .8rem;
    text-align: left;
    cursor: pointer;
}

#conteudo-norma annotation[fullnormannotation="true"]:first-child {
    width: 100px;
    margin-top: -1rem;
    margin-bottom: 1rem;
    border-top: unset;
}

annotation[fullnormannotation="true"] {
    margin: auto;
    font-size: .7rem;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

annotation[fullnormannotation="true"]>p {
    text-align: center;
    font-weight: 600;
}

.view-gen-annotation {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 40px;
    color: #6f7680;
}

.view-gen-annotation:hover {
    color: black;
}
*/

#accordionExample {
    margin-bottom: 20px;
}

.excluiAnnotation,
.cancelAnnotation,
#cancelAnnotationSave {
    background-color: #e0e1e2 !important;
    color: black !important;
    border: 1px solid lightgrey;
}

.excluiAnnotation:hover {
    border: 1px solid lightgrey;
}

#cancelAnnotationSave {
    margin-right: .5rem;
    margin-left: .5rem;
}

#cancelAnnotationSave:hover {
    color: black;
}

#notificacoesList .time-ago {
    margin-left: 1rem;
    color: #16b99e;
    font-size: .8em;
    font-style: italic;
}

#notificacoesList i {
    color: gray;
}

.legismappainel-main-inner .item-result {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    font-weight: 600;
    color: var(--azul-claro);
}

#searchIcon {
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    z-index: 1000;
}

.notification-title[data-read="0"] {
    font-weight: bolder;
}

.text-bg-yellow {
    color: #000 !important;
    background-color: rgba(255, 221, 51, var(--bs-bg-opacity, 1)) !important;
}

.text-bg-status-geral {
    color: #fff !important;
    background-color: var(--azul-medio) !important;
}
.text-bg-status-geral.status-e {
    color: #000 !important;
    background-color: #fae100 !important;
}
.text-bg-status-geral.status-p {
    color: #fff !important;
    background-color: #ff0000 !important;
}
.text-bg-status-geral.status-r {
    color: #fff !important;
    background-color: var(--gray) !important;
}
.text-bg-status-geral.status-c {
    color: #fff !important;
    background-color: #198754 !important;
}


/*
.file-span {
    border-radius: 2rem;
    padding: .2rem 1.2rem;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 5px;
    position: relative;
    background-color: lightgray;
    color: black;
    font-size: .7rem;
    font-weight: bold;
}
*/

.file-span i {
    cursor: pointer;
}

.file-span {
    border-radius: 2rem;
    padding: .2rem 1.2rem;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 5px;
    position: relative;
    background-color: lightgray;
    color: black;
    font-size: .7rem;
    font-weight: bold;
    word-wrap: break-word;
}

.file-span a {
    word-break: break-all;
    display: inline-block;
    max-width: 80%;
    overflow-wrap: anywhere;
    text-overflow: ellipsis;
    white-space: normal;
}

.load-anexos .file-span:nth-last-child(2) {
    margin-bottom: 20px;
}

/* Ajuste para o ícone de lixeira */
.file-span i.trash-file {
    margin-left: 10px; /* Dá um pequeno espaçamento entre o texto e o ícone */
}

.delete-gmr {
    cursor: pointer;
}

.delete-gmr-link {
    color: black !important;
}

.visualizar-nivel-impacto {
    color: black !important;
    cursor: pointer;
}

.visualizar-nivel-impacto:hover {
    color: darkgrey !important;
    cursor: pointer;
}

.delete-gmr-link:hover {
    color: darkgrey !important;
}

.switcher .toggle-outside {
    border-radius: 50px;
}

.switcher input~input:checked~.toggle-outside {
    background: var(--azul-claro) !important;
}

.switcher .toggle-inside {
    border-radius: 50%;
}

.badge-gmr,
.badge-simple-send {
    background-color: #3e9bc7;
    font-size: .6rem;
    cursor: pointer;
    margin-left: 10px;
}    

.resposta-itens {
    border-bottom: solid lightgrey 1px;
}

.row-impar {
    background-color: var(--light-gray2);
}

.resposta-item {
    padding: 5px;
    border-bottom: solid lightgrey 1px;
}

.resposta-item div {
    overflow-wrap: break-word;
}
/*.text-annotation, */

.custom-textarea {
    outline: none !important;
    box-shadow: none !important;
    width: 100%;
}

.btn-feedback {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
    border: 2px dashed lightgray;
    border-radius: 10px;
    font-size: .8rem;
    margin-bottom: 1rem;
    background-color: transparent !important;
}

.btn-feedback:hover {
    border: 2px dashed #4a9bee;
}

#jform_aplicavel {
    margin-bottom: 1rem;
}

.draft {
    margin-top: -16px;
}

.btenviar {
    padding-top: .7rem;
    padding-bottom: .7rem;
}
/*Newsletterform page*/

.search-box {
    position: relative;
}

.search_top {
    width: 100%;
}

.search_top .close-box {
    z-index: 5000;
}

.data-row .close-box {
    z-index: 5000;
}

.search-wrapper {
    display: flex;
    /*flex-wrap: wrap;*/
    justify-content: space-between;
    /*align-items: center;*/
    flex-direction: row;
}

#keyword_search {
    width: 96%;
    height: 34px;
    font-size: .8rem;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.btn-search {
    display: flex;
    line-height: .7;
    width: 4%;
    height: 34px;
    font-size: 1.5em;
    font-weight: bolder;
    color: var(--white) !important;
    background-color: var(--azul-claro) !important;
    border-color: var(--azul-claro) !important;
    /*border-radius: 3px;*/
    border-radius: 0;
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
}

.btn-search:hover {
    background-color: #0A1F4B !important;
    /*color: white;*/
}

.btn-search:before {
    content: "\26B2";
    transform: rotate(-45deg);
}

.search_result_box {
    position: absolute;
    top: 2.15em;
    left: 3em;
    background-color: white;
    width: 89%;
    z-index: 500;
    display: none;
    border-top: 0;
    border-right: 1px solid lightgrey;
    border-left: 1px solid lightgrey;
    border-bottom: 1px solid lightgrey;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
}

.search_result_items {
    position: relative;
    max-height: 500px;
    overflow-y: auto;
}

.data-row {
    border-bottom: 1px solid lightgrey;
    font-size: .9rem;
    /* font-weight: bold; */
    padding: 1rem 1.5rem;
    width: 100%;
    cursor: pointer;
    position: relative;
}

.data-row:hover,
.data-row.even:hover {
    background-color: lightgrey;
}

.data-row.even {
    background-color: rgb(233, 241, 245);
}

.secao-conteudo .data-row {
    border: 1px solid lightgrey;
    border-radius: 10px;
    background-color: white;
    margin-bottom: 10px;
    cursor: default;
}

.secao-conteudo.draggable-box .data-row {
    cursor: move;
}

.load-more {
    width: 100%;
    border: 0;
    padding: 1rem;
    text-align: center;
    margin: auto;
    font-weight: bold;
    color: var(--azul-escuro);
    display: none;
}

.view-newsletterform #jform_start_date-lbl,
.view-newsletterform #jform_end_date-lbl,
.view-newsletterform #jform_content_type-lbl,
.view-newsletterform #jform_assunto_admin-lbl,
.view-newsletterform #jform_assunto_roncarati-lbl,
.view-newsletterform #jform_mensagem_roncarati-lbl,
.view-newsletterform #jform_mensagem_admin-lbl,
.view-newsletterenvioform #jform_mensagem_admin-lbl,
.view-newsletterenvioform #jform_assunto_admin-lbl,
.view-newsletterform #recipient-lbl,
.view-newsletterenvioform #recipient-lbl {
    font-size: .7em;
}

.view-newsletterform #jform_start_date,
.view-newsletterform #jform_end_date,
.view-diariosoficiais #filter_data_inicio,
.view-diariosoficiais #filter_data_fim,
.view-consultaspublicas #filter_data_inicio,
.view-consultaspublicas #filter_data_fim,
.view-gmrdashboard #filter_data_inicio,
.view-gmrdashboard #filter_data_fim,
.view-gmrnew #filter_data_inicio,
.view-gmrnew #filter_data_fim,
.view-suseps #filter_data_from,
.view-suseps #filter_data_to,
.view-normas #filter_data_from,
.view-normas #filter_data_to,
.view-legismapfeeds #filter_data_inicio,
.view-legismapfeeds #filter_data_fim,
.view-gmrform #jform_data_retorno {
    padding: .175rem 2.25rem .175rem .75rem !important;
    height: 34px;
    font-size: 0.8rem;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

#jform_data_retorno {
    /*#filter_data_inicio,*/
    /*#filter_data_fim {*/
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.view-newsletterform #jform_start_date_btn,
.view-newsletterform #jform_end_date_btn,
.view-diariosoficiais #filter_data_inicio_btn,
.view-diariosoficiais #filter_data_fim_btn,
.view-consultaspublicas #filter_data_inicio_btn,
.view-consultaspublicas #filter_data_fim_btn,
.view-gmrdashboard #filter_data_inicio_btn,
.view-gmrdashboard #filter_data_fim_btn,
.view-gmrnew #filter_data_inicio_btn,
.view-gmrnew #filter_data_fim_btn,
.view-suseps #filter_data_from_btn,
.view-suseps #filter_data_to_btn,
.view-normas #filter_data_from_btn,
.view-normas #filter_data_to_btn,
.view-legismapfeeds #filter_data_inicio_btn,
.view-legismapfeeds #filter_data_fim_btn,
.view-gmrform #jform_data_retorno_btn {
    height: 34px;
    border-top-left-radius: 0px;
    border-bottom-left-radius: 0px;
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
    display: flex;
}

.view-normas .chosen-container {
    width: 100% !important;
}

.view-normas .chosen-container span {
    padding-top: 2.5px;
    padding-bottom: 2.5px;
}

.view-newsletterform #jform_start_date_btn:hover,
.view-newsletterform #jform_end_date_btn:hover {
    background-color: #0A1F4B !important;
}

.newsletter-actions {
    display: flex;
    flex-direction: row;
    width: 350px;
    margin: auto;
}

.submit-newsletter,
.save-draft {
    margin-left: auto;
    margin-right: auto;
    display: flex;
}

.submit-newsletter:hover,
.save-draft:hover {
    background-color: #0A1F4B !important;
}

.icon-margin {
    margin-right: .7em;
}

.legismap-content .secao,
.section-management-wrapper .secao {
    border-radius: 4px;
    border: 1px solid lightgrey;
    text-align: center;
    padding: .5rem 1rem;
    margin-top: 10px;
    margin-right: 10px;
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;
    background-color: white;
}

.legismap-content .secao:hover,
.section-management-wrapper .secao:hover {
    background-color: rgba(38, 208, 202, .05);
}

.legismap-content .lista-secoes,
.section-management-wrapper .secoes-wrapper {
    /*border: 1px solid black;*/
    padding-top: 10px;
    display: flex;
    justify-content: start;
    flex-wrap: wrap;
    flex-direction: row;
    margin-bottom: 10px;
}
/*
.secoes-wrapper {
width: 100%;
}
*/

.section-name {
    display: none;
    padding: .75rem 1rem;
    border-radius: 4px;
    border: 1px solid lightgrey;
    font-size: .9rem;
    width: 100px;
    height: 32px;
    margin-right: 10px;
}

.cancel-add-section {
    display: none;
}

.secao-conteudo {
    border-radius: 10px;
    border: 1px solid lightgrey;
    padding: .75rem 1.25rem;
    /* background: #f6fdfd; */
    background: #ebeced;
    font-size: .95rem;
    margin-bottom: 20px;
    display: none;
}

.form-control-feedback {
    color: red;
    font-size: .5rem;
    margin-left: 5px;
}

#jform_mensagem_roncarati {
    margin-bottom: 10px;
}

#jform_mensagem_roncarati:focus,
#jform_mensagem_admin:focus {
    outline: none !important;
    box-shadow: none !important;
}

.legismap-content .ementa {
    font-weight: normal;
    font-size: .65rem;
}

.legismap-content .ementa p {
    margin-bottom: 0;
}

.destinatarios {
    margin-bottom: 20px;
}

.destinatarios>div {
    display: flex;
    justify-content: start;
    flex-wrap: wrap;
    flex-direction: row;
}

.destinatarios>div>div {
    border: 1px solid lightgrey;
    border-radius: 8px;
    background: #ebeced;
    padding: 1rem 2rem;
    margin-right: 10px;
    margin-bottom: 10px;
}

.view-users {
    border-radius: 8px;
    background-color: #053989;
    color: white;
    font-size: .75rem;
    font-weight: 700;
    padding: .35rem .5rem;
    text-align: center;
    cursor: pointer;
}

.show-manual-nome {
    font-size: 10px;
    font-weight: bold;
    font-style: italic;
}

.show-users .box-search {
    overflow-x: hidden;
    overflow-y: auto;
    height: 70vh;
}

.sem-acesso {
    border: 3px solid lightblue;
    border-radius: 10px;
    padding: 1.2rem 1.7rem;
    margin: auto;
    margin-top: 10px;
    text-align: center;
    /* font-size: 1.2rem; */
    font-size: .65rem;
    font-weight: bolder;
    display: block;
    width: 40%;
}

.custom-ellipsis {
    position: relative;
    top: 4.2px;
    margin-left: 2px;
}

.comment-addition-box {
    margin-top: 5px;
}

.add-comment-header {
    display: flex;
    align-items: center;
}

.comment-addition-box span {
    font-weight: bold;
    font-size: .8rem;
    display: inline-block;
}

.comment-addition-box textarea {
    width: 100%;
    border: 1px lightgrey solid;
    display: none;
    padding: .5rem .8rem;
}

.comment-addition-box textarea:focus {
    outline: none;
}

.add-comment-btn {
    height: 30px;
    width: 30px;
    padding: 0px;
    line-height: 1;
    font-size: 1.5rem;
    font-weight: bolder;
    color: white;
    border: none;
    background: black;
    margin-right: 5px;
}

.feed-list {
    height: 60vh;
    overflow-y: auto;
    overflow-x: hidden;
}

.category-title i {
    color: grey;
}
/* Responsiveness of some elements */

@media (max-width: 991px) {
    .agencias ul li {
        flex: 0 0 auto;
        width: 50%;
    }
}

@media (max-width: 1200px) {
    .sem-acesso {
        width: 100%;
    }
}

@media (max-width: 1500px) {
    .normas-tool {
        margin-right: unset;
    }
}

@media (max-height: 650px) {
    .richText .richText-editor {
        height: 40px !important;
        /* border: 10px solid black; */
    }
}

.legismappainel-module.agencias {
    padding: 1.875rem;
}

.legismappainel-module.agencias .legismappainel-module-title {
    font-size: 1.125rem;
    font-weight: bold;
    color: var(--azul-medio);
}

.legismappainel-module.agencias .nav-item {
    flex: 0 0 auto;
    width: 50%;
    padding: calc(var(--bs-gutter-x) / 2);
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.div-share-annotation-edit .form-check-input:disabled,
.div-share-annotation-edit .form-check-input:disabled~.form-check-label,
.form-check-input[disabled]~.form-check-label {
    opacity: 1 !important;
}
/* busca */

.module-name-finder .awesomplete>input {
    font-size: 1.1rem;
    border: 0 !important;
    background: #dedede;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    border-top-left-radius: 1.75rem;
    border-bottom-left-radius: 1.75rem;
    margin-bottom: 0;
    padding: 1rem 1.5rem;
    height: 45px;
}

.module-name-finder .mod-finder__search.input-group {
    justify-content: center;
}

.module-name-finder {
    display: flex;
    align-items: center;
    padding-left: 1rem;
}

.module-name-finder .btn {
    padding: 0.8rem 1.65rem;
}

.module-name-finder a {
    color: var(--white);
    color: rgba(6, 58, 138, 1);
    font-size: 1.5rem;
    line-height: 1.5em;
}

.module-name-finder .advanced-finder-link {
    text-align: center;
    display: flex;
    justify-content: center;
}

form .btn-primary {
    margin-bottom: 1.5rem;
}

.com-finder__tips.card .card-body {
    font-size: 0.8rem;
}

.com-finder__tips.card {
    background: #ffd;
    border: 0;
    border-radius: 0;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    -ms-border-radius: 0;
    -o-border-radius: 0;
}

.com-finder .filter-branch {
    display: flex;
    margin: 0;
    padding: calc(var(--bs-gutter-x) / 2) 0;
    background: #f8f9fa;
    width: 100%;
}

.com-finder .filter-branch .control-group {
    padding: 0 calc(var(--bs-gutter-x) / 2);
}

.finder .filter-branch .control-group .control-label {
    font-size: 0.8rem;
    font-weight: 500;
    color: #000;
    margin-bottom: 1rem;
}

.modal {
    background-color: rgba(0, 0, 0, 0.5);
}

#notificationsDropdown,
#msgNotificationsDropdown {
    background-color: transparent;
}

#search_filter {
    padding: 0.7rem 2rem !important;
}

#clear_all {
    padding: 0.46rem 2rem !important;
}

.js-finder-search-query {
    margin-bottom: 0 !important;
}

.editAnnotation.btn.btn-primary {
    color: #fff;
    /* padding: 12px; */
}

.btn.btn-success.clear-search-2 {
    box-sizing: border-box;
    margin-left: 0px;
    width: 104px;
}

.btn.btn-success.clear-search {
    box-sizing: border-box;
    margin-left: 0px;
    width: 104px;
}

.mynotes-box {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    /* justify-content: space-between; */
}

.mynotes-box>div {
    border-radius: 8px;
    background-color: #d9ff19;
    border: 1px dashed orangered;
    padding: .35rem .45rem;
    margin-right: 1.5rem;
    margin-top: .7rem;
}

.see-excerpt-2 {
    display: inline-flex;
    background-color: black;
    padding: .15rem .65rem;
    color: white;
    border: 1px solid black;
    border-radius: 10px;
    line-height: 1;
    font-size: .55rem;
    font-style: italic;
    font-weight: bold;
    /* margin-left: 2rem; */
}
/* START: Speech buble [https://codepen.io/MarkBoots/pen/RwLPXgJ] */

[speech-bubble],
[speech-bubble] * {
    box-sizing: border-box
}

[speech-bubble] {
    --bbColor: grey;
    --bbArrowSize: 1.5rem;
    --bbBorderRadius: 0.25rem;
    --bbPadding: 1rem;
    background: var(--bbColor);
    border-radius: var(--bbBorderRadius);
    padding: var(--bbPadding);
    position: relative;
}

[speech-bubble]::before {
    content: '';
    position: absolute;
    background: var(--bbColor);
}

[speech-bubble][pbottom] {
    margin-bottom: var(--bbArrowSize)
}

[speech-bubble][ptop] {
    margin-top: var(--bbArrowSize);
}

[speech-bubble][pleft] {
    margin-left: var(--bbArrowSize);
}

[speech-bubble][pright] {
    margin-right: var(--bbArrowSize);
}
/* bottom and top  */

[speech-bubble][pbottom]::before,
[speech-bubble][ptop]::before {
    --width: calc(var(--bbArrowSize) / 2 * 3);
    height: var(--bbArrowSize);
    width: var(--width);
}
/* bottom */

[speech-bubble][pbottom]::before {
    top: calc(100% - 2px);
}

[speech-bubble][pbottom][aleft]::before {
    left: 1rem;
    -webkit-clip-path: polygon(25% 0, 100% 0, 0% 100%);
    clip-path: polygon(25% 0, 100% 0, 0% 100%)
}

[speech-bubble][pbottom][acenter]::before {
    left: calc(50% - var(--width) / 2);
    -webkit-clip-path: polygon(12.5% 0, 87.5% 0, 50% 100%);
    clip-path: polygon(12.5% 0, 87.5% 0, 50% 100%)
}

[speech-bubble][pbottom][aright]::before {
    right: 1rem;
    -webkit-clip-path: polygon(0 0, 75% 0, 100% 100%);
    clip-path: polygon(0 0, 75% 0, 100% 100%)
}
/* top */

[speech-bubble][ptop]::before {
    bottom: calc(100% - 2px);
}

[speech-bubble][ptop][aleft]::before {
    left: var(--bbPadding);
    -webkit-clip-path: polygon(0 0, 100% 100%, 25% 100%);
    clip-path: polygon(0 0, 100% 100%, 25% 100%)
}

[speech-bubble][ptop][acenter]::before {
    left: calc(50% - var(--width) / 2);
    -webkit-clip-path: polygon(12.5% 100%, 50% 0, 87.5% 100%);
    clip-path: polygon(12.5% 100%, 50% 0, 87.5% 100%)
}

[speech-bubble][ptop][aright]::before {
    right: var(--bbPadding);
    -webkit-clip-path: polygon(0 100%, 100% 0, 75% 100%);
    clip-path: polygon(0 100%, 100% 0, 75% 100%)
}
/* left and right  */

[speech-bubble][pleft]::before,
[speech-bubble][pright]::before {
    --height: calc(var(--bbArrowSize) / 2 * 3);
    width: var(--bbArrowSize);
    height: var(--height);
}
/* right */

[speech-bubble][pright]::before {
    left: calc(100% - 2px);
}

[speech-bubble][pright][atop]::before {
    top: var(--bbPadding);
    -webkit-clip-path: polygon(100% 0, 0 100%, 0 25%);
    clip-path: polygon(100% 0, 0 100%, 0 25%)
}

[speech-bubble][pright][acenter]::before {
    top: calc(50% - var(--height) / 2);
    -webkit-clip-path: polygon(0 12.5%, 100% 50%, 0 87.5%);
    clip-path: polygon(0 12.5%, 100% 50%, 0 87.5%)
}

[speech-bubble][pright][abottom]::before {
    bottom: var(--bbPadding);
    -webkit-clip-path: polygon(0 0, 100% 100%, 0 75%);
    clip-path: polygon(0 0, 100% 100%, 0 75%)
}
/* left */

[speech-bubble][pleft]::before {
    right: calc(100% - 2px);
}

[speech-bubble][pleft][atop]::before {
    top: var(--bbPadding);
    -webkit-clip-path: polygon(0 0, 100% 25%, 100% 100%);
    clip-path: polygon(0 0, 100% 25%, 100% 100%)
}

[speech-bubble][pleft][acenter]::before {
    top: calc(50% - var(--height) / 2);
    -webkit-clip-path: polygon(0 50%, 100% 12.5%, 100% 87.5%);
    clip-path: polygon(0 50%, 100% 12.5%, 100% 87.5%);
}

[speech-bubble][pleft][abottom]::before {
    bottom: var(--bbPadding);
    -webkit-clip-path: polygon(0 100%, 100% 0, 100% 75%);
    clip-path: polygon(0 100%, 100% 0, 100% 75%)
}
/* flip */

[speech-bubble][pbottom][flip]::before,
[speech-bubble][ptop][flip]::before {
    transform: scaleX(-1)
}

[speech-bubble][pleft][flip]::before,
[speech-bubble][pright][flip]::before {
    transform: scaleY(-1)
}

[speech-bubble][pbottom][aleft] {
    grid-area: bl
}

[speech-bubble][pbottom][acenter] {
    grid-area: bc
}

[speech-bubble][pbottom][aright] {
    grid-area: br
}

[speech-bubble][pright][atop] {
    grid-area: rt
}

[speech-bubble][pright][acenter] {
    grid-area: rc
}

[speech-bubble][pright][abottom] {
    grid-area: rb
}

[speech-bubble][pleft][atop] {
    grid-area: lt
}

[speech-bubble][pleft][acenter] {
    grid-area: lc
}

[speech-bubble][pleft][abottom] {
    grid-area: lb
}

[speech-bubble][ptop][aleft] {
    grid-area: tl
}

[speech-bubble][ptop][acenter] {
    grid-area: tc
}

[speech-bubble][ptop][aright] {
    grid-area: tr
}

[speech-bubble][pbottom],
[speech-bubble][ptop] {
    margin: 0;
    margin-top: 20px;
}

[speech-bubble] {
    -webkit-filter: drop-shadow(0px 0px 0.2rem black);
    filter: drop-shadow(0px 0px 0.2rem black);
    transition: transform 0.25s ease
}
/*
[speech-bubble]:hover{
transform: scale(1.05);
filter: 
drop-shadow(0px 0px 0.2rem black)
drop-shadow(0px 0px 1rem var(--bbColor));
}
*/

[speech-bubble] .title {
    /* font-weight: 600; */
    /* color: white;  */
    /* text-shadow: 1px 1px 2px black; */
    margin-bottom: 0.5rem
}

[speech-bubble] code {
    background: white;
    margin: 0.125rem;
    box-shadow: 0px 0px 5px rgba(0, 0, 0, .5);
    white-space: nowrap;
    font-size: .9rem
}
/* END: Speech buble [https://codepen.io/MarkBoots/pen/RwLPXgJ] */

.cancel-user-form-filling {
    background-color: red;
    color: white !important;
    padding-top: .25rem !important;
    padding-bottom: .25rem !important;
    margin-bottom: 1.5rem;
}

.cancel-user-form-filling:hover {
    background-color: rgb(172, 7, 7);
}

.zoom-search {
    margin-top: -7px;
    width: 20px;
    height: auto;
    position: relative;
}

.card-link {
    text-decoration: none;
    color: inherit;
}

.special-card {
    border: 1px solid #ddd;
    padding: 16px;
    border-radius: 8px;
    background-color: #F2F2F2;
    transition: background-color 0.3s ease;
}

.card-link:hover .special-card {
    background-color: #f9f9f9;
}

.special-card-title {
    color: #0F6BB6;
    transition: color 0.3s ease;
}

.card-link:hover .special-card-title {
    color: darkblue;
}

.bg-special {
    background-color: #7F7F7F;
}

.legismappainel-side-left.bg-special .mod-menu__sub li:hover {
    background-color: #6F6F6F !important;
}

.legismappainel-side-left.bg-special .nav-item.nav-item:hover {
    background-color: #6F6F6F;
}

.legismappainel-side-left.bg-special .mod-menu__sub {
    background-color: #7F7F7F;
}
table {
    border-collapse: collapse;
    width: 100%;
    /* margin-top: 1rem; */
    /* margin-bottom: 1rem; */
}
table td, table th {
    border: 1px solid lightgrey;
    padding: 1rem;
}

/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
input[type=number] {
    -moz-appearance: textfield;
}

.blur {
    -webkit-filter: blur(5px);
    -moz-filter: blur(5px);
    -o-filter: blur(5px);
    -ms-filter: blur(5px);
    filter: blur(5px);
}

.efeitos-sonoro {
    display: flex;
    justify-content: end;
    align-items: center;
    padding-right: 1rem;
    padding-top: 1rem;
}

.custom-check {
    color: green;
    font-size: 18px;
    font-weight: 900;
    cursor: pointer;
}

.view-clientesusuarios .area_header {
    background-color:var(--azul-medio);
}

.legismap-tags {
    white-space: pre-line;
    margin-bottom: 5px;
}

.alert-comment > div {
    padding: 1.2rem 1rem;
    background-color: rgba(10, 31, 75, .6);
    color: white;
    border-radius: 8px;
    border: 2px solid rgb(70, 107, 164);
}

.alert-comment > div i {
    margin-right: 10px;
}

.selected-item {
    display: inline-block;
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
    font-size: 11px;
    font-weight: 600;
    padding: 4px 8px;
    margin-left: 8px;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 4px rgba(40, 167, 69, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    top: -1px;
    transition: all 0.2s ease;
}

.selected-item::before {
    content: "✓";
    margin-right: 4px;
    font-weight: bold;
}

.selected-item:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(40, 167, 69, 0.4);
}

/* Versão alternativa mais minimalista */
.selected-item.minimal {
    background: #e8f5e8;
    color: #155724;
    border: 1px solid #c3e6cb;
    box-shadow: none;
}

/* Versão alternativa com cor azul */
.selected-item.blue {
    background: linear-gradient(135deg, #007bff, #0056b3);
    box-shadow: 0 2px 4px rgba(0, 123, 255, 0.3);
}

/* Versão alternativa com animação pulse */
.selected-item.pulse {
    animation: pulse-green 2s infinite;
}

#consentModal .iframe {
    height: 70vh;
}

.tippy-area {
    cursor: pointer;
}

@keyframes pulse-green {
    0% {
        box-shadow: 0 2px 4px rgba(40, 167, 69, 0.3);
    }
    50% {
        box-shadow: 0 2px 4px rgba(40, 167, 69, 0.6), 0 0 0 4px rgba(40, 167, 69, 0.1);
    }
    100% {
        box-shadow: 0 2px 4px rgba(40, 167, 69, 0.3);
    }
}

@media (min-width: 992px) {
    #consentModal .modal-lg,
    #consentModal .modal-xl {
        --bs-modal-width: 80%;
    }
}

@media (min-width: 280px) and (max-width: 499.98px) {
    /*
    .page-normas .legismappainel-main-inner > div {
    }
    */

    .norma {
        padding: 1.2rem .8rem;
    }

    .normas-tool {
        margin-right: auto;
        margin-left: auto;
    }

    .view-suseps .default-filter-wrapper {
        padding: 1rem .9rem 1.5rem .5rem;
    }

    .added-tags-title,
    .tagged-normas .default-filter-wrapper.normas-header {
        padding-left: revert;
    }

    .js-stools-container-bar .search-filters-inputs .input-group {
        /* flex: 1 1 25%; */
        max-width: 100%;
    }

    .js-stools-container-bar {
        display: revert;
    }

    .search-term-in-norm {
        display: none;
    }

    .advanced-search {
        width: revert !important;
    }
}