/* custom */

html {
  height: 100%;
  margin-bottom: 1px;
}
#logo, #bigsmoke, #medium_smoke, #small_smoke {
behavior: url("../phpshop/templates/apteka/images/iepngfix.htc")
}

a img {
border:0;
}

body {
	margin: 0;
	padding: 0;
	background: #ffffff;
	font-size: 12px;
}
td {
	font-size: 11px;
}

p {
  margin-top: 0;
  margin-bottom: 5px;
}

fieldset {
	border: 0;
	padding: 5px 0;
}

.dalee {text-align:right;
}





span.pathway {
	display: block;
	height: 16px;
	line-height: 16px;
	vertical-align: middle;
	margin-top: 5px;
	margin-bottom: 10px;
	font-weight: bold;
}

span.pathway img {
	margin: 0px 10px;
	vertical-align: middle;
}

div#pathway {
	margin-bottom: 10px;
	padding-left: 8px;
}

a.readon {
	display: block;
	float: left;
	padding-left: 20px;
	margin-top: 10px;
	line-height: 14px;
	height: 16px;
	background: url(../images/default/play.png) no-repeat;
}


/*** header ***/
#right_image{
	position: absolute;
	/*z-index: 10000;*/
	top: 0px;
	right: -19px;
	width: 529px;
	height: 160px;
	overflow: hidden;
}

#right_image {
background: url(../images/right_image.png) no-repeat;
}


#left_image {
	position: absolute;
	/*z-index: 10000;*/
	top: 0px;
	left: -20px;
	width: 412px;
	height: 160px; 
	overflow: hidden;
	
}

#left_image{
background: url(../images/left_image.png) no-repeat;
}


/***** End header *****/


/*** Logo ***/

#logo {
	position: absolute;
	/*z-index: 10000;*/
	top: 10px;
	left: 130px;
	display: block;
	width:304px;
	height: 61px;
	
	background: url(../images/logo.png) no-repeat;
}




/***** End header *****/

/*****Delete*****/
/*#logo {
	position: absolute;
	top: 5px;
	left: 0;
	display: block;
	width:446px;
	height: 94px;
}
*/
/*#logo {
	background: url(../images/logo.png) no-repeat;
}
*/

/*****End delete*****/







/*****************************Flash *******************/

#office {
	position: absolute;
	/*z-index: 20000;*/
	top: 10px;
	right: 170px;
	width: 295px;
	height: 95px;
	overflow: hidden;

}


#numbers {

position: absolute;
	/*z-index: 20000;*/
	top: 60px;
	left: 273px;
	width: 168px;
	height: 93px;
	overflow: hidden;

}


#upflash {

position: absolute;
/*z-index: 20000;*/
	top: -8px;
	left: 573px;
	width: 128px;
	height: 161px;
	overflow: hidden;

}

/*** End ***/

/***** Добавление карты*****/

#map {  
        z-index: 20000;
 	/* border: 1px solid black;*/
 	width: 98px;
 	height: 25px;
 	background: url(../images/map_icon.gif) center  no-repeat;
 	position: absolute;
 	right:30px;
 	top: 7px;
 }

 ul {
 	list-style: none;
 	margin: 0;
 	padding: 0;
 }
 
 
 ul#home, li#home {
 	position: absolute; /* чтобы элементы li не "мешали" в IE6 */
 }
 
 ul#maplink, li#maplink {
  	position: absolute; /* чтобы элементы li не "мешали" в IE6 */
  }

  ul#mail, li#mail {
   	position: absolute; /* чтобы элементы li не "мешали" в IE6 */
  }
 
  #home a {
 	position: absolute;
 	width: 25px;
 	height: 17px;
 	 	left: 1px;
 	top: 3px;
 	/* border: 1px solid black;*/
 }
 
 
 
 #maplink a {
 	position: absolute;
 	width: 25px;
 	height: 17px;
 	 	left: 35px;
 	top: 3px;
 	/* border: 1px solid black;*/
 }
 
 
 
 #mail a {
 	position: absolute;
 	width: 25px;
 	height: 17px;
 	 	left: 70px;
 	top: 3px;
 	/* border: 1px solid black;*/
 }
 
 
 
 
 /***** End*****/
 

/*** fonts ***/

body {
		line-height: 125%;
		font-family: Helvetica, Tahoma, sans-serif; /*** Шрифт текста сайта ***/
		color: #444;
}

       /* size attributes */
/*Величина букы в горизонтальном  меню.При увеличении размера текста сползает футер */

body.f-smaller {
	font-size: 10px;
}

body.f-default {
	font-size: 11px;
}

body.f-larger {
	font-size: 13px;
}

.small,
.modifydate,
.createdate,
div.mosimage_caption {
	font-size: 100%;
}

#nav a,
#inset a {
	font-size: 145%; /*******************Размер шрифта горизонта**********/
}

/*Цвет надписи добро пожаловать на главной странице */
/*Величина названий Поиск,Навигация,блок и т.д */
/*Цвет названий Поиск,Навигация,блок и т.д */

div.moduletable h3,
.contentheading,
.componentheading {
	font-size: 130%;
	color: #0068b4;
}



 /* Добавление полоски и её цвет на главной странице сайта*/	
.contentheading
{
border-bottom: 1px solid #7AC4F7;padding:3px;                           
		}
		
		
/* Добавление полосочек над каждой опцией и её цвет*/
div.moduletable h3
{
border-bottom: 1px solid #7AC4F7;                             
		}	
		
		

.componentheading {
  margin-bottom: 15px;
}

td.componentheading {
	padding-bottom: 15px;
}


/* font family */
h3,
.contentheading,
.componentheading,
#nav,
.sectiontableheader,
span.pathway,
.small,
.createdate,
.modifydate,
#inset {
	font-family: Times New Roman, Helvetica, sans-serif;
	font-weight: bold;
	
}

a:link,
a:visited {
	text-decoration: none;
}

a:hover {
	text-decoration: none;
}

/* module settings */

div.moduletable h3 {
	margin-top: 5px;
	margin-bottom: 10px;
	padding-bottom: 0;
}

div.moduletable {
	margin-bottom: 10px;
}

td.left div.moduletable,
td.right div.moduletable  {
	margin-bottom: 15px;
}

div.moduletable ul {
	margin: 5px 0;
	padding: 0 2em;
}

div.moduletable ul li {
	padding-bottom: 3px;
}

/* default menu link styles */
a.mainlevel {
	display: block;
	text-decoration: underline;
}

a.sublevel {

}

a.mainlevel:hover {
	text-decoration: none;
	background: transparent url('../images/arrow2.gif') no-repeat;
}

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

#inset a.mainlevel {
	display: inline;
	background: none;
	padding: 0 15px;
}

/** regular joomla menu **/

a.mainlevel {
	display: block;
	height: 16px;
	line-height: 15px;
	padding: 0;
	padding-left: 20px;
	background: url('../images/arrow.gif') no-repeat;
	margin-bottom: 3px;
	/* border-bottom: 1px solid #AAD3F7; */
}

a#active_menu:link,
a#active_menu:visited {
	color: #333;
}


li.active_menu a:link,
li.active_menu a:visited {
  color: #333;
}

a.sublevel:link,
a.sublevel:visited {
	font-weight: bold;
}

/* headings */

h1 {
	padding-bottom: 5px;
}

h2 {
   padding-bottom: 5px;
}

h3 { 
   padding-bottom: 5px;
}

h4 {
	 padding-bottom: 5px;
}

.small {
	font-weight: bold;
	color: #999;
}

.modifydate {
	height: 20px;
	vertical-align: bottom;
	font-weight: bold;
	color: #999;
}

.createdate {
	height: 20px;
	vertical-align: top;
	font-weight: bold;
	vertical-align: top;
	padding-bottom: 5px;
	padding-top: 0px;
	color: #999;
}

/** some joomla class stuff */

table.contenttoc {
  margin: 5px;
  padding: 5px;
}

table.contenttoc td {
  padding: 0 5px;
}


td.buttonheading {
 	vertical-align: middle;
}

td.buttonheading img {
	margin-right: 5px;
}

table.mainbody td.mainbody td.sectiontableheader {
  font-weight: bold;
  padding: 4px;
  line-height: 20px;
  background: #f6f6f6;
  border-bottom: 1px solid #ddd;
}

table.mainbody td.mainbody tr.sectiontableentry1 td, 
table.mainbody td.mainbody tr.sectiontableentry2 td {
  padding: 4px;
  border-bottom: 1px solid #efefef;
}

table.mainbody td.mainbody td.sectiontableentry1, 
table.mainbody td.mainbody td.sectiontableentry2{
  padding: 4px;
  border-bottom: 1px solid #efefef;
}

table.contentpaneopen, table.contentpane {
  border-collapse: collapse;
  padding: 0;
  margin: 0;
  width: 100%;
}

div.contentpane, div.contentpaneopen {
  width: 100%;
}


.clr {
	clear: both;
}

div.mosimage {
  margin: 5px;
}


table.adminform textarea {
  width: auto;
  color: #666;
}

/** width stuff **/

.w-wide div.wrapper {
	width: 900px;
}

.w-thin div.wrapper {
	width: 750px;
}

.w-fluid div.wrapper {
	margin: 0 20px;
}


/* showcase */
#showcase {

	background: #ccc url(../images/default/showcase-bg.png) repeat-x;
	color: #444;
}


/** template layout stuff **/

#page_bg {
	height: 100%; 
	padding: 0;
	margin-bottom: 1px;
}

div.wrapper {
	margin: auto;
	position: relative;
}

/*
#header {
	height: 112px;
	overflow: hidden;
}
*/
#access {
	position: absolute;
	z-index: 10000;
	top: 4px;
	right: 20px;
	width: 188px;
	height: 108px;
	overflow: hidden;
}

#access #selectors {
	position: relative;
	height: 8px;
	
}

#access span {
	background-repeat: no-repeat;
}

#access a {
	text-decoration: none;
}

.font-selector,
.width-selector {
	display: block;
	position: absolute;
	top: 0;
	width: 12px;
	height: 6px;
}

.f-smaller #selectors .font-selector {
	right: 159px;
}

.f-default #selectors .font-selector {
	right: 129px;
}

.f-larger #selectors .font-selector {
	right: 99px;
}

.w-thin #selectors .width-selector {
	right: 70px;
}

.w-wide #selectors .width-selector {
	right: 40px;
}

.w-fluid #selectors .width-selector {
	right: 10px;
}

#access #buttons {
	float: right;
}

#access .button {
	display: block;
	float: right;
	width: 20px;
	height: 12px;
	margin: 0 5px;	
	background-repeat: no-repeat
}


#top {
	height: 60px;
	padding-top: 35px;
	overflow: hidden;
	margin-left: 395px;
	margin-bottom: 10px;
	margin-right: 25px;
}

#toolbar {
	height: 31px;
}



#showcase ul,
td.left ul,
td.right ul,
#footer ul {
	list-style: none;
	margin: 0;
	padding: 0;
}
/*Пунктирная линия вертикального каталога */
#showcase li,
td.left li,
td.right li,

#footer li {
		border-bottom: 1px dotted #999;
		padding-bottom: 0;
		margin-bottom: 2px;
}

#showcase .padding,
#footer .padding {
	padding: 5px 25px;
}

#mainbody {
	background: #ccc url(../images/default/body-bg.png) repeat-x;
}

#mainbody-2 {
	background: transparent url(../images/default/body-shadow-br.png) 100% 0 repeat-y;
}

#mainbody-3 {
	background: transparent url(../images/default/body-shadow-bl.png) 0 0 repeat-y;
}

#mainbody-4 {
	background: transparent url(../images/default/body-shadow-tr.png) 100% 0 no-repeat;
}

#mainbody-5 {
	background: transparent url(../images/default/body-shadow-tl.png) 0 0 no-repeat;
	padding: 0 15px;
}

#mainbody-padding {
	background: #fff;
	padding: 5px 10px;
}

#inset {
	color: #ccc;
	text-align: center;
	margin: 15px 0;
}

#inset table {
	width: auto;
	margin: 0 auto;
}

#footer {
	padding-top: 0px;
}


#the-footer {
	
font-family: Times New Roman,Tahoma,Lucida Grande, Helvetica, sans-serif;
		text-align: center;
		margin: 22px 0;
		color: #1163AF;
	font-size: 13px;
	font-weight:bold;
}
table.showcase,
table.mainbody,
table.headlines,
table.footer {
	width: 100%;
	padding: 0;
}

table.headlines {
	margin-top: -5px;
}

table.showcase tr,
table.mainbody tr,
table.headlines tr,
table.footer tr {
	vertical-align: top;
}

table.showcase td.showcase,
table.footer td.footer,
table.headlines td.headlines {
	width: 33%;
}

table.showcase td.showcase,
table.footer td.footer,
table.mainbody td.left,
table.mainbody td.right,
table.headlines td.headlines {
	padding: 0 10px;
}

table.mainbody td.mainbody {
	padding: 0;
}

#mainbody td.mainbody .padding {
	padding: 0 15px;
}

table.mainbody td.left,
table.mainbody td.right {
	width: 20%;
}
/*Маленькая вертикальная полоска между левым и центральным блоком*/
table.mainbody td.left {
	border-right: 1px solid #7AC4F7;
}
/*Маленькая вертикальная полоска между правым и центральным блоком*/
table.mainbody td.right {
	border-left: 1px solid #7AC4F7;
}

table.headlines td.headlines {
	border: 1px solid #e6e6e6;
}

/*****************************
 ****       splitmenu     ****
 *****************************/

#nav {
	margin: 0 0 0 20px;
	padding: 0;
	height: 31px;
	overflow: hidden;
}

#nav ul {
	padding: 0;
	margin: 0;
	margin-left: 2px;
}

#nav li {
	margin: 0;
	padding: 0;
	float: left;
	display: block;
}

#nav a {
	text-decoration: none;
	cursor: pointer;
	font-weight: bold;
}

#nav li.on li.on a {
	text-decoration: underline;
}

#nav li a {
	display: block;
	float: left;
	height: 31px;
	line-height: 31px;
	padding: 0 15px;
}

ul.subemenu {
	padding: 0;
	margin: 0;
}

ul.submenu li {
	border: 0;
	margin: 0px;
	height: 16px;
	line-height: 15px;
	padding: 0;
	padding-left: 20px;
	background: url(../images/default/play.png) no-repeat;
}

ul.submenu ul li {
  margin-left: 10px;
  background: none;
}

ul.submenu ul ul li {
  margin-left: 20px;
  background: none;
}




/* some page content things */

.hide {
	display: none;
}

form {
	border: 0;
	margin: 0;
	padding: 0;
}

table.blog span.article_seperator {
	display: block;
	height: 20px;
}

table.pollstableborder td {
	text-align: left;
	padding: 2px 0;
}

input#mod_search_searchword {
	width: 140px;
}

.highlight {
  background-color: #ffc;
}


















/* header */
#header {
	background: #3c3c3c url(../images/header-bg.png) repeat-x;
	height: 161px;

overflow: hidden;  /* Добавлена высота шапки и overflow */
	
}

.header-dark #top {
	color: #999;
}

.font-selector,
.width-selector {
	background: url(../images/access-select.png) no-repeat;
}

.lrg .button {
	background: url(../images/access-lrg.png);
}

.sml .button {
	background: url(../images/access-sml.png);
}

.med .button {
	background: url(../images/access-med.png);
}

.thin .button {
	background: url(../images/access-thin.png);
}

.wide .button {
	background: url(../images/access-wide.png);
}

.fluid .button {
	background: url(../images/access-fluid.png);
}







/*Цвет ссылок вертикального меню*/

/* toolbar */
a {
	color: #006699;
}

a:hover {
	color: #000;
}

#toolbar {
	background: url(../images/toolbar-bg.png) repeat-x;
	height: 36px; /* Добавлен height. Толбар для горизонтального меню.*/
}

/* управление рисками горизонта */

#nav li.active_menu a:hover {
	background: url(../images/toolbar-bg2.png) 0 0 repeat-x; /* динамические кнопки на горизонте */


}






/*
.header-dark #nav li.active_menu a:hover {
	background: url(../images/toolbar-select.png) 50% 0 no-repeat;
}

.header-light #nav li.active_menu a {
	background: url(../images/toolbar-select-light.png) 50% 0 no-repeat;
}

*/

#nav {
	background: url(../images/toolbar-div.png) 0 0 no-repeat;
}

#nav li {
	background: url(../images/toolbar-div.png) 100% 0 no-repeat;
 padding-right:2px;  /*** отступ рисок ***/

}


/*Цвет ссылок горизонта*/

#nav li a {
	color: #fff;
}

/*Цвет ссылок горизонта при указании на одну из них*/
#nav a:hover {
	color: #062C4F;
}






/* toolbar footer */
body.footer-dark #footer h3 {
	color: #9DCA3F;
}





/* footer */
body.footer-green{
	background: #698724;
	
	}

#footer {
	background:  url(../images/footer-bg.png) repeat-x;

	}

#footer li {
	border-bottom: 1px dotted #A1C746;
}

#footer div.moduletable {
	color: #fff;
		
	}
	
	#liveinternet {
	
		position: absolute;
	z-index: 10000;
	bottom: 0px;
	left: -3px;
	overflow: hidden;
	top: 10px;
	
	
}
	
	
	

/*----Дополнение.Высота для блока футер------*/

#footer {height: 88px;
margin:0px;
  padding:0px;
  
}


body.footer-green #footer a {
	color: #fff;
}

body.footer-green #footer a:hover {
	color: #000;
}

body.footer-green #footer h3 {
	color: #333;
}

#m1 div {
border-bottom: 1px dashed #8cc7fa;
/* background: #f0f7fc; */

}

.imagelink  a:hover  {

background: url('../images/arrow3.gif') no-repeat;



}



#m1 a {
color: #0748cb;

}
/* Цвет текста меню при наведении мышью */
#m1 a:hover {
    text-decoration:none;
color:#000000;
}


#m1 div:hover {
    background: #d7e6f6;/* Меняем цвет фона подраздела вертикального меню при наведении мышью */ 
  

	  }



#m2 div {
border-bottom: 1px dashed #8cc7fa;
/* background: #f0f7fc; */

}

#m2 div:hover {
    background: #d7e6f6;/* Меняем цвет фона подраздела вертикального меню при наведении мышью */ 
       }



#m2 a {
color: #0748cb;

}
#m2 a:hover {
color: #000000;
}



#m3 div {
border-bottom: 1px dashed #8cc7fa;
 /* background: #f0f7fc; */
}
#m3 a {
color: ##0748cb;

}


#m3 a:hover {
color: #000000;
}


#m3 div:hover {
    background: #d7e6f6;/* Меняем цвет фона подраздела вертикального меню при наведении мышью */ 
       }







#m4 div {
border-bottom: 1px dashed #8cc7fa;
 /* background: #f0f7fc; */
}
#m4 a {
color: ##0748cb;

}


#m4 a:hover {
color: #000000;
}

#m4 div:hover {
    background: #d7e6f6;/* Меняем цвет фона подраздела вертикального меню при наведении мышью */ 
       }



#m5 div {
border-bottom: 1px dashed #8cc7fa;
 /* background: #f0f7fc; */
}
#m5 a {
color: ##0748cb;

}


#m5 a:hover {
color: #000000;
}



#m5 div:hover {
    background: #d7e6f6;/* Меняем цвет фона подраздела вертикального меню при наведении мышью */ 
       }







#bigsmoke {
	position: absolute;
	z-index: 10000;
	top: 0px;
	left: 180px;
	width: 170px;
	height: 82px;
	overflow: hidden;
	
}

#bigsmoke
{
	background: url(../images/bigsmoke.png) no-repeat;
}




#medium_smoke {
	position: absolute;
	z-index: 10000;
	bottom: 0px;
	right: 150px;
	width: 12px;
	height: 82px;
	overflow: hidden;
	top: 0px;
	
}

#medium_smoke
{
	background: url(../images/medium_smoke.png) no-repeat;
}




#small_smoke

{
	position: absolute;
	z-index: 10000;
	bottom: 0px;
	right: 170px;
	width: 7px;
	height: 82px;
	overflow: hidden;
	top: 0px;
	
}

#small_smoke

{
	background: url(../images/small_smoke.png) no-repeat;
}



#arrow

{
	position: absolute;
	z-index: 10000;
	bottom: 0px;
	right: -3px;
	width: 11px;
	height: 14px;
	overflow: hidden;
	top: 10px;
	
}


#arrow
{
	background: url(../images/arrow.png) no-repeat;
}

.underline {
 border-bottom: 1px dashed #76BAF6; /* Добавляем класс пунктирной линии под текстом Далее */
}

#underline2 {

 text-decoration: underline; /* Добавляем подчеркивание  на ссылке */

}

#underline3 {

 text-decoration: underline; /* Добавляем подчеркивание  на ссылке */

}

#underline3:hover {

 text-decoration: none; /* Добавляем подчеркивание  на ссылке */

}

tr#linkimages:hover {
    background: #ADD8E6;/* Меняем цвет фона одной строки таблицы */ 
       }
tr#linkimages2:hover {
background: #ADD8E6;/* Меняем цвет фона другой строки таблицы */ 
       }   
	   
	   
tr#linkimages {
background-color: #eaf1f6; 
}
tr#linkimages2 {
background-color: #d5e8f8;
}

tr#linkimages3:hover {
background: #ADD8E6;/* Меняем цвет фона другой строки таблицы */ 
       }  


#rukovodstvo a:hover{
	color: #000000;
text-decoration: underline;
	}





