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

/*
 * 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: 3px;
    border: 0;
    border-top: 3px solid #909090;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between images and the bottom of their containers: h5bp.com/i/440
 */

img {
    vertical-align: middle;
}

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

/* ==========================================================================
  Custom styles by Brendan McMullen
   ========================================================================== */

body {
	background-color:#000;
	color:#FFF;
}

span {
	display:none;	
}

span.show {
	display:block;	
}

.clear {
	clear:both;	
}

a {
	text-decoration:none;	
}

ul {
	margin:0;
	padding:0;	
}

#container {
	width:980px;
	height:250px;
	margin-left:auto;
	margin-right:auto;
	position:relative;
}

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

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

p {
	font-family: 'ArmataRegular';
	font-size:12px;
	color:#fff;
}

a {
	font-family: 'ArmataRegular';
	font-size:12px;
	color:#909090;
	-moz-transition: color 0.5s;
	-webkit-transition: color 0.5s;
}	

a:hover {
	color:#fff;	
	-moz-transition: color 0.5s;
	-webkit-transition: color 0.5s;
}

/*styles for the cascading menu at the top right*/

/* on homepage disable the cascading menu 
body.homepage*/ #contain-cascading-menu {
	display:none;	
}


#access-cascading-menu {
	position:absolute;
	right:0;
	top:23px;
}

/*button style to activate cascading menu*/
#access-cascading-menu {
	-moz-box-shadow:inset 0px 1px 0px 0px #211e21;
	-webkit-box-shadow:inset 0px 1px 0px 0px #211e21;
	box-shadow:inset 0px 1px 0px 0px #423e42;
	background-color:#000;
	-moz-border-radius:6px;
	-webkit-border-radius:6px;
	border-radius:6px;
	border:1px solid #242024;
	display:inline-block;
	color:#ffffff;
	padding:9px 14px;
	text-decoration:none;
	text-shadow:1px 1px 0px #000000;
}

#access-cascading-menu:hover {
	background-color:#211e21;
}

#access-cascading-menu:active {
	position:relative;
	top:1px;
}
/*end cascading menu styles*/

h1 {
	height:80px;
	width:100%;
    border-top: 3px solid #909090;
    border-bottom: 3px solid #909090;
	margin-bottom:20px;
	margin-top:35px;
	/*-letter-kern: -3px 1px 0 -1px 0 0 0 -3px -3px 3px 0;*/
}

h1 a {
	display:block;
	background-image:url(../img/oliver-tiura-sculptor-logo.jpg);
	background-repeat:no-repeat;
	width:417px;
	height:52px;
	margin-top:13px;
	-webkit-transition: opacity 300ms linear;
}

h1 a:hover {
	opacity:.6;
	-webkit-transition: opacity 300ms linear;
}

.right {
	float:right;
}

.left {
	float:left;	
}

ul {
	list-style-type:none;	
}

li {
	list-style-type:none;	
}

header {
	position:relative;
}

footer {
	position:relative;
}

nav.main {
	text-align:right;
	width:380px;
	margin-left:100px;
}

nav.main a {
	text-transform:uppercase;
	color:#909090;
	font-size:18px;
	letter-spacing:1px;
	margin-bottom:5px;
}

nav.main a:hover {
	color:#FFF;
}

.sub_nav {
	display:none;	
}

.sub_nav a {
	display:block;
	text-transform:uppercase;
	margin-bottom:2px;
	color:#FFF;
}

.sub_nav a:hover {
	color:#666;	
}

body.exhibitions .sub_nav, body.exhibitions-one-man .sub_nav, body.exhibitions-group .sub_nav {
	text-align:right;
	display:block;	
	position:absolute;
	z-index:2;
	margin-top:8px;
	font-size:11px;
	width:150px;
	padding-bottom:3px;
	border-bottom: 3px #999 solid;
}

body.intro .sub_nav  {
	text-align:right;
	display:block;	
	position:absolute;
	z-index:2;
	margin-top:15px;
	font-size:11px;
	width:100px;
	padding-bottom:3px;
	border-bottom: 3px #999 solid;
}

body.bio .sub_nav, body.archival .sub_nav {
	text-align:right;
	display:block;	
	position:absolute;
	z-index:2;
	margin-top:5px;
	font-size:11px;
	width:100px;
	padding-bottom:3px;
	border-bottom: 3px #999 solid;
}

/* ==========================================================================
   Page specific styles
   ========================================================================== */

body.intro .intro, body.bronzes .bronzes, body.encaustics .encaustics, body.acrylics .acrylics, body.more_sculptures .more_sculptures, body.public .public, body.graphics .graphics, body.bio .bio, body.exhibitions .exhibitions, body.video .video, body.archival .archival {
	color:#FFF;	
}

body.intro nav.main, body.bio nav.main, body.exhibitions-one-man nav.main, body.exhibitions-group nav.main, body.archival nav.main {
	display:none;	
}

/* ==========================================================================
   Style content div
   ========================================================================== */
   
.content {
	width:470px;
	padding-right:10px;
	height:375px;
	overflow:auto;
	text-align:right;
}

h2 {
	margin-top:0;	
	margin-bottom:0;
	font-family: 'ArmataRegular';
	font-size:18px;
	text-transform:uppercase;
	letter-spacing:1px;
}

h3 {
	margin-top:0;
	font-family: 'ArmataRegular';
	padding-bottom:10px;
	font-size:14px;
	text-transform:uppercase;
	letter-spacing:1px;
	width:70%;
	margin-left:auto;
}

.content p {
    font-family: Arial;
	font-size:12px;
	opacity:.7;
	text-align:right;
}


/* ==========================================================================
   Gallery styles - template from pickahoose.com
   ========================================================================== */

/*.gallery {
	width:380px;
	height:380px;
	background-color:#0F0;
	margin-right:100px;
}*/

/*if you just want to adjust the size of the stage and the thumbnails, you can do so by editing the following lines: */
.pika-thumbs li{
	width: 70px;
	height:74px;}

.pika-stage {
	width:375px;
	height:375px;
	margin-right:90px;
	overflow:hidden;
	position:relative;
	float:right;
	margin-bottom:50px;
	background-color:#000;
	text-align:left;
}

.pikachoose { 
	width: 980px;
	margin: 0 auto;
}

/*if you change the padding on pika-stage you must adjust the top left of this to match! */
.pika-stage .main-image {
	position: absolute;
	top: 0px; 
	left:0;
}

.pika-stage .pika-aniwrap {
	position: absolute;
	top: 0px; 
	left: 0px;
}
	
.pika-stage .pika-ani {
	position:relative;
	display: none;
	z-index:2;
	margin:0 auto;
}

.pika-stage img {
	border:0;
	height:100%;
}

/* the following are unecessary 

.pika-stage .caption {
	position: absolute; 
	background: url(75-black.png);  
	border: 1px solid #141414; 
	font-size: 11px; 
	color: #fafafa; 
	padding: 10px; 
	text-align: right; 
	bottom: 10px; 
	right: 10px;
}

.pika-stage .caption p {
	padding: 0; 
	margin: 0; 
	line-height: 14px;
}

.pika-imgnav a {
	position: absolute;
	text-indent: -5000px;
	display: block;
	z-index:3;
	cursor:pointer;
}

.pika-imgnav a.previous {
	width:20px;
	height:20px;
	border-left: 5px solid #FFF;
	border-top: 5px solid #FFF;
	opacity:0;
	-webkit-transition: opacity 300ms linear;
	-webkit-transform: rotate(-45deg);
	-moz-transform: rotate(-45deg);
	transform: rotate(-45deg);
	top:45%;
	left:10px;
}
	
.pika-imgnav a.next {
	width:20px;
	height:20px;
	border-right: 5px solid #FFF;
	border-top: 5px solid #FFF;
	opacity:0;
	-webkit-transition: opacity 300ms linear;
	-webkit-transform: rotate(45deg);
	-moz-transform: rotate(45deg);
	transform: rotate(45deg);
	top:45%;
	right:10px;
}*/

.pika-imgnav a:hover{
	opacity:.6;
	-webkit-transition: opacity 300ms linear;
}	

.pika-imgnav a.play  {
	border-color: transparent transparent rgba(255,255,255,.7);
	border-style: solid;
	border-width: 0 0 25px 25px;
	height: 0;
	width: 0;
	position:absolute;
	-webkit-transform: rotate(-45deg);
	-moz-transform: rotate(-45deg);
	transform: rotate(-45deg);
	top:14px;
	left:47%;
	display:none;
}
	
.pika-imgnav a.pause {
	display:none;
	border-left:5px solid rgba(255,255,255,.7);
	border-right:5px solid rgba(255,255,255,.8);
	height: 30px;
	width: 14px; 
	position:absolute;
	top:10px;
	left:47%;
}

.pika-textnav {
	display:none;
}
	
.pika-thumbs {
	margin: 10px 0 0 0;
	padding: 0;
}

.pika-thumbs li {
	float: left; 
	list-style-type: none;
	margin: 0 15px 10px 0; 
	cursor: pointer;
/*	-moz-box-shadow: 3px 3px 2px #888;
	-webkit-box-shadow: 3px 3px 2px #888;
	box-shadow: 3px 3px 2px #888;
*/}

.pika-thumbs li:last {
	margin: 0;
}

.pika-thumbs li .clip {
	position:relative;
	height:100%;
	text-align: center; 
	vertical-align: center; 
	overflow: hidden;
}

.pika-counter {
	display:none;	
}

#gallery, #vid-gallery {
	clear:both;
	border-top: 3px solid #909090;
	padding:15px 0 0 25px;
}

body.video .hor_categories {
	margin-top:0px;
}

#vid-gallery {
	margin-top:100px;
}

#large-video {
	position:relative;
	width:425px;
	height:425px;
	padding-left:25px;
}

#large-video #my_video_1, #large-video #my_video_2, #large-video #my_video_3 {
	display:block;
	position:absolute !important;
	top:0;
	left:25px;
}

#large-video #my_video_1 {
	z-index:3;
}

#large-video #my_video_2 {
	z-index:2;
}

#large-video #my_video_3 {
	z-index:1;
}

#large-video p {
	position:absolute;
	bottom:35px;
	color:red;
	-webkit-font-smoothing: antialiased;
}

#vid-gallery a {
	display:block;
	float:left;
	margin-left:15px;
	opacity:0.8;
	-webkit-transition: opacity 300ms linear;
}

#vid-gallery a.more {
	margin-left:205px;	
}

#vid-gallery a:hover {
	opacity:1.0;
	-webkit-transition: opacity 300ms linear;
}


video {
	margin-left:20px;
}

.hor_categories {
	color:#999;
	position:absolute;
	top:508px;
	text-align:center;
	width:100%;
	font-family: 'ArmataRegular';
	font-size:12px;
}

.hor_categories li {
	display:inline;
}

body.intro .hor_categories a.intro, body.bronzes .hor_categories a.bronzes, body.encaustics .hor_categories a.encaustics, body.acrylics .hor_categories a.acrylics, body.more_sculptures .hor_categories a.more_sculptures, body.public_art .hor_categories a.public, body.graphics .hor_categories a.graphics, body.bio .hor_categories a.bio, body.exhibitions .hor_categories a.exhibitions, body.exhibitions-one-man .hor_categories a.exhibitions, body.exhibitions-group .hor_categories a.exhibitions, body.video .hor_categories a.video, body.archival .hor_categories a.archival {
	padding-top:5px;
	border-top:3px #FFF solid;
}

body .hor_categories .alert_nav{
	display:block;
	width:100;	
	text-align:left;
	padding-left:5px;
	padding-bottom:2px;
	font-size:0.8em;
	text-transform:uppercase;
	color:#000;
}

body.intro .hor_categories .alert_nav, body.bio .hor_categories .alert_nav {
	color:#900;
	opacity:0;
}

footer {
	clear:both;
	width:980px;
	height:150px;
	padding-top:5px;
	letter-spacing:1px;
}

footer p {
	text-align:center;
	text-transform:uppercase;
	font-size:16px;
}

footer a {
	font-size:16px;
}

footer .copyright {
	letter-spacing:0;
	margin-top:4px;
	clear:both;
	padding-top:15px;
	text-transform:none;
	font-size:10px;
	border:none;
	text-align:left;
	font-family:Arial, Helvetica, sans-serif;
	color:#666;	
	border-top: 3px solid #909090;
}

.music {
	width:100%;
	position:absolute;
	left:0;
	bottom:35px;
	opacity:0.3;
}

.music:hover {
	opacity:1.0;
}

.music audio {
	margin-top:-10px;
}

.music a {
	font-size:10px;
	display:block;
	margin-bottom:6px;
	font-family:Arial;
	letter-spacing:normal;
}

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