/* Urheberrechtshinweis
=======================
 * 
 * Copyright (c) 2013– DROPPY.ch
 * 
 * Alle Rechte vorbehalten.
 * 
 * Die vorliegende JavaScript- und oder CSS-Datei (im Folgenden als "Datei" bezeichnet) ist urheberrechtlich geschuetzt.
 * Jede unbefugte Nutzung, Vervielfaeltigung oder Verbreitung dieser Datei ist ausdruecklich untersagt und kann rechtliche Konsequenzen haben.
 * 
 * Jede Person, die diese Datei herunterlaedt, kopiert oder verwendet, ohne dazu berechtigt zu sein, begeht eine Urheberrechtsverletzung und verstoesst gegen das geltende Recht.
 * 
 * Wir behalten uns das Recht vor, Verstoesse gegen das Urheberrecht straf- und zivilrechtlich zu verfolgen und Schadensersatzansprueche geltend zu machen.
 * 
 * Bei Fragen oder Genehmigungsanfragen benutzen Sie unser Kontaktformular [https://www.cloud.droppy.ch/contact.html].
 */

/* ================================= */
/* Ad common styles */
/* ================================= */
.ad {
  background-color: rgba(0,0,0,0.02);
  position: relative;
}

/* Werbepartner */
.ad-partner {
  width: 100%;
  height: auto;
}

.ad-partner-speedtest {
  background-color: rgba(0,0,0,0.02);
  text-align: center;
  color: #666;
  font-family: Arial, sans-serif;
  font-size: 14px;
  height: 20px;
  padding: 0;
}

/* Adsense */
.adsbygoogle {
  display: block;
}

/* Container */
.adsense_speedtest ins {
  width: 100%;
  height: 100%;
  display: block;
}

/* Desktop */
@media only screen and (min-width: 800px) {
  .ad-speedtest {
    /* top: 70px; -> auskommentiert sonst schwebt es oben */
    /* left: 50%; -> auskommentiert sonst schwebt es oben */
    /* transform: translate(-50%); -> auskommentiert sonst schwebt es oben */
    position: relative;
    margin: 20px auto;
    min-height: 110px;
    max-width: 790px; 
    width: 100%; 
  }
}

/* Small screens */
/* @media only screen and (max-width: 800px),
       only screen and (max-height: 680px) {
  .ad-speedtest {
    display: none;
  }
} */

/* Loading Spinner */
.adsense_speedtest:before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 24px;
  height: 24px;
  border: 3px solid #666;
  border-top: 3px solid #ccc;
  border-radius: 50%;
  animation: adsense-spin 1s linear infinite;
  transform: translate(-50%, -50%);
}

@keyframes adsense-spin {
  0% { transform: translate(-50%, -50%) rotate(0deg); }
  100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* ================================= */
/* Google EU zustimmung ICON 	 */
/* ================================= */

/* Google EU Consent Revoke */
.revoke-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 35px;
	height: 35px;
	background: #5c5c5c;
	border-radius: 12px;
	box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
	text-decoration: none;
	position: fixed;
	bottom: 5px;
	left: 5px;
	cursor: pointer;
	transition: transform 0.2s ease-in-out;
	z-index: 100;
}
.revoke-link:hover {
	transform: scale(1.1);
}
.revoke-link::before {
	content: "";
	display: block;
	width: 24px;
	height: 24px;
	background: no-repeat center;
	background-size: contain;
	/* SVG-Code für das "Häkchen" */
	background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M9 12l2 2 4-4" fill="none" stroke="white" stroke-width="2"/></svg>');
	/* SVG-Code für die "Schild"-Maske */
	mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 2L3 5v6c0 5.55 3.84 10.74 9 12 5.16-1.26 9-6.45 9-12V5l-9-3z"/></svg>') no-repeat center / contain;
	-webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 2L3 5v6c0 5.55 3.84 10.74 9 12 5.16-1.26 9-6.45 9-12V5l-9-3z"/></svg>') no-repeat center / contain;
	background-color: #262626;
}
.revoke-link::after {
	content: "Widerruf der Google Einwilligung";
	position: absolute;
	left: 50px;
	top: 18px;
	transform: translateY(-50%);
	background: rgba(0, 0, 0, 0.5);
	color: #fff;
	padding: 5px 10px;
	border-radius: 5px;
	font-size: 12px;
	white-space: nowrap;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.2s ease-in-out;
}
.revoke-link:hover::after {
	opacity: 1;
	visibility: visible;
}
/* Icon position for Mobile */
@media (max-width: 767px) {
	.revoke-link {
		position: absolute;
		top: 30px;
		right: auto;
		left: 16px;
		z-index: 99;
		width: 35px;
		height: 35px;
		background-color: #3c3c3c;
	}
.revoke-link::after {
	right: auto;
	left: 38px;
	top: 18px;
	}
}