/* CSS Document */

/* ============================= */
/* ======= Category Tree ======= */
/* ============================= */


.collapsed ul {
    display: none;
}

#category_tree{
    position:relative;
    z-index:800;
    width:320px;
	background:url(../img/bg_cat2.jpg) repeat-y;
	padding:0;
	margin:0 0 0 -8px;
}

#category_tree li {
    list-style: none;
    margin:0;
    padding:0;
}

#category_tree li {
    line-height: 1.3em;
}

#category_tree a {
    display: block !important;
}
#category_tree a:hover {
	text-decoration:none;
}

/* =========================== */
/* ===== Top Level links ===== */
/* =========================== */

#category_tree li.depth_1 {
    padding:0;
    margin:0 15px;
}
#category_tree li.depth_1 > a {
    font-size:20px;
	color:#7990db;
    padding: 4px 0;
    margin:0;
    position: relative;
	border:none;
    text-decoration:none;
    text-align:center;
}
#category_tree li.depth_1:hover {
    color:#d19b36;
    background:#1e1e72;
    border-radius:6px;
    box-shadow:inset 0 0 2px #3634a4, inset 0 0 3px #3634a4, inset 0 0 3px #3634a4, 0 3px 4px #11131c;
}
#category_tree li.depth_1:hover > a {
    color:#d19b36;
}

/* orange "arrow" */
#category_tree li.depth_1.nonleaf_category>a:hover:after {
    /* using an image
    content: url(/themes/clients/channelfireball/newhotness/assets/img/ui/cat_tree_arrow.png);
    display: block;
    width:20px;
    height:37px;
    margin:-2px -20px 0 0;
    position:absolute;
    right:0;
    top:0;
    z-index:110;
    */

    /* using css3
    content: ' ';
    height: 23px;
    margin:-1px -23px 0 0;
    position: absolute;
    right: 0;
    width: 23px;
    top: 0;
    z-index:110;

    -webkit-transform: rotate(45deg);
    -webkit-transform-origin: 0 0;
    -moz-transform: rotate(45deg);
    -moz-transform-origin: 0 0;
    -o-transform: rotate(45deg);
    -o-transform-origin: 0 0;
    -ms-transform: rotate(45deg);
    -ms-transform-origin: 0 0;
    transform: rotate(45deg);
    transform-origin: 0 0;

    background: #ef962b;
    background: -moz-linear-gradient(left top, #ef962b 0%, #b1480e 100%);
    background: -webkit-gradient(linear, left top, right bottom, color-stop(0%, #ef962b), color-stop(100%, #b1480e));
    background: -webkit-linear-gradient(left top, #ef962b 0%, #b1480e 100%);
    background: -o-linear-gradient(left top, #ef962b 0%, #b1480e 100%);
    background: -ms-linear-gradient(left top, #ef962b 0%, #b1480e 100%);
    background: linear-gradient(top, #ef962b 0%, #b1480e 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr = '#ef962b', endColorstr = '#b1480e', GradientType = 0);

    -webkit-box-shadow: 0px 3px 3px 0px #222222;
    -moz-box-shadow: 0px 3px 3px 0px #222222;
    box-shadow: 2px -1px 0px 0px #222;
    */
}

#category_tree li.depth_1>.sub_category_tree_wrapper {
    display: none;
    position: absolute;
    margin: -32px 0 0 289px;
    width: 695px;
    z-index: 20;
}

#category_tree li.depth_1>.sub_category_tree_wrapper>.sub_category_tree {
    background:#262939;
    border: 1px solid #485b9a;
    float: left;
    margin: 0;
    padding: 0;
    box-shadow:2px 2px 5px #111;
}

#category_tree li.depth_1:hover>.sub_category_tree_wrapper {
    display: block;
}

/* ======================================== */
/* == Second Level links (flyout tabs) ==== */
/* ======================================== */

#category_tree li.depth_2 {
    background: #3b3b3b;
    width: 230px;
    float: left;
    display: block;
    position:relative;
    
}

#category_tree li.depth_2 a {
    background:#262939;
    border: 0;
    border-bottom: 1px solid #2A2A2A;
    font: 13px/33px 'HelveticaMedium', Sans-Serif;
	font-weight:normal;
    line-height: 33px;
    padding: 0 10px;
	height:33px;
    text-transform:capitalize;
    color:#7990db;
}

#category_tree li.depth_2 a:hover {
	color: #d19b36;
	background:#1e1e72;
	box-shadow:inset 0 0 2px #3634a4, inset 0 0 6px 1px #3634a4;
	font-weight:normal;
}

#category_tree li.depth_2.expanded a {
	color: #d19b36;
	background:#1e1e72;
	box-shadow:inset 0 0 2px #3634a4, inset 0 0 6px 1px #3634a4;
}

#category_tree li.depth_2.expanded a:hover {
    
}

#category_tree li.depth_2 a:hover:after {
    display: none;
}

#category_tree li.depth_2>.sub_category_tree {
    display: none;
}

/* ========================================= */
/* === Third Level links (tabs expanded )=== */
/* ========================================= */

#category_tree .placeholder {
    display: none;
    width: 690px;
    overflow: hidden;
    float: left;
    background:#515674;
    -webkit-box-shadow: inset 0px 2px 5px #2d304a;
    -moz-box-shadow: inset 0px 2px 5px #2d304a;
    box-shadow: inset 0px 2px 5px #2d304a;
    border-bottom: 1px solid #3b3f55;
    padding-top: 5px;
	padding-bottom: 5px;
}

#category_tree .placeholder span {
    display: block;
    width: 690px;
}

#category_tree li.depth_3 {
    display: block;
    float: left;
    width: 230px;
}

#category_tree li.depth_3 a {
    background: none;
    border: 0;
    color: #ddd;
    font: 13px/33px 'HelveticaMedium', Sans-Serif;
    padding-left: 15px;
	text-transform:capitalize;
	height:28px;
	line-height:28px;
	overflow:hidden;
    /*
    text-shadow: 0 1px 1px #000;
    */
}

#category_tree li.depth_3 a:hover {
    background:#686d8c;
}

#category_tree li.depth_3 a:hover:after {
    display: none;
}

/* ========================= */
/* ===== Toggle Arrows ===== */
/* ========================= */

#category_tree .toggle {
	float: right;
	position: absolute;
	right: 10px;
	top: 5px;
	z-index: 45;
}

#category_tree li.depth_1 > a .toggle {
	border-top: 6px solid transparent;
	border-right: 0px solid transparent;
	border-bottom: 6px solid transparent;
    border-left: 14px solid transparent;
	margin: 3px -5px 0 0;
}
#category_tree li.depth_1:hover > a .toggle {
	border-left: 14px solid #b9973b;
}

#category_tree li.depth_2 > a .toggle {
	border-top: 7px solid transparent;
	border-right: 5px solid transparent;
	border-bottom: 7px solid transparent;
    border-left: 6px solid #555;
    margin: 5px 0px 0 0;
    z-index: 55;
	height: 0;
	width: 0;
}

#category_tree li.depth_2>a:hover .toggle {
	border-left: 6px solid #d19b36;
    z-index: 105;
}

#category_tree li.depth_2.expanded>a .toggle {
    border-left: 7px solid transparent;
	border-right: 7px solid transparent;
	border-bottom: 5px solid transparent;
	border-top: 6px solid #d19b36;
	margin: 10px 2px 0 0;
    z-index: 105;
}