/*! HTML5 Boilerplate v4.3.0 | MIT License | http://h5bp.com/ */

/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html,
button,
input,
select,
textarea {
    color: white;
}

html {
    font-size: 1em;
    line-height: 1.4;
}

body {
	background-image: url("../img/background.jpg");
	background-size: 100% auto;
	background-color: #0a0d0d;
}

#top_bg {
	background-image: url('../img/top.jpg');
	background-size: 100% auto;
	background-repeat: no-repeat no-repeat;
	height: 500px;
	position: absolute;
	width: 100%;
	z-index: -3;
}

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between images, videos, audio and canvas and the bottom of
 * their containers: h5bp.com/i/440
 */

audio,
canvas,
img,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/*
customs
*/
table {
	valign: top;
}
td {
	color: white;
	font-family: arial, verdana, geneva, helvetica, sans-serif;
	font-size: 13px;
}
th {
	color: white;
	font-family: arial, verdana, geneva, helvetica, sans-serif;
	font-size: 13px;
}
a:link {
	color: #cccecc;
	text-decoration: none;
}
a:visited {
	color: #cccecc;
	text-decoration: none;
}
a:active {
	color: navy;
	text-decoration: none;
}
a:hover {
    color: white;
    text-decoration: none;
}

/* ==========================================================================
   Browse Happy prompt
   ========================================================================== */

.browsehappy {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

/* 3 column layout
based on: http://www.maxdesign.com.au/articles/css-layouts/three-liquid/
*/
#content_container_outer {
	float: left;
	width: 100%;
}
#content_container_inner {
	float: left;
	width: 100%;
}
#menu_left {
	float: left;
	width: 12%;/* was: 16% */
	padding: 20px 0;
	margin: 0 2%;
	display: inline;
}
#content {
	float: left;
	width: 64%;/* was: 56% */
	padding: 20px 0;
	margin: 0 0 0 2%;
}
#menu_right {
	float: right;
	width: 12%;/* was: 16% */
	padding: 20px 0;
	margin: 0 2% 0 0;
	display: inline;
}
#footer {
	clear: both;
	text-align: center;
	padding: 20px;
	height: 1%;
}


.box {
	background-color:rgba(0,0,34,0.7);
	color: white;
	border: 1px solid #848287;
	padding: 10px;
	margin-left: -10px;
	margin-right: -10px;
	-webkit-border-radius:8px;
	-moz-border-radius:8px;
	border-radius:8px;
}

.box_header {
	background-image: url('../img/header_bg.gif');
   	-webkit-border-radius: 0;
   	-moz-border-radius: 0;
   	border-radius: 0;
   	-webkit-border-top-right-radius:8px;
   	-moz-border-top-right-radius:8px;
   	border-top-right-radius:8px;
   	-webkit-border-top-left-radius:8px;
   	-moz-border-top-left-radius:8px;
   	border-top-left-radius:8px;
	height: 0.7em;
	border-bottom: 0;
	text-align: center;
}

.box_header_title {
	margin-top: -4px;
}

.box_content {
   	-webkit-border-radius: 0;
   	-moz-border-radius: 0;
   	border-radius: 0;
   	-webkit-border-bottom-right-radius:8px;
   	-moz-border-bottom-right-radius:8px;
   	border-bottom-right-radius:8px;
   	-webkit-border-bottom-left-radius:8px;
   	-moz-border-bottom-left-radius:8px;
   	border-bottom-left-radius:8px;
	border-top: 0;
}

/*
this needs to be part of that element that repesents the bottom of a box,
i.e. either a box (if no header is used) or a box_content
*/
.box_bottom {
	margin-bottom: 20px;
}

/* top branding */
#top {
	width: 97%;
	height: 140px;
	border: 1px solid #848287;
	border-bottom: 0;
	padding: 0;
	margin-top: 5px;
	margin-left: auto;
	margin-right: auto;
	-webkit-border-top-left-radius:8px;
	-moz-border-top-right-radius:8px;
	border-top-right-radius:8px;
	-webkit-border-top-left-radius:8px;
	-moz-border-top-left--radius:8px;
	border-top-left-radius:8px;
	background-image: url('../img/banner_bg.jpg');
	background-size: 100% 100%;
	background-repeat: no-repeat no-repeat;
	overflow: none;
}
#top img {
	border: 0;
}
#top_footer {
	width: 97%;
	padding-left: 0;
	padding-right: 0;
	text-align: right;
}

.box_footer {
	background-image: url('../img/header_bg.gif');
	-webkit-border-radius: 0;
	-moz-border-radius: 0;
	border-radius: 0;
	-webkit-border-bottom-right-radius:8px;
	-moz-border-bottom-right-radius:8px;
	border-bottom-right-radius:8px;
	-webkit-border-bottom-left-radius:8px;
	-moz-border-bottom-left-radius:8px;
	border-bottom-left-radius:8px;
	height: 0.7em;
	border-top: 0;
	text-align: center;
}

.top_banner_left {
	height: 90%;
	position: absolute;
	bottom: 0;
}
.logo {
	height: 70%;
	float: right;
	top: 20px;
	position: relative;
}
#logo_text {
	position: absolute;
	z-index: -2;
	margin-left: auto;
	margin-right: auto;
	top: 0;
	height: 70px;
}
.logo_banner_text {
	height: 75px;
/*	max-height: 70px;*/
	position: absolute;
	top: 0;
	right: 20px;
	bottom: 0;
	margin-top: auto;
	margin-bottom: auto;
}


.sidebar {
	width: 150px;
	margin-left: 25px;
	margin-right: 25px;
	display: inline;
}

/* used by the main blocks */
.main_outer {
	width: 90%;
	margin-left: auto;
	margin-right: auto;
}

#content_container {

}

#content_container_inner {
	width: 100%;
	float: left;
}

#main_inner {
	float: left;
	text-align: left;
	width: 60%;
}

.news {
}

.newspost_title {
}

.newspost_author {
	float: right;
}

.fill { width: 100%;}

hr {
	clear: both;
    background-image: url("../img/blue_line.png");
    background-position: center center;
    background-repeat: no-repeat;
	border: 0;
}

/*
 * specials
 */

.memberlist {
	width: 95%;
	background-color: #00215A;
	margin-left: auto;
	margin-right: auto;
}

.memberlist tr.header td {
	background-color: #003366;
	background-image: url('../../media/pages/elements/tablerow_bg.jpg');
	height: 25px;
	font-weight: bold;
}

.memberlist tr td {
	background-color: #040234;
}


/* definition list style */
/*
 * This is currently styled for the news archive listings (#newsarchive_list),
 * but should be a good starting point for other definition lists as well.
 * If you want to use it for other DLs as well or find that something else is more generally
 * useful, just change the current stuff from e.g.
 * "#pagecontents dt" to "#pagecontents #newsarchive_list dt"
 */
#pagecontents dt {
	float: left;
	clear: both;
	width: 10em;
}
#pagecontents dd {
	margin-left: 10em;
	margin-right: 0;
	margin-top: 0;
	margin-bottom: 0.25em;
}

/* more news archive - this is the current year in the years list */
.current_year {
	text-decoration: underline;
}

.menu_image {
	text-align: center;
	margin-bottom: 3px;
}

/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Image replacement
 */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    /* IE 6/7 fallback */
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 150%;
}

/*
 * Hide from both screenreaders and browsers: h5bp.com/u
 */

.hidden {
    display: none !important;
    visibility: hidden;
}

/*
 * Hide only visually, but have it available for screenreaders: h5bp.com/v
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element to be focusable
 * when navigated to via the keyboard: h5bp.com/p
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screenreaders, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/*
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@media print,
       (-o-min-device-pixel-ratio: 5/4),
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important; /* Black prints faster: h5bp.com/s */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links for images, or javascript/internal links
     */

    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group; /* h5bp.com/t */
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    @page {
        margin: 0.5cm;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}
