﻿@charset "utf-8";

/* =========================================================
   Validform
   Theme: #0e5aa4 / #f7b901
   ========================================================= */


/* ===================== 普通验证提示 ===================== */

.Validform_checktip {
    margin-left: 8px;
    line-height: 25px;
    overflow: hidden;
    color: #999;
    font-size: 14px;
}


/* 验证通过 */

.Validform_right {
    padding-left: 20px;
    color: #22a66a;
    background: url(valid_icons.png) no-repeat -40px -20px;
}


/* 验证失败 */

.Validform_wrong {
    padding-left: 20px;
    color: #e5484d;
    white-space: nowrap;
    background: url(valid_icons.png) no-repeat -20px -40px;
}


/* 加载中 */

.Validform_loading {
    padding-left: 20px;
    background: url(icon_onload.gif) no-repeat left center;
}


/* 输入框错误状态 */

.Validform_error {
    background: #fffdf4 !important;
    border-color: #f7b901 !important;
    box-shadow: 0 0 0 4px rgba(247, 185, 1, .13) !important;
}


/* =========================================================
   Validform 弹窗
   ========================================================= */

#Validform_msg {
    position: fixed !important;
    left: 50% !important;
    top: 50% !important;
    z-index: 100003 !important;
    display: none;
    width: 420px !important;
    max-width: calc(100% - 32px) !important;
    margin: 0 !important;
    padding: 0 !important;
    transform: translate(-50%, -50%) !important;
    color: #344054;
    font-family: "Microsoft YaHei", Arial, sans-serif;
    background: #fff !important;
    border: none !important;
    border-radius: 18px !important;
    overflow: hidden !important;
    box-shadow: 0 20px 60px rgba(14, 90, 164, .18), 0 6px 20px rgba(0, 0, 0, .06) !important;
    filter: none !important;
}


    /* 去掉旧版 iframe */

    #Validform_msg .iframe {
        display: none !important;
    }


    /* =========================================================
   顶部标题栏
   ========================================================= */

    #Validform_msg .Validform_title {
        position: relative !important;
        width: 100% !important;
        height: 58px !important;
        display: flex !important;
        align-items: center !important;
        box-sizing: border-box !important;
        margin: 0 !important;
        padding: 0 64px 0 22px !important;
        line-height: 58px !important;
        color: #fff !important;
        font-size: 16px !important;
        font-weight: 600 !important;
        text-align: left !important;
        background: linear-gradient( 100deg, #0e5aa4 0%, #176bb0 72%, #2878bc 100% ) !important;
        border: none !important;
    }


        /* 标题警告图标 */

        #Validform_msg .Validform_title::before {
            content: "\f071";
            flex: 0 0 auto;
            display: inline-flex !important;
            align-items: center !important;
            justify-content: center !important;
            margin-right: 10px !important;
            font-family: FontAwesome !important;
            font-size: 17px !important;
            font-weight: normal !important;
            line-height: 1 !important;
            color: #f7b901 !important;
        }


        /* 标题中的普通链接 */

        #Validform_msg .Validform_title a:not(.Validform_close) {
            color: #fff !important;
            text-decoration: none !important;
        }


    /* =========================================================
   Close 关闭按钮
   默认直接显示黄色
   ========================================================= */

    #Validform_msg .Validform_close,
    #Validform_msg a.Validform_close,
    #Validform_msg a.Validform_close:link,
    #Validform_msg a.Validform_close:visited {
        position: absolute !important;
        right: 16px !important;
        top: 50% !important;
        z-index: 10 !important;
        width: 32px !important;
        height: 32px !important;
        display: block !important;
        margin: 0 !important;
        padding: 0 !important;
        border: none !important;
        border-radius: 50% !important;
        background: #f7b901 !important;
        background-image: none !important;
        color: transparent !important;
        font-size: 0 !important;
        line-height: 0 !important;
        text-indent: -9999px !important;
        overflow: hidden !important;
        transform: translateY(-50%) !important;
        box-shadow: 0 4px 12px rgba(247, 185, 1, .30) !important;
        cursor: pointer !important;
        transition: background .2s ease, transform .2s ease, box-shadow .2s ease !important;
    }


        /* Close 的 X */

        #Validform_msg .Validform_close::before,
        #Validform_msg .Validform_close::after {
            content: "";
            position: absolute !important;
            left: 50% !important;
            top: 50% !important;
            width: 14px !important;
            height: 2px !important;
            margin: 0 !important;
            border: 0 !important;
            border-radius: 2px !important;
            background: #fff !important;
            transform-origin: center center !important;
        }


        #Validform_msg .Validform_close::before {
            transform: translate(-50%, -50%) rotate(45deg) !important;
        }


        #Validform_msg .Validform_close::after {
            transform: translate(-50%, -50%) rotate(-45deg) !important;
        }


        /* Close Hover */

        #Validform_msg .Validform_close:hover,
        #Validform_msg a.Validform_close:hover {
            background: #0a4c8e !important;
            transform: translateY(-50%) rotate(90deg) !important;
            box-shadow: 0 5px 16px rgba(14, 90, 164, .28) !important;
        }


    /* =========================================================
   提示正文
   ========================================================= */

    #Validform_msg .Validform_info {
        position: relative !important;
        width: 100% !important;
        min-height: 112px !important;
        display: flex !important;
        align-items: center !important;
        box-sizing: border-box !important;
        margin: 0 !important;
        padding: 26px 28px 26px 88px !important;
        color: #344054 !important;
        font-size: 16px !important;
        font-weight: 400 !important;
        line-height: 25px !important;
        text-align: left !important;
        background: #fff !important;
        border: none !important;
    }


        /* 左侧感叹号圆形图标 */

        #Validform_msg .Validform_info::before {
            content: "\f12a";
            position: absolute !important;
            left: 26px !important;
            top: 50% !important;
            width: 44px !important;
            height: 44px !important;
            display: flex !important;
            align-items: center !important;
            justify-content: center !important;
            box-sizing: border-box !important;
            border-radius: 50% !important;
            font-family: FontAwesome !important;
            font-size: 20px !important;
            font-weight: normal !important;
            line-height: 1 !important;
            color: #0e5aa4 !important;
            background: #f7b901 !important;
            box-shadow: 0 8px 18px rgba(247, 185, 1, .24) !important;
            transform: translateY(-50%) !important;
        }


        /* 不需要原来的底部分割线 */

        #Validform_msg .Validform_info::after {
            display: none !important;
        }


/* =========================================================
   移动端
   ========================================================= */

@media screen and (max-width: 768px) {

    #Validform_msg {
        width: calc(100% - 28px) !important;
        max-width: 420px !important;
        border-radius: 16px !important;
    }


        #Validform_msg .Validform_title {
            height: 54px !important;
            padding: 0 58px 0 18px !important;
            line-height: 54px !important;
            font-size: 15px !important;
        }


            #Validform_msg .Validform_title::before {
                margin-right: 8px !important;
                font-size: 15px !important;
            }


        #Validform_msg .Validform_close,
        #Validform_msg a.Validform_close {
            right: 12px !important;
            width: 30px !important;
            height: 30px !important;
        }


        #Validform_msg .Validform_info {
            min-height: 100px !important;
            padding: 22px 20px 22px 74px !important;
            font-size: 14px !important;
            line-height: 23px !important;
        }


            #Validform_msg .Validform_info::before {
                left: 20px !important;
                width: 40px !important;
                height: 40px !important;
                font-size: 18px !important;
            }
}
