/* =============================== */
/* === PUBLIC PLATFORM CLASSES === */
/* =============================== */


:root {
    --blue-100: #209fc533;
    --blue-500: #209FC5;
    --blue-600: #0B7EA0;
    --btn-green-gradient-1: #00BE8B;
    --btn-green-gradient-2: #009970;
    --green-000: #FAFFFC;
    --green-500: #00BD8A;
    --green-800: #008561;
    --text-gradient-1: #00DCA1;
    --text-gradient-2: #00A579;
    --white: #FFFFFF;
    --white-10: #FFFFFF1A;
    --white-30: #FFFFFF4D;
    --white-40:  #FFFFFF66;
    --white-50: #FFFFFF80;
    --white-80: #FFFFFFCC;
    --bg-color: #FFFFFF;
    --black: #000000;
    --black-40: #00000066;
    --black-50: #00000080;
    --black-60: #00000099;
    --black-80: #000000CC;
    --grey-000: #FAFAFA;
    --grey-100: #F5F5F5;
    --grey-100-dark: #343434;
    --grey-200: #EBEBEB;
    --grey-200-dark: #424242;
    --grey-300: #E0E0E0;
    --grey-600: #A3A3A3;
    --grey-900: #262626;
    --grey-public: #B1B6C2;
    --dark-well-grey: #909090;
}

body, html {
    font-size: 16px;
}

.public-main-container {
    padding-top: 80px;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100dvh;
    opacity: 0;
}

.public-main-container.ready,
.public-main-container.ready .top-image {
    opacity: 1;
}

.top-image {
    opacity: 0;
    transition: opacity 1.5s;
}

@media (max-width: 575px) {
    .public-main-container {
        padding-top: 50px;
    }
}

@media (min-width: 1580px) {
    .container {
        width: 1570px
    }
}

@media (min-width: 1200px) {
    .container {
        padding-left: 40px;
        padding-right: 40px;
    }
}

/* === PUBLIC BUTTONS === */

.btn.public-btn:hover {
    filter: brightness(0.9);
}

.btn.tbits-btn-public-multi {
    background: var(--white);
    color: var(--black);
    font-weight: normal;
    border: 1px solid var(--grey-600);
    border-radius: 9999px;
    padding: 4px 16px;
    transition: .1s ease background-color;
}

.btn.tbits-btn-public-multi:hover,
input[type='checkbox'] + .tbits-btn-public-multi:hover,
input[type='radio'] + .tbits-btn-public-multi:hover {
    background: rgba(75, 210, 174, .3);
    border: 1px solid var(--green-500);
    font-weight: 500;
}

input[type='checkbox']:checked + .tbits-btn-public-multi,
input[type='radio']:checked + .tbits-btn-public-multi {
    background: var(--green-500);
    color: var(--white);
    border: 1px solid var(--green-500);
}

.btn.tbits-square-btn {
    text-transform: capitalize;
    border-radius: 4px;
    padding: 10px 20px;
    border: none;
    outline: none;
    transition: filter 200ms;
}

.btn .tbits-icon {
    margin-right: 5px;
}

.btn.tbits-btn-blue {
    background: linear-gradient(var(--blue-500), var(--blue-600));
    color: white;
}

.btn.tbits-btn-green {
    background: linear-gradient(var(--btn-green-gradient-1), var(--btn-green-gradient-2));
    color: white;
}

/* === END PUBLIC BUTTONS === */


/* === PUBLIC FORM === */

.control-wrapper label {
    color: var(--black);
    position: absolute;
    left: 1rem;
    top: 0;
    transform: translateY(-8px);
    padding: 0 0.5rem;
    cursor: text;
    max-width: calc(100% - 2rem);
    white-space: nowrap;
    overflow: hidden;
    font-size: 12px;
    font-weight: 600;
    display: inline-block;
    z-index: 1;
}

.control-wrapper label::before {
    content: "";
    position: absolute;
    z-index: -1;
    left: 0;
    top: 8px;
    width: 100%;
    height: 1px;
    background: var(--white);
}

.form-group.has-placeholder-label {
    position: relative;
}

.form-group .form-control {
    background: var(--white);
    border: 1px solid var(--grey-300);
    margin-top: 0;
    color: var(--black);
    box-shadow: none;
    height: 38px;
}

.was-validated .form-control:invalid {
    border: 1px solid #B94A48;
}

.form-control:focus {
    border-color: var(--grey-600);
}

.control-wrapper:focus-within .control-icon-left {
    opacity: 1;
}

.control-wrapper .control-icon-left {
    transform: translateY(-50%);
    color: var(--grey-600);
    pointer-events: none;
    font-weight: 500;
    opacity: 0.5;
    top: 50%;
    position: absolute;
}

.control-icon-left {
    left: 20px;
    transition: opacity ease-in-out 0.15s;
}

.control-icon-left ~ .form-control {
    padding-left: calc(20px + 1.5em);
}

/* === END PUBLIC FORM === */

/* === MODAL === */

.public-modal .modal-header,
.public-modal .modal-body {
    padding: 0;
}

.public-modal .modal-content {
    border: 0;
    box-shadow: var(--shadow-20);
}

.public-modal .modal-header {
    padding-bottom: 15px;
}

.public-modal .modal-body {
    padding-top: 15px;
}

.public-modal .modal-title {
    font-weight: bold;
    font-family: 'Cocogoose Pro', 'Lato', 'sans-serif';
}

.public-modal .modal-content {
    padding: 20px;
    border-radius: 16px;
}

/* === END MODAL === */


/* === SECTIONS === */

/* Sections */
.section-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 160px 0;
    gap: 80px
}

.section {
    background: var(--white);
    width: 100%;
    padding: 160px 0;
    position: relative;
    overflow: hidden;
}

.section.small-padding {
    padding: 80px 0;
}

.section-group .section {
    padding: 0;
    background: unset;
}

.section .container {
    position: relative;
    z-index: 2;
}

@media (max-width: 575px) {
    .section, .section-group {
        padding: 80px 0;
    }
}

.section.top-section {
    padding-top: 80px;
}

.dark-section {
    color: var(--white);
    background: linear-gradient(180deg, #363636 0%, #171717 100%);
}

.section.has-trusted-grid {
    padding-bottom: 40px;
}

.section.trusted-by-section {
    padding: 40px 0;
}

.section.trusted-by-section .section-inner {
    gap: 40px;
}

/* Section Innards */

.section .section-inner {
    display: flex;
    flex-wrap: wrap;
    gap: 80px;
}

.section.single-section:not(.unrestricted) .container {
    max-width: 1280px;
}

.section.single-section .section-inner {
    flex-direction: column;
    text-align: center;
    align-items: center;
}

/* Segments */

.section-inner .segment {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 40px;
    flex: 1;
    flex-basis: 300px;
    width: 50%;
}

.segment.image-segment {
    align-items: center;
    justify-content: center;
    position: relative;
}

.segment.expand-wells-segment {
    gap: 0;
}

.top-image-container {
    position: relative;
}

.segment.image-segment img, .top-image-container {
    width: 100%;
    max-width: 700px;
}

@media (max-width: 991px) {
    /* Bring in the spacing a little */
    .section .section-inner, .section-group {
        gap: 40px;
    }

    .section, .section-group {
        padding: 80px 0;
    }
}

@media (max-width: 767px) {
    /* Fully transition to vertical stacking */
    .section .section-inner {
        flex-direction: column;
    }

    .section-inner .segment {
        width: 100%;
        flex: 0;
    }

    .section-inner .segment:not(.image-segment) {
        order: 2;
    }

    .segment.image-segment img, .top-image-container {
        max-width: 500px;
    }
}

/* Section Text */

.section-title {
    max-width: 960px;
    font-family: 'Cocogoose Pro', 'Lato', 'sans-serif';
    font-size: 42px;
    line-height: 150%;
    color: var(--black);
    background-clip: text;
    -webkit-background-clip: text;
    background-image: linear-gradient(var(--text-gradient-1), var(--text-gradient-2));
}

.dark-section .section-title {
    color: var(--white);
}

.section-title.small {
    font-size: 20px;
}

.section-pre-title {
    font-family: 'Lato', 'sans-serif';
    font-size: 18px;
    font-weight: lighter;
    color: var(--black-40);
    text-transform: uppercase;
}

.dark-section .section-pre-title {
    color: var(--white-40);
}

.section-text {
    max-width: 960px;
    display: flex;
    flex-direction: column;
    font-size: 18px;
    line-height: 200%;
    gap: 15px;
    color: var(--black-80);
}


@media (max-width: 991px) {
    .section-title {
        font-size: 32px;
    }

    .section-title.small {
        font-size: 18px;
    }

    .section-text {
        font-size: 16px;
    }
}

.section-text > b {
    color: var(--black);
}

.dark-section .section-text {
    color: var(--white-80);
}

.dark-section .section-text > b {
    color: var(--white);
}

.section .section-text.text-list > div {
    display: flex;
    color: var(--black-80);
}

.dark-section .section-text.text-list > div {
    color: var(--white-80);
}


/* === END SECTIONS === */


/* === MISC === */
.backend-error {
    display: none;
    padding-top: 10px;
    color: #B94A48;
}

.inline-icon {
    margin-right: 5px;
}

@keyframes slideUp {
    from {
        opacity: 0;
        top: 80px;
    }
    to {
        opacity: 1;
        top: 0
    }
}

.popout-image-container {
    position: absolute;
    width: 30%;
}

.popout-image {
    position: relative;
    width: 100%;
    opacity: 0;
    animation: slideUp 1.5s ease forwards;
    backdrop-filter: blur(10px);
}

@keyframes scrollLeft {
    from {
        left: 0;
    }
    to {
        left: -100%
    }
}

@keyframes scrollLeftOffset {
    from {
        left: 100%;
    }
    to {
        left: 0;
    }
}

.trusted-by-container {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 100px;
}

.fade-list::before,
.fade-list::after {
    content: '';
    position: absolute;
    top: 0;
    width: 10%;
    height: 100%;
    background: linear-gradient(90deg, var(--white), rgba(255, 255, 255, 0));
    z-index: 2;
}

.fade-list::before {
    left: -1px;
}

.fade-list::after {
    right: -1px;
    transform: rotate(180deg);
}

.trusted-by-logos-container {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
}

.trusted-by-logos {
    position: absolute;
    top: 0;
    left: 0;
    align-items: center;
    animation: scrollLeft linear infinite;
    height: 100%;
    display: flex;
    gap: 100px;
}

.trusted-by-logos.offset {
    animation-name: scrollLeftOffset;
}

.trusted-by-image {
    justify-self: center;
    align-self: center;
    object-fit: contain;
    max-width: 250px;
    max-height: 80px;
}

.swirl-arrow {
    position: absolute;
    left: calc(100% + 80px);
    bottom: -25px;
    width: 360px;
    max-width: unset;
    z-index: -1;
}

.swirl-arrow.dark {
    opacity: 0.1;
}

@media (max-width: 991px) {
    .swirl-arrow {
        width: 240px;
        bottom: -15px;
        left: calc(100% + 40px);
    }
}

@media (max-width: 767px) {
    .swirl-arrow {
        width: 150px;
        bottom: -5px;
        left: calc(100% + 10px);
    }
}

.small-image {
    width: 150px;
    margin-left: 50px;
}

@media(max-width: 575px) {
    .small-image {
        width: 100px;
        margin-left: 25px;
    }
}

.section-bg-image {
    opacity: 0.15;
    object-fit: cover;
}

.socials-grid .public-well-content {
    padding: 25px;
}

.socials-grid .tbits-icon {
    font-size: 64px;
    color: var(--black);
}

.dark-section .socials-grid .tbits-icon {
    color: var(--white)
}

/* === END MISC === */


/* === WELLS === */

.public-well {
    display: flex;
    flex-wrap: wrap;
    border-radius: 16px;
    text-align: left;
    background: var(--white-50);
    border: 1px solid var(--grey-300);
    color: var(--black-80);
    overflow: hidden;
}

.public-well.link-well, .public-well.hover-well {
    cursor: pointer;
    position: relative;
    user-select: none;
}

.public-well.link-well .fancy-link::after,
.public-well.hover-well .fancy-link::after {
    content: '';
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.public-well.hover-well .public-well-content {
    justify-content: center;
    align-items: center;
    cursor: pointer;
    height: 100%;
    transition: transform 500ms;
    backface-visibility: hidden;
    gap: 0;
}

.public-well.hover-well .fancy-link {
    height: 0;
    padding: 0;
}

.public-well.hover-well:hover .public-well-content {
    transform: scale(1.1) translateZ(0);
}

.public-well-image {
    border-top-right-radius: 16px;
    border-top-left-radius: 16px;
    height: 180px;
    width: 100%;
    object-fit: cover;
}

.public-well-icon {
    font-size: 26px;
    color: var(--green-500);
}

.public-well-content {
    display: flex;
    width: 100%;
    gap: 15px;
    padding: 15px;
}

.public-well-text-content {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 15px;
}

.public-well-title {
    font-family: 'Cocogoose Pro', 'Lato', 'sans-serif';
    font-size: 20px;
    color: var(--black);
}

.public-well-text {
    font-size: 18px;
}

.public-well-link {
    display: flex;
    flex: 1;
    align-items: flex-end;
}

@media (max-width: 991px) {
    .public-well-text {
        font-size: 16px;
    }

    .public-well-title {
        font-size: 18px;
    }
}

.public-well.dark-well {
    background:  linear-gradient(48.98deg, rgba(57, 57, 57, 0.25), rgba(237, 237, 237, 0.1) 20.55%, rgba(57, 57, 57, 0.25) 60%);
}

.public-well.light-grey-well {
    background: linear-gradient(48.98deg, rgba(217, 217, 217, 0.25) 5.23%, rgba(217, 217, 217, 0.06) 70.55%);
    border: 1px solid var(--grey-200);
}

.public-well.dark-well,
.dark-section .public-well.light-grey-well {
    border: 1px solid var(--grey-900);
    color: var(--white-80);
}

.public-well.dark-well .public-well-title,
.public-well.light-grey-well .public-well-title,
.expand-well-selector.dark-selector .public-well-title {
    color: var(--white);
}

.public-wells-grid {
    display: grid;
    width: 100%;
    grid-auto-rows: minmax(0, 1fr);
    gap: 40px;
}

/* === END WELLS === */

/* === EXPAND WELLS === */
.expand-well-images {
    position: relative;
}

.expand-well-container {
    position: relative;
}

.public-well.expand-well {
    opacity: 1;
    transition: all 400ms;
    overflow: hidden;
    position: relative;
}

.expand-well .public-well-text {
    display: none;
}

.expand-well-container.selected .expand-well .public-well-text {
    display: flex;
}

.expand-well-container:not(.selected) .expand-well {
    opacity: 0;
}

.expand-well-container.selected .expand-well {
    z-index: 1;
}

.expand-well-selector-container {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.expand-well-selector {
    display: flex;
    gap: 15px;
    padding: 15px;
    border: 1px solid transparent;
    cursor: pointer;
    inset: 0;
    z-index: 1;
}

.expand-well-selector .public-well-title,
.expand-well-selector .public-well-icon {
    transition: color 400ms;
}

.expand-well-container:not(.selected) .expand-well-selector.dark-selector .public-well-title,
.expand-well-container:not(.selected) .expand-well-selector.dark-selector .public-well-icon {
    color: var(--white-50);
}

.expand-well-container:not(.selected) .expand-well-selector.dark-selector:hover .public-well-title,
.expand-well-container:not(.selected) .expand-well-selector.dark-selector:hover .public-well-icon {
    color: var(--white-80);
}

.expand-well-container:not(.selected) .expand-well-selector .public-well-title,
.expand-well-container:not(.selected) .expand-well-selector .public-well-icon {
    color: var(--black-50);
}

.expand-well-container:not(.selected) .expand-well-selector:hover .public-well-title,
.expand-well-container:not(.selected) .expand-well-selector:hover .public-well-icon {
    color: var(--black-80);
}

.expand-well-container.selected .expand-well-selector {
    pointer-events: none;
}

.expand-well-image {
    position: absolute;
    transition: opacity 400ms;
    opacity: 0;
    inset: 0;
    height: 100%;
    object-fit: contain;
}

.expand-well-image.selected {
    opacity: 1;
}
/* === END EXPAND WELLS === */


/* === TEXT === */

.transparent-text {
    color: transparent;
}

.coco-text {
    font-family: 'Cocogoose Pro', 'Lato', 'sans-serif';
}

.text-black {
    color: var(--black);
}

.text-white {
    color: var(--white);
}

.fancy-link {
    font-size: 18px;
    font-weight: bold;
    text-decoration: none;
    transition: color 400ms;
    padding: 5px 0;
    cursor: pointer;
}

.fancy-link, .fancy-link:focus, .fancy-link:visited {
    color: var(--black);
}

.dark-section .fancy-link,
.dark-section .fancy-link:focus,
.dark-section .fancy-link:visited {
    color: var(--white);
}

.fancy-arrow {
    position: relative;
    top: -1px;
    width: 22px;
    transform: translateZ(0) translateX(0);
    backface-visibility: hidden;
    color: var(--green-500);
    display: inline-block;
    margin-left: 5px;
    transition: transform 300ms;
}

@media (max-width: 991px) {
    .fancy-link {
        font-size: 16px;
    }

    .fancy-arrow {
        width: 16px;
        top: 1px;
    }
}


.fancy-link:hover,
.public-well.link-well:hover .fancy-link {
    color: var(--black-80);
}

.dark-section .fancy-link:hover {
    color: var(--white-80);
}

.fancy-link:hover .fancy-arrow,
.public-well.link-well:hover .fancy-arrow {
    transform: translateZ(0) translateX(4px);
}

.green-link {
    transition: color 200ms;
}

.green-link, .green-link:focus, .green-link:visited {
    color: var(--green-500);
}

.green-link:hover {
    color: var(--text-gradient-2);
}

.in2 {
    padding-left: 25px;
}

.in3 {
    padding-left: 50px;
}

/* === END TEXT === */


/* === CAROUSEL === */

.carousel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    gap: 40px;
    text-align: left;
}

@media (max-width: 767px) {
    .carousel-header {
        text-align: center;
        flex-direction: column;
    }
}

.carousel-controls {
    display: flex;
    user-select: none;
}

.carousel-controls .carousel-arrow {
    width: 100px;
    height: 50px;
    cursor: pointer;
    padding: 10px;
}

.carousel-controls .carousel-arrow.unclickable {
    pointer-events: none;
}

.carousel-arrow.unclickable .arrow-icon {
    background: var(--white-40);
}

.carousel-arrow.unclickable .arrow-icon.dark-arrow {
    background: var(--black-40);
}

.left-arrow .arrow-icon {
    transform: scaleX(-1);
}

/* === END CAROUSEL === */


/* === QUOTES === */

.quotes-section .section-inner {
    gap: 40px;
}

.quote-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.quote-text {
    position: relative;
    padding: 80px 130px;
    margin-bottom: 25px;
    font-style: italic;
}

.quote-text .section-title {
    font-size: 28px;
    line-height: 200%;
}

@media(max-width: 1199px) {
    .quote-text .section-title {
        font-size: 24px;
    }
}

.quote-container .quotation-image {
    width: 120px;
    position: absolute;
    z-index: 1;
}

.quote-logo {
    height: 150px;
}

@media (max-width: 991px) {
    .quote-text {
        padding: 50px 80px;
    }

    .quote-text .section-title {
        font-size: 22px;
    }

    .quote-container .quotation-image {
        width: 70px;
    }
}

@media (max-width: 767px) {
    .quote-text {
        padding: 30px 20px;
    }

    .quote-container .quotation-image {
        width: 40px;
    }
}

@media (max-width: 575px) {
    .quote-text .section-title {
        font-size: 16px;
    }

    .quote-logo {
        height: 120px;
    }
}

.quotation-image.left {
    top: 0;
    left: 0;
}

.quotation-image.right {
    bottom: 0;
    right: 0;
}

#quotes-carousel-header {
    gap: 0;
    margin-bottom: -40px;
}

@media (max-width: 767px) {
    #quotes-carousel-header {
        margin-bottom: 0;
    }
}

/* === END QUOTES === */


/* === FOOTER === */

.tbits-icon.tbits-social-svg {
    float: left;
    margin-right: 15px;
    color: #FFF;
    font-size: 16px;
}

@media (max-width: 992px) {
    .tbits-social-svg {
        margin-left: 0;
    }
}

.tb-copyright {
    color: var(--grey-public);
    font-size: 13px;
    display: flex;
    width: 100%;
    flex-direction: column;
    text-align: center;
    padding: 20px;
}

.tb-print-footer {
    position: absolute;
    bottom: 0;
}

.tb-print-footer .row {
    height: 50px;
}

.tb-print-footer .row > div {
    height: 100%;
}

@media (max-width: 991px) {
    .tb-copyright .copyright-text {
        text-align: center;
        float: none !important;
    }
}

.tb-copyright .logo {
    height: 22px;
    margin: 10px 0;
}

.tb-copyright .logo img {
    width: 80%;
}

.tb-footer {
    font-size: 14px;
    background-color: var(--grey-900);
}

.footer-inner {
    padding: 30px 0;
}

.tbits-footer-group {
    width: 90%;
    margin-right: 5%;
    margin-left: 5%;
}

.tbits-footer-group h4 {
    color: white;
    font-weight: 900;
    font-size: 14px !important;
    text-transform: uppercase;
}

.tbits-footer-group hr {
    border-bottom: none;
    border-color: var(--white-30);
}

.tbits-footer-group a,
.tbits-footer-group span {
    display: block !important;
    color: white;
    font-size: 13px;
    font-weight: normal;
    text-transform: capitalize;
    margin-bottom: 8px;
    transition: color 200ms;
}

.tbits-footer-group a:hover,
.tbits-footer-group span:hover,
.tbits-footer-group a:focus,
.tbits-footer-group span:focus {
    color: var(--green-500);
}

.iso-logo {
    width: 150px;
}

@media (max-width: 500px) {
    .iso-logo {
        width: 100px;
    }
}

/* === END FOOTER === */


/* =================================== */
/* === END PUBLIC PLATFORM CLASSES === */
/* =================================== */
