/* Common Content */

* {
    margin: 0;
    padding: 0;
}

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

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

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

input {
	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;
}

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

.Clickable {
    cursor: pointer;
}

.as-link {
    color: #105CB6;
    text-decoration: underline;
}

/* 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 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-size: 85%;
        font-weight: bold;
        margin-bottom: 1em;
}

/* Link */

.Link-big {
    font-family: arial, sans-serif;
    font-size: 125%;
    letter-spacing: -0.02em;
    font-weight: bold;
    line-height: 1.1;
}

.Link-middle {
    font-family: arial, sans-serif;
    font-size: 105%;
    letter-spacing: -0.02em;
    font-weight: bold;
    line-height: 1.1;
}

.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;
}

/* Form */

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

.Form-large input.FormUpload {
	width: 96%;
}

.Form-large select {
	padding-left: 7px !important;
}

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

.Form-large input {
	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 .FormText-variable-lesser {
	width: 73%;
}

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

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

.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-addPhotoComment {
	float: none;
	display: block;
	font-size: 105%;
	font-weight: bold;
	letter-spacing: -0.03em;
	color: #817A71;
	margin: 0.1em 0 0.0em 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;
}

.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;
}

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

button.Button1, button.Button2 {
	font-size: 135%;
	margin-top: 2px;
/*	padding: 3px 10px; баги в виндовых темах */
}

button.Button2 {
	color: #777;
}

/*
button.button3 {
	border: 1px solid #EEE8DD;
	color: #105CB6;
	margin: 0 5px;
	line-height: 2;
	background: #fff;
	cursor: pointer;
	background: url(/img/menu-back.gif) 0 100% repeat-x;
}

.button3:hover {
	border-color: #003;
}

*/


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

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

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

.PanelButtons-right button {
	font-weight: bold;
    margin-left: 5px;
    padding-left: 5px;
    padding-right: 5px;
}

/* fieldset */

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

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

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

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

/* monoslyde */

#monoslide {
    border: 1px solid #DDD;
    text-align: center;
}

/* tab */

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

.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;
}

/* Commentary */

.Commentary {
    overflow-x: auto;
    cursor: pointer;
}

/* Instruction */

.Instruction {
    overflow: hidden;
}

/* ext margin */

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

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

.Margin-Bottom-p {
    margin-bottom: 1em;
}

.Margin-Bottom-zero {
    margin-bottom: 2px;
}

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

.Margin-Top {
    margin-top: 1.1em;
}

.Padding-Left-20 {
	padding-left: 20px;
}

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

/* Template */

.Template {
    width: 80px;
    height: 60px;
    border: 1px solid #CCC;
    margin-bottom: 10px;
    padding: 1px;
    cursor: pointer;
}

.Template-select {
    border: 2px solid #80A71F;
    cursor: default;
}

.Template:hover {
    border-color: #CBB945;
}

/* Header  */

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

.HeaderLanguage span {
    color: #999;
}

/* Layout */

#layout-EditSlidePanel {
    margin: 0 auto;
    width: 976px
}

#layout-ViewSlidePanel {
    margin: 0 auto;
}

#layout-Monoslide {
    margin-bottom: 0.5em;
}

#layout-Header {
    margin: 1em 0;
}

#layout-AddSlidePhoto, #layout-Editor, #layout-Instruction {
    padding-left: 20px;
}

#layout-Instruction SPAN {
	font-size:120%;
	overflow: hidden;
}

#layout-Instruction SPAN P {
	margin-top: 1em;
	margin-bottom: 1em;
	text-align: justify;
}

#layout-SlideCreate {
	margin-top: 1.5em;
}

#layout-OwnSlides, #layout-UserMailset {
	margin-top: 0.5em;
}


#layout-AddSlidePhoto .WFieldset {
    margin-top: 0px;
}

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

#layout-CreateLink {
    margin-top: 1em;
    margin-bottom: 3em;
}

/* Page Numbers */

.Pages {
    margin-bottom: 1em;
    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;
}

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

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

.Pages a:hover {
    border-color: #2E6AB1;
}

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

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

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


.emptyCollection {
	width: 100%;
	margin-top: 3em;
	margin-bottom: 3em;
}

.chooser {
	margin-top: 3px;
	font-size: 120%;
}

.mailListBox-Fieldset {
	margin-left: 15px;
/*	height: 291px;*/
}

.mailListBox-Fieldset select {
	overflow-y: visible;
	overflow-x: hidden;
	width: 200px;
}

.mail_send_icon {
	background: transparent url(./img/mail.gif);
	width: 24px;
	height: 24px;
	cursor: pointer;
	margin-right: 5px;
}

/* Rating */

.rating-Panel {
	margin-top: 5px;
	width: 150px;
	height: 30px;
}

.rate_empty {
	background: transparent url(./img/star_empty.gif);
	width: 30px;
	height: 30px;
}

.rate_half {
	background: transparent url(./img/star_half.gif);
	width: 30px;
	height: 30px;
}

.rate_full {
	background: transparent url(./img/star_full.gif);
	width: 30px;
	height: 30px;
}

.rate_hl {
	background: transparent url(./img/star_hl.gif);
	width: 30px;
	height: 30px;
	z-index: 1;
}

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