/*----------------Sharing Function Block-----------------*/
:root {
  --btn-sharing-color: #b3774c;
  --btn-sharing-hover-color: #a56537;
}
#shareBlock {
	 position:fixed;
	 top: 50%;
	 left: 0;
	 width: 45px;
	 height: auto;
	 z-index: 20;
	 margin-top: -40px;
	 border-radius: 0 3px 3px 0;
	 overflow: hidden;
	 background-color: var(--btn-sharing-color);
	 /*
	background: rgb(230,135,26);
	background: linear-gradient(45deg, rgba(230,135,26,1) 0%, rgba(252,219,116,1) 47%, rgba(230,135,26,1) 100%);
	*/
}
#shareBlock a { 
	cursor: pointer;
	float: left;
	display: block;
	text-align: center;
}
#shareBlock img {
	opacity: 1;
	width: 40px;
	height: 40px;
}
#shadowBlock { display: none; }

.shareIcon {
	/* float: left; */
	width: 45px;
	height: 45px;
	padding: 2.5px;
	text-align:center;
	transition: background-color 0.2s ease;
	opacity: 0.7;
}
.shareIcon:hover {
	background: rgba(0,0,0,0.1);
	opacity: 1;
}
.version{ float: left; }

 @media screen and (max-width: 991px) {
	/*----------------Sharing Function Block-----------------*/
	#shareBlock {
		border-radius: 3px 0 0 0;
		bottom:0;
		left: 2%;
		top: auto;
		width: calc(96% - 70px);
	}
	#shareBlock a {
		width: 25%;
	}
	#shadowBlock {
		 position:absolute;
		 display: block;
		 width: 96%; 
		 height: 40px; 
		 background-position: center top;
		 background-size: cover;
		 pointer-events: none;
	}
	.shareIcon {
		width: 100%;
		height: 40px;
		margin: 0;
		padding: 0;
	}
	.share { height: inherit; }
	.version{ float: none; width: auto; }
}
/* BACK TO TOP */
.back-to-top {
	opacity: 0.8;
	text-indent: -9999px;
	width: 50px;
	height: 50px;
	right: 15px;
	bottom: 15px;
	position: fixed;
	z-index: 100;
	background-color: var(--btn-sharing-color);
	transition: all 0.2s ease;
	border-radius: 5px;
}
.back-to-top:after {
	content: '';
	border: solid white;
	border-width: 0 2px 2px 0;
	width: 15px;
	height: 15px;
	display: block;
	padding: 5px;
	top: 50%;
	left: 50%;
	position: absolute;
	margin-top: -4px;
	margin-left: -7px;
	transform: rotate(-135deg);
    -webkit-transform: rotate(-135deg);
}
.back-to-top:before {
	content: '';
	width: 100%;
	height: 100%;
	background-color: rgba(255,0,0,0.2);
}
.back-to-top:hover {	
	opacity: 1;
	background-color: var(--btn-sharing-color);
}
@media only screen and (max-width: 991px) {
	.back-to-top { width: 70px; bottom: 0px; height: 40px; right: 2%; border-radius: 0 5px 0 0;  }
}
@media only screen and (max-width: 825px) {
	.back-to-top { bottom: 0px; height: 40px; right: 2%; z-index: 2; }
}