* {
	font-family: "Helvetica Neue", Helvetica, "Segoe UI", Arial, sans-serif;
	/* font-size: 12px; */
}

body {
    background-color: #000;
    background-repeat: no-repeat;
    background-position: center center;
    background-attachment: fixed;
    background-size: cover;
    margin: 0px;
	padding-top: 0px;
    font-size: 12px;
}

/* display boxes */
#searchBox {
    width: 400px;
    margin: 0 auto;
    position: absolute;
    left: 50%;
    bottom: 20%;
    padding: 25px;
    text-align: center;
    background-color: #303030;
    opacity: 0.7;
}

#searchStatus {
    display: none;
    margin: 0 auto;
    position: absolute;
    width: 410px;
    background-color: #000;
    color: antiquewhite;
    border-radius: 0px 0px 5px 5px;
}

#weatherBox {
    /* margin: 0 auto;
    right: 2%;
    top: 2%;
    text-align: center;
    opacity: 0.5; */
    position: fixed;
    top: 5%;
    right: 5%;
    /* Optional styling */
    background: #333;
    opacity: 0.7;
    color: white;
    padding: 10px;
    border-radius: 15px;
    text-align: center;
    /* use grid layout for weather elements */
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    place-items: center;
}

@media only screen and (orientation: portrait) {
    #weatherBox {
        grid-template-columns: repeat(1, 1fr);
    }
}

@media screen and (max-width: 1300px) {
    #weatherBox {
        grid-template-columns: repeat(1, 1fr);
    }
}

#weather-desc {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 15px;
    row-gap: 1px;
    place-items: center;
}

#weather-highlow {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 15px;
    row-gap: 1px;
    place-items: center;
}

#weather-meta {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    column-gap: 15px;
    row-gap: 1px;
    place-items: center;
}

#newsBox {
    margin: 0 auto;
    left: 2%;
    top: 2%;
    padding-top: 5px;
    padding-bottom: 5px;
    margin-bottom: 5px;
    text-align: left;
    background-color: #303030;
    opacity: 0.5;
}

/* testing adding clock in a box */
#clockBox {
    position: fixed;
    top: 5%;
    left: 5%;
    /* Optional styling */
    background: #333;
    opacity: 0.7;
    color: white;
    padding: 15px;
    border-radius: 15px;
    text-align: center;
}

#weatherBox:hover, #newsBox:hover, #searchBox:hover {
    opacity: 0.9;
}

.clockLocal, .clockUtc {
    font-size: 30px;
}

.timezoneLocal {
    font-size: 16px;
    font-weight: normal;
}

.date {
    font-size: 20px;
}

.clock {
    font-size: 36px;
    color: #fff;
    font-weight: bold;
}

.logoNews {
	width: 96px;
	vertical-align: middle;
}

.newsItem {
	color: #ddd;
}

@media only screen and (max-height: 800px), (max-width: 700px) {
    .secondaryNewsBox {
        display: none;
    }
}

@media only screen and (max-height: 1200px), (max-width: 2000px) {
    .tertiaryNewsBox {
        display: none;
    }
}

#pageStats {
	display: none;
}
/* END display boxes */

input {
    width: 400px;
    line-height: 18px;
    height: 18px;
    padding-left: 5px;
    border-radius: 5px;
	font-size: 16px;
	background-color: #000;
	color: #ddd;
	overflow: auto;
}

/* disable blue highlighting in chrome and similar */
input:focus {
    outline: none;
}

table {
	white-space: nowrap;
}


/* flexbox */
.flex-container {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: center;
	height: auto;
    /* make space at top for menubar */
    margin-top: 15px;
}

.flex-container > div {
    width: 750px;
    margin: 10px;
    top: 2%;
    text-align: center;
}
/* END flexbox */


/* top menu / menubar */
.topMenu {
	/* text-align: center; */
	padding-top: 2px;
	padding-bottom: 2px;
    /* background: #258; */
    background-color: #808080;
	/* fix menu at top of page */
	width: 100%;
	z-index: 1001;
	/* flex */
	display: flex;
	align-items: center;
	justify-content: space-between;
    color: #fff;
    opacity: 0.9;
}

.topMenu:hover {
    opacity: 1.0;
}

.topMenu > .clock {
    font-weight: bold;
    color: #fff;
    margin-right: 3px;
}

.heading {
	font-size: 14px;
	font-weight: bold;
}

.heading::before {
	background-image: url('kagami.jpg');
	background-size: 20px 20px;
	display: inline-flex;
	width: 20px; 
	height: 20px;
	vertical-align: middle;
	content:"";
}
/* END top menu / menubar */


p {
	color: #c0c0c0;
}

a {
	color: #fff;
	/* background-color: #808080; */
	font-weight: bold;
	padding-left: 5px;
	/* padding-right: 5px; */
	padding-top: 2px;
	padding-bottom: 2px;
}

a:link {
	text-decoration: none;
}

a:hover {
	color: #ff0000;
}

label {
	font-size: 9pt;
	display: inline-block;
	width: 10%;
	text-align: right;
}

.keyword {
	color: lightgreen;
}

.highlightError {
	color: red;
}

/* styling for weather box contents */
.weather {
    font-size: 30px;
}

.weather-details {
    font-size: 18px;
}

.weather-details-small {
    font-size: 12px;
}

.temp-display {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1;
    margin: 16px 0 8px 0;
}

.temp-display-small {
    font-size: 1rem;
    font-weight: 500;
    line-height: 1;
    margin: 16px 0 8px 0;
}
/* END: styling for weather wox contents */