/**
 * @copyright  Frenkelson Werbeagentur 2019 <https://frenkelson.de>
 * @author     Oliver Orlowski (ideefiXx) <https://oliver-orlowski.de>
 * @package    FrenkelsonSupportBundle
 * @license    LGPL-3.0+
 *
 */ 

#idf-vertical-nav:hover{}
#idf-vertical-nav{transition: all ease .5s;}
 
.idf-nav-container ol,
.idf-nav-container ul {
	list-style: none;
	margin:0;
	padding:0 .5em 0 .5em;
	-webkit-border-radius: var(--border-radius);
	-moz-border-radius: var(--border-radius);
	border-radius: var(--border-radius);
}


/* replace text with a background-image */
.idf-img-replace {
	display: inline-block;
	overflow: hidden;
	text-indent: 100%;
	white-space: nowrap;
}

/* No Touch devices */
.idf-nav-trigger {
	display: none;
}

.no-touch .idf-nav-container {
	position: fixed;
	right: 20px;
	top: 50%;
	bottom: auto;
	-webkit-transform: translateY(-50%);
	-moz-transform: translateY(-50%);
	-ms-transform: translateY(-50%);
	-o-transform: translateY(-50%);
	transform: translateY(-50%);
	z-index: 1;
}
.no-touch .idf-nav-container li {
	text-align: right;
}
/* prevent weird movements on hover when you use a CSS3 transformation - webkit browsers */
.no-touch .idf-nav-container a {  
	display: inline-block;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
}
.no-touch .idf-nav-container a:after {
	content: "";
	display: table;
	clear: both;
}
.no-touch .idf-nav-container a span {
	float: right;
	display: inline-block;
	-webkit-transform: scale(0.6);
	-moz-transform: scale(0.6);
	-ms-transform: scale(0.6);
	-o-transform: scale(0.6);
	transform: scale(0.6);
}
.no-touch .idf-nav-container a:hover span {
	-webkit-transform: scale(1);
	-moz-transform: scale(1);
	-ms-transform: scale(1);
	-o-transform: scale(1);
	transform: scale(1);
}
.no-touch .idf-nav-container a:hover .idf-label {
	opacity: 1;
}
.no-touch .idf-nav-container a.is-selected .idf-dot {
	background-color: var(--black);
}
/* we set a top value in order to align the dot with the label. If you change label's font, you may need to change this top value*/
.no-touch .idf-nav-container .idf-dot {
	position: relative;
	top: 8px;
	height: 12px;
	width: 12px;
	border-radius: 50%;
	background-color: var(--gray-dark);
	-webkit-transition: -webkit-transform 0.2s, background-color 0.5s;
	-moz-transition: -moz-transform 0.2s, background-color 0.5s;
	transition: transform 0.2s, background-color 0.5s;
	-webkit-transform-origin: 50% 50%;
	-moz-transform-origin: 50% 50%;
	-ms-transform-origin: 50% 50%;
	-o-transform-origin: 50% 50%;
	transform-origin: 50% 50%;
}
.no-touch .idf-nav-container .idf-label {
	position: relative;
	margin-right: .5em;
	padding: .25em .75em .25em .75em;
	color: var(--gray-dark);
	font-size: 14px;
	font-size: 0.875rem;
	-webkit-transition: -webkit-transform 0.2s, opacity 0.2s;
	-moz-transition: -moz-transform 0.2s, opacity 0.2s;
	transition: transform 0.2s, opacity 0.2s;
	opacity: 0;
	-webkit-transform-origin: 100% 50%;
	-moz-transform-origin: 100% 50%;
	-ms-transform-origin: 100% 50%;
	-o-transform-origin: 100% 50%;
	transform-origin: 100% 50%;
	background:var(--white-rgba);
	-webkit-border-radius: var(--border-radius);
	-moz-border-radius: var(--border-radius);
	border-radius: var(--border-radius);	
}

/* Touch devices */
.touch .idf-nav-trigger {
	display: block;
	z-index: 2;
	position: fixed;
	bottom: 30px;
	right: 5%;
	height: 44px;
	width: 44px;
	border-radius: 0.25em;
	background: rgba(255, 255, 255, 0.9);
}
.touch .idf-nav-trigger span {
	position: absolute;
	height: 4px;
	width: 4px;
	background-color: var(--gray-dark);
	border-radius: 50%;
	left: 50%;
	top: 50%;
	bottom: auto;
	right: auto;
	-webkit-transform: translateX(-50%) translateY(-50%);
	-moz-transform: translateX(-50%) translateY(-50%);
	-ms-transform: translateX(-50%) translateY(-50%);
	-o-transform: translateX(-50%) translateY(-50%);
	transform: translateX(-50%) translateY(-50%);
}
.touch .idf-nav-trigger span::before,
.touch .idf-nav-trigger span::after {
	content: '';
	height: 100%;
	width: 100%;
	position: absolute;
	left: 0;
	background-color: inherit;
	border-radius: inherit;
}
.touch .idf-nav-trigger span::before {
	top: -9px;
}
.touch .idf-nav-trigger span::after {
	bottom: -9px;
}

.touch .idf-nav-container {
	position: fixed;
	z-index: 1;
	right: 5%;
	bottom: 30px;
	width: 90%;
	max-width: 400px;
	max-height: 90%;
	overflow-y: scroll;
	-webkit-overflow-scrolling: touch;
	-webkit-transform-origin: right bottom;
	-moz-transform-origin: right bottom;
	-ms-transform-origin: right bottom;
	-o-transform-origin: right bottom;
	transform-origin: right bottom;
	-webkit-transform: scale(0);
	-moz-transform: scale(0);
	-ms-transform: scale(0);
	-o-transform: scale(0);
	transform: scale(0);
	-webkit-transition-property: -webkit-transform;
	-moz-transition-property: -moz-transform;
	transition-property: transform;
	-webkit-transition-duration: 0.2s;
	-moz-transition-duration: 0.2s;
	transition-duration: 0.2s;
	border-radius: 0.25em;
	background-color: rgba(255, 255, 255, 0.9);
}
.touch .idf-nav-container a {
	display: block;
	padding: 1em;
	border-bottom: 1px solid rgba(62, 57, 71, 0.1);
}
.touch .idf-nav-container a span:first-child {
	display: none;
}
.touch .idf-nav-container a.is-selected span:last-child {
	color: var(--red);
}
.touch .idf-nav-container.open {
	-webkit-transform: scale(1);
	-moz-transform: scale(1);
	-ms-transform: scale(1);
	-o-transform: scale(1);
	transform: scale(1);
}
.touch .idf-nav-container.open + .idf-nav-trigger {
	background-color: transparent;
}
.touch .idf-nav-container.open + .idf-nav-trigger span {
	background-color: rgba(62, 57, 71, 0);
}
.touch .idf-nav-container.open + .idf-nav-trigger span::before,
.touch .idf-nav-container.open + .idf-nav-trigger span::after {
	background-color: var(--gray-dark);
	height: 3px;
	width: 20px;
	border-radius: 0;
	left: -8px;
}
.touch .idf-nav-container.open + .idf-nav-trigger span::before {
	-webkit-transform: rotate(45deg);
	-moz-transform: rotate(45deg);
	-ms-transform: rotate(45deg);
	-o-transform: rotate(45deg);
	transform: rotate(45deg);
	top: 1px;
}
.touch .idf-nav-container.open + .idf-nav-trigger span::after {
	-webkit-transform: rotate(135deg);
	-moz-transform: rotate(135deg);
	-ms-transform: rotate(135deg);
	-o-transform: rotate(135deg);
	transform: rotate(135deg);
	bottom: 0;
}
.touch .idf-nav-container li:last-child a {
	border-bottom: none;
}

@media only screen and (min-width: 768px) {
	.touch .idf-nav-trigger,
	.touch .idf-nav-container {
		bottom: 40px;
	}
}
