@charset "utf-8";
/* CSS Document */

body {
    text-align: center;
    margin: 0;
}

.fluid {
    padding: 50px 0;
}

.fluid,
.formborder {
    max-width: 1000px;
    margin: auto;
}

.logo {
    width:100%;max-width: 680px;padding-top: 20px;
}

h1 {
    margin-top: 0px
}

img {
    width: 100%;
}

.formborder {
    width: calc(100% - 40px);
    border-radius: 10px;
    background: #fafafab3;
    color: #565656;
    text-align: left;
    padding-bottom: 20px;
    box-shadow: 0 0 10px rgb(0 0 0 / 10%);
}

.formborder h2 {
    margin: 0;
    padding: 20px 0;
    background: #666;
    color: #fff;
    border-radius: 10px 10px 0 0;
}

.formstyle{
    margin:0 20px 20px
}

.formstyle>div:last-child {
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

.formstyle>div:nth-child(2) {
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.formstyle>strong {
    padding: 10px 5px;
    display: block;
}

.formstyle>div {
    background: #fff;
    margin-bottom: 1px;
    padding: 10px 15px;
}


.formstyle t {
    width: 100px;
    display: inline-block;
    border-right: 1px solid #ccc;
    margin-right: 10px;
}

r,red {
    color: red;
}

.formstyle input,
.formstyle select,
.formstyle textarea {
    border: 0;
    width: calc(100% - 135px);
}


.formstyle input:focus,
.formstyle select:focus,
.formstyle textarea:focus {
    outline: none;
}

.formstyle label input {
    width: auto;
}

.formstyle label {
    width: 118px;
    padding: 3px;
    display: inline-block;
}

input,
select,
textarea {
    padding: 7px 10px;
    border-radius: 5px;
    border: solid 1px #59766d;
    font-size: 15px;
}

#btnSubmit {
    padding: 10px 0px;
    border: none;
    border-radius: 10px;
    background-color: #4d4d4dc2;
    text-align: center;
    color: white;
    font-size: 18px;
    margin: 20px;
    display: block;
    text-decoration: none;
    transition: all 300ms;
}

#btnSubmit:hover {
    background-color: #4d4d4d;
}

h2 {
    font-family: 'Cinzel', 'Philosopher', sans-serif;
    font-weight: 600
}

.formborder {
    background: #f3f3f3;
    box-shadow: 0 0 10px rgb(0 0 0 / 20%);
}


#btnSubmit {
    background-color: #666 !important;
    cursor: pointer;
}

#btnSubmit:hover {
    background-color: #666 !important;
}

.formstyle strong {
    color: #58402d;
}

form {
    padding: 20px 10px 0;
}

.formstyle t {
    width: 120px;
}

.formstyle input,
.formstyle select,
.formstyle textarea {
    width: calc(100% - 160px);
}

.formstyle label {
    max-width: 200px;
    width: 100%;
}

.formstyle label.sm {
    width: 50px;
}

a.button {
    border: 2px solid #666;
    color: #666;
    cursor: pointer;
    margin: 30px auto 0;
    padding: 7px 20px;
    border-radius: 20px;
    display: block;
    width: 140px;
    text-align: center;
    font-weight: 700;
    transition: all 300ms;
}

a.button:hover,
a.button.active {
    color: #fff;
    background: #666;
    font-weight: 400;
}

.ask p{
    margin: 10px 0;
    color:#4d4d4d94;
    font-size: 14px;
}

.ask textarea{
    width: calc(100% - 20px);border-top-left-radius: 10px;border-top-right-radius: 10px;
}

#success{
    display: none;
    position: fixed;
    top:0;left: 0;
    width: 100vw;
    height: 100vh;
    background: rgb(0 0 0 / 75%); 
    z-index: 10;
}
#success>div{
    position: fixed;
    top:calc(50vh - 150px);
    left: calc(50vw - 150px);
    width: 300px;
    height: 200px;
    background: #fff;
    border-radius: 10px;
    padding: 45px 0;
    text-align: center
}
#success>div .true{
    background: #666;
    border-radius: 50px;
    color: #fff;
    font-size: 30px;
    display: inline-block;
    padding: 11px 20px;
}
#success p{
    font-size: 13px;margin-bottom: 20px；
}
#success p{
    font-size: 16px;
    line-height: 1.6;
    color: #666;
}

#success #link{
    background: #666;
    border-radius: 50px;
    color: #fff;
    padding: 8px 47px;
    text-decoration: none;
}

@media (max-width:500px) {
    .formstyle t {
        width: 83px
    }

    .formstyle input,
    .formstyle select,
    .formstyle textarea {
        width: calc(100% - 120px);
    }

}
