/*** *** *** *** *** *** *** *** main layout of any page *** *** *** *** *** *** *** ***/

body			{ background-color: #EDE8E2; margin: 0px; padding: 0px; text-align: center; font-family: arial; }
table			{ width: 100%; margin: 0px; padding: 0px; border: 0px; }
td,th			{ margin: 0px; padding: 0px; text-align: center; vertical-align: center; }
td			{  }
th			{ font-weight: bold; }
p			{ text-align: justify; margin: 1em; }
li			{ text-align: justify; margin-right: 1em; }
img			{ border: 0px; }
a:link			{ color: #000000; }
a:visited		{ color: #000000; }
a:active		{ color: #000000; }
a:hover			{ }
div.title		{ color: #000000; text-align: center ; font-size: 150%; font-weight: bolder ; margin: 1em 00% 1ex; }
h1			{ color: #000000; text-align: center ; font-size: 150%; font-weight: bolder ; margin: 1em 00% 1ex; }
h2			{ color: #003399; text-align: center ; font-size: 100%; font-weight: bold   ; margin: 1em 00% 1ex; }
h3			{ color: #006699; text-align: center ; font-size: 100%; font-weight: normal ; margin: 1em 00% 1ex; }
code			{ color: #007a00; }

.row1			{ background-color: #F5E7CD; }
.row0			{ background-color: #F5E7CD; }

/*** *** *** *** *** *** *** *** ***  layout tables  *** *** *** *** *** *** *** *** ***/

table.mainlayoutext	{ width: 750px; background-color: #E6E7E2; }
table.mainlayoutint	{ width: 100%; }

td.mainheader1		{ text-align: right ; background-color: #000000; width: 180px; }
td.mainheader2		{ text-align: left  ; background-color: #000000; width:  21px; }
td.mainheader3		{ text-align: left  ; background-color: #000000; width: 549px; }

_td.mainstatusL		{ text-align: center; background-color: #FFFFFF; }
_td.mainstatusR		{ text-align: center; background-color: #FFFFFF; }
_td.mainfooter		{ background-color: #52376B; }
_td.mainfooter a:link	{ color: #FFFFFF; text-decoration: none; }
_td.mainfooter a:visited	{ color: #FFFFFF; text-decoration: none; }
_td.mainfooterL		{ text-align: left  ; color: #FFFFFF; font-size: 75%; padding-top: 0.5ex; padding-bottom: 0.5ex; padding-left: 1ex; padding-right: 1ex; }
_td.mainfooterR		{ text-align: right ; color: #FFFFFF; font-size: 75%; padding-top: 0.5ex; padding-bottom: 0.5ex; padding-left: 1ex; padding-right: 1ex; }

td.mainlink		{ text-align: center; vertical-align: top   ; background-color: #FFFFFF; width: 180px; }
td.mainfire		{ text-align: right ; vertical-align: bottom; background-color: #FFFFFF; width: 180px; }
td.mainline		{ text-align: center; vertical-align: top   ; background-color: #FFFFFF; width: 21px;  background-image: url(/.style/lenta2.png);  background-repeat: repeat-y; } 
td.mainbody		{ text-align: center; vertical-align: top   ; background-color: #F5E7CD; padding-bottom: 1em; font-weight: 600; }

_td.mainheaderL		{ border-top   : 1px; border-bottom: 1px; border-left  : 1px; border-right: 0px; border-style: solid; border-color: #000000; }
_td.mainheaderR		{ border-top   : 1px; border-bottom: 1px; border-left  : 0px; border-right: 1px; border-style: solid; border-color: #000000; }
_td.mainbody		{ border-top   : 1px; border-bottom: 1px; border-left  : 0px; border-right: 1px; border-style: solid; border-color: #000000; }
_td.mainlink		{ border-top   : 1px; border-bottom: 1px; border-left  : 1px; border-right: 1px; border-style: solid; border-color: #000000; }

_td.mainstatus td	{ color: #ffffff; font-size: 66%; }
_td.mainstatus0		{ width: 100%; }
_td.mainstatusU		{ text-align: left ; width: 0.1%; }
_td.mainstatusB		{ text-align: left ; width: 0.1%; }
_td.mainstatusT		{ text-align: right; width: 0.1%; }

table.mainsearch	{ width: 80%; background-color: #DB8516; padding: 5px; margin: 5px; }

table.linklayout	{ width: 100%; background-color: #FFFFFF; padding-bottom: 1em; }
td.mainlinkLC		{ text-align: left  ; font-weight: bold; padding-top: 1ex; padding-right: 1ex; font-weight: 400; font-family: "arial black"; }
td.mainlinkLC a:link	{ color: #000000; text-decoration: none; }
td.mainlinkLC a:visited	{ color: #000000; text-decoration: none; }
td.mainlinkLC a:active	{ color: #000000; text-decoration: none; }
td.mainlinkLC a:hover	{ color: #7C33BF; text-decoration: underline; }

/*** *** *** *** *** *** *** *** ***  tabular forms  *** *** *** *** *** *** *** *** ***/

table.form			{ width: 100%; }

tr.formbuttonsingle input	{ width: 100%; }
tr.formbuttondouble input	{ width:  50%; }
tr.formbuttontriple input	{ width:  33%; }
td.formbuttonleft		{ text-align: left  ; }
td.formbuttoncenter		{ text-align: center; }
td.formbuttonright		{ text-align: right ; }

                td.formtitle	{ text-align: right ; font-weight: bold  ; font-style: normal; white-space: nowrap; width: 0.1%; vertical-align: top; }
                td.forminput	{ text-align: left  ; font-weight: normal; font-style: normal; white-space: nowrap; width: 100%; vertical-align: top; }
                td.formhint	{ text-align: right ; font-weight: normal; font-style: italic; white-space: normal; width: 100%; vertical-align: top; font-size: 66%; padding-bottom: 1em; }
tr.formtypehead td.formtitle	{ text-align: center; font-weight: bold  ; font-style: normal; white-space: normal; width: 100%; color: #0066CC; padding: 1em 0 1em; }
tr.formtypehead td.formhint	{ text-align: center; font-weight: normal; font-style: normal; white-space: normal; width: 100%; color: #0066CC; }
tr.formtypetext td.forminput	{ white-space: normal; }

td.forminput input		{ width: 100%; }
td.forminput textarea		{ width: 100%; }
td.forminput select		{ width: 100%; }

tr.formtypebool  input		{ width: 1.5em; }
tr.formtypedate  input		{ width: 33.3%; }
tr.formtypedate  select		{ width: 33.3%; }
tr.formtypetime  input		{ width: 33.3%; }
tr.formtypetime  select		{ width: 33.3%; }
tr.formtypestamp input		{ width: 16.6%; }
tr.formtypestamp select		{ width: 16.6%; }

/*** *** *** *** *** *** *** ***  listmaker  structures  *** *** *** *** *** *** *** ***/

td.listcontent		{ text-align: center; }
td.listlinkpager	{ text-align: center; width: 100%; }
td.listlinksingle	{ text-align: center; width: 100%; }
td.listlinkdouble	{ text-align: center; width:  50%; }
td.listlinktriple	{ text-align: center; width:  33%;}
td.listlinkinline	{ text-align: center; width: 0.1%; vertical-align: center; }

td.listlinksingle img	{ width:     ; height:     ;}
td.listlinkdouble img	{ width:     ; height:     ;}
td.listlinktriple img	{ width:     ; height:     ;}
td.listlinkinline img	{ width: 1em ; height: 1em ;}

/*** *** *** *** *** *** ***   оформление структуры текста   *** *** *** *** *** *** ***/

div.messagehead	{ color: #006699; text-align: center ; font-size: 100%; font-weight: normal ; margin: 1em 00% 1ex; }
div.messagetext	{ color: #000066; text-align: justify; font-size: 100%; font-weight: normal ; margin: 1ex 10% 1ex; }
div.messageinfo	{ color: #000066; text-align: justify; font-size: 100%; font-weight: normal ; margin: 1ex 10% 1ex; }

/*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***/
