/*
 Theme Name:   Denver Zoo Gala Wordpress Theme
 Description:  Custom Wordpress theme for Denver Zoo based on underscores
 Author:       Graham Swanson
 Template:     dzgala
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Text Domain:  dzgala-child
*/
html, body {
	font-family: 'Sanchez', serif;
	margin: 0;
	font-style: italic;
}
a.skip-link {
    left:-999px;
    position:absolute;
    top:auto;
    width:1px;
    height:1px;
    overflow:hidden;
    z-index:-999;
}
a.skip-link:focus, a.skip-link:active {
    color: #fff;
    background-color:#000;
    left: auto;
    top: auto;
    width: 30%;
    height: auto;
    overflow:auto;
    margin: 10px 35%;
    padding:5px;
    border-radius: 15px;
    border:4px solid yellow;
    text-align:center;
    font-size:1.2em;
    z-index:999;
}

section {
	position: relative;
}
section .container {
	width: 90%;
	margin: 0 auto;
	position: relative;
    z-index: 1;
}
section .container h2,
section .container h3,
section .container h4 {
	text-align: center;
	margin: 0;
}

p.leaf-wrapper {
	text-align: center;
}
p.leaf-wrapper img.leaf {
	max-width: 20px;
}

@media screen and (min-width: 600px){
	section .container {
		width: 80%;
	}
}
@media screen and (min-width: 900px){
	section .container {
		width: 60%;
	}
}
@media screen and (min-width: 1200px){
	section .container {
		width: 50%;
		max-width: 700px;
	}
}



/**************************************************************************
	HEADER
/*************************************************************************/
section.header {
	height: 183vw;
}


section.header::before {
	content: '';
	background-image: url('/wp-content/uploads/2019/04/Header_Pattern_DesktopLARGE.png');
	background-size: cover;
    background-repeat: no-repeat;
    position: absolute;
    width: 100%;
    height: 62vw;
	background-position-x: -68vw;
}

section.header .center-sm {
	transform: translateX(-50%);
	left: 50%;
}
section.header img.logo-image-dz {
	position: absolute;
	max-width: 137px;

	width: 16vw;
	left: 7.3vw;
	top: 5.5vw;
}

a.header-link {
    color: black;
    position: relative;
    padding: 0 21px 0 16px;
    text-decoration: none;
    font-size: 76%;
}
a.header-link::before,
a.header-link::after {
	content: '';
	position: absolute;
	background: url(/wp-content/uploads/2019/07/dz-gala-bullet-gray.jpg);
    background-repeat: no-repeat;
	background-size: contain;
	height: 100%;
	width: 15px;
	background-position-y: 7px;
}
a.header-link-home::before,
a.header-link-home::after {
	background-image: url(/wp-content/uploads/2019/04/dz-gala-bullet.jpg);

}
body.home a.visit-link{
    position: absolute;
    z-index: 20;
    left: 7.3vw;
    margin-left: 18vw;
    top: 5.5vw;
    margin-top: calc(16.4vw * 1.3);
    transform: translateY(-100%);
}


a.header-link::before {
	left: 0;
}
a.header-link::after {
	right: 0;
	transform: scaleX(-1);
		-moz-transform: scaleX(-1);
        -o-transform: scaleX(-1);
        -webkit-transform: scaleX(-1);
        transform: scaleX(-1);
        filter: FlipH;
        -ms-filter: "FlipH";
}


section.header img.logo-image-fon {
	position: absolute;
	max-width: 446px;

	top: 30vw;
	width: 60vw;
}

section.header div.honorees {
	position: absolute;

	text-align: center;
	color: #B37343;
	text-transform: uppercase;
	font-style: normal;
	width: 100%;

	top: 71vw;

}
section.header div.honorees span {
	display: block;
}
section.header div.honorees span.as-the {
	font-size: 60%;
}

section.header div.main-image-wrapper {
    position: absolute;
    z-index: 1;
    margin: 0 auto;
	/* display: none; */
	/* background-image: url('https://images.pexels.com/photos/2179205/pexels-photo-2179205.jpeg'); */
	/* background-repeat: no-repeat;
    background-position: center bottom;
    background-size: contain;
	padding-bottom: 122%; */

	width: 211vw;
    /* bottom: calc( -211vw * .134 );  /* Orig calc .12952381 */
	bottom: 0;

    left: 40%;
	transform: translateX(-50%);
}
section.header div.main-image-wrapper img.main-image {
	max-width: 100%;
    margin-bottom: -13.4%;
}


@media screen and (min-width: 650px) {
	section.header {
		height: 163vw;
	}
	section.header::before {
		height: 60vw;
		background-position-x: -58vw;
	}
	section.header img.logo-image-dz {
		width: 15.2vw;
		left: 5.6vw;
		top: 5.2vw;
	}
	body.home a.visit-link{

		/* padding: 0 21px 0  16px; */
	    left: 5.6vw;
	    margin-left: 15.2vw;
	    top: 5vw;
	    margin-top: calc(15.6vw * 1.3);
	}
	body.home a.visit-link::before,
	body.home a.visit-link::after {
		height: 100%;
		width: 15px;
		background-position-y: 7px;
	}
	section.header img.logo-image-fon {
		top: 27.7vw;
		width: 50vw;
	}
	section.header div.honorees {
		width: 100%;
		top: 61vw;
		line-height: 4vw;
		font-size: 120%;
	}
	section.header div.main-image-wrapper {
		width: 200vw;
		bottom: 0;
	}
	section.header div.main-image-wrapper img.main-image {
		margin-bottom: -13.4%;
	}
}


@media screen and (min-width: 750px) {
	section.header {
		height: 142vw;
	}
	section.header::before {
		/* height: 60vw; */
		/* background-position-x: -58vw; */
	}
	section.header img.logo-image-dz {
		/* width: 15.2vw; */
		/* left: 5.6vw; */
		/* top: 5.2vw; */
	}
	body.home a.visit-link{

		/* padding: 0 21px 0  16px; */
	    /* left: 5.6vw; */
	    /* margin-left: 15.2vw; */
	    /* top: 5vw; */
	    /* margin-top: calc(15.6vw * 1.3); */
	}
	body.home a.visit-link::before,
	body.home a.visit-link::after {
		/* height: 100%; */
		/* width: 15px; */
		/* background-position-y: 7px; */
	}
	section.header img.logo-image-fon {
		/* top: 27.7vw; */
		width: 44vw;
	}
	section.header div.honorees {
		/* width: 100%; */
		top: 57vw;
		/* line-height: 4vw; */
		/* font-size: 120%; */
	}
	section.header div.main-image-wrapper {
		width: 160vw;
		bottom: 0;
		left: 50%;
    	transform: translateX(-54%);
	}
	section.header div.main-image-wrapper img.main-image {
		margin-bottom: -13.29%;
	}
}

@media screen and (min-width: 900px) {
	section.header {
		height: 93vw;
	}
	section.header::before {
		/* height: 60vw; */
		/* background-position-x: -58vw; */
	}
	section.header img.logo-image-dz {
		/* width: 15.2vw; */
		/* left: 5.6vw; */
		/* top: 5.2vw; */
		max-width: 107px;
	}
	body.home a.visit-link{

		/* padding: 0 21px 0  16px; */
	    left: 5.6vw;
	    margin-left: 117px;
	    /* top: 5vw; */
	    margin-top: calc(109px * 1.3);
	}
	body.home a.visit-link::before,
	body.home a.visit-link::after {
		/* height: 100%; */
		/* width: 15px; */
		/* background-position-y: 7px; */
	}
	section.header img.logo-image-fon {
		top: 24vw;
	    width: 30vw;
	    left: 6vw;
	    transform: none;
	}
	section.header div.honorees {
		width: 30vw;
	    /* top: 61vw; */
	    line-height: 3vw;
	    font-size: 100%;
	    transform: none;
	    left: 6vw;
	    top: 45vw;
	}
	section.header div.main-image-wrapper {
		width: 144vw;
		bottom: 0;
	    transform: translateX(-47%);
	}
}

@media screen and (min-width: 1200px) {
	section.header {
		height: 900px;
	}
	section.header::before {
		height: 650px;
		background-position-x: center;
		transform: translateY(-35px);
		/* max-width: 2560px; */
		width: 2560px;
		transform: translate(-50%, -35px);
		background-size: contain;
		left: 50%;
	}
	section.header img.logo-image-dz {
		left: 50%;
	    transform: translateX(-530px);
	    top: 63px;
	}
	body.home a.visit-link{

		left: 50%;
	    transform: translateX(-530px);
	    top: 46px;
	}
	body.home a.visit-link::before,
	body.home a.visit-link::after {
		/* height: 100%; */
		/* width: 15px; */
		/* background-position-y: 7px; */
	}
	section.header img.logo-image-fon {
		top: 240px;
		width: 300px;
		left: 50%;
    	transform: translateX(-436px);
	    top: 240px;
	}
	section.header div.honorees {
		line-height: 2;
		width: 300px;

		top: 240px;
		width: 300px;
		left: 50%;
    	transform: translateX(-436px);
	    top: 450px;
	}
	section.header div.main-image-wrapper {
		/* width: 144vw; */
	    /* bottom: calc( -144vw * .132 ); */
	    /* transform: translateX(-47%); */
		width: 1537px;
		bottom: 0;
	}
}






/* @media screen and (min-width: 1400px) {
	section.header div.main-image-wrapper {
		max-width: 1500px;
		bottom: -171px;

		max-width: 1750px;
		bottom: calc( -1750px * .114 );
	}
} */
/**************************************************************************
	END HEADER
/*************************************************************************/


/**************************************************************************
	INVITE
/*************************************************************************/
section.invite {
	background-color:#D9E3EC;
	padding-top: 4vw;
	padding-bottom: 2rem;
}
section.invite h2.heading-1 span {
    display: block;
}
section.invite p {
	line-height: 1.6;
	font-weight: 600;
}
section.invite .deets {

	text-align: center;
	font-weight: 400;
}
section.invite .deets .deet {
	display: block;
}
/* section.invite p.drop-cap::first-letter { */
section.invite span.drop-cap {
	display: block;
	float: left;

	font-size: 45px;
	margin: 4px .1rem 0 0;
	line-height: .8;
}
/* section.invite p.drop-cap.drop-cap-alt::first-letter { */
section.invite span.drop-cap.drop-cap-alt {
	padding-right: 6px;
}

section.invite hr {
	color: #000;
	width: 20%;
	min-width: 100px;
}
.home a.button {
	border: 1px solid #000;
	display: inline-block;
	padding: 1rem 1.5rem;
	position: relative;
	color: inherit;
    text-decoration: none;
}
.home a.button::before,
.home a.button::after {
	content: '';
	position: absolute;
	top: 50%;
	/* border-top: 2px solid #D9E3EC;
	border-bottom: 2px solid #D9E3EC; */
	border: 2px solid #FFF;
	background-color: #000;
	height: 1px;
	width: 10px;
	/* transition: width .3s; */
}
.home .invite a.button::before,
.home .invite a.button::after {
	border: 2px solid #D9E3EC;
}
.home a.button:hover::before,
.home a.button:hover::after {
	width: 25px;
}
.home a.button::before {
	left: 0;
	transform: translateX(-50%);
}
.home a.button::after {
	right: 0;
	transform: translateX(50%);
}
.home a.button:hover {

}



@media screen and (min-width: 600px) {
	section.invite h2.heading-1 span {}
	section.invite .deets .deet {
		display: inline-block;
		text-align: center;
		border-right: 1px solid black;
		padding: 0 10px;
	}
	section.invite .deets .deet:last-of-type {
		border-right: 0;
	}
}
@media screen and (min-width: 900px) {
	section.invite {
		padding-top: 6vw;
	}
	section.invite h2.heading-1 span {
		display: inline-block;
	}
}
@media screen and (min-width: 900px) {
	section.invite {
		padding-top: 60px;
	}
}
/**************************************************************************
	END INVITE
/*************************************************************************/

/**************************************************************************
	SPONSORSHIP LEVELS
/*************************************************************************/
section.silhouettes {}
section.silhouettes::before {
	content: '';
	background-color:#D9E3EC;
	position: absolute;
	height: 50%;
	width: 100%;
	top: 0;
	left: 0;
	z-index: -1;
}


section.silhouettes .silhouette-wrapper {
	display: flex;
	justify-content: space-between;
}
section.silhouettes .silhouette-wrapper .silhouette {
	flex-basis: 30%;
	height: 40px;
    height: 130px;
    background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
}
section.silhouettes .silhouette-wrapper .silhouette.silhouette-1 {
	background-image: url('/wp-content/uploads/2019/04/mole.jpg');
}
section.silhouettes .silhouette-wrapper .silhouette.silhouette-2 {
	background-image: url('/wp-content/uploads/2019/04/bighorn.jpg');
}
section.silhouettes .silhouette-wrapper .silhouette.silhouette-3 {
	background-image: url('/wp-content/uploads/2019/04/armadillo.jpg');
}

/**************************************************************************
SPONSORSHIP LEVELS
/*************************************************************************/
section.levels {
	border: 1px solid #fff;
}
section.levels h2 {
	margin: 4rem auto 1rem;
}
section.levels::before {
	content: '';
	position: absolute;
	top: 0;
	height: 100%;
	z-index: 99;

	right: -33%;
    width: 60%;
	background-position-y: 25%;
	background-image: url('/wp-content/uploads/2019/04/frog-800.png');

    background-size: contain;
    background-repeat: no-repeat;
}


@media screen and (min-width: 600px){

	section.levels::before {
		right: -31%;
		width: 50%;
		background-position-y: 18%;
	}

}

@media screen and (min-width: 900px){

	section.levels::before {
		right: -25%;
	}

}
@media screen and (min-width: 1200px){

	section.levels::before {

		width: calc( 100vw - 700px );
	    max-width: 500px;
	    transform: translateX(160%);
	    right: calc( 50vw );

	}

}

section.levels .levels-grid {}
section.levels .levels-grid .tier {
	border: 1px solid #000;
	box-sizing: border-box;
	position: relative;
	margin-bottom: 20px;
	padding: 1rem;
}
section.levels .levels-grid .levels-grid {}
section.levels .levels-grid .levels-grid .tier {}

section.levels .levels-grid .tier h3 {
	position: absolute;
	left: 0;
	bottom: 0;
    margin: 0;
	padding: 0 10px;

	transform-origin: left;
	transform: rotate(-90deg);
	background-color: #fff;
}
section.levels .levels-grid h4 {
	text-align: left;
	font-size: 200%;
	margin: 0;
	text-transform: uppercase;
	position: relative;
	display: inline-block;
    padding-right: 50px;
}
section.levels .levels-grid h4::after {
	content: '';
	position: absolute;
	top: -10%;
	right: 0;
	background: url('/wp-content/uploads/2019/04/leaf-web.svg') no-repeat center;
	background-size: contain;
	height: 120%;
	width: 40px;
	transform: rotate(90deg);
}
section.levels .levels-grid h4 span {
	font-size: 80%;
    /* color: #cdcdcd; */
    position: relative;
    top: -6px;
    font-weight: normal;
	margin-right: 4px;
}




@media screen and (min-width: 600px) {

	section.levels .levels-grid {
		display: flex;
		flex-wrap: wrap;
	}
	section.levels .levels-grid .tier {
		width: 50%;
	}
	section.levels .levels-grid .tier.tier-full-width {
		flex-basis: 100%;
	}
	section.levels .levels-grid .tier ul {
		column-count: 2;
	}
	section.levels .levels-grid .levels-grid .tier ul {
		column-count: 1;
	}

	section.levels .levels-grid .levels-grid {
		flex-wrap: nowrap;
		justify-content: space-between;
	}
	section.levels .levels-grid .levels-grid .tier {
		width: calc(50% - 10px);
	}

}

@media screen and (min-width: 900px) {

	section.levels .levels-grid .levels-grid {
		justify-content: space-between;
		flex-wrap: wrap;
	}

}



.tier ul {
	list-style: none;
    padding: 0;
    margin: 2rem;
}
.tier ul li {
	padding: 0 0 20px 30px;
	position: relative;
    display: inline-block;
}
.tier ul li::before {
	content: '';
	position: absolute;
	top: 5px;
	left: 0;
	background: url('/wp-content/uploads/2019/04/dz-gala-bullet.jpg') no-repeat top left;
    height: 100%;
    width: 20px;
	width: 20px;
    background-size: contain;
}

@media screen and (min-width: 600px) {
	.tier ul {
	    margin: 1rem;
	}
}
@media screen and (min-width: 1200px) {
	.tier ul {
	    margin: 2rem;
	}
}
section.levels .tier.tier-4,
section.levels .tier.tier-5 {
    margin-bottom: 74px;
}
section.levels a.button {
    position: absolute;
    bottom: 0;
    width: 100%;
    box-sizing: border-box;
    left: 0;
    transform: translateY( calc( 100% + 10px ));
    text-align: center;
}


/* Sponsors */
section.levels .sponsors-grid {
	flex-wrap: wrap;
	justify-content: space-around;
}
section.levels .sponsors-grid .sponsors-wrapper {
	margin-top: 40px;
}
section.levels .sponsors-grid .sponsors-wrapper:first-of-type {
	margin-top: 10px;

}
section.levels .sponsors-grid .sponsors-wrapper h3 {
	position: relative;
	padding-bottom: 20px;
	font-weight: normal;
    font-size: 95%;
}

section.levels .sponsors-grid .sponsors-wrapper h3::after {
	content: '';
	position: absolute;
	width: 50px;
	border-top: 1px solid #000;
	bottom: 10px;
	left: 50%;
	transform: translateX( -50% );
}

section.levels .sponsors-grid .sponsors-wrapper .sponsor-wrapper {
	text-align: center;
	padding: 10px;
	margin: 0 auto;
	font-size: 20px;
	max-width: 400px;
}
section.levels .sponsors-grid .sponsors-wrapper .sponsor-wrapper img {
    max-width: 100%;
}

@media screen and (min-width: 600px) {

	section.levels .sponsors-grid {
		display: flex;
	}
	section.levels .sponsors-grid .sponsors-wrapper {
		flex-basis: 100%;
	}
	section.levels .sponsors-grid .sponsors-wrapper.sponsors-wrapper-3 {
		flex-basis: 50%;
	}
}

@media screen and (min-width: 900px) {

}

/* End Sponsors */
/**************************************************************************
	END SPONSORSHIP LEVELS
/*************************************************************************/
footer.site-footer {
	position: relative;
    height: 200px;
	margin-top: 10vw;
}

footer.site-footer h4 {
	margin: 0;
	text-align: center;
	text-transform: uppercase;
	color: #A9B6C6;
	font-size: 1.5rem;
}

footer.site-footer::after {
	content: '';
	position: absolute;
	left: 0;
	background-size: contain;

	bottom: 0;
	padding-bottom: 100px;
	margin-top: -100px;
	width: 100%;
	z-index: -1;

    background-image: url('/wp-content/uploads/2019/04/dz-gala-footer-bg.gif');
    background-position: bottom;
    background-repeat: repeat-x;
}
#page {
	position: relative;
	overflow: hidden;
}

@media screen and (min-width: 500px) {

	#page::before {
		content: '';
		position: absolute;
		z-index: 10;
		left: 0;
		bottom: 0;
		width: 40vw;
		height: 400px;
		transform: translateX(-20%);


		background-size: contain;
		background-image: url('/wp-content/uploads/2019/04/bird.png');
		background-size: contain;
		background-repeat: no-repeat;
		background-position: bottom;
	}
}

@media screen and (min-width: 600px) {

	footer.site-footer {
		margin-top: 60px;
        /* width: 100%;
        position: fixed;
        bottom: 0; */
	}

}
@media screen and (min-width: 1000px) {



}

.animated {
  -webkit-animation-duration: 2s;
  animation-duration: 2s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
}

.will-fade-in {
	opacity: 0;
}

@-webkit-keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.fadeIn {
  -webkit-animation-name: fadeIn;
  animation-name: fadeIn;
}


@-webkit-keyframes fadeInRight {
  from {
    opacity: 0;
    -webkit-transform: translate3d(10%, 0, 0);
    transform: translate3d(10%, 0, 0);
  }

  to {
    opacity: 1;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    -webkit-transform: translate3d(10%, 0, 0);
    transform: translate3d(10%, 0, 0);
  }

  to {
    opacity: 1;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
}
.fadeInRight {
  -webkit-animation-name: fadeInRight;
  animation-name: fadeInRight;
}

/**************************************************************************
	PAGES
/*************************************************************************/
body.page header.site-header {
	background: #D9E3EC;
    margin-bottom: 2vw;
    padding: 1rem;
}



body.page .site-branding {
	margin: 0 auto;
    text-align: center;
    display: flex;
    padding: 1rem 0;
}
.site-branding > div {

}

body.page .site-branding .logo-dz a,
body.page .site-branding .logo-fon a {
    display: block;
    height: 100%;
    width: 100%;
}

body.page .site-branding .logo-dz img,
body.page .site-branding .logo-fon img {
    max-width: 90%;
}

body.page .back-to-gala-container {
    width: 100%;
    text-align: center;
}


@media screen and (min-width: 600px){
    body.page header.site-header {
        display: flex;
        padding: 1rem 5vw;
    }
    body.page .site-branding {
        display: flex;
        justify-content: space-between;
        padding: 0;
    }
    .site-branding > div {
        display: flex;
        align-items: center;
    }
    body.page .site-branding .logo-dz,
    body.page .site-branding .logo-fon {
        padding-right: 1rem;
    }
    body.page .site-branding .logo-dz a,
    body.page .site-branding .logo-fon a {
        display: flex;
        align-items: center;
    }
    body.page .site-branding .logo-dz img,
    body.page .site-branding .logo-fon img {
    }
    body.page .back-to-gala-container {
        width: 100%;
        display: flex;
        justify-content: end;
        justify-content: flex-end;
        align-items: flex-end;
        position: relative;
    }
    body.page .back-to-gala-container a.header-link.back-to-gala {}
}
@media screen and (min-width: 1100px){
    body.page header.site-header {
        padding: 1rem 15vw;
    }
}
article.page header,
article.page .entry-content {
	padding: 0 1rem;
}

article.page .entry-content {
    margin: 0 auto;
    max-width: 800px;
    min-height: 500px;
}

/* Entry Content */

/* End Entry Content */

/* Section */
/* End Section */

/* Section */
/* End Section */

/**************************************************************************
END PAGES
/*************************************************************************/
