﻿/* PLAN SELECTOR */
.tab-buttons .tab {
    border-color: var(--bs-page-neuutralcolor-o30) !important;
}

.workflow-container.plan-selector.tab-container {
    padding: 0px;
    overflow: visible;
    background-color: transparent;
}

.workflow-container.plan-selector table {
    margin-bottom: 0px;
}

.workflow-container.plan-selector table tbody {
    border-bottom: none;
}

.workflow-container.plan-selector table th:first-child {
    width: 40px;
}

.workflow-container.plan-selector table th:nth-child(2) {
    width: 25%;
}

.workflow-container.plan-selector table th:nth-child(3) {
    width: 160px;
}

.workflow-container.plan-selector table th:last-child,
.workflow-container.plan-selector table td:last-child {
    text-align: left;
}

.workflow-container.plan-selector table tbody tr:nth-child(2n) {
    background-color: transparent;
}

.workflow-container.plan-selector table tbody tr:nth-child(2n-1) td {
    background-color: var(--bs-page-neutralcolor-o10);
}

.workflow-container.plan-selector .plancollection-title-row th {
    padding-top: 5px;
    padding-bottom: 5px;
}

.workflow-container.plan-selector .plancollection-title-row th[data-coremodule] {
    vertical-align: top;
}

.workflow-container.plan-selector .plancollection-title-cell {
    padding-top: 0px !important;
    min-width: 110px;
}

.workflow-container.plan-selector .plancollection-title {
    display: block;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 20px;
}

.workflow-container.plan-selector .plancollection-subtitle {
    display: block;
    margin-top: 32px;
    position: relative;
    font-size: 12px;
    line-height: 12px;
}

.workflow-container.plan-selector tr.total-price-row td:first-child {
    background-color: transparent;
}

.workflow-container.plan-selector tr.total-price-row td.total-price-cell {
    font-size: 22px;
    font-weight: bold;
}

.workflow-container.plan-selector tr.total-price-row td:not(:first-child) {
    border-top: 1px solid var(--bs-page-neutralcolor-o15);
}

.workflow-container.plan-selector tr:has(.coremodule-title-cell) td {
    border-top: 2px solid var(--bs-page-neutralcolor-o30);
}

.workflow-container.plan-selector .coremodule-title-cell {
    padding: 0px !important;
    padding-left: 0px !important;
    border-top: 1px solid var(--bs-page-neutralcolor-o15);
    background-color: transparent !important;
}

.workflow-container.plan-selector .coremodule-title-container {
    position: relative;
    margin-top: 10px;
}

.workflow-container.plan-selector .coremodule-title {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.workflow-container.plan-selector .coremodule-title-inner {
    transform: rotate(-90deg);
    white-space: nowrap;
    font-size: 16px;
}

.workflow-container.plan-selector .plan-title-cell {
    /*padding-left: 25px;*/
}

.workflow-container.plan-selector .plan-title {
    display: inline;
}

.workflow-container.plan-selector .plan-subtitle {
    display: block;
    font-size: 11px;
    color: #999;
    margin-top: 2px;
}

input[type=checkbox]:disabled:before,
input[type=checkbox].disabled:before {
    content: '';
    height: 28px;
    width: 28px;
    display: inline-block;
    vertical-align: middle;
    background-image: url(/img/rr-checkbox-unchecked.png);
    cursor: default;
}

input[type=checkbox]:disabled:checked:before,
input[type=checkbox].disabled:checked:before {
    background-image: url(/img/rr-checkbox-checked.png)
}

.plan-selector input[type=checkbox]:not([checked]) {
    opacity: 0.1;
}

.plan-selector thead th.plancollection-selected,
.plan-selector tbody td.plancollection-selected {
    border-left: 3px solid var(--primarypurple);
    border-right: 3px solid var(--primarypurple);
    background-color: var(--bs-page-neutralcolor-o5);
}

.plan-selector thead th.plancollection-selected {
    border-top-width: 3px;
    border-top-color: var(--primarypurple);
    padding: 13px 13px 14px 13px;
}

.plan-selector tbody tr:last-child td.plancollection-selected {
    border-bottom-width: 3px;
    border-bottom-color: var(--primarypurple);
}

.plan-selector tbody tr.plan-selected td:not(.coremodule-title-cell) {
    border-top: 3px solid var(--primarypurple);
    border-bottom: 3px solid var(--primarypurple);
    background-color: var(--bs-page-neutralcolor-o5);
}

.plan-selector tbody tr.plan-selected td.plan-title-cell {
    border-left-width: 3px;
    border-left-color: var(--primarypurple);
}

.plan-selector tbody tr.plan-selected td.custom-plancollection {
    border-right-width: 3px;
    border-right-color: var(--primarypurple);
}

.plan-selector .spacer-row {
    height: 30px;
}

.plan-selector table.workflow-table th:first-child,
.plan-selector table.workflow-table td:first-child {
    border-left: 0px solid transparent;
}

.plan-selector table.workflow-table th:last-child,
.plan-selector table.workflow-table td:last-child {
    border-right: 0px solid transparent;
    text-align: left;
}

.plan-selector table thead {
    border-bottom: 1px solid transparent;
}

.plan-selector tbody td {
    border-left: 1px solid var(--bs-page-neutralcolor-o20);
    border-right: 1px solid var(--bs-page-neutralcolor-o20);
}

.plan-selector thead th {
    border-left: 1px solid transparent;
    border-right: 0px solid transparent;
}

.plan-selector thead th {
    vertical-align: top;
}

.plan-selector tbody tr:last-child td {
}

.plan-selector td.disabled {
    opacity: 0.3;
}

.plan-selector tr.select-buttons td.disabled,
.plan-selector td.disabled button.disabled {
    opacity: 1;
}

.plan-selector thead th {
    vertical-align: middle;
}

.plan-selector thead th .h4 {
    margin-bottom: 0px;
    vertical-align: middle;
}

.plan-selector thead th .h4 i {
    display: inline-block;
    margin-right: 5px;
    font-size: 22px;
    vertical-align: middle;
    margin-bottom: 5px;
}

.plan-selector th[data-coremodule]:not(.coremodule-show),
.plan-selector td[data-coremodule]:not(.coremodule-show) {
    display: none;
}

.plan-selector .warning-message {
    display: block;
    font-weight: normal;
    font-size: 11px;
    color: var(--bs-danger);
}

.plan-selector .warning-message.hidden {
    display: none;
}

.plan-selector .help-icon {
    position: relative;
    border: none;
}

.help-icon {
    display: inline-block;
    vertical-align: middle;
    margin-left: 4px;
    margin-bottom: 3px;
    width: 15px;
    height: 15px;
}

.plan-selector .help-icon:before {
    border: none;
    margin-top: 0px;
    font-size: 16px;
    color: var(--bs-page-neutralcolor-o15);
}

.plan-selector .help-icon .help-panel {
    display: none;
    position: absolute;
    width: 600px;
    left: 5px;
    border: 1px solid var(--primaryblue);
    border-radius: var(--bs-border-radius-sm);
    padding: 14px;
    background-color: white;
    font-family: "open sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-weight: normal;
    z-index: 99;
}

.plan-selector tbody .help-icon .help-panel {
    top: 5px;
}

.plan-selector .help-icon .help-title {
    padding-left: 0px;
}

.plan-selector .help-icon .help-details {
    padding-left: 0px;
    margin-bottom: 0px;
}

.plan-selector .help-icon .help-externallink {
    font-size: 15px;
    font-weight: bold;
    display: inline-block;
    margin-top: 10px;
    vertical-align: middle;
    color: var(--primaryblue)
}

.plan-selector .help-icon .help-externallink i {
    font-size: 10px;
    vertical-align: middle;
    display: inline-block;
    margin-bottom: 3px;
}

.plan-selector .help-icon .help-youtubevideo {
    display: block;
    height: 350px;
    width: 100%;
    margin: 14px auto;
}

.plan-selector .help-icon:hover {
    color: inherit;
}

.plan-selector .help-icon:hover .help-panel {
    display: block;
}

.plan-selector .recommended-plan {
    position: relative;
    display: block;
}

.plan-selector .recommended-plan:before {
    content: "Realm Recommended";
    position: absolute;
    top: -10px;
    left: 0px;
    display: block;
    background-color: var(--primarypurple);
    color: white;
    text-transform: uppercase;
    font-size: 11px;
    padding: 5px 3px;
    width: 100%;
    text-align: center;
}

.plan-selector tr.missing-required-module button {
    display: none !important;
}

.plan-selector tr.missing-required-module td.custom-plancollection:after {
    content: 'You cannot select this module because another required module is missing';
    color: var(--bs-danger);
    display: block;
    font-size: 12px;
    float: right;
    width: 250px;
    text-align: right
}

.plan-selector tr.has-exceeded-userlimit button {
    display: none !important;
}

.plan-selector tr.has-exceeded-userlimit td.custom-plancollection .warning-message {
    display: block;
    width: 250px;
    float: right;
    text-align: right
}

/* Tmp Customs Clearance row-height management */
.plan-selector tr.plan-row[data-planid="76"], 
.plan-selector tr.plan-row[data-planid="77"] {
    height: 100px;
}

/* PLAN SUMMARY */
.workflow-container.plan-summary .h4 {
    padding-left: 14px;
}

.plan-summary .total-label,
.plan-summary .total-price {
    font-size: 16px;
    font-weight: 600;
}

@media all and (max-width: 1399px) {
    .plan-selector .recommended-plan:before {
        top: -25px;
        font-size: 11px;
        padding: 5px 3px;
    }
}

@media all and (max-width: 1199px) {
    .workflow-container.plan-selector .tab-container {
        margin-bottom: 0px;
    }

    .workflow-container.plan-selector,
    .workflow-container.plan-summary {
        margin-bottom: 20px;
    }

    .plan-selector td{
        font-size: 16px;
    }

    .plan-selector .help-icon .help-externallink {
        font-size: 15px;
    }

    .plan-selector .help-icon .help-externallink i {
        font-size: 10px;
    }

    .plan-selector input[type=checkbox]:disabled:before,
    .plan-selector input[type=checkbox].disabled:before {
        height: 20px;
        width: 20px;
        background-size: contain;
    }

    .plan-selector thead[data-plankind=core] th.coreplan-selected {
        padding: 9px 13px 14px 13px;
    }

    .plan-selector .recommended-plan:before {
        top: -25px;
        font-size: 11px;
        padding: 5px 3px;
    }

    .tab-buttons h4 {
        font-size: 16px;
        padding: 14px;
    }
}

@media all and (max-width: 992px) {
    .workflow-container.plan-selector.tab-container {
        overflow-x: auto;
    }

    .workflow-container.plan-selector table th:nth-child(3) {
        width: 130px;
    }

    .workflow-container.plan-selector th.plancollection-title-cell {
        width: 120px;
    }

    .workflow-container.plan-selector th.custom-plancollection {
        width: 350px;
    }

    .plan-selector tr.has-exceeded-userlimit td.custom-plancollection .warning-message {
        width: 80%;
    }

    .plan-selector tr.missing-required-module td.custom-plancollection:after {
        width: 80%;
        display: inline-block;
    }

    .plan-selector table tbody tr {
        position: relative;
    }

    .plan-selector .help-icon {
        position: static;
    }

    .plan-selector .help-icon .help-panel {
        width: 95%;
        left: 2.5%;
        margin-top: 22px;
        margin-bottom: 20px;
    }

    .plan-selector .recommended-plan:before {
        top: 0px;
        font-size: 8px;
        padding: 5px 3px;
        white-space: nowrap;
    }

    .plan-selector.read-only .workflow-btn-sm {
        padding-left: 14px;
        padding-right: 14px;
    }

    .tab-buttons h4 {
        font-size: 14px;
        padding: 12px;
    }

    /* PRICING PAGE */
    .workflow-container.plan-selector.read-only table th:nth-child(2) {
        width: auto;
    }
}

@media all and (max-width: 767px) {
    .workflow-container.plan-selector table th:nth-child(2) {
        width: 130px;
    }

    .workflow-container.plan-selector table th:nth-child(3) {
        width: 70px;
    }

    .workflow-container.plan-selector th.custom-plancollection {
        width: 150px;
    }

    .workflow-container.plan-selector .tab-container {
        padding-top: 20px;
        overflow: auto;
    }

    .plan-selector table.workflow-table th:first-child, 
    .plan-selector table.workflow-table td.plan-title-cell {
        padding-left: 5px;
    }

    .plan-selector td {
        font-size: 12px;
    }

    .workflow-container.plan-selector .plan-subtitle {
        font-size: 9px;
    }

    .workflow-container.plan-selector table th:first-child {
        width: 25px;
    }

    .workflow-container.plan-selector .coremodule-title-inner {
        font-size: 14px;
    }

    .plan-selector .help-icon {
        margin-bottom: 3px;
        height: 10px;
        width: 10px;
    }

    .plan-selector .help-icon:before {
        font-size: 10px;
        margin-top: 5px;
    }

    .plan-selector .help-icon .help-panel {
        margin-top: 10px;
        margin-bottom: 10px;
        max-width: 85vw;
    }

    .plan-selector .help-icon .help-details {
        font-size: 10px
    }

    .plan-selector .help-icon .help-externallink {
        font-size: 15px;
    }

    .plan-selector .help-icon .help-externallink i {
        font-size: 10px;
    }

    .plan-selector input[type=checkbox]:disabled:before,
    .plan-selector input[type=checkbox].disabled:before {
        height: 20px;
        width: 20px;
        background-size: contain;
        margin-top: 3px;
    }

    .plan-selector .recommended-plan:before {
        content: 'Recommended';
        top: -3px;
        font-size: 7px;
        padding: 4px 0px;
    }

    .plan-selector tr.has-exceeded-userlimit td.custom-plancollection .warning-message,
    .plan-selector tr.missing-required-module td.custom-plancollection:after {
        font-size: 10px;
    }

    /* PRICING PAGE */
    .workflow-container.plan-selector.read-only {
        margin-bottom: 0px;
    }

    .workflow-container.plan-selector.read-only table th:nth-child(2) {
        width: 110px;
    }

    .workflow-container.plan-selector.read-only table th:nth-child(3) {
        width: 50px;
    }

    .workflow-container.plan-selector.read-only th.plancollection-title-cell {
        width: 80px;
    }

    .workflow-container.plan-selector.read-only th.custom-plancollection {
        width: 90px;
    }

    .plan-selector.read-only .plancollection-title {
        font-size: 12px;
    }

    .plan-selector.read-only .plancollection-subtitle {
        font-size: 10px;
    }

    .plan-selector.read-only td,
    .plan-selector.read-only tr.total-price-row td.total-price-cell {
        font-size: 11px;
    }

    .plan-selector.read-only td .plan-subtitle {
        font-size: 8px;
    }

    .workflow-container.plan-selector.read-only table {
        font-size: 10px;
    }

    .workflow-container.plan-selector.read-only table th {
        font-size: 10px;
    }

    .workflow-container.plan-selector.read-only table .h4 {
        font-size: 11px;
    }

    .workflow-container.plan-selector.read-only .workflow-btn-sm {
        font-size: 9px;
    }

    .plan-selector.read-only .help-icon .help-panel {
        max-width: 260px;
    }

    .plan-selector.read-only .help-icon {
        margin-bottom: 3px;
        height: 10px;
        width: 10px;
    }

    .plan-selector.read-only .help-icon:before {
        font-size: 10px;
        margin-top: 5px;
    }

    .plan-selector.read-only .workflow-btn-sm {
        padding-left: 7px;
        padding-right: 7px;
        padding-top: 3px;
        padding-bottom: 3px;
    }

    .workflow-container.plan-selector.read-only tr.plan-row td.custom-plancollection button{
        font-size: 0px;
    }

    .workflow-container.plan-selector.read-only tr.plan-row td.custom-plancollection button:after {
        content: 'Select';
        font-size: 8px;
    }

    .workflow-container.plan-selector.read-only tr.plan-row td.custom-plancollection button.active:after {
        content: 'Selected';
        font-size: 8px;
    }

    .plan-selector.read-only tr.has-exceeded-userlimit tr.plan-row td.custom-plancollection .warning-message,
    .plan-selector.read-only tr.missing-required-module tr.plan-row td.custom-plancollection:after {
        font-size: 8px;
        width: 60%;
    }

    /* TABS */
    .tab-buttons h4 {
        font-size: 10px;
        padding: 8px;
    }
}