.hisinone-gallery {
 	width: 100%;
 	height: 400px;
 	position: relative;
}

.hisinone-gallery img {
	height: 100%;
	width: auto;
	max-width:100%;
	display: none;
	position: absolute;
	margin: auto;
	left: 0;
	right: 0;
	text-align: center;
	z-index: 1;
}

.cke_contents .hisinone-gallery img {
	display: unset;
}

.hisinone-gallery-nav {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	display: grid;
	grid-template-columns: 2em 2em;
	justify-content: space-between;
	grid-auto-flow: row;
}

.hisinone-gallery-nav-caption {
	position: absolute;
	white-space: nowrap;
	left: 50%;
	right : 50%;
	bottom: 0%;
	z-index: 2;
}

a.hisinone-gallery-nav-content:hover,
a.hisinone-gallery-nav-content:focus {
	background-color: rgba(0, 0, 0, 0.1) !important;
	box-shadow: none;
	border: none;
	outline: none;
}

.hisinone-gallery-nav-button {
	color: var(--contrastFontColor);
	font-size: 180%;
	text-decoration: none;
	font-weight: bold;
	display:flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
}

.hisinone-gallery-nav-button::before { 
  	color: var(--accentFontColor);
	font-size: 120%;
	font-family: "HISinOneIcons" !important;
	font-style: normal;
	font-weight: normal;
	font-variant: normal;
	text-transform: none;
	line-height: 1;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

.hisinone-gallery-nav-last::before{
	content: "\e901" / "";
}

.hisinone-gallery-nav-next::before{
	 content: "\e902" / "";
}

.hisinone-gallery-nav-button:hover,
.hisinone-gallery-nav-button:focus {	
	text-decoration: none;
} 

.hisinone-gallery-nav-content {
	display: grid;
	align-items: flex-end;
	justify-content: center;
	padding-bottom: 0.5em;
}

.hisinone-gallery-nav-text {
	padding: 0.5em;
	background-color: rgba(0, 0, 0, 0.5);
	color: var(--contrastFontColor);
	border-radius: 8px;
	display: none;
}

/* example for custom styles */
.custom-hs-gallery-style-example {
	border: 1px dashed var(--basicFontColor);
	background-image: linear-gradient(hsla(215,30%,70%,0.9) 0%, hsla(215,30%,70%,0) 50%, hsla(215,30%,70%,0.9) 100%), 
    linear-gradient(to right, hsla(215,30%,80%,0.8) 30%, white 50%, hsla(215,30%,80%,0.8) 70%);
}
.custom-hs-gallery-style-example .hisinone-gallery-nav-button::before { 
  	color: var(--basicFontColor);
}