/*
Item Name : Mega Menu Responsibe Based on Boostrap grid
Version: 1.0.0
Author: Ansonika
Author URI: http://themeforest.net/user/Ansonika/

CSS STRUCTURE:

1. BASE
2.  COMMON
3.  TABS
4. MEDIA QUERIES

/*============================================================================================*/
/* 1.  BASE  */
/*============================================================================================*/
.om-menu > li .om-maximenu-middle-right{
	padding: 0!important;
}
.om-maximenu .om-maximenu-content.om-maximenu-displace { top: 0; margin-left: 0; /* IE7 */ left: 0; } /* should be set to no style */
.om-maximenu .om-maximenu-content .om-maximenu-open { display: none; }
.om-maximenu .om-maximenu-edit { display: none; position: absolute; top: 0; right: 0; font-size: .7em; background-color: #fff; }
.om-maximenu:hover .om-maximenu-edit { display: block; z-index: 1000; }
.om-maximenu .om-maximenu-edit a { display: block; float: left; margin-left: 3px; height: 0; width: 16px; padding: 16px 0 0; overflow: hidden; background: url(images/icons.gif) 0 0 scroll no-repeat; }
.om-maximenu .om-maximenu-edit a:hover { background-position: 0 -16px; }
/*om-menu*/

.megamenu_container {
	width:1200px;
	height:44px;
	margin:0 auto;
	position:relative;
	z-index:2;
}
.megamenu > li,
.om-menu > li{
	display:inline;
	border:none;
	margin:0;
	background-color:transparent;
	padding: 14px 0 15px 15px;
	-webkit-transition: background-color 0.4s ease-out;
	-moz-transition: background-color 0.4s ease-out;
	-o-transition: background-color 0.4s ease-out;
	-ms-transition: background-color 0.4s ease-out;
	transition: background-color 0.4s ease-out;
	}
.megamenu > li:hover,
.om-menu > li:hover{
	background-color:#006e92;
	box-shadow: inset 5px 0 5px -5px  rgba(0, 0, 0, 0.35), inset -5px 0 5px -5px rgba(0, 0, 0, 0.35); 
	-webkit-box-shadow: inset 5px 0 5px -5px  rgba(0, 0, 0, 0.35), inset -5px 0 5px -5px rgba(0, 0, 0, 0.35); 
	-moz-box-shadow:  inset 5px 0 5px -5px  rgba(0, 0, 0, 0.35), inset -5px 0 5px -5px rgba(0, 0, 0, 0.35); 
	color:#fff;
	text-decoration:none;
	}
.megamenu > li.active,
.om-menu > li.active {
	background-color:#006e92;
	box-shadow: inset 5px 0 5px -5px  rgba(0, 0, 0, 0.35), inset -5px 0 5px -5px rgba(0, 0, 0, 0.35); 
	-webkit-box-shadow: inset 5px 0 5px -5px  rgba(0, 0, 0, 0.35), inset -5px 0 5px -5px rgba(0, 0, 0, 0.35); 
	-moz-box-shadow:  inset 5px 0 5px -5px  rgba(0, 0, 0, 0.35), inset -5px 0 5px -5px rgba(0, 0, 0, 0.35); 
	color:#fff;
	box-shadow: inset 0px 0px 5px rgba(0, 0, 0, 0.5);	
}
.megamenu > li a.drop-down,
.megamenu > li a.nodrop-down,
.om-menu > li span.drop-down,
.om-menu > li a.nodrop-down {
	line-height:44px;
	outline:0;
	text-shadow: 1px 1px 0px rgba(0,0,0,0.2);
	text-decoration:none;
	color:#fff;
	font-weight:700;
	text-transform:uppercase;
	font-size:12px;
		}
		
		.megamenu > li a.drop-down,
		.om-menu > li span.drop-down{
			background-image:url("../img/arrow-down-white.png");
			background-repeat: no-repeat;
			background-position:right 20px;
			padding:14px 30px 15px 0;
			color:#fff;
		}
		.megamenu > li a.nodrop-down,
		.om-menu > li a.nodrop-down{
			padding:14px 15px 15px 0;
		}
		.megamenu > li a.drop-down:hover,
		.om-menu > li span.drop-down:hover{
			cursor:pointer;
			background-image:url("../img/arrow-down-white.png");
			color:#fff;
		}
		
		.megamenu > li .nodrop-down:hover,
		.om-menu > li a.nodrop-down:hover{
			cursor:pointer;
			background-image: none;
			color:#fff;
		}
		.megamenu> li.active .drop-down{
			cursor:pointer;
			background-image:url("../img/arrow-down-white.png");
			color:#fff;
		}
		 .megamenu > li.active .nodrop-down {
			color:#fff;
		}
	
		a#megamenu-button-mobile {
			background-image:url("../img/menu-down.png");
			background-repeat: no-repeat;
			background-position:98% 13px;
			padding:12px 20px 12px 0;
			color: #FF9;
			text-shadow: 1px 1px 0px rgba(0,0,0,0.2);
			text-transform:uppercase;
			font-weight:700;
			box-shadow:none;
			display:none;
			text-decoration:none;
		}
		a#megamenu-button-mobile.active {
			background-image:url("../img/menu-up.png");
			background-position:98% 11px;
			box-shadow:none;
		}
			
.megamenu > li .drop-down-container ,
 .om-menu > li .om-maximenu-content {
	position:absolute;
	top:44px;
	left:0;
	z-index:9998;
	float:left;
	color:#2d343e;
	width: 1170px;
	/* margin:0 0 40px 0; */
	/* padding:30px 15px 0px 15px; */
	-webkit-border-bottom-right-radius: 0px;
	-webkit-border-bottom-left-radius: 0px;
	-moz-border-radius-bottomright: 0px;
	-moz-border-radius-bottomleft: 0px;
	border-bottom-right-radius: 0px;
	border-bottom-left-radius: 0px;
	border-top:none;
	background:#fff;
	display: none; 
}
.om-maximenu-content .drop-down-container{
	position:absolute;
	/* top:44px; */
	left:0;
	z-index:9998;
	float:left;
	color:#2d343e;
	width: 1170px;
	margin:0 0 40px 0;
	padding:30px 15px 0px 15px;
	-webkit-border-bottom-right-radius: 5px;
	-webkit-border-bottom-left-radius: 5px;
	-moz-border-radius-bottomright: 5px;
	-moz-border-radius-bottomleft: 5px;
	border-bottom-right-radius: 5px;
	border-bottom-left-radius: 5px;
	border-top:none;
	background: url(/sites/all/themes/EDU/css/images/main.png) repeat;
        border: 1px solid #e0eaf0;
	padding-bottom: 20px;	
}
  .om-menu > li .om-maximenu-middle-right {
	background:#2d343e;
	color:#fff;
 } 
.drop-down-container#icon-menu a {
	display:block;
	background:#ffffff;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
	transition: background .5s ease;
	font-size:14px;
	font-weight:700;
	font-family:"Helvetica Neue", Helvetica, Arial, sans-serif;
	padding:20px 15px;
	margin-bottom:25px;
	color:#ff666;
	-webkit-box-shadow: inset 0 0 0 3px rgba(255, 255, 255, 0.1) ;
  	-moz-box-shadow: inset 0 0 0 3px rgba(255, 255, 255, 0.1) ;
	box-shadow:  inset 0 0 0 3px rgba(255, 255, 255, 0.1);
        border: 1px solid #e0eaf0; 
}
.drop-down-container#icon-menu a:hover{
	background:#0f91bd;
}
 
.drop-down-container#icon-menu a i {
	float: right;
	color:#fff;
	margin:-10px 0 0 0;
}
.drop-down-container a:active{
	background: #000;
}
/*============================================================================================*/
/* 2.  COMMON  */
/*============================================================================================*/

.megamenu iframe,
.om-menu igrame{
		border:0;
		margin-bottom:20px;
		width:100%;
	}
.megamenu hr,
.om-menu hr {
  margin: 0  0 20px 0 ;
  border: 0;
  border-top: 1px solid #25282d;
  border-bottom: 1px solid #414750;
}
.megamenu > li .drop-down-container a,
.om-menu > li .drop-down-container a {
	color:#12b0e6;
}
.om-menu > li .drop-down-container a.button_red_small,
.om-menu > li .drop-down-container a.button_medium{
	color:#ffffff;
}
.megamenu > li .drop-down-container a:hover,
.om-menu > li .drop-down-container a:hover {
	color:#fff;
	text-decoration:none;
}
.megamenu > li .drop-down-container ul.list-menu,
.om-menu > li .drop-down-container ul.list-menu {
	margin-left:0;
	padding-left:5px;
	margin-bottom:20px;
}
.megamenu > li .drop-down-container ul.list-menu li,
.om-menu > li .drop-down-container ul.list-menu li {
	background:url(../img/arrow-2.png) no-repeat center left;
	padding-left:12px;
}
 h5 em {
	display:block;
	font-weight:normal;
	color:#999;
	font-size:12px;
}

/*============================================================================================*/
/* 3.  TABS   */
/*============================================================================================*/
	ul.tabs {
		list-style: none;
		border-bottom: 0,9px solid #414750;
		margin-bottom:15px;
		padding-bottom:0;
		display:block;
	}
	ul.tabs li {
		display: inline;
		float:left;
		width:auto;
		white-space:nowrap;
		margin-right:10px;
	}
	ul.tabs li a {
	color: #000000;
	position:relative;
	float:left;
	background-color: #ffffff;
	-webkit-border-top-left-radius: 3px;
	-webkit-border-top-right-radius: 3px;
	-moz-border-radius-topleft: 3px;
	-moz-border-radius-topright: 3px;
	border-top-left-radius: 3px;
	border-top-right-radius: 3px;
	font: bold;
	text-transform:none;
	padding: 4px 18px;
	margin:0;
	font-weight:700;
	-webkit-transition: background-color 0.3s;
	-moz-transition: background-color 0.3s;
	-o-transition: background-color 0.3s;
	-ms-transition: background-color 0.3s;
	transition: background-color 0.3s;
	}
	
	ul.tabs li a.active {background-color: #0f91bd; color:#fff; text-decoration:none; }
	ul.tabs-content { margin: 0 0 10px 0; display: block; }
	ul.tabs-content > li { display:none;}
	ul.tabs-content > li.active { display: block; text-decoration:none;}
  
	/* ЗДЕСЬ КОД, КОТОРЫЙ ЛОМАЕТ ЯРЛЫКИ ТАБЫ И АДАПТИВНОСТЬ МЕГА МЕНЮ
	.om-menu ul li {
	list-style: none;
	}
        */

	/* Clearfixing tabs for beautiful stacking */
	ul.tabs:before,
	ul.tabs:after {
	  content: '\0020';
	  display: block;
	  overflow: hidden;
	  visibility: hidden;
	  width: 0;
	  height: 0; }
	ul.tabs:after {
	  clear: both; }
	ul.tabs {
	  zoom: 1; }


/*============================================================================================*/
/* 4.  MEDIA QUERIES  */
/*============================================================================================*/

@media (min-width: 980px) and (max-width: 1200px) {
.megamenu_container {
		width:970px;
		margin:auto;
		left:auto;
		top:auto;
	}
.megamenu > li .drop-down-container {width: 940px;}
.om-menu > li .om-maximenu-content {width: 940px;}

}

@media only screen and (max-width: 980px) {

a#megamenu-button-mobile {display:block; padding-left:10px;}

.om-menu > li .drop-down-container,
 .om-maximenu-content .drop-down-container,
 .om-menu > li .om-maximenu-content{
	position:absolute;
	top:auto;
	width: 725px;
	margin:0 0 0 0;
	-webkit-border-bottom-right-radius: 5px;
	-webkit-border-bottom-left-radius: 5px;
	-moz-border-radius-bottomright: 5px;
	-moz-border-radius-bottomleft: 5px;
	border-bottom-right-radius: 5px;
	border-bottom-left-radius: 5px;	
}
.om-menu img {
	max-width: 98%;
	height: auto;
	width: auto\9; /* ie8 */
}
.om-menu embed,
.om-menu object,
.om-menu iframe {width: 100%;}

.om-menu > li {
	float:none;
	width:auto;
	border:none;
	display: block;
	padding: 0;
}

.om-menu > li span.drop-down ,
.om-menu > li a.nodrop-down  {
	background-position:99% 18px;
	line-height:12px;
	padding-top:14px;
	padding-bottom: 14px;
	padding-left:12px;
	display:block;
}
.om-menu {display:none;}

.megamenu_container {
	width:755px;
	height:auto;
	margin:auto;
	position:relative;
	left:auto;
	top:auto;
}
.megamenu > li .drop-down-container,
.om-menu > li .om-maximenu-content {
	position:absolute;
	top:auto;
	width: 725px;
	margin:0 0 0 0;
	-webkit-border-bottom-right-radius: 5px;
	-webkit-border-bottom-left-radius: 5px;
	-moz-border-radius-bottomright: 5px;
	-moz-border-radius-bottomleft: 5px;
	border-bottom-right-radius: 5px;
	border-bottom-left-radius: 5px;	
}
.megamenu img {
	max-width: 98%;
	height: auto;
	width: auto\9; /* ie8 */
}
.megamenu embed,
.megamenu object,
.megamenu iframe {width: 100%;}

.megamenu > li {
	float:none;
	width:auto;
	border:none;
	display: block;
	padding: 0;
}

.megamenu > li a.drop-down ,
.megamenu > li a.nodrop-down  {
	background-position:99% 18px;
	line-height:12px;
	padding-top:14px;
	padding-bottom: 14px;
	padding-left:12px;
	display:block;
}
.megamenu {display:none;}

}

@media only screen and (max-width: 767px) {
	
.megamenu_container{
	width:100%;
	margin:auto;
	left:auto;
	top:auto;
	}

.megamenu > li .drop-down-container,
 .om-menu > li .om-maximenu-content{width:95%;}

.megamenu > li .drop-down-container#icon-menu,
 .om-menu > li .om-maximenu-content#icon-menu{
	width:100%;
	padding:0;
	padding-top:25px;
}

.megamenu > li .drop-down-container#icon-menu .span3,
.om-menu > li .om-maximenu-content#icon-menu .span3  {
	margin:0;
	margin: 0 10px 0 15px;
	width:auto;
}

.megamenu > li{
	float:none;
	width:auto;
	border:none;
	display: block;
	padding: 0;
	}
	
.megamenu > li a.drop-down,
.megamenu > li a.nodrop-down {
	background-position:99% 18px;
	line-height:12px;
	padding-top:14px;
	padding-bottom: 14px;
}


.om-menu > li .drop-down-container,
.om-menu > li .om-maximenu-content{width:95%;}

.om-menu> li .drop-down-container#icon-menu {
	width:100%;
	padding:0;
	padding-top:25px;
}

.megamenu> li .drop-down-container#icon-menu .span3,
.om-menu > li .om-maximenu-content#icon-menu .span3 {
	margin:0;
	margin: 0 10px 0 15px;
	width:auto;
}

.om-menu > li{
	float:none;
	width:auto;
	border:none;
	display: block;
	padding: 0;
	}
	
.om-menu> li span.drop-down,
.om-menu > li a.nodrop-down {
	background-position:99% 18px;
	line-height:12px;
	padding-top:14px;
	padding-bottom: 14px;
}
}