/* ***************************** *
 * стили меню базовое оформление *
 * ***************************** */

	/* горизонтальное меню базовое оформление*/
	ol.menu-horisontal {
		display: block;
		list-style: none;
		margin: 0;
		padding: 0;
		min-height: 14px;
	}
		ol.menu-horisontal li {
			display: block;
			float: left;
			margin: 0;
			padding: 0;
			min-width: 60px;
		}
		ol.menu-horisontal li a {
			display: block;
			padding-left: 5px;
			padding-right: 5px;
			text-decoration: none;
			text-align: center;
		}
		ol.menu-horisontal li sup {
			position: relative;
			display: none;
		}
        ol.menu-horisontal > li {
            position: relative;
        }
        ol.menu-horisontal_style1 > li.menu-item_haschild:after {
            content: '';
            width: 0;
            height: 0;
            border: 4px solid transparent;
            border-left-color: #1f384c;
            border-right: 0;
            position: absolute;
            top: 12px;
            right: 10px;
        }
        ol.menu-horisontal_style1 > li.menu-item_haschild:hover:after {
            border-left-color: #ffffff;
        }

	/* вертикальное меню */
	ol.menu-vertical {
		display: block;
		list-style: none;
		margin: 0;
		padding: 0;
		min-height: 14px;
	}
		ol.menu-vertical li {
			display: block;
			margin: 0;
			padding: 0;
			min-width: 60px;
		}
		ol.menu-vertical li a {
			display: block;
			padding-top: 5px;
			padding-bottom: 5px;
			text-decoration: none;
			text-align: left;
		}
		ol.menu-vertical li sup {
			position: relative;
			display: none;
		}
        ol.menu-vertical > li {
            position: relative;
        }
        ol.menu-vertical > li.menu-item_haschild:after {
            content: '';
            width: 0;
            height: 0;
            border: 4px solid transparent;
            border-left-color: #1f384c;
            border-right: 0;
            position: absolute;
            top: 12px;
            right: 14px;
        }
        ol.menu-vertical > li.menu-item_haschild:hover:after  {
            border-left-color: #ffffff;
        }
		ol.menu-vertical div.menu-context {
			margin-left: -10px;
            margin-top: -10px;
		}

    /* аккордионное меню */
    ol.menu-accordion {
        display: block;
        list-style: none;
        margin: 0;
        padding: 0;
        min-height: 14px;
    }
        ol.menu-accordion li {
            display: block;
            margin: 0;
            padding: 0;
            min-width: 60px;
        }
        ol.menu-accordion li a {
            display: block;
            text-decoration: none;
            text-align: left;
            background: none;
            margin: 0 !important;
            border-radius: 0 !important;
            color: #1f384c !important;
        }
        ol.menu-accordion li sup {
            position: relative;
            display: none;
        }
        ol.menu-accordion > li.ui-accordion-li-fix {
            position: relative;
            display: block !important;
        }
        
        ol.menu-accordion .ui-accordion-header .ui-icon {
            /*left: 0.4em !important;*/
            left: auto !important;
        }

        div.menu-accordion-context {
            padding-left: 4px !important;
            padding-right: 4px !important;
            padding-top: 0px !important;
            padding-bottom: 4px !important;
            background-color: #d51c23 !important;
            border-radius: 0 !important;
            display: none;
        }

        div.menu-accordion-context ol {
            padding-left: 0 !important;
            padding-right: 0 !important;
            /*padding-top: 15px !important;*/
            padding-bottom: 4px !important;
            background-color: #ffffff !important;
        }

        div.menu-accordion-context ol li:hover {
            background-color: #e4e9ee;
        }

        div.menu-accordion-context ol li:first-child a {
            border-top: none;
        }

        div.menu-accordion-context ol li a {
            padding-left: 18px !important;
            padding-right: 18px !important;
            padding-top: 8px !important;
            padding-bottom: 8px !important;
            border-top: 1px dotted #e5e7e4;
        }

	/* выпадающее меню */
	div.menu-context {
		position: absolute;
        display: none;

		background-color: #d51c23;
		/*url("/resource/img/menu2bg.png") left top repeat-x;
		background: -webkit-gradient(linear, left top, left bottom, from(#5392c8), to(#68afec));
		background: -moz-linear-gradient(top, #5392c8, #68afec);
		background: -ms-linear-gradient(#5392c8, #68afec);
		background: -o-linear-gradient(top, #5392c8, #68afec);
		background: linear-gradient(top, #5392c8, #68afec);*/

	}
		div.menu-context ol {
			display: block;
			list-style: none;
			min-width: 180px;
			margin: 10px;
			padding: 15px 0;
			background: #ffffff;
		}
		div.menu-context li {
			display: block;
			float: none;
			margin: 0;
			padding: 3px 25px 3px 15px;
			min-width: 60px;
			height: auto;
            white-space: nowrap;
		}
		div.menu-context li:hover { background-color: #e4e9ee; }
		/*div.menu-context li.menu-item_haschild:after {
            width: 0;
            height: 0;
            border: 40px solid transparent;
		}*/
        div.menu-context li.menu-item_haschild {
            position: relative;
        }
        div.menu-context li.menu-item_haschild:after {
            content: '';
            width: 0;
            height: 0;
            border: 4px solid transparent;
            border-left-color: #1f384c;
            border-right: 0;
            position: absolute;
            top: 7px;
            right: 14px;
        }
        div.menu-context li.menu-item_haschild:hover:after  {
            border-left-color: #ffffff;
        }
		div.menu-context li a {
			display: block;
			color: #456990;
			text-decoration: none;
			line-height: 14px;
			margin: 0;
			padding: 3px;
			text-align: left;
		}

		div.menu-context li sup { display: none; }
		div.menu-context li div { margin: -11px -20px 0 -20px; }

	/* меню колонками */
	ol.menu-column {display: block; margin: 0; padding: 0; min-height: 188px;	list-style: none; border: 1px dotted transparent;}
		ol.menu-column > li{float: left; width: 20%;}
		ol.menu-column ol{list-style: none; margin: 0 20px 0 0; padding: 0;}
		ol.menu-column ol li{border-bottom: 1px solid #bebcbc; line-height: 24px;}
		ol.menu-column ol a{text-decoration: none; color: #ffffff;}
		ol.menu-column ol a:hover{color: gray;}


/* ************************************ *
 * стили меню дополнительное оформление *
 * ************************************ */

	/* доп стиль */
	ol.menu-horisontal_style1 {
		background-color: #E9EDF1;
        /* после меню по идее должен быть отступ, но нужно проследить, что ничего нигде не испортилось */
        margin-bottom: 20px;
	}

	ol.menu-horisontal_style1 > li > a {
		border-right: 1px #f0f4f7 solid;
		padding: 8px 20px 8px 10px;
	}

	ol.menu-horisontal_style1 > li:hover {
		background-color: #d51c23;
	}

	ol.menu-horisontal_style1 > li:hover > a {
		color: #ffffff;
	}

	/* доп стиль */
	ol.menu-vertical_style1 {
		background-color: #E9EDF1;
        /* после меню по идее должен быть отступ, но нужно проследить, что ничего нигде не испортилось */
        margin-bottom: 20px;
	}

	ol.menu-vertical_style1 > li > a {
		border-bottom: 1px #f0f4f7 solid;
		padding: 8px 10px;
	}

	ol.menu-vertical_style1 > li:hover {
		background-color: #d51c23;
	}

    ol.menu-vertical_style1 li.menu-item_selected {
        background-color: #464646;
    }

    ol.menu-vertical_style1 li.menu-item_selected > a {
        color: #ffffff;
    }

    ol.menu-vertical_style1 li.menu-item_selected:after {
        border-left-color: #ffffff;
    }

	ol.menu-vertical_style1 > li:hover > a {
		color: #ffffff;
	}

    /* новые дополнительные стили для меню */
    ol.menu-vertical_style2 > li:first-child{
        border: none;
    }

    ol.menu-vertical_style2 > li {
        border-top: 1px dotted #e5e7e4;
    }

    ol.menu-vertical_style2 > li.menu-item_selected{
        margin-left: -10px;
        padding-left: 10px;
        background-color: #f4e6bf;
        border: none;
    }

    ol.menu-vertical_style2 > li.menu-item_selected + li{
        border: none;
    }

    ol.menu-vertical_style2 > li > a:hover {
		text-decoration: underline;
	}

    /* доп стиль */
    ol.menu-accordion_style1 {
        background-color: #E9EDF1;
        /* после меню по идее должен быть отступ, но нужно проследить, что ничего нигде не испортилось */
        margin-bottom: 20px;
    }

    ol.menu-accordion_style1 > li > a {
        border-left: none !important;
        border-right: none !important;
        border-top: none !important;
        border-bottom: 1px #f0f4f7 solid !important;
        padding: 12px !important;
        padding-right: 28px !important;
    }

    ol.menu-accordion_style1 > li:hover, ol.menu-accordion_style1 > li a.ui-state-active{
        background-color: #d51c23 !important;
    }

    ol.menu-accordion_style1 li.menu-item_selected {
        background-color: #464646 !important;
    }

    ol.menu-accordion_style1 li.menu-item_selected > a {
        color: #ffffff !important;
    }

    ol.menu-accordion_style1 > li:hover > a, ol.menu-accordion_style1 > li a.ui-state-active{
        color: #ffffff !important;
    }

    ol.menu-accordion_style1 .ui-icon {
        background: none;
        right: 12px;
        text-indent: 0;
    }

    ol.menu-accordion_style1 .ui-icon:after {
        content: '●●●';
        font-size: 8px;
        line-height: 16px;
        vertical-align: top;
    }

    ol.menu-accordion_style1 .ui-state-default .ui-icon:after {
        color: #cccccc;
    }

    ol.menu-accordion_style1 .ui-state-active .ui-icon {
        transform: rotate(90deg);
        -webkit-transform: rotate(90deg);
        -o-transform: rotate(90deg);
        -moz-transform: rotate(90deg);
    }

    ol.menu-accordion_style1 > li.menu-item_selected .ui-icon:after, ol.menu-accordion_style1 > li:hover .ui-icon:after, ol.menu-accordion_style1 .ui-state-active .ui-icon:after {
        color: #ffffff !important;
    }

    .menu_fished {margin: 0; padding: 0;}
	    .menu_fished li {float: left; list-style: none outside none; padding-left: 6px; box-sizing: border-box;}
    	.menu_fished li:first-child {padding-left: 0px;}
		    .menu_fished li a {
		    	position: relative;
		    	display: block;
		    	width: 100%;
		    	height: 25px;
		    	line-height: 25px;
		    	text-decoration: none;
		    	margin-right: 1px;
		    	margin-bottom: 7px;
		    	background-color: #e9edf1;
		    	text-align: center;
		   	}
		    .menu_fished li a.active {
		    	background-color: #464646 !important;
		    	color: white;
		   	}
		    .menu_fished li a:hover {
		    	background-color: #d51c23;
		    	color: white;
		   	}
		    .menu_fished li a.active:after {
				content: '';
				border-top: 6px solid #464646;
				border-left: 6px solid transparent;
				border-right: 6px solid transparent;
				position: absolute;
				left: 50%;
				top: 100%;
				margin-left: -3px;
		    }

.menu-style ol, .menu-style li {
    list-style: none;
}
.menu-style li, .menu-style div.menu-context li {
    line-height: 28px;
    background-image: none !important;
    padding: 0;
    height: 28px;
}
.menu-style li a,.menu-style div.menu-context li a {
    color: #fff;
    padding: 0 10px !important;
    line-height: 28px;
}

.menu-style div.menu-context ol {
    padding: 0;
    margin: 0;
}
.menu-style div.menu-context li div {
    margin: 0;
    padding: 0;
}

.menu-style ol li:hover a {
    color: #fff;
}

.menu-style .menu-item_selected {
    background: #989898;
}
.menu-style a {
    white-space: nowrap;
}

/*
* Для правого меню в списке организаций
*/
ol.menu-vertical.menu-vertical_orglist_search{
    margin: -8px -10px 20px -10px;
}