/*
  Motivational-Numerology
  (c) 2023 Sally Faubion & Olivier Giulieri
  http://www.sallysnumbers.com
*/

body {
  margin: 30px;
  font-size: 1.2em;
  font-family: sans-serif;
  color: #1d1d1d;
  background-image: url(bg.gif);
}
body > div {
  margin-bottom: 20px;
}
a {
  text-decoration: none;
  border-bottom: 1px solid #0091ea;
  color: #1d1d1d;
}
a:hover {
  background-color: rgb(241, 248, 255);
  border-bottom-color: #0091ea;
}
h1 {
  margin: 10px 0 40px;
}
h1 > span {
  font-weight: 300;
  font-size: 0.6em;
  white-space: nowrap;
}
h2 {
  margin: 12px 0 5px;
  font-size: medium;
}
label {
  color: #1d1d1d;
  display: block;
  margin-bottom: 3px;
  font-size: 0.9em;
}
input,
select {
 
  font-size: 20px;
  line-height: 25px;
  font-family: sans-serif;
  background-color: white;
  border: solid grey 1px;
  border-radius: 5px;
}
article {
 
 
}
section {
  position: relative;
  background-color: rgb(241, 248, 255);
  margin-bottom: 20px;

  border: 2px solid #c8e1ff;
  border-radius: 20px;
}


table, th, td {
  border: 1px solid black;
 
  border-collapse: collapse;
  width: 15em;
  height: 2em;
}


th, td {
  text-align: left;
  padding: 8px;
  width: 33%;
  border: 1px solid black;
  background-repeat: no-repeat;
  background-position: center center;
}

tr:nth-child(even) {background-color: #f2f2f2;}


#day {
  width: 60px;
}
#year {
  width: 100px;
}
.name > input {
  width: 100%;
}
.spaced {
  margin: 0 10px;
}
.linespace > li {
  margin: 10px;
}
.linespace > li > a {
  font-weight: 600;
}
.field {
  margin-bottom: 30px;
}
.inputForm {
  z-index: 300;
  min-height: 190px;
}
.desc {
 
}

.calc {
  display: block;
  margin: 10px 0;
}
.calc > div {
  color: #0091ea;
  margin: 5px 0;
}
.calc > .meaning {
  margin: 15px 0 20px -10px;
  color: #1a1a1a;
  border-left: none;
  min-height: 50px;
}
.meaning {
  position: relative;
  width: 100%;
  margin-bottom: 10px;
}
.meaning > div {
 
}
.meaning > .num {
  position: absolute;
  top: 0;
  left: 10px;
  font-size: 35px;
  border-width: 6px;
  line-height: 42px;
  height: 42px;
  width: 42px;
 
  margin-right: 10px;
}
.num {
  display: inline-block;
  border: 4px solid grey;
  background-color: white;
  line-height: 24px;
  height: 24px;
  width: 24px;
  text-align: center;
  border-radius: 50%;
}
.fl {
  float: left;
  margin: 10px 30px;
}
.fl > a {
  border-bottom: none;
}
.fl img {
  border-radius: 10px;
}
.clearer {
  clear: both;
  height: 0;
  width: 0;
}
.i18n {
  position: absolute;
  top: 10px;
  right: 20px;
 
}
.i18n img {
  cursor: pointer;
  margin-left: 4px;
  height: 11px;
  width: 16px;
}

.artnum {
  border-left: 10px solid grey;
}
.ml210 {
  margin: 0 20px 0 260px;
}
#allNumbers {
  margin: 0 0 20px 0;
}
#allNumbers > span {
  
  display: inline-block;
  height: 24px;
  width: 24px;
  margin-right: 10px;
}
.c1,
.c10,
.c19,
.c28 {
  border-color: #f44336 !important;
}
.c2,
.c20 {
  border-color: #ff9800 !important;
}
.c3,
.c12,
.c21,
.c30 {
  border-color: #ffeb3b !important;
}
.c4,
.c13,
.c31 {
  border-color: #4caf50 !important;
}
.c5,
.c14,
.c23 {
  border-color: #48d1cc !important;
}
.c6,
.c15,
.c24 {
  border-color: #2196f3 !important;
}
.c7,
.c16,
.c25 {
  border-color: #6a0dad !important;
}
.c8,
.c17,
.c26 {
  border-color: #d000d0 !important;
}
.c9,
.c18,
.c27 {
  border-color: #ffc107 !important;
}
.c11,
.c29 {
  border-color: #9c27b0 !important;
}
.c22 {
  border-color: #3f51b5 !important;
}

.k1,
.k10,
.k19,
.k28 {
  border-bottom-color: #f44336 !important;
}
.k2,
.k20 {
  border-bottom-color: #ff9800 !important;
}
.k3,
.k12,
.k21,
.k30 {
  border-bottom-color: #ffeb3b !important;
}
.k4,
.k13,
.k31 {
  border-bottom-color: #4caf50 !important;
}
.k5,
.k14,
.k23 {
  border-bottom-color: #48d1cc !important;
}
.k6,
.k15,
.k24 {
  border-bottom-color: #2196f3 !important;
}
.k7,
.k16,
.k25 {
  border-bottom-color: #6a0dad !important;
}
.k8,
.k17,
.k26 {
  border-bottom-color: #d000d0 !important;
}
.k9,
.k18,
.k27 {
  border-bottom-color: #ffc107 !important;
}
.k11,
.k29 {
  border-bottom-color: #9c27b0 !important;
}
.k22 {
  border-bottom-color: #3f51b5 !important;
}

.copy {
  margin: 50px 0 20px;
  color: gray;
  font-size: 0.8em;
}
.grey {
  color: gray;
}

#sally {
  display: none;
}
#sally li {
  margin-bottom: 10px;
}

.fullStar {
  position: absolute;
  top: 0;
  left: 5px;
  min-height: 220px;
}
#star-holder {
  z-index: 200;
  
  left: 10px;
  top: 10px;
  position: absolute;
  height: 240px;
  width: 240px;
}
#star-holder .num {
  position: absolute;
  
}
#star-holder .num > span {
  display: block;
  opacity: 0;
  position: relative;
  top: 17px;
  left: -34px;
  width: 100px;
  z-index: 100;
  font-size: 0.9rem;
  transition: opacity 0.3s ease 0.1s;
}
#star-holder .num:hover > span {
  opacity: 1;
}

#star-holder .character {
  top: 0px;
  left: 95px;
}
#star-holder .soul {
  top: 66px;
  left: 9px;
}
#star-holder .agenda {
  top: 65px;
  left: 179px;
}
#star-holder .attitude {
  top: 158px;
  left: 144px;
}
#star-holder .personality {
  top: 158px;
  left: 44px;
}
#star-holder .destiny {
  top: 88px;
  left: 95px;
}
#star-holder .purpose {
  display: none;
}
#star-holder .character > span {
  left: 12px;
  top: 0;
}
#star-holder .destiny > span {
  left: 28px;
  top: 0;
}
#star-holder .agenda > span {
  top: 22px;
  left: -28px;
}

.star > div {
  z-index: 110;
  width: 0;
  height: 0;
  border-left: 23px solid transparent;
  border-right: 23px solid transparent;
  border-bottom: 64px solid #c8e1ff;
}

.t0 {
  position: absolute;
  display: inline-block;
  border-radius: 50%;
  border: solid 39px #c8e1ff;
  top: 81px;
  left: 86px;
  background-color: #c8e1ff;
}
.t1,
.t2,
.t3,
.t4,
.t5 {
  position: absolute;
}
.t1 {
  top: 24px;
  left: 102px;
}
.t2 {
  transform: rotate(72deg);
  top: 68px;
  left: 163px;
}
.t3 {
  transform: rotate(144deg);
  top: 139px;
  left: 140px;
}
.t4 {
  transform: rotate(-144deg);
  top: 139px;
  left: 64px;
}
.t5 {
  transform: rotate(-72deg);
  top: 68px;
  left: 41px;
}
.rpt-perso .num {
  
}

@media only screen and (max-width: 670px) {
  body {
    margin: 30px 10px;
  }
  section {
    
  }
  .ml210 {
    margin-left: 10px;
  }
  .fullStar {
    position: relative;
  }
  .meaning > .num {
    left: -10px;
  }
  .meaning > div {
   
  }
  .fl {
    margin: 10px 0px;
  }
}

@media print {
  @page {
    margin: 1cm 1cm;
  }
  #sally,
  article {
    
 
  }
  a[href^="http"]::after {
    font-weight: 500;
    content: " (" attr(href) ") ";
  }
  .num > span,
  .field > label > span.grey {
    display: none !important;
  }
  section {
    border: none;
    border-bottom: 2px solid silver;
  }
}
