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

body {
	background: #eee;
	color: black;
	font-size: 12px;
	padding: 0 0 140px;
}


/* anchors
----------------------------------------------- */
a {
	color: blue;
	font-weight:bold;
	text-decoration: none;
}
a:hover {
	color:#333;
}

/*.show_userbox{
	background:#fff;
	position: fixed;
	float: right;
}*/

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


/* headings
----------------------------------------------- */
h1, h2, h3, h4, h5, h6 {line-height:1.2em; margin-bottom:.3em;}
h2 {margin-top:1em;}
h5 {font-size:1.2em;}
h6 {font-size:1em; text-transform:uppercase;}


h1 a {
	font-weight:normal;
}


/* branding
----------------------------------------------- */
h1#branding {
	font-weight: bold;
        color: #fff;
        background: #27507e;
        text-shadow: 2px 2px 10px #FFF;
        padding-left: 5%;
}

@media only screen
  and (min-device-width: 320px)
  and (max-device-width: 568px)
  and (-webkit-min-device-pixel-ratio: 2)
  and (orientation: portrait) {

        h1#branding {
		font-weight: bold;
	        color: #fff;
	        background: #27507e;
	        text-shadow: 2px 2px 10px #FFF;
	        padding-left: 30%;
	        display: none;
	}
}

img#branding{
	height: 120px;
	width: 120px;
}

h1#header {
	background:#fff;
	color: #003d4c;
	font-size: 2.4em;
    float: left;
    margin-top: 0px;

}

h1 p em{
	font-weight: normal;
	font-size: 10px;
	/*position: absolute;*/
    /*padding-top: 70px;*/
}

h1 p{
	font-size: 20px;
    text-shadow: 2px 2px 10px #FFF;
    position: absolute;
    /*padding-left: 215px;
    padding-top: 92px;*/
    top: 60px;
    left: 42%;
}

a#branding{
	color: #fff;
	border-bottom:1px solid #ccc;
}


/* page heading
----------------------------------------------- */
h2#page-heading {
        font-weight: bold;
        color: #fff;
        text-align: center;
        font-size: 20px;
        padding: 0px 2em 1em;
        margin: 0px 0 10px 0;
        background: #27507e;
        border-bottom: 1px solid #ccc;
        text-shadow: 2px 2px 10px #FFF;
}






/* boxes
----------------------------------------------- */
.box {
	background:#ddd;
	margin-bottom:20px;
	padding:10px 10px 1px 10px;
}
.box h2 {
	font-size:1em;
	font-weight:normal;
	text-transform:uppercase;
	color:#fff;
	background:#333;
	margin:-10px -10px 0 -10px;
	padding:6px 12px;
}
.box h2 a,
.box h2 a.visible {
	color:#fff;
	background:#333 url("../img/switch_minus.gif") 97% 50% no-repeat;
	display:block;
	padding:6px 12px;
	margin:-6px -12px;
	border:none;
}
.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("../img/switch_plus.gif");
}
.box h2 a:hover {
	background-color:#111;
}
.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 {
	font-family: Georgia, 'Times New Roman', serif;
	font-size:1.2em;
	padding-left:1em;
	border-left:4px solid #ccc;
}
blockquote cite {
	font-size:.9em;
}
ul, ol {
	padding-top:0;
}


/* menus
----------------------------------------------- */
ul.menu {
	list-style:none;
	border-top:1px solid #bbb;
}
ul.menu li {
	margin:0;
}
ul.menu li a {
	display:block;
	padding:4px 10px;
	border-bottom:1px solid #ccc;
}
ul.menu li a:hover {
	background:#eee;
}
ul.menu li a:active {
	background:#ccc;
}


/* submenus
----------------------------------------------- */
ul.menu ul {
	list-style:none;
	margin:0;
}
ul.menu ul li a {
	padding-left:30px;
}


/* section menus
----------------------------------------------- */
ul.section {
	border-top:0;
	margin-bottom:0;
}
ul.section li {
	text-transform:uppercase;
}
ul.section li a {
	background:#bbb;
}
ul.section li a:hover {
	background:#aaa;
}
ul.section li a:active {
	color:#fff;
	background:#666;
}
ul.section li li a {
	background:#ddd;
	border-bottom:1px solid #eee;
}
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:#eee;
	border-bottom:1px solid #fff;
}
ul.section ul.current li a:hover {
	background:#ddd;
}
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;
}


/* table
----------------------------------------------- */
table#userInfo {
		/*position: absolute;*/
        border:none;
        float: right;
        margin-right: 40px;
        margin-top: -30px;
}

td#userInfoLeft{
	background: #27507E;
	border: 0;
	text-align: right;
}
td#userInfoRight{
	background: #27507E;
	border: 0;
	text-align: left;
    text-shadow: 2px 2px 8px #E1E7EC;
}

table {
	width:100%;
	border:1px solid #bbb;
	margin-bottom:10px;
}
col.colC {
	width:8em;
}
th, td {
	padding:.2em 1em;
	text-align:left;
}
thead th {
	border-bottom:2px solid #888;
	background:#bbb;
	padding:.4em 1em .2em;
}
thead th.table-head {
	font-size:1em;
	font-weight:normal;
	text-transform:uppercase;
	color:#fff;
	background:#555;
	border:1px solid #555;
}
tbody th{
	border-top:1px solid #bbb;
	border-bottom:1px solid #bbb;
	background:#f8c731;
	font-size: 1em;
	font-weight: bold;
}
tbody td {
	border-top:1px solid #bbb;
	border-bottom:1px solid #bbb;
	background:#fff;
}
tbody tr.odd th,
tbody tr.odd td {
	background:#fff;
}
tfoot th,
tfoot td {
	border-top:2px solid #666;
	background:#eee;
}
tfoot tr.total th,
tfoot tr.total td {
	border-top:6px double #666;
}
tfoot tr.total th {
	text-transform:uppercase;
}

th.currency,
td.currency {
	text-align:right;
}
tfoot.dark th, tfoot.dark td {
	background: #bbbbbb;
}


/* forms
----------------------------------------------- */
form {
	overflow:hidden;
}
fieldset {
	border:1px solid #bbb;
	padding:10px;
	position:relative;
	background:#e9e9e9;
	margin-bottom:10px;
}
legend {
	color: #e32;
	font-size: 160%;
	font-weight: bold;
	padding:.4em .8em;
	background:#fff;
	border:1px solid #bbb;
}
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;
	text-transform:uppercase;
	margin-bottom:.5em;
}
.article a.image {
	float:left;
	margin:3px 10px 3px 0;
	padding:4px;
	border:1px solid #bbb;
	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: #eee;
	border-bottom: 1px solid #ddd;
	border-right: 1px solid #ddd;
	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: #888;
}
#kwick .four {
	background: #999;
}
/* Main Nav Current States */
ul.nav li a.current {
	background: #888;
}

/* CakePHP Specific */
div#flashMessage {
	/*padding: 10px;
	margin: 0px 13px 10px 11px;
	border: 1px dashed #888;
	background: red;
	font-size: 14px;*/
	background: #ffcc00;
	background-repeat: repeat-x;
	background-image: -moz-linear-gradient(top, #ffcc00, #E6B800);
	background-image: -ms-linear-gradient(top, #ffcc00, #E6B800);
	background-image: -webkit-gradient(linear, left top, left bottom, from(#ffcc00), to(#E6B800));
	background-image: -webkit-linear-gradient(top, #ffcc00, #E6B800);
	background-image: -o-linear-gradient(top, #ffcc00, #E6B800);
	background-image: linear-gradient(top, #ffcc00, #E6B800);
	text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
	border: 1px solid rgba(0, 0, 0, 0.2);
	margin-bottom: 18px;
	padding: 7px 14px;
	color: #404040;
	text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
	-webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);
	-moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
div.flash-error {
	/*color: #bf0000;
	background: #ffbfbf !important;
	border-color: #bf0000 !important;*/
	background: #9E2424;
	background-repeat: repeat-x;
	background-image: -moz-linear-gradient(top, #9E2424, #9E2424);
	background-image: -ms-linear-gradient(top, #9E2424, #9E2424);
	background-image: -webkit-gradient(linear, left top, left bottom, from(#9E2424), to(#9E2424));
	background-image: -webkit-linear-gradient(top, #9E2424, #9E2424);
	background-image: -o-linear-gradient(top, #9E2424, #9E2424);
	background-image: linear-gradient(top, #9E2424, #9E2424);
	text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
	border: 1px solid rgba(0, 0, 0, 0.2);
	margin-bottom: 18px;
	padding: 7px 14px;
	color: #fff;
	font-size: 16px;
	text-shadow: 0 1px 0 black;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
	-webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);
	-moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
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;
        margin: 15px;
        margin-left: 30px;
}
/*.text input {
	width: 350px;
	height: 32px;
}*/

.password input{
        width: 350px;
	height: 32px;
}

input[type=checkbox] {
	clear: left;
	float: left;
	margin: 5px 6px 7px 2px;
	width: auto;

}
div.checkbox label {
	margin-top: 15px;
	//display: inline;
}
.input label {
	//width: 100px;
	text-align: left;
	display: block;
	//float: left;
	margin: 0px 5px 0px 0px;
	padding: 2px 0px 0px 0px;
}
.text label {
	padding: 6px 0px 0px 0px;
}
.form-submit-group {
	float: right;
	margin: 0px 0px 5px 0px;
}
.form-submit-group .submit {
	float: left;
}

/*input[type=submit] {
	display: inline;
	font-size: 110%;
	width: auto;
}
form .submit input[type=submit] {
	background:#62af56;
	background-image: -webkit-gradient(linear, left top, left bottom, from(#76BF6B), to(#3B8230));
	background-image: -webkit-linear-gradient(top, #76BF6B, #3B8230);
	background-image: -moz-linear-gradient(top, #76BF6B, #3B8230);
	border-color: #2d6324;
	color: #fff;
	text-shadow: rgba(0, 0, 0, 0.5) 0px -1px 0px;
	padding: 8px 10px;
}
form .submit input[type=submit]:hover {
	background: #5BA150;
}*/

.form-cancel {
	float: left;
	padding-top: 5px;
	margin-right: 5px;
}
/** Scaffold View **/
dl {
	line-height: 2em;
	margin: 0em 0em;
	width: 60%;
}
dl .altrow {
	background: #f4f4f4;
}
dt {
	font-weight: bold;
	padding-left: 4px;
	vertical-align: top;
}
dd {
	margin-left: 10em;
	margin-top: -2em;
	vertical-align: top;
}
/** CakePHP Notices and Errors **/
div.message {
	clear: both;
	color: #FBF8F8;
	font-size: 140%;
	font-weight: bold;
	margin: 0 0 1em 0;
	background: #C73A0F;
	padding: 5px;
}
div.error-message {
	clear: both;
	color: #bf0000;
	background: #ffbfbf;
	border-color: #bf0000;
	font-weight: bold;
}

h2.error-header{
	position: fixed;
    top: 200px;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    font-size: 48px;
    font-weight: bold;
}
p.error {
	position: fixed;
    top: 410px;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);

    padding: 25px;
    border-radius: 5px;
    border: 2px solid #EF3232;
    text-align: center;
    font-weight: bold;
    font-size: 2em;
    box-shadow: 0 16px 16px rgba(53, 10, 10, 0.55);
	/*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%;
	font-size: 18px;
}
.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;
}

/* jQuery UI Stuff */
#ui-datepicker-div {
	background: #fff;
	padding: 5px;
	border: 1px solid #eee;
}
a.ui-datepicker-prev {
	width: 35px;
	float: left;
	text-align: left;
}
a.ui-datepicker-next {
	width: 35px;
	float: right;
	text-align: right;
}
div.ui-datepicker-title {
	text-align: center;
}
table.ui-datepicker-calendar {
	padding-bottom: 0px;
	margin-bottom: 0px;
}

div.menu{
    float: left;
    width: 70%;
}

div.userInfo{
    color: #F8C731;
    font-size: 16px;
    float: right;
    margin-top: -90px;
    text-shadow: 0px 0px 18px #020202;
    margin-right: -40px;
}

div.cls{
    clear: both;
}

/*div#Basic tbody td{
    background: none;
    border:none;
}
div#Basic table{
    border:none;
}*/

.btn-primary{
    margin: 10px;
}

div.submit ~ a {
    margin: 10px;
}

div.input select{
    width:51%;
    font-size: 17px;
}

div.dbSelect{
    margin: 20px;
    margin-left: 1px;
    border: 1px solid #aaaaaa;
    padding: 10px;
    border-radius: 10px;
    width: 70%;
    float: left;
}
