/* CSS Document */

@import url(//fonts.googleapis.com/css?family=Lato:300,700);


/* Request or Activate homeScreen for customers */
#activate-button, #request-button{
  float: right;
  margin-bottom: 20px;
}
#request-button {
  background-color: #ED1B24;
  /* float: right; */
}
#activate-button {
  /* float: right; */
  background-color: #6751A3;
}

/* 2 main buttons at bottom of TaT widget */
.main-button-clue {
  margin-top: 5px;
}

.tatuk-main-buttons input {
  margin-top: 40px;
}
#tatuk-main-button-professional{
  float: right;
  text-align: center;
  display: inline-block;
  width: 40%;
}
#tatuk-main-button-professional input {
  background-color: black;
  width: 210px;
}
#ServiceSuspensionWarning{
  color: Red;
  padding-bottom: 10px;
}
#tatuk-main-button-activate {
  float: left;
  text-align: center;
  display: inline-block;
  width: 40%;
}
#tatuk-main-button-activate input {
  background-color: red;
  width: 210px;
}
#hivtestuk-steps img {
  display: block;
  margin: 0px;
  width: 100%;
  height: auto;
}

/* Main form */
#hivtestuk-form {
  font-family: 'Open Sans', arial, sans-serif;
  max-width: 70%;
  margin: auto;
}
#hivtestuk-currentPage {
  background-color:#EAFCFF;
  /* padding: 15px; */
  padding-left: 15px;
  padding-right: 15px;
  padding-top: 15px;
  padding-bottom: 5px;
  /* margin-bottom: 20px; */
}
/* Each question is contained within a block */
.hivtestuk-block {
	position: relative;
  margin-bottom: 25px;
}
#form-waiting{
  position: absolute;
      left: 50%;
      top: 50%;
      transform: translate(-50%,-50%);
}

.hidden {
  display: none;;
}

/* Buttons */
.tatuk-button input {
  /* Apple devices force rounded buttons. This apparently fixes the issue */
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
	border: 0;
  /* background-color: #E30613; */
  background-color: #03B9DE;
  color: white;
  padding: 6px 20px;
  vertical-align: top;
  cursor: pointer;
  border-radius: 3px;
  font-size: 16px;
}
#prev-next{
  overflow: auto;
}
#request-page-nav-left{
  float: left;
}
#request-page-nav-right{
  float: right;
}
.tatuk-button input:hover {
  -webkit-box-shadow: 0 0 4px rgba(0, 0, 0, 0.6);
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.6);
}
.tatuk-button input:disabled {
  -webkit-box-shadow: 0 0 4px rgba(0, 0, 0, 0.6);
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.6);
}

/* Missing data feedback, at end of process */
.missingData input{
  padding: 0px 5px;
  margin-left: 10px;
  font-size: 12px;
  margin-top: 5px;
}
.missingData {
  margin-bottom: 15px;
}

/* Original Buttons provided to NHS customers */
.hivtestuk-button input {
  /* Apple devices force rounded buttons. This apparently fixes the issue */
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
	border: 0;
	padding: 14px 25px;
	border-radius: 0;
	/* background-color: #361380; */
	color: white;
	font-size: 90%;
	cursor: pointer;
  font-family: <?php echo $ff; ?>;
}
/* .hivtestuk-button input:hover {
	background-color: #A286B9;
} */
.hivtestuk-button input:active {
  font-size: 85%;
}

/* Voucher button in home screen TaT */
#voucher-button{
  background-color: #44B031;
  margin-left: 20px;
  margin-top: 2px;
  padding: 4px 10px;
}
#voucher-button:disabled{
  background-color: #E0E0E0;
  color:black;
}
#hivtestuk-question-voucher{
  text-align: center;
}

#homeScreenWidgetFooter{
  font-size: 13px;
  border:0px;
  color: #959595;
  display: block;
  text-align: center;
}

/* Progress Bar */
#progressBar{
  width: 100%;
  margin-bottom: 20px;
}
#progBarInner{
	width:100%;
	height:15px;
	border:1px solid #BFBFBF;
	overflow:hidden;
	background: #E0E0E0;
  margin-bottom: 20px;
}
#progBarProgress{
	height:15px;
	border-right: 1px solid #BFBFBF;
	background: #03B9DE;
}
#progBarText {
    font-size: 15px;
    font-weight: bold;
    text-align: center;
    position: relative;
    top: -18px;
    /* see drawProgress function in main.js for colour setting */
    /* color: #464646; */
}

/* Question text */
.hivtestuk-question {
	position: relative;
	font-size: 20px;
  /* margin-bottom: 20px; */
  /* width: 180px; */
  display: inline;
  margin-right: 10px;
  color: #0000FF;
}

.hivtestuk-answer {
  margin-bottom: 5px;
}

/* Help icon available on some questions */
.helpImage img {
  display: inline-block;
  cursor: pointer;
  width: 18px;
	height: auto;
  /* margin-right: 10px; */
}

/* Tickbox graphic for valid data */
.hivtestuk-validation {
  height: 18px;
  width: 18px;
  display: none;
}
.hivtestuk-validation img {
  width: 100%;
  height: auto;
}

/* Error messaging */
#hivtestuk-message {
	display: none;
	padding: 10px;
	margin-bottom: 20px;
	color: red;
	border: 3px solid #ef4323;
}
.hivtestuk-error, .hivtestuk-second-error {
	color: #ef4323;
	display: none;
	margin-bottom: 10px;
}

/* Help text, and voucher information text */
.hivtestuk-help {
  font-size: 14px;
  /* width: 94%;
  margin: auto; */
	/* background-color: #f3f3f3; */
  background-color: #E0E0E0;
	display: none;
	padding: 5px;
	margin-bottom: 10px;
	color: #444;
  font-style: italic;
  padding: 10px;
}

.voucher-info {
  text-align: center;
}

/* Additional clues alongside question text */
.hivtestuk-clue {
	color: #666666;
	font-size: 14px;
	display: block;
  font-weight: normal;
  margin-bottom: 10px;
}

/* Global field settings */
input[type=text]{
  font-size: 20px;
  padding 2px 8px;
}
select {
  border: 1px solid #ccc;
  font-size: 20px;
}
#hivtestuk-template a, .hivtestuk-link {
	color: #2BC5FF;
	border-bottom: 0;
  cursor: pointer;
	font-size: 14px;
  font-weight: normal;
	display: inline-block;
  margin-bottom: 10px;
  margin-top: 5px;
}

/* Special text box size formatting */
#htuk-dob_day, #htuk-dob_month {
  width: 40px;
  text-align: center;
}
#htuk-dob_year {
  width: 60px;
  text-align: center;
}

.big-field {
  width: 450px;
}

#hivtestuk-address-manual label{
  display: inline-block;
  width: 100px;
}
#hivtestuk-address-manual input{
  width: 250px;
}
#htuk-postcode_copy{
  margin-bottom: 10px;
}
#household-ages-input, #household-new-ages-input label{
  white-space: nowrap;
}
#household-ages-input, #household-new-ages-input input{
  margin-bottom: 10px;
}
#htuk-clinician-other {
  width: 200px;
}
/* This class is generated within CommercialKitSelection.js */
.unit-price{
  float: right;
}
.unit-rrp{
  padding-left: 10px;
}
.household-age-input, .household-new-age-input{
  margin-left: 5px;
  margin-right: 15px;
  width : 30px;
}

.hivtestuk-answer-radio{
  margin-top: 3px;
}
/* Set radios to one option per line */
.hivtestuk-answer-radio-block label {
  margin-top: 3px;
  white-space: normal;
  display: block;
}

#htuk-numberpartners-anal,
#htuk-numberpartners{
  width: 40px;
  display: block;
}

/* Kit Recommendation Page */
.hivtestuk-kitoptions, .hivtestuk-info {
	background-color: #f3f3f3;
  font-style: italic;
  font-size: 14px;
  padding: 10px;
	color: #444;
  white-space: pre-line;
}
.hivtestuk-totalprice {
	font-size: 120%;
	font-weight: 600;
  background-color: #E30613;
  padding: 10px;
  margin-bottom: 20px;
  color: white;
}
/* CSS overrides for Colindale */
/*  Date formatting  */
#illness-onset-day, #illness-onset-month,
#symptoms-start-day, #symptoms-start-month,
#flu-vaccine-day, #flu-vaccine-month,
#covid-vaccine1-day, #covid-vaccine1-month,
#covid-vaccine2-day, #covid-vaccine2-month {
  width: 40px;
  text-align: center;
}
#illness-onset-year,
#symptoms-start-year,
#flu-vaccine-year,
#covid-vaccine1-year,
#covid-vaccine2-year {
  width: 60px;
  text-align: center;
}
/* Some radios & checkboxes look better with one option per line */
#reason-for-swab .hivtestuk-answer-radio label{
  white-space: normal;
  display: block;
}
#cmo-risk-groups .hivtestuk-answer-radio label{
  white-space: normal;
  display: block;
}
#flu-vaccine-type .hivtestuk-answer-radio label{
  white-space: normal;
  display: block;
}
#htuk-voucher{
  width: 100px;
}
.ethnicity-sub-header{
  font-weight: bold;
  margin-bottom: 5px;
  margin-top: 5px;
}
.radio-subheader{
  font-weight: bold;
  margin-right: 20px;
}
.radio-detail-text{
  margin-top: 5px;
}
.gp-info{
	margin-left: 10px;
	font-weight: bold;
}

/* General text formatting */
.centre {
  width: 100%;
	text-align: center;
}
.ucase {
	text-transform: uppercase;
}
.properCase {
	text-transform: capitalize;
}
.bold {
  font-weight: bold;
}
.block{
  display: block;
}
.inline{
  display: inline-inline-block;
}
.red {
  color: crimson;
}

/* Ethnicity has a lot of radio options, so I'll sort into columns */
/* multi-column layout */
.three-column {
    float: left;
    width: 33.33%;
}
.two-column {
    float: left;
    width: 50%;
}
/* Clear floats after the columns */
.row:after {
    content: "";
    display: table;
    clear: both;
}
#hivtestuk-question-ethnicity label {
    display: block;
}
#covid-publicTransport-time-value {
  width: 50px;
}
/* This bit of css ensures that the label and the radio button keep together
provided that the label is wrapped around the radio */
.hivtestuk-answer-radio label{
  white-space: nowrap;
  display: inline-block;
  margin-right: 30px;
}

/* hyperlink in addresswithpickup which displays if user chooses to deliver to another address */
#htuk-pickup-href{
  margin-left: 10px;
}

#xmas-notice{
  padding: 5px;
  clear:both;
  border-radius: 10px;
  border: 2px solid red;
  text-align: center;
  display: block;
  color: red;
  font-size: 14px;
  margin-top: 20px;
}

/* screen width overrides */
@media only screen and (min-width: 300px) {
  /* Strategy for using <br> at a specific place on small screens.
  Include the <br/> in the php and suppress is (as below) for bigger screens */
  #hivtestuk-question-dob .hivtestuk-question br{
    display:none;
  }
}

@media only screen and (max-width: 900px) {
  /* On smaller screens the widget should be full width */
  #hivtestuk-form {
    max-width: 100%;
  }
}
@media only screen and (max-width: 500px) {
  .hivtestuk-block {
    margin-bottom: 15px;
  }

  /* Two buttons on home screen */
  #tatuk-main-button-professional{
    width: 100%;
    text-align: center;
  }
  #tatuk-main-button-activate{
    width: 100%;
    margin-top: 10px;
    text-align: center;
  }
  #tatuk-main-button-activate input{
    float: none;
  }
  .tatuk-main-buttons input {
    margin-top: 10px;
  }

  .tatuk-button input {
    padding: 4px 15px;
  }
  .hivtestuk-question {
  	font-size: 16px;
  }
  input[type=text]{
    font-size: 16px;
    padding 2px 4px;
  }
  select {
    font-size: 16px;
  }
  .hivtestuk-help {
    font-size: 12px;
    padding: 3px;
  }
  .helpImage img {
    width: 16px;
  }
  #hivtestuk-message, #resultsNotification-statement  {
    font-size: 14px;
  }
  .hivtestuk-error, .hivtestuk-second-error {
    font-size: 14px;
  }
  #htuk-dob_day, #htuk-dob_month {
    width: 30px;
  }
  #htuk-dob_year {
    width: 45px;
  }
  .hivtestuk-answer-radio label,
  .hivtestuk-answer-radio-block label{
    font-size: 14px;
  }
  .radio-subheader{
    font-size: 14px;
  }
  /* Commercial kit selection page */
  .hivtestuk-kitoptions, .hivtestuk-info {
    font-size: 14px;
  }
  .unit-rrp{
    display: block;
    text-align: right;
  }
  .unit-price{
    float: none;
    display: block;
    text-align: right;
    margin-bottom: -10px;
  }
  /* Ethnicity */
  .two-column {
      width: 100%;
  }
  /* Set radios to one option per line */
  .hivtestuk-answer-radio label,
  .hivtestuk-answer-radio-block label,
  #household-ages-input, #household-new-ages-input label{
    white-space: normal;
    display: block;
  }
  .big-field{
    width: 100%;
  }
  /* NHS customers Button */
  .hivtestuk-button input {
      padding: 5px 10px;
  }
  /* Request or Activate screen */
  #request-button {
    margin-bottom: 10px;
  }
  .hivtestuk-clue {
    font-size: 12px;
  }
  .ethnicity-sub-header{
    font-size: 14px;
  }
  #xmas-notice{
    font-size: 12px;
  }
  #voucher-button{
    margin-left: 10px;
    margin-top: 1px;
    padding: 2px 10px;
  }

}
@media only screen and (max-width: 350px) {
  .hivtestuk-answer-radio label,
  .hivtestuk-answer-radio-block label{
    white-space: normal;
  }
  #hivtestuk-address-manual input{
    width: 100%;
  }
}
