@keyframes animation-flash-show {
    from {opacity: 0}
    to  {opacity: 1;}
}
@keyframes animation-flash-hide {
    from {opacity: 1}
    to  {opacity: 0; display: none;}
}


.main {
    width: 520px;
    margin: 30px auto 0;
    position: relative;
}
.main h1 {
    color: #0F335E;
    text-align: center;
    font-size: 28px;
}
.form-content {
    box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.3);
    border-radius: 2px;
    background-color: #f7f7f7;
    padding: 15px;
    margin: auto;
    border-top: #E8E8E8 1px solid;
}
#contact_form {
    margin-top: 20px;
}
#contact_form table {
    border-spacing: 20px;
    width: 100%;
    margin-bottom: 15px;
}
#contact_form table tr td:first-child {
    text-align: right;
    width: 22%;
    white-space: nowrap;
}
#contact_form input[type="text"], #contact_form input[type="file"], #contact_form select {
    width: 100%;
    border-radius: 5px;
    height: 30px;
    border: 1px solid #d9d9d9;
    font-size: 16px;
    padding-left: 10px;
    font-family: inherit;
    box-sizing: border-box;
    outline: none;
}
#contact_form input[type="text"]:focus, #contact_form textarea:focus{
    border: 1px solid #299CEA;
    box-shadow:rgba(0, 0, 0, 0.298039) 0 1px 2px inset;
}
#contact_form .btn-blue-beating {
    width: 200px;
    line-height: 40px;
    font-size: 16px;
    color: white;
    cursor: pointer;
    background: #007AFF;
    border: none;
    padding: 0 20px;
    border-radius: 4px;
    transition: all 250ms linear 0s;
    font-weight: bold;
}
#contact_form .btn-blue-beating:hover {
    transform: translate(0px, -2px);
}
#contact_form .btn-submit {
    width: 170px;
    height: 37px;
    text-shadow: 0px -1px 2px rgba(1, 0, 0, 0.7);
    font-size: 16px;
    color: white;
    cursor: pointer;
    background: #0571A6;
    border: 1px solid #045a8b;
    padding: 2px 18px 2px;
    line-height: 30px;
    border-radius: 5px;
    overflow: visible;
}
#contact_form .tip-arrow {
    position: absolute;
    right: -10px;
    top: 10px;
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    border-right: 6px solid #A90575;
    display: none;
}
#contact_form input[type="text"]:focus + .tip-arrow, #contact_form textarea:focus + .tip-arrow{
    display: block;
}
#contact_form .error-msg {
    font-size: 12px;
    color: #FF3366;
    margin-right: 10px;
    display: flex;
    align-items: center;
    white-space: normal;
    text-align: left;
}
#contact_form .tip-box {
    color: #FFFFFF;
    font-size: 14px;
    height: 19px;
    padding: 3px 10px;
    position: absolute;
    background: #007AFF;
    left: calc(100% + 15px);
    border-radius: 4px 7px 7px 4px;
    top: 2px;
    width: fit-content;
    display: flex;
    align-items: center;
}
#contact_form .tip-box.hide {
    display: none;
}
#contact_form .tip-box.flash-show {
    animation: animation-flash-show 1s linear 1 forwards;
}
#contact_form .tip-box.flash-hide {
    animation: animation-flash-hide 1s linear 1 forwards;
}

#contact_form .tip-box:after {
    position: absolute;
    border-top: 7px solid transparent;
    border-bottom: 7px solid transparent;
    border-right: 14px solid #007AFF;
    content: "";
    bottom: 5px;
    left: -11px;
}
.validate-box {
    flex: 1;
    margin-left: 10px;
}
.input-box {
    display: flex;
    width: 100%;
    position: relative;
    height: 30px;
    align-items: center;
}
#contact_form .footer_submit_div {
    overflow: hidden;
    margin-bottom: 5px;
    display: flex;
    padding: 5px 0;
}
#contact_form .footer_submit_div .loading {
    margin-right: 20px;
    margin-left: 20px;
    width: 35px;
    height: 35px;
}
.loading img {
    width: 100%;
    height: 100%;
}
.validation-code {
    cursor: pointer;
}

.right-container .success {
    text-align: center;
    margin: 0 auto 30px;
}
.success .tips{
    text-align: left;
    color: #006600;
    font-size: 28px;
    border: solid 1px #119911;
    background: #E6F8DD;
    padding: 40px;
    display: flex;
    align-items: center;
    flex-direction: column;
}
.success .tips .message{
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 30px;
}
.drag-file-box {
    display: flex;
    align-items: center;
    justify-items: center;
    position: fixed;
    z-index: 1000;
    background-color: rgba(35, 129, 196, 0.95);
    /*background-color: rgba(35, 129, 196, 0.7);*/
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    text-align: center;
    font-weight: bold;
    font-size: 42px;
    color: #FFFFFF;
}
#resume_file {
    width: 0;
    border: none;
    padding: 0;
    display: none;
}
.file-box {
    word-break: break-all;
    cursor: pointer;
    color: #119911;
    font-weight: bold;
    font-size: 16px;
}
.check-img {
    width: 90px;
    height: 90px;
    margin-bottom: 40px;
}
.check-img img {
    width: 100%;
    height: 100%;
}
.forbidden-child-pointer-events * {
    pointer-events: none;
}