/* Common Content */

* {
    margin: 0;
    padding: 0;
}

html {
	min-width: 902px;
} /*IE7*/

body {
	color: #393733;
	margin: 0;
	padding: 0 20px;
	text-align: center;
	background: #FFF;
}

body, input, button, textarea, select {
    font: 83%/1.4 arial, helvetica, sans-serif;
}

input, button {
	line-height: 1;
}

hr {
	height: 1px;
	background: #CCC;
	border: none;
}


img {
	border: none;
}

p {
	line-height: 1.4;
}

pre, code {
	font-size: 100%;
	color: #666;
	margin: 0;
}

/* #105CB6 */
a {	color: #336666; outline: none; }
a:visited { color: #336666; }
a:hover, a:focus { color: #003; }
a:active { color: #000; }

.Clickable {
    cursor: pointer;
}

.Margin-Left-small {
    margin-left: 6px;
}

.Margin-Left-big {
    margin-left: 16px;
}

.Margin-Left-Gap {
	margin-left: 1.5em;
}

.Margin-Right-Gap {
	margin-left: 0 !important;
	margin-right: 1.5em !important;
}

.Margin-Right-big {
    margin-right: 16px !important;
}

.Margin-Horizontal-big {
    margin-left: 8px;
    margin-right: 8px;
}

.Margin-Bottom-small {
    margin-bottom: 5px;
}

.EMargin-Bottom-p {
    margin-bottom: 1em !important;
}

.EMargin-Top-p {
    margin-top: 1em !important;
}

.Margin-Fieldset {
    margin: 1em 0;
}

.Border-set {
    border: 1px solid #DDD;
}

.Align-center {
    margin-left: auto;
    margin-right: auto;
}

/* Text */

.Text-h2 {
	margin: 0 0 0.2em 0;
	font-size: 185%;
	letter-spacing: -1px;
	font-weight: normal;
	clear: left;
	color: #4E463F;
}

.Text-h3 {
	margin: 0 0 0.5em 0;
	font: normal 135%/1.3 arial,sans-serif;
	letter-spacing: -0.03em;
	clear: left;
	color: #4E463F;
}

.Text-h2 span, .Text-h3 span {
	color: #999;
	white-space: nowrap;
}

.Text-h4 {
    clear: left;
	font-size: 100%;
	font-weight: bold;
	margin-bottom: 0.2em;
    color: #999;
}

.Text-Unexpressive {
    font-size: 85%;
    color: #999;
}

.Text-warning {
    color: #900;
    font-weight: bold;
}

/* Link */

.Link-big {
    font-family: arial, sans-serif;
    font-size: 100%;
    letter-spacing: -0.02em;
    font-weight: bold;
    line-height: 1.1;
    margin-top: 0.5em;
    margin-bottom: 1em;
}

.WLink-img a {
    margin-left: 3px;
    font-family: arial, sans-serif;
    font-size: 90%;
    letter-spacing: -0.02em;
    font-weight: bold;
}

.Link-box {
    color: #105CB6;
    font-family: arial, sans-serif;
    font-size: 110%;
    letter-spacing: -0.02em;
    font-weight: bold;
    line-height: 1.1;
    width: 96%;
    padding: 3px;
    margin-bottom: 0.5em;
}

.as-link {
	color: #336666;
	text-decoration: underline;
    cursor: pointer;
}

/* Form */

.Form-large .FormText, .Form-large .FormText-variable, .Form-large textarea, .Form-large .FormSelect, .Form-large .FormText-brief, .Form-large input.FormUpload, .FromLarge input.FormCheckBox {
	font-size: 126%;
	background: #FFFADB url(./img/form-back.gif) repeat-x;
	border: 1px solid #CBB945;
	color: #776B1B;
	padding: 2px;
}

.Form-large .FormSelect {
    width: 260px;
	padding: 1px 0;
}

.Form-large textarea.disabled {
	background: #EEE;
	border: 1px solid #CCC;
	color: #666;
}

.Form-large input, .Form-large button {
	font-size: 126%;
	padding: 3px 7px !important;
}


.Form-large .FormText {
	width: 260px;
	padding: 3px;
}

.Form-large .FormText-brief {
	width: 200px;
}

.Form-large .FormText-variable {
	width: 96%;
}

.Form-large textarea  {
	height: 4em;
	width: 97%;
    overflow-x: hidden;
    overflow-y: auto;
}

.FormLabel {
	float: none;
	display: block;
	font-size: 105%;
	font-weight: bold;
	letter-spacing: -0.03em;
	color: #817A71;
	margin: 0.7em 0 0.1em 0;
}

.FormLabel span {
	font-size: 80%;
	font-weight: normal;
	color: #999;
	letter-spacing: 0;
}

.Form-large .FormLabel-checkbox {
	display: inline;
	vertical-align: middle;
	position: relative;
	top: -3px;
}

.FormNote {
	font-size: 85%;
	color: #999;
	margin-bottom: 0.3em;
	margin-top: 0;
	display: block;
}

.FormNote-line {
	font-size: 85%;
    font-weight: bold;
	color: #000;
	margin-bottom: 0;
	margin-top: 0;
	display: inline;
}

.FormNote span {
	font-size: 115%;
    font-weight: bold;
}

.FormError {
        color: #900;
        font-size: 85%;
        font-weight: bold;
        margin-bottom: 1em;
        background: url(./img/error.gif) no-repeat;
        padding: 0 0 4px 18px;
}

.FormSuccess {
        color: #090;
        font-size: 85%;
        font-weight: bold;
        margin-bottom: 1em;
        background: url(./img/confirm.png) no-repeat 0 1px;
        padding: 0 0 4px 16px;
}

button.Button1, button.Button2 {
    font-size: 126%;
    padding: 3px 7px !important;
	margin-top: 2px;
}

button.Button-Search {
	margin-left: 5px;
	padding: 1px !important; 
}

button.Button2 {
	color: #777;
}

button.Button3 {
    font-size: 110%;
    padding: 1px 2px !important;
}



.PanelButtons-left {
    margin: 10px 0;
}

.PanelButtons-left button {
    margin-right: 5px;
}

/* fieldset */
/* #layout-Videos .Categories-List .WFieldset {
	padding: 15px 4px;
}*/

.WFieldset {
	border: 1px solid #DDD;
	margin: 1em 0;
	padding: 15px;
	clear: left;
    position: relative;
}

.WLegend, .WLegend-error {
	font-size: 135%;
	font-weight: normal;
	letter-spacing: -0.03em;
	line-height: 1;
	color: #FF8800;
    background-color: #fff;
    position: absolute;
    top: -10px;
    padding: 0 0.5em;
}

.WLegend-error {
    color: #ee0000;
}    


.WLegend span {
	color: #999;
	font-size: 90%;
	letter-spacing: 0;
}

.WPanel-h2 {
    padding: 3px 6px;
    background-color: #EEE;
}

.FieldMenu {
	padding-left: 4px;
	padding-right: 4px;
}

.FieldMenu a {
    padding: 0px 6px;
}

.FieldMenu .Selected {
	background-color: #ff8800;
}

.FieldMenu .Selected a {
    font-weight: bold;
    text-decoration: none;
    color: #ffffff;
    cursor: default;
}



/* tab */

.gwt-TabPanel, .gwt-TabPanelBottom {
    width: 100%;
}

.gwt-TabPanelBottom {
    margin-top: 0.5em;
}

.gwt-TabBar {
	background: url(img/tab-line.gif) bottom repeat-x;
	margin-top: 0.5em;
	padding: 2px 1em 0 5px;
	font-size: 85%;
}

.gwt-TabBarItem  {
	margin: 0 1px 0 0;
	padding: 0 5px 0 0;
	background: url(img/tab-back.png) 100% -100px;
	border-bottom: 1px solid #bbb;
    text-align: center;
    cursor: pointer;
}

.gwt-TabBarItem-selected {
	border-bottom: 1px solid #fff;
	background: url(img/tab-back.png) 100% 0;
    cursor: default;
}

.gwt-TabBarItem span {
    display: block;
    padding: 5px 11px 5px 16px;
	text-align: center;
	white-space: nowrap;
	background: url(img/tab-back.png) 0 -100px;
	text-decoration: none;
	min-height: 17px; /* fixes FX/Mac issue */
	color: #666;
}

.gwt-TabBarItem-selected span {
	background: url(img/tab-back.png) 0 0;
} /*IE6*/

.gwt-TabBarItem:hover {
	background-position: 100% -200px;
}

.gwt-TabBarItem:hover span {
	background-position: 0 -200px;
}

.gwt-TabBarItem-selected:hover {
	background-position: 100% 0;
}

.gwt-TabBarItem-selected:hover span {
	background-position: 0 0;
}

.gwt-TabBarItem span {
	font-size: 125%;
	font-weight: bold;
	color: #666;
	letter-spacing: -0.02em;
}

/* 2columns layout */


.TwoColums-LeftPanel {
    width: 150px;
    margin-right: 20px;
}

/* video 3gp */

.Preview3gp {
    width: 128px;
    height: 96px;
    border: 1px solid #DDD;
}

div.Dekor3gp_wrapper {
    width: 132px;
    position: relative;
}

div.Dekor3gp_dekor {
    cursor: pointer;
    position: absolute;
    top: -10px;
    left: 0;
    width: 132px;
    height: 109px;
    background: url(./img/ramka.png) no-repeat;
    //background: none;
    filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src=/res/css/default/img/ramka.png,sizingMethod=crop);
}

div.logo {
    width: 197px;
    height: 50px;
	background: url(/res/img/logo.png) no-repeat;
    //background: none;
    filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src=/res/img/logo.png,sizingMethod=crop);
}

/* Time */

.TimeAgo {
    color: #A12A2A;
    font-size: 90%;
}

/* video panels */
.Video-briefPane {
    width: 150px;
}

.Video-brief {
    width: 132px;
    margin-bottom: 0.5em;
}

.Video-brief .VideoDuration, .Video-brief .TimeAgo, .Video-brief .VideoViews {
    font-size: 85%;
}

.Video-meta .VideoDuration, .Video-meta .VideoViews {
    font-size: 90%;
}

.VideoDuration {
    font-weight: bold;
}


.VideoAuthor {
    background: url( ./img/user-small2.gif ) no-repeat 0 2px;
    font-weight: bold;
    padding: 0 0 0 18px;
}

.VideoVideos {
    background: url( ./img/lable_kadr_orange.gif ) no-repeat 0 2px;
    font-weight: bold;
    padding: 0 0 0 16px;
}

.Commentary {
    overflow-x: hidden;
    overflow-y: auto;
}

.Video-meta .Commentary {
    width: 250px;
}

#layout-Messages .StrongHeader, #layout-UPageConversation .StrongHeader {
	margin-top: 0.5em;
	font-weight: bold;
}

.VideoState-1 {
    color: #090;
    font-size: 85%;
    font-weight: bold;
    background: url(./img/confirm.png) no-repeat 0 1px;
    padding: 0 0 0 16px;
}

.VideoState-4 {
    color: #999;
    font-size: 85%;
}

.VideoState-2, .VideoState-3{
    color: #999;
    font-size: 85%;
    font-weight: bold;
}

.VideoState-5 {
    color: #900;
    font-size: 85%;
    font-weight: bold;
    background: url(./img/error.gif) no-repeat;
    padding: 0 0 0 18px;
}

/* Widgets */

.RelatedVideo {
    margin-top: 0;
/*    margin-left: 1.5em; */
}

.RelatedVideo .WPanel-scroll {
    position: relative;
    width: 200px;
	height: 880px;
}

.VideoTopPanel .WFieldset {
    margin-top: 0.5em;
}

.Categories-List, .LeftColumn-List-ExtSize {
	margin-right: 15px;
}

.Categories-List {
    width: 180px;
}

.LeftColumn-List-ExtSize {
    width: 190px;
}

/* Header  */

.HeaderLanguage {
    font-size: 85%;
	color: #DDD;
    cursor: pointer;
}

.HeaderLanguage span {
    color: #999;
}


/* Layout */

#layout-Header {
    margin-top: 0.5em;
}

#layout-Navigation {
	margin-top: 5px;
    margin-bottom: 1em;
}

#layout-Footer {
    text-align: left;
    font-size: 85%;
    color: #999;
    clear: both;
    padding: 1em 0 40px;
}

#layout-PageLogin .Form-large, #layout-PageRegister .Form-large, #layout-ChangeMobile .Form-large, #layout-Mailing .Form-large, #layout-Limitations .Form-large, #layout-Rules .Form-large, #layout-PostComment .Form-large, #layout-SearchParam .Form-large, #layout-Contest .Form-large, #layout-TvFruitsPostJuryBlog .Form-large, #layout-TvFruitsAbout .Form-large,  #layout-VideoLinkExport .Form-large{
    margin: 0 auto;
}

#layout-Profile .Form-large {
    width: 23em;
}

#player-view-fullscreen {
	margin: 0 auto;
}

#layout-Rules, #layout-Limitations {
	margin-top: 2em;
}

#layout-Rules .Form-large, #layout-Limitations .Form-large, #layout-Contest .Form-large, #layout-TvFruitsAbout .Form-large {
	width: 560px;
}

#layout-Rules ul {
	padding-left: 2em;
	padding-right: 2em;
}

#layout-Rules p, #layout-Limitations p {
	margin-bottom: 7px;
}

#layout-Limitations p, .Padded {
	padding-left: 2em;
	padding-right: 2em;
}

.Padded-Middle {
	padding-left: 10px !important;
	padding-right: 10px !important;
}

#layout-ContestEdit textarea, #layout-TvFruitsPostJuryBlog textarea, #layout-VideoLinkExport textarea {
	height: auto;
	overflow: auto;
}

/* Page Numbers */

.Pages {
    font-size: 85%;
}

.Pages a, .Pages span {
    display: block;
    float: left;
    padding: 0.2em 0.5em;
    margin-right: 0.1em;
    border: 1px solid #fff;
    background: #fff;
}

/* color #2E6AB1 */
.Pages span.current {
    border: 1px solid #336666;
    font-weight: bold;
    background: #336666;
    color: #fff;
}

.Pages a {
    border: 1px solid #DDDDDD;
    text-decoration: none;
}

.Pages a:hover {
    background-color: #F4F4F4;
}

.Pages a.nextprev {
    font-weight: bold;
}

.Pages span.nextprev {
    color: #666;
}

.Pages span.nextprev {
        border: 1px solid #ddd;
        color: #999;
}



/* todo peredelatj */
.mailListBox-Fieldset {
	margin-left: 15px;
	height: 291px;
}
.mailListBox-Fieldset .FormSelect {
	overflow-y: visible;
	overflow-x: hidden;
	width: 200px !important;
}

.newone {
	display: inline;
	background:#FF8800 none repeat scroll 0%;
	color:#FFF;
	font-family:Verdana,Arial,Helvetica,sans-serif;
	font-size:8px;
	font-size-adjust:none;
	font-stretch:normal;
	font-style:normal;
	font-variant:normal;
	font-weight:normal;
	line-height:normal;
	padding:1px;
	margin-left:5px;
	vertical-align:middle;
}

.upload {
	display: inline;
	background:#336666 none repeat scroll 0%;
	color:#FFF;
	font-family:Verdana,Arial,Helvetica,sans-serif;
	font-size:8px;
	font-size-adjust:none;
	font-stretch:normal;
	font-style:normal;
	font-variant:normal;
	font-weight:normal;
	line-height:normal;
	padding:1px;
	margin-left:5px;
	vertical-align:middle;
}

/* Rating */

.rating-Panel {
	margin-top: 7px;
	height: 25px;
}

.rating-BriefPanel {
	margin-top: 5px;
	height: 25px;
}

.rate_empty {
	background: transparent url(./img/gaga_empty.gif) no-repeat center;
	width: 27px;
	height: 25px;
}

.rate_half {
	background: transparent url(./img/gaga_half.gif)  no-repeat center;
	width: 27px;
	height: 25px;
}

.rate_full {
	background: transparent url(./img/gaga_full.gif)  no-repeat center;
	width: 27px;
	height: 25px;
}

.rate_hl {
	background: transparent url(./img/gaga_hl.gif) no-repeat center;
	width: 27px;
	height: 25px;
	z-index: 1;
}

.rate_success {
	margin-top: 7px;
	color: #336666;
    font-size: 135%;
    margin-bottom: 7px;
}

/* banners */

.Banner-HeaderLarge {
	width: 468px;
	height: 60px;
}

.Banner-View {
	margin-top: 1.5em;
	width: 180px;
	height: 150px;
}

.Banner-Menu {
	width: 180px;
	height: 150px;
	margin-bottom: 0.5em;
}

.Banner-Videos-Bottom {
	width: 728px;
	height: 90px;
	margin-top: 2em;
}

/* Tv Fruits */

.TvFruits-Header {
	background-position: right top; 
	background-image: url(/res/img/tv_fruktai/tv_fruktai_fonas.gif);
	background-repeat: no-repeat;
	background-color: rgb(255, 189, 16);
	margin-bottom: 1em;
	position: relative;
	top: -0.5em;
}

.TvFruits-UploadPanel {
	background-color: rgb(255, 189, 16);
	padding: 10px;
}

.TvFruits-NarrowHeader {
	background-position: right top;
	background-image: url(/res/img/tv_fruktai/tv_fruktai_narrow2.gif);
	background-repeat: no-repeat;
	background-color: #F8BF15;
	cursor: pointer;	
}

.TvFruits-NarrowHeaderLink {
	margin-top: 3px;
	margin-bottom: 5px;
}

/* LABEL brief view */

.durationLabel {
    background: url(./img/time_12x12.gif) no-repeat scroll 0% 50%;
    padding: 0 0 0px 15px;
}

.viewsLabel {
    background: url(./img/prosmotr_12x12.gif) no-repeat scroll 0% 50%;
    padding: 0 0 0px 15px;
}

.commentsLabel {
    background: url(./img/komment_12x12.gif) no-repeat scroll 0% 50%;
    padding: 0 0 0px 15px;
}

.UserMessageNew {
	background-color: #ffff99;
}

.RedCounter {
	color: #ee0000;
	font-weight: bold;
}

.RedLink {
	color: #ee0000;
	font-weight: bold;
}

//TABLE
.gridSorted, .gridSortedAsc, .gridSortedDesc {
        border: 0px;
/*      padding: 0px;*/
        padding-bottom: 0px;
        padding-left: 5px;
        padding-right: 20px;
        padding-top: 0px;
/*      border-collapse:                collapse;*/
}

TABLE.grid, TR.grid, TD.grid {
        width: 100%;
}

.gridTitle {
        background-color: #eeeeee;
        font-weight: bold;
        padding-right: 5px;
        padding-left: 5px;
}

.gridTitleEmpty {
        background-color: #ffffff;
}

.gridSortTitle {
        background-color: #eeeeee;
        text-decoration: underline;
        cursor: pointer;
}

.gridSorted, .gridSortedAsc, .gridSortedDesc {
        font-weight: bold;
        background-color: #cecece;
        text-decoration: underline;
        padding-bottom: 0px;
        padding-left: 5px;
        padding-right: 20px;
        padding-top: 0px;
        cursor: pointer;
}

.gridSortedAsc {
        background: url(/res/images/sort_asc.gif) no-repeat right;
}

.gridSortedDesc {
        background: url(/res/images/sort_desc.gif) no-repeat right;
}

.gridValue, .gridValue2, .gridValueS, .gridValue2S {
        text-align: left;
        border: 0px;
/*      padding: 0px;*/
        padding-bottom: 0px;
        padding-left: 5px;
        padding-right: 20px;
        padding-top: 0px;
        border-spacing: 0px;
        border-collapse: collapse;
        padding-left: 5px;
        padding-right: 5px;
/*      cursor: pointer;*/
}

.gridValue2 {
        background-color: #fafafa;
}

.gridValue {
        background-color: #ffffff;
}

.gridValue2S {
        background-color: #efefef;
}

.gridValueS {
        background-color: #f5f5f5;
}

.gridText {
        cursor: pointer;
}
