.hyth-redpack-content {
	position:fixed;
	z-index: 9999;
	width: 100%;
	height: 100%;
	display: none;
}
.hyth-red-box {
	position:absolute;
}
.hyth-red-box img {
	width:50px;
	height:auto;
	cursor:pointer;
}
.hyth-redpack-hide {
	display:none;
}
.hyth-redpack-time {
	position:fixed;
	right:30px;
	bottom:40px;
	color:red;
	font-size:20px;
	z-index: 9999;
	display: none;
}

/*电脑端*/
.hyth-redpack-rain-form .ls-txk-xz {
    top: 20px;
}
.hyth-redpack-rain-form .layui-layer-setwin {
	top: unset;
    bottom: -50px;
    right: 95px;
}
.hyth-redpack-rain-form .hyth-red-rain-content {
    width: 170px;
    height: 220px;
    background-color: rgb(210 71 86);
    border-radius: 10px;
    margin-top: 20px;
    background-size: cover;
    background-position: center;
}
.hyth-redpack-rain-form .info {
    height: 80px;
    background: #e94658;
    border-radius: 10px 10px 0 0;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hyth-redpack-rain-form .info img {
	border-radius: 50%;
    margin-top: 20px;
    width: 40px;
    height: 40px;
}
.hyth-redpack-rain-form .info .desc {
	position: absolute;
    bottom: -20px;
    z-index: 1;
    color: #fff;
    overflow: hidden;
    max-width: 90%;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.hyth-redpack-rain-form .open {
    height: 80px;
    background: #e94658;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hyth-redpack-rain-form .open span {
    display: inline-block;
    width: 50px;
    height: 50px;
    text-align: center;
    line-height: 50px;
    background-color: #f3b860;
    border-radius: 100%;
    color: #fff;
    margin-top: 45px;
    cursor: pointer;
    z-index: 5;
}
.hyth-redpack-rain-form .open span:hover {
    transform: scale(1.1);
}
.hyth-redpack-rain-form .hyth-red-rain-content .footer {
	background-image: radial-gradient(160px at 85px 0px, #e946580a 160px, rgb(210 71 86) 161px);
    position: absolute;
    bottom: 0px;
    width: 100%;
    height: 100%;
    z-index: 2;
    border-radius: 10px;
}
.hyth-redpack-rain-form .hyth-red-rain-content .footer .tips {
	text-align: center;
    position: relative;
    margin-top: 110%;
    color: #f1b25e;
}
.hyth-redpack-rain-form .hyth-red-rain-content {
	margin-top: 20px;
}
.hyth-redpack-rain-form .hyth-redpack-content-open {
	width: 90%;
    height: 180px;
    background: #f3b860;
    position: absolute;
    bottom: 0;
    animation: hyth-redpack-sport .1s;
    transform: translateY(0px);
    border-radius: 5px;
    text-align: center;
    color: #ff0000;
    font-weight: 600;
    display: grid;
    place-content: center;
    line-height: 30px;
    z-index: 1;
}
.hyth-redpack-rain-form .hyth-redpack-content-open .redbag-hr {
	background: -webkit-linear-gradient(left, rgba(248,215,59,0),#f1001b, rgba(248,215,59,0));
    height: 1px;
}
.hyth-redpack-rain-form,.layui-m-layer-hyth-redpack-rain-form {
	background-color: #fff0 !important;
	box-shadow: none !important;
}


.hyth-red-pack-publish-form .hyth-red-pack-publish-box {
    padding: 10px;
}
.hyth-red-pack-publish-form .hyth-red-pack-publish-box span {
    position: absolute;
    color: #333;
    margin-left: 10px;
    line-height: 40px;
    font-size:14px;
}
.hyth-red-pack-publish-form .hyth-red-pack-publish-box input {
    width: 100%;
    box-sizing: border-box;
    height: 40px;
    border: none;
    resize: none;
    background-repeat: no-repeat;
    background-position: right 5px;
    background-size: 600px;
    padding: 5px;
    background-color: #f8f8f8;
    border-radius: 5px;
    font-size: 14px;
    background-size: cover !important;
    background-position: center !important;
    padding-left: 80px;
}
.hyth-red-pack-publish-form .hyth-red-pack-publish-box .credit,.hyth-red-pack-publish-form .hyth-red-pack-publish-box .number {
    margin-bottom: 10px;
}
.hyth-red-pack-publish-form .hyth-red-pack-publish-btn {
    text-align: center;
    padding: 10px;
    background-color: var(--jinsom-color);
    color: #fff;
    margin: 12px auto;
    cursor: pointer;
    border-radius: 2px;
    opacity:0.8;
}
.hyth-red-pack-publish-form .hyth-red-pack-publish-btn:hover {
    opacity:1;
}


/*移动端*/
.layui-m-layer-hyth-redpack-rain-form .ls-txk-xz {
    top: 5vw;
}
.layui-m-layer-hyth-redpack-rain-form .hyth-red-rain-content {
    width: 40vw;
    height: 50vw;
    background-color: rgb(210 71 86);
    border-radius: 3vw;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.layui-m-layer-hyth-redpack-rain-form .hyth-red-rain-content .info {
	height: 15vw;
    border-radius: 3vw 3vw 0 0;
    background: #e94658;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
.layui-m-layer-hyth-redpack-rain-form .hyth-red-rain-content .info img {
	border-radius: 50%;
    margin-top: 5vw;
    width: 8vw;
    height: 8vw;
}
.layui-m-layer-hyth-redpack-rain-form .hyth-red-rain-content .info .desc {
	position: absolute;
    bottom: -10vw;
    z-index: 1;
    color: #fff;
    overflow: hidden;
    max-width: 90%;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.layui-m-layer-hyth-redpack-rain-form .hyth-red-rain-content .open {
	height: 20vw;
    background: #e94658;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    width: 100%;
    top: 15vw;
}
.layui-m-layer-hyth-redpack-rain-form .hyth-red-rain-content .open span {
    display: inline-block;
    width: 10vw;
    height: 10vw;
    text-align: center;
    line-height: 10vw;
    background-color: #f3b860;
    border-radius: 100%;
    color: #fff;
    margin-top: 18vw;
    z-index: 5;
}
.layui-m-layer-hyth-redpack-rain-form .hyth-red-rain-content .footer {
	background-image: radial-gradient(35vw at 20vw 0vw, #e946580a 35vw, rgb(210 71 86) 35.3vw);
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    border-radius: 3vw;
}
.layui-m-layer-hyth-redpack-rain-form .hyth-red-rain-content .footer .tips {
	text-align: center;
    position: relative;
    margin-top: 40vw;
    color: #f1b25e;
}
.layui-m-layer-hyth-redpack-rain-form .hyth-redpack-content-open {
	width: 90%;
    height: 40vw;
    background: #f3b860;
    position: absolute;
    bottom: 0;
    animation: hyth-redpack-sport .1s;
    transform: translateY(0px);
    border-radius: 1vw;
    text-align: center;
    color: #ff0000;
    font-weight: 600;
    display: grid;
    place-content: center;
    line-height: 8vw;
    z-index: 1;
}
.layui-m-layer-hyth-redpack-rain-form .hyth-redpack-content-open .redbag-hr {
	background: -webkit-linear-gradient(left, rgba(248,215,59,0),#f1001b, rgba(248,215,59,0));
    height: 1px;
}
@keyframes hyth-redpack-sport {
    0%   {transform: translateY(80px);opacity: 0;}
    25%  {transform: translateY(50px);opacity: 0.2}
    50%  {transform: translateY(20px);opacity: 0.5}
    100% {transform: translateY(0px);opacity: 1}
}

.layui-m-layer-hyth-red-pack-publish-form .hyth-red-pack-publish-box {
	padding: 2vw;
}
.layui-m-layer-hyth-red-pack-publish-form .hyth-red-pack-publish-box span {
	position: absolute;
    color: #333;
    margin-left: 2vw;
    line-height: 10vw;
}
.layui-m-layer-hyth-red-pack-publish-form .hyth-red-pack-publish-box input {
	width: 100%;
    box-sizing: border-box;
    height: 10vw;
    border: none;
    resize: none;
    background-repeat: no-repeat;
    background-position: right 2vw;
    background-size: 600px;
    padding: 3vw;
    background-color: #f8f8f8;
    border-radius: 1vw;
    font-size: 4vw;
    background-size: cover !important;
    background-position: center !important;
    padding-left: 20vw;
}
.layui-m-layer-hyth-red-pack-publish-form .hyth-red-pack-publish-box .credit,.layui-m-layer-hyth-red-pack-publish-form .hyth-red-pack-publish-box .number {
    margin-bottom: 5vw;
}
.layui-m-layer-hyth-red-pack-publish-form .hyth-red-pack-publish-btn {
	text-align: center;
    padding: 2vw;
    background-color: var(--jinsom-color);
    color: #fff;
    margin: 12px auto;
    cursor: pointer;
    border-radius: 1vw;
}