body {
	margin: 0;
	padding: 0;
	font-family: "Trebuchet MS", arial, verdana;
	font-size: 0.8em;
	color: #444444;
	background: #FFFFFF url(/static/gfx/bg2.png) repeat-x;
}

/* peruslinkit */
a {
	color: #3373c1;
}
a:hover {
	color: #c13376;
}

a img {
	padding: 1px;
	border: 1px solid gray;
	margin: 1px;
}

a img.noborder, img.noborder, a img.noborder:hover {
	padding: 0;
	border: 0;
}

a img:hover {
	border: 1px solid black;
}

a h2, h2 a {
	text-decoration: none;
}

a.sort {
	font-weight: bold;
	color: #000;
}

/* otsikot */
h2 {
	font-weight: normal;
	font-size: 24px;
	margin: 3px;
	padding: 0;
	color: #feac00;
}

h2 a.toggle {
	font-size: 12px;
}

/* inputit */
input, select, textarea {
	font-family: "Trebuchet MS", arial, verdana;
	border: 1px solid #e2e2e2;
	color: #4e4e4e;
	background: #fbfbfb;
	line-height: normal;
	padding: 2px;
	margin: 2px;
	-webkit-border-radius: 6px;
	-moz-border-radius: 6px;
	-khtml-border-radius: 6px;
	border-radius: 6px;

}
input.basicInput, input.login {
	width: 140px;
}

input.basicSubmit {
	padding: 5px 20px;
}
input.basicSubmitLogin, input.basicSubmitSearch {
	padding: 1px 20px;
}
/* popup varmistusnappulat */
.freePopup input#cancelButton, .freePopup input#deleteMovie, .freePopup input#addMovie, .freePopup input#deleteCollection, .freePopup input#addCollection,
.freePopup input#deleteForumMessage, .freePopup input#deleteComment
{
	margin-top: 10px;
	padding: 7px;
	border: 1px solid #3f5e8c;
	background: #819cc3;
	font-weight: bold;
	color: #ffffff;
}

.box {
	padding: 10px;
	border: 1px solid #e4e4e4;
	background: #ffffff;

        -webkit-border-radius: 6px;
        -moz-border-radius: 6px;
        -khtml-border-radius: 6px;
        border-radius: 6px;

}

p {
	margin: 5px;
}

a.curpage {
	font-weight: bold;
}

a.movieLink span.youtube_popup {
	background: url(/static/icons/site/youtube_icon_gray.png);
	width: 30px;
	height: 12px;
	margin: 0 0 0 5px;
	padding: 0;
	display: -moz-inline-box;
	display: inline-block;
}
a.movieLink span.youtube_popup:hover {
	background: url(/static/icons/site/youtube_icon.png);
}

/* perusraamit */
#container {
	padding: 0;
	margin: 0 auto;
	width: 920px;
	height: 100%;
}
#container2 {
	min-height: 100%;
}

* html #container { height: 100%; }
* html #content { height: 100%; }

#logo {
	margin: 10px 0 0 5px;
}
#logo a {
	width: 245px;
	height: 62px;
	display: block;
	background: url(/static/gfx/logo2.png);
}

#logo h1 {
	margin: 0;
	padding: 0;
}
#logo h1 span {
	display: none;
}

#topShout {
	position: relative;
	top: -10px;
	float: right;
	margin: 0;
	padding: 0;
}

/* navigointi */
#menu {
	border-bottom: 1px solid #e2e2e2;
	margin: 0 0 10px 0;
	padding: 0 0 5px 0;
}


#menu ul {
	margin: 0;
	padding: 0;
}

#menu ul li {
	display: inline;
}

#menu ul li a {
	background: #f2f2f2;
	margin: 0;
	padding: 10px 10px 5px 10px;
	text-decoration: none;
}

#menu ul li a:hover {
	background: #e2e2e2;
}

#content {
	padding: 10px 20px;
	height: auto !important;	
	border-left: 9px solid #e2e2e2;
	border-right: 9px solid #e2e2e2;
	margin-top: 10px;
	background: #f2f2f2;


}

#left {
	width: 180px;
	float: left;
	margin-right: 20px;
}


#left #login #register {
	display: none;
}

#middle {
	width: 662px;
	float: left;
}

/* Sivun footer */
#footer {
	line-height: 170%;
	font-size: 11px;
	width: 100%;
	min-width: 920px;
	color: #444444;
	height: 185px;
	background: #b9b9b9;
}
#footer a {
	font-size: 11px;
	color: #444444;
}

#footer div.content {
	text-align: center;
	width: 450px;
	margin: 0 auto;
	padding-top: 20px;
}
#footer div.content div.contact {
	padding-top: 20px;
}

#footer div.content div.left {
	text-align: right;
	margin-right: 10px;
}
#footer div.content div.right {
	text-align: left;
	margin: 0 auto;
}

#footer ul {
	list-style-type: none;
}

/* elokuvan arvostelut, kommentit, kuvat jne linkit */
ul#movie_content_menu {
        margin: 0;
        padding: 0;
}

ul#movie_content_menu li {
        display: inline;
	margin: 3px;
}

ul#movie_content_menu li a {
        margin: 0;
	padding: 5px 7px;
        text-decoration: none;
	// pyöristetyt kulmat
    -webkit-border-radius: 6px;  
    -moz-border-radius: 6px;  
    -khtml-border-radius: 6px;  
    border-radius: 6px;
}

ul#movie_content_menu li a:hover {
        background: #e2e2e2;
}




/* kommentit */
div.commentBox {
	padding: 3px;
	margin: 3px;
}

div.commentBox h2 {
	margin: 0;
	padding: 0;
}

div.commentBox div.picture {
	margin-right: 5px;
	float: left;
}

div.commentBox div.commentRight {
	float: left;
}
div.commentBox div.comment {
	padding: 2px 0;
}

div.commentBox div.comment div.pointer {
	float: left;
	background: url(/static/gfx/comment_arrow.png) no-repeat;
	background-position: center center;
	width: 10px;
	padding: 2px 0;
	margin: 0;
	height: 40px;
}

div.commentBox div.comment div.commentContent {
	width: 750px;
	padding: 2px 2px 2px 10px ;
	margin: 0;
	min-height: 40px;
	float: left;
	background: #f2f2f2;
	border-bottom: 1px solid #cfcfcf;
}

div#randomCommentArea div.commentBox div.comment div.commentContent {
	width: 500px;
	padding: 2px 2px 2px 10px ;
	margin: 0;
	min-height: 40px;
	float: left;
	background: #f2f2f2;
	border-bottom: 1px solid #cfcfcf;
}
div.commentBox div.comment div.commentContent div.commentProfilePicture {
	padding: 5px;
}

div.plaincomment {
	font-size: 11px;
}
div.plaincomment span.time {
	font-size: 8px;
	color: #b7b7b7;
}

.left a.commentDelete {
	font-size: 11px;
	color: #a7a7a7;
}
.left a.commentDelete:hover {
	color: #c13376;
}


#middle #newFilms div.left{
	width: 330px;

}


#middle #newFilms ul {
	margin: 0;
	padding: 0;
}

#middle #newFilms ul li {
	margin-right: 10px;
	display: inline;
}
#middle #newFilms ul li.noline {
	display: block;
}

li.noline {
	list-style-type: none;
}


#middle #newFilms ul li a {
	margin: 0;
	padding: 0 10px 0 10px;
	font-weight: bold;
	text-decoration: none;
}


/* profiili */

#profileLeftHolder {
	margin: 5px 10px 0 0;

	float: left;
	width: 280px;
}

#profileAllMovies {
	margin: 5px 0;
	float: left;
	width: 528px;
}

#profileNewMovies, #profileNewCollections {
	float: left;
	width: 100%;
}
#profileNewCollections {
	margin-top: 10px;
}


/* freepopup */
div.freePopup {
	width: 500px;
}
div.freePopup div.topmiddle {
	float: left;
	width: 450px;
	height: 25px;
	background: url(/static/gfx/topborder.png) repeat-x;
}
div.freePopup div.bottommiddle {
	float: left;
	width: 450px;
	height: 25px;
	background: url(/static/gfx/bottomborder.png) repeat-x;
}
div.freePopup div.popupcontenthtml {
	width: 451px;
	background: #ffffff;
	padding: 10px;
	float: left;
}

/* popup */
div.profilePopup {
	width: 250px;
}
div.popupcontent {
	clear: both;
	margin: 0;
}

a.closeFreePopup {
	font-family: verdana;
	font-size: 1.09em;
	font-weight: bold;
	text-decoration: none;
	color: #819cc3;
	position: relative;
	top: 6px;
	left: -5px;
}
div.freePopup div.leftborder, div.leftborder {
	float: left;
	width: 4px;
	background: url(/static/gfx/leftborder.png) repeat-y;
}
div.freePopup div.rightborder, div.rightborder {
	float: left;
	width: 25px;
	background: url(/static/gfx/rightborder.png) repeat-y;
}

div.popupcontenthtml {
	width: 151px;
	background: #ffffff;
	padding: 10px;
	float: left;
}
div.popupcontent h1 {
	font-size: 18px;
}
div.popupcontent p, div.popupcontent h1 {
	padding: 0;
	margin: 0;
}
.centered {
	margin: 0 auto;
	text-align: center;
	width: 100%;
}
div.topcornerleft {
	float: left;
	width: 25px;
	height: 25px;
	background: url(/static/gfx/corner1.png) no-repeat;
}
div.topmiddle {
	float: left;
	width: 150px;
	height: 25px;
	background: url(/static/gfx/topborder.png) repeat-x;
}
div.topcornerright {
	float: left;
	width: 25px;
	height: 25px;
	background: url(/static/gfx/corner2.png) no-repeat;
}

div.bottomcornerleft {
	float: left;
	width: 25px;
	height: 25px;
	background: url(/static/gfx/corner3.png) no-repeat;
}
div.bottommiddle {
	float: left;
	width: 150px;
	height: 25px;
	background: url(/static/gfx/bottomborder.png) repeat-x;
}
div.bottomcornerright {
	float: left;
	width: 25px;
	height: 25px;
	background: url(/static/gfx/corner4.png) no-repeat;
}

/* taulukko */
table.movielist {
	width: 100%;
	margin: 0;
	padding: 0;
}

table.movielist td {
	padding: 3px;
	margin: 0;
}

span.feedComment {
	color: #888888;
	margin-left: 40px;
	font-size: 0.89em;
}

table tr.tr1 {
	background: #f2f2f2;
}
table tr.tr2 {
	background: #e2e2e2;
}
table tr.tr1:hover {
	background: #d7d7d7;
}
table tr.tr2:hover {
	background: #cdcdcd;
}

/* geneeriset */

.hidden {
	display: none;
}

.clear {
	clear: both;
}
.left {
	float: left;
}
.right {
	float: right;
}
.center {
	text-align: center;
}
.margin10 {
	margin: 10px 0;
}
.margin10bottom {
	margin-bottom: 10px;
}
.margin10left {
	margin-left: 10px;
}
.margin10right {
	margin-right: 10px;
}

.floatCentered {
	float: left;
	margin: 3px;
	text-align: center;
}


div.error {
	padding: 15px;
	background: #ffd4d4;
	border: 1px solid #ff8e8e;
}


/* autocomplete */

.ac_results {
	padding: 0;
	border: 1px solid #b8b8b8;
	background: #ffffff;
}
.ac_results ul {
	margin: 0;
	padding: 5px 15px;
	list-style-type: none;
	text-decoration: none;
}
.ac_results ul liac_even:hover .ac_results ul li.ac_odd:hover {
	background: #f6f6f6;
}


/* jQuery.Rating Plugin CSS - http://www.fyneworks.com/jquery/star-rating/ */
div.rating-cancel, div.star-rating {float:left;width:17px;height:15px;text-indent:-999em;cursor:pointer;display:block;background:transparent;overflow:hidden;}
div.rating-cancel, div.rating-cancel a {background:url(/static/gfx/delete.gif) no-repeat 0 -16px;}
div.star-rating, div.star-rating a {background:url(/static/gfx/star.gif) no-repeat 0 0px;}
div.rating-cancel a, div.star-rating a {display:block;width:16px;height:100%;background-position:0 0px;border:0;}
div.star-rating-on a {background-position:0 -16px!important;}
div.star-rating-hover a {background-position:0 -32px;}
/* Read Only CSS */
div.star-rating-readonly a {cursor:default !important;}
/* Partial Star CSS */
div.star-rating {background:transparent!important;overflow:hidden!important;}
/* END jQuery.Rating Plugin CSS */

/* tagit */

a.tag_smallest {
	font-size: 11px;
	color: #9d9d9d;
}
a.tag_largest {
	font-size: 22px;
	color: #55514c;
}
a.tag_larger {
	font-size: 18px;
	color: #6b6762;
}
a.tag_medium {
	font-size: 14px;
	color: #797570;
}
a.tag_small {
	font-size: 12px;
	color: #a7a7a7;
}

span.tagcontent {
	padding: 3px;
	border: 1px solid #d9d9d9;
	background: #e7e7e7;
}
span.tagcontent:hover {
	border: 1px solid #d0d0d0;
	background: #dcdcdc;
}

/* foorumi */

.time, .time a {
	font-size: 11px;
	color: #a7a7a7;
}
.time a:hover {
	color: #c13376;
}

.threadRow:hover {
	background: #f4f4f4;
}

