/* ***************************** *
 * стили меню базовое оформление *
 * ***************************** */

	/* горизонтальное меню базовое оформление*/
	ol.menu-horisontal {
		display: block;
		list-style: none;
		margin: 0;
		padding: 0;
		min-height: 14px;
		margin-bottom: 20px;
	}
		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 > li.menu-item_haschild {
			background-image: url("/resource/img/arrow2.gif");
			background-position: right center;
			background-repeat: no-repeat;
		}

	/* горизонтальное меню */
	ol.menu-vertical {
		display: block;
		list-style: none;
		margin: 0;
		padding: 0;
		min-height: 14px;
		margin-bottom: 20px;
	}
		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 {
			background-image: url("/resource/img/arrow2.gif");
			background-position: right center;
			background-repeat: no-repeat;
		}
		ol.menu-vertical div.menu-context {
			margin-left: -10px;
		}

	/* выпадающее меню */
	div.menu-context {
		position: absolute;
        display: none;

		background: #67aeeb 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: 0 25px 0 15px;
			min-width: 60px;
			height: auto;
            white-space: nowrap;
		}
		div.menu-context li:hover { background-color: #e4e9ee; }
		div.menu-context li.menu-item_haschild {
			background-image: url("/resource/img/arrow2.gif");
			background-position: right center;
			background-repeat: no-repeat;
		}
		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;
	}

	ol.menu-horisontal_style1 > li > a {
		border-right: 1px #f0f4f7 solid;
		padding: 8px 20px 8px 10px;
	}

	ol.menu-horisontal_style1 > li:hover {
		background-color: #66ABE8;
	}

	ol.menu-horisontal_style1 > li:hover > a {
		color: #ffffff;
	}

	/* доп стиль */
	ol.menu-vertical_style1 {
		background-color: #E9EDF1;
	}

	ol.menu-vertical_style1 > li > a {
		border-bottom: 1px #f0f4f7 solid;
		padding: 8px 10px;
	}

	ol.menu-vertical_style1 > li:hover {
		background-color: #66ABE8;
	}

	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;
	}

    .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: 40px;
		    	line-height: 40px;
		    	text-decoration: none;
		    	margin-right: 1px;
		    	margin-bottom: 7px;
		    	background-color: #edf4fa;
		    	text-align: center;
		   	}
		    .menu_fished li a.active {
		    	background-color: #3598db !important;
		    	color: white;
		   	}
		    .menu_fished li a:hover {
		    	background-color: #617164;
		    	color: white;
		   	}
		    .menu_fished li a.active:after {
				content: '';
				border-top: 6px solid #3598db;
				border-left: 6px solid transparent;
				border-right: 6px solid transparent;
				position: absolute;
				left: 50%;
				top: 100%;
				margin-left: -3px;
		    }

    .menu_fished .new {position: absolute; margin-top: -5px;}
    .menu_fished li:first-child .menu_fished__wrapper {margin-left: 0;}
    .menu_fished__wrapper {margin-left: 1px;}

.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-accordion {
    display: block;
    list-style: none;
    margin: 0;
    padding: 0;
    min-height: 14px;
    margin-bottom: 20px;
}
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;
    z-index: 1;
}
ol.menu-accordion .replacement-link {
    position: absolute;
    background-color: #f4f3f3;
}


div.menu-accordion-context {
    padding-left: 4px !important;
    padding-right: 4px !important;
    padding-top: 0px !important;
    padding-bottom: 4px !important;
    background-color: #3498db !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;
}

/* доп стиль */
ol.menu-accordion_style1 {
    background-color: #edf4fa;
}

    ol.menu-accordion_style1 > li > a {
        border-left: none !important;
        border-right: none !important;
        border-top: 2px #fff solid !important;
        border-bottom: none !important;
        padding: 12px !important;
        padding-right: 44px !important;
    }
    ol.menu-accordion_style1 > li:first-child > a {
        border-top: 2px #d0d0d0 solid !important;
    }

    ol.menu-accordion_style1 > li:hover,
    ol.menu-accordion_style1 > li a.ui-state-active{
        background-color: #3498db !important;
    }

    ol.menu-accordion_style1 li.menu-item_selected {
        background-color: #464646 !important;
    }
    ol.menu-accordion_style1 li.menu-item_selected > a,
    ol.menu-accordion_style1 li.menu-item_selected .replacement-link > a {
        color: #ffffff !important;
    }
    ol.menu-accordion_style1 > li.menu-item_selected:not(.menu-item_haschild) > a {
        background-color: transparent !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-accordion-header .ui-icon {
        text-indent: 0;
        width: auto;
        height: auto;
        top: 4px !important;
        bottom: 0;
        right: 4px;
        left: 100% !important;
        background: none;
        margin: 0px;
        margin-left: -44px;
    }

    ol.menu-accordion_style1 .ui-icon:after {
        content: '●●●';
        font-size: 8px;
        line-height: 16px;
        vertical-align: top;
        display: block;
        text-align: center;
        position: absolute;
        top: 50%;
        left: 50%;
        margin-top: -8px;
        margin-left: -8px;
    }

    ol.menu-accordion_style1 .ui-state-default .ui-icon:after {
        color: #cccccc;
    }

    ol.menu-accordion_style1 .ui-state-active .ui-icon:after {
        transform: rotate(90deg);
        -webkit-transform: rotate(90deg);
        -o-transform: rotate(90deg);
        -moz-transform: rotate(90deg);
    }

    ol.menu-accordion_style1 > li.menu-item_selected :not(.ui-state-active) .ui-icon:after,
    ol.menu-accordion_style1 > li:hover :not(.ui-state-active) .ui-icon:after {
        color: #ffffff !important;
    }

    ol.menu-accordion_style1 .ui-state-active:not([href="#"]) .ui-icon:after {
        color: #1f384c !important;
    }
    ol.menu-accordion_style1 .ui-state-active:not([href="#"]) .ui-icon {
        background-color: #f4f3f3 !important;
    }
    ol.menu-accordion_style1 .ui-state-active:not([href="#"]) .ui-icon:hover,
    ol.menu-accordion_style1 li:not(.menu-item_selected) .ui-state-active:not([href="#"]) .replacement-link:hover {
        background-color: #e4e9ee !important;
    }

    ol.menu-accordion_style1 > li.menu-item_selected .replacement-link {
        background-color: #464646 !important;
    }
    ol.menu-accordion_style1 li.menu-item_selected > a {
        color: #ffffff !important;
    }

    ol.menu-accordion_style1 .ui-accordion-content {
        top: 2px;
    }

    .submenu {
        position: absolute;
        display: none;
        z-index: 999;
		margin-top: 0px;
		left:0;
        margin-left: -22px;
        list-style: none;
        background-color: #FFF;
        border: 2px solid #d0d0d0;
        width: auto;
        min-width: 230px;
        height: auto;
        max-height: 400px;
        white-space: nowrap;
    }
    ul.submenu {
        padding: 5px;
    }
        ul.submenu a {
            color: #555;
            padding: 0px 10px;
            display: block;
            text-decoration: none;
        }
        ul.submenu > li {
            padding: 5px;
        }
        ul.submenu > li:hover {
            background-color: #454545;
        }
        ul.submenu > li:hover a {
            color: #fff;
        }
        ul.submenu > li.submenu__item_selected {
            background-color: lightgray;
        }

    .flag {
    	float: right;
    	margin-top: -13px;
    	margin-right: 8px;
    }