/*
-----------------------------------------------
Grey Box Method - Layout CSS
----------------------------------------------- */

body {

/*
border-top: 1px solid #dce3e7;
*/

	padding: 0 0 40px;
}


/* 960 grid system container background
----------------------------------------------- */
.container_12,
.container_16 {
	background:#fff;
}


.container_16 {

	background: #fbfcf5 url("images/transTexture.png") repeat top left;
    border-radius: 0px 0px 5px 5px;
    -webkit-border-radius: 0px 0px 5px 5px;
	-moz-border-radius:  0px 0px 5px 5px;

	box-shadow: #878c82 0.5em 0.5em 0.5em;
		-webkit-box-shadow: #878c82 0.5em 0.5em 0.5em;
		-moz-box-shadow: #878c82 0.5em 0.5em 0.5em;		
	margin: 0px;

	
	
}


.grid_16 {
margin-bottom: 10px;


}



/* branding
----------------------------------------------- */

.header {
  
 /*
 box-shadow: #d1d8dc 0.2em 0.2em 0.2em;
		-webkit-box-shadow: #d1d8dc0.2em 0.2em 0.2em;
		-moz-box-shadow: #d1d8dc 0.2em 0.2em 0.2em;
*/
  border-radius: 0px 0px 0px 0px;
    -webkit-border-radius: 0px 0px 0px 0px;
	-moz-border-radius:  0px 0px 0px 0px;

padding: 0px;
}


h1#branding {

  border-bottom: 1px solid #31403e;
  margin: 0px;
  padding: 0px;
}




h1#branding a{


  color: #fff;
  display: block;  
  height: 100px;
  margin:0 auto;
  padding: 0px;
  text-indent: -9000px;
  width: 400px;

}


/* page heading
----------------------------------------------- */
h2#page-heading {

	padding:.5em;
	margin:0 0 10px 0;
	border-bottom:1px solid #d1d8dc;
	 opacity:0.62;
    filter:alpha(opacity=62); /* For IE8 and earlier */
}


/* boxes
----------------------------------------------- */
.box {


	margin-bottom:20px;
	padding:10px 10px 1px 10px;
}



.box h2 {
/*	font-size:1em;
	font-weight:normal;
	 
	color:#fff;
	margin:-10px -10px 0 -10px;
	padding:6px 12px;
	*/
}
.box h2 a,
.box h2 a.visible {
	color:#fff;
	background:transparent url("images/minus.png") 97% 50% no-repeat;
	display:block;
	padding:6px 12px;
	margin:-6px -12px;
	border:none;

}


.grid_4 .box {
   background: #BAC8C1 url("images/transTexture.png") repeat top left;
  border: 1px solid #878C82;

}


.grid_4 .mainMenu {
   background: #5b7b82 url("images/transTexture.png") repeat top left;
  color: #fff;
  padding: 0px;

 }
 
 
 
.grid_4 .box h2 a {
	background-position: 97% 50%;
}
.grid_5 .box h2 a {
	background-position: 98% 50%;
}
.grid_12 .box h2 a {
	background-position: 99% 50%;
}


.box h2 a.hidden,
.box h2 a.hidden:hover {
	background-image: url("images/plus.png");
}
.box h2 a:hover {

}
.block {
	padding-top:10px;
}
div.menu {
	padding:0;
}
div.menu h2 {
	margin:0;
}
div.menu .block {
	padding-top:0;
}


/* paragraphs, quotes and lists
----------------------------------------------- */
p {
	margin-bottom:1em;
}
blockquote {

	color: #555;
	font-style: italic;
	padding: 0.5em 1.5em;

}
blockquote cite {
	font-size:.9em;
}
ul, ol {
	padding-top:0;
}


/* menus
----------------------------------------------- */
ul.menu {
	list-style:none;
	border-top:1px solid #c5d5d8;
}

ul.menu li {
	margin:0;
}

.grid_4 ul.menu li a {
	background: #5b7b82 url("images/transTexture.png") repeat top left;
	border-bottom:1px solid #bac8c1;
	clear: both;
	color: #fff;
	display:block;
	font-size: 1.3em;
	padding: 5px 10px;	
}


.grid_4 ul.menu li a:hover,
.grid_4 ul.menu li a:focus{
	  background-color: #bac8c1;
	  color: #172929;
}


.grid_4 ul.menu li a:active {
	  background-color: #3a4b49 ;
	  color: #fff;
}


/* submenus
----------------------------------------------- */
.grid_4 div.box.submenu   {

  background-color: #D3DAD6 ;	
  font-size: 0.8em;
  padding: 0px;
}


.grid_4 div.box.submenu ul  {

  border-top:1px solid #878C82;
  margin: 5px 0px 15px 0px;
  padding: 0px;
}


.grid_4 div.submenu ul.menu li a {

background-color: #D3DAD6 ;
color: #333;
	border-color: #878C82;

}

.grid_4 div.submenu ul.menu li a:focus,
.grid_4 div.submenu ul.menu li a:hover{

background-color: #FBFCF5 ;
color: #333;
}


/* section menus
----------------------------------------------- */
ul.section {
	border-top:0;
	margin-bottom:0;
}
ul.section li {
	 
}
ul.section li a {
	background:#c5d5d8;
}
ul.section li a:hover {
	background:#99b6c2;
}
ul.section li a:active {
	color:#fff;
	background:#666;
}
ul.section li li a {
	background:#f0f6f8;
	border-bottom:1px solid #f0f6f8;
}
ul.section li li a:hover {
	background:#ccc;
}
ul.section li li a:active {
	color:#000;
	background:#fff;
}
ul.section ul li {
	text-transform:none;
}
ul.section ul.current li a {
	background:#f0f6f8;
	border-bottom:1px solid #fff;
}
ul.section ul.current li a:hover {
	background:#f0f6f8;
}
ul.section ul.current li a:active {
	background:#fff;
}
ul.section li a.current {
	color:#fff;
	background:#666;
}
ul.section li a.current:hover {
	background:#555;
}
ul.section li a.current:active {
	background:#444;
}
ul.section li a.active {
	background:#fff;
	cursor:default;
}
ul.section li.current > a.active,
ul.section li.current > a.active:hover {
	color:#fff;
	background:#666;
	cursor:default;
}




/* footer menus 
----------------------------------------------- */

#footer-menu ul {

 
border-top: 1px solid #BAC8C1 ;
 margin: 20px auto;
 padding: 20px;
 text-align: center;
 
  }
  
  
  #footer-menu ul li {

  display: inline;
  margin: 10px;
  
  }


/* table
----------------------------------------------- */
table {
  border:1px solid #bbc8c3;
  border-radius: 5px 5px 5px 5px;
    -webkit-border-radius: 5px 5px 5px 5px;
	-moz-border-radius:  5px 5px 5px 5px;
  margin-bottom:10px;
  width:100%;
}


th
{
font-weight: bold;
}


col.colC {
	width:8em;
}
th, td {
	padding: .2em 0.3em;
	text-align:left;
}
thead th,
tfooter th{
	border-bottom:2px solid #778999;
	background: #bac8c1 url("images/transTexture.png") repeat top left;
	padding:.4em 1em .2em;
}


thead th.table-head,
tfooter th.table-head {
	font-size:1em;
	font-weight:normal;
	 
	color:#fff;
	background:#555;
	border:1px solid #878C82;
}


tbody th,
tbody td {
	background: #f3f6f5 url("images/transTexture.png") repeat top left;
	border-top:1px solid #878C82;
	border-bottom:1px solid #878C82;
	
	
	
}
tbody tr.odd th,
tbody tr.odd td {
	background: #e5ebe8 url("images/transTexture.png") repeat top left;
	
	
}
tfoot th,
tfoot td {
	border-top:2px solid #878C82;
	background:#f0f6f8;
}
tfoot tr.total th,
tfoot tr.total td {
	border-top:6px double #d6cfc5;
}
tfoot tr.total th {
	 
}
th.currency,
td.currency {
	text-align:right;
}
tfoot.dark th, tfoot.dark td {
	background: #c5d5d8;
}


/* forms
----------------------------------------------- */

/*
form {
	overflow:hidden;

}
fieldset {
	border:1px solid #c5d5d8;
	padding:10px;
	position:relative;
	background:#ecf2f6;
	margin-bottom:10px;
}
legend {
	font-size:1.1em;
	padding:.4em .8em;
	background:#fff;
	border:1px solid #c5d5d8;
}
fieldset.login p {
	margin-bottom:1em;
	margin-top:0pt;
}
fieldset p label {
	width:98%;
}
fieldset p input {
	width:98%;
}
fieldset p select {
	width:99%;
}
fieldset.login p label {
	float:left;
	line-height:2em;
	margin-right:3%;
	text-align:right;
	width:32%;
}
fieldset.login p input {
	width:60%;
}
fieldset.login input.button {
	margin-left:35%;
}
form p.notice {
	font-weight:bold;
}
input.search.text {
	width:66%;
}
input.search.button {
	width:28%;
	margin-left:2%;
}


*/
/* articles
----------------------------------------------- */
.articles {
	padding:0;
}
.articles h2 {
	margin:0;
}
#articles {
	padding-top:0;
}
.article {
	border-top:1px solid #666;
	padding-top:.5em;
}
.box .article {
	border-top:3px solid #fff;
	padding:13px 10px 0 10px;
}
.article h2 {
	font-size:2em;
	font-weight:normal;
	text-transform:none;
	color:#333;
	background:transparent;
	padding:0;
	margin:0;
	border:none;
}
.article h3 {
	margin-bottom:.2em;
	font-size:1.6em;
}
.box .first {
	border-top:none;
}
.article h4 {
	font-size:1.2em;
	 
	margin-bottom:.5em;
}
.article a.image {
	float:left;
	margin:3px 10px 3px 0;
	padding:4px;
	border:1px solid #c5d5d8;
	background:#fff;
}
.article a.image:hover {
	border:1px solid #666;
}
.article a.image img {
	float:left;
}
.article p.meta {
	color:#666;
	border-top:1px dotted #999;
	border-bottom:1px dotted #999;
	padding:.3em 0;
	margin-bottom:.8em;
}


/* site information
----------------------------------------------- */
#site_info .box {
	color:#ccc;
	background:#666;
	margin-bottom:10px;
}
#site_info a {
	color:#fff;
}
#site_info a:hover {
	color:#000;
}


/* AJAX sliding shelf
----------------------------------------------- */
#loading {float:right; margin-right:14px; margin-top:-2px;}
.block {padding-bottom:1px;}


/* Accordian
----------------------------------------------- */
.toggler {
	color: #222;
	margin: 0;
	padding: 2px 5px;
	background: #f0f6f8;
	border-bottom: 1px solid #f0f6f8;
	border-right: 1px solid #f0f6f8;
	border-top: 1px solid #f5f5f5;
	border-left: 1px solid #f5f5f5;
	font-size:1.1em;
	font-weight: normal;
}
.element h4 {
	margin: 0;
	padding:4px;
	line-height:1.2em;
}
.element p {
	margin: 0;
	padding: 4px;
}
.float-right {
	padding:10px 20px;
	float:right;
}

#accordian-block {
	padding-bottom:10px;
}


/* Mootools Kwicks
----------------------------------------------- */
#kwick-box {
	padding:0;
	overflow:hidden;
}
#kwick-box h2 {
	margin:0;
}
#kwick {
	position: relative;
}
#kwick .kwicks {
	display: block;
	background: #999;
	height: 120px;
	list-style:none;
	margin:0;
	overflow:hidden;
}
#kwick li {
	float: left;
	margin:0;
	padding:0;
}
#kwick .kwick {
	display: block;
	cursor: pointer;
	overflow: hidden;
	height: 100px;
	width: 215px;
	padding: 10px;
	background: #fff;
}
#kwick .kwick span {
	color:#fff;
}
#kwick .one {
	background: #666;
}
#kwick .two {
	background: #777;
}
#kwick .three {
	background: #778999;
}
#kwick .four {
	background: #999;
}
/* Main Nav Current States */
ul.nav li a.current {
	background: #778999;
}

/* CakePHP Specific */
div#flashMessage {
	padding: 10px;
	margin: 0px 13px 10px 11px;
	border: 1px dashed #778999;
	background: #f0f6f8;
	font-size: 14px;
}
div.flash-error {
	color: #bf0000;
	background: #ffbfbf !important;
	border-color: #bf0000 !important;
}
div.flash-warning {
	color: #725600;
	background: #ffffbf !important;
	border-color: #bfbf00 !important;
}
div.flash-success {
	color: #00bf00;
	background: #dfffbf !important;
	border-color: #00bf00 !important;
}
div.error-message {
	color: #bf0000;
	font-weight: bold;
}
.input {
	margin: 0px 0px 5px 0px;
}
.text input {


}

#stone_quick_search {

}

.grid_4 form {
text-align: center;

}

.grid_4 form div.checkbox {
width: 80%;
margin: auto;
text-align: left;

}



.grid_4 form input#stone_quick_search{
	width: 80%;
	border: 1px solid #878C82;
}

.input label {
	width: 200px;
	text-align: right;
	display: block;
	float: left;
	margin: 0px 5px 0px 0px;
	padding: 2px 0px 0px 0px;
}

.content .input label {
/*
border: 1px solid red;
*/
}



.text label {
	padding: 6px 0px 0px 0px;
}
.form-submit-group {
	float: right;
	margin: 0px 0px 5px 0px;
}
.form-submit-group .submit {
	float: left;
}
.form-cancel {
	float: left;
	padding-top: 5px;
	margin-right: 5px;
}



.grid_4 form .checkbox label
{

display: inline;
float: none;
}


fieldset fieldset {

  margin-bottom: 0px;

}



div.helpNote  {

margin: 0px 0px 30px 0px ;
padding: 0px;
width: 80%;
font-size: 0.9em;

}


div.helpNote h2 {
background: none;
box-shadow: none;
cursor:pointer;
font-size: 1.1em;
font-style: italic;
font-weight: normal;
margin: 3px;
padding: 0px;
text-align: left;
}



.content div.helpNote h2 {


text-align: right;
margin: 0px 0px 0px 0px;
}




div.helpNote h2 span.qText{

display: inline;


	/*position: absolute;
top: -9000px;
*/
text-transform: none;
}


div.helpNote h2 span.qIcon{
/*
background: #90a0a8 url("images/header-bg.png") repeat top left;
border:2px solid #fff5e3;
color: #fff5e3;
padding: 2px 3px;
*/
}



.helpNote div{
  background: #D3DAD6 url("images/transTexture.png") repeat top left;
  border: 1px solid #878C82;
  border-radius: 5px 5px 5px 5px;
    -webkit-border-radius: 5px 5px 5px 5px;
    -moz-border-radius: 5px 5px 5px 5px;
  box-shadow: #878c82 0.2em 0.2em 0.2em;
	-webkit-box-shadow: #878c82.2em 0.2em 0.2em;
	-moz-box-shadow: #878c82 0.2em 0.2em 0.2em;
  margin: 0px 0px 10px 0px;
  text-align: left;
  padding: 5px;


}


.content .helpNote div{

margin: 0px auto;
width: 400px;

}



/* display option tick box on search forms */

input#StoneDataWhichtype {

margin-bottom: 5px;
}



/** Scaffold View **/
dl,
table.stoneInfo {
	line-height: 2em;
	margin: 0em 0em;

}
dl .altrow,
table .altrow th,
table .altrow td,
table tbody th.altrow,
table tbody td.altrow
{
	background: #e5ebe8 url("images/transTexture.png") repeat top left;
}

table th,
table td
{
border: 1px solid #878C82;
}


dt {
	font-weight: bold;
	padding-left: 4px;
	vertical-align: top;
}
dd {
	margin-left: 20em;
	margin-top: -2em;
	vertical-align: top;

}


.view dl {
  float: left;
   height: 100%;
  margin-right: 260px;
  width: auto;
}

/* narrow column for stone images */

div.stoneimages  {


  }

div.stoneimages a {
  border: 4px solid #ECF2F6;
}
/** CakePHP Notices and Errors **/
div.message {
	clear: both;
	color: #333;
	font-size: 140%;
	font-weight: bold;
	margin: 0 0 1em 0;
	background: #c73e14;
	padding: 5px;
}
div.error-message {
	clear: both;
	color: #bf0000;
	background: #ffbfbf;
	border-color: #bf0000;
	font-weight: bold;
}
p.error {
	color: #bf0000;
	background: #ffbfbf;
	border-color: #bf0000;
	font-family: Courier, monospace;
	font-size: 120%;
	line-height: 140%;
	padding: 0.8em;
	margin: 1em 0;
}
p.error em {
	color: #000;
	font-weight: normal;
	line-height: 140%;
}
.notice {
	color: #725600;
	background: #ffffbf;
	border-color: #bfbf00;
	display: block;
	font-family: Courier, monospace;
	font-size: 120%;
	line-height: 140%;
	padding: 0.8em;
	margin: 1em 0;
}
.success {
	color: #00bf00;
	background: #dfffbf;
	border-color: #00bf00;
}



/* funder logo */

div.support 
{
    margin: 5px auto;
    text-align: center;
}


div.support span.fundedBy
{
  font-size: 1.2em;
  font-style: italic;
  text-align: center;
}

div.support a
{
  display: block;
  margin: 15px auto;
  text-indent: -90000px;
  

}


a#eff 
{
  background: transparent url("images/logos/eff.png") no-repeat top center;
  height: 75px;
  width: 200px;
}

a#oum
{
  background: transparent url("images/logos/oum.png") no-repeat top center;
  height: 159px;
  width: 138px;
}


a#ox
{
  background: transparent url("images/logos/oxCrest.png") no-repeat top center;
  border: 1px #fff solid;
  box-shadow: #d1cfbc 0.3em 0.3em 0.3em;
    -webkit-box-shadow: #d1cfbc.3em 0.3em 0.3em;
    -moz-box-shadow: #d1cfbc 0.3em 0.3em 0.3em;
  height: 105px;
  margin-top: 30px;
  width: 105px;
}



/* browse Views  options link buttons */


.grid_4 div.submenu ul.menu li.browseViews h3 {

  clear: both;
  text-align: center;
}


.grid_4 div.submenu ul.menu li.browseViews 
{
  border-bottom: 1px solid #878b82;
  clear: both;
  display: block;
  text-align: center;
  }
  
 .grid_4 div.submenu ul.menu li.browseViews div.viewOptions
{ 
  margin: 0px auto 40px auto;
  width: 89px;
}

.grid_4 div.submenu ul.menu li.browseViews a
{
   background: transparent url("images/viewOptions.png") repeat 0px 0px ;
   border: 1px solid #fff2d9;
   clear: none;
   display: block;
   float: left;
   height: 25px;
   margin: 1px;
   padding: 0px;
   text-indent: -9000px;
   width: 25px;
  
}

.grid_4 div.submenu ul.menu li.browseViews a.thumbs
{
  background-position: 25px 0px;
}


.grid_4 div.submenu ul.menu li.browseViews a.gallery
{
  background-position: 50px 0px;
}


.grid_4 div.submenu ul.menu li.browseViews a.list:hover,
.grid_4 div.submenu ul.menu li.browseViews a.list:focus
{
  background-position: 0px 25px;
}



.grid_4 div.submenu ul.menu li.browseViews a.thumbs:hover,
.grid_4 div.submenu ul.menu li.browseViews a.thumbs:focus
{
  background-position: 25px 25px;
}


.grid_4 div.submenu ul.menu li.browseViews a.gallery:hover,
.grid_4 div.submenu ul.menu li.browseViews a.gallery:focus
{
  background-position: 50px 25px;
}


