@font-face{
    font-family: 'Custom';
    src: url('../Type/custom_font.otf');
}

* {
    padding: 0;
    margin: 0;
    font-family: 'Custom';
    background: #fff;
}

h2 {
    text-align: center;
    color: #000;
    margin: 30px 0;
}

.details {
    width: 50px;
}

.formCont {
    display: flex;
    justify-content: center;
    margin: 60px 0 0 0;
}

.container {
    box-shadow: 0 4px 7px #FAFAFA;
    border: 1px solid #EBEBEB;
}

.child.imgcont {
    color: #000;
    margin: 0 0 20px 20px;
}

.field {
    display: flex;
    justify-content: center;
    align-items: center;
}

.child {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    margin: 20px; 
}

label {
    font-size: 16px;
    color: #000;
}

.container input,
select {
    font-size: 17px;
    color: #000;
    outline: none;
    border-radius: 4px;
    background: none;
    padding: 5px 2px; 
    border: 1px solid #cfcfcf;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.05);
    appearance: none;
}

.container input[type="date"] {
    font-size: 14px;
    width: 200px;
    padding: 6px 2px;
}

input[type="date"]::-webkit-calendar-picker-indicator {
    background: transparent;
    position: absolute;
    padding: 9px 0;
    width: 215px;
    color: #000;
}

#blood , #qual {
    width: 210px;
}

.img {
    width: 200px;
}

.container textarea {
    font-size: 17px;
    color: #000;
    outline: none;
    width: 710px;
    height: 70px;
    border: 1px solid #cfcfcf;
    border-radius: 3px;
    resize: none;
}

.submit {
   float: right;
}

.next {
    margin: 20px 15px 25px 0;
    border: 1px solid transparent;
    color: #fff;
    font-size: 17px;
    background-color: #6A3BD1;
    padding: 6px 30px;
    border-radius: 4px;
}


.error {
    width: 205px;
    font-size: 14px;
    letter-spacing: 1px;
    color: red;
    text-align: center;
    margin: 2px 0 0 0;
    text-align: left;
}

.new {
    font-size: 14px;
    letter-spacing: 1px;
    color: red;
    width: 500px;
    margin: auto;
    margin-bottom: 20px;
    text-align: center;
}

.error ul , .new ul{
    list-style: none;
}

.csharp {
    width: 300px;
    margin: 20px 0 30px 40px;
    text-align: center;
}

.page_title h1 {
    font-size: 35px;
    text-align: center;
    color: #000;
    margin: 50px 0 0 30px;
}

.text {
    font-size: 15px;
    text-align: center;
    color: #7D7D7D;
    margin: 3px 0 50px 30px;
}

.table {
    display: flex;
    justify-content: center;
    align-items: center;
}

table {
    width: 100%;
    margin: 10px 60px;
}

.table textarea {
    font-size: 14px;
    text-align: center;
    color: #000;
    outline: none;
    resize: none;
    border: none;
    overflow: hidden;
    min-height: 30px;
}

table, th, tr, td {
    border-collapse: collapse;
    border: 1px solid #fff;
    text-align: center;
}

th {
    font-size: 17px;
    color: #fff;
    background-color: #6A3BD1;
    font-weight: 100;
    padding: 4px;
/*    vertical-align: top;*/
}

td {
    font-size: 16px;
    color: #000;
    padding: 8px 2px;
    word-wrap: break-word;
}

td button {
    border: none;
    margin: 0 6px;
}

.img {
     width: 22px;
     object-fit: cover;
  }

td img {
    width: 18px;
    object-fit: cover;
}





@media only screen and (max-width: 1200px) {
    table {
        margin: 0 20px;
    }
}

@media only screen and (max-width: 992px) {
    th, td {
        font-size: 14px;
    }
}

@media only screen and (max-width: 1300px) {

    .table {
        padding: 0 15px;
    }

    table {
        width: 60%;
    }

    table, thead, tbody, th, td, tr {
        display: block;
    }

    th {
        display: none;
    }

    td {
        display: flex;
        padding: 10px 15px;
        border: 1px solid #F5F5F5;
        white-space: nowrap;
    }

    tr {
        margin: 0 0 25px 0;
        border: 1px solid #fff;
    }

    td::before {
        content: attr(data-label);
        font-weight: bold;
        width: 100px;
        display: inline-block;
    }

    td img {
        width: 18px;
        object-fit: cover;
        margin: 0 46px;
    }
}

@media only screen and (max-width: 670px) {

    * {
        background: transparent;
    }



    .field {
        display: flex;
        justify-content: center;
        flex-direction: column;
        align-items: center;
    }

    .child.imgcont {
        display: none;
    }

    .main {
        margin: 0 0 100px 0;
    }

    .formCont {
        margin: 30px 0 0 0;
    }

    .container {
        border: none;
    }

    .next {
        margin: 10px 15px 15px 0;
    }

    .submit {
        float: none;
    }

    .csharp {
        width: 200px;
        margin: 20px 15px 10px 0;
        text-align: center;
    }

    .container textarea {
        font-size: 17px;
        color: #000;
        outline: none;
        width: 220px;
        height: 70px;
        border: 1px solid #cfcfcf;
        border-radius: 3px;
        resize: none;
    }

    .error {
        text-align: center;
    }



    .page_title h1 {
        font-size: 25px;
    }

    .text {
        font-size: 13px;
        text-align: center;
        color: #7D7D7D;
        margin: 3px 0 10px 30px;
    }

    .table {
        margin: 0 0 80px 0;
    }

    table {
        width: 88%;
    }

    table, thead, tbody, th, td, tr {
        display: block;
    }

    th {
        display: none;
    }

    tbody tr {
        margin: 0 0 25px 0;
        border: 1px solid #fff;
    }

    textarea {
        min-height: auto;
    }


    td {
        font-size: 13px;
        display: flex;
        justify-content: space-around;
        padding: 13px 0 5px 0;
    }

    td::before {
        content: attr(data-label);
        font-weight: bold;
        width: 150px;
    }

    .new {
        font-size: 12px;
        width: 320px;
    }

}






















