body {
    background-color: #2E75B6;
    margin: 0;
    width: 230px;
    height: 340px;
    overflow: hidden;
}

body.transparent {
  background-color: transparent !important;
}

.hidden {
    visibility: hidden !important;
    opacity: 0 !important;
}

.aq-dial-widget {
    font-family: "AQDialWidget-DroidSansFont";
    width: 220px;
    height: 220px;
    padding: 5px;
    color: white;

    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;

}

.aq-dial-widget .aq-dial-background,
.aq-dial-widget .aq-dial-background2,
.aq-dial-widget .aq-dial-background3 {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.aq-dial-widget .aq-dial-background,
.aq-dial-widget .aq-dial-background2,
.aq-dial-widget .aq-dial-background3 {
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;

    user-drag: none;
    position: absolute;
    height: inherit;
    width: inherit;
}

.aq-dial-widget .aq-dial-background {
    opacity: 0.7;
}

.aq-dial-widget .aq-dial-background2 {
    opacity: 0.5;
}

.aq-dial-widget .aq-dial-background3 {
    opacity: 0.5;
}

.aq-dial-widget.background-opaque .aq-dial-background,
.aq-dial-widget.background-opaque .aq-dial-background2,
.aq-dial-widget.background-opaque .aq-dial-background3 {
    opacity: 1;
}

.aq-dial-widget .aq-dial-container {
    position: relative;
    width: inherit;
    height: inherit;

    visibility: visible;
    opacity: 1;
    transition: visibility 0s, opacity 0.15s linear;
}

.aq-dial-widget .logo {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.aq-dial-widget .aq-dial-meter {
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;

    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    user-drag: none;

    position: absolute;
    height: inherit;
    width: inherit;
}

.aq-dial-widget .trim {
    width: 100%;
    height: calc(50% + 1px);
    overflow: hidden;

    position: absolute;
}

.aq-dial-widget .aq-dial-arrow {
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;

    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    user-drag: none;

    -webkit-transition: all 1.25s ease-in-out;
    -moz-transition: all 1.25s ease-in-out;
    -o-transition: all 1.25s ease-in-out;
    transition: all 1.25s ease-in-out;
    -webkit-transform-origin: center;
    -moz-transform-origin: center;
    -o-transform-origin: center;
    transform-origin: center;

    position: absolute;
    width: 220px;
    height: 220px;
}

.aq-dial-widget .aq-dial-status {
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;

    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    user-drag: none;

    position: absolute;
    height: 220px;
    width: 220px;

    background-image: url("../images/dial_not_available.svg");
    background-size: cover;
}

.aq-dial-widget.not_avaialble .aq-dial-status {
    background-image: url("../images/dial_not_available.svg");
}
.aq-dial-widget.good .aq-dial-status {
    background-image: url("../images/dial_good.svg");
}
.aq-dial-widget.moderate .aq-dial-status {
    background-image: url("../images/dial_moderate.svg");
}
.aq-dial-widget.usg .aq-dial-status {
    background-image: url("../images/dial_usg.svg");
}
.aq-dial-widget.unhealthy .aq-dial-status {
    background-image: url("../images/dial_unhealthy.svg");
}
.aq-dial-widget.very_unhealthy .aq-dial-status {
    background-image: url("../images/dial_very_unhealthy.svg");
}
.aq-dial-widget.hazardous .aq-dial-status {
    background-image: url("../images/dial_hazardous.svg");
}
.aq-dial-widget.beyond_index .aq-dial-status{
    background-image: url("../images/dial_beyond_index.svg");
}

.aq-dial-widget .aq-dial-data {
    position: absolute;
    color: white;
    width: inherit;
    height: inherit;
}

.aq-dial-widget .aq-dial-data .aq-aqi-container {
    position: relative;
    width: inherit;
    margin-top: 45px;
    height: 65px;
    text-align: center;
    font-family: inherit;
    min-height: 1px;
    font-size: 14px;
    color: white;
    line-height: 18px;

    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;

    -webkit-box-align: end;
    -ms-flex-align: end;
    align-items: flex-end;
    -webkit-box-pack: end;
    -ms-flex-pack: end;

    justify-content: center;
}

.aq-dial-widget.good .aq-dial-data .aq-aqi-container {
    color: black;
}

.aq-dial-widget.moderate .aq-dial-data .aq-aqi-container {
    color: black;
}

.aq-dial-widget .aq-dial-data .aq-aqi-container .aq-aqi-value {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 3px;
}

.aq-dial-widget .aq-dial-data .aq-title-container {
    position: relative;
    width: inherit;
    margin-top: 2px;
    height: 25px;
    text-align: center;
    font-family: inherit;
    min-height: 1px;
    font-size: 16px;
    color: inherit;
    font-style: strong;

    display: -webkit-box;
    display: -ms-flexbox;
    

    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
}
.aq-dial-widget.usg .aq-dial-data .aq-title-container {
    font-size: 14px;
    line-height: 20px;
}
.aq-title.usg {
    font-size: 10px;
    line-height: 12px;
    width: 90px;
    font-weight: bold;
}

.aq-data-type {
    font-size: 12px;
}

.aq-dial-widget .aq-dial-data .flex-container {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
    position: relative;
    top: 24px
}

.aq-dial-widget .aq-dial-data .aq-info-panel {
    position: relative;
    width: inherit;
    height: 0px;
    min-height: 1px;
    text-align: center;
    line-height: 8px;
    font-size: 12px;
    padding-top: 2px;
}

.aq-dial-widget .aq-dial-data .aq-updated-time {
    display: inline-block;
    font-size: 12px;
}

.aq-dial-widget .aq-dial-data .aq-info-panel .aq-pollutant-container {
    position: relative;
    display: inline-block;
    border-left: 1px solid rgba(255, 255, 255, 0.25);
    padding-left: 10px;
}

.aq-dial-widget .aq-dial-data .aq-info-panel .aq-pollutant-container .aq-pollutant-label {
    font-size: 18px;
}
.aq-dial-widget .forecast-link {
    position: relative;
    width: inherit;
    top: 19px
    min-height: 1px;
    text-align: center;
    line-height: 0px;
    font-size: 16px;
}
.aq-dial-widget .logo-panel {
    width: 100%;
    height: 21px;
    position: relative;
    float: left;
    display: flex;
    align-items: center;
    justify-content: center;
    top: 8px
}

.aq-dial-widget .logo-panel a {
    font-weight: bold;
    color: white;
    text-decoration: none;
}

.aq-dial-widget .logo-panel a:hover {
    text-decoration: underline;
}

.aq-dial-widget .logo-panel .aq-dial-airnow-logo {
    font-size: 10px;
}

.aq-dial-widget .logo-panel .aq-dial-epa-logo {
    height: 8px;
}

.city-container {
    width: 100%;
    float: left;
    position: relative;
    text-align: center;
    font-size: 24px;
    margin-top: 10px;
    color: white;
    font-family: "AQDialWidget-DroidSansFont";
    padding: 5px 10px;
    box-sizing: border-box;
}

.city-container .city {
    display: inline-block;
    padding: 5px 15px;
}
body.transparent .city-container .city {
  background-color: rgba(0,0,0,0.65);
  border-radius: 15px;
}

/* Forecast AQI Container Circles */
.circle {
  position: relative;
  width: 34%;
  height: 22px;
  border-radius: 50px;
  margin: 5% auto;
  border: 1px solid white;
  background-color: #5E5E5E;
}
.circle.good {
  background-color: #00E400;
}
.circle.moderate {
  background-color: #FFFF00;
}
.circle.unhealthy-sensitive {
  background-color: #FF7E00;
}
.circle.unhealthy {
  background-color: #FF0000;
}
.circle.very-unhealthy {
  background-color: #8F3E96;
}
.circle.hazardous {
  background-color: #7E0023;
}
.circle.no-data-fcst {
  background-color: #5E5E5E;
}

.circle .action-day {
  position: absolute;
  display: none;
  height: 65%;
  width: 65%;
  bottom: -1px; /* offset circle's 1px border */
  right: -35%;
}


/* Forecast AQI Container labels and boxes */
.forecast-aq-container {
  position: relative;
  box-sizing: border-box;
  height: 77px;
  width: 100%;
  /* bottom: 0; */
  padding: 1.5% 0% 6.5% 0%;
  text-align: center;
  font-size: 12px;
}

.forecast-aq-container .header,
.forecast-aq-container .today-aq-data,
.forecast-aq-container .tomorrow-aq-data,
.forecast-aq-container .misc {
  position: relative;
  box-sizing: border-box;
  width: 33%;
  /* height: 100%; */
  float: left;
  font-size: 12px;
  padding-right: 2%;
  padding-left: 2%;
  border-right: 1px solid rgba(255, 255, 255, 0.25);
}

.forecast-aq-container .header {
    /* padding-left: 0%; */
    width: 100%;
    border-right: none;
    margin-bottom: 4px;
}

.forecast-aq-container .today-aq-data,
.forecast-aq-container .tomorrow-aq-data {
  font-size: 12px;
  line-height: 9px;
  align-content: center;
}

.forecast-aq-container .today-aq-data {
  margin-left: 38px;
}

.forecast-aq-container .tomorrow-aq-data {
  border-right: none;
}

.forecast-aq-container .today-aq-data .category.usg{
  font-size: 8px; 
}
.forecast-aq-container .tomorrow-aq-data .category.usg{
  font-size: 8px;
}

.forecast-aq-container .today-aq-data .category.smallfont,
.forecast-aq-container .tomorrow-aq-data .category.smallfont {
  font-size: 0.75em;
}

.forecast-aq-container .misc {
  text-align: left;
  border-right: none;
}

.forecast-aq-container .misc div,
.forecast-aq-container .misc a {
  text-decoration: underline;
  color: white;
  cursor: pointer;
}

.forecast-aq-container .misc .print-only {
  display: none;
}


