/*! 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: #222;
}

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

/*
 * 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;
}

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

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

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

body {
	background: #181616;
	font-family: Calibri, Candara, Segoe, "Segoe UI", Optima, Arial, sans-serif;	
	font-size: 14px;
	color: #a4a4a4;
}

h1 {
   font-size: 20px;
   color: #fff;   
  font-weight: normal;
  margin: 0 0 16px 0;
}

h2 {
   font-size: 18px;
   color: #fff;   
  font-weight: normal;
    margin: 0 0 16px 0;
}

h3 {
   font-size: 16px;
   color: #fff;   
  font-weight: normal;
    margin: 0 0 16px 0;
}

a { color: #a4a4a4; }

#background-content {
    left: 0;
    overflow: hidden;
    position: fixed;
    top: 0;
    z-index: 0;
}

#main {
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 1000;
}

#maincontent {
	width: 960px;
	margin: 0 auto 50px;	
}

#mainnav {
	background: url('../img/nav.png') no-repeat 0 0;
	display: block;
	width: 209px;
	height: 440px;
	float:left;
}

#mainnav ul {
	margin-top: 180px;
	padding-left: 13px;
}

#mainnav a {
	color: #a4a4a4;
	font-size: 12px;
	text-decoration: none;
	text-transform:uppercase;
	display: block;
	width: 184px;
	padding: 9px 0;
	text-align:center;
}

#mainnav a:hover, #mainnav .act a {
	background: #101010;
	color: #fff;
}

#mainnav ul.subNav {
    background-color: rgb(164, 164, 164);
    background-color: rgba(164, 164, 164, 0.9);
    border: 1px solid #181616;
    display: none;
    margin: -33px 194px 0;
    padding: 0;
    position: absolute;
    text-transform: none;
    z-index: 100000;
}
/*
#mainnav ul.subNav:after {
    border-right: 6px solid rgb(164, 164, 164);
    border-right: 6px solid rgba(164, 164, 164, 0.9);
    border-bottom: 6px solid rgb(0, 0, 0);
    border-bottom: 6px solid rgba(0, 0, 0, 1);
    border-top: 6px solid rgba(0, 0, 0);
    border-top: 6px solid rgba(0, 0, 0, 1);
    content: "";
    display: inline-block;
    left: -6px;
    position: absolute;
    top: 9px;    
background: none transparent;
height: 0;
width:0;
}
*/
#mainnav ul.subNav:before {
content: "";
display: block;
width: 0;
height: 0;
border-top: 6px solid transparent;
border-bottom: 6px solid transparent;
border-right: 7px solid  rgba(0,0,0,1);

position: absolute;
top: 16px;
left: -7px;
}

#mainnav ul.subNav:after {
content: "";
display: block;
width: 0;
height: 0;
border-top: 6px solid transparent;
border-bottom: 6px solid transparent;
border-right: 6px solid  rgba(164, 164, 164, 0.9);
position: absolute;
top: 16px;
left: -6px;
}

#mainnav ul li li {
    background-color: rgb(164, 164, 164);
    background: none repeat scroll 0 0 rgba(0, 0, 0, 0);
    border-bottom: 1px solid #181616;
    float: none;
    margin: 0 17px;
    z-index: 100000;
}
#mainnav ul li li:last-child {
    border-bottom: 0 none;
}
#mainnav ul li li a, #mainnav li.act li a, #mainnav li.hover li a {
 background-color: rgb(164, 164, 164);
    background: none repeat scroll 0 0 rgba(0, 0, 0, 0);
    color: #fff;
    display: block;
    float: none;
    font-size: 11px;
    margin: 0 10px;
    padding: 10px;
    z-index: 100000;
    width: 120px;
}

#mainnav ul li li a:hover, #mainnav li.act li a:hover, #mainnav li.hover li a:hover {
  color: #181616;
}

#mainCol {
	width: 730px;
	background: #181616;
	float: right;
	margin-top: 83px;	
}

#mainCol .inner {
	padding: 40px 26px;
}

#mainCol .innerleftcol {
  float: left;
  width: 345px;
}

#mainCol .innerrightcol {
  float: right;
  width: 319px;
}

#footer {
    bottom: 0;
    display: block;
    left: 0;
    position: fixed;
    width: 100%;
    z-index: 2000;
	background: #181616;
	font-size: 11px;
	padding: 8px 0;
}

#footer .inner {
	width: 960px;
	margin: 0 auto;	
}

#footer a {
  text-decoration: none;
  margin-left: 10px;
  padding-left: 10px;
  border-left: 1px solid #a4a4a4;
  color: #a4a4a4;
}


#footer .fleftcol {
  float: left;
  width: 345px;
}

#footer .frightcol {
	width: 704px;
	float: right;
}

.csc-default {
	margin-bottom: 20px;
}

div.csc-textpic-border div.csc-textpic-imagewrap img {
    border: 3px solid #a4a4a4;
}

.csc-textpic-intext-left-nowrap-164 .csc-textpic-text {
    margin-left: 164px;
}

.contenttable-1, .contenttable-2 {
    border-style: solid;
    border-width: 1px;
    border-spacing: 10px;
}

.contenttable-1 td, .contenttable-1 th, .contenttable-2 td, .contenttable-2 th {
 padding: 5px;
     border-style: solid;
    border-width: 1px;
}

.contenttable-1 .td-0, .contenttable-1 .tr-0,  .contenttable-2 .td-0, .contenttable-2 .tr-0  {
  font-weight: bold;
}

.contenttable-1 td {
  width: 70px;
}  

.contenttable-1 td.td-0 {
  width: 300px;
}  

.contenttable-2 td {
  width: 175px;
}  

.contenttable-2 .td-0 {
  width: 185px;
}  

.contenttable-2 .td-last {
  width: 75px;
}  



/* Guestbook */
.mailgif {
  width: 11px;
  height: 9px;
  border: 0px;
  padding-right: 3px;
  padding-top: 2px;
}

div.guestbook {
 padding: 1px 1px 1px 1px;
 display: block;
}

div.guestbook_left {
  width: 120px;
  float: left;
  display: block;
}

div.guestbook_right {
  display: block;
  margin-left: 120px;
  border-left: 1px solid #A4A4A4;
  padding-left: 5px;
}


.tx-guestbook-list-header { 
  border-bottom: 1px solid #A4A4A4;
  font-weight:bold; 
  width: 678px;
  display: block;
  padding: 3px;
 }

.tx-guestbook-form-obligationfield { 
	color: #CC0000; 
}

.tx-guestbook-form-error { 
	color: #CC0000; 
}


div.tx-veguestbook-pi1 label {
  clear: both;
  float: left;
  width: 165px;
  margin: 5px 15px 2px 2px;
  text-align: right;
  font-weight: bold;
}

.tx-guestbook-field { margin-bottom: 5px; }

div.tx-veguestbook-pi1 label.left {
  clear: both;
  float: left;
  width: 165px;
  margin: 5px 2px 2px 25px;
  text-align: left;
  font-weight: bold;
}



div.tx-veguestbook-pi1 input {
  margin: 2px 2px 2px 2px;
}

div.tx-veguestbook-pi1 p.right {
  text-align: right;
  padding-top: 10px;
  padding-right: 28px;

}

div.csc-frame-rulerAfter {
  padding: 0px;
  border: 0px;
/*  height: 1px;*/
  width: 600px;
  border-bottom: 1px solid #A1A1A1;
  margin: 0 auto;
  margin-top: 3px;
  margin-bottom: 3px;
}  


.tx-srfreecap-pi1-cant-read {
    display: block;
    margin-left: 182px;
}

#freecap, div.tx-veguestbook-pi1 input.tx-guestbook-submit { margin-left: 182px;}

/* ==========================================================================
   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;
    }
}