:root {
    --imd-hard-brand: rgb(0, 102, 204);
    --imd-midi-brand: rgba(0, 102, 204, 0.55);
    --imd-soft-brand: rgba(0, 102, 204, 0.25);
    --imd-dark-brand: rgb(0, 51, 102);
    --imd-light-opaque: white;
    --imd-transparent-00: rgba(0, 0, 0, 0);
    --imd-transparent-03: rgba(0, 0, 0, 0.03);
    --imd-transparent-06: rgba(0, 0, 0, 0.06);
    --imd-transparent-09: rgba(0, 0, 0, 0.09);
    --imd-transparent-44: rgba(0, 0, 0, 0.44);
    --imd-transparent-55: rgba(0, 0, 0, 0.55);

    --info: rgb(0, 102, 204);
}

body {
    overflow-y: auto;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
        Ubuntu, "Helvetica Neue", sans-serif;
    font-size: 15px;
    font-weight: 400;
    scrollbar-width: thin;
    scrollbar-color: #999 white;
}

.card {
    margin-bottom: 2px;
}

.card:hover {
    background-color: var(--imd-transparent-03);
}

.container-fluid {
    max-width: 1280px;
    /* max-width: 1366px; */
    /* max-width: 1440px; */
    /* max-width: 1536px; */
}

.banner {
    position: fixed;
    bottom: 0;
    z-index: 3;
    background-color: var(--imd-light-opaque);
    border-top: 1px solid var(--imd-transparent-03);
    padding-top: 4px;
    padding-bottom: 4px;
}

.banner .nav,
.banner .filters-bar {
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #999 white;
}

.banner .nav .nav-item,
.banner .filters-bar .category-name {
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.banner .nav,
.banner .filters-bar {
    font-size: 19px;
}

.banner i {
    font-size: 26.4px;
}

.banner .stats {
    display: none;
}

.banner .nav-text {
    margin-left: 12px;
    font-weight: 700;
}

.content {
    margin-bottom: 56px;
    padding-bottom: 4px;
}

.main {
    margin-bottom: 8px;
}

.small-logo {
    margin-left: 1rem;
    height: 24px;
    width: 24px;
    border-radius: 50%;
    display: none;
}

.small-logo-extra {
    height: 19px;
    width: 19px;
    display: inline-block;
    margin-right: 16px;
    vertical-align: top;
}

.full-logo {
    display: none;
}

.page-bar {
    position: sticky;
    top: 0;
    padding-top: 4px;
    margin-bottom: 8px;
    z-index: 3;
    background-color: var(--imd-light-opaque);
}

.top-line {
    height: 2.5rem;
}

.back-icon,
.page-icon {
    font-size: 24px;
    font-weight: 800;
    margin-right: 16px;
}

.page-title {
    margin: 0;
    padding: 4px 10px;
    font-weight: bolder;
    font-size: larger;
}

.search-field {
    margin: 0;
    padding: 4px 24px 4px 48px;
    border-radius: 25px;
    border-width: thin;
    background-color: var(--imd-transparent-03);
    width: 100%;
}

.search-field:focus {
    background-color: var(--imd-light-opaque);
    border-color: var(--info);
}

.search-icon {
    position: absolute;
    left: 18px;
    top: 4px;
    color: var(--imd-transparent-09);
    font-size: 19px;
    margin-right: 16px;
}

.search-field:focus+.search-icon {
    color: var(--info);
}

.title-box {
    margin-bottom: 10px;
}

.search-box {
    width: 100%;
}

.side-card {
    background-color: var(--imd-transparent-03);
    margin-bottom: 8px;
}

.no-bg-color {
    background-color: inherit;
}

.side-card-title {
    display: inline-block;
    font-size: 19px;
    font-weight: 800;
    padding: 10px 18px;
}

.side .list-group-item {
    background-color: var(--imd-transparent-00);
    border-right: 0;
    border-left: 0;
    padding: 8px 12px;
}

.side .list-group-item:hover {
    background-color: var(--imd-transparent-06);
}

.side .card-data {
    margin: 0 4px;
}

.side .genius-name {
    font-weight: 700;
}

.page-footer {
    font-size: 12px;
    font-weight: 400;
}

.small-avatar {
    width: 48px;
    height: 48px;
    object-fit: cover;
}

.small-avatar img {
    width: 48px;
    height: auto;
    object-fit: cover;
}

.main .card-data {
    margin: 0 8px;
}

.main .genius-name,
.main .catg-name {
    font-weight: 700;
}

.catg-name {
    color: var(--imd-hard-brand);
}

.catg-name:hover {
    color: var(--imd-dark-brand);
}

.catg-list a {
    margin-right: 1rem;
}

.main .card-info {
    color: var(--imd-transparent-55);
}

.idea-image {
    max-width: 100%;
    width: auto;
    height: auto;
    object-fit: cover;
}

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

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

.item-card-body {
    padding-top: 4px;
}

.idea-detail-list .list-group-item {
    max-width: 100%;
}

.tiny-avatar {
    width: 24px;
    height: 24px;
    object-fit: cover;
    background-position: 50% 50%;
    background-size: cover;
    background-image: url("../../assets/img/default-avatar.jpg");
}

.tiny-avatar img {
    width: 24px;
    height: auto;
    object-fit: cover;
}

.idea-card .genius-name {
    color: var(--imd-transparent-06);
}

.biography {
    margin-top: 1em;
}

.actions-box {
    margin-top: 1em;
    border-top: 1px solid var(--imd-transparent-06);
    border-bottom: 1px solid var(--imd-transparent-06);
    padding: 4px;
}

.icon-box {
    width: 48px;
    height: 48px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 2px 2px 2px 1px var(--imd-transparent-55);
    margin-right: 8px;
}

.icon-box img {
    width: auto;
    object-fit: cover;
}

.icon-box svg {
    width: 32px;
    height: 32px;
}

.actions-box svg {
    width: 32px;
    height: 32px;
}

.avatar-bg {
    background-position: 50% 50%;
    height: 200px;
    width: 200px;
    background-size: cover;
    border-radius: 50%;
    margin-left: calc(50% - 100px);
}

.avatar-bg[src=""] {
    background-image: url("../../assets/img/default-avatar.jpg");
}

.sidenav {
    position: fixed;
    z-index: 1000;

    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;

    background-color: var(--imd-light-opaque);
    overflow-x: hidden;
    transition: 0.5s ease;
    font-size: 24px;
}

.sidenav .closebtn {
    position: absolute;
    top: 6px;
    right: 24px;
    margin-left: 50px;
    color: #818181;
    display: block;
    transition: 0.3s;
    font-size: xx-large;
    cursor: pointer;
}

.sidenav ul,
.sidenav div {
    margin: 0 8px;
}

video,
audio {
    width: 100%;
}

.action-icons {
    margin-left: 1rem;
    font-size: 24px;
}

.action-icons svg,
.action-icons img {
    max-width: 1.5rem;
    max-height: 1.5rem;
    object-fit: cover;
}


.detail-card {
    min-height: 3rem;
}

.info-icons {
    background-color: rgba(0, 0, 0, 0.1);
    width: 100%;
    padding: 0 0.5rem;
    font-size: 0.8rem;
}

.info-icons svg,
.info-icons img {
    max-width: 1.3rem;
    max-height: 1.3rem;
    object-fit: cover;
}

.pub-visible {
    color: var(--info);
}

.pri-visible {
    color: var(--warning);
}

.nav-link {
    width: max-content;
    border-radius: 50px;
}

.nav-link.active {
    color: var(--imd-dark-brand);
}

.nav-link:hover {
    color: var(--imd-hard-brand);
    background-color: var(--imd-soft-brand);
}

.nav-icon {
    stroke: var(--info);
    vertical-align: top;
}

.landing {
    min-height: 100vh;
}

.landing .logo {
    text-align: center;
}

.landing .logo img {
    height: 5vh;
    width: auto;
    object-fit: cover;
}

.landing .main {
    padding: 4px inherit;
}

.landing-message {
    margin-top: 2em;
    margin-bottom: 1em;
    text-align: center;
}

.landing-spacer {
    width: 10px;
}

.landing footer {
    min-height: 5vh;
}

a[data-toggle="modal"]:hover {
    cursor: pointer;
}

.filters-bar {
    padding-bottom: 8px;
}

.category-list {
    margin-left: 6px;
    line-height: 1.2em;
}

.category-name {
    width: max-content;
    border-radius: 50px;
    padding-left: 1rem;
    padding-right: 1rem;
    font-weight: bold;
    padding-top: 8px;
    padding-bottom: 8px;
}

.category-name:hover {
    color: var(--imd-hard-brand);
    background-color: var(--imd-soft-brand);
}

.category-name a {
    text-decoration: none;
}

.category-name svg {
    height: 1.64rem;
    width: 1.64rem;
    margin-right: 1rem;
}

.category-name.active a {
    color: var(--imd-dark-brand);
}

.embed-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    max-width: 100%;
}

.embed-container iframe,
.embed-container object,
.embed-container embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.genius-ideas-list {
    margin-top: 1rem;
}

.detail-section img {
    width: initial;
    max-width: 100%;
    object-fit: cover;
}

.tox {
    max-height: 50vh;
}

.back-icon,
.page-icon {
    font-size: 26.4px;
}

@media (min-width: 768px) {
    .banner {
        height: 100vh;
        position: sticky;
        top: 0;
        border-top: none;
    }

    .banner .stats {
        display: block;
        padding-right: 4px;
    }

    .banner .nav {
        padding-top: 4px;
        padding-bottom: 4px;
    }

    .content {
        margin-bottom: 0;
    }

    .small-logo {
        display: block;
    }

    .small-logo-extra {
        display: none;
    }
}

@media (min-width: 1200px) {
    .small-logo {
        display: none;
    }

    .full-logo {
        height: 32px;
        width: auto;
        display: block;
    }

    .banner,
    .side {
        padding-right: 0;
        padding-left: 0;
    }

    .side {
        height: 100%;
        position: sticky;
        top: 0;
        padding-top: 4px;
    }
}

.page-top-bar {
    width: 100%;
    position: sticky;
    top: 0;
    padding-top: 4px;
    margin-bottom: 8px;
    z-index: 10;
    background-color: var(--imd-light-opaque);
}

.page-top-bar img,
.page-top-bar svg {
    width: auto;
    height: 26.5px;
    object-fit: cover;
}

.page-top-bar .imd-logo {
    width: auto;
    height: 36px;
}

.nav-pills .nav-link.active,
.nav-pills .show>.nav-link {
    background-color: var(--imd-midi-brand);
}

.left-vbar {
    position: fixed;
    background-color: var(--imd-light-opaque);
    border-top: 1px solid var(--imd-transparent-03);
}

.left-vbar .nav,
.left-vbar .filters-bar {
    height: calc(100vh - 64px);
    max-width: 100%;
    width: 12rem;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #999 white;
}

.can-scroll {
    max-height: 24rem;

    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #999 white;
}

.can-scroll-body {
    max-height: 45vh;

    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #999 white;
}

.left-vbar .nav .nav-item,
.left-vbar .filters-bar .category-name {
    margin-bottom: 1rem;
}

.left-vbar .nav,
.left-vbar .filters-bar {
    font-size: 19px;
}

.left-vbar i {
    font-size: 26.4px;
}

.left-vbar .nav-text {
    margin-left: 12px;
    font-weight: 700;
}

.right-side {
    margin: auto 12px;
}

.right-side .list-group-item {
    background-color: var(--imd-transparent-00);
    border-right: 0;
    border-left: 0;
    padding: 8px 12px;
}

.right-side .list-group-item:hover {
    background-color: var(--imd-transparent-06);
}

.right-side .card-data {
    margin: 0 4px;
}

.right-side .genius-name {
    font-weight: 700;
}

/* @media (min-width: 992px) {
  .right-side {
    position: fixed;
    height: calc(100vh - 64px);
    width: 100%;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #999 white;
  }  
} */


.image-detail {
    max-width: 100%;
}

.imd-cert {
    height: 2rem;
    width: auto;
}

.smaller-img .small-avatar {
    width: 36px;
    height: 36px;
    object-fit: cover;
}

.share-icon svg {
    fill: var(--imd-hard-brand);
    width: 48px;
    height: 48px;
}

.scrollable-form {
    overflow-y: auto;
}

.bordered-square {
    width: calc(48px + 2em);
    height: calc(48px + 2em);
    padding-left: 0.5em;
    padding-right: 0.5em;
    box-shadow: 2px 2px 2px 1px var(--imd-transparent-55);
    font-size: smaller;
    position: absolute;
    top: 0.5em;
    right: 0;
}

.product-name {
    font-size: 14px;
    font-weight: 700;
}

.card-hint {
    font-size: 16px;
}

.icon-box.smaller {
    width: 32px;
    height: 32px;
}

.icon-box.smaller svg {
    width: 24px;
    height: 24px;
}

.warning svg {
    fill: var(--warning);
}

.smooth svg {
    fill: #999;
}

#a2apage_show_more_less {
    display: none;
}

.contrasted {
    background: var(--imd-soft-brand);
}

.boxed-area {
    border-top: 1px solid var(--imd-transparent-09);
    min-height: 3rem;
    padding: 1rem 1.5rem;
}

.active-product {
    color: blue;
    font-weight: bold;
}

.negative-product {
    color: red;
    font-weight: bold;
}


.icon-box.req0 svg {
    color: black;
    fill: lightgray;
}

.icon-box.req1 svg {
    color: brown;
    fill: orange;
}


.icon-box.disabled svg {
    pointer-events: none;
    opacity: 0.4;
}

.icon-box.req2 svg {
    color: var(--imd-dark-brand);
    fill: var(--imd-hard-brand);
}

.mod-text {
    color: orange;
    text-align: center;
    font-weight: bolder;
    font-size: 1.2em;
}

.disabled {
    pointer-events: none;
    opacity: 0.7;
}

.nav-item li {
    display: inline-block;
}

a.anchor {
    display: block;
    position: relative;
    top: -50px;
    visibility: hidden;
}

.btn-imd-big {
    font-weight: bolder;
    width: 100%;
}

.btn-imd-blue,
.btn-imd-blue:hover,
.btn-imd-blue:active {
    color: white;
    background-color: var(--imd-hard-brand);
}

.btn-imd-green,
.btn-imd-green:hover,
.btn-imd-green:active {
    color: white;
    background-color: var(--success);
}

.btn-imd-blueish,
.btn-imd-blueish:hover,
.btn-imd-blueish:active {
    color: white;
    background-color: var(--imd-midi-brand);
}

.detail-fp svg {
    fill: var(--warning);
}

.attention-message {
    background-color: var(--imd-soft-brand);
    color: var(--imd-hard-brand);
    font-weight: bolder;
}

.blinking {
    animation-name: animate;
    animation-duration: 2s;
    animation-iteration-count: infinite;
    opacity: 1;
}

@keyframes animate {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }

    100% {
        opacity: 0;
    }
}

.am-title {
    font-size: 3rem;
}

.am-text {
    font-size: 2rem;
}

.qfpm i {
    font-size: 1.2rem;
}

.qfpm p {
    font-size: 1.1rem;
}

.qf-active,
.qfpm .active {
    color: var(--imd-dark-brand);
}

.num-idea {
    font-size: 0.8rem;
    font-weight: 500;
}

.img-over {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 2em;
    height: auto;
}

.store-sideline p {
    font-size: 14px;
    margin: 0;
}

label {
    margin-top: 0.5rem;
    margin-bottom: 0;
}

.spacer {
    margin-top: 4rem;
}

legend {
    margin-top: 1em;
    margin-bottom: 0;
}

.back-store {
    border-radius: 28px !important;
}

.payment-options {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.stripe-button {
    box-sizing: border-box;

    border: 1px solid transparent;
    border: none;
    vertical-align: top;
    overflow: hidden;

    color: #fff;
    background: #0070ba;

    margin-bottom: 14px;

    max-height: 55px;

    width: 100%;
    max-width: calc(100% - 2px);

    border-radius: 13px;

    font-style: oblique;

    font-weight: 900;
}

.stripe-button:hover,
.stripe-button:focus {
    filter: brightness(0.95);
}

.bankpay-button {
    box-sizing: border-box;

    border: 1px solid transparent;
    border: none;
    vertical-align: top;
    overflow: hidden;

    color: #fff;
    background: #0070ba;

    margin-bottom: 14px;

    height: 45px;
    /* max-height: 55px; */

    width: 319px;
    /* max-width: calc(100% - 2px); */

    border-radius: 4px;

    font-style: oblique;

    font-weight: 900;
}

.bankpay-button:hover,
.bankpay-button:focus {
    filter: brightness(0.95);
}

.co-block {
    width: 100%;
    background: linear-gradient(#bbb, #bbb) no-repeat center/100% 1px;
}

@media only screen and (min-width: 990px) {
    .co-block {
        width: 75%;
        background: linear-gradient(#bbb, #bbb) no-repeat center/1px 100%;
    }
}

.container {
    padding-right: 0;
    padding-left: 0;
}

@media only screen and (min-width: 300px) {
    .stripe-button {
        height: 35px;
        min-height: 35px;

        border-radius: 23px;

        font-size: 18px;
    }

    .container {
        padding-right: 15px;
        padding-left: 15px;
    }
}

@media only screen and (min-width: 400px) {
    .stripe-button {
        height: 45px;
        min-height: 45px;

        border-radius: 23px;

        font-size: 20px;
    }
}

@media only screen and (min-width: 770px) {
    .stripe-button {
        height: 55px;
        min-height: 55px;
        max-width: 750px;

        border-radius: 28px;

        font-size: 22px;
    }
}


.cards-image {
    max-width: 100%;
}

.card {
    margin-bottom: 8px;
}

.card:hover,
.card:active,
.card:focus,
.card:target {
    outline: 4px solid #2a94f2;
}

.right-side .list-group-item:hover,
.right-side .list-group-item:active,
.right-side .list-group-item:focus,
.right-side .list-group-item:target {
    outline: 4px solid #2a94f2;
}

.idea-detail-list .list-group-item {
    margin-bottom: 4px;
}

.idea-detail-list .list-group-item:hover,
.idea-detail-list .list-group-item:active,
.idea-detail-list .list-group-item:focus,
.idea-detail-list .list-group-item:target {
    outline: 4px solid #2a94f2;
}

.right-side {
    overflow-x: hidden;
    scrollbar-width: thin;
    scrollbar-color: #999 white;
}

@media (min-width: 992px) {
    .right-side {
        top: 48.5px;
        position: sticky;
        max-height: calc(100vh - 50px);
        overflow-y: auto;
    }
}

.btn-load-more:hover {
    background-color: var(--imd-hard-brand);
}

.token-icon-small {
    width: 32px;
    height: 32px;
}

.token-icon-large {
    width: 48px;
    height: 48px;
}

.modal-editor {
    min-height: 100vh;
}

.tox-tinymce {
    max-height: none;
    min-height: 100%;
}

button.attachment {
    color: var(--imd-hard-brand);
    background-color: var(--imd-transparent-06);
    border: 0;
    border-radius: 5px;
    padding: .5rem 1rem;
}

button.attachment:hover {
    color: var(--imd-hard-brand);
    background-color: var(--imd-soft-brand);
}

button.attachment::before {
    content: "🖺 ";
}

button.attachment[data-attachment=""] {
    color: lightcoral;
}


@media print {
    .top-bar-left-part div:first-of-type {
        display: flex !important;
        justify-content: center !important;
    }

    .top-bar-left-part div a:last-of-type {
        display: none !important;
    }

    .top-bar-central-part,
    .content-left-column,
    .content-central-right-column {
        display: none !important;
    }

    .content-central-main {
        display: flex !important;
        justify-content: center !important;
    }

    .main {
        max-width: 40rem;
    }
}

/*slide*/
.switch {
    position: relative;
    display: inline-block;
    width: 56px;
    height: 20px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 14px;
    width: 14px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}

input:checked+.slider {
    /* background-color: #2196F3; */
    background-color: #0dce0d;
}

input:focus+.slider {
    /* box-shadow: 0 0 1px #2196F3; */
    /* box-shadow: 0 0 1px #0dce0d; */
    outline-width: 1px;
    outline-offset: 1px;
    outline-color: #0dce0d;
    outline-style: solid;
}

input:checked+.slider:before {
    -webkit-transform: translateX(20px);
    -ms-transform: translateX(20px);
    transform: translateX(32px);
}

/* Rounded sliders */
.slider.round {
    border-radius: 24px;
}

.slider.round:before {
    border-radius: 50%;
}


.row.detail-share label div,
.row.detail-share label p {
    margin: 0;
    padding: 0;
}

.disabled-link {
    pointer-events: none;
}

/*input type date*/
.form-date {
    padding: 16px;
    display: flex;
    flex-direction: column;
}

.form-date__label {
    font-family: "Helvetica", arial, sans-serif;
    font-size: 14px;
    line-height: 20px;
    padding-bottom: 8px;
    font-weight: bold;

}

.form-date__input[type="date"] {
    appearance: none;
    color: #1D1D1D;
    font-family: "Helvetica", arial, sans-serif;
    font-size: 14px;
    border: 1px solid #e9e2e2;
    background: #e9e2e2;
    padding: 4px;
    display: inline-block;
    visibility: visible;
    width: 120px;
    border-radius: 10px;
    border-color: #0dce0d;

}

.form-date__input[type="date"]:focus {
    color: #495057;
    background-color: #FFFFFF;
    border-color: #80BDFF;
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, .25);
}