/* CSS-RESET 
===========================================================*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
dl, dt, dd, ol, ul, li,
fieldset, form, input, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	font-weight: inherit;
	font-style: inherit;
	font-size: 100%;
	font-family: inherit;
	vertical-align: baseline;
}

/* GENERAL
===========================================================*/


html {
	height: 100%;
	overflow-y: scroll;
	
	overflow-x: hidden; /* For Opera */
	
	-webkit-box-shadow:
		inset #f60206 0 0 0 5px,
		inset #f60206 0 0 0 1px;
	-moz-box-shadow:
		inset #f60206 0 0 0 5px,
		inset #f60206 0 0 0 1px;
	box-shadow:
		inset #f60206 0 0 0 5px,
		inset #f60206 0 0 0 1px;
}

body {
	padding-top: 20px;
	background-color: #FFF;
	font: normal 14px Helvetica, Verdana;
	line-height: 24px;
	color: #666;
	text-align: center;

}

ol, ul {
	list-style: none;
}

a:link,
a:visited {
	color: #333;
	text-decoration: none;
	font-size: 12px;
}

a:hover {
	color: #666;
	text-decoration: underline;
}

a:active {
	color: #333;
	text-decoration: none;
}

li .current
{
  color: #FFF;
  background: #f60206;
  padding:1px 3px;
}


#wrap {
	width: 960px;
	margin: 0 auto;
	text-align: left;
}

/* preparing tags for text-replacement */

#navigation li, h3 { text-indent: -9999px; overflow: hidden; }

/* HEADER
===========================================================*/

#header {
	width: 960px;
	height: 100px;
	clear: left;
}

#header_left {
	width: 510px;
	height: 130px;
	float: left;
	display: inline;
}

h1 {
	padding-top: 40px;
	font-family: 'Open Sans', sans-serif, Helvetica, Verdana;
	font-size:60px;
	color: #f60206;
}

h1 a:link,
h1 a:visited,
h1 a:active{
	padding-top: 50px;
	font-family: 'Open Sans', sans-serif, Helvetica, Verdana;
	font-size:60px;
	color: #f60206;
}
h1 a:hover {
	color: #ff0000;
	text-decoration:none;
}


#description {
	height: 105px;
	font-size: 48px;
	line-height: 54px;
}

#hr_top {
	width: 960px;
	height: 6px;
	margin: 20px 0;
	background-color:#CCC;
}

#hr_top hr {
	display: none;
}


/* CONTENT
===========================================================*/

#content {
	width: 700px;
	margin: 0 20px 40px 0;
	float: left;
	display: inline;
	overflow: hidden;
}

h2 {
	margin-bottom: 20px;
	font-size: 32px;
	line-height: 36px;
	font-family: 'Open Sans', sans-serif, Helvetica, Verdana;
	color: #333;
}

h4 {
	padding-top: 20px;
	background-color: #FFF;
	font: 16px Helvetica, Verdana;
	line-height: 24px;
	color: #333;
	font-weight: bold;
}

h5 {
	padding-top: 5px;
	background-color: #FFF;
	font: 14px Helvetica, Verdana;
	line-height: 24px;
	color: #333;
}

/* MENU
===========================================================*/

#sidebar {
	width: 200px;
	float: right;
	display: inline;
	text-align: right;
}

h3 {
	font: 16px Helvetica, Verdana;
	font-weight:bold;
	color: #f60206;
	padding-top:10px;
}

.sidebar_list,
#tagcloud {
	margin-bottom: 5px;
}

#sidebar_list li {
	border-bottom: 1px solid #CCC;
}

.sidebar_list li:last-child {
	border: 0;
}

#tagcloud li {
	display: inline;
	border: 0;
}

/* FOOTER
===========================================================*/

#hr_bottom {
	width: 960px;
	height: 1px;
	margin-bottom: 5px;
	clear: right;
	background-color:#CCC;
}

#hr_bottom hr {
	display: none;
}

#footer {
	width: 960px;
	height: 18px;
}

#footer p {

	font-size: 12px;
	line-height: 18px;
	text-align: left;
}


#load {
	display: none;
	position: absolute;
	right: 10px;
	top: 10px;
	background: url(images/ajax-loader.gif);
	width: 43px;
	height: 11px;
	text-indent: -9999em;
}


/* GALLERY
===========================================================*/



	
	#previewPane{
		border:1px solid #CCC;
		padding-top:9px;
		padding-left: 9px;
		padding-bottom: 1px;
		text-align:left;
		vertical-align:left;
		position:relative;
		
		/* CSS HACK */
		height: auto;	/* IE 5.x */
		height/* */:/**/auto;	/* Other browsers */
		height: /**/auto;
				
	}
	#previewPane img{
		line-height: auto;
	}
	#previewPane #largeImageCaption{	/* CSS styling of image caption below large image */
	text-align:left;
		margin-top: 20px;
	background-color: #FFF;
	font: 16px Helvetica, Verdana;
	font-weight:bold;
	color: #333;
	}
	#galleryContainer{
		
		height:52px;	/* Height of the images + 2 */
		position:relative;
		overflow:hidden;
		margin-top: 20px;
		margin-bottom: 5px;
		padding:0px;
		
		/* CSS HACK */
		height: 52px;	/* IE 5.x - Added 2 pixels for border left and right */
		height/* */:/**/52px;	/* Other browsers */
		height: /**/52px;
				
	}
	#arrow_left{
		position:absolute;
		left:0px;
		z-index:10;
		background-color: #FFF;
		padding:1px;
	}
	#arrow_right{
		position:absolute;
		right:0px;
		z-index:10;
		background-color: #FFF;
		padding:1px;		
	}
	#theImages{
	position:absolute;
	height:100px;
	width:100000px;
		
	}
	#theImages #slideEnd{
		float:left;
	}
	#theImages img{
	float:left;
	margin-right:10px;
	filter: alpha(opacity=90);
	opacity: 0.9;
	cursor:pointer;
	}

	#waitMessage{
		display:none;	
	}
	
	#theImages .imageCaption{
		display:none;
	}



/* POP UPs
===========================================================*/



.modal {
  opacity: 0;
  visibility: hidden;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  text-align: left;
  background: rgba(0,0,0, .9);
  transition: opacity .25s ease;
}

.modal__bg {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  cursor: pointer;
}

.modal-state {
  display: none;
}

.modal-state:checked + .modal {
  opacity: 1;
  visibility: visible;
}

.modal-state:checked + .modal .modal__inner {
  top: 0;
}

.modal__inner {
  transition: top .25s ease;
  position: absolute;
  top: -20%;
  right: 0;
  bottom: 0;
  left: 0;
  width: 50%;
  margin: auto;
  overflow: auto;
  background: #fff;
  border-radius: 5px;
  padding: 1em 2em;
  height: 50%;
}

.modal__close {
  position: absolute;
  right: 1em;
  top: 1em;
  width: 1.1em;
  height: 1.1em;
  cursor: pointer;
}

.modal__close:after,
.modal__close:before {
  content: '';
  position: absolute;
  width: 2px;
  height: 1.5em;
  background: #ccc;
  display: block;
  transform: rotate(45deg);
  left: 50%;
  margin: -3px 0 0 -1px;
  top: 0;
}

.modal__close:hover:after,
.modal__close:hover:before {
  background: #aaa;
}

.modal__close:before {
  transform: rotate(-45deg);
}

@media screen and (max-width: 768px) {
	
  .modal__inner {
    width: 90%;
    height: 90%;
    box-sizing: border-box;
  }
}


/* Other
 * =============================== */

.btn {
  cursor: pointer;
  background: #666;
  display: inline-block;
  padding: .1em .6em;
  color: #fff;
  border-radius: 3px;
}

.btn:hover,
.btn:focus {
  background: #333;
}

.btn:active {
  background: #666;
  box-shadow: 0 1px 2px rgba(0,0,0, .2) inset;
}


