#pagetop {
    clear: both;
    position:fixed;
    bottom:60px;
    right:0;
    padding-top: 40px;
    z-index: 99999;
}
#pagetop a {
    color: #fff;
    font-size: 20px;
    background: #5882FA ;
    text-decoration: none;
    text-align: center;
    display: block;
    float: right;
    width: 40px;
    line-height: 40px;
    border-radius: 10px;
    border: 3px solid #fff;
    box-shadow: 0px 5px 15px rgba(0,0,0,0.2);
    margin-bottom: 20px;
}

#pagetop a:hover {
    background: #fff;
    color: #6228a9 ;
}

@media screen and (max-width: 767px) {
	#pagetop a:hover {
	    background: #5882FA;
			color: #fff;
	}
}
