/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */
 
  /* Error messages */
 .itcv-error {
	padding: 4px 10px;
	border-radius: 4px;
	background-color: #E74C3C;
	color: white;
	font-weight: 700;
}

/* Font sizes */
.itcv-es_page .itcv-es_page-title {
	font-size: 1.75rem;
}	

.itcv-es_page h2 {
	font-size: 1.5rem;
}	
.itcv-es_page h3 {
	font-size: 1.25rem;
	text-decoration: underline;
}	
/*.itcv-es_page p, .itcv-es_page li {
	font-size: 1.1rem;
}*/

/* page frame */
.itcv-es_page {
  border: 4px solid #0965C8 !important;
  padding: 18px;
  border-radius: 8px;
  -webkit-box-shadow: 5px 5px 11px 2px #0965C8; 
	box-shadow: 5px 5px 11px 2px #0965C8;
	position: relative;
}
/* On small screens: No frame, no shadow */
@media only screen and (max-width: 576px) {
	.itcv-es_page {
		border-style: none !important;
    box-shadow: none;
    padding-left:0;
    padding-right:0;
	}
}

/* <hr> line */
.itcv-es_page hr {
    margin: 24px 0px;
    border-color: #0965C8;
    border-top-width: 3px;
}


/* ============ The group row ============ */
.itcv-es_page .itcv-es_group_row button {
  border-radius: 6px;
  background-color: #fff;
  border-color: lightgray;
  line-height: 2.4rem;
  margin-right: 6px;
  font-size: 1.25rem;
  min-width: 72px;
  border-width: 1px;
  margin-bottom:8px;
}

.itcv-es_page .itcv-es_group_row button.active {
	background-color: #0965C8;
  border-color: gray;
  color: white;
  font-weight:700;
}



/* ============ The information pane ============ */

/* ====== Info element ====== */
.itcv-es-show_value {
  display: flex;
  margin-bottom: 2rem;
  background-color: #969696;
  border-radius: 6px;
  padding: 12px;
  color: white;
  font-weight: 700;
}

@media only screen and (max-width: 576px) {
	.itcv-es-show_value {
		display:block;
	}
}	


/* ====== Horizontal linear gauge ====== */

.itcv-es_page .itcv-es-show_linear-gauge {
  border-radius: 6px;
  border: 4px solid;
  border-color:grey;
  padding: 10px 16px 20px 16px;	
  margin-bottom: 2rem;
}
.itcv-es_page .itcv-es-show_linear-gauge .itcv_es-q_text{
	color:unset;
	margin-top:0;
}
.itcv-es_page .itcv-es-show_linear-gauge .itcv_es-info_text {
	color:unset;
}
.itcv-es_page .itcv-es-show_linear-gauge .itcv_es-disclaimer {
	font-style: italic;
	color:unset;
	margin-left:40px;
	white-space: normal;
}
.itcv-es_page .itcv-es-show_linear-gauge p i{
	text-decoration: underline;	
}

#itcv-es_page .itcv-es-show_linear-gauge .ui-slider-handle {
	border:none;
	background-image: url("../images/h-gauge_arrow.svg");
	background-size:contain;
	background-color:transparent;
  color: white;
  font-size:15px;
  line-height:38px;
  -ms-writing-mode: tb-rl;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  padding-top:18px;
  width:36px;
  height: 154px;
  top:-100px;
  margin-left:-1.24em;
}

.itcv-es-show_linear-gauge .itcv-slider_div {
	min-height: 100px;
	padding: 110px 12px 0 12px;
  white-space: nowrap;  
	border: 3px solid rgb(235,235,235);
	border-radius: 6px;  
}
#itcv-es_page .itcv-es-show_linear-gauge .itcv-the-slider {
	min-height: 80px;
}

.itcv-es-show_linear-gauge .itcv-the-slider.ui-state-disabled {
	opacity:1;
}
#itcv-es_page .itcv-es-show_linear-gauge .ui-slider-pips .ui-slider-pip {
	top:80px;
	color:unset;
}
#itcv-es_page .itcv-es-show_linear-gauge .ui-slider-pips .ui-slider-pip-label .ui-slider-label {
	color:unset;	
}
#itcv-es_page .itcv-es-show_linear-gauge .ui-slider-pips .ui-slider-line {
    background: black;
}

@media only screen and (max-width: 576px) {
	#itcv-es_page .itcv-es-show_linear-gauge .itcv-the-slider {
		min-height: 60px;
	}
	#itcv-es_page .itcv-es-show_linear-gauge .ui-slider-handle {
    left: 2%;
    font-size: 0.85em;
    width: 30px;
    height: 126px;
    line-height: 31px;
    top: -94px;
	  margin-left:-1.4em;
	}
	#itcv-es_page .itcv-es-show_linear-gauge .ui-slider-pips .ui-slider-pip {
		top:61px;
		font-size:12px;
	}
	.itcv-es_page .itcv-es-show_linear-gauge .itcv_es-disclaimer {
		margin-left:0;
		font-size:0.85em;
	}
}	



/* ====== For HTML snippets ====== */
body .itcv-es_page background_info {
	display:block;
	margin-left: 40px;
  border: 4px solid #0965C8;
  background-color: #ebf4feff;
  border-radius: 12px;
  padding: 10px;
  margin-bottom: 20px;	
}
.itcv-es_page background_info h2, .itcv-es_page background_info h3, .itcv-es_page background_info h4,
.itcv-es_page background_info p, .itcv-es_page background_info li {
	font-style: italic;	
}

/* On small screens: No left margin! */
@media only screen and (max-width: 576px) {
	body .itcv-es_page background_info {
		margin-left:0;
		border-width:2px;
	}
}

/* figure/image styling */
.itcv-es_page figure {
	text-align: center;
}
body .itcv-es_page figcaption {
	font-size:0.86em;
	font-style: italic;
	line-height:normal;
}
.itcv-es_page img {
    display: inline-block;
    border: 4px solid #ebebeb;
    border-radius: 6px;
}


/* ====== Question element ====== */
.itcv-es_page .itcv-question {
  background-color: #0965C8;
  border-radius: 6px;
  padding: 10px 16px 20px 16px;	
  margin-bottom: 2rem;
}
.itcv-es_page .itcv_es-q_text {
	color:white;
	font-size: 1.3em;
	font-weight:700;
	margin-bottom: 0
}
.itcv-es_page .itcv_es-info_text {
    background: transparent;
    color:white;
    padding-bottom: 8px;
    font-size: 0.9rem;
    display: inline-block;
}
.itcv-input.checkbox {
	margin-left:40px;
	position: relative;
  top: 1px;
}
body .itcv-es_page label {
  font-size: 0.98rem;
  cursor:pointer;
  color:#fff;
}
body .itcv-es_page input[type="checkbox"] {
  cursor:pointer;
  transform: scale(1.5);
}
body .itcv-es_page input[type="radio"] {
  cursor:pointer;
  transform: scale(1.5);
}


.itcv-es_page  .itcv-input.itcv-inactive input {
	color: lightgray;
	border-color: lightgray;
	border-style: solid;
}
.itcv-es_page  .itcv-numeric {
	white-space: nowrap;
}
.itcv-es_page  .itcv-numeric input::placeholder {
  color: #ccc;
  opacity: 1; /* Firefox */
}
.lbsv-plugin .lbsv-numeric input::-ms-input-placeholder { /* Microsoft Edge */
  color: #ccc;
}

/* Slider */
.itcv-es_page .itcv-input.input_value  {
    display: flex;
    align-items: center;
    width: -webkit-fill-available;
    width: -moz-available;
    border: 2px solid white;
    border-radius: 6px;
    margin: 0 4px 0 0;
    padding: 15px 10px 10px 10px;
}
.itcv-numeric {
	display:flex;
}
body .itcv-es_page .itcv-numeric input {
	margin-right: 4px;
	margin-bottom: 5px;	
}
body .itcv-es_page label.unit {
    color: white;
    display: contents;
    line-height: 2.6rem;
    font-weight: normal;
    font-size:1em;
}
.itcv-es_page .itcv-slider_div {
	width: -webkit-fill-available;
	width: -moz-available;
}
.itcv-es_page .itcv-the-slider {
	margin-left: 40px;
	margin-right: 20px;
	height: 0.75em;
}
.itcv-es_page .ui-slider-handle.ui-state-active {
	background-color: #1988FF;
	border-color: #0075f2ff;
}
.itcv-es_page .ui-slider-pips .ui-slider-pip {
	top:13px;
	font-size:14px;
	color:white;
}
.itcv-es_page .ui-slider-pips .ui-slider-line {
	background: white;
}
.itcv-es_page .ui-slider-pips .ui-slider-pip-label .ui-slider-label {
    color: white;
}
.itcv-es_page .ui-slider-pips:not(.ui-slider-disabled) .ui-slider-pip:hover .ui-slider-label {
    color: white;
    font-weight: 700;
}
.itcv-es_page .ui-slider-label {
	white-space: nowrap;
}

@media only screen and (max-width: 576px) {
	.itcv-es_page .itcv-the-slider {
	  margin-left: 0px;
    margin-right: 0px;
    margin-top: 20px;
	}
	.itcv-es_page .itcv-input.input_value {
		display:block;
	}
	.itcv-es_page .ui-slider-label {
		white-space: normal;
	}

}

/* ============ The button row ============ */
.itcv-es_button_row {
	min-height:64px;
	text-align: center;
}

.itcv-es_the_buttons {
    display: flex;
    flex-wrap:wrap;
    width: 100%;
    justify-content: space-between;
}

.itcv-es_page .itcv-es_button_row button {
    margin: 4px;
    border-radius: 4px;
    font-size: 1.2rem;
    font-weight: 700;
    background: #1988FF;
    color: white;
    border-color: #0965C8;
    line-height: 2rem;
    padding: 0 20px;
    transition: background-color 0.4s ease;
}
.itcv-es_page .itcv-es_button_row button:not([disabled]):hover {
	cursor: pointer;
	background-color: #1174dd;
}
.itcv-es_page .itcv-es_button_row button:disabled {
	background-color: lightgray;
  border-color: lightgray;	
}
  
.itcv-es_button_row .itcv-es_button_continue {
	display:none;
}
.itcv-es_button_row .itcv-es_button_back.hide {
	display:none;
}
.itcv-es_reset_link.hide {
	display:none;
}
#itcv-es_reset {
	vertical-align: middle;
  line-height: 44px;
}
@media only screen and (max-width: 576px) {
	.itcv-es_reset_link {
		order: 3;
    text-align: center;
    width: 100%;
	}
	#itcv-es_reset {
		font-size: 1rem;
	}
}
