/* ==========================================================================
	FONTS
   ========================================================================== */

@font-face {
    font-family: 'Old Standard Italic';
    src: url('../fonts/oldstandard-italic-webfont.eot');
    src: url('../fonts/oldstandard-italic-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/oldstandard-italic-webfont.woff') format('woff'),
         url('../fonts/oldstandard-italic-webfont.ttf') format('truetype'),
         url('../fonts/oldstandard-italic-webfont.svg#old_standard_ttitalic') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Old Standard Regular';
    src: url('../fonts/oldstandard-regular-webfont.eot');
    src: url('../fonts/oldstandard-regular-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/oldstandard-regular-webfont.woff') format('woff'),
         url('../fonts/oldstandard-regular-webfont.ttf') format('truetype'),
         url('../fonts/oldstandard-regular-webfont.svg#old_standard_ttregular') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: "century-old-style-std", Georgia, serif;
    font-style: normal;
    font-weight: 400;
}

/* ==========================================================================
   HTML5 Boilerplate
   ========================================================================== */

html,
button,
input,
select,
textarea {
    color: #222;
}

#mainimg body {
    font-size: 1em;
    line-height: 1.4;
	background: #FFF;
}

::-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;
}

img {
    vertical-align: middle;
}

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

textarea {
    resize: vertical;
}

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


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


body {
	background: #f0f0f0;
}

#mainimg #wrapper {
	position: relative;
}

.center {
	margin: auto;
	position: absolute;
	top: 0; left: 0; bottom: 0; right: 0;
}

#traces {
	background: #fff;
}

#title {
	position: absolute;
	top: 20px;
    left: 60px;
    width: 510px;
	z-index: 100;
	pointer-events: none;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

#mainimg  #buttons {
	/*position: absolute;*/
	/*top: 20px;*/
}

#mainimg  #buttons {
	font-family: "century-old-style-std", Georgia, serif;
    /*font-family: "Old Standard Regular", Georgia, serif;*/
	font-size: 12px;
	display: table;
	overflow: hidden;
	text-align: center;
	width: 60px;
	line-height: 15px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.button {
	color: #C0C0C0;
	border: 1px solid #E0E0E0;
	position: absolute;
	text-align: center;
	overflow: hidden;
	cursor: pointer;
    margin: 0 !important;
    margin-top: 20px;
    /*position: relative;*/
    top: 0px;
}


.button p {
	
}

.button:hover {
	color: #808080;
}

.active {
	color: #404040;
}

#block {
	background-color: rgba(255,255,255, 0.8);
	border: 1px solid #CCC;

	display: table;
	min-width: 300px;
	position: absolute;
	z-index: 200;
	overflow: hidden;
	padding: 10px 0px 10px 20px;
	pointer-events: none;

    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

#block-text {
	margin: 0 !important;
}

#block p#block-text {
    font-family: "century-old-style-std", Georgia, serif;
    /*font-family: "Old Standard Regular", Georgia, serif;*/
    font-size: 13px;
    line-height: 18px;
}

#legend {
    position: absolute;
    width: 900px;
    height: 25px;
    bottom: 20px;
    left: 70px;
}

#legend .block, #legend .text {
    float: left;
}

#legend .text {
    font-family: "century-old-style-std", Georgia, serif;
    /*font-family: "Old Standard Regular", Georgia, serif;*/
    font-size: 12px;
    color: #777;
}

#legend .block {
    width: 9px;
    height: 9px;
    background: gray;
    margin: 3px 4px 0 21px;
}

#legend #first-sq {background-color:#e8e8e8;}
#legend #second-sq {background-color:#ff780b;}
#legend #third-sq {background-color:#94b74b;}
#legend #fourth-sq {background-color:#775c99;}
#legend #fifth-sq {background-color:#3da6c3;}
#legend #sixth-sq {background-color:#ba4442;}

#legend .block:first-child {
    margin-left: 0;
}

/* ==========================================================================
   media queries
   ========================================================================== */

@media only screen and (min-width: 35em) {
}

@media print,
       (-o-min-device-pixel-ratio: 5/4),
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120ddpx) {

}

/* ==========================================================================
   helper classes
   ========================================================================== */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    *text-indent: -9999px;
}

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

.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;
}

.disable-select {
  -webkit-user-select: none;  
  -moz-user-select: none;    
  -ms-user-select: none;      
  user-select: none;
}

/* ==========================================================================
   print styles
   ========================================================================== */

@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;
    }
}

/*Old styles*/

body {
	margin:0; 
/*	font-family:arial, sans;
	font-size:11px;
	line-height:13px;*/
}

a {
	color: #000;
	text-decoration:none;
}
a img {
	border:0;
	border-bottom: 0px;
}
a:hover {
	color: #000;
	text-decoration:underline;
}
p {
	font-family: arial; sans;
	font-size:11px;
	line-height:13px;
	color: #666;
	margin:0;
	padding:0;
}
h1 {
	font-size:23px;
	line-height:20px;
	font-weight:bold;
	color:#000;
	margin:0 0 0px 0;
}
h2 {
	font-size:11px;
	line-height:15px;
	font-weight:bold;
	color:#333;
	margin:5px 0 0px 0;
}

#byline {
	font-size:11px;
	line-height:18px;
	color:#000;
	margin:3px 0;
	padding:0px;
}
#byline a {
	color:#333;
	text-decoration:none;
	font-weight:bold;
}
#byline a:hover {
	text-decoration:underline;
}

#main {
	margin: 30px auto 0px auto;
	width: 960px;
	position:relative;
	height:100%;
}
 .imgborderlnk {
 	border: 5px solid #ebebd6;
 }
 .imgborderlnk:hover {
 	border: 5px solid #666;
 }



#desc-left  { float:left; padding: 0 20px 0 0; width: 300px; }
#desc-mid   { float:left; padding: 0 20px 0 0; width: 300px; }
#desc-right { float:left; width: 300px; }

#mainimg { clear:both; padding: 20px 0 20px 0; }

#footer { margin: 20px 0px 20px 0px; text-align:left; font-size:10px; color:#666; border-top:solid 1px #ccc; clear:both; padding: 3px 0 0 0; }
 
/* --- Float Hack --- */
.cf:after { content: "."; display: block; height: 0; clear: both; visibility: hidden; }
/* Hides from IE-mac \*/
html .cf {height: 1%;}
/* End hide from IE-mac */


