:root {
	--zodiac-radius: 720px;

	--sky:      #001e26;

	--black2:	#00161c;
	--black:    #002b36; /* Solarized Base03 */

	--darkest:  #073642; /* Solarized Base02 */
	--darker:   #094959; /* Solarized Base01 */
	--dark:     #215e6d; /* Solarized Base00 */
	--ton:      #4f7f8e; /* Solarized Base0  */
	--light:    #71a4b5; /* Solarized Base1  */
	--lighter: 	#a3dde3; /* Solarized Base2  */
	--lightest:	#fcfeff; /* Solarized Base2  */

	
	--stars: 	#dad7f7; 
	--sun: 		#ffe684; 
	--moon: 	#d1cab5;
	--planets: 	#fff5d1;	

	--mars: 	#e55759;
	--mercure: 	#7e5e92;
	--venus: 	#db9598;
	--jupiter: 	#c29656;
	--saturn: 	#768d4d;
	--uranus: 	#1f8a80;
	--neptune: 	#1f4a80;
	--pluton: 	#373e76;

	--ecliptic: #6e5988; 
	--equator: 	#66afc1; 
	--galactic: #1A759F; 

	--zodiac: 	#db9598;;

}



@font-face {
  font-family: 'RobotoCon';
  src: url('fonts/RobotoCondensed-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
}


@font-face {
  font-family: 'Astronomicon';
  src: url('fonts/Astronomicon.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'Duospace';
  src: url('fonts/Duospace-Regular.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
}


@font-face {
  font-family: 'Duospace';
  src: url('fonts/Duospace-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
}

* {
    margin: 0;
    padding: 0;
    list-style: none;
    outline: none;
    text-decoration: none;
    width: auto;
    border: 0;
    
}

body, html {
    height: 100vh;
    width: 100vw;
    font-family:  'Duospace', monospace;
    background-color: var(--black2);
    font-size: 14px;
}

body {
    color:  var(--ton);
    display: flex;
    justify-content: center;
   }

input, option, button, select { 
	font-family: 'Duospace', monospace;
	border-radius: 8px;
	font-size: 14px;
}

h1, h1 a {
	text-align: center;
	font-weight: 400;
	color: var(--ton);
	font-size: 28px;
	text-decoration: none;
	margin-top: 16px;
}

h1 a:hover {
	color: var(--lightest);
}

h2 {
	font-weight: 400;
	width: 100%;
	color: var(--light);
	font-size: 14px;
	margin: 16px 0 8px 0;
	padding-bottom: 8px;
	border-bottom: 1px solid var(--sky);
}


h3 {
	font-weight: 400;
	font-size: 14px;
	margin: 0;
}

p {
	margin: 16px 0;
}

em {
	color: var(--lighter);
}

#container {
	
    display: flex;
    justify-content: space-around;
    align-items: stretch;
    min-height: 800px;
    position: relative;

}


.col-left {
max-width: 260px;
margin: 0 16px 0 0;

}

.col-right {
	width: 620px;
	margin: 0 0 0 16px;

}

.col-center {
	display: flex;
flex-direction: column;
align-items: center;}

#sky-area {
margin: 0;
padding: 0;
}

#zodiac-map {
	width: var(--zodiac-radius);
	height: var(--zodiac-radius);
	box-sizing: content-box;
	
}


.form {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	color: var(--lightest);
}

.form > div , .form fieldset{
	margin: 4px 0;
	display: flex; 
	align-items: center;
	flex-wrap: wrap;
	text-align: center;
	justify-content: center;
}

fieldset fieldset{
	margin: 0;
	display: flex; 
	align-items: center;
	flex-wrap: wrap;
}


section > div {
	padding: 16px 0;
}


button  {
	display: flex;
	background-color: var(--darkest);
	padding: 8px 8px;
	cursor: pointer;
	margin: 8px;
	color: var(--ton);
	font-size: 14px;
	box-shadow:  1px  1px  1px var(--sky), inset  1px  1px  1px var(--darker);
}


button:hover, button.small:hover   { color: var(--lighter);}

button:active,  button:focus, button.small:active, button.small:focus, button.navigation:active, button.navigation:focus   { 
	box-shadow:  none;color: var(--lightest);
}

button.small  {
	font-size: 12px;
	padding: 4px 8px;
	margin: 0;
}

button.navigation{
	display: block;
	padding: 4px;
	border-radius: 50%;
	line-height: 20px;
	height: 20px;
	width: 20px;
	text-align: center;
	margin:  0 3px;
	box-sizing: content-box;
}


button.navigation svg {
	width: 20px;
	height: 20px;
}

button.navigation svg path {
	stroke: var(--ton);
	stroke-width: 2;
	stroke-linecap: round ;
	stroke-linejoin: round;
}

button.navigation:hover svg path {	stroke: var(--lighter);}

button.navigation:active svg path, button.navigation:focus svg path{
	stroke: var(--lightest);
}

select {
	padding: 4px 8px ;
	border: 0;
	cursor: pointer;
	line-height: 20px;
	font-size: 14px;
	font-family:  monospace;
	margin: 4px;
	cursor: pointer;
	color: var(--ton);
	background: var(--black);

}
select:hover, select:focus {
	color: var(--lightest);
}

input[type=number]::-webkit-inner-spin-button, input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
input[type=text]::-webkit-inner-spin-button, input[type=text]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
input[type="number"], input[type="text"]{
	-moz-appearance: textfield; /* Enlève les flèches sur Firefox */
	border: none ;
	display: block;
	background-color: var(--black);
	color:  var(--ton);
	padding: 4px 0;
	text-align: center;
	width: 55px;
	margin: 0 4px;
	border: 1px solid transparent;
	font-size: 14px;
}
input[type="text"]{width: auto;}
#latitude, #longitude, #latitude-theme, #longitude-theme {width: 70px}

input[type="number"]:focus, input[type="text"]:focus {
	border-color: var(--light);
	color: white;
	box-shadow: 0 0 1px var(--light);
}


label.checkbox{
	cursor: pointer;
	position: relative;
	display: inline-block;
	color: var(--ton);
	margin: 4px 8px 4px 4px;
	font-size: 13px;
}
 label.checkbox:hover {
 	color: var(--lighter) ;

 }

 label.checkbox:before {
	content: '';
	display: inline-block;
	height: 8px;
	width: 8px;
	margin-right: 8px;
	border: 1px solid var(--ton);
	background-color: transparent;
	border-radius: 2px;
}


 input[type="checkbox"] {display: none;}

 input[type="checkbox"]:checked + label.checkbox {
	color:  var(--lightest);
	text-decoration: none;
}


 input[type="checkbox"]:checked + label.checkbox:before {
	background-color: var(--ton);
	border-color: transparent;
}



input[type="checkbox"]:checked +label.checkbox.s_stars:before {background: var(--stars); }
input[type="checkbox"]:checked +label.checkbox.s_sun:before {background: var(--sun); }
input[type="checkbox"]:checked +label.checkbox.s_moon:before {background: var(--moon); }
input[type="checkbox"]:checked +label.checkbox.s_planets:before {background: var(--planets); }
input[type="checkbox"]:checked +label.checkbox.s_constellations:before {background: rgba(255,255,255,.2); }
input[type="checkbox"]:checked +label.checkbox.s_equator:before {background: var(--equator); }
input[type="checkbox"]:checked +label.checkbox.s_ecliptic:before {background: var(--ecliptic) }
input[type="checkbox"]:checked +label.checkbox.s_galactic:before {background: var(--galactic); }
input[type="checkbox"]:checked +label.checkbox.s_reperes:before {background: rgba(255,255,255,.2); }



#new-theme-form {
	position: absolute;
	top: 56px;
	left: 50%;
	z-index: 3000;
	background-color: var(--darkest);
	border-radius: 8px;
	border: 1px solid var(--darker);
	padding: 8px;
	display: none;
	flex-direction: column;
}
#new-theme-form.active {
	display: flex;
}

#new-theme-name{
	margin: 16px 0;
}


#theme-list{
	display: flex;
	flex-direction: column;
	margin-top: 16px;
	
}

#theme-list li {
	display: flex;
	flex-direction: column;
	border-radius: 8px;
	background-color: var(--sky);
	padding: 8px;
	margin-bottom: 4px;
	position: relative;
	border:  1px solid var(--black);
	text-align: center;
}

#theme-list li.active {
	background-color: var(--black);
	border:  1px solid var(--darkest);
}

#theme-list li:hover {}

#theme-list li .title{
	cursor: pointer;

}

#theme-list li.active .title{
	display: block;
	color: var(--lightest)!important;
}

#theme-list li .title:hover {
	color: var(--lighter);
	display: block;
}

#theme-list li .content {
	display: none;
	font-size: 90%;
	margin-top: 8px;
}

#theme-list li .content.active {
	display: block;
	color: var(--light);
}

#theme-list li .buttons {
	margin-top: 8px;
	display: flex;
	flex-direction: column;
	justify-content: center;
}



#theme-list li button {
	display: block;
	margin: 4px;
	padding: 4px 8px;
}

#theme-list li .buttons .button-suppr:hover{
	color: var(--mars);
}

#theme-list li .buttons .button-compare{
	margin: 8px;
}

#theme-list li .buttons .button-compare label.checkbox{
	font-size: 120%;
}


#options {
font-size: 13px!important;
text-align: center;
}

#theme-options {
/*	position: absolute;
	top: 50%;
	left: 50%;
	z-index: 2000;*/
	border: 1px solid var(--darker);
	padding: 8px ;
	border-radius: 8px;
	margin-top: 16px;
}




.infos {
	margin: 0 0 16px 0 ;
}

#navigation {
	display: flex;
	align-items: center;
	justify-content: center;
	
	padding-top: 0;
}


#infos-moon {
	display: flex;
	align-items: center;
	font-size: 16px; 
	color: var(--lightest);
}

.c_lune {
	height:40px;
	width:40px;
	overflow: hidden;
	border-radius: 50%;
	position: relative;
	margin-left: -5px;
	margin-right: 8px;

}
#phase-lune {
	position: absolute;
	top: 50%;
	margin-top: -20px;
	left: 50%;
	margin-left: -20px;
	height:40px;
	width:40px;

}
#apperance_path {
	fill: var(--sky);
	stroke: var(--moon);
	stroke-width:2px;
} 

#circle {
	 fill: var(--moon);
}


#infos-date  {
	font-size: 20px;
	color: var(--lightest);
	padding-bottom: 8px;
	
}

#infos-date  span {
	margin: 0;
	padding: 0 8px;
	text-align: center;
	text-transform: uppercase;
	background: var(--black);
}

#infos-date  span.date {
	
	text-align: left;	

}
#infos-date  span.year {
	padding: 0;
}
#infos-date  span.time {

}


#theme-date  {
	font-size: 24px;
	color: var(--lighter);
	padding: 0;
	text-align: right;
	display: none;
}

#theme-date  span {
	margin: 0;
	padding: 0 8px;
	text-align: center;
	text-transform: uppercase;
}

#theme-date  span.date {
	background: var(--black);
	text-align: left;	

}
#theme-date  span.year {
	padding: 0;
}
#theme-date  span.time {

}

#maisons {
	padding: 0 0 0 16px;
}




#wrapper {
	position: absolute;
	z-index: -10;
	top: 0;
	left: 0;
	height: 100vh;
	width: 100vw;
	background-color: rgba(0, 0, 0, .2);
	overflow: hidden;
}
#wrapper.active {
	z-index: 1900;
}


#parametres{
z-index: 2000;
position: absolute;
top: 56px;
right: 50%;
margin-right: -360px;
width: 820px;
background: var(--darkest);
display: none;
padding: 16px;
border-radius: 8px;
box-shadow: 0 0 50px black;
}


#aspects-options{
display: flex;
flex-wrap: wrap;
justify-content: start;
gap: 16px;
}


#zodiac-options{
display: flex;
flex-wrap: wrap;
gap: 16px;
margin-bottom: 16px;
}
 #zodiac-options > div{
	border: 1px solid var(--darker);
	padding: 8px ;
	border-radius: 8px;
	box-sizing: border-box;
}

#zodiac {
}
#logs-options {
	display: flex;
	flex-direction: column;
}

#parametres.active{
	display: block;
}

#aspects-options h3 {
	padding: 8px;
	text-align: center;
	width: 100%;
}
#aspects-options > div {
	border: 1px solid var(--darker);
	padding: 8px ;
	border-radius: 8px;
	 box-sizing: border-box;
}


#aspects-options > div > label{
	margin-bottom: 8px;
	font-size: 110%;

}

.menu {
	display: flex;
}






#data-astrology {
	padding: 0;
	position: relative;
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
	width: 100%;
	overflow: hidden;
	border: 1px solid var(--black);
	border-radius: 8px;
	background: var(--sky);

}

.data-astro {
	display: none;
	flex-wrap: wrap;
	width: 100%;
	justify-content: space-around;
	margin: 0;
	user-select: none;
	padding: 8px 0;
}
.data-astro.active {	display: flex;}


.orb-data {
	display: flex;
	flex-wrap: wrap;
	flex-direction: column;
	cursor: pointer;
	align-items: center;
	color: var(--ton);
	justify-content:center;
	position: relative;
	z-index: 40;
	width: 52px;
	
}

.orb-data:hover .orb-pos,  .orb-data.active  .orb-pos{
	color: var(--lightest)!important;
	opacity: 1!important;
}


.data-astro[data-orbcontainer="observer"] .orb-data.active::after {
    content: "";
    position: absolute;
    left: 50%;                    /* centre horizontal */
    bottom: -12px;                /* place le triangle juste sous l’élément */
    transform: translateX(-50%);  /* recentre exactement */
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid var(--light);  /* couleur du triangle = couleur de l’élément */
}

.loadFont {font-family: 'Astronomicon';}

.data-astro [data-orb="ascendant"],  .data-astro [data-orb="milieuciel"] {
	display: none;
}

.data-astro .orb-name {
	font-size: 32px;
	font-family: 'Astronomicon';
	position: relative;
	display: block;
	text-align: center;
	width: 100%;
}

.data-astro .orb-retro  {
	color: #c13c3a;
	font-size: 32px;
	font-family: 'Astronomicon';
}

.data-astro .orb-pos {
}


.data-astro .orb-sign {
	font-size: 16px;
	font-family: 'Astronomicon';
	padding: 0 2px;
}

.data-astro .orb-deg  {
	font-size: 13px;
}




#aspects {
	width: 100%;
	overflow: hidden;
	height: 500px;
}

#log-title {
	width: 100%;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-around;
	font-size: 16px;
	background-color: var(--black2);
	box-sizing: border-box;
	position: relative;
	z-index: 30;
	padding:  0 8px ;
	height: 2px;
	transition: .1s height ;
	overflow: hidden;
}

#log-title.active {
	height: 50px;
	padding: 8px;
	transition: .2s height ;
}

#log-title h3{
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-around;
	min-height: 36px;
}



#log-title > div {
	margin-left: auto;
}


#log-title .infos-buttons {
	display: none;
}

#log-title .infos-buttons.active {
	display: flex;
}

#log-title .infos-buttons div{
	text-align: center;
	color: var(--ton);
	font-weight: 700;
	background-color: var(--black2);
	border-radius: 8px;
	padding: 4px 12px;
	margin: 0 4px;
}

#log-title .infos-buttons div:hover {color: var(--lighter);cursor: pointer;}

#log-title .symbol {
	font-family: 'Astronomicon';
	font-size: 32px;
	margin-left: 8px;
}

#log-title .dignity {
	margin-right: 8px;
}

#log-title .name {
	color: var(--lightest);
	margin-right: 8px;

}

#log-title .retro {
	font-size: 32px;
	font-family: 'Astronomicon';
	margin-right: 8px;
	color: #c13c3a;
}

#log-title .sign {
	margin-right: 8px;
}

#log-title .decan {
	margin-right: 8px;
}

#log-title .house {
	margin-right: 8px;
}
#log-title .house.athome {
	font-weight: 700;
}

#log-list {
	position: relative;
	z-index: 20;
	width: 100%;
	overflow: scroll;
	height: 498px;
	box-sizing: border-box;
}

.active #log-list {
	height: 450px;
}




.log {
	display: flex;
	align-items: center;
	justify-content: space-around;
	color: var(--ton);
	
}
.log:hover {
	background-color: var(--black);
}

.log.house {
	margin: 0 8px ;
}
.log span {
	margin: 0 2px ;
	line-height: 30px;
	margin-top: -2px;
}

.log.house span {
	margin: 0 2px ;
	line-height: 30px;
}

.log .aspect {
	margin: 0 8px ;
	cursor: default;
}


.log .orbname{
	color: var(--lighter);

}
.log .orbe, .log.house .orbe{
	color: var(--ton);
	margin-left: auto;
	margin-right: 8px;
	font-size: 13px;
	
}

.log.is-notable .orbe{
	color: var(--lighter);
}

.log .retro {
	font-size: 13px;
	color: #c13c3a;
	font-family: 'RobotoCon';
	margin: 0;
	margin-left: -5px;
}

.log .sign {
	font-size: 22px;
	font-family: 'Astronomicon';
}
