/* Compatiblity overrides */
*::-webkit-scrollbar {
  width: 14px!important;
  height: 14px!important;
}

*::-webkit-scrollbar {
  background: #212121;
}

*::-webkit-scrollbar-thumb {
  background-color: #a1a1a1;
}

html {
  scrollbar-color: #a1a1a1 #212121;
}

button::-moz-focus-inner, input[type="button"]::-moz-focus-inner, input[type="submit"]::-moz-focus-inner, input[type="reset"]::-moz-focus-inner {padding: 0;border: 0 none; }
select{-webkit-appearance:menulist-button;}
textarea {-webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box;}
img{border:0}
body{-webkit-text-size-adjust:none;margin:0;padding:0}
i, em {font-style:italic;}

/* Clear floats */
.clearfix:before,
.clearfix:after { content:""; display:table;}
.clearfix:after { clear:both;}


h1, h2 {
  font-family: vaisala-sans-light, sans-serif;
  font-weight: normal;
}
h3, h4, h5, h6 {
  font-family: vaisala-sans, sans-serif;
  font-weight: normal;
}

button {
  font: 400 13.3333px 'din', Arial;
}

html {
  min-height: 100%;
  height: 100%;
  position: relative
}

body {
  min-height: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  line-height: 20px;
  -webkit-text-size-adjust: none;
}

button {
  outline: none;
  border-width: 1px;
  border-style: solid;
  cursor: pointer;
  text-overflow: ellipsis;
  font-family: vaisala-sans, sans-serif;
  font-size: var(--theme-base-font-size);
  background-color: var(--theme-gradient-3);
}

input, textarea, select, button {
  font-family: vaisala-sans, sans-serif;
  font-size: var(--theme-base-font-size);
}

input[type=text], input[type=email], input[type=password], input[type=date], input[type=number], textarea {
  border-color: var(--theme-gradient-0);
  background: var(--theme-gradient-0);
  width: 90%;
  padding: 2px 6px;
  border: 1px solid #CCCCCC;
  outline: none;
}

input[type=file] {
  position: absolute;
  z-index: -1;
  top: 10px;
  left: 8px;
  font-size: 17px;
  color: #b8b8b8;
}

.climate-input nav {
  display: block;
  text-align: left;
}

.climate-input nav a {
  text-decoration: none;
}

.climate-input nav a:hover {
  text-decoration: underline;
}

.climate-input nav a + a {
  margin-left: 10px;
}

.climate-file label input[type='file'] {
  position: fixed;
  top: -1000px;
  visibility: hidden;
}

.climate-input.climate-file label {
  cursor: pointer;
  padding: 2px 6px;
  display: inline-block;
  width: 88%;
  box-sizing: border-box;
  font-weight: normal;
}

.climate-input.climate-file label em {
  font-style: normal;
}

.climate-input.climate-file button {
  display: inline-block;
  text-align: center;
  border: 0;
  outline: 0;
  height: 22px;
  padding: 0;
  margin-top: 5px;
}

.climate-input.climate-file button:hover {
  box-shadow: none;
}

.climate-input.climate-file output {
  display: block;
  color: #FFF;
  padding: 2px;
}

header {
  height: 53px;
  width: 100%;
  position: fixed;
  top: 0;
  box-shadow:0px 5px 15px rgba(0,0,0,0.50);
  z-index: 202;
}

header h1 {
  margin: 0px 0 0 75px;
  line-height: 50px;
  display: inline-block;
  font-size: 24px;
}

body.admin-switch {
  border: 5px solid #f9aa18;
  box-sizing: border-box;
}

body.admin-switch #content {
  margin-top: 100px;
}

body.admin-switch header {
  top: 50px;
  width: calc(100% - 10px)
}

body.admin-switch .push, 
body.admin-switch + footer {
  height: 0px;
}

body.admin-switch #mapsView {
  height: calc(100% - 50px);
}

#switch_notice {
  top:0;
  left:0;
  position: fixed;
  width: 100%;
  text-align: center;
  z-index: 3000;
  height: 50px;
  font-weight:bold;
  line-height: 50px;
  box-shadow: 0px 10px 10px rgb(0 0 0 / 50%);
}

#switch_notice p {
  margin: 0 10px 10px 10px;
  line-height: 1.1em;
}

#switch_notice p a {
  display: inline-block;
  padding: 5px 10px;
  border: 1px solid;
  text-decoration: none;
  box-shadow: 0px 10px 10px rgb(0 0 0 / 50%);
}

header ul {
  list-style-type:none;
  margin: 0;
  padding: 0;
}

header ul a {
  text-decoration:none;
  display: block;
}

header > ul {
  position: absolute;
  right: 20px;
  top: 0px;
  z-index: 101;
  margin: 2;
}

header > ul > li {
  display: inline-block;
  padding: 5px 10px;
  cursor: pointer;
  position: relative;
}

header > ul > li img {
  margin:0 5px;
  vertical-align: middle;
  width: 20px;
  height: auto;
}

header > ul > li + li {
  margin-left: 20px;
}

header ul li ul {
  visibility: hidden;
  opacity: 0;
  min-width: 250px;
  position: absolute;
  transition: all 0.25s ease;
  display: none;
  z-index: 210;
  transition: width 0.2s, min-width 0.2s;
}

header ul li ul li {
  display: block;
  float: left;
  position: relative;
  z-index: 211;
  box-sizing: border-box;
  transition-duration: 0.25s;
  clear: both;
  width: 100%;
  padding: 2px 0;
}

header ul li ul li.group-item {
  margin: 0px;
}

header ul li ul li.group {
  margin-top: 15px;
  font-size: 14px;
  position: relative;
  user-select: none;
  cursor: default;
  line-height: 24px;
  padding-left: 10px;
}

header ul li ul li.group span.handle {
  display: block;
  width: 40px;
  margin: 0 auto;
  position: absolute;
  top: -8px;
  left: 45%;
  border-radius: 8px;
  height: 6px;
  z-index: 20;
  opacity: 0.5;
  cursor: grab;
}

header ul li ul li.group span.handle:hover {
  opacity: 1;
}

header ul li:focus > ul,
header ul li:focus-within > ul,
header ul li ul:hover,
header ul li ul:focus {
  visibility: visible;
  opacity: 1;
  display: block;
  box-shadow: 0px 2px 8px rgba(0,0,0,0.65);
}

header ul li ul li a,
header ul li ul li a:visited {
  padding: 2px 15px;
  line-height: 18px;
}

header ul li a span {
  vertical-align: middle;
}

header ul li ul li.noref {
  cursor: text;
  padding-left: 4px;
}

header ul li ul li.noref a {
  cursor: text;
  padding: 10px 10px;
  display: block;
  text-decoration: none;
  pointer-events: none;
}

header ul li ul li.noref:hover,
header ul li ul li.noref a:hover {
  background: inherit !important;
}

header ul li#user_profile > a {
  border-radius: 50%;
  width: 28px;
  height: 28px;
  line-height: 28px;
  text-align: center;
  font-size: 14px;
  font-weight: bold;
  text-indent: -1px;
  display: inline-block;
}

header > ul > li#save_view img {
  width: 23px;
  height: 23px;
}
header > ul > li >a span#default_view_name {
  padding-right: 10px;
}

header > ul > li.default_view_icon {
  padding-right: 0px;
  top: 11px;
}
.default_view_select a {
  text-indent: -666em;
  width: 23px;
  height: 22px;
  background-image: url('/components/core/images/prod_favicon.png');
}

.default_view_select a:hover {
  background-image: url('/components/core/images/prod_favicon_active.png');
}
.default_view_select.highlighted a {
  background-image: url('/components/core/images/prod_favicon_active.png');
}

#global-climate-saved-view {
  position: absolute;
  top: 35px;
  z-index: 203;
  background: #333231;;
  padding: 5px;
  box-shadow: 0px 0px 5px rgba(0,0,0,0.85);
  min-width: 200px;
  visibility: hidden;
  left: -26%;
  margin-top: 10px;
}

.climate-saved-name{
  display: flex;
}
#global-climate-save-name {
  float: left;
}
#view-save-icon{
  padding-left: 5px;
}

#view-remove-icon{
  padding-left: 5px;
}
header > ul > li#save_view {
  padding-left: 0px;
}
header > ul > li#user_products ul {
  left: -145px;
  margin-top: 7px;
}

header > ul > li#user_profile ul {
  left: -200px;;
}

header > ul > li#user_products img {
  width: 16px;
  margin-left: 10px;
}

header ul li#user_alerts {
  margin-left:20px;
  vertical-align: middle;
}

main {
  min-height: 100%;
  height: auto !important;
  height: 100%;
  margin-bottom: 0;
}

footer {
  margin:0 auto;
  text-align: center;
  padding: 0px 10px;
  box-sizing: border-box;
  position: relative;
  box-shadow: 0 -10px 10px rgba(0,0,0,0.65);
  z-index: 200;
}

.push, footer {
  height: 0;
}

footer a.climate_desk {
  display: inline-block;
  vertical-align: middle;
  padding:0 20px;
}

footer a.climate_desk img {
  height: 35px;
}

footer nav {
  display: inline-block;
  vertical-align: middle;
}

footer nav a {
  font-weight: bold;
  padding:0 10px;
  text-decoration: none;
  text-transform: uppercase;
}

footer nav a.footer_icon {
  display: inline-block;
  width: 36px;
  height: 36px;
  text-indent: -666em;
  vertical-align: middle;
  background-position: center center;
  background-repeat: no-repeat;
}

footer nav a.twitter {
  background-image: url(/components/core/images/twitter_rest.png);
}

footer nav a.linkedin {
  background-image: url(/components/core/images/linkedin_rest.png);
}

#content {
  margin-top: 50px;
  box-sizing: border-box;
}

#contact_overlay {
  position: absolute;
  z-index: 1300;
  right: 0px;
  top: 30px;
}

#contact_overlay fieldset {
  box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.35);
}

#contact_overlay #contact_submit {
  background-color: #333231;
  padding: 10px 10px 0px 10px;
  border: 2px solid var(--theme-highlight-color);
}

#overlay {
  height: 100vh;
  width: 100vw;
  background: rgba(0, 0, 0, 0.35);
  position: fixed;
  z-index: 10000;
  top: 0;
  left: 0;
  display: none;
}

#overlay > div {
  position: absolute;
  top: 40%;
  left: 50%;
  z-index: 10001;
}

label[for=product_search]:after {
  display: inline-block;
  font-family: 'Glyphicons Halflings';
  font-size: normal;
  content: '\e003';
  color: #282828;
  position: absolute;
  left: 14px;
  top: 14px;
}

#save_view[disabled] {
  display: none;
}

li.search[disabled] {
  display:none;
}

#product_search {
  padding: 5px;
  text-indent: 15px;
  outline: none;
  box-sizing: border-box;
  width: 100%;
}

#application_error {
  z-index: 10003;
  border: 2px solid #CCCCCC;
  position: absolute;
  max-width: 550px;
  opacity: 0.9;
  box-shadow: 0px 0px 12px #333;
  padding: 15px 25px 15px 25px;
  text-align: center;
  font-weight: bold;
}

#application_error .close_error {
  cursor: pointer;
  width: 20px;
  height: 24px;
  text-decoration: none;
  position: absolute;
  top: 5px;
  right: 5px;
  font-size: 20px;
  font-weight: normal;
}

.loader {
  border: 10px solid #CCCCCC;
  border-radius: 50%;
  width: 4em;
  height: 4em;
  animation: spin 1s linear infinite;
}

.cd-top {
  display: inline-block;
  height: 40px;
  width: 40px;
  position: fixed;
  z-index: 100000;
  bottom: 40px;
  right: 10px;
  overflow: hidden;
  text-indent: 100%;
  white-space: nowrap;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.35) url('/components/core/images/cd-top-arrow.svg') no-repeat center 50%;
  box-shadow: 0 0 10px rgb(0 0 0 / 5%);
  visibility: hidden;
  opacity: 0;
  transition: opacity .3s 0s, visibility 0s .3s;
}

.cd-top.cd-is-visible, .cd-top.cd-fade-out, .no-touch .cd-top:hover {
  transition: opacity .3s 0s, visibility 0s 0s;
}

.cd-top.cd-is-visible {
  visibility: visible;
  opacity: 0.8
}

.cd-top.cd-fade-out {
  opacity: 0.5;
}

.basic_form {
  width: 780px;
  margin: 0 auto;
}

.basic_form div.message {
  width: 420px;
  text-align: center;
  font-weight: bold;
  padding: 5px 15px;
  margin: 10px auto;
}

.basic_form fieldset {
  padding: 1em;
  border-width: 1px;
  border-style: solid;
  transition: all 0.2s;
}

.basic_form fieldset legend {
  display: none;
  font-weight: bold;
}

.basic_form fieldset legend:not(:empty) {
  display: block;
}

.basic_form table {
  margin: 0 auto 0px auto;
  width: 80%;
}

.basic_form .buttons {
  margin-top: 6px;
  text-align: center;
}

.basic_form table tbody tr td:first-child {
  text-align: right;
  padding-right: 15px;
}

.basic_form table tbody tr td {
  padding: 5px 0;
}

.basic_form label {
  font-weight: bold;
}

.basic_form textarea {
  width: 480px;
}

.basic_form dl {
  margin: 0;
  padding: 0;
}

.basic_form dl dt {
  margin: 0;
  padding: 0;
  display: inline-block;
  width: 15%;
  font-size: var(--theme-base-font-size);
  font-weight: bold;
  vertical-align: top;
}

.basic_form dl dd {
  margin: 0;
  padding: 0;
  display: inline-block;
  width: 85%;
  vertical-align: top;
}

.button[type=submit] {
  padding:0px 20px;
  margin-left:20px;
  text-overflow: ellipsis;
  transition: all 0.2s;
  cursor: pointer;
  font-size: 11px;
  line-height: 20px;
  border: none;
}

.basic_form button {
  text-overflow: ellipsis;
  border: 1px solid;
  transition: all 0.2s;
  cursor: pointer;
  font-size: 11px;
  line-height: 20px;
  padding: 0px 20px;
  outline: none;
}

.highcharts-contextmenu > div {
  box-shadow: 0px 0px 6px rgba(0, 0, 0, 0.65) !important;
}

.climate-input {
  position: relative;
  padding:4px 0;
}

.climate-input-option {
  padding-left: 20px
}

.climate-input-option label {
  display: block;
}

.climate-input > span.custom_input, .climate-input > input[type=range] {
  width: 90% !important;
  display: inline-block;
}

.climate-input.climate-input-option output {
  vertical-align: top;
}

.climate-input > div.chosen-container {
  display: inline-block;
}


.chosen-container-multi .chosen-choices {
  border:1px solid #CCC;
}

.chosen-container-single .chosen-single div {
  width: 10px;
}

.chosen-container-single .chosen-single div b {
  background-image: url('/components/core/vendor/jquery/chosen/chosen-sprite.png');
  background-position: -2px 1px;
}

.chosen-container-active.chosen-with-drop .chosen-single div b {
  background-position: -20px -1px;
}

.chosen-container .chosen-drop {
  border-width: 0;
}

div.chosen-container .chosen-results li {
  padding: 8px 6px;
  text-align: left;
}

div.chosen-container.center_options .chosen-results li {
  text-align:center;
}

div.chosen-container-single {
  vertical-align: top;
}

.chosen-container-single .chosen-single {
  height: 22px;
  padding: 0px 4px;
  border-radius: 0px;
  outline: none;
  line-height: 18px;
  box-shadow: none;
}

.chosen-container-single .chosen-single span {
  margin-right: 10px;
  margin-left: 5px;
  white-space: nowrap;
  line-height: 20px;
}

.chosen-container-multi .chosen-choices li.search-field input[type=text] {
  width: auto !important;
}

.climate-input > em {
  text-align:center;
  float: right;
  margin-top: 0.2em;
  z-index: 100;
}

@media only screen and (max-width: 960px) {
  #user_alerts span.menu_label {
    display: none
  }
}

@media only screen and (max-width: 880px) {
  .push, footer {
    height: 250px;
  }

  #content {
    margin-bottom: -60px;
  }
}

@media only screen and (max-width: 800px) {
  #user_alerts span.menu_label {
    display: none
  }

  header ul li ul {
    min-width: 150px;
  }

  header > ul > li + li {
    margin-left: 10px;
  }
}

@media only screen and (max-width: 640px) {
  .push, footer {
    height: 320px;
  }

  #content {
    margin-bottom: -140px;
  }
}

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