/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/
/* css reset */

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}
body {
  line-height: 1;
}
/* ol {
	list-style: none;
} */
ul {
  list-style: square;
  margin-right: 10px;
  margin-left: 10px;
}

blockquote,
q {
  quotes: none;
}
blockquote:before,
blockquote:after,
q:before,
q:after {
  content: "";
  content: none;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}
/*custom font*/
/* @import url(https://fonts.googleapis.com/css?family=Montserrat); */
@import url("https://fonts.googleapis.com/css2?family=Signika:wght@300&display=swap");

/*basic reset*/
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  height: 100%;
  overflow: hidden;
  width: 100%;
  /*Image only BG fallback*/

  /*background = gradient + image pattern combo*/
  background: linear-gradient(rgba(196, 102, 0, 0.6), #c2dd6a);
  /* background-color: rgba(155, 89, 182, 0.6); */
  background-attachment: fixed;
}

body {
  height: 100%;
  overflow-x: auto;
  overflow-y: auto;
  width: 100%;
  font-family: "Signika", arial, verdana;
}
/*form styles*/

/* ----- */
h1 {
  color: #ab1234;
}
h2 {
  font-size: 22px;
  text-align: center;
}
h4 {
  font-size: 18px;
  margin-bottom: 10px;
  text-align: center;
  font-weight: bold;
}
/* ul{
  list-style-type: none
  list-style-position: inside;
  text-indent: -1em;
  padding-left: 1em;
} */
ol {
  list-style-type: decimal;
  list-style-position: inside;
}
ol li {
  line-height: 1.5;
  text-align: left;
  font-weight: bold;
  margin-bottom: 10px;
}
li > * {
  font-weight: normal;
}

hr {
  margin-bottom: 10px;
}

p {
  text-align: left;
  line-height: 1.5;
}

#msform {
  /* width: 1200px; */
  width: 90%;
  margin: 50px auto;
  position: relative;
}

#msform:not(p) {
  text-align: center;
}

@media (max-width: 767px) {
  #msform {
    margin: 0 auto;
  }
}

#msform fieldset {
  background: white;
  border: 0 none;
  border-radius: 3px;
  box-shadow: 0 0 15px 1px rgba(0, 0, 0, 0.4);
  padding: 20px 30px;
  box-sizing: border-box;
  /* width: auto; */
  margin: 0 10%;

  /*stacking fieldsets above each other*/
  position: relative;
}

@media (max-width: 767px) {
  #msform fieldset {
    width: 100%;
    margin: 0 auto;
    /* background: #fbf5ee; */
    background: white;
    padding: 20px 10px;
  }
}

/*Hide all except first fieldset*/
#msform fieldset:not(:first-of-type) {
  display: none;
  /* display: block;
  visibility: hidden; */
}
/*inputs*/
/* #msform input, #msform textarea {
	padding: 10px;
	border: 1px solid #ccc;
	border-radius: 3px;
	box-sizing: border-box;
	font-family: 'Signika';
	color: #2C3E50;
	font-size: 16px;
}

#msform input:not([type=checkbox]):not([type=radio]) , select{
    margin-bottom: 10px;    
}

#msform input:not([type=checkbox]):not([type=radio]):not(.w-75):not(.w-100):not(.address){
    width: 24%;
    margin-right: 5px;
}

input[type="radio"]{
    line-height: 33px;
    margin-right: 15px;
}

input[type="radio"].questionnaire_radio{
    margin-right: 7px;
}

#msform input:not([type=checkbox]):not([type=radio]){
    width: 73%;
}

.address_additional_info{
    width: 33%;
    margin: 0 5px 0 0;
} */

/* @media(max-width:767px){
    #msform input:not([type=checkbox]):not([type=radio]):not(.w-75):not(.w-100):not(.address_additional_info){
        width: 50%;
    }
} */

/*buttons*/
#msform .action-button {
  width: 100px;
  background: #27ae60;
  font-weight: bold;
  color: white;
  border: 0 none;
  border-radius: 1px;
  cursor: pointer;
  padding: 10px 5px;
  margin: 10px 5px;
}
#msform .action-button:hover,
#msform .action-button:focus {
  box-shadow: 0 0 0 2px white, 0 0 0 3px #27ae60;
}
/*headings*/
.fs-title {
  font-size: 22px;
  text-transform: uppercase;
  color: #2c3e50;
  margin-bottom: 10px;
}
.fs-subtitle {
  font-weight: normal;
  font-size: 13px;
  color: #666;
  margin-bottom: 20px;
}
/*progressbar*/
#progressbar {
  margin-bottom: 30px;
  overflow: hidden;
  /*CSS counters to number the steps*/
  counter-reset: step;
}
#progressbar li {
  list-style-type: none;
  color: white;
  /* text-transform: uppercase; */
  font-size: 16px;
  width: 11.11%;
  float: left;
  position: relative;
}
#progressbar li:before {
  content: counter(step);
  counter-increment: step;
  width: 20px;
  line-height: 20px;
  display: block;
  font-size: 10px;
  color: #333;
  background: white;
  border-radius: 3px;
  margin: 0 auto 5px auto;
}
/*progressbar connectors*/
#progressbar li:after {
  content: "";
  width: 100%;
  height: 2px;
  background: white;
  position: absolute;
  left: -50%;
  top: 9px;
  z-index: -1; /*put it behind the numbers*/
}
#progressbar li:first-child:after {
  /*connector not needed before the first step*/
  content: none;
}
/*marking active/completed steps green*/
/*The number of the step and the connector before it = green*/
#progressbar li.active:before,
#progressbar li.active:after {
  background: #27ae60;
  color: white;
}

@media (max-width: 1023px) {
  #msform {
    width: 100%;
  }
  #msform fieldset {
    width: auto;
  }
  #progressbar li {
    font-size: 13px;
  }
}

@media (max-width: 767px) {
  #progressbar {
    display: none;
  }
}

hr.dotted {
  border-top: 3px solid #bbb;
}

/* label:not(.acknowledge_check):not(.other_opt):not(.w-75):not(.questionnaire){
    margin-right: 15px;
    font-weight: 500;
    text-align: left;
    width: 23%;    
} */

/* @media(max-width:767px){
    label:not(.acknowledge_check):not(.other_opt):not(.questionnaire){
        width: fit-content%;
    }
} */

.acknowledge_check {
  /* position: relative;
    top: 13px;
    left: 15px; */
  /* margin-bottom: 60px; */
  margin-top: 10px;
  height: fit-content;
  line-height: 1.5;
  text-align: left;
  font-weight: bold;
  /* border: 1px solid #000; */
  /* background-color: #fcc98e; */
}

.other_opt {
  margin-right: 10px;
}

.w-23 {
  width: 23%;
  margin-right: 15px;
}

.w-33 {
  width: 33%;
}

.w-45 {
  width: 45%;
}

.w-75 {
  width: 75%;
}

.w-100 {
  width: 100%;
}

.w-wfa {
  width: -webkit-fill-available;
}

.form_flex {
  display: flex;
  align-items: center;
  line-height: 1.5;
  text-align: left;
}

.aib {
  align-items: baseline;
}

/* @media(max-width:767px){
    .form_flex{
        flex-wrap: wrap;
    }
} */

.form_flex #radio_input {
  width: auto;
}

/* .required:after {
    content:" *";
    color: red;
  } */

/* --signature pad-- */
.signature-component {
  text-align: left;
  display: inline-block;
  max-width: 100%;
}
.signature-component h1 {
  margin-bottom: 0;
}
.signature-component h2 {
  margin: 0;
  font-size: 100%;
}
.signature-component button {
  padding: 1em;
  background: transparent;
  box-shadow: 2px 2px 4px #777;
  margin-top: 0.5em;
  border: 1px solid #777;
  font-size: 1rem;
}
.signature-component button .toggle {
  background: rgba(red, 0.2);
}
.signature-component canvas {
  display: block;
  position: relative;
  border: 1px solid;
}
.signature-componentimg {
  position: absolute;
  left: 0;
  top: 0;
}

/* --own-- */
.divider {
  height: 25px;
  width: 100%;
}

/* #parent1, #parent2{
    margin-left: 15px;
} */

.fs_3_acknowledgement {
  border: 1px solid #000;
  list-style-position: inside;
  padding: 10px;
  margin-bottom: 10px;
}

.fs_3_acknowledgement li {
  text-align: left;
}

.tal {
  text-align: left;
}

.tab {
  text-indent: 40px;
}

.mt-10 {
  margin-top: 10px;
}

label:not(.acknowledge_check):not(.other_opt).pl-10 {
  padding-left: 10px;
}

.m0-a {
  margin: 0 auto;
}

.mr-10 {
  margin-right: 10px;
}

.ml-10 {
  margin-left: 10px;
}

.mb-10 {
  margin-bottom: 10px;
}

.mg-1rem {
  margin: 1rem;
}

/* p, ul:not(#progressbar) li{
    text-align: left;
    margin-bottom: 10px;
    line-height: 1.5;
} */

.wrap {
  display: flex;
  flex-wrap: wrap;
}

.nowrap {
  display: flex;
  flex-wrap: nowrap;
}

.internal_sec {
  background-color: #f6f6f6;
  padding: 10px;
  margin-bottom: 15px;
  border-radius: 20px;
}

.adult {
  background-color: #f6f6f6;
  padding: 10px 5px;
  margin-bottom: 10px;
}

.canvas_container {
  width: 100%;
}

/* canvas {
  width: 100%;
  object-fit: contain;
} */

/* #signature-pad-for-mobile{
    display: none;
} */

/* @media(max-width: 767px){
    #signature-pad{
        display: none;
    }
    #signature-pad-for-mobile{
        display: block;
    }
} */

/* #msform :required {
    border: 1px ridge red;
}

#msform :valid {
border: 1px ridge #eee;
}


.error_msg{
    color: #f00;
    font-size: 12px;
} */
.d_n {
  display: none;
}

.mdl-icon-toggle__label.material-icons {
  float: right;
  margin-top: -30px;
  color: rgba(0, 0, 0, 0.4);
  transform: rotate(0);
  transition: transform 0.3s;
}

#add_btn:hover {
  cursor: pointer;
}

.tooltiptext {
  visibility: hidden;
  width: 120px;
  background-color: #3fc026;
  color: white;
  text-align: center;
  border-radius: 6px;
  padding: 5px 0;
  font-weight: bold;

  /* Position the tooltip */
  position: absolute;
  z-index: 1;
  margin-left: 30px;
}

.tooltip:hover .tooltiptext {
  visibility: visible;
}

.rq .mdl-textfield__input.is-invalid {
  border-color: #d50000;
}

.rq .mdl-textfield__label.is-invalid {
  color: #d50000;
}

.rq .mdl-textfield__label:after.is-invalid {
  background-color: #d50000;
}

.rq .mdl-textfield__error.is-invalid {
  visibility: visible;
}

#msform input[type="button"]:disabled,
#msform input[type="button"][disabled] {
  background-color: #cccccc;
  color: #666666;
}

body:not(h2, h4, #progressbar) {
  text-align: left;
}

.container {
  width: 95%;
  /* width: 60%; */
  margin: 0 auto;
}

.container_2 {
  width: 95%;
  /* width: 80%; */
  margin: 0 auto;
}

/* @media(max-width: 767px){
    .container{
        width: 95%;
    }
    .container_2{
        width: 95%;
    }
} */

.mdl-textfield {
  width: 100%;
}

.fl {
  float: left;
}

.w_95percent {
  width: 95%;
}

.w_150 {
  width: 150px;
}

.mdl-list__item .mdl-list__item-primary-content .mdl-list__item-icon {
  margin-right: 5px;
}

.mdl-list__item {
  padding: 0;
  min-height: 20px;
}

.mdl-list {
  padding: 0;
}

.page_btn {
  position: relative;
  top: 20px;
  /* left: 0; */
}

@media (max-width: 1920px) {
  .questionnaire_checkbox {
    font-size: 12px;
    display: flex;
    align-items: center;
  }
}

.show_error_msg {
  /* display: inline-block; */
  margin-bottom: 16px;
}

input[type=submit]:disabled {
  background: #aaa;
}

.other_with_explanation.mdl-textfield {
    width: 80%;
  }
  
.acknowledgement_div {
    padding: 7px 0;
    border: 1px solid #000;
    background-color: #a1bff4;
    padding-left: 10px;
}

#sibling_count{
    display: none;
}

/* ============================================
   RESPONSIVE DESIGN IMPROVEMENTS
   ============================================ */

/* Large screens (desktops) */
@media (min-width: 1200px) {
  #msform {
    width: 80%;
    max-width: 1200px;
  }
  #msform fieldset {
    margin: 0 5%;
  }
}

/* Medium screens (tablets landscape) */
@media (min-width: 768px) and (max-width: 1199px) {
  #msform {
    width: 95%;
  }
  #msform fieldset {
    margin: 0 2%;
    padding: 20px 20px;
  }
  #progressbar li {
    font-size: 11px;
  }
  .form_flex {
    flex-wrap: wrap;
  }
}

/* Small screens (tablets portrait & large phones) */
@media (min-width: 481px) and (max-width: 767px) {
  #msform {
    width: 100%;
    margin: 10px auto;
  }
  #msform fieldset {
    margin: 0;
    padding: 15px 10px;
    border-radius: 0;
  }
  .form_flex {
    flex-wrap: wrap;
  }
  .form_flex > div {
    width: 100%;
    margin-right: 0 !important;
  }
  h2 {
    font-size: 18px;
  }
  h4 {
    font-size: 16px;
  }
  .internal_sec {
    padding: 8px;
    border-radius: 10px;
  }
}

/* Extra small screens (phones) */
@media (max-width: 480px) {
  html {
    overflow-x: hidden;
  }
  body {
    overflow-x: hidden;
  }
  #msform {
    width: 100%;
    margin: 0 auto;
    padding: 0;
  }
  #msform fieldset {
    margin: 0;
    padding: 10px 8px;
    border-radius: 0;
    box-shadow: none;
  }
  .form_flex {
    flex-direction: column;
    align-items: flex-start;
  }
  .form_flex > div,
  .form_flex > .mdl-textfield {
    width: 100% !important;
    margin-right: 0 !important;
    margin-bottom: 5px;
  }
  h2 {
    font-size: 16px;
  }
  h4 {
    font-size: 14px;
  }
  .fs-title {
    font-size: 18px;
  }
  .internal_sec {
    padding: 5px;
    border-radius: 8px;
    margin-bottom: 10px;
  }
  .container,
  .container_2 {
    width: 100%;
    padding: 0 5px;
  }
  .w_95percent {
    width: 100%;
  }
  table {
    width: 100%;
  }
  table td {
    display: block;
    width: 100%;
  }
  .mdl-textfield {
    width: 100%;
  }
  #msform .action-button {
    width: 80px;
    padding: 8px 4px;
    margin: 5px 3px;
    font-size: 14px;
  }
  .acknowledge_check {
    font-size: 14px;
  }
  ol li, ul li {
    font-size: 14px;
  }
  p {
    font-size: 14px;
  }
}

/* Fix for iOS input zoom */
@media (max-width: 767px) {
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  input[type="date"],
  select,
  textarea {
    font-size: 16px !important;
  }
}

/* Ensure images are responsive */
img {
  max-width: 100%;
  height: auto;
}

/* Fix overflow issues */
* {
  max-width: 100%;
}

table {
  max-width: 100%;
  overflow-x: auto;
  display: block;
}

@media (min-width: 768px) {
  table {
    display: table;
  }
}
