@import 'fakeLoader.css';
@import 'flag-icon.min.css';
@import 'font-awesome.min.css';

.w-message {
  position: absolute;
  background: white;
  border-radius: 4px;
  top: 50%;
  left: 25%;
  width: 50%;
  top: 35%;
  z-index: 500;
}
.w-message .content {
  margin: 30px 20px 20px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 18px;  
}

.w-message .close {
  position: absolute;
  right: 8px;
  top: 7px;
  width: 26px;
  height: 26px;
  opacity: 0.7;
}
.w-message .close:hover {
  opacity: 1;
}
.w-message .close:before, .w-message .close:after {
  position: absolute;
  left: 15px;
  content: ' ';
  height: 24px;
  width: 1px;
  background-color: black;
}
.w-message .close:before {
  transform: rotate(45deg);
}
.w-message .close:after {
  transform: rotate(-45deg);
}

@media (max-width: 999px) {
  .w-message {
    left: 5%;
    width: 90%;
    top: 70px;
  }
  .w-message .content {
    font-size: 14px;  
  }
}

.leaflet-container img.leaflet-image-layer {
     max-width: none!important; /* def is 15000px in leaflet */
}

#bar-logo {
  display: none;
}

/* HOME PAGE */
#timeline_map {
  overflow: hidden;
  position: relative;
}

#timeline {
  height: 100px;
  z-index: 500; /* tooltip over legend fix */
  /*display: none;*/
}

IMG.forecast_icon {
  width: auto;
  height: auto;
  display: inline-block;
}
.icon_wrap {
  display: inline-block;
  background: #3fbaf0;
  border: 1px solid white;
  width: 32px;
  height: 32px;
  border-radius: 16px;
  opacity: 1;
  margin: 4px 0 4px;
  padding-left: 0;
  padding-right: 0;
  text-align: center;
  padding-top: 6px;
}
div.forecast_icon .forecast_name {
  font-size: 18px;
  position: absolute;
  width: 200px;
  top: 3px;
  left: 40px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

div.forecast_icon {
  opacity: 1;
  padding: 0;
  position: relative;
}

div.forecast_icon.act .icon_wrap {
  background: #0071d0;
}

#map_title, #forecast_groups, #legend {
  display: none;
  transform: translate3d(0,0,0);
  z-index: 500;
}

#forecast_groups_buttons .btn {
  margin: 0 0 0 10px;
  padding: 0 0 0 11px;
  border: 0;
  background: transparent; /* plain text style */
}  
/* plain text style */
#forecast_groups_buttons {
  display: block;
  transform: translate3d(0,0,0);
}
#forecast_groups_buttons .btn.btn-primary .icon_wrap {
  background: #0071d0;
}

#forecast_groups_buttons .btn.btn-primary {
  color: black; 
}
#forecast_groups_buttons .btn:focus {
  outline: none;
}
#forecast_groups_buttons .btn:active {
  box-shadow: none;
}
/* plain text style */


#forecast_groups_buttons .btn .icon_wrap {
  margin: 4px 0 4px; 
  padding-top: 4px;
}
SPAN.forecast_button {
  padding-left: 8px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 18px;
}

.locpoint {
  background: url('../img/locpoint@2x.png') no-repeat -5px -10px;
  width: 40px;
  height: 40px;
  display: inline-block;
  background-size: contain;
}
.marker_name {
  left: 20px;
  font-size: 18px;
  font-weight: bold;
  text-transform: uppercase;
  top: -18px;
}
.marker_value {
  font-size: 15px;
    position: relative;
    left: 30px;
    top: -45px;
    display: inline-block;
    width: 100px;
    font-weight: normal;
    text-transform: none;
}

.marker_detail {
  background: #3fbaf0;
  border: 1px solid white;
  border-radius: 3px;
  text-transform: none;
  color: white;
  font-size: 12px;
  /*font-weight: 100;*/
  width: 120px;
  display: inline-block;
  text-align: center;
  padding: 2px 0;
  position: relative;
  top: -68px;
  left: 30px;
}

#toggle_anim2 {
  display: none;
}

#toggle_anim {
  position: absolute;
  bottom: 110px;
  left: 20px;
  color: black;
  text-decoration: none;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  transform: translate3d(0,0,0);
  z-index: 500;
}

#toggle_anim .icon_wrap, #toggle_anim2 .icon_wrap{
  margin: 0 2px -8px; 
  width: 24px;
  height: 24px;
  background: #3fbaf0 url(../img/ico_play.svg) center center no-repeat;
}

#toggle_anim.playing .icon_wrap, #toggle_anim2.playing .icon_wrap {
  background: #3fbaf0 url(../img/ico_pause.svg) center center no-repeat;
}

.static #logo-big {
  display: none;
}

.rdiv {
  background: white;
  border-radius: 4px;
  -webkit-box-shadow: 1px 4px 8px -4px rgba(0,0,0,0.23);
  -moz-box-shadow: 1px 4px 8px -4px rgba(0,0,0,0.23);
  box-shadow: 1px 4px 8px -4px rgba(0,0,0,0.23);
}

.rdiv.search {
  width: 200px;
  height: 40px;
  /*background: white url('../img/ico_logo_medard.png') 7px center no-repeat;*/
  position: absolute;
  left: 22px;
  top: 20px;
  z-index: 10;
  display: none;
}

.rdiv.search .logo {
  position: absolute;
  width: 35px;
  height: 30px;
  left: 3px;
  top: 5px;
}

.rdiv.search #search {
  width: 135px;
  left: 43px;
  top: 2px;
  position: absolute;
  border: none;
  box-shadow: none;
  /*background: yellow;*/
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 16px;
  padding: 6px 8px 6px 0;
  color: black;
}

.rdiv.search .go {
  width: 24px;
  height: 32px;
  background: url('../img/ico_arrow.png?a') 4px center no-repeat;
  position: absolute;
  right: 2px;
  top: 4px;
}

#search_hints {
  top: 60px;
  left: 22px;
  display: none;
}

.main #search_hints, .main .rdiv.search {
  display: block;
}

.rdiv.menur {
  position: fixed;
  right: 22px;
  top: 20px;
  z-index: 10;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  height: 40px;
  
}
.rdiv.menur > a, .rdiv.menur #menu-wrapper > a{
  text-decoration: none;
  font-size: 14px;
  padding: 0 18px;
  color: black;
  line-height: 40px;
  display: inline-block;
  z-index: 1;
}
.rdiv.menur ul {
  z-index: 0;
}
.rdiv.menur .menu {
  display: none;
}

.rdiv.menur A#menu_settings {
  padding: 0 11px 0 36px;
  background: url('../img/ico_settings.png') 12px center no-repeat;
}
.rdiv.menur A#menu_help {
  padding: 0 11px 0 36px;
  background: url('../img/ico_help.png') 12px center no-repeat;
}


.rdiv.search #search::-webkit-input-placeholder{
   color: black;
}
.rdiv.search #search:-moz-placeholder{
   color: black;
}
.rdiv.search #search::-moz-placeholder {
   color: black;
}
.rdiv.search #search:-ms-input-placeholder {
   color: black;
}

#messages {
  padding-top: 65px;
}

#legend {
  right: 5px;
}
#map {
  width: 100%;
  height: 100%;
}

/* METEOGRAM PAGE */

#header #search_hints {
  top: 71px;
  left: 414px;
}

#container.detail {
  padding-top: 60px;
  position: relative;
  /*background: red;*/
  z-index: 9;
}

#meteogram_latlong, #meteogram_elevation {
  color: #3db9f1;
  text-shadow: none;
  font-size: 16px;
}

#meteogram_header {
  padding: 0 0 0 50px;
  position: relative;
  z-index: 10;  
}

#heading {
  position: absolute;
  top: 27px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  width: 100%;
  padding: 0 50px;
}

#heading A.logo{
  background: url('../img/mg/logo.png');
  display: inline-block;
  vertical-align: middle;
  width: 44px;
  height: 44px;
  vertical-align: middle;
  background-size: contain;
}

#heading H1{
  display: inline-block;
  font-weight: 300;
  font-size: 30px;
  margin: 0 9px 0 12px;
  vertical-align: middle;
}

#heading .search{
  display: inline-block;
  border: 1px solid #8fdcf8;
  background: #effafe;
  color: #3db9f1;
  border-radius: 4px;
  vertical-align: middle;
  position: relative;
}

#heading .search .go {
  width: 24px;
  height: 32px;
  background: url('../img/ico_arrow.png?a') 4px center no-repeat;
  position: absolute;
  right: 2px;
  top: 6px;
}

#heading .search input#search{
  border: 0;
  text-shadow: none;
  background: #effafe;
  color: #3db9f1;
  font-size: 26px;
  font-weight: 400;
  width: 238px;
  height: 42px;
  padding-bottom: 10px;
  padding-right: 30px;
}

#heading .clse {
  /*width: 24px;*/
  height: 32px;
  background: url('../img/mg/ico_close.png') right center no-repeat;
  top: 6px;
  font-size: 22px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  text-decoration: none;
  padding: 0 27px 0 0;
  float: right;
  color: black;
  position: relative;
}


.detail #header {
  height: 100px;
  border-bottom: 1px solid #ccedfb;
  background: #effafe;
}

.detail #header #messages{
  top: 60px;
  position: relative;  
}


.gtitle {
  font-size: 24px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  margin: 0 0 0 67px;
  font-weight: 300;
  font-size: 30px;
  position: relative;
}
.gtitle .icon_wrap {
  position: absolute;
  left: 0;
  border: 0;
  padding-top: 0;
  margin: 0;
  bottom: 0;
  line-height: 1;
}
.gtitle .icon_wrap.s {
  left: 36px;
}

.gtitle .icon_wrap img {
  position: absolute;
  margin: auto;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

.gtitle.cloud {
  padding: 0 0 0 40px;
}

.gtitle.heat {
  padding: 0 0 0 75px;
}

.gtitle.wind {
  padding: 0 0 0 40px;
}

.graphs {
  /*overflow: hidden;*/
  position: absolute;
  top: 130px;
  /*background: yellow;*/
}
#timeline {
  background: white;
  bottom: 0;
  transform: translate3d(0,0,0);
}

#cloud, #heat, #wind {
  overflow: hidden;
  position: relative;
}

#cloud .iScrollHorizontalScrollbar, #heat .iScrollHorizontalScrollbar, #wind .iScrollHorizontalScrollbar {
  bottom: 20px!important;
}

/* HOMEPAGE AND METEOGRAM */

.chart-wrapper {
  position: relative;
  height: 100%;

  -webkit-tap-highlight-color: rgba(0,0,0,0);
  -webkit-transform: translateZ(0);
  -moz-transform: translateZ(0);
  -ms-transform: translateZ(0);
  -o-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-text-size-adjust: none;
  -moz-text-size-adjust: none;
  -ms-text-size-adjust: none;
  -o-text-size-adjust: none;
  text-size-adjust: none;  

}

#timeline_map {
  background: repeating-linear-gradient( to right, rgba(208, 208, 208, 0.65), rgba(208, 208, 208, 0) 1px, white 1px, white 20px );
  background: repeating-linear-gradient(-45deg, rgba(245,245,245,1), rgba(245,245,245,1) 16px, rgba(249,249,249,1) 16px, rgba(249,249,249,1) 30px);
  /*background-size: 20px 100%;*/
  
}

.chart-wrapper svg {
  background: white;
}

.chart-wrapper.overflow svg {
  overflow: visible;
}


.iScrollHorizontalScrollbar {
  bottom: 4px!important;
}

/* GENERAL CHART */
text {
  font: 10px sans-serif;
}

.dayname {
  font-weight: bold;
  font-size: 11px;
}
  
.hour {
  /*font-size: 14px;*/
  fill: #8a8a8a;
}  
  
.y .tick line, .y.line {
  stroke: #dadada;
  opacity: .6;
  stroke-dasharray: 2;
}
.y2 .tick line{
  display: none;
}

.y text, .y2 text, .y.label {
  font-size: 12px;
  fill: #8a8a8a;
  color: #8a8a8a;
  font-weight: normal;
}

.overflow .y text, .overflow .y2 text, .overflow .y.label {
  display: none;
}

.axis {
  width: 60px;
  position: absolute;
  top: 0;
  left: -2px;
  background: white;
  height: 170px;
  padding: 12px 0 0 0;
}
.axis .y.label {
  text-anchor: end;
}
.axis.ex, .axis.ex2 {
  display: none;
}
.axis.ex2 .y.label {
  text-anchor: start;
}

.axis .rect{
  width: 60px;
  height: 145px;
  background: white;
  fill: white;
  y: -10px;
  x: -50px;
}

.axis.ex2 .rect{
  x: -40px;
}

.axis path,
.axis line {
  fill: none;
  stroke: #000;
  shape-rendering: crispEdges;
}

.x.axis path {
  display: none;
}

.line {
  fill: #18b5ef;
  stroke: none;
}
  
.line.low {
  fill: #18b5ef;
}
.line.mid {
  fill: #66CDf4;
}
.line.high {
  fill: #b2e7fa;
}

.area {
  fill: url(#temperature-gradient);
  stroke-width: 0;
}
.bar {
  fill: #00aeef;   
  stroke: none;
  stroke-width: 0;
}

.night {
  fill: #f3f3f3;
}
  
line.day {
  stroke: #d0d0d0; /*#dadada*/
  stroke-width: .3; /*.3*/
    
}  
  
.grid-background {
  fill: #f3f3f3;
}

.grid line {
  stroke: #f3f3f3;
}

.grid .minor line {
  stroke-opacity: .0;
}

.grid text {
  display: none;
}

.axis line {
  stroke: #000;
}

.axis path,
.grid path {
  display: none;
}
  
.tooltip {
  fill: rgba(255, 255, 255, 0.87);
  stroke: #e5e5e5;
  stroke-width: .5;
  opacity: 0;
}

.tooltip-arrow {
  stroke: #e5e5e5;
  display: none;
}
.tooltip.left .tooltip-arrow.left {
  stroke-dasharray: 11, 17;
  display: block;
}
.tooltip.right .tooltip-arrow.right {
  stroke-dasharray: 22, 24;
  display: block;
}
.tooltip.down .tooltip-arrow.down {
  stroke-dasharray: 0,16,24;
  display: block;
}
.tooltip.up .tooltip-arrow.up {
  stroke-dasharray: 11, 17;
  display: block;
}

.tooltip.sm {
  fill: none;
  stroke: none;
  stroke-width: .5;
  opacity: 0;
}


.tooltip text {
  stroke: none;
  color: black;
  font-size: 12px;
  shape-rendering: crispEdges;
}

.tooltip.hover {
  opacity: 1;
}

.windcircle {
  stroke: #00aeef;
  fill: white;
  stroke-width: 1.5px;
}

.hoverdot {
  stroke: #00aeef;
  stroke: url(#temperature-gradient);
  fill: white;
  stroke-width: 1.7px;
  opacity: 0;
}
.hoverdot.hover {
  opacity: 1;
}
  
.hoverrect {
  fill: #e5f7fd;
  opacity: 0;
}  
.hoverrect.hover {
  opacity: .6;
}

.actrect {
  fill: #009aff;
  opacity: .4;
}  
  
.hoverlayer {
  fill: red;
  opacity: 0;
}  

/* HEAT CHART */

.heat .line {
  fill: none;
  stroke: url(#heat-gradient);
  stroke-width: 2px;
}

.heat .hoverdot {
  stroke: url(#heat-gradient);
  fill: white;
  stroke-width: 1.7px;
  opacity: 0;
}

.heat .hoverdot.hover {
  opacity: 1;
}

/* WIND CHART */

.wind .area {
  fill: url(#wind-gradient);
  stroke-width: 0;
}

.wind .line {
  fill: none;
  stroke: #00aeef;
  stroke-width: 1.5px;
}

.wind .hoverdot {
  stroke: #00aeef;
  fill: white;
  stroke-width: 1.7px;
  opacity: 0;
}
.wind .hoverdot.hover {
  opacity: 1;
}