* { 
	padding: 0;
	margin: 0; 
}

body { 
	background: #0066cc;
	font-size: 75%;
	color: #000;
	font-family: "Helvetica Neue", Arial, Helvetica, sans-serif;
}


a, a:link, a:visited {
	color:#000; 
	text-decoration:underline;}

a:hover, a:active {
	color:#709ef9; 
	text-decoration:underline;
}

a img { 
	border: 0; 
}

h1, h2, h3 {
	font-family:  'Gill Sans','Georgia','Palatino','Helvetica',serif;	
	margin: 0;
	font-weight: normal;
}

h1, h2 {
	font-size: 2.5em; 
}

h3 { 
	font-size: 1.5em; font-family: "Helvetica Neue", Arial, Helvetica, sans-serif;
}

ul { 
	list-style-type: none;
	margin: .5em 0;
}

.co0 {
	width: 100%;
	min-height: 760px;

}
.co1 {
	width: 100%;
	min-height: 760px;	
}
.co2 {
	width: 100%;
	min-height: 760px;
}

.co3 {
	width: 970px;
	min-height: 760px;
	background: #e2e2e2; 
	border: 6px #fff solid;
	margin: 33px auto;
	-moz-border-radius:17px; -webkit-border-radius:17px; border-radius:17px;
	overflow: hidden;

}

.lo0 {
	width: 100%;
	min-height: 20px; 
	background: #000;
}
.lop {
	width: 100%;
	min-height: 20px; 
	background: #f2b600;
}
.lof {
	width: 100%;
	min-height: 20px; 
	background: #f00;
}

.lo1 {
	width: 100%;
	min-height: 20px; 
	clear: both;
}
.lo1 h2 {
	font-size: 32px;
	padding: 20px 0 0 25px; 
	letter-spacing: normal; 
	line-height: 1;
	color: #fff;
	text-align: left;
}

.lo1 a, .lo1 a:link, .lo1 a:visited {
	color:#fff; 
	text-decoration:underline;}

.lo1 a:hover, .lo1 a:active {
	color:#fff; 
	text-decoration:underline;
}

.lo2 {
	width: 100%;
	min-height: 20px; 
	clear: both;
}

.lo2 h1, .lo2 h2 {
	position: relative;
	top:-20px;
	font-size: 200px;
	padding: 0 0 7px 0;
	letter-spacing: -5px; 
	line-height: 1;
	color: #fff;
	text-align: center;
}

.lo2 a, .lo2 a:link, .lo2 a:visited {
	color:#fff; 
	text-decoration:none;}

.lo2 a:hover, .lo2 a:active {
	color:#f0f0f0; 
	text-decoration:none;
}

.bs0 {
	width: 100%;
}
.bs1 {
	width: 60%;
	float:left; 
}
.bs2 {
	width: 37%; 
	float:left; 
}

.bs3 {
	width: 100%; 
	min-height: 50px;
}

.bs4 {
	width: 100%;
	min-height: 50px;
}
.bs5 {
	width: 100%;
	min-height: 50px;
}

.bs5 p {
	padding:35px 0 7px 0;
}


.bs5 ul li {
	padding:0 0 7px 20px;
	background: url("../img/i.png") no-repeat left top;
}

.sss {
	float:left;
	width: 500px;
	min-height: 15px;
	text-align: center;
	margin: 20px 0 20px 20px;
}

.sss p {
	padding: 15px 0 3px 0;
}


.pod {
	color: #fff;
	width: 200px;
	min-height: 15px;
	margin: 0 auto;
	text-align: center;
	padding:0 0 10px 0;
}
.pod strong {
	font-weight: normal;
}

.pod a, .lir a:link, .lir a:visited {
	color:#fff; 
	text-decoration:underline;
}

.pod a:hover, .lir a:active{
	color:#1a3364; 
	text-decoration:underline;
}

.bau {
	width: 100%;
	height: 90px;
	background: #e2e2e2;
	padding: 3px 0 0 0;
}

.ss1 {
	width: 100%;
	min-height: 200px;
	background: #e2e2e2;
}

.ss1 h2, .ss1 h1 {
	padding: 33px;
	text-align: center; 

}

.ss1 a, .ss1 a:link, .ss1 a:visited {
	color:#221e1e; 
	text-decoration:underline;
}

.ss1 a:hover, .ss1 a:active {
	color:#1a3364; 
	text-decoration:underline;
}

.text {
	width: 90%;
	min-height: 15px;
	margin-left: 5%;
	clear:both;
	font-size:1.4em;
}

.text a, .text a:link, .text a:visited {
	color:#000; 
	text-decoration:underline;}

.text a:hover, .text a:active {
	color:#1a3364; 
	text-decoration:underline;
}

.text strong {
	font-weight:normal;  
}

.ssb {
	width: 100%;
	height: 15px;
	background: #fff;
}

.ssd {
	width: 100%;
	min-height: 15px;
}



.ssr {	float: left;
	width: 570px;
	min-height: 15px;
}

.ssr p {
	padding: 23px 0 3px 0;
}

.sssr {	float: left;
	width: 300px;
	min-height: 15px;
}

.sssr p {
	font-size: 1.5em;
	text-align: right;
	padding: 28px 23px 3px 0;
}

.bcl {	
	width:100%;
	height: 1px;
	clear: both;
}

.bcl23 {	
	width:100%;
	height: 23px;
	clear: both;
}

.bcl15 {	
	width:100%;
	height: 15px;
	clear: both;
}

.bsp {
	width: 100%;
	min-height: 77px;
	background: #e2e2e2;
	margin: 0 auto;
	text-align: center;
	clear: both;
}

.bsp p {
	padding: 23px 0 20px 0;
}

.bsp2 {
	width: 100%;
	min-height: 55px;
	font-size: 2.5em;
	text-align: center;
	clear: both;
}

.bsp2 span {
	color: #000; 
	background: #bebebe;
	padding: 16px;
	-moz-border-radius:7px; -webkit-border-radius:7px; border-radius:7px;
}

.bsp2 a, .bsp2 a:link, .bsp2 a:visited {
	color: #e2e2e2; 
	background: #666;
	padding: 16px;
	text-decoration: none;
	-moz-border-radius:7px; -webkit-border-radius:7px; border-radius:7px;
}

.bsp2 a:hover, .bsp2 a:active {
	background: #767676; 
}

span.nav_ext {
	color: #999; 
	background: none;
	padding: 16px 8px 16px 8px;
	-moz-border-radius:7px; -webkit-border-radius:7px; border-radius:7px;
}


.foto1 {
	float:left;
	width: 150px;
	margin: 0 20px 7px 0;
}

.foto1 img {
	width: 100%;
}

.foto2 {
	float: left;
	width: 300px;
	margin: 0 20px 10px 0;
}

.foto2 img {
	width: 100%;
}

.cm0 {
	width: 849px;
	min-height: 90px;
	margin-left: 121px;
}

.cm0 h3 {
	padding: 33px 0 33px 0;
	color: #838383;	
}

.cm1 {
	width: 100%;
	min-height: 20px;
	font-size: 1.6em;
	color: #484848;
	padding: 0 0 0 27px;
	background: url("../img/i.png") no-repeat left -302px;
}

.cm1 i {
	font-size: 0.5em;
	font-style: normal;
	color: #a9a9a9;
	padding-left: 3px;
}

.cm2 {
	width: 85%;
	font-size: 1.2em;

}

.ca0 {
	width: 500px;
	min-height: 20px;
	margin:0 0 0 45px;
}

.ca0 p {
	font-size: 1.6em;
	padding:0 0 20px 0;
}

.ca1 {
	float: left;
	width: 150px;
}

.ca2 {
	float: left;
	width: 150px;
	margin-left: 22px;
}

.ca3 {
	float: left;
	width: 150px;
	margin-left: 22px;
}

.ca1 i, .ca2 i, .ca3 i {
	font-style: normal;
	padding: 1px 5px 3px 5px;
	color:#fff;
	background:#999;
	-moz-border-radius:5px 5px 0 0; -webkit-border-radius:5px 5px 0 0; border-radius:5px 5px 0 0;
}

.ca1 input, .ca2 input, .ca3 input {
	width: 150px;
	padding: 1px;
	border: 1px #999 solid;
	-moz-border-radius:0 5px 5px 5px; -webkit-border-radius:0 5px 5px 5px; border-radius:0 5px 5px 5px;
}

.ca4 {
	float: left;
	width: 500px;
}

.ca4 textarea {
	width: 496px;
	height: 135px;
	border: 1px #999 solid;
	-moz-border-radius:5px; -webkit-border-radius:5px; border-radius:5px;
}

.ca5 {
	float: left;
	width: 120px;
	padding:10px 0 0 0;
}

.ca5 button {
	color:#fff;
	background:#666;
	padding:2px 5px 2px 5px;
	-moz-border-radius:5px; -webkit-border-radius:5px; border-radius:5px;
}

.err {
	width: 100%;
	min-height: 500px;
	background: #e2e2e2;
}
.err p {
	font-size: 1.7em;
	padding:150px 10% 100px 10%;
}


/*---forms---*/
.baseform {
    background: #f5f6f7;
}

.tableform {
    width: 100%;
}

.tableform td {
    ;
}

.tableform td.label {
    width: 20%;
    vertical-align: top;
    padding-right: 0;
    font-weight: bold;
}

.fieldsubmit, .tableform td {
    padding: 10px 15px;
    border-top: 1px solid #fff;
}

.addnews {
    font-weight: bold;
}

.impot {
    color: #96c;
    font-weight: normal;
}

.checkbox {
    padding: 4px 0;
    line-height: 1em;
}

.checkbox input {
    margin-top: -2px;
    vertical-align: middle;
}

.f_input {
    width: 300px;
    padding: 1px;
}

.f_textarea {
    width: 458px;
}

.fieldtr select, .textin, .f_textarea, .f_input, .xfields textarea, .xprofile textarea,.xfields input, .xprofile input, .xfields select, .xprofile select, .mass_comments_action select {
    padding: 2px;
    background: #fff url("http://www.besogon.tv/images/fields.png") repeat-x;
    border: 1px solid #bcc0c2;
}

.f_textarea, .editor_button select {
    padding: 0;
}

.textin {
    padding: 2px;
}

/*---Информационное окно загрузки AJAX---*/
#loading-layer {
    display: none;
    width: 193px;
    height: 27px;
    font-size: 1px;
    background: url("../img/l.gif") no-repeat left top;
    color: #272727;
}


/*---Цитата и скрытый текст---*/
.scriptcode, .title_quote,.quote, .title_spoiler, .text_spoiler {
    padding: 5px;
    background: #f9fafa;
    border: 1px solid #dce7e7;overflow: hidden;
}

.title_quote, .title_spoiler {
    background: #f9fafa;
}

.title_quote {
    border-bottom: 0;
    font-weight: bold;
}

.scriptcode {
    color: #004e8d;
    text-align: left;
    font-family: "Courier New";
}

.title_spoiler {
    font-weight: bold;
}

.text_spoiler {
    border-top: 0;
    text-align: justify;
}

.hide {
    background-color: #e8f3fa;
    padding: 5px;
    color: #3a78a5;
    margin: 0 0 1em;
}

.hide a {
    text-decoration: underline;
}

 .hide a:hover {
    text-decoration: none ;
}

.inhide {
    border: 1px solid #d1e3ef;
    padding: 5px;
    background-color: #fff;
    margin-bottom: 5px;
}

/*---BB коды---*/
 /* различие bbcodes и bbcodes_poll исключительно в длине кнопки */
/* класс bbcodes используем в списке персональных сообщений (pm.tpl) и по умолчанию в модуле редактора сообщений*/
.bbcodes, .bbcodes_poll {
    background: #fff url("http://www.besogon.tv/images/bbcodes.png") repeat-x 0 100%;
    text-shadow: 0 1px 0 #fff;
    border: 1px solid #b3b3b3;
    color: #383838;
    padding: 2px 9px 5px 9px;
    margin-bottom: 2px !important;
    height: 24px;
    font-weight: bold;
    cursor: pointer;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    border-radius: 8px;
    -moz-box-shadow: 0 1px 4px -3px black;
    -webkit-box-shadow: 0 1px 4px -3px black;
    box-shadow: 0 1px 4px -3px black;
}

.bbcodes:hover, .bbcodes_poll:hover {
    background-position: 0 10px;
}

.bbcodes_poll {
    width: 100px;
}

/*---BB Редактор---*/

.bb-pane { height: 1%; overflow: hidden; border: 1px solid #BBB; background-image: url("http://www.besogon.tv/bbcodes/bg.gif"); }
.bb-btn, .bb-sep { margin-right:2px; height: 25px; float: left; display: block; overflow: hidden; text-indent: -9999px; white-space: nowrap; }
.bb-sel { float: left; padding: 4px 2px 0 2px; }
.bb-sel select { font-size: 11px; }
.bb-sep { width: 5px; background-image: url("http://www.besogon.tv/bbcodes/brkspace.gif"); }
.bb-btn { cursor: pointer; width: 23px; }

#b_font { width: 118px;}
#b_size { width: 65px;}
#b_font select { padding: 0px;}
#b_size select { padding: 0px;}
#b_b { background-image: url("http://www.besogon.tv/bbcodes/b.gif"); }
#b_i { background-image: url("http://www.besogon.tv/bbcodes/i.gif"); }
#b_u { background-image: url("http://www.besogon.tv/bbcodes/u.gif"); }
#b_s { background-image: url("http://www.besogon.tv/bbcodes/s.gif"); }
#b_img { background-image: url("http://www.besogon.tv/bbcodes/image.gif"); }
#b_up { background-image: url("http://www.besogon.tv/bbcodes/upload.gif"); }
#b_emo { background-image: url("http://www.besogon.tv/bbcodes/emo.gif"); }
#b_url { background-image: url("http://www.besogon.tv/bbcodes/link.gif"); }
#b_leech { background-image: url("http://www.besogon.tv/bbcodes/leech.gif"); }
#b_mail { background-image: url("http://www.besogon.tv/bbcodes/email.gif"); }
#b_video { background-image: url("http://www.besogon.tv/bbcodes/mp.gif"); }
#b_audio { background-image: url("http://www.besogon.tv/bbcodes/mp3.gif"); }
#b_hide { background-image: url("http://www.besogon.tv/bbcodes/hide.gif"); }
#b_quote { background-image: url("http://www.besogon.tv/bbcodes/quote.gif"); }
#b_code { background-image: url("http://www.besogon.tv/bbcodes/code.gif"); }
#b_left { background-image: url("http://www.besogon.tv/bbcodes/l.gif"); }
#b_center { background-image: url("http://www.besogon.tv/bbcodes/c.gif"); }
#b_right { background-image: url("http://www.besogon.tv/bbcodes/r.gif"); }
#b_color { background-image: url("http://www.besogon.tv/bbcodes/color.gif"); }
#b_spoiler { background-image: url("http://www.besogon.tv/bbcodes/spoiler.gif"); }
#b_fla { background-image: url("http://www.besogon.tv/bbcodes/flash.gif"); }
#b_yt { background-image: url("http://www.besogon.tv/bbcodes/youtube.gif"); }
#b_tf { background-image: url("http://www.besogon.tv/bbcodes/typograf.gif"); }
#b_list { background-image: url("http://www.besogon.tv/bbcodes/list.gif"); }
#b_ol { background-image: url("http://www.besogon.tv/bbcodes/ol.gif"); }
#b_tnl { background-image: url("http://www.besogon.tv/bbcodes/translit.gif"); }
#b_br { background-image: url("http://www.besogon.tv/bbcodes/pbreak.gif"); }
#b_pl { background-image: url("http://www.besogon.tv/bbcodes/page.gif"); }

.bb-editor textarea { 
    -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box;
    padding: 2px; border: 1px solid #bcc0c2; width: 100%; background: #fff url("http://www.besogon.tv/images/fields.png") repeat-x;
}
.editorcomm .bb-editor { width: 465px;}
.editorcomm .bb-editor textarea { height: 156px; }

.clr {
    clear: both;
}

/*---Дополнительные поля---*/
.xfields textarea, .xprofile textarea {
    height: 186px;
    margin: 0px 1px 0px 0px;
    padding: 0px;
}

.xfields input, .xprofile input {
    width: 250px;
    height: 14px;
    padding: 2px;
}

.xfields_table td {
    vertical-align: top;
}
/*---Выпадающее меню кнопки редактировать---*/
#dropmenudiv {
    border: 1px solid #cbdfe8;
    background-color: #fbfdfe;
    font-size: 11px;
    line-height: 20px;
    margin: 2px 0;
    padding: 5px;
    opacity:0.9;
    -moz-opacity:0.9;
    filter:alpha(opacity=90);
}

#dropmenudiv a {
    display: block;
    text-indent: 3px;
    text-decoration: none;
    color: #3f4b51;
    padding: 1px 0;
    width: 100%;
}

#dropmenudiv a:hover {
    color: #2d8edd;
}

/*---показ оригинальной картинки загруженной на сайт из уменьшенной копии---*/
.highslide-wrapper, .highslide-outline {
    background: #FFFFFF;
}

.highslide-image {
    border: 2px solid #FFFFFF;
}

.highslide-active-anchor {
    visibility: hidden;
}

 .highslide-active-anchor img {
    visibility: hidden;
}

.highslide-dimming {
    background-color: black;
}

.highslide-html {
    background-color: white;
}

.highslide-loading {
    display: block;
    color: white;
    font-size: 9px;
    font-weight: bold;
    text-decoration: none;
    padding: 3px;
    border: 1px solid white;
    background-color: black;
}

a.highslide-full-expand {
    background: url("http://www.besogon.tv/dleimages/fullexpand.gif") no-repeat;
    display: block;
    margin: 0 10px 10px 0;
    width: 34px;
    height: 34px;
}

.highslide-display-block {
    display: block;
}

.highslide-display-none {
    display: none;
}

.highslide-caption {
    display: none;
    padding: 5px;
    background: white;
}

.highslide-controls {
    width: 195px;
    height: 40px;
    background: url("../engine/classes/highslide/graphics/controlbar-black-border.gif") no-repeat 0 -90px;
    margin-right: 15px;
    margin-bottom: 10px;
    margin-top: 10px;
}

.highslide-controls ul {
    position: relative;
    left: 15px;
    height: 40px;
    list-style: none;
    margin: 0;
    padding: 0;
    background: url("../engine/classes/highslide/graphics/controlbar-black-border.gif") no-repeat 100% -90px;
}

.highslide-controls li {
    float: left;
    padding: 5px 0;
}

.highslide-controls a {
    background: url("../engine/classes/highslide/graphics/controlbar-black-border.gif");
    display: block;
    float: left;
    height: 30px;
    width: 30px;
    outline: none;
}

.highslide-controls a.disabled {
    cursor: default;
}

.highslide-controls a span {
    display: none;
}


/*---Диалоговые и всплывающие окна jQuery UI---*/

.ui-helper-hidden { display: none; }
.ui-helper-hidden-accessible { position: absolute; left: -99999999px; }
.ui-helper-reset { margin: 0; padding: 0; border: 0; outline: 0; line-height: 1.3; text-decoration: none; font-size: 100%; list-style: none; }

.ui-helper-clearfix:after {
    clear: both;
    content: ".";
    display: block;
    height: 0;
    visibility: hidden;
}

.ui-helper-clearfix {
    display: inline-block;
}

* html .ui-helper-clearfix {
    height: 1%;
}

.ui-helper-clearfix {
    display: block;
}

.ui-icon {
    background-repeat: no-repeat;
    display: block;
    overflow: hidden;
    text-indent: -99999px;
}

.ui-widget input, .ui-widget select, .ui-widget textarea, .ui-widget button, .ui-widget {
    font-size: 11px;
	font-family: Verdana;
}


.ui-widget-content {
    background: #fff 50% bottom repeat-x;
    border: 1px solid #dedede;
    color: #222;
}

.ui-widget-header {
    background: #cccccc url(http://www.besogon.tv/images/ui-bg_gloss-wave.png) 50% 50% repeat-x;
    color: #000;
    font-weight: bold;
}

.ui-widget-header a {
    color: #fff;
}

.ui-state-default, .ui-widget-content .ui-state-default {
    background: #eaeaea url(http://www.besogon.tv/images/ui-bg_glass_85.png) 50% 50% repeat-x;
    border: 1px solid #cfcfcf;
    color: #868686;
    font-weight: bold;
}

.ui-state-default a, .ui-state-default a:link, .ui-state-default a:visited {
    color: #2e6e9e;
    text-decoration: none;
}

.ui-state-hover, .ui-widget-content .ui-state-hover, .ui-state-focus, .ui-widget-content .ui-state-focus {
    background: #eaeaea url(http://www.besogon.tv/images/ui-bg_glass_75.png) 50% 50% repeat-x;
    border: 1px solid #a7a7a7;
    color: #4e4e4e;
    font-weight: bold;
}

.ui-state-hover a, .ui-state-hover a:hover {
    color: #1d5987;
    text-decoration: none;
}

.ui-state-active, .ui-widget-content .ui-state-active {
    background: #d0e5f5 50% 50% repeat-x;
    border: 1px solid #a7a7a7;
    color: #e17009;
    font-weight: bold;
}

.ui-state-active a, .ui-state-active a:link, .ui-state-active a:visited {
    color: #e17009;
    text-decoration: none;
}

.ui-state-error {
    background: #fef1ec 50% 50% repeat-x;
    border: 1px solid #dedede;
    color: #cd0a0a;
}

.ui-widget-header .ui-icon {
    background-image: url(http://www.besogon.tv/images/ui-icons.png);
}

.ui-state-hover .ui-icon, .ui-state-focus .ui-icon {
    background-image: url(http://www.besogon.tv/images/ui-icons_h.png);
}

.ui-icon-close {
    background-position: -80px -128px;
}

.ui-icon-closethick {
    background-position: -96px -128px;
}

.ui-button .ui-button-text {
    display: block;
    line-height: 1.4em;
}

.ui-button-text-only .ui-button-text {
    padding: .4em .8em;
}

input.ui-button {
    padding: .4em 1em;
}

.ui-button-set {
    margin-right: 7px;
}

.ui-button-set .ui-button {
    margin-left: 0;
    margin-right: -.3em;
}

button.ui-button::-moz-focus-inner {
    border: 0;
    padding: 0;
}

.ui-dialog {
    overflow: hidden;
    padding: .2em;
    position: absolute;
    width: 300px;
    -moz-box-shadow: 0px 12px 25px rgba(0,0,0,0.7);
    -webkit-box-shadow: 0px 12px 25px rgba(0,0,0,0.7);
    box-shadow: 0px 12px 25px rgba(0,0,0,0.7);
}

.ui-dialog .ui-dialog-titlebar {
    padding: .5em 1em .3em;
    position: relative;
}

.ui-dialog .ui-dialog-title {
    float: left;
    margin: .1em 16px .2em 0;
}

.ui-dialog .ui-dialog-titlebar-close {
    height: 18px;
    margin: -10px 0 0 0;
    padding: 1px;
    position: absolute;
    right: .3em;
    top: 50%;
    width: 19px;
}

.ui-dialog .ui-dialog-titlebar-close span {
    display: block;
    margin: 1px;
}

.ui-dialog .ui-dialog-titlebar-close:hover, .ui-dialog .ui-dialog-titlebar-close:focus {
    padding: 0;
}

.ui-dialog .ui-dialog-content {
    background: none;
    border: 0;
    overflow: hidden;
    padding: .5em 1em;
    position: relative;
    zoom: 1;
}

.ui-dialog .ui-dialog-buttonpane {
    background-image: none;
    border-width: 1px 0 0 0;
    margin: .5em 0 0 0;
    padding: .3em 1em .5em .4em;
    text-align: left;
}

.ui-dialog .ui-dialog-buttonpane button {
    cursor: pointer;
    float: right;
    line-height: 1.4em;
    margin: .5em .4em .5em 0;
    overflow: visible;
    padding: .2em .6em .3em .6em;
    width: auto;
}

.ui-dialog .ui-resizable-se {
    bottom: 3px;
    height: 14px;
    right: 3px;
    width: 14px;
}

.ui-draggable .ui-dialog-titlebar {
    cursor: move;
}