.msform             { position: relative; display: flex; }
.msform p span      { font-weight: 700; color: rgb(0, 0, 140);}
.msform a           { color: black; text-decoration: underline; font-weight: normal; color: rgb(0, 0, 140)}
.msform h3          { font-weight: 500; font-size: 18px; color: rgb(0, 0, 140);}
.msform h2          { margin-bottom: 16px; color: rgb(0, 0, 140);}
h1, h4, h5                 { color: rgb(0, 0, 140);}
.msform .real-time h2  { margin-bottom: 10px;}
.msform .track span { text-decoration: underline;}
.msform input[type=checkbox]  { width: 16px !important; height: 16px !important; margin-right: 5px;}
.msform .form-group { margin-bottom: 16px; }
.msform .form-control       { border: 1px solid #aaa !important}
.msform .form-control:focus { border-color: rgba(0, 0, 0, .3) !important;}

.msform fieldset {
    background: #fff;
    border: 0 none;
    border-radius: 16px;
    box-shadow: 0 0 15px 1px rgba(0, 0, 140, 0.3);
    padding: 20px 30px;
    box-sizing: border-box;
    width: 80%;
    margin: 0 10% 32px;
    /*stacking fieldsets above each other*/
    position: relative;
    flex-shrink: 0;
}

.msform .form-check-box {
    border: 1px solid #e4e4e4;
    min-height: 100%;
    border-radius: 8px;
}
.msform .form-check-box input {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}
.msform .form-check-box p { margin: 0; }

/*Hide all except first fieldset*/
.msform fieldset:not(:first-of-type) {
    display: none;
}

.msform input:focus, .msform textarea:focus {
    -moz-box-shadow: none !important;
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
    border: 1px solid #70BD44;
    outline-width: 0;
    transition: All 0.5s ease-in;
    -webkit-transition: All 0.5s ease-in;
    -moz-transition: All 0.5s ease-in;
    -o-transition: All 0.5s ease-in;
}

/*buttons*/
.msform .action-button {
    background: rgb(0, 0, 140);
    color: #fff;
    cursor: pointer;
    padding: 10px 7px 10px 7px;
    /* margin: 20px 0px 16px 0px; */
    float: right;
    font-size: 12px;
    min-width: 140px;
    border-radius: 6px;
    border: solid 1px rgb(0, 0, 140);
  
}

.begin-verificaiton {
    min-width: 140px;
    background: #72bd43;
    color: #fff;
    border: 0 none;
    border-radius: 6px;
    cursor: pointer;
    padding: 15px 10px;
    margin: 10px 5px 10px 0px;
    float: right;
    font-size: 12px;
    text-align: center;
}

.msform .action-button:hover, .msform .action-button:focus {
    box-shadow: 0 0 0 2px white, 0 0 0 3px rgb(0, 0, 140);
}

.msform .action-button-previous {
    background: #fff;
    color: rgb(0, 0, 140);
    cursor: pointer;
    padding: 10px 7px 10px 7px;
    /* margin: 20px 40px 16px 0px; */
    float: left;
    font-size: 12px;
    min-width: 140px;
    border-radius: 6px;
    border: solid 1px rgb(0, 0, 140);
}
.msform .action-button-previous:hover, .msform .action-button-previous:focus {
    box-shadow: 0 0 0 2px white, 0 0 0 3px rgb(0, 0, 140);
}

.form-group {
  position: relative;
  margin-bottom: 1.5rem;
}

.msform input[type="checkbox"],
.msform input[type="radio"] { accent-color: #00008c; }

@media (min-width: 768px) and (max-width: 991px) {
  body                   { font-size: 14px;} 
  h1                     { font-size: 36px !important}
  .msform h2             { font-size: 26px; margin-bottom: 12px;}
  .msform h3             { font-size: 16px;}
  .msform p              { font-size: 13px; } 
  .msform p span         { font-weight: 600}  
  .msform a              { font-size: 14px; font-weight: 600} 
  .msform hr             { margin: 14px 0px 14px 0px;}
  .msform .action-button { padding: 8px 6px; margin: 14px 0px 10px 0px;}
  .msform .action-button-previous {padding: 8px 6px; margin: 14px 0px 10px 0px;}
  .msform fieldset                {padding: 15px 30px; width: 90%;}
  .msform .form-check-box input   { width: 20px; height: 20px;}
  .msform .form-check-label       { font-size: 14px !important;}
  .msform .form-group             { margin-bottom: 18px;}
  .msform .btn                    { font-size: 14px;}            
}   

@media (max-width: 767px) {
    body                   { font-size: 13px;} 
    h1                     { font-size: 34px!important;}
    .msform                 { padding-bottom: 40px;}
    .msform h2             { font-size: 22px; margin-bottom: 10px;}
    .msform h3             { font-size: 15px;}
    .msform p              { font-size: 15px;}  
    .msform p span         { font-weight: 600}  
    .msform a              { font-size: 14px; font-weight: 600} 
    .msform hr             { margin: 12px 0px 12px 0px;}
    .msform .action-button { padding: 6px 6px; margin: 12px 0px 8px 0px; min-width: 120px;}
    .msform .action-button-previous {padding: 6px 6px; margin: 12px 0px 8px 0px; min-width: 120px;}
    .msform fieldset                { padding: 12px 20px; width: 94%; margin: 12px auto;}
    .msform .form-check-box input   { width: 18px; height: 18px;}
    .msform .form-check-label       { font-size: 14px !important;}
    .msform .form-group             { margin-bottom: 18px;}
    .msform .btn                    { font-size: 14px;}
    .radio-list                     { flex-direction: column;} 
    label                           { margin-bottom: 2px;}
    .form-control                   { padding: 2px 8px; }
}