/* Floating Page Setup */
.survey-body, .page-header, .footer {display: block; min-width: 200px;}
.logo, .comment, .survey-error, .survey-warning, .survey-info, .survey-extra-approval, .autosave-restart, .exit-message, .survey-buttons {max-width: inherit;}
.question-text, .comment-text, .question-error, .logo.logo, .sq-atm1d-widget, .exit-message {
    width: auto !important;
    max-width: 1138px;
    margin: auto;
	margin-bottom: .5em !important;
}
.instruction-text {
    width: auto !important;
    max-width: 1138px;
    margin: auto;
    #margin-top: 1em !important;
	margin-bottom: 1.5em !important;
}
.grid.grid-table-mode.setWidth, .answers-table {
    max-width: 1138px;
    width: 100%;
    margin: auto;
}
.row-elements, .answers-list, .sq-slidernumber-container {
	width: 100% !important;
	max-width: 1138px;
	margin: auto;
}
.button.randomize {
  float: initial !important;
}
path, polygon {
  shape-rendering: initial !important;
}

/* Wide Page Setup */
#.survey-body, .page-header, .footer {display: inherit;}
#.logo, .comment, .survey-error, .survey-warning, .survey-info, .survey-extra-approval, .autosave-restart, .exit-message, .survey-buttons {max-width: inherit;}
#.survey-body {padding: 15px 20px; max-width: 1200px;}    
#.grid.grid-table-mode.setWidth {width: auto; max-width: 1138px;}
#.question-text, .instruction-text, .question-error {max-width: 1138px;}

/* Normal Page Setup */
#.logo, .comment, .survey-error, .survey-warning, .survey-info, .survey-extra-approval, .autosave-restart, .exit-message, .survey-buttons {max-width: 944px;}

/* Standard Code */
.survey-header {padding-top: 10px;}
.logo-image {max-height: 35px; margin-bottom: 10px;}
.progress-box-outer {background-color: #FFF; height: 1.5em;}
.progress-text {font-size: 1.4em;}
.progress-box-completed {background-color: #4cc086;}
.question-error {color: red; font-size: 1.5rem;}

.question, .comment {
    padding: 20px;
}
.instruction-text {
	font-size: 1.2rem; 
	color: #999999;
}
.fir-icon {
    width: 2em;
    height: 2em;
}
.fir-icon svg, .fir-icon i {
    font-size: 2em;
}
.checkbox .cell-text, .radio .cell-text {
    padding-left: 8px;
}
.grid.grid-table-mode .col-legend {
	background-color: #004435;
	color: #FFF;
	#color: #000;
	font-weight: bold;
}
.survey-buttons, .sq-cardsort-progress {
    padding-right: 0px;
    text-align: center;
}
.button {
    background-color: #004435;
    border: 0px;
    font-weight: bold;
    font-size: 1.5rem;
    border-radius: 5px;
    padding: .5em 1.5em;
}
.button:hover, .button:focus {
    background-color: #4cc086;
}
.button[disabled] {
	background-color: #9A9B9D !important;
}
.input.dropdown {
	color: #57585b !important;
	font-size: 1.5rem !important;
	font-family: Open Sans, sans-serif !important;
}
.non-touch .fir-icon:hover .rounded .fir-selected, .non-touch .fir-icon:hover .square .fir-selected, .non-touch .grid-table-mode .clickableCell:hover .fir-icon .rounded .fir-selected, .non-touch .grid-table-mode .clickableCell:hover .fir-icon .square .fir-selected {
	fill: #4cc086;
}
.non-touch .fir-icon.selected:hover .rounded .fir-selected, .non-touch .fir-icon.selected:hover .square .fir-selected, .non-touch .grid-table-mode .clickableCell:hover .fir-icon.selected .rounded .fir-selected, .non-touch .grid-table-mode .clickableCell:hover .fir-icon.selected .square .fir-selected {
    fill: #004435;
}
.fir-icon.selected .rounded .fir-selected, .fir-icon.selected .square .fir-selected {
    fill: #004435;
}

.sq-atm1d .sq-atm1d-button {
	background-color: #ffffff !important;
	color: #57585b !important;
	border: 2px solid #CCCCCC
}
.sq-atm1d .sq-atm1d-hovered {
    background-color: #4cc086 !important;
    color: #57585b !important;
}
.sq-atm1d .sq-atm1d-selected {
    background-color: #004435 !important;
    color: #FFF !important;
}
.sq-cardrating-button {
	background-color: #FFFFFF;
	color: #57585b !important;
	border: 2px solid #CCCCCC !important;
}

.sq-cardrating-button[data-hovered] {
	background-color: #4cc086;
	color: #57585b !important;
}
.sq-cardrating-button[data-selected] {
	background-color: #004435;
	color: #FFF !important;
}
.sq-ranksort-container {
    display: flex !important;
    max-width: 1138px;
    margin: auto;
}
.sq-cardsort-cards {
	width: fit-content !important;
}
.sq-cardsort-buckets .sq-cardsort-bucket {
	background-color: #FFFFFF;
	color: #57585b !important;
	border: 2px solid #CCCCCC !important;
}
.sq-cardsort-buckets .sq-cardsort-bucket.sq-cardsort-state-hovered {
	background-color: #4cc086;
	color: #FFF !important;
}
.sq-slidernumber.sq-slidernumber-desktop.valueOnHandle .ui-slider, .sq-slidernumber.sq-slidernumber-desktop.valueOnHandle .slidernumber_input, .sq-slidernumber.sq-slidernumber-desktop.valueOnHandle .slidernumber_legend, .sq-slidernumber.sq-slidernumber-desktop.valueOnHandle .slidernumber_ooLegend {
    margin-top: 30px;
}
.ui-slider-horizontal {
	height: 1.2em;
}
.valueOnHandle .ui-slider .ui-slider-handle.offScale {
	color: #57585b !important;
}
.valueOnHandle .ui-slider .ui-slider-handle {
    background: #004435 !important;
	color: white !important;
	border: 0px !important;
	border-radius: 20px !important;
    font-size: 20px !important;
    line-height: 42px !important;
    top: -15px !important;
    min-width: 40px !important;
    height: 40px !important;
}
.ui-slider-range {
    background: #004435 !important;
}
.ui-slider .ui-slider-handle.offScale {
    background: #4cc086 !important;
}

.sq-sliderpoints .sliderpoints_ooLegend {
    text-align: left;
}
.sliderpoints-legenditem.sliderpoints-hover, .sliderpoints-legenditem.sliderpoints-selected {
	color: #57585b !important;
}
.sliderpoints-oolegenditem.sliderpoints-selected {
	color: #57585b !important;
}
.fa-icon-circle.sliderpoints-hover  {
    color: #4cc086 !important;
}
.fa-icon-circle.sliderpoints-selected  {
    color: #004435 !important;
}
.ui-slider .ui-slider-handle {
    background: #004435 !important;
    border: 1px solid #004435 !important;
}

#.fa-icon-circle.sliderpoints-hover, .sliderpoints-legenditem.sliderpoints-hover, .fa-icon-circle.sliderpoints-selected, .sliderpoints-legenditem.sliderpoints-selected {
	color: #000 !important;
}
#.Auto .grid.grid-table-mode.setWidth {
    max-width: 500px;
}
.Auto .grid.grid-table-mode .colCount-1 .element {
    max-width: 12% !important;
}
.Auto .row-legend {
    max-width: 12% !important;
}

tr.odd > th.row-legend, tr.odd {
          background-color: #ededed !important;
}
.grid-table-mode .element:hover, .grid-table-mode .element:focus, .grid-table-mode .element:active {
    background-color: transparent;
}
.grid-table-mode .nonempty {
    border: 1px solid #AAAAAA;
}
.sq-autosum-sum {
	color: white !important;
}

/* Remove Spacing Between Questions */
#.question {
    border: 1px solid #bdbdbd;
    margin-top: 1em;
}


/* Hold the Lines */
.comment, .question {
	border: none !important;
}
.question {
	margin-top: 25px !important;
}
.survey-body {
	background-color: #FFF;
}
.survey-page {
	#background-color: inherit;
	background-color: #eeeeee;
}

.cell-input.ui-slider-horizontal {
	background: #CCCCCC !important;
}

/* NewSurveyTemplate */
textarea.input {
    width: 100%;
}

.multi-col-parent-cell {
    width: 50%;
}

#question_CleanID  {
    display: none;
}

.comment, .question-text, .cell-text, .instruction-text, .legend {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.OEPush_qltyBox {
    display: inline-block;
    position: relative;
    width: 100%;
}

.OEPush_qltyBoxText {
    font-size: smaller;
}

.OEPush_level1Qual,
.OEPush_level2Qual,
.OEPush_level3Qual,
.OEPush_level4Qual,
.OEPush_level5Qual {
    display: block;
    position: absolute;
    width: 2.5em;
    height: 50%;  
    margin-top: 3px;
}

.OEPush_level1Qual {
    left: 0%;
    background: red;
	background: linear-gradient(to right, red , rgba(255, 108, 0, 0.98));
}

.OEPush_level2Qual {
    left: 2.5em;
    background: rgba(255, 108, 0, 0.980392);
	background: linear-gradient(to right, rgba(255, 108, 0, 0.980392), rgba(255, 214, 0, 0.980392));
}

.OEPush_level3Qual {
    left: 5em;
    background: rgba(255, 214, 0, 0.980392);
	background: linear-gradient(to right, rgba(255, 214, 0, 0.980392), rgba(202, 255, 0, 0.980392));
}

.OEPush_level4Qual {
    left: 7.5em;
    background: rgba(202, 255, 0, 0.980392);
	background: linear-gradient(to right, rgba(202, 255, 0, 0.980392), rgba(155, 255, 0, 0.980392));
}

.OEPush_level5Qual {
    left: 10em;
    background: rgba(155, 255, 0, 0.980392);
    background: linear-gradient(to right, rgba(155, 255, 0, 0.980392), rgba(37, 255, 0, 0.980392));
}

.HideMe {
    display: none;
}

/* CrossTalk Update */
.level0.levelBlock, .moveSort, .levelBlock#initTxtBx {
	width: auto !important;
	max-width: 1138px;
	margin: auto;
}

/* The Modal (background) */
.dri_modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 99999; /* Sit on top */
  padding-top: 10px; /* Location of the box */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Content */
.dri_modal_content {
  background-color: #fefefe;
  margin: auto;
  padding: 20px;
  border: 1px solid #888;
  width: max-content;
  max-width: 90%;
  overflow: auto;
  max-height: 90%;
  z-index: 99999;
  font-size: 1.25em;
}

/* The Close Button */
.dri_modal .dri_close {
  color: #000;
  text-align: right;
  font-size: 50px;
  font-weight: bold;
  margin: auto;
}

/* The Close Text */
.dri_modal .dri_close_div {
    margin: auto;
    max-width: 100%;
    background: #58636f;
    color: white;
    cursor: pointer;
    font-size: 1.25em;
}

.dri_modal .dri_close_div:hover {
    background: #558ecc;
    color: #3d3333;
}

.dri_modal .dri_close:hover,
.dri_modal .dri_close:focus {
  color: #fff;
  text-decoration: none;
  cursor: pointer;
}

.modalLink {
  color: blue;
  text-decoration: underline;
  cursor: pointer;
}

.dri_modal_content li {
    list-style: disc;
    text-align: left;
    margin-left: .5em;
    padding-bottom: 5px;
}

/* Ranking */
.sq-ranksort-card {
	background-color: #FFFFFF !important;
	color: #000000 !important;
	border-color: #CCCCCC !important;
}
.sq-ranksort-card:hover, .sq-ranksort-card.ui-draggable.ui-draggable-helper.ui-draggable-dragging {
	background-color: #4cc086 !important;
	color: #000000 !important;
}
.sq-ranksort-card.ui-draggable.ui-sortable-placeholder, .sq-ranksort-card.sq-ranksort-card-dropped, .sq-ranksort-icon-rank, .sq-ranksort-icon-add {
	background-color: #004435 !important;
	color: #FFF !important;
	border-color: #004435 !important;
}
.sq-ranksort-card.ui-draggable.ui-sortable-placeholder {
	box-shadow: 0px 0px 10px 5px #004435;
}
.sq-ranksort-icon-remove {
	color: red !important;
}
.sq-ranksort-container .sq-ranksort-cards .sq-ranksort-card.sq-ranksort-card-dropped.ui-draggable-disabled.ui-state-disabled {
	background-color: #FFFFFF !important;
	border-color: #FFFFFF !important;
	color: #FFFFFF !important;
}

/* UPDATED COMPAT VERSION BELOW */

/*Updated: Button select questions*/
fieldset.atm1d {
  width: auto !important;
  max-width: 1138px;
  margin: auto;
  margin-bottom: .5em !important;
}
fieldset.atm1d .answers > div label {
  background-color: #FFF !important;
  color: #57585b !important;
  border: 2px solid #CCCCCC !important;
  outline: transparent !important;
}
fieldset.atm1d .answers > div input[type=checkbox]:hover ~ div > label, fieldset.atm1d .answers > div input[type=radio] ~ div > label {
  outline: transparent !important;
}
fieldset.atm1d .answers > div input[type=checkbox]:hover ~ div > label, fieldset.atm1d .answers > div input[type=radio]:hover ~ div > label {
  background-color: #4cc086 !important;
  color: #FFF !important;
  outline: transparent !important;
}
fieldset.atm1d .answers > div input[type=checkbox]:checked ~ div > label, fieldset.atm1d .answers > div input[type=radio]:checked ~ div > label {
  background-color: #004435 !important;
  color: #FFF !important;
  outline: transparent !important;
}

/*Number Questions - Turns off the spinner*/
input[type=number]::-webkit-inner-spin-button {              
                display: none;
}

/*Number Questions - Soften the boxes*/
input[type=number] {
    border: 1px solid #a3a4a8;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    color: #57585b;
    font-size: 1rem;
    padding: .25em .5em;
}

/* MOBILE GRIDS */
.grid.grid-list-mode .cell.nonempty.legend {
  font-weight: bold;
}  
/* MOBILE GRIDS - Mobile Multiple col group header, Mobile Single col group header, Mobile Multiple col no group header, Mobile single col no group header */
.grid.grid-list-mode .row-legend.legend-level-1:not(.indent-1), .grid.grid-list-mode .col-legend.col-legend-top.legend-level-1:not(.indent-1), .grid.grid-list-mode .row-legend.row-legend-group.legend-level-2, .grid.grid-list-mode .col-legend.col-legend-top.legend-level-2, .grid.grid-list-mode .row-legend.legend-level-2, .grid.grid-list-mode .col-legend.col-legend-top.col-legend-group.legend-level-2se{
  color: #FFF;
  background-color: #004435 !important;  /* Directions Group Green */
} 
/* MOBILE GRIDS - Mobile Multiple col header with group header, Mobile Single col header with group header */
.grid.grid-list-mode .legend.mobile-group-legend.legend-level-1.indent-1, .grid.grid-list-mode .legend.row-legend.legend-level-1.indent-1, .grid.grid-list-mode .legend.col-legend.legend-level-1.indent-1 {
  color: #ee6800; /* DRI orange */ 
  background-color: transparent !important;
}
