/*!
 * Bootstrap v3.3.6 (http://getbootstrap.com)
 * Copyright 2011-2015 Twitter, Inc.
 * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
 */

h1.underline, h4.underline {
    border-bottom: 1px solid #bcbcbc;
    padding-bottom: 21px;
}

@media (max-width: 767px) {

    .text_center-mobile {
        text-align: center;
    }
}


.btn-lg-home {
    padding: 20px 40px;
    font-size: 15px;
}


.btn-info-home {
    color: #fff;
    border-color: #fff;
    background: transparent;
}

    .btn-info-home:hover {
        color: #000;
        border-color: #000;
        background: #fff;
    }

    .btn-info-home:active {
        color: #000;
        border-color: #000;
        background: #fff;
    }

    .btn-info-home:focus {
        color: #000;
        border-color: #000;
        background: #fff;
    }


.breadcrumb > li a {
    color: #302ce1;
    padding: 2px 4px;
}
 .breadcrumb > li a:hover {
    color: #302ce1;
}


.pagination > li > a,
.pagination > li > span {
    background-color: transparent;
    border: 0px;
    margin-left: 10px;
    width: 40px;
    height: 40px;
    text-align: center;
}


.pagination > li:first-child > a:hover,
.pagination > li:first-child > span:hover {
    background: none;
}


.pagination > li:last-child > a:hover,
.pagination > li:last-child > span:hover {
    background: none;
}


.pagination > li > a:hover,
.pagination > li > a:focus,
.pagination > li > span:hover,
.pagination > li > span:focus {
    background-color: transparent;
    border-color: transparent;
}


.pagination > .active > a,
.pagination > .active > a:hover,
.pagination > .active > a:focus,
.pagination > .active > span,
.pagination > .active > span:hover,
.pagination > .active > span:focus {
    border-color: transparent;
    border-radius: 50%;
	border: solid 1px;
}

.logo-container {
    height: 51px;
    width: 187px;
    margin-left: 9px;
}

.fixed-top {
    border-width: 0;
}

.static-top {
    border-width: 0;
    margin-bottom: 0;
}


.navbar-default {
    border-color: transparent;
}


.homelink, a.homelink:hover, a.homelink:focus {
    color: #fff;
    text-decoration: none;
}


.register-bar {
    clear: both;
}


.fixed-top.navbar {
    min-height: 67px;
}

    .fixed-top.navbar .navbar-collapse {
        max-height: 510px;
        box-shadow: none;
        border-top: none;
        padding-top: 8px;
    }

    .fixed-top.navbar .form-inline {
        border: none;
        margin-left: 0;
        margin-right: 0;
    }
        
        .fixed-top.navbar .form-inline .form-control {
            font-size: 1em;
        }


.static-top.navbar .navbar-collapse {
    max-height: 510px;
    box-shadow: none;
    border-top: none;
}


.static-top.navbar .form-inline {
    border: none;
    margin-left: 0;
    margin-right: 0;
}
    
    .static-top.navbar .form-inline .form-control {
        font-size: 1em;
    }

@media (min-width: 992px) {

    .fix-navbar .register-bar {
        display: none;
    }
}


.fixed-top.navbar > .container > .row > div {
    float: none !important;
    display: inline-block;
    vertical-align: bottom;
}

.static-top.navbar > .container > .row > div {
    float: none !important;
    display: inline-block;
    vertical-align: bottom;
}


.fixed-top.navbar .menu-bar > .navbar-nav > li > a {
    font-family: "Segoe UI Semibold", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 1em;
    font-weight: bold;
}


.fixed-top.navbar .menu-bar > .navbar-nav > .divider-vertical {
    height: 21px;
    margin: 0 4px;
    margin-top: 14.5px;
    border-right: 1px solid #fff;
    border-left: 1px solid #666;
}


.static-top.navbar .menu-bar > .navbar-nav > li > a {
    font-family: "Segoe UI Semibold", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 1em;
    font-weight: bold;
}


.static-top.navbar .menu-bar > .navbar-nav > .divider-vertical {
    height: 21px;
    margin: 0 4px;
    margin-top: 14.5px;
    border-right: 1px solid #fff;
    border-left: 1px solid #666;
}


.fixed-top .navbar-brand {
    font-size: 2.11em;
    font-family: "Segoe UI Light", "Helvetica Neue", Helvetica, Arial, sans-serif;
    color: #232222;
    position: relative;
}

@media (max-width: 1200px) {
    
    .fixed-top .navbar-brand {
        position: initial;
        height: 42px;
    }
}


.fixed-top .navbar-header {
    padding-top: 8px;
}


.static-top .navbar-brand {
    font-size: 2.11em;
    font-family: "Segoe UI Light", "Helvetica Neue", Helvetica, Arial, sans-serif;
    color: #232222;
    position: relative;
}

@media (max-width: 1200px) {
    
    .static-top .navbar-brand {
        position: initial;
        height: 42px;
    }
}


.fixed-top.navbar-dark {
    background-color: #232222;
    border-color: transparent;
}
    
    .fixed-top.navbar-dark .navbar-brand {
        color: #fff;
    }
    
    .fixed-top.navbar-dark .divider-vertical {
        border-right-color: #fff;
        border-left-color: #111;
    }


.static-top.navbar-dark {
    background-color: #ffffff;
    border-color: transparent;
    -webkit-box-shadow: 0 3px 5px rgba(57, 63, 72, 0.3);
    -moz-box-shadow: 0 3px 5px rgba(57, 63, 72, 0.3);
    box-shadow: 0 3px 5px rgba(57, 63, 72, 0.3);
}
    
    .static-top.navbar-dark .navbar-brand {
        color: #fff;
    }
    
    .static-top.navbar-dark .divider-vertical {
        border-right-color: #fff;
        border-left-color: #111;
    }


.navbar-dark .navbar-nav > li > a {
    color: #000;
}
    
    .navbar-dark .navbar-nav > li > a:hover {
        color: #fff;
        background-color: #302CE1;
    }
    
    .navbar-dark .navbar-nav > li > a:focus {
        color: #fff;
        background-color: #302CE1;
        border: 1px dashed black !important;
        outline: 1px dashed #FFFFFF;
    }

@media (max-width: 1199px) {
    
    .navbar-dark .navbar-nav > li > a:hover {
        color: #fff;
        background-color: #302ce1;
        
    }
}


.menu-bar .shopping_link {
    position: relative;
}

    .menu-bar .shopping_link .cart_amount {
        border-radius: 100%;
        height: 17px;
        width: 17px;
        position: absolute;
        bottom: 6px;
        right: -6px;
        background-color: #2f5fef;
        text-align: -webkit-center;
        line-height: 17px;
        font-size: 9px;
        padding-left: 1.9px;
        color: #fff;
    }

        .menu-bar .shopping_link .cart_amount:hover {
            color: #fff;
        }

@media (max-width: 1199px) {
    
    .fixed-top .navbar-collapse .nav > .divider-vertical {
        display: none;
    }
}

@media (max-width: 1199px) {
    
    .static-top .navbar-collapse .nav > .divider-vertical {
        display: none;
    }
}

@media (max-width: 767px) {
    
    .fixed-top.navbar > .container > .row > div {
        display: block;
    }

    .navbar-header {
        position: relative;
    }
}

@media (max-width: 767px) {
    
    .static-top.navbar > .container > .row > div {
        display: block;
    }

    .navbar-header {
        position: relative;
    }
}


.card {
    -webkit-box-shadow: 0 0px 0px transparent;
    box-shadow: 0 0px 0px transparent;
}


    
    .border-bottom {
        border-bottom: 1px solid #bcbcbc;
        padding-bottom: 84px;
    }
    
  .card {
        border-radius: 0px;
        border: none;
        box-shadow: none;
    }
        
        .card + .card {
            margin-top: 5px;
        }
    
    .card-header {
        border-bottom: 0;
    }
        
        .card-header .card-title a {
            text-decoration: none;
        }
            
            .card-header .card-title a:hover {
                color: #2f5fef;
            }
            
            .card-header .card-title a:before {
                content: ' ';
                background-repeat: no-repeat;
                display: inline-block;
                width: 22px;
                height: 12px;
                background-position: -92px -5px;
                margin-right: 10.5px;
            }
            
            .card-header .card-title a.collapsed:before {
                background-position: -5px -126px;
            }
        
        .card-header + .panel-collapse > .card-body,
        .card-header + .panel-collapse > .list-group {
            border-top: none;
        }
    
    .card-footer {
        border-top: 0;
    }
        
        .card-footer + .panel-collapse .card-body {
            border-bottom: none;
        }
    

        
        card-header {
            color: #333333;
            background-color: transparent;
            border-color: none;
        }
            
            .card-header + .panel-collapse > .card-body {
                border-top-color: none;
            }
            
            .card-header .badge {
                color: transparent;
                background-color: #333333;
            }
        
        .card-footer + .panel-collapse > .card-body {
            border-bottom-color: none;
        }


body {
    padding-top: 0px;
    /* Below changes in body tag to support DefaultPortalTemplate in maker*/
    margin: 0;
    height: 100%;
}

@media (max-width: 767px) {

    body {
        padding-top: 0px;
    }
}


.layer_down {
    height: 50px;
    background: url("layer_down.png") no-repeat bottom center;
    position: absolute;
    bottom: 0;
    z-index: 900;
    width: 100%;
}


.layer_up {
    height: 40px;
    background: url("layer_up.png") no-repeat bottom center;
    position: relative;
    z-index: 20;
}


.section-margin {
    margin: 21px 0;
}


.section-inline-search {
    background-size: cover;
}

    .section-inline-search .row > div {
        margin-top: 100px;
    }

        .section-inline-search .row > div h1 {
            color: #fff;
        }

@media screen and (max-width: 600px) {

    .section-inline-search .row > div h1 {
        font-size: 16vw;
    }
}

.section-inline-search .row > div .form-inline .row .input-group {
    margin-right: 21px;
}
    
    .section-inline-search .row > div .form-inline .row .input-group .input-group-text {
        background-color: #fff;
        border-right: none;
    }
    
    .section-inline-search .row > div .form-inline .row .input-group .form-control {
        height: 60px;
        border-left: none;
        box-shadow: none;
    }
        
        .section-inline-search .row > div .form-inline .row .input-group .form-control:focus {
            box-shadow: none;
            border-right: none;
            border-color: #ccc;
        }


.wrapper {
    width: 100%;
    margin: 0 auto;
    text-align: center;
    -moz-transition: width 0.3s ease-out;
    -o-transition: width 0.3s ease-out;
    -webkit-transition: width 0.3s ease-out;
    transition: width 0.3s ease-out;
}


    .wrapper .contained {
        position: relative;
        height: 400px;
        padding-bottom: 56.25%;
    }


        .wrapper .contained > svg {
            margin-top: -100px;
            position: absolute;
            display: block;
        }


.contained .row {
    margin-top: 80px;
}


footer {
    position: relative;
    color: #22221E;
}

    footer .footer-top {
        width: 100%;
        min-height: 130px;
        background-color: #232222;
        display: flex;
        align-items: center;
    }

        footer .footer-top h3, footer .footer-top h4 {
            color: #fff;
        }

        footer .footer-top .list-social-links {
            margin-top: 25px;
            margin-bottom: 12.5px;
        }

@media screen and (max-width: 991px) {

    footer .footer-top h3,
    footer .footer-top .list-social-links {
        text-align: center;
    }
}

footer .footer-bottom {
    width: 100%;
    min-height: 68px;
    background-color: #D2D2CE;
    font-size: 14px;
    display: flex;
    align-items: center;
}

    footer .footer-bottom p {
        margin: 0;
    }

    footer .footer-bottom h4 {
        margin-top: 0;
        color: #fff;
    }

    footer .footer-bottom ul {
        list-style-type: none;
        margin: 0;
    }

        footer .footer-bottom ul li a,
        footer .footer-bottom ul li a:hover,
        footer .footer-bottom ul li a:focus,
        footer .footer-bottom ul li a:active,
        footer .footer-bottom ul li a.active {
            font-size: 15px;
            color: #fff;
        }


.list-social-links {
    list-style-type: none;
    padding-left: 0;
}

    .list-social-links li {
        display: inline-block;
        margin: 0 10px;
    }

        .list-social-links li a,
        .list-social-links li a:hover,
        .list-social-links li a:focus,
        .list-social-links li a:active,
        .list-social-links li a.active {
            color: #fff;
        }

@media screen and (max-width: 993px) {

    .section-landing h1 {
        font-size: 65px;
    }

    .section-landing h2 {
        letter-spacing: normal;
        margin-left: -3px;
    }
}


.user-icon {
    width: 16px;
    height: 16px;
    display: inline-block;
    margin-right: 7px;
}


.article-title-container {
    border-top: solid 1px #bcbcbc;
    border-bottom: solid 1px #bcbcbc;
    padding-left: 15px;
    padding-top: 28px;
    padding-bottom: 28px;
}


.article-title {
    margin-left: -35px;
}

    .article-title > span {
        margin-left: 3px;
    }

        .article-title > span .article-author {
            font-weight: bold;
            color: #2f5fef;
        }


.article-content {
    margin-top: 15px;
}

    .article-content > p {
        text-align: justify;
    }

@media screen and (max-width: 993px) {

    .article-title {
        margin-left: 0;
        text-align: center;
    }

    .article-author {
        text-align: center;
    }
}


.section-search .header-search {
    padding-top: 40px;
    padding-bottom: 40px;
    margin-bottom: 40px;
    background-color: #eeeeee;
}

    .section-search .header-search img {
        max-width: 350px;
    }

@media screen and (max-width: 600px) {

    .section-search .header-search h1 {
        font-size: 13vw;
    }
}


.section-search .title-search {
    font-size: 26px;
    font-weight: bold;
}


.section-search input {
    border-style: none;
    padding-left: 10px;
    height: 60px;
}


.section-search .media .media-left > img {
    max-width: 240px;
}


.section-search .media .media-body {
    padding-left: 20px;
}

    .section-search .media .media-body > a {
        text-decoration: none;
        font-weight: bold;
    }

    .section-search .media .media-body .media-heading {
        margin-top: 5px;
        margin-bottom: 20px;
    }


.cards-container {
    margin-top: 84px;
    display: flex;
    justify-content: center;
}

@media screen and (max-width: 991px) {

    .cards-container {
        flex-direction: column;
    }
}


.carousel-custom .carousel-inner > .carousel-item {
    margin-right: auto;
    margin-left: auto;
}
    
    .carousel-custom .carousel-inner > .carousel-item .carousel-caption {
        display: flex;
        align-items: center;
        top: 5%;
        left: 5%;
        right: 5%;
    }

@media screen and (min-width: 768px) {
    
    .carousel-custom .carousel-inner > .carousel-item .carousel-caption {
        left: 5%;
        right: 5%;
    }
}


.carousel-custom .carousel-indicators li {
    border-color: #232222;
}


.table.table-forms td {
    padding: 15px 8px;
}


.table.table-forms tbody tr:first-child td {
    border-top: none;
}


.poll {
    background-color: #eeeeee;
    border-top: 7px solid #0b80d0;
    position: relative;
    padding-left: 15px;
    padding-right: 15px;
}

    .poll .poll-header {
        display: flex;
        -ms-flex-align: center;
        -webkit-align-items: center;
        -webkit-box-align: center;
        align-items: center;
        justify-content: space-between;
        border-bottom: 1px solid #bcbcbc;
        padding-bottom: 5px;
    }

        .poll .poll-header h4 {
            font-weight: bold;
            display: inline-block;
        }

    .poll .poll-content {
        padding-top: 25px;
    }

        .poll .poll-content p {
            font-size: 14px;
        }

        .poll .poll-content form {
            border-bottom: 1px solid #bcbcbc;
            padding-bottom: 10px;
        }

        .poll .poll-content .poll-buttons {
            padding-top: 20px;
            padding-left: 11px;
        }

            .poll .poll-content .poll-buttons .btn {
                padding: 4px 14px;
                font-size: 14px;
            }

            .poll .poll-content .poll-buttons .btn-default {
                color: #000;
                border-color: #000;
            }

                .poll .poll-content .poll-buttons .btn-default:hover {
                    color: #000;
                    border-color: #000;
                }

    .poll .poll-tags {
        padding-top: 10px;
    }

        .poll .poll-tags h4 {
            border-bottom: 1px solid #bcbcbc;
            padding-bottom: 10px;
        }

        .poll .poll-tags .tag {
            display: inline-block;
            background-color: #e1e1e1;
            color: #232222;
            padding: 5px 14px;
            margin: 5px 0px;
            text-transform: uppercase;
            font-size: 13px;
        }


.nav-sidebar {
    padding-left: 20px;
    margin-top: 20px;
    margin-bottom: 20px;
}

    .nav-sidebar .nav > li > a {
        padding: 4px 20px;
        color: #2f5fef;
        border-right: 2px solid #eeeeee;
    }

        .nav-sidebar .nav > li > a:hover,
        .nav-sidebar .nav > li > a:focus {
            color: #232222;
            text-decoration: none;
            background-color: transparent;
            border-right: 2px solid #555555;
        }

        .nav-sidebar .nav > li > a:before {
            position: relative;
            top: 1px;
            display: inline-block;
            font-family: 'Glyphicons Halflings';
            font-style: normal;
            font-weight: normal;
            line-height: 1;
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
            content: "\e250";
            margin-right: 7px;
        }

    .nav-sidebar .nav > .active > a {
        color: #232222;
        text-decoration: none;
        background-color: transparent;
        border-right: 2px solid #555555;
        font-weight: bold;
    }

        .nav-sidebar .nav > .active > a:before {
            content: "\e252";
        }

    .nav-sidebar .nav > .active:hover > a,
    .nav-sidebar .nav > .activefocus > a {
        font-weight: bold;
    }

    .nav-sidebar .nav > .active > ul.nav {
        display: block;
    }

    .nav-sidebar .nav ul.nav {
        display: none;
    }

    .nav-sidebar .nav .nav > li > a {
        padding-top: 1px;
        padding-bottom: 1px;
        padding-left: 30px;
    }

    .nav-sidebar .nav .nav > .active,
    .nav-sidebar .nav .nav > .active:hover,
    .nav-sidebar .nav .nav > .active:focus {
        font-weight: bold;
    }

    .nav-sidebar .nav .nav .nav > li > a {
        padding-top: 1px;
        padding-bottom: 1px;
        padding-left: 60px;
    }

        .nav-sidebar .nav .nav .nav > li > a:before {
            content: "";
        }

    .nav-sidebar .nav .nav .nav > .active,
    .nav-sidebar .nav .nav .nav > .active:hover,
    .nav-sidebar .nav .nav .nav > .active:focus {
        font-weight: bold;
    }


#navbar .dropdown-menu {
    margin-top: 8px;
}


#navbar .dropdown-search {
    padding-top: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
    margin: 9px;
}

    #navbar .dropdown-search #q {
        min-width: 200px;
    }

@media (max-width: 1199px) {

    #navbar .dropdown-search .input-group-btn {
        vertical-align: top;
    }

    #navbar .dropdown-search #search-filter {
        width: 100%;
        text-align: left;
        padding-left: 25px;
    }

    #navbar .dropdown-search.dropdown-menu > li:hover, #navbar .dropdown-search .dropdown-menu > li:hover {
        color: white;
        background-color: transparent;
    }
}


.tabs-header {
    padding-bottom: 9.5px;
    margin: 42px 0 21px;
}


.help-block.error,
label.col-form-label.required:before,
.crmEntityFormView .cell div.info.required label:after,
.crmEntityFormView .cell div.info div.validators,
.crmEntityFormView .validator-text,
.crmEntityFormView .rank-order-cell .validator-text,
.crmEntityFormView .constant-sum-cell .validator-text,
.crmEntityFormView .stack-rank-cell .validator-text {
    color: #a94442;
}

@media screen and (-ms-high-contrast: active) {
    
    .navbar-default .navbar-toggler .navbar-toggler-icon {
        background-color: #888;
    }
    
    .navbar-dark .navbar-toggler .navbar-toggler-icon {
        background-color: #fff;
    }
}


.pr-color {
    color: #2f5fef;
}


.blue_border {
    padding-bottom: 10px;
    border-bottom: 7px solid #0b80d0;
}


.page_section {
    position: relative;
    background-size: cover;
    color: #000;
}

    .page_section .row {
        padding-top: 40px;
        padding-bottom: 100px;
    }

        .page_section .row.sidebar-home {
            padding-bottom: 0;
        }

    .page_section h1 {
        font-size: 32px;
    }

    .page_section h2 {
        color: #666666;
        font-size: 40px;
    }

    .page_section h3 {
        font-size: 66px;
        font-family: "Segoe UI Light", "Helvetica Neue", Helvetica, Arial, sans-serif;
    }

    .page_section p {
        padding-top: 5px;
    }

    .page_section .btn {
        margin-top: 50px;
    }

    .page_section .form-search .btn {
        padding: 4px 12px;
        margin-top: 1px;
    }

    .page_section .section-landing-heading p,
    .page_section .section-landing-sub-heading p {
        border-top: 0;
    }


.form-search .btn {
    border: 1px solid #ccc;
}


.form-search .btn-default:hover {
    border-color: #ccc;
}


.form-search .dropdown-submenu {
    right: -2px;
}


.form-search .dropdown-menu {
    margin-top: 0px;
}


.dropdown-search.dropdown-menu > li:hover {
    background-color: transparent;
}


#navbar .form-search .dropdown-menu {
    margin-top: 0px;
}


.section-diagonal-left {
    -webkit-transform: skew(0deg, -1.3deg);
    -ms-transform: skew(0deg, -1.3deg);
    transform: skew(0deg, -1.3deg);
    overflow: hidden;
    margin-top: -60px;
    margin-bottom: -20px;
}

    .section-diagonal-left .section-diagonal-left-content {
        -webkit-transform: skew(0deg, 1.3deg);
        -ms-transform: skew(0deg, 1.3deg);
        transform: skew(0deg, 1.3deg);
        background-size: cover;
        margin-top: -70px;
    }

        .section-diagonal-left .section-diagonal-left-content:before {
            content: "";
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            opacity: .2;
            z-index: -1;
            background-color: #fff;
        }


.section-diagonal-right {
    -webkit-transform: skew(0deg, 1.3deg);
    -ms-transform: skew(0deg, 1.3deg);
    transform: skew(0deg, 1.3deg);
    overflow: hidden;
    margin-top: 60px;
    margin-bottom: -20px;
}

    .section-diagonal-right.home-section {
        margin-top: -60px;
    }

    .section-diagonal-right .section-diagonal-right-content {
        -webkit-transform: skew(0deg, -1.3deg);
        -ms-transform: skew(0deg, -1.3deg);
        transform: skew(0deg, -1.3deg);
        background-size: cover;
        margin-top: -70px;
    }

        .section-diagonal-right .section-diagonal-right-content:before {
            content: "";
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            opacity: .8;
            z-index: -1;
            background-color: #2f5fef;
        }


    .section-diagonal-left .row,
    .section-diagonal-right .row {
        padding-top: 125px;
    }

    
    .section-diagonal-left .col-lg-5,
    .section-diagonal-right .col-lg-5 {
        float: none;
        margin: 0 auto;
    }


    .section-diagonal-left p,
    .section-diagonal-right p {
        border-top: none;
    }


.section-landing {
    background: linear-gradient(transparent, transparent);
    background-size: cover;
}

    .section-landing .row > div {
        margin-top: 80px;
    }

        .section-landing .row > div .section-landing-heading {
            font-size: 4rem;
            color: #fff;
        }

@media screen and (max-width: 600px) {

    .section-landing .row > div .section-landing-heading {
        font-size: 16vw;
    }
}

.section-landing .row > div .section-landing-sub-heading {
    margin-top: 0;
    margin-bottom: 50px;
    font-size: 1.5rem;
    color: #fff;
    font-weight: Semibold;
}

@media screen and (max-width: 600px) {

    .section-landing .row > div .section-landing-sub-heading {
        font-size: 4vw;
    }
}


.section-sub-landing {
    background-size: cover;
}


.section-default {
    background-size: cover;
}

@media screen and (max-width: 767px) {

    .section-default:before {
        content: " ";
        width: 100%;
        height: 100%;
        position: absolute;
        z-index: 0;
        top: 0;
        left: 0;
        background: -moz-linear-gradient(top, transparent 0%, rgba(0, 0, 0, 0.59) 41%, rgba(0, 0, 0, 0.62) 43%, black 100%);
        /* FF3.6-15 */
        background: -webkit-linear-gradient(top, transparent 0%, rgba(0, 0, 0, 0.59) 41%, rgba(0, 0, 0, 0.62) 43%, black 100%);
        /* Chrome10-25,Safari5.1-6 */
        background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.59) 41%, rgba(0, 0, 0, 0.62) 43%, black 100%);
        /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
        filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00000000', endColorstr='#000000',GradientType=0 );
        /* IE6-9 */
    }
}

.section-default .row {
    padding-bottom: 150px;
}


.section-knowledge {
    margin-bottom: 40px;
}


.content-home .btn {
    margin-top: 0;
}


.content-home .card {
    background-color: transparent;
    border: 0;
    box-shadow: none;
}
    
    .content-home .card p {
        border: 0;
    }


.content-home .card-header {
    display: none;
}


.content-home .list-group-item {
    padding: 20px 0;
    font-size: 20px;
    background-color: transparent;
    border: 0;
    border-top: 1px solid #ddd;
}

    .content-home .list-group-item img {
        margin-right: 25px;
    }


    .content-home a.list-group-item,
    .content-home .list-group-item a.title {
        color: #232222;
    }

        .content-home a.list-group-item:hover,
        .content-home a.list-group-item:focus,
        .content-home .list-group-item a.title:hover,
        .content-home .list-group-item a.title:focus {
            color: #232222;
            text-decoration: underline;
            background-color: transparent;
        }


.content-home .title,
.content-home .description {
    display: block;
}


.content-home .title {
    font-size: 24px;
    font-family: "Segoe UI Light", "Helvetica Neue", Helvetica, Arial, sans-serif;
}


.content-home .description {
    display: block;
    font-size: 14px;
}


.sidebar-home {
    background-color: #eeeeee;
    border-top: 7px solid #0b80d0;
    margin-top: 36px;
    position: relative;
}

    .sidebar-home h3 {
        font-size: 18px;
    }
    
    .sidebar-home .card {
        background-color: transparent;
        border: 0;
        box-shadow: none;
    }
    
    .sidebar-home .card-header {
        padding-left: 0;
        background-color: transparent;
        border: 0;
    }
    
    .sidebar-home .card-title {
        font-size: 14px;
        color: #2f5fef;
        font-family: "Segoe UI Semibold", "Helvetica Neue", Helvetica, Arial, sans-serif;
    }

    .sidebar-home .list-group-item {
        padding-left: 0;
        font-size: 14px;
        background-color: transparent;
        border: 0;
    }

        .sidebar-home .list-group-item:hover,
        .sidebar-home .list-group-item:focus {
            text-decoration: underline;
            background-color: transparent;
        }

        .sidebar-home .list-group-item .date {
            visibility: hidden;
        }


.section-landing-search {
    min-height: 250px;
    background: url(homehero.jpg) no-repeat 0 25%;
    background-size: cover;
}


.section-landing-forums {
    min-height: 250px;
    background-size: cover;
}


.section-knowledge .list-group a.list-group-item {
    color: #2f5fef;
}


.section-knowledge .card-title {
    color: #000;
}


.page_section.section-landing .row {
    padding-bottom: 60px;
}


    .page_section.section-landing .row > div {
        margin-top: 0px;
    }


ul.tree, ol.tree {
    color: #2f5fef;
}


.tree ul, .tree ol, .tree ul ul, .tree ol ul, .tree ol ol ul, .tree ol ul ul, .tree ul ol ul, .tree ul ul ul {
    list-style-type: disc;
    color: #2f5fef;
}

/* ADX_FORMS  */

.adx_forms_font_calibri {
    font-family: Calibri;
}


.adx_forms_font_new_roman {
    font-family: Times New Roman;
}


.adx_forms_font_helvetica {
    font-family: 'Helvetica', sans-serif;
}

/* Below changes are done to support DefaultPortalTemplate in maker */
html {
    font-family: sans-serif;
    -ms-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
    height: 100%;
    margin: 0;
}

.wrapper-body {
    min-height: calc(100% - 70px);
    margin-bottom: -115px;
}

.footer .push {
    height: 43px;
}

.footer {
    margin-top: 0px;
}

.page-copy {
    margin-top: 0px;
    margin-bottom: 0px;
}

.navbar-brand {
    line-height: 37px;
}

h1, h2, h3, h4, h5, h6 {
    color: unset;
}

body, legend {
    color: #000000;
}

.nav-tabs > li > a:hover, .nav-tabs > li > a:focus {
    background-color: #f2f2f2;
    color: #302CE1;
}

.btn-default {
    color: #302CE1;
    background-color: white;
    border-color: #302CE1;
}

.btn-default:hover,
.btn-default:active,
.btn-default.active,
.btn-default:focus,
.btn-default.focus {
    color: #302CE1;
    background-color: #f2f2f2;
    border-color: #302CE1;
}

.btn-primary {
    color: white;
    background-color: #302CE1;
    border-color: #302CE1;
}

.btn-primary:hover,
.btn-primary:active,
.btn-primary.active,
.btn-primary:active:hover,
.btn-primary.active:hover,
.btn-primary:active:focus,
.btn-primary.active:focus,
.btn-primary:active.focus,
.btn-primary.active.focus,
.btn-primary:focus,
.btn-primary.focus {
    color: white;
    background-color: #5c59e7;
    border-color: #5c59e7;
}

.navbar-dark .navbar-toggler {
    border: 1px solid #302CE1;
}

.navbar-dark .navbar-toggler:hover {
    background-color: #4642e4;
}

.navbar-dark .navbar-toggler:focus {
    border: 1px solid black;
    background-color: #4642e4;
}

.navbar-dark .navbar-nav .show.dropdown-menu {
    background-color: #302CE1;
}

.navbar-dark .navbar-nav .show.dropdown-menu > li > a {
    color: #fff;
}

.navbar-dark .navbar-nav a.dropdown-toggle.show
.navbar-dark .navbar-nav a.dropdown-toggle.show:hover,
.navbar-dark .navbar-nav a.dropdown-toggle.show:focus {
    background-color: #302CE1;
    color: #fff;
}

.navbar-dark .navbar-nav .show.dropdown-menu > li > a:hover,
.navbar-dark .navbar-nav .show.dropdown-menu > li > a:focus
.navbar-dark .navbar-nav .show.dropdown-menu > .active > a,
.navbar-dark .navbar-nav .show.dropdown-menu > .active > a:hover,
.navbar-dark .navbar-nav .show.dropdown-menu > .active > a:focus {
    background-color: #ffffff;
    color: #302CE1;
}

.nav > li > a:hover, .nav > li > a:focus {
    background-color: #f2f2f2;
}

.nav .show.dropdown-menu {
    background-color: #ffffff;
}

.nav .show.dropdown-menu > li > a {
    color: black;
}

.nav > .dropdown > a.show
.nav > .dropdown > a.show:hover,
.nav > .dropdown > a.show:focus {
    background-color: #f2f2f2;
}

.nav .show.dropdown-menu > .active > a,
.nav .show.dropdown-menu > .active > a:hover,
.nav .show.dropdown-menu > .active > a:focus,
.nav .show.dropdown-menu > li > a:hover,
.nav .show.dropdown-menu > li > a:focus {
    background-color: #f2f2f2;
    color: black;
}

#filterDropdownId > .dropdown-menu > li > a:focus {
	border: 1px solid;
}

#filterDropdownId > a:focus{
	border: 1px solid;
}

.crmEntityFormView, .entitylist {
    background-color: #ffffff;
    color: #000000;
    border: 1px solid #f2f2f2;
}

.sectionPrimaryColor {
    background-color: #302ce1;
    color: #ffffff;
}

.sectionPrimaryColor h1, .sectionPrimaryColor h2, .sectionPrimaryColor h3, .sectionPrimaryColor h4, .sectionPrimaryColor h5, .sectionPrimaryColor h6 {
    color: #ffffff;
}

.sectionPrimaryColor .crmEntityFormView h1,
.sectionPrimaryColor .crmEntityFormView h2,
.sectionPrimaryColor .crmEntityFormView h3,
.sectionPrimaryColor .crmEntityFormView h4,
.sectionPrimaryColor .crmEntityFormView h5,
.sectionPrimaryColor .crmEntityFormView h6 {
    color: #000000;
}

.sectionPrimaryColor .entitylist h1,
.sectionPrimaryColor .entitylist h2,
.sectionPrimaryColor .entitylist h3,
.sectionPrimaryColor .entitylist h4,
.sectionPrimaryColor .entitylist h5,
.sectionPrimaryColor .entitylist h6 {
    color: #000000;
}

.sectionFixedStyle {
    color: #000000;
}

a {
    color: #302ce1;
}

a:not(.btn) {
    text-decoration: underline;
}

[role="navigation"] a,
[role="contentinfo"] a,
.toolbar a,
a.list-group-item {
    text-decoration: none;
}

a:hover, a:focus {
    color: #302ce1;
    text-decoration: underline;
}

.breadcrumb > .active {
    color: #000000;
    font-weight: bold;
}

p {
    font-size: 16px
}

h1 {
    font-size: 36px;
    font-weight: bold;
    margin-left: 0px;
    margin-right: 0px;
}

h2 {
    font-size: 28px;
    font-weight: 600;
}

h3 {
    font-size: 24px;
    font-weight: 600;
}

.page-header {
    border-bottom: 0px;
}

.navbar-brand {
    padding: 8px
}

.static-top.navbar-dark .navbar-brand {
    font-size: 24px;
    font-weight: bold;
    font-family: unset;
}

.static-top.navbar-dark .navbar-brand a {
    color: black;
    text-decoration: none;
}
.help-block
{
    color:black;
}

.skip-to-content a 
{
    padding: 10px 20px;
    position: absolute;
    top:-43px;
    left:0px;
    color:#FFFFFF;
    border-radius: 2px;
    background:#742774;
    -webkit-transition: top 1s ease-out;
    transition: top 1s ease-out;
    z-index: 100;
    font-family: Segoe UI;
    font-size: 14px;
}

.skip-to-content a:focus 
{
    position:absolute;
    left:0px;
    top:0px;
    outline: none;
    color:#FFFFFF;
    -webkit-transition: top .1s ease-in;
    transition: top .1s ease-in;
}

@media screen and (-ms-high-contrast: active) {
    .nav-tabs>li.active>a, .nav-tabs>li.active>a:hover, .nav-tabs>li.active>a:focus
    {
     border-bottom: 0px ; 
    }
    
    .nav-tabs>li>a
    {  
     border: 0px;
    }

    .navbar-dark .navbar-nav .show.dropdown-menu > li > a:hover,
    .navbar-dark .navbar-nav .show.dropdown-menu > li > a:focus
    .navbar-dark .navbar-nav .show.dropdown-menu > .active > a,
    .navbar-dark .navbar-nav .show.dropdown-menu > .active > a:hover,
    .navbar-dark .navbar-nav .show.dropdown-menu > .active > a:focus {
        border: 1px solid;
    }

    .facet-list-group-item 
    {
        margin: 1px;
        border: 0px;
    }
}

.frenchAccessibilityLink{
    float: right;
    width: 297px;
    height: 24px;
    font-family: Segoe UI;
    font-size: 18px;
    line-height: 21px;
    text-decoration-line: underline;
    color: #2C33D8;
}


/* Power Virtual Agent styles */
.pva-floating-style {
  position: fixed;
  bottom: 0px;
  right: 0px;
  margin-right: 16px;
  margin-bottom: 18px;
  z-index: 9999;
}
/* Power Virtual Agent styles ends */

.visible-lg-block{
    display: flex !important;
    align-items: center;
}

/* Form control focus highlight */ 

.form-control:focus {
    border-color: #fff !important;
    outline: 0 !important;
    box-shadow: inset 0 1px 1px rgb(0 0 0 / 8%),0 0 8px rgb(255, 255, 255) !important;
}

/*Addition For BS 5*/

li.dropdown-submenu.dropdown {
  list-style: none;
}

.navbar-nav>li>a 
{
	padding:14px;
}

.navbar-dark .navbar-nav .show.dropdown-menu > li > a {
  display: block;
}

#navbar .dropdown-search.dropdown-menu {
  margin-top: 18px;
}

#navbar .dropdown-menu {
  margin-top: 12.5px;
}

.nav>li>a:hover, .nav>li>a:focus {
  text-decoration: none;
}

.list-group>.change-login-disabled-li {
  background-color: #eee;
  color: #666;
}

.pagination {
    padding-left: 0;
    margin: 21px 0;
    border-radius: 0;
}

.pagination>.active>a, .pagination>.active>a:hover, .pagination>.active>a:focus, .pagination>.active>span, .pagination>.active>span:hover, .pagination>.active>span:focus {
  color: #fff;
  background-color: #232222;
  cursor: default;
}

.pagination > li > a, .pagination > li > span {
  border: 0px;
  width: 40px;
  height: 40px;
  text-align: center;
  position: relative;
  float: left;
  padding: 6px 11px;
  line-height: 1.42857;
  color: #666;
}

.pagination > li > a:focus {
box-shadow: none;
outline: 5px auto -webkit-focus-ring-color;	
}

.pagination>.disabled>span, .pagination>.disabled>span:hover, .pagination>.disabled>span:focus, .pagination>.disabled>a, .pagination>.disabled>a:hover, .pagination>.disabled>a:focus {
  color: #777;
  background-color: #fff;
  border-color: #ddd;
  cursor: not-allowed;
}

.pagination>li:first-child>a, .pagination>li:first-child>span {
  margin-left: 0;
  border-bottom-left-radius: 0;
  border-top-left-radius: 0;
}

.search-pagination.text-center .pagination {
  justify-content: center!important;
}

.pagination>.disabled {
	border:none;
	padding: initial;
}

h1, .h1, h2, .h2, h3, .h3 {
  margin-top: 21px;
  margin-bottom: 10.5px;
}

h4,.h4,h5,.h5,h6,.h6 {
    margin-top: 10.5px;
    margin-bottom: 10.5px
}

/* Added to make the dropwdown-icon appear smaller which will be similar to V3 */
.nav-item .dropdown-toggle::after {
  border-top: 0.2em solid;
  border-right: 0.2em solid transparent;
  border-bottom: 0;
  border-left: 0.2em solid transparent;
}

/*Added to make checkboxes label font weight to normal as in V3*/
.form-check label {
  font-weight: normal;
}

.custom-container {
  flex-wrap: wrap !important;
}

.custom-sitetitle {
  text-wrap: wrap;
}

.custom-navbar-toggler {
  margin-left: auto;
}

a:not(.btn):hover {
  text-decoration: underline !important;
}

/*till here*/













/*PERSONALIZAÇÕES CLOUD TARGET*/
/* =========================================
   ESTILO ISOLADO: FORMULÁRIO POWER PAGES - AJUSTADO
   Aplica-se APENAS ao #custom-modern-form
   ========================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
    /* ========================
       CORES DA MARCA
       ======================== */
    --brand-color: #0027bd; 
    --secondary-color: #17e3cb;

    /* ========================
       FORMULÁRIOS
       ======================== */
    --input-bg: #f9fafb;
    --input-border: #e5e7eb;

    /* ========================
       MODAIS / POP-UPS
       ======================== */
    --modal-radius: 16px;

    --modal-shadow:
      0 20px 25px -5px rgba(0,0,0,.08),
      0 10px 10px -5px rgba(0,0,0,.04);

    --modal-header-bg: #f9fafb;
    --modal-border: #e5e7eb;
}

/* 1. CONTAINER PRINCIPAL */
#custom-modern-form {
    font-family: 'Inter', sans-serif !important;
    width: 100% !important;
    max-width: 97vw !important; 
    margin: 0 auto !important; 
    padding: 40px !important; 
    background-color: #ffffff !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    box-sizing: border-box !important;
}

#EntityFormView > div.tr{
    padding: 15px 10px 10px 25px !important; 
}

/* Limpeza de estilos nativos herdados */
#custom-modern-form .power-pages-form-container,
#custom-modern-form .crmEntityFormView,
#custom-modern-form .entity-form {
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
    width: 100% !important;
}

/* 2. INDICADOR DE PROGRESSO */
#custom-modern-form .progress-numeric {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    border: none !important;
    padding-bottom: 30px !important;
    margin-bottom: 20px !important;
    background: transparent !important;
    box-shadow: none !important;
    color: #6b7280 !important;
    font-size: 14px !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
}

#custom-modern-form .progress-numeric .number {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background-color: #17e3cb !important;
    color: #ffffff !important;
    width: 32px !important;
    height: 32px !important;
    border-radius: 50% !important;
    font-weight: 900 !important;
    font-size: 14px !important;
    box-shadow: 0 2px 5px rgba(0,39,189,0.3) !important;
    margin: 0 5px !important;
}

#custom-modern-form .progress-numeric .total {
    background-color: var(--brand-color) !important;
    color: #fff !important;
    font-weight: 500 !important;
    font-size: 14px !important;
    box-shadow: none !important;
    width: 32px !important;
    height: 32px !important;
    padding: 0 !important;
}

/* 3. COLUNAS E LAYOUT (CORREÇÃO DE EMPILHAMENTO E ALINHAMENTO) */

/* Container Flex para as colunas */
#custom-modern-form .tab {
    display: flex !important;
    flex-wrap: wrap !important;
    margin-right: -15px !important;
    margin-left: -15px !important;
    width: auto !important;
    align-items: flex-start !important;
}

#custom-modern-form .tab-column {
    float: none !important; 
    padding: 0 15px !important;
    box-sizing: border-box !important;
    /* A largura (33%, 50%, etc) é definida inline pelo Power Pages, o Flex respeita isso */
}

/* Reset total para garantir alinhamento superior perfeito */
#custom-modern-form fieldset,
#custom-modern-form table.section,
#custom-modern-form tr,
#custom-modern-form td {
    margin: 0 !important;
    padding-top: 0 !important;
    border: none !important;
    vertical-align: top !important; 
}

/* 4. ESPAÇAMENTO ENTRE PERGUNTAS */
#custom-modern-form td.cell {
    padding-bottom: 24px !important; 
    display: block !important;
    width: 100% !important;
}

/* Remove células vazias que o Power Pages gera */
#custom-modern-form td.zero-cell {
    display: none !important;
}

/* 5. INPUTS, SELECTS E LABELS */
#custom-modern-form label {
    font-size: 15px !important;
    font-weight: 600 !important;
    color: #374151 !important;
    margin-bottom: 6px !important;
    text-transform: none !important;
    display: block !important;
}

#custom-modern-form .description {
    font-size: 13px !important;
    color: #6b7280 !important;
    margin-bottom: 8px !important;
    line-height: 1.4 !important;
}

#custom-modern-form input.form-control,
#custom-modern-form input[type="text"],
#custom-modern-form input[type="number"],
#custom-modern-form select {
    background-color: var(--input-bg) !important;
    border: 1px solid var(--input-border) !important;
    border-radius: 8px !important;
    height: 48px !important; 
    padding: 10px 16px !important;
    font-size: 15px !important;
    color: #111 !important;
    box-shadow: none !important;
    width: 100% !important;
    box-sizing: border-box !important;
    transition: all 0.2s ease !important;
}

#custom-modern-form input:focus,
#custom-modern-form select:focus {
    background-color: #fff !important;
    border-color: var(--brand-color) !important;
    box-shadow: 0 0 0 3px rgba(0, 39, 189, 0.1) !important;
    outline: none !important;
}

/* Seta do Select */
#custom-modern-form select {
    appearance: none !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 12px center !important;
    background-size: 16px !important;
    padding-right: 40px !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 15px !important;
}

/* =========================================
   6. RADIO BUTTONS
   ========================================= */

/* Container Principal */
#custom-modern-form .boolean-radio, 
#custom-modern-form .checkbox, 
#custom-modern-form .radio {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important; 
    margin-top: 8px !important;
    border: none !important;
    outline: none !important;
    background: transparent !important;
}

/* Wrapper individual de cada opção (span que o ASP.NET gera) */
#custom-modern-form .boolean-radio > span,
#custom-modern-form .radio > span {
    position: relative !important; 
    display: flex !important;
    align-items: center !important;
    margin-bottom: 4px !important;
    border: none !important;
    outline: none !important;
}

/* O INPUT REAL*/

#custom-modern-form .boolean-radio input,
#custom-modern-form .radio input {
    position: absolute !important;
    opacity: 0 !important;
    width: 0 !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    z-index: -1 !important; 
    pointer-events: none !important; 
}

/* Remove a borda/foco padrão do navegador no input escondido */
#custom-modern-form .boolean-radio input:focus,
#custom-modern-form .radio input:focus,
#custom-modern-form .boolean-radio span:focus-within {
    outline: none !important;
    box-shadow: none !important;
    border: none !important;
}

/* LABEL 
*/
#custom-modern-form .boolean-radio label,
#custom-modern-form .radio label {
    position: relative !important;
    padding-left: 32px !important; 
    cursor: pointer !important;
    font-size: 15px !important;
    color: #374151 !important; 
    font-weight: 500 !important;
    line-height: 24px !important;
    display: inline-block !important;
    user-select: none !important;
    margin: 0 !important;
}

/* A BOLINHA*/
#custom-modern-form .boolean-radio label::before,
#custom-modern-form .radio label::before {
    content: "" !important;
    position: absolute !important;
    left: 0 !important;
    top: 50% !important;
    transform: translateY(-50%) !important; 
    
    width: 20px !important;
    height: 20px !important;
    
    background-color: #fff !important;
    border: 2px solid #d1d5db !important; 
    border-radius: 50% !important;
    box-sizing: border-box !important;
    transition: all 0.2s ease !important;
}

/* Hover suave na bolinha (UX) */
#custom-modern-form .boolean-radio label:hover::before,
#custom-modern-form .radio label:hover::before {
    border-color: var(--brand-color) !important;
}

/* Quando ESTIVER MARCADO: Muda a cor da borda */
#custom-modern-form input:checked + label::before {
    border-color: var(--brand-color) !important;
    background-color: #fff !important;
}

/* O PONTO INTERNO (Recheio) */
#custom-modern-form .boolean-radio label::after,
#custom-modern-form .radio label::after {
    content: "" !important;
    position: absolute !important;
    
    /* Centralização matemática */
    left: 5px !important; 
    top: 50% !important;
    transform: translateY(-50%) scale(0) !important; 
    
    width: 10px !important;
    height: 10px !important;
    
    border-radius: 50% !important;
    background-color: var(--brand-color) !important;
    
    transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important; 
}

/* Quando ESTIVER MARCADO: Mostra o ponto interno */
#custom-modern-form input:checked + label::after {
    transform: translateY(-50%) scale(1) !important; 
}

/* 7. BOTÃO DE AVANÇAR (Responsividade) */

/* Container do botão */
#custom-modern-form .actions {
    border: none !important;
    padding-top: 30px !important;
    margin: 0 !important;
    background: transparent !important;
    width: 100% !important;
    display: flex !important;
    position: relative !important;
    z-index: 5 !important;
    justify-content: flex-end !important; 
}

/* Reset do bootstrap col */
#custom-modern-form .actions .col-md-6 {
    width: auto !important;
    max-width: none !important;
    flex: none !important;
    padding: 0 !important;
    float: none !important;
    margin: 0 !important;
}

#custom-modern-form input[type="submit"],
#custom-modern-form input[type="button"],
#custom-modern-form .btn-primary {
    background-color: var(--brand-color) !important;
    color: #ffffff !important;
    width: auto !important;
    min-width: 180px !important;
    display: inline-block !important;
    padding: 14px 32px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    border-radius: 8px !important;
    border: none !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
}

#custom-modern-form input[type="submit"]:hover,
#custom-modern-form .btn-primary:hover {
    background-color: var(--secondary-color) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(23, 227, 203, 0.4) !important;
}

/* =========================================
   RESPONSIVIDADE (MOBILE)
   ========================================= */
@media (max-width: 768px) {

    #custom-modern-form .tab-column {
        width: 100% !important;
        padding: 0 !important;
    }

    /* Centraliza o botão no celular */
    #custom-modern-form .actions {
        justify-content: center !important;
    }

    #custom-modern-form input[type="submit"],
    #custom-modern-form .btn-primary {
        width: 100% !important; 
        max-width: 300px !important;
    }
}

/* 4. Garante que a primeira célula da tabela comece imediatamente */
#custom-modern-form table.section tr:first-child td {
    padding-top: 0 !important;
}

/* 5. (Opcional) Remove títulos de seção vazios que ocupam espaço */
#custom-modern-form .section-title {
    display: none !important; 
    margin: 0 !important;
    padding: 0 !important;
}


/* =========================================
   CORREÇÃO ESPECÍFICA: PRIMEIRA COLUNA DESCIDA
   ========================================= */

/* 1. Reset Geral - Mata a linha vermelha estranha */
#custom-modern-form #ValidationSummaryEntityFormView,
#custom-modern-form .validation-summary {
    padding: 20px !important; 
    margin-bottom: 30px !important;
    
    /* Cores e Bordas */
    background-color: rgb(254, 226, 226) !important;
    color: rgb(185, 28, 28) !important;
    border: 1px solid rgb(248, 113, 113) !important; 
    border-radius: 8px !important;
    
    /* Tipografia */
    font-family: 'Inter', sans-serif !important;
    font-size: 14px !important;
    line-height: 1.5 !important;

    /* IMPORTANTE: Não coloque 'display: block' aqui. 
       Deixe o Power Pages controlar o 'display' via script 
       para que a caixa suma quando não houver erros. */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

/* Melhorar a lista de erros dentro da caixa */
#ValidationSummaryEntityFormView ul {
    margin-top: 10px !important;
    margin-bottom: 0 !important;
    padding-left: 20px !important;
}

#ValidationSummaryEntityFormView li {
    margin-bottom: 5px !important; 
    color: rgb(185, 28, 28) !important;
}

/* Ajuste do cabeçalho da mensagem de erro (ícone e título) */
#ValidationSummaryEntityFormView h2.validation-header {
    font-size: 16px !important;
    font-weight: 600 !important;
    margin-top: 0 !important;
    margin-bottom: 10px !important;
    display: flex;
    align-items: center;
    gap: 8px; 
}

/* 2. Estilo Visual (Cores) - Só aplica quando o sistema tornar visível */
/* REMOVI o 'display: block' daqui para respeitar o controle do Power Pages */
#custom-modern-form #ValidationSummaryEntityFormView.alert-danger,
#custom-modern-form .validation-summary.alert-danger {
    background-color: #fee2e2 !important; 
    color: #b91c1c !important; 
    border-radius: 8px !important;
    
    /* Só adiciona borda e padding se o elemento estiver visível */
    font-size: 14px !important;
    line-height: 1.5 !important;
}

/* 3. Regra de Ouro: Se o sistema mostrar o box (display:block), adicionamos o respiro */
/* Isso evita que o padding crie um box vazio colorido */
#custom-modern-form #ValidationSummaryEntityFormView[style*="block"],
#custom-modern-form .validation-summary[style*="block"] {
    border: 1px solid #fecaca !important;
    padding: 15px !important;
    margin-bottom: 20px !important;
}

/* 4. Segurança Extra: Se estiver vazio, esconde na marra */
#custom-modern-form #ValidationSummaryEntityFormView:empty,
#custom-modern-form .validation-summary:empty {
    display: none !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* Forçar a cor vermelha especificamente nos links (mensagens de erro) */
#ValidationSummaryEntityFormView ul li a {
    color: rgb(185, 28, 28) !important;
    text-decoration: underline !important; 
}

/* Garantir que o título (H2) e o ícone também fiquem vermelhos */
#ValidationSummaryEntityFormView h2.validation-header,
#ValidationSummaryEntityFormView h2.validation-header span {
    color: rgb(185, 28, 28) !important;
}

/* Efeito hover: escurecer um pouco quando passar o mouse */
#ValidationSummaryEntityFormView ul li a:hover {
    color: rgb(127, 29, 29) !important; 
    text-decoration: none !important;
}



/* 2. O GRANDE VILÃO: Remove a primeira linha vazia da tabela */
/* O Power Pages cria linhas vazias (spacers) que empurram o conteúdo */
#custom-modern-form .tab-column:first-child table.section tr:first-child td {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    line-height: 20.4px !important;
    height: 28.4px !important;
    border: none !important;
}

/* Se a célula estiver realmente vazia, esconde ela totalmente */
#custom-modern-form .tab-column:first-child table.section tr:first-child td:empty {
    display: none !important;
}



/* --- ESTILIZAÇÃO DE CAMPOS E BOTÕES (LOOKUP & DATA) --- */

/* 3. Container do Botão */
.control .input-group .input-group-append,
.control .input-group .input-group-btn {
    display: flex !important;
    margin: 0 !important;
}

/* 1. Container Flex: Alinha campo e botões na mesma linha */
.control .input-group {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: stretch !important; /* Garante mesma altura */
    width: 100% !important;
    position: relative !important;
}

/* 2. O Campo de Texto (Input) */
.control .input-group input.form-control {
    flex: 1 1 auto !important; 
    width: 1% !important; 
    margin-right: 5px !important; 
    border-radius: 5px !important;
    height: auto !important;
    min-height: 38px !important;
    order: 1 !important;
    max-width: calc(100% - 52px) !important;
}

.control .input-group:has(.clearlookupfield) input.form-control {
    max-width: calc(100% - 105px) !important;
}

/* 3. Estilo Unificado dos Botões (Lookup Search, Lookup Clear, Datepicker) */
.control .input-group .btn,
.control .input-group .input-group-addon {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    
    /* Proporção 1:1 (Quadrado) */
    width: 45px !important;
    aspect-ratio: 1 / 1 !important;
    height: auto !important;
    
    /* Margens e Paddings zerados para o alinhamento funcionar */
    margin: 0 !important;
    padding: 0 !important;
    
    /* IDENTIDADE VISUAL */
    border-radius: 5px !important;
    border: 1px solid #001c8a !important; 
    background-color: var(--brand-color) !important;
    color: #fff !important;
    cursor: pointer !important;
    order: 2 !important;
}

/* Ajuste específico para quando houver DOIS botões (Ex: Limpar + Pesquisar no Lookup) */
.control .input-group .clearlookupfield {
    margin-right: 5px !important;
}

/* 4. Centralização e Reset dos Ícones */
.control .input-group .btn span,
.control .input-group .btn .fa,
.control .input-group .input-group-addon span,
.control .input-group .input-group-addon .fa {
    display: inline-block !important;
    line-height: 1 !important;
    font-size: 16px !important;
    margin: 0 !important;
    padding: 0 !important;
    top: 0 !important;
    position: static !important;
    transform: none !important;
}

/* 5. Ajustes cosméticos para remover bordas duplas ou fantasmas */
.control .input-group-btn {
    width: auto !important;
    display: flex !important;
}

/* Remove a borda extra que o Dynamics as vezes coloca no ícone de calendário */
.iconBorder {
    border: none !important;
}

/* --- NOVO: ESTILO DA MENSAGEM DE ERRO --- */
/* Isso força o erro a ir para baixo e ocupar a linha toda */
.control .input-group .invalid-feedback {
    display: block !important;
    width: 100% !important;     
    flex-basis: 100% !important; 
    order: 3 !important;
    margin-top: 5px !important;
    color: #dc3545;
    font-size: 0.875rem;
}


/* --- CORREÇÃO 2: Redimensionamento apenas vertical --- */
textarea, 
textarea.form-control {
    resize: vertical !important;
}


/* --- CORREÇÃO DO FOCO NO TEXTAREA --- */

/* Aplica o estilo de foco padrão do Bootstrap/Portal */
textarea.form-control:focus {
    border-color: var(--brand-color) !important;
    background-color: #fff !important;
    outline: 0 !important;
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102, 175, 233, .6) !important;
    transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s !important;
}

/* Aplica o estilo de foco padrão do Bootstrap/Portal */
textarea.form-control {
    background-color: var(--input-bg) !important; 
    border-color: var(--input-border);
}

/* --- TEXTAREA COM ALTURA DE INPUT (RESPONSIVO) --- */

div .control textarea.form-control {
    min-height: 48px !important;
    padding: 10px 16px !important;
    overflow: auto !important;
}

/* Remove sublinhado do link no logo/título */
.navbar-brand a {
    text-decoration: none !important;
    color: inherit !important; 
}

/* Garante que não apareça nem quando passar o mouse */
.navbar-brand a:hover, 
.navbar-brand a:focus {
    text-decoration: none !important;
    color: inherit !important;
}



/* MAYCO EDITS:

/* ======================================================
   MODAL EDITAR 
   ====================================================== */

/* 1. Container raiz do formulário do modal */
.entity-form {
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
    width: 100% !important;
}
.crmEntityFormView,
#EntityFormView {
    background-color: #ffffff !important;
    border-radius: var(--modal-radius, 16px) !important;
    padding: 32px !important;
    margin: 0 auto !important;
    box-shadow: none !important;
    max-width: 100% !important;
}

/* 2. Remove caixas internas apenas DENTRO do form */
.entity-form table.section,
.crmEntityFormView table.section,
#EntityFormView table.section {
    background: transparent !important;
    border: none !important;
}

/* 3. Título "Editar registro" – escopado */
.entity-form h1,
.entity-form h2,
.crmEntityFormView h1,
.crmEntityFormView h2,
#EntityFormView h1,
#EntityFormView h2 {
    background: none !important;
    padding: 0 !important;
    margin: 0 0 24px 0 !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 24px !important;
    font-weight: 700 !important;
    color: #1f2937 !important;
}

/* 4. Espaçamento entre campos – só no modal */
.entity-form td.cell,
.crmEntityFormView td.cell,
#EntityFormView td.cell {
    padding-bottom: 20px !important;
}

/* 5. Botão salvar – apenas dentro do modal */
.entity-form input[type="submit"],
.crmEntityFormView input[type="submit"],
#EntityFormView input[type="submit"],
.entity-form .btn-primary,
.crmEntityFormView .btn-primary,
#EntityFormView .btn-primary {
    background-color: var(--brand-color) !important;
    color: #ffffff !important;
    width: auto !important;
    min-width: 180px !important;
    display: inline-block !important;
    padding: 14px 32px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    border-radius: 8px !important;
    border: none !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
}
/* Hover */
.entity-form input[type="submit"]:hover,
.crmEntityFormView input[type="submit"]:hover,
#EntityFormView input[type="submit"]:hover,
.entity-form .btn-primary:hover,
.crmEntityFormView .btn-primary:hover,
#EntityFormView .btn-primary:hover {
    background-color: var(--secondary-color) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(23, 227, 203, 0.4) !important;
}

/* 6. Remove headers duplicados APENAS no modal */
.entity-form .page-header,
.crmEntityFormView .page-header,
#EntityFormView .page-header,
.entity-form .form-header,
.crmEntityFormView .form-header,
#EntityFormView .form-header {
    display: none !important;
}


.entity-form input.form-control,
.entity-form input[type="text"],
.entity-form input[type="number"],
.entity-form select {
    background-color: var(--input-bg) !important;
    border: 1px solid var(--input-border) !important;
    border-radius: 8px !important;
    height: 48px !important; 
    padding: 10px 16px !important;
    font-size: 15px !important;
    color: #111 !important;
    box-shadow: none !important;
    width: 100% !important;
    box-sizing: border-box !important;
    transition: all 0.2s ease !important;
}


.entity-form input:focus,
.entity-form select:focus {
    background-color: #fff !important;
    border-color: var(--brand-color) !important;
    box-shadow: 0 0 0 3px rgba(0, 39, 189, 0.1) !important;
    outline: none !important;
}

/* Seta do Select */
.entity-form select {
    appearance: none !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 12px center !important;
    background-size: 16px !important;
    padding-right: 40px !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 15px !important;
}

/* ======================================================
   POWER PAGES – MODAL FLUENT UI (Editar registro)
   ====================================================== */

/* 1) OVERLAY / FUNDO (cinza escuro elegante) */
#fluent-default-layer-host .ms-Layer.ms-Layer--fixed {
  background: rgba(17, 24, 39, 0.55) !important;
}

/* 2) CAIXA DO MODAL (arredondado + sombra + largura) */
#fluent-default-layer-host .ms-Dialog-main {
  border-radius: 18px !important;
  overflow: hidden !important; 
  background: #ffffff !important;
  border: 1px solid #e5e7eb !important;
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.35) !important;
  width: min(980px, calc(100vw - 24px)) !important;
  max-width: 980px !important;
}

/* 3) CONTEÚDO SCROLLÁVEL (remove padding gigante e controla altura) */
#fluent-default-layer-host .ms-Modal-scrollableContent {
  padding: 0 !important;
  background: #ffffff !important;
}

/* 4) HEADER (título + alinhamento, igual ao modelo) */
#fluent-default-layer-host #modalTitle {
  margin: 0 !important;
  padding: 22px 24px !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 28px !important;
  font-weight: 800 !important;
  color: #1f2937 !important;
  border-bottom: 1px solid #e5e7eb !important;
}

/* 5) BOTÃO X (círculo, moderno, hover) */

#fluent-default-layer-host button.ms-Button.ms-Button--icon[title="Close"] {
  position: absolute !important;
  top: 14px !important;
  right: 14px !important;
  width: 36px !important;
  height: 36px !important;
  border-radius: 999px !important;
  background: #f3f4f6 !important;
  border: 1px solid #e5e7eb !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: transform .15s ease, background-color .15s ease, border-color .15s ease !important;
}

/* Ícone dentro do botão */
#fluent-default-layer-host button.ms-Button.ms-Button--icon[title="Close"] i {
  color: #374151 !important;
  font-size: 16px !important;
}

/* Hover do X */
#fluent-default-layer-host button.ms-Button.ms-Button--icon[title="Close"]:hover {
  background: #e5e7eb !important;
  border-color: #d1d5db !important;
  transform: scale(1.05) !important;
}

/* 6) ÁREA DO FORM (cria “card” interno igual ao modelo) */
#fluent-default-layer-host .ms-Dialog-main .entity-form,
#fluent-default-layer-host .ms-Dialog-main .crmEntityFormView,
#fluent-default-layer-host .ms-Dialog-main #EntityFormView {
  background: #ffffff !important;
  margin: 22px auto 26px !important;
  padding: 24px !important;

  width: min(720px, calc(100% - 48px)) !important;
  border-radius: 14px !important;
  border: 1px solid #eef2f7 !important;
  box-shadow: 0 10px 20px rgba(0,0,0,0.06) !important;
}

/* 7) INPUTS dentro do modal (para ficar igual ao seu design system) */
#fluent-default-layer-host .ms-Dialog-main input.form-control,
#fluent-default-layer-host .ms-Dialog-main input[type="text"],
#fluent-default-layer-host .ms-Dialog-main input[type="number"],
#fluent-default-layer-host .ms-Dialog-main select {
  background-color: var(--input-bg) !important;
  border: 1px solid var(--input-border) !important;
  border-radius: 8px !important;
  height: 48px !important;
  padding: 10px 16px !important;
  font-size: 15px !important;
  box-shadow: none !important;
}

/* 8) BOTÃO SALVAR (mesmo padrão do seu form) */
#fluent-default-layer-host .ms-Dialog-main input[type="submit"],
#fluent-default-layer-host .ms-Dialog-main .btn-primary {
  background-color: var(--brand-color) !important;
  color: #fff !important;
  border-radius: 10px !important;
  padding: 12px 26px !important;
  font-weight: 700 !important;
  border: none !important;
  box-shadow: 0 10px 18px rgba(0,0,0,0.12) !important;
}

/* Hover */
#fluent-default-layer-host .ms-Dialog-main input[type="submit"]:hover,
#fluent-default-layer-host .ms-Dialog-main .btn-primary:hover {
  background-color: var(--secondary-color) !important;
  transform: translateY(-1px) !important;
}

/* 9) Remove espaços “fantasmas” das tabelas padrão do portal */
#fluent-default-layer-host .ms-Dialog-main table.section,
#fluent-default-layer-host .ms-Dialog-main tr,
#fluent-default-layer-host .ms-Dialog-main td {
  border: none !important;
}

/* ======================================================
   BACKDROP FULLSCREEN REAL – MODAL FLUENT UI
   ====================================================== */

/* Cria o fundo escuro NA PÁGINA, não no Fluent */
body:has(#fluent-default-layer-host .ms-Modal.is-open)::before {
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(17, 24, 39, 0.55);
  backdrop-filter: blur(2px);
  z-index: 99999;
}

/* Garante que o modal fique acima do backdrop */
#fluent-default-layer-host {
  position: fixed !important;
  z-index: 100000 !important;
}

/* Evita scroll da página atrás */
body:has(#fluent-default-layer-host .ms-Modal.is-open) {
  overflow: hidden !important;
}

/* ======================================================
   7. CUSTOMIZAÇÃO DO CAMPO DE ANEXOS
   ====================================================== */

/* --- 1. AJUSTE DE ESPAÇAMENTO EXTERNO --- */
#custom-modern-form .tr {
    display: flex !important;
    flex-direction: column !important;
    padding-bottom: 24px !important;
    padding-top: 0 !important;
    margin-top: 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

#custom-modern-form .file-cell {
    padding: 0 !important;
    border: none !important;
    width: 100% !important;
    margin: 0 !important;
}

/* --- 2. TEXTOS E LABELS --- */
#custom-modern-form .file-cell .table-info {
    display: flex !important;
    flex-direction: column !important;
    margin-bottom: 12px !important;
    color: #6b7280 !important;
    font-size: 13px !important;
    line-height: 1.5 !important;
    background: transparent !important;
}

#custom-modern-form .file-cell .table-info label {
    font-size: 15px !important;
    font-weight: 600 !important;
    color: #374151 !important;
    margin-bottom: 4px !important;
    text-transform: none !important;
}

/* --- 3. ÁREA DE UPLOAD (DROPZONE) --- */
#custom-modern-form .buttonForFileUpload {
    width: 100% !important;
    display: block !important;
}

#custom-modern-form #UploadButton {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 12px !important;
    width: 100% !important;
    min-height: 110px !important; 
    padding: 24px !important;
    background-color: #f8fafc !important; 
    border: 2px dashed #cbd5e1 !important;
    border-radius: 12px !important;
    color: var(--brand-color) !important;
    font-family: 'Inter', sans-serif !important;
    font-weight: 600 !important;
    font-size: 15px !important;
    text-transform: none !important;
    box-shadow: none !important;
    transition: all 0.2s ease !important;
}

/* Ícone da seta */
#custom-modern-form #UploadButton .fa {
    font-size: 28px !important;
    color: var(--brand-color) !important;
    opacity: 0.8 !important;
    margin: 0 !important;
}

/* Hover */
#custom-modern-form #UploadButton:hover {
    background-color: #eff6ff !important;
    border-color: var(--brand-color) !important;
    transform: translateY(-2px) !important;
}

/* --- 4. CORREÇÃO DOS ERROS (ERROR DIV) --- */
#custom-modern-form .errordiv {
    display: none !important; 
    margin-top: 10px !important;
    padding: 12px !important;
    border-radius: 8px !important;
    font-size: 13px !important;
    background-color: #fee2e2 !important;
    color: #b91c1c !important;
    border: 1px solid #fecaca !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

/* Só mostra se o Power Pages injetar 'display: block' inline OU remover o 'display: none' */
#custom-modern-form .errordiv[style*="block"],
#custom-modern-form .errordiv:not([style*="none"]) {
    display: flex !important;
    align-items: center !important;
}

/* --- 5. LISTA DE ARQUIVOS (CARDS) --- */
/* O Card de cada arquivo */
#custom-modern-form .file-info .custom-button,
#custom-modern-form .file-info div[class*="custom-button"] {
    height: 55px !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05) !important;
    border-radius: 8px !important;
    background-color: #ffffff !important;
    border: 1px solid #e5e7eb !important;
    transition: border-color 0.2s ease !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
}

#custom-modern-form .file-info .custom-button:hover {
    border-color: var(--brand-color) !important;
    background-color: #f9fafb !important;
}

/* Texto do nome do arquivo */
#custom-modern-form .filename {
    font-family: 'Inter', sans-serif !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    color: #374151 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    max-width: 220px !important;

    /* 1. Reseta margens que empurram o texto */
    margin: 5px !important;
    padding: 0 !important;
    
    /* 2. Ajusta a altura da linha para ficar "justa" ao texto */
    line-height: 1.2 !important;
}

#custom-modern-form .progress-bar {
    background-color: var(--brand-color) !important;
}


/*
PERONSALIZANDO ERRO DE LIMITE DE ARQUIVOS ATINGIDO - CAMPO DE ANEXOS DO FORM FSA
*/

/* 2. O Card do Modal (Container Principal) */
#ModalToShowErrorForFileLimit .modal-content {
    border: none !important;
    border-radius: 16px !important; 
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04) !important;
    background-color: #ffffff !important;
    padding: 0 !important;
    overflow: hidden !important;
}

/* 3. Cabeçalho (Header) */
#ModalToShowErrorForFileLimit .modal-header {
    background-color: #fff !important;
    border-bottom: 1px solid #f3f4f6 !important;
    padding: 24px 24px 16px 24px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
}

/* Título "Limite de upload..." */
#ModalToShowErrorForFileLimit .modal-title {
    font-family: 'Inter', sans-serif !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #1f2937 !important; 
    margin: 0 !important;
    line-height: 1.4 !important;
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
}

/* Adiciona um ícone de alerta visual via CSS antes do texto */
#ModalToShowErrorForFileLimit .modal-title::before {
    content: "⚠️";
    font-size: 20px !important;
}

/* 4. Botão de Fechar (X) no topo direito */
#ModalToShowErrorForFileLimit .close {
    position: absolute !important;
    top: 20px !important;
    right: 20px !important;
    width: 32px !important;
    height: 32px !important;
    border-radius: 50% !important;
    background-color: #f3f4f6 !important;
    opacity: 1 !important;
    border: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    
    transition: all 0.2s ease !important;
    float: none !important; 
}

#ModalToShowErrorForFileLimit .close span {
    font-size: 20px !important;
    color: #6b7280 !important;
    line-height: 1 !important;
    padding-bottom: 2px !important; /* Ajuste fino ótico */
}

#ModalToShowErrorForFileLimit .close:hover {
    background-color: #e5e7eb !important;
    transform: rotate(90deg) !important; /* Efeito giratório no hover */
}

/* 5. Corpo do Texto (Mensagem) */
#ModalToShowErrorForFileLimit .modal-body {
    padding: 16px 24px 24px 24px !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 15px !important;
    line-height: 1.6 !important;
    color: #4b5563 !important; /* Cinza médio legível */
}

#ModalToShowErrorForFileLimit .modal-content {
    padding: 10px 10px 25px 10px !important;
    border-radius: 20px !important; /* Arredondamento */
    overflow: hidden !important;    /* O SEGREDO: Corta as pontas quadradas dos filhos */
    border: none !important;        /* Remove borda padrão se houver */
}

#ModalToShowErrorForFileLimit .modal-dialog {
    background: transparent !important;
}

/* =====================================================
   BOTÃO EXCLUIR – MODAL FLUENT (Power Pages)
   Mesmo estilo do botão SALVAR
   ===================================================== */

/* Botão Excluir */
.ms-Dialog button.ms-Button--primary[name="Excluir"] {
    background-color: var(--brand-color) !important;
    color: #ffffff !important;
    width: auto !important;
    min-width: 180px !important;
    display: inline-block !important;
    padding: 14px 32px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    border-radius: 8px !important;
    border: none !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    box-shadow: none !important;
}

/* Hover */
.ms-Dialog button.ms-Button--primary[name="Excluir"]:hover {
    background-color: var(--secondary-color) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(23, 227, 203, 0.4) !important;
}

/* Active (clique) */
.ms-Dialog button.ms-Button--primary[name="Excluir"]:active {
    transform: translateY(0) !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2) !important;
}

/* Focus (acessibilidade) */
.ms-Dialog button.ms-Button--primary[name="Excluir"]:focus {
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(23, 227, 203, 0.35) !important;
}
/* =====================================================
   BOTÃO CANCELAR – MODAL FLUENT (Power Pages)
   Mesmo tamanho e borda do botão EXCLUIR
   ===================================================== */

.ms-Dialog button.ms-Button--default[name="Cancelar"] {
    background-color: transparent !important;
    color: var(--brand-color) !important;

    width: auto !important;
    min-width: 180px !important;
    display: inline-block !important;

    padding: 14px 32px !important;
    font-size: 16px !important;
    font-weight: 600 !important;

    border-radius: 8px !important;
    border: 2px solid var(--brand-color) !important;

    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;

    cursor: pointer !important;
    transition: all 0.3s ease !important;
}

/* Hover */
.ms-Dialog button.ms-Button--default[name="Cancelar"]:hover {
    background-color: rgba(0, 39, 189, 0.08) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(0, 39, 189, 0.2) !important;
}

/* Active */
.ms-Dialog button.ms-Button--default[name="Cancelar"]:active {
    transform: translateY(0) !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15) !important;
}

/* Focus (acessibilidade) */
.ms-Dialog button.ms-Button--default[name="Cancelar"]:focus {
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(0, 39, 189, 0.3) !important;
}




/* =====================================================
   BOTÃO EXCLUIR – MODAL FLUENT (Power Pages)
   Mesmo estilo do botão SALVAR
   ===================================================== */

/* Botão Excluir */
.ms-Dialog button.ms-Button--primary[name="Desativar"] {
    background-color: var(--brand-color) !important;
    color: #ffffff !important;
    width: auto !important;
    min-width: 180px !important;
    display: inline-block !important;
    padding: 14px 32px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    border-radius: 8px !important;
    border: none !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    box-shadow: none !important;
}

/* Hover */
.ms-Dialog button.ms-Button--primary[name="Desativar"]:hover {
    background-color: var(--secondary-color) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(23, 227, 203, 0.4) !important;
}

/* Active (clique) */
.ms-Dialog button.ms-Button--primary[name="Desativar"]:active {
    transform: translateY(0) !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2) !important;
}

/* Focus (acessibilidade) */
.ms-Dialog button.ms-Button--primary[name="Desativar"]:focus {
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(23, 227, 203, 0.35) !important;
}

/* ======================================================
   AJUSTES FINOS – MODAL EDITAR REGISTRO
   ====================================================== */

/* 4. AJUSTAR HEADER (TÍTULO) */
.ms-Dialog-title {
    margin: 0 !important;
    padding: 0px 5px 0px 5px !important;
    border: none;
    font-size: 22px !important;
    font-weight: 700 !important;
}

/* 5. FORM OCUPANDO TODA A LARGURA (SEM COLUNAS VAZIAS) */
.entity-form,
.crmEntityFormView,
#EntityFormView {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0px 0px 0px 0px !important;
    border: none !important;
    box-shadow: none !important;
    background: transparent !important;
}

/* ======================================================
   MODAL POP-UP – CONTAINER INTERNO 100%
   Atua dentro do iframe
   ====================================================== */
   #content-container,
#content
 {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

/* Container raiz do conteúdo */
#content-container.container.wrapper-body {
    width: 100% !important;
    max-width: 100% !important;     /* remove limite Bootstrap */
    min-width: 100% !important;

    margin: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;

    box-sizing: border-box !important;
}

/* Remove limitação do Bootstrap */
#content-container.container {
    max-width: 100% !important;
}

/* Remove gutters do Bootstrap */
#content-container .row {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

#content-container [class^="col-"],
#content-container [class*=" col-"] {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* Garante que o body do iframe use toda a largura */
html, body {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
}

/* ======================================================
   REMOVER SOMENTE A LINHA ACIMA DO FORM (SEGURO)
   ====================================================== */

/* Remove o Stack vazio imediatamente antes do iframe */
.ms-Dialog-main .ms-Stack + .ms-Stack iframe {
    margin-top: 0 !important;
}



/* ======================================================
   MODAL + FORM COM ALTURA SINCRONIZADA
   ====================================================== */

/* 1. MODAL – define a altura base */
#ModalFocusTrapZone6.ms-Dialog-main {
    width: 80% !important;
    max-width: 880px !important;
    min-width: 600px !important;

    height: auto !important;
    min-height: 420px !important;
    max-height: 85vh !important;

    margin: 32px auto !important;
    border-radius: 16px !important;
}


/* 3. STACKS INTERNOS (FLUENT) */
.ms-Dialog-main .ms-Stack {
    height: 100% !important;
}

/* 4. IFRAME DO FORM */
.ms-Dialog-main iframe {
    height: 100% !important;
    min-height: 520px !important;
    width: 100% !important;
    border: none !important;
}

/* ======================================================
   DENTRO DO IFRAME – FORM OCUPA TODA A ALTURA
   ====================================================== */

html, body {
    height: 100% !important;
}

#content-container.container.wrapper-body {
    height: 100% !important;
    min-height: 100% !important;

    width: 100% !important;
    max-width: 100% !important;

    margin: 0 !important;
    padding: 0 !important;
}

/* FORM */
#content-container form,
.crmEntityFormView,
.entity-form {
    height: 100% !important;
    min-height: 100% !important;
    box-sizing: border-box !important;
}

/* CONTEÚDO DO FORM (padding real) */
#content-container form {
    padding: 24px !important;
}




/* ======================================================
   REMOVER DEFINITIVAMENTE A LINHA SUPERIOR DO MODAL
   ====================================================== */

/* Header do Dialog */
#ModalFocusTrapZone6 .ms-Dialog-header {
    border-bottom: none !important;
    box-shadow: none !important;
}

/* Título */
#ModalFocusTrapZone6 .ms-Dialog-title {
    border-bottom: none !important;
}

/* Pseudo-elementos que criam linha */
#ModalFocusTrapZone6 .ms-Dialog-inner::before,
#ModalFocusTrapZone6 .ms-Dialog-inner::after,
#ModalFocusTrapZone6::before,
#ModalFocusTrapZone6::after {
    display: none !important;
    content: none !important;
}

/* ======================================================
   HEADER DO MODAL – LINHA INVISÍVEL (SEM REMOVER ESPAÇO)
   ====================================================== */

/* Remove apenas o divisor visual */
#ModalFocusTrapZone6 .ms-Dialog-header {
    border-bottom-color: transparent !important;
    border-bottom-width: 1px !important; /* mantém o espaço */
    box-shadow: none !important;
}

/* Segurança: pseudo-elementos do Fluent */
#ModalFocusTrapZone6 .ms-Dialog-header::after,
#ModalFocusTrapZone6 .ms-Dialog-inner::after,
#ModalFocusTrapZone6 .ms-Dialog-inner::before {
    background: transparent !important;
    box-shadow: none !important;
    content: "" !important;
}

/* =========================================
   LIST VIEW – FORÇAR SCROLL HORIZONTAL
   ========================================= */

/* Container do grid */
.pages-grid,
.pages-grid .table-responsive,
.pages-grid table {
    display: block;
    width: 100%;
}

/* Área que controla o scroll */
.pages-grid .table-responsive {
    overflow-x: auto !important;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
}

/* Evita quebra de colunas */
.pages-grid table {
    white-space: nowrap;
    min-width: 1200px; /* ajuste conforme necessidade */
}
/* ======================================================
   FORMULÁRIO DE LOGIN – PADRÃO AEGIA (Power Pages)
   ====================================================== */

/* Container do form de login */
.portal-form {
    max-width: 820px !important;
    margin: 40px auto !important;
    padding: 32px !important;

    background: #ffffff !important;
    border-radius: 16px !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08) !important;
}

/* Título */
.portal-form h2,
.portal-form h3 {
    font-size: 22px !important;
    font-weight: 700 !important;
    margin-bottom: 24px !important;
    color: #1f2937 !important;
}

/* Labels */
.portal-form label {
    font-weight: 600 !important;
    font-size: 14px !important;
    margin-bottom: 6px !important;
    color: #374151 !important;
}

/* Inputs */
.portal-form input[type="text"],
.portal-form input[type="password"],
.portal-form input[type="email"] {
    width: 100% !important;
    height: 48px !important;

    padding: 10px 16px !important;
    font-size: 15px !important;

    background-color: var(--input-bg, #f9fafb) !important;
    border: 1px solid var(--input-border, #e5e7eb) !important;
    border-radius: 8px !important;

    box-shadow: none !important;
}

/* Focus */
.portal-form input:focus {
    outline: none !important;
    border-color: var(--brand-color) !important;
    box-shadow: 0 0 0 3px rgba(0, 39, 189, 0.12) !important;
}

/* Checkbox */
.portal-form input[type="checkbox"] {
    margin-right: 6px !important;
}

/* ======================================================
   BOTÕES – PADRÃO DO MODAL
   ====================================================== */

/* Botão Entrar */
.portal-form input[type="submit"],
.portal-form button[type="submit"] {
    background-color: var(--brand-color) !important;
    color: #ffffff !important;

    min-width: 160px !important;
    padding: 14px 32px !important;

    font-size: 16px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;

    border-radius: 8px !important;
    border: none !important;

    cursor: pointer !important;
    transition: all 0.3s ease !important;
}

/* Hover */
.portal-form input[type="submit"]:hover,
.portal-form button[type="submit"]:hover {
    background-color: var(--secondary-color) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(23, 227, 203, 0.4) !important;
}

/* Links (Esqueceu senha / Registrar) */
.portal-form a {
    font-size: 14px !important;
    color: var(--brand-color) !important;
    font-weight: 500 !important;
}

.portal-form a:hover {
    text-decoration: underline !important;
}
/* ======================================================
   LOGIN – LABEL ACIMA DO INPUT
   ====================================================== */

/* Cada linha do formulário vira coluna */
#content-container .portal-form .row {
    display: flex !important;
    flex-direction: column !important;
}

/* Label */
#content-container .portal-form label {
    display: block !important;
    width: 100% !important;
    margin-bottom: 6px !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    color: #1f2937 !important;
}

/* Campo de input */
#content-container .portal-form input[type="text"],
#content-container .portal-form input[type="password"] {
    width: 100% !important;
    max-width: 100% !important;
}
/* ======================================================
   INPUTS – PADRÃO VISUAL
   ====================================================== */

#content-container .portal-form input[type="text"],
#content-container .portal-form input[type="password"] {
    height: 48px !important;
    padding: 10px 16px !important;
    font-size: 15px !important;

    border-radius: 8px !important;
    border: 1px solid #e5e7eb !important;

    background-color: #f9fafb !important;
    box-shadow: none !important;
    transition: all 0.2s ease !important;
}

#content-container .portal-form input:focus {
    background-color: #ffffff !important;
    border-color: var(--brand-color) !important;
    box-shadow: 0 0 0 3px rgba(0, 39, 189, 0.12) !important;
    outline: none !important;
}
/* ======================================================
   BOTÕES – PADRÃO POWER PAGES (LOGIN)
   ====================================================== */

#content-container .portal-form button,
#content-container .portal-form .btn-primary {
    background-color: var(--brand-color) !important;
    color: #ffffff !important;

    padding: 14px 32px !important;
    min-width: 180px !important;

    font-size: 16px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;

    border-radius: 10px !important;
    border: none !important;

    cursor: pointer !important;
    transition: all 0.3s ease !important;
}

/* Hover */
#content-container .portal-form button:hover,
#content-container .portal-form .btn-primary:hover {
    background-color: var(--secondary-color) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(23, 227, 203, 0.4) !important;
}

/* Active */
#content-container .portal-form button:active {
    transform: translateY(0) !important;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2) !important;
}

/* Focus */
#content-container .portal-form button:focus {
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(23, 227, 203, 0.35) !important;
}
/* ======================================================
   LINK SECUNDÁRIO
   ====================================================== */

#content-container .portal-form a.btn-default {
    margin-top: 12px !important;
    display: inline-block !important;

    background: transparent !important;
    border: none !important;

    color: var(--brand-color) !important;
    font-weight: 500 !important;
    text-decoration: none !important;
}

#content-container .portal-form a.btn-default:hover {
    text-decoration: underline !important;
}


/* ======================================================
   LOGIN – FORÇAR ALINHAMENTO À ESQUERDA
   ====================================================== */

/* Card do login */
#content-container .portal-form {
    text-align: left !important;
}

/* Labels */
#content-container .portal-form label {
    text-align: left !important;
    float: none !important;
}

/* Inputs */
#content-container .portal-form input {
    text-align: left !important;
}

/* Corrige colunas Bootstrap que empurram conteúdo */
#content-container .portal-form .col-md-6,
#content-container .portal-form .col-md-8,
#content-container .portal-form .col-md-4,
#content-container .portal-form .offset-md-4,
#content-container .portal-form .offset-md-3 {
    margin-left: 0 !important;
    padding-left: 0 !important;
}

/* Remove alinhamento à direita herdado */
#content-container .portal-form .row {
    justify-content: flex-start !important;
}
#content-container .portal-form button {
    display: block !important;
    margin: 24px auto 12px auto !important;
}





/* =========================================================
   MODAL DESATIVAR – IGUAL AO MODAL "EDITAR REGISTRO"
   ========================================================= */

/* Container principal do modal */
.ms-Dialog-main {
    width: 100% !important;
    max-width: 900px !important;   /* mesmo feeling do Editar */
    border-radius: 16px !important;
    padding: 32px 36px !important;
    box-shadow: 0 20px 60px rgba(0,0,0,.25) !important;
    background: #ffffff !important;
    font-family: 'Inter', sans-serif !important;
}

/* Header */
.ms-Dialog-title {
    font-size: 22px !important;
    font-weight: 700 !important;
    color: #1f2937 !important;
    margin-bottom: 16px !important;
}

/* Texto do corpo */
.ms-Dialog-subText,
.ms-Dialog-content {
    font-size: 15px !important;
    line-height: 1.6 !important;
    color: #374151 !important;
}

/* Área de ações */
.ms-Dialog-actions {
    margin-top: 32px !important;
    display: flex !important;
    justify-content: flex-end !important;
    gap: 12px !important;
}

/* Botão primário (DESATIVAR) */
.ms-Dialog-actions button.ms-Button--primary {
    background-color: var(--brand-color) !important;
    color: #ffffff !important;
    min-width: 180px !important;
    padding: 14px 32px !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    border-radius: 10px !important;
    border: none !important;
    text-transform: uppercase !important;
}

/* Hover botão primário */
.ms-Dialog-actions button.ms-Button--primary:hover {
    background-color: var(--secondary-color) !important;
}

/* Botão secundário (CANCELAR) */
.ms-Dialog-actions button.ms-Button--default {
    min-width: 160px !important;
    padding: 14px 28px !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    border-radius: 10px !important;
    border: 1px solid #d1d5db !important;
    background: #ffffff !important;
    color: #374151 !important;
}

/* Hover botão cancelar */
.ms-Dialog-actions button.ms-Button--default:hover {
    background: #f9fafb !important;
}

#mainContent {
    justify-content: flex-start !important;
    padding-bottom: 120px !important;
    min-height: calc(100vh - 200px);
}

/* TOP absoluto do conteúdo nessas páginas */
#mainContent.page-content {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

/* Remove o "respiro" que empurra o card pra baixo */
#mainContent.page-content .portal-form {
  margin-top: 0 !important;   /* era 40px */
}

/* (Opcional) se ainda sobrar espaço por causa do container */
#content-container,
#content {
  padding-top: 0 !important;
  margin-top: 0 !important;
}
.wrapper-body {
  padding-top: 0 !important;
}

.portal-form {
    max-width: 420px;
    width: 100%;
    margin: 0 auto;
}

.portal-form .row.mb-3 {
    display: block;
}

.portal-form .row.mb-3 > [class*="col-"] {
    width: 100% !important;
    max-width: 100% !important;
    flex: none !important;
    margin-left: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.portal-form .form-control {
    width: 100%;
}

#submit-signin-local {
    display: block;
    width: 100%;
    max-width: 260px;
    margin: 24px auto 0;
}
/* Remove item Perfil duplicado no menu lateral */
.weblinks-depth-1 .weblink[href="/profile/"]:nth-of-type(2) {
    display: none !important;
}
/* Container principal cresce conforme viewport */
#mainContent,
.page-content {
  display: flex;
  flex-direction: column;   /* ✅ empilha vertical */
  justify-content: flex-start;
  align-items: stretch;     /* ✅ ocupa largura toda */
}

/* Coluna cresce verticalmente */
.page-content .col-lg-6 {
    min-height: 100%;
    display: flex;
    flex-direction: column;
}

/* Botão sempre visível */
#submit-register,
#submit-signin-local {
    margin-top: auto;
}
html, body {
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
}

/* Conteúdo cresce e empurra o footer */
#content-container,
.wrapper-body {
    flex: 1 0 auto;
}

/* Área principal sempre maior que a viewport */
#mainContent,
.page-content {
    min-height: calc(100vh - 140px);
    padding-bottom: 140px;
}


#mainContent .row {
    width: 100%;
}
#mainContent .col-md-6 {
    margin-left: auto;
    margin-right: auto;
    max-width: 420px; /* largura ideal de login */
}
#mainContent {
    padding-top: 60px; /* ajuste fino */
}


#mainContent input[type="text"],
#mainContent input[type="password"] {
    width: 100% !important;
}

#mainContent .row {
    width: 100%;
    justify-content: center;
}

#mainContent .col-md-6 {
    float: none !important;
    margin: 0 auto !important;
}
#mainContent .col-md-6 {
    max-width: 420px;
}
#mainContent form {
    width: 100%;
}

#mainContent .row {
    align-items: flex-start !important;
}


#mainContent .col-md-6 {
    max-width: 420px;
}


/* AJUSTE POPUP DE ERRO POR UPLOAD DE FILES >4MB */
/* 1. Remove qualquer fundo quadrado da caixa externa que esteja escondendo o arredondamento */
.modal-dialog.error-modal-dialog {
    background: transparent !important;
    box-shadow: none !important;
}

/* 2. Aplica o arredondamento e o padding no seu conteúdo */
#modal-content-new {
    /* O espaçamento interno que você queria */
    padding: 20px !important;
    padding-bottom: 35px !important;
    
    /* O arredondamento forçado */
    border-radius: 25px !important;
    
    /* Garante que o fundo seja branco (pois tiramos do pai acima) */
    background-color: #fff !important;
    
    /* Recorta qualquer ponta quadrada que tente sobrar */
    overflow: hidden !important;
    
    /* Remove bordas antigas */
    border: 0 !important;
}

#file-size {
    margin-bottom: 20px !important; /* Ajuste o 40px para a distância que preferir */
}
.modal-cloud-actions-center {
  display: flex;
  justify-content: center;
  margin-top: 24px;
}



/*21_01_2026 */

#ContentContainer_MainContent_MainContent_ContentBottom_MarketingOptionsPanel {
    display: none !important;
}


body form[action*="SignIn"],
body form[action*="profile"] {
  margin-top: 0 !important;
}
#ContentContainer_MainContent_MainContent_LocalLogin .portal-form {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 24px;
    row-gap: 20px;
}

/* Título sempre em largura total */
#ContentContainer_MainContent_MainContent_LocalLogin 
.portal-form 
.login-heading-section {
    grid-column: 1 / -1;
}

/* Campos padrão */
#ContentContainer_MainContent_MainContent_LocalLogin 
.portal-form 
.row.mb-3 {
    margin: 0 !important;
}

/* CAPTCHA em largura total */
#ContentContainer_MainContent_MainContent_LocalLogin 
.portal-form 
.row.mb-3:has(.RadCaptcha) {
    grid-column: 1 / -1;
}

/* Botão em largura total */
#ContentContainer_MainContent_MainContent_LocalLogin 
.portal-form 
.row.mb-3:has(#submit-register) {
    grid-column: 1 / -1;
}

/* Inputs */
#ContentContainer_MainContent_MainContent_LocalLogin .form-control {
    width: 100%;
}

/* Mobile */
@media (max-width: 768px) {
  #ContentContainer_MainContent_MainContent_LocalLogin .portal-form {
      grid-template-columns: 1fr;
  }
}

/* Descer o bloco do botão */
#ContentContainer_MainContent_MainContent_LocalLogin 
.row.mb-3:has(.offset-md-4.col-md-8) {
    margin-top: 24px;
}

/* Botão à direita */
#ContentContainer_MainContent_MainContent_LocalLogin 
.offset-md-4.col-md-8 {
    margin-left: 0 !important;
    display: flex;
    justify-content: flex-end;
}

/* Alinhar coluna no fundo da row */
#ContentContainer_MainContent_MainContent_LocalLogin
.row.mb-3:has(.offset-md-4.col-md-8) {
    align-items: flex-end;
}

/* Botão à direita */
#ContentContainer_MainContent_MainContent_LocalLogin
.offset-md-4.col-md-8 {
    margin-left: 0 !important;
    display: flex;
    justify-content: flex-end;
}
/* Contexto */
#ContentContainer_MainContent_MainContent_LocalLogin {
    position: relative;
}

/* CAPTCHA row vira base de alinhamento */
#ContentContainer_MainContent_MainContent_LocalLogin
.row.mb-3:has(.RadCaptcha) {
    display: flex;
    align-items: flex-end;
    gap: 24px;
}

/* CAPTCHA ocupa esquerda */
#ContentContainer_MainContent_MainContent_LocalLogin
.row.mb-3:has(.RadCaptcha) > div:first-child {
    flex: 1;
}

/* Botão no canto inferior direito */
#ContentContainer_MainContent_MainContent_LocalLogin
#submit-register {
    position: absolute;
    right: 24px;
    bottom: 24px;
}

/* ================================
   ENTITY LIST – COLUNAS REDIMENSIONÁVEIS
   POWER PAGES (pages-native-container)
   ================================ */

pages-native-container .entitylist table {
  table-layout: fixed !important;
  width: 100%;
}

pages-native-container .entitylist th {
  position: relative;
  white-space: nowrap;
  overflow: hidden;
}

/* handle de resize */
pages-native-container .entitylist th .resize-handle {
  position: absolute;
  top: 0;
  right: 0;
  width: 6px;
  height: 100%;
  cursor: col-resize;
  user-select: none;
  z-index: 10;
}
/* ===== CENTRALIZA LOGIN / REGISTER POWER PAGES (FORÇADO) ===== */

/* container raiz */
#ContentContainer_MainContent_MainContent_SecureRegister {
  position: relative;
  min-height: calc(100vh - 80px);
}

/* força o card ao centro real da tela */
/* Container principal */
#ContentContainer_MainContent_MainContent_SecureRegister {
  position: relative;
  /*padding-top: 40px; /* distância do topo */
}

/* Linha do Bootstrap viva */
#ContentContainer_MainContent_MainContent_SecureRegister > .row {
  display: flex;
  justify-content: center; /* centraliza o conjunto */
  align-items: flex-start; /* topo */
  gap: 32px; /* espaço entre os cards */
}

/* Cada card */
#ContentContainer_MainContent_MainContent_SecureRegister .col-lg-6 {
  /* position: static !important; */
  max-width: 520px;
  flex: 0 0 520px;
}

/* Mobile */
@media (max-width: 991px) {
  #ContentContainer_MainContent_MainContent_SecureRegister > .row {
    flex-direction: column;
    align-items: center;
  }

  #ContentContainer_MainContent_MainContent_SecureRegister .col-lg-6 {
    max-width: 100%;
    flex: 1 1 auto;
  }
}
/* Card do login externo (direita) */
#ContentContainer_MainContent_MainContent_ExternalLogin {
  background: #ffffff;
  border-radius: 16px;
  padding: 32px 28px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  min-height: 100%;
}

/* Título do card externo */
#ContentContainer_MainContent_MainContent_ExternalLogin h2 {
  font-size: 18px;
  font-weight: 600;
  color: #111827;
  margin-bottom: 24px;
  border-bottom: 1px solid #e5e7eb;
  padding-bottom: 12px;
}

/* remove qualquer coluna vazia */
#ContentContainer_MainContent_MainContent_SecureRegister 
.col-lg-6:empty {
  display: none !important;
}
/* Botão Atualizar - padrão do site */
#ContentContainer_MainContent_MainContent_ContentBottom_SubmitButton {
  background-color: #0027bd; /* brand */
  border-color: #0027bd;
  color: #fff;
  font-weight: 600;
  padding: 8px 24px;
  border-radius: 4px;
}

#ContentContainer_MainContent_MainContent_ContentBottom_SubmitButton:hover {
  background-color: #001f9a;
  border-color: #001f9a;
}
div.actions {
  display: flex !important;
  justify-content: flex-end !important;
}



/* Botão Azure AD B2C - visual principal */
#ContentContainer_MainContent_MainContent_ExternalLoginButtons
button {
  background-color: #0027bd; /* mesma cor do REGISTRAR-SE */
  border: none;
  border-radius: 10px;
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
  width: 100%;
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px rgba(0, 39, 189, 0.25);
}

/* Hover */
#ContentContainer_MainContent_MainContent_ExternalLoginButtons
button:hover {
  background-color: #001f96;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(0, 39, 189, 0.35);
}

/* Active */
#ContentContainer_MainContent_MainContent_ExternalLoginButtons
button:active {
  transform: translateY(0);
  box-shadow: 0 3px 10px rgba(0, 39, 189, 0.25);
}

/* =========================================
   INPUT "Atualizar Perfil" = BTN-CLOUD
   ========================================= */
input#ContentContainer_MainContent_MainContent_ContentBottom_SubmitButton {
  appearance: none;
  -webkit-appearance: none;

  /* herda o visual do btn-cloud */
  background-color: var(--brand-color) !important;
  color: #ffffff !important;

  min-width: 180px;
  padding: 14px 32px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;

  border-radius: 8px;
  border: none !important;

  cursor: pointer;
  transition: all 0.3s ease;
}

/* Hover idêntico ao btn-cloud */
input#ContentContainer_MainContent_MainContent_ContentBottom_SubmitButton:hover {
  background-color: var(--secondary-color) !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(23, 227, 203, 0.4);
}
/* =========================================
   FORM ALTERAR SENHA – LABELS
   ========================================= */
form[action*="ChangePassword"] label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark, #1f2937);
  margin-bottom: 6px;
  display: block;
}
/* =========================================
   FORM ALTERAR SENHA – INPUTS
   ========================================= */
form[action*="ChangePassword"] input[type="password"],
form[action*="ChangePassword"] input[type="text"] {
  width: 100%;
  height: 44px;

  padding: 10px 14px;
  font-size: 14px;

  border-radius: 6px;
  border: 1px solid #d1d5db;

  background-color: #ffffff;
  color: #111827;

  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

/* Focus padrão do portal */
form[action*="ChangePassword"] input:focus {
  outline: none;
  border-color: var(--brand-color);
  box-shadow: 0 0 0 2px rgba(0, 39, 189, 0.15);
}
/* Espaçamento entre linhas */
form[action*="ChangePassword"] .row.mb-3 {
  margin-bottom: 20px;
}
/* =========================================
   BOTÃO ALTERAR SENHA – BTN CLOUD
   ========================================= */
form[action*="ChangePassword"] button.btn-primary {
  background-color: var(--brand-color) !important;
  color: #ffffff !important;

  min-width: 180px;
  padding: 14px 32px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;

  border-radius: 8px;
  border: none !important;

  cursor: pointer;
  transition: all 0.3s ease;
}


/* =========================================================
   CHANGE PASSWORD = MESMO PADRÃO ProfileFormView
   ========================================================= */
form[action*="ChangePassword"] {
  max-width: 860px;
}
/* =====================================================
   CHANGE PASSWORD – QUEBRAR GRID BOOTSTRAP
   ===================================================== */
form[action*="ChangePassword"] .row {
  display: block !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}
form[action*="ChangePassword"] .row > [class*="col-"] {
  width: 100% !important;
  max-width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
}
form[action*="ChangePassword"] label {
  display: block;
  width: 100%;

  margin-bottom: 6px;

  font-size: 14px;
  font-weight: 600;
  color: #111827;

  text-align: left; /* igual ProfileFormView */
}

form[action*="ChangePassword"] input.form-control {
  width: 100%;
  height: 48px;

  padding: 10px 14px;
  font-size: 14px;

  background-color: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 8px;

  box-shadow: none;
}
form[action*="ChangePassword"] input.form-control:focus {
  outline: none;
  background-color: #ffffff;
  border-color: var(--brand-color);
  box-shadow: 0 0 0 3px rgba(0, 39, 189, 0.12);
}
form[action*="ChangePassword"] .row.mb-3 {
  margin-bottom: 20px !important;
}
form[action*="ChangePassword"] .offset-md-4.col-md-8 {
  margin-left: 0 !important;
  display: flex;
  justify-content: flex-end;
}
/* =====================================================
   CHANGE PASSWORD – HOVER TURQUESA PADRÃO DO PORTAL
   ===================================================== */
form[action*="ChangePassword"] button.btn-primary:hover {
  background-color: var(--secondary-color) !important; /* turquesa */
  color: #ffffff !important;

  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(23, 227, 203, 0.4);
}
/* =========================================
   CHANGE EMAIL – QUEBRAR GRID BOOTSTRAP
   ========================================= */
form[action*="ChangeEmail"] .row {
  display: block !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

form[action*="ChangeEmail"] .row > [class*="col-"] {
  width: 100% !important;
  max-width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
}
form[action*="ChangeEmail"] label {
  display: block;
  width: 100%;
  margin-bottom: 6px;

  font-size: 14px;
  font-weight: 600;
  color: #111827;

  text-align: left;
}
form[action*="ChangeEmail"] input.form-control {
  width: 100%;
  height: 48px;

  padding: 10px 14px;
  font-size: 14px;

  background-color: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 8px;

  color: #111827;
  box-shadow: none;
  transition: all 0.2s ease;
}
form[action*="ChangeEmail"] input.form-control:focus {
  outline: none;
  background-color: #ffffff;
  border-color: var(--brand-color);
  box-shadow: 0 0 0 3px rgba(0, 39, 189, 0.12);
}
form[action*="ChangeEmail"] input.form-control[readonly] {
  background-color: #f3f4f6;
  border-color: #e5e7eb;
  color: #6b7280;
  cursor: not-allowed;
}

form[action*="ChangeEmail"] input.form-control[readonly]:focus {
  box-shadow: none;
  background-color: #f3f4f6;
}
form[action*="ChangeEmail"] .row.mb-3 {
  margin-bottom: 20px !important;
}
/* Botão Alterar e confirmar email */
form[action*="ChangeEmail"] button.btn-primary {
  background-color: var(--brand-color) !important;
  color: #ffffff !important;

  min-width: 200px;
  padding: 12px 28px;

  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.4px;

  border-radius: 8px;
  border: none !important;

  display: inline-flex;
  align-items: center;
  gap: 8px;

  transition: all 0.3s ease;
}
form[action*="ChangeEmail"] button.btn-primary:hover {
  background-color: var(--secondary-color) !important;
  color: #ffffff !important;

  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(23, 227, 203, 0.4);
}
form[action*="ChangeEmail"] .offset-md-2.col-md-10 {
  margin-left: 0 !important;
  display: flex;
  justify-content: flex-start; /* ou flex-end se preferir */
}
/* =========================================
   CHANGE EMAIL – BOTÃO ALINHADO À DIREITA
   ========================================= */
form[action*="ChangeEmail"] .offset-md-2.col-md-10 {
  margin-left: 0 !important;
  padding: 0 !important;

  display: flex !important;
  justify-content: flex-end !important; /* 👉 direita */
}
form[action*="ChangeEmail"] button.btn-primary {
  margin-top: 8px;
}
form[action*="Manage"] .offset-md-2.col-md-10 {
  display: flex !important;
  justify-content: flex-end !important;
}
/* =========================================================
   GERENCIAR AUTENTICAÇÃO EXTERNA – CARD
   ========================================================= */

/* Card */
#mainContent ul.list-group {
  max-width: 680px;
}

#mainContent .list-group-item.change-login-disabled-li {
  display: flex !important;
  align-items: center;
  justify-content: space-between;

  background-color: #f9fafb !important;
  border: 1px solid #e5e7eb !important;
  border-radius: 12px !important;

  padding: 16px 20px !important;
  margin-bottom: 12px;
}

/* Texto "Azure AD B2C" */
#mainContent .list-group-item.change-login-disabled-li span:not(.fa) {
  font-size: 16px;
  font-weight: 600;
  color: #0027bd; /* azul padrão */
}

/* Ícone */
#mainContent .list-group-item.change-login-disabled-li .fa {
  color: #0027bd;
  margin-right: 8px;
}

/* =========================================================
   BOTÃO CONECTAR – PADRÃO DOS OUTROS
   ========================================================= */

#mainContent
  .list-group-item.change-login-disabled-li
  button.btn {
  background-color: #0027bd !important;
  color: #ffffff !important;

  border: none !important;
  border-radius: 8px !important;

  font-weight: 600;
  padding: 8px 18px;

  transition: all 0.2s ease;
}

/* Hover turquesa */
#mainContent
  .list-group-item.change-login-disabled-li
  button.btn:hover {
  background-color: #17e3cb !important;
  color: #0027bd !important;
}

/* Remove estilos antigos Bootstrap */
#mainContent
  .list-group-item.change-login-disabled-li
  button.btn-default {
  background-image: none !important;
  box-shadow: none !important;
}
/* =========================================
   AUTENTICAÇÃO EXTERNA – ORDEM CORRETA
   ========================================= */

#mainContent .list-group-item.change-login-disabled-li {
  gap: 16px;
}

/* Texto (Azure AD B2C) sempre à esquerda */
#mainContent
  .list-group-item.change-login-disabled-li
  span:not(.fa) {
  order: 1;
}

/* Ícone acompanha o texto */
#mainContent
  .list-group-item.change-login-disabled-li
  .fa {
  order: 0;
}

/* Botão sempre à direita */
#mainContent
  .list-group-item.change-login-disabled-li
  form {
  order: 2;
  margin-left: auto;
}
/* ================================
   LOGIN EXTERNO — AJUSTES VISUAIS
================================ */

/* Centraliza e joga para baixo do card */
#login-external {
  margin-top: 24px;
  text-align: center;
}

/* Título "Ou" */
#login-external h2 {
  font-size: 14px;
  font-weight: 600;
  color: #6b7280;
  margin-bottom: 16px;
  text-transform: uppercase;
}

/* Botão Azure AD B2C → padrão azul */
#login-external button.btn {
  background-color: #0027bd;
  border-color: #0027bd;
  color: #ffffff;

  font-weight: 600;
  padding: 10px 24px;
  border-radius: 6px;

  transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

/* Hover padrão */
#login-external button.btn:hover {
  background-color: #001f96;
  border-color: #001f96;
  box-shadow: 0 4px 12px rgba(0, 39, 189, 0.25);
}

/* Remove estilo verde antigo */
#login-external button.btn-success,
#login-external button.btn-primary {
  background-color: #0027bd !important;
  border-color: #0027bd !important;
}



#ContentContainer_MainContent_MainContent_ExternalLogin {
  pointer-events: auto !important;
  z-index: 1 !important;
}

#ContentContainer_MainContent_MainContent_SecureRegister {
  position: relative;
  /*z-index: 10;*/
}

/* CARD - Login externo */
/* CARD ÚNICO – Login externo */
form[action^="/Account/Login/ExternalLogin"] > div:first-child {
  background: #ffffff;
  border-radius: 16px;
  padding: 32px 28px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

/* Remove qualquer card interno */
form[action^="/Account/Login/ExternalLogin"] > div:first-child > div {
  background: transparent !important;
  box-shadow: none !important;
  padding: 0 !important;
}

/* Botão Azure AD B2C - padrão ENTRAR */
form[action^="/Account/Login"] button[type="submit"] {
  background-color: #0027bd;
  border: none;
  border-radius: 10px;
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
  width: 100%;
  box-shadow: 0 4px 14px rgba(0, 39, 189, 0.25);
  transition: all 0.2s ease;
}

/* Hover */
form[action^="/Account/Login"] button[type="submit"]:hover {
  background-color: #001f96;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(0, 39, 189, 0.35);
}



/* =========================================
   AUTENTICAÇÃO EXTERNA – ORDEM CORRETA
   ========================================= */

#mainContent .list-group-item.change-login-disabled-li {
  gap: 16px;
}

/* Texto (Azure AD B2C) sempre à esquerda */
#mainContent
  .list-group-item.change-login-disabled-li
  span:not(.fa) {
  order: 1;
}

/* Ícone acompanha o texto */
#mainContent
  .list-group-item.change-login-disabled-li
  .fa {
  order: 0;
}

/* Botão sempre à direita */
#mainContent
  .list-group-item.change-login-disabled-li
  form {
  order: 2;
  margin-left: auto;
}

#ContentContainer_MainContent_MainContent_ContentBottom_MarketingOptionsPanel {
    display: none !important;
}


body form[action*="SignIn"],
body form[action*="profile"] {
  margin-top: 0 !important;
}
#ContentContainer_MainContent_MainContent_LocalLogin .portal-form {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 24px;
    row-gap: 20px;
}

/* Título sempre em largura total */
#ContentContainer_MainContent_MainContent_LocalLogin 
.portal-form 
.login-heading-section {
    grid-column: 1 / -1;
}

/* Campos padrão */
#ContentContainer_MainContent_MainContent_LocalLogin 
.portal-form 
.row.mb-3 {
    margin: 0 !important;
}

/* CAPTCHA em largura total */
#ContentContainer_MainContent_MainContent_LocalLogin 
.portal-form 
.row.mb-3:has(.RadCaptcha) {
    grid-column: 1 / -1;
}

/* Botão em largura total */
#ContentContainer_MainContent_MainContent_LocalLogin 
.portal-form 
.row.mb-3:has(#submit-register) {
    grid-column: 1 / -1;
}

/* Inputs */
#ContentContainer_MainContent_MainContent_LocalLogin .form-control {
    width: 100%;
}

/* Mobile */
@media (max-width: 768px) {
  #ContentContainer_MainContent_MainContent_LocalLogin .portal-form {
      grid-template-columns: 1fr;
  }
}

/* Descer o bloco do botão */
#ContentContainer_MainContent_MainContent_LocalLogin 
.row.mb-3:has(.offset-md-4.col-md-8) {
    margin-top: 24px;
}

/* Botão à direita */
#ContentContainer_MainContent_MainContent_LocalLogin 
.offset-md-4.col-md-8 {
    margin-left: 0 !important;
    display: flex;
    justify-content: flex-end;
}

/* Alinhar coluna no fundo da row */
#ContentContainer_MainContent_MainContent_LocalLogin
.row.mb-3:has(.offset-md-4.col-md-8) {
    align-items: flex-end;
}

/* Botão à direita */
#ContentContainer_MainContent_MainContent_LocalLogin
.offset-md-4.col-md-8 {
    margin-left: 0 !important;
    display: flex;
    justify-content: flex-end;
}
/* Contexto */
#ContentContainer_MainContent_MainContent_LocalLogin {
    position: relative;
}

/* CAPTCHA row vira base de alinhamento */
#ContentContainer_MainContent_MainContent_LocalLogin
.row.mb-3:has(.RadCaptcha) {
    display: flex;
    align-items: flex-end;
    gap: 24px;
}

/* CAPTCHA ocupa esquerda */
#ContentContainer_MainContent_MainContent_LocalLogin
.row.mb-3:has(.RadCaptcha) > div:first-child {
    flex: 1;
}

Botão no canto inferior direito
/* #ContentContainer_MainContent_MainContent_LocalLogin
#submit-register {
    position: absolute;
    right: 24px;
    bottom: 24px;
} */

/* =========================================
   BOTÃO CARREGAR - MODAL NOVOS DOCUMENTOS
   ========================================= */

.modal-cloud-overlay 
.ContainerForFile 
.buttonForFileUpload 
#UploadButton {

  all: unset !important;

  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;

  padding: 8px 16px !important;
  gap: 6px !important;

  background-color: #0027bd !important;
  color: #ffffff !important;

  border-radius: 8px !important;
  font-weight: 600 !important;
  cursor: pointer !important;

  transition: all .2s ease !important;
}

/* Hover */
.modal-cloud-overlay 
.ContainerForFile 
.buttonForFileUpload 
#UploadButton:hover {

  background-color: #001e8f !important;
}
