html,
body {
 margin: 0px;
 padding: 0px;
}

body {
 position: relative;
 font-family: Tahoma, Arial, Sans Serif;
 font-size: 10pt;
 background: #e0e0e0 url('img/bg.png') 50% 0% repeat-x;
 height: 100%;
 color: #323e93;
}

* {line-height: 1.25em;} 

div {
 position: relative;
 margin: 0px;
 padding: 0px;   
}

img {
 margin: 0px;
 padding: 0px;    
 border-style: none;
}

#header {
 margin-left: 50%;
 height: 120px;
}

#title { 
 left: -450px;
 top: 24px; 
 width: 450px;
 text-align: right;
 font-size: 24px;
 line-height: 1.2em;
}

#title, #header img, #header a, #pict {position: absolute; display: block;}
#emblem {left: 44px; top: 8px;}
#TverEmblem {left: 160px; top: 20px;} 

#pict {left: 298px; top: 38px;}
#pict a, #pict a img {position: relative; display: inline;}
#pict a {margin: 0px; padding: 0px;}
#pict a img {width: 14px; height: 14px; margin-right: 20px;}

#mainMenu {
 text-align: center;
 font-size: 18px;
 line-height: 1.4em;
 margin-bottom: 30px;
}
#mainMenu a,
#mainMenu span {
 white-space: nowrap;
 margin: 0em 0.4em;
}

#mainMenu a, #menu a {text-decoration: none;}
#mainMenu a:hover, #menu a:hover {text-decoration: underline;}

#mainMenu a.active,
#mainMenu span,
#mAsNLCurrentItem {color: #f27305;}


#left {
 position: absolute;
 z-index: 1;
 width: 202px;  /* 270 */
 padding: 70px 30px 260px 38px;
}

#leftTop {
 position: absolute;
 top: -65px;
 left: 38px;
 width: 90px;
 font-size: 52px;
 color: #e80019;
 font-family: Arial, Sans Serif;
 font-weight: bold;
}
#leftTop div {
 font-size: 16px; 
 color: #323e93;
 font-family: Tahoma, Arial, Sans Serif;
 font-weight: normal;
}
#leftTop img {
 width: 61px;
 height: 55px;
 margin-top: 10px;
}

#menu {
 font-size: 10.5pt; 
}
#menu ul {
 list-style: none outside;
 margin: 0em;
 padding: 0px;
}
#menu ul ul {
 margin-left: 1em;
}
#menu ul li {
 margin: 0.4em 0em;
 padding: 0px;
}

#leftBottom {
 position: absolute;
 bottom: 30px;
 left: 30px;
 font-size: 8pt;
}
#leftBottom div.em {
 margin: 20px 0px;
 font-size: 9pt;
}

#center { 
 padding: 0px 270px 70px 270px;
 /* pict. max. width: 235px */ 
}

#right {
 position: absolute; 
 z-index: 1;
 right: 30px;
 top: 180px;
 width: 202px;  /* 270 */
 padding: 0px 0px 84px 38px; 
}

#ParaGraf {
 display: block;
 position: absolute;
 z-index: 2;
 bottom: 30px;
 right: -30px;
 width: 111px;
 height: 24px;
 background-color: #d51c16;
 color: white;
 margin: 0px;
 padding: 0px;
 font-family: Times;
 font-size: 16px;
}

#ParaGraf img {
 position: absolute;
 border-style: none !important;
 margin: 0px !important;
 left: 0px !important;
}

#counter {
 padding: 5px;
 text-align: right;
 top: -50px;
 left: 0px;
}

#errors, #messages {
 float: left;
 padding: 2px 15px;
 margin: 15px 0px;
}

#errors {
 border: 1px solid #c10900;
 color: #c10900;
 background: transparent url('../admin/img/admBgError.png');
 _background-image: expression('none');
 _filter: expression("progid:DXImageTransform.Microsoft.AlphaImageLoader(src='http://'+window.location.hostname+'/themes/mchsTver/admin/img/admBgError.png', sizingMethod='scale')");
}

#messages {
 border: 1px solid #323e93;
 background: transparent url('../admin/img/admBg.png');
 _background-image: expression('none');
 _filter: expression("progid:DXImageTransform.Microsoft.AlphaImageLoader(src='http://'+window.location.hostname+'/themes/mchsTver/admin/img/admBg.png', sizingMethod='scale')");
}

.clear {
 clear: both;
 line-height: 1px;
 font-size: 1px;
}




/* <toEditor> */

#center img,
#right img {
 border-style: solid;
 border-width: 1px;
 border-color: #898dad #5c628f #5c628f #898dad;
 margin: 5px;
 position: relative;
 left: -5px;
}
#center img:hover,
#right img:hover {border-color: #5c628f;}

a, #center a, #right a {
 color: #323e93;
 text-decoration: underline;
}

h1, h2, h3, h4, h5, h6 {
 font-weight: normal;
 margin: 1.5em 0em 0.5em 0em;
}
h1 {font-size: 12pt;}
#center h1, #right h1 {border-bottom: 1px solid #323e93;}
h2 {font-size: 12pt;}
h3 {font-size: 11pt;}
h4 {font-size: 10pt;}
h5 {font-size: 9pt;}
h6 {font-size: 8pt; color: #797979;}

p {
 margin: 0.5em 0em;
 padding: 0px;
}

img.gallery {margin: 35px 10px !important;}
img.gallery-vertical {margin: 10px 35px !important;}

/* </toEditor> */

