﻿/* ------- global ------- */

body {
    position: relative;
}

.navbar {
    border-radius: 0;
    margin-bottom: 0;
}

.navbar-right {
    margin-right: 40px;
}

#navbar-content {
    max-width: 960px;
    margin: 0 auto;
}

#navbar-logo {
    width: 250px;
    text-align: center;
    display: inline-block;
}

    #navbar-logo a img {
        height: 50px;
    }

#content {
    overflow: hidden;
}

.nav-tabs {
    border-bottom: none;
    margin-left: 8px;
}

    .nav-tabs .active a {
        color: darkorange !important;
        font-weight: bold;
    }

.tab-body {
    border: 1px solid #ddd;
    padding: 20px;
    border-radius: 8px;
    overflow: visible;
}

.footer-dashboard-page {
    background: #438eb9;
    color: white;
    height: 40px;
    padding: 12px 20px 20px 20px !important;
    margin: 0 !important;
    position: relative;
    z-index: 1;
    font-size: 12px;
}

.shadowed {
    color: gray !important;
}

label {
    color: gray;
    font-weight: bold;
}

.table-container {
    max-height: 150px;
    overflow-y: scroll;
    border: 1px solid #ddd;
    border-radius: 4px;
    min-height: 20px;
}

    .table-container .table {
        margin-bottom: 0;
    }

.table-container-tall {
    max-height: 400px;
}

.table th {
    border-top: none !important;
    border-bottom: 1px solid #d58512;
}

th.centered, td.centered {
    text-align: center;
}

input[type=checkbox].large {
    -ms-transform: scale(1.5); /* IE */
    -moz-transform: scale(1.5); /* FF */
    -webkit-transform: scale(1.5); /* Safari and Chrome */
    -o-transform: scale(1.5); /* Opera */
}

input[type=checkbox], input[type=radio] {
    margin: 8px 8px 0 4px !important;
}

input[type=submit].pull-right, input[type=button].pull-right, button.pull-right {
    margin-left: 10px;
}

input[type=submit].pull-left, input[type=button].pull-left, button.pull-left {
    margin-right: 10px;
}

input[type=text].date-pick,
input[type=time].date-pick {
    width: 150px;
    display: inline-block;
}

#surveyCollectors label {
    color: #2a2a2a;
    font-size: 14px;
    font-weight: 600;
}

#surveyCollectors input[type=text].date-pick,
#surveyCollectors input[type=time].date-pick {
    height: 40px;
    line-height: 1.2;
}

#surveyCollectors input[type=text].date-pick {
    background-color: #ffffff;
    background-image: url('svg/calendar.svg');
    background-position: right 12px center;
    background-repeat: no-repeat;
    background-size: 16px 16px;
    padding-right: 40px;
}

#surveyCollectors input[type=time].date-pick {
    background-image: none;
    padding-right: 12px;
}

input[type=text].inline-number {
    max-width: 50px;
    margin: 0 5px;
    display: inline-block;
}

input.inline {
    width: auto;
    margin: 0 5px;
    display: inline-block;
}

div.inline-block {
    display: inline-block;
}

.modal-wide .modal-dialog {
    width: 1000px;
}

.modal-scroll .modal-body {
    max-height: 588px;
    overflow-y: auto;
    overflow-x: hidden;
}

.no-title > .modal-dialog > .modal-content > .modal-header {
    border: 0;
    overflow: auto;
}

.no-title > .modal-dialog > .modal-content > .modal-body {
    padding-top: 0;
    margin-top: -15px;
}

.no-title > .modal-dialog > .modal-content > .modal-footer {
    padding-top: 0;
    margin-top: 0;
    border: 0;
}

.no-title .modal-header .close {
    position: absolute;
    right: 15px;
    top: 15px;
    z-index: 999;
}

.alert.modal-error {
    margin: 0 20px;
}

.badge-success {
    background: #5cb85c;
}

.badge-warning {
    background: #f0ad4e;
}

.badge-danger {
    background: #d9534f;
}

span.outlined {
    border: 1px solid darkgray;
    padding: 2px 4px;
    border-radius: 4px;
    margin: 0 2px;
}

.popover.static {
    position: relative;
    display: inline-block;
    max-width: 320px;
    min-height: 220px;
    margin: 20px;
}

.noUi-target {
    margin: 5px;
}

.errorMessage {
    color: red;
}

.notification-danger {
    color: red;
    cursor: pointer;
}

.glyphicon-question-sign,
.glyphicon-edit {
    cursor: pointer;
}

.glyphicon-remove {
    color: red;
    cursor: pointer;
}

.glyphicon-repeat {
    cursor: pointer;
}

.error-box {
    width: 600px;
    margin: 200px auto;
}

.dropdown-menu .glyphicon {
    margin-right: 5px;
    font-size: 0.8em;
}

.opacity-25 {
    opacity: 0.25;
}

.thumbnail {
    position: relative;
}

    .thumbnail.unapproved {
        border: 1px solid orange;
    }

    .thumbnail.rejected {
        border: 1px solid red;
    }

    .thumbnail .play {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-image: url(Images/play.png);
        background-position: center center;
        background-repeat: no-repeat;
        background-size: auto;
        z-index: 1000;
    }

    .thumbnail img {
        max-height: 100%;
        max-width: 100%;
    }

    .thumbnail label {
        position: absolute;
        right: 5px;
        bottom: 2px;
        margin-bottom: 0;
        color: white;
        font: 1.5em calibri;
        text-shadow: 0 0 2px black, 0 0 2px black, 0 0 2px black, 0 0 2px black, 0 0 2px black, 0 0 2px black, 0 0 2px black, 0 0 2px black;
    }

.status {
    margin: 6px 0 0;
    border-radius: 10px;
    width: 10px;
    height: 10px;
    display: inline-block;
}

    .status.green {
        background-color: green;
    }

    .status.gray {
        background-color: lightgray;
    }

    .status.red {
        background-color: red;
    }

/* -------- Image Modal -------- */

#imageModal a {
    padding: 0px 10px 0 15px;
    display: inline-block;
}

#imageModal .image-tags .badge {
    margin-right: 5px;
}

    #imageModal .image-tags .badge .glyphicon-remove {
        margin-left: 4px;
        font-size: 0.8em;
    }

#tagFilterModal .badge {
    margin: 2px;
}

/* -------- algos page -------- */

#algos_page .dropdown-menu {
    left: -100px;
}

#algos_page .tab-body {
    margin-bottom: 20px;
}

#algos_page select[data-prop=category] {
    display: inline-block;
    max-width: 100px;
}

#algos_page input[data-prop=nameFilter] {
    display: inline-block;
    width: 120px;
}

/* -------- orders table -------- */
.orders-table .dropdown-menu {
    left: -100px;
}

.orders-table tr.owner {
    border-left: 1px solid #ddd;
    border-right: 1px solid #ddd;
}

    .orders-table tr.owner td {
        padding: 0 0 2px 4px;
        border-top: 0px;
        font-size: 0.8em;
    }

.orders-table tr.top {
    border-left: 1px solid #ddd;
    border-right: 1px solid #ddd;
}

    .orders-table tr.top td:last-of-type {
        border-right: 1px solid #ddd;
    }

.orders-table tr td {
    max-width: 300px;
}

    .orders-table tr td.collapsible {
        background-color: #f5f5f5;
        padding: 5px;
        cursor: pointer;
        border-top: 0;
        border-bottom: 1px solid #ddd;
        border-left: 1px solid #ddd;
        border-right: 1px solid #ddd;
    }

        .orders-table tr td.collapsible:hover {
            color: darkorange;
        }

.orders-table tr.space {
    border: 0;
}

    .orders-table tr.space td {
        border: 0;
        padding: 8px;
    }

table.order-history {
    margin-bottom: 0;
}

    table.order-history td {
        border: 1px solid #ddd;
    }

        table.order-history td.deleted {
            background-color: #FFEFEF;
        }

        table.order-history td.date {
            vertical-align: middle;
            text-align: center;
            background-color: #F2F2F2;
            font-weight: bold;
            color: #999;
            width: 90px;
        }

        table.order-history td .head {
            font-weight: bold;
            color: #5C7796;
        }

        table.order-history td .body {
            color: #444;
        }

ol.question-options {
    list-style-type: lower-alpha;
    color: darkorange;
    font-weight: bold;
    list-style-position: inside;
    padding-left: 5px;
}

    ol.question-options li {
        padding: 1px 5px;
        margin: 1px;
    }

        ol.question-options li.correct {
            background: rgb(202, 250, 202);
            border-radius: 8px;
        }

        ol.question-options li span {
            font-weight: normal;
            color: black;
        }

/* -------- alert -------- */

body.modal-open {
    margin-right: 0;
}

.modal-body {
    width: 100%;
    overflow: hidden;
}

#modal-alert {
    overflow-y: hidden;
}

label.modal-message {
    display: block;
}

/* ----------- New Survey ----------- */

#NewSurvey {
    padding-top: 80px;
}

    #NewSurvey .centered-content {
        text-align: center;
        overflow: hidden;
    }

    #NewSurvey input[type=checkbox] {
        margin: 0 0 0 10px !important;
    }

/* ---------- Manage Surveys ----------*/

#ManageSurveys {
    padding-bottom: 80px;
}

/* ---------- Survey List ----------*/

.survey-list .icon {
    padding: 7.5px !important;
}

    .survey-list .icon .glyphicon {
        background: #888;
        color: white;
        padding: 4px;
        border-radius: 50px;
        font-size: 0.9em;
    }

.survey-list th:nth-child(1),
.survey-list td:nth-child(1) {
    width: 32px;
    padding: 6px;
}

.survey-list th:nth-child(3),
.survey-list th:nth-child(4),
.survey-list th:nth-child(5),
.survey-list th:nth-child(6),
.survey-list td:nth-child(3),
.survey-list td:nth-child(4),
.survey-list td:nth-child(5),
.survey-list td:nth-child(6) {
    width: 100px;
    text-align: center;
}

.survey-list .dropdown-menu {
    min-width: 138px;
    left: -80px;
    cursor: pointer;
}

.survey-list .Draft, .survey-list .Editing {
    color: brown;
}

.survey-list .Pending, .survey-list .UnconfirmedBriefing {
    color: darkorange;
}

.survey-list .Commited, .survey-list .ReadOnly {
    color: green;
}

.survey-list .Cancelled, .survey-list .Frozen {
    color: red;
}

/* -------- login -------- */

#login-box {
    margin: 150px auto;
    width: 370px;
}

    #login-box label {
        margin-right: 10px;
        width: 60px;
        text-align: right;
    }

    #login-box .login-input-group {
        display: flex;
        align-items: center;
    }

    #login-box .login-input-wrapper {
        display: flex;
        flex: 1;
    }

    #login-box input[type=text], #login-box input[type=password] {
        width: 100%;
        flex: 1;
    }

    #login-box hr {
        margin: 2px;
    }

    #login-box [type=submit] {
        margin-top: 5px;
    }

    #login-box .login-box-links {
        display: inline-block;
        float: right;
        text-align: center;
        overflow: hidden;
    }

/* -------- recover password -------- */

#recover-box {
    margin: 150px auto;
    width: 390px;
}


/* -------- reset password -------- */

#reset-box {
    margin: 150px auto;
    width: 450px;
}

    #reset-box label {
        width: 120px;
        margin-right: 10px;
        text-align: right;
    }

    #reset-box .errorMessage {
        width: 100%;
        display: inline-block;
        text-align: right;
        padding-right: 16px;
    }

    #reset-box input[type=text], #reset-box input[type=password] {
        display: inline-block;
        max-width: 270px;
    }


/* -------- reset password error -------- */

#reset-error-box {
    margin: 150px auto;
    width: 550px;
}

/* -------- create user -------- */

.account-create-form-group {
    clear: both;
}

.field-validation-error {
    margin-bottom: 10px;
}

#account-create-box {
    margin: 80px auto;
    max-width: 460px;
}

    #account-create-box label {
        margin-right: 10px;
        width: 140px;
        text-align: right;
    }

    #account-create-box .errorMessage {
        width: 100%;
        display: inline-block;
        text-align: right;
        padding-right: 8px;
    }

    #account-create-box input[type=text], #account-create-box input[type=password] {
        display: inline-block;
        max-width: 270px;
    }

    #account-create-box hr {
        margin: 2px;
    }

    #account-create-box [type=submit], #account-create-box [type=button] {
        margin-top: 5px;
    }

    #account-create-box .termsOfUseAgreement {
        font-size: 0.9em;
    }

/* -------- create success -------- */

#create-success-box {
    margin: 80px auto;
    width: 500px;
}

    #create-success-box p {
        margin: 20px;
    }

/* -------- member layout -------- */

.breadcrumb {
    padding-left: 290px;
    margin-bottom: 0;
    border-top: 1px solid #e7e7e7;
    border-bottom: 1px solid #e7e7e7;
    border-radius: 0;
}

#sideMenuToggleR {
    padding: 9px;
    cursor: pointer;
    display: none;
}

#sideMenuToggleL {
    padding: 9px;
    cursor: pointer;
    margin-left: 210px;
}

#side-menu {
    float: left;
    width: 250px;
    background: #f5f5f5;
    display: inline-block;
    border-right: 1px solid #e7e7e7;
    border-bottom: 1px solid #e7e7e7;
    padding-bottom: 140px;
    position: relative;
    overflow: hidden;
}

    #side-menu .getInTouch {
        padding: 10px;
        font-size: 0.95em;
        position: absolute;
        bottom: 50px;
    }

    #side-menu .accordion-heading {
        padding: 10px;
        background: #f5f5f5;
        border-bottom: 1px solid white;
        border-top: 1px solid #e7e7e7;
    }

    #side-menu .accordion-inner a:hover {
        background: white;
        color: darkorange;
    }

    #side-menu .accordion-heading.active {
        color: darkorange;
    }

    #side-menu li {
        padding-left: 0;
    }

        #side-menu li li {
            padding-left: 15px;
        }

    #side-menu .glyphicon {
        margin-right: 8px;
        text-shadow: none;
    }

    #side-menu a {
        text-decoration: none;
        color: #393939;
    }

    #side-menu .accordion-toggle {
        font-size: 1em;
    }

    #side-menu ul {
        margin: 0;
        padding: 0;
    }

    #side-menu li {
        font-size: 1em;
        list-style-type: none;
        border-top: 1px dotted #9dbdd6;
        background: white;
        position: relative;
    }

        #side-menu li a {
            width: 100%;
            display: inline-block;
            padding: 10px 0 10px 35px;
        }

        #side-menu li .tree-line-top {
            position: absolute;
            display: inline-block;
            height: 22px;
            margin-left: 15px;
            border-bottom: 1px dotted black;
            border-left: 1px dotted black;
            width: 10px;
            top: 0px;
        }

        #side-menu li .tree-line-bottom {
            position: absolute;
            display: inline-block;
            height: 22px;
            margin-left: 15px;
            border-left: 1px dotted black;
            bottom: 0px;
        }

#main-panel {
    padding: 20px 20px 60px 20px;
    max-width: 1240px;
    overflow: hidden;
    min-height: 600px;
}

.gray-box {
    padding: 20px;
    margin-bottom: 20px;
    background: #f7f7f7;
    border-radius: 8px;
    border: 1px solid #ddd;
    overflow: hidden;
}

/* ----- account details ----- */

#changeCompanyModal .tt-hint {
    width: 240px;
}

/* ----- Profile Filters ----- */

.profile-filters .filter-header {
    background: #428bca;
    font-weight: bold;
    margin-top: 6px;
    padding: 5px;
    color: white;
    overflow: hidden;
}

    .profile-filters .filter-header .glyphicon {
        cursor: pointer;
        margin-right: 5px;
    }

.profile-filters .row {
    padding: 15px;
    overflow: hidden;
}

.profile-filters .slider-value {
    color: darkorange;
    font-weight: bold;
    font-size: 1.25em;
    padding: 5px;
    margin-bottom: 15px;
}

.profile-filters .residences .row {
    padding-top: 0;
    padding-bottom: 10px;
}

.profile-filters .residences .states {
    width: 100%;
}

.profile-filters .residences .cities {
    width: 100%;
}

.profile-filters .residences .glyphicon-remove {
    margin-top: 26px;
    display: inline-block;
    position: absolute;
    right: 4px;
}

.binary-operand {
    font-weight: bold;
    color: blue;
}

.filters-table td {
    vertical-align: middle !important;
}

    .filters-table td .badge {
        margin-right: 8px;
        margin-bottom: 5px;
    }

.filters-table thead th {
    vertical-align: middle;
}

.collector-progress-table__column--profile {
    width: 40%;
}

.collector-progress-table__column--metric {
    width: 15%;
}

.filters-table__column--quota,
.filters-table__cell--quota {
    width: 120px;
    text-align: center;
    vertical-align: middle !important;
}

.filters-table__column--actions,
.filters-table__cell--actions {
    width: 160px;
    text-align: right;
    vertical-align: middle !important;
}

.filters-table__column--profile,
.filters-table__cell--profile {
    width: auto;
    vertical-align: middle !important;
}

.filters-table__add-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-left: auto !important;
}

.filters-table__cell--actions {
    white-space: nowrap;
}

.filters-table__action-button {
    background: transparent;
    border: none;
    padding: 2px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    border-radius: 4px;
    transition: background-color 0.2s ease;
}

.filters-table__action-button:hover {
    background-color: rgba(0, 0, 0, 0.08);
}

.filters-table__action-button:not(:first-child) {
    margin-left: 12px;
}

.filters-table__action-button img {
    width: 18px;
    height: 18px;
}

.filters-table__add-button-icon {
    width: 16px;
    height: 16px;
}

.filters-table__tag {
    background-color: #777777;
    color: #ffffff;
}

.badge-filter {
    max-width: 300px;
    margin-top: 5px;
    white-space: normal;
    background-color: #777777;
    color: #ffffff;
}

.time-period label {
    width: 155px;
    margin-right: 5px;
    text-align: right;
}

/* ----- survey questionnaire form ----- */

.question-group .add-question {
    display: inline;
}

.question-form {
    border: 0;
    margin-bottom: 10px;
    -webkit-box-shadow: none;
    box-shadow: none;
    position: relative;
}

    .question-form .tab-body {
        padding: 0;
        border: none;
    }

    .question-form .question-text {
        display: block;
    }

    .question-form .nav-tabs li {
        float: right;
    }

        .question-form .nav-tabs li a {
            border: none;
            border-radius: 0;
            margin-left: 2px;
            margin-right: 0;
            padding-top: 5px;
            padding-bottom: 3px;
        }

        .question-form .nav-tabs li.active a {
            border: none;
            background-color: #f5f5f5;
        }

    .question-form label {
        margin-left: 10px;
    }

    .question-form .glyphicon {
        cursor: pointer;
    }

    .question-form .glyphicon-resize-vertical {
        cursor: move;
    }

    .question-form .question-type {
        font-size: 0.9em;
    }

    .question-form .question-head {
        background-color: #f5f5f5;
        padding: 10px 10px 10px 20px;
        position: relative;
    }

        .question-form .question-head .glyphicon {
            margin-left: 10px;
        }

        .question-form .question-head .glyphicon-resize-vertical {
            color: #808080;
            position: absolute;
            left: -4px;
            top: 13px;
        }

        .question-form .question-head h4 {
            margin: 0;
        }

        .question-form .question-head a {
            text-decoration: none;
            color: #808080;
        }

        .question-form .question-head .annotation {
            margin-top: 20px;
            color: red;
            font-size: 0.9em;
        }

        .question-form .question-head .btn-group a {
            color: black;
        }

        .question-form .question-head .btn-group .btn {
            font-size: 9.5px;
            margin-left: 10px;
        }

        .question-form .question-head .btn-group .glyphicon {
            margin: 0 5px 0 0;
        }

    .question-form .question-body {
        padding: 10px 10px 0 30px;
    }

        .question-form .question-body .add-row,
        .question-form .question-body .add-option {
            margin-top: -10px;
            margin-left: -10px;
            display: inline;
        }

        .question-form .question-body .selection-limit input {
            width: 40px;
            height: 20px;
            line-height: normal;
        }

.add-question > div, .add-row > div, .add-option > div, .add-rule > div {
    display: inline-block;
    padding: 2px 10px;
    border: 1px dashed #428bca;
    cursor: pointer;
    border-radius: 5px;
    margin-bottom: 10px;
}

.question-form .question-body .row,
.question-form .question-body .option,
.question-form .question-body .answer-suggestion {
    position: relative;
    border-bottom: 1px solid #eee;
    padding: 4px 0 12px 0;
    margin: 0 0 8px 0;
}

.question-form .question-head .question-number,
.question-form .question-body .row-number,
.question-form .question-body .option-number {
    margin-right: 5px;
    color: darkorange;
}

.question-form .question-body .row-text,
.question-form .question-body .option-text,
.question-form .question-body .suggestion-text {
    display: block;
}

.question-form .question-body .glyphicons {
    float: right;
}

.question-form .question-body .glyphicon {
    margin: 5px;
}

.question-form .question-body a {
    display: inline-block !important;
    margin: 0 0 10px 10px;
}

.question-form .question-body .media-container a .thumbnail {
    width: 100px;
    height: 100px;
    display: table-cell;
    vertical-align: middle;
    text-align: center;
}

.question-form .question-body .option-media-container {
    width: auto !important;
}

    .question-form .question-body .option-media-container a {
        margin: 0 10px 0 0;
    }

/*.question-form .question-body .option .media-body {
    overflow: visible !important;
    width: auto !important;
}*/

.question-form .question-body .option a .thumbnail {
    width: 100px;
    height: 100px;
    min-width: 100px;
    display: table-cell;
    vertical-align: middle;
    text-align: center;
    margin-bottom: 5px;
}

.question-form .glyphicon.inactive {
    color: #ccc !important;
}

.question-form .glyphicon.active {
    color: #ff8c00 !important;
}

.skip-logic {
    padding: 20px;
    background-color: #f5f5f5;
}

    .skip-logic select {
        width: 100%;
        display: block;
        margin: 2px 0 2px 0;
    }

    .skip-logic .option-text {
        border-bottom: 1px solid #9C9C9C;
        color: #808080;
        display: block;
        width: 100%;
        margin: 0 0 4px 0;
    }

.display-logic {
    padding: 20px;
    background-color: #f5f5f5;
}

    .display-logic label {
        color: black;
        margin: 2px;
    }

    .display-logic select {
        margin: 2px;
    }

    .display-logic .add-rule {
        display: inline;
    }

/* ----- survey CreateSummary ----- */

.survey-questions .panel-heading {
    padding: 0;
}

    .survey-questions .panel-heading .display-logic-link {
        margin: 10px;
        cursor: pointer;
    }

    .survey-questions .panel-heading h4 {
        padding: 10px 15px;
    }

#surveySummary .termsOfUseAgreement {
    display: inline-block;
    float: left;
    padding-bottom: 10px;
}

    #surveySummary .termsOfUseAgreement label {
        font-size: 0.95em;
    }

#surveySummary .buttonsContainer {
    display: inline-block;
    float: right;
}

.questionsSummary .question-media-container a {
    display: inline-block;
    margin: 0 0 10px 10px;
}

.questionsSummary .option-media-container a {
    display: block;
    margin: 0 0 6px 0;
}

.questionsSummary .question-media-container .thumbnail,
.questionsSummary .option-media-container .thumbnail {
    width: 100px;
    height: 100px;
    display: table-cell;
    vertical-align: middle;
    text-align: center;
    padding: 4px !important;
}

    .questionsSummary .question-media-container .thumbnail img,
    .questionsSummary .option-media-container .thumbnail img {
        max-height: 90px;
        max-width: 90px;
    }

.questionsSummary .question-options {
    vertical-align: middle;
}

    .questionsSummary .question-options .media {
        margin-top: 0;
        padding: 2px 0;
    }

    .questionsSummary .question-options .enum {
        color: darkorange;
        font-weight: bold;
        margin-left: 15px;
    }

    .questionsSummary .question-options .media,
    .questionsSummary .question-options .media-body {
        overflow: visible;
    }

/* ----- survey schedules ----- */

.collector-details-table td:first-child {
    font-weight: bold;
    padding: 5px 10px;
    text-align: right;
}

#surveyContexts .collector-row .dropdown-menu {
    left: -100px;
    min-width: 130px;
}

#surveyContexts .collector-form {
    max-width: 640px;
    margin: 0 auto;
    position: relative;
}

#surveyContexts .row > div {
    padding: 10px;
}

    #surveyContexts .row > div .collector,
    #surveyCollectors .row > div .collector {
        background-color: #f2f2f2;
        border: 1px solid #e6e6e6;
        border-radius: 6px;
        color: #9c9ca2;
        cursor: pointer;
        padding: 20px 10px;
        text-align: center;
        transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
    }

        #surveyContexts .row > div .collector p,
        #surveyCollectors .row > div .collector p {
            margin: 0;
        }

        #surveyContexts .row > div .collector img,
        #surveyCollectors .row > div .collector img {
            padding: 16px 0 12px;
            max-width: 80px;
            transition: filter 0.2s ease;
            filter: brightness(0) saturate(100%) invert(64%) sepia(6%) saturate(244%) hue-rotate(206deg) brightness(92%) contrast(86%);
        }

        #surveyContexts .row > div .collector .embedded-collector,
        #surveyCollectors .row > div .collector .embedded-collector {
            font-size: 36px;
            font-weight: bold;
            line-height: 1;
        }

        #surveyContexts .row > div .collector.active,
        #surveyCollectors .row > div .collector.active {
            background-color: #f0ad4e;
            border-color: #f0ad4e;
            color: #ffffff;
        }

        #surveyContexts .row > div .collector.active img,
        #surveyCollectors .row > div .collector.active img,
        #surveyContexts .row > div .collector:hover:not(.collector--disabled) img,
        #surveyCollectors .row > div .collector:hover:not(.collector--disabled) img {
            filter: brightness(0) saturate(100%) invert(100%);
        }

        #surveyContexts .row > div .collector:hover:not(.collector--disabled),
        #surveyCollectors .row > div .collector:hover:not(.collector--disabled) {
            background-color: #f0ad4e;
            border-color: #f0ad4e;
            color: #ffffff;
        }

        #surveyContexts .row > div .collector.collector--disabled,
        #surveyCollectors .row > div .collector.collector--disabled {
            cursor: not-allowed;
            opacity: 0.6;
        }

#surveyContexts #quotaSelector .row > div,
#surveyContexts #filtersModal .row > div {
    padding: 0;
}

/* ----- user notifications ----- */

#notificationTable {
    margin-top: 10px;
    border-collapse: separate;
    border-spacing: 0 10px;
}

    #notificationTable td {
        border-bottom: 1px solid #ddd;
    }

        #notificationTable td.date {
            vertical-align: middle;
            background-color: #F2F2F2;
            font-weight: bold;
            color: #999;
            width: 90px;
        }

        #notificationTable td .head {
            font-weight: bold;
            color: #5C7796;
        }

        #notificationTable td .body {
            color: #444;
        }

/* ----- user recent notifications ----- */

#recentNotificationTable th {
    border-top: 0px;
    border-bottom: 1px solid #ddd;
}

#recentNotificationTable td.date {
    vertical-align: middle;
    font-weight: bold;
    color: #999;
    width: 90px;
}

#recentNotificationTable td .head {
    font-weight: bold;
    color: #5C7796;
}

#recentNotificationTable td .body {
    color: #444;
}

/* ----- survey results ----- */

#collectorSelector {
    margin-top: 20px;
    margin-left: 5px;
}

#analyzeResults .topBox {
    margin-bottom: 20px;
    overflow: hidden;
}

    #analyzeResults .topBox h3 {
        display: inline-block;
    }

    #analyzeResults .topBox .resultsAction {
        margin-top: 10px;
        margin-left: 15px;
    }

    #analyzeResults .topBox .view-select-container {
        margin-top: 20px;
    }

#analyzeResults .panel {
    margin-bottom: 20px;
}

#analyzeResults .question-table {
    width: 100%;
    margin-bottom: 20px;
}

    #analyzeResults .question-table th {
        text-align: center;
    }

    #analyzeResults .question-table .text-box-cell {
        padding: 5px 10px 0;
    }

    #analyzeResults .question-table .option-row {
        border-top: 1px solid #eee;
    }

        #analyzeResults .question-table .option-row .progress {
            margin: 5px;
            height: 15px;
        }

        #analyzeResults .question-table .option-row .option-marker {
            color: darkorange;
            font-weight: bold;
            vertical-align: middle;
        }

        #analyzeResults .question-table .option-row .option-marker-td {
            max-width: 35px;
            width: 35px;
            padding-left: 15px;
        }

        #analyzeResults .question-table .option-row .option-cell {
            width: 265px;
            padding: 5px 0;
        }

            #analyzeResults .question-table .option-row .option-cell .correct {
                border-radius: 8px;
                border: 1px dashed green;
                display: inline-block;
            }

        #analyzeResults .question-table .option-row .data-cell {
            width: 100px;
            text-align: center;
        }

    #analyzeResults .question-table .row-title {
        align-items: center;
        display: flex;
        margin: 0 0 8px 8px;
    }

#analyzeResults .option-filter.disabled {
    opacity: 0.4;
}

#analyzeResults .average-time {
    width: 230px;
    text-align: center;
}

    #analyzeResults .average-time label {
        margin-right: 5px;
    }

#analyzeResults .text-answers-container,
#analyzeResults .image-answers-container {
    height: 180px;
    overflow-x: hidden;
    overflow-y: scroll;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-bottom: 20px;
}

    #analyzeResults .text-answers-container .answer-box,
    #analyzeResults .text-answers-container .place-box {
        padding: 10px;
        border-bottom: 1px solid #eee;
    }

        #analyzeResults .text-answers-container .answer-box .answer-date,
        #analyzeResults .text-answers-container .place-box .place-address {
            color: gray;
            margin-left: 5px;
        }

#analyzeResults .image-answers-container {
    height: 310px;
}

    #analyzeResults .image-answers-container a {
        display: inline-block;
        margin: 10px 0 0 10px;
    }

#analyzeResults .option-media-container a {
    display: block;
    padding: 0px 6px 0 0 !important;
}

#analyzeResults .image-answers-container .thumbnail,
#analyzeResults .question-media-container .thumbnail,
#analyzeResults .option-media-container .thumbnail {
    width: 138px;
    height: 138px;
    display: table-cell;
    vertical-align: middle;
    text-align: center;
    padding: 4px !important;
}

    #analyzeResults .question-media-container .thumbnail img,
    #analyzeResults .option-media-container .thumbnail img {
        max-width: 130px;
        max-height: 130px;
    }

#analyzeResults .question-media-container a {
    display: inline-block;
    margin: 0 0 10px 10px;
}

#analyzeResults .rating-label {
    margin: 0 10px 0 5px;
}

    #analyzeResults .rating-label .rating-label-stars {
        display: inline-block;
        min-width: 89px;
    }

#surveySubscribersModal .modal-body {
    max-height: 480px;
    overflow-y: auto;
}

#systemSettingTable table tr td:first-child {
    max-width: 300px;
    overflow: hidden;
    text-overflow: ellipsis;
}

#dropdown-check-status {
    border-bottom: 1px solid #e5e5e5;
    border-top: 1px solid #e5e5e5;
    padding: 16px 0 9px 0px;
}

#dropdown-check-status .dropdown {
    position: relative;
    font-size: 14px;
    color: #333;
}

    #dropdown-check-status .dropdown .dropdown-list {
        padding: 12px;
        background: #fff;
        position: absolute;
        top: 30px;
        left: 2px;
        right: 2px;
        box-shadow: 0 1px 2px 1px rgba(0, 0, 0, .15);
        transform-origin: 50% 0;
        transform: scale(1, 0);
        transition: transform 0.15s ease-in-out 0.15s;
        max-height: 66vh;
        overflow-y: scroll;
    }

    #dropdown-check-status .dropdown .dropdown-option {
        display: block;
        opacity: 0;
        transition: opacity 0.15s ease-in-out;
    }

    #dropdown-check-status .dropdown .dropdown-label {
        display: block;
        height: 30px;
        background: #fff;
        border: 1px solid #ccc;
        padding: 6px 12px;
        line-height: 1;
        cursor: pointer;
    }

        #dropdown-check-status .dropdown .dropdown-label:before {
            content: '▼';
            float: right;
        }

    #dropdown-check-status .dropdown.on .dropdown-list {
        transform: scale(1, 1);
        transition-delay: 0s;
    }

        #dropdown-check-status .dropdown.on .dropdown-list .dropdown-option {
            opacity: 1;
            transition-delay: 0.2s;
        }

    #dropdown-check-status .dropdown.on .dropdown-label:before {
        content: '▲';
    }

    #dropdown-check-status .dropdown [type="checkbox"] {
        position: relative;
        top: -1px;
        margin-right: 4px;
    }

/* ----- Survey Templates -----*/
#surveyTemplatesGrid {
    margin-left: -20px;
}

    #surveyTemplatesGrid .menu {
        overflow: hidden;
        margin: 0 0 20px 20px;
    }

        #surveyTemplatesGrid .menu .input-group {
            max-width: 320px;
        }

            #surveyTemplatesGrid .menu .input-group span.search {
                margin-right: -2px;
                border-radius: 4px;
                border-top-right-radius: 0;
                border-bottom-right-radius: 0;
                border-color: #ccc;
                display: inline-block;
                padding: 6px 12px;
                font-size: 14px;
                border: 1px solid #ccc;
            }

    #surveyTemplatesGrid .row .col-md-4 {
        padding: 0 0 20px 20px;
    }

.surveyTemplate .body {
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 10px;
    overflow: hidden;
    position: relative;
}

.surveyTemplate img {
    max-height: 110px;
    max-width: 110px;
    margin-bottom: 15px;
}

.surveyTemplate p {
    margin: 15px 15px 35px 15px;
    text-align: justify;
    font-size: 0.9em;
}

.surveyTemplate .buttons {
    bottom: 10px;
    left: 10px;
    right: 10px;
    position: absolute;
    text-align: right;
}

#surveyTemplate .images-container {
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-bottom: 20px;
    padding: 10px;
    overflow-y: scroll;
    height: 310px;
}

    #surveyTemplate .images-container a {
        display: inline-block;
        margin: 10px 0 0 10px;
    }

    #surveyTemplate .images-container img {
        max-width: 96px;
        max-height: 96px;
        display: table-cell;
        vertical-align: middle;
        text-align: center;
        padding: 4px !important;
    }

/* ----- user profile ----- */

#userProfile div {
    padding: 2px;
}

    #userProfile div label {
        width: 150px;
        text-align: right;
        margin-right: 10px;
    }

/* ----- app user details ----- */

#AppUserDetails div label {
    width: 220px;
    text-align: right;
    margin-right: 10px;
}

/* ----- user feedbacks ----- */

#appFeedbacksTable {
    margin-top: 10px;
    border-collapse: separate;
    border-spacing: 0 10px;
}

    #appFeedbacksTable tr.rejected td.date {
        color: #F44;
    }

    #appFeedbacksTable td {
        border-bottom: 1px solid #ddd;
    }

        #appFeedbacksTable td.date {
            vertical-align: middle;
            text-align: center;
            background-color: #F2F2F2;
            font-weight: bold;
            color: #999;
            width: 90px;
        }

        #appFeedbacksTable td .head {
            font-weight: bold;
            color: #5C7796;
        }

        #appFeedbacksTable td .body {
            color: #444;
        }

        #appFeedbacksTable td .glyphicon-ok {
            padding: 5px;
            font-size: 1.25em;
            cursor: pointer;
            color: green;
        }

        #appFeedbacksTable td .glyphicon-remove {
            padding: 5px;
            font-size: 1.25em;
        }

/* ---------- Survey Flow ---------- */

#SurveyFlow {
    border: 1px solid #ddd;
    border-radius: 8px;
}

    #SurveyFlow .node rect, #SurveyFlow .node polygon {
        fill: #fff;
        stroke: steelblue;
        stroke-width: 1.5px;
    }

    #SurveyFlow .leaf.node rect, #SurveyFlow .leaf.node polygon {
        stroke: rgb(180, 70, 70);
    }

    #SurveyFlow .connection.node rect, #SurveyFlow .connection.node polygon {
        stroke: transparent;
        fill: transparent;
    }

    #SurveyFlow .node {
        font: 12px sans-serif;
    }

    #SurveyFlow .link {
        fill: none;
        stroke: #ccc;
        stroke-width: 1.5px;
    }

/* ---------- Products ---------- */

#productForm .glyphicon-move {
    cursor: pointer;
    padding-top: 8px;
    padding-right: 10px;
}

#productForm .glyphicon-remove {
    padding-top: 8px;
}

/* ---------- Review schedules ---------- */

#SchedulesTabs {
    overflow: visible;
    margin-bottom: 110px;
}

#activeSchedules .dropdown-menu {
    min-width: 178px;
    left: -184px;
    top: -10px;
}

/* ------------- Loyalty Agents ------------- */

#agentProductsModal .modal-dialog,
#agentHistoryModal .modal-dialog {
    width: 780px;
}

#agentProductsModal .modal-body,
#agentHistoryModal .modal-body {
    overflow-y: auto;
    max-height: 640px;
}

/* ------------- App User Trophies -------------- */

table.app-user-trophies tr td {
    vertical-align: middle;
}

    table.app-user-trophies tr td img {
        max-height: 60px;
    }

    table.app-user-trophies tr td .glyphicon-picture {
        cursor: pointer;
        margin-right: 5px;
    }

/* ------------- Userbase -------------- */

#Userbase .chart {
    width: 100%;
    height: 360px;
}

#Userbase span.aligned-rigth {
    font-weight: bold;
    display: inline-block;
    width: 120px;
    text-align: right;
}

#Userbase div.top-right {
    text-align: right;
    padding: 10px;
}

#Userbase div.bottom-left {
    text-align: left;
    padding: 12px;
}

svg.brasil {
    float: left;
    margin-right: 60px;
}

    svg.brasil a {
        text-decoration: none;
    }

    svg.brasil path {
        fill: #F0A71F;
    }

    svg.brasil a:hover {
        cursor: pointer;
        text-decoration: none;
    }

        svg.brasil a:hover path {
            fill: #a3bf00 !important;
        }

    svg.brasil text {
        fill: #fff;
        font: 12px Arial-BoldMT, sans-serif;
        cursor: pointer;
    }

    svg.brasil .circle {
        fill: #878787;
    }

    svg.brasil a:hover .circle {
        fill: #222 !important;
        cursor: pointer;
    }

#dailyInstalls div.xAxis div.tickLabel {
    margin: 10px 0 0 -10px;
    transform: rotate(-60deg);
    -ms-transform: rotate(-60deg); /* IE 9 */
    -moz-transform: rotate(-60deg); /* Firefox */
    -webkit-transform: rotate(-60deg); /* Safari and Chrome */
    -o-transform: rotate(-60deg); /* Opera */
}

/* ---------- social ---------- */
.post-row {
    border: 1px solid#ddd;
    padding: 10px;
}

    .post-row div {
        overflow: hidden;
    }

    .post-row .profile-pic {
        max-height: 50px;
        max-width: 50px;
    }

    .post-row .badge {
        color: #ff8c00;
        border: 1px solid #ff8c00;
        background-color: transparent;
    }

    .post-row [data-tag-type="100"] {
        background-color: gray !important;
        color: #fff !important;
        border: none !important;
    }

    .post-row .upvoteCount {
        text-align: center;
        font-weight: bold;
        color: green;
        margin: -5px 0 -1px 0;
    }

    .post-row .downvoteCount {
        text-align: center;
        font-weight: bold;
        color: red;
        margin: -1px 0 -5px 0;
    }

/* ---------- Publications ---------- */

.publication {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 10px 82px 10px 10px;
    margin: 20px;
    overflow: hidden;
    position: relative;
}

    .publication img {
        margin-right: 10px;
        max-height: 164px;
        max-width: 164px;
    }

    .publication button {
        position: absolute;
        bottom: 10px;
        right: 10px;
    }

    .publication .date {
        position: absolute;
        top: 10px;
        right: 10px;
    }

/* ---------- Log Filters ---------- */

.log-filters label {
    width: 80px;
}

.log-filters .panel-warning {
    padding: 15px;
}

tr .log-message {
    overflow: auto;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

/* ---------- Manage Feedback Codes ---------- */

#ReviewLocators {
    margin-bottom: 40px;
}

    #ReviewLocators .dropdown-menu {
        left: -105px;
    }

    #ReviewLocators .tab-body {
        overflow: visible;
    }

/* ---------- Survey Tree ---------- */

.survey-tree .survey-list th:nth-child(1),
.survey-tree .survey-list td:nth-child(1) {
    width: 32px;
    padding: 6px;
}

.survey-tree button.edit,
.survey-tree button.root,
.survey-tree button.trash {
    height: 25.6px;
    float: right;
    margin-left: 5px;
}

.survey-tree .full-path {
    margin-right: 86px;
    display: block;
    padding: 4px 10px;
    font-size: 90%;
    color: darkorange;
    background-color: #f5f5f5;
    font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
}

.survey-tree .form-group button {
    border-radius: 0;
}

.survey-tree .full-path .glyphicon {
    margin: 1.5px 8px;
    border-radius: 0;
    float: left;
}

.form-group.password-field > label {
    float: left;
    margin-top: 5px;
}

.form-group.password-field > div[data-psdpreview] {
    width: 273px;
    height: 60px;
    float: left;
}

/* ---------- Query Results ---------- */

table.query-result {
    width: 100%;
    margin-top: 20px;
}

    table.query-result thead th {
        text-align: center;
        line-height: normal;
        border: #ddd 1pt solid;
        background: #f8f8f8;
        padding: 4px;
    }

    table.query-result tbody td {
        text-align: center;
        line-height: normal;
        border: #ddd 1pt solid;
    }


/* ---------- Company ---------- */
.company-row .dropdown-menu {
    left: -162px;
    top: -2px;
}

#companyDetails div {
    padding: 2px;
}

    #companyDetails div label {
        width: 150px;
        text-align: right;
        margin-right: 10px;
    }


/* ---------- Payments ---------- */
.payment-row .dropdown-menu {
    left: -162px;
    top: -2px;
}

.payment-form fieldset {
    border: 1px solid #ddd;
    padding: 20px;
    border-radius: 8px;
}

    .payment-form fieldset legend {
        border-bottom: none;
        display: inline-block;
        font-size: 14px;
        text-decoration: none;
        width: auto;
    }

/* ---------- Recipients ---------- */

#recipients table tr td {
    vertical-align: middle;
}

#recipients .properties td:first-child {
    font-weight: bold;
    padding: 2px 6px;
    text-align: right;
}

.recipient-format-error {
    min-width: 40px;
    display: inline-block;
    margin: 0 10px 0 0;
    padding: 2px;
    background: #efefef;
    text-align: right;
}

/* ---------- Userbase Queries ---------- */

.userbase-queries-table .glyphicon-open {
    cursor: pointer;
    margin-right: 10px;
}

.userbase-queries-table .glyphicon-download {
    cursor: pointer;
}

/* ---------- utilitários ---------- */

.bold {
    font-weight: bold;
}

.pointer {
    cursor: pointer;
}

span.spaced {
    margin-left: 8px;
    margin-right: 8px;
}

.half-width {
    display: inline-block;
    width: 220px;
    float: left;
}

.third-width {
    display: inline-block;
    width: 150px;
    float: left;
}

.quarter-width {
    display: inline-block;
    width: 120px;
    float: left;
}

    .half-width.last, .third-width.last, .quarter-width.last {
        width: auto;
    }

.embedded-collector {
    margin-top: 13px;
    font-size: 40px;
    font-weight: bold;
    color: black;
}


.answers-paginator .answers-pagination {
    display: inline;
}

    .answers-paginator .answers-pagination > li {
        display: inline;
    }

    .answers-paginator .answers-pagination .glyphicon {
        cursor: pointer;
    }

    .answers-paginator .answers-pagination .glyphicon-menu-right:before,
    .answers-paginator .answers-pagination .glyphicon-menu-left:before {
        font-size: 15px;
    }

    .answers-paginator .answers-pagination .pageNumber {
        cursor: pointer;
        font-size: 12px;
    }

        .answers-paginator .answers-pagination .pageNumber:not(:first-child),
        .answers-paginator .answers-pagination .pageNumber:not(:last-child) {
            padding-right: 10px;
        }

    .answers-paginator .answers-pagination .active {
        color: #69ACDF;
        font-weight: bold;
    }

.answers-paginator,
.answers-paginator li {
    -webkit-user-select: none; /* Chrome/Safari */
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* IE10+ */
    -o-user-select: none;
    user-select: none;
}

.answers-paginator {
    padding-bottom: 25px;
}

.answer-table th, .answer-table td {
    border: 1px solid #ddd;
    padding: 10px;
}

.answer-table th {
    height: 200px;
    font-weight: bold;
}

    .answer-table th:not(:first-child), .answer-table th:not(:last-child) {
        background-color: #F5F5F5;
    }

    .answer-table th:first-child, .answer-table th:last-child {
        border: none;
        background-color: #fff !important;
    }

.answer-table .discard-answer {
    background-color: #FFEFEF;
}

    .answer-table .discard-answer td:nth-child(3) {
        color: #F57156;
    }

.answer-table thead {
    font-size: 15px;
    font-weight: normal;
}

.answer-table tbody {
    font-size: 12px;
}

.answer-table .glyphicon-repeat, .answer-table .glyphicon-trash {
    cursor: pointer;
}

#survey-table-container {
    background-color: #fff;
}

.report-filters {
    padding: 6px;
}

    .report-filters ul {
        padding: 0;
        list-style: none;
        display: inline-block;
    }

        .report-filters ul li {
            padding: 2px 0;
        }

.report-notification {
    padding: 10px 0;
    text-align: center;
    font-size: 20px;
}

.report-field-date {
    width: 140px;
    padding: 0 3px;
}

.report-tip {
    font-size: 13px;
    display: inline-block;
    padding-left: 5px;
    font-weight: normal;
}

.surveyParameter {
    padding: 20px;
    border-style: outset;
    margin-top: 10px;
}

    .surveyParameter .row {
        padding-top: 10px;
    }

    .surveyParameter .order-list {
        width: 65px;
    }

    .surveyParameter .remove {
        width: 70px;
    }

.format-result-line {
    min-width: 28px;
    display: inline-block;
    margin: 0 10px 0 0;
    padding: 2px;
    background: #efefef;
    text-align: right;
}

#surveyTemplate .submit {
    margin-top: 15px;
}

[data-tooltip] {
    display: inline-block;
    position: relative;
    padding: 4px;
}

    [data-tooltip]:before {
        content: attr(data-tooltip);
        display: none;
        position: absolute;
        background: #000;
        color: #fff;
        padding: 4px 8px;
        font-size: 14px;
        line-height: 1.4;
        min-width: 350px;
        text-align: center;
        border-radius: 4px;
    }


[data-tooltip-position="right"]:before {
    top: 50%;
    -ms-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
}


[data-tooltip-position="right"]:before {
    left: 100%;
    margin-left: 6px;
}

[data-tooltip-position="left"]:before {
    left: -205px;
    margin-left: 6px;
}


[data-tooltip]:hover:before {
    display: block;
    z-index: 50;
}

/* ---------- Site User Transfer Clusters Table and Feature Flags Table ---------- */

.cluster-name {
    text-decoration: underline;
    color: #337AB7;
    cursor: pointer;
}

.cluster-number-copies, .feature-flag-total-user {
    cursor: pointer;
    text-decoration: underline;
}

.cluster-btn-transfer {
    text-align: right;
}

.copy-cluster-btn:hover, .copy-cluster-btn:visited, .copy-cluster-btn:link, .copy-cluster-btn:active {
    text-decoration: none;
    color: #000000;
}

.copy-cluster-btn, .feature-flag-btn {
    color: #000000;
    padding: 4px 8px;
    background-color: white;
    border: 1px solid #CCCCCC;
    border-radius: 4px;
    cursor: pointer;
}

.is-disabled {
    background-color: #F5F5F5 !important;
    color: #808080 !important;
    border: 1px solid #CCCCCC !important;
    border-radius: 4px;
    cursor: none;
}

    .is-disabled:hover + .tooltip-box {
        visibility: visible;
    }

.glyphicon-question-sign:hover + .tooltip-box {
    visibility: visible;
}

.tooltip-box {
    visibility: hidden;
    position: relative;
}

.tooltip-text-disable-btn {
    width: 200px;
    background: #FFFFFF;
    color: #000000;
    border-radius: 4px;
    border: 1px solid #CCCCCC;
    padding: 10px;
    position: absolute;
    z-index: 1;
    top: 8px;
    right: -37px;
    text-align: start;
}

    .tooltip-text-disable-btn::after,
    .tooltip-text-disable-btn::before {
        content: "";
        position: absolute;
        bottom: 100%;
        left: 50%;
        margin-left: -5px;
        border-left: 5px solid transparent;
        border-right: 5px solid transparent;
    }

    .tooltip-text-disable-btn::before {
        border-bottom: 5px solid #CCCCCC;
    }

    .tooltip-text-disable-btn::after {
        border-bottom: 6px solid white;
        margin-bottom: -2px;
        z-index: 1;
    }

.modal-cluster-transfer-header, .modal-feature-flag-header {
    display: flex;
    justify-content: center;
    padding: 10px 16px;
    gap: 8px;
}

.modal-body {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 24px;
}

.cluster-modal-header-title, .feature-flag-modal-header-title {
    font-weight: bold;
}

.inputs-wrapper {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.input-container {
    display: flex;
    align-items: flex-end;
}

.div-input-label-and-field {
    display: flex;
    flex-direction: column;
    width: 100%
}

.input-label {
    color: #808080;
    font-weight: 700;
    font-size: 14px;
}

.input-field {
    border: 1px solid #CCCCCB;
    box-shadow: inset 0px 2px 2px rgb(0 0 0 / 10%);
    border-radius: 4px;
    height: 32px;
    padding-left: 3px;
}

.remove-input-btn {
    height: fit-content;
    padding: 8px 14px;
    margin-left: 8px;
    margin-top: 8px;
    margin-bottom: 1px;
    background-color: white;
    border: 1px solid #CCCCCC;
    border-radius: 4px;
}

.add-input-btn {
    color: #000000;
    font-size: 14px;
    width: fit-content;
    background-color: white;
    border: 1px solid #CCCCCC;
    border-radius: 4px;
    padding: 8px 12px;
}

.error-message-transfer_cluster, .error-message-feature-flag {
    font-family: 'Helvetica', sans-serif;
    font-style: normal;
    font-weight: 700;
    font-size: 12px;
    line-height: 14px;
    color: #E00231;
    margin-top: 4px;
}

.modal-confirm-text {
    text-align: center;
    margin: 24px;
}

.table-view-copies-transfer-cluster, .table-view-feature-flag-users {
    margin: 24px;
}

.username-transfer-cluster, .feature-flag-user {
    text-decoration: underline;
    color: #337AB7;
}

.date-transfer-cluster {
    font-family: 'Helvetica', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 16px;
    color: #808080;
}

.tooltip-text-date-info {
    width: 285px;
    text-align: center;
    background: #FFFFFF;
    font-weight: 400;
    font-size: 12px;
    line-height: 14px;
    color: #000000;
    border-radius: 4px;
    border: 1px solid #CCCCCC;
    padding: 10px;
    position: absolute;
    z-index: 1;
    top: -41px;
    right: -136px;
}

    .tooltip-text-date-info::after,
    .tooltip-text-date-info::before {
        content: "";
        position: absolute;
        top: 100%;
        left: 50%;
        margin-left: -5px;
        border-left: 5px solid transparent;
        border-right: 5px solid transparent;
    }

    .tooltip-text-date-info::before {
        border-top: 5px solid #CCCCCC;
    }

    .tooltip-text-date-info::after {
        border-top: 6px solid white;
        margin-top: -2px;
        z-index: 1;
    }

.cluster-details-date {
    font-size: 12px;
    font-weight: bold;
    margin-bottom: 8px;
}

.cluster-details-modal-body-attribute-title {
    font-weight: bold;
    text-decoration: underline;
}

.cluster-details-modal-body-logic-operator {
    font-weight: bold;
}

.home-banner-input-container {
    display: flex;
}

.home-banner-image-input-container {
    margin-top: 36px;
}

    .home-banner-image-input-container .images-container {
        border: 1px solid #ddd;
        border-radius: 4px;
        margin-bottom: 20px;
        padding: 10px;
        overflow-y: scroll;
        height: 310px;
    }

        .home-banner-image-input-container .images-container img {
            max-width: 96px;
            max-height: 96px;
            vertical-align: middle;
            text-align: center;
            padding: 4px !important;
        }

.home-banner-prevew-content-container {
    padding: 16px;
}

.home-banner-preview-body-image-style {
    width: 300px;
    height: 256px;
    object-fit: cover;
}

.home-banner-btn-container {
    display: flex;
    gap: 16px;
    justify-content: flex-end;
}

.home-banner-preview-container {
    background-color: #FFFFFF;
    width: 605.9px;
    border-radius: 4px;
    border: 1px solid #ECEEF0;
    font-family: 'Lato', sans-serif;
}

.home-banner-preview-header {
    text-transform: uppercase;
    color: #1C68D9;
    font-weight: 700;
    letter-spacing: 0.1em;
    font-size: 1.2rem;
    border-bottom: 1px solid #ECEEF0;
    padding: 0.7em 1.5em;
}

.home-banner-preview-body {
    display: flex;
    flex-direction: row;
}

.home-banner-preview-body-text {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    padding: 1em 2.1em;
}

.home-banner-preview-body-text-main {
    color: #1C68D9;
    font-weight: 700;
    text-align: left;
    font-size: 1.8rem;
}

.home-banner-preview-body-text-subtext {
    color: #949DAC;
    text-align: left;
    font-size: 1.2rem;
    line-height: 1.4em;
}

.home-banner-preview-body-text-button {
    border: none;
    text-decoration: none;
    border-radius: 4px;
    border: 1px solid #1C68D9;
    background-color: #FFFFFF;
    text-align: center;
    color: #1C68D9;
    font-size: 1.4rem;
    padding: 0.5em 1.3em;
    text-align: center;
    width: max-content;
    cursor: pointer;
}

    .home-banner-preview-body-text-button:hover {
        background-color: #1C68D9;
        color: #FFFFFF;
    }

.panel-index {
    font-size: 16px;
    padding: 7px 10px;
}

.question-alternative-markdown p {
    margin-bottom: 0;
}

.json-editor-widget .nested-item {
    margin: 0 0 20px 0;
    border: 1px solid #ddd;
    padding: 10px;
    border-radius: 3px;
}

.json-editor-widget button {
    margin-right: 5px;
}

/* ---------- Survey Scripts ---------- */

.survey-script {
    margin-top: -15px;
}

    .survey-script .survey-script-btn {
        float: right;
        cursor: pointer;
    }

    .survey-script .survey-script-text {
        margin-top: 10px;
    }

        .survey-script .survey-script-text textarea {
            width: 100%;
            height: 151px;
        }

        
/* ---------- Legacy quota editor modal ---------- */

.mm-legacy-filters-modal {
    font-family: "Public Sans", "Segoe UI", Arial, Helvetica, sans-serif;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.mm-legacy-filters-modal.in,
.mm-legacy-filters-modal.show {
    display: flex;
}

.mm-legacy-filters-modal__dialog {
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.mm-legacy-filters-modal__close {
    margin-left: auto;
}

.mm-legacy-filters-modal__header {
    display: flex;
}

.mm-legacy-filters-modal__content {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-height: calc(100vh - 248px);
    overflow: hidden;
    max-width: 1180px;
    height: 100%;
}

.mm-legacy-filters-modal__body {
    flex: 1;
    overflow: auto;
}

.mm-legacy-filters-modal__body-content {
    min-height: 100%;
    display: flex;
    flex-direction: column;
}

.mm-legacy-filters-modal__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.mm-legacy-filters-modal__cancel {
    padding: 0;
    margin-right: auto;
}

.mm-legacy-filters-modal__footer-actions {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    flex-wrap: wrap;
}

.mm-legacy-filters-modal__footer-actions input,
.mm-legacy-filters-modal__footer-actions label {
    margin: unset !important;
}

.mm-legacy-filters-modal__footer-actions input {
    width: 16px;
    height: 16px;
}

.mm-legacy-filters-modal__skip-validation {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.mm-legacy-filters-modal__apply-button {
    flex-shrink: 0;
}

/* ---------- Collector progress modal ---------- */

.collector-progress-modal {
    font-family: "Public Sans", "Segoe UI", Arial, Helvetica, sans-serif;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.collector-progress-modal.in,
.collector-progress-modal.show {
    display: flex;
}

.collector-progress-modal__dialog {
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.collector-progress-modal__header {
    display: flex;
}

.collector-progress-modal__close {
    margin-left: auto;
    order: 2;
}

.collector-progress-modal__title {
    order: 1;
}

.collector-progress-modal__content {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-height: 90vh;
    overflow: hidden;
    max-width: 1180px;
    height: 100%;
}

.collector-progress-modal__body {
    flex: 1;
    overflow: auto;
}

.collector-progress-modal__body-content {
    min-height: 100%;
    display: flex;
    flex-direction: column;
}

.collector-progress-modal__footer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    flex-wrap: wrap;
}

.collector-progress-modal__footer-actions {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    flex-wrap: wrap;
}

.collector-progress-modal__apply-button {
    flex-shrink: 0;
}
