/**************************************************************************************/
/********************************************  CHECKBOXES AND RADIO BUTTONS ***********/
/**************************************************************************************/

.tbits-checkbox, .tbits-radio   {
    border: 1px solid #ccc;
    appearance: none;
    cursor: pointer;
    vertical-align: text-bottom;
    position: relative;
    background: white;
}

.tbits-checkbox  {
    width: 17px;
    height: 17px;
    border-radius: 4px;
}

.tbits-radio {
    width: 18px;
    height: 18px;
    border-radius: 50px;
}

.tbits-text-option .tbits-radio {
    display: none;
}

.tbits-checkbox:checked::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 9px;
    height: 6px;
    border: 2px solid #00ba95;
    border-top: none;
    border-right: none;
    transform: rotate(-45deg);
}

.tbits-radio:checked::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    border: 5px solid #00ba95;
    border-radius: 10px;
    transform: rotate(-45deg);
}

.tbits-checkbox:focus {
    border-color: #00ba95;
    box-shadow: 0 0 5px #cccccc;
    outline: none;
}

.tbits-radio:focus {
    outline: none;
}

.was-validated .tbits-checkbox:invalid {
    border: 2px solid #B94A48;
}

.tbits-checkbox:checked, .tbits-radio:checked {
    border: 1px solid #00ba95;
}


#select2-phone_code-container {
    padding-right: 8px;
    text-overflow: unset;
}

.select2-container--default .select2-selection--single {
    border-radius: 4px;
    height: 47px;
    color: #555555;
    padding: 9px 12px;
    background: #F4F4F4 url(/static/icons/arrow-dropdown.png) no-repeat 96.5%;
}

[dir="rtl"] .select2-container--default .select2-selection--single {
    background: url(/static/icons/arrow-dropdown.png) no-repeat 3.5%;
}

.has-placeholder-label .select2-container--default .select2-selection--single {
    padding: 16px 12px 2px;
}

@supports (-moz-appearance:none) {
    .has-placeholder-label .form-control[type="date"]:focus, .has-placeholder-label .form-control[type="date"]:not(:placeholder-shown),
    .has-placeholder-label select.form-control {
        padding-top: 16px;
        padding-left: 8px;
    }
}

@supports (-webkit-touch-callout: none) {
    .has-placeholder-label .form-control[type="date"] {
        line-height: initial;
        -webkit-appearance: initial;
    }
}

.select2-search.select2-search--dropdown {
    color: black;
}

.select2-container--open {
    z-index: 9999;
}

.has-placeholder-label .select2-container .select2-selection--single .select2-selection__rendered {
    padding-left: 0;
}

[dir="rtl"] .has-placeholder-label .select2-container .select2-selection--single .select2-selection__rendered {
    padding-left: 0;
    text-align: right;
}

.form-control.required + .select2-container--default .select2-selection--single {
    background-color: #FFECEB;
    border: 2px solid #B94A48;
}

.form-control.required-filled + .select2-container--default .select2-selection--single {
    border: 1px solid #00ba95;
}

.validation-field-error {
    color: var(--red-400);
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    display: none;
    height: 48px;
    top: 7px
}

textarea {
    border-radius: 6px;
}

/*****************************************************************************/
/***********************************  BUTTONS  *******************************/
/*****************************************************************************/
.tbits-app-share-button.active svg {
    opacity: 0.5;
}

.tbits-app-share-button {
    position: relative;
    display: inline-block;
    margin: 5px;
    transition: all 0.3s ease;
}

.tbits-app-share-button.active {
    opacity: 0.5 !important;
}

.tbits-app-share-button svg {
    fill: #fff;
    transition: fill 0.3s ease;
}

.tbits-app-share-button:hover svg {
    fill: #fff;
    transition: fill 0.3s ease;
}

.tbits-app-share-button:hover, .campaign-share-links:hover {
    transform: scale(1.15);
}

.tbits-icon.share-check {
    font-size: 24px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.close-btn {
    background: #fff url(/static/icons/close-button.png) no-repeat center;
    position: absolute;
    top: 5px;
    right: 5px;
    opacity: 0.3;
    cursor: pointer;
    display: block;
    height: 35px;
    width: 35px;
    border-radius: 50%;
    border: 3px solid rgba(0, 0, 0, 0.3);
    transition: 0.5s cubic-bezier(.27, 1.64, .32, .95);
}

.close-btn:hover {
    opacity: 1;
    -webkit-transform: rotate(90deg);
    -moz-transform: rotate(90deg);
    transform: rotate(90deg);
    border-radius: 50%;
    border-color: rgba(0, 0, 0, 1);
}

.campaign-btn {
    display: inline-block;
    margin: auto;
    border-radius: 4px;
    border: none;
    padding: 15px 20px;
    max-width: 100%;
    width: 245px;
    cursor: pointer;
    font-size: 14px;
    line-height: 17px;
    font-weight: 600;
    text-align: center;
    text-transform: capitalize;
    text-decoration: none;
    word-break: break-word;
}

.campaign-btn.campaign-btn-primary:focus, .campaign-btn:focus, .campaign-btn::-moz-focus-inner {
    outline-offset: -2px;
    border: 2px solid black;
}

.campaign-btn.btn-block {
    width: 100%;
    display: block;
}

.campaign-oauth-btn {
    width: 260px;
}

.campaign-icon-btn {
    font-size: 20px;
    cursor: pointer;
}

.campaign-btn:not([disabled]):hover, .campaign-icon-btn:hover {
    cursor: pointer;
    filter: brightness(85%);
}

.campaign-btn[disabled] {
    opacity: 0.65;
    pointer-events: none;
}

.campaign-btn-small {
    max-width: 100%;
    padding: 4px 20px;
    width: auto;
    font-size: 14px;
}

.campaign-btn-narrow {
    max-width: 100%;
    width: auto;
}

.campaign-btn-default, .campaign-btn-default:hover, .campaign-btn-default:active, .campaign-btn-default:focus {
    background: #525252;
    color: #FFF;
}

.tbits-text-option {
    display: inline-block;
    margin: auto;
    border-radius: 17px;
    border: none;
    outline: none;
    padding: 6px 20px;
    max-width: 100%;
    width: 100%;
    height: 100%;
    cursor: pointer;
    font-size: 16px;
    letter-spacing: 0.5px;
    text-align: center;
    text-transform: uppercase;
    text-decoration: none;
}

.tbits-text-option .tbits-radio, .tbits-text-option .tbits-checkbox {
    width: 100%;
}

.tbits-text-option input[type="radio"], .tbits-text-option input[type="checkbox"] {
    margin: 1px 0 0 -10px;
}

.tbits-image-option {
    -webkit-box-shadow: 0 0 5px 0 #ccc;
    -moz-box-shadow: 0 0 5px 0 #ccc;
    vertical-align: top;
    width: 250px;
    margin: 4px;
    display: inline-block;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background-color: #878787;
    color: #FFF;
    transition: all 0.2s ease;
    box-shadow: 0 0 8px #9D9D9D;
    cursor: pointer;
}

.tbits-image-option > div {
    min-height: 280px;
    padding: 0px 0px;
}

.tbits-image-option-sm {
    width: 90%;
}

.tbits-image-option-sm > div {
    min-height: 57px;
}

.tbits-image-option:hover {
    transform: scale(1.05);
}

.tbits-image-container {
    height: 230px;
    width: 250px;
    position: relative;
    text-align: center;
    overflow: hidden;
    margin: 0 auto;
}

.tbits-image-label {
    font-size: 15px;
    /*white-space: nowrap;*/
    margin: 0;
    padding: 8px 5px;
    /*overflow: hidden;*/
    /*text-overflow: ellipsis;*/
    font-weight: bold;
    text-align: center;
}

.tbits-image {
    width: 100%;
    -webkit-backface-visibility: hidden;
    transform: translateY(0px);
    transition: all 0.2s ease;
}

.tbits-image-option:hover .tbits-image {
    -webkit-transform: translateY(0px) scale(1.05);
    -moz-transform: translateY(0px) scale(1.05);
    transform: translateY(0px) scale(1.05);
    opacity: 0.7;
}

.campaign-btn a:hover {
    color: #ffffff;
}

.poll-result-btn {
    letter-spacing: 0.5px;
    cursor: default;
    line-height: 30px;
    font-weight: lighter;
    font-size: 1em;
    color: white;
    text-align: center;
    height: 30px;
    width: 100%;
}

.image-upload-control-btn {
    width: 250px;
    display: inline-block;
    margin: 0 7px;
}

.tbits-navigation-btn {
    color: #FFF;
    background: #9B9B9B;
}

.tbits-navigation-btn:focus-visible {
    outline: 2px solid black;
}

.tbits-navigation-btn:hover {
    color: #FFF;
    filter: brightness(85%);
}

/**************************************************************************************/
/********************************************  ICONS  *********************************/
/**************************************************************************************/

.tbits-app-share-button .btn.btn-facebook:hover {
    color: #333;
}

.tbits-dropdown {
    background: url(/static/icons/arrow-dropdown.png) no-repeat 96.5%;
    -moz-appearance: none;
    -webkit-appearance: none;
    appearance: none;
}

[dir="rtl"] .tbits-dropdown {
    background: url(/static/icons/arrow-dropdown.png) no-repeat 3.5%;
    appearance: none;
}

/* ecard */
.tbits-ecard-body {
    background-color: #F4F4F2;
    display: block;
    text-decoration: none;
    color: #555;
    margin: 10px 0;
    padding: 20px;
}

.ecard-canvas {
    overflow: auto;
    max-width: 810px;
    margin: 0 auto;
}

.ecard-canvas img {
    max-height: 100%;
    max-width: 100%;
}

.tbits-ecard-carousel {
    height: 369px;
    overflow: hidden;
}

.ecard-author-img {
    padding: 15px;
    height: 80px;
    width: 80px;
}

@media (max-width: 767px) {
    .tbits-ecard-body {
        padding: 15px;
    }

    .ecard-author-img {
        padding: 2vw;
    }

    #myCarousel, #myCarousel .carousel-inner, #myCarousel .tbits-carousel-item {
        /*width: 40vw;*/
        height: 40vw;
    }
}

/**************************************************************************************/
/********************************************  QUIZ  **********************************/
/**************************************************************************************/

.tbits-share-result {
    font-size: 14px;
    font-weight: bolder;
    text-transform: uppercase;
    color: #444444;
}

.quiz-question-description {
    margin: 10px 0;
    font-weight: lighter;
    text-align: center;
}

.email {
    transition: 0.3s all ease-out;
    padding: 20px 10px;
    margin: 0 10px;
}

.question {
    transition: 0.3s all ease-out;
    padding-bottom: 20px;
}

.quiz-results {
    text-align: center;
    padding-bottom: 30px;
    padding-top: 10px;
}


.poll-throbber-container {
    width: 100%;
    text-align: center;
    padding: 20px;
}

.poll-modal {
    margin-left: 150px;
    margin-top: 100px
}

.header-text {
    width: auto;
    font-size: 100%;
    margin: 0;
    padding: 0;
}

.header-text .tbits-main-question {
    font-weight: 700;
    font-size: 26px;
    line-height: 40px;
    width: 100%;
    height: 50px;
    display: inline;
}

.tbits-main-question-container {
    text-align: center;
    padding: 0 10px 40px 10px;
}

.tbits-result {
    margin-bottom: 40px;
}

.tbits-personality-result-description {
    text-align: left;
    color: #444;
    padding: 0 20px;
}

.tbits-personality-result-description p {
    font-weight: lighter;
    font-size: 14px;
    vertical-align: middle;
    line-height: 1.9;
    color: #444444;
}

.preview-content {
    position: relative;
    background: white;
    margin-bottom: 40px;
    -webkit-box-shadow: 0 0 5px 0 #ccc;
    -moz-box-shadow: 0 0 5px 0 #ccc;
    box-shadow: 0 0 5px 0 #ccc;
}

.preview-content:hover {
    box-shadow: 0 0 8px #9D9D9D;
    transition: 0.2s ease all;
}

.preview-image {
    padding: 35px;
    border: 0;
}

/**************************************************************************************/
/********************************************  CONTEST  *******************************/
/**************************************************************************************/

#video-player {
    width: 100%;
    height: 100%;
}

.details-caption {
    padding: 10px 0 0;
    overflow-wrap: break-word;
}

.contest-author {
    padding: 10px 0 0;
    text-align: left;
    height: 50px;
    display: table;
    position: relative;
    width: 100%;
}

.contest-author a {
    color: #999;
}

.author-name a {
    color: #444444;
}

.profile-name {
    height: 48px;
    padding: 1px 5px;
    display: table-cell;
    vertical-align: middle;
    font-size: smaller;
}

.vote-controls {
    width: 100%;
    padding: 20px 30px;
    white-space: nowrap;
    margin: 0 0;
    overflow: hidden;
    text-align: center;
    text-overflow: ellipsis;
}

.image-upload-box {
    font-weight: bold;
}

.image-upload-form-padding {
    padding: 15px 35px 35px
}

.image-form-wrapper {
    background: url('/static/images/share-image-bg.png') no-repeat top center;
}

.author-name {
    font-weight: bold;
    font-size: 16px;
    color: #444444;
}

.author-screen-name {
    font-weight: lighter;
    font-size: 14px;
    color: #777;
}

@media screen and (max-width: 770px) {

    .image-upload-form-padding {
        padding: 15px 20px 35px
    }

    .image-upload-control-btn {
        margin: 0;
    }

    .image-upload-box {
        text-align: center;
    }

    .image-upload-back-bottom {
        display: none;
    }
}

.confirm-title {
    margin-bottom: 15px;
}

.confirm-title span {
    font-weight: 700;
}

.vote-counter {
    padding-top: 10px;
    margin: 0 3px;
    color: #3b5998;
    font-weight: bold;
    font-size: 18px;
    text-align: center;
}

.campaign-btn .tbits-radio,
.campaign-btn .tbits-checkbox {
    top: 1px;
    left: -10px;
}

.mark {
    height: 40px;
    width: 40px;
    border-radius: 20px;
    font-size: 28px;
    text-align: center;
    display: inline-block;
    padding-top: 2px;
    margin: 2px;
}

.mark-approved {
    color: white;
    background-color: rgb(80, 179, 223);
}

/**************************************************************************************/
/********************************************  GENERAL  *******************************/
/**************************************************************************************/

.countdown-timer {
    margin-bottom: 35px;
    display: none;
    justify-content: center;
    align-items: center;
    flex-shrink: 0; /* fix ios safari rendering bug */
}

.countdown-timer.initialized {
    display: flex;
}

.countdown-timer .countdown-clock {
    display: flex;
    width: 360px;
}

.countdown-timer .countdown-clock div {
    height: 150px;
    flex: 1;
}

.countdown-timer .countdown-clock #hours {
    margin-left: 10px;
    margin-right: 5px;
}

.countdown-timer .countdown-clock #minutes {
    margin-left: 5px;
    margin-right: 10px;
}

.countdown-timer div, .countdown-timer p {
    display: inline-block;
}

.photo-inner-image {
    max-height: 100%;
    max-width: 100%;
}

.tbits-app-share-text {
    font-size: 14px;
    font-weight: bolder;
    text-transform: uppercase;
    color: #444444;
}

.btn-share-link {
    background-color: #ccc;
    transition: all 0.3s ease;
}

.btn-share-link:hover {
    background-color: #999;
    transition: all 0.3s ease;
}

.btn-share-link.active .share-link-copied {
    display: block;
    color: #666;
    margin-top: -30px !important;
    padding: 0px 10px;
}

.btn-share-link.active {
    width: auto;
}

.btn-share-link.active > span {
    width: auto;
    opacity: 0.2;
}

.tbits-app-share-controls a {
    width: 50px;
    height: 50px;
    border-radius: 25px;
    padding: 5px 0 5px 0;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tbits-app-social-share-controls span {
    font-size: 45px;
}

.campaign-share-links {
    color: black;
    transition: all 0.3s ease;
}

.app-share-bar {
    margin: 0;
}

.tbits-app-content-description h1, .tbits-app-content-description h2, .tbits-app-content-description h3 {
    margin-top: 35px;
    margin-bottom: 10px;
    padding-bottom: 8px;
}

.tbits-app-content-description p {
    color: #444444;
    font-size: 1.1em;
    font-weight: lighter;
    line-height: 1.9em;
}

.tbits-app-pagination {
    text-align: center;
    padding-top: 40px;
}

.tbits-app-pagination .tbits-navigation-btn {
    position: relative;
    display: inline-block;
    width: 40px;
    height: 40px;
    padding: 0;
    vertical-align: middle;
}

.tbits-app-pagination .tbits-navigation-btn:hover, .tbits-navigation-btn:focus, .tbits-app-pagination .tbits-navigation-btn:active, .tbits-app-pagination .tbits-navigation-btn:focus {
    color: #FFF;
}

.tbits-app-pagination .tbits-navigation-btn .nav-icon {
    position: absolute;
    top: 13px;
}

.tbits-app-pagination .tbits-navigation-btn.inactive {
    opacity: 0.3;
    pointer-events: none;
}

.tbits-app-pagination > div {
    display: inline-block;
}

.tbits-app-pagination .tbits-app-pagination-range {
    font-size: 16px;
    margin: 10px;
}

hr {
    border: 1px solid #545454;
    margin-top: 0;
    margin-bottom: 10px;
}

.tbits-app-primary-color {
    color: #00ba95;
}

.contest-vote-form {
    padding: 10px 36px;
}

.tinfoil-modal {
    display: none;
    text-align: center;
    margin: 0 auto;
    padding: 25px;
    position: fixed;
    width: 400px;
    max-width: 95%;
    top: 100px;
    right: 0;
    left: 0;
    background-color: #fff;
    border-radius: 3px;
    overflow: hidden;
    z-index: 10;
}

.tinfoil-inner-modal {
    align-items: center;
    /*padding: 20px;*/
    /*border: 1px solid;*/
    /*border-radius: 3px;*/
    height: auto;
}

.tinfoil-overlay {
    display: none;
    position: fixed;
    padding: 0;
    margin: 0;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 6;
}

.tinfoil-modal h4 {
    color: #4c4c4c;
}

.tinfoil-modal p {
    overflow: auto;
    width: auto;
    height: auto;
    color: #605959;
    font-size: 12pt;
}

.overlay {
    position: absolute;
    bottom: 0;
    width: 100%;
    left: 0;
    background-color: rgba(255, 255, 255, 0.95);
    height: 0;
    padding: 0;
    margin: 0;
    z-index: 1000;
}

.photopoll-name {
    width: 250px;
    font-size: 15px;
    white-space: nowrap;
    margin: 0;
    padding: 8px 5px;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: bold;
    text-align: center;
}

.photopoll-count {
    margin: 0 3px;
    color: #3b5998;
    font-weight: bold;
    font-size: 18px;
    padding-bottom: 8px;
}

.photopoll-description {
    font-size: 13px;
    margin: 0;
    max-height: 50px;
    overflow-y: auto;
    padding: 8px 5px;
    text-align: center;
}

.photopoll-description i {
    font-size: 12px;
}

.photopoll-description a {
    cursor: pointer;
}

.vote-count-active {
    background: rgb(0, 149, 119);
}

.vote-count-active-btn {
    background: rgb(0, 186, 149);
}

.progress-bar-active {
    background: rgb(0, 186, 149);
}

.progress-bar-active-top {
    background: rgb(0, 186, 149);
}

.prize-well {
    margin: 10px 0;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.25);
    border-radius: 4px;
}

.thankyou-img {
    padding: 40px 0 0 0;
    width: 100%;
    margin: 0 auto;
    display: none
}

.thankyou-btn-container {
    margin: 10px auto;
    max-width: 200px;
    text-align: center;
}

.thankyou-image-container {
    text-align: center;
}

.thankyou-message.description {
    padding: 10px;
}

.photopoll-desc-text {
    background-color: #FEFEFE;
    box-shadow: 0 2px 2px #9D9D9D;
    display: none;
    margin-top: 5px;
    max-height: 400px;
    padding: 0 5px 10px 5px;
    position: absolute;
    left: 0;
    width: 100%;
    z-index: 3001;
}

.preview-display {
    position: absolute;
    top: 50px;
    display: none;
    padding: 20px 10px 10px;
    overflow: hidden;
    left: 3%;
    right: 3%;
    z-index: 3000;
    max-width: 94%;
    margin-left: auto;
    margin-right: auto;
    -webkit-box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.77);
    -moz-box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.77);
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.77);
    background-color: white;
    text-align: center;
}

.preview-display .preview-body {
    background-color: #FFFFFF;
}

/* CSS Trick for focus trapping modals */
.preview-display .preview-body[open]:not(:focus-within) {
    background-color: #FEFFFF;
    transition: background-color 0.01s;
}

.preview-desc {
    padding: 0 35px 20px;
}

.preview-title {
    font-weight: bold;
    font-size: 1.4em;
    padding-bottom: 20px;
}

.preview-display .photopoll-count {
    padding: 0 0 20px;
}

.preview-share {
    margin: 10px auto;
}

.tbits-app-content-description {
    padding: 10px;
    width: 100%;
}

.photopoll-image {
    height: 230px;
    width: 250px;
    position: relative;
    text-align: center;
    overflow: hidden;
    margin: 0 0 5px;
}

.photopoll-view {
    vertical-align: top;
    width: 250px;
    /*border: 1 px solid #ccc;*/
    margin: 6px;
    display: inline-block;
    position: relative;
    transition: 0.1s ease all;
}

.photopoll-user-count {
    position: absolute;
    left: 0;
    top: 0;
    width: 0;
    height: 0;
    border-top: 60px solid #3b5998;
    border-right: 60px solid transparent;
    z-index: 5;
    display: none;

}

.photopoll-user-count .voter-count {
    left: 6px;
    bottom: 33px;
    position: absolute;
    color: white;
    font-weight: 500;
    font-size: 16px;
}

.voted .photopoll-user-count {
    display: block;
}

.photopoll-view:hover {
    box-shadow: 0 0 8px #9D9D9D;
    transition: 0.2s ease all;
}

.photopoll-filter {
    padding: 0 7px;
}

@media (max-width: 534px) {
    .photopoll-filter {
        width: 100%;
    }

    .photopoll-filter {
        transition: 0.4s ease;
        max-height: 35px;
    }

    .photopoll-filter.collapsed:not(.selected) {
        opacity: 0;
        max-height: 0;
        pointer-events: none;
    }
}

.photopoll-vote {
    width: 100%;
    padding: 20px 30px;
    white-space: nowrap;
    margin: 0 0;
    overflow: hidden;
    text-overflow: ellipsis;
}

.photopoll-vote a {
    color: white;
}

.tbits-radio + .tbits-input-label {
    margin-right: 5px;
}

.tbits-input-label {
    display: inline-block;
}

.tbits-radio + .tbits-input-label, .tbits-text-option .tbits-input-label {
    padding-left: 0;
}

body table.tbits-table > tbody > tr:nth-child(1) > th, table.tbits-table > thead > tr:nth-child(1) > th, .tbits-table > thead > tr:nth-child(1) > td {
    background: #50bd91;
    color: white;
}

.highlight-row td {
    border-top: 1px solid #50BD91;
    border-bottom: 1px solid #50BD91;
}

.highlight-row td:first-child {
    border-left: 1px solid #50BD91;
}

.highlight-row td:last-child {
    border-right: 1px solid #50BD91;
}

input.form-control, select.form-control {
    height: 48px;
    margin-top: 7px;
}

textarea.form-control {
    resize: vertical;
}

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

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

.form-group.has-placeholder-label .form-control {
    margin-top: 0;
    box-shadow: none;
    transition: .5s ease top, .5s ease right, .5s ease left, .5s ease bottom, .5s ease padding;
    min-height: 48px;
}

.form-group.has-placeholder-label.has-error .form-control {
    background: rgba(227, 111, 112, 0.2);
    border: 1px solid #E36F70;
}

[dir="rtl"] .form-group {
    text-align: right;
}

[dir="rtl"] .form-control {
    text-align: right;
}

.placeholder-label {
    position: absolute;
    font-size: 14px;
    line-height: 17px;
    left: 12px;
    top: 16px;
    color: #909090;
    transition: .5s ease all;
    pointer-events: none;
    max-width: calc(100% - 24px);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

[dir="rtl"] .placeholder-label {
    left: auto;
    right: 12px;
    text-align: right;
}

.placeholder-label > label {
    overflow: hidden;
    text-overflow: ellipsis;
}

.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;
    overflow: visible;
    text-overflow: unset;
}

.input-group .form-control:focus + .placeholder-label {
    z-index: 3;
}

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

.phone-inputs {
    display: flex;
    gap: 1rem;
}

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

.form-control:focus {
    border-color: #00ba95;
    box-shadow: 0 0 5px #cccccc;
}

.form-checkbox {
    margin-top: -5px;
    margin-bottom: 12px;
}

.form-checkbox > .tbits-input-label {
    margin: 0;
}

.birth-date-row {
    display: flex;
    align-items: center;
}

[dir="rtl"] .birth-date-row {
    flex-direction: row-reverse;
}

.birth-date-row .form-group {
    width: unset;
    flex: 1;
}

.birth-date-row .form-group:not(:last-child) {
    margin-right: 10px;
}

.campaign-area {
    position: relative;
    padding: 40px 0;
}

.tbits-vote-entry-container {
    text-align: left;
    padding: 10px;
}

#entry-form {
    padding: 0 32px;
}

.contest-options-container {
    text-align: center;
    position: relative;
    padding: 40px 0 0;
}

.tab-container.tab-container-padded {
    text-align: center;
    padding: 40px 5px 0;
}

.tab-container.tab-container-relative {
    position: relative;
}

.tbits-tradablebits-terms {
    font-weight: normal;
    font-size: 9px;
    color: #7F7F7F;
    width: 100%;
    max-width: 800px;
    margin: auto;
    text-align: center;
}

.app-legal {
    padding-bottom: 30px;
    overflow: hidden;
    position: relative;
    word-wrap: break-word;
}

.app-legal .legal-header {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.campaign-area .legal-header a:not(:last-child)::after,
#login-area .legal-header a:not(:last-child)::after {
    content: ',';
}

.legal-agree-container {
    text-align: start;
}

.legal-agree-container .legal-header {
    display: inline;
    margin-bottom: 5px;
}

.app-legal .legal-header .legal-toggle {
    font-weight: bold;
    font-size: 1.1em;
    padding: 0 20px;
    text-align: center;
}

.app-legal .legal-header button.legal-toggle {
    background: none;
    border: none;
}

.app-legal .legal-header .legal-toggle:not(:last-child) {
    border-right: 1px solid #ccc;
}

.app-legal .legal-header .legal-toggle:hover,
.app-legal .legal-header .legal-toggle:focus,
.app-legal .legal-header .legal-toggle.active {
    text-decoration: underline;
    color: var(--colour-hyperlink-hover);
}

.app-legal .legal-header .rules-hide {
    color: #777777;
    font-size: 1em;
    text-decoration: none;
}

.app-legal .legal-header .rules-hide:hover, .app-legal .legal-header .rules-hide:focus {
    color: #505050;
    text-decoration: none;
}

.legal-container {
    margin: 10px;
    font-size: 12px;
    padding: 15px 20px;
    background-color: rgba(0, 0, 0, 0.05);
    border-radius: 4px;
    border: 1px solid var(--grey-400);
}

.legal-container .legal-container-close {
    cursor: pointer;
}

.legal-container .legal-container-close:hover,
.legal-container .legal-container-close:focus {
    color: var(--grey-900);
}

.legal-container .legal-container-header {
    margin: 0 0 10px 0;
    font-weight: bold;
    font-size: 14px;
}

input.form-control.required,
textarea.form-control.required,
.tbits-checkbox.required,
.tbits-radio.required,
select.tbits-dropdown.required,
.required {
    background-color: #FFECEB;
    border: 2px solid #B94A48 !important;
}

.required-filled {
    border: 1px solid #00ba95 !important;
}

.nav-pills > li {
    padding: 0 6px;
    float: none;
    display: inline-block;
}

.nav-pills > li + li {
    margin-left: 0;
}


.text-filter-search-bar {

    margin-bottom: 12px;
    width: 100%;
}

#preloader {
    background-color: white;
    height: 100vh;
    width: 100vw;
    position: fixed;
    z-index: 2;
    left: 0;
    top: 0;
}

.preloader-inner {
    height: inherit;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.tbits-icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #51C38F;
    padding: 6px 12px;
}

.tbits-icon-btn .tbits-icon {
    top: 0;
    font-size: 24px;
    color: white;
}

.tbits-icon-btn:hover {
    background: #41A27F;
}

.campaign-well {
    background-color: white;
    border-radius: 4px;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.15);
    margin: 20px 0;
}

.campaign-well-header {
    display: flex;
    align-items: center;
    min-height: 50px;
}

.campaign-well-header[data-toggle="collapse"] {
    cursor: pointer;
}

.campaign-well-header:not([data-toggle="collapse"]) {
    border-bottom: 1px solid var(--grey-200);
}

.campaign-well-header[data-toggle="collapse"] ~ .collapse.in,
.campaign-well-header[data-toggle="collapse"] ~ .collapsing {
    border-top: 1px solid var(--grey-200);
}

.campaign-well-collapse-icon.tbits-icon-chevron-right-icon {
    color: var(--fg-color);
    font-size: 18px;
    margin: 0 10px;
    top: 0;
}

.campaign-well-header[data-toggle="collapse"][aria-expanded="true"] > .campaign-well-collapse-icon {
    transform: rotate(90deg);
}

.campaign-well-title {
    flex: 1 1 auto;
    font-size: 18px;
    font-weight: bold;
    margin: 0;
    color: var(--fg-color);
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.campaign-well-body {
    padding: 20px;
}

.disconnected-message {
    padding: 0 20px;
}

.select2-container .select2-selection--multiple {
    min-height: 48px;
}

.select2-container--default .select2-selection--multiple .select2-selection__rendered {
    padding: 20px 5px 0 12px;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__remove,
.select2-container--default .select2-selection--multiple .select2-selection__choice__remove:hover {
    color: #ffffff;
}

.wallet-badges {
    display: flex;
    flex-direction: row;
    margin-top: 10px;
    justify-content: space-around;
}

img.wallet-badge {
    width: 160px;
    padding: 10px;
    cursor: pointer;
}

[dir="rtl"] .tbits-icon-chevron-right-icon:before{
    content: "\E225"
}

[dir="rtl"] .tbits-icon-chevron-left-icon:before {
    content: "\E224"
}

.change-language {
    display: flex;
    flex-direction: row-reverse;
    margin-right: 25px;
    margin-top: 5px;
}

[dir="rtl"] .change-language {
    margin-left: 25px;
}

.language-change-container {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    margin-bottom: 3px;
}

.language-change-container > span.tbits-icon-chevron-down-icon.rotate {
    transform: rotate(180deg);
}

.language-options-container {
    display: flex;
    flex-direction: column;
    gap: 2px;
    position: absolute;
    inset-inline-end: 25px;
    z-index: 1000;
    width: fit-content;
    max-width: 250px;
    background-color: rgba(255, 255, 255, 0.5);
}

.language-select-option {
    padding: 5px;
    cursor: pointer;
    text-align: right;
    font-weight: bold;
}

[dir="rtl"] .language-select-option {
    text-align: left;
}

.language-select-option:hover {
    background-color: #F5F5F5;
    color: inherit;
}
