/* ---- Place your custom styles below ---- */

/* rss include image and text formatting */

.widget {
    margin-bottom: 20px;
}

.rssincl-itemimage {
float: left; }

.rssincl-itemtitle {
font-weight: bold;
font-size: 16px;
clear: both; }

.rssincl-itemdate {
font-style: italic; }

.rssincl-itemdesc {
    padding-bottom: 10px;
    border-bottom: thin solid #ccc;
}

/* image slider styles */
.theme-light .nivo-caption {
    font-family: Helvetica, Arial, sans-serif;
    font-size: 24px;
}

#logo a img { max-height: none; }

.newsflash { display:none; }

.flex-direction-nav a { margin: 0; position: initial; }

.flex-direction-nav .flex-next { text-align: center; }

#nav li a { color: #FFFFFF; background:#000000; font-family: "Helvetica Neue",Helvetica,Arial,sans-serif; text-transform: none; padding: 12px 11px; font-size: 16px; font-weight: bold; }

.theme-default .nivoSlider { background: #fff url(loading.gif) no-repeat 50% 20% !important; }

.nivo-caption { position: relative !important; background: #fff !important; color: #000 !important; }

.nivo-main-image {
    margin-bottom: 15px !important;
}

.nivo-directionNav a { top: 150px !important; }

.theme-default .nivo-directionNav a {
    background: url(arrows.png) no-repeat;
    opacity: 100 !important;
}

.theme-default .nivo-controlNav a {
    width: 12px !important;
    height: 12px !important;
    background: rgba(0,0,0,0.5) !important;
    cursor: pointer !important;
    border-radius: 20px !important;
    margin: 0 5px !important;
}

.theme-default .nivo-controlNav a.active {
    background: rgba(0,0,0,1) !important;
}

body { background-color: #ededed; }

#page-inner { background: #fff; }

#nav ul { width: 180px; } /* Added by BWalk 9.1.17 to fix dropdown menu width */

#nav li a { background: #000000; color: #ffffff; }

li.entry-author { display:none; }

.cat-item.cat-item-22 { display:none; }

#NIUGlobalNav { float: right; width: 60%; margin-top: 10px; }

#NIUGlobalNav ul { float:right; }

#NIUGlobalNav li { float:left; }

#NIUGlobalNav li a { padding-top: 5px;  padding-bottom: 5px;  padding-right: 14px;  padding-left: 5px; color:#000000; }

#NIUGlobalNav li a:hover { text-decoration: none; background-color: #eee; }

#NIUGlobalNav ul.navbar-nav.global li.login a { background-color: #cc0000; color: #fff; margin-right: 1em; }

#NIUGlobalNav ul.navbar-nav.global li.login ul.dropdown-menu { background-color: #cc0000; z-index: 10000; opacity: .9; padding: 1em; border: 0px; -webkit-box-shadow: none; box-shadow: none; }

#NIU_Search > small > a > button { float:right; background-color:#333333; background: url(img/icon-search.gif) no-repeat; height: 35px; width: 35px; }

#NIU_Search { width: 100%; }

.NIUSearch { width: 40%; float: right; margin: 15px 13px; }

#searchNIU { float: left; width: 80%; }

#page-inner h2 em { font-size: 16px; }

.breadcrumbs { margin-bottom: 20px; }

.well {
	overflow-wrap: break-word;
	overflow-wrap: break-word;
  	word-wrap: break-word;

  	-ms-word-break: break-all;
  	/* This is the dangerous one in WebKit, as it breaks things wherever */
  	word-break: break-all;
  	/* Instead use this non-standard one: */
  	word-break: break-word;

  	/* Adds a hyphen where the word breaks, if supported (No Blink) */
  	-ms-hyphens: auto;
  	-moz-hyphens: auto;
  	-webkit-hyphens: auto;
  	hyphens: auto;
}

/* Tablet View */
@media (min-width: 640px) and (max-width: 979px) {
	.NIUSearch { width: 100%; }
	#searchNIU { width: 90%; }
	#NIUGlobalNav { width: 100%; }
	#NIUGlobalNav li a { padding-right: 3em; }
	.visible-xs, .visible-sm, .visible-md, .visible-lg { display: block!important; }
}

/* Mobile View */
@media (max-width: 639px) {
	.NIUSearch { width: 90%; }
	#NIUGlobalNav { width: 100%; }
	.visible-xs, .visible-sm, .visible-md, .visible-lg { display: block!important; }
	#NIUGlobalNav > ul > li.dropdown.login { width:95%; }
	#NIUGlobalNav li a { padding: 2em; font-size: 12px; }
	#NIUGlobalNav ul.navbar-nav.global li.login a { padding: 1em; }
}