/**
   * TOP MENU Styles
   */

.newNBtemplate {
	margin: 0px;
	padding: 0px;

}
.newNBtemplate .tablebox {
	display: table;
	width: auto;
	margin: 0 auto;
	border-bottom: 3px solid rgb(58, 18, 18);
}
.newNBtemplate .tablebox ul.nb.nav-tabs {
	display: table-row;
	align-content: center;
	margin: 0 auto;
	width: auto;
	height: 100px;
	text-align: center;
}
.newNBtemplate .tablebox ul.nb.nav-tabs li {
	text-align: center;
	display: table-cell;
}
.newNBtemplate .tablebox ul.nb.nav-tabs li a {
	text-align: center;
	height: 100px;
}
.newNBtemplate .tablebox ul.nb.nav-tabs li a img {
	width: 80px;
	height: 80px;
}
.nb.nav-tabs>li.active>a, .nb.nav-tabs>li.active>a:focus, .nb.nav-tabs>li.active>a:hover {
	background-color: transparent;
	border-bottom: 3px solid #FF0000;
	border-radius: 0px;
	border-top: 0px;
	border-right: 0px;
	border-left: 0px;
}
.nb .nav {
	margin: 0 auto;
}
.nb.nav-tabs>li>a {
	border: 1px solid transparent;
	border-radius: 0;
	background-color: transparent;
}
.nb.nav-tabs>li>a:hover {
	background-color: transparent;
	border-bottom: 3px solid #FF0004;
}
.nb.nav-tabs>li.active>a {
	background: none;
	border-bottom: 3px solid #FF0000;
}

@media screen and (max-width: 787px) {
	.nb.nav-tabs-responsive>li {
		display: none;
		width: 23%;
		text-align: center;
	}

	.nb.nav-tabs-responsive>li>a {
		max-width: 100%;
		overflow: hidden;
		text-overflow: ellipsis;
		white-space: nowrap;
		word-wrap: normal;
		width: 100%;
		text-align: center;
		vertical-align: top;
	}
	.nb.nav-tabs-responsive>li.active {
		width: 54%;
	}
	.nb.nav-tabs-responsive>li.active:first-child {
		margin-left: 23%;
	}
	.nb.nav-tabs-responsive>li.active,  .nb.nav-tabs-responsive>li.prev,  .nb.nav-tabs-responsive>li.next {
		display: block;
	}
	.nb.nav-tabs-responsive>li.prev,  .nb.nav-tabs-responsive>li.next {
		-webkit-transform: scale(0.9);
		transform: scale(0.9);
	}
	.nb.nav-tabs-responsive>li.next>a,  .nb.nav-tabs-responsive>li.prev>a {
		-webkit-transition: none;
		transition: none;
	}
	.nb.nav-tabs-responsive>li.next>a .text,  .nb.nav-tabs-responsive>li.prev>a .text {
		display: none;
	}
	.nb.nav-tabs-responsive>li.next>a:after,  .nb.nav-tabs-responsive>li.next>a:after,  .nb.nav-tabs-responsive>li.prev>a:after,  .nb.nav-tabs-responsive>li.prev>a:after {
		position: absolute;
		top: 40%;
		display: inline-block;
		font-family: 'Glyphicons Halflings';
		font-style: normal;
		font-weight: 400;
		line-height: 1;
		-webkit-font-smoothing: antialiased;
		-moz-osx-font-smoothing: grayscale;
	}
	.nb.nav-tabs-responsive>li.prev>a:after {
		content: "\e079";
		color: #fff;
	}
	.nb.nav-tabs-responsive>li.next>a:after {
		content: "\e080";
		color: #fff;
	}
	.nb.nav-tabs-responsive>li.dropdown>a>.caret {
		display: none;
	}
	.nb.nav-tabs-responsive>li.dropdown>a:after {
		content: "\e114";
	}
	.nb.nav-tabs-responsive>li.dropdown.active>a:after {
		display: none;
	}
	.nb.nav-tabs-responsive>li.dropdown.active>a>.caret {
		display: inline-block;
	}
	.nb.nav-tabs-responsive>li.dropdown .dropdown-menu.pull-xs-left {
		left: 0;
		right: auto;
	}
	.nb.nav-tabs-responsive>li.dropdown .dropdown-menu.pull-xs-center {
		right: auto;
		left: 50%;
		-webkit-transform: translateX(-50%);
		-moz-transform: translateX(-50%);
		-ms-transform: translateX(-50%);
		-o-transform: translateX(-50%);
		transform: translateX(-50%);
	}
	.nb.nav-tabs-responsive>li.dropdown .dropdown-menu.pull-xs-right {
		left: auto;
		right: 0;
	}
	.nb.nav-tabs>li>a:hover {
		background-color: transparent;
		border-bottom: none;
	}
}

@media (max-width: 768px) {
	#narrow-browser-alert {
		display: none;
	}
	.newNBtemplate .tablebox { width:200px;}
}
