
/* http://meyerweb.com/eric/tools/css/reset/ 
	 v2.0 | 20110126
	 License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section, main {
	display: block;
}
body {
	line-height: 1;
}
ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}
/*-------- END reset --------*/



/* ================================= */
/* Hide/Show Mobile/Desktop content */
/* ================================= */

/*===== ABOUT CONTENT =====*/
@media only screen and (min-width: 769px){
	.m-content {
		display: none;
	}
}
@media only screen and (max-width: 768px){
	.d-content {
		display: none;
	}
}


.m-note {
	color: hsl(255,0%,37%);
	font-style: italic;
	font-size: 1.42rem;
	line-height: 1.8rem;

	padding: 7px 12px;
	margin-bottom: 20px;
	background: hsl(0,0%,91%);
	border-left: 5px solid hsl(198,75%,62%);
}
.m-note:before {
	content: 'Note: ';
	font-weight: 600;
}



/* ================================= */
/* GLOBAL STYLES */
/* ================================= */
/* Palette generated by Material Palette - materialpalette.com/light-blue/light-blue */

.dark-primary-color    { background: #0288D1; } /*dark blue*/
.default-primary-color { background: #03A9F4; } /*medium blue*/ /*slightly dimmer: hsl(198,85%,52%)*/
.light-primary-color   { background: #B3E5FC; } /*lightest blue*/
.text-primary-color    { color: #FFFFFF; }
.primary-text-color    { color: #212121; }
.secondary-text-color  { color: #727272; }
.divider-color         { border-color: #B6B6B6; } /*lightest gray*/

/* -- GLOBAL COLORS --
Accent orange: hsl(6,100%,69%) from Material Palette: hsl(1,89%,60%)
Accent orange (light): hsl(6,100%,77%) from Material Palette: hsl(1,89%,80%)
Accent blue (light): hsl(198,88%,84%)
*/

*, *::after, *::before {
	box-sizing: border-box;
}

::selection {
	background-color: hsl(6,97%,78%);
	color: #fff;
}

::-moz-selection {
	background-color: hsl(6,100%,78%);
	color: #fff;
}

html {
	font-size: 62.5%;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

body {
	font-size: 1.6rem;
	font-family: "Open Sans", sans-serif;
	color: hsl(0,0%,55%);
	background-color: #fff;
}

strong {
	font-weight: 600;
	color: hsl(255,0%,47%);
}

a {
	color: hsl(6,100%,69%);
	text-decoration: none;
}
a:hover {
	color: hsl(6,100%,69%);
	border-bottom: 1px dotted;
	text-decoration: none;
}

h1 {
	font-family: "Open Sans", sans-serif;
	font-weight: 300;
	font-size: 3.4rem;
	line-height: 3.7rem;
	color: hsl(255,0%,37%);

	margin: 35px 0 15px -4px;
	padding: 0;
}

h2 {
	margin-bottom: 10px;
	margin-top: -5px;

	font-family: "Open Sans", sans-serif;
	text-transform: uppercase;
	font-weight: 400;
	font-size: 1.5rem;
	line-height: 2rem;
	color: hsl(60,1%,65%);
	letter-spacing: .05rem;
}

h3 {
	color: hsl(90,1%,40%);
	font-size: 1.5rem;
	font-family: "Open Sans", sans-serif;
	line-height: 2.5rem;
	font-weight: 600;
	letter-spacing: .05rem;
	text-align: left;
	padding: 5px 0;
}

ul {
	display: inline;
	padding: 10px 0;
}

li, ol {
	line-height: 2.2rem;
}

ol li {
	margin-left: 1.3em;

	font-family: "Open Sans", sans-serif;
	font-weight: 300;
	font-size: 1.65rem;
	line-height: 2.6rem;
	color: hsl(255,0%,37%);
}

.content-wrap {
	position: relative;
	width: 960px;
	margin: auto;
	border: 1px dotted green;

	min-height: 1200px;
}

article {
	position: relative;
	margin: auto;
	padding: 25px 35px;
}

article p {
	font-family: "Open Sans", sans-serif;
	font-weight: 300;
	font-size: 1.65rem;
	line-height: 2.6rem;
	color: hsl(255,0%,37%);
	text-align: left;

	padding: 1.2rem 0;
}

article em {
	font-weight: 400;
}

.highlight {
	color: #03A9F4;
	font-weight: 600;
}

/*to reduce padding for a <p> the proceeds a <ol>*/
.ol-leader {
	padding: .7rem 0;
}


/* ================================= */
/* Utilities */
/* ================================= */

.overflow-hidden {
	overflow: hidden;
}

/* -- clearfix -- */
.clearfix:after {
	visibility: hidden;
	display: block;
	font-size: 0;
	content: " ";
	clear: both;
	height: 0;
}

.col-half {
	position: relative;
	width: 50%;
	min-height: 10px;
	float: left;

	padding-left: 15px;
	padding-right: 15px;	
}

.col-third {
	position: relative;
	width: 33.33333333%;
	min-height: 10px;
	float: left;

	padding-left: 15px;
	padding-right: 15px;
}

.col-two-thirds {
	position: relative;
	width: 66.66666667%;
	min-height: 10px;
	float: left;

	padding-left: 15px;
	padding-right: 15px;
}



/* ================================= */
/* Navbar */
/* ================================= */

/*Menu styles are in nav.css file*/

/*to remove the hover border from the trigger button*/
#cd-nav .cd-nav-trigger:hover {
	border: none;
}


/* ================================= */
/* Intro Section: SHINE JS */
/* ================================= */

#intro {
	height: 100vh;
	background-color: #fff;
	position: relative;
}

#shine {
	margin: auto;
	width: 60%;
	padding-top: 120px;

	display: table;
	height: auto;

	color: hsl(0,0%,96%);
	text-align: center;
	font-size: 4em;
	font-family: 'Open Sans', sans-serif;
	font-weight: 800;
	line-height: 1.1em;
}


/* ============ DOWN ARROW ============= */

.down-arrow {
	margin-left: auto;
	margin-right: auto;
	margin-top: -45px;
	text-align: center;

	z-index: 5000;
}

.down-arrow img {
	width: 65px;
	height: 45px;

	padding: 5px 15px;

	opacity: .3;
	-webkit-transition: all .28s linear;
	   -moz-transition: all .28s linear;
		-ms-transition: all .28s linear;
		 -o-transition: all .28s linear;
			transition: all .28s linear;
}

.down-arrow img:hover {
	opacity: .6;
	background-color: hsl(191,61%,84%);
}

/*to remove underline on hover for up and down arrows*/
.up-arrow a:hover,
.down-arrow a:hover {
	border-bottom: none;
	background: none;
}


/* ========= Intro Title ========== */

.intro-title {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;

	margin-top: 20px;
	height: 200px;
	background-color: hsl(60,2%,45%);
}

.intro-title h2 {
	margin: auto;
	margin-top: 60px;
	padding: 5px 7% 0;

	text-align: center;
	font-family: "Open Sans", sans-serif;
	font-weight: 300;
	text-transform: none;
	font-size: 1.9rem;
	line-height: 1.6em;
	letter-spacing: .09em;
	color: hsl(180,3%,97%);
}

/*@Intro*/
@media only screen and (min-width: 320px) {
	#shine {
	font-size: 4em;
	line-height: 2em;
	padding-top: 120px;
	}
	#intro .intro-title {
		margin-top: 20px;
		height: 200px;
	}
	#intro .intro-title h2 {
		font-size: 1.6rem;
		margin-top: 80px;
	}
	#intro .intro-title h2:before {
		display: none;
	}
	#intro .intro-title h2:after {
		display: none;
	}
}
@media only screen and (min-width: 450px) {
	#shine {
		font-size: 5em;
		padding-top: 160px;
	}
	#intro .intro-title h2 {
		margin-top: 75px;
	}
	.intro-title h2 span {
		font-size: 2.8rem;
		padding: 0 5px;
	}
}
@media only screen and (min-width: 600px) {
	#shine {
		font-size: 6em;
		line-height: 1em;
		padding-top: 150px;
	}
	#intro .intro-title {
		margin-top: 40px;
		height: 200px;
	}
	#intro .intro-title h2 {
		margin-top: 80px;
	}
	.intro-title h2 span {
		font-size: 3.2rem;
		padding: 0 7px;
		opacity: .8;
	}
}
@media only screen and (min-width: 750px) {
	#shine {
		font-size: 8.6em;
		line-height: 1em;
		padding-top: 120px;
	}
	#intro .intro-title h2:before {
		display: block;
		content: '';
		height: 1px;
		width: 300px;
		background-color: #fff;
		opacity: .15;
		position: absolute;
		top: 61px;
		right: 50%;
		margin-right: -150px;
	}

	#intro .intro-title h2:after {
		display: block;
		content: '';
		height: 1px;
		width: 300px;
		background-color: #fff;
		opacity: .1;
		position: absolute;
		bottom: 55px;
		left: 50%;
		margin-left: -150px;
	}
}
@media only screen and (min-width: 1000px) {
	#shine {
		font-size: 10em;
		line-height: 1em;
		padding-top: 100px;
	}
}
@media only screen and (min-width: 1140px) {
	#shine {
		font-size: 11em;
	}
}


/* =================== Device specific =================== */

/* Portrait */
@media only screen and (min-device-width: 320px) and (-webkit-min-device-pixel-ratio: 2) and (orientation: portrait) {
	#shine {
		font-size: 4em;
		line-height: 1.1em;
		padding-top: 80px;
	}
	#intro .intro-title {
		margin-top: 20px;
		height: 200px;
	}
	#intro .intro-title h2 {
		margin-top: 70px;
	}
}

/*Device specific*/
/*Landscape*/
@media only screen and (min-device-width: 320px) and (max-device-width: 568px) and (-webkit-min-device-pixel-ratio: 2) and (orientation: landscape) {
	#shine {
		font-size: 4em;
		line-height: 1em;
		padding-top: 30px;
	}
	#intro .intro-title {
		margin-top: 20px;
		height: 100px;
	}
	#intro .intro-title h2 {
		margin-top: 30px;
	}
	#intro .intro-title h2:before {
		display: none;
	}
	#intro .intro-title h2:after {
		display: none;
	}
}



/* ================================= */
/* About Me Section */
/* ================================= */

#about-me {
	position: relative;
	z-index: 0;
}
/*#about-me article:nth-child(1) {
	border-bottom: 1px solid hsl(60,1%,87%);
}*/
.quote-1 {
	display: none;
}

/* @About Me */
@media only screen and (min-width: 769px) {
	#about-me {
		background-color: hsl(200,15%,92%);
		padding: 30px 15px;
	}
	#about-me .d-content {
		left: 5%;
		margin: 0;
		background-color: hsl(0,0%,100%);
		width: 90%;
		padding: 10%;
		box-shadow: 0 3px 7px hsla(0,0%,10%,.2);
	}
	article p {
		font-size: 1.65rem;
	}
	h1 {
		margin: 5px 0 15px -4px;
		font-size: 3.3rem;
	}
	.quote-1 {
		display: none;
	}	
}
@media only screen and (min-width: 1024px) {
	#about-me {
		background-color: hsl(200,15%,92%);
		padding: 70px 30px;
	}
	#about-me .d-content {
		left: 8%;
		margin: 0;
		background-color: hsl(0,0%,100%);
		width: 76%;
		padding: 8% 30% 8% 10%;
		box-shadow: 0 3px 7px hsla(0,0%,10%,.2);
	}
	article p {
		font-size: 1.65rem;
	}
	h1 {
		margin: 0 0 15px -4px;
		font-size: 3.8rem;
	}
	.quote-1 {
		display: block;
		position: absolute;
		width: 41%;
		top: 26%;
		left: 70%;

		background-color: hsl(197,85%,92%);
		padding: 50px 80px 50px 100px;
		box-shadow: 0 3px 7px hsla(0,0%,10%,.2);
	}
	.quote-1 p {
		line-height: 3rem;
		color: hsl(255,0%,30%);
	}
	.quote-1:before {
		font-family: Georgia, serif;
		display: block;
		content: "\201C";
		font-size: 100px;
		position: absolute;
		left: 45px;
		top: 50px;
		color: hsla(195,61%,83%,1);
		}

	.quote-1 cite {
		color: hsl(216,82%,60%);
		/*color: LimeGreen;*/
		/*color: DeepPink;*/
		/*color: hsl(6,100%,65%);*/
		font-size: 1.3rem;
		font-weight: 400;
		display: block;
		margin-top: 5px;
		}
		 
	.quote-1 cite:before {
		content: "\2014 \2009";
		}
}


/* ================================= */
/* Skills section */
/* ================================= */

#skills .m-content {
	position: relative;
	background-color: hsl(200,15%,92%);
	padding: 15px;
	color: hsl(198,78%,60%);
	font-size: 2rem;
	font-weight: 400;
	letter-spacing: 0;
}
#skills h2 {
	padding: 25px;
	color: #03A9F4;
	font-size: 2rem;
	font-weight: 400;
	letter-spacing: 0;
}
#skills .collapse-card__body p {
	color: hsl(255,0%,45%);
}
#skills .collapse-card__body ol {
	margin: 0 0 3rem;
}
#skills .collapse-card__body .current {
	margin-top: -15px;
}
/*.collapse-card__body p:last-of-type {
	padding-bottom: 40px;
}*/

/* @Skills */
@media only screen and (min-width: 769px) {
	#skills {
		background-color: white;
		padding: 70px 15px;
	}
	#skills .d-content {
		background-color: hsl(0,0%,100%);
		float: left;
		width: 75%;
		padding: 3% 7% 2%;
		margin-left: 12%;
	}
	#skills .d-content h2 {
		margin-bottom: 10px;
		margin-top: -2px;
		padding: 0;

		font-family: "Open Sans", sans-serif;
		text-transform: uppercase;
		font-weight: 400;
		font-size: 1.65rem;
		line-height: 2rem;
		color: hsl(60,1%,65%);
		letter-spacing: .04rem;
	}
}
@media only screen and (min-width: 1024px) {
	#skills .d-content {
		width: 68%;
	}
}


/* ================================= */
/* Tech Roadmap Section */
/* ================================= */

/* ==== COLORS ==== 
.current: LimeGreen;
.learning: DeepPink;
.planning: blue: hsl(216,82%,60%); */

.current,
.learning,
.planning {
	margin: 40px 0;
}

.tech div {
	height: 3px;
	margin-top: 5px;
	margin-bottom: 10px;
}

.tech p,
.tech h3 {
	line-height: 2rem;
}

.tech h3 {
	opacity: .9;
	font-size: 1.6rem;
}
.tech h3 em {
	font-weight: 700;
}

.tech p {
	margin-top: 20px;
}
.tech p:first-of-type {
	margin-top: -10px;
}

.progress {
	width: 100%;
	background-color: hsl(180,3%,90%);
}


/* === Currently Using === */
.current .tech h3 em {
	color: LimeGreen;
}

.tech-current {
	background-color: LimeGreen;
}

.tech-current-1 {
	width: 100%;
}
.tech-current-1:before {
	content: '100%';
	background-color: LimeGreen;
	border-radius: 3px;
	position: relative;
	top: -.9rem;
	line-height: 2rem;
	padding: 3px 7px;
	font-size: 1.5rem;
	font-weight: 600;
	color: white;
}

.tech-current-2 {
	width: 95%;
}
.tech-current-2:before {
	content: '92%';
	background-color: LimeGreen;
	border-radius: 3px;
	position: relative;
	top: -.9rem;
	line-height: 2rem;
	padding: 3px 7px;
	font-size: 1.5rem;
	font-weight: 600;
	color: white;
}

.tech-current-3 {
	width: 70%;
}
.tech-current-3:before {
	content: '70%';
	background-color: LimeGreen;
	border-radius: 3px;
	position: relative;
	top: -.9rem;
	line-height: 2rem;
	padding: 3px 7px;
	font-size: 1.5rem;
	font-weight: 600;
	color: white;
}

.tech-current-4 {
	width: 85%;
}
.tech-current-4:before {
	content: '85%';
	background-color: LimeGreen;
	border-radius: 3px;
	position: relative;
	top: -.9rem;
	line-height: 2rem;
	padding: 3px 7px;
	font-size: 1.5rem;
	font-weight: 600;
	color: white;
}

.tech-current-5 {
	width: 65%;
}
.tech-current-5:before {
	content: '65%';
	background-color: LimeGreen;
	border-radius: 3px;
	position: relative;
	top: -.9rem;
	line-height: 2rem;
	padding: 3px 7px;
	font-size: 1.5rem;
	font-weight: 600;
	color: white;
}

.tech-current-6 {
	width: 75%;
}
.tech-current-6:before {
	content: '75%';
	background-color: LimeGreen;
	border-radius: 3px;
	position: relative;
	top: -.9rem;
	line-height: 2rem;
	padding: 3px 7px;
	font-size: 1.5rem;
	font-weight: 600;
	color: white;
}


/* === Learning === */
.tech-learning {
	background-color: DeepPink;
}
.learning .tech h3 em {
	color: DeepPink;
}

.tech-learning-1 {
	width: 75%;
}
.tech-learning-1:before {
	content: '75%';
	background-color: DeepPink;
	border-radius: 3px;
	position: relative;
	top: -.9rem;
	line-height: 2rem;
	padding: 3px 7px;
	font-size: 1.5rem;
	font-weight: 600;
	color: white;
}

.tech-learning-2 {
	width: 45%;
}
.tech-learning-2:before {
	content: '45%';
	background-color: DeepPink;
	border-radius: 3px;
	position: relative;
	top: -.9rem;
	line-height: 2rem;
	padding: 3px 7px;
	font-size: 1.5rem;
	font-weight: 600;
	color: white;
}

.tech-learning-3 {
	width: 50%;
}
.tech-learning-3:before {
	content: '50%';
	background-color: DeepPink;
	border-radius: 3px;
	position: relative;
	top: -.9rem;
	line-height: 2rem;
	padding: 3px 7px;
	font-size: 1.5rem;
	font-weight: 600;
	color: white;
}


/* === Planning === */
.tech-planning {
	background-color: hsl(216,82%,60%);
}
.planning .tech h3 em {
	color: hsl(216,82%,60%);
}

.tech-planning-1,
.tech-planning-2,
.tech-planning-3,
.tech-planning-4,
.tech-planning-5 {
	width: 45px;
}

/*was using these % widths, but changed to use pixel width above*/
/*.tech-planning-1 { 
	width: 20%;
}*/
.tech-planning-1:before {
	content: '5%';
	background-color: hsl(216,82%,60%);
	border-radius: 3px;
	position: relative;
	top: -.9rem;
	line-height: 2rem;
	padding: 3px 7px;
	font-size: 1.5rem;
	font-weight: 600;
	color: white;
}

/*.tech-planning-2 {
	width: 20%;
}*/
.tech-planning-2:before {
	content: '5%';
	background-color: hsl(216,82%,60%);
	border-radius: 3px;
	position: relative;
	top: -.9rem;
	line-height: 2rem;
	padding: 3px 7px;
	font-size: 1.5rem;
	font-weight: 600;
	color: white
}

/*.tech-planning-3 {
	width: 20%;
}*/
.tech-planning-3:before {
	content: '5%';
	background-color: hsl(216,82%,60%);
	border-radius: 3px;
	position: relative;
	top: -.9rem;
	line-height: 2rem;
	padding: 3px 7px;
	font-size: 1.5rem;
	font-weight: 600;
	color: white
}


@media only screen and (min-width: 769px) {
	.current:first-of-type,
	.learning:first-of-type,
	.planning:first-of-type {
		margin: 30px 0;
	}

	#skills .collapse-card__body p {
		padding: .5rem 1rem 1rem;
	}
} /* END @media 768px (desktop) */



/* ================================= */
/* Contact Section */
/* ================================= */

#contact {
	background-color: hsl(197,41%,97%);
	background: url(../img/contact-cover.jpg);
	background-size: cover;
	background-repeat: no-repeat;
	background-position: bottom center;

	border-top: 20px solid hsl(198,88%,89%);
}
.contact-intro h1 {
	margin: 35px 0 15px -4px;
}
.contact-intro p {
	font-weight: 400;
	padding-top: 5px;
	color: hsl(255,0%,37%);
	line-height: 2.7rem;
}

/* @Contact Intro */
@media only screen and (min-width: 600px) {
	.contact-intro {
		max-width: 500px;
	}
}
@media only screen and (min-width: 800px) {
	.contact-intro {
		max-width: 600px;
		padding-left: 0;
	}
}


/*========= Avatar & Social Links ==========*/
.contact-links {
	text-align: center;
	border: 0;
	padding: 0;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 30;
}
.contact-links .col-left,
.contact-links .col-right {
	display: inline-block;
	float: none;
	width: auto;
	text-align: center;
}
.contact-links .col-left {
	
}
.avatar {
	background: url(../img/keith.png);
	background-size: cover;
	height: 130px;
	width: 130px;
	margin: 15px 0;

	border-radius: 100%;
	border: 10px solid hsl(0,0%,100%);
	opacity: .87;
	float: right;
}
.contact-links .col-right {
	text-align: center;
	margin-top: 7px;
	padding-bottom: 0;
	width: 100%;
	padding-left: 0; 
	padding-right: 0;
}
.contact-links p {
	padding: 7px 20px;
	color: hsl(180,1%,33%);

	font-size: 1.6rem;
	font-family: "Open Sans", sans-serif;
}
.contact-links a i {
	padding-right: 8px;
}
.col-right a {
	display: block;
	padding: 20px 15px;
	border-bottom: 1px solid hsl(0,0%,87%);
	background-color: hsl(198,75%,62%);
	color: white;
	opacity: .9;
}

/* @Contact */
@media only screen and (min-width: 800px) {
	.contact-links .col-right {
		display: block;
		margin-top: 35px;
		margin-left: auto;
		margin-right: auto;
		max-width: 325px;
		bottom: 30px;
	}
	.col-right a {
		padding: 12px 5px;
		margin-bottom: 4px;
		border: none;

		background: white;
		color: hsl(60,1%,42%);
		border-radius: 2px;
		box-shadow: 0 1px 4px hsla(0,0%,10%,.2);
	}
	.col-right a:hover {
		color: hsl(1,82%,68%);
		box-shadow: 0 2px 5px hsla(0,0%,10%,.3);
	}
	.col-right a:last-of-type {
		margin-bottom: 0;
	}
}



/* ================================= */
/* Footer Section */
/* ================================= */

#footer {
	position: relative;
	clear: both;
}

.footer-bg {
	clear: both;
	width: 100%;
	height: 125px;

	background-color: hsla(60,2%,32%,.85);
}

.copyright {
	position: absolute;
	bottom: 27px;
	width: 100%;

	color: white;
	font-size: 1.3rem;
	text-align: center;

	opacity: .5;
}


/* ============ UP ARROW ============= */
.up-arrow {
	margin: auto;
	text-align: center;

	position: absolute;
	top: 16px;
	left: 0;
	right: 0;
}

.up-arrow img {
	width: 70px;
	height: 50px;

	padding: 5px 15px;

	opacity: .3;
	-webkit-transition: all .3s linear;
	   -moz-transition: all .3s linear;
		-ms-transition: all .3s linear;
		 -o-transition: all .3s linear;
			transition: all .3s linear;
}

.up-arrow img:hover {
	opacity: .4;
	background-color: white;
}




/* @Up Arrow */
@media only screen and (min-width: 700px) {
	.up-arrow {
		
	}
	.up-arrow img {
	
	}
}
/* ============ END: UP ARROW ============= */



/* ================================= */
/* Work: 3D Folding Panels */
/* ================================= */

/* ----- Work Header ----- */
.work-title {
	position: relative;
	clear: both;
	margin: auto;
	padding: 0 40px;
	height: 140px;
	background-color: hsl(60,2%,45%);
}
.work-title h1 {
	font-size: 3.2rem;
	text-align: center;
	margin-top: 0;
	padding-top: 50px;
	color: hsl(255,0%,90%);
}

@media only screen and (min-width: 400px) {
	.work-title h1 {
		font-size: 3.6rem;
	}
}
@media only screen and (min-width: 800px) {
	.work-title {
		height: 190px;
	}
	.work-title h1 {
		padding-top: 80px;
	}
}

.work-imgs img {
	max-width: 100%;
	padding-top: 30px;
}


/* ----- Main Container Styles ----- */
.cd-main {
	overflow-x: hidden;
}
.cd-main::before {
	/* never visible - this is used in jQuery to check the current MQ */
	display: none;
	content: 'mobile';
}
.cd-main > * {
	-webkit-transition: -webkit-transform 0.5s 0.4s;
	-moz-transition: -moz-transform 0.5s 0.4s;
	transition: transform 0.5s 0.4s;
}
/* ----- END Main Container Styles ----- */

.cd-main.fold-is-open > * {
	/* on mobile - translate .cd-main content to the right when the .cd-folding-panel is open */
	-webkit-transform: translateX(100%);
	-moz-transform: translateX(100%);
	-ms-transform: translateX(100%);
	-o-transform: translateX(100%);
	transform: translateX(100%);
	-webkit-transition: -webkit-transform 0.5s 0s;
	-moz-transition: -moz-transform 0.5s 0s;
	transition: transform 0.5s 0s;
}
@media only screen and (min-width: 600px) {
	.cd-main.fold-is-open > * {
		-webkit-transform: translateX(600px);
		-moz-transform: translateX(600px);
		-ms-transform: translateX(600px);
		-o-transform: translateX(600px);
		transform: translateX(600px);
	}
}
@media only screen and (min-width: 1100px) {
	.cd-main::before {
		/* never visible - this is used in jQuery to check the current MQ */
		content: 'desktop';
	}
	.cd-main.fold-is-open > * {
		/* reset style - on bigger devices we translate the gallery items */
		-webkit-transform: translateX(0);
		-moz-transform: translateX(0);
		-ms-transform: translateX(0);
		-o-transform: translateX(0);
		transform: translateX(0);
	}
}

/*to remove the 10px top/bottom padding created by the <ul> global styles*/
ul.cd-gallery {
	padding-top: 0;
	padding-bottom: 0;
}

.cd-gallery::after {
	clear: both;
	content: "";
	display: table;
}
.cd-gallery::before {
	/* this is the dark layer covering the .cd-gallery when the .cd-folding-panel is open */
	display: block;
	content: '';
	position: absolute;
	z-index: 1;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
	background-color: rgba(28, 23, 38, 0.6);
	opacity: 0;
	visibility: hidden;
	-webkit-transition: opacity 0.5s 0.4s, visibility 0s 0.9s;
	-moz-transition: opacity 0.5s 0.4s, visibility 0s 0.9s;
	transition: opacity 0.5s 0.4s, visibility 0s 0.9s;
}
.fold-is-open .cd-gallery::before {
	visibility: visible;
	opacity: 1;
	-webkit-transition: opacity 0.5s 0s, visibility 0s 0s;
	-moz-transition: opacity 0.5s 0s, visibility 0s 0s;
	transition: opacity 0.5s 0s, visibility 0s 0s;
}

.cd-item {
	width: 100%;
	height: 300px;
	text-align: center;
	/* force Hardware Acceleration */
	-webkit-transform: translateZ(0);
	-moz-transform: translateZ(0);
	-ms-transform: translateZ(0);
	-o-transform: translateZ(0);
	transform: translateZ(0);
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
	-webkit-transition: -webkit-transform 0.5s 0.4s;
	-moz-transition: -moz-transform 0.5s 0.4s;
	transition: transform 0.5s 0.4s;
}

.cd-item > a {
	display: table;
	height: 100%;
	width: 100%;
	overflow: hidden;
	color: #ffffff;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}
.cd-item > a:hover {
	border-bottom: none;
	background-color: inherit;
}
.cd-item > a h2,
.cd-item > a p {
	color: #ffffff;
}
.cd-item > a h2 {
	font-size: 2.5rem;
	line-height: 3rem;
}

.cd-item > a.dark-text,
.cd-item > a.dark-text h2,
.cd-item > a.dark-text p,
.cd-item > a.dark-text b {
	color: hsl(60,2%,32%);
}
.cd-item > a.dark-text b {
	border-color: hsl(60,2%,32%);
}
.cd-item div {
	display: table-cell;
	vertical-align: middle;
}
.cd-item:nth-of-type(1) {
	background-color: hsl(198,75%,62%);
}
.cd-item:nth-of-type(2) {
	background-color: hsl(198,88%,84%);
}
.cd-item:nth-of-type(3) {
	background-color: hsl(180,3%,58%);
}
.cd-item:nth-of-type(4) {
	background-color: hsl(180,3%,80%);
}

.cd-item h2 {
	font-size: 2.2rem;
}
.cd-item p {
	line-height: 1.2;
	font-size: 1.4rem;
	opacity: 0.6;
	padding: 1em 0;
}
.cd-item b {
	display: inline-block;
	font-size: 1.2rem;
	font-weight: bold;
	text-transform: uppercase;
	letter-spacing: 1px;
	padding: 1em 1.3em;
	border-radius: 50em;
	border: 1px solid #ffffff;
}
@media only screen and (min-width: 1100px) {
	.cd-item {
		width: 50%;
		float: left;
		height: 520px;
		-webkit-transition: -webkit-transform 0.5s 0.4s;
		-moz-transition: -moz-transform 0.5s 0.4s;
		transition: transform 0.5s 0.4s;
	}

	.cd-item- {
		visibility: hidden;
	}


	.cd-item h2 {
		font-size: 3rem;
	}
	.cd-item p {
		font-size: 1.6rem;
	}
	.cd-item h2, .cd-item p {
		-webkit-transform: translateY(30px);
		-moz-transform: translateY(30px);
		-ms-transform: translateY(30px);
		-o-transform: translateY(30px);
		transform: translateY(30px);
		-webkit-transition: -webkit-transform 0.3s 0.1s;
		-moz-transition: -moz-transform 0.3s 0.1s;
		transition: transform 0.3s 0.1s;
	}
	.cd-item b {
		opacity: 0;
		-webkit-transform: translateY(20px);
		-moz-transform: translateY(20px);
		-ms-transform: translateY(20px);
		-o-transform: translateY(20px);
		transform: translateY(20px);
		-webkit-transition: opacity 0.3s 0s, -webkit-transform 0.3s 0s;
		-moz-transition: opacity 0.3s 0s, -moz-transform 0.3s 0s;
		transition: opacity 0.3s 0s, transform 0.3s 0s;
	}
	.no-touch .cd-item a:hover h2, .no-touch .cd-item a:hover p {
		-webkit-transform: translateY(0);
		-moz-transform: translateY(0);
		-ms-transform: translateY(0);
		-o-transform: translateY(0);
		transform: translateY(0);
		-webkit-transition: -webkit-transform 0.3s 0s;
		-moz-transition: -moz-transform 0.3s 0s;
		transition: transform 0.3s 0s;
	}
	.no-touch .cd-item a:hover b {
		opacity: 1;
		-webkit-transform: translateY(0);
		-moz-transform: translateY(0);
		-ms-transform: translateY(0);
		-o-transform: translateY(0);
		transform: translateY(0);
		-webkit-transition: opacity 0.3s 0.1s, -webkit-transform 0.3s 0.1s;
		-moz-transition: opacity 0.3s 0.1s, -moz-transform 0.3s 0.1s;
		transition: opacity 0.3s 0.1s, transform 0.3s 0.1s;
	}
	.fold-is-open .cd-item {
		-webkit-transition: -webkit-transform 0.5s 0s;
		-moz-transition: -moz-transform 0.5s 0s;
		transition: transform 0.5s 0s;
		-webkit-transform: translateX(-400px);
		-moz-transform: translateX(-400px);
		-ms-transform: translateX(-400px);
		-o-transform: translateX(-400px);
		transform: translateX(-400px);
	}
	.fold-is-open .cd-item:nth-of-type(2n) {
		-webkit-transform: translateX(400px);
		-moz-transform: translateX(400px);
		-ms-transform: translateX(400px);
		-o-transform: translateX(400px);
		transform: translateX(400px);
	}
}



/* ================================= */
/* Folding panel */
/* ================================= */

.cd-folding-panel {
	position: fixed;
	z-index: 1;
	top: 0;
	left: 0;
	height: 100vh;
	width: 100%;
	visibility: hidden;
	overflow: hidden;
	-webkit-transition: visibility 0s 0.9s;
	-moz-transition: visibility 0s 0.9s;
	transition: visibility 0s 0.9s;
}

.cd-folding-panel h1,
.cd-folding-panel h2,
.cd-folding-panel p {
	color: hsl(70,8%,15%);
}

.cd-folding-panel .fold-left,
.cd-folding-panel .fold-right {
	/* the :after elements of .fold-left and .fold-right are the 2 fold sides */
	width: 100%;
	height: 100vh;
	overflow: hidden;
	position: relative;
	/* enable a 3D-space for children elements */
	-webkit-perspective: 2000px;
	-moz-perspective: 2000px;
	perspective: 2000px;
}
.cd-folding-panel .fold-left::after,
.cd-folding-panel .fold-right::after {
	/* 2 fold sides */
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
	/* Force Hardware Acceleration */
	-webkit-transform: translateZ(0);
	-moz-transform: translateZ(0);
	-ms-transform: translateZ(0);
	-o-transform: translateZ(0);
	transform: translateZ(0);
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
	-webkit-transition: -webkit-transform 0.5s 0.4s, background-color 0.5s 0.4s;
	-moz-transition: -moz-transform 0.5s 0.4s, background-color 0.5s 0.4s;
	transition: transform 0.5s 0.4s, background-color 0.5s 0.4s;
}
.cd-folding-panel .fold-right {
	-webkit-perspective-origin: 0% 50%;
	-moz-perspective-origin: 0% 50%;
	perspective-origin: 0% 50%;
}
.cd-folding-panel .fold-right::after {
	-webkit-transform-origin: right center;
	-moz-transform-origin: right center;
	-ms-transform-origin: right center;
	-o-transform-origin: right center;
	transform-origin: right center;
	-webkit-transform: translateX(-100%) rotateY(-90deg);
	-moz-transform: translateX(-100%) rotateY(-90deg);
	-ms-transform: translateX(-100%) rotateY(-90deg);
	-o-transform: translateX(-100%) rotateY(-90deg);
	transform: translateX(-100%) rotateY(-90deg);
	background-color: #c0c3c3;
}
.cd-folding-panel .fold-left {
	/* on mobile only the right fold side is visible */
	display: none;
}
.cd-folding-panel .fold-left::after {
	background-color: #f9fafa;
}
.cd-folding-panel .cd-close {
	/* 'X' close icon */
	position: absolute;
	z-index: 1;
	display: inline-block;
	top: 10px;
	right: 10px;
	height: 44px;
	width: 44px;
	/* image replacement */
	overflow: hidden;
	text-indent: 100%;
	white-space: nowrap;
	opacity: 0;
	-webkit-transition: opacity 0.2s 0s;
	-moz-transition: opacity 0.2s 0s;
	transition: opacity 0.2s 0s;
}
.cd-folding-panel .cd-close:hover {
	border-bottom: none;
	background-color: inherit;
}
.cd-folding-panel .cd-close::after, .cd-folding-panel .cd-close::before {
	/* lines of 'X' icon */
	content: '';
	position: absolute;
	height: 3px;
	width: 32px;
	left: 50%;
	top: 50%;
	background-color: #544173;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
	-webkit-transition: opacity 0.2s;
	-moz-transition: opacity 0.2s;
	transition: opacity 0.2s;
}
.cd-folding-panel .cd-close::after {
	-webkit-transform: translateX(-50%) translateY(-50%) rotate(45deg);
	-moz-transform: translateX(-50%) translateY(-50%) rotate(45deg);
	-ms-transform: translateX(-50%) translateY(-50%) rotate(45deg);
	-o-transform: translateX(-50%) translateY(-50%) rotate(45deg);
	transform: translateX(-50%) translateY(-50%) rotate(45deg);
}
.cd-folding-panel .cd-close::before {
	-webkit-transform: translateX(-50%) translateY(-50%) rotate(-45deg);
	-moz-transform: translateX(-50%) translateY(-50%) rotate(-45deg);
	-ms-transform: translateX(-50%) translateY(-50%) rotate(-45deg);
	-o-transform: translateX(-50%) translateY(-50%) rotate(-45deg);
	transform: translateX(-50%) translateY(-50%) rotate(-45deg);
}
.cd-folding-panel.is-open {
	visibility: visible;
	-webkit-transition: visibility 0s 0s;
	-moz-transition: visibility 0s 0s;
	transition: visibility 0s 0s;
}
.cd-folding-panel.is-open .fold-right::after,
.cd-folding-panel.is-open .fold-left::after {
	-webkit-transform: translateX(0);
	-moz-transform: translateX(0);
	-ms-transform: translateX(0);
	-o-transform: translateX(0);
	transform: translateX(0);
	-webkit-transition: -webkit-transform 0.5s 0s, background-color 0.5s 0s;
	-moz-transition: -moz-transform 0.5s 0s, background-color 0.5s 0s;
	transition: transform 0.5s 0s, background-color 0.5s 0s;
}
.cd-folding-panel.is-open .fold-right::after {
	background-color: #f9fafa;
}
.cd-folding-panel.is-open .cd-close {
	opacity: .6;
	-webkit-transition: opacity 0.2s 0.5s;
	-moz-transition: opacity 0.2s 0.5s;
	transition: opacity 0.2s 0.5s;
}
@media only screen and (min-width: 600px) {
	.cd-folding-panel {
		width: 600px;
	}
}
@media only screen and (min-width: 1100px) {
	.cd-folding-panel {
		left: 50%;
		right: auto;
		-webkit-transform: translateX(-50%);
		-moz-transform: translateX(-50%);
		-ms-transform: translateX(-50%);
		-o-transform: translateX(-50%);
		transform: translateX(-50%);
		width: 800px;
	}
	.cd-folding-panel .fold-left,
	.cd-folding-panel .fold-right {
		width: 50%;
		float: left;
		height: 100%;
	}
	.cd-folding-panel .fold-right {
		/* change perspective-origin so that the 2 fold sides have the same vanishing point */
		-webkit-perspective-origin: 0% 50%;
		-moz-perspective-origin: 0% 50%;
		perspective-origin: 0% 50%;
	}
	.cd-folding-panel .fold-right::after {
		-webkit-transform-origin: right center;
		-moz-transform-origin: right center;
		-ms-transform-origin: right center;
		-o-transform-origin: right center;
		transform-origin: right center;
		-webkit-transform: translateX(-100%) rotateY(-90deg);
		-moz-transform: translateX(-100%) rotateY(-90deg);
		-ms-transform: translateX(-100%) rotateY(-90deg);
		-o-transform: translateX(-100%) rotateY(-90deg);
		transform: translateX(-100%) rotateY(-90deg);
	}
	.cd-folding-panel .fold-left {
		display: block;
		/* change perspective-origin so that the 2 fold sides have the same vanishing point */
		-webkit-perspective-origin: 100% 50%;
		-moz-perspective-origin: 100% 50%;
		perspective-origin: 100% 50%;
	}
	.cd-folding-panel .fold-left::after {
		-webkit-transform-origin: left center;
		-moz-transform-origin: left center;
		-ms-transform-origin: left center;
		-o-transform-origin: left center;
		transform-origin: left center;
		-webkit-transform: translateX(100%) rotateY(90deg);
		-moz-transform: translateX(100%) rotateY(90deg);
		-ms-transform: translateX(100%) rotateY(90deg);
		-o-transform: translateX(100%) rotateY(90deg);
		transform: translateX(100%) rotateY(90deg);
	}
}

.cd-fold-content {
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
	padding: 4em 2em;
	visibility: hidden;
	-webkit-transition: visibility 0s 0.4s;
	-moz-transition: visibility 0s 0.4s;
	transition: visibility 0s 0.4s;
}
.cd-fold-content > * {
	opacity: 0;
	-webkit-transform: translateY(20px);
	-moz-transform: translateY(20px);
	-ms-transform: translateY(20px);
	-o-transform: translateY(20px);
	transform: translateY(20px);
}
.cd-fold-content h2 {
	font-family: "Open Sans", sans-serif;
	font-weight: 300;
	font-size: 3.4rem;
	line-height: 3.6rem;
	color: hsl(255,0%,37%);

	margin: 5px 0 20px -4px;
	padding: 0;

	-webkit-transition: -webkit-transform 0.2s 0.2s, opacity 0.2s 0.2s;
	-moz-transition: -moz-transform 0.2s 0.2s, opacity 0.2s 0.2s;
	transition: transform 0.2s 0.2s, opacity 0.2s 0.2s;
}

.cd-fold-content img {
	/*for styling images*/
}
.cd-fold-content cite {
	font-style: italic;
}

.cd-fold-content p, .cd-fold-content em {
	line-height: 1.4;
}
.cd-fold-content em {
	display: inline-block;
	margin: 0;
	font-weight: 400;
	font-size: 2rem;
	color: hsl(195,72%,58%);

	-webkit-transition: -webkit-transform 0.2s 0.1s, opacity 0.2s 0.1s;
	-moz-transition: -moz-transform 0.2s 0.1s, opacity 0.2s 0.1s;
	transition: transform 0.2s 0.1s, opacity 0.2s 0.1s;
}
.cd-fold-content em:not(:first-of-type) {
	margin-top: 45px;
}

.cd-fold-content p {
	font-family: "Open Sans", sans-serif;
	font-weight: 300;
	font-size: 1.6rem;
	line-height: 2.5rem;
	color: hsl(255,0%,40%);
	text-align: left;
	padding: 1.2rem 0;

	-webkit-transition: -webkit-transform 0.2s 0s, opacity 0.2s 0s;
	-moz-transition: -moz-transform 0.2s 0s, opacity 0.2s 0s;
	transition: transform 0.2s 0s, opacity 0.2s 0s;
}
.is-open .cd-fold-content {
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
	visibility: visible;
	-webkit-transition: visibility 0s 0.5s;
	-moz-transition: visibility 0s 0.5s;
	transition: visibility 0s 0.5s;
}
.is-open .cd-fold-content > * {
	opacity: 1;
	-webkit-transform: translateY(0);
	-moz-transform: translateY(0);
	-ms-transform: translateY(0);
	-o-transform: translateY(0);
	transform: translateY(0);
}
.is-open .cd-fold-content h2 {
	-webkit-transition: -webkit-transform 0.2s 0.5s, opacity 0.2s 0.5s;
	-moz-transition: -moz-transform 0.2s 0.5s, opacity 0.2s 0.5s;
	transition: transform 0.2s 0.5s, opacity 0.2s 0.5s;
}
.is-open .cd-fold-content em {
	-webkit-transition: -webkit-transform 0.2s 0.6s, opacity 0.2s 0.6s;
	-moz-transition: -moz-transform 0.2s 0.6s, opacity 0.2s 0.6s;
	transition: transform 0.2s 0.6s, opacity 0.2s 0.6s;
}
.is-open .cd-fold-content p {
	-webkit-transition: -webkit-transform 0.2s 0.7s, opacity 0.2s 0.7s;
	-moz-transition: -moz-transform 0.2s 0.7s, opacity 0.2s 0.7s;
	transition: transform 0.2s 0.7s, opacity 0.2s 0.7s;
}
@media only screen and (min-width: 600px) {
	.cd-fold-content h2 {
		font-size: 3.2rem;
	}
}
@media only screen and (min-width: 1100px) {
	.cd-fold-content {
		padding: 4em;
	}
	.cd-fold-content > * {
		-webkit-transform: translateY(40px);
		-moz-transform: translateY(40px);
		-ms-transform: translateY(40px);
		-o-transform: translateY(40px);
		transform: translateY(40px);
	}
	.cd-fold-content em {
		font-size: 2.2rem;
	}
	.cd-fold-content p {
		font-size: 1.6rem;
	}
}


/* ================================= */
/* Javascript disabled */
/* ================================= */

.no-js .cd-fold-content.single-page {
	position: static;
	visibility: visible;
	height: auto;
	background-color: #dadcdc;
}
.no-js .cd-fold-content.single-page > * {
	opacity: 1;
	-webkit-transform: translateY(0);
	-moz-transform: translateY(0);
	-ms-transform: translateY(0);
	-o-transform: translateY(0);
	transform: translateY(0);
}



/* ================================= */
/*  morphing-modal-window */
/* ================================= */

.cd-section {
	text-align: center;
	z-index: 1000;
	background-color: hsl(60,2%,45%);

	padding: 3em 10%;
}


@media only screen and (min-width: 700px) {
  .cd-section {
    padding: 5.5em 10%;
  }
  .cd-section p {
    font-size: 1.8rem;
    line-height: 2;
  }
}
@media only screen and (min-width: 1170px) {
  .cd-section {
    padding: 4em 20%;
  }
}

.cd-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  -webkit-transition: visibility 0s 0.3s, opacity 0.3s 0s, z-index 0s 0.3s;
  -moz-transition: visibility 0s 0.3s, opacity 0.3s 0s, z-index 0s 0.3s;
  transition: visibility 0s 0.3s, opacity 0.3s 0s, z-index 0s 0.3s;
}

.cd-modal .cd-modal-content {
  height: 100%;
  width: 100%;
  padding: 3em 5%;
  text-align: left;
  overflow-y: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.cd-modal .cd-modal-content #about-me {
	border-top: none;
}

.modal-is-visible .cd-modal {
  z-index: 1;
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  -webkit-transition: visibility 0s 0s, opacity 0.3s 0s, z-index 0s 0s;
  -moz-transition: visibility 0s 0s, opacity 0.3s 0s, z-index 0s 0s;
  transition: visibility 0s 0s, opacity 0.3s 0s, z-index 0s 0s;
}

.modal-is-visible .cd-modal .cd-modal-content {
  -webkit-overflow-scrolling: touch;
}


@media only screen and (min-width: 768px) {
  .cd-modal .cd-modal-content {
    padding: 4em 10%;
  }
}
@media only screen and (min-width: 1170px) {
  .cd-modal .cd-modal-content {
    padding: 6em 20%;
  }
  .cd-modal p {
    font-size: 2rem;
    line-height: 2;
  }
}

.cd-modal-action {
  position: relative;

}
.cd-modal-action .btn, .cd-modal-action .cd-modal-bg {
  display: inline-block;
  height: 4em;
  border: 1px solid #ffffff;
}

.cd-modal-action .btn {
	width: 18.5em;
	border-radius: 5em;
	color: #ffffff;
	background-color: hsl(60,2%,45%);
	line-height: 4em;
	white-space: nowrap;
	font-weight: 700;
	font-size: 1.4rem;

	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	-webkit-transition: color 0.2s 0.3s, width 0.3s 0s;
	-moz-transition: color 0.2s 0.3s, width 0.3s 0s;
	transition: color 0.2s 0.3s, width 0.3s 0s;

	/*I added this only for the button hover*/
	-webkit-transition: background-color .30s linear;
	 -moz-transition: background-color .30s linear;
	  -ms-transition: background-color .30s linear;
	   -o-transition: background-color .30s linear;
		  transition: background-color .30s linear;
}
.cd-modal-action .btn:hover {
	background-color: hsl(60,2%,62%);
}

@media only screen and (min-width: 375px) {
	.cd-modal-action .btn {
		font-size: 1.6rem;
	}
}
@media only screen and (min-width: 700px) {
	.cd-modal-action .btn {
		height: 4.5em;
		line-height: 4.5em;
	}
}

.cd-modal-action .btn.to-circle {
  width: 4em;
  color: transparent;
  -webkit-transition: color 0.2s 0s, width 0.3s 0.2s;
  -moz-transition: color 0.2s 0s, width 0.3s 0.2s;
  transition: color 0.2s 0s, width 0.3s 0.2s;
}
.cd-modal-action .cd-modal-bg {
  position: absolute;
  z-index: 1;
  left: 50%;
  top: 0;
  width: 4em;
  border-radius: 50%;
  opacity: 0;
  visibility: hidden;
  -webkit-transform: translateZ(0);
  -moz-transform: translateZ(0);
  -ms-transform: translateZ(0);
  -o-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-transform: translateX(-2em);
  -moz-transform: translateX(-2em);
  -ms-transform: translateX(-2em);
  -o-transform: translateX(-2em);
  transform: translateX(-2em);
  -webkit-transition: visibility 0s 0.5s;
  -moz-transition: visibility 0s 0.5s;
  transition: visibility 0s 0.5s;
}
.cd-modal-action .cd-modal-bg.is-visible {
  opacity: 1;
  visibility: visible;
}

.cd-modal-close {
  position: fixed;
  z-index: 1;
  top: 20px;
  right: 5%;
  height: 50px;
  width: 50px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.3) url(../img/cd-icon-close.svg) no-repeat center center;
  /* image replacement */
  overflow: hidden;
  text-indent: 100%;
  white-space: nowrap;
  visibility: hidden;
  opacity: 0;
  -webkit-transform: translateZ(0);
  -moz-transform: translateZ(0);
  -ms-transform: translateZ(0);
  -o-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-transform: scale(0);
  -moz-transform: scale(0);
  -ms-transform: scale(0);
  -o-transform: scale(0);
  transform: scale(0);
  -webkit-transition: -webkit-transform 0.3s 0s, visibility 0s 0.3s, opacity 0.3s 0s;
  -moz-transition: -moz-transform 0.3s 0s, visibility 0s 0.3s, opacity 0.3s 0s;
  transition: transform 0.3s 0s, visibility 0s 0.3s, opacity 0.3s 0s;
}
.no-touch .cd-modal-close:hover {
  background-color: rgba(0, 0, 0, 0.5);
  border: none;
}
.modal-is-visible .cd-modal-close {
  visibility: visible;
  opacity: 1;
  -webkit-transition: -webkit-transform 0.3s 0s, visibility 0s 0s, opacity 0.3s 0s;
  -moz-transition: -moz-transform 0.3s 0s, visibility 0s 0s, opacity 0.3s 0s;
  transition: transform 0.3s 0s, visibility 0s 0s, opacity 0.3s 0s;
  -webkit-transform: scale(1);
  -moz-transform: scale(1);
  -ms-transform: scale(1);
  -o-transform: scale(1);
  transform: scale(1);
}
@media only screen and (min-width: 768px) {
  .cd-modal-close {
	top: 70px;
  }
}








