.custom-alert .ui-dialog-content {
	margin-bottom:none;
	padding-bottom:none;
	/* Ensure the background color matches the content area to look seamless */
	background-color: #f8f9fa; /* Same color as .ui-dialog-buttonpane */
	
}

.custom-alert .ui-dialog-buttonpane {
	/* Set the border-top to zero to connect it seamlessly */
	border-top: none; 
	margin-top:none;
	padding-top:none;
	/* Ensure the background color matches the content area to look seamless */
	background-color: #f8f9fa; /* Use the same color as .ui-dialog-content */
	
}

/* main menu additions */
@media (min-width: 769px) {
	ul.main-menu {
		padding-top: 18px;
	}
	ul.main-menu li.search a {
		display: block;
		padding: 0 30px;
		position: relative;
		width: 22px;
		height: 28px;
	}
	ul.main-menu li.search a img {
		width: 100%;
		height: auto;
		max-width: 22px;
		max-height: 28px;
		position: absolute;
		top: 7px;
	}
}
@media (max-width:1110px) {
	ul.main-menu li a, ul.main-menu li span.menu-label {
		padding: 20px 2vw;
		font-size: 2.2vw;
	}
}
@media (max-width:850px) {
	ul.main-menu li a, ul.main-menu li span.menu-label {
		padding: 20px 2vw;
		font-size: 2vw;
	}
}

/* Target title bar */
.ui-widget.ui-widget-content.custom-alert {
	padding: 0;
	background: #094C7C;
	border: none;
	border-radius: 8px;
	box-shadow: 5px 5px 10px rgba(0,0,0,0.5);
}
.custom-alert .ui-dialog-titlebar {
	display: none;
	background: #3da6fb; /* Darker title bar */
	color: #fff;
}
.custom-alert .ui-dialog-content, .custom-alert .ui-dialog-buttonpane {
	background-color: transparent;
}
.custom-alert .ui-dialog-content p {
	color: #fff;
	text-align: center;
}

/* Target dialog's buttons */
.custom-alert .ui-button {
	border-radius: 20px;
	background: #094C7C;    
	color: white;
	border: 1px solid #33A2FB;
	padding: 8px 20px;
	margin-left: 5px;
	font-weight: normal;
	cursor: pointer;
}

/* Style the button hover state */
.custom-alert .ui-button:hover {
	background: #33A2FB;
}

/* Remove default UI button icons if they appear */
.custom-alert .ui-icon {
	display: none;
}

#container {
	position: relative;
}
#back-to-top {
	position: absolute;
	right: 10%;
	bottom: 40px;
	z-index: 9999;
}
#back-to-top a {
	display: block;
	background: #676767;
	width: 52px;
	height: 52px;
	border-radius: 26px;
	text-align: center;
	padding-top: 15px;
}
#back-to-top img {
	width: 22px;
	height: auto;
}

/* This is for the organization_search field */
.input_wrapper {
	 position: relative;
	display: inline-block;
  
}
input#organization_search {
  width:300px;

}

/* Fix video image positioning on About page */
.bod_column .video-container img {
	position: relative;
	top: unset;
	transform: unset;
}

/* Fix more arrows in menu */
@media (min-width: 769px) {
	li.sub-parent > span {
  		background-position-x: 96%;
	}
}

#refine-search {
	width: 260px;
}
#refine-search {
	padding: 9px 50px;
}
#search-form.open #advanced-search-submit, #search-form.open #advanced-search-clear {
	padding: 9px 25px;
}
/* CSS only for Firefox */
@-moz-document url-prefix() {
	#refine-search {
		padding: 12px 50px 6px;
	}
	#search-form.open #advanced-search-submit, #search-form.open #advanced-search-clear {
		padding: 12px 25px 6px;
	}
}

.mosaic-cell.cell-one {
	background: url('../images_rb/collections-forests-oceans.jpg') center no-repeat;
}
.mosaic-cell.cell-three {
	background: url('../images_rb/collections-sustainability-leaders.gif') center no-repeat;
}
.mosaic-cell.cell-four {
	background: url('../images_rb/collections-the-economy.jpg') center no-repeat;
}

.video-grid-wrapper .video-container {
	border-radius: 8px;
}

#footer_top .column:nth-child(2) {
	padding-right: 150px;
}
ul#footer_menu li.white-text {
	font-size: 14px;
	line-height: 1.4em;
	margin-bottom: 4em;
}
#footer_social {
	margin-bottom: 3em;
}
a.footer-donate {
	display: inline-block;
	font-size: 18px;
	text-transform: uppercase;
	color: #fff;
	height: 48px;
	width: auto;
	border: 1px solid #33A2FB;
	padding: 14px 40px 16px;
	border-radius: 24px;
}
a.footer-donate:hover {
	background: #33A2FB;
}