/* Global HTML elements */
table {
	border-collapse: collapse;
}

form {
	padding: 0;
	margin: 0;	
}


/* Layout */

body {
	background: url("/images/mindex/new/background_top.png") repeat-x;
	background-color: #9900FF;
	margin: 0;
	font-family: 'Trebuchet MS',Verdana,Arial,Helvetica,Sans-Serif;
	/* arial,helvetica,clean,sans-serif; */
	font-size: 0.8em;
}

.page_margins {
	margin-bottom: 150px;
}

.main {
	
}

.mainTable {

	border-spacing: 0;
	empty-cells: show;
	border: 0;
	width: 100%;
}

.mainTable tr {
	padding: 0;
	border: 0;
}


.mainTable td{
	padding: 0;
	border: 0;
}

.mainTable .left {
	text-align: right;
	width: 40px;
}

.mainTable .right {
	width: 28px;
}

.mainTable .top {
	height: 92px;

}

.mainTable .vertMiddle .horMiddle {
	background-color: white;
/*	z-index: -1;*/
	position: relative;	
}

.mainTable .top .left {
	background: url("/images/mindex/new/content_box_top_left.png") no-repeat;
}

.mainTable .top .right {
	background: url("/images/mindex/new/content_box_top_right.png") no-repeat;
}

.mainTable .top .horMiddle {
	background: url("/images/mindex/new/content_box_top_middle.png") repeat-x;	
}

.mainTable .vertMiddle .right {
	background: url("/images/mindex/new/content_box_middle_right.png") repeat-y;
}

.mainTable .vertMiddle .left {
	background: url("/images/mindex/new/content_box_middle_left.png") repeat-y right;
}



.mainTable .bottom .horMiddle {
	background: url("/images/mindex/new/content_box_bottom_middle.png") repeat-x;	
}


/* ==== GLOBAL ==== */
a:hover {
	color: purple;
	text-decoration: underline;
}

.clearfix {
	clear: both;
}


/* ==== HEADER ==== */

#title {
	background: url("/images/mindex/new/title.png") no-repeat;		
    margin: 0;
    margin-left: 20px;
    width: 469px;
    height: 99px;
}

#title span {
	display: none;	
}

#title_text {
    margin: 0 0 0 0;
    vertical-align: top;
    padding: 0;
}
#title_model {
    margin: 0 0 0 0;
    padding: 0;
}

#title a {
	text-decoration: none;	
}

/* ==== MENU NAV ==== */

#nav {
    margin: 0;
    padding: 0;
    float: left;
    /*background: #cc00cc url(/images/mindex/nav/nav-middle-bgnd.jpg) repeat-x;*/
    clear: right;
    width: 100%;
}

#nav > ul > li {
    float: left;
    list-style: none;
}

#nav a {
    color: white;
    font-size: 1.2em;
    font-weight: bolder;	
    text-decoration: none;    
}

#nav > ul > li > ul {
    list-style: none;
    margin-top: -10px;
    padding-top: 0;
    position: absolute;
    padding-left: 0;
    margin-left: 0;
}

#nav > ul > li > a {
    display: block;
    padding: 0 1.5em;
    line-height: 50px;
}

#nav > ul > li > ul > li {
	margin: 15px;	
    list-style: none;
}

#nav a:hover {
    text-decoration: underline;
}


li.headlink ul { display: none; }
li.headlink:hover ul { 
	display: block;
	position: absolute;
	background-color: #99cc99;
	z-index: 1000;
}

/* ==== NAV Model Letters ==== */
#model-letters {
    display: block;
    clear: both;
    margin-right: 10px;
}

#model-letters a {
	font-size: large;
    text-decoration: none;
    font-weight: normal;
    color: white;
}

#model-letters a:hover {
    text-decoration: underline;
    color: orange;
}

/* ========= Sidebar ========= */
/*
.sidebar {
	border-left: 1px solid lightgray;
	padding: 10px;	
}

.sidebar li {
	list-style: disc;
}
*/

#sidebar {
	weight: 200px;
	color: white;
	word-wrap: break-word;
	overflow: hidden;
	margin-top: 6px;
}

#sidebar{
	float: left;
	width: 215px; /*Width of right column in pixels*/
	margin-left: -225px; /*Set left margin to -(RightColumnWidth) */
	margin-right: 10px;
}
		

#sidebar a {
	color: white;
}

#sidebar a:VISITED {
	color: lightgray;
}


#sidebar_top {
	background: url("/images/mindex/new/sidebar_top.png") no-repeat;
}

#sidebar_middle {
	background: url("/images/mindex/new/sidebar_middle.png") repeat-y;	
}

#sidebar_bottom {
	background: url("/images/mindex/new/sidebar_bottom.png") no-repeat;	
}

#sidebar_content {
	margin-left: 13px;
	margin-right: 14px;	
	
}

 		
/* ========= Footer =========== */
#footer {
	clear: left;
	color: white;
}

/* ======== Stats ============= */
#stats {
	color: white;
	border: white;
	float: right;
	display: inline;
	position: absolute;
	top: 10px;
	right: 10px;
	font-size: 0.7em;
	text-align: right;
		
}


/* ==== General containers ==== */
.wrapper {
    margin: 5px;
    border: 0px solid #000;
	width: 100px;
    display: -moz-inline-box; /* For FF<3 */
    -moz-box-orient: vertical; /* For FF<3 */
    display: inline-block; /* IE <8 needs this tripped back to display: inline; to make it work on block elements - see conditional below */
    vertical-align: bottom; /* explicitly declare your preference as Moz inline-box auto aligns to top */
    height: auto;
    text-align: left; /* to left align text within divs when container has been set to center */
}

.wrapper .photo-element {
    vertical-align: middle;
}

.box-title {
    font-weight: bold;
    background-color: #cc00cc;
    color: #fdf2ff;
}

.box-body {
	background-color:  #f7e5f9;
	padding: 1px;
	margin: 0;
}

/* ==== General Elements ==== */
.form-link {
    font-size: 1.0em;
    font-weight: bolder;
    display: inline;
    margin-right: 50px;
}

.feedbackPanelINFO {
	color: green;
	font-weight: bolder;
	font-size: 18px;	
}

.feedbackPanelERROR {
	color: red;
	font-weight: bolder;
	font-size: 18px;	
}


/* ==== Model Element ==== */
.model {
	width: 100px;
	background-color: #e5ecf9;
	padding: 5px 5px 5px 15px;
	
}


/* ==== Pset Element ==== */
.pset {
	width: 160px;
	line-height: 1.2;	
}

.notLinkable {
	border: 1px black solid;
}

/*.linkable {*/
/*	border: 5px fuchsia solid;*/
/*	z-index: -1;*/
/*	position:relative;	*/
/*}*/

.linkable:hover {
	border-color: darkblue;
}


.free-gallery {
	position: absolute;
	border-width: 0;
	border-color: transparent;	
}



/* ==== Model Page, General ==== */
.model-header {
	clear: both;	
	
}

.model-img {
    border: 1px black solid;
}

.model-snippet-box {
    border: 1px solid #cc00cc;
    float: left;
    margin: 0px 10px 10px 10px;
    background-color: #ffccff;
}

.modelInfo {
	max-height:250px;
	overflow:scroll;
}

/* ==== Comment Element ==== */
#models-comment-box {
    margin-left: 10px;
    width: 300px;
}

.model-comments {
	margin-bottom: 5px;
	height: 200px;
	overflow: scroll;
    margin-bottom: 5px;
    width: 300px;
    background-color: white;
}

.comment {
	border-bottom: 1px dotted grey;		
}

.comment .header {
	font-weight: bold;	
}

.comment .message {
    font-size: small;
    margin-top: 0;
    font-family: sans-serif;
    margin-bottom: 0;
    width: 280px;
    white-space: -moz-pre-wrap; /* Mozilla, supported since 1999 */
    white-space: -pre-wrap; /* Opera 4 - 6 */
    white-space: -o-pre-wrap; /* Opera 7 */
    white-space: pre-wrap; /* CSS3 - Text module (Candidate Recommendation) http://www.w3.org/TR/css3-text/#white-space */
    word-wrap: break-word; /* IE 5.5+ */
}

.model span {
	display: block;
}

/* ==== Websites Element ==== */
#model-websites-box {
/*	width: 200px;	*/
}
#model-websites-box ul {
	list-style-type: none;	
}
#model-websites-box > .box-body > ul > li {
	list-style-type: none;
	margin: 0;
}

#model-websites-box > .box-body > ul > ul {
	margin-top: 0;
	margin-bottom: 0;
}

#model-websites-box ul ul li:before {
	content: "-";
}


#model-websites-box ul ul > li{
	margin-bottom: 0;
	margin-left: -30px;	
}



/* ==== Submitted Websites Element ==== */
#url-box ul {
    margin: 0px;
    padding: 2px;
    list-style-type: none;
}

#url-box li {
	list-style-type: none;	
}






/* ==== DUMP ==== */
#main {
	float: left;
	width: 100%;
}

#main #mainCol {
	margin-right: 225px;

}
		
.photo-wrapper img {
	z-index: 900;
}

.linkable {
	z-index: -1;
	position: relative;		
}

.showGal {
	background-image: url("/images/mindex/free-gallery.gif");
	background-repeat: no-repeat;
	z-index: 950;	
	position: absolute;	
	width: 75px;
	padding-top: 0px;
}


.hovered {	
	z-index: 1000;
}

.photo-element {
/*	background-image: url("/images/mindex/free-gallery.gif");*/
/*	background-repeat: no-repeat;*/
/*	z-index: 950;	*/
/*	position: relative;*/
/*	top: -50px;	*/
}

/* Column model text list links at models pages*/
.modelLinks {
	width: 100%;
}
.modelLinks ul {
	padding: 0;
	margin: 0;
	list-style-type: none;
	word-wrap: break-word;
}

.modelLinks li {
	float: left;
	width: 200px;
}

.browserColumns {
	-moz-column-count: auto;
	-moz-column-width: 200px;
	-webkit-column-count: auto;
	-webkit-column-width: 150px;
}

/* model first letter links at models pages */
.subModelLetters ul {
	margin: 0;
	padding: 0;
	list-style-type: none;
	display: block;
	clear: both;
}

.subModelLetters li {
	float: left;
	width: 20px;
	font-size: 1.5em;
}
