@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.5.0/font/bootstrap-icons.css");

body, html {
    height: 100%;
}
body, .form-control, .input-group-text, .btn, .tooltip, .dropdown-item, .dropdown-header {
    font-size: .8125rem;
}

.btn-lg {
    font-size: 1.25rem;
}
.bg-primary {
    background-color: #701c74 !important;
}
.btn-primary {
    background-color: #701c74;
    border-color: #701c74;
}
.btn-primary:hover {
    background-color: #8b2390;
    border-color: #8b2390;
}
.btn-primary:not(:disabled):not(.disabled).active, .btn-primary:not(:disabled):not(.disabled):active, .show>.btn-primary.dropdown-toggle {
    background-color: #8b2390;
    border-color: #8b2390;
}
.btn-primary.focus, .btn-primary:focus {
    box-shadow: 0 0 0 0.2rem rgba(204, 70, 210,.5);
}
.btn-primary:not(:disabled):not(.disabled).active:focus, .btn-primary:not(:disabled):not(.disabled):active:focus, .show>.btn-primary.dropdown-toggle:focus {
    box-shadow: 0 0 0 0.2rem rgba(204, 70, 210,.5);
}
.btn-primary.disabled, .btn-primary:disabled {
    background-color: #96269c;
    border-color: #8d2492
}
.btn-primary.disabled:hover, .btn-primary:disabled:hover {
    background-color: #96269c;
    border-color: #8d2492
}


.btn-outline-primary {
    color: #701c74;
    border-color: #701c74;
}
.btn-outline-primary:hover {
    background-color: #8b2390;
    border-color: #8b2390;
}
.btn-outline-primary:not(:disabled):not(.disabled).active, 
.btn-outline-primary:not(:disabled):not(.disabled):active, 
.show>.btn-outline-primary.dropdown-toggle {
    color: #8b2390;
    border-color: #8b2390;
}
.btn-outline-primary.focus, .btn-outline-primary:focus {
    background-color: #8b2390;
    color: #fff;
    box-shadow: 0 0 0 0.2rem rgba(204, 70, 210,.5);
}
.btn-outline-primary:not(:disabled):not(.disabled).active:focus, 
.btn-outline-primary:not(:disabled):not(.disabled):active:focus, 
.show>.btn-outline-primary.dropdown-toggle:focus {
    background-color: #8b2390;
    color: #fff;
    box-shadow: 0 0 0 0.2rem rgba(204, 70, 210,.5);
}
.btn-outline-primary.disabled, .btn-outline-primary:disabled {
    color: #96269c;
    border-color: #8d2492
}
.btn-outline-primary.disabled:hover, .btn-outline-primary:disabled:hover {
    background-color: #96269c;
    border-color: #8d2492
}


#button-spinner {
    margin-right: 0.5em;
}

.table-primary tbody+tbody, .table-primary td, .table-primary th, .table-primary thead th {
    border-color: #ced4da;
}
.table-primary, .table-primary>td, .table-primary>th {
    background-color: #dee2e6;
}
.ui-menu-item-wrapper.ui-state-active {
    background-color: #dee2e6 !important;
}
a {
    color: #8b2390;
}
a:hover {
    color: #701c74;
}
a i:hover {
    color: #701c74;
}

.alert-info > a {
    color: #0c5460;
    font-weight: bold;
    text-decoration: underline;
}

.form-group.row > .alert {
    width: 100%;
    margin-left: 1em;
    margin-right: 1em;
    margin-bottom: 0;
}
/*#e398e6*/

.bi-info-circle {
    padding-left: 0.25em;
    padding-right: 0.25em;
}
.bi-info-circle:hover {
    color: #701c74;
}
.nav-link.bi.bi-caret-right-fill:hover {
    color: rgba(255,255,255,.5);
}

.form-check-input {
    margin-top: .175rem;
}

.body-overlay {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255,255,255,.5);
    z-index: 1029;
    animation: body-overlay 1s linear;
}
@keyframes body-overlay { from { opacity: 0; } to { opacity: 1; } }

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-y: scroll;
}
.form-control[readonly] {
    background-color: #fff;
}
.toggle-password-input {
    cursor: pointer;
}
th, td {
    cursor: default;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}
.toggle-password-input > span {
    filter: grayscale(100%) contrast(200%) brightness(1.5);
}
.table {
    table-layout: fixed;
}
.form-control::placeholder, .form-control-plaintext.placeholder {
    /*color: #6c757d;*/
    color: #bcc1c5;
}

/*.fixed-top {*/
/*    width: 480px; margin: 8px auto;*/
/*}*/
.alert .close {
    font-size: 1.25rem;
    outline: none;
}

.col-form-padded {
    padding-top: calc(.375rem + 1px);
    padding-bottom: calc(.375rem + 1px);
}

.form-col-label,
.col-explanation {
    white-space: pre-wrap;
}


.form-control.is-invalid, .was-validated .form-control:invalid {
    padding-right: inherit;
    background-image: inherit;
}

/* ---- */
.dropdown-menu {
    padding-top: .25rem;
    padding-bottom: .25rem;
    z-index: 1026;
}
.dropdown-header,
.dropdown-item {
    padding: .5rem 1rem;
}

/* ---- */
.ui-menu {
    background-color: #FFF;
    border: 1px solid #ced4da;
}
.ui-menu-item-wrapper.ui-state-active {
    margin: 0;
    background-color: #b8daff;
}
.ui-menu .ui-menu-item-wrapper {
    padding: 0;
}
.ui-menu-item-wrapper > p {
    padding-top: calc(.375rem + 1px);
    padding-bottom: calc(.375rem + 1px);
    padding-right: .75rem;
    padding-left: .75rem;
    margin-bottom: 0;
    line-height: 1.5;
}

.ui-autocomplete {
    max-height: 332px;
    overflow-x: hidden;
    overflow-y: auto;
}

.ui-front {
    z-index: 2000;
}
/* ---- */
th.sortable {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" height="16" width="16" viewBox="0 0 16 16"><path d="M6,3l4,4h-8z" fill="%23BBB"/><path d="M6,13l4,-4h-8z" fill="%23BBB"/></svg>');
    background-position: right 50%;
    background-repeat: no-repeat;
    cursor: pointer;
    padding-right: 18px;
}
th.sortable.asc {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" height="16" width="16" viewBox="0 0 16 16"><path d="M6,3l4,4h-8z" fill="%23BBB"/><path d="M6,13l4,-4h-8z" fill="%23000"/></svg>');
}
th.sortable.desc {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" height="16" width="16" viewBox="0 0 16 16"><path d="M6,3l4,4h-8z" fill="%23000"/><path d="M6,13l4,-4h-8z" fill="%23BBB"/></svg>');
}

/* ---- */


.x-canvas textarea {
    /*overflow: auto;*/
    resize: none;
}
.x-canvas .dual-height textarea {
    height: 388px;
}
.x-canvas .col {
    min-width: 0;
}
.x-canvas .col-form-label {
    white-space: nowrap;
    overflow: hidden;
}

.canvas-sub-header {
    align-items: center;
    justify-content: center;
    padding-top: 5px;
}

.canvas-category {
    position: absolute;
    margin-top: -2em;
    font-weight: 500; 
    color: #444
}

.canvas-tab-marketing {
    border: none;
    border-top: 2px solid #B166B9;
    margin-top: 1.1em;
}
.canvas-tab-marketing-begin {
    border-top-left-radius: 0.25rem;
    border-left: 1px solid #B166B933;
}
.canvas-tab-marketing-end {
    margin-right: 0.5em;
    border-top-right-radius: 0.25rem;
    border-right: 1px solid #B166B933;
}

.canvas-tab-a .nav-link {
    border: none;
    color: #701c74;
    margin-top: -2px;
}
.canvas-tab-a .nav-link.active,
.canvas-tab-a .nav-link:hover {
    color: #fff;
    background-color: #701c74;
}

.canvas-tab-sales {
    border-top: 2px solid #444;
    margin-top: 1.1em;
}
.canvas-tab-sales-begin {
    border-top-left-radius: 0.25rem;
    border-left: 1px solid #4443;
}
.canvas-tab-sales-end {
    margin-right: 0.5em;
    border-top-right-radius: 0.25rem;
    border-right: 1px solid #4443;
}

.canvas-tab-b .nav-link {
    border: none;
    color: #B166B9;
    margin-top: -2px;
}
.canvas-tab-b .nav-link.active,
.canvas-tab-b .nav-link:hover {
    color: #fff;
    background-color: #B166B9;
}

a {
    cursor: pointer;
}

body {
    background: #f1f3f5;
}

#profile-apply-tab h5 {
    margin-top: .875rem;
}

#profile-apply-tab textarea {
    border-color: #e9ecef;
}

#profile-apply-tab .form-check-input:disabled~.form-check-label {
    color: inherit;
}

#profile-apply-tab .row-total {
    border-top: solid 1px rgba(102,119,136,.1);
    position: sticky;
    bottom: 0;
    background-color: #fff;
    z-index: 1;
    margin-top: -1px;
}
#profile-apply-tab .row-total > div:nth-child(3) {
    padding: 2px 15px 0 15px;
    font-size: 1.25rem;
    font-weight: bold;
}

.row-subtotal {
    border-top: solid 1px rgba(102,119,136,.05);
    border-bottom: solid 1px rgba(102,119,136,.05);
    background: #f8f9fa;
}

.incomplete {
    opacity: .375;
}
.ckv-fail .score-col {
    opacity: .375;
}
.ckv-fail .score-col.text-danger {
    opacity: inherit;
}


input[type=number].form-control {
    padding-right: 0;
}

.tooltip-inner {
    max-width: 400px;
    text-align: left;
    white-space: pre-wrap;
}

.new-note {
    width: 30px;
    height: 30px;
    margin-bottom: 10px;
}
.note-yellow {
    background-color: #FE8;
}
.note-pink {
    background-color: #FCD;
}
.note-green {
    background-color: #BFA;
}
.note-blue {
    background-color: #CEF;
}
.note {
    width: 160px;
    height: 124px;
}
.note textarea {
    width: 100%;
    height: 100%;
    margin: 0;
    background-color: transparent;
    border: none;
    resize: none;
    padding: .35rem;
    color: rgba(0,0,0,.75);
    outline: none;
    overflow: hidden;
    text-align: center;
    vertical-align: middle;
    cursor: default;
}
.note textarea:focus {
    cursor: text;
}


.fixed-top {
    width: 480px; margin: 0 auto;
    z-index: 2000; /* show alerts in front of modal */
}

.proposition-canvas-form {
    background-repeat: no-repeat;
    background-size: 100% 100%;

    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" height="140" width="100" viewBox="0 0 140 100" preserveAspectRatio="none"><path d="M70,29h21v-3l6,6l-6,6v-3h-42v3l-6-6l6-6v3z" fill="%23dee2e6"/><path d="M70,83h21v-3l6,6l-6,6v-3h-42v3l-6-6l6-6v3z" fill="%23dee2e6"/></svg>');
}

.proposition-canvas-form-v2 {
    background-repeat: no-repeat;
    background-size: 100% 100%;

    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" height="140" width="100" viewBox="0 0 140 99" preserveAspectRatio="none"><path d="M50.8,40h21v-3l6,6l-6,6v-3h-4v3l-6-6l6-6v3z" fill="%23dee2e6"/></svg>')
}

.persona-center-col textarea {
    height: 609px;
}

.empathy-center-col {
    flex: 0 0 50%;
    border: 1px solid #ccc;
    padding-left: 25px;
    padding-right: 25px;
}
.empathy-side-col textarea {
    height: 415px;
}

.empathy-side-col-left {
    padding-right: 20px;
}

.empathy-side-col-right {
    padding-left: 20px;
}


.widget {
    min-height: 100px;
    text-align: center;
    width: 100%;
    padding-right: 1rem;
    padding-left: 1rem;
    padding-top: 0.5rem;
}

.flex-column > button {
    margin-bottom: 0.35rem;
}

.list-group-item.active {
    color: #fff;
    background-color: #701c74;
    border-color: #701c74;
}

.list-group .list-group-item.active,
.list-group .list-group-item.active:hover {
    color: #fff;
}

.action.action-with-text i {
    margin-right: 0.5rem;
}

/* Hide stuff in login screen */
body.login-screen {
    background-image: linear-gradient(to bottom, #B8CA47 0%, #FFFFFF 100%);
}

body.login-screen .hide-on-login {
    display: none;
}

/* body.login-screen #main-body {
    
} */

@media (min-width: 1200px) {
    .container {
        max-width: 1420px;
        /* min-width: 585px; */
    }
}

body.login-screen #main-container {
    margin-top: 10rem;
    margin-left: auto;
    margin-right: auto;
    max-width: 914px;
    padding: 0.5rem;
}

body.login-screen .tab-content {
    padding: 0;
}

body.login-screen .tab-pane {
    padding: 0!important;
}

.login-img {
    width: 100%;
}

.login-logo {
    padding: 1rem 1rem 1.5rem 1rem;
    width: 100%;
}

table.stats-table {
    margin-bottom: 0rem;
}

table.stats-table th {
    text-align: right;
    width: 16rem;
    background-color: #dee2e633;
}

.bordered-div {
    overflow: hidden;
    border-radius: 0.5em;
    padding: 0;
    box-shadow: rgb(0 0 0 / 16%) 0px 2px 3px;
    margin-bottom: 1rem;
    width: 100%;
}

.bordered-div-title {
    font-size: 1.1em;
    padding: 0.3em;
    background: #929292AA;
    color: white;
    text-align: center;
}

.video-modal > .modal-dialog {
    max-width: 60vw;
}

.help-link {
    border-radius: 10px;
    background: #701c74;
    color: white;
    align-items: center;
    font-size: 0.9rem;
    height: 2.6rem;
}

a.help-link:hover {
    color: white;
    background: #96269c;
    text-decoration: none;
}

.help-link > i {
    font-size: 2.4rem;
}

.help-link > i:hover {
    color: white;
}

.multi-canvas .x-canvas {
    border: #ddd solid 1px;
    padding: 1em 2em;
    border-radius: 0.5em;
    margin-top: 0.5em;
}

/*
Drag n Drop table
*/
tr.not-moveable i.drag-grip,
tr.not-moveable i.move-up,
tr.not-moveable i.move-down {
    display: none;
}

/* Pagination */
.pagination {
    display: inline-block;
}

.pagination a, .pagination div {
    color: black;
    float: left;
    padding: 8px 16px;
    text-decoration: none;
}

.pagination a.active {
    background-color: #701c74;
    color: white;
    border-radius: 5px;
}

.pagination a:hover:not(.active) {
    background-color: #ddd;
    border-radius: 5px;
}

td:has(> a > .ikp-score-wip) {
    background-color: #28a74671;
}

td:has(> a > .ikp-score-ok) {
    background-color: #28a745;
}

td:has(> a > .ikp-score-nok) {
    background-color: #8e1a1a;
}

.ikp-score {
    font-weight: bolder;
}

.ikp-score-nok {
    color: #FFF;
}