/* form  */
body {
  font-family: Arial, sans-serif;
  /* background-color: #f5f5f5; */
  background-color: #ffc107;
}

h1 {
  text-align: center;
  color: #333;
}

form {
  max-width: 600px;
  margin: 0 auto;
  padding: 20px;
  /* background-color: #fff; */
  background-color:#ffc1078a 54%;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

input[type="text"],
input[type="password"],
select,
textarea {
  width: 100%;
  padding: 10px;
  margin: 5px 0;
  border: 1px solid #ccc;
  border-radius: 5px;
  box-sizing: border-box;
  font-size: 16px;
}

select {
  width: 100%;
  padding: 10px;
  margin: 5px 0;
  border: 1px solid #ccc;
  border-radius: 5px;
  box-sizing: border-box;
  font-size: 16px;
  background-color: #fff;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}

textarea {
  resize: vertical;
}

/* input[type="preview"], */

/* input[type="submit"],
input[type="reset"], */
input[type="checkbox"] {
  background-color: #007bff;
  color: #fff;
  border: none;
  border-radius: 5px;
  padding: 10px 20px;
  cursor: pointer;
  font-size: 16px;
}

/* input[type="preview"]:hover, */
/* input[type="submit"]:hover,
input[type="reset"]:hover, */
input[type="checkbox"]:hover {
  background-color: #0056b3;
}

.error-message {
  color: red;
  font-size: 14px;
  margin-top: 5px;
}



/* https://www.w3schools.com/css/css_rwd_mediaqueries.asp */

/* signature */
*,
*::before,
*::after {
  box-sizing: border-box;
}


.signature-pad {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  font-size: 10px;
  width: 100%;
  height: 100%;
  max-width: 700px;
  max-height: 460px;
  border: 1px solid #e8e8e8;
  background-color: #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.27), 0 0 40px rgba(0, 0, 0, 0.08) inset;
  border-radius: 4px;
  padding: 16px;
}

.signature-pad::before,
.signature-pad::after {
  position: absolute;
  z-index: -1;
  content: '';
  width: 40%;
  height: 10px;
  bottom: 10px;
  background: transparent;
  box-shadow: 0 8px 12px rgba(0, 0, 0, 0.4);
}

.signature-pad::before {
  left: 20px;
  -webkit-transform: skew(-3deg) rotate(-3deg);
  transform: skew(-3deg) rotate(-3deg);
}

.signature-pad::after {
  right: 20px;
  -webkit-transform: skew(3deg) rotate(3deg);
  transform: skew(3deg) rotate(3deg);
}

.signature-pad--body {
  position: relative;
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
  border: 1px solid #f4f4f4;
  border-radius: 4px;
}

.signature-pad--body.empty {
  background-color: #333;
}

.signature-pad--body canvas {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  border-radius: 4px;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.02) inset;
}

.signature-pad--footer {
  color: #c3c3c3;
  text-align: center;
  font-size: 1.2em;
  margin-top: 8px;
}

.signature-pad--actions {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  margin-top: 8px;
}

.signature-pad--actions .column {
  padding: 0.1em;
}

.signature-pad--actions .button {
  margin: 0.2em;
}

/* @media (max-width: 480px) {
  .signature-pad--actions .button {
    display: block;
    width: 100%;
    min-height: 2em;
  }
} */

/* hide image borders */
img {
  display: none;
}

img[src*="http"] {
  display: block;
}

img[src*="data"] {
  display: block;
}

img[src*="img"] {
  display: block;
}

.cHide {
  display: none;
}

.alertH3 {
  font-weight: bold;
}

.alertBlueHeader {
  color: rgb(0, 140, 255);
}

.alertBlue {
  color: rgb(0, 123, 255);
}

.alertYellowHeader {
  color: rgb(255, 204, 0);
}

.alertYellow {
  color: rgb(255, 167, 0);
}

.alertRedHeader {
  color: red;
}

.alertRed {
  color: rgba(255, 0, 0, 0.811);
}

.alertGreenHeader {
  color: green;
}

.alertGreen {
  color: green;
}





/* https://www.w3schools.com/css/css_rwd_mediaqueries.asp */
/* Extra small devices (phones, 600px and down) */
@media only screen and (max-width: 600px) {

  .clbl {
    margin-left: -2px;
    color: black;
    font-size: 40%;
    text-transform: uppercase;
  }

  .cdta {
    margin-left: 4px;
    color: black;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 45%;
  }

  .cdataUnit {
    color: black;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 25%;
    margin-left: -1px;
  }

  /* download broken in potrait */
  .cardBox {
    background-image: url('../img/bbackground.png');
    background-repeat: repeat-y;
    width: 300px;
    height: 188px;
    max-width: 300px;
    max-height: 188px;

    margin-left: 0px;
    margin-top: 0px;
    margin-bottom: 0px;
    
    font-size: 50%;

    /* margin-left: 12px;
    margin-top: 20px;
    margin-bottom: 20px; */
  }


  .cardTopRow {
    height: 30px;
    margin-top: -1px;
  }

  .cardTopLeft {
    height: 40px;
    width: 40px;
    margin-left: -5px;
    margin-top: -10px;
  }

  .cardTopMiddle {
    height: 40px;
    width: 180px;
    margin-left: -12px;
    margin-top: -10px;
  }


  .cardTopRight {
    height: 40px;
    width: 40px;
    margin-left: 0px;
    margin-top: -10px;
  }

  .cardMiddleRow {
    height: 137px;
    margin-top: -10px;
  }

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

  .cardMiddleRow1Num {
    /* height :fit-content; */
    margin-left: -10px;
    margin-top: -10px;
    height: 20px;
    width: 80px;
  }

  .cardMiddleRow1Exp {
    margin-top: -10px;
    height: 20px;
    width: 80px;
  }


  .cardMiddleRow2 {
    margin-bottom: 0px;
    margin-top: 7px;
  }


  .cardMiddleRow2Name {
    margin-left: -10px;
    /* margin-top: -10px;
    height: 20px;
    width: 80px; */
    /* font-size: 120%; */
  }


  .cardMiddleRow3 {
    margin-top: 10px;
    margin-bottom: 0px;
  }

  .cardMiddleRow3Sex {
    margin-left: -10px;
    height: 20px;
    width: 60px;
  }


  .cardMiddleRow3Height {
    height: 20px;
    width: 60px;
    margin-left: -10px;
  }

  .cardMiddleRow3Div {
    height: 20px;
    width: 55px;
  }

  .cardMiddleRow3Weight {
    margin-left: -7px;
  }

  .cardMiddleRow4Div1 {
    height: 20px;
    width: 60px;
    margin-left: -10px;
  }

  .cardMiddleRow4Div2 {
    height: 20px;
    width: 65px;
    /* margin-left: -10px; */
  }


  .cardMiddleRow4Dob {
    margin-left: -2px;
  }

  .cardProfilePicDiv {
    margin-top: -10px;
    margin-bottom: -10px;
  }

  .cardProfilePic {
    height: 83px;
    width: 70px;
    margin-left: -8px;
    margin-top: -5px;
  }

  .cardBottomRow {
    height: 20px;
  }

  .cardBottomRow1 {
    margin-left: -16px;
    margin-right: -15px;
    margin-top: -11px;
    height: 6px;
  }

  .cardBottomRow2 {
    margin-left: -16px;
    margin-right: -15px;
    height: 7px;
  }

  .cardBottomRow3 {
    margin-left: -16px;
    margin-right: -15px;
    height: 6px;
  }

  .cardBottomRow4 {
    width: 30%;
    margin-top: -4px;
    height: 19px;
  }

  .cardSignature {
    height: 16px;
    width: 70px;
    margin-top: -18px;
    margin-left: -3px;
  }

  .dnlBtn {
    visibility: hidden;
  }

  .myCard4 {
    width: 360px;
    max-width: 450px;
  }

}

/* Small devices (portrait tablets and large phones, 600px and up) */
@media only screen and (min-width: 600px) {


  /* preview */
  .clbl {
    margin-left: -5px;
    color: black;
    font-size: 80%;
    text-transform: uppercase;
  }

  .cdta {
    margin-left: 8px;
    color: black;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 90%;
  }

  .cdataUnit {
    color: black;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 50%;
    margin-left: -2px;
  }

  /* membership card  */

  .cardBox {
    background-image: url('../img/bbackground.png');
    background-repeat: repeat-y;
    width: 600px;
    height: 375px;
    max-width: 600px;
    max-height: 375px;
    margin-left: 0px;
  }

  .cardTopRow {
    height: 60px;
    margin-top: -1px;
  }

  .cardTopLeft {
    height: 80px;
    width: 80px;
    margin-left: 5px;
    margin-top: -20px;
  }

  .cardTopMiddle {
    height: 80px;
    width: 360px;
    margin-left: -20px;
    margin-top: -20px;
  }


  .cardTopRight {
    height: 80px;
    width: 80px;
    margin-left: 20px;
    margin-top: -20px;
  }

  .cardMiddleRow {
    height: 275px;
  }

  .cardMiddleRow1 {
    margin-top: -20px;
  }

  .cardMiddleRow2 {
    margin-bottom: 0px;
    margin-top: 15px;
  }

  .cardMiddleRow3 {
    margin-top: 20px;
    margin-bottom: 0px;
  }

  .cardMiddleRow3Weight {
    margin-left: -15px;
  }

  .cardMiddleRow4Dob {
    margin-left: -5px;
  }

  .cardProfilePic {
    height: 180px;
    width: 160px;
    margin-left: -6px;
  }

  .cardBottomRow {
    height: 40px;
  }

  .cardBottomRow1 {
    margin-left: -16px;
    margin-right: -17px;
    margin-top: -22px;
    height: 10px;
  }

  .cardBottomRow2 {
    margin-left: -16px;
    margin-right: -17px;
    height: 10px;
  }

  .cardBottomRow3 {
    margin-left: -16px;
    margin-right: -17px;
    height: 10px;
  }

  .cardBottomRow4 {
    width: 30%;
    margin-top: -16px;
  }

  .cardSignature {
    height: 30px;
    width: 160px;
    margin-top: -22px;
    margin-left: -7px;
  }

  .myCard4 {

    width: 630px;
    max-width: 630px;
  }

  ;



  /* width: 800px; */
  /* .myModal {
   

  } */


  /* .myCont {
  
  } */
  /* width: 800px; */
  /* min-width: 600px; */


  /* .cardBox {
    background-image: url('../img/bbackground.png');
    background-repeat: repeat-y;
    width: 600px;
    height: 375px;
    max-width: 600px;
    max-height: 375px;
    margin-left: 0px;
  } */

}

/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (min-width: 768px) {


  /* preview */
  .clbl {
    margin-left: -5px;
    color: black;
    font-size: 80%;
    text-transform: uppercase;
  }

  .cdta {
    margin-left: 8px;
    color: black;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 90%;
  }

  .cdataUnit {
    color: black;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 50%;
    margin-left: -2px;
  }

  /* membership card  */

  .cardBox {
    background-image: url('../img/bbackground.png');
    background-repeat: repeat-y;
    width: 600px;
    height: 375px;
    max-width: 600px;
    max-height: 375px;
    margin-left: 0px;
  }

  .cardTopRow {
    height: 60px;
    margin-top: -1px;
  }

  .cardTopLeft {
    height: 80px;
    width: 80px;
    margin-left: 5px;
    margin-top: -20px;
  }

  .cardTopMiddle {
    height: 80px;
    width: 360px;
    margin-left: -20px;
    margin-top: -20px;
  }


  .cardTopRight {
    height: 80px;
    width: 80px;
    margin-left: 20px;
    margin-top: -20px;
  }

  .cardMiddleRow {
    height: 275px;
  }

  .cardMiddleRow1 {
    margin-top: -20px;
  }

  .cardMiddleRow2 {
    margin-bottom: 0px;
    margin-top: 15px;
  }

  .cardMiddleRow3 {
    margin-top: 20px;
    margin-bottom: 0px;
  }

  .cardMiddleRow3Weight {
    margin-left: -15px;
  }

  .cardMiddleRow4Dob {
    margin-left: -5px;
  }

  .cardProfilePic {
    height: 180px;
    width: 160px;
    margin-left: -6px;
  }

  .cardBottomRow {
    height: 40px;
  }

  .cardBottomRow1 {
    margin-left: -16px;
    margin-right: -17px;
    margin-top: -22px;
    height: 10px;
  }

  .cardBottomRow2 {
    margin-left: -16px;
    margin-right: -17px;
    height: 10px;
  }

  .cardBottomRow3 {
    margin-left: -16px;
    margin-right: -17px;
    height: 10px;
  }

  .cardBottomRow4 {
    width: 30%;
    margin-top: -16px;
  }

  .cardSignature {
    height: 30px;
    width: 160px;
    margin-top: -22px;
    margin-left: -7px;
  }

  .myCard4 {
    /* max-width: 610px; */
    width: 634px;
  }

 
}

/* Large devices (laptops/desktops, 992px and up) */
@media only screen and (min-width: 992px) {

  /* .cardBox {
    background-image: url('../img/bbackground.png');
    background-repeat: repeat-y;
    width: 600px;
    height: 375px;
    max-width: 600px;
    max-height: 375px;
    margin-left: 0px;
  } */


  /* preview */
  .clbl {
    margin-left: -5px;
    color: black;
    font-size: 80%;
    text-transform: uppercase;
  }

  .cdta {
    margin-left: 8px;
    color: black;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 90%;
  }

  .cdataUnit {
    color: black;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 50%;
    margin-left: -2px;
  }

  /* membership card  */

  .cardBox {
    background-image: url('../img/bbackground.png');
    background-repeat: repeat-y;
    width: 600px;
    height: 375px;
    max-width: 600px;
    max-height: 375px;
    margin-left: 0px;
  }

  .cardTopRow {
    height: 60px;
    margin-top: -1px;
  }

  .cardTopLeft {
    height: 80px;
    width: 80px;
    margin-left: 5px;
    margin-top: -20px;
  }

  .cardTopMiddle {
    height: 80px;
    width: 360px;
    margin-left: -20px;
    margin-top: -20px;
  }


  .cardTopRight {
    height: 80px;
    width: 80px;
    margin-left: 20px;
    margin-top: -20px;
  }

  .cardMiddleRow {
    height: 275px;
  }

  .cardMiddleRow1 {
    margin-top: -20px;
  }

  .cardMiddleRow2 {
    margin-bottom: 0px;
    margin-top: 15px;
  }

  .cardMiddleRow3 {
    margin-top: 20px;
    margin-bottom: 0px;
  }

  .cardMiddleRow3Weight {
    margin-left: -15px;
  }

  .cardMiddleRow4Dob {
    margin-left: -5px;
  }

  .cardProfilePic {
    height: 180px;
    width: 160px;
    margin-left: -6px;
  }

  .cardBottomRow {
    height: 40px;
  }

  .cardBottomRow1 {
    margin-left: -16px;
    margin-right: -17px;
    margin-top: -22px;
    height: 10px;
  }

  .cardBottomRow2 {
    margin-left: -16px;
    margin-right: -17px;
    height: 10px;
  }

  .cardBottomRow3 {
    margin-left: -16px;
    margin-right: -17px;
    height: 10px;
  }

  .cardBottomRow4 {
    width: 30%;
    margin-top: -16px;
  }

  .cardSignature {
    height: 30px;
    width: 160px;
    margin-top: -22px;
    margin-left: -7px;
  }

}

/* Extra large devices (large laptops and desktops, 1200px and up) */
@media only screen and (min-width: 1200px) {

  /* .cardBox {
    background-image: url('../img/bbackground.png');
    background-repeat: repeat-y;
    width: 600px;
    height: 375px;
    max-width: 600px;
    max-height: 375px;
    margin-left: 0px;

    margin-top: 0px;
    margin-bottom: 20px;
  } */


  /* preview */
  .clbl {
    margin-left: -5px;
    color: black;
    font-size: 80%;
    text-transform: uppercase;
  }

  .cdta {
    margin-left: 8px;
    color: black;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 90%;
  }

  .cdataUnit {
    color: black;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 50%;
    margin-left: -2px;
  }

  /* membership card  */

  .cardBox {
    background-image: url('../img/bbackground.png');
    background-repeat: repeat-y;
    width: 600px;
    height: 375px;
    max-width: 600px;
    max-height: 375px;
    margin-left: 0px;
  }

  .cardTopRow {
    height: 60px;
    margin-top: -1px;
  }

  .cardTopLeft {
    height: 80px;
    width: 80px;
    margin-left: 5px;
    margin-top: -20px;
  }

  .cardTopMiddle {
    height: 80px;
    width: 360px;
    margin-left: -20px;
    margin-top: -20px;
  }


  .cardTopRight {
    height: 80px;
    width: 80px;
    margin-left: 20px;
    margin-top: -20px;
  }

  .cardMiddleRow {
    height: 275px;
  }

  .cardMiddleRow1 {
    margin-top: -20px;
  }

  .cardMiddleRow2 {
    margin-bottom: 0px;
    margin-top: 15px;
  }

  .cardMiddleRow3 {
    margin-top: 20px;
    margin-bottom: 0px;
  }

  .cardMiddleRow3Weight {
    margin-left: -15px;
  }

  .cardMiddleRow4Dob {
    margin-left: -5px;
  }

  .cardProfilePic {
    height: 180px;
    width: 160px;
    margin-left: -6px;
  }

  .cardBottomRow {
    height: 40px;
  }

  .cardBottomRow1 {
    margin-left: -16px;
    margin-right: -17px;
    margin-top: -22px;
    height: 10px;
  }

  .cardBottomRow2 {
    margin-left: -16px;
    margin-right: -17px;
    height: 10px;
  }

  .cardBottomRow3 {
    margin-left: -16px;
    margin-right: -17px;
    height: 10px;
  }

  .cardBottomRow4 {
    width: 30%;
    margin-top: -16px;
  }

  .cardSignature {
    height: 30px;
    width: 160px;
    margin-top: -22px;
    margin-left: -7px;
  }
}