/*--
	Author: W3Layouts
	Author URL: http://w3layouts.com
	License: Creative Commons Attribution 3.0 Unported
	License URL: http://creativecommons.org/licenses/by/3.0/
--*/
/*-- Reset-Code --*/

body {
    padding: 0;
    margin: 0;
    font-family: 'Alegreya Sans', sans-serif;
}
.e {
    padding: 12px 10px;
    box-sizing: border-box;
    background-color: #fff;
    font-size: 15px;
    border: none;
    color: #333;
    font-family: 'Alegreya Sans', sans-serif;
}
.TableCSS {
    border-style: none;
    background-color: transparent;
    width: 100%;
}

.TableHeader {
    background-color: firebrick;
    color: white;
    font-size: large;
}

.TableData {
    background-color: transparent;
    color: #fff;
    font-size: medium;
    font-weight: bold;
}
.align-left {
    text-align: right !important;
}

.drp_align {
    left: initial;
    left: auto;
    text-align: right;
    direction: rtl;
}

.ex {
    float: right;
    direction: rtl;
    text-align: right !important;
}
.ex2 {
    float: right;
    direction: rtl;
    text-align: right !important;
}
    body a {
        transition: 0.5s all;
        -webkit-transition: 0.5s all;
        -moz-transition: 0.5s all;
        -o-transition: 0.5s all;
        -ms-transition: 0.5s all;
        text-decoration: none;
    }

        body a:hover {
            text-decoration: none;
        }

        body a:focus, a:hover {
            text-decoration: none;
        }

input[type="button"], input[type="submit"] {
    transition: 0.5s all;
    -webkit-transition: 0.5s all;
    -moz-transition: 0.5s all;
    -o-transition: 0.5s all;
    -ms-transition: 0.5s all;
}

h1, h2, h3, h4, h5, h6 {
    margin: 0;
    padding: 0;
    font-family: 'Alegreya Sans', sans-serif;
}

p {
    margin: 0;
}

ul {
    margin: 0;
    padding: 0;
}

li {
    list-style-type: none;
}

label {
    margin: 0;
}

a:focus, a:hover {
    text-decoration: none;
    outline: none;
}
/*-- //Reset-Code --*/

.w3ls-banner {
    background: url(../images/bg.jpeg) no-repeat;
    background-size: cover;
    min-height: 100vh;
    color: white;
    background-position: center;
    padding-top: 30px;
}

.heading {
    text-align: center;
    margin-bottom: 25px;
    letter-spacing: 1px;
}

    .heading h1 {
        margin-bottom: 25px;
        text-transform: uppercase;
        font-weight: 500;
        font-size: 50px;
    }

    .heading h2 {
        font-weight: 400;
    }

    .heading p {
        font-size: 16px;
        margin-top: 20px;
    direction: ltr;
}

.container {
    width: 43%;
    margin: auto;
    padding: 30px 30px 20px;
    box-sizing: border-box;
    background-color: rgba(0, 0, 0, 0.5);
}

label.form-label {
    display: inline-block;
    width: 27%;
    font-weight: 400;
    letter-spacing: 1px;
    vertical-align: top;
}

.form-input {
    display: inline-block;
    width: 72%;
}

.name .form-input {
    display: inline-block;
    width: 72%;
}

ul.field-list li {
    margin: 15px 0px;
}

select {
    width: 98.4%;
    padding: 12px 10px;
    color: #666;
    border: none;
    font-size: 15px;
    font-family: 'Alegreya Sans', sans-serif;
    background-color: #fff;
}

    input[type="date"]:focus, input[type="number"]:focus, input[type="text"]:focus, input[type="email"]:focus, select:focus {
        outline: none;
    }

.dob select {
    width: 32.4%;
}

input[type="number"],input[type="date"], input[type="text"], input[type="email"] {
    /*   margin: 15px 0px; */
    padding: 12px 10px;
    box-sizing: border-box;
    background-color: #fff;
    font-size: 15px;
    border: none;
    width: 98.6%;
    color: #333;
    font-family: 'Alegreya Sans', sans-serif;
}

span.form-sub-label input[type="text"] {
    margin: 0px 0px 15px 0;
    width: 49%;
}
span.form-sub-label input[type="date"] {
    margin: 0px 0px 15px 0;
    width: 49%;
}
span.form-sub-label input[type="number"] {
    margin: 0px 0px 15px 0;
    width: 49%;
}

span.last input[type="text"] {
    margin: 0px 0px 0px 0;
}
span.last input[type="date"] {
    margin: 0px 0px 0px 0;
}
span.last input[type="number"] {
    margin: 0px 0px 0px 0;
}

.name span.form-sub-label input[type="text"], .dob span.form-sub-label input[type="text"] {
    margin-bottom: 0;
}
.name span.form-sub-label input[type="date"], .dob span.form-sub-label input[type="date"] {
    margin-bottom: 0;
}

span.form-required {
    color: #fff;
}

label.form-label1 {
    display: inline-block;
    margin: 15px 0px;
    letter-spacing: 1px;
}

label.type-of-test {
    display: inline-block;
    width: 150px;
    margin-bottom: 10px;
    margin-left: 10px;
    letter-spacing: 1px;
    font-weight: 100;
    font-size: 14px;
}

textarea {
    width: 98%;
    background-color: rgba(255, 255, 255, 0.63);
}

.submit_btn {
    text-align: right;
    margin-right: 10px;
}

input[type="submit"] {
    padding: 10px 40px;
    margin-top: 5px;
    font-size: 16px;
    background-color: #007cc0;
    border: 1px solid #007cc0;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
    outline: 0;
    cursor: pointer;
    font-family: 'Alegreya Sans', sans-serif;
}

    input[type="submit"]:hover {
        background-color: #ffc168;
        border: 1px solid #ffc168;
        color: #000;
    }

input.year {
    width: 31% !important;
}

input[type="checkbox"] {
    vertical-align: middle;
}

::-webkit-input-placeholder { /* Chrome/Opera/Safari */
    color: #444;
}

::-moz-placeholder { /* Firefox 19+ */
    color: #444;
}

:-ms-input-placeholder { /* IE 10+ */
    color: #444;
}

:-moz-placeholder { /* Firefox 18- */
    color: #444;
}

.copyright p {
    text-align: center;
    padding: 15px 5px;
    letter-spacing: 1px;
    font-size: 16px;
}

.copyright a {
    color: #fff;
}

    .copyright a:hover {
        color: #ffc168;
    }
/* respoinsive */

@media screen and (max-width: 1366px) {
    .container {
        width: 45%;
    }

    .submit_btn {
        margin-right: 8px;
    }

    input[type="submit"] {
        width: 72%;
    }
}

@media screen and (max-width: 1280px) {
    .heading h1 {
        font-size: 45px;
    }
}

@media screen and (max-width: 1080px) {
    .container {
        width: 52%;
    }
}

@media screen and (max-width: 991px) {
    .container {
        width: 55%;
    }

    .heading h1 {
        font-size: 42px;
    }
}

@media screen and (max-width: 900px) {
    .container {
        width: 58%;
    }

    .heading h1 {
        font-size: 40px;
    }
}

@media screen and (max-width: 800px) {
    .container {
        width: 65%;
    }

    .heading h1 {
        font-size: 38px;
    }
}

@media screen and (max-width: 768px) {
    .container {
        width: 70%;
    }

    .heading h1 {
        font-size: 36px;
    }
}

@media screen and (max-width: 736px) {
    .container {
        width: 80%;
    }
}

@media screen and (max-width: 640px) {
    .container {
        width: 85%;
    }
}

@media screen and (max-width: 568px) {
    .container {
        width: 90%;
    }

    label.type-of-test {
        width: 40%;
    }

    label.form-sub-label1 {
        position: absolute;
        bottom: -28px;
        left: 5px;
        font-size: 13px;
        display: block;
    }
}

@media screen and (max-width: 480px) {
    .heading h1 {
        font-size: 33px;
    }

    .container {
        width: 95%;
        padding: 17px 10px 20px;
    }

    label.form-label {
        font-size: 15px;
    }

    .heading h2 {
        font-size: 1.3em;
    }

    .copyright p {
        line-height: 26px;
    }
}

@media screen and (max-width: 414px) {
    .form-input {
        width: 100%;
    }

    label.form-label {
        width: 100%;
        margin-bottom: 7px;
    }

    input.year {
        width: 41% !important;
    }

    label.form-sub-label1 {
        bottom: -22px;
        left: 4px;
        font-size: 13px;
        letter-spacing: 1px;
    }

    .heading h2 {
        font-size: 22px;
    }

    .dob select {
        width: 32%;
    }

    input[type="email"] {
        width: 99%;
    }

    textarea {
        width: 97%;
    }

    input[type="number"] , input[type="date"], input[type="text"], input[type="email"], select {
        padding: 10px 10px;
    }

    .name .form-input {
        width: 100%;
    }

    input[type="submit"] {
        width: 100%;
    }

    .submit_btn {
        margin-right: 4px;
    }

    select {
        padding-right: 0;
    }

    .heading h1 {
        font-size: 29px;
    }

    .heading h2 {
        font-size: 20px;
    }

    .heading p {
        font-size: 15px;
        margin-top: 10px;
    }
}

@media screen and (max-width: 384px) {

    .heading h1 {
        margin-bottom: 20px;
        font-size: 30px;
    }

    .heading h1 {
        font-size: 28px;
    }
}

@media screen and (max-width: 375px) {

    label.type-of-test {
        width: 40%;
        margin-left: 5px;
    }

    label.form-sub-label1 {
        bottom: -25px;
    }

    input.year {
        width: 39% !important;
    }

    .heading h2 {
        font-size: 20px;
    }

    .heading p {
        font-size: 15px;
        margin-top: 15px;
    }

    .heading h1 {
        font-size: 26px;
    }

    .copyright p {
        font-size: 15px;
    }
}

@media screen and (max-width: 320px) {
    .heading h1 {
        margin-bottom: 20px;
        font-size: 24px;
    }

    .heading h2 {
        font-size: 17px;
    }

    .heading p {
        font-size: 13px;
        margin-top: 15px;
    }

    span.form-sub-label input[type="text"] {
        width: 99%;
    }

    span.form-sub-label input[type="date"] {
        width: 99%;
    }
    span.form-sub-label input[type="number"] {
        width: 99%;
    }
    span.last input[type="text"] {
        margin: 0px 0px 15px 0;
    }
    span.last input[type="date"] {
        margin: 0px 0px 15px 0;
    }
    span.last input[type="number"] {
        margin: 0px 0px 15px 0;
    }


    label.type-of-test {
        width: 36%;
        margin-left: 7px;
        font-size: 14px;
    }

    input[type="text"] {
        width: 99%;
    }
    input[type="date"] {
        width: 99%;
    }
    input[type="number"] {
        width: 99%;
    }

    label.form-label1 {
        margin: 8px 0px;
    }

    .copyright p {
        font-size: 14px;
    }

    .name span.form-sub-label input[type="text"]:nth-child(1) {
        margin-bottom: 10px;
    }
    .name span.form-sub-label input[type="date"]:nth-child(1) {
        margin-bottom: 10px;
    }
    .name span.form-sub-label input[type="number"]:nth-child(1) {
        margin-bottom: 10px;
    }

    ul.field-list li {
        margin: 10px 0px;
    }

    input[type="submit"] {
        font-size: 15px;
        margin-top: 0px;
    }
}


/* //respoinsive */



