﻿*{
    font-family:Arial;
    font-size:medium;
}
.footer_page{
    margin-top:auto;
}
form {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
.Form_grid {
    display: grid;
    grid-template-columns: 1fr;
/*    max-width: 1200px;*/
    margin-top:1rem;
    margin-bottom:1rem;
    background: white;
    width:100%;
}
.Form_heading {
    background-color: black;
    color: white;
    font-size: 1.5rem;
    text-align: center;
    padding:1rem;
}
.Form_sec_heading {
/*    background-color: black;*/
    color: Black;
    padding: 0.5rem;
    font-size: 18px;
    text-align: left;
    box-sizing:border-box;
/*    margin-left:1rem;*/
}
.Form_sub_heading {
    background-color: rgb(73, 118, 209);
    color: white;
    font-size: 1.5rem !important;
    padding: 0.5rem;
    font-weight: bold !important;
    text-transform: uppercase;
    word-break: break-word;
}
.Sub_forms {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    padding: 1rem;
    align-items: center;
    justify-items: stretch;
}

input[type="text"],input[type="password"]{
    border:1px solid gray;
    padding:0.3rem;
    border-radius:0.2rem;
    outline:none;
    width:60%;
    max-width:20rem;
    height:2rem;
}
input[type="date"] {
    height: 2rem !important;
    width: 20%;
    background: white;
    border:1px solid gray;
}
input[type="text"]:focus, input[type="password"]:focus {
    border: 2px solid #0078D7;
}
input[type="file"] {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}
input[type="file"]::file-selector-button {
    background-color: #0078D7;
    color: white;
    height: 2.4rem !important;
    /*            width:6rem!important;*/
    border: none !important;
    border-radius: 0.3rem;
    cursor: pointer;
    font-weight: bold;
    padding: 0.5rem 1rem !important;
    transition: 0.4s ease;
}

    input[type="file"]::file-selector-button:hover {
        color: #0078D7;
        background: white;
        border: 1px solid #0078D7;
    }
.Popup {
    width:80%!important;

}
.Popup iframe{
    width:100%;
}
    .Popup input[type="submit"] {
        background-color: orangered;
        color: white;
        border-radius: 0.3rem;
        margin-top: 0.5rem;
        padding: 0.5rem;
        height:fit-content!important;
    }
.not_visible{
    display:none;
}
.Help_but {
    display: none;
    /*    height:26px;
    width:26px;
    color:white;
    border-radius:13px;
    background: #007bff;
    cursor:pointer;*/
}
.apply_button {
    transition: 0.5s;
    background-color: #0078D7;
    padding: 0 1rem;
    border-radius: 0.5rem;
    border: 1px solid #0078D7;
    /*    background-position: left;*/
    transition: background-position 0.8s ease-in-out, color 0.5s ease;
    color: white;
    text-decoration: none;
    transition: 0.5s ease;
    font-size: 1rem;
    cursor: pointer;
    height: 2.4rem !important;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

    .apply_button:hover {
        color: #0078D7;
        border: 1px solid #0078D7;
        background: white;
        /*        background-image: linear-gradient(to #0078D7,rgb(89, 156, 87));*/
        font-weight: bold;
        /*        transform: scale(1.1);*/
    }

.remove_button {
    transition: 0.5s;
    background-color: white;
    padding: 0 1rem;
    border-radius: 0.5rem;
    border: 1px solid #0078D7;
/*    background-size: 200% 100%;*/
/*    background-position: left;*/
    transition: background-position 0.8s ease-in-out, color 0.5s ease;
    color: rgb(67, 91, 156);
    text-decoration: none;
    transition: 0.5s ease;
    font-size: 1rem;
    cursor: pointer;
    height: 2.4rem;
}

    .remove_button:hover {
        background-color: #0078D7;
        /*        font-weight: bold;*/
        color: white;
        /*        transform: scale(1.1);*/
    }

.final_submit {
    text-align: center;
    color: white;
    cursor: pointer;
    background-color: dodgerblue !important;
    /*    border:none;*/
    border-radius: 0.3rem;
    margin: 0.2rem;
    font-size: 1rem !important;
    height: 2.4rem !important;
    outline:none;

}
.Radio_but {
/*    text-align: center;*/
    
    width:100%;
    padding:1rem;
    box-sizing:border-box;
/*    width:80rem;*/
}
.radio_width {
/*    display: flex;*/
/*    align-content: center;
    justify-content: space-between;*/
    box-sizing: border-box;
    padding: 1rem;
    width:100%;
}
.final_submit:hover {
    background-color: white !important;
    color: dodgerblue;
    border: 2px solid dodgerblue;
    /*    border:1px solid lawngreen!important;*/
}

.declaration, .declaration_checkbox {
    padding: 1rem;
}
.declaration {
    line-height: 1.6;
}
.Sub_forms_2 {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
/*    gap: 1rem;*/
    padding: 0.5rem;
    align-items: center;
    box-sizing:border-box;
    gap:0.5rem;
    /*justify-items: stretch;*/
}
.bottom_form {
    margin: 1rem auto;
    padding: 1rem;
    border: 1px solid black;
    border-radius: 0.5rem;
    max-width: 100%;
    box-sizing: border-box;
    display:grid;
    grid-template-columns:1fr 1fr 1fr;
    align-items:center;
}
.bottom_file_upload {
    text-align: center;
}
input[type="text"],
input[type="password"],
select {
/*    width: 100%;*/
 
}
select {
    height: 2rem !important;
    font-family: Arial !important;
    border-radius: 4px;
    background-color: white;
    width:60%;
    max-width:20rem;
}

    select:focus {
        border: 2px solid #0078D7
    }
.bottom_form label,
.bottom_form span {
    word-break: break-word;
}
textarea {
    width: 80%;
    height: 4rem;
    background: white;
    border: 1px solid gray!important;
}
    textarea:focus {
        border: 2px solid #0078D7!important;
    }

.Misce_Radio_but_box{
    display:grid;
    gap:1rem;
    padding:1rem;
    box-sizing:border-box;
}
.Misce_radio_content{
    display:flex;
    align-items:center;
}
.radio_cont {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    box-sizing: border-box;
}
.Date_container{
    display:flex;
    align-items:center;
    width:40%;
/*    justify-content:space-between;*/
}
.Date_container span{
    margin-left:0.5rem;
}
.ClassicStyle{
    border-radius:0.3rem!important;
}
.ClassicStyle .TitleStyle {
    background-color: #0078D7!important;
}
@media only screen and (max-width:850px) {
    *{
        font-size:small;
    }
    .Sub_forms{
        grid-template-columns:1fr;
    }
    .Sub_forms_2{
        grid-template-columns:1fr;
    }
    .bottom_form {
        margin: 0;
        text-align: center;
        grid-template-columns:1fr;
    }
}