.clearfix:after { content: "."; display: block; height: 0; clear: both; visibility: hidden; }
.clearfix { display: inline-block; }
* html .clearfix { height:1%; }
.clearfix { display:block; }

.dnone {display: none;}
.dblock {display: block;}
.dinline {display: inline;}
.fright {float: right;}
.fleft {float: left;}
.wide {width: 100%;}
.wide2 {width: 49%;}
.wide3 {width: 33%;}
.wide4 {width: 24%;}
.bold {font-weight: bold;}
.tright {text-align: right;}
.tleft {text-align: left;}
.tcenter {text-align: center;}
.prelative {position: relative;}
.pabsolute {position: absolute;}

a {outline: 0;}
a img {border:medium none;}

/* Debugging */
pre {
    color: #000;
    background: #f0f0f0;
    padding: 1em;
    text-align: left;
}

pre.cake_debug {
    background: #ffcc00;
    line-height: 18px;
    margin: 4px 2px;
    overflow: auto;
    position: relative;
}

div.cake-stack-trace {
    background: #fff;
    color: #333;
    margin: 4px 2px;
    padding: 4px;
    line-height: 18px;
    overflow: auto;
    position: relative;
}

div.cake-code-dump pre {
    position: relative;
    overflow: auto;
}

div.cake-stack-trace pre,div.cake-code-dump pre {
    color: #000000;
    background-color: #F0F0F0;
    border: 1px dotted #606060;
    margin: 4px 2px;
    padding: 4px;
    overflow: auto;
}

div.cake-code-dump pre,div.cake-code-dump pre code {
    clear: both;
    line-height: 5px;
    margin: 4px 2px;
    padding: 4px;
    overflow: auto;
}

div.cake-code-dump span.code-highlight {
    background-color: #FFFF00;
}

table.cake-sql-log{
    border-spacing: 1px;
    border: 0 none;
    text-align: left;
    vertical-align:top;
    font-size: 9px;
    color: #000;
    background: #ccc;
}
table.cake-sql-log caption{
    margin: 2em 0 0 0;
    background:#c0c0c0;
    border-top: 1px solid #777;
}
table.cake-sql-log th{
    background:#ccc;
    font-weight: normal;
    color: #000;
}
table.cake-sql-log td{
    color: #000;
    background: #eee;
}

/* NOTIFICATIONS */
.notice-wrap {
    position: fixed;
    bottom: 8px;
    right: 8px;
    width: 250px;
    z-index: 9999;
}

* html .notice-wrap {
    position: absolute;
}
.notice-item {
	height: auto;
	background: #333;
    opacity: 0.9;
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
    border-radius: 4px;
	color: #eee;
	padding: 14px 14px 14px 14px;
	font-size: 11px;
    font-weight: bold;
	border: 2px solid #999;
	display: block;
	position: relative;
/*	margin: 0 0 12px 0;*/
	margin: 8px 0 0 0;
}
.notice-item p {
    margin: 0;
    padding: 0;
}
.notice-item-close {
    position: absolute;
    font-family: sans-serif;
    font-size: 11px;
    font-weight: bold;
    right: 1px;
    top: 1px;
    cursor: pointer;
}
.notice-item-warning {
    color: white;
    border-color: #FCBD57;
}
.notice-item-error {
    color: white;
	background: #500;
    border-color: #B32B2B;
}
.notice-item-auth {
    color: white;
    border-color: #B32B2B;
}
.notice-position-top-right {
    position: fixed;
    top: 20px;
    right: 20px;
}
.notice-position-center {
    position: absolute;
    left: 50%;
    margin-left: -140px;
    margin-top: -40px;
    top: 50%;
}
.notice-position-middle-bottom {
    position: absolute;
    left: 50%;
    margin-left: -140px;
    margin-top: -40px;
    top: 75%;
}
