html {
	height: 100%;
	margin-bottom: 1px;
}

form {
	margin: 0;
	padding: 0;
}

body {
	font-family: Helvetica,Arial,sans-serif;
	line-height: 1.3em;
	margin: 0px 0px 0px 0px;
	font-size: 14px;
	color: #333;
}

a:link, a:visited {
	text-decoration: none;
	font-weight: normal;
}

a:hover {
	text-decoration: underline;
	font-weight: normal;
}

input.button { cursor: pointer; }

p { margin-top: 0; margin-bottom: 5px; }

img { border: 0 none; max-width: 100%; height: auto;}

#page_bg {
	background-image:url(../images/back.jpg);
	background-repeat:no-repeat;
	background-position:center top;
	background-color:#000000;
	margin-bottom: 1px;
}


div.center {
	text-align: center;
}

div#wrapper {
	margin-left: auto;
	margin-right: auto;
	max-width: 950px;
    width: 100%;
}
div#header {
	max-width: 950px;
    width: 100%;
	height: 120px;
}

div#logo {
	position: relative;
	left: 20px;
	top: 0;
	float: left;
	width: 220px;
	height: 120px;
	background: url(../images/logo.png) 0 15px no-repeat;
}


div#topmenu {
	/*background: url(../images/topmenu.png) 0 10px no-repeat;*/
	background-color: rgba(0, 0, 0, 0.7);
    border: 1px solid #5f5959;
    border-bottom: none;
    
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    margin-top: 10px;
    max-width:950px;
    width: calc(100% - 2px);
	height: 54px;
	text-align: left;
	color: #aaa;
}

#area {width: 100%; max-width: 930px;}

#bodybox div {
	text-align: left;
}

#bodybox_t {
	max-width:950px;
    width: calc(100% - 2px);
	height: 20px;
	/*background: url(../images/bodyt.png) 0 0 no-repeat;*/
    background: rgba(0, 0, 0, 0.7);
    border-left: 1px solid #5f5959;
    border-right: 1px solid #5f5959;
    z-index: 1;
    position: relative;
}

#bodybox_m {
	width: auto;
	padding: 1px 8px;
	/*background: url(../images/bodym.png) 0 0 repeat-y;*/
    background-color: white;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    z-index: 2;
    position: relative;
    top: -20px;
    border-left: 2px solid black;
    border-right: 2px solid black;
}

#bodybox_b {
	max-width:946px;
    width: calc(100% - 4px);
	height: 20px;
	/*background: url(../images/bodyb.png) 0 0 no-repeat;*/
    background-color: white;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
    top: -21px;
    left: 2px;
    z-index: 2;
    position: relative;
}


/* horizontal pill menu */
table.pill {
	padding: 0;
	text-align: left;
}

td.pill_l {
	width:  20px;
	height: 54px;
}

td.pill_m {
	padding: 0;
	margin: 0;
	width: auto;
}

td.pill_r {
	width:  19px;
	height: 54px;
}

#pillmenu {
	white-space: nowrap;
	height: 54px;
	float: left;
}

#pillmenu ul {
	margin: 0;
	padding: 0;
	list-style:none;
}

#pillmenu li {
	float: left;
	background: url(../images/tmseparator.png) right 10px no-repeat;
    
    
	margin: 0;
}

#pillmenu a {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 16px;
	font-weight: bold;
	float:left;
	display:block;
	height: 15px;
	line-height: 3px;
	padding: 25px 20px;
	color: #fff;
	text-decoration: none;
    
}

#pillmenu a#active_menu-nav {
	margin-top:2px;
	height: 15px;
	line-height: 21px;
}



div#footer_r {
	padding-top: 10px;
	height: 47px;
	overflow: hidden;
}

div#footer_r div {
	text-align: center;
	font-size: .90em;
	color: #aaa;
}

div#footer_r a:link, div#footer_r a:visited  {
	color: #999;
}

div#footerspacer {
	height: 10px;
}

#pathway {
	padding: 0px 10px 8px;
	width: auto;
	margin-top: -2px;
	margin-right: 250px;
	text-align: left;
}

#leftcolumn {
	padding: 0;
	margin: 0;
	width: 20%;
	float:left;
}

#maincolumn,
#maincolumn_full {
	margin-left: 20%;
	padding-left: 15px;
	width: 75%;
}

#maincolumn_full {
	margin-left: 10px;
	padding: 0;
	width: 99%;
}

table.nopad {
	width: 100%;
	border-collapse: collapse;
	padding: 0;
	margin: 0;
	margin-bottom: 15px;
    margin-top: 20px;
}
table.blog a {text-decoration: none; color: #3840a0;}
table.blog a:hover {color: #1482e2;}
table.blog p {color: black; font-size: 1.2em;}

table.nopad td.middle_pad {
	width: 20px;
}
table.blog .contentheading {font-size: 1.5em;}


div.offline {
	background: #fffebb;
	width: 100%;
	position: absolute;
	top: 0;
	left: 0;
	font-size: 1.2em;
	padding: 5px;
}

span.pathway {
	display: block;
	margin: 0 20px;
	height: 16px;
	line-height: 16px;
	overflow: hidden;
}

div.componentheading {
	padding-left: 0px;
    margin-top: 20px;
}

h1, .contentheading {
	padding: 0;
	font-family:Helvetica ,Arial,sans-serif;
	font-size: 2em;
	line-height: 1.5em;
	font-weight: normal;
	vertical-align: bottom;
	color: #27074a;
	text-align: left;
	width: 100%;
}

h2 {
	padding: 0;
	font-family: Arial, Helvetica,sans-serif;
	font-size: 1.6em;
	font-weight: normal;
	vertical-align: bottom;
	color: #27074a;
	text-align: left;
	width: 100%;
    line-height: 1.2em;
}

table.contentpaneopen h3 {
	margin-top: 25px;
}

h4 {
	font-family: Arial, Helvetica, sans-serif;
	color: #333;
}

h3, .componentheading, table.moduletable th, legend {
	margin: 0;
	font-weight: bold;
	font-family: Helvetica,Arial,sans-serif;
	font-size: 1.5em;
	padding-left: 0px;
	margin-bottom: 10px;
	text-align: left;
}

.small {
	font-size: .90em;
	color: #000;
	font-weight: normal;
	text-align: left;
}

.modifydate {
  height: 20px;
  vertical-align: bottom;
	font-size: .90em;
	color: #000;
	font-weight: normal;
	text-align: left;
}

.createdate {
	height: 20px;
	vertical-align: top;
	font-size: .90em;
	color: #000;
	font-weight: normal;
	vertical-align: top;
	padding-bottom: 5px;
	padding-top: 0px;

}

a.readon {
	margin-top: 10px;
	display: block;
	float: left;
	background: url(../images/mw_readon.png) top right no-repeat;
	padding-right: 20px;
	line-height: 14px;
	height: 16px;
}

.invalid { border-color: #ff0000; }
label.invalid { color: #ff0000; }


.ol-foreground {
	background-color: #000;
}

.ol-background {
	background-color: #000;
}

.ol-textfont {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 10px;
}

.ol-captionfont {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
	color: #000;
	font-weight: bold;
}
.ol-captionfont a {
	color: #000;
	text-decoration: none;
	font-size: 12px;
}

.ol-closefont {}

a.mainlevel:link, a.mainlevel:visited {
	padding-left: 5px;
}

a.mainlevel:hover {

}

span.article_separator {
	display: block;
	height: 20px;
}

.article_column {
	padding-right: 5px;
}

.column_separator {
	border-left: 1px dashed #e0e0e0;
	padding-left: 10px;
}

td.buttonheading {

}

td.buttonheading img {
	border:none;
}

.clr {
	clear: both;
}


div#maindivider {
	border-top: 1px solid #ddd;
	margin-bottom: 10px;
	overflow: hidden;
	height: 1px;
}

table.blog span.article_separator {
	display: block;
	height: 20px;
}

.contentpaneopen_edit{
	float: left;
}

table.contenttoc {
	margin: 5px;
	border: 1px solid #ccc;
	padding: 5px;
	float: right;
}

table.contenttoc td {
	padding: 0 5px;
}


td.sectiontableheader {
	background: #efefef;
	color: #333;
	font-weight: bold;
	padding: 4px;
	border-right: 1px solid #fff;
}

tr.sectiontableentry0 td,
tr.sectiontableentry1 td,
tr.sectiontableentry2 td {
  padding: 4px;
}

td.sectiontableentry0,
td.sectiontableentry1,
td.sectiontableentry2 {
	padding: 3px;
}


table.contentpaneopen, table.contentpane {
	margin: 0;
	padding: 0;
	width: 100%;
}

table.contentpaneopen li {
	margin-bottom: 5px;
}

table.contentpaneopen fieldset {
	border: 0;
	border-top: 1px solid #ddd;
}

table.contentpaneopen h3 {
	margin-top: 25px;
}

table.contentpaneopen h4 {
	font-family: Arial, Helvetica, sans-serif;
	color: #333;
}

.highlight {
	background-color: #fffebb;
}

table.user1user2 div.moduletable {
	margin-bottom: 0px;
}

div.moduletable, div.module {
  margin-bottom: 25px;
}

div.module_menu h3 {
	font-family: Helvetica, Arial, sans-serif;
	font-size: 12px;
	font-weight: bold;
	color: #000;
	margin: -23px -4px 5px -5px;
	padding-left: 10px;
	padding-bottom: 2px;
}

div.module_menu {
	margin: 0;
	padding: 0;
	margin-bottom: 15px;
}

div.module_menu div div div {
	padding: 10px;
	padding-top: 30px;
	padding-bottom: 15px;
	width: auto;
}

div.module_menu div div div div {
	background: none;
	padding: 0;
}

div.module_menu ul {
	margin: 10px 0;
	padding-left: 20px;
}

div.module_menu ul li a:link, div.module_menu ul li a:visited {
	font-weight: bold;
}

#leftcolumn div.module {
	padding: 0 10px;
}

#leftcolumn div.module table {
	width: auto;
}

/* forms */
table.adminform textarea {
	width: 540px;
	height: 400px;
	font-size: 1em;
	color: #000099;
}

div.search input {
	width: 145px;
	border: 1px solid #ccc;
	margin: 15px 0 10px 0;
}

form#form-login fieldset { border: 0 none; margin: 0em; padding: 0.2em;}
form#form-login ul { padding-left: 20px; }

form#com-form-login fieldset { border: 0 none; margin: 0em; padding: 0.2em;}
form#com-form-login ul { padding-left: 20px; }

div.mosimage         {  margin: 5px; }
div.mosimage_caption {  font-size: .90em; color: #666; }

div.caption       { padding: 0 10px 0 10px; }
div.caption img   { border: 1px solid #CCC; }
div.caption p     { font-size: .90em; color: #666; text-align: center; }

div.img_caption       { padding: 0 10px 0 10px; }
div.img_caption img   { border: 1px solid #CCC; }
div.img_caption p     { font-size: .90em; color: #666; text-align: center; }

table.paramlist {
	margin-top: 5px;
}

table.paramlist td.paramlist_key {
	width: 128px;
	text-align: left;
	height: 30px;
}

table.paramlist td.paramlist_value {
}

div.message {
	font-family : "Trebuchet MS", Arial, Helvetica, sans-serif;
	font-weight: bold;
	font-size : 14px;
	color : #c30;
	text-align: center;
	width: auto;
	background-color: #f9f9f9;
	border: solid 1px #d5d5d5;
	margin: 3px 0px 10px;
	padding: 3px 20px;
}


.pagination span { padding: 2px; }
.pagination a    { padding: 2px; }

.pollstableborder td {
	text-align: left;
}

span.description {
	display:block;
	padding-left: 30px;
}

fieldset {
	border: 1px solid #ccc;
	margin-top: 15px;
	padding: 15px;
}

legend {
	margin: 0;
	padding: 0 10px;
}


.tool-tip {
	float: left;
	background: #ffc;
	border: 1px solid #D4D5AA;
	padding: 5px;
	max-width: 200px;
}

.tool-title {
	padding: 0;
	margin: 0;
	font-size: 100%;
	font-weight: bold;
	margin-top: -15px;
	padding-top: 15px;
	padding-bottom: 5px;
	background: url(../../system/images/selector-arrow.png) no-repeat;
}

.tool-text {
	font-size: 100%;
	margin: 0;
}

#system-message { margin-bottom: 20px; }

#system-message dd.message ul { background: #C3D2E5 url(../../system/images/notice-info.png) 4px center no-repeat;border-top: 3px solid #DE7A7B; border-bottom: 3px solid #DE7A7B; margin:0px; padding-left: 40px; text-indent:0px;}

#system-message dd.error ul { color: #c00; background: #E6C0C0 url(../../system/images/notice-alert.png) 4px center no-repeat; border-top: 3px solid #DE7A7B; border-bottom: 3px solid #DE7A7B; margin:0px; padding-left: 40px; text-indent:0px;}

#system-message dd.notice ul { color: #c00; background: #EFE7B8 url(../../system/images/notice-note.png) 4px center no-repeat; border-top: 3px solid #F0DC7E; border-bottom: 3px solid #F0DC7E; margin:0px; padding-left: 40px; text-indent:0px;}

#syndicate{
	float:left;
	padding-left: 25px;
}

#power_by{
	float:right;
	padding-right: 25px;
}

#component-contact table td {
	padding: 2px 0;
}
#social {
    width: 100%;
}
#social tr td {width: 50%; text-align: left;}

#products {
    width: 100%;
}
#products tr td {width: 50%;}

#fb, #articles {
    width: 100%;
}
#fb tr td {width: 50%; vertical-align: top;}
#articles tr td {width: 50%; vertical-align: top;}
#fb tr #first {width: 65%;}
#fb tr #second {width: 35%;}

#test, #info, #info2, #templs, #td_2_to_1 {
    width: 100%;
}
#test tr td a img {float: right;}
#test tr td a #img_l {float: left;}

#templs tr td {width: 14%; height: 130px; float: left; margin-bottom: 5px;}
#templs tr td img {height: 75px;}
#td_2_to_1 tr td {width: 50%;}
#td_2_to_11 tr td {width: 50%;}
#td_3_to_1 tr td {width: 33%;}
#td_3_to_1 tr #w50 {width: 10%;}


#i225 {max-height: 225px; max-width: 100%;}
#i315 {max-height: 315px; max-width: 100%;}
#i420 {max-height: 420px; max-width: 100%;}
#i450 {max-height: 450px; max-width: 100%;}

#imgs tr td {
    width: 30%;
}
#down100 {width: 240px; float: left;}
#w100 {float: right; width: calc(100% - 260px); margin-top: 10px;}

.fb-comments iframe {width: 100%;}

.video {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    
}
.video iframe,  
.video object,  
.video embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
    
#block-3 {width: 50%;}

@media only screen and (max-width: 800px) {
    #test tr td {width: calc(100% - 20px); float: left;}
    #td_2_to_1 tr #p800 {width: 100%; float: left;}
    #test tr td a img {float: left;!important}
    #templs tr td {width: 24%; float: left;}
    #i225 {max-height: none;}
    #i315 {max-height: none;}
    #i420 {max-height: none;}
    #i450 {max-height: none;}
    

#down100 {display: table-footer-group;} /* Отобразится внизу псевдотаблицы */

#w100 {display: table-header-group; float: none;} /* Отобразится вверху */
    #products {border-spacing: 10px;}
    blockquote {margin: 0;}
    #example {display: table; width: 100%; }
    #block-1 {display: table-footer-group; width: 100%;} /* Отобразится внизу псевдотаблицы */
    #block-3 {display: table-header-group; width: 100%;} /* Отобразится вверху */
    
}

@media only screen and (max-width: 600px) {
    #products tr td {width: 100%; float: left;}
    #fb {border-spacing: 0}
    #fb tr #first {width: 100%; float: left;}
    #fb tr #second {width: 100%; float: left;}
    img {max-width: 90%; height: auto;}
    #articles {border-spacing: 0;}
    #articles tr td {width: 100%; float: left;}
    #imgs tr td {width: 100%; float: left;}
    #info tr td {width: 100%; float: left; margin-bottom: 10px;}
    #info2 tr td {width: 100%; float: left; margin-bottom: 10px;}
    #t_bot tr td {width: 100%; float: left; margin-bottom: 10px;}
    #maincolumn_full {margin-left: 1px;}
    #templs tr td {width: 30%; float: left;}
    #td_2_to_1 tr td {width: 100%; float: left;}
    #td_3_to_1 tr td {width: 100%; float: left;}
    #td_3_to_1 tr td #trans {-moz-transform: rotate(90deg); /* Для Firefox */
                            -ms-transform: rotate(90deg); /* Для IE */
                            -webkit-transform: rotate(90deg); /* Для Safari, Chrome, iOS */
                            -o-transform: rotate(90deg); /* Для Opera */
                            transform: rotate(90deg);}
    #td_3_to_1 tr #w50 {width: 100%;}
    #form tr td {width: 100%; float: left;}
    .blog tr td {width: 100%; float: left;}
    .blog .blog_ins tr td {width: 100%; float: left;}
    #stamp3_6 tr #l {width: 50px; float: left;}
    #stamp3_6 tr td {width: calc(100% - 50px);}
    #td_75 tr td {width: 100%; float: left;}
    
}

@media only screen and (max-width: 500px) {
    td.pill_l {width: 0}
    td.pill_m {width: 100%}
    td.pill_r {width: 0}
    div#topmenu {height: auto}
    #pillmenu {height: auto; z-index: 2; float: none;}
    #pillmenu li {width: 100%; background: none; float: none;}
    #social tr td {width: 100%; float: left; margin-bottom: 20px;}
    h1 {line-height: 1em;}
    img {max-width: 90%; height: auto;}
    #products tr td img {width: 50%; height: auto; hspace: 0;}
    #t_bot {border-spacing: 0;}
    #templs tr td {width: 45%; float: left;}
    #form tr td {width: 100%; float: left;}
    #stamp3_6 tr #l {width: 100%; float: left; margin-top: 20px;}
    #stamp3_6 tr td {width: 100%; float: left;}
    #td_2_to_1 {border-spacing: 0;}
    table {border-spacing: 0;}
}

