/* ly修改 */

/*------------------------------------------------------------------
 * Theme Name: iofrm - theme
 * Theme URI: http://www.brandio.io/envato/iofrm
 * Author: Brandio
 * Author URI: http://www.brandio.io/
 * Copyright 2019 Brandio.
 -------------------------------------------------------------------*/
/*------------------------------------------------------------------
[Table of contents]

1. General Styles.
2. Responsive Styles.
-------------------------------------------------------------------*/
/* -----------------------------------
    1 - General Styles
------------------------------------*/
:root{
    --font-size: 16px;
}
*, body{
    font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB W3", Helvetica, "Heiti SC", "Droid Sans", sans-serif;
}
.form-body {
    background-color: #fff;
}

.website-logo {
    display: inline-block;
    top: 50px;
    left: 50px;
    right: initial;
    bottom: initial;
}

.website-logo img {
    width: 100px;
}

.website-logo .logo {
    background-image: url("https://hub-assets.baai.ac.cn/user-v1/images/logo.png");
}

.website-logo .logo img {
    width: 100px;
}

.website-logo-inside img {
    width: 100px;
}

.website-logo-inside .logo {
    background-image: url(https://hub-assets.baai.ac.cn/user-v7/images/logo.png);
    width: 166px;
    height: 48px;
    background-size: 166px 48px;
}

.website-logo-inside .logo img {
    width: 100px;
}

.website-logo-inside {
    margin-bottom: 2.5rem;
    text-align: center;
}

.img-holder {
    width: 550px;
    background-color: #ffffff;
    padding: 60px 40px;
}
.img-holder .bg{
    opacity: 1;
}
.img-holder .info-holder h3 {
    color: #fff;
    text-align: left;
    font-weight: 600;
    font-size: 24px;
    line-height: 24px;
    position: relative;
    margin-bottom: 50px;
}
.img-holder .info-holder h3::after{
    position: absolute;
    left: 0;
    right: 0;
    bottom: -20px;
    content: '';
    height: 4px;
    background: #FFFFFF;
}

.img-holder .info-holder p {
    text-align: left;
    font-size: var(--font-size);
    color: #FFFFFF;
    line-height: 36px;
    font-weight: 400;
}

.img-holder .info-holder h3, .img-holder .info-holder p {
    padding: 0;
    max-width: unset;
}

.form-holder {
    margin-left: 550px;
}

.form-holder .form-content ::-webkit-input-placeholder, .form-holder .form-content :-moz-placeholder, .form-holder .form-content ::-moz-placeholder, .form-holder .form-content :-ms-input-placeholder {
    font-weight: 400;
    font-size: var(--font-size);
    color: #999999;
}

.form-content {
    background-color: #fff;
}

.form-content .form-group {
    color: #606060;
}

.form-content .form-items {
    max-width: 450px;
    text-align: left;
}

.form-content h3 {
    color: #606060;
    text-align: left;
}

.form-content p {
    color: #606060;
    text-align: left;
}

.form-content label {
    font-weight: 500;
    color: #333333;
    font-size: var(--font-size);
}

.form-content .page-links a {
    color: #606060;
}

.form-content .page-links a:after {
    background-color: rgba(222, 222, 222, 0.7);
}

.form-content .page-links a.active:after {
    background-color: #0092FE;
}

.form-content .page-links a:hover:after, .form-content .page-links a:focus:after {
    background-color: #0092FE;
}

.form-content input, .form-content .dropdown-toggle.btn-default {
    border-radius: 4px;
    border: 1px solid #2857FF;
    background-color: #fff;
    font-weight: 400;
    font-size: var(--font-size);
    color: #333333;
    padding: 7px 9px;
}

.form-content input:hover, .form-content input:focus, .form-content .dropdown-toggle.btn-default:hover, .form-content .dropdown-toggle.btn-default:focus {
    border: 1px solid #0093FF;
    background-color: #fff;
    color: #000;
}

.form-content textarea {
    border: 1px solid #C3C3C3;
    background-color: #fff;
    color: #000;
}

.form-content textarea:hover, .form-content textarea:focus {
    border: 1px solid #0093FF;
    background-color: #fff;
    color: #000;
}

.form-content .custom-file-label {
    border: 1px solid #C3C3C3;
    background-color: #fff;
    color: #000;
}

.form-content .custom-file-label:after {
    color: #0093FF;
}

.form-content .custom-file:hover .custom-file-label, .form-content .custom-file:focus .custom-file-label {
    border: 1px solid #0093FF;
    background-color: #fff;
    color: #000;
}

.form-content input[type="checkbox"]:not(:checked) + label, .form-content input[type="checkbox"]:checked + label, .form-content input[type="radio"]:not(:checked) + label, .form-content input[type="radio"]:checked + label {
    color: #606060;
    font-weight: 400;
    padding-left: 5px;
    cursor: default;
}

.form-content input[type="checkbox"]:checked + label, .form-content input[type="radio"]:checked + label {
    color: #000;
}

.form-content input[type="checkbox"]:checked + label:before, .form-content input[type="radio"]:checked + label:before {
    /* background: #000;
    border: 0px solid #000; */
    content: none;
}

.form-content input[type="checkbox"]:not(:checked) + label:before, .form-content input[type="radio"]:not(:checked) + label:before {
    /* background: transparent;
    border: 2px solid #000; */
    content: none;
}
.form-content input[type="checkbox"]:not(:checked), .form-content input[type="checkbox"]:checked, .form-content input[type="radio"]:not(:checked), .form-content input[type="radio"]:checked{
    position: initial;
}

.form-content input[type="checkbox"]:not(:checked) + label:after, .form-content input[type="checkbox"]:checked + label:after {
    color: #fff;
    content: none;
}

.form-content input[type="radio"]:not(:checked) + label:after, .form-content input[type="radio"]:checked + label:after {
    background-color: #fff;
    content: none;
}

.form-content .custom-options input[type="checkbox"]:not(:checked) + label, .form-content .custom-options input[type="checkbox"]:checked + label, .form-content .custom-options input[type="radio"]:not(:checked) + label, .form-content .custom-options input[type="radio"]:checked + label {
    color: #606060;
    background-color: #F7F7F7;
}

.form-content .custom-options input[type="checkbox"]:checked + label, .form-content .custom-options input[type="radio"]:checked + label {
    color: #fff;
    background-color: #0093FF;
    -webkit-box-shadow: 0 3px 8px rgba(80, 182, 255, 0.31);
    box-shadow: 0 3px 8px rgba(80, 182, 255, 0.31);
}

.form-content .form-button label{
    font-size: 14px;
    color: #666666;
    font-weight: 400;
}
.form-content .form-button .ibtn {
    width: 100%;
    background: #2857FF;
    border-radius: 4px;
    font-size: var(--font-size);
    color: #FFFFFF;
    margin-bottom: 20px;
}

.form-content .form-button .ibtn:hover, .form-content .form-button .ibtn:focus {
    opacity: 0.8;
}

.form-content .form-button a {
    color: #000;
}

.form-content .other-links span {
    color: #000;
}

.form-content .other-links a {
    color: #000;
}

.form-content .form-sent .tick-holder .tick-icon {
    background-color: rgba(233, 253, 214, 0);
}

.form-content .form-sent .tick-holder .tick-icon:before {
    background-color: #8CCB57;
}

.form-content .form-sent .tick-holder .tick-icon:after {
    background-color: #8CCB57;
}

.form-content .form-sent h3 {
    color: #000;
}

.form-content .form-sent p {
    color: #000;
}

.form-content .form-sent .info-holder {
    color: #000;
    border-top: 1px solid rgba(0, 0, 0, 0.5);
}

.form-content .form-sent .info-holder span {
    color: #000;
}

.form-content .form-sent .info-holder a {
    color: #000;
}

@keyframes tick-anime3 {
    0% {
        background-color: rgba(233, 253, 214, 0);
        -webkit-transform: rotate(35deg) scale(2);
        -moz-transform: rotate(35deg) scale(2);
        -ms-transform: rotate(35deg) scale(2);
        transform: rotate(35deg) scale(2);
    }

    100% {
        background-color: #E9FDD6;
        -webkit-transform: rotate(45deg) scale(1);
        -moz-transform: rotate(45deg) scale(1);
        -ms-transform: rotate(45deg) scale(1);
        transform: rotate(45deg) scale(1);
    }
}

.alert {
    color: #000;
}

.alert.alert-primary {
    background-color: #e2f0ff;
    border-color: #3a86d6;
}

.alert.alert-primary hr {
    border-top-color: #3a86d6;
}

.alert.alert-secondary {
    background-color: #f0f0f0;
    border-color: #8e9396;
}

.alert.alert-secondary hr {
    border-top-color: #8e9396;
}

.alert.alert-success {
    background-color: #F7FFF0;
    border-color: #8CCB57;
}

.alert.alert-success hr {
    border-top-color: #8CCB57;
}

.alert.alert-danger {
    background-color: #FFFAFA;
    border-color: #F55050;
}

.alert.alert-danger hr {
    border-top-color: #F55050;
}

.alert.alert-warning {
    background-color: #fff8e1;
    border-color: #f1cb4b;
}

.alert.alert-warning hr {
    border-top-color: #f1cb4b;
}

.alert.alert-info {
    background-color: #dcedf1;
    border-color: #42bfdb;
}

.alert.alert-info hr {
    border-top-color: #42bfdb;
}

.alert.alert-light {
    background-color: #fefefe;
    border-color: #a7a4a4;
}

.alert.alert-light hr {
    border-top-color: #a7a4a4;
}

.alert.alert-dark {
    background-color: #d6d8d9;
    border-color: #525557;
}

.alert.alert-dark hr {
    border-top-color: #525557;
}

.alert.with-icon.alert-primary:before {
    color: #3a86d6;
}

.alert.with-icon.alert-secondary:before {
    color: #8e9396;
}

.alert.with-icon.alert-success:before {
    color: #8CCB57;
}

.alert.with-icon.alert-danger:before {
    color: #F55050;
}

.alert.with-icon.alert-warning:before {
    color: #f1cb4b;
}

.alert.with-icon.alert-info:before {
    color: #42bfdb;
}

.alert.with-icon.alert-light:before {
    color: #a7a4a4;
}

.alert.with-icon.alert-dark:before {
    color: #525557;
}

.alert a, .alert a.alert-link {
    color: #000;
}

.alert .close {
    color: #727272;
}

.alert .close span {
    color: #727272;
}

.form-body.without-side .img-holder .info-holder img {
    display: inline-block;
}

.form-body.without-side .form-content .page-links a:after {
    background-color: rgba(222, 222, 222, 0.7);
}

.form-body.without-side .form-content .page-links a.active:after {
    background-color: #0092FE;
}

.form-body.without-side .form-content .page-links a:hover:after, .form-body.without-side .form-content .page-links a:focus:after {
    background-color: #0092FE;
}

.form-body.without-side .form-content .form-button .ibtn {
    background-color: #fff;
    color: #0093FF;
    -webkit-box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16);
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16);
}

.form-body.without-side .form-content .form-button .ibtn:hover, .form-body.without-side .form-content .form-button .ibtn:focus {
    -webkit-box-shadow: 0 5px 6px rgba(80, 182, 255, 0.31);
    box-shadow: 0 5px 6px rgba(80, 182, 255, 0.31);
}
.phone-field .xh-input-group{
    display: flex;
}
.phone-field .xh-input-group-btn{
    margin-right: 20px;
}
.phone-field .xh-input-group select{
    appearance: none;
    -moz-appearance: none;
    -webkit-appearance: none;
    color: #ffffff;
    font-weight: 400;
    font-size: var(--font-size);
    border: none;
    background: #2857FF url(https://hub-assets.baai.ac.cn/user-v7/images/arrow-down-s-line.svg) no-repeat right center;
    background-size: 20px;
    background-position-x: calc(100% - 3px);
    padding: 0 20px 0 10px;
    height: 40px !important;
    cursor: pointer;
}


.phone-field .xh-input-group input{
    flex: 1;
}
.phone-code{
    position: relative;
}
.phone-code .get-code{
	position: absolute;
    line-height: 40px;
    right: 10px;
    font-size: 14px;
    bottom: 0;
}
.phone-code-control{
    position: relative;
}
.phone-code-control input{
    padding-right: 100px;
}
.phone-code-control button{
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    border: none;
    background: none;
    outline: none;
    font-size: var(--font-size);
    color: #2857FF;
    border-left: 1px solid #2857FF;
    cursor: pointer;
    padding: 0 10px;
}

/* -----------------------------------
    2 - Responsive Styles
------------------------------------*/
@media (max-width: 992px) {
    :root{
        --font-size: 14px;
    }
    .form-holder {
        margin-left: 0;
    }

    .form-holder .form-content{
        width: 100%;
        height: 100%;
        background-image: url(https://hub-assets.baai.ac.cn/user-v7/images/bg.png);
        background-size: cover;
        background-position: center;
        padding: 0 15px;
    }
    .website-logo-inside{
        margin: 40px auto 30px;
    }
    .website-logo-inside .logo{
        width: 158px;
        height: 45px;
        background-image: url(https://hub-assets.baai.ac.cn/user-v7/images/logo-white.png);
        background-size: 158px 45px;
    }
    .website-logo {
        top: 50px;
        left: 50px;
        right: initial;
        bottom: initial;
    }

    .website-logo .logo {
        background-image: url("https://hub-assets.baai.ac.cn/user-v1/images/logo.png");
    }

    .form-body.without-side .website-logo .logo {
        background-image: url("https://hub-assets.baai.ac.cn/user-v1/images/logo.png");
    }

    .form-content .form-items{
        max-width: 100%;
        margin: 0;
    }
    .form-content .form-main{
        background: #FFFFFF;
        border-radius: 10px;
        padding: 15px 0;
    }
    .form-content .row{
        margin: 0;
    }
    .form-content label{
        font-size: var(--font-size);
        margin-bottom: 5px;
    }
    .form-content input, .form-content .dropdown-toggle.btn-default{
        margin-bottom: 10px;
    }
    .phone-field .xh-input-group select{
        width: 118px !important;
        height: 37px !important;
    }
    .phone-field .xh-input-group-btn{
        margin-right: 15px;
    }
}
