/* CSS for the weewx Standard skin
 *
 *  Copyright (c) 2015 Tom Keffer <tkeffer@gmail.com>
 * 
 *  See the file LICENSE.txt for your rights.
 */
  
/* Global */

body {
    margin: 0;
    padding: 0;
    border: 0;
    font-family: Verdana, Arial, Helvetica, sans-serif;
    font-size: 9pt;
    color: #ffffff;
    text-shadow: 0 0 5px black;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    background-attachment: fixed;
    height: 100vh;
    margin: 0;
}

#container {
    min-width:1000px;
    margin: 0;
    padding: 0;
    border: 0;
}

.help-tip{
    position: absolute;
    left: 170px;
    cursor: default;
}

.help-tip:before{
    content:url(backgrounds/help.png);
}

.help-tip:hover p{
    display:block;
    transform-origin: 100% 0%;

    -webkit-animation: fadeIn 0.3s ease-in-out;
    animation: fadeIn 0.3s ease-in-out;

}

.help-tip p{	/* The tooltip */
    display: none;
    text-align: left;
    background-color: #ccc;
    padding: 10px;
    width: 400px;
    position: absolute;
    border-radius: 3px;
    box-shadow: 4px 4px 4px rgba(0, 0, 0, 0.4);
    left: -20px;
    top: 10px;
    color: #3d6c87;
    text-shadow: 0 0 5px white;
    font-size: 13px;
    font-weight: normal;
    line-height: 1.4;
    z-index: 1;
}

.help-tip p:before{ /* The pointer of the tooltip */
    position: absolute;
    content: '';
    width:0;
    height: 0;
    border:6px solid transparent;
    border-bottom-color:#ccc;
    left:22px;
    top:-12px;
}

.help-tip p:after{ /* Prevents the tooltip from being hidden */
    width:20px;
    height:20px;
    content:'';
    position: absolute;
    top:-20px;
    left:20px;
}

/* CSS animation */

@-webkit-keyframes fadeIn {
    0% { 
	opacity:0; 
	transform: scale(0.6);
    }

    100% {
	opacity:100%;
	transform: scale(1);
    }
}

@keyframes fadeIn {
    0% { opacity:0; }
    100% { opacity:100%; }
}

a:link {
/*    color: #3d6c87;*/
    color: #ffffff;
    text-shadow: 0 0 5px black;
    text-decoration: none;
}

a:visited {
/*    color: #3d6c87;*/
    color: #ffffff;
    text-shadow: 0 0 5px black;
    text-decoration: none;
}

a:hover {
/*    color: #3d6c87;*/
    color: #ffffff;
    text-shadow: 0 0 5px black;
    text-decoration: underline;
}

a:active {
/*    color: #3d6c87;*/
    color: #ffffff;
    text-shadow: 0 0 5px black;
    text-decoration: underline;
}

a.info
{
    position:relative;
    z-index:1;
/*    background-color:#ff0;
    color:#2D006B;*/
    text-decoration:none;
}

a.info:hover
{
    z-index:2;
/*    background-color:#C0FF3E;*/
}

a.info span
{
    display: none;
}

a.info:hover span
{
    display:block;
    position:absolute;
    top:2em;
    left:2em;
    width:25em;
    border:1px solid #12127D;
    background-color:#ccc;
/*    color: #3d6c87;*/
    color: #ffffff;
    text-shadow: 0 0 5px black;
    text-align: center;
    padding: 5px;
    font-weight: normal;
/*    font-size: 0.8em;*/
} 

/*
 * This is the big header at the top of the page
 */
#masthead a:link {color:#fff; text-decoration:none}
#masthead a:visited {color:#fff; text-decoration:none}
#masthead a:active {color:#fff; text-decoration:none}
#masthead a:hover {color:#fff; text-decoration:none}

#masthead {
    margin: 5px;
    padding: 5px;
    border-top: 1px solid #dcdcdc;
    border-right: 1px solid #a9a9a9;
    border-bottom: 1px solid #808080;
    border-left: 1px solid #a9a9a9;
    background-color: rgba(0,0,0,0.4);
    font: "Lucida Grande",Verdana,Lucida,Helvetica,Arial,sans-serif;
    font-size: 250%;
    font-weight: bolder;
    color: #fff !important;
    text-decoration: none !important;
    line-height: 1.4em;
}

#masthead h1 {
    color: #fff;
}
#masthead h3 {
    color: #fff;
}

iframe {
    background-color: rgba(220,220,220,0.75);
}

table {
/*    border: thin solid #000000;*/
    border-collapse: collapse;
/*    background-color: rgba(220,220,220,0.75);*/
}

/*
 * This holds the statistics (daily high/low, etc.) on the left: 
 */
#stats_group {
    width: 300px;
    min-height: 500px;
    margin: 5px;
    padding: 5px;
    float: left;
    border-top: 1px solid #dcdcdc;
    border-right: 1px solid #a9a9a9;
    border-bottom: 1px solid #808080;
    border-left: 1px solid #a9a9a9;
/*    background-color: #fafaff;*/
    background-color: rgba(0,0,0,0.4);
}

.stats table {
    border: thin solid #ffffff;
    border-collapse: collapse;
    width: 100%;
/*    background-color: rgba(220,220,220,0.75);*/
}
.stats td {
    border: thin solid #ffffff;
    padding: 2px;
}

.stats_header  {
/*    background-color: #000000;
    background-color: rgba(220,220,220,0.75);
    color: #a8b8c8;*/
/*    background-color: rgba(220,220,220,0.75);*/
/*    color: #3d6c87;*/
    color: #ffffff;
    text-shadow: 0 0 5px black;
    font-size: 14pt;
    font-weight: bolder;
}

.stats_label {
    font-weight: bold;
    width: 60%;
/*    color: #3d6c87;*/
    color: #ffffff;
    text-shadow: 0 0 5px black;
}

.stats_data {
    width: 40%;
    color: #ffffff;
    text-shadow: 0 0 5px black;
}

.board table {
    border: thin solid #ffffff;
    border-collapse: collapse;
    width: 100%;
}
.board td {
    border: thin solid #ffffff;
    padding: 8px;
    font-size: 20pt;
}

.board_header  {
/*    background-color: #000000;
    background-color: rgba(0,0,0,0.4);
    color: #a8b8c8;*/
/*    background-color: rgba(220,220,220,0.75);*/
/*    color: #3d6c87;*/
    color: #ffffff;
    text-shadow: 0 0 5px black;
    font-weight: bolder;
}

.board_label {
    font-weight: bold;
/*    background-color: rgba(220,220,220,0.75);*/
/*    color: #3d6c87;*/
    color: #ffffff;
    text-shadow: 0 0 5px black;
}

.board_data {
/*    background-color: rgba(220,220,220,0.75);*/
/*    color: #000000;*/
}

/*
 * This holds the "About", "Almanac", and plots on the right
 */
#content {
/*    width: 65%;*/
    min-height: 500px;
    margin-left: 330px;
    margin-right: 5px;
    margin-top: 10px;
    padding: 5px;
/*    display:block;
    overflow:hidden;
    float: right;*/
    border-top: 1px solid #dcdcdc;
    border-right: 1px solid #a9a9a9;
    border-bottom: 1px solid #808080;
    border-left: 1px solid #a9a9a9;
/*    background-color: #fafaff;*/
    background-color: rgba(0,0,0,0.4);
    text-align: center;
}

#content .header {
    font-size: 14pt;
    font-weight: bolder;
/*    background-color: rgba(220,220,220,0.75);*/
/*    color: #3d6c87;*/
    color: #ffffff;
    text-shadow: 0 0 5px black;
    margin-bottom: 10px;
}


#content .caption {
    font-weight: bold;
/*    background-color: rgba(220,220,220,0.75);*/
/*    color: #3d6c87;*/
    color: #ffffff;
    text-shadow: 0 0 5px black;
}

#about, #almanac table {
/*    background-color: rgba(220,220,220,0.75);*/
    text-align: center;
    width: 100%;
}

#about, #almanac td {
    width: 50%;
}

#about, #almanac .label {
    text-align: right;
    font-style: italic;
}

#about, #almanac .data {
    text-align: left;
}

#about, #almanac {
    width: 90%;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 30px;
}

.celestial_group {
}

.celestial_body {
    width: 48%;
    vertical-align: top;
    display:inline-block;
}

#plots {
    width: 98%;
    display: block;
    margin-left: auto;
    margin-right: auto;
}
    
#plots img {
    border: thin solid #3d6c87;
    margin: 3px;
    padding: 3px;
}

#radar_img {
    width: 100%;
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin: 3px;
    padding: 3px;
}

#radar_img img {
    margin-left: auto;
    margin-right: auto;
    width: 90%;
    margin: 3px;
    padding: 3px;
}

#radar_img p {
    width: 90%;
    font-style: italic;
    font-size: smaller;
    text-align: center;
    margin-top: 0;
}

/*
 * Navigation bar (week, month, etc.) at the bottom
 */
#navbar {
    margin: 5px;
    padding: 5px;
    text-align: center;
    clear: both;
    border-top: 1px solid #dcdcdc;
    border-right: 1px solid #a9a9a9;
    border-bottom: 1px solid #808080;
    border-left: 1px solid #a9a9a9;
/*    background-color: #fafaff;*/
    background-color: rgba(0,0,0,0.4);
}

/*************** Global Styles ***************/

h2, h3, h4, h5, h6 {
/*    color: #3d6c87;*/
    color: #ffffff;
    text-shadow: 0 0 5px black;
}

/*
 * FancyBox - jQuery Plugin
 * Simple and fancy lightbox alternative
 *
 * Examples and documentation at: http://fancybox.net
 * 
 * Copyright (c) 2008 - 2010 Janis Skarnelis
 * That said, it is hardly a one-person project. Many people have submitted bugs, code, and offered their advice freely. Their support is greatly appreciated.
 * 
 * Version: 1.3.4 (11/11/2010)
 * Requires: jQuery v1.3+
 *
 * Dual licensed under the MIT and GPL licenses:
 *   http://www.opensource.org/licenses/mit-license.php
 *   http://www.gnu.org/licenses/gpl.html
 */

#fancybox-loading {
    position: fixed;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
    margin-top: -20px;
    margin-left: -20px;
    cursor: pointer;
    overflow: hidden;
    z-index: 1104;
    display: none;
}

#fancybox-loading div {
    position: absolute;
    top: 0;
    left: 0;
    width: 40px;
    height: 480px;
    background-image: url('fancybox.png');
}

#fancybox-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1100;
    display: none;
}

#fancybox-tmp {
    padding: 0;
    margin: 0;
    border: 0;
    overflow: auto;
    display: none;
}

#fancybox-wrap {
    position: absolute;
    top: 0;
    left: 0;
    padding: 20px;
    z-index: 1101;
    outline: none;
    display: none;
}

#fancybox-outer {
    position: relative;
    width: 100%;
    height: 100%;
    background: #fff;
}

#fancybox-content {
    width: 0;
    height: 0;
    padding: 0;
    outline: none;
    position: relative;
    overflow: hidden;
    z-index: 1102;
    border: 0px solid #fff;
}

#fancybox-hide-sel-frame {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    z-index: 1101;
}

#fancybox-close {
    position: absolute;
    top: -15px;
    right: -15px;
    width: 30px;
    height: 30px;
    background: transparent url('fancybox.png') -40px 0px;
    cursor: pointer;
    z-index: 1103;
    display: none;
}

#fancybox-error {
    color: #444;
    font: normal 12px/20px Arial;
    padding: 14px;
    margin: 0;
}

#fancybox-img {
    width: 100%;
    height: 100%;
    padding: 0;
    margin: 0;
    border: none;
    outline: none;
    line-height: 0;
    vertical-align: top;
}

#fancybox-frame {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

#fancybox-left, #fancybox-right {
    position: absolute;
    bottom: 0px;
    height: 100%;
    width: 35%;
    cursor: pointer;
    outline: none;
    background: transparent url('blank.gif');
    z-index: 1102;
    display: none;
}

#fancybox-left {
    left: 0px;
}

#fancybox-right {
    right: 0px;
}

#fancybox-left-ico, #fancybox-right-ico {
    position: absolute;
    top: 50%;
    left: -9999px;
    width: 30px;
    height: 30px;
    margin-top: -15px;
    cursor: pointer;
    z-index: 1102;
    display: block;
}

#fancybox-left-ico {
    background-image: url('fancybox.png');
    background-position: -40px -30px;
}

#fancybox-right-ico {
    background-image: url('fancybox.png');
    background-position: -40px -60px;
}

#fancybox-left:hover, #fancybox-right:hover {
    visibility: visible; /* IE6 */
}

#fancybox-left:hover span {
    left: 20px;
}

#fancybox-right:hover span {
    left: auto;
    right: 20px;
}

.fancybox-bg {
    position: absolute;
    padding: 0;
    margin: 0;
    border: 0;
    width: 20px;
    height: 20px;
    z-index: 1001;
}

#fancybox-bg-n {
    top: -20px;
    left: 0;
    width: 100%;
    background-image: url('fancybox-x.png');
}

#fancybox-bg-ne {
    top: -20px;
    right: -20px;
    background-image: url('fancybox.png');
    background-position: -40px -162px;
}

#fancybox-bg-e {
    top: 0;
    right: -20px;
    height: 100%;
    background-image: url('fancybox-y.png');
    background-position: -20px 0px;
}

#fancybox-bg-se {
    bottom: -20px;
    right: -20px;
    background-image: url('fancybox.png');
    background-position: -40px -182px; 
}

#fancybox-bg-s {
    bottom: -20px;
    left: 0;
    width: 100%;
    background-image: url('fancybox-x.png');
    background-position: 0px -20px;
}

#fancybox-bg-sw {
    bottom: -20px;
    left: -20px;
    background-image: url('fancybox.png');
    background-position: -40px -142px;
}

#fancybox-bg-w {
    top: 0;
    left: -20px;
    height: 100%;
    background-image: url('fancybox-y.png');
}

#fancybox-bg-nw {
    top: -20px;
    left: -20px;
    background-image: url('fancybox.png');
    background-position: -40px -122px;
}

#fancybox-title {
    font-family: Helvetica;
    font-size: 12px;
    z-index: 1102;
}

.fancybox-title-inside {
    padding-bottom: 10px;
    text-align: center;
    color: #333;
    background: #fff;
    position: relative;
}

.fancybox-title-outside {
    padding-top: 10px;
    color: #fff;
}

.fancybox-title-over {
    position: absolute;
    bottom: 0;
    left: 0;
    color: #FFF;
    text-align: left;
}

#fancybox-title-over {
    padding: 10px;
    background-image: url('fancy_title_over.png');
    display: block;
}

.fancybox-title-float {
    position: absolute;
    left: 0;
    bottom: -20px;
    height: 32px;
}

#fancybox-title-float-wrap {
    border: none;
    border-collapse: collapse;
    width: auto;
}

#fancybox-title-float-wrap td {
    border: none;
    white-space: nowrap;
}

#fancybox-title-float-left {
    padding: 0 0 0 15px;
    background: url('fancybox.png') -40px -90px no-repeat;
}

#fancybox-title-float-main {
    color: #FFF;
    line-height: 29px;
    font-weight: bold;
    padding: 0 0 3px 0;
    background: url('fancybox-x.png') 0px -40px;
}

#fancybox-title-float-right {
    padding: 0 0 0 15px;
    background: url('fancybox.png') -55px -90px no-repeat;
}

/* IE6 */

.fancybox-ie6 #fancybox-close { background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='fancybox/fancy_close.png', sizingMethod='scale'); }

.fancybox-ie6 #fancybox-left-ico { background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='fancybox/fancy_nav_left.png', sizingMethod='scale'); }
.fancybox-ie6 #fancybox-right-ico { background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='fancybox/fancy_nav_right.png', sizingMethod='scale'); }

.fancybox-ie6 #fancybox-title-over { background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='fancybox/fancy_title_over.png', sizingMethod='scale'); zoom: 1; }
.fancybox-ie6 #fancybox-title-float-left { background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='fancybox/fancy_title_left.png', sizingMethod='scale'); }
.fancybox-ie6 #fancybox-title-float-main { background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='fancybox/fancy_title_main.png', sizingMethod='scale'); }
.fancybox-ie6 #fancybox-title-float-right { background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='fancybox/fancy_title_right.png', sizingMethod='scale'); }

.fancybox-ie6 #fancybox-bg-w, .fancybox-ie6 #fancybox-bg-e, .fancybox-ie6 #fancybox-left, .fancybox-ie6 #fancybox-right, #fancybox-hide-sel-frame {
    height: expression(this.parentNode.clientHeight + "px");
}

#fancybox-loading.fancybox-ie6 {
    position: absolute; margin-top: 0;
    top: expression( (-20 + (document.documentElement.clientHeight ? document.documentElement.clientHeight/2 : document.body.clientHeight/2 ) + ( ignoreMe = document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop )) + 'px');
}

#fancybox-loading.fancybox-ie6 div	{ background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='fancybox/fancy_loading.png', sizingMethod='scale'); }

/* IE6, IE7, IE8 */

.fancybox-ie .fancybox-bg { background: transparent !important; }

.fancybox-ie #fancybox-bg-n { filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='fancybox/fancy_shadow_n.png', sizingMethod='scale'); }
.fancybox-ie #fancybox-bg-ne { filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='fancybox/fancy_shadow_ne.png', sizingMethod='scale'); }
.fancybox-ie #fancybox-bg-e { filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='fancybox/fancy_shadow_e.png', sizingMethod='scale'); }
.fancybox-ie #fancybox-bg-se { filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='fancybox/fancy_shadow_se.png', sizingMethod='scale'); }
.fancybox-ie #fancybox-bg-s { filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='fancybox/fancy_shadow_s.png', sizingMethod='scale'); }
.fancybox-ie #fancybox-bg-sw { filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='fancybox/fancy_shadow_sw.png', sizingMethod='scale'); }
.fancybox-ie #fancybox-bg-w { filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='fancybox/fancy_shadow_w.png', sizingMethod='scale'); }
.fancybox-ie #fancybox-bg-nw { filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='fancybox/fancy_shadow_nw.png', sizingMethod='scale'); }

a.fancybox img {
        border: none;
        box-shadow: 0 1px 7px rgba(0,0,0,0.6);
        -o-transform: scale(1,1); -ms-transform: scale(1,1); -moz-transform: scale(1,1); -webkit-transform: scale(1,1); transform: scale(1,1); -o-transition: all 0.2s ease-in-out; -ms-transition: all 0.2s ease-in-out; -moz-transition: all 0.2s ease-in-out; -webkit-transition: all 0.2s ease-in-out; transition: all 0.2s ease-in-out;
} 
a.fancybox:hover img {
        position: relative; z-index: 999; -o-transform: scale(1.03,1.03); -ms-transform: scale(1.03,1.03); -moz-transform: scale(1.03,1.03); -webkit-transform: scale(1.03,1.03); transform: scale(1.03,1.03);
}
