html,
body {
    /* height: 100%; */
}

body {
	text-align:center;
}

td {
	vertical-align:top;
}

.tt-participate:not(.mobile) #ndfs_cbox {
    margin: 8% auto 0px;
    min-width: 500px;
    max-width: 700px;
    width: 100%;
}

.ndfs {
	/* height: 100vh; */
	height: 80vh;
}

#loginouter,
#loginouter-centered {
    width: auto !important;
    max-width: 90%;
    margin: -205px auto 0;
    top: 50%;
}

#logininner, #logininner-left {
    padding-bottom: 10px;
}

#loginmiddle2 {
    min-height: 250px;
}

#innerconsole {
    text-align: center;
    min-height: 120px;
}

.tt_welcome_title {
    color: #3da4f1;
    font-family: "AvenirNext";
    font-weight: normal;
    font-size: 22px;
}

.tt_welcome_description {
    font-family: "AvenirNext";
    font-weight: normal;
    font-size: 15px;
}

.tt_welcome_text, #qname, #prompt {
    max-width: 800px;
    text-wrap: pretty;
}

#custominput {
    max-width: 75%;
    width: 100%;
    color: #3e5a7f !important;
    font-family: "AvenirNext";
    font-weight: normal;
    min-height: 25px;
    padding: 6px 10px;
    border: 1px solid #eee;
    color: #8798af !important;
    font-size: 14px;
    border-radius: 3px;
    text-align: left;
    margin-top: 30px;
}

#custominput:focus {
    border-color: #3da4f1;
}

#screenform table {
    margin: 0 auto;
}

#aislidertabletable {
    margin: 0 auto;
    width: 555px;
}

/* ************* */

.tt_btn_small {
    background-color: #f9f9fb;
    border: 1px solid #c6ccd5;
    border-radius: 3px;
    color: #8798af;
    cursor: pointer;
    padding: 5px 8px;
    margin: 27px 7px 0px 7px;
    margin-top: 15px;
}

.tt_dod_quantitative_btn_small {
    background-color: #f9f9fb;
    border: 1px solid #c6ccd5;
    border-radius: 3px;
    color: #8798af;
    cursor: pointer;
    padding: 5px 20px;
    margin: 27px 3px 0px 3px;
    margin-top: 15px;
}

.dod_form{
    display: flex;
    flex-direction: column;
}

.dod_btn_small{
    padding: 10px 0;
}

.tt_btn_small:hover {
    color: #fff !important;
    border: 1px solid #3da4f1;
    background-color: #3da4f1;
}

/*  RESULT STYLE  */

.testresult{
    font-weight: bold;
    font-size:13px;
    font-family: arial,helvetica,sans-serif;
    color:#666;
    padding:0px 0px 12px 10px;
    margin-left:10px;
    display: block;
    height:28px;
    float:left;
}

.testresult span{
    padding:10px 20px 12px 10px;
    margin: 0px 0px 0px 20px;
    display:block;
    float:right;
    white-space: nowrap;
}

.hedonicoption {
	width:100px;
	display:inline-block;
	margin:15px;
}

.jaroption {
	width:100px;
	display:inline-block;
	margin:15px;
}

.aboption {
	width:100px;
	display:inline-block;
	margin:15px;
}

#screenform {
	margin-top:10px;
	padding:10px;
	font-weight: bold;
}

#qname, #prompt {
	font-family: "AvenirNext";
	margin: 0 auto;
    font-weight: normal;
}

#qname {
    font-size: 20px;
    margin-bottom: 20px !important;
    color: #3da4f1;
}

#currentproduct {
	width: 100%;
	text-align: center;
	margin-bottom: 15px;
}

#ttimages {
    display: block;
    width: 100%;
    height: auto;
    text-align: center;
    margin-top: -30px;
}

#ttimages table {
    margin: 0 auto 15px;
}

#ttimages td {
    cursor: pointer;
    vertical-align: middle;
}

#ttimages td img {
    width: 100%;
    height: auto !important;
}

#aislidertable {
    width: 555px;
    border: none;
}

#aislidertabletable table {
    width: 100%;
}

#aislidertabletable td {
    width: 50%;
    font-family: 'open_sansregular';
    font-size: 15px;
    font-weight: normal;
}

.mobile #loginouter {
    min-width: 0;
    max-width: 100%;
    width: 100% !important;
    height: 100%;
    margin: 0;
    top: 0;
}

.mobile .tt_welcome_text,
.mobile #qname,
.mobile #prompt {
    max-width: 100%;
}

.mobile #aislidertable {
    width: 100%;
}

.mobile .custominput {
    width: 80%;
    height: 30px;
}

.mobile .bigfancybutton:hover {
    color: #fff;
}

/* Thank you page */

h3.finished_title {
    margin-bottom: 20px;
    font-weight: normal;
    font-family: "AvenirNext";
    font-size: 22px;
}

/* Accept / Decline TT */

#tt_calendar_holder {
    width: 100%;
}

#tt_calendar_holder table {
    width: 100%;
    margin-top: 30px;
    margin-bottom: 50px;
}

#tt_calendar_holder p {
    font-size: 14px;
    padding-top: 25px;
    font-family: "AvenirNext";
    font-weight: normal;
    display: inline-block;
    border-top: 2px solid #ededed;
    width: 100%;
}

#tt_calendar_holder a {
    text-decoration: none;
    font-family: "AvenirNext";
    font-weight: normal;
    font-size: 15px;
}

#tt_calendar_holder a:hover {
    color: #3da4f1;
}

#tt_calendar_holder img {
    max-height: 70px;
    margin-bottom: 15px;
}

/* ********************************** */

/* TT Slider */

#aisliderholder {
    width: 100%;
    margin-top: 25px;
    margin-bottom: 7px;
}

#aislider {
    background-color: #dbdbe7;
    height: 5px;
    border-radius: 0px !important;
    border: 0px !important;
}

#aislider .ui-slider-handle {
    top: -9.5px;
    width: 21px;
    height: 21px;
    border: 1px solid #3da4f1;
    border-radius: 100px;
    background-color: #3da4f1;
    box-shadow: 0 2px 30px 0 rgba(42, 164, 255, 0.45);
    cursor: pointer;
    margin-left: -11px;
}

#aislider  .ui-slider-range {
    position: absolute;
    height: 5px;
    left: 0px;
    background-image: none;
    background-color: #3da4f1 !important;
    top: 0px;
    box-shadow: 0 2px 30px 0 rgba(42, 164, 255, 0.45);
    border-radius: 0px !important;
}

/* *********************************** */

/* Checkbox & radio box updates  */

input[type="radio"] + label {
    display: inline-block !important;
    padding: 0 0 0 28px !important;
    line-height: 23px !important;
    vertical-align: middle !important;
    margin-top: 10px;
    font-weight: normal;
}

input[type="checkbox"] + label {
    display: inline-block !important;
    padding: 0 0 0 34px !important;
    line-height: 26px !important;
    vertical-align: middle !important;
    margin-top: 10px;
    font-weight: normal;
}

/* *********************************** */

@media (min-width: 480px) {
    .mobile,
    .mobile input,
    .mobile button,
    .mobile textarea {
        font-size: 22px;
    }

    .mobile .bigfancybutton {
        font-size: 22px;
        min-height: 41px;
        line-height: 40px;
        padding: 0px 32px;
    }

    .mobile button.bigfancybutton,
    .mobile input.bigfancybutton {
        /*padding: 12px 32px;*/
    }

    .mobile .ui-slider-horizontal {
        height: 1.5em;
    }

    .mobile .ui-slider .ui-slider-handle {
        height: 2em;
        width: 2em;
    }

    .mobile #currentproduct {
        margin-bottom: 30px;
    }

    .mobile #screenform label {
        margin-bottom: 20px;
    }
}

@media (max-width: 479px) {
    .mobile,
    .mobile input,
    .mobile button,
    .mobile textarea {
        font-size: 18px;
    }

    .mobile .bigfancybutton {
        font-size: 18px;
    }

    .mobile #loginmiddle1 {
        background-size: 60%;
        height: 60px;
    }

    .mobile #logininner {
        padding: 20px;
    }

    .mobile #screenform label {
        margin-bottom: 20px;
    }
    
    .mobile .bigfancybutton {
        font-size: 16px;
        height: 31px !important;
        line-height: 29px;
        padding: 0px 15px;
    }
}

.sample_nobtn{
    font-family: 'AvenirNext';
    font-weight: normal;
    font-size: 14px;
    line-height: 1.5;
    background-color: #f9f9fb;
    border: 1px solid #c6ccd5;
    border-radius: 3px;
    color: #8798af;
    cursor: pointer;
    padding: 5px 8px;
    margin: 27px 7px 0px 7px;
    margin-top: 15px;
}

.ranking_row_container{
    display: flex;
    flex-direction: row;
    align-items: center;
    width: calc(100% - 30px);
    gap: 15px;
    justify-content: space-between;
    border: 1px solid #f1f1f1;
    padding: 0 5px 0 2px;
    box-shadow: 0px 1px 4px rgba(0, 0, 0, 0.05);
    background-color: #ffffff;
    margin: 10px auto;
    height: 35px;
}

.selectric-ranked_selects{
    width: 50px;
}

.selectric-ranked_selects .selectric{
    height: 25px;
}

.selectric-ranked_selects .selectric .label{
    top: -1px;
    position: relative;
}

.selectric-ranked_selects .selectric .button{
    top: -2px;
}

.ranking-sortable-placeholder{
    background: #e0e0e0;
    border: 1px dashed #000;
    visibility: visible !important;
}

.ranking-sortable-placeholder.ui-sortable-helper{
    background-color: #09ad7e;
}

.ranking_handler{
    cursor: grab !important;
    vertical-align: middle;
    text-align: center;
    width: 12px;
    -webkit-transition: all 0.2s ease;
    -moz-transition: all 0.2s ease;
    -o-transition: all 0.2s ease;
    transition: all 0.2s ease;
    /* color: #efefef; */

    color: #D9D9D9 !important;
    background-image: radial-gradient(currentColor 1px, transparent 2px);
    background-size: calc(7* 1px) calc(7* 1px);

    height: 60%;
}

.ranked_products_list{
    max-width: 70%;
    margin: 0 auto;
}
/* 
.ranking_handler::before{
    font-family: "ndflavorstudio" !important;
    font-style: normal !important;
    font-weight: normal !important;
    font-variant: normal !important;
    text-transform: none !important;
    speak: none;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    content: "\e0fc";
    font-size: 22px;
    color: #C4C4C4;
} */

.ranking_handler:hover::before{
    color: #3E5A7F !important;
}

.ranking_row_product_name{
    width: 110px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: inline-block;
    text-align: left;
}

.ranking_row_radio_container{
    width: 55px;
}

.ranking_row_radio_container label{
    margin-top: 0 !important;
}

.reference_title{
    display: inline-block;
    /* color: #517BB1; */
    background-color: #ffffff;
    border: 1px solid #3e5a7f;
    padding: 5px 8px;
    margin: 27px 15px 0px 7px;
    margin-top: 15px;
}

@media only screen and ( max-width: 550px ){
    .ranked_products_list{
        max-width: 100% !important;
    }
}

@media only screen and ( max-width: 450px ){
    .reference_title{
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        align-content: center;
        justify-content: center;
        align-items: center;
        width: 75px;
        margin: 0 auto;
    }

}

@media only screen and ( max-width: 400px ){
    .reference_title{
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        align-content: center;
        justify-content: center;
        align-items: center;
        width: 75px;
        margin: 0 auto;
    }
}