.w3-dropdown-content {
	position: fixed;
}

.w3-dropdown-hover:first-child {
	background-color: transparent;
	color: inherit;
}

.w3-button {
	background-color: transparent;
}

/* Firefox Scrollbar */
html {
	background-color: rgb(0, 0, 29);
}

* {
	scrollbar-color: black transparent;
	scrollbar-width: none;
}

/* WebKit and Chromiums Scrollbar */
::-webkit-scrollbar {
	width: 3px;
	height: 3px;
	background-color: transparent;
}

::-webkit-scrollbar-thumb {
	background: black;
	border-radius: 1px;
	opacity: 0;
}

@keyframes append-animate {
	from {
		/* transform: scale(0); */
		/* transform: translateX(-100%); */
		/* transform: scaleY(0); */
		opacity: 0;
	}

	to {
		/* transform: scale(1); */
		/* transform: translateX(0%); */
		/* transform: scaleY(1); */
		opacity: 1;
	}
}

html,
body,
h1,
h2,
h3,
h4,
h5,
* {
	font-family: 'LED', monospace;
	/* transition: 0.1s; */
	/* animation: append-animate 0.2s linear; */
	/* filter: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='b' x='0' y='0'%3E%3CfeFlood x='4' y='4' height='1' width='1'/%3E%3CfeComposite width='5' height='5'/%3E%3CfeTile result='a'/%3E%3CfeComposite in='SourceGraphic' in2='a' operator='in'/%3E%3CfeMorphology operator='dilate' radius='1'/%3E%3C/filter%3E%3C/svg%3E#b");   */
}

/* nav, nav * {
	animation: none !important;
	transition: 0 !important;
} */

body {
	background-repeat: no-repeat;
	background-position: center;
	background-size: cover;
	background-attachment: fixed;
	background-position: bottom;
	background-image: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.3)), url('home.jpg');
}

h1,
h2,
h3,
h4,
h5,
pre {
	margin: 0;
	padding: 8px 16px;
}

header,
header *,
#header,
#header *,
table *,
b {
	font-weight: normal;
}

a {
	text-decoration: none;
	cursor: pointer;
}

#htable td:first-child,
.w3-bar-item:hover,
.w3-button:hover,
li:hover,
thead,
header,
.head,
.selected {
	background-color: #1876e2;
	color: #fff;
}

#htable td {
	text-align: right;
}

#htable td:first-child {
	position: sticky;
	left: 0;
	width: 1px;
	white-space: nowrap;
}

#vtable th:first-child,
#vtable td:first-child {
	width: 1px;
	white-space: nowrap;
}

#dc-lcd div {
	display: inline-block;
	width: min-content;
	display: none;
	padding: 12px;
}

#dc-lcd var {
	font-weight: normal;
	font-style: normal;
	white-space: nowrap;
	display: inline-block;
}

#dc-lcd var hr {
	margin: 0;
	padding: 0;
}

#dc-lcd sub {
	font-size: 0.6em;
}

#dc-lcd sup {
	font-size: 0.6em;
}

#plot>code {
	display: block;
}

#station>div,
#dc-skewt>div
{
	margin: 12px 12px 12px 12px;
}

/* #plot>div, */
#plot>div {
	height: 200px;
	display: block;
	margin-bottom: 12px;
}

.plotly * {
	transition: 0s !important;
}

#plot .js-plotly-plot {
	font-family: 'LED', monospace !important;
	width: 100%;
	height: 200px;
	background-color: rgba(0, 0, 0, 0.5);
}

.plot-title {
	background-color: #1876e2 !important;
}

.dc-dark {
	background-color: rgba(0, 0, 0, 0.5) !important;
	color: #fff;
}

nav,
.dc-darker {
	/* background-color: rgba(100, 100, 0, 0.5) !important; */
	background-color: rgba(0, 0, 0, 0.7) !important;
	color: #fff;
}

.right {
	transform: rotate(-45deg);
	-webkit-transform: rotate(-45deg);
}

.left {
	transform: rotate(135deg);
	-webkit-transform: rotate(135deg);
}

.up {
	transform: rotate(-135deg);
	-webkit-transform: rotate(-135deg);
}

.down {
	transform: rotate(45deg);
	-webkit-transform: rotate(45deg);
}

.nowrap {
	white-space: nowrap;
	width: inherit;
}

ul.w3-ul li {
	border: 0;
}

template {
	visibility: hidden;
}

.dc-select {
	border: 0;
	-moz-appearance: none;
	/* Firefox */
	-webkit-appearance: none;
	/* Safari and Chrome */
	appearance: none;
	margin: 0;
}

.w3-striped tr:nth-child(2n) {
	background-color: rgba(0, 0, 0, 0.4) !important;
}

.sticky {
	position: sticky;
	z-index: 99999999;
}

@media screen and (min-width: 600px) {
	/* @media (min-width:960px) { */

	/* .dc-sidebar {
		background-color: red;
		padding-left: 0 !important;
		padding-left: 12px !important;
	} */
}

svg.main-svg,
svg.main-svg * {
	/* plotly hover */
	overflow: visible !important;
}

/* .dc-sidebar {
	padding: 50px 0 10px 0;
	background-color: #FCFD39;
	height: 100vh;
	position: relative;
	margin-top: 3em;
	position: absolute;
	top: 0
} */

/* .dc-sidebar,
.dc-sidebar * {
	min-width: 300px;
	z-index: 111111111;
} */

/* .dc-sidebar h4 {
	border-bottom: 3px solid rgba(0, 0, 0, 0.2) !important;
} */

/*
#dc-main {
	padding: 0.5em;
	margin-bottom: 1em;
	background-color: red !important;
	padding: 0.5em;
	min-height: 100vh !important;
	position: absolute;
	right: 0;
} */

/* #dc-main,
#dc-main * {
	z-index: 10000;
} */


/* .w3-top {
	top: 0;
	background-color: black;
    overflow: visible;
} */

/* calendar */
/* .dc-cal * {
padding-left: 0.8em !important;
padding-right: 0.8em !important;
} */

/* #dc-calendar {
  margin: 0;
  width: 100%;
}

#dc-calendar * {
	padding:0.5em 0 !important;
}

#dc-calendar .prev {
  float: left;
}

#dc-calendar .next {
  float: right;
} */


#station {
	min-height: 100%;
}

/* HTML: <div class="loader"></div> */
.dc-on-carregando {
/* position:fixed; */
/* top:300px; */
/* height: 100vh; */
/* background-color: red; */
/* z-index: 10000000; */
/* border: 3px solid yellow; */
/* width: 100%; */
/* top:unset; */
/* bottom: 10px; */
}

.dc-carregando-invert {

}

.dc-carregando-fill-bg {
	/* box-shadow: 0px 0px 30px rgb(200, 200, 200); */
	z-index: 100;
	position: absolute;
	right: 0;
	bottom: 0;
	line-height: 1em;
	padding: 1em;
	margin: 1em;

	width: fit-content;
	background: linear-gradient(90deg, #000 50%, #0000 0) right/200% 100%;
	animation: carregando 2s infinite alternate-reverse;
}

#dc-carregando-fill-bg::before {
	/* content :"Carregando..."; */
	color: #0000;
	/* padding: 0 5px; */
	background: inherit;
	background-image: linear-gradient(90deg, #fff 50%, #000 0);
	-webkit-background-clip: text;
	background-clip: text;
}

@keyframes carregando {
	100% {
		background-position: left
	}
}


.dc-spin {
	/* box-shadow: 0px 0px 30px rgb(200, 200, 200); */
	z-index: 100;
	position: absolute;
	right: 0;
	bottom: 0;
	line-height: 1em;
	padding: 1em;
	margin: 1em;
	width: fit-content;

	animation: spin 1s linear infinite;
}

@keyframes spin {
	100% {
		transform: rotate(360deg);
	}
}

#dc-dados-indisponiveis {
	height: 100px;
	margin: auto;
	text-align: center;
	background-color: #F4433644 !important;
}

#dc-calendar {
	padding: 12px;
	font-size: 12px;
	white-space: nowrap;
	z-index: 1000000000;
}

.w3-dropdown-content {
	z-index: 10000;

}

#dc-calendar a,
#dc-calendar b {
	display: inline-block;
	text-align: center;
	width: 3em;
	padding: 0.3em 0;
}

.dc-hide {
	padding: 0 !important;
	max-height: 0 !important;
	overflow: hidden;
	transition: max-height 0.3s ease-out;
}

.dc-show {
	max-height: 100vh !important;
	transition: max-height 0.3s ease-in;
	overflow-y: auto;
}

.dc-vertical {
	display: inline-block;
	-webkit-transform: rotate(-90deg);
	-moz-transform: rotate(-90deg);
	-ms-transform: rotate(-90deg);
	-o-transform: rotate(-90deg);
	transform: rotate(-90deg);
	line-height: 1em;
}

.wi,
.fa {
	font-family: 'LED';
}

.wi::before {
	font-family: 'weathericons';
	margin-right: 0.2em;
}

.fa::before {
	font-family: "Font Awesome 6 Free";
}

.wi,
.dc {
	text-align: center;
}

.wi-thermometer::before {
	font-size: 0.8em;
}

.dc-radiation::before {
	font-style: normal;
	font-family: 'LED', 'monospace' !important;
	content: '\2622\FE0E';
	display: inline-block;
}

.dc-lightning::before {
	font-style: normal;
	font-family: 'LED', 'monospace' !important;
	content: '\26A1\FE0E';
	display: inline-block;
	margin-left: -0.1em;
}

.dc-bottom {
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
}



/* aside nav, */
/* .dc-nav,  */
main nav {
	position: sticky;
	top: 0;
	z-index: 1 !important;
	white-space: nowrap;
	/* white-space-collapse: trim-inner !important; */
	/* display: !important; */
}


.loader {
	filter: blur(10px);
	backdrop-filter: blur(10px);
}

.loader-shimmer {
	animation: shimmer 1s infinite linear;
	background-size: 300% 300%;
	background-image: linear-gradient(to bottom, #00000010, #ffffff55, #00000010, #ffffff55);
}

@keyframes shimmer {
	0% {
		background-position: 100% 100%;
	}

	100% {
		background-position: 0 0;
	}
}

.loader-gradient {
	background-image: linear-gradient(90deg, rgba(255, 255, 255, 0) 0, rgba(255, 255, 255, 0.7) 50%, rgba(255, 255, 255, 0) 100%);
	background-size: 95% 100vh;
	background-repeat: no-repeat;
	background-position: -2500% 0;
	animation: bg-skeleton-box 1s linear infinite;
}


@keyframes bg-skeleton-box {
	100% {
		background-position: 2500% 0;
	}
}

body.metar,
body.skewt
{
	background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('metar.jpg') !important;
}

.metar #htable td:first-child,
.metar .w3-bar-item:hover,
.metar .w3-button:hover,
.metar li:hover,
.metar thead,
.metar header,
.metar .head,
.metar .selected,

.skewt #htable td:first-child,
.skewt .w3-bar-item:hover,
.skewt .w3-button:hover,
.skewt li:hover,
.skewt thead,
.skewt header,
.skewt .head,
.skewt .selected
{
	background-color: #10396D !important;
	color: #FCFD39 !important;
}

/* .metar .js-plotly-plot, */
body.geiger {
	/* background-position: center; */
	background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('geiger.jpg') !important;
}

.geiger #htable td:first-child,
.geiger .w3-bar-item:hover,
.geiger .w3-button:hover,
.geiger li:hover,
.geiger thead,
.geiger header,
.geiger .head,
.geiger .selected {
	background-color: #FFC107 !important;
	color: #000 !important;
}


body.wu {
	/* background-position: center; */
	background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('wu-br.jpg') !important;
}

.wu #htable td:first-child,
.wu .w3-bar-item:hover,
.wu .w3-button:hover,
.wu li:hover,
.wu thead,
.wu header,
.wu .head,
.wu .selected {
	background-color: rgba(92, 3, 97, 0.95) !important;
	color: #fff !important;
}


body.pws {
	background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('pws.jpg') !important;
}

.pws #htable td:first-child,
.pws .w3-bar-item:hover,
.pws .w3-button:hover,
.pws li:hover,
.pws thead,
.pws header,
.pws .head,
.pws .selected {
	background-color: rgba(0, 124, 219, 0.95) !important;
	color: #fff !important;
}


body.cam {
	/* background-position: center; */
	/* backdrop-filter: blur(100px); */
	background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://beta.meteoro.info/cam/201.jpg') !important;
}

.cam main,
.cam aside {
	backdrop-filter: blur(4px);
}

.cam #htable td:first-child,
.cam .w3-bar-item:hover,
.cam .w3-button:hover,
.cam li:hover,
.cam thead,
.cam header,
.cam .head,
.cam .selected {
	color: #fff !important;
	background-color: rgba(175, 0, 0, 0.95) !important;
}

body.terminal {
	background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('terminal.jpg') !important;
}

.terminal #htable td:first-child,
.terminal .w3-bar-item:hover,
.terminal .w3-button:hover,
.terminal li:hover,
.terminal thead,
.terminal header,
.terminal .head,
.terminal .selected {
	background-color: #26AD5F !important;
	color: #fff !important;
}


#dc-terminal {
	/* background-color: red; */
	height: 100%;
}

#dc-terminal textarea {
	margin: 12px 12px 12px 12px;
	/* margin-bottom: 12px; */
	font-family: monospace;
	white-space: pre;
	height: calc(100% - 120px);
	width: calc(100% - 24px);
	/* height: 100%; */
	color: rgb(138, 226, 52);
	overflow-y: auto;
	/* background-color: #222; */
	/* padding: 10px; */
	/* margin: 0px; */
	resize: none;
	border: 0;
}

.dc-terminal footer {
	margin: 0 12px 12px 12px;
}

#dc-map {
	height: 100%;
}

#map {
	/* margin: 12px 12px 12px 12px; */
	height: calc(100% - 38px);
}

.dc-slider {
	-webkit-appearance: none;
	width: 100%;
	height: 8px;
	background: #d3d3d3;
	outline: none;
	/* opacity: 0.9; */
	/* -webkit-transition: .2s; */
	/* transition: opacity .2s; */
}

/* #slider:hover {
	opacity: 1;
} */

.dc-slider::-webkit-slider-thumb,
.dc-slider::-moz-range-thumb {
	-webkit-appearance: none;
	appearance: none;
	width: 32px;
	height: 16px;
	background: #3F51B5;
	cursor: pointer;
	/* transition: 0; */
}


.marquee {
	/* width: 100%; */
	white-space: nowrap;
	overflow: hidden;
	/* position: relative; */
}

.marquee>span {
	display: inline-block;
	position: relative;
}

.marquee-run {
	animation: marquee 5s linear infinite;
}

@keyframes marquee {
	20% {
		transform: translate(0, 0);
		left: 0%;
	}

	50% {
		transform: translate(-100%, 0);
		left: 100%;
	}

	60% {
		transform: translate(-100%, 0);
		left: 100%;
	}

	100% {
		transform: translate(0, 0);
		left: 0%;
	}
}