﻿@charset "utf-8";

/*************************/
/* СТИЛИ ДЛЯ МЕНЮ-БЛОКОВ */
/*************************/

/******************************************/
/* CSS Стили для вертикального меню       */
/* Огромное спасибо Dynamic Drive'у       */
/*Credits: Dynamic Drive CSS Library      */
/*URL: http://www.dynamicdrive.com/style/ */

/*********************/
/* ВЕРХНИЙ МЕНЮ БЛОК */
/*********************/
#topMenuBlock ul { margin: 0; padding: 0; list-style-type: none; font-family: Arial; font-size: 16px; display: inline; }
#topMenuBlock ul.first_elem { }

#topMenuBlock ul > li { position: relative; color: #fff; display: inline-block; padding: 0; margin: 0; vertical-align: top; }
#topMenuBlock ul > li.currentPageBlock {  }

/******************************/
/* Top level menu links style */
#topMenuBlock ul li > a {
	display: inline-block;
	overflow: auto;
	color: #fff;
	text-decoration: none;
	line-height: 1;
	padding: 22px 14px 0 14px;
	margin: 0;
	font-size: 16px;
	text-align: center;
	text-transform: uppercase;
	height: 34px;
	overflow: hidden;
	background-color: transparent;
	border-bottom: none;
}
#topMenuBlock ul > li:first-child { }
#topMenuBlock ul > li:last-child { }

#topMenuBlock ul li:first-child > a { padding: 22px 14px 0 0; }
#topMenuBlock ul li:last-child > a { padding: 22px 0 0 14px; }

#topMenuBlock ul li > a:link, 
#topMenuBlock ul li > a:visited, 
#topMenuBlock ul li > a:active { color: #fff; }
#topMenuBlock ul li > a:hover { color: #fff; border-bottom: 4px solid #f36e5e; }
#topMenuBlock ul li.currentPageBlock > a { color: #fff; border-bottom: 4px solid #f36e5e; }
#topMenuBlock ul li.selectedPageBlock > a { color: #fff; border-bottom: 4px solid #f36e5e; }

/***********************/
/*Sub level menu items */
#topMenuBlock ul li > ul {
	position: absolute;
	font-size: 14px;
	font-family: Arial;
	top: 58px;
	left: -15px;
	padding: 10px;
	border: 1px solid #f36e5e;
	-moz-border-radius: 6px;
	-webkit-border-radius: 6px;
	border-radius: 6px;			
	visibility: hidden;
	background: #fff;
	z-index: 1500;
}
#topMenuBlock ul li > ul.currentPageBlock {  }
#topMenuBlock ul li ul > li { display: block; margin: 0; background: none; }
#topMenuBlock ul li ul li > a { 
	display: block;
	word-wrap: normal;
	white-space: nowrap;
	padding: 10px 15px;
	height: auto;
	margin: 0; 
	font-size: 14px; 
	color: #6abb3a;
	line-height: 1;
	text-align: left;
	text-transform: none;;
	border-bottom: 1px solid #6abb3a;
	overflow: visible;
}

#topMenuBlock ul li ul li:first-child > a { padding: 10px 15px;   }
#topMenuBlock ul li ul li:last-child > a { padding: 10px 15px;  border-bottom: none;  }

#topMenuBlock ul li ul li > a:link, 
#topMenuBlock ul li ul li > a:visited, 
#topMenuBlock ul li ul li > a:active { color: #6abb3a; }
#topMenuBlock ul li ul li > a:hover { color: #fff; border-bottom: 1px solid #6abb3a; background-color: #6abb3a; }
#topMenuBlock ul li ul li.currentPageBlock > a { color: #fff; border-bottom: 1px solid #6abb3a; background-color: #6abb3a; }
#topMenuBlock ul li ul li.selectedPageBlock > a { color: #fff; border-bottom: 1px solid #6abb3a; background-color: #6abb3a; }

#topMenuBlock ul li ul li:last-child > a:hover,
#topMenuBlock ul li ul li:last-child.currentPageBlock > a,
#topMenuBlock ul li ul li:last-child.selectedPageBlock > a { border-bottom: none; }


#topMenuBlock a.subfolderstyle { }

/* Holly Hack for IE \*/
* html #topMenuBlock ul li { float: left; height: 1%; }
* html #topMenuBlock ul li a { height: 1%; }
/* End */

/* Блок с именем текущей страницы для MFS2014 */
#topMenuBlock .currentPageName {
	display: inline-block;
	position: absolute;
	color: #6abb3a;
	top: 65px;
	width: 300px;
}
#topMenuBlock .But1 .currentPageName,
#topMenuBlock .But2 .currentPageName,
#topMenuBlock .But3 .currentPageName,
#topMenuBlock .But4 .currentPageName,
#topMenuBlock .But5 .currentPageName {
	left: 0;	
	text-align: left;
	padding: 10px 0 0 25px;
	background-image: url(../../images_sys/tpl_imgs/mfs2014_main/mod_pages/left_menu_arrow.png);
	background-position: top left;
	background-repeat: no-repeat;
}

#topMenuBlock .But6 .currentPageName,
#topMenuBlock .But7 .currentPageName,
#topMenuBlock .But8 .currentPageName,
#topMenuBlock .But9 .currentPageName,
#topMenuBlock .But10 .currentPageName {
	right: 0;	
	text-align: right;
	padding: 10px 25px 0 0;
	background-image: url(../../images_sys/tpl_imgs/mfs2014_main/mod_pages/right_menu_arrow.png);
	background-position: top right;
	background-repeat: no-repeat;	
}


/***********************************/
/* Применение стилей к меню-блокам */
/*
#topMenuBlock .But1 ul li a:hover { background: #41884c !important; }
#topMenuBlock .But2 ul li a:hover { background: #41884c !important; }
#topMenuBlock .But3 ul li a:hover { background: #41884c !important; }
#topMenuBlock .But4 ul li a:hover { background: #41884c !important; }
#topMenuBlock .But5 ul li a:hover { background: #41884c !important; }
#topMenuBlock .But6 ul li a:hover { background: #41884c !important; }
#topMenuBlock .But7 ul li a:hover { background: #41884c !important; }
#topMenuBlock .But8 ul li a:hover { background: #41884c !important; }
#topMenuBlock .But9 ul li a:hover { background: #41884c !important; }
*/
/* Конец стиля меню блока */
/**************************/


/*****************************/
/* МЕНЮ БЛОК В КОНТЕНТ БЛОКЕ */
/*****************************/
#mfsContentSubnav ul { margin: 0; padding: 0; list-style-type: none; font-family: Arial; font-size: 16px; display: inline; }
#mfsContentSubnav ul.first_elem { }

#mfsContentSubnav ul > li { 
	position: relative; 
	color: #6abb3a; 
	display: inline-block; 
	padding: 0 0 2px 0; 
	margin: 0 5px 0 0; 
	vertical-align: top;
	background-color: transparent;
}
#mfsContentSubnav ul > li:hover { background-color: #6abb3a; }
#mfsContentSubnav ul > li.currentPageBlock { background-color: #6abb3a; }
#mfsContentSubnav ul > li.selectedPageBlock { background-color: #6abb3a; }

/******************************/
/* Top level menu links style */
#mfsContentSubnav ul li > a {
	display: inline-block;
	overflow: auto;
	color: #6abb3a;
	text-decoration: none;
	line-height: 1;
	padding: 10px 20px;
	margin: 0;
	font-size: 16px;
	text-align: center;
	text-transform: uppercase;
	overflow: hidden;
	background-color: transparent;
	border: 1px solid #6abb3a;
}
#mfsContentSubnav ul > li:first-child { }
#mfsContentSubnav ul > li:last-child { }

#mfsContentSubnav ul li:first-child > a { }
#mfsContentSubnav ul li:last-child > a { }

#mfsContentSubnav ul li > a:link, 
#mfsContentSubnav ul li > a:visited, 
#mfsContentSubnav ul li > a:active { color: #6abb3a; background-color: transparent; }
#mfsContentSubnav ul li > a:hover { color: #fff; background-color: #6abb3a; }
#mfsContentSubnav ul li.currentPageBlock > a { color: #fff; background-color: #6abb3a; }
#mfsContentSubnav ul li.selectedPageBlock > a { color: #fff; background-color: #6abb3a; }

/***********************/
/*Sub level menu items */
#mfsContentSubnav ul li > ul { display: none; }

/* Блок с именем текущей страницы для MFS2014 */
#mfsContentSubnav .currentPageName { display: none; }