/* Roboto Thin (Weight: 100) */
@font-face {
	font-family: 'Roboto';
    src: url('roboto/Roboto-Thin.woff2') format('woff2');
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}

/* Roboto Light (Weight: 300) */
@font-face {
	font-family: 'Roboto';
    src: url('roboto/Roboto-Light.woff2') format('woff2');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

/* Roboto Regular (Weight: 400) */
@font-face {
	font-family: 'Roboto';
    src: url('roboto/Roboto-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/* Roboto Black (Weight: 900) */
@font-face {
	font-family: 'Roboto';
    src: url('roboto/Roboto-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}


@font-face {font-family: "Digital-7V1";
  src: url("digital-7/digital-7(italic).woff2") format("woff2"); /* chrome、firefox */
}

html {
    background-color: var(--default-bg);
	overflow-x:hidden;
}

body {

	display: grid;
    margin: 0;
    padding: 0;
	font-family: 'Roboto', system-ui, -apple-system, 'Helvetica Neue', Helvetica, Arial, sans-serif;
    background-size: 100% inherit;
    font-size: 1em;
    height: 100%;
    place-items: center;

}
#install-banner {
    width: 100%;
    height: 30px;
    background: var(--default-bg);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-family: sans-serif;
    font-size: 14px;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999; /* ensures it's always on top */
  transform: translateY(0);  /* visible */
  transition: transform 0.4s ease-out;
}

#install-banner.hide {
  transform: translateY(-100%);  /* slide out of view */
  /* If banner is at the top, use translateY(-100%) */
}

.globe {
    width: 350px;
    padding: 0px;
    flex-direction: column;
    height: 350px;
    display: block;
    position: relative;
    margin: 30px -100px -200px 0px;
    border: 0px solid blue;
    z-index: 0;
    top: 0px;
    background: url(''); /*defined in index_template*/
    background-size: cover;
    background-position: center;
}

#user-greeting {
	float:right; 
}

.gallery-image {
    width: 60px;
    height: 60px;
    padding: 0px;
    display: inline-block;
    position: absolute;
    margin: 0px;
    border: 0px solid blue;
    z-index: 0;
    top: 40px;
    right: 10px;
    z-index: 0;     /* Place it behind tab3's content */
}

.gallery-image img {
	width: 60px;
	height: auto;
}

.gallery-image a {
    z-index: 1000;     /* Place it behind tab3's content */
    position: relative;
    pointer-events:auto; /* Ensure clicks pass through to the anchor */
    cursor: auto;
    border:0px solid blue;
    height: 100%;
    width: 100%;
    display:inline-block;
}

.overlays {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;

    transition: opacity 0.5s;
}

p {
	font-size: 65%;
	font-weight: 300;
}

h1 {
	font-size: 105%;
	font-weight: 400;
	color: var(--text-default);
}

h2 {
	font-size: 80%;
	font-weight: 400;
	color: var(--text-default);
}

h3 {
	font-size: 70%;
	font-weight: 400;
	color: var(--text-default);
}

  .date { 
  	font-weight: 700;
  	padding-left:5px;
   
}
  .time { font-weight: 300; }
  
  .hidden {
	display:none;  	
}
  

/* Menu Header */

#menu-header {
	margin:10px 0px 10px 0px;
    padding: 0px;
    height: 50px;
    border-radius: 0px 0px 8px 8px;
}

/* LANGUAGE SELECTOR */
.language-selector {
    position: absolute;
    display: inline-block;
    cursor: pointer;
    margin: 17px 0px 0px 155px;

}

.language-selector img {
    width: 18px;
    margin-top:-1px;
    height: auto;
	filter: drop-shadow(1px 1px 1px black);
}

.logo {
    width: 150px;
    height: 60px;
    margin-bottom: 20px;
    text-align: left;
	background-image:  url('../images/white_logo.svg');
	background-repeat: no-repeat;
	background-size: 150px auto;
	background-position: 0px 10px;
		filter: drop-shadow(1px 1px 1px black);
}

#logo {


}



.dropdown {
    display: none;
    position: absolute;
    top: 100%;
    padding: 10px;
    left: 0;
    background-color: rgba(255, 255, 255, 0.6);
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 1;
    width: 120px;
    font-size: 80%;
}

.dropdown a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: black;
    font-size: 80%;
    padding:5px;
    width: 100%;
}

.dropdown a img {
    margin-right: 10px;

}

.dropdown a:hover {.timestatus
    background-color: #f1f1f1;
}

.language-selector:hover .dropdown {
    display: block;
}

.fade-transition {
    transition: opacity 0.1s ease-in-out;
}




.page-container {
    width: 355px;
    margin: 0 auto;
    padding: 10px;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    position: relative;
    z-index:5;
    border: 0px solid green;
}

.header {
    width: 100%;
    height: 190px;
    position: relative;
    margin-bottom: 10px;
    margin-top:20px;
    border:0px solid red;
}

.tab-container {
    width: 100%;
    background-color: var(--default-75-bg);
    height:50px;
    display: flex;
    justify-content: space-around;
    margin-bottom: 0px;
	border:0px solid rgba(24, 8, 47, .1);
	border-bottom:0px;
	border-radius: 5px 5px 0px 0px;
    backdrop-filter: blur(3px); /* Frosted glass effect */
    -webkit-backdrop-filter: blur(3px); /* Safari support */
  	text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
  	font-size:80%;
}

.tab, .empty {
    flex: 1;
    color: #444;
    border-top: 1px solid rgba(255, 255, 255, 0.20);
    border-left: 1px solid rgba(240, 240, 240, 0.15);
    border-right: 1px solid var(--default-15-bg);
    padding: 18px 3px 10px 3px;
    text-align: center;
    cursor: pointer;

}

.tab.active {
    background:linear-gradient(to bottom, var(--default-15-bg), var(--default-75-bg));
    padding: 18px 3px 10px 3px;
    border-left: 1px solid rgba(240, 240, 240, 0.10);
    border-bottom: 1px solid rgba(0, 0, 0, 0.20);
    color: #fff;
}

.tab.inactive, .empty {
    background:linear-gradient(to bottom, rgba(255, 255, 255, 0.15), rgba(17, 17, 17, 0.15));
    color: #f1f1f1;
    border-top: 1px solid rgba(255, 255, 255, 0.20);
    border-left: 1px solid rgba(240, 240, 240, 0.15);
    border-right: 1px solid var(--default-15-bg);
    padding: 18px 3px 10px 3px;
}

#tab1 {
	border-radius: 5px 0px 0px 0px;
}
#tab3 {
	border-radius: 0px 5px 0px 0px;
}


.infobar {
	font-weight: 700;
    padding: 10px 20px;
    color: #f1f1f1;
    text-align: left;
    width: 100%;
    margin-top: -10px;

}
	
			
.sunrise-sunset {
	display:inline;
	font-weight: 300; 
	color: #c1c1c1;
	text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
	margin:0px 0px 0px 5px;
}
			
.moon-darkness {
	display:inline;
	font-weight: 300; 
	color: #c1c1c1;
	text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
	position:relative;
}
			
.sunrise, .sunset {
	width:12px;
	margin: 0px 0px -1px 5px;
}

.moon {
	width:15px;
	margin: -3px 0px 0px 3px;
	display: inline-block;
	position: relative; 
	z-index: 10;
}


.content {
    display: none;
    padding: 0px 0px 20px 0px;
    border:0px solid red;
}


.content.active {
    display: block;
}

table.summary {
    width: 100%;
    border-collapse: collapse;
}
td {
    border: 1px solid black;
    padding: 8px;
}
.col1 {
    width: 25%;
    text-align: center;
    vertical-align: top;
    padding-top: 15px;
    font-size:60%;
}

.summary_txt p, ul.summary_txt{
	color: #c1c1c1;
	text-align: left;
	font-weight: 300;
	line-height: 1.5em;
	
}

ul.summary_txt {
	font-size: 50%;
}


.section {
    padding: 20px;
    background-color: var(--default-80-bg);
    margin-bottom: 10px;
    border-radius: 0px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
    border-left: 1px solid rgba(240, 240, 240, 0.15);
    backdrop-filter: blur(4px); /* Frosted glass effect */
    -webkit-backdrop-filter: blur(4px); /* Safari support */
}

.footer {
    text-align: center;
    padding: 10px;
    color: var(--text-default);
    border-top: 1px solid #ddd;
    font-size: 0.8em;
    margin-top: auto;
}

.footer a {
	color: #92b4ff;
	font-weight:700;
}

.icon {
     width: 15px;
     height: 15px;
     vertical-align: middle;
     margin-right: 8px;
}
.pixelfed_link {
	float:left;
	font-size: 60%;
}
.privacy_link {
	float:right;
	font-size: 60%;
}

.swpc-table {
  border-collapse: collapse; /* Adjusted for cleaner border appearance */
  width: 100%; /* Adjust width as needed */
  border-bottom: 0px solid #666;
  color:#fff;
  
}

.gauge { 
	min-width:25px; 
	max-width:45px;
}

.mag_table {
	font-size: 60%;
	width: 95%;
	margin:0 auto;
	table-layout: fixed;
	border-collapse: collapse;

}
.mag_table .labels {
	height: 30px; 
}
.mag_table .labels img {
	width:100px;
}
.mag_table td {
	border: 0px solid var(--text-default);
	text-align: center;
	vertical-align: middle;
}

.nt {
	color: #f1f1f1;
	text-align: center;
	vertical-align: middle;
}

.mag_table .status-container-free {
	width: 80%;
}


.swpc-table h1 {
	font-size:80%;
}
.swpc-table h2 {
	text-align: left;
	font-size:60%;
	padding-left:5px;
	color: #777;
	border:none;
}

.swpc-table td, .swpc-table th {
    padding: 5px; /* Adjust padding as needed */
    border: 0px solid #C1C1C1; /* Optional: add borders to cells */
    align-items: center;
    text-align: center;
}

.swpc-table td.labels {
  font-size:60%;
  font-weight:100;

}
.swpc-table td.values {
  font-size:80%;
  font-weight:700;
}
.swpc-table td.values span.unit {
  font-size:60%;
  font-weight:100;
  vertical-align: super;
}

#bz_chart_now, #bz_future_chart {
	width:75%;
	height: 150px;
	display:block;
	margin: 0 auto;
	font-size: 150%;
	color:#fff;
	padding: 0px 0px 0px 5px;
}

.bz-chart-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px; /* Adjust spacing between icons and chart */
}

.bz-icon {
    position: absolute;
    height: 30px; /* Adjust size as needed */
    width: auto;
    transform: translateY(calc(100% - 60%)); /* Align with 0 nT */
}

.left-icon {
    left: 5px; /* Place to the left of the SVG */
    margin-top:-30px;
}

.right-icon {
    right: 8px; /* Place to the right of the SVG */
    margin-top:-30px;
}

#statusWrap, #statusWrapFuture {
	visibility: visible;
    transition: background-color 0.5s ease-in-out;
    margin-top: 20px;
}

#statusWrapFuture {
	display:none;
}

/****************************************************
  _____   ____   ____  _   _ 
 |_   _| / ___| / __ \| \ | |
   | |  | |     || 	|||  \| |
   | |  | |     || 	||| . ` |
  _| |_ | |____ ||__||| |\  |
 |_____| \____/ \____/|_| \_|
 
****************************************************/

.kp-container {
  color: #fff;
  text-align: center;
  padding: 10px 6px;
  border: 1px solid rgba(0, 0, 0, 0.3); /* faintly thin dark border */
  border-radius: 5px;
  box-shadow: 0 0 0 3px #fff; /* thick white border */
  width: 100px;
  position: relative;
  font-size: 60%;

}



        .kp-container .title {
            font-weight: 400;
            font-style: italic;
            margin-bottom: 10px;
            font-size:110%;
        }


	   .UTC { vertical-align: super; font-size:50%; font-weight:400; }
	   
         .strength-container {
            font-weight: 300;
            font-style: italic;
            font-size:110%;
            width: 100px;
            /*border: 1px solid rgba(0, 0, 0, 0.3);  faintly thin dark border */
            /*box-shadow: 0 0 0 3px #fff;  thick white border */
			border-radius: 5px 5px 0px 0px;
            padding: 2px 7px;
            background: #fff;
			background-image: 
				url('../images/transparency_s_top.png'); /* Layer multiple images */
			background-size: 
				100% 100%; /* Size of the transparent background */
			background-repeat: 
				no-repeat;
			background-position: 
				center; /* Center the transparent background */
            margin-top:20px;

        }
        .status-container, .status-container-free {
            font-weight: 400;
            font-style: italic;
            font-size:70%;
            width: 100px;
            /*border: 1px solid rgba(0, 0, 0, 0.3); /* faintly thin dark border */
            border-top:0px solid #fff;
            /*box-shadow: 0 0 0 3px orange; /* thick white border */
			border-radius: 0px 0px 5px 5px;
            padding: 3px 7px;
            color: #fff;
            text-align: center;

        }
		.status-container-free {
            /*box-shadow: 0 0 0 2px orange;  thick white border */
			border-radius: 4px;
			max-width:50px;
			margin: auto 0;
			display: inline-block;
			/*border: 0px solid rgba(0, 0, 0, 0.3); /* faintly thin dark border */
			font-size:90%;
		}
		
		#TGO_status { 
			background-image: 
				url('../images/transparency_s_bot.png'); /* Layer multiple images */
			background-size: 
				100% 100%; /* Size of the transparent background */
			background-repeat: 
				no-repeat;
			background-position: 
				center; /* Center the transparent background */
		}
		
		.nt_val {
			font-weight:400;
		}
		
				.nt_inactive {
					/*box-shadow: 0 0 0 3px #0066cc; /* thick white border */
					background: #0066cc;
					
				}
		
			   .nt_charging {
					/*box-shadow: 0 0 0 3px #00cc00; /* thick white border */
					background: #00cc00;
				}
				
			   .nt_active,.nt_activating {
					/*box-shadow: 0 0 0 3px #ff9900; /* thick white border */
					background: #ff9900;
				}
			   .nt_light_activity {
					/*box-shadow: 0 0 0 3px #cc0000; /* thick white border */
					background: #008aff;
				}
			   .nt_very_active {
					/*box-shadow: 0 0 0 3px #cc0000; /* thick white border */
					background: #cc0000;
				}
				
			   .nt_weakening {
					/*box-shadow: 0 0 0 3px #6600cc;  thick white border */
					background: #6600cc;
				}
        
		
	   
        table.strength {
            border-collapse: collapse;
            width: inherit;
            border-radius: 10px;

        }
        th, td {
            padding: 2px;
            text-align: center;
            border:none;
        }
        #n66 {
        	font-size: 0.3em;
        	font-style: italic;
        }
        #up, #down {
        	font-size: 0.3em;
        	font-style: normal;
        }
        #up.active, #down.active {
        	font-size: 0.3em;
        	font-style: normal;
        	color:orange;
        }

    
    .weatherIcon {
    	font-size:1.5em;
    }
    
    .mag_charts {
    	width:310px;
    	height: 300px;
    	margin:auto 0;
    }

        .collapsible {
        	background:rgba(255,255,255,0.1);
            color: var(--text-default);
            cursor: pointer;
            padding: 10px;
            width: 100%;
            border: none;
            text-align: left;
            outline: none;
            font-size: 75%;
            transition: 0.4s;
            position: relative;
        }

        .collapsible:after {
            content: '\25BC'; /* Downward arrow */
            font-size: 75%;
            position: absolute;
            right: 20px;
            top: 50%;
            transform: translateY(-50%);
        }

        .mag_active:after {
            content: '\25B2'; /* Upward arrow */
        }

		.mag_content {
		background: rgba(204,204,204,0.75);
		padding: 10px;
        display: none;
        overflow: hidden;
		}
        .mag_content p {

			font-weight:300;
			line-height:1.5em;
        }
        .mag_content p, 
        .mag_content h1,
        .mag_content h2,
        .mag_content h3 {
			color:#111;
        }

/* Add transitions to images */
#bz_chart_now, #TGO_combo_graph, #bz_future_chart {
    transition: opacity 0.5s ease-in-out;
}

/* Add transitions to other elements if needed */
.kp_num, .kp-value, .status-container, .nt_val {
    /*transition: all 0.5s ease-in-out;*/
}


.NOAA3d_table_styles {
	font-size:60%; 
	color:#ccc;
	width:100%;
  	border-collapse: collapse;
  	padding:3px 0px;
}
.NOAA3d_table_styles tr {

	padding: 3px 0px;
	height: 28px;

}

.NOAA3d_kp_D1 {
	background-color: rgba(255,255,255,0.15);
}

.NOAA3d_time {
	width:26%;
	background-color: rgba(255,255,255,0.15);
}

.NOAA3d_timeslots {
	width:26%;
	background-color: rgba(255,255,255,0.15);
}
.NOAA3d_actual {
	width:16%;
	background-color: rgba(255,255,255,0.15);
	font-size:40%;
}
.NOAA3d_conditionmet {
	width:10%;
	background-color: rgba(255,255,255,0.15);
}
.NOAA3d_labels {
	width:16%;
}
#day_1{
	background-color: rgba(255,255,255,0.15);
}
.NOAA3d_kp_D1,
.NOAA3d_kp_D2, 
.NOAA3d_kp_D3 {
	font-size:40%;
}
#actual_kp {
	font-size:100%;
}

.NOAA3d_kp-value {
	background-color: none;
	border-radius: 3px;
	padding: 4px 5px;
	box-shadow: 0 0 0 1px #fff; /* thick white border */
	margin: 0 auto;
	position: relative;
	display: inline-block;
	min-width:25px;
	max-width:60px;
	line-height: 80%;
	transition: max-width 0.3s; /* Add transition for smooth resizing */
	font-size:200%;
}

.NOAA3d_kp_txt {
	font-weight: 300;
	font-style: italic;
	vertical-align: super;
	font-size: 70%;
	margin-left: -2px;
}

.NOAA3d_kp_num {
	font-weight: 700;
	font-style: italic;
	transition: font-size 0.3s, max-width 0.3s; /* Add transition for smooth resizing */
}

.NOAA3d_today {
	background-color: rgba(255,255,255,0.15);
}

.NOAA3d_rationale {
	padding:5px;
}

.NOAA3d_source {
	font-size:70%;
	height:20px;
	text-align:left;
}
.NOAA3d_source a:link {
	color: lightblue;
}
.NOAA3d_source a:visited {
	color: orange;
}
.NOAA3d_source a:hover {
	color: violet;
	font-style: italic;
}
.NOAA3d_source a:active {
	color: pink;
}

.noaa_green_check {
	color: green;
}
.noaa_red_cross {
	color: red;
}
.noaa_gold_star {
	color: gold;
}

#timezoneSelector {
	width:80%;
}

.insights-box {
    background-color: var(--insights-bg); /* Deep purple background */
    border-left: 5px solid var(--insights-border); /* Light purple border */
    padding: 10px;
    margin: 0px 0 20px 0;
    border-radius: 5px;
    color: var(--insights-text); /* Very light purple text */
}

.insights-box h2 {
    margin-top: 0;
    color: var(--insights-text); /* Lighter purple for the heading */
}

.insights-box p {
    margin: 10px 0 0;
	text-align: left;
	font-weight: 300;
	line-height: 1.5em;
}

/* Ensure any focusable elements inside the info box are accessible */
.insights-box a, .insights-box button {
    color: var(--insights-text); /* Light purple for links/buttons */
    text-decoration: none;
}

.insights-box a:focus, .insights-box button:focus {
    outline: 3px solid var(--insights-text); /* Focus outline for keyboard navigation */
    outline-offset: 2px;
}

/* DARKNESS INDICATOR BOX */

.dark-box {
    background-color: var(--insights-bg); /* Deep purple background */
    border-left: 5px solid var(--dark-border); /* Light purple border */
    padding: 10px;
    margin: 0px 0 20px 0;
    border-radius: 5px;
    color: var(--dark-text); /* Very light purple text */
}

.dark-box h2 {
    margin-top: 0;
    color: var(--dark-text); /* Lighter purple for the heading */
}

.dark-box p {
    margin: 10px 0 0;
	text-align: left;
	font-weight: 300;
	line-height: 1.5em;
}

/* Ensure any focusable elements inside the info box are accessible */
.dark-box a, .dark-box button {
    color: var(--dark-text); /* Light purple for links/buttons */
    text-decoration: none;
}

.dark-box a:focus, .dark-box button:focus {
    outline: 3px solid var(--dark-text); /* Focus outline for keyboard navigation */
    outline-offset: 2px;
}




.time-range-selector {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 10px 0;
}
.timeRangeLabel {color: #fff; font-size: 80%; padding: 5px 5px 0px 0px; }
.time-range-button {
	height: 25px;
	width: 25px;
    padding: 5px 8px;
    font-size: 60%;
    border: none;
    border-radius: 5px;
    background-color: #322840;
    color: #FFFFFF;
    cursor: pointer;
    transition: background-color 0.3s;
}

.time-range-button.active {
    background-color: #7535f6;
    color: white;
    border-color: #4e0ad7;
}

.time-range-button:hover {
    background-color: #8e58b0;
}

.time-range-button:active {
    background-color: #003f7f;
}


/* Darkness time piece - added April 18th 2025*/

    /* container for everything */
    .time-container {
      display: flex;
      gap: 2px;              /* space between items */
      justify-content: center;
      align-items: center;
      padding: 5px 0;
    }

    /* common style for the four digit boxes */
    .time-box {
      position: relative;
      flex: none;            /* fixed width */
      width: 30px;
      height: 20px;
      display: flex;
      justify-content: center;
      align-items: center;
      color: #fff;
      font-size: 70%;
      line-height: 1;
      background: linear-gradient(
        to bottom,
        rgba(0,153,255,0.70) 0%,
        rgba(0,153,255,0.70) 50%,
        rgba(0,153,255,0.45) 50%,
        rgba(0,153,255,0.45) 100%
      );
      border-radius: 4px;
      overflow: hidden;
      box-sizing: border-box;
    }
    .time-box::before {
      content: "";
      position: absolute;
      top: 50%;
      left: 0;
      width: 100%;
      height: 1px;
      background: #fff;
      transform: translateY(-0.5px);
    }

    /* separator colon */
    .time-sep {
      flex: none;
      width: 16px;           /* just wide enough for the colon */
      display: flex;
      justify-content: center;
      align-items: center;
      color: #fff;
      font-size: 70%;
      line-height: 1;
    }
    
/*SOLAR WIND QUALITY INDICATOR* Added May 5th 2025*/
    .svg-shadow {
      filter: drop-shadow(0px 0px 10px rgba(255,255,255,0.5));
    }
    
.SW_status, .SW_status_full {
  /* change these to taste */

  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  float:left;
  margin:0px 10px 0px 10px;
  background-repeat: no-repeat;
  background-size: auto;
  background-position: left center;
  border-radius: 5px;
  overflow: hidden;
  padding:0;
}

.SW_status {
  width: 70px;
  height: 55px;
}

.NT_status, .SW_status_full {
  /* change these to taste */
  width: 114px;
  height: 55px;

  /* round the outer corners & clip children */
  border-radius: 5px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  float:left; 

}

.SW_status_full {
  margin:0px 10px 0px 0px;
}

/* Digital-7 readout styling */
.digital-readout {
    font-family:"Digital-7V1" !important;
	font-style:normal;
    -webkit-font-smoothing: antialiased;
    -webkit-text-stroke-width: 0.2px;
    -moz-osx-font-smoothing: grayscale;
  font-size: 120%;                     /* match your layout */
  line-height: 1.5em;
  color: #fff;                         /* or whatever fits */
  white-space: nowrap;
  text-align: right;
  border: 0px solid red;
  float:right;
  margin-right: 10px;
  text-shadow: 1px 2px 3px rgba(0, 0, 0, 0.6);
}

/* Superscript nT using a more standard font for legibility */
.digital-readout .unit {
  font-family: "Roboto", sans-serif;
  font-size: 55%;
  margin: -5px 3px 5px 2px;
  display:inline-block;
}

.SW_score {
    font-family:"Digital-7V1" !important;
	font-style:normal;
    -webkit-font-smoothing: antialiased;
    -webkit-text-stroke-width: 0.2px;
    -moz-osx-font-smoothing: grayscale;
    color: #fff;
    font-size: 100%;
    position: relative; 
    top:-5px;
    left: 23px;
    margin:5px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.SW_score .SW_score_total {
    font-size:60%;
}

/* make the table fill its container, fix the cells */
.status-table {
  width: 100%;
  height: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

/* no padding so backgrounds fill 100% */
.status-table td {
  padding: 0;
}

/* horizontal divider between top/bottom */
.status-table .top-row td {
  border-bottom: 0px solid #ddd;
}

/* Top-left light panel */
.SW_top {
  background-image:
    url('../images/sw_icon.svg');
  background-repeat: no-repeat;
  background-position: 15px 10px;
  background-size: 20px auto;
  box-sizing: border-box;
  padding:0;
}

/* Top-right slightly darker panel */
.top_right {

  background-repeat: no-repeat, no-repeat, no-repeat;
  background-position: 12px center, center, top left;
  background-size: 23px auto, cover, auto;

  box-sizing: border-box;
  padding:0;
}

.bottom_left {
  box-sizing: border-box;  /* ensure the border doesn’t grow the cell */
  font-size: 60%; 
  text-align: center;
  color: #fff;
  line-height: 1.2em;
  padding: 10px;
  height: 20px;
}

.bottom_right {

  box-sizing: border-box;
  font-size: 60%; 
  text-align: center;
  color: #fff;
  line-height: 1.2em;
  padding: 10px;
  height: 20px;
}




@media only screen and (max-width: 400px) {
		html {
       		background-color: var(--default-bg);
		}

		}
		body {
			overflow-x:hidden;
		}
		
		p {
			font-size: 65%;
			font-weight: 400;
		}
		
		h1 {
			font-size: 90%;
			font-weight: 400;
			color: #fff;
		}
			   .darkness p {
				padding:2px 0px 3px 4px;
				margin: 3px 0px 0px 0px;
				border:0px solid var(--default-bg);
				display: inline-block;
				font-size:50%;
		}
		.NOAA3d_kp-value {
			font-size:220%;
		}

	}
	
@media only screen and (min-width: 768px) {

		.background-mobile {
			display: none;
		}

		body {
			transform-origin: top center;
			transform: scale(1.1);
		}
		
		p {
			font-size: 60%;
			font-weight: 100;
		}
		
		h1 {
			font-size: 90%;
			font-weight: 300;
			color: var(--text-default);
		}
			   .darkness p {
				padding:2px 0px 3px 4px;
				margin: 3px 0px 0px 0px;
				border:0px solid var(--default-bg);
				display: inline-block;
				font-size:60%;
		}

	}

@media only screen and (min-width: 1024px) {

		.background-mobile {
			display: none;
		}
	
		p {
			font-size: 60%;
			font-weight: 100;
		}
		
		h1 {
			font-size: 90%;
			font-weight: 300;
			color: var(--text-default);
		}
		
		body {
	
			transform-origin: top center;
			transform: scale(1.5);
		}

	}

    
    