/**
 *
 * Generic CSS for CakePHP
 *
 * CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
 * Copyright 2005-2010, Cake Software Foundation, Inc. (http://cakefoundation.org)
 *
 * Licensed under The MIT License
 * Redistributions of files must retain the above copyright notice.
 *
 * @copyright     Copyright 2005-2010, Cake Software Foundation, Inc. (http://cakefoundation.org)
 * @link          http://cakephp.org CakePHP(tm) Project
 * @package       cake
 * @subpackage    cake.app.webroot.css
 * @since         CakePHP(tm)
 * @license       MIT License (http://www.opensource.org/licenses/mit-license.php)
 */

* {
	margin:0;
	padding:0;
}

/** General Style Info **/

body{
  border: 0px;
  padding: 0px;
  margin: 0px;
  font-family:verdana,helvetica,arial,sans-serif;
  font-size:12pt;
  font-family: sans-serif;
}
 
.transbox h2, .transbox h3 {
  margin-top: 10px;
  margin-bottom: 5px;
} 
.transbox h3 {
  font-weight: normal;
  font-size: 14pt;
}

.transbox p {
  margin-top: 4px;
  margin-bottom: 6px;
}

/* the background image, used, partly set by php */
img.bgimage {
  z-index:-1;
  position: fixed;
  left: 0;
  overflow: hidden;
}
/* the background image, used, contains an <img> */
div.bgimage {
  z-index:-1;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
/* right shadow of the main column, used */
div.shadowbox_r {
  /*z-index:0;*/
  background:url(../img/shadow-h.png) right repeat-y;
  position: fixed;
  top: 0;
  left: 800px;
  height: 100%;
  width: 8px;
}
/* left shadow of the main column, used */
div.shadowbox_l {
  /*z-index:0;*/
  background:url(../img/shadow-h2.png) right repeat-y;
  position: fixed;
  top: 0;
  left: 242px;
  height: 100%;
  width: 8px;
}
/* blending out the title bar, used because IE has no rgba */
div.mainTitleBackground {
  background-color: #444;
  margin: 0;
  padding: 0;
  border: 0;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 75px;
  /* for IE */
  filter:alpha(opacity=90);
  /* CSS3 standard */
  opacity:.9;
}
/* shadow the title bar, used  */
div.mainTitleShadow {
  z-index:2;
  background:url(../img/shadow-v.png) bottom repeat-x;
  position: fixed;
  top: 75px;
  left: 0px;
  width: 100%;
  height: 8px;
}
/* the main title bar, background is set above, used */
div.mainTitle {
  z-index:2;
  position: fixed;
  top: 0px;
  left: 0;
  width: 100%;
  height: 50px;
  padding:5px 40px 25px;
  /*background-color: #555;
  /* border-top: 2px solid #999;
  border-bottom: 2px solid #999; */
  margin-top: 10px;
  border: 0; 
  /* for IE *
  filter:alpha(opacity=50);
  /* CSS3 standard 
  opacity:.5;*/
  color: #fff;
}
div.mainTitle h1 {
  font-weight: bolder;
  font-size: 25px;
  padding: 0;
  margin: 0;
  text-shadow: #000 0px 0px 5px;
}
div.mainTitle a {
  text-decoration: none;
  color: #fff;
}
/* box containing the bg of the content, used because of missing rgba in ie, rename */
div.mainbox
  {
  z-index:0;
  position: fixed; 
  top:0; left:250px; 
  width:550px;
  height:100%;
  margin:0px;
  padding:0px;
  padding-top:100px;
  border: 0px solid white;

  background:#fff; 
  
  /* for IE */
  filter:alpha(opacity=50);
  /* CSS3 standard */
  opacity:0.5;
  }
div.transbox h2 {
  text-shadow: #666 1px 1px 4px;
}
div.nextbtn, div.prevbtn
  {
  z-index: 5;
  position: fixed; 
  top:0; 
  width: 35px;
  height:100%;
  padding: 0;
  border: 0px;  
  margin: 0px;
  /* for IE */
  filter:alpha(opacity=10);
  /* CSS3 standard */
  opacity:0.1;

}
div.nextbtn a, div.prevbtn a {
  color:  #fff;
  font-weight: bolder;
  font-size: 30px;
  text-decoration:  none;
  text-align: center;
  padding: 0px 15px 0px 5px;
  display: block;
  height: 100%;    
}
div.prevpreview {
  left: 50px;  
}
div.nextpreview {
  right: 50px;  
}
div.prevpreview, div.nextpreview {
  z-index: 10;
  position: fixed; 
  /*top:0;*/
  height:100%;
  padding: 0;
  margin: 0;
  border: 0;  
  /*margin: 0px;
  /* for IE *
  filter:alpha(opacity=90);
  /* CSS3 standard *
  opacity:0.9; */
  /* todo hide in css, show with $j   
  visibility: hidden; */
}
div.nextpreview  img {
  right: 0;
}
div.prevpreview img, div.nextpreview  img{
  /* center vertically */
  position: absolute;
  top:0;
  bottom:0;
  margin:auto;
  display: block;
  /* small adjustment *
  padding-bottom: 20px; */
  
  color:  #fff;
  font-weight: bolder;
  font-size: 30px;
  text-decoration:  none;
  border: 4px solid #aaa;
  border: 4px solid rgba(200,200,200,.5);
  
  -webkit-box-shadow: 0px 0px 6px #aaa;
  -moz-box-shadow: 0px 0px 6px #aaa;
  
  -webkit-border-radius: 2px;
  -moz-border-radius: 2px;
}

div.nextbtn a span, div.prevbtn a span {
  top:45%; 
  position: relative;
  vertical-align: middle;
}
div.nextbtn {
  right:0; 
}
div.prevbtn {
  left:0;
}
div.nextbtn:hover, div.prevbtn:hover {
  color: white;
  /* for IE */
  filter:alpha(opacity=100);
  /* CSS3 standard */
  opacity:1;
}
/*
div.filler {
  position: absolute; 
  top:0; left:0;  
  width: 100%;
  height: 100%;
  background-color: #fff;
  /* for IE *
  filter:alpha(opacity=30);
  /* CSS3 standard *
  opacity:0.3;
}*/

/* container for menu, used */
div.menubox
  {
  position: fixed; 
  /*top:150px; */
  top: 35%;
  left:50px; 
  width:150px;
  height:200px;
  padding:0px;
  /*padding-top:100px;*/

  border: 0px;
  margin: 0px;
}
/* possibly merge with div.menubox? used */
div.menubox ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  width: 150px;
}
div.menubox li {
  height: 20px;
  padding: 5px 8px;
  background: rgb(100,100,100);
  background: rgba(255,255,255,0.2);
  
  /* IE: */
  filter:alpha(opacity=80);

  border-left: 8px solid rgb(200,200,200);
  border-left: 8px solid rgba(255,255,255,0.0);
}
div.menubox li.current {
  background: rgb(150,150,150);
  background: rgba(255,255,255,0.4);
 /* IE: */
  filter:alpha(opacity=60);  
}
div.menubox li:hover {
  border-left: 8px solid rgb(255,255,255);
  border-left: 8px solid rgba(255,255,255,0.5);
}
div.menubox li.current:hover {
  border-left: 8px solid rgb(255,255,255);
  border-left: 8px solid rgba(255,255,255,0.4);
}
div.menubox li a {
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
  color: #bbb;
}
div.menubox li a:hover {
  color: #fff;
}
div.menubox:hover  {
  margin:0px;
  border: 0px;
}
/*
div.menubox:hover div.filler {
  /* for IE *
  filter:alpha(opacity=60);
  /* CSS3 standard *
  opacity:0.6;
}
/* the container around the main content, used, rename */
div.transbox
  {
/*  z-index:3;*/
  position: absolute; 
  top:0; left:250; 
  width:500px; height:100%;
  margin: 130px 125px 0px 270px;
  padding:0px;
  padding-bottom: 150px;
  border: 0px 
}
div.transbox p {
  margin: 10px 0px;
  /* font-weight:bold; */
  color: #000000;
  }
div.footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 15px;
  padding: 3px 50px;
  background-color: #000;
  color: #fff;
  font-size: 10px;
  /* for IE */
  filter:alpha(opacity=60);
  /* CSS3 standard */
  opacity:0.6;
}
div.footer a {
  text-decoration: none;
  color: #fff;
}
div.footer a:hover {
  text-decoration: underline;
}

/* turn of the lights */
div#lightroom {
  z-index: 15;
  position: fixed;
  top: 15px;
  right: 15px;
  width: 50px;
  height: 50px;
  background:url(../img/lightroom.png) right no-repeat;
}
div#lightroom:hover {
  background:url(../img/darkroom.png) right no-repeat;
}

div.shadow_box {
  /*
  z-index:22;
  position: absolute;
  top:150px;
  left: 300px;
  width:400px;
  height:200px;
  */
  margin-left: auto;
  margin-right: auto;
  width:400px;
  height:200px;
  padding: 34px;
  clear: both;
  background:url(../img/shadowbox.png) top left no-repeat;
}

div.footer .footertooltip {
  display:none;
  left:820px; bottom:20px; /*margin-top:-26px; */
  width:160px;
  color: #000;
}
div.footer .footertooltip  a {
  color: #000;
}
div.footer:hover .footertooltip {
  z-index:14;
  opacity: .9;
  display: inline; 
  position:absolute; 
  background:url(../img/arrow-b-white.png) bottom left no-repeat;
  padding:0;
  padding-bottom:28px;
  vertical-align: bottom;
}
.footertooltip span{
  display: block;
  margin-bottom: 0;

/*  height: 100%;*/
  border:9px solid #6c6c6c; color: black;/*;*/
  border-bottom: 0;
  padding: 10px;
  background-color: #fff;
}

a.blockLink {
  display: block; 
  padding: 15px; 
  margin: 5px;
  text-align: center;
  background-color: rgb(100,100,100); 
  background-color: rgba(100,100,100,.5); 
  border: 3px solid #666;
  text-decoration: none;
  color: #000;
  -webkit-box-shadow: 5px 5px 8px #818181;
  -moz-box-shadow: 5px 5px 8px #818181;
}

a.blockLink:hover {
  background-color: rgb(150,150,150); 
  background-color: rgba(100,100,100,.2);   
}

/* Blog */
.blogContent {
  width: 100%;
  padding: 5px;
  -webkit-box-shadow: 0px 0px 4px #888;
  -moz-box-shadow: 0px 0px 4px #888;

}
.blogContent .blogNext,  .blogContent .blogPrev {
  background-color: #333;
  color: #fff;
  padding: 5px 15px;
  margin: 15px 0px;
  display: block;
  width: 30%;
  text-decoration: none;
}
.blogContent .blogNext:hover,  .blogContent .blogPrev:hover {
  background-color: #444;
  color: #fff;
}
.blogContent .blogNext {
  position: relative;
  right: 0;
  bottom: 0;
  float: right;
  -webkit-border-top-right-radius: 12px;
  -webkit-border-bottom-right-radius: 12px;
  -moz-border-radius-topright: 5px;
  -moz-border-radius-bottomright: 5px;
  text-align: right;
}

.blogContent .blogPrev {
  float: left;
  right: 0;
  left: 0;
  -webkit-border-top-left-radius: 12px;
  -webkit-border-bottom-left-radius: 12px;
  -moz-border-radius-topleft: 5px;
  -moz-border-radius-bottomleft: 5px;
}

h2, h3 {
  clear: both;
}

.notbold {
  font-weight: normal;
}

.box2, .box3 {
  float: left;
}
.box, .box2, .box3 {
  display: block;
  background-color: #ccc;
  background-color: rgba(200,200,200,.5);
  border: 1px solid #888;
  margin-top: 5px;
  margin-bottom: 5px;
  padding:8px;
  text-decoration: none;

  -webkit-box-shadow: 1px 1px 3px #222;
  -moz-box-shadow: 0px 0px 5px #000;  
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;  
}
.box  {
  width: 100%;
}
.box3 {
  width: 25%;
  height: auto;
  min-height: 65px;
  margin-right: 15px;
}
.box2 {
  width: 210px;
  height: auto;
  margin-right: 15px;
}

a.box:hover , a.box2:hover , a.box3:hover {
  border: 1px solid #000;
  background-color: #ddd;
  background-color: rgba(140,140,140,.8);
}

.imgBox {
  display: block;
  width: 140px;
  height: 130px;
  overflow: hidden;
  float: left;
  text-align: center;
  background-color: #222;
  background-color: rgba(20,20,20,.7);
  border: 3px solid #222;
  margin: 5px;
  padding:5px 2px;
  color: #ccc;
  text-decoration: none;
  font-size: 12px;
}

a.imgBox:hover {
  border: 3px solid #000;
  background-color: rgba(20,20,20,.8);
  color: #ddd;
}

.imgBox img {
  margin: 5px auto 7px auto;
  display: block;
  clear: both;
  -webkit-box-shadow: 1px 1px 3px #222;
  -moz-box-shadow: 0px 0px 5px #000;  
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
}
  
a {
  color: #222;
}

a:hover {
  color: #444;
}
a img {
	border:none;
}
a.spritelink {
  height: 22px;
  width: 22px;
  overflow: hidden;
  padding: 0px;
  margin: 2px 2px;
  text-decoration: none;
  vertical-align: bottom;
  float: left;
}
.sprite {
  margin: 2px;
  margin-top:3px;
  float: left;
  height: 18px !important;
  width: 18px;
  overflow: hidden;;
  background: url(../img/widgetsprites.png) no-repeat; 
}

a.spritelink:hover {
  width: auto;
  height: 22px;
}


/** Layout **/
#container {
}

#header{
}

#content{
}
#footer {
}

/** containers **/
div.form,
div.index,
div.view {
}
div.actions {
}


/** Tables **/
table {
	background: #fff;
	border-right:0;
	clear: both;
	color: #333;
	margin-bottom: 10px;
	width: 100%;
}
th {
	border:0;
	border-bottom:2px solid #555;
	text-align: left;
	padding:4px;
}
th a {
	display: block;
	padding: 2px 4px;
	text-decoration: none;
}
th a.asc:after {
	content: ' ?';
}
th a.desc:after {
	content: ' ?';
}
table tr td {
	background: #fff;
	padding: 6px;
	text-align: left;
	vertical-align: top;
	border-bottom:1px solid #ddd;
}
table tr:nth-child(2n) td {
	background: #f5f5f5;
}
table .altrow td {
	background: #f5f5f5;
}
td.actions {
	text-align: center;
	white-space: nowrap;
}
table td.actions a {
	margin: 0px 6px;
	padding:2px 5px;
}
.cake-sql-log table {
	background: #f4f4f4;
}
.cake-sql-log td {
	padding: 4px 8px;
	text-align: left;
	font-family: Monaco, Consolas, "Courier New", monospaced;
}
.cake-sql-log caption {
	color:#fff;
}

/** Notices and Errors **/
div.message {
	clear: both;
	color: #fff;
	font-size: 140%;
	font-weight: bold;
	margin: 0 0 1em 0;
	background: #c73e14;
	padding: 5px;
}
div.error-message {
	clear: both;
	color: #fff;
	font-weight: bold;
	background: #c73e14;
}
p.error {
	background-color: #e32;
	color: #fff;
	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 {
	background: #ffcc00;
	color: #000;
	display: block;
	font-family: Courier, monospace;
	font-size: 120%;
	line-height: 140%;
	padding: 0.8em;
	margin: 1em 0;
}
.success {
	background: green;
	color: #fff;
}

