﻿body {
	background-color: #1c355d;
	color: #dfdfdf;
}

th {
	background-color: #1d2430;
	height: 25px;
}

td {
	text-align: center;
	height: 25px;
	background-color: #1d2d46;
}

td:hover {
	background-color: #1d2430;
}

h1 {
	font-size: 24px;
	padding-left: 5px;
	padding-top: 5px;
}

h2 {
	background-color: #202c46;
	font-size: 18px;
	padding-left: 5px;
	padding-right: 5px;
	margin-top: 0px;
	margin-bottom: 10px;
}

input.table {
	text-align: center;
	background-color: #1d2d46;
	border: 0px;
	color: white
}

input.table:hover {
	background-color: #1d2430;
}

input[type=date],
[type=time] {
	font-family: sans-serif;
}
input[type=text] {
	text-align: center;
	background-color: #1d2d46;
	border: 0px;
	color: white
}

a:link {
	color: #4074db;
}

a:visited {
	color: #189c65;
}

.tooltip .tooltiptext {
	visibility: hidden;
	width: 150px;
	background-color: white;
	color: #3c3c3c;
	font-size: 12px;
	font-weight: normal;
	text-align: center;
	padding: 4px;
	margin-top: 18px;
	border: solid;
	border-width: 1px;
	position: absolute;
	z-index: 1;
}

.tooltip:hover .tooltiptext {
	visibility: visible;
}

.autocomplete {
    position: relative;
    display: inline-block;
}

.autocomplete-list {
	max-height: 105px;
	overflow: scroll;
	overflow-x: hidden;
	overscroll-behavior: none;
}

.autocomplete-items {
    position: relative;
    border-top: none;
    z-index: 99;
    top: 0%;
    left: -1%;
    right: 0%;
	width: 102%;
	/* 0高度确保不会增加表格行高 */
    height: 0;
}

.autocomplete-items div {
	padding: 0px;
	cursor: pointer;
	background-color: #3363af;
		color: white;
	border: none;
}

/*when hovering an item:*/
.autocomplete-items div:hover {
	background-color: #3363af;
}

/*when navigating through the items using the arrow keys:*/
.autocomplete-active {
	background-color: DodgerBlue !important; 
	color: #ffffff; 
}

@media (min-width:480px) {
	.col-toolbar {
		position: relative;
		width: 100%;
		max-width: 900px;
	}

	.col-result {
		position: relative;
		width: 900px;
	}
	.helpdiv {
		margin-left: auto;
		margin-right: auto;
		width:100%;
	}
}

@media (min-width:1035px) {
	.col-toolbar {
		position: relative;
		width: 85px;
		padding-right: 5px;
	}

	.col-result {
		position: relative;
		padding-top: 10px;
		margin-left: 97px;
		width: 904px;
	}
	.helpdiv {
		margin-left: auto;
		margin-right: auto;
		width:927px;
	}
}

@media (min-width:1562px) {
	.col-result {
		position: relative;
		-ms-flex: 0 0 34%;
		flex: 0 0 34%;
		max-width: 34%;
		padding-top: 0px;
		margin-left: 0px;
	}
	.helpdiv {
		margin-left: auto;
		margin-right: auto;
		width:60%;
	}
}

#canvas {
	margin: 0 auto;
	background: #000;
	cursor: move;
}

.outputColumn {
	margin-top: 15px;
	margin-bottom: 15px;
}

.removeLine {
	background: none;
	width: 60%;
	height: 60%;
	background-color: #e44f0d60;
	border-radius: 50%;
	color: #e44f0d;
	-webkit-user-select: none;
	user-select: none;
}

.resetButton {
	color: white;
	border: 2px solid #c93a20;
	border-radius: 5px;
	width: 85px;
	height: 48px;
	cursor: pointer;
	background-color: #9c3521;
	margin-bottom: 5px;
}

.resetButton:hover {
	background-color: #c93a20;
}

.resetButton:active {
	background-color: #522a22;
}

.actionButton {
	color: white;
	border: 2px solid #189c65;
	border-radius: 5px;
	width: 85px;
	height: 48px;
	cursor: pointer;
	background-color: #187C54;
	margin-bottom: 5px;
}

.actionButton:hover {
	background-color: #189c65;
}

.actionButton:active {
	background-color: #194837;
}

.helpButton {
	color: white;
	border: 2px solid #2150B7;
	border-radius: 5px;
	width: 85px;
	height: 48px;
	cursor: pointer;
	background-color: #204898;
	margin-bottom: 5px;
}

.helpButton:hover {
	background-color: #2150B7;
}

.helpButton:active {
	background-color: #1d2d46;
}

.calculButton {
	color: black;
	border: 2px solid #e44f0d;
	border-radius: 10px;
	width: 100%;
	height: 100%;
	cursor: pointer;
	background-color: #b54914;
	font-size: 36px;
}

.calculButton:hover {
	background-color: #e44f0d;
}

.calculButton:active {
	background-color: #422a1c;
}

.calculButton:hover .calculIcon{
	visibility: hidden;	
}

.calculButton:hover .calculAnim{
	visibility: visible;
}

.calculButton:active .calculIcon{
	visibility: visible;	
}

.calculButton:active .calculAnim{
	visibility: hidden;
}

.calculAnim{
	visibility: hidden;
	position: absolute;
}

.zenith {
	color: #e44f0d;
}

.result {
	color: #189c65;
}

.celesName {
	margin-left: 5%;
	margin-right: 5%;
	width: 90%;
}

.formatedInput {
	display: flex;
}

.formatedInput div {
	flex: 1;
	overflow: hidden;
	text-overflow: clip;
	white-space: nowrap;
}

.hourAngle {
	margin-left: 4%;
	margin-right: 4%;
	width: 92%;
}

.declination {
	margin-left: 5%;
	margin-right: 5%;
	width: 90%;
}

.coordsInput {
	margin-left: 7.5%;
	margin-right: 7.5%;
	width: 85%;
}

.input-helper {
	display: none;
	/* 默认隐藏 */
	position: absolute;
	/* 使用绝对定位 */
	background-color: #7f7f7f;
	/* 背景颜色 */
	border: 1px solid #ccc;
	/* 边框 */
	padding: 10px;
	/* 内边距 */
	z-index: 1000;
	/* 确保浮动 div 在上层 */
}

.row {
	display: -ms-flexbox;
	display: flex;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
}

.header {
	background-color: #161f2c;
	height: 45px;
	margin: -16px -8px 10px -8px;
}

.col-toolbar {
	padding-right: 10px;
}

.col-measure {
	position: relative;
	width: 900px;
	padding-right: 10px;
}

.col-input {
	-ms-flex: 0 0 90%;
	flex: 0 0 90%;
	max-width: 90%;
	margin-left: -1px
}

.col-calcul {
	-ms-flex: 0 0 10%;
	flex: 0 0 10%;
	max-width: 10%;
	margin: 0px
}

.col-acknow {
	-ms-flex: 0 0 70%;
	flex: 0 0 70%;
	max-width: 70%;
}

.col-logo {
	-ms-flex: 0 0 28%;
	flex: 0 0 28%;
	max-width: 28%;
}

.desc {
	color:#9f9f9f;
	margin-top:0px;
	margin-bottom:0px;
}
