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

/* DARK THEME STYLES */

.tbits-main-container, .platform-wrapper {
    background: #2d2f33;
    color: white;
}

.platform-wrapper .platform-section h1 {
    font-size: 60px;
    color: #354C56;
    font-weight: 400;
    margin-top: 0;
}

.platform-wrapper .platform-section h2 {
    color: #354C56;
    font-size: 36px;
    font-weight: 400;
}

.platform-wrapper .platform-section h3 {
    color: #354C56;
    font-size: 24px;
    font-weight: 400;
}

.platform-wrapper .platform-section p {
    color: #6d6e70;
    font-size: 17px;
    font-weight: 400;
}

.platform-wrapper .platform-section:first-of-type {
    padding-top: 2%;
}

.platform-wrapper .platform-section blockquote {
    border-left: none;
    color: #636463;
    font-size: 21px;
    font-style: italic;
    font-weight: 400;
    margin: 35px 0 20px;
    quotes: "\201C" "\201D" "\2018" "\2019";
}

.platform-wrapper .platform-section blockquote:before {
    content: open-quote;
    font-family: "Times New Roman";
    font-size: 3em;
    font-style: normal;
    line-height: 0.1em;
    margin-right: 5px;
    vertical-align: -0.3em;
}

.platform-wrapper .platform-section blockquote:after {
    content: close-quote;
    font-family: "Times New Roman";
    font-size: 1.5em;
    font-style: normal;
    line-height: 0.1em;
    margin-left: 5px;
    vertical-align: -0.1em;
}

.platform-wrapper .content blockquote {
    padding-left: 50px;
}

.tbits-main-container {
    padding-top: 5em;
}

.tbits-superheader {
    letter-spacing: 4px;
    color: #848B99;
    font-size: 12px;
    text-transform: uppercase;
}

.tbits-index-menu-bar {
    padding: 10px 0 15px;
    background-color: transparent;
    overflow: hidden;
    position: relative;
}

.grey-hr {
    border: 1px solid #45484E;
}

.grey-out {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    margin-top: 80px;
    width: calc(100% - 180px);
    background: black;
    opacity: 0;
    overflow: hidden;
}

.public-grey-well {
    background-color: #33363C;
    box-shadow: 0 0 30px 4px rgba(0, 0, 0, 0.15);
    border-radius: 12px;
    display: flex;
    align-items: center;
    padding: 20px;
    margin: 10px 0 25px;
    color: var(--grey-public);
}

.public-grey-well-col {
    background-color: #33363C;
    box-shadow: 0 0 30px 4px rgba(0, 0, 0, 0.15);
    border-radius: 12px;
    display: flex;
    align-items: stretch;
    padding: 20px;
    margin: 10px 0;
    color: var(--grey-public);
    flex-direction: column;
    justify-content: flex-start;
}

section .container-title {
    margin: 30px 0 70px;
}

.public-grey-well.blog-well {
    flex-direction: column;
    height: 100%;
    overflow: hidden;
}

.blog-well .post-image {
    max-width: calc(100% + 40px);
    margin: -20px -20px 20px;
}

.blog-well .blog-title {
    font-size: 16px;
    line-height: 28px;
    font-weight: bold;
    color: white;
}

.blog-well .post-content {
    flex: 1;
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    padding: 10px;
}

.blog-well .blog-desc {
    color: var(--grey-public);
    font-size: 16px;
    line-height: 28px ;
}

.blog-well .posted-date {
    color: white;
    font-size: 13px;
    margin-top: 5px
}

.public-grey-well .text-container {
    flex: 1;
}

.public-grey-well .icon-container {
    border-radius: 12px;
    margin-right: 20px;
    height: 50px;
    width: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.icon-container.icon-container-yellow {
    color:#F4B913;
    background: rgba(244, 185, 19, 0.1);
}

.icon-container.icon-container-blue {
    color: #20A0C7;
    background: rgba(32, 160, 199, 0.1)
}

.icon-container.icon-container-green {
    color: #00BE8B;
    background:rgba(0, 190, 139, .1);
}

.icon-container.icon-container-red {
    color: #E36F70;
    background:rgba(227, 111, 112, 0.1);
}

.public-grey-list {
    color: var(--grey-public);
    padding-left: 15px;
    font-size: 16px;
    line-height: 28px;
    margin-bottom: 0;

}

.public-grey-well .glyphicons {
    top: 0;
}

.grey-txt {
    color: var(--grey-public);
}

.sloped-public-divider-section {
    background: #2D2F33;
    height: 200px;
    position: relative;
    padding-top: calc(100vw * .154 - 50px); /* sin(9) to make up for extra height */
    padding-bottom: 20px;
}

.sloped-public-divider-section .sloped-divider {
    background: #292B2F;
    width: 101.246%; /* 100% / cos(9) */
    height: 200%;
    transform: rotate(-9deg) skew(-9deg);
    transform-origin: left;
    position: absolute;
    top: 100%;
}

.divider-rectangle {
    position: absolute;
}

.sloped-public-divider-section .left-blue-rectangle {
    width: 150px;
    height: 30px;
    left: 0;
    top: -60px;
    background: rgba(32, 160, 199, 0.2);
}

.sloped-public-divider-section .left-green-rectangle {
    width: 200px;
    height: 40px;
    top: -40px;
    left: 0;
    background: rgba(0, 190, 139, 0.4);
}

.sloped-public-divider-section .right-yellow-rectangle {
    width: 120px;
    height: 30px;
    right: 0;
    top: -30px;
    background:rgba(244, 185, 19, 0.1);
}

.sloped-public-divider-section .right-green-rectangle {
    width: 100px;
    height: 40px;
    top: -15px;
    right: 0;
    background: rgba(0, 190, 139, 0.2);
}

.top-section-header {
    font-weight: bold;
    font-size: 50px;
    line-height: 59px;
    color: #EAEEF5;
}

.top-section-subheader {
    font-size: 16px;
    line-height: 28px;
    color: var(--grey-public);
    margin-top:20px;
}

.container-title .top-section-subheader > div {
    max-width: 800px;
    margin: auto;
}

.section-divider {
    height: 200px;
    display: flex;
    flex-direction: column;
}

.divider-segment {
    width: 100%;
    height: 100px;
    position: relative;
}

.rounded-image-well {
    overflow: hidden;
    box-shadow: 0px 20px 30px 4px rgba(0, 0, 0, 0.5);
    border-radius: 12px;
}

.rounded-image-well2{
    overflow: hidden;
    box-shadow: 0px 20px 30px 4px rgba(0, 0, 0, 0.5);
    border-radius: 20px;
}

@media (max-width: 767px) {
    div.trusted-by-grid {
        grid-template-columns: repeat(8, 1fr);
        width: calc(400% - 20px);
        position: relative;
        right: 0;
        transition: 1s ease all;
        margin: 0 10px;
    }

    .section-divider {
        height: 100px;
    }

    .divider-segment {
        height: 50px;
    }
}

.dark-modal .modal-content {
    background-color:#202225;
}

.dark-modal .close {
    color: white;
}

.dark-modal .modal-header {
    border-bottom: none;
}

.dark-modal .modal-body {
    padding: 0 15px 15px;
}

.modal-backdrop.in {
    opacity: 0.8;
}

.trusted-by-header {
    text-align: center;
    margin-top: 30px;
    margin-bottom: 30px;
}

.trusted-by-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    place-items: center;
    grid-gap: 20px;
}

.trusted-by-img {
    padding: 10px 30px;
}

/* ----------------------------------------------------------------------------------- */
/* ----------------------------------- CAROUSEL -------------------------------------- */
/* ----------------------------------------------------------------------------------- */

.tbits-index-menu-bar .item {
    height: 100px;
}

.tbits-index-menu-carousel-row .row {
    justify-content: space-between;
    display: flex
}

.carousel-inner img {
    margin-top: 10px;
}

.carousel-btns {
    display: flex;
    justify-content: center;
    align-items: center;
}

.carousel-btns .carousel-btn {
    background: transparent;
    border: 1px solid white;
    width: 10px;
    height: 10px;
    margin: 0 3px;
    border-radius: 50%;
    cursor: pointer;
}

.carousel-btn.active {
    background: white;
}

/* End Carousel */

.testimonial-container {
    margin: 0 10%;
}

.testimonial-text {
    position: relative;
    color: white;
    font-size: 16px;
    line-height: 28px;
    padding-bottom: 20px;
}

.testimonial-text:before {
    content: '“';
    color: #658AD3;
    position: absolute;
    left: 0;
    top: 0;
    font-size: 300px;
    transform-origin: top left;
    transform: translate(-75%, 150%);
    opacity: 5%;
}

.testimonial-text:after {
    content: '“';
    color: #658AD3;
    position: absolute;
    right: 0;
    bottom: 0;
    font-size: 300px;
    transform: scaleX(-1) translateY(150px);
    opacity: 5%;
}

.testimonial-author {
    height: 80px;
    padding: 10px 0;
    display: flex;
    color: white;
}

.testimonial-author > img {
    display: flex;
    flex:2;
    object-fit: contain;
}

.testimonial-author-info {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    flex:1;
}

.public-video-modal .modal-content {
    background-color: black;
}

.public-video-modal.modal-dialog {
    width: 70vw;
    margin: 100px auto;
}

.public-video-modal .modal-body {
    padding: 0;
    margin: -2px 0 -7px;
}

#fan-video-frame {
    height: calc(70vw / 1.778);
}

/* Public buttons */

.btn.tbits-btn-public-multi {
    background: rgba(75, 210, 174, .1);
    color: var(--white);
    border: 1px solid var(--green-500);
    border-radius: 4px;
    padding: 10px 20px;
    outline: none !important;
    font-weight: 500;
    margin: 5px;
    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);
    color: var(--white);
    border: 1px solid var(--green-500);
    font-weight: 500;
}

.btn.tbits-square-btn {
    text-transform: capitalize;
    border-radius: 4px;
    font-size: 14px;
    padding: 10px 20px;
    border: none;
    outline: none;
}

.btn.tbits-round-btn {
    text-transform: capitalize;
    border-radius: 30px;
    font-size: 16px;
    padding: 13px 38px;
    height: 48px;
    font-weight: 600;
    border: none;
    outline: none;
}

.btn.tbits-round-btn-xs {
    text-transform: capitalize;
    border-radius: 30px;
    font-size: 15px;
    padding: 4px 20px;
    height: 32px;
    font-weight: 600;
}

.btn.tbits-round-btn:hover,
.btn.tbits-round-btn-xs:hover,
.btn.tbits-round-btn.hovered,
.btn.tbits-round-btn-xs.hovered {
    color: white;
}

.btn.tbits-btn-light-green {
    background-color: #50BD91;
    color: white;
}

.btn.tbits-btn-light-green:hover, .btn.tbits-btn-light-green.hovered {
    background-color: #1A9B91;
}

.btn.tbits-btn-light-green.inactive, .btn.tbits-btn-light-green.inactive:hover {
    background-color: white;
    color: #00726B;
    border: 1px solid #00726B;
}

.btn.tbits-btn-dark {
    background-color: #262626;
    color: #FFFFFF;
}

.btn.tbits-btn-dark.hovered, .btn.tbits-btn-dark:hover {
    background-color: #464646;
}

.btn.tbits-btn-green-outlined {
    background-color: rgba(0, 190, 139, 0.5);
    border: 1px solid #00BE8B;
    color: white;
}

.btn.tbits-btn-green-outlined:hover, .btn.tbits-btn-green-outlined:active {
    background-color: rgba(0, 190, 139, 0.75);
    border: 1px solid #00BE8B;
    color: white;
}

.btn.tbits-btn-white-outlined, .btn.tbits-btn-white-outlined:hover, .btn.tbits-btn-white-outlined:active {
    background-color: transparent;
    border: 1px solid white;
    color: white;
}

.btn.tbits-btn-white, .btn.tbits-btn-white:hover {
    background-color: white;
    color: #50BD91;
}

.btn.tbits-btn-transparent {
    background-color: transparent;
    color: #50BD91;
    border: 1px solid #50BD91;
}

.btn.tbits-btn-transparent:hover, .btn.tbits-btn-transparent.hovered, .btn.tbits-btn-transparent:focus {
    color: #038B6D;
    border: 1px solid #038B6D;
}

/* End public buttons */

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

#top-section {
    background-color: #2D2F33;
    padding: 40px 0;
    position: relative;
    z-index: 1;
}

#top-section #top-section-header-bg {
    background: linear-gradient(to right, #292B2F, #31353F);
    width: 101.246%; /* 100% / cos(9) */
    height: 200%;
    transform: rotate(-9deg) skew(-9deg);
    transform-origin: left;
    background-size: contain;
    position: absolute;
    bottom: 0;
    z-index: -1;
}

#top-section #top-section-header-bg .bg-image {
    width: 100%;
    height: 60%;
    position: absolute;
    bottom: 0;
    z-index: -1;
    opacity: .15;
    overflow: hidden;
}

.bg-image img {
    width: 100%;
    height: 100%;
    transform: skew(9deg) rotate(9deg);
    transform-origin: bottom left;
    object-fit: cover;
}


#top-section-header-bg .left-blue-rectangle {
    width: 150px;
    height: 30px;
    left: 0;
    bottom: -60px;
    background: rgba(32, 160, 199, 0.2);
}

#top-section-header-bg .left-green-rectangle {
    width: 100px;
    height: 30px;
    bottom: -15px;
    left: 0;
    background: rgba(0, 190, 139, 0.4);
}

#top-section-header-bg .left-yellow-rectangle {
    width: 200px;
    height: 40px;
    left: 0;
    bottom: -40px;
    background:rgba(244, 185, 19, 0.4);
}

#top-section-header-bg .right-yellow-rectangle {
    width: 120px;
    height: 30px;
    right: 0;
    bottom: -30px;
    background:rgba(244, 185, 19, 0.1);
}

#top-section-header-bg .right-green-rectangle {
    width: 100px;
    height: 40px;
    bottom: -15px;
    right: 0;
    background: rgba(0, 190, 139, 0.2);
}

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

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

.form-group.has-placeholder-label:first-of-type {
    margin-top: 20px;
}

.form-group .form-control {
    background: #2A2C30;
    border: 1px solid #373A3F;
    margin-top: 0;
    color: white;
    box-shadow: none;
    transition: .5s ease all;
    height: 48px;
}

.form-group .input-group-addon {
    background: var(--grey-900);
    color: white;
    border: 1px solid #373A3F;
}

.placeholder-label {
    position: absolute;
    font-size: 14px;
    line-height: 17px;
    left: 12px;
    top: 16px;
    align-items: center;
    font-weight: normal;
    color: #9B9B9B;
    transition: .5s ease all;
    pointer-events: none;
}

.has-placeholder-label .select2-container + .placeholder-label,
.form-control:focus + .placeholder-label,
.form-control:not(:placeholder-shown) + .placeholder-label,
.form-control:not([placeholder=' ']) + .placeholder-label {
    height: 17px;
    font-size: 12px;
    top: 5px;
}

.has-placeholder-label .form-control:focus,
.has-placeholder-label .form-control:not(:placeholder-shown),
.has-placeholder-label .form-control:not([placeholder=' ']) {
    padding-top: 20px;
}

.has-placeholder-label .form-control:focus {
    border: 1px solid #454545;
    box-shadow: none;
}

#fan-crm-images-container {
    position: relative;
    max-width: 1100px;
    margin: 150px auto 100px;
}

#fan-crm-images-container .fan-crm-image-logo {
    width: 20%;
    position: absolute;
    padding:15px;
    transition: 3s ease all;
}

.fan-crm-image-bottom-right {
    bottom:0;
    right:0;
    transform:translate(50%, calc(50% + 10px))
}

.fan-crm-image-bottom-left {
    bottom:0;
    left:0;
    transform:translate(-50%, calc(50% + 10px))
}

.fan-crm-image-top-left {
    top:0;
    left:0;
    transform:translate(-50%, calc(-50% - 10px))
}

.fan-crm-image-top-right {
    top:0;
    right:0;
    transform:translate(50%, calc(-50% - 10px))
}

pre {
    color: white;
    background-color: #26272B;
}

.input-inline {
    margin: 15px 0px 15px -15px;
}

.text-break {
    margin-top: 20px;
}

/* ----------------------------------------------------------------------------------- */
/* --------------------------- FONTS, HEADERS AND SPACING ---------------------------- */
/* ----------------------------------------------------------------------------------- */


.tbits-h1 {
    font-size: 44px;
    color: #262626;
    font-weight: 500
}

.white-txt {
    color: white !important;
}

.text-container .white-txt {
    padding-bottom: 5px;
    font-weight: bold;
}

.tbits-h2 {
    font-size: 30px;
    color: #262626;
    font-weight: bold;
}

.tbits-h3 {
    font-size: 20px;
    color: #262626;
    font-weight: bold;
}

.tbits-h4 {
    font-size: 14px;
    color: #038B6D;
    line-height: 27px;
    text-transform: uppercase;
    font-weight: bold;
}

.xl-txt {
    font-size: 24px;
    font-weight: 400;
    line-height: 38px;
}

.lg-txt {
    font-size: 20px;
    font-weight: 400;
    line-height: 28px;
}

.md-txt {
    font-size: 18px;
    font-weight: 400;
    line-height: 28px;
}

.sm-txt {
    font-size: 16px;
    line-height: 27px;
    font-weight: 400;
}

.xs-txt {
    font-size: 14px;
    line-height: 27px;
    font-weight: 400;
}

.padded-y-xs {
    padding: 10px 0
}

.padded-y {
    padding: 20px 0
}

.margin-y {
    margin: 20px 0;
}

.padded-y-lg {
    padding: 30px 0
}

.margin-y-lg {
    margin: 30px 0
}

.padded-y-xl {
    padding: 40px 0
}

.margin-y-xl {
    margin: 40px 0
}

.padding-xs {
    width: 100%;
    margin: 20px 0
}

.grey-section {
    background-color: #efefef;
}

.bright-green-section {
    background-color: #50bd91;
    color: white;
}

/* ----------------------------------------------------------------------------------- */
/* ------------------------------------- INPUTS -------------------------------------- */
/* ----------------------------------------------------------------------------------- */

.tbits-round-input {
    width: 100%;
    padding: 13px 38px;
    height: 48px;
    border-radius: 30px;
    outline: none;
    border: none;
    color: #AAAAAA;
    font-weight:600;
}

.tbits-round-input::-webkit-input-placeholder {
    font-weight: 600;
    color: #B1B1B1;
    text-transform: uppercase;
    opacity: .6;
}

.tbits-round-input::-moz-placeholder {
    font-weight: 600;
    color: #B1B1B1;
    text-transform: uppercase;
    opacity: .6;
}

.tbits-round-input:-ms-input-placeholder {
    font-weight: 600;
    color: #B1B1B1;
    text-transform: uppercase;
    opacity: .6;
}

.tbits-round-input::placeholder {
    font-weight: 600;
    color: #B1B1B1;
    text-transform: uppercase;
    opacity: .6;
}

/* ----------------------------------------------------------------------------------- */
/* --------------------------------- HEADER IMAGE ------------------------------------ */
/* ----------------------------------------------------------------------------------- */

.tbits-header {
    position: relative;
    height: 400px;
    color: white;
    text-align: center;
    justify-content: center;
    align-items: center;
    display: flex;
}

.center-hr {
    text-align: center;
    display: table;
    margin: 0 auto;
}

.center-hr + div {
    text-align: center;
}

.center-hr h3 a, .left-hr h3 a {
    font-size: 20px;
}

/* ----------------------------------------------------------------------------------- */
/* ---------------------------------- FANCY SQUARES ---------------------------------- */
/* ----------------------------------------------------------------------------------- */


.inside {
    width: 100%;
    height: 100%;
    background: #33363C;
    position: absolute;
}

.inside .tbits-h3 {
    color: #EAEEF5;
}

.row div .square, .row div .rectangle, .row div .big-square, .row div .long-rectangle {
    margin-bottom: 15px;
}

.square, .rectangle, .long-rectangle, .big-square {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
}

.square:after {
    content: "";
    display: block;
    padding-bottom: 100%;
}

.big-square:after {
    content: "";
    display: block;
    padding-bottom: calc(100% - 15px);
}

.rectangle:after {
    content: "";
    display: block;
    padding-bottom: calc(50% - 15px);
}

.long-rectangle::after {
    content: "";
    display: block;
    padding-bottom: calc(33% - 15px);
}

.inside img {
    filter: blur(0);
    transition: filter .5s, transform .5s;
}

.inside img.hoverGrow {
    transform: scale(1.2) translateZ(0);
    filter: blur(2px)
}

.inside img.hoverGrowNoBlur {
    transform: scale(1.2) translateZ(0);
}

.inside img {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
}

.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;
    }
}

#drawer-toggle {
    position: absolute;
    opacity: 0;
    right: -10px;
    cursor: pointer;
}

#drawer-toggle-label {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    right: 0;
    height: 100%;
    width: 50px;
    margin: 0;
    display: flex;
    align-items: center;
    position: relative;
    float: right;
    background: rgba(255, 255, 255, .0);
    z-index: 1;
    cursor: pointer;
}

#drawer-toggle-label:before {
    content: '';
    display: block;
    position: absolute;
    height: 2px;
    width: 24px;
    background: #8d8d8d;
    left: 13px;
    transform: translateY(-5px);
    box-shadow: 0 6px 0 #8d8d8d, 0 12px 0 #8d8d8d;
}

@media (min-width: 992px) {
    #drawer-toggle-label {
        display: none;
    }
}

/* Footer */

.footer-inner, .copyright-inner {
    /* Keeps the footer centered. */
    margin: 0 auto 0 auto;
}

.tb-copyright {
    background: #222427;
    color: var(--grey-public);
    font-size: 13px;
    font-weight: 600;
}

.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: #2d2f33;
    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: white;
}

.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;
}

.tbits-footer-group a:hover,
.tbits-footer-group span:hover,
.tbits-footer-group a:focus,
.tbits-footer-group span:focus {
    color: #038B6D;
}