a:not([href]):not([tabindex]) {
    color: #333;
}

h2 {
	font-weight: bold;
}

#f-block,
#periodic-table{
  display: block;
  width: 1350px;
  position: relative;
  margin: 0 auto;
}
#f-block:after ,
#periodic-table:after {
  content: "";
  display: table;
  clear: both;
}
#descriptions {
	width: 70%;
	max-width:1000px;
	margin: 0 auto;
	
}
#descriptions .info{
    opacity: 0; 
    height: 0;
    overflow: hidden;
	transition: opacity 2s ease-out;
	-moz-transition: opacity 2s ease-out;
	-webkit-transition: opacity 2s ease-out;
	-o-transition: opacity 2s ease-out;
}
#descriptions .info:target{
    opacity: 1; 
    height: auto;
	padding: 2rem 5rem;
	background: rgba(255,255,255, .1);
	border-radius: 10%;
	border: solid 5px rgba(255,255,255, .2);
}
#container{
	width: 90%;
	max-width: 1200px;
	margin: 0 auto;
	margin-top: 5em;
}
#container:after {
  content: "";
  display: table;
  clear: both;
}
.fila{
	width: 100%;
	display: block;
}
.fila span{ 
	float: left;
}
#f-block span{
	float: left;
}
.fila span{ 
	display: block;
}

.elementzoom {
	padding: 2px;
	position: absolute;
	left: 168px;
	top: -15px;
	width: 145px;
	height: 140px;
}

.elementzoom a{
	border-radius: .4rem;
	text-align: center;
	color: #333;
	display: block;
	width: 100%;
	height: 100%;
	text-decoration: none;
}

.swatch.elzoomcolor,
.elementzoom.elzoomcolor a{
	background: #e2d1d1;
	position: relative;
}


.element{
	padding: 2px;
	width: 75px;
	height: 70px;
}
#f-block{
	margin-top: 30px;
}
.span-4{ 
	width: 22.216%;
	height: 1px;
}
.span-9{ 
	width: 49.999%;
	height: 1px;
}
.span-10{ 
	width: 55.554%;
	height: 1px;
}
.span-14{ 
	width: 77.77%;
	height: 1px;
}
.span-15{ 
	width: 83.325%;
	height: 1px;
}
.span-16{ 
	width: 88.879%;
	height: 1px;
}

.element a{
	border-radius: .4rem;
	text-align: center;
	color: #333;
	display: block;
	width: 100%;
	height: 100%;
	text-decoration: none;
}
.key{
	line-height: 3rem;
	margin: 2rem auto;
	width: 60%;
	padding: 0;
	list-style-type: none;
	text-align: center;
}
.key li { 
	display: inline-block; 
	margin: 0 .2rem;
}
.swatch{ 
	width: 1rem;
	height: 1rem;
	border: solid 1px #777;
	display: inline-block;
}

.swatch.otrosnometa,
.element.otrosnometa a{
	background: #00FF80;
}
.swatch.alcalinoterreos,
.element.alcalinoterreos a{
	background: #FFEB3B;
}
.swatch.metaloides,
.element.metaloides a{
	background: #5BD25E;
}
.swatch.gasesnobles,
.element.gasesnobles a{
	background: #67d0ff;
}
.swatch.alcalinos,
.element.alcalinos a{
	background: #FFC20F;
}
.swatch.otrosmeta,
.element.otrosmeta a{
	background: #009688;
}
.swatch.metatrans,
.element.metatrans a{
	background: #d69393;
}
.swatch.doc,
.element.doc a{
	background: #33A7D8;
}
.swatch.desconocido,
.element.desconocido a{
	background: #cacaca;
}
.swatch.actinidos,
.element.actinidos a{
	background: #b587af;
}
.swatch.lantanidos,
.element.lantanidos a{
	background: #e09882;
}
.links{
	margin-left: 2rem;
}
h1{
	text-align: center;
	/*font-size: 4rem;
	color: #000;
	font-weight: 400;*/
}
.by{
	text-align: center;
	font-size: 1.8rem;
	color: #FFF;
}
.by a{
	color: #CCC;
}

footer{
	text-align: center;
	margin: 1%;
}

.tabla{
	margin: 5px; 
}

td{
	padding: 5px;
}

th{
	background-color: #eeeeee;
}

#presentacion{
	text-align: center;
}

.marca{
	color: #FFC20F;
	font-weight: bold;
}

#vamos{
	width: 10%;
	background-color: #eee;
	padding: .8rem;
	border-radius: 3px;
}

#vamos:hover{
	background-color: #33A7D8;
}

#vamos>a{
	text-decoration: none;
	color: black;
}

/* Periodos */

#period1 {
	position: absolute;
	top: 15px;
	left: -30px;
	font-size: 25px;
	font-weight: bold;
}

#period2 {
	position: absolute;
	top: 85px;
	left: -30px;
	font-size: 25px;
	font-weight: bold;
}

#period3 {
	position: absolute;
	top: 155px;
	left: -30px;
	font-size: 25px;
	font-weight: bold;
}

#period4 {
	position: absolute;
	top: 225px;
	left: -30px;
	font-size: 25px;
	font-weight: bold;
}

#period5 {
	position: absolute;
	top: 295px;
	left: -30px;
	font-size: 25px;
	font-weight: bold;
}

#period6 {
	position: absolute;
	top: 365px;
	left: -30px;
	font-size: 25px;
	font-weight: bold;
}

#period7 {
	position: absolute;
	top: 435px;
	left: -30px;
	font-size: 25px;
	font-weight: bold;
}

/* Grupos Nuevo */

#group1 {
	position: absolute;
	top: -100px;
	left: 28px;
	font-size: 25px;
	font-weight: bold;
}

#group2 {
	position: absolute;
	top: -100px;
	left: 104px;
	font-size: 25px;
	font-weight: bold;
}

#group3 {
	position: absolute;
	top: -100px;
	left: 179px;
	font-size: 25px;
	font-weight: bold;
}

#group4 {
	position: absolute;
	top: -100px;
	left: 252px;
	font-size: 25px;
	font-weight: bold;
}

#group5 {
	position: absolute;
	top: -100px;
	left: 332px;
	font-size: 25px;
	font-weight: bold;
}

#group6 {
	position: absolute;
	top: -100px;
	left: 406px;
	font-size: 25px;
	font-weight: bold;
}

#group7 {
	position: absolute;
	top: -100px;
	left: 482px;
	font-size: 25px;
	font-weight: bold;
}

#group8 {
	position: absolute;
	top: -100px;
	left: 555px;
	font-size: 25px;
	font-weight: bold;
}

#group9 {
	position: absolute;
	top: -100px;
	left: 631px;
	font-size: 25px;
	font-weight: bold;
}

#group10 {
	position: absolute;
	top: -100px;
	left: 698px;
	font-size: 25px;
	font-weight: bold;
}

#group11 {
	position: absolute;
	top: -100px;
	left: 772px;
	font-size: 25px;
	font-weight: bold;
}

#group12 {
	position: absolute;
	top: -100px;
	left: 846px;
	font-size: 25px;
	font-weight: bold;
}

#group13 {
	position: absolute;
	top: -100px;
	left: 922px;
	font-size: 25px;
	font-weight: bold;
}

#group14 {
	position: absolute;
	top: -100px;
	left: 995px;
	font-size: 25px;
	font-weight: bold;
}

#group15 {
	position: absolute;
	top: -100px;
	left: 1072px;
	font-size: 25px;
	font-weight: bold;
}

#group16 {
	position: absolute;
	top: -100px;
	left: 1146px;
	font-size: 25px;
	font-weight: bold;
}

#group17 {
	position: absolute;
	top: -100px;
	left: 1222px;
	font-size: 25px;
	font-weight: bold;
}

#group18 {
	position: absolute;
	top: -100px;
	left: 1296px;
	font-size: 25px;
	font-weight: bold;
}

/* Grupos Viejo */

#group1-old {
	position: absolute;
	top: -40px;
	left: 26px;
	font-size: 25px;
	font-weight: bold;
}

#group2-old {
	position: absolute;
	top: 29px;
	left: 99px;
	font-size: 25px;
	font-weight: bold;
}

#group3-old {
	position: absolute;
	top: 170px;
	left: 170px;
	font-size: 25px;
	font-weight: bold;
}

#group4-old {
	position: absolute;
	top: 170px;
	left: 244px;
	font-size: 25px;
	font-weight: bold;
}

#group5-old {
	position: absolute;
	top: 170px;
	left: 323px;
	font-size: 25px;
	font-weight: bold;
}

#group6-old {
	position: absolute;
	top: 170px;
	left: 392px;
	font-size: 25px;
	font-weight: bold;
}

#group7-old {
	position: absolute;
	top: 171px;
	left: 464px;
	font-size: 25px;
	font-weight: bold;
}

#group8-old {
	position: absolute;
	top: 170px;
	left: 542px;
	font-size: 25px;
	font-weight: bold;
}

#group9-old {
	position: absolute;
	top: 170px;
	left: 609px;
	font-size: 25px;
	font-weight: bold;
}

#group10-old {
	position: absolute;
	top: 170px;
	left: 692px;
	font-size: 25px;
	font-weight: bold;
}

#group11-old {
	position: absolute;
	top: 171px;
	left: 772px;
	font-size: 25px;
	font-weight: bold;
}

#group12-old {
	position: absolute;
	top: 170px;
	left: 845px;
	font-size: 25px;
	font-weight: bold;
}

#group13-old {
	position: absolute;
	top: 29px;
	left: 916px;
	font-size: 25px;
	font-weight: bold;
}

#group14-old {
	position: absolute;
	top: 29px;
	left: 990px;
	font-size: 25px;
	font-weight: bold;
}

#group15-old {
	position: absolute;
	top: 29px;
	left: 1068px;
	font-size: 25px;
	font-weight: bold;
}

#group16-old {
	position: absolute;
	top: 29px;
	left: 1139px;
	font-size: 25px;
	font-weight: bold;
}

#group17-old {
	position: absolute;
	top: 29px;
	left: 1211px;
	font-size: 25px;
	font-weight: bold;
}

#group18-old {
	position: absolute;
	top: -40px;
	left: 1282px;
	font-size: 25px;
	font-weight: bold;
}

/* Elemento Celda */

.elementCelda {
	position: relative;
	display: block;
}

.elementCelda p {
	position: absolute;
}

.numAtom {
	top: 3px;
	left: 6px;
	font-size: 12px;
	font-weight: 600;
}

.electrons {
	top: 4px;
	left: 62px;
	font-size: 7px;
	text-align: right;
	line-height: 9px;
	font-weight: bold;
}

.simbol {
	top: 15px;
	left: 6px;
	font-size: 20px;
	font-weight: 600;
}

.nomb {
	top: 41px;
	left: 7px;
	font-size: 9px;
	font-weight: 600;
}

.pesoAtom {
	top: 52px;
	left: 7px;
	font-size: 10px;
	font-weight: 600;
}


.period a {
	color: #000;
	text-decoration: none;
}

.group a {
	color: #000;
	text-decoration: none;
}


.element:hover {
    border: solid 2px #268cde;
    border-radius: .4rem;
    padding: 1px;
    border-style: ridge;
}

.group a:hover {
    border: solid 2px #268cde;
    border-radius: .4rem;
    padding: 1px 2px;
    border-style: ridge;
    color: #fff !important;
    background-color: black;
}

.period a:hover {
    border: solid 2px #268cde;
    border-radius: .4rem;
    padding: 1px 2px;
    border-style: ridge;
    color: #fff !important;
    background-color: black;
}

.hoverpg {
    border: solid 2px #268cde;
    border-radius: .4rem;
    padding: 1px 2px;
    border-style: ridge;
    color: #fff !important;
    background-color: black;
}

.leyenda {
    position: absolute;
    display: block;
    border: solid 1px #fff;
    text-align: center;
    font-size: 15px;
}

#leyMetal {
    top: 0;
    left: 343px;
    background-color: #000;
    color: #fff;
    padding: 5px;
    width: 359px;
    border-top-left-radius: 15px;
}

#leyNoMetal {
    top: 0;
    left: 748px;
    background-color: #000;
    color: #fff;
    padding: 5px;
    width: 109px;
    border-top-right-radius: 15px;
}

#leyMetaloide {
    top: 0px;
    left: 705px;
    background-color: #5bd25e;
    padding: 8px;
    height: 177px;
    writing-mode: vertical-rl;
}


#leyOtrosNoMeta {
    top: 36px;
    left: 748px;
    background-color: #00ff80;
    padding: 15px;
    height: 142px;
    writing-mode: vertical-rl;
    line-height: 15px;
}

#leyGasNoble {
    top: 36px;
    left: 812px;
    background-color: #67d0ff;
    padding: 11px;
    height: 142px;
    writing-mode: vertical-rl;
    border-bottom-right-radius: 15px;
}

#leyAlcalino {
    top: 36px;
    left: 343px;
    background-color: #ffc20f;
    padding: 15px;
    height: 142px;
    writing-mode: vertical-rl;
    border-bottom-left-radius: 15px;
}


#leyAlcalinoterreo {
    top: 36px;
    left: 399px;
    background-color: #ffeb3b;
    padding: 15px;
    height: 142px;
    writing-mode: vertical-rl;
}

#leyLantanido {
    top: 36px;
    left: 455px;
    background-color: #df9882;
    padding: 17px;
    height: 71px;
    width: 120px;
}

#leyActinido {
	top: 108px;
	left: 455px;
	background-color: #b587af;
	padding: 17px;
	height: 70px;
	width: 120px;
}

#leyMetalTrans {
    top: 36px;
    left: 576px;
    background-color: #d69393;
    padding: 15px;
    height: 142px;
    writing-mode: vertical-rl;
    line-height: 15px;
}

#leyMetalBlockP {
    top: 36px;
    left: 640px;
    background-color: #009588;
    padding: 15px;
    height: 142px;
    writing-mode: vertical-rl;
    line-height: 15px;
}

#leyend {
    position: relative;
    display: block;
    top: -15px;
    left: -12px;
}

.leyendaA {
    color: #000;
    font-size: 16px;
    text-decoration: none;
    font-weight: bold;
}

.leyenda:hover {
    border: solid 2px #268cde;
    border-radius: .4rem;
    padding: 1px;
    border-style: ridge;
}

.leyMetaCat a {
    color: #fff;
}

.leyNoMetaCat a {
    color: #fff;
}

/***** Ventana Modal *****/

/* Fondo de la ventana modal */
.modal {
  display: none; /* oculto por defecto */
  position: fixed; /* estÃ¡ fijo */
  z-index: 10000000; /* sobre cualquier cosa */
  padding-top: 50px;
  padding-bottom: 50px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgb(0,0,0);
  background-color: rgba(0,0,0,0.4);
}

/* Contenido de la ventana modal */
.modal-content {
  background-color: #fefefe;
  margin: auto;
  padding: 10px;
  border: 1px solid #888;
  width: 75%;
}

/* botÃ³n de cierre */
.close {
  color: #ff0000;
  float: right;
  font-size: 28px;
  font-weight: bold;
  top: -10px;
  position: relative;
}

.close:hover,
.close:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}

/**********************/


.numAtomZoom1 {
	top: 3px;
	left: 7px;
	font-size: 20px;
	font-weight: 600;
	position: absolute;
}

.numAtomZoom {
    top: 3px;
    left: 5px;
    font-size: 12px;
    font-weight: 600;
    position: absolute;
}

.electronsZoom1 {
	top: 5px;
	left: 118px;
	font-size: 14px;
	text-align: right;
	line-height: 18px;
	font-weight: bold;
	position: absolute;
}

.electronsZoom {
    top: 3px;
    left: 80px;
    font-size: 12px;
    text-align: right;
    line-height: 18px;
    font-weight: bold;
    position: absolute;
}

.simbolZoom1 {
	top: 20px;
	left: 5px;
	font-size: 50px;
	font-weight: 600;
	position: absolute;
}

.simbolZoom {
    top: 31px;
    left: 5px;
    font-size: 32px;
    font-weight: 600;
    position: absolute;
}

.nombZoom1 {
	top: 80px;
	left: 5px;
	font-size: 18px;
	font-weight: 600;
	position: absolute;
}

.nombZoom {
    top: 75px;
    left: 5px;
    font-size: 18px;
    font-weight: 600;
    position: absolute;
}

.pesoAtomZoom1 {
	top: 103px;
	left: 7px;
	font-size: 20px;
	font-weight: 600;
	position: absolute;
}

.pesoAtomZoom {
    top: 103px;
    left: 5px;
    font-size: 18px;
    font-weight: 600;
    position: absolute;
}


.leyendaHover {
    border: solid 2px #268cde;
    border-radius: .4rem;
    padding: 1px;
    border-style: ridge;
}


#rutherfordio p.simbol {
    color: #695858;
}

#dubnio p.simbol {
    color: #695858;
}

#seaborgio p.simbol {
    color: #695858;
}

#bohrio p.simbol {
    color: #695858;
}

#hassio p.simbol {
    color: #695858;
}

#meitnerio p.simbol {
    color: #695858;
}

#darmstatio p.simbol {
    color: #695858;
}

#roentgenio p.simbol {
    color: #695858;
}

#copernicio p.simbol {
    color: #695858;
}

#nihonium p.simbol {
    color: #695858;
}

#flerovio p.simbol {
    color: #695858;
}

#moscovium p.simbol {
    color: #695858;
}

#livermorio p.simbol {
    color: #695858;
}

#tennessine p.simbol {
    color: #695858;
}

#oganesson p.simbol {
    color: #695858;
}

.contenidoModal {
    padding: 10px;
    border: solid 1px #dad5d5;
}

.sidebarel {
    border: solid 1px #dad5d5;
    border-radius: 8px;
    padding: 10px;
}

.sidebarel h4 {
    color: #ff848a;
}