/*
Theme Name: Cave Theme
Author: Elia Kim
Description: The 2012 theme for fw Cave.
Version: 1.0
*/

/* 
 * 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.
 *
 * Detailed information about this CSS: h5bp.com/css
 * 
 * ==|== normalize ==========================================================
 */


/* =============================================================================
   HTML5 display definitions
   ========================================================================== */

article, aside, details, figcaption, figure, footer, header, hgroup, nav, section { display: block; }
audio, canvas, video { display: inline-block; *display: inline; *zoom: 1; }
audio:not([controls]) { display: none; }
[hidden] { display: none; }

/* =============================================================================
   Base
   ========================================================================== */

/*
 * 1. Correct text resizing oddly in IE6/7 when body font-size is set using em units
 * 2. Force vertical scrollbar in non-IE
 * 3. Prevent iOS text size adjust on device orientation change, without disabling user zoom: h5bp.com/g
 */

html { font-size: 100%; overflow-y: scroll; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; }

body { margin: 0; font-size: 13px; line-height: 1.231; }

body, button, input, select, textarea { font-family: sans-serif; color: #222; }

/* 
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection declarations have to be separate
 * Also: hot pink! (or customize the background color to match your design)
 */

::-moz-selection { background: #f06e31; color: #fff; text-shadow: none; }
::selection { background: #f06e31; color: #fff; text-shadow: none; }


/* =============================================================================
   Links
   ========================================================================== */

a { color: #00e; }
a:visited { color: #551a8b; }
a:hover { color: #06e; }
a:focus { outline: thin dotted; }

/* Improve readability when focused and hovered in all browsers: h5bp.com/h */
a:hover, a:active { outline: 0; }


/* =============================================================================
   Typography
   ========================================================================== */

abbr[title] { border-bottom: 1px dotted; }

b, strong { font-weight: bold; }

blockquote { margin: 1em 40px; }

dfn { font-style: italic; }

hr { display: block; height: 1px; border: 0; border-top: 1px solid #ccc; margin: 1em 0; padding: 0; }

ins { background: #ff9; color: #000; text-decoration: none; }

mark { background: #ff0; color: #000; font-style: italic; font-weight: bold; }

/* Redeclare monospace font family: h5bp.com/j */
pre, code, kbd, samp { font-family: monospace, monospace; _font-family: 'courier new', monospace; font-size: 1em; }

/* Improve readability of pre-formatted text in all browsers */
pre { white-space: pre; white-space: pre-wrap; word-wrap: break-word; }

q { quotes: none; }
q:before, q:after { content: ""; content: none; }

small { font-size: 85%; }

/* Position subscript and superscript content without affecting line-height: h5bp.com/k */
sub, sup { font-size: 75%; line-height: 0; position: relative; vertical-align: baseline; }
sup { top: -0.5em; }
sub { bottom: -0.25em; }


/* =============================================================================
   Lists
   ========================================================================== */

/*ul, ol { margin: 1em 0; padding: 0 0 0 40px; }
dd { margin: 0 0 0 40px; }
nav ul, nav ol { list-style: none; list-style-image: none; margin: 0; padding: 0; }*/


/* =============================================================================
   Embedded content
   ========================================================================== */

/*
 * 1. Improve image quality when scaled in IE7: h5bp.com/d
 * 2. Remove the gap between images and borders on image containers: h5bp.com/e 
 */

img { border: 0; -ms-interpolation-mode: bicubic; vertical-align: middle; }

/*
 * Correct overflow not hidden in IE9 
 */

svg:not(:root) { overflow: hidden; }


/* =============================================================================
   Figures
   ========================================================================== */

figure { margin: 0; }


/* =============================================================================
   Forms
   ========================================================================== */

form { margin: 0; }
fieldset { border: 0; margin: 0; padding: 0; }

/* Indicate that 'label' will shift focus to the associated form element */
label { cursor: pointer; }

/* 
 * 1. Correct color not inheriting in IE6/7/8/9 
 * 2. Correct alignment displayed oddly in IE6/7 
 */

legend { border: 0; *margin-left: -7px; padding: 0; }

/*
 * 1. Correct font-size not inheriting in all browsers
 * 2. Remove margins in FF3/4 S5 Chrome
 * 3. Define consistent vertical alignment display in all browsers
 */

button, input, select, textarea { font-size: 100%; margin: 0; vertical-align: baseline; *vertical-align: middle; }

/*
 * 1. Define line-height as normal to match FF3/4 (set using !important in the UA stylesheet)
 * 2. Correct inner spacing displayed oddly in IE6/7
 */

button, input { line-height: normal; *overflow: visible; }

/*
 * Reintroduce inner spacing in 'table' to avoid overlap and whitespace issues in IE6/7
 */

table button, table input { *overflow: auto; }

/*
 * 1. Display hand cursor for clickable form elements
 * 2. Allow styling of clickable form elements in iOS
 */

button, input[type="button"], input[type="reset"], input[type="submit"] { cursor: pointer; -webkit-appearance: button; }

/*
 * Consistent box sizing and appearance
 */

input[type="checkbox"], input[type="radio"] { box-sizing: border-box; }
input[type="search"] { -webkit-appearance: textfield; -moz-box-sizing: content-box; -webkit-box-sizing: content-box; box-sizing: content-box; }
input[type="search"]::-webkit-search-decoration { -webkit-appearance: none; }

/* 
 * Remove inner padding and border in FF3/4: h5bp.com/l 
 */

button::-moz-focus-inner, input::-moz-focus-inner { border: 0; padding: 0; }

/* 
 * 1. Remove default vertical scrollbar in IE6/7/8/9 
 * 2. Allow only vertical resizing
 */

textarea { overflow: auto; vertical-align: top; resize: vertical; }

/* Colors for form validity */
input:valid, textarea:valid {  }
input:invalid, textarea:invalid { background-color: #f0dddd; }


/* =============================================================================
   Tables
   ========================================================================== */

table { border-collapse: collapse; border-spacing: 0; }
td { vertical-align: top; }

.clear-both{
	clear:both;
}

.hide{
	display:none;	
}


/* ==|== primary styles =====================================================
   Author: Elia Kim
============================================================================= */

@font-face {
    font-family: 'RokkittRegular';
    src: url('fonts/rokkitt-regular-webfont.eot');
    src: url('fonts/rokkitt-regular-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/rokkitt-regular-webfont.woff') format('woff'),
         url('fonts/rokkitt-regular-webfont.ttf') format('truetype'),
         url('fonts/rokkitt-regular-webfont.svg#RokkittRegular') format('svg');
    font-weight: normal;
    font-style: normal;

}


h1{
	font-family: 'RokkittRegular';
	font-weight: normal;
	font-size:34px;
	color:#f06e31;
	margin-bottom:0px;
}

h2{
	font-family: 'RokkittRegular';
	font-weight: normal;
	font-size:16px;
	color:#fff;
}

h3{
	font-family: 'RokkittRegular';
	font-weight: normal;
	font-size:52px;
	color:#666;
	line-height:10px;
	margin-bottom:24px;	
}

h4{
	font-family: Arial, Helvetica, sans-serif;
	font-weight: normal;
	font-size:24px;
	color:#333;	
	line-height:10px;
	margin-top:24px;
		
}

h5{
	
}


body{
	background:url(images/bg.jpg) repeat;
	font-family:Arial, Helvetica, sans-serif;
	color:#666;
	font-size:14px;
	line-height:1.2em;
}

.wrapper{
	margin:0 auto;
	width:970px;
	background-color:#fff;
	display:block;	
	border-right:solid 1px #ccc;
	border-left: solid 1px #ccc;
	min-height:600px;
}

#header_wrap {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 60px;
	z-index: 9999;
}

header{
	height:80px;
	width:970px;
	background-color:#ededed;
	margin: 0 auto;
	border-bottom: solid 4px #ccc;
	border-right:solid 1px #ccc;
	border-left: solid 1px #ccc;
	
}

.content{
	margin-top:80px;	
	min-height:500px;
	padding-bottom:60px;

}





														/*******Navigation*******/

nav{
	width:970px;
	height:34px;
	float:left;	
	
}

nav ul{
	margin-top:30px;
	list-style-type:none;	
	float:left;
}

nav li{
	float:left;	
	margin-right:36px;
	
}

nav a:link,
nav a:visited{
	height:33px;
	font-family: Arial, Helvetica, sans-serif;
	font-size:14px;
	font-weight:normal;
	color:#666;
	display:block;
	text-decoration:none;
	line-height:33px;
	
}

.nav_index{
	background:url(images/nav_dot.png) no-repeat;
	height:33px;
	width:65px;
	display:block;	
}

.nav_index:hover,
.nav_index:active{
	background-position: 0px -33px;
}

.index_selected{
	background-position: 0px -33px;
}


.logo{
	position:relative;
	top:-12px;
	z-index:0;
}

nav a:hover,
nav a:active{
	/*background-position: 0px -33px;*/
	color:#f06e31;
}

nav ul li a.selected{
	color:#f06e31;
}

														/*******Slider*******/


.image_slider{
	width:970px;
	height:420px;
	margin:20px 0px 0px 0px;
	z-index:999999;
}

.image_slider p{
	font-family: 'RokkittRegular';
	font-weight: normal;
	font-size:24px;
	color:#666;
}	

.image_slider a{
	font-family: 'RokkittRegular';
	font-weight: normal;
	font-size:34px;
	color:#f06e31;
	text-decoration:none;
	margin-left:14px;
}





														/*******Index content*******/
														
.welcome{
	width: 700px;
	height:200px;
	margin:80px 0px 0px 20px;	
}

.welcome p{
	margin-top:20px;	
}

.quick_links{
	width:970px;
	height:180px;	
}

.quick_link img{
	width:220px;
	height:160px;
}

.quick_link img:first-child{
	margin-left:10px;	
}

.quick_link {
	float: left;
	height: 160px;
	margin: 7px;
	margin-left:10px;
	width: 220px;
	/*In order for absolutely positioning child element(caption div), you need to set position relative for its parent*/
	position: relative;
}

.quick_link .caption {
	background: #fff;
	cursor: pointer;
	height: 160px;
	width: 220px;

	/*Make it overlay on its parent*/
	position: absolute;

	/*Align it at top of its parent*/
	top: 0;
	left: 10px;

}

.quick_link .caption a {
	font-family: 'RokkittRegular';
	font-weight: normal;
	color: #666;
	display: block;
	font-size: 21px;
	text-decoration: none;
	text-align:center;
	margin-top:42px;
	padding-left:10px;
	line-height: 21px;
}

.quick_link h1{
	margin-bottom:-10px;
	font-size:24px;
	text-align:center;
}

.caption_hardware h1{
	color:#333;
}

.caption_kids h1{
	color:#fbc762;
}

.caption_leisure h1{
	color:#6CC;
}

.caption_aerospace h1{
	color:#39F;
}

#slider p{
	margin-left:5px;	
}
								
														/*******Cave content*******/
	
.page_heading{
	width: 600px;
	height:100px;
	padding:50px 0px 0px 20px;		
}

.cave_wrapper{
	float:left;
}

.cave_info{
	width:600px;
	padding:20px 0px 0px 20px;	
}

.cave_info pre{
	font-family:Arial, Helvetica, sans-serif;
}

.thin_line{
	float:left;
	width:1px;
	height:568px;
	background:url(images/dot.jpg) repeat-y;
	opacity:.5;
	margin-top:96px;
	margin-left:20px;
}

.side_info{
	float:left;
	width:290px;
	height:540px;
	margin-left:20px;
	margin-top:96px;
}

.side_info h1{
	margin-bottom:10px;	
}

.side_info p{
	margin:0;
	margin-top:10px;	
}

.side_info a{
	font-size:9px;
	text-decoration:none;
}

.brands_list{
	width:970px;
	margin-left:26px;
}

.brands_list img{
	border: solid 1px #ccc;	
}

.fade {
	float:left;
	width:290px;
	height:160px;
	position: relative;
	margin-right:20px;
	margin-top:20px;
	text-align:center;
}

.fade img:nth-child(2) {
	width:290px;
	height:160px;
	top:0;
	left:0;
  	display: none;
	position:absolute;
}

.brand_list p{
	width:290px;
	height:20px;
	text-align:center;
}

.map{
	border-top: solid 8px #f06e31;
}

.product_list{
	width:960px;
	
}

.product_photos{
	float:left;
	width:290px;
	height:160px;
	margin-left:26px;	
	display:block;
}

.product_photos img{
	width:290px;
	height:160px;
	border:solid 1px #CCC;	
	display:block;
}

.product_photos p{
	width:290px;
	text-align:center;	
}
												
														/*******Kids*******/	
	
.kids_heading{
	width: 600px;
	height:100px;
	padding:50px 0px 0px 20px;		
}
	
.kids_heading h3{
	color:#fbc762;
}

.kids_heading p{
	margin-top:10px;	
}

.detail_heading{
	margin-left:20px;	
}

.detail_heading h3{
	width: 600px;
	padding:50px 0px 0px 0px;	
}

.product_photos{
	margin-top:40px;	
}

.no_brands{
	font-size:16px;
	margin-top:20px;
	margin-left:20px;	
}

.brand_heading{
	width: 600px;
	height:60px;
	padding:50px 0px 0px 20px;			
}

.brand_heading h3{
	color:#666;	
}


														/*******Leisure*******/	


.leisure_heading{
	width: 600px;
	height:100px;
	padding:50px 0px 0px 20px;		
}

.leisure_heading h3{
	color:#6cc;	
}

														/******Aerospace*******/	


.aerospace_heading{
	width: 600px;
	height:100px;
	padding:50px 0px 0px 20px;		
}

.aerospace_heading h3{
	color:#39F;	
}



														/*******News*******/
.blog{
	width:930px;
	margin-left:20px;
	padding-top:20px;	
}

.blog h4{
	margin-bottom:0px;	
}

.blog_division{
	margin:0 auto;
	margin-top:60px;
	width:150px;
	height:7px;
	display:block;
	background:url(images/orange_dot.png) repeat-x;
}

.no-display{
	padding-top:20px;
	margin-left:20px;	
}
															

														/*******Contact*******/	


#contact_form{
	margin-top:55px;
	width:520px;
	height:350px;
		
}

#contact_form div{
	margin:10px;
}



#contact_form label{
	float:left;
	text-align:right;
	width:20%;
	margin:4px 10px 5px 0px;
	font-family:'RokkittRegular', Arial, sans-serif;
	color:#666;
	font-size:16px;
	
}

#contact_form input{
	border:#ccc solid 1px;
	color:#666;
	width:380px;
	height:21px;
	margin-bottom:5px;
}

#contact_form textarea{
	border:#ccc solid 1px;
	color:#666;
	width:380px;
	height:170px;
}

#contact_form input.button{
	font-family: 'RokkittRegular';
	font-weight: normal;
	font-size:16px;
	color:#fff;
	width:60px;
	height:60px;
	background:url(images/submit_btn.png) no-repeat;
	float:right;
	border:none;
	cursor:pointer;
}

#contact_form input.button:hover{
	color:#333;
	cursor:pointer;
}


#contact_form p#status{
	font-family:Arial, Helvetica, sans-serif;
	padding-left:21px;
	margin-top:-30px;
	font-size:14px;
	display:none;
	position:absolute;
}

#contact_form p.error{
	color:#900;
}

#contact_form p.success{
	color:#06C;
}

#contact_form .error-focus{
	border:#c86665 solid 1px;
}



#enquiry_box p#status{
	font-family:'RokkittRegular', Arial;
	padding-left:24px;
	margin-top:-30px;
	font-size:14px;
	display:none;
	position:absolute;
}


#enquiry_box p.error{
	color:#c86665;
}

#enquiry_box p.success{
	color:#690;
}

#enquiry_box .error-focus{
	border:#c86665 solid 1px;
}


	
						
														/*******Footer*******/								
														
footer{
	text-align:center;
	margin: 0 auto;
	background-color:#e9e9e9;
	height:132px;	
	width:970px;
	border-right:solid 1px #ccc;
	border-left: solid 1px #ccc;
	border-bottom: solid 1px #ccc;
}

.logo_small{
	position:relative;
	top:20px;
	left:30px;
}
	
.footer_nav{
	margin:0 auto;
	width:540px;	
	padding-top:60px;
	list-style-type:none;
}	

.footer_nav li{
	margin:0 auto;
	list-style-type:none;
	margin-right:20px;	
	float:left;
	text-align:center;
}

.footer_nav li:first-child{
	margin-left:40px;	
}

.footer_nav a:link,
.footer_nav a:visited{
	text-decoration:none;	
	font-size:9px;
	color:#999;
}

.footer_nav a:hover,
.footer_nav a:active{
	color:#333;
}
	
.copyright{
	color:#999;
	padding-top:10px;
	font-size:9px;
	text-align:center;
	line-height:14px;	
}
	
	
	
	
	
																	
																/* The Nivo Slider styles */
.nivoSlider {
	position:relative;

}
.nivoSlider img {
	position:absolute;
	top:0px;
	left:0px;
}
/* If an image is wrapped in a link */
.nivoSlider a.nivo-imageLink {
	position:absolute;
	top:0px;
	left:0px;
	width:100%;
	height:100%;
	border:0;
	padding:0;
	margin:0;
	z-index:6;
	display:none;
}
/* The slices and boxes in the Slider */
.nivo-slice {
	display:block;
	position:absolute;
	z-index:5;
	height:100%;
}
.nivo-box {
	display:block;
	position:absolute;
	z-index:5;
}
/* Caption styles */
.nivo-caption {
	position:absolute;
	right:0px;
	bottom:30px;
	background:#fff;
	color:#666;
	opacity:0.4; /* Overridden by captionOpacity setting */
	width:50%;
	padding-top:20px;
	padding-bottom:20px;
	z-index:8;
}
.nivo-caption p {
	padding:10px;
	margin:0;
	margin-left:10px;

}
.nivo-caption a {
	display:inline !important;
}
.nivo-html-caption {
    display:none;
}
/* Direction nav styles (e.g. Next & Prev) */
.nivo-directionNav a {
	position:absolute;
	top:42%;
	z-index:9;
	cursor:pointer;
	display:block;
	width:30px;
	height:90px;	
	text-indent:-9999px;
	border:0;
}

.nivo-nextNav {
	background:url(images/arrows_prev.png) no-repeat;
	left:5px;
}
.nivo-prevNav {
	background:url(images/arrows_nxt.png) no-repeat;
	right:15px;
}

/* Control nav styles (e.g. 1,2,3...) */
.nivo-controlNav {
	position:absolute;
	left:50%;
	bottom:-42px;
    margin-left:-70px; /* Tweak this to center bullets */
}
.nivo-controlNav a {
	display:block;
	width:22px;
	height:22px;
	background:url(images/bullets.png);
	text-indent:-9999px;
	border:0;
	margin-right:3px;
	float:left;
	cursor:pointer;
}
.nivo-controlNav a.active {
	background-position:0 -22px;
}
													

/* ==|== non-semantic helper classes ========================================
   Please define your styles before this section.
   ========================================================================== */

/* For image replacement */
.ir { display: block; border: 0; text-indent: -999em; overflow: hidden; background-color: transparent; background-repeat: no-repeat; text-align: left; direction: ltr; }
.ir br { display: none; }

/* 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; }

/* Contain floats: h5bp.com/q */
/*Apply clearfix class to container element containing the floated elements*/
.clearfix:before, .clearfix:after { content: ""; display: table; }
.clearfix:after { clear: both; }
.clearfix { zoom: 1; }



/* ==|== media queries ======================================================
   PLACEHOLDER Media Queries for Responsive Design.
   These override the primary ('mobile first') styles
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 480px) {
  /* Style adjustments for viewports 480px and over go here */

}

@media only screen and (min-width: 768px) {
  /* Style adjustments for viewports 768px and over go here */

}



/* ==|== print styles =======================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */
 
@media print {
  * { background: transparent !important; color: black !important; text-shadow: none !important; filter:none !important; -ms-filter: none !important; } /* Black prints faster: h5bp.com/s */
  a, a:visited { text-decoration: underline; }
  a[href]:after { content: " (" attr(href) ")"; }
  abbr[title]:after { content: " (" attr(title) ")"; }
  .ir a:after, a[href^="javascript:"]:after, a[href^="#"]:after { content: ""; }  /* Don't show links for images, or javascript/internal links */
  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; }
}