#debug {
    position: absolute;
    z-index: 1000;
    font-size: 10px;
    bottom: 0;
    left: 10px;
    width: 300px;
    height: 400px;
    border: 1px solid red;
    overflow: auto;
    background-color: white;
}
#debug-wrapper {
    position: absolute;
    z-index: 1000;
    font-size: 10px;
    bottom: 0;
    right: 10px;
    width: 300px;
    height: 400px;
    border: 1px solid red;
    overflow: auto;
    background-color: white;
}
#debug-button {
    position: absolute;
    z-index: 1000;
    font-size: 10px;
    bottom: 150px;
    right: 100px;
    width: 100px;
    height: 100px;
    border: 1px solid blue;
    overflow: auto;
    background-color: white;
}
.metar {
    padding: 0;
    margin: 0;
    position: relative;
    background: url(../images/map-markers/sensor_marker_short.png) repeat-x 0 0;
    background-clip: border-box;
    width: 67px;
    height: 35px;
    border-radius: 17px;
    color: #aaa;
    font-family: "Roboto Medium", Helvetica, Arial, sans-serif;
    cursor: pointer;
    -moz-box-shadow: 0.5px 1px 3px 0px #222;
    -webkit-box-shadow: 0.5px 1px 3px 0px #222;
    box-shadow: 0.5px 1px 3px 0px #222;
}
.metar .metar-selection {
    position: absolute;
    background-image: url(../images/map-markers/metar_selection.png);
    background-repeat: no-repeat;
    background-position: left top;
    top: 4.5px;
    left: 1px;
    height: 28px;
    width: 28px;
}
.metar .metar-weathercode {
    display: block;
    position: absolute;
/*    background-image: url(../images/map-markers/conds/metar_rain.png);*/
/*    background-repeat: no-repeat;*/
/*    background-position: left top;*/
    height: 28px;
    width: 28px;
    top: 3px;
    left: 1px;
}
.metar .metar-temperature {
    position: absolute;
    top: 2px;
    left: 28px;
    height: 33px;
    width: 40px;
    line-height: 34px;
    font-size: 18px;
    color: #404040;
    text-shadow: 1px 1px 1px #000;
}
.metar .metar-short-info {
    position: absolute;
    top: 6px;
    left: 67px;
    height: 30px;
    width: 80px;
    font: 11px/12px "Roboto Regular",Arial,Helvetica,Sans-Serif;
/*    line-height: 12px;*/
/*    font-size: 10px;*/
    white-space: nowrap;
    color: #000;
}
.metar .metar-short-info span {
    font: 9px/12px "Roboto Regular",Arial,Helvetica,Sans-Serif;
}
.metar-info {
    position: absolute;
    z-index: 100;
    top: 5px;
    left: 100px;
    width: 252px;
/*    height: 159px;*/
    background-color: #ffffff;
    border-radius: 8px;
    color: #808080;
    font: 13px/17px "Roboto Medium",Arial,Helvetica,Sans-Serif;
    -moz-box-shadow: 0 0 3px 0px #888;
    -webkit-box-shadow: 0 0 3px 0px #888;
    box-shadow: 0 0 3px 0px #888;
}
.metar-info .metar-info-header {
    position: absolute;
    top: 1px;
    left: 0px;
    width: 252px;
    height: 55px;
    background-color: #f0f0f0;
    border-radius: 8px 8px 0 0;
    border-bottom: 1px solid #bababa;
    color: #287db9;
}
.metar-info .metar-info-header-text {
    display: block;
    postion: absolute;
    margin-top: 10px;
    margin-left: 15px;
    width: 200px;
    height: 42px;
    font-size: 17.5px;
    line-height: 21px;
    overflow: hidden;
}
.metar-info p {
    margin: 0 13px 0 13px;
}
.metar-info p:first-child {
    margin-top: 67px;
}
.metar-info p span:first-child {
    font: 14px/17px 'Roboto Bold';
}
.metar-info .metar-info-bottom-padding {
    height: 5px;
    width: 252px;
}
.metar-info .metar-info-legend {
    height: 17px;
    width: 17px;
    margin-right: 13px;
    margin-top: 1px;
    margin-bottom: 3px;
    float: right;
    background: url("../images/map-markers/metar_info_help.png") no-repeat scroll 0 0 transparent;
    cursor: pointer;
}
.metar-info .metar-info-close {
    position: absolute;
    height: 21px;
    width: 17px;
    top: 9px;
    right: 12px;
    background: url("../images/map-markers/metar_info_x.png") no-repeat scroll 0 0 transparent;
    cursor: pointer;
}

.metar-help {
    position: absolute;
    top: 0px;
    left: 270px;
    width: 252px;
    height: 221px;
    border-radius: 8px;
    color: #808080;
    font: 13px/17px "Roboto Medium",Arial,Helvetica,Sans-Serif;
    background: url("../images/map-markers/metar_legend.png") no-repeat scroll 20px 44px #ffffff;
}
.metar-help .metar-help-header {
    position: absolute;
    top: 1px;
    left: 0px;
    width: 252px;
    height: 39px;
    background-color: #f0f0f0;
    border-radius: 8px 8px 0 0;
    border-bottom: 1px solid #bababa;
    color: #287db9;
}
.metar-help .metar-help-header-text {
    display: block;
    postion: absolute;
    margin-top: 10px;
    margin-left: 15px;
    width: 200px;
    height: 42px;
    font-size: 17.5px;
    line-height: 21px;
    overflow: hidden;
}
.metar-help .metar-help-bottom-padding {
    height: 5px;
    width: 252px;
}
.metar-help .metar-help-close {
    position: absolute;
    height: 21px;
    width: 17px;
    top: 9px;
    right: 12px;
    background: url("../images/map-markers/metar_info_x.png") no-repeat scroll 0 0 transparent;
    cursor: pointer;
}
.metar-help ul {
    display: block;
    float: left;
    margin: 0px;
}
.metar-help li {
    list-style: none outside none;
    margin: 0px;
}
.metar-help .metar-help-fc {
    width: 63px;
    text-align: center;
}
.metar-help .metar-help-fc li {
    height: 41px;
}
.metar-help .metar-help-fc li:first-child {
    margin-top: 75px;
}
.metar-help .metar-help-sc {
    width: 67px;
    margin-left: 50px;
}
.metar-help .metar-help-sc li {
    height: 32px;
}
.metar-help .metar-help-sc li:first-child {
    margin-top: 60px;
}
.metar-help .metar-help-ws {
    width: 70px;
    text-align: center;
    float: right;
}
.metar-help .metar-help-ws li {
    height: 42px;
}
.metar-help .metar-help-ws li:first-child {
    margin-top: 72px;
}
.metar-help .metar-help-vertical1 {
    position: absolute;
    background: #bababa;
    width: 1px;
    height: 178px;
    top: 43px;
    left: 63px;
}
.metar-help .metar-help-vertical2 {
    position: absolute;
    background: #bababa;
    width: 1px;
    height: 178px;
    top: 43px;
    left: 180px;
}
.metar-barb-name-selection {
    position: absolute;
    width: 52px;
    height: 23px;
    top: 0px;
    left: 12px;
    background: url("../images/map-markers/metar_name_selection.png") no-repeat scroll 0 0 transparent;
}
.metar-barb-name {
    position: absolute;
    width: 48px;
    top: 0px;
    left: 12px;
    font: 16px/16px "Roboto Medium",Arial,Helvetica,Sans-Serif;
    color: #fff;
    text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
    padding-top: 4px;
    background-origin: border-box;
    text-align: center;
}
.metar-barb-temperature {
    position: absolute;
    top: -23px;
    left: -35px;
    font: 16px/16px "Roboto Medium",Arial,Helvetica,Sans-Serif;
    color: #ff0000;
    text-shadow: -1px -1px 0 #fff, 1px -1px 0 #fff, -1px 1px 0 #fff, 1px 1px 0 #fff;
}
.metar-barb-dew {
    position: absolute;
    top: 0px;
    left: -35px;
    font: 16px/16px "Roboto Medium",Arial,Helvetica,Sans-Serif;
    color: #1c9600;
    text-shadow: -1px -1px 0 #fff, 1px -1px 0 #fff, -1px 1px 0 #fff, 1px 1px 0 #fff;
}
.metar-barb-circle {
    position: absolute; 
    top: -10.5px; 
    left: -10.5px;
    background-position: 2.5px 2.5px;
    background-repeat: no-repeat;
}

.metar-alert-info {
/*
    position: relative;
    top: 0px;
    left: 0px;
*/
    min-width: 252px;
/*    height: 159px;*/
    background-color: #ffffff;
    border-radius: 8px;
    color: #808080;
    font: 13px/17px "Roboto Medium",Arial,Helvetica,Sans-Serif;
}
.metar-alert-info .metar-info-header {
    position: absolute;
    top: 1px;
    left: 0px;
    width: 100%;
    height: 55px;
    background-color: #f0f0f0;
    border-radius: 8px 8px 0 0;
    border-bottom: 1px solid #bababa;
    color: #287db9;
}
.metar-alert-info .metar-info-header-text {
    display: block;
    postion: absolute;
    margin-top: 10px;
    margin-left: 15px;
    width: 200px;
    height: 42px;
    font-size: 17.5px;
    line-height: 21px;
    overflow: hidden;
}
.metar-alert-info p {
    margin: 0 13px 0 13px;
}
.metar-alert-info p:first-child {
    margin-top: 67px;
}
.metar-alert-info p span:first-child {
    font: 14px/17px 'Roboto Bold';
}
.metar-alert-info .metar-info-bottom-padding {
    height: 5px;
    width: 252px;
}
.metar-alert-info .metar-info-legend {
    height: 17px;
    width: 17px;
    margin-right: 13px;
    margin-top: 1px;
    margin-bottom: 3px;
    float: right;
    background: url("../images/map-markers/metar_info_help.png") no-repeat scroll 0 0 transparent;
    cursor: pointer;
}
.metar-alert-info .metar-info-close {
    position: absolute;
    height: 21px;
    width: 17px;
    top: 9px;
    right: 12px;
    background: url("../images/map-markers/metar_info_x.png") no-repeat scroll 0 0 transparent;
    cursor: pointer;
}

.metar-alert-info .drpin-alerts {
    margin-top: 8px;
    margin-bottom: 5px;
    overflow: hidden;
}

.metar-alert-info .drpin-alert {
    position: relative;
    float: left;
    clear: left;
    display: inline-block;
    height: 25px;
    margin: 2px 13px 0 13px;
    border-radius: 2px;
    font: 14px/25px 'Roboto Medium';
    padding: 0;
    color: #fff;
    white-space: nowrap;
    cursor: pointer;
    overflow: visible;
}
.metar-alert-info .drpin-alert-type {
    padding: 0 5px 0 5px;
    border-radius: 2px;
    background: url("../images/map-markers/metar_alert_btn.png") repeat-x scroll 0 100% transparent;
    opacity: 1;
    /* IE 8 */
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
    /* IE 5-7 */
    filter: alpha(opacity=100);
}
.metar-alert-info .drpin-alert-date {
    position: absolute;
    padding: 0 5px 0 5px;
    border-radius: 2px;
    top: 0;
    left: 0;
    background: url("../images/map-markers/metar_alert_btn.png") repeat-x scroll 0 0 transparent;
    opacity: 0;
    /* IE */
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
    filter: alpha(opacity=0);
}

.metar-alert-info .drpin-alert.drpin-alert-hover {
    background: url("../images/map-markers/metar_alert_btn.png") repeat-x scroll 0 0 transparent;
}

.metar-alert-info .metar-info-save-city {
    position: absolute;
    height: 33px;
    width: 68px;
    top: 65px;
    right: 12px;
    background: url("../images/sensor_save_city_bg.png") no-repeat scroll 0 0 transparent;
    cursor: pointer;
    font: 14px/31px 'Roboto Medium';
    color: #eee;
    padding-left: 5px;
    text-shadow: 0px 1px 1px #333;
}
.metar-alert-info .metar-info-save-city.metar-info-save-city-on {
    background: url("../images/sensor_save_city_bg_on.png") no-repeat scroll 0 0 transparent;
}

.tooltip {
    width: 302px;
    background-image: url(../images/map-markers/tooltip-top.png);
    background-repeat: no-repeat;
    background-position: left top;
    position: absolute;
    top: 105%;
    left: -14px;
    padding-top: 18px;
    border: 1px solid transparent;
    overflow: hidden;
}
.tooltip .tooltip-top {
    width: 302px;
    background-image: url(../images/map-markers/tooltip-background.png);
    background-repeat: repeat-y;
    background-position: left top;
    min-height: 50px;
    top: 0;
    left: 0;
    position: relative;
}
.tooltip .tooltip-top .tooltip-city {
    font-size: 14px;
    font-weight: 500;
    padding: 5px 0 5px 16px;
    width: 170px;
}
.tooltip .tooltip-top .tooltip-waves {
    line-height: 24px;
    font-size: 15px;
    font-weight: 500;
    padding: 10px 5px 10px 16px;
    width: 170px;
}
.tooltip .tooltip-top .tooltip-weathercode {
    font-size: 12px;
    font-weight: normal;
    color: #bbb;
    padding: 0 5px 5px 16px;
    width: 170px;
}
.tooltip .tooltip-top .tooltip-wind {
    position: absolute;
    top: 10px;
    right: 16px;
    /*margin: 10px 20px 0 0;*/
    padding-left: 30px;
    line-height: 24px;
    font-size: 15px;
    font-weight: 500;
    background-image: url(../images/map-markers/tooltip-wind.png);
    background-repeat: no-repeat;
    background-position: left top;
}
.tooltip-alerts {
    clear: both;
    font-family: Helvetica, Arial, sans-serif;
    font-size: 14px;
    text-shadow: none;
}
.tooltip-alerts .tooltip-alert {
    padding: 5px;
    line-height: 1.2em;
    text-shadow: none;
}
.tooltip-alerts .tooltip-alert h4 {
    font-size: 0.8em;
    font-weight: bold;
    color: #a60000;
    padding: 5px 0;
}
.tooltip .tooltip-alert h4 {
    font-size: 0.8em;
    font-weight: bold;
    color: #a60000;
    line-height: 1em;
    padding: 0px 10px;
}
.tooltip-alerts .tooltip-alert pre {
    font-size: 0.8em;
    font-weight: normal;
    line-height: 1.1em;
    color: #222;
    height: 16em;
    overflow: scroll;
    -webkit-overflow-scrolling: touch;
}
.tooltip .tooltip-alert pre.touchscreen {
    background-image: url(../images/map-markers/move2.png);
    background-repeat: no-repeat;
    background-position: center center;
}
.tooltip .tooltip-bottom {
    width: 302px;
    /*clear: both;*/
    background-image: url(../images/map-markers/tooltip-bottom.png);
    background-repeat: no-repeat;
    background-position: left top;
    /*width: 302px;*/
    height: 32px;
    font-size: 12px;
    font-weight: bold;
    line-height: 32px;
    padding-left: 6px;
}
.tooltip .tooltip-bottom div {
    float: left;
    padding: 0 10px;
}
.drpin-info {
    font-family: Helvetica, Arial, sans-serif;
    font-size: 14px;
    text-shadow: none;
    padding: 0;
    margin: 0;
}
.drpin-info .drpin-alerts {
    margin-bottom: 5px;
    font-size: 1em;
    cursor: pointer;
}
.drpin-info .drpin-alert {
    line-height: 1.7em;
    font-size: 0.9em;
    font-weight: bold;
    color: #a60000;
    text-decoration: underline;
}
table, th, td {
    border: 1px dotted #555;
}
.drpin-info th {
    text-align: left;
    padding: 3px 10px;
}
.drpin-info td {
    padding: 3px 10px;
}
.drpin-info .first-time-message {
    color: #555;
    font-style: italic;
    font-size: 15px;
    text-align: center;
    font-weight: bold;
    line-height: 15px;
    padding-top: 10px;
    display: none;
}


#alert-modal-window {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000000;
    background: url("../images/map-markers/alert_modal_bg.png") repeat;
}
#alert-wrapper {
    position: absolute;
    background-color: #fff;
    top: 3%;
    left: 50%;
    margin-left: -295px;
    width: 590px;
    height: 94%;
    overflow: hidden;
    border-radius: 8px;
}
#alert-header {
    position: relative;
    top: 1px;
    height: 65px;
    background: #f0f0f0;
    border-width: 0;
    z-index: 1;
    font: normal 24px/65px 'Roboto Bold', Helvetica, Arial, sans-serif;
    color: #2e7eb7;
    padding-left: 1em;
    padding-right: 2em;
    overflow: hidden;
    white-space: nowrap;
}
@media (max-width: 590px) {

  #alert-wrapper {
      margin-left: 0;
      left: 0;
      width: 100%;
  }
  #alert-header span {
      display: none;
  }

}
#alert-close {
    position: absolute;
    width: 30px;
    height: 38px;
    background: url("../images/map-markers/alert_x.png") no-repeat center center;
    right: 15px;
    top: 12px;
    cursor: pointer;
}
#alert-content {
    position: absolute;
    border-width: 0;
    border-radius: 0;
    background: #ffffff;
    top: 70px;
    bottom: 10px;
    left: 10px;
    right: 10px;
    z-index: 0;
}
#alert-content pre {
    overflow-y: scroll;
    height: 100%;
    border-radius: 0;
    background-color: #fff;
    font: normal 14px/20px 'Roboto Regular', Helvetica, Arial, sans-serif;
    color: #808080;
}



#marine-alerts-wrapper {
    display: none;
    position: absolute;
    width: 700px;
    height: 90%;
    bottom: 2%;
    left: 50%;
    margin-left: -360px;
    background-color: #eee;
    opacity: 0.9;
    /* IE 8 */
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=90)";
    /* IE 5-7 */
    filter: alpha(opacity=90);
    z-index: 1000;
    border-style: solid;
    border-color: transparent;
    border-width: 10px;
}
#marine-alerts-wrapper .marine-alerts-close.active {
    margin: 2px 0px 0px 2px;
    color: #a60000;
}
#marine-alerts-wrapper .marine-alerts-close {
    text-decoration: none;
    float: right;
    color: #777;
    font-size: 16px;
    height: 20px;
    text-align: center;
    width: 20px;
    padding: 0;
    margin: 1px;
    cursor: pointer;
}
#marine-alerts {
    overflow: auto;
    overflow-x: hidden;
    height: 95%;
    clear: both;
    font-family: Helvetica, Arial, sans-serif;
    font-size: 16px;
    text-shadow: none;
}
.marine-alert h4 {
    font-size: 1.4em;
    line-height: 1.5em;
    font-weight: bold;
    color: #a60000;
    padding: 5px 0;
}
.marine-alert pre {
    font-size: 1em;
    font-weight: normal;
    line-height: 1em;
    color: #222;
}
#marine-alerts-wrapper.touchscreen {
    background-image: url(../images/map-markers/move2.png);
    background-repeat: no-repeat;
    background-position: center center;
}
.webcam-title {
    font-size: 14px;
    font-weight: bold;
    font-family: Helvetica, Arial, sans-serif;
}
#webcam-infobox {
    width: 340px;
    height: 150px;
}
.sensor-title {
    font-size: 14px;
    font-weight: bold;
    font-family: Helvetica, Arial, sans-serif;
}
.location-title {
    font-size: 14px;
    font-weight: bold;
    font-family: Helvetica, Arial, sans-serif;
}

.leaflet-control-infocontrol-interior {
    width: 47px;
    height: 46px;
    background-image: url(../images/get_info_pin.png);
    background-repeat: no-repeat;
    background-position: left top;
    margin: 0;
    padding: 0;
    border-radius: 23px;
    -moz-box-shadow: 0 0 5px 0px #555;
    -webkit-box-shadow: 0 0 5px 0px #555;
    box-shadow: 0 0 5px 0px #555;
}
.leaflet-control-infocontrol.leaflet-control {
    position: relative;
    left: 25px;
    margin: 10px 0 0 0;
    padding: 0;
    overflow: visible;
}
.leaflet-control-infocontrol-helper {
    width: 28px;
    height: 36px;
    background-image: url(../images/get_info_pin_helper.png);
    background-repeat: no-repeat;
    background-position: left top;
    cursor: url(../images/blank_cursor.png),default;
    pointer-events: auto;
    margin: 0;
    padding: 0;
}
