#form-gmr .btn-danger {
    color: white;
}

#fusuarios {
    width: 100%;
}

/*.ui.segments {*/
#comments_box form {
    border-radius: 0;
    display: flex;
    flex-direction: column;
    height: 100vh;
}

#comments_box {
    /*
    position: absolute;
    top: 50px !important;
    z-index: 9999;
    */
    margin-left: auto;
    /* position: relative; */
    /* margin-top: 3vh; */
    border-radius: 0;
    width: 30vw;
    /*height: 111.7%;*/
    /*height: auto;*/
    /*width: fit-content;*/
    /*padding: 1.5rem 2rem;*/
    /*background-color: #ebeced;*/
    background-color: white;
    display: flex;
    flex-direction: row;
}

#comments_box_wrapper {
    position: relative;
}

#profiles_and_annotations_trail {
    width: auto;
    height: 100vh;
    display: flex;
    flex-direction: row;
    /* border: 1px solid lightgrey; */
}

#profiles_and_annotations_trail .comments_trail_wrapper {
    max-height: unset;
    overflow-x: hidden;
}

/*
#profiles_and_annotations_trail .comments_trail_wrapper .comments_trail {
    margin: revert;
}
*/

#profiles_and_annotations_trail .comment_item {
    /* height: 100vh; */
    height: 100px;
}

#profiles_and_annotations_trail .comment_item:last-child {
    /* height: 100vh; */
    height: 100vh;
}

#profiles_and_annotations_trail .comment_content-desc {
    background-color: transparent;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    position: relative;
    top: 2px;
    left: -29px;
    z-index: 200;
}

#annotations_trail {
    width: 3.2rem;
    padding: .35rem .75rem;
    height: 100%;
    border-right: 1px solid lightgrey;
    /* background-color: yellow; */
}

#profiles_trail {
    /* width: auto; */
    padding: .55rem .45rem;
    height: 100%;
    border-right: 1px solid lightgrey;
    /* background-color: pink; */
}

#profiles_trail .profile_items {
    padding-left: 0;
    list-style: none;
    /* display: none; */
}

#profiles_trail .profile_item {
    position: relative;
    display: block;
    /* padding-bottom: 1.5rem; */
    /* margin: 0; */
    margin-bottom: 1rem;
    /* cursor: pointer; */
    /* word-wrap: break-word; */
}

#profiles_trail .profile_item .profile_disc {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background-color: rgba(239, 239, 239, 1);
    border: 3px solid lightgrey;
    text-align: center;
    padding: .25rem;
    font-weight: 500;
    font-size: .9rem;
    cursor: pointer;
}

#profiles_trail .profile_item .profile_disc:hover {
    background-color: rgb(228, 222, 222);
}

#profiles_trail .has-comments {
    text-decoration: revert;
    color: black !important;
}

.marked-profile {
    background-color: #ebeced !important;
    border: 3px solid #a2c1db !important;
}

#comments_box p {
    line-height: 1;
}

#comments_box #comments_box_header {
    /*border-top-left-radius: 8px;*/
    /*border-top-right-radius: 8px;*/
    background-color: rgba(239, 239, 239, 1);
    padding: 1.5rem 2.5rem;
}

#comments_box #comments_box_header p {
    text-align: justify;
    margin-top: 1rem;
    font-size: .9rem;
    cursor: pointer;
    /*line-height: 1.8;*/
    /*background-color: rgba(220, 237, 36, 1);*/
}

#comments_box .username {
    color: rgba(4, 49, 122, 1);
    font-size: .8rem;
}

#comments_box .icone-legismap-user {
    font-size: 1.4rem;
    margin-right: .4rem;
}

#comments_box .commentator {
    display: flex;
    align-items: center;
}

#comments_box .parent-comment-header,
#comments_box .parent-comment-footer {
    display: flex;
}

#comments_box .parent-comment-header div,
#comments_box .parent-comment-footer div {
    width: 50%;
    /*border: 1px solid #ccc;*/
}

#comments_box .parent-comment-header div:nth-child(2),
#comments_box .parent-comment-footer div:nth-child(2) {
    text-align: right;
}

#comments_box .parent-comment-body p {
    margin-top: 1rem;
    margin-bottom: 1.3rem;
    font-size: .9rem;
}

#comments_box .parent-comment-footer div:first-child span {
    font-size: .8rem;
    font-weight: bold;
    color: rgb(92, 98, 108);
}

#comments_box .parent-comment-footer div:nth-child(2) span {
    font-size: .8rem;
    font-weight: bold;
    color: rgba(4, 49, 122, 1);
}

#comments_box .child-comments {
    /*max-height: 30vh;*/
    overflow-y: auto;
    /*height: 35vh;*/
    height: calc(50vh - 150px);
    /*flex: 1;*/
    /*padding-right: 10px;*/
    margin-top: .7rem;
}

#comments_box .child-comment {
    /*background-color: rgba(206, 217, 230, 1);*/
    border-radius: 12px;
    /*padding: 1rem;*/
    margin-bottom: .7rem;
    /*margin-top: .7rem;*/
}

#comments_box .child-comment:last-child {
    margin-bottom: 0;
}

#comments_box .child-comment-header {
    display: flex;
}

#comments_box .child-comment-header div {
    width: 50%;
}

#comments_box .child-comment-header div:nth-child(2) {
    text-align: right;
}

#comments_box .child-comment-body p {
    margin-left: 1.9rem;
    margin-top: 1rem;
    /*margin-bottom: 1.3rem;*/
    font-size: .9rem;
}

#comments_box .child-comment-footer {
    text-align: right;
}

.trash-wrapper-circle {
    border-radius: 50%;
    width: 1rem;
    height: 1rem;
    /*background-color: rgba(255, 63, 91, 1);*/
    background-color: rgb(33, 31, 31);
    padding: .1rem;
    font-size: .5rem;
    color: white;
    text-align: center;
    display: inline-block;
    cursor: pointer;
    margin-left: 2px;
}

#reply_to_comment {
    font-size: .8rem;
    padding: 1rem 1.2rem !important;
    resize: none;
    border-radius: 12px;
    margin-bottom: .5rem;
    width: 100% !important;
}

.send-comment-wrapper {
    text-align: right;
}

#comments_box .label-textarea {
    text-transform: uppercase;
    color: rgba(16, 62, 131, 1);
    font-weight: bold;
}

#comments_box_content {
    /*padding: 1.5rem 2.5rem 4rem 2.5rem;*/
    padding: 1.5rem 1.5rem 2rem 1.5rem;
    /*border: 1px solid #eaeaea;*/
    overflow-y: auto;
    /*height: 53vh;*/
    /*height: 75vh;*/
    flex: 1;
    display: grid;
    /*place-content: end;*/
    /*height: calc(100% - 50vh);*/
}

#comments_box_footer {
    padding: .5rem 2.5rem 1.5rem;
    background-color: rgba(239, 239, 239, 1);
    border: 0.1em solid transparent;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
    -webkit-box-shadow: 0 -1em 10px 0 rgba(0, 0, 0, 0.05);
    -moz-box-shadow: 0 -1em 10px 0 rgba(0, 0, 0, 0.05);
    -o-box-shadow: 0 -1em 10px 0 rgba(0, 0, 0, 0.05);
    box-shadow: 0 -1em 10px 0 rgba(0, 0, 0, 0.05);
}

#comments_box_footer label.form-check-label {
    font-size: .8rem ;
}

#parent-comment {
    padding: 1rem;
    background-color: rgba(229, 235, 242, 1);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    /*height: 50%;*/
}

.comments_wrapper {
    /*max-height: 75vh;*/
    /*overflow-y: auto;*/
    display: grid;
    place-content: stretch;
    gap: 20px;
    font-size: .8rem;
    margin-block-start: auto;
}

.bubble {
    --r: 25px; /* the radius */
    --t: 30px; /* the size of the tail */
    max-width: 100%;
    padding: calc(2*var(--r)/3);
    -webkit-mask:
            radial-gradient(var(--t) at var(--_d) 0,#0000 98%,#000 102%)
            var(--_d) 100%/calc(100% - var(--r)) var(--t) no-repeat,
            conic-gradient(at var(--r) var(--r),#000 75%,#0000 0)
            calc(var(--r)/-2) calc(var(--r)/-2) padding-box,
            radial-gradient(50% 50%,#000 98%,#0000 101%)
            0 0/var(--r) var(--r) space padding-box;
    /*background: linear-gradient(135deg,#FE6D00,#1384C5) border-box;*/
    background: linear-gradient(135deg, #98afcb,#e5ebf2) border-box;
    color: #000;
}
.bubble.left {
    --_d: 0%;
    border-left: var(--t) solid #0000;
    margin-right: var(--t);
    place-self: start;
}
.bubble.right {
    --_d: 100%;
    background: linear-gradient(135deg,#ced9e6,#0dcaf0) border-box;
    border-right: var(--t) solid #0000;
    margin-left: var(--t);
    place-self: end;
}

.expand-out {
    opacity: 0; /* Initially hidden */
    animation: scale 0.5s forwards; /* Apply the scale animation */
    transform-origin: center center;
}

.gmr-send-date {
    font-size: .78rem;
    font-style: italic;
}

@keyframes scale {
    0% {
        transform: scale(0.5);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/*
#annotate_settings {
    display: flex;
    width: 70vw;
    max-width: 800px;
    margin: 0 auto;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
}

#annotate_settings .modal-body {
    padding: 0;
}

#annotate_settings .alert {
    margin: 10px 0;
    padding: 10px;
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    border-radius: 4px;
    color: #721c24;
}

#annotate_settings .label-textarea {
    font-weight: bold;
    font-size: 1.2rem;
}

#annotate_settings textarea {
    width: 100%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    margin-top: 10px;
}

#annotate_settings .choice-annotation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
}

#annotate_settings .choice-annotation button {
    flex: 1;
    padding: 10px 20px;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#annotate_settings .choice-annotation button:hover {
    background-color: #0056b3;
}

#annotate_settings .scrolling.menu {
}

#annotate_settings .form-check {
    margin-bottom: 8px;
}

#annotate_settings .saveAnnotation {
    background-color: #31D2F2;
}

#annotate_settings .saveAnnotation:hover {
    background-color: #31D2F2;
}

#annotate_settings #arrow {
    position: absolute;
    width: 16px;
    height: 16px;
    background-color: #fff;
    transform: rotate(45deg);
    bottom: -8px;
    left: 50%;
    margin-left: -8px;
}
*/

div.field:nth-child(2) {
    display: flex;
    justify-content: flex-end;
}

#jform_comentarios_geral,
#jform_necessidade_adequacao_obs {
    width: 100% !important;
}

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

#jform_solicitar_analise {
    display: none;
}

.view-gmrrespostaform .choice-annotation button,
.view-gmrform .choice-annotation button,
.view-gmrenvio .choice-annotation button {
    transition: transform 0.3s ease;
}

.view-gmrrespostaform .choice-annotation button:hover,
.view-gmrform .choice-annotation button:hover,
.view-gmrenvio .choice-annotation button:hover {
    transform: rotate(15deg);
}



@media (max-width: 768px) {
    #annotate_settings {
        padding: 10px;
    }

    .choice-annotation {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 1366px) {
    #comments_box {
        width: 35vw;
    }
}

/*accordion gmr*/

.view-gmrrespostaform .accordion-button::after,
.view-gmrform .accordion-button::after,
.view-gmrenvio .accordion-button::after {
    display: block;
    margin-top: 5px;
    font-size: 14px;
}

.view-gmrrespostaform .accordion-button.collapsed,
.view-gmrform .accordion-button.collapsed,
.view-gmrenvio .accordion-button.collapsed {
    color: #000;
    background-color: #fff;
    border: none;
    /*border-bottom: 1px solid #ddd;*/
    border-radius: 0;
    padding: 8px 12px;
    transition: color 0.2s, transform 0.2s, background-color 0.2s;
    -webkit-transition: color 0.2s, transform 0.2s, background-color 0.2s;
    -moz-transition: color 0.2s, transform 0.2s, background-color 0.2s;
    -ms-transition: color 0.2s, transform 0.2s, background-color 0.2s;
    -o-transition: color 0.2s, transform 0.2s, background-color 0.2s;
}

.view-gmrrespostaform .accordion-button,
.view-gmrform .accordion-button,
.view-gmrenvio .accordion-button {
    font-size: 14px;
    font-weight: bold;
    color: #000;
    background-color: #fff;
    border: none;
    border-bottom: 1px solid #ddd;
    border-radius: 0;
    padding: 8px 12px;
    transition: color 0.2s, transform 0.2s, background-color 0.2s;
    outline: none;
    /*Removeocontornopadrãodefocodonavegador*/
    -webkit-transition: color 0.2s, transform 0.2s, background-color 0.2s;
    -moz-transition: color 0.2s, transform 0.2s, background-color 0.2s;
    -ms-transition: color 0.2s, transform 0.2s, background-color 0.2s;
    -o-transition: color 0.2s, transform 0.2s, background-color 0.2s;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    -ms-border-radius: 0;
    -o-border-radius: 0;
}

.view-gmrrespostaform .accordion-button i,
.view-gmrform .accordion-button i,
.view-gmrenvio .accordion-button i {
    margin-right: .3rem;
}

/*
.view-gmrrespostaform .accordion-button:hover,
.view-gmrform .accordion-button:hover,
.view-gmrenvio .accordion-button:hover {
    color: #013989;
    transform: scale(1.05);
    background-color: #f5f5f5;
    -webkit-transform: scale(1.05);
    -moz-transform: scale(1.05);
    -ms-transform: scale(1.05);
    -o-transform: scale(1.05);
}
*/

.view-gmrform .accordion-button:not(.collapsed),
.view-gmrrespostaform .accordion-button:not(.collapsed),
.view-gmrenvio .accordion-button:not(.collapsed),
.view-gmrform .accordion-button:focus,
.view-gmrrespostaform .accordion-button:focus,
.view-gmrenvio .accordion-button:focus {
    background-color: #f5f5f5;
    outline: none !important;
    /*box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2) !important;*/
    box-shadow: none !important;
}

.view-gmrform .accordion-button i,
.view-gmrrespostaform .accordion-button i,
.view-gmrenvio .accordion-button i {
    padding-left: 10px;
}

.view-gmrrespostaform .accordion-body,
.view-gmrform .accordion-body,
.view-gmrenvio .accordion-body {
    font-size: 14px;
}

#collapseTwo .accordion-body{
    overflow-y: auto;
    max-height: 37vh;
    overflow-x: hidden;
}

.view-gmrrespostaform #btnsalvar,
.view-gmrform #btnsalvar,
.view-gmrenvio #btnsalvar {
    color: white;
    font-weight: 500;
}

/*
.view-gmrrespostaform #conteudo-norma,
.view-gmrform #conteudo-norma,
.view-gmrform #conteudo-norma {
    padding-left: 2rem;
    padding-bottom: 2rem;
}
 */

.view-gmrrespostaform #conteudo-norma,
.view-gmrform #conteudo-norma,
.view-gmrenvio #conteudo-norma {
    padding-top: 1rem;
    padding-left: 1rem;
    padding-bottom: 2rem;
    border: 2px dashed lightgray;
    border-radius: 10px;
    /* margin-left: 10px; */
    width: 74%;
    margin-left: 1%;
    margin-bottom: 1rem;
    user-select: text;
}

/*
.fullnormannotation-border {
    border: 2px dashed orangered !important;
    background-color: rgba(237, 237, 237, .3);
}
*/

.view-gmrenvio #conteudo-norma {
    width: 98%;
}

/* START: CAIXA FIXA DOS COMENTÁRIOS DO SIMPLES ENVIO */
.view-gmrenvio #simples_envio_comentarios {
    width: 60%;
    background-color: #eaf3fa;
    border: 1px solid lightgrey;
    border-top-right-radius: 30px;
    border-bottom: 0px;
    position: fixed;
    bottom: 0;
    left: 0;
    padding-left: 50px;
    padding-right: 30px;
    padding-top: 20px;
    padding-bottom: 20px;
    box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.2);
}

.view-gmrenvio .simples-envio-title {
    color: #3c85be;
    font-size: 16px;
    font-weight: 800;
    display: flex;
    align-items: center;
}

.view-gmrenvio #simples_envio_comentarios .icone-legismap-enviar {
    font-size: 14px !important;
    margin-right: 7px;
}

.view-gmrenvio #simples_envio_comentarios details summary {
    list-style: none;
}

.view-gmrenvio #simples_envio_comentarios details summary::-webkit-details-marker {
    display: none;
}

.view-gmrenvio #simples_envio_comentarios .simples-envio-comment div {
    font-size: 15px;
    margin-top: 10px;
    margin-left: 16px;
}

.view-gmrenvio #simples_envio_comentarios .simples-envio-sentby {
    font-size: 10px;
    font-style: italic;
}
/* END: CAIXA FIXA DOS COMENTÁRIOS DO SIMPLES ENVIO */

/* Painel Geral GMR filtros */
.view-gmrenvios .js-stools .js-stools-field-filter,
.view-gmrs .js-stools .js-stools-field-filter,
.view-gmrsimplesenvios .js-stools .js-stools-field-filter {
    margin-right: 1rem;
    margin-bottom: 1rem;
}

.details-timeline .box {
    background-color: var(--yellow);
    margin-left: 5px;
}

.details-timeline .timeline {
    display: flex;
    flex-direction: row;
}

.details-timeline .skewx {
    transform: skewX(-12deg);
    -webkit-transform: skewX(-12deg);
    -moz-transform: skewX(-12deg);
    -ms-transform: skewX(-12deg);
    -o-transform: skewX(-12deg);
}

.details-timeline .skewx>* {
    transform: skewX(12deg);
    -webkit-transform: skewX(12deg);
    -moz-transform: skewX(12deg);
    -ms-transform: skewX(12deg);
    -o-transform: skewX(12deg);
}

.details-timeline .nav-time-line {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    /* margin-bottom: 5rem; */
}

.details-timeline .nav-time-line .skewx {
    background-color: #FAE100;
    width: 170px;
    height: 110px;
}

.details-timeline .nav-time-line .skewx:hover::before {
    content: '';
    position: absolute;
    top: 0%;
    left: 0%;
    background-color: rgba(160, 171, 77, 0.88);
    width: 100%;
    height: 100%;
    z-index: -1;
}

.details-timeline .nav-time-line li {
    position: relative;
    margin-top: 32px;
    margin-right: 30px;
}

.details-timeline .nav-time-line .signal {
    position: absolute;
    top: 0;
    transform: translateY(-75%);
    width: 100%;
    z-index: 0;
}

.details-timeline .nav-time-line .signal .inner {
    background-color: #303030;
    color: #000;
    padding: 5px;
    border-radius: 50%;
    font-size: 1.5rem;
    position: relative;
    top: 50%;
    left: 50%;
    width: 32px;
    height: 32px;
    font-size: 12px;
    transform: translateX(-50%);
    display: inline-flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.details-timeline .nav-time-line .active .signal .inner i {
    border: 1px solid #000;
    height: 18px;
    width: 18px;
    border-radius: 50%;
    display: inline-flex;
    justify-content: center;
    align-items: center;
}

.details-timeline .nav-time-line li.active .signal .inner {
    background-color: var(--light-gray3);
    color: #000;
}

.details-timeline .nav-time-line .signal::after {
    content: '';
    position: absolute;
    top: 50%;
    left: calc(50% + 8px);
    background-color: #303030;
    width: 62%;
    height: 2px;
    z-index: -1;
}

.details-timeline .nav-time-line .signal::before {
    content: '';
    position: absolute;
    top: 50%;
    right: calc(50% + 8px);
    background-color: #303030;
    width: 62%;
    height: 2px;
    z-index: -1;
}

.details-timeline .nav-time-line li:last-child .signal::after,
.details-timeline .nav-time-line li:first-child .signal::before {
    display: none;
}

.details-timeline .card-body {
    box-shadow: none !important;
    border: none !important;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    height: inherit;
    align-items: center;
}

.details-timeline .text {
    text-align: center;
    margin-top: 13px;
    font-size: .75rem;
}

.view-gmrrespostaform .accordion-button:not(.collapsed){
    background-color: lightblue;
}


.view-gmrrespostaform summary {
    text-align: center;
}