/* Team page */

#teamPage {
	position: relative;
	z-index: 60;
	width: 600px;
	float: left;
}

	#teamPage div.leftColumn {
		float: left;
		width: 180px;
	}
	
		#teamPage div.leftColumn h1 {
			text-align: center;
		}
		
		#teamPage div.leftColumn #teamLogo {
			max-width: 160px;
			margin: 0 10px 10px 10px;
		}
		
		#teamPage div.leftColumn #changeLogoBlock {
		    display: none;
			width: 160px;
			min-width: 160px;
			float: left;
			padding: 10px;
			margin-bottom: 10px;			
		    background-color: #f3f3f3;
		    -moz-border-radius: 4px;
		    -webkit-border-radius: 4px;
		    overflow: hidden;
		}
		
		    #teamPage div.leftColumn #changeLogoBlock input#postLogoImage {
		        font-size: 10px;
		        width: 160px;
			}
			
		#teamPage div.leftColumn #teamAdminPanel {
			width: 160px;
			float: left;
			padding: 10px;
			margin-bottom: 10px;			
			background-color: #E9F7D0;
		    -moz-border-radius: 4px;
		    -webkit-border-radius: 4px;
		}
		
			#teamPage div.leftColumn #teamAdminPanel a {
				display: block;
				font-weight: bold;
				padding-left: 22px;
				line-height: 18px;
				margin-top: 4px;
			}
			
			#teamPage div.leftColumn #teamAdminPanel a:first-child {
				margin-top: 0;
			}
			
			#teamPage div.leftColumn #teamAdminPanel a:hover {
				color: #97D639;
			}
			
				#teamPage div.leftColumn #teamAdminPanel a#editBlogButton {
					background: url(/i/images/icons/blog_pencil_16_green.png) no-repeat left top;
				}
				
				#teamPage div.leftColumn #teamAdminPanel a#manageMembers {
					background: url(/i/images/icons/crown_16_green.png) no-repeat left top;
				}
				
				#teamPage div.leftColumn #teamAdminPanel a#changeLogo {
					background: url(/i/images/icons/arrow_16_up_green.png) no-repeat left top;
				}
				
		
		#teamPage div.leftColumn #teamStats {
		    
		}
		
		    #teamPage div.leftColumn #teamStats h2 {
                margin: 0;
		        text-align: center;
		        color: #444;
    		}
    		
    		#teamPage div.leftColumn #teamStats img {
    		    margin: 5px 0;
    		}
    				
		#teamPage div.leftColumn #teamMembers {
			width: 160px;
			float: left;
			padding: 10px;
			background-color: #f3f3f3;
		    -moz-border-radius: 4px;
		    -webkit-border-radius: 4px;
		}

			#teamPage div.leftColumn #teamMembers span.teamMember {
			    display: block;
				height: 50px;
			    margin-top: 10px;
			    padding-left: 60px;
				color: #999;
				background-color: #f3f3f3;				
			}
			
			#teamPage div.leftColumn #teamMembers span.teamMember.rank-0 {
			    opacity: 0.5;
	            filter: alpha(opacity = 50);
			}

			#teamPage div.leftColumn #teamMembers span.teamMember:first-child {
				margin-top: 0;
			}

			    #teamPage div.leftColumn #teamMembers span.teamMember a.userProfile {
					font-weight: bold;
			        color: #333;
			    }
			    
			        #teamPage div.leftColumn #teamMembers span.teamMember a.acceptMember {
    					font-weight: bold;
    					color: green;
    			    }
    			    
    			    #teamPage div.leftColumn #teamMembers span.teamMember a.rejectMember {
    					font-weight: bold;    			        
    			        color: red;
    			    }

    			    #teamPage div.leftColumn #teamMembers span.teamMember a.rejectMember.removeMember {
			        	display: none;
						font-weight: normal;
    			        color: #E5BFBF;
    			    }

    				    #teamPage div.leftColumn #teamMembers span.teamMember a.rejectMember.removeMember:hover {
							color: #990000;
						}

			    #teamPage div.leftColumn #teamMembers span.teamMember img {
			        float: left;
			        width: 50px;
			        height: 50px;
			        background: url(/i/images/spinner_16.gif) no-repeat 15px 15px;
			        margin-left: -60px;
			    }
			    
		/* Add/Leave team buttons */
		
		#teamPage div.leftColumn #joinLeaveTeam {
            clear: both;
		    padding: 2px 20px 5px;
		}
			    
        #teamPage div.leftColumn #joinLeaveTeam a.addMe {
            display: block;
            line-height: 16px;
            padding-left: 20px;
            color: #333;
            font-weight: bold;
            margin: 10px 5px 5px 0;
            width: 160px;
            background: url(/i/images/icons/plus_16_white.png) no-repeat left top;
        }

            #teamPage div.leftColumn #joinLeaveTeam a.addMe.disabled {
                color: #999;
                background: url(/i/images/icons/plus_16_disabled_white.png) no-repeat left top;
                cursor: default;
            }

        #teamPage div.leftColumn #joinLeaveTeam a.removeMe {
            display: block;
            line-height: 16px;
            padding-left: 23px;
            color: #333;
            font-weight: bold;
            margin: 10px 5px 5px 0;
            width: 160px;
            background: url(/i/images/icons/minus_16_white.png) no-repeat left top;
        }
	
	#teamPage div.rightColumn {
		float: right;
		width: 400px;
	}
	
		#teamPage div.rightColumn #teamBlogContent {
			float: right;
			width: 400px;
		}

		#teamPage div.rightColumn #teamBlogContent div.blogPost {
		    position: relative;
			width: 400px;
		}
		
			#teamPage div.rightColumn #teamBlogContent div.blogPost div.postContent img {
			    max-width: 400px;
			}
		
			#teamPage div.rightColumn #teamBlogContent div.blogPost div.videoPost {
				margin-bottom: 5px;
			}

		#teamPage div.rightColumn #teamBlogContent div.blogPost div.modifyPostBlock {
		    display: none;
		    position: absolute;
		    right: 0;
		    top: 2px;
		    height: 15px;
		    padding: 6px;
		    background-color: #f6f6f6;
		    -moz-border-radius: 4px;
		    -webkit-border-radius: 4px;
		    font: bold 10px/16px Arial, Helvetica, sans-serif;
		    text-align: left;
		    color: #666666;
			width: 112px;
		}
		
			#teamPage div.rightColumn #teamBlogContent div.blogPost div.modifyPostBlock.wide {
				width: 130px;
			}

		    #teamPage div.rightColumn #teamBlogContent div.blogPost div.modifyPostBlock span {
		        padding-left: 2px;
				padding-right: 4px;
		        float: left;
		    }

		    #teamPage div.rightColumn #teamBlogContent div.blogPost div.modifyPostBlock a {
		        display: block;
		        float: right;
		        width: 16px;
		        height: 16px;
		        margin-left: 5px;
		    }

		    #teamPage div.rightColumn #teamBlogContent div.blogPost div.modifyPostBlock a.deletePost {
		        background: url(/i/images/icons/action_delete_16.png) no-repeat top left;
		    }

		    #teamPage div.rightColumn #teamBlogContent div.blogPost div.modifyPostBlock a.editPost {
		        background: url(/i/images/icons/action_edit_16.png) no-repeat top left;
		    }

		    #teamPage div.rightColumn #teamBlogContent div.blogPost div.modifyPostBlock a.deleteImage {
		        background: url(/i/images/icons/image_minus_16.png) no-repeat top left;
		    }
		
		    #teamPage div.rightColumn #teamBlogContent div.blogPost div.modifyPostBlock a.deleteVideo {
		        background: url(/i/images/icons/video_minus_16.png) no-repeat top left;
		    }

		#teamPage div.rightColumn #teamBlogContent h1 {
			display: block;
			height: 100%;
			overflow: hidden;
			line-height: 24px;
			margin: 0;
		}

		#teamPage div.rightColumn #teamBlogContent h1 a {
			color: #333333;
		}

		#teamPage div.rightColumn #teamBlogContent h1 span {
		    width: 280px;
			float: left;
		}

		#teamPage div.rightColumn #teamBlogContent h1 em.date {
			float: right;
			color: #c1c1c1;
			text-decoration: none;
			font-style: normal;
		}

		#teamPage div.rightColumn #teamBlogContent div.postContent {
			clear: both;
			padding: 10px 0 5px 0;
		}
				
		#teamPage #blogPosting {
		    margin-bottom: 20px;
		    min-width: 560px;
			padding: 20px;
		    width: 560px;
		    background-color: #f3f3f3;
		    -moz-border-radius: 4px;
		    -webkit-border-radius: 4px;		
		}

			* html #teamPage #blogPosting {
				width: 560px;
			}

		#teamPage #blogPosting textarea {
		    width: 550px;
		    height: 114px;
		}

		#teamPage #blogPosting p {
		    margin-bottom: 5px;
		}

		#teamPage #blogPosting #blogPostTitle {
		    width: 550px;
		}

		#teamPage #blogPosting #submitButtons {
			float: left;
		    margin-top: 10px;
		}

		#teamPage #blogPosting p span {
		    font-size: 14px;
		    font-weight: bold;
		    padding-bottom: 5px;
		}

		#teamPage #blogPosting label.error {
		    width: 350px;
		    display: block;
		    padding-left: 0;
		}


		#teamPage #blogPosting #imageUploadElements {
		    display: none;
		    padding-right: 10px;
		    float: right;
		}
		
		#teamPage #blogPosting #addImageToPost {
		    display: block;
		    width: 16px;
		    height: 16px;
		    margin: 0 4px;
		    cursor: pointer;
		    background: url(/i/images/icons/image_plus_16_gray.png) no-repeat top left;
		}
		
		#teamPage #blogPosting #videoFieldElements {
			padding-left: 20px;
			background: url(/i/images/icons/video_arrow_16_gray.png) no-repeat 0px 2px;
			width: 265px;
			float: left;
		}
		
			#teamPage #blogPosting #videoFieldElements input {
				width: 255px;
			}


/* Reg a team */
#regTeamButton {
    cursor: pointer;
    font-size: 15px;
    color: #333;
    font-weight: bold;
    padding-left: 40px;
    background: url(/i/images/icons/add_32_white.png) no-repeat left top;
    line-height: 32px;
    margin-right: 10px;
    float: right;
}

#regTeamButton.disabled {
	color: #c1c1c1;
	background: url(/i/images/icons/add_32_disabled_white.png) no-repeat left top;	
	cursor: default;
}

#regTeam {
    min-width: 560px;
    display: none;
    padding: 20px;
    background-color: #e9f7d0;
    margin-bottom: 20px;
    -moz-border-radius: 6px;
    -webkit-border-radius: 6px;
}

    #regTeam h2 {
        margin: 0 0 5px 0;
    }
    
    #regTeam div.inputRow {
        margin-bottom: 10px;
    }
    
    #regTeam div.bottomButtons {
        border-top: 1px solid #b4cc89;
        padding-top: 10px;
        margin-top: 15px;
    }

    #regTeam .wideTextInput {
        width: 552px;
        font-size: 24px;
        line-height: 24px;
        border: 1px solid #999;
        padding: 4px;
        background: #fff url(/i/images/input_top_bg.png) repeat-x;
    }
    
/* Teams list */

#teamList {
	
}

	#teamList div.team {
		border-bottom: 1px solid #eee;
		padding: 10px;
		overflow: hidden;
		height: 100%;
		padding-left: 120px;
		background: url(/i/images/logo-missing-110.png) no-repeat left top;
	}
	
	#teamList div.teamLogo {
	    background-image: none;
	}
		
	    #teamList div.team img.teamLogo {
	        float: left;
	        margin-left: -120px;
            width: 110px;
	    }
		
		#teamList div.team h2 {
			font-size: 16px;
			margin: 0 0 8px 0;
		}
		
			#teamList div.team h2 a {
				color: #333;
			}
		
			#teamList div.team h2 span.date {
				float: right;
				color: #c1c1c1;
			}

		#teamList div.team .teamowner {
			font-weight: bold;
		}
		
		#teamList div.team p.teamLatestPost {
			margin: 2px 0 0 0;
		}