#periodicTable {
  font-family: "Century Gothic", Arial, Helvetica, sans-serif;
  width: 100%;
  max-width: 960px;
  min-width: 580px;
  padding: 0px;
  line-height: 1;
  margin-bottom: 20px;

}

#periodicTable p, #periodicTable div {
    font-family: "Century Gothic", Arial, Helvetica, sans-serif;
}

.ppTitle {
  font-size: 1.75rem;
  /* font-weight: bold; */
  text-align: center;
  padding: 20px;
  padding-bottom: 40px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
  color: #0f4c81;

}



.ppTitle p {
  font-family: "Century Gothic", Arial, Helvetica, sans-serif;
  padding: 0;
  margin: 10px;
}



.ppCell, .ppLaAcCell {
  font-family: "Century Gothic", Arial, Helvetica, sans-serif;
  box-sizing: border-box;
  border: 2px solid rgba(255,255,255,0.5);
  border-radius: 2px;
  width: calc(5.26% - 4px);
  min-width: 30px;
  min-height: 1px;
  margin: 2px;
  text-align: center;
  opacity: 1;
  /* transition: all 0.1s; */
}

.ppEmptyCell {
  background: rgba(255,255,255,0) !important;
  border-color: rgba(255,255,255,0) ;
  /* z-index: -100; */
}

.periodContainer {
  display: flex;
  align-content: flex-start;
  justify-content: flex-start;
}

.periodgroup {
  background: rgba(255,255,255,0) !important;
  color: #444;
  font-size: 0.75rem;
  border-color: rgba(255,255,255,0) ;
  /* z-index: 500; */
}

.period {
  position: relative;
  top: calc(50% - 0.385rem);
  text-align: right;
  padding-right: 0px;
}

.group {
  position: relative;
  top: calc(100% - 0.75rem)
}



.ppSymbol {
  font-family: "Century Gothic", Arial, Helvetica, sans-serif;
  font-size: 0.9375rem;
  font-weight: bold;
  color: #fff;
  text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.3);
  padding-top: 5px;
  margin-bottom: 7px;
}

.ppLaAcCell .ppSymbol {
  font-size: 0.75rem;
  font-weight: normal;
  padding-top: 2px;
}

.ppName {
  font-family: "Century Gothic", Arial, Helvetica, sans-serif;
  font-size: 9px;
  display: none;
  text-shadow: none;
}

.ppAtomicNumber {
  font-size: 0.625rem;
  font-weight: normal;
  text-shadow: none;
  color: #000;
  margin: 0px;
  padding-top: 3px;
  padding-bottom: 2px;
  background: rgba(255, 255, 255, 0.2);
}

.ppActive a {
  text-decoration: none;
  color: #111;
  display: block;
}

.ppActive {
  cursor: pointer;
  background: #dddddd;
  box-shadow: 1px 1px 3px #666,
  -1px -1px 1px #fff;
  transition: all 0.5s;
  z-index: 1;
}

.ppActive:hover {
  box-shadow:3px 3px 6px #fff, -3px -3px 6px #fff;
  border-color: rgba(0,0,0,0.3);
  transition: all 0.5s;
}

.ppInActive, .ppPermInActive {
  border-radius: 4px;
  background: #aaa !important;
  /* color:#999; */
  text-decoration: none;
  cursor: default;
}

.infoGrandContainer {
  position: relative;

}

.infoContainer {
  position:  absolute;
  width: calc(100%);
  left: 0px;
  margin-bottom: 20px;
  /* background: #ddd; */
}

.ppInfo {
  width: 160px;
  position:  relative;
  left: calc(18%);
  padding: 5px;
  border-radius: 5px;
  background: linear-gradient(145deg, #c7c7c7, #ececec);
  box-shadow: 3px 3px 6px #999,
  -3px -3px 6px #e4e4e4;
  font-size: 1.125rem;
  opacity: 0;
  border: 8px solid rgba(255, 255, 255, 0.5);
  z-index: 1;
}

.ppSingleElementInfo {
  font-family: "Century Gothic", Arial, Helvetica, sans-serif;
  width: 160px;
  line-height: 1;
  padding: 5px;
  border-radius: 5px;
  background: linear-gradient(145deg, #c7c7c7, #ececec);
  box-shadow: 1px 2px 2px rgba(0,0,0,0.15),
  2px 4px 4px rgba(0,0,0,0.15),
  3px 6px 6px rgba(0,0,0,0.15),
  4px 8px 8px rgba(0,0,0,0.15),
  -1px -1px 2px rgba(0,0,0,0.15);
  font-size: 1.125rem;
  opacity: 100;
  border: 8px solid rgba(255, 255, 255, 0.5);
  z-index: 1;
  margin: 10px;
  margin-top: 0;
  flex-shrink: 0;
}

.singleElementContainer {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.ppInfo div, .ppSingleElementInfo div  {
  text-align: center;
}

.ppInfoTitle {
  font-weight: bold;
  font-size: 0.688rem;
  top: 0.2rem;
  color: #fff;
  opacity: 0.7;
}

.ppInfoAtomicNumber {
  font-size: 1.25rem;
  margin-top: 5px
}

.ppInfoSymbol {
  font-weight: bold;
  font-size: 2.625rem;
  top: 1.9rem;
  text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.7);
  margin-bottom: 5px;
}

.ppInfoName {
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
  margin-bottom: 10px;
  font-size: 1.25rem;
  top: 4.8rem;
  color: #fff;
}

.ppInfoNameEng {
  font-size: 1.0rem;
  color: rgba(255,255,255,0.8);
  margin-top: -5px;
  margin-bottom: 5px;
}

.ppInfoAtomicWeight {
  /* text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5); */
  margin-bottom: 5px;
  font-size: 1.0rem;
  color: #000;

}

.nonmetal {
  background: linear-gradient(145deg, #187acf, #1d90f6);
}

.alkali {
  background: linear-gradient(145deg, #b83a53, #da4462);
}

.alkaliearth {
  background: linear-gradient(145deg, #cf6a4a, #f67e58);
}

.transmetal {
  background: linear-gradient(145deg, #cfa13c, #f6c048);
}

.postmetal {
  background: linear-gradient(145deg, #729d2e, #88ba37);
}

.metalloid {
  background: linear-gradient(145deg, #3a8a89, #44a4a3);
}

.halogen {
  background: linear-gradient(145deg, #ce53c5, #f562ea);
}

.noblegas {
  background: linear-gradient(145deg, #25b4b8, #2cd6da);
}

.lanthanides {
  background: linear-gradient(145deg, #9e56c3, #bb67e8);
}

.actinides {
  background: linear-gradient(145deg, #6262c3, #7575e8);
}

.ppColorCode {

  /* width: 100%; */
  position: absolute;
  display: flex;
  justify-content: flex-start;
  left:   calc(18% + 190px);
  z-index: 1;

}

.ppColorCode>div {
  /* padding-left: 10px; */
}

.ppColorCodeContainer {
  display: flex;
  margin-bottom: 0px;
  cursor: pointer;
  /* border: 1px solid #666; */
  box-sizing: border-box;
  width: 150px;
}

.ppColorCodeCell {
  position:relative;
  width: 22px;
  height: 22px;
  border-radius: 1px;
  box-shadow: 1px 1px 2px #777,
  -1px -1px 1px #fff;
  transition: all 0.3s;
}

.ppColorCodeContainer:hover .ppColorCodeCell {
  width:100%;
  /* box-shadow:  0px 0px 0px rgba(255,255,255,0),
  0px 0px 0px rgba(255,255,255,0); */
  transition: all 0.3s;
}

.ppColorCodeName {
  position:relative;
  font-size: 0.688rem;
  /* font-weight: bold; */
  color: #666;
  padding: 5px;
  margin-left:0px;
  margin-top: 1px;
  transition: all 0.3s;
  display: inline-block;
}

.ppColorCodeContainer:hover .ppColorCodeName{
  margin-left: -128px;
  transition: all 0.3s;
  color: #fff;
}

.elementClassTitle {
  font-family: "Century Gothic", Arial, Helvetica, sans-serif;
  font-size: 1.125rem;
  color: #fff;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
  padding: 10px;
  text-align: center;
  font-weight: bold;
}
