* {
    margin: 0;
    padding: 0;
}
html {
    background-color: #000066;
    height: 100%;
}
body {
    color: #ffffff;
    font: 100% Tahoma,Verdana,Arial,sans-serif;
}
header, nav, main, footer, article, section, aside {
    display:block;
}
header, footer {
    margin-left: auto;
    margin-right: auto;
}


/* screen sizes */

@media (min-width:992px) {
    .desktop-only {
        display:block !important;
    }
    .mobile-only {
        display:none !important;
    }
}

@media (max-width: 991px) {
    .mobile-only {
        display:block !important;
    }

    .desktop-only {
        display:none !important;
    }
}



.masthead {
    margin-left: auto;
    margin-right: auto;
    margin-top: 12px;
    margin-bottom: 5px;
    width: 98%;
}
.buffer {
    margin-top: 0px;
    padding:10px;
}

.container {
    margin-left: auto;
    margin-right: auto;
    margin-top: 20px;
    margin-bottom: 15px;
    width: 96%;
    font: 1em/1.5em Tahoma,Verdana,Arial,sans-serif;  /* (12pt)16px/1.5lineheight */
}
.main {
    margin-left: auto;
    margin-right: auto;
    margin-top: 12px;
    margin-bottom: 12px;
    width: 98%;
}
.footertext {
    margin-left: auto;
    margin-right: auto;
    margin-top: 12px;
    margin-bottom: 12px;
    width: 98%;
    text-align: center;
}
.roundedbox {
    background-color: #3333ff;
    margin-left: auto;
    margin-right: auto;
    margin-top: 30px;
    margin-bottom: 10px;
    width: 97%;
    padding: 4px 15px 8px 15px;
    border-radius: 12px 12px 12px 12px;
    -moz-border-radius: 12px 12px 12px 12px;
    -webkit-border-radius: 12px 12px 12px 12px;
    border: 0px solid #000000;
    font: 1em/1.5em Tahoma,Verdana,Arial,sans-serif;

}

/* common and top level styles */


H1 {
	MARGIN-BOTTOM: 0px; FONT: bold ; COLOR: #FFF000; TEXT-ALIGN: center;
	font-size: 1.8em
}
H2 {
  Margin-Top: 10px; MARGIN-BOTTOM: 4px;
  FONT: bold ; COLOR: #FFF000; TEXT-ALIGN: center;
	font-size: 1.6em
}
H3 {
	Margin-Top: 15px; MARGIN-BOTTOM: 4px;
  font: bold Verdana, Arial, Helvetica; COLOR: #FFF000;
	font-size: 1.5em
}
H4 {
	MARGIN-TOP: 12px; MARGIN-BOTTOM: 4px; FONT: bold Verdana, Arial, Helvetica; COLOR: #FFF000;
	font-size: 1.4em
}
H5 {
	MARGIN-BOTTOM: 4px; FONT: bold Verdana, Arial, Helvetica; COLOR: #FFF000;
	font-size: 1.3em
}
H6 {
	MARGIN-BOTTOM: 4px; FONT: bold Verdana, Arial, Helvetica; COLOR: #FFF000;
	font-size: 1.2em
}
P {
	padding: 6px 0px 6px 0px; FONT: Arial, Helvetica, sans-serif; COLOR: white;
	font-size: 1.0em
}

A:link {
	FONT: bold ; COLOR: #ccccff
}
A:visited {
	FONT: bold ; COLOR: #ccccff
}
A:active {
	FONT: bold ; COLOR: #0066ff
}

H3.sectionheader {
  display: inline;
  padding: 12px 0px 4px 0px;
  margin-top: 2px;
  border-bottom-style: solid;
  border-bottom-width: thin;
}
input[type=button] {
  font: bold 14px Tahoma, Geneva, Arial, Verdana, Helvetica, sans-serif;
  background: yellow;
  color: navy;
  width: auto;
  height: auto
}
input[type=button]:hover {
  color: #FFFF00;
  background-color: #0000FF;
}
.alignright { float:right; margin: 5px 0 5px 10px; }
.alignleft { float:left; margin: 5px 10px 5px 0; }

/* navmenu */
#nav span {
    display: none;
}
#nav, #nav ul {
    list-style: none outside none;
    margin: 0;
    padding: 0;
}
#nav {
    background-color: #FFF000;
    border-bottom: 5px solid 0000FF;
    float: left;
    margin-left: 0%;
    margin-right: 0%;
    position: relative;
    width: 100%;
    }
#nav ul.subs {
    background-color: #FFF000;
    box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.2);
    color: #000066;
    display: none;
    left: 0;
    padding: 2%;
    position: absolute;
    top: 54px;
    width: 96%;
}
#nav > li {
    border-bottom: 5px solid transparent;
    float: left;
    margin-bottom: -5px;
    text-align: left;
    -moz-transition: all 300ms ease-in-out 0s;
    -ms-transition: all 300ms ease-in-out 0s;
    -o-transition: all 300ms ease-in-out 0s;
    -webkit-transition: all 300ms ease-in-out 0s;
    transition: all 300ms ease-in-out 0s;
}
#nav li a {
    display: block;
    text-decoration: none;
    -moz-transition: color 450ms ease-in-out 0s, background-color 450ms ease-in-out 0s;
    -ms-transition: color 450ms ease-in-out 0s, background-color 450ms ease-in-out 0s;
    -o-transition: color 450ms ease-in-out 0s, background-color 450ms ease-in-out 0s;
    -webkit-transition: color 450ms ease-in-out 0s, background-color 450ms ease-in-out 0s;
    transition: color 450ms ease-in-out 0s, background-color 450ms ease-in-out 0s;
    white-space: normal;
}
#nav > li > a {
    color: #333333;
    display: block;
    font-size: 1.2em;
    line-height: 49px;
    padding: 0 15px;
    text-transform: uppercase;
}
#nav > li:hover > a, #nav > a:hover {
    background-color: #0000ff;
    color: #FFFF00;
}
#nav li.active > a {
    background-color: #fff000;
    color: #000066;
    }

/* submenu */
#nav li:hover ul.subs {
    display: block;
}
#nav ul.subs > li {
    display: inline-block;
    float: none;
    padding: 10px 1%;
    vertical-align: top;
    width: 80%;
}
#nav ul.subs > li a {
    color: #0000FF;
    line-height: 20px;
}
#nav ul li a:hover {
    background-color: #0000ff;
    color: #FFFFFF;
}
#nav ul.subs > li > a {
    font-size: 1.2em;
    margin-bottom: 10px;
    text-transform: uppercase;
}
#nav ul.subs > li li {
    float: none;
    padding-left: 8px;
    -moz-transition: padding 150ms ease-out 0s;
    -ms-transition: padding 150ms ease-out 0s;
    -o-transition: padding 150ms ease-out 0s;
    -webkit-transition: padding 150ms ease-out 0s;
    transition: padding 150ms ease-out 0s;
}
#nav ul.subs > li li:hover {
    padding-left: 15px;
}

/* responsive rules */
@media all and (max-width : 980px) {
    #nav > li {
        float: none;
        border-bottom: 0;
        margin-bottom: 0;
    }
    #nav ul.subs {
        position: relative;
        top: 0;
    }
    #nav li:hover ul.subs {
        display: none;
    }
    #nav li #summary:target + ul.subs,
    #nav li #features:target + ul.subs,
    #nav li #reviews:target + ul.subs,
    #nav li #purchase:target + ul.subs {
        display: block;
    }

    #nav ul.subs > li {
        display: block;
        width: auto;
    }
}


