/*
 * Cyningstan Web Site Theme
 * Cascading Style Sheets - HTML5 styling for all devices
 *
 * Copyright (C) Damian Walker 2016
 * Created: 25-Mar-2016
 */

/*----------------------------------------------------------------------
  * General styling
  */

/* IE likes to add borders to link images; I don't. */
img {
    border: none;
}

/* Set Helvetica as the default font */
body {
    font-family: "Helvetica", sans;
}

/* anchor links */
a {
    color: #3A69A5;
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}
a:visited {
    color: #314359;
}
h2 a,
h3 a {
    color: black;
}
h3 a:visited {
    color: black;
}

/* boxouts want a dark brown border */
.lower-inset {
    border-bottom: 1px solid #594b31;
    border-top: 1px solid #594b31;
    background-color: #A5916C;
}

/*----------------------------------------------------------------------
 * Navigation section
 */

/* navigation section */
nav {
    border-bottom: 1px solid #252525;
    border-top: 1px solid #252525;
    color: #999999;
    /* gradient */
    background: #555555;
    background: -moz-linear-gradient(top, #555555 0%, #111111 100%);
    background: -webkit-gradient(linear, left top, left bottom, 
	color-stop(0%,#555555), color-stop(100%,#111111));
    background: -webkit-linear-gradient(top, #555555 0%,#111111 100%);
    background: -o-linear-gradient(top, #555555 0%,#111111 100%);
    background: -ms-linear-gradient(top, #555555 0%,#111111 100%);
    background: linear-gradient(to bottom, #555555 0%,#111111 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( 
	startColorstr='#555555', endColorstr='#111111',GradientType=0 );
}

/* navigation links */
nav a,
nav a:visited {
    color: #999999;
    text-decoration: none;
}
nav a:hover {
    color: white;
    text-decoration: none;
}
nav li.active a {
    color: white;
}

/* submenus */
nav ul ul {
    background-color: #111111;
    border-color: #111111;
}

/* submenus of active menu should not be highlighted */
nav ul li.active ul li a {
    color: #999999;
}

/* highlighting for hovered submenu items */
nav ul li.active ul li a:hover {
    color: white;
}

/*----------------------------------------------------------------------
 * Content styling
 */

/* dates should be in italics */
.date {
    font-style: italic;
}

/* comment signatures should be in italics */
.signature {
    font-style: italic;
}

/*----------------------------------------------------------------------
 * Footer section
 */

/* visible portion of footer section */
footer {
    border-bottom: 1px solid #252525;
    border-top: 1px solid #252525;
    color: #999999;
    /* gradient */
    background: #555555;
    background: -moz-linear-gradient(top, #555555 0%, #111111 100%);
    background: -webkit-gradient(linear, left top, left bottom, 
	color-stop(0%,#555555), color-stop(100%,#111111));
    background: -webkit-linear-gradient(top, #555555 0%,#111111 100%);
    background: -o-linear-gradient(top, #555555 0%,#111111 100%);
    background: -ms-linear-gradient(top, #555555 0%,#111111 100%);
    background: linear-gradient(to bottom, #555555 0%,#111111 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(
	startColorstr='#555555', endColorstr='#111111',GradientType=0 );
}

/* copyright link */
footer p a {
    color: #cccccc;
    text-decoration: none;
}
footer p a:hover {
    color: white;
    text-decoration: none;
}

/* footer links list */
footer li a,
footer li a:visited {
    color: #999999;
    text-decoration: none;
}
footer li a:hover {
    color: white;
    text-decoration: none;
}
