/* 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 {
}

.main {
	
}

.mainTable {

	border-spacing: 0;
	empty-cells: show;
	border: 0;
}

.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;	
}

.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 {
	
}


#nav li {
    float: left;
    list-style: none;
}

#nav a {
    display: block;
    padding: 0 1.5em;
    line-height: 50px;
    text-decoration: none;
    color: white;
    font-size: 1.2em;
    font-weight: bolder;
}

#nav a:hover {
    text-decoration: underline;
}

/* ==== 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 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 ==== */
.wrapper2 {
	
	
}

.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: 14px;	
}

.feedbackPanelERROR {
	color: red;
	font-weight: bolder;
	font-size: 16px;	
}


/* ==== 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;
}

.linkable:hover {
	border-color: darkblue;
}


.free-gallery {
	position: absolute;
	border-width: 0;
	border-color: transparent;	
}


.galleryImage {
	
}

.photo-element .linkable {
	background-image: url("/images/mindex/free-gallery.gif");
}

.galleryImageDiv {
	z-index: -1;
}

/* ==== 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;
}

.pageNrBox {
	display: block;
	margin-top: 50px;	
	margin-bottom: 50px;
	margin-left: auto;
	margin-right: auto;	
	text-align: center;
	font-size: 1.6em;
}

.pageNrLink {
	margin-left: 0.2em;
}
.pageNrText {
	display: inline;
}

.pgflash {
	width: 460px;
	float: left;
	height: 480px;
}

/* ==== 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 {
	margin-bottom: 10px;
	border-bottom: 1px solid black;		
}

.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+ */
}



/* ==== Websites Element ==== */
#model-websites-box {
	width: 200px;	
}
#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 {
	margin-bottom: 0;	
}


/* ==== Submitted Websites Element ==== */
#url-box ul {
    margin: 0px;
    padding: 2px;
    list-style-type: none;
}

#url-box li {
	list-style-type: none;	
}



/* ==== DUMP ==== */
.wrapper .photo-wrapper {
    text-align: left;
    line-height: 400px;
}


