/*=============================================================================
  File:         *.earth/css/orthographic-earth-panels.css
  Language:     CSS
  Copyright:    Read Write Tools © 2021
  License:      CC-BY-NC-ND 4.0
  Initial date: Jan 21, 2021
  Contents:     Panels for orthographic earth feature identification
=============================================================================*/

@font-face {
  font-family: 'Source Sans Pro';
  font-style: normal;
  font-weight: 400;
  font-display: block;
  src: local('Source Sans Pro Regular'), local('SourceSansPro-Regular'), url('../fonts/source-sans-pro-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

html {
	font-family: 'Source Sans Pro', sans-serif;
	font-size: 12pt;
}
body {
	margin: 0;
}
.full-screen {
	display: flex;
	flex-direction: column;
	position: absolute;
	width: 100%;
	height: calc(100% - var(--masthead-height));
	box-sizing: border-box;
}
.full-panel,
.half-panel,
.third-panel,
.quarter-panel,
.sixth-panel {
	display: flex;
	flex-wrap: wrap;
	border-color: #000;
	border-style: solid;
	margin: 0;
	box-sizing: border-box;
}
.half-panel,
.third-panel,
.quarter-panel,
.sixth-panel {
	border-width: 0px 1px 1px 0px;
	flex-grow: 1;
}		
.full-panel {
	width: 100%;
	background-color: var(--background-color);
	border-width: 1px 0px 0px 1px;
}
.half-panel {
	flex-basis: 50%;
}
.third-panel {
	flex-basis: 33.3%;
}
.quarter-panel {
	flex-basis: 25%;
}
.sixth-panel {
	flex-basis: 16.6%;
}
.box {
	display: flex;
	min-height: 3rem;
	max-height: 3rem;
	width: 100%;
	min-width: 13rem;
	margin: 0;
	padding: 0 0.5rem;
	background-color: var(--background-color); 
	color: #aaa;
	justify-content: center;
	align-items: center;
	overflow: visible;
}

div.readwritestack {
	position: absolute;
	right: 1rem;
	top: 1rem;
	width: 10rem;
	height: 4rem;
	border-radius: 10px;
	background-color: #fff2;
}
.readwritestack p {
	font-size: 0.7rem;
	color: #ccc;
	text-align: center;
	letter-spacing: 1px;
}
.readwritestack a {
	text-decoration: none;
	color: #fff;
	border-bottom: 1px dotted #fff; 
}
.readwritestack a:hover {
	color: #fff;
	border-bottom: 1px solid #fff; 
}

/* ------------------- media queries ------------------- */
@media only screen and (max-width: 750px) {
	html {
		font-size: 12pt;
	}
}
@media only screen and (max-width: 600px) {
	html {
		font-size: 11pt;
	}
}
@media only screen and (max-width: 450px) {
	html {
		font-size: 10pt;
	}
}
@media (hover: none) {
	.desktop,
	.readwritestack {
		display: none;
	}
}
