body,
html {
  height: 100%;
}

h1,
h4,
h5,
h6 {
  font-family: "M PLUS 1p";
  font-weight: 500;
  color: #333333;
}

h1,
h2 {
  font-weight: 700;
}

/* overwriting  */
.w3-jumbo {
  font-size: 64px !important;
}

.h1-decoration {
  border-style: solid;
  border-width: 0 0 8px 0;
  padding: 0 50px 0 0px;
  width:fit-content;
  margin: 0 auto 50px auto;
  border-image: linear-gradient(0.25turn, #F39C12 10%, rgba(251,218,165,1) 50%, rgba(56,2,155,0)) 1;
  text-shadow: 2px 2px 0px rgba(0,0,0,0.1);
  font-style: oblique;
}

.h2-decoration {
  border-style: solid;
  border-width: 0 0 0 8px;
  padding-left: 8px;
  margin: 50px 0px 32px 0px;
  width:fit-content;
  border-image: linear-gradient(#bc80ea 70%, rgba(56,2,155,0)) 1;
  text-decoration: underline;
}

.h3-decoration {
  font-size: 28px;
  font-weight: 600;
  font-style: oblique;

  text-decoration: underline;
}

.accordion-header {
  font-weight: 600 !important;
  font-style: oblique;
}

.color-background {
  background-image:linear-gradient(90.0deg,  rgba(242,250,249,1) 10%, rgba(253,255,253,1) 25%, rgba(253,255,253,1) 75%, rgba(242,250,249,1) 90%);
}

#loading {
  position: fixed;
  display: none;
  color: white;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  text-align: center;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 999; /* This must be larger than 100 since paypal button's z-index is 100. */
}

.divBox {
  background-color:rgba(0, 0, 0, .05); 
  border-radius: 20px; 
  box-shadow: rgba(6, 24, 44, 0.4) 0px 0px 0px 2px, rgba(6, 24, 44, 0.65) 0px 4px 6px -1px, rgba(255, 255, 255, 0.08) 0px 1px 0px inset;
}

.myButton {
    box-shadow: inset 0px 1px 0px 0px #efdcfb;
    background: linear-gradient(to bottom, #dfbdfa 5%, #bc80ea 100%);
    background-color: #dfbdfa;
    border-radius: 20px;
    border: 1px solid #c584f3;
    /* display: inline-block; */
    cursor: pointer;
    color: #ffffff;
    font-family: Arial;
    font-size: 24px;
    font-weight: bold;
    margin: 15px auto;
    width: 200px;
    height: 50px;
    line-height: 50px;
    text-decoration: none;
    text-shadow: 0px 1px 50px #9752cc;
}

.myButton:hover {
  background: linear-gradient(to bottom, #bc80ea 5%, #dfbdfa 100%);
  background-color: #bc80ea;
}

.myButton:active {
  position: relative;
  top: 1px;
}

input {
  border-radius: 10px; 
}

input[type = radio] {
  transform: scale(1.5);
}

input[type = checkbox] {
  transform: scale(1.5);
}

input[type=radio]:hover{
  cursor: pointer;
}

#downloadButton {
  display: block;
  width: 340px;
  height: 60px;
  text-align: center;
  line-height: 28px;
  font-size: 28px;
  padding-top: 5px;
}

#downloadButton p {
  font-size: 14px; line-height: 14px; margin-top:5px;
}


@media (max-width: 600px) {
  #background-video {
    display: none;
  }

  #background-video-short {
    display: block !important;
  }

  .bgimg {
    height: 100%;
  }

  #title {
    top: 45% !important;
    padding: 1% 2%;
  }

  .w3-xlarge {
    font-size: 14px !important;
  }

  .w3-jumbo {
    font-size: 32px !important;
  }

  h2 {
    font-size: 20px !important;
  }

  .h1-decoration {
    padding: 0 0px 0 0px;
  }

  .h3-decoration {
    font-size: 18px;
  }

  #downloadButton {
    width: 230px;
  }

  #downloadButton p {
    font-size: 10px;
    line-height: 10px;
    margin-top: 8px;
  }
}

/* Borrowed from https://www.sliderrevolution.com/resources/styling-radio-buttons/ */
fieldset {
  /* margin: 0;
  padding: 2rem; */
  box-sizing: border-box;
  display: block;
  border: none;
  /* border: solid 1px #CCC; */
  min-width: 0;
  background-color: rgba(0, 0, 0, 0);
  text-align: left;
  margin: 20px auto;
  padding: 10px 30px;
}

fieldset legend {
  margin: 0 0 1.5rem;
  padding: 0;
  width: 100%;
  float: left;
  display: table;
  font-size: 1.5rem;
  line-height: 140%;
  font-weight: 600;
  color: #333;
}

fieldset legend+* {
  clear: both;
}

body:not(:-moz-handler-blocked) fieldset {
  display: table-cell;
}

/* TOGGLE STYLING */
.toggle {
    margin: 0 0 1.5rem;
    box-sizing: border-box;
    font-size: 0;
    display: flex;
    flex-flow: row nowrap;
    justify-content: flex-start;
    align-items: stretch;
}

.toggle input {
    width: 0;
    height: 0;
    position: absolute;
    left: -9999px;
}

.toggle input+label {
    margin: 0;
    padding: .75rem 2rem;
    box-sizing: border-box;
    position: relative;
    display: inline-block;
    border: solid 1px #DDD;
    background-color: #FFF;
    font-size: 1rem;
    line-height: 140%;
    font-weight: 600;
    text-align: center;
    box-shadow: 0 0 0 rgba(255, 255, 255, 0);
    transition: border-color .15s ease-out,
        color .25s ease-out,
        background-color .15s ease-out,
        box-shadow .15s ease-out;
    font-size: 20px;
    /* ADD THESE PROPERTIES TO SWITCH FROM AUTO WIDTH TO FULL WIDTH */
    /*flex: 0 0 50%; display: flex; justify-content: center; align-items: center;*/
    /* ----- */
    ;
}

.toggle input+label:first-of-type {
    border-radius: 6px 0 0 6px;
    /* border-right: none; */
    margin-left: auto;
}

.toggle input+label:last-of-type {
    border-radius: 0 6px 6px 0;
    /* border-left: none; */
    margin-right: auto;
  }

.toggle input:hover+label {
    border-color: #213140;
    cursor: pointer;
}


.toggle input:checked+label {
    background-color: #4B9DEA;
    color: #FFF;
    box-shadow: 0 0 10px rgba(102, 179, 251, 0.5);
    border-color: #4B9DEA;
    z-index: 1;
}

.toggle input:focus+label {
    /* outline: dotted 1px #CCC;
    outline-offset: .45rem; */
}

.toggle label {
    width: 300px;
}