.gray-background-page {
    background: #e6e6e6;
}

.gray-background-page #content p:first-child {
    margin: 0;
}

.header-nomenu {
    margin-bottom: 0;
}

#custom-filters {

  background-color: #333;
  padding: 5px;
  color: rgb(211,211,211);
  border-radius: 10px;
  text-align: center;
  margin auto 0px;
  height: 70px;

}

#view_pagination {
  width: 100%;
  text-align: center;
  font-size: 15px;
}

.media .media-body .body {
	float: left;
  	width: 70%;
  	padding: 10px;
	font-family: "latoregular", sans-serif;
}

.more-info {
  	float: right;
  	color: #F9F9F9;
  	border-left: 1px solid #5D5D5D;
  	min-height: 200px;
  	width: 30%;
  	padding: 10px;
}

.media-body a, .media-body a h4 {
  color: rgb(51,51,51);
}

.media-body a h4 {
  padding-top: 15px;
  font-size: 22px;
}

.media-body a:hover {
  color: #5EA2C3;
  text-decoration: none;
}

.media {
  background: #E6E6E6;
  margin: 10px;
  height: 170px;
  font-size: 13px;
}

img.media-object {
  width: 320px;
  height: 170px;
}


/*********** NEW MENUS ***************/

/**
 * Layout
 */
.nav__list {
    margin: 0;
    padding: 0;
	display: block;
	clear: both;
}
.nav__list a {
    padding: .75em 1.5em;
    transition: all .25s ease-in-out;
}

.nav__list__item {
    border-style: solid;
    border-width: 0 0 1px;
}
.nav__list__item,
.nav__list__item a {
    display: block;
}

/**
 * Desktop-view
 */

@media screen and (min-width: 1024px) {
    .nav__list > .nav__list__item {
        border-width: 0 1px 0 0;
    }
    .nav__list > .nav__list__item,
    .nav__list > .nav__list__item a {
        display: inline-block;
    }
}

/**
 * Presentation
 */
.nav {
    /* background-color: #f5f5f5; */
    background-color: #000;
	text-align: center;
}
.nav .nav__list__item {
    border-color: #333;
}
.nav a {
    /* color: #666; */
    color: white;
    text-decoration: none;
	font-family: 'Quicksand', serif;
	font-size: 15px;
}
.nav a:hover, .nav a:active, .nav a:focus {
    background-color: #666;
    text-decoration: none;
}

.nav a.active:after, .nav a:hover:after{
	content: ' ';
	height: 0;
	position: relative;
	width: 0;
	display: block;
	border-left: 5px solid transparent; /* Go big on the size, and let overflow hide */
	border-right: 5px solid transparent; /* Go big on the size, and let overflow hide */
	border-top: 5px solid #000;
	top: 16px;
	z-index: 1000;
}
.nav a:hover:after {
	border-top: 5px solid #666;
}

.secondary_menu .nav ul li a {
  color: #333;
}

.secondary_menu .nav a.active:after, .secondary_menu .nav a:hover:after{
	display: block;
	border-left: 0 !important;
	border-right: 0 !important;
	border-top: 0 !important;
}

.secondary_menu .nav__list a {
  padding: 0.3em 1.5em;
}

.secondary_menu a.selected {
  font-weight: bold;
}

/*********** END NEW MENUS ***************/

/*** secondary menu fixes ***/

.relative.wrapper.stack_menu.clearfix {
  margin: 0 !important;
  width: auto !important;
}

.relative.wrapper.stack_menu.clearfix .top_navbar {
  margin 0 auto;
  text-align: center;
  background-color: #ef3b54;
}

.relative.wrapper.stack_menu.clearfix .top_navbar .navbar-collapse > div > ul ul, .relative.wrapper.stack_menu.clearfix .top_navbar .navbar-collapse > div > ul {
  font-family: 'Quicksand', serif !important;
}

.relative.wrapper.stack_menu.clearfix .top_navbar .navbar-collapse > div > ul a {
  font-size: 13px;
}


.relative.wrapper.stack_menu.clearfix .top_navbar nav.collapse {
  display: inline-block !important;
}

.top_navbar .header_menu > li.current-menu-item > a, .top_navbar .header_menu > li.current-menu-item > a:hover, .top_navbar .header_menu > li.current-menu-parent > a, .top_navbar .header_menu > li.current-menu-parent > a:hover, .top_navbar .navbar-collapse > div > ul > li.current-menu-item > a:hover, .top_navbar .navbar-collapse > div > ul > li.current-menu-item:hover > a {
  background-color: #ef3b54;
  font-weight: bold;
}

.relative.wrapper.stack_menu.clearfix .top_navbar .header_menu a {
  color: black;
}

.relative.wrapper.stack_menu.clearfix .top_navbar .navbar-collapse > div > ul > li > ul {
  background-color: #ef3b54;
}

.relative.wrapper.stack_menu.clearfix .top_navbar .navbar-collapse > div > ul > li > a:hover,
.relative.wrapper.stack_menu.clearfix .top_navbar .navbar-collapse > div > ul > li:hover > a {
    background-color: #ef3b54 !important;
	color: #FFFFFF !important;
    font-weight: bold;
}

.relative.wrapper.stack_menu.clearfix .top_navbar .navbar-collapse > div > ul > li > ul > li > a:hover {
    background-color: #ef3b54 !important;
	color: #FFFFFF !important;
    font-weight: bold;
}


/*** end secondary menu fixes ***/
