.clear {
	clear: both;
	height: 0;
	overflow: hidden;
	line-height: 0;    
}

p, h1, h2, h3, td, form, ul, li, img, body, dd, dt, dl {
	margin: 0;
	padding: 0;
	border: none;
}

body {
	font-family: Arial, Helvetica, sans-serif;
	background: black;
	text-align: center;
	margin: 0;
}
a {
    color: #999999;
}
a:hover {
    color: white;
}
#main {
	margin: 0 auto 0;
	width: 980px;
        position: relative;
	text-align: left;
}
#background {
     background: black url(../images/background.gif) repeat-x;
     padding: 24px 0 0 0;
}
#logo {
	float: right;
	margin: 26px 0 0;
}
ul.info {
	padding: 0 0 25px 15px;
        line-height: 20px;  
	font-size: 13px;
        text-indent: 10px;
        
}
#menu {
	height: 68px;
}
#menu, ul#submenu {
	list-style-type: none;
	overflow: visible;
	/* autoclear */
	display: inline-block;
	display: block;
}

#menu li, ul#submenu li {
	float: left;
	margin: 0 30px 0 0;
}
ul#submenu li {
	margin: 0 26px 0 0;
}
#menu a, #menu span, #menu h1, ul#submenu a, ul#submenu span, ul#submenu h2 {
	padding: 26px 0 0 0;
	display: block;
	font-size: 20px;
	color: #999999;
	text-decoration: none;
	font-weight: normal;
}
ul#submenu a, ul#submenu span, ul#submenu h2 {
	padding: 0;
	font-size: 14px;
	font-weight: bold;
	line-height: 38px;
}
ul#submenu h2 a {
         color: white;
}
#menu span, ul#submenu span, #menu h1, ul#submenu h2 {
	color: white;
	background: url(../images/menu-selected.gif) top center no-repeat;
}
ul#submenu span, ul#submenu h2 {
	background: none;
}
#menu a:hover, ul#submenu a:hover {
	color: white;
}
* html #menu, * html ul.toolbar {
	height: 1%;
}
.toolbar div {
    background:transparent url(../images/dotted-line-horizontal.gif) repeat-x scroll center bottom;
    height:38px;
    padding:0pt 0pt 1px;
}
.toolbar {
	margin-top: 70px;
	height: 39px;
	padding: 1px 0 0 0;
	background: url(../images/dotted-line-horizontal.gif) top repeat-x;
}
.toolbar div.outer {
	height: 38px;
	padding: 0 0 1px 0;
	background: url(../images/dotted-line-horizontal.gif) bottom repeat-x;
}
.toolbar div div.left {
	background: none;
	height: auto;
	padding: 0;
	height: 38px;
	line-height: 38px;
	float: left;
}
.toolbar div.left a {
	color: #bbbbbb;
	font-weight: bold;
	text-decoration: none;
}
.toolbar div.left a:hover {
	color: white;
}
.toolbar div.left {
	font-size: 14px;
	color: #666666;
}
.toolbar div.left span {
	padding: 0 10px;
}
.toolbar div.left strong span {
	color: white;
	padding: 0;
}
.toolbar form {
	margin: 9px 0 0 0;
	float: right;
        
        color: white;
        
}
.toolbar .right {
    font-size:14px;
    line-height:38px;
    color: white;
    float: right;
    color: #666666;
}
.toolbar .right a {
    color: #999999;
    padding: 0 0 0 10px;
    font-size:14px;
    font-weight:bold;
    line-height:38px;
    text-decoration: none;
}
.toolbar .right a:hover {
    color: white;
}
.toolbar form input {
	background: none;
	width: 54px;
	margin: 0 0 0 5px;
	_margin-left: 2px;
}

.toolbar form .input {
	background: url(../images/input-background-80.gif);
	float: left;
	width: 80px;
	overflow: hidden;
	height: 20px;
	margin: 0 0 0 5px;
	display: inline;
}

.toolbar form .input input {
	width: 76px;
	display: inline;
	height: 18px;
	float: left;
	margin: 0;
	border: 0;
	padding: 2px 0 0 4px;
}
.subbar form input {
	width: 123px;
}
.subbar form .input { 
	background: url(../images/input-background-156.gif);
	width: 156px;
}
.subbar form .input input { 
	width: 152px;
}
.subbar {
	margin-top: 0;
}

.subbar div.left a {
    color: white;
}
.subbar div.left a:hover {
    border-bottom: 1px solid white;
}
.subbar .left span {
    padding: 0;
    color: #666666;
}
.subbar .right a {
    color: white;
    padding: 0;
}
.subbar .right a {
    color: white;
    padding: 0;
}
.subbar .right a:hover {
    border-bottom: 1px solid white;
}
#titlebox {
	width: 495px;
	min-height: 91px;
	float: left;
	background: url(../images/background-search.jpg) no-repeat;
	margin: 30px 0 0 0;
	padding: 30px 0 0 120px;
	color: #666666;
	font-size: 12px;
        _height: 91px;
}
#titlebox.title {
	background: url(../images/background-title.jpg) no-repeat;
}
#titlebox.title h1 {
	font-size: 30px;
	color: white;
	font-weight: normal;
}
#titlebox .input {
	background: url(../images/input-background-190.gif);
	width: 190px;
	height: 25px;
	margin: 5px 5px 0 0px;
	overflow: hidden;
	float: left;
	display: inline;
	_margin-right: 2px;
}
#titlebox input.search {
    margin: 5px 0 0 0;
}
#titlebox .input input {
	width: 185px;
	height: 21px;
	border: 0;
	padding: 0px 0 0 5px;
        margin: 5px 0 0 0;
	display: inline;
	float: left;
	background: transparent;
}
#topbox {
	width: 320px;
	background: url(../images/round-black-left.gif) no-repeat;
	float: right;
	margin: 30px 0 62px 0;
	
}
#topbox div {
	background: url(../images/round-black-right.gif) top right no-repeat;
	width: 300px;
	
	padding: 10px;
}
div#addmodelcombo, div#addmodelcombo div {
    width: auto;
    height: auto;
    min-height: 0;
    padding: 0;
    background: none;
}
#face, #cover {
	width: 320px;
	height: 320px;
	background: url(../images/round-black-left.gif) no-repeat;
	float: left;
	margin: 30px 0 62px 0;
}
#cover {
        width: 172px;
        height: 172px;
        margin-right: 10px;
}
#face div, #cover div {
	width: 298px;
	height: 298px;
	padding: 11px;
	display: block;
	background: url(../images/round-black-right.gif) top right no-repeat;
}
#cover div {
        width: 150px;
	height: 150px;
}
#model {
	float: right;
	width: 620px;
	margin: 30px 0 62px 0;
	background: url(../images/background-model.jpg) top right no-repeat;
	color: #666666;
	padding: 30px 0 0;
	font-size: 12px;
}
#model h1 {
	color: white;
	font-size: 30px;
	margin: 5px 0 65px 0;
}
#model h1 a, #titlebox h1 a {
        border-bottom: 1px dotted white;
        color: white;
        text-decoration: none;
}

#model .details, #titlebox .details {
	color: #999999;
	font-size: 18px;
}
#model .details dl, #titlebox .details dl {
	margin-top: 18px;
}
#model .details dd, #model .details dt, #titlebox .details dd, #titlebox .details dt {
	color: #cccccc;
	font-size: 12px;
	float: left;
	padding: 0 0 12px 0;
	width: 500px;
}
#titlebox .details dd {
    width: 400px;
}
#titlebox .details {
    padding: 60px 0 30px 0;
    
}
#titlebox.edit .details dd {
    width: 200px;
}
#model .details dt, #titlebox .details dt {
	color: #666666;
	width: 90px;
}
#topbox a {
	text-decoration: none;
	padding: 0 0 10px 0;
	height: 100px;
	display: block;
}
#topbox a img {
	float: left;
	margin: 0 15px 0 0;
}
#topbox a span {
	padding: 20px 0 2px 0;
	font-size: 12px;
	color: #666666;
	display: block;
}
#topbox a:hover {
	background: none;
}
#topbox a span.link {
	color: white;
	display: inline;
	padding: 0;
	font-size: 18px;
	border-bottom: 1px solid #808080;
}
#topbox a:hover span {
	border-bottom-color: white;
}
#head, #idhead {
	color: #666666;
	font-size: 11px;
	width: 980px;
	background: url(../images/dotted-line-horizontal.gif) 0 18px repeat-x;
	height: 40px;
}
#head a, #idhead a {
	color: white;
	text-decoration: none;
	border-bottom: 1px solid #666666;
}
#head a:hover, #idhead a:hover {
	border-bottom-color: white;
}
#head .left, #idhead .left {
	float: left;
	padding: 0 0 2px 0;
}
#head .right {
	float: right;
	padding: 0 0 2px 0;
}
.top#head {
	margin-top: 85px;
}
.topimage#head {
    height: 30px;
}
.header {
    display: block;
    margin: 30px 0 30px 0;
}
.header2 {
    display: block;
    margin: 0 0 30px 0;
}
.header3 {
    display: block;
    margin: 30px 0 0 0;
}
#list, #idlist {
	/* autoclear */
	display: inline-block;
	display: block;
        min-height: 40px;
	_height: 1%;
}
#list.dd-over, #idlist.dd-over {
	background: #202020;
}
#list .holder, #idlist .holder {
	background: #202020;
	float: left;
	margin: 0 0 20px 20px;
	display: inline;
}
#list.edit {
    padding: 0 5px;
}
#list .first {
	margin-left: 0 !important;
}
#list.cover .holder {
	width: 180px;
	height: 270px;
}
#list.models .holder {
	width: 180px;
	height: 180px;
}
#list.detail .holder, #idlist.detail .holder {
	width: 482px;
	height: 522px;
	position: relative;
	background: black;
        margin: 0 0 30px 16px;
}
#list.detailedit .holder, #idlist.detailedit .holder {
    width: 186px;
    height: 226px;
    margin: 0 5px 30px 5px;
}
#list.detail .title, #idlist.detail .title {
	padding: 14px 0 0 14px;
	height: 26px;
	font-size: 14px;
	color: #666666;
	background: url(../images/background-image-title.jpg) no-repeat;
}
#list.detail .title span, #idlist.detail .title span {
	color: #cccccc;
	font-weight: normal;
}
#list.detail .action {
	position: absolute;
	top: 0;
	right: 0;
	padding: 14px 0 0 0;
	height: 25px;
}
#list.detail .action a {
	font-size: 10px;
	color: #666666;
	padding: 0 2px 2px 18px;
	margin: 0 0 0 12px;
	display: block;
	float: left;
}
#list.detail .action a:hover {
	color: white;
}
#list.detail .action .zoom {
	background: url(../images/icon-enlarge.gif)  0 2px no-repeat;
}
#list.detail .action .favs {
	background: url(../images/icon-favorites.gif) 0 2px no-repeat;	
}

#list.detail .image, #idlist.detail .image {
	border: 1px solid #333333;
	width: 480px;
	height: 480px;
	display: table; 
	#position: relative; 
	text-align: center;
}
#list.detailedit .image, #idlist.detailedit .image {
    width: 184px;
    height: 184px;
}
#list.detail .image a, #idlist.detail .image a {
	display: block;
	display: table-cell; 
	vertical-align: middle;
	#position: absolute;  
	#top: 50%;
	#left: 50%;
}
#list.detail .image img, #idlist.detail .image img {
	#position: relative;  
	#top: -50%;
	#left: -50%;
	display: block;
	margin: 0 auto;
}
#navig {
	margin: 30px 0;
	text-align: center;
	height: 50px;
	line-height: 50px;
	font-size: 14px;
}
#navig img {
	margin: 0;
	padding: 0;
	overflow: hidden;
	vertical-align: middle;
}
#navig span {
	color: #333333;
	padding: 0 8px;
	vertical-align: middle;
}
#navig a {
	color: #666666;
	padding: 0 8px;
	height: 50px;
}
#navig a:hover {
	color: white;
}
#cloud {
	padding: 30px 0;
}
#cloud .left {
	float: left;
	width: 80px;
	font-size: 24px;
	color: #666666;
	padding: 4px 0px;
}
#cloud .right {
	float: left;
	width: 899px;
	background: url(../images/dotted-line-vertical.gif) left repeat-y;
	padding: 4px 0px 4px 1px;
	color: white;
	line-height: 160%;
	font-size: 11px;
}
#cloud .right div {
	width: 856px;
	padding: 0 21px 0 22px;
	text-align: justify;
	background: url(../images/dotted-line-vertical.gif) right repeat-y;
}
#cloud .right a {
	color: #666666;
	padding: 1px 3px;
}
#cloud .right a:hover {
	color: white;
}
#buttons {
	height: 122px;
	margin: 70px 0 40px 0;
}
#buttons a {
	display: block;
	float: left;
	width: 195px;
	height: 92px;
	margin: 0 0 0 10px;
	padding: 30px 0 0 125px;
	font-size: 12px;
	color: #666666;
	text-decoration: none;
}
#buttons a:hover {
	height: 92px;
}
#buttons a span {
	color: white;
	display: inline;
	font-size: 18px;
	border-bottom: 1px solid #808080;
	/* ie7 no border bug 
	*text-decoration: underline;
	_text-decoration: none;*/
}
#buttons a:hover span {
	border-bottom-color: white;
	/* ie7 no border bug */
	text-decoration: none;
}
#buttons a.first {
	margin-left: 0;
}
#buttons a.user {
	background: url(../images/box-user.jpg) no-repeat;
}
#buttons a.arrows {
	background: url(../images/box-arrows.jpg) no-repeat;
}
#buttons a.star {
	background: url(../images/box-star.jpg) no-repeat;
}
#footer {
	text-align: center;
	margin: 80px 0 18px 0;
	color: #666666;
	font-size: 12px;
}
#subfooter {
	margin: 0 0 120px 0;
	color: #333333;
	font-size: 12px;
        text-align: center;
}
#footer a {
	color: #999999;
	padding: 1px 1px;
	font-weight: bold;
	text-decoration: none;
	border-bottom: 1px solid #262626;
}
#footer a:hover {
	color: white;
	border-color: white;
}
#footer a.logo {
    padding: 0 2px;
    border: none;
    vertical-align: -3px;
}
#footer a.first {
    padding-left: 18px;
}
div.text {
	font-size: 13px;
	color: #cccccc;
	line-height: 140%;
}
.text h2 {
	color: #cc0000;
	font-size: 20px;
	font-weight: normal;
	margin: 0 0 20px 0;
}
.text p {
	margin: 0 0 20px 0;
}
.text .left {
	width: 460px;
	float: left;
	margin-right: 60px;
}
.text .right {
	width: 460px;
	float: left;
}
.text .banner {
	padding: 90px 0 30px 0;
	display: block;
}
.image .banner {
	padding: 15px 0 36px 0;
	display: block;
}
.image .banner2 {
	padding: 15px 0 60px 0;
	display: block;
}
img.panel {
	margin: 30px 0 0 0;
	display: block;
}
/* autoclear */
#menu:after, .toolbar:after, #head .right:after, #list:after {
	content: "."; display: block; height:0; clear: both; visibility: hidden;
}
#notice {
    margin: 0;
    top: 0;
    left:0;
    
}
#subnotice {
    width: 970px;
    border: 1px solid #666666;
    background: #222222;
    color: white;
    padding: 5px;
    position: absolute;
}
.fieldWithErrors {
    display: inline;    
}
.fieldWithErrors input {
    
}
#manage {
    height: 45px;
    margin-bottom: 1px solid black;
    position: relative;
    z-index: 200;
}

#manage div {
    position: fixed;
    z-index: 200;
    top: 0;
    background: white;
    right: 0;
    color: black;
    padding: 5px 10px;
    border-bottom: 6px solid #cc0000;
    width: 100%;
    height: 30px;
    line-height: 30px;
    text-align: right;
}
#manage a {
    font-size: 14px;
    color: black;
    padding: 2px 8px;
}
#manage a:hover {
    font-size: 14px;
    color: white;
    background: black;
}

/*************************** LIGHTBOX ****************************************/
#lightbox a {
    outline: none;
}
#lightbox {	position: absolute;	left: 0; width: 100%; z-index: 100; text-align: center; line-height: 0;}
#lightbox img{ width: auto; height: auto;}
#lightbox a img{ border: none; }

#lightbox #outerImageContainer{ position: relative; background-color: #fff; width: 250px; height: 250px; margin: 0 auto; }
#lightbox #imageContainer{ padding: 20px 20px 0 20px; }

#lightbox #loading{ position: absolute; top: 40%; left: 0%; height: 25%; width: 100%; text-align: center; line-height: 0; }

#lightbox #imageDataContainer{ font: 14px Arial, Helvetica, sans-serif; background-color: #fff; margin: 0 auto; overflow: hidden; width: 100%	; }

#lightbox #imageData{	padding:0 20px; color: #666;text-align: center;}
#lightbox #imageData #imageDetails{ float: left; text-align: left;height: 50px;
	line-height: 80px;
	overflow: hidden;
	font-size: 16px;
         margin-top: -50px;
}	
#lightbox #imageData #caption{ font-weight: bold;	}
#lightbox #imageData #numberDisplay{ display: block; clear: left; 	}			
#lightbox #imageData #bottomNavClose{ margin-top: -50px;width: 54px; height:20px;float: right; padding:30px 0 20px 0;}	 	

#lightbox #imageData #navigation {
	width: 280px;
	height: 50px;
	overflow: hidden;
        margin:0 auto;
}
#lightbox #imageData #navigation img {
	padding: 0 9px;
        display: inline;
}

#overlay{ position: absolute; top: 0; left: 0; z-index: 90; width: 100%; height: 500px; background-color: #000; } 

/*************************** EXTJS *******************************************/

/* Ext.ux.IconCombo mandatory styles */

.x-form-field-wrap .x-icon-combo-icon {
    top: 3px;
    left: 5px;
}
.x-icon-combo-item {
    background-repeat: no-repeat !important;
    background-position: 3px 50% !important;
    padding: 2px;
    height: 40px !important;
    text-align: left;
}
.x-icon-combo-item img {
    float: left;
    padding: 0 5px 0 0;
}
/******** ICONS */

.icon-upload {
	background-image:url(../javascripts/icons/up.png) ! important;
}
.icon-folder-add {
	background-image:url(../javascripts/icons/folder_add.png) ! important;
}

/********* WINDOWS */

.x-window {
    text-align: left;
}
#img-chooser-view{ 
    background: white; 
    font: 11px Arial, Helvetica, sans-serif;
} 
#img-chooser-view .thumb{ 
    background: #dddddd; 
    padding: 3px; 
} 
#img-chooser-view .thumb img{ 
    height: 60px; 
    width: 80px; 
} 
#img-chooser-view .thumb-wrap{ 
    float: left; 
    margin: 4px; 
    margin-right: 0; 
    padding: 5px;
} 
#img-chooser-view .thumb-wrap span{ 
    display: block; 
    overflow: hidden; 
    text-align: center; 
} 
#img-chooser-view .x-view-over{
    border:1px solid #dddddd; 
    background: #efefef url(../../resources/images/default/grid/row-over.gif) repeat-x left top; 
    padding: 4px; 
}
#img-chooser-view .x-view-selected{ 
    background: #DFEDFF; 
    border: 1px solid #6593cf; 
    padding: 4px; 
} 
#img-chooser-view .x-view-selected .thumb{ 
    background:transparent; 
}
#img-chooser-view .x-view-selected span{ 
    color:#1A4D8F;
}
#img-chooser-view .loading-indicator { 
    font-size:11px; 
    background-image:url('../../resources/images/grid/loading.gif'); 
    background-repeat: no-repeat; 
    background-position: left; 
    padding-left:20px; 
    margin:10px; 
} 

.x-dd-drag-proxy .multi-proxy img {
    height: 20px;
    width: 30px;
    margin:1px;
}

.x-dd-drag-proxy img {
    height: 60px;
    width: 80px;
}

#error404 {
    margin-top: 60px;
}
#error404  p {
    margin: 40px 0 0 0 ;
}

.fotobox {
    width: 188px;
    height: 188px;
    margin-right: 10px;
    margin-bottom: 10px;
    float: left;
}

.fotoboxend {
    margin-right: 0px;
}