@charset "UTF-8";
/* CSS Document */

/* Last Update 1/31/2018 */
/* Last Update by Jason Drust*/

/* LAYOUT & RESETS */
body {
	font-size: 15px;
	font-family: 'PT Sans', Arial, sans-serif;
	margin: 0;
	padding: 0;
	color: #343434;
	border-top: none;
	background: #e1e1e1;
}
ul, ol, dl {
	/*padding: 0;
	margin: 0;*/
}
table tr {
	/*NOT SURE ABOUT THIS? vertical-align: top;
*/}
.clear {
	clear:both;
}
.container {
	width: 940px;
	margin: 0 auto;
	padding: 0px 20px;
	clear:both;
	background-color: #ffffff;
}
.footercontainer {
	width: 960px;
	margin: 0 auto;
	padding: 0;
}
.contentbkgd {
	background: url('https://www.devereux.org/images/content/pagebuilder/gray-gradient-bkgd.jpg') 0 0 repeat-x;
}
a img { 
	border: none;
}
a:link {
	color: #006652;
	text-decoration: underline; 
}
a:visited {
	color: #006652;
}
a:hover, a:active, a:focus { 
	/*color: #BDDCD6;*/
	color: #817e77;
}

/* a.focus {
	outline: 2px solid blue;
} */

/* utils */
/* flex parents */
.mobile-wrapper {margin-left: 10px;margin-right: 10px;}
.d-flex{display: flex;}
.fd-col{flex-direction: column}
.a-center{align-items: center}
.j-center{justify-content: center;}
.j-btw{justify-content: space-between;}
.fw-wrap {flex-wrap: wrap}
.mobile-wrap{flex-wrap: nowrap}
.gap-10 {gap: 10px;}
.gap-20 {gap: 20px;}
.gap-30 {gap: 30px;}
.gap-40 {gap: 40px;}

.mb-0 {margin-bottom: 0;}
.mt-0 {margin-top: 0;}
.my-0 {margin-top: 0;margin-bottom: 0;}
.grow-1{flex-grow: 1}

/* flex children */
.basis-50 {flex-basis: 50%;}
.basis-30 {flex-basis: calc(100% / 3)}

@media screen and (max-width: 960px){
	.image-container.mobile-full-width-with-margin {
		width: calc(100% - 20px) !important;
		max-width: calc(100% - 20px) !important;
		float: unset !important;
		margin-left: 10px !important;
		margin-right: 10px !important;
	}

	.image-container.mobile-full-width img {
		width: 100% !important;
	}
}

@media screen and (max-width: 768px){
	.image-container.mobile-full-width,
	.mobile-full-width img.mobile-full-width{
		width: 100% !important;
		max-width: 100% !important;
	}

	

	.image-container.mobile-full-width-with-margin {
		width: calc(100% - 20px) !important;
		max-width: calc(100% - 20px) !important;
	}

	.image-container.mobile-full-width{
		max-height: 50vw !important;
	}
	.mobile-wrap {flex-wrap: wrap;}
	.mobile-items-center {align-items: center;}
	.mobile-col-reverse {
		flex-direction: column-reverse;
	}

	/* .mobile-img-margin {
		margin: 0;
		margin-left: 10px;
	} */
}
/* FONTS */

h1, h2, h3, h4, h5, h6, p {
	/*margin-top: 0;*/
}

p {
	margin-top: 0px;
}

h1, .h1, h2, .h2, h3, .h3, h4, h5, h6 {
	font-family: 'PT Serif', Georgia, serif;
}

h1, .h1 {font-size: 26px;}
h2, .h2 {font-size: 18px; font-weight: bold; margin: 15px 0;}
h3, .h3 {font-size: 16px; padding-bottom: 0px; margin-bottom: 0px;}
h4 {font-size: 15px}
h5 {font-size: 12px;}
h6 {font-size: 10px}


P, LI, OL, UL, TABLE, TR, TH, TD, .Explicit {
	font-family: inherit;
	font-size: inherit;
}

.greenFont {
	color:#006652;
}
.greenHighlight {
	background: #006652;
	color:#FFFFFF;
	display: block;
	padding-left: 2px 5px;
	margin: 10px 0px 10px;
}

/** Helper CSS **/
.centered-text { text-align: center; }
.bold { font-weight: bold; }
p.larger {font-size: 18px;}

/* News article headlines */
a.NewsHeadlineList {
	font-family: 'PT Sans', Arial, sans-serif;
	font-weight: bold;
	font-size: inherit;
}



/* HEADER */

.header {
	/* height: 180px; */
	width: 100%;
	background-color: #FFFFFF;
}

.leftheader {
	float: left;
	/* height: 100px; */
	margin: 20px 0px;
	width: 50%;
}

.header .leftheader a {
	display: inline-block;
	width: 100%;
}

.rightheader {
	font-family: "PT Serif", Georgia, serif;
	float: right;
	/* height: 140px; */
	text-align: right;
    font-style: italic;
	color:#776f67;
	/* height: 100px; */
	margin: 20px 0px 0px;
}

.rightheader td {
	white-space: normal;
  word-wrap: break-word;
}

.rightheader .topnav {
	margin-bottom: 12px;
}

.rightheader h1, .rightheader h2, .rightheader h3, .rightheader h4, .rightheader h5, .rightheader p {
	padding: 0px;
	margin: 0px;
}

.rightheader table p {
	margin-bottom: 15px;
}

.rightheader .phonenumber {
	font-size: 15px;
	margin-bottom: 12px;
	display: block;
	font-weight: bold;
}

.rightheader a:link, .rightheader a:visited {
	color:#776f67;
}
.rightheader a:hover {
	color: #006652;
}


/* Search Form */
.rightheader .searchwrapper {
	width: 185px;
	/* height: 23px; */
	background: url('https://www.devereux.org/images/content/pagebuilder/searchbox-bkgd.jpg');
	background-repeat:no-repeat;
	padding: 0px;
	margin: -15px 0px;
	position: relative;
	float:right;
}
.rightheader .searchwrapper form {display:inline;}
.rightheader .searchwrapper form .gsc-input-box {
	display:flex;
}

.rightheader .searchfield{
	border:0px;
	background-color:transparent;
	position:absolute;
	width: 154px;
	height: 16px;
	left: 5px;
	top: 3px;
	font-family: 'PT Serif', Georgia, serif;
	font-size: 12px;
	font-style:italic;
	color:#CDCDCD;
}
.rightheader .searchfield:focus {
	color: #343434;
}
.rightheader .searchsubmit{
	border:0px;
	background-color:transparent;
	position: absolute;
	width: 23px;
	height: 23px;
	left: 163px;
	font-family: 'PT Serif', Georgia, serif;
	font-size: 0px;
	color:transparent;
	background: url('https://www.devereux.org/images/content/pagebuilder/mag-glass.jpg') no-repeat center center;
}

.rightheader .searchsubmit:hover {
	cursor:pointer;
	cursor:hand;
	background: url('https://www.devereux.org/images/content/pagebuilder/mag-glass-hover.jpg') no-repeat center center;
}

/* Donate Button */
.topnav a.donate {
	background: url('https://www.devereux.org/images/content/pagebuilder/donatenow-button.png') no-repeat 0 0;
	width: 120px;
	height: 35px;
	display: inline-block;
	overflow:hidden;
	text-align: left;
	text-indent: -900px;
	margin-left: 10px;
}
.topnav a.donate:hover { background-position: 0 -35px; }

/* Contact Us Button */
.topnav a.contact {
	background: url('https://www.devereux.org/images/content/pagebuilder/contact-button.png') no-repeat 0 0;
	width: 120px;
	height: 35px;
	display: inline-block;
	overflow: hidden;
	text-align: left;
	text-indent: -900px;
	margin-left: 10px;
}
.topnav a.contact:hover { background-position: 0 -35px; }

/* MAIN NAVIGATION */
.mobilenavcontainer {
	display: none;
	background:	#006652 url('https://www.devereux.org/images/content/pagebuilder/green-gray-gradient.jpg') top left repeat-x;
	height: 40px;
	clear: both;
	position: relative;
	z-index:1010;
}
	.mobilenavcontainer .phonenumber {
		display: inline-block !important;
		height: 40px; width: auto;
		border: 1px solid transparent;
		margin: 0 10px 0 0; padding: 0;

		color: #fff;
		font-size: 17px;
		font-weight: normal;
		font-style: italic;
		line-height: 40px;
		position: absolute; top: 0; right: 0;
	}
	.mobilenavcontainer .mobilenavtoggle {
		display: inline-block;
		height: 38px; width: auto;
		border: 1px solid transparent;
		padding: 0 10px;
		margin-left: 10px;

		color: #fff;
		font-size: 20px;
		line-height: 40px;
		text-transform: uppercase;
		text-decoration: none;
	}
		.mobilenavcontainer .mobilenavtoggle.active,
		.mobilenavcontainer .mobilenavtoggle:hover {
			background-color: #fff;
			color: #006652;
		}
		.mobilenavcontainer .mobilenavtoggle:before {
			content: '\2630 ';
			display: inline-block;
			margin-right: 10px;
		}
		.mobilenavcontainer > ul {
			list-style-type: none;
			display: none;
			width: auto; 
			height: auto !important;
			height: 300px;
			max-height: 300px;
			position: absolute;
			top: 40px; left: 0; right: 0;
			margin: 0; padding: 0;
			background: #f5f5f5;
			overflow: auto;
			-webkit-box-shadow: 0 0 5px #000;
			-moz-box-shadow: 0 0 5px #000;
			box-shadow: 0 0 5px #000;
		}
		.mobilenavcontainer > ul ul {
			display: none;
		}
			.mobilenavcontainer li {
				display: block;
				width: auto !important;
				border-bottom: 1px solid #c4c4c4;
			}
			.mobilenavcontainer li a {
				display: block;
				padding: 5px;
				margin: 0;
				text-align: center;
				font-weight: bold;
				font-size: 18px; line-height: 22px;
				color: #000;
				text-decoration: none;
			}
				.mobilenavcontainer li a:hover {
					background-color: #c4c4c4;
					color: #000;
				}
.mainnavcontainer {
	background:	#006652 url('https://www.devereux.org/images/content/pagebuilder/green-gray-gradient.jpg') top left repeat-x;
	height: 40px;
	clear: both;
	position: relative;
	z-index: 100;
}
.mainnavcontainer > ul {
	width: 940px;
	height: 40px;
	margin: 0px auto;
	padding: 0;
	list-style:none;
	list-style-image:none;
	display: table;
	position: relative;
	z-index: 10;
}
.lt-ie8 .mainnavcontainer > ul {
	display: block;
}
.mainnavcontainer > ul > li {
	line-height: 40px;	
	color: #000;
	display:table-cell;
	text-align: center;
	position: relative;
}
.lt-ie8 .mainnavcontainer > ul > li {
	display: inline;
	float: left;
}

.mainnavcontainer a {
	color: #fff;
	display: block;
	text-decoration:none;
	padding: 0;
}



.lt-ie8 .mainnavcontainer a {
	display: inline;
	overflow: hidden;
	float: left;
	padding: 0 20px;
}
.mainnavcontainer a:visited {
	color: #fff;
}
.mainnavcontainer a:hover,
.mainnavcontainer a:active,
.mainnavcontainer a:focus{
	background: #e8e8e8;
	color: #000;
}

/* .mainnavcontainer a.activeMenu {
	color: #fff !important;
	background: #7a7a7a url('https://www.devereux.org/images/content/pagebuilder/mainnav-current.jpg') top left repeat-x;
} */

/* MAIN NAVIGATION DROP DOWN and FLYOUT */
.mainnavcontainer > ul > li ul,
.content ul.nav li.has-children ul  {
	display: none;
	position: absolute;
	margin: 0;
	padding: 0;
	list-style-type: none;
	z-index: 1;
	width: auto;
	background: #fff;
	-webkit-box-shadow: 2px 2px 3px rgba(0, 0, 0, 0.5);
	-moz-box-shadow:    2px 2px 3px rgba(0, 0, 0, 0.5);
	box-shadow:         2px 2px 3px rgba(0, 0, 0, 0.5);
	border-top: 1px solid #bcbcbc;
}
.mainnavcontainer > ul > li > ul {
	top: 100%;
}

.lt-ie8 .mainnavcontainer > ul > li > ul {
	left: 0;
}

.mainnavcontainer li:hover > ul,
.mainnavcontainer li.hover > ul,
.content ul.nav li.has-children.hover > ul,
.content ul.nav li.has-children:hover > ul
{
	display:block;
}

.mainnavcontainer > ul > li li,
.content ul.nav li.has-children > ul li {
	float:none;
	display:block;
	height: auto !important;
	font-weight:normal;
	
	line-height: 1.2em;
	text-align: left;
	position: relative;
	border: 1px solid #bcbcbc;
	border-top: 0;
	margin-top: 1px;
}

.mainnavcontainer > ul > li > ul > li > ul,
.content ul.nav li.has-children ul{
	top: -2px;
	left: 100%;
}

.mainnavcontainer > ul > li li a,
.content ul.nav ul li a {
	display: block !important;
	min-width: 200px;
	padding: 8px 10px !important;
	background-color: #fff;
	color: #000 !important;
	overflow: hidden;
}

/* first sub menu font-size */
.mainnavcontainer > ul > li > ul > li {
	font-size: .9em;
}

/* second sub menu font-size */
.mainnavcontainer > ul > li > ul > li > ul > li {
	font-size: 13.5px;
}

.mainnavcontainer li.has-children > a {
	position: relative;
	z-index: 3;
}

.mainnavcontainer li.has-children li.has-children,
.content ul.nav li.has-children {position: relative;}
.mainnavcontainer li.has-children li.has-children:after,
.content ul.nav li.has-children:after {
	content: '';
	position: absolute;
	top: 50%;
	left: calc(100% - 20px);
	transform: rotate(-45deg) translate(50%, -50%);
	width: 5px;
	height: 5px;
	border-right: 2px solid black;
	border-bottom: 2px solid black;
	z-index: 5;
}

/* LEFT SIDE NAVIGATION */

.content ul.nav {
	width: 200px;
	margin: 0px 25px 20px 0px;
	padding: 0px;
	list-style: none;
	list-style-image: none;
	font-size: .9em;
	line-height: 1.2em;
	border-top: 1px solid #bcbcbc;
}
.content ul.nav li {
	border-left: 1px solid #bcbcbc;
	border-right: 1px solid #bcbcbc;
	border-bottom: 1px solid #bcbcbc;
	padding: 0px;
	margin: 0px;
}

.content ul.nav li a:link, .content ul.nav li a:visited {
	color: #000000;
	text-decoration: none;
	display:block;
	padding: 8px 10px;
	background: #fff;
}

.content ul.nav li a:hover, 
.content ul.nav li a:active, 
.content ul.nav li a:focus {
	background: #e8e8e8;
}

/* .content ul.nav li a.activeMenu {
	background: #817e77;
	color: #FFFFFF;
	width: 188px;
	background-image: url('https://www.devereux.org/images/content/pagebuilder/nav-right-arrow.jpg');
	background-position: center right;
} */

.content ul.nav ul {
	list-style:none;
	list-style-image:none;
	padding: 0px;
}
.content ul.nav ul li a:link {
	padding-left: 25px;
}

/* image grid */
.image-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
	gap: 20px;	
	margin: 0 auto;
  }
  
  .image-grid div {
	max-width: 150px;
	margin: 0 auto;
	justify-self: center;
	align-self: center;
  }
  
  .image-grid img {
	width: 100%;
	height: auto;
	display: block;
	
  }
  
/* END image grid */



/* MAIN CONTENT */
.content {
	width:100%; 
	padding-bottom: 25px;
	background-color:#ffffff; 
	min-height: 750px; 
	height: auto !important; 
    height: 750px;
	/*overflow:auto;*/
	overflow:hidden;
	}

/* Center home page audience table */
.content table.audience h3 {
	margin: 5px;
}
.content table.audience {
	margin-top: 5px;
	display: block;
	margin-bottom: 15px;
	/* height: 268px; */
	overflow: hidden;
}

.content table.audience.banner-images a {position: relative; display: block;}
.content table.audience.banner-images a::before {
	content: '';
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	background-color: rgba(255,255,255, 0.3);
	opacity: 0;
	transition: opacity 300ms;
}
.content table.audience.banner-images a:hover::before {
	opacity: 1;
}

/* Override the Convio template "Index1" that restricts width */
.content > table:first-child, .content table.TabTable > table:first-child {
	/*width: auto !important;*/
	width: 100% !important;
}

/* Override the Convio Survey form padding */
form table {
	border-collapse: separate; /*override for menu_styles.css -- not required after launch of new site */
	border-spacing: 4px; /*override for menu_styles.css -- not required after launch of new site */
}
form table p{
	margin-top: 0px;
	margin-bottom: 0px;
	padding-top: 0px;
	padding-bottom: 0px;
}

/* Override for appArea */
div.appArea {
	margin: 25px 10px;
}

/* mobile padding override */
@media screen and (max-width: 767px) {
	.mobile-padding {
		padding: 10px;
	}
}

/* Print Email Bookmark */
.global-actions {
	float:right; 
	width: 100%;
	text-align: right;
	margin-top: 10px;
	overflow: hidden;
}
.global-actions .button {
	background: url('https://www.devereux.org/images/content/pagebuilder/print-email-bookmark.png') no-repeat 0 0;
	width: 21px;
	height: 20px;
	display: block;
	overflow: hidden;
	text-align: left;
	float: right;
	margin-left: 4px;
	text-indent: -9999em;
}

.global-actions .printButton {background-position: 0 0px;}
.global-actions .printButton:hover { background-position: 0 -20px; }

.global-actions .emailButton {background-position: -30px 0px;}
.global-actions .emailButton:hover {background-position: -30px -20px;}

.global-actions .bookmarkButton {background-position: -60px 0px;}
.global-actions .bookmarkButton:hover {background-position: -60px -20px;}


/* page specific CSS */

/* CES_PRODUCTS */

.product {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
	margin-bottom: 20px;
}

.product .product-image {
	min-width: 116px;
}

.product .product-content {
	flex-basis: calc(100% - 116px - 25px);
}
.product .product-content h3{
	margin-top: 0;
}

/* pop-up css */

#popup-overlay {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0,0,0,0.6);
	z-index: 999;
  }
  
  #popup {
	display: none;
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	background: #fff;
	padding: 20px;
	text-align: center;
	z-index: 1000;
	border-radius: 10px;
	box-shadow: 0 0 15px rgba(0,0,0,0.3);
	max-width: 500px;
	width: 80%;
  }
  
  #popup img {
	  display: block;
	  /* margin: 0 auto 10px; */
	}

#popup #close-popup {
	background: none;
	border: none;
}
  
#popup .popup-content {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
	align-items: center;
	justify-content: space-between;
}

  #popup p {
	margin: 10px 0;
  }

  
  .shop-link {
	display: inline-block;
	margin-top: 10px;
	padding: 8px 12px;
	background: #0073e6;
	color: white;
	text-decoration: none;
	border-radius: 5px;
  }
  
  .shop-link:hover {
	background: #005bb5;
  }
  
  #close-popup {
	position: absolute;
	top: 8px;
	right: 12px;
	font-size: 20px;
	cursor: pointer;
  }
  



@media (max-width: 768px){
	.product {
		margin: 0 10px 20px;
	}
}
/* END CES_PRODUCTS */

    /* THREE CLICKABLE CARD STYLE */
    .cards-section-container {
        padding: 20px 0;
    }

    .cards {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        justify-content: space-between;
    }

    .cards .card {
        flex-basis: calc(100% / 3 - 20px);
        flex-grow: 1;
        box-shadow: 0 0 10px 0px rgba(0, 0, 0, 0.2);
        border: 1px solid rgb(24, 117, 98);
        border-radius: 4px;
        overflow: hidden;
        position: relative;
    }

    .absolute {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        height: 100%;
        display: block;
        z-index: 20;
    }


    .cards .card .img-container {
        position: relative;
    }

    .cards .card .img-container:before {
        content: '';
        width: 100%;
        height: 100%;
        position: absolute;
        top: 0;
        left: 0;
        background: rgba(0, 0, 0, 0.2);
        opacity: 0;
        transition: all 200ms ease;
    }

    .cards .card .card-content {
        padding: 16px;
        display: flex;
        flex-wrap: wrap;

    }

    .cards .card .card-content h4 {
        margin-top: 0;
    }

    .cards .card .card-content .button {
        text-align: center;
        background-color: #006a50;
        color: #ffffff;
        text-decoration: none;
        padding: 15px 10px;
        width: 100%;
        display: block;
        margin: 20px auto 0;
        border: 1px solid #1d5c76;
        border-radius: 5px;
        transition: all 200ms ease;
    }



    /* card hover states */
    .cards .card .card-content .img-container {
        display: flex;
    }

    .cards .card .card-content .img-container img {
        object-fit: cover;
    }

    .cards .card .absolute:hover+div .card-content .button,
    .cards .card .absolute:focus+div .card-content .button {
        background-color: #1d5c76
    }

    .cards .card .absolute:hover+div .img-container:before,
    .cards .card .absolute:focus+div .img-container:before {
        opacity: 1;
    }

  
    /* END THREE CLICKABLE CARD STYLE */




/* FOOTER*/
.footer {
	width: 100%;
	margin: 0px;
	padding: 15px 0px;
	/*background: #B5E0D9;
	color: #006652;*/
	background: #006652 url('https://www.devereux.org/images/content/pagebuilder/green-gray-gradient.png') top left repeat-x;
	color: #FFFFFF;
	clear:both;
}

.footer .container {
	background-color: #006652;
}

.footer .footerCol {
	/*float: left;*/
	width: 280px;
	padding: 0 20px 0px 19px;
	border-right: 1px solid #FFFFFF;
}

.footer .lastcol {
	padding: 0 20px 0px 20px;
	border-right: none;
}

.footer table, .footer table tr {
	vertical-align: top;
}
.footer .tagline {
	text-indent:-9999em;
	text-align: left;
	width: auto; height: 25px;
	background: url('https://www.devereux.org/images/content/pagebuilder/tagline-footer.png') 50% 0 no-repeat;
	overflow: hidden;
}

.footer ul {
	/*font-size: 12px;
	line-height: 20px;*/
	font-size: .9em;
	line-height: 1.75em;
	list-style:none;
	list-style-image:none;
	margin: 0px;
	padding: 0px;
}



.footer a:link, .footer a:visited, .footer a:hover, .footer a:active, .footer a:focus { 
	color: #FFFFFF;
	display: inline-block;
}
.footer a:hover {
	color: #8DCBBC;
}

/** New Footer **/
.footer {
    width: auto;
    height: auto;
}
.footer-content {
    width: auto !important;
    width: 960px;
    max-width: 960px;
    margin: 0 auto;
    text-align: center;
}
    .footer-columns {
        display: table;
        width: 100%;
    }
        .footer-column {
            display: table-cell;
            width: 33%;
            height: 100%;
            padding: 0 20px;
            border-right: 1px solid #fff;
        }
        .footer-column.last {
            border-right: 0;
        }
    .footer .links-columns {
        display: inline-block;
        margin: 10px auto;
        text-align: left;
        /* overflow: hidden; */
    }
        .footer .links-column {
            display: inline-block;
            padding-right: 15px;
            float: left;
        }
        .footer .links-column.last {
            padding-right: 0;
        }


/* COPYRIGHT */
.footer .copyright {
	font-size: .9em;
	text-align: center;
	padding-top: 25px;
}

/** Footer Spacing **/
.footer .footer-content ul {
    line-height: 18px;
}
.footer .footer-content li {
    margin: 0 0 .5em;
    padding: 0;
}



/* HOME PAGE TEMPLATES */

/* Home Page - Photo Caption Hovers*/
/* Needs jquery to function*/
div.capty-caption {
	background-color: #000;
	color: #FFF;
	font: bold 13px 'PT Sans', Arial, sans-serif;
	text-align:right;
	padding-right: 10px;
	padding-top: 7px;
	border-radius: 0 0 5px 5px;
}

div.capty-caption a {
	color: #FFFFFF;
	font: bold 13px 'PT Sans', Arial, sans-serif;
	text-decoration: none;
}

div.capty-caption a:hover {
	text-decoration: underline;
}

/** Home Page Columns **/
.columns-wrapper {
    display: block;
    width: auto; height: auto;
    margin-left: -10px;
    margin-right: -10px;
    overflow: hidden;
}

.columns-wrapper.two-columns .column {
    display: block;
    width: 50%;
    float: left;
}
.columns-wrapper.mobile-columns {
    display: none;
}
    .columns-wrapper .column-content {
        width: auto;
		height: unset !important;
        margin: 0 10px;
        border: 1px solid #006652;
    }
        .columns-wrapper .column-content .greenHighlight {
            padding: 4px 5px 5px;
            margin: 0 0 30px;
            background-color: #006652;
            border: 0;
            color: #fff;
            font-size: 19px;
            line-height: 29px;
            text-align: center;
        }

a.news-article {
    text-decoration: none;
    color: #333;
}
    .column-content a.news-article {
        display: block;
        padding: 0 15px;
    }
    a.news-article h3 {
        font-size: 17px; line-height: 21px;
        margin: 0;
        color: #006652;
    }
        a.news-article:hover h3 {
            color: #777;
        }
    a.news-article p {
        margin: 0 0 20px;
    }
#mapdiv {
	position: relative;
	display: block;
	width: 450px; height: 300px;
	margin: 0 auto; padding: 0;
	background-color: #fff;
}
.map-wrapper {
    width: auto; height: 0;
    padding: 66.67% 0 0; margin: 0 0 20px;
    position: relative;
}
    .map-wrapper #mapdiv {
        position: absolute;
        top: 0; bottom: 0;
        left: 0; right: 0;
        display: block;
        width: auto; height: auto;
        padding: 0; margin: 0 auto;
        background-color: #fff;
    }
    	.map-wrapper #mapdiv > div:first-child {
    		width: 100%; height: 100%;
    		top: 0 !important; left: 0 !important;
    	}
    	.map-wrapper #mapdiv > div:last-child {
    		position: static !important;
    		height: 0 !important; width: 0 !important;
    		overflow: visible;
    	}
    		.map-wrapper #mapdiv .ammapDescriptionWindow {
    			position: absolute !important;
    			top: 10% !important; 
    			left: 10% !important; 
    			right: 10% !important; 
    			bottom: 10% !important;
    			width: auto !important; height: auto !important;
    			overflow: hidden !important;
    		}
.mobile-locations {
	display: none;
	text-align: center;
}
.mobile-locations ul {
	list-style-type: none;
	margin: 0; padding: 0;
	font-size: 18px; line-height: 22px;
}
.mobile-locations li {
	margin: 0 0 .5em;
}
.mobile-locations a {
	color: #000;
	text-decoration: underline !important;
}
	 .mobile-locations .links-columns {
        display: inline-block;
        margin: 10px auto;
        text-align: center;
        overflow: hidden;
    }
        .mobile-locations .links-column {
            display: inline-block;
            padding: 0 25px;
            float: left;
        }



/* CENTER CAROUSEL STYLES */

/* New size carousel 940x300 */
/* Home Page Slider */

div.slider, table.slider {position:relative; margin-bottom: 15px; border-collapse: collapse; overflow: hidden;}

table.slider td { padding: 0px;}

div.sliderContainer, div.sliderContainer .slide, ul.sliderContainer, ul.sliderContainer li {
	width: 940px;
	height: 300px;
}

ul.sliderContainer {
	margin:0px;
	padding: 0px;
}

#slideshow_next,#slideshow_prev
{
	position:absolute;
	top: 125px;
	z-index: 1000;
	display:block;
	height: 44px;
	width: 45px;
	background-repeat: no-repeat;
}
  #slideshow_next
  {
	  right: 10px;
	  background-image: url('https://www.devereux.org/images/content/pagebuilder/carousel-arrows.png');
	  background-position: -50px 0px;
	  background-repeat: no-repeat;
  }
	#slideshow_next:hover
	{
		background-position: -50px -50px;
		background-repeat: no-repeat;
	}
  #slideshow_prev
  {
	  left: 10px;
	  background-image: url('https://www.devereux.org/images/content/pagebuilder/carousel-arrows.png');
	  background-position: 0 0;
	  background-repeat: no-repeat;
  }
	#slideshow_prev:hover
	{
		background-position: 0px -50px;
		background-repeat: no-repeat;
	}

#sliderNav {
	display: block;
	width: auto;
	height: 20px;
	bottom: 5px;
	left: 0; right: 0;
	font-size: 20px; line-height: 20px;
	position: absolute;
	z-index: 1001;
	text-align: center;
}
	#sliderNav a {
		display: inline-block;
		padding: 0 5px;
		color: #fff;
		text-decoration: none !important;
		text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
	}
	#sliderNav a:hover,
	#sliderNav a.activeSlide {
		color: #006652;
	}

/* custom capty column block  */
.dgd-image-grid * {box-sizing: border-box;}

    
.dgd-image-grid {
	grid-template-columns: repeat(4, 1fr);
  display: grid;
  gap: 15px;
  max-width: 1000px;
  margin: auto;
}

.dgd-image-wrapper {
position: relative;
overflow: hidden;
display: block;
text-decoration: none;
outline: none;
border-radius: 4px;
/* margin: 10px; */
display: flex;
}

.dgd-image-wrapper:focus-visible {
  outline: 3px solid #005fcc;
  outline-offset: 4px;
}

.dgd-image-grid figure {
  position: relative;
  margin: 0;
  flex-grow: 1;
}
.dgd-image-grid figure h2{  
  font-family: Arial !important;
  position: absolute;
  top: 0;
  width: 100%;
  padding: 10px 5px;
  margin: 0 0 30px;
  background-color: #006652;
  border: 0;
  color: #fff;
  font-size: 19px;
  font-size: clamp(15px, 2vw, 19px);
  line-height: 29px;
  text-align: center;
}

.dgd-image-wrapper figure img {
  display: block;      
height: 100% !important;
width: 100% !important;
object-fit: cover;
}

.dgd-image-overlay {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 10px;
  height: 37px;
  position: absolute;
  bottom: 0;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  text-align: center;
  opacity: 0;
  transform: translateY(100%);
  transition: all 0.3s ease;
}

.dgd-image-wrapper:hover .dgd-image-overlay,
.dgd-image-wrapper:focus .dgd-image-overlay {
  transform: translateY(0%);
  opacity: 1;
}

/* Responsive tweaks */
@media (max-width: 768px) {
  .dgd-image-grid {
    grid-template-columns: repeat(2, 1fr) !important;
	gap: 0;
  }
  .dgd-image-wrapper {
	margin: 10px;
  }

  .dgd-image-grid figure h2{  
	font-size: clamp(15px, 3vw, 19px);
  }
  
}

@media (max-width: 480px) {
	
  .dgd-image-grid {
	margin-bottom: 10px !important;
    grid-template-columns: 1fr !important;
  }

  .dgd-image-wrapper {
	margin: 5px auto;
    max-width: 350px;
  }

  .dgd-image-grid figure h2{  
	font-size: 19px;
  }
}

/* DGD new social icons  */
.socials a{
	max-width: 75px;
}

/* NATIONAL CAROUSEL STYLE */
/* this is for the carousel 940x350 */

div.sliderTall div.sliderContainer, div.sliderTall div.sliderContainer .slide {
	height: 350px;
}

div.sliderTall #slideshow_next, div.sliderTall #slideshow_prev {
	top: 155px;
}

/* CONVIO TEMPLATE OVERRIDES */

/* Hide the mini calendar on the right of events */
table.minicalcell {
	display:none;
}

/* Remove div.AppArea Width that is set in UserGlobalStyle.css */
.appArea {
	width: auto;
}

/* Article Search Box */
form#NewsSearch div.searchBox {
border: 2px solid #006652;
border-width: 1px 2px 2px 1px;
background: #ffffff;
padding: 5px;
margin: 10px 0px;
}

form#NewsSearch div.searchBox #submit {
float:none;
margin-top: 5px;
margin-left: 5px;
}

/* Article Divider */
form#catselect tr.Divider {
background-color: #006652 !important;
color: white !important;
font-size: 14px;
height: 25px;
}
form#catselect tr.Divider p {
font-style: normal;
padding: 0px 5px;
}
form#catselect tr.Divider a{
color: white !important;
}

/* Donation form title & Event Detail title */
h3.ObjTitle, .eventtitle {
	font-family: 'PT Serif', Georgia, serif !important;
	font-size: 26px !important;
	font-weight: bold;
	font-style: normal !important;
	color: #343434;
	margin: 20px 0px 6px;
}
/* Styles from Previous template */
.threeColumn, .twoColumn, .oneColumn {
width: 100%;
}
.threeColumn td.column {
vertical-align: top;
width: 33%;
padding: 4px;
} 

.column:first-child h2.columnTitle {
	background-color: #006652 !important;
	color: #ffffff !important;
}

.column:nth-child(2) h2.columnTitle {
	background-color: #f8ad48 !important;
	color: #ffffff !important;
}

.twoColumn td.column:first-child {
	vertical-align:top;
	width: 67%;
	padding: 4px;
}
.twoColumn td.column:last-child {
	vertical-align:top;
	width: 33%;
	padding: 4px;
}
.column:last-child h2.columnTitle {
background-color: #6a70ad;
color: white;
}
td.column h2.columnTitle {
	display: block;
	height: 25px;
	width: 99%;
	font-size: 14px;
	line-height: 25px;
	font-style: normal;
	padding-left: 5px;
	margin-top: 0px;
}
.oneColumn td.column:only-child {
vertical-align: top;
width: 100%;
padding: 4px;
}

.widget, .widgetTitle {
border: 2px solid #a3ccc3;
border-width: 1px 2px 2px 1px;
padding: 15px;
padding-top: 5px;
width: 80%;
min-width: 203px;
background: #ffffff url('https://www.devereux.org/images/content/pagebuilder/609433.gif') repeat-y top right;
margin: 0px auto;
}

.widgetTitle {
padding: 5px 15px;
border-width: 1px 2px 0px 1px !important;
background: #d5e4e1 url('https://www.devereux.org/images/content/pagebuilder/609434.gif') repeat-y top left;
text-align: center;
}

.readon {
border: 2px solid #a3ccc3;
display: block;
padding: 5px;
background: #ffffff url('https://www.devereux.org/images/content/pagebuilder/609433.gif') repeat-y top right;
margin-left: auto;
margin-right: 0px;
margin-top: 5px;
margin-bottom: 5px;
color: #006652 !important;
font-weight: bold;
text-decoration: none;
text-align: center;
width: 125px;
}

.widget .readon {
background: #ffffff;
}

.careers-icons {
    float: right;
    overflow: hidden;
    height: auto;
    margin-top: 10px;
}
.careers-icons a {
    display: block;
    height: auto; width: 40px;
    margin: 0 0 0 10px;
    float: right;
}
.careers-icons img {
    width: 100%; height: auto;
}
.floated-video {
    display: block;
    float: left;
    width: 30%;
    height: auto;
    margin-right: 10px;
    clear: left;
}


/* buttons for foster care pages */
.button-container,
.d-flex.a-center.j-center.fw-wrap {
	display: flex;	
	justify-content: center;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px;
	padding: 0 10px;
}
.button-container > *{
	margin: 0;
	flex-grow: 1;
	/* min-width: 220px; */
	flex-basis: calc(100% / 3 - 10px);
	max-width: 65%;
}

.button-container > * a{
	line-height: 1.1;
	padding: 8px 15px 10px !important;
	white-space:nowrap;

}

@media (max-width: 768px){
	.button-container{
		flex-wrap: wrap;
	}
}

@media (max-width: 600px){
	.button-container > p{
		flex-basis: 100%;
		max-width: unset;
	}

	.button-container > * a{
		white-space: unset;
	}
}

/** Donation Form **/
.content .donation-form-container.responsive {
    width: auto;
    background: transparent !important;
    border: 0 !important;
}

/** Print Styles **/
@media print {
	body, html { 
		background-color: transparent;
		background-image: none;
		color: #000;
	}
	.greenHighlight {
		background-color: transparent;
		background-image: none;
		color: #006652;
		padding: 0;
	}
	/** HEADER **/
	.header { 
		height: auto;
		overflow: hidden;
		background-color: transparent;
		background-image: none; 
	}
	.header .rightheader .topnav,
	.header .rightheader table {
		display: none;
	}
	.header .rightheader,
	.header .leftheader {
		float: none;
		height: auto;
		text-align: left;
		margin: 0;
	}

	.header .rightheader {
		margin-left: 14px !important;
	}
	.header .rightheader .phonenumber {
		color: #000;
	}
	.header .mainnavcontainer {
		display: none;
	}
	
	/** CONTENT AREA **/
	.global-actions {
		display: none;
	}
	.contentbkgd { 
		background-color: transparent;
		background-image: none;
	}
	.contentbkgd .content td {
		height: auto !important;
		color: #000 !important;
	}
	.contentbkgd p {
		page-break-after: avoid;
		page-break-inside: avoid;
	}
	.contentbkgd .content ul.nav {
		display: none;
	}
	
	/** FOOTER **/
	.footer { 
		background-color: transparent;
		background-image: none;
		height: auto;
		margin: 10px 0 0;
		padding: 10px 0;
		border-top: 1px solid #006652;
		color:#ccc;
	}
	.footer .container {
		background-color: transparent;
		background-image: none;
	}
	.footer .tagline { 
		background-image: none;
		background-color: transparent;
		text-align: center;
		text-indent: 0;
		font-family: 'PT Serif', Georgia, serif !important;
		font-size: 1.8em !important;
		font-weight: bold !important;
		font-style: italic !important;
		height: auto;
		color: #006652;
	}
	.footer .footercontainer { 
		display: none; 
		background-color: transparent;
		background-image: none;
	}
	.footer .copyright, .footer .copyright p { 
		background-color: transparent;
		background-image: none;
		color: #006652;
		text-align: center;
		margin:0;
	}
	.footer .copyright .sublinks { 
		display: none; 
	}
}


.president-photo {
	float: right;
	margin: 0 0 10px 10px;
	display: inline-block;
}

#payment_typecc_type_row .tender-row img {
    display: inline;
}
div.donation-level-general-ask, div.html-caption-container { max-width: none; width: auto; }

/* OVERRIDES */

.capty-wrapper {
	width:auto !important;
	/* height:270px !important; */
	height: min-content !important;
}

/* IE8, IE9 */
:root div.capty-caption { font-size: 14px \0/IE9; }  /* IE9 + IE10pp4 */
:root .content table.audience { margin-bottom: -3px \0/IE9; }  /* IE9 + IE10pp4 */
