@import url(https://fonts.googleapis.com/css?family=Fauna+One|Muli);
#mainform {
    width: 960px;
    margin: 20px auto;
    padding-top: 20px;
    font-family: 'Fauna One', serif;
    display: block;
}

h2 {
    margin-left: 65px;
    text-shadow: 1px 0px 3px gray;
}

h3 {
    color: white;
    font-size: 26px;
    text-align: center;
    text-shadow: 1px 0px 3px gray;
}

b {
    font-size: 18px;
    text-shadow: 1px 0px 3px gray;
}

#popup {
    padding-top: 80px;
}

.form {
    border-radius: 10px;
    padding: 20px 30px;
    box-shadow: 10px 10px 15px;
    font-size: 14px;
    font-weight: bold;
    width: 350px;
    margin: 20px 250px 0 35px;
    float: left;
}

input {
    width: 100%;
    height: 35px;
    margin-top: 5px;
    border: 1px solid #999;
    border-radius: 3px;
    padding: 5px;
}

input[type=button] {
    background-color: orange;
    border: 1px solid white;
    font-family: 'Fauna One', serif;
    font-Weight: bold;
    font-size: 18px;
    color: white;
    width: 44%;
    padding-left: 10px;
    padding-right: 10px;
    padding-top: 10px;
    padding-bottom: 35px;
    margin-top: 25px;
}

label {
    margin-top: 10px;
}

textarea {
    width: 100%;
    height: 80px;
    margin-top: 5px;
    border-radius: 3px;
    padding: 5px;
    resize: none;
}

#batchdiv {
    -moz-box-shadow: 2px 2px 6px #999;
    -webkit-box-shadow: 2px 2px 6px #999;
    box-shadow: 2px 2px 6px #999;
    position: absolute;
    top: 0px;
    left: 0px;
    height: 100%;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: none;
}

#individualdiv,
#nabldiv,
#confirmitydiv {
    background-color: rgba(0, 0, 0, 0.7);
    position: fixed;
    top: 0px;
    left: 0px;
    height: 100%;
    width: 100%;
    display: none;
    bottom: 0;
    right: 0;
}

#multiplediv {
    background-color: rgba(0, 0, 0, 0.7);
    position: absolute;
    top: 0px;
    left: 0px;
    height: 100%;
    width: 100%;
    display: none;
}

#individual,
#batch,
#multiple,
#confirmity,
#nablCetificate {
    width: 350px;
    margin: 0px;
    /* background: linear-gradient(20deg, white, #45B1E8 80%); */
    background: linear-gradient(20deg, white, #a766d8 80%) !important;
    /*#be8ce3*/
    font-family: 'Fauna One', serif;
    position: relative;
    border: 5px solid white;
}

label {
    color: white;
    font-size: 18px;
}

.error {
    color: red;
    text-shadow: none;
}

.img {
    float: right;
    margin-top: -16px;
    margin-right: -21px;
}

body {
    background-color: white;
    color: #000;
    font-family: "Varela Round", Arial, Helvetica, sans-serif;
    font-size: 16px;
    line-height: 1.5em;
}

#onclick,
#onclickNabl {
    font-family: "museo-sans", "Verdana", "Gill Sans", "Lucida Grande", "Arial", "Helvetica", sans-serif;
    padding: 3px;
    font-size: 24px;
    text-align: center;
    color: green;
    cursor: pointer;
    padding: 15px 5px 15px 15px;
    width: 317px;
    color: grey;
    background: linear-gradient(20deg, white, #45B1E8 80%);
    border-radius: 10px;
}

#onclick1 {
    font-family: "museo-sans", "Verdana", "Gill Sans", "Lucida Grande", "Arial", "Helvetica", sans-serif;
    padding: 3px;
    font-size: 24px;
    text-align: center;
    color: green;
    cursor: pointer;
    padding: 15px 5px 15px 15px;
    width: 317px;
    color: grey;
    text-transform: none;
    background: linear-gradient(20deg, white, #45B1E8 80%);
    border-radius: 10px;
}

#onclick2 {
    font-family: "museo-sans", "Verdana", "Gill Sans", "Lucida Grande", "Arial", "Helvetica", sans-serif;
    padding: 3px;
    font-size: 24px;
    text-align: center;
    color: green;
    cursor: pointer;
    padding: 15px 5px 15px 15px;
    width: 317px;
    color: grey;
    text-transform: none;
    background: linear-gradient(20deg, white, #45B1E8 80%);
    border-radius: 10px;
}

#onclickConfirmity {
    font-family: "museo-sans", "Verdana", "Gill Sans", "Lucida Grande", "Arial", "Helvetica", sans-serif;
    padding: 3px !important;
    font-size: 24px !important;
    text-align: center !important;
    color: green !important;
    cursor: pointer;
    padding: 15px 5px 15px 15px !important;
    width: 317px !important;
    color: grey !important;
    text-transform: none !important;
    background: linear-gradient(20deg, white, #45B1E8 80%) !important;
    border-radius: 10px !important;
}

p:hover {
    border: solid 1px #CCC;
    -moz-box-shadow: 2px 2px 6px #999;
    -webkit-box-shadow: 2px 2px 6px #999;
    box-shadow: 2px 2px 6px #999;
}

#main h2 {
    margin-bottom: 0px;
    background-color: #f95252;
    -webkit-border-radius: 20px 20px 0 0;
    -moz-border-radius: 20px 20px 0 0;
    border-radius: 20px 20px 0 0;
    color: #fff;
    font-size: 28px;
    padding: 20px 26px;
    margin-left: 0px;
}

#main {
    /* margin: 50px auto; */
    margin: 0px auto;
    /* width: 80%; */
}

#main form {
    margin: 0;
    /* padding: 0; */
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline
}

input[type=submit] {
    background-color: orange;
    border: 1px solid white;
    font-family: 'Fauna One', serif;
    font-Weight: bold;
    font-size: 18px;
    color: white;
    width: 54%;
    padding-left: 10px;
    padding-right: 10px;
    padding-top: 10px;
    padding-bottom: 35px;
}

#main fieldset {
    background-color: #fff;
    -webkit-border-radius: 0 0 20px 20px;
    -moz-border-radius: 0 0 20px 20px;
    border-radius: 0 0 20px 20px;
    padding: 20px 26px;
    margin: 0px;
    margin-right: -1px;
    border-top: none;
}


/* 
#batch {
    left: 50%;
    top: 50%;
    margin-left: -210px;
    margin-top: -255px;
} */


/* #individual,
#confirmitydiv,
#nabldiv {
    left: 50%;
    top: 50%;
    margin-left: -210px;
    margin-top: -158px;
} */

#multiple {
    left: 50%;
    top: 50%;
    margin-left: -210px;
    margin-top: -158px;
}


/* DINESH CSS */

#onclick,
#onclick1,
#onclickConfirmity,
#onclickNabl {
    width: 80%!important;
    padding: 15px!important;
}

#main img {
    width: 100%!important;
    height: auto!important;
    /* max-height: 256px; */
}

#main>div {
    width: 40%;
}

@media screen and (max-width:1366px) {
    #main {
        width: 100%
    }
}

@media screen and (max-width:992px) {
    #main>div {
        width: 48%;
    }
    /* #main img {
        max-width: 240px!important;
    } */
}

@media screen and (max-width:768px) {
    #main>div {
        width: 100%;
    }
    #main {
        width: 90%;
        margin: auto;
    }
}

@media screen and (max-width:600px) {
    #main>div {
        width: 100%;
    }
    #main {
        width: 90%;
        margin: auto;
    }
    #main img {
        max-width: initial!important;
    }
}

div#confirmitydiv>div,
#individualdiv>div,
#batchdiv>div,
#nabldiv>div {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}