/*
Theme Name: Enfold Child
Theme URI: https://themeforest.net/item/enfold-responsive-multipurpose-theme/full_screen_preview/4519990
Author: ChildThemeWP.com
Author URI: https://childthemewp.com
Description: My WordPress Enfold child theme.
Template: enfold
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Version: 1.0.0
Text Domain: enfold-child
*/
/* leo float form*/
.side-form-wrapper {
    z-index: 9999;
    position: fixed;
    right: 0;
}


/* 表单呼出按钮 */

#side-form-button {
    width: 40px;
    height: 40px;
    padding: 5px;
    color: #fff;
    background-color: #000;
    position: fixed;
    right: 20px;
    bottom: 30%;
    border-radius: 10px;
    cursor: pointer;
    z-index: 300;
}

#side-form-button .side-form-icon {
    display: block;
    width: 50%;
    height: 50%;
    border: 2px solid #fff;
    border-radius: 5px;
    background-color: transparent;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

#side-form-button .side-form-icon:before {
    content: "";
    display: block;
    width: 60%;
    height: 8px;
    background-color: #000;
    border-radius: 5px;
    position: absolute;
    top: -3px;
    right: -4px;
    transform: rotate(-45deg);
}

#side-form-button .side-form-icon:after {
    content: "";
    display: block;
    width: 60%;
    height: 3px;
    border-radius: 5px;
    background-color: #fff;
    border-radius: 10px;
    position: absolute;
    top: 0;
    right: -3px;
    transform: rotate(-45deg);
}


/*end 表单呼出按钮 */


/*  表单模块 */

#leo-side-contact-form {
    width: 300px;
    padding: 10px 20px 0;
    box-shadow: 0 0 20px #000;
    background: #fff;
    position: fixed;
    right: 10px;
    top: 50%;
    transform: translate(130%, -50%);
    transition: all .5s;
    z-index: 998;
}

#leo-side-contact-form.active {
    transform: translate(0, -50%);
}


#leo-side-contact-form .closeBtn {
    width: 30px;
    height: 30px;
    display: block;
    position: absolute;
    top: 5px;
    right: 5px;
    cursor: pointer;
}

#leo-side-contact-form .closeBtn:before,
#leo-side-contact-form .closeBtn:after {
    content: "";
    display: block;
    width: 20px;
    height: 2px;
    background-color: #000;
    position: absolute;
    top: 50%;
    left: 50%;
}

#leo-side-contact-form .closeBtn:before {
    transform: translate(-50%, -50%) rotate(45deg);
}

#leo-side-contact-form .closeBtn:after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

/*  表单模块 */

/* 输入信息 */
#leo-side-contact-form,
#leo-side-contact-form label,
#leo-side-contact-form input,
#leo-side-contact-form textarea,
#leo-side-contact-form h3 {
    font-family: inherit;
    box-sizing: border-box;
    color: #444f5d;
}

#leo-side-contact-form .form-title {
    font-size: 1.5em;
    font-weight: bold;
    text-align: center;
    padding-bottom: 10px;
}

#leo-side-contact-form .form-line {
    width: 100%;
    padding-bottom: 10px;
}

#leo-side-contact-form .form-line p {
    margin: 0;
}
#leo-side-contact-form.radius .form-line input {
    border-radius: 10px;
}

#leo-side-contact-form .form-line label {
    font-weight: normal;
    text-align: left;
    font-size: 14px;
}

#leo-side-contact-form .form-line input,
#leo-side-contact-form .form-line textarea {
    display: block;
    width: 100%;
    height: auto;
    margin: auto;
    padding: 10px;
    background-color: #fff;
    border: 1px solid #ccc;
    outline: none;
    font-family: Hind, sans-serif;
    font-weight: 400;
    font-style: normal;
    line-height: 1.2em;
    text-decoration: none;
    text-transform: none;
    letter-spacing: 0px;
}


/* 提交按钮 */

#leo-side-contact-form .form-line input.submit {
    width: 100%;
    border: 1px solid #ccc;
}

#leo-side-contact-form .form-line input.submit:hover {
    background-color: rgba(255, 255, 255, 0);
    border-color: #37c5a6;
    color: #37c5a6;
}


/* 提交按钮 */


/* 输入框 */
#leo-side-contact-form .form-line input:not(.submit):hover,
#leo-side-contact-form .form-line textarea:hover {
    color: #797676;
    border-color: #37c5a6;
    background-color: rgba(255, 255, 255, 0);
}

#leo-side-contact-form .form-line input:not(.submit):focus,
#leo-side-contact-form .form-line textarea:focus {
    color: #797676;
    border-color: #163f7a;
    background-color: rgba(255, 255, 255, 0);
}

@media (max-width: 480px) {
    #leo-side-contact-form label {
        display: none;
    }
}
/*end 输入框
  end 输入信息
  end 悬浮表单
*/