body {
background-color: #333;
}

.parent {
display: flex;
justify-content: center;
align-items: center;
}

.child {
position: absolute;
top: 50%;
left: 50%;
width:700px;
padding:30px;
transform: translate(-50%, -50%);
background: #fafafa;
border-radius: 4px;
}

h2{text-align:center;}

.p-bar-container {
width: 100%;
height: 6px;
overflow: hidden;
background: #edeeee;
border-radius: 3px;
}
.p-bar-progress {
background: #3f93f3;
height: 100%;
width: 0;
border-radius: 3px;
}
.InputRadio-label {
display: block;
display: -webkit-flex;
display: flex;
padding: 14px 0;
-webkit-align-items: center;
align-items: center;
cursor: pointer;
color: #4e4d4d;
font-size: 16px;
}

.u-visuallyHidden {
position: absolute;
overflow: hidden;
clip: rect(0 0 0 0);
height: 1px;
width: 1px;
margin: -1px;
padding: 0;
border: 0;
}
.InputRadio-label:before {
background: #fff;
content: '\a0';
display: inline-block;
border-radius: 100%;
border: 1px solid #bdc4c4;
box-shadow: inset 0 0 0 3px #fff;
height: 20px;
width: 20px;
min-width: 20px;
margin-right: 14px;
vertical-align: middle;
}

input:checked+.InputRadio-label:before, input:checked.theme-primary+.InputRadio-label:before {
background-color: #3f93f3;
border: 2px solid #3f93f3;
}

/* About page */
#step-2 .p-bar{
display: none;
}

#step-2 .child {
background-color: #f5f2f0;
}
#step-2 .button-go, a.button-go {
background-color: transparent;
color: black !important;
}
#step-2 h2 {
padding: 50px 0px 50px 0px;
}
#step-2 .logo {
display: block;
margin: auto;
width: 100px;
}

@media only screen and (max-device-width : 1024px) {
  h2, .InputRadio-label {
    font-size: 2.5em;
  }
  
  .InputRadio-label:before {
    height: 32px;
    width: 32px;
    min-width: 32px;
    margin-right: 26px;
  }
  
  .button {
    font-size: 2em;
  }
  
  span.InputRadio-label-inner {
    font-size: 2.2em;
  }
  
  input[type='checkbox'], input[type='radio'] {
    height: 24px;
    width: 24px;
    margin-right: 14px;
  }
  h4 {
    font-size: 2em;
  }
  .textbox {
    font-size: 2em;
  }
  
  .fieldInvalidMsg {
    font-size: 1.6em;
  }
}

/* Smartphones (portrait and landscape) ----------- */
@media only screen and (min-device-width : 320px) and (max-device-width : 480px) {

}

/* Smartphones (landscape) ----------- */
@media only screen and (min-width : 321px) {
  .child {
    top: 0;
    transform: none;
    left: 0;
    right: 0;
    width: auto;
  }
}

@media only screen and (min-width : 321px) and (max-width : 1224px) and (orientation : landscape) {
  h2, .InputRadio-label {
    font-size: 1.3em;
  }
  
  .InputRadio-label:before {
    height: 24px;
    width: 24px;
    min-width: 24px;
    margin-right: 20px;
  }
  
  .button {
    font-size: 1.8em;
  }
  
  span.InputRadio-label-inner {
    font-size: 1.8em;
  }
  
  input[type='checkbox'], input[type='radio'] {
    height: 20px;
    width: 20px;
    margin-right: 10px;
  }
  h4 {
    font-size: 1.7em;
  }
  .textbox {
    font-size: 1.6em;
  }
  
  .fieldInvalidMsg {
    font-size: 1.6em;
  }
}

/* Smartphones (portrait) ----------- */
@media only screen and (max-device-width : 415px) and (orientation : portrait) {
  .child {
    transform: translate(0%, -50%);
    top: 50%;
    left: 0;
    right: 0;
    width: auto;
  }
}

/* iPads (landscape) ----------- */
@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) and (orientation : landscape) {
  .child {
    top: 0;
    transform: none;
    left: 0;
    right: 0;
    width: auto;
  }
}

/* iPads (portrait) ----------- */
@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) and (orientation : portrait) {
  .child {
    transform: translate(0%, -50%);
    top: 50%;
    left: 0;
    right: 0;
    width: auto;
  }
}

/* Desktops and laptops ----------- */
@media only screen and (min-width : 1224px) {
  .child {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 700px;
    padding: 30px;
    transform: translate(-50%, -50%);
    background: #fafafa;
    border-radius: 4px;
  }
}
