@import url('https://fonts.googleapis.com/css?family=Source+Code+Pro:200,900');
@import url('https://fonts.googleapis.com/css?family=Merriweather:400,700');
@import url('https://fonts.googleapis.com/css?family=Lato:400,700');
:root {
	--fons: hsla(200, 7%, 16%, 1);
	--text: hsla(210, 13%, 94%, 1);
	--label:hsla(80, 3%, 77%, 1);
	--borde:hsla(327, 5%, 62%, 1);
	--labelBad: hsla(8, 37%, 62%, 1);
	--labelQuestion: hsla(212, 51%, 60%, 1);
	--focusBorder: hsla(212, 51%, 60%, 1);
	--focusCursor:hsla(207, 98%, 84%, 1);
	--allOk: hsla(163, 88%, 38%, 1);
	--main1: hsla(255, 34%, 79%, 1);
	--ok: hsla(151, 75%, 84%, 1);
	--main2: hsla(69, 15%, 56%, 1);
	--bad: hsla(17, 71%, 52%, 1);
	--fontBig: calc(20px + 0.390625vw);/*27px;*/
	--fontNormal: calc(14px + 0.390625vw);/*21px;*/
	--text-color: hsla(210, 50%, 85%, 1);
	--shadow-color: hsla(210, 40%, 52%, .4);
	--btn-color: rgba(196,144,209,0.6); /*hsl(210, 80%, 42%);*/
	--bg-color: #4e3953; /*#141218;*/
}
*{
		box-sizing: border-box;
		color: var(--text);
}
body{
  	background-color: var(--fons);
}
.ac-custom {
	padding: 0 var(--fontBig);
	/*max-width: 900px;*/
	margin: 0 auto;
}

.ac-custom h2 {
	font-family: "Lato", serif;
	color: rgba(231,	210,	236,0.8);
	font-size: var(--fontBig);
	font-weight: 300;
	padding: 0.2em 0;
	margin: 0;
	margin-left:calc(-1 * var(--fontNormal));
}

.ac-custom ul,
.ac-custom ol {
	display: flex;
	flex-wrap: wrap;
	flex-direction: row;
	justify-content: space-evenly;
	align-items: flex-start;
	align-content: space-around;
	list-style: none;
	padding: 0;
	margin: 0 auto;
	

	/*max-width: 800px;*/
}

.ac-custom li {
	margin: 0 auto;
	padding: 0.8em 0;
	position: relative;
	flex-grow: 1;
	width: 23em;
}

.ac-custom label {
	display: inline-block;
	position: relative;
	font-family: 'Merriweather', serif;
	font-size: calc(1.2 * var(--fontNormal));
	padding: 10px 0 0 50px;
	vertical-align: top;
	color: rgba(161,98,177,0.73);
	cursor: pointer;
	-webkit-transition: color 0.3s;
	transition: color 0.3s;
}

.ac-custom input[type="checkbox"],
.ac-custom input[type="radio"],
.ac-custom label::before {
	width: 30px;
	height: 30px;
	top: 50%;
	left: 0;
	margin-top: -15px;
	position: absolute;
	cursor: pointer;
}

.ac-custom input[type="checkbox"],
.ac-custom input[type="radio"] {
	opacity: 0;
	-webkit-appearance: none;
	display: inline-block;
	vertical-align: middle;
	z-index: 100;
}

.ac-custom label::before {
	content: '';
	opacity: 0.6;
	border: 4px solid rgba(196,144,209,1);
	-webkit-transition: opacity 0.9s;
	transition: opacity 0.9s;
}

.ac-radio label::before {
	border-radius: 50%;
}

.ac-custom input[type="checkbox"]:checked + label,
.ac-custom input[type="radio"]:checked + label {
	color: rgba(225, 192, 234,0.8);
} 

.ac-custom input[type="checkbox"]:checked + label::before,
.ac-custom input[type="radio"]:checked + label::before {
	opacity: 0.5;
}

.ac-custom svg {
	position: absolute;
	width: 28px;
	height: 28px;
	top: 50%;
	margin-top: -9.5px;
	left: 5px;
	pointer-events: none;
}

.ac-custom svg path {
	stroke: rgba(225, 192, 234,1);/*#4eb3d3; f39b6d*/
	stroke-width: 13px;
	stroke-linecap: round;
	stroke-linejoin: round;
	fill: none;
}

.ac-boxfill svg path {
	stroke-width: 8px;
} 

div.centra{
	margin: 2em 0 1em 0;
	width: 100%;
	text-align: center;
}
button.bombolla {
  position:relative;
  padding: 10px 20px;  
  border: none;
  background: none;
  cursor: pointer;
  
  font-family: "Source Code Pro";
  font-weight: 900;
  text-transform: uppercase;
  font-size: calc(1.2 * var(--fontBig));  
  color: var(--text-color);
  
  background-color: var(--btn-color);
  box-shadow: var(--shadow-color) 2px 2px 22px;
  border-radius: 4px; 
  z-index: 0;  
  overflow: hidden;   
}


button.bombolla:focus {
  outline-color: transparent;
  box-shadow: var(--btn-color) 2px 2px 22px;
}

.right::after, button.bombolla::after {
  content: var(--content);
  display: block;
  position: absolute;
  white-space: nowrap;
  padding: 40px 40px;
  pointer-events:none;
}

button.bombolla::after{
  font-weight: 200;
  top: -30px;
  left: -20px;
} 

.right, .left {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
}
.right {
  left: 66%;
}
.left {
  right: 66%;
}
.right::after {
  top: -30px;
  left: calc(-66% - 20px);
  
  background-color: var(--bg-color);
  color:transparent;
  transition: transform .4s ease-out;
  transform: translate(0, -90%) rotate(0deg)
}

button.bombolla:hover .right::after {
  transform: translate(0, -47%) rotate(0deg)
}

button.bombolla .right:hover::after {
  transform: translate(0, -50%) rotate(-7deg)
}

button.bombolla .left:hover ~ .right::after {
  transform: translate(0, -50%) rotate(7deg)
}

/* bubbles */
button.bombolla::before {
  content: '';
  pointer-events: none;
  opacity: .6;
  background:
    radial-gradient(circle at 20% 35%,  transparent 0,  transparent 2px, var(--bg-color) 3px, var(--bg-color) 4px, transparent 4px),
    radial-gradient(circle at 75% 44%, transparent 0,  transparent 2px, var(--bg-color) 3px, var(--bg-color) 4px, transparent 4px),
    radial-gradient(circle at 46% 52%, transparent 0, transparent 4px, var(--bg-color) 5px, var(--bg-color) 6px, transparent 6px);

  width: 100%;
  height: 300%;
  top: 0;
  left: 0;
  position: absolute;
  animation: bubbles 5s linear infinite both;
}
aside.lightMode{
	position:absolute;
	top:0.5rem;
	right:0.5rem;
}
button.lightMode{
	width:3rem;
	height:3rem;
	font-size:var(--fontNormal);
	padding: 0;  
	border: none;
	background: none;
	cursor: pointer;
	
	color: var(--text-color);
	
	background-color: transparent;/*var(--btn-color);*/
/*	box-shadow: var(--shadow-color) 2px 2px 22px;*/
	border-radius: 4px; 
	z-index: 0;  
	overflow: hidden; 
}
@keyframes bubbles {
  from {
    transform: translate();
  }
  to {
    transform: translate(0, -66.666%);
  }
}
.invisible{
	display:none;
}

aside.tooltip{
	position:absolute;
  z-index:250;
  opacity:0; 
  transition: opacity 0.5s;
  font-size:var(--fontNormal);
}
aside.tooltip.showme{
 opacity:1;
 visibility:visible; 
}
aside.tooltip > div{
  font-size:1em;
  background-color:rgba(0,0,0,0.66);
  border-radius:0.2em;
  padding:0.33em 0.66em;
  color:white;
  font-family: 'GoodOT','Arial';
  text-align: center;
}
#triangle{
	width:12px;
	position:absolute;
	fill:rgba(0,0,0,0.66);
	transform: rotate(45deg);
	left:calc(100% - 4px);
	bottom:calc(100% - 4px);
}
#triangle.top{
	transform: rotate(180deg);
	left:calc(50% - 6px);
	bottom:-12px;
}