/*
Welcome to Custom CSS!

To learn how this works, see http://wp.me/PEmnE-Bt
*/
/*the rules below change the color of the scrolling masthead and the menu items text */
#masthead.scroll-header {
	background-color: black;
}

#masthead #header-search-button, #masthead #header-menu-button, #masthead.scroll-header a {
	color: white;
}

/*remove overlay on slider*/
#fullscreen-header .has-background-cover .overlay {
	opacity: 0;
}

/*hide slider title on home page*/
#fullscreen-header .featured-slide .entry-title, #fullscreen-header .featured-slide a {
	display: none;
}

/*hide slider title on milagro slide*/
 .page-id-913 .entry-title{
	display: none;
}

/*video header on mobile*/
#masthead {
    background: transparent;
}

.vidbg-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
}

.vidbg-container iframe {
    position: absolute;
    left: 0;
    top: 0 !important;
    width: 100% !important;
    height: 100% !important;
}

#fullscreen-header,
.slick-list,
.featured-slide {
    height: auto !important;
    min-height: 0 !important;
}

.featured-slide > .page,
.featured-slide .overlay {
    display: none !important;
}

#fullscreen-header {
    margin-top: 140px;
}

@media screen and (max-width: 768px) {
    #fullscreen-header {
       margin-top: 0;
    }
}

.vidbg-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
}

.vidbg-container iframe {
    position: absolute;
    left: 0;
    top: 0 !important;
    width: 100% !important;
    height: 100% !important;
}

#fullscreen-header,
.slick-list,
.featured-slide {
    height: auto !important;
    min-height: 0 !important;
}

.featured-slide > .page,
.featured-slide .overlay {
    display: none !important;
}

#fullscreen-header {
    margin-top: 0;
}

@media screen and (max-width: 768px) {
    #fullscreen-header {
       margin-top: 0;
    }
}

/* Hide Blog Author*/
#primary-header .entry-meta {
    display: none;
}

/**Widen Front Page Text Area**/
.front-block.front-block-one .front-block-inner {
	max-width: 800px;
}

.front-blog-posts {
	background: black !important;
}

.site-footer {
	background: black !important;
}

.front-block-five .front-block-title a {
	color: #FFFFFF;
}

#colophon a {
	color: #FFFFFF;
}

.menu-item-1160 {
	background-color: #d40000;
	padding: 10px;
	padding-bottom: 0;
	margin-left: 10px !important;
	margin-right: -4px !important;
	line-height: 1;
}

.menu-item-1161 {
	background-color: #0076da;
	padding: 10px;
	padding-bottom: 0;
	margin-left: 0 !important;
	margin-right: -4px !important;
	line-height: 1;
}

.menu-item-1168 {
	background-color: #1c7201;
	padding: 10px;
	padding-bottom: 0;
	margin-left: 0 !important;
	line-height: 1;
}

/* Create a button */
.button {
	display: inline-block;
	padding: 12px 24px;
	border-radius: 6px;
	border: 0;
	font-weight: bold;
	letter-spacing: .0625em;
	text-transform: uppercase;
	background: #615f8b;
	color: #fff;
}

/* Add a rollover background colour to button but keep the text white */
.button:hover,
.button:focus,
.button:active {
	background: #b7b6cd;
	color: #fff;
}

.widget ul#menu-chapter-menu {
	font-size: 16px;
}

.widget ul#menu-virus-hunter-menu {
	font-size: 16px;
}

.widget ul#menu-milagro-v-menu {
	font-size: 16px;
}

.widget ul#menu-join-menu {
	font-size: 16px;
}

.widget ul#menu-galapagos {
	font-size: 16px;
}	

.widget ul#menu-support-us {
	font-size: 16px;
}

.widget ul#menu-science-menu {
	font-size: 16px;
}

.widget ul#menu-clean-waves {
	font-size: 16px;
}

.widget ul#menu-jairo {
	font-size: 16px;
}

.widget ul#menu-iuu {
	font-size: 16px;
}

.widget ul#menu-treasured-islands {
	font-size: 16px;
}

.widget ul#menu-mamacocha {
	font-size: 16px;
}

.widget ul#menu-divina-guadalupe {
	font-size: 16px;
}

.sidebar-section {
	border-left: 1px solid rgba(0,0,0,0.06);
}

/*hide the line on mobile*/
@media only screen and (max-width: 992px) {
	.page-id-1099 #primary {
		border-right: none;
		padding-right: initial;
	}
}

/*copyright color*/
#colophon .site-copyright {
	color: #fff;
}

/*mobile nav background color*/
@media only screen and (max-width: 768px) {
	#masthead.header-loaded {
		background-color: #000;
	}
}

/*widget title color*/
#colophon .widget-title {
	color: #fff;
}

/*event text color*/
#colophon span.event-when {
	color: #fff;
}

/*widget title color*/
#colophon strong.event-summary {
	color: #fff;
}

/*Change Locations link font size*/
aside#nav_menu-17{
	font-size:9px;
}