/* Minification failed. Returning unminified contents.
(138,17): run-time error CSS1039: Token not allowed after unary operator: '-survey-question-color'
 */
/* AUTOSAVE SWITCH */
.autosave-switch-wrap {
    display: inline-flex;
    align-items: center;
    margin-left: 12px;
    gap: 8px;
    transition: opacity .2s ease; /* smooth fade */
}

/* Column with label + switch stacked */
.autosave-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    top: -10px;
}

/* Label above switch */
.autosave-label {
    font-size: 12px;
    line-height: 1;
    color: #777;
}

/* Status inline to the right */
.autosave-status {
    font-size: 11px;
    color: #777;
    white-space: nowrap;
    align-self: center;
    position: relative;
}

/* Switch sizing */
.autosave-switch {
    position: relative;
    display: inline-block;
    width: 56px;
    height: 22px;
    cursor: pointer;
    user-select: none;
}

    /* Track */
    .autosave-switch .switch-track {
        position: absolute;
        inset: 0;
        border-radius: 999px;
        background: #e6e9ed;
        border: 1px solid #cfd6db;
        transition: background .18s ease, border-color .18s ease;
        text-transform: uppercase;
        font-size: 9px;
        font-weight: 600;
        line-height: 22px;
        text-align: center;
        color: #fff;
    }

        /* ON/OFF labels */
        .autosave-switch .switch-track::before,
        .autosave-switch .switch-track::after {
            position: absolute;
            top: 0;
            width: 50%;
            height: 100%;
            display: block;
            pointer-events: none;
            transition: opacity .12s ease;
        }

        .autosave-switch .switch-track::before {
            content: attr(data-on);
            left: 0;
            opacity: 0;
        }

        .autosave-switch .switch-track::after {
            content: attr(data-off);
            right: 0;
            opacity: .9;
        }

    /* Thumb */
    .autosave-switch .switch-thumb {
        position: absolute;
        top: 2px;
        left: 2px;
        width: 18px;
        height: 18px;
        border-radius: 50%;
        background: #fff;
        box-shadow: 0 1px 2px rgba(0,0,0,.2);
        transition: transform .18s ease;
    }

/* Checked */
#autoSaveToggle:checked + .autosave-switch .switch-track {
    background: #5cb85c;
    border-color: #4cae4c;
}

    #autoSaveToggle:checked + .autosave-switch .switch-track::before {
        opacity: .95;
    }

    #autoSaveToggle:checked + .autosave-switch .switch-track::after {
        opacity: 0;
    }

#autoSaveToggle:checked + .autosave-switch .switch-thumb {
    transform: translateX(34px);
}

/* Hover/focus */
#autoSaveToggle:focus + .autosave-switch .switch-track,
.autosave-switch:hover .switch-track {
    border-color: #b7bec4;
    box-shadow: 0 0 0 2px rgba(0,0,0,.03) inset;
}

/* --- PRISTINE STATE (nothing to save) --- */
/* Make the whole cluster clearly subdued; also soften the switch visuals */
.autosave-switch-wrap.is-pristine,
.autosave-switch-wrap.is-pristine .autosave-switch,
.autosave-switch-wrap.is-pristine .autosave-label,
.autosave-switch-wrap.is-pristine .autosave-status {
    filter: saturate(70%); /* keep subtle desaturation */
}





/* Allow changing survey question font color on the fly */
.survey-question-text {
    color: var(--survey-question-color, #0B5ED7);
}



/* For the new RankingBoxes type question */
.ranking-container {
    display: flex;
    gap: 10px;
    padding-bottom:5px;
}
.box {
    border: 1px solid #ccc;
    min-height: 200px;
    width: 50%;
    padding: 10px;
    border-radius: 5px; 
}
.draggable-item {
    padding: 5px;
    border: 1px solid #ddd;
    margin-bottom: 5px;
    cursor: move;
    border-radius: 5px; 
}



/* Hide days on datepicker for month/year selections */
.hide-days .ui-datepicker-calendar {
    display: none !important;
}

/* Hide reCaptcha badge */
.grecaptcha-badge {
    visibility: hidden;
}

/* For save and submit button spinner */
@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.glyphicon-spin {
    animation: spin 1s infinite linear;
}


/* For ranking type questions start */
#sortable-list {
    padding-left: 0;
    margin-left: 17px; /* Move the list to the right by 15 pixels */
}

#sortable-list li {
    border: 0px solid rgba(255, 255, 255, 0.5);
    background-color: rgba(255, 255, 255, 0.5);
    display: flex;
    align-items: center;
}

.ui-icon-arrowthick-2-n-s {
    margin-right: 5px;
    cursor: move;
}

/* For better visibility of the icon */
.ui-icon-arrowthick-2-n-s:before {
    color: #a94442; /* Red color for the arrow icons */
}
/* For ranking type questions end */

.glyphicon-comment.has-feedback {
    color: #A2D5A1;
}

.invalid-input {
    border: 1px solid red;
    background-color: #ffe6e6;
}

.strikethrough {
    text-decoration: line-through;
}

.remove-answer {
    color: red;
    cursor: pointer;
    font-weight: bold;
}

.dynamic-answer {
    display: flex;
}

.dynamic-answer-input {
    flex: 1;
}


thead th {
    background-repeat: no-repeat;
    background-position: right center;
}

thead th.up {
    padding-right: 5px;
    background-image: url(data:image/gif;base64,R0lGODlhFQAEAIAAACMtMP///yH5BAEAAAEALAAAAAAVAAQAAAINjI8Bya2wnINUMopZAQA7);
}

thead th.down {
    padding-right: 5px;
    background-image: url(data:image/gif;base64,R0lGODlhFQAEAIAAACMtMP///yH5BAEAAAEALAAAAAAVAAQAAAINjB+gC+jP2ptn0WskLQA7);
}

.section-header {
    text-indent: -20px;
}

.section-header-subtext {
    text-indent: 0;
    margin-bottom: -10px;
    font-size: 14px;
    color: grey;
}

.max-width-400 {
    max-width: 400px;
}

.max-width-300 {
    max-width: 300px;
}

.max-width-200 {
    max-width: 200px;
}

.max-width-150 {
    max-width: 150px;
}

.max-width-100 {
    max-width: 100px;
}

.max-width-75 {
    max-width: 75px;
}

.max-width-50 {
    max-width: 50px;
}

.link-like-label {
    color: #337ab7;
    text-decoration: none;
    cursor: pointer;
    display: inline-block;
    vertical-align: middle;
    margin-top: 4px; 
}

.link-like-label:hover {
    text-decoration: underline;
}

.fileUploadName {
    font-size: small;
    color: red;
}

/*===== BOOTSTRAP OVERRIDES AND EXTENSIONS =====*/

.navbar .brand {
    color: #FFF;
}

.table .btn-group {
    margin-top: 0;
}

ul.bordered > li {
    /*border-top: solid 1px #EEE;*/
    padding: 5px 0;
}

ul.bordered.skip-first > li:first-child {
    border-top-width: 0;
    padding-top: 0; 
}

body {
    font-size: 14px;
}

h4 {
    font-size: 17.5px;
}


label,
input,
button,
select,
textarea {
/*    display: block;
    font-size: 16px;*/
    font-weight: normal;
    line-height: 20px;
}

.btn-mini [class^="glyphicon-"],
.btn-mini [class*=" glyphicon-"] {
    margin-top: -1px;
}

.btn-mini {
    padding: 0 4px;
    font-size: 14.5px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
}

.row {
    margin-right: 0;
    margin-left: 10px;
    margin-bottom: 10px;
}

.checkbox-row {
    margin-bottom: -10px;
}

@media (min-width: 768px ) {
    .row {
        position: relative;
    }

    .bottom-align-text {
        position: absolute;
        bottom: 0;
        right: 0;
    }
}


/*===== BOOTSTRAP v2 Leftovers =====*/

.accordion {
    margin-bottom: 20px;
}

.accordion-group {
    margin-bottom: 2px;
    border: 1px solid #e5e5e5;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
}

.accordion-heading {
    border-bottom: 0;
}

    .accordion-heading .accordion-toggle {
        display: block;
        padding: 8px 15px;
    }

.accordion-toggle {
    cursor: pointer;
}

.accordion-inner {
    padding: 9px 15px;
    border-top: 1px solid #e5e5e5;
}

/*===== GENERAL STYLES =====*/

/*body {
    padding-top: 50px;
}*/

.validation-summary-valid {
    display: none !important;
}


/* ===== TOOLBARS ===== */

.toolbar {
  padding: 8px 35px 8px 14px;
  margin-bottom: 20px;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
  background-color: #f5f5f5;
  border: 1px solid #e5e5e5;
  -webkit-border-radius: 4px;
     -moz-border-radius: 4px;
          border-radius: 4px;
}

.toolbar h4,
.toolbar h5 {
    margin: 0;
}

/* ===== BOOTSTRAP OVERRIDES ===== */



/* ===== FOOTER/COPYRIGHT ===== */

.copyright {
    position: relative;
    font-size: 12px;
    line-height: 50px;
    color: #033668;
    font-family: Arial, Helvetica, sans-serif;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-decoration: none;
    vertical-align: middle;
    text-align: center;
}
