.sub_menu {
    position: fixed;
    right: 2rem;
    bottom: 3rem;
    z-index: 10;
}

/* img {
    width: 30px;
    max-width: 100%;
    border: 0 none;
    font-size: 0;
    vertical-align: middle;
} */

.sub_menu .call_btn {
    background: #f68b1f;
    color: #fff;
    transition: 0.3s;
    cursor: pointer;
}

/* .sub_menu a {
    display: block;
    position: relative;
    width: 70px;
    height: 70px;
    border-radius: 100%;
    background: #f68b1f;
} */

.sub_menu a {
    display: block;
    position: relative;
    width: 40px;
    height: 40px;
	border: 1px solid #aaa;
	background: url("../images/arrow_up_b.png") no-repeat center center;
	background-size: 65%;
}

.sub_menu a:hover {
    display: block;
    position: relative;
    width: 40px;
    height: 40px;
	border: 1px solid var(--color__primary);
	background: var(--color__primary) url("../images/arrow_up.png") no-repeat center center;
	background-size: 65%;
	transition: all 0.5s;
	border-radius: 50%;
}

.sub_menu .call_btn::before {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: #f68b1f;
    content: "";
    border-radius: 50rem;
    z-index: -1;
    transition: 0.3s;
}

.sub_menu .call_btn:hover::before {
    width: 12.7rem;
    height: 100%;
    border-radius: 5rem;
}

.sub_menu .call_icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: 0.3s;
    width: 3.6rem;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.sub_menu .call_icon img {width: 65%;}

.sub_menu .call_btn:hover .call_icon {
    left: -6rem;
    text-align: center;
}

.sub_menu .call_btn .call_btn_txt {
    opacity: 0;
    position: absolute;
    top: 50%;
	left: -4rem;
    font-size: 1.3rem;
    transform: translateY(-50%);
    text-align: center;
}

.sub_menu .call_btn:hover .call_btn_txt {
    opacity: 1;
    transition-delay: 0.2s;
}

.sub_menu .call_btn.manage .call_btn_txt {
    font-size: 1.7rem;
}

.sub_menu div div:nth-child(n+2) {
    margin-top: 20px;
}

.top-btn {
    /* position: absolute; */
    width: 40px;
    height: 40px;
    font-size: 20px;
    line-height: 50px;
    color: #eaeaea;
    transition: 0.2s;
    text-align: center;
    z-index: 1;
}

.top-btn::before {
    content: "";
    width: 72px;
    height: 72px;
    background-color: #f68b1f;
    border-radius: 50%;
    /* position: absolute; */
    top: -1px;
    left: -1px;
    opacity: 0;
    transition: 0.2s;
    z-index: -1;
}

#to-top2 {
    transform: translate(130px, 0px);
}




@media all and (max-width:1000px) {
	.sub_menu {
		position: fixed;
		right: 0rem;
		bottom: 3rem;
		z-index: 2;
	}

	.top-btn {
		/* position: absolute; */
		width: 37px;
		height: 37px;
		font-size: 20px;
		line-height: 50px;
		color: #eaeaea;
		transition: 0.2s;
		text-align: center;
		z-index: 1;
		margin-right: 10px;
		background: #fff;
	}

	.sub_menu .call_icon img {
		width: 35%;
	}

	.sub_menu a {
		display: block;
		position: relative;
		width: 37px;
		height: 37px;
		/* border-radius: 100%;
		background: #f68b1f; */
	}

	.sub_menu a:hover {
		display: block;
		position: relative;
		width: 37px;
		height: 37px;
		border: 1px solid #aaa;
		background: #fff url("../images/arrow_up_b.png") no-repeat center center;
		background-size: 65%;
		transition: all 0.5s;
	}

	.top-btn::before {
		content: "";
		width: 62px;
		height: 62px;
		background-color: #f68b1f;
		border-radius: 50%;
		/* position: absolute; */
		top: -1px;
		left: -1px;
		opacity: 0;
		transition: 0.2s;
		z-index: -1;
	}

	.sub_menu .call_btn::before {
		position: absolute;
		top: 0;
		right: 0;
		width: 100%;
		height: 100%;
		background: #f68b1f;
		content: "";
		border-radius: 50rem;
		z-index: -1;
		transition: 0.3s;
		display: none;
	}

	.sub_menu .call_btn:hover::before {
		width: 0rem;
		height: 100%;
		border-radius: 5rem;
	}

	.sub_menu .call_btn:hover .call_icon {
		left: 50%;
		text-align: center;
	}

	

	.sub_menu .call_btn .call_btn_txt {
		opacity: 0;
		position: absolute;
		top: 50%;
		left: 0rem;
		font-size: 1.3rem;
		transform: translateY(-50%);
		text-align: center;
	}

	.sub_menu .call_btn:hover .call_btn_txt {
		opacity: 0;
		transition-delay: 0.2s;
	}
}