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

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

#body {
	width: 1026px;
	margin-right: auto;
	margin-left: auto;
	height: 1025px;
	padding-top: 0px;
	padding-right: 10px;
	padding-bottom: 10px;
	padding-left: 10px;
	}

#wrapper {
	background-color: #FFFFFF;
}

#gallery {
	background-color: #FFFFFF;
	width: 1026px;
	margin-right: auto;
	margin-left: auto;
}

#header {
	background-color: #FFFFFF;
	width: 1026px;
	margin-right: auto;
	margin-left: auto;
	border:none;
	
}

#article {
	background-color: #FFFFFF;
	background: linear-gradient(top, #efefef 0%, #bbbbbb 100%);
	background: -moz-linear-gradient(top, #efefef 0%, #bbbbbb 100%);
	background: -webkit-linear-gradient(top, #efefef 0%,#bbbbbb 100%);
	box-shadow: 0px 0px 9px rgba(0,0,0,0.15);
	width: 1026px;
	height: 20px
	margin-right: auto;
	margin-left: auto;
}
#articleboard {
	background-color: #FFFFFF;
	background: linear-gradient(top, #000000 0%, #bbbbbb 100%);
	background: -moz-linear-gradient(top, #efefef 0%, #bbbbbb 100%);
	background: -webkit-linear-gradient(top, #efefef 0%,#bbbbbb 100%);
	box-shadow: 0px 0px 9px rgba(0,0,0,0.15);
	width: 1026px;
	height: 25px;
	margin-right: auto;
	margin-left: auto;
	table-layout:auto
}
#botlefttext {
	float: left;
	width: 400px;
	margin-left: 0px;
	height: 25px;
	margin-right: 0px;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 11px;
	font-weight: normal;
	color: #404040;
	padding-bottom: 50px;
	text-decoration: none;
	letter-spacing: 0.1em;
}

#rightcolumn {
	width: 400px;
	float: right;
	background-color: #ffffff;
	background-image: url(images/rightcontent_back.jpg);
	height: 25px;
	margin-right: 0px;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 11px;
	letter-spacing: 0.1em;
	font-weight: normal;
	text-align: left;
	color: #404040;
	padding-top: 20px;
	padding-right: 0px;
	padding-bottom: 0px;
	padding-left: 0px;
	text-decoration: none;
}

#footer {
	background-color: #FFFFFF;
	width: 1026px;
	height: 100px;
	margin-right: auto;
	margin-left: auto;
	font-family:Arial, Helvetica, sans-serif;
	font-size:10px;
	text-decoration:none;
	color: #CDCDCD;
	text-align: center;
}

#logobox {
border-color:#ffffff;
background-color: #ffffff;
width: 1026px;
margin-right: auto;
	margin-left: auto;
	border:none;

}
#bottomboards{
	width:1026px;
	height:auto;
	clear:inherit;
	margin-right: auto;
	margin-left: auto;
	font-family: Arial;
	font-size: 18px;
	padding: 0px;
	color: #000000;
}

/* ==========================================================================
   Base styles: contact page 
   ========================================================================== */

   
   #rightcontact {
	width: 350px;
	float: left;
	background-color: #ffffff;
	margin-right: 0px;
	font-family: Arial, Helvetica, sans-serif;
	text-decoration: none;
	padding-top: 15px;
	padding-left:100px;
}
#botleftcontact {
	float: left;
	height: 600;
	width: 335px;
	margin-left: 0px;
	margin-right: 0px;
	padding-top: 0px;
	text-decoration: none;
}

.cat_textbox {
	font-family: Arial, Helvetica, sans-serif;
	font-size:13px;
	letter-spacing: normal;
	color: #000000;
	text-align: left;
	text-decoration: none;
	visibility: visible;
	border : 1px solid #cccccc;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	-khtml-border-radius: 3px;
	border-radius: 3px;
	
}
.navlink {
	padding-right: 0px;
	padding-left: 0px;
	font-weight: normal;
	font-family: Arial, Helvetica, sans-serif;
	font-size:16px;
	letter-spacing: normal;
	color: #333333;
	text-align: left;
	text-decoration: none;
	line-height: normal;
	webkit-appearance: none;
	border:0;
	}
	
	/* ==========================================================================
   Base styles: board test 
   ========================================================================== */
#leftbox {
	height: 600px;
	width: 300px;
	background-color: #FFFFFF;
	margin: 0px;
	padding-right: 25px;
	padding-left: 25px;
	text-decoration: none;
	float:left;
	border:none;
}
#rightbox {
	height: 700px;
	width: 667px;
	background-color: #ffffff;
	margin: 0px;
	padding: 0px;
	text-decoration: none;
	float:left;
}

	/* ==========================================================================
   blog text: 
   ========================================================================== */
   
	a:link.orange {
	color:#fa4516;
	font-family: Arial, Helvetica, sans-serif;
	text-decoration: none;
	font-size: 11px;
	}
a:hover.orange {
      
	color: #404040;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 11px;
	text-decoration: none;
}
a:visited.orange {
    color:#fa4516;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 11px;
	text-decoration: none;
}

/* ==========================================================================
   Header styles: 
   ========================================================================== */
   
   h1{
   font-family:Arial, Helvetica, sans-serif;
   font-size:13px;
   color:#757575;
   font-weight:100;
   }
   
   h3 {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 18px;
	color: #757575;
	padding-left: 0px;
}

h4{
   font-family:Arial, Helvetica, sans-serif;
   font-size:13px;
   color:#757575;
   font-weight:100;
   display:inherit;
   margin-left:10px;
   }
   h5{
   font-family:Arial, Helvetica, sans-serif;
   font-size:13px;
   color:#757575;
   font-weight:100;
   margin-left:90px;
   margin-right:35px;
   display: inline; 
   }


/* ==========================================================================
   Dropdon: style
   ========================================================================== */
   
   nav {
   width: 1026px;
   margin-right: auto;
	margin-left: auto;
   }

nav ul ul {
	display: none;
}

nav ul li:hover > ul {
		display: block;
	}
	
nav ul {
	background: #ffffff;
	background: linear-gradient(top, #efefef 0%, #bbbbbb 100%);
	background: -moz-linear-gradient(top, #efefef 0%, #bbbbbb 100%);
	background: -webkit-linear-gradient(top, #efefef 0%,#bbbbbb 100%);
	box-shadow: 0px 0px 9px rgba(0,0,0,0.15);
	border-radius: 0px;
	list-style: none;
	position: relative;
	display: inline-table;
	padding-top: 0;
	padding-right: 210px;
	padding-bottom: 0px;
	padding-left: 0px;
}
	nav ul:after {
		content: ""; clear: both; display: block;
	}
	
	nav ul li {
	float: left;
}
	nav ul li:hover {
		background: #4b545f;
		background: linear-gradient(top, #4f5964 0%, #5f6975 40%);
		background: -moz-linear-gradient(top, #4f5964 0%, #5f6975 40%);
		background: -webkit-linear-gradient(top, #4f5964 0%,#5f6975 40%);
	}
		nav ul li:hover a {
			color: #fff;
			z-index:30;
		}
	
	nav ul li a {
	font-family:Arial, Helvetica, sans-serif;
	display: block;
	color: #757575;
	text-decoration: none;
	padding-top: 3px;
	padding-right: 51px;
	padding-bottom: 3px;
	padding-left: 51px;
	font-size: 13px;
	z-index:30;
	}
	
	
	nav ul ul {
	background: #5f6975; border-radius: 0px; padding: 0;
	position: absolute; top: 100%;
	z-index:30
}
	nav ul ul li {
		float: none; 
		border-top: 1px solid #6b727c;
		border-bottom: 1px solid #575f6a;
		position: relative;
		z-index:30;
	}
		nav ul ul li a {
			padding: 3px 40px;
			color: #fff;
			z-index:30;
		}	
			nav ul ul li a:hover {
				background: #4b545f;
				z-index:30;
			}
			
nav ul ul ul {
	position: absolute; left: 100%; top:0;
	z-index:30;
}				

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection declarations 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 and the bottom of their containers: h5bp.com/i/440
 */

img {
    vertical-align: middle;
	border:none;

}

a img
{
  border : 0;
}
/*
 * Remove default fieldset styles.
 */

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

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

textarea {
    resize: vertical;
}

/* ==========================================================================
   Chrome Frame prompt
   ========================================================================== */

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

/* ==========================================================================
   footer styles
   ========================================================================== */


a:link.greyfoot {
	color:#757575;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 11px;
	}














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

/*
 * 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.
   Theses examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */
   
   @media only screen and (max-device-width: 480px) {
   
   
   
   #wrapper {
			width: 450px;
		}
		
	  nav {
   width: 450px;
   margin-right: auto;
	margin-left: auto;
   }	
		
		

	}



@media only screen and (-webkit-min-device-pixel-ratio: 1.5),
       only screen and (min-resolution: 144dpi) {
    /* 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;
    }
}
