/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */
:root {
    --color-bar-5: hsl(147deg 100% 35%);
    --color-bar-4: hsl(89deg 100% 50%);
    --color-bar-3: hsl(45deg 100% 50%);
    --color-bar-2: hsl(24deg 100% 50%);
    --color-bar-1: hsl(0deg 100% 50%);
    --box-border: 1px solid rgba(211, 211, 211, 0.3);
    --box-3d: 0.2em;
    --depth-pd: 2rem;
    --color-back: #FCFCFF;
    --color-primary: #EF5DA8;
    --color-head: #8081e5;
    --color-primary-light: #f8cce5;
    --color-primary-dark: #d13284;
    --color-accent: #8081e5;
    --color-accent-light: #f7f7fe;
    --color-link: #EF5DA8;
    --color-border: #D3D5FF;
    --color-scrollbar-thumb: rgba(239, 93, 168, 0.25);
    --color-scrollbar-track: #E2E2E2;
    --color-metro: #eaeaff;
    --metro-width: 4px;
}

html, body {
    background: var(--color-back);
    font-family: 'Rubik', sans-serif;
    margin:0;
    padding:0;
}

    html .readable_font {
        font-family: 'Rubik', sans-serif !important;
    }

    main{
        width:100%;
    }

header {
    margin-bottom: 1rem;
    min-height: 3.6rem;
}

    .container-fluid > nav,
    header > nav {
        /*background: var(--color-back);*/
        padding: .5rem 1rem;
    }



.container-fluid > nav {
    position: relative;
}

.container-fluid .navbar-nav {
    gap: 5px;
    margin-top:0;
}

/*#region z-index */
.split-view .tables thead,
.publishVariant.btn-success:hover:after,
.clearSrc {
    z-index: 1;
}

.loader-overlay {
    z-index:100;
}
/*#endregion */

/*#region core */
.fl-c, .n-1 {
    display: flex;
    -webkit-align-items: center;
    align-items: center;
}

.fl-c {
    gap: .5rem;
}

.n-1 > :first-child {
    flex: 1;
}

.fl-c > *,
.n-1 > * {
    margin: 0;
}
/*#endregion */

/*#region accessibility */
body .btn_accessibility {
    width: 45px;
    margin-left: -10px;
    top: 20vh;
    box-shadow: 0px 0px 5px 0px #0000004f;
}

body .btn_accessibility_action {
    box-shadow: 0px 0px 5px 0px #0000004f;
}
body .accessibility_component{
    z-index:1 !important;
}
.btn_accessibility span.accessibility_component {
    display: none;
}
/*#endregion */

/*#region footer */
.footer {
    background: var(--color-head);
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 2rem;
    z-index: 0;
    color: white;
    flex-wrap: wrap;
    position: relative;
}

.footer__container {
    width: 100%;
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 3em;
}

.footer__block {
    display: flex;
    flex-direction: column;
}

    .footer__block > * {
        font-style: normal;
        font-weight: 400;
        white-space: normal;
        min-width: 10rem;
        color: #FFFFFF;
        text-decoration: none;
        letter-spacing: 0.5px;
        margin-bottom: .5rem;
        transition: color 0.2s ease-in-out;
    }

    .footer__block > a :hover {
        color: #000000;
    }

.footer__block_right {
    position: relative;
     width: 171px; 
}

.footer__block_center {
    border-width: 0 1px;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.footer__block_center a {
    display: flex;
    align-items: center;
}

.social-links{
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a{
    color: white;
}

.social-links a i.fab {
    font-size: 1.5rem;
    transition: all 0.3s ease;
    margin: 0 0.5rem;
}

.social-links a:hover i.fa-facebook-f {
    color: #1877f2 !important;
    transform: scale(1.2);
}

.social-links a:hover i.fa-instagram {
    color: #e4405f;
    transform: scale(1.2);
}

.footer__block_center a:hover i.fa-tiktok {
    color: #00f2ea;
    transform: scale(1.2);
}
.footer__block_center a i.fab {
    font-size: 1.2rem;
    transition: transform 0.2s ease;
}

.footer__block_center a:hover i.fab {
    transform: scale(1.2);
}

.footer__block_left {
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    flex: 1;
    padding-top: 7px;
    z-index: 1;
}

.footer #disclaimer{
    font-size:12px;
    text-align:right;
    width:100%;
    display:flex;
    gap: 4px;
    align-items: baseline;
}

.ai {
    font-size: 10px;
    background: var(--color-accent);
    color: white !important;
    display:inline-flex;
    min-width: 1.5em;
    height: 1.3em;
    text-decoration: none;
    line-height: 1;
    font-family: monospace;
    border-radius: 3px;
    align-items: center;
    justify-content: center;
    cursor:pointer;
}

    .ai.light {
        background: #ededff;
        color: var(--color-accent) !important;
    }

    .footer .ai {
        color: var(--color-accent) !important;
        background: white;
    }

.what-think form {
    background: white;
    padding: 1rem;
    margin-bottom: -5rem;
    border-radius: 5px;
    box-shadow: -3px 0rem 8px rgba(0, 0, 0, .3);
    width: 20rem;
    max-width: 90%;
    display: flex;
    flex-direction: column;
    gap: .5rem;
}

.what-think h3 {
    font-size: 1.3rem;
    text-align: center;
}

.what-think .custom-radio {
    display: flex;
    align-items: center;
    line-height: 1.7;
}

.what-think.sent [name],
.what-think.sent .btn,
.what-think.what .qs,
.what-think:not(.what) .what {
    display: none;
}

.what-think.what {
    text-align: center;
    background: #ececff;
}

.what-think.what textarea {
    margin: 1rem 0
}

.what-think .btn {
    padding: 5px;
    width: 5rem;
}

.like-switch {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    justify-content: center;
    margin-top: 1rem;
}

.like-switch > div {
    border: 1px solid #d9d9ed;
    width: 8rem;
    display: inline-flex;
    flex-direction: column;
    padding: .5rem;
    border-radius: 5px;
    align-items: center;
    text-align: center;
    gap: .5rem;
    cursor: pointer;
}

.like-switch > div i {
    font-size: 40px;
    color: var(--color-primary);
}

.like-switch > div i.fa-thumbs-up {
    transform: scaleX(-1);
}

.like-switch > div label {
    font-size: 0.9rem;
    line-height: 1.1;
}
/*#endregion */

[lang="he"] {
    direction: rtl;
}

body > div {
    display: flex;
    width: calc(100% - 0px);
}

semi {
    font-weight: 500;
}

amain {
    flex: 1;
    position: relative;
}

amain > .container-fluid {
    min-height: 97vh;
    max-width: 100vw;
}

.container-fluid:not(.thin) .breadcrumb,
.wide-thin,
amain > .container-fluid.thin {
    max-width: 1280px;
    margin: 0 auto;
    padding: 7px 1rem 0;
    margin-block: 0;
    padding-inline-start: 0;
}

amain > .container-fluid + footer{
    margin-top: 4rem;
}

.container-fluid.thin .breadcrumb {
    padding: 0;
    margin: 0 0 1rem;
}

.container-fluid.thin > nav {
    padding: 0;
}

.breadcrumb{

    flex-wrap:nowrap;
    align-items: center;
    padding-bottom: 0.5rem !important;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    padding: 0 0;
    margin-bottom: 1rem;
    list-style: none;
}

.breadcrumb-item + .breadcrumb-item {
    padding-right: 0.5rem;
}

    .breadcrumb-item + .breadcrumb-item::before {
        float: right;
        padding-left: 0.5rem;
        color: #6c757d;
        content: var(--bs-breadcrumb-divider, "/");
    }

.breadcrumb-item.active {
    color: #6c757d;
}



.breadcrumb-item {
    font-size: 0.9em;
    line-height: initial !important;
    white-space: nowrap;
}

/* width */
::-webkit-scrollbar {
    width: 5px;
    height: 5px;
}

/* Track */
::-webkit-scrollbar-track {
    background: #f1f1f1;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: #cfcfcf;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: gray;
}

.spin-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    width: 100%;
    height: 100%;
    max-height: 100vh;
}

.loader-overlay {
    position: absolute;
    background: black;
    opacity: 0.3;
    inset: 0;
}
/*#region H titles */


h6, .h6, h5, .h5, h4, .h4, h3, .h3, h2, .h2, h1, .h1 {
    margin-top: 0;
    margin-bottom: 0.5rem;
    font-weight: 500;
    line-height: 1.2;
}

h1 {
    font-size: 1.5rem;
    margin: 0;
}

h2 {
    font-size: 1.5rem;
}


h1, .h1 {
    font-size: calc(1.375rem + 1.5vw);
}

@media (min-width: 1200px) {
    h1, .h1 {
        font-size: 2.5rem;
    }
}

h2, .h2 {
    font-size: calc(1.325rem + 0.9vw);
}

@media (min-width: 1200px) {
    h2, .h2 {
        font-size: 2rem;
    }
}

h3, .h3 {
    font-size: calc(1.3rem + 0.6vw);
}

@media (min-width: 1200px) {
    h3, .h3 {
        font-size: 1.75rem;
    }
}

h4, .h4 {
    font-size: calc(1.275rem + 0.3vw);
}

@media (min-width: 1200px) {
    h4, .h4 {
        font-size: 1.5rem;
    }
}

h5, .h5 {
    font-size: 1.25rem;
}

h6, .h6 {
    font-size: 1rem;
}


/*#endregion */

.help-text {
    color: gray;
}

a.navbar-brand {
    white-space: normal;
    text-align: center;
    word-break: break-all;
    margin: 0;
    position:relative;
}

a.navbar-brand img {
    height: 1.4em;
    width: auto;
    font-size: 17px;
    margin: 0;
    filter: brightness(1000%);
}

.navbar-brand::after {
    content: "BETA";
    font-size: 10px;
    position: absolute;
    right: -11px;
    font-weight: 300;
    top: 7px;
    padding: 0px 3px;
    line-height: 1;
    color: white;
}

.navbar-light .navbar-toggler {
    border: none !important;
    color: black;
    padding: 0 .5rem;
    box-shadow: none;
}

.ellipsis {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1;
}

.linkhover:hover,
.nav-link:hover,
.nav-link,
.link,
a {
    color: var(--color-link);
    cursor: pointer;
}

.linkhover {
    color: initial;
}

[read-more] {
    color: var(--color-link) !important;
    text-decoration: none;
    cursor: pointer;
}

ul, li {
    list-style: none;
    padding: 0;
}

ol {
    padding-right: 0;
}

.hid {
    display: none;
}

.abs-end {
    position: absolute;
    top: 0;
    left: 0;
}

.circle {
    background: #8081E5;
    width: 1.6em;
    height: 1.6em;
    line-height: 0.6;
    color: white;
    text-align: center;
    font-size: 9px;
    padding: 0;
    border-radius: 100%;
}

.fa.circle {
    line-height: 1.6;
}

.circle.fa-check {
    padding-top: 1px;
}

.green {
    color: green;
}


.orange {
    color: orange;
}

.back-green,
.circle.green {
    background: green;
    color: white;
}
.back-orange {
    background: orange;
    color: white;
}
.back-orange,
.back-green {
    padding: 1px 3px;
    font-size: 14px;
}

    .error,
    .red {
        color: #dc3545;
    }

.gray{
    color: gray;
}

.circle.red {
    background: #dc3545;
    color:white;
    padding-top: .5px;
}

body .badge.bg-danger {
    background-color: var(--color-primary) !important;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.middle {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}



b,
strong {
    font-weight: bold;
}

.border-top {
    border-top: 1px solid #e5e5e5;
}

.border-bottom {
    border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
    box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
    font-size: 1rem;
    line-height: inherit;
}

html {
    position: relative;
    min-height: 100%;
}

body > .container-fluid {
    padding: 1rem 2rem;
}

[dir=rtl] input[type=number] {
    direction: rtl;
}

[dir=rtl] .editor {
    direction: rtl !important;
    text-align: right !important;
}

.custom-checkbox label {
    margin: 0 .5rem;
}

pre {
    direction: inherit;
    margin: unset;
    line-break: anywhere;
    white-space: pre-line;
    font-family: inherit;
    font-size: initial;
    unicode-bidi: unset;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group.expandable{
    position:relative;
}

.altr-name {
    display: inline-flex;
    gap: 0 5px;
    flex-wrap: wrap;
}

.altr-variant {
    font-weight: normal;
}

.alter-sku {
    color: gray;
    text-transform:uppercase;
    font-size:0.9em;
    flex:1 1 100%;
}

/* Table sticky styles */
.table-wrapper.table-sticky table thead th:first-child {
    right: 0;
    z-index: 6;
}

.table-sticky.first-col-sticky table tbody td:nth-child(2) {
    right: 0;
    top: unset;
    position: -webkit-sticky;
    position: sticky;
    z-index: 1;
}

.table-sticky.first-col-sticky table th:first-child,
.table-sticky.first-col-sticky table td:first-child {
    right: 0;
    position: -webkit-sticky;
    position: sticky;
    border-left: 1px solid #d9d9d9;
}

.table-sticky.first-col-sticky table td:first-child {
    z-index: 3 !important;
    background-color: white;
}

.table-sticky.first-col-sticky table th:first-child {
    z-index: 4 !important;
}

.table-sticky {
    max-height: 60vh;
    overflow: auto;
}

.table-sticky table {
    position: relative;
}

.table-sticky table thead {
    position: -webkit-sticky;
    position: sticky;
    top: -2px;
    z-index: 2;
    background-color: var(--color-back);
}

.table-sticky table tfoot,
.table-sticky table tfoot th,
.table-sticky table tfoot td {
    position: -webkit-sticky;
    position: sticky;
    bottom: 0;
    z-index: 4;
    box-shadow: -2px 0px 5px 2px #bbb;
}

/* Legend styles */
/*#region alter-dyn-value */

.alter-dynval {
    position: relative;
}

    .alter-dynval .pin-btn {
        font-size: .9rem;
    }

        .alter-dynval .pin-btn:not(.on) {
            color: lightgray;
        }

    .alter-dynval label {
        display: none;
    }

#board-table:not(.showTech) .no-pin {
    display: none;
}

/*#endregion */
ul.legend {
    position: relative;
    height: 14rem;
    margin: 1.5rem 0;
}

ul.legend:before {
    content: '';
    position: absolute;
    height: 100%;
    margin-left: .5rem;
    width: .5rem;
    border-radius: 1rem;
    background: linear-gradient(0deg, var(--color-bar-1), var(--color-bar-5));
}

ul.legend li {
    margin: 0 .7rem;
    position: absolute;
    height: 1rem;
    display: flex;
    cursor: grab;
    left: unset !important;
    bottom: 0;
}

ul.legend li:active {
    cursor: none;
}

ul.legend li .tick {
    width: 30px;
    height: 100%;
    text-align: center;
    background: #FCDDEC;
    position: relative;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    padding: 0 5px;
    font-size: 12px;
}

ul.legend li:focus-within .tick {
    background: var(--color-primary);
    color: white;
}

ul.legend li .tick:before {
    content: "";
    position: absolute;
    right: 100%;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-top: 4px solid transparent;
    border-right: 6px solid #FCDDEC;
    border-bottom: 4px solid transparent;
}

ul.legend li:focus-within .tick:before {
    border-right-color: var(--color-primary);
}

ul.legend li input {
    border: none;
    padding: 0 5px;
    font-size: 14px !important;
    margin: 0 .5rem;
}

ul.legend li .unit {
    font-size: 14px;
    margin-right: .5rem;
}

ul.legend li input:not(:focus):not(:hover) {
    background: none;
    font-size: 0.8em;
}



/* Bottom buttons */
.bottom-buttons {
    width: 100%;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem;
    background: #efcfffcf;
    box-shadow: 0px -2px 4px rgba(0, 0, 0, 0.15);
    z-index: 5;
    display: flex;
    justify-content: center;
    gap: .5rem;
}

.bottom-buttons > * {
    flex: 1;
}

.bottom-buttons .btn {
    width: 100%;
    white-space: nowrap;
    background: var(--color-head);
    border: none;
    color: white;
}

.container-fluid .nav-item.selected a {
    font-weight: bold;
    color: #673AB7 !important;
}

@media (min-width : 667px) {
    .bottom-buttons > * {
        max-width: 13rem;
    }

    .nav-item .btn.rounded-circle,
    .container-fluid .navbar-nav a,
    .container-fluid .navbar-nav .btn {
        color: white !important;
        border-color: white;
    }
}

@media only screen and (max-width : 667px ) {
    html {
        font-size: 18px;
    }

    .container-fluid:not(.thin) .breadcrumb {
        padding: 0;
        overflow: hidden;
        gap: 0.3rem 0;
    }

    .breadcrumb-item + .breadcrumb-item::before {
        padding-left: 3px;
        float: none;
    }
    .breadcrumb-item {
        font-size: 14px;
    }
    .breadcrumb-item + .breadcrumb-item {
        padding-right: 3px;
        
    }
    .navbar-light .navbar-toggler {
        color: white;
    }

    body > .container-fluid {
        padding: 1rem;
    }

    header .container-fluid {
        padding: 0;
    }

    .footer__block_center {
        padding: 0;
    }

    .footer__block_left {
        text-align: right;
        margin-top: 1rem;
        font-size: 0.9em;
    }

    .footer__block_left a {
        text-align: right;
        font-size: 14px;
    }

    .footer__block_right {
        margin-bottom: 2rem;
    }

    .side-menu {
        position: fixed !important;
        margin: 0;
        right: -100%;
        overflow: auto;
        top: 57px;
        bottom: 0;
        z-index: 20;
        inset: 0;
        width: 90%;
        transition: 0.3s;
        background: rgb(255 255 255);
        box-shadow: 0 2px 5px 1px rgb(0 0 0 / 16%);
    }

    .container-fluid > nav{
        padding: .5rem .5rem 0;
    }
}

.board-views a {
    display: block;
    padding: 0.1rem 0;
}

.start-navs {
    display: flex;
    align-items: center;
}

@media (max-width: 576px) {
    a .navbar-brand {
        padding: 0;
        display: flex;
        align-items: center;
    }

    a.navbar-brand img {
        font-size: 17px;
        margin: 0;
        filter: brightness(1000%);
    }

    .navbar .container-fluid .navbar-collapse {
        background: white;
        padding: .5rem 1rem;
        position: absolute;
        margin: 0;
        right: 0;
        left: 0;
        top: 2.8rem;
        z-index: 2000;
        box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.25);
    }

    .navbar .container-fluid .navbar-collapse .navbar-nav {
        flex-direction: column;
        margin: 0.5rem 0;
        gap: .5rem;
    }

    .navbar .container-fluid .navbar-collapse li {
        width: 100%;
        flex: 1 1 100%;
        justify-content: space-between;
    }

    .navbar .container-fluid .navbar-collapse .navbar-nav .btn {
        border: none;
        padding: 0;
        display: block;
        width: 100%;
        text-align: right;
    }

    .start-navs {
        width: 100%;
        justify-content: space-between;
    }
}
