/*! HTML5 Boilerplate v5.0 | MIT License | http://h5bp.com/ */

html {
/*     color: #222; */
/*     font-size: 1em; */
/*     line-height: 1.4; */
}

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

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

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

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

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

textarea {
    resize: vertical;
}

.browserupgrade {
    margin: 0.5em 0;
    background: #ccc;
    color: #000;
    padding: 0.5em 0;
}


/* ===== Initializr Styles ==================================================
   Author: Jonathan Verrecchia - verekia.com/initializr/responsive-template
   ========================================================================== */

body {
/*     font: 16px/26px Helvetica, Helvetica Neue, Arial; */
}

.wrapper {
    width: 90%;
    margin: 0 auto;
    padding: 0 16px;
    background-color: #FEFEFE
}

/* ===================
    ALL: Orange Theme
   =================== */

.header-container {
/*     border-bottom: 20px solid #e44d26; */
}

.footer-container,
.main aside {
/*     border-top: 20px solid #e44d26; */
}

.header-container,
.footer-container,
.main aside {
/*     background: #f16529; */
}

.title {
/*     color: white; */
}

.main aside {margin-top: 7px}

header h1 {	font: normal 2.5em "Helvetica Neue", Arial, Helvetica, "Nimbus Sans L", sans-serif}

/* ==============
    MOBILE: Menu
   ============== */

nav div {
    margin: 0;
    padding: 12px 0 0;

    display: block;
    margin-bottom: 10px;
/*     padding: 15px 0; */	
/* 	background-color: #EFEFEF; */
}

nav form {display: inline}

nav a:hover,
nav a:visited {
/*     color: white; */
}

nav a:hover {
/*     text-decoration: underline; */
}

/* ==============
    MOBILE: Main
   ============== */

#bbVideo object, #bbVideo embed, #bbVideo iframe {
	width: 230px;
	height: 190px;
/* 	width: 230px; */
/* 	height: 130px; */
	}
			
#topic-tags {clear: left}
	
.topictitle {display: block}

#thread div.post img {max-width: 230px;}

.main {
/*     padding: 30px 0; */
}

.main article {
/* 	margin-bottom: 30px */
}

.main article h1 {
/*     font-size: 2em; */
}

.main aside {
/*     color: white; */
/*     padding: 0px 5% 10px; */
}

.footer-container footer {
/*     color: white; */
    padding: 20px 16px;
}

p.rss-link {float:none;}
.nav {text-align: left}

.threadauthor {width: 90px}

.threadpost {margin-left: 90px}

/* ===============
    ALL: IE Fixes
   =============== */

.ie7 .title {
    padding-top: 20px;
}

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



/* ==========================================================================
   Media Queries
   ========================================================================== */

@media only screen and (min-width: 480px) {

#bbVideo object, #bbVideo embed, #bbVideo iframe {
	width: 425px;
	height: 350px;
	}
	
#topic-tags {clear: none; float: right}

.topictitle {display: block}

#thread div.post img {max-width: 330px}

header h1 {font-size: 3em}

.threadauthor {width: 90px}

.threadpost {margin-left: 90px}

/* ====================
    INTERMEDIATE: Menu
   ==================== */

	/* if 3 divisions */
/*
    nav a {
        float: left;
        width: 27%;
        margin: 0 1.7%;
        padding: 25px 2%;
        margin-bottom: 0;
    }
*/
    
    /* if 2 divisions */
   nav div {
        float: left;
        width: 49%;
        margin: 0 1%;
        padding: 12px 0 0 0;
	}
	
    nav div:first-child {
        margin-left: 0;
    }

    nav div:last-child {
        margin-right: 0;
    }

#discussions .nav, #discussions p.rss-link {
	margin-top: -2em;
	margin-bottom: 2em;
}

#discussions .nav {
	padding-left: 0
}
	p.rss-link {float: left}
	.nav {text-align: right}
	
/* ========================
    INTERMEDIATE: IE Fixes
   ======================== */

    nav ul li {
/*         display: inline; */
    }

    .oldie nav a {
        margin: 0 0.7%;
    }
}

@media only screen and (min-width: 768px) {

/* ====================
    WIDE: CSS3 Effects
   ==================== */

#bbVideo object, #bbVideo embed, #bbVideo iframe {
/* 	width: 640px; height: 360px; */
	width: 530px; height: 436px;
/* 	width: 560px; height: 315px; */
	}
	
	
#topic-tags {clear: none; float: right}

.topictitle {display: inline}

.threadauthor {width: 140px}

.threadpost {margin-left: 140px}

#thread div.post img {max-width: 530px}

    .header-container,
    .main aside {
/*
        -webkit-box-shadow: 0 5px 10px #aaa;
           -moz-box-shadow: 0 5px 10px #aaa;
                box-shadow: 0 5px 10px #aaa;
*/
    }

.main article {
	margin-bottom: 0px
}

.wrapper {
/* 	max-width: 760px; */
	max-width: 900px;
/* 	margin: 0 auto; */
	}

body {
	background: url(../images/bronx-tile.gif) center top repeat-y #FEFEFE;
	}


/* ============
    WIDE: Menu
   ============ */

/*
    .title {
        float: left;
    }

    nav {
        float: right;
        width: 38%;
    }
*/

/* ============
    WIDE: Main
   ============ */

/* for front page with hottags only */

    #front-page article {
        float: left;
		width: 75%
    }

    .main aside {
        float: right;
        width: 20%;
    }


/* footer description  */

    footer {text-align: right}

	footer p.description {float: left}

}

.main article {
/* 	border: 1px solid red; */
	}

.main article table {
	width: 100%
	}

@media only screen and (min-width: 1140px) {

/* ===============
    Maximal Width
   =============== */

    .wrapper {
/*         width: 1026px; */
/* 1140px - 10% for margins */
/*         margin: 0 auto; */
    }
}

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

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

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

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

.invisible {
    visibility: hidden;
}

.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   Print styles
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after {
        background: transparent !important;
        color: #000 !important;
        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) ")";
    }

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

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

    thead {
        display: table-header-group;
    }

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

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

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

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