/* dashboard wrapper */
/* legacy style for old apps that still uses the old dashboard */
/* ================= */
.dashboard {
	position:fixed;
	bottom:0;
	left:0;
	z-index:12348;
}
.dashboard .dashboardlink {
	position:fixed;
	bottom:1.5em; /* 15px / 10px */
	left:1.5em; /* 15px / 10px */
	display:block;
	width:2.6em; /* 26px / 10px */
	height:2.6em; /* 26px / 10px */
	padding:1.2em 12px; /* 12px / 10px */
	background-color:#f40f97;
	-webkit-border-radius: 50%;
	border-radius: 50%;
	overflow:hidden;
}

.dashboard .dashboardlink .number {
	color:#ffffff;
	font-size:2.6em; /* 26px / 10px */
	line-height:1em; /* 26px / 26px */
	text-align:center;
	display:block;
}

.dashboard .expandable {
	background-color:#ffffff;
	position:fixed;
	left:-50em;
	top:0;
	width:50em; /* 500px / 10px */
	height:100%;
	z-index:1;
	-webkit-overflow-scrolling:touch;
	-webkit-transition:left 0.5s;
	-moz-transition:left 0.5s;
	transition:left 0.5s;
}

.dashboard .expandable.expanded {
	left:0;
}

.dashboard .expandable iframe {
	width:100%;
	height:99.99%; /* to prevent scrollbars due to computing-inaccuracy */
}

/* w-bubble */
/* browser only */
/* ============ */
body .w-bubble {
	position:fixed;
	bottom:12px;
	left:1.5em;
	z-index: 12345; /* three less than dashboard, two lass than navigation */
}

body .w-bubble .dashboardlink {
	display:block;
	width:2.6em; /* 26px / 10px */
	height:2.6em; /* 26px / 10px */
	padding:1em; /* 10px / 10px */
	background-color:#f40f97;
	border-radius: 50%;
	background-image:url('/media/img/main/icons/icon_profile.png');
	background-size:cover;
	position:relative;
	box-shadow: 0 0 1em 0 rgba(0, 0, 0, 0.1) inset;
	-webkit-box-shadow: 0 0 1em 0 rgba(0, 0, 0, 0.1) inset;
	filter:drop-shadow(2px 2px 9px rgba(0,0,0,0.2));
	-ms-filter:drop-shadow(2px 2px 9px rgba(0,0,0,0.2));
	-webkit-filter:drop-shadow(2px 2px 9px rgba(0,0,0,0.2));
}

body .w-bubble .dashboardlink .number {
	display:block;
	position:absolute;
	top:-0.5em;
	right:-0.25em;
	font-size:1.2em;
	line-height:1em;
	height:1em;
	min-width:0.5em;
	text-align:center;
	padding:0.25em 0.5em;
	border-radius:0.75em;
	background-color:#f40f97;
	color:#ffffff;
	box-shadow:2px 2px 9px rgba(0,0,0,0.2);
}

/* ipad landscape */
/* ============== */
@media only screen
	and (min-device-width : 768px)
	and (max-device-width : 1024px)
	and (orientation : landscape) {
	.dashboard .expandable {
		overflow:auto;
	}
}


/* tablet */
/* ====== */
@media screen and (max-width: 975px) {
	.dashboard .expandable {
		overflow:auto;
	}

	body:not(.app_view) .w-bubble,
	body.app_view .w-bubble {
		left:12px;
		bottom:0;
		padding:12px;
	}
	.cookiefooter > .content > .text {
		padding: calc(3.7em / 5.75) 0;
	}
}

/* mobile */
/* ====== */
@media screen and (max-width: 591px) {
	.dashboard {
		position: relative;
		width: 100%;
		height: 100%;
	}

	.dashboard .expandable {
		width:100%;
		left:-100%;
		border:transparent;
	}

	body:not(.app_view) .w-bubble,
	body.app_view .w-bubble {
		left:0px;
		padding:8px 8px 8px 16px;
	}
}

@media only screen
and (device-width : 375px)
and (device-height : 812px)
and (-webkit-device-pixel-ratio : 3) {

    body .w-bubble {
        padding:8px 8px 12px 16px;
    }

}

/* cookiefooter */
/* ============ */
.cookiefooter {
  display: none;
  position: fixed;
  width:100%;
  z-index:12345; /* same as logoblock */
  background: #000000;
  font-size: 1.4em;
  line-height: calc(3.7em / 2.6);
  height: calc(3.7em / 0.6);
  color: #cecece;
  text-align: left;
  border-bottom: 1px solid #363636;
  padding: 2px 0;
	bottom: 0;
}
.cookiefooter > .content {
  width: auto;
  position: relative;
  margin: 0 auto;
  padding: 0 16px;
}
.cookiefooter > .content > .text {
  width: 90%;
  float: left;
  padding: calc(3.7em / 5.75) 0;
}
.cookiefooter > .content > .button {
  width: 10%;
  float: left;
  text-align: right;
  line-height: calc(3.7em / 0.6);
}
.cookiefooter > .content > .button > .cookiebtn {
  background-color: rgba(206, 206, 206, 0.29);
  border: none;
  color: white;
  padding: 0.6em 1em;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  color: #efefef;
  border-radius: 2px;
  cursor: pointer;
  font-size: 100%;
}
.cookiefooter > .content > .button > .cookiebtn:hover {
  background-color: rgba(206, 206, 206, 0.35);
}
@media screen and (min-width: 975px) {
  .cookiefooter {
    line-height: 1em;
    height: 3em;
  }
  .cookiefooter > .content {
    width: 994px;
  }
  .cookiefooter > .content > .button {
    line-height: 3em;
  }
}
