body {
        background: rgba(177, 205, 228, 1);
        font-family: "Open Sans",sans-serif;
    }

form {
    border: 1px solid #fff !important;
    /*background: #f0f0f0;*/
    background: #fafafa;
    padding: 20px;
    border-radius: 5px;
    margin: auto;
    font-family: "Open Sans",sans-serif;
}
#form-header{
        margin: auto;
        text-align: center;
    }
#contain-inner {
    width: 75%;
    margin: auto;
}
#cover-normal-screen {
    display: none;
} 

p {
    text-align: center;
    font-family: "Open Sans",sans-serif;
}
.errorflag {
    color: green;
    background: rgba(190, 76, 84, 0.6);
    border: 2px solid red;
}
h2.form-submit {
    color: black !important;
    border: 1px solid #fff;
    padding: 3px;
    border-radius: 5px;
}


h2.form-title, h3.form-title {
    padding-bottom: 10px;
    text-align: center !important;
}
h2 {
    color: rgba(33, 76, 114, 1) !important;
    font-size: 26px !important;
}
h2 {
    font-size: 2em;
}


input, select, input[type="date"], input[type="email"], input[type="tel"], input[type="text"], input[type="url"] 
{
    background: #fff none repeat scroll 0 0;
    border: 1px solid #ddd;
    border-radius: 6px;
    color: #444;
    font-weight: normal;
    margin: 7px 0;
    max-width: 100%;
    padding: 12.9px;
    width: 100%;
}
input[type="text"] {
    width: 100%;
}
input[type="email"], input[type="tel"], input[type="number"] {
    width: 100%;
}
input[type="radio"] {
    width: auto;
    margin-left: 5px;
}
input[type="submit"] {
    width: 200px;
}
input[type="submit"]:hover {
    background: #999;
}
input[type="submit"]:active {
    background: red;
}
input[type="submit"]#form-sub {
    margin: auto;
    display: block;
    text-transform: uppercase;
    background: crimson;
    color: #fff;
    text-align: center;
}
input[type="submit"]#form-sub:hover {
    background: #999;
}

textarea, input[type="textarea"] {
    width: 100%;
    max-width: 100%;
    height: 150px;
    display: block;
    background: #fff none repeat scroll 0 0;
    border: 1px solid #ddd;
    border-radius: 6px;
    color: #444;
    font-weight: normal;
    margin: 7px 0;
    padding: 12.9px;    
}
p {
    font-size: 18px;
    line-height: 28px;
}
 h2.home-title2 {
        color: #ffffff !important;
        font-size: 16px;
        text-align: center;
        text-transform: uppercase;
    }
    .white {
        color: #fff;
    }
    .red {
        color: crimson;
    }
    .black {
        color: black;
    }
    a.return {
        color: #000;
        text-decoration: none;
    }
    a.return:hover {
        color: #fff455;
    }
    .arrows {
        font-size: 12px;
        color: #fff;
    }
    .security {
        font-size: 12px;
    }
    #required-list {
        margin: auto;
        width: 350px;
        color: rgba(17, 20, 14, 0.39);
    }
#contain-refer-form iframe {
   /*margin-top: -60px;*/
}


/*////////////Fallback for browsers not suppporting html5 validation properly///////////////*/

/* .invalid class prevents CSS from automatically applying */

input.ui-state-error.h5-active.user-error {
      background: rgba(190, 76, 84, 0.6);
}
.invalid input:required:invalid {
  background: rgba(190, 76, 84, 0.6);
}
 
/* Mark valid inputs during .invalid state */
.invalid input:required:valid {
  background: #17D654;
  background: rgba(102, 255, 217, 0.5);
}           