/*
 Theme Name:   Twenty Seventeen Child
 Theme URI:    http://example.com/twenty-seventeen-child/
 Description:  Twenty Seventeen Child Theme
 Author:       Megan Coyle
 Author URI:   http://work.mcoyle.com
 Template:     twentyseventeen
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Tags:         light, dark, two-columns, right-sidebar, responsive-layout, accessibility-ready
 Text Domain:  twenty-seventeen-child
*/
@import url("../twentyseventeen/style.css");


/* Navigation */
#logo {
    display: inline-block;
	vertical-align: top;
    float: left;
    margin-bottom: 0;
	padding-left: 10px;
	max-width: 200px;
}
#logo:hover {
    opacity: .8;
}
.main-navigation {
    clear: none;
    display: block;
}
.navigation-top .wrap {
    padding: 0.75em 0;
}
.navigation-top nav {
    float: right;
}
.navigation-top, .navigation-top.site-navigation-fixed {
    background: white;
}
.navigation-top {
	border-top: none;
	border-bottom: none;
	border-bottom: 2px solid #e6e6e6;
	top: 0;
	height: 70px;
	position: fixed;
    z-index: 20;
}
#top-menu a {
    color: black;
}
.menu-mainnav-container {
    margin-right: 40px;
}
.site-header .navigation-top .menu-scroll-down {
    color: black;
    top: 0.7em;
}

/* fix admin bar overlap */
.admin-bar .navigation-top {
    top: 32px;
}
/*
.sub-menu a {
    color: black !important;
}
.sub-menu a:hover {
    color: white !important;
}
*/

.custom-header {
	margin-top: 70px;
}

/* Header Styles */
/* remove gradient */
.custom-header-media:before {
    background: -moz-linear-gradient(to top, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0) 0, rgba(0, 0, 0, 0) 0);
    background: -webkit-linear-gradient(to top, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0) 0, rgba(0, 0, 0, 0) 0);
    background: none !important;
    filter: none;
}

.has-header-image.twentyseventeen-front-page .site-branding, .has-header-video.twentyseventeen-front-page .site-branding, .has-header-image.home.blog .site-branding, .has-header-video.home.blog .site-branding {
    top: 0;
    display: block;
    left: 0;
    height: auto;
    padding-top: 0;
    position: absolute;
    width: 100%;
}
.landing-page-header {
    padding-top: 15%;
	text-align: center;
}

.landing-page-header h1 {
    font-size: 3.5em;
	margin-bottom: 0;
	color: white;
	font-weight: 800;
}
.landing-page-header h2 {
    font-size: 2em;
    color: white;
    margin-top: 0;
    padding-top: 0;
}

.icon-item {
    display: inline-block;
    padding: 10px;
    width: 24%;
    vertical-align: top;
}

.icon-row {
	display: block;
	clear: both;
}

body:not(.title-tagline-hidden) .site-branding-text {
    display: block;
    vertical-align: middle;
    margin: auto;
    max-width: 800px;
	text-align: center;
}
.landing-page-header .btn {
    background: white;
}
.btn {
  border: 1px solid white;
  box-sizing: border-box;
  display: inline-block;
  font-family: inherit;
  font-weight: 300;
  letter-spacing: 1px;
  margin-left: 0.5em;
  outline: medium none;
  padding: 0.5em 0.9em;
  text-align: center;
  text-decoration: none;
  transition: all 0.2s ease 0s;
  vertical-align: middle;
  border-radius: 50px;
  color: black; 
}
  .btn:hover {
    background: #029de5;
    border: 1px solid #029de5;
    color: white; }


/* Fonts */
h1, h2, h3 {
    font-family: 'Open Sans', sans-serif;
}

h5 {
	text-transform: none;
	font-size: .9rem;
    margin-top: 0;
    padding-top: 0;
}
.site-content-contain li {
    margin-left: 25px;
}

/* blog */
.single-featured-image-header img {
    max-width: 100%;
}
.single-post .single-featured-image-header img {
    max-width: 920px;
}

/* Sidebar for blog */
#secondary li {
    margin-left: 0;
}

.page.page-one-column .entry-header, .twentyseventeen-front-page.page-one-column .entry-header, .archive.page-one-column:not(.has-sidebar) .page-header {
    margin-bottom: 1em;
}

.page .panel-content .entry-title, .page-title, body.page:not(.twentyseventeen-front-page) .entry-title {
    color: black;
    font-size: 14px;
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: none;
}

/* Posts Styles */
.single-post:not(.has-sidebar) #primary, .page.page-one-column:not(.twentyseventeen-front-page) #primary, .archive.page-one-column:not(.has-sidebar) .page-header, .archive.page-one-column:not(.has-sidebar) #primary {
    margin-left: auto;
    margin-right: auto;
    max-width: 1000px;
}

@media screen and (min-width: 48em){
	.wrap {
		max-width: 1100px;
		padding-left: 3em;
		padding-right: 3em;
	}
	
	.js .main-navigation ul, .js .main-navigation ul ul, .js .main-navigation > div > ul {
    display: block;
    margin-right: 45px;
	}
}

/* Homepage */
.home .entry-content {
	text-align: center;
}

.home h2.entry-title {
	text-align: center;
}

/* Intro on homepage */
.intro-img {
    margin-top: -50px;
}

/* About Text */
.story-container {
	text-align: center;
}
.story {
    display: inline-block;
    padding-bottom: 10px;
    padding-top: 10px;
    text-align: center;
    margin: 0 auto;
    max-width: 230px;
    vertical-align: top;
    padding-left: 10px;
    padding-right: 10px;
    font-size: .8em;
	border: 1px solid #e3e4e5;
    margin: 8px;
    min-height: 340px;
}
.story img {
    max-width: 120px;
	margin-bottom: -15px;
}
.story img:hover {
	animation: pulse 1s;
	webkit-animation: pulse 1s;
	-webkit-animation: pulse 1s;
     -moz-animation: pulse 1s;
       -o-animation: pulse 1s;
}
.number {
  background: #029de5;
   border-radius: 0.8em;
  -moz-border-radius: 0.8em;
  -webkit-border-radius: 0.8em;
  color: #ffffff;
  display: inline-block;
  font-weight: bold;
  line-height: 1.6em;
  margin-right: 15px;
  text-align: center;
  width: 1.6em; 
}
.separator {
	max-width: 400px;
	border: 2px solid #029de5;
	clear: both;
	display: block;
	background-color: #029de5;
	}

@media screen and (min-width: 30em) {
	.home.page-one-column .panel-content .wrap {
    	max-width: 940px;
	}
}

@media screen and (max-width: 567px) {
	.story {
    	min-height: auto;
	}
}

/* Resume */
.resume-list {
	list-style: none;
}
ul.resume-list {
	margin-left: 0;
	}
.resume-list .fa {
    padding-right: 10px;
}

.resume-container {
    float: right;
    max-width: 65%;
}

.resume-skills {
    float: left;
    max-width: 30%;
}
.resume-mobile {
	display: none;
}

/* Portfolio Grid Styles */
.portfolio-row h1 {
	text-align: center;
}

.portfolio-row {
	max-width: 1400px;
	margin: auto;
	}
.portfolio-icons {
	display: inline-block;
	text-align: center;
	padding-left: 20px;
	padding-right: 20px;
	width: 25%;
	}
.portfolio-icons img {
	width: 180px;
	}
.portfolio-icons img:hover {
	opacity: .8;
	}
.portfolio-icons p {
	font-weight: bold;
	font-size: 25px;
	padding-top: 8px;
	}
.portfolio-items {
	text-align: center;
	max-width: 1000px;
	margin: 0 auto;
}
.portfolio-grid {
	width: 300px;
	height: 300px;
	background-color: #029de5;
	text-align: center;
	margin: 10px;
	display: block;
	float: left;
	}
.portfolio-grid img {
	width: 300px;
	padding-top: 8px;
	}
.portfolio-grid a img{
	float: none;
    margin: 0 auto;
	}

.portfolio-page .post-thumbnail img {
    margin-top: 40px;
    width: 450px;
}
.portfolio-page .post-thumbnail-background {
	background-color: #029de5;
	}
.portfolio-image {
	border: 2px solid gray;
	max-width: 800px;
    width: 100%;
    display: block;
    margin: auto;
    float: none;
}
.porttext {
	text-align: center;
}
	.portfolio-icons img, .design-icons img {
	max-width: 130px;
	width: 100%;
	}
.portfolio-icons, .design-icons {
    display: inline-block;
    text-align: center;
    padding-left: 20px;
    padding-right: 20px;
    width: 25%;
}


/* Footer Styles on Homepage */
.banner-design {
    padding: 90px 20px 60px 20px;
    background-color: #f2f2f2;
    text-align: center;
}
.design-icons p {
    font-weight: bold;
}
.banner-design h1 {
    max-width: 920px;
    margin: auto;
    margin-bottom: 30px;
}

.banner-contact {
	color: white;
	text-align: center;
	background-color: #029de5;
	padding: 50px 20px 50px 20px;
}
.banner-contact .btn {
  border: 1px solid white;
  box-sizing: border-box;
  display: inline-block;
  font-family: inherit;
  font-weight: 300;
  letter-spacing: 1px;
  margin-left: 0.5em;
  outline: medium none;
  padding: 0.5em 0.6em;
  text-align: center;
  text-decoration: none;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.01);
  transition: all 0.2s ease 0s;
  vertical-align: middle;
  color: white; }
  .banner-contact .btn:hover {
    background: white;
    border: 1px solid white;
    color: #029de5; }

/* Global Footer Styles */
.social-media {
	max-width: 900px;
	margin: auto;
	text-align: center;
	padding-top: 20px;
	padding-bottom: 20px;
}
footer .fa {
    color: white;
	margin-left: 5px;
	margin-right: 5px;
}
footer .fa:hover {
	opacity: .8;
}

.site-footer {
	border-top: none;
	background: black;
	margin-top: 0;
}

/* Keyframes */
@-webkit-keyframes pulse{
	0%{
		-webkit-transform:scale3d(1,1,1);
		transform:scale3d(1,1,1);
	}
	50%{
		-webkit-transform:scale3d(1.05,1.05,1.05);
		transform:scale3d(1.05,1.05,1.05);
	}
	100%{
		-webkit-transform:scale3d(1,1,1);
		transform:scale3d(1,1,1);
	}
}
@keyframes pulse{
	0%{
		-webkit-transform:scale3d(1,1,1);
		transform:scale3d(1,1,1);
	}
	50%{
		-webkit-transform:scale3d(1.05,1.05,1.05);
		transform:scale3d(1.05,1.05,1.05);
	}
	100%{
		-webkit-transform:scale3d(1,1,1);
		transform:scale3d(1,1,1);
	}
}


/* Mobile Devices*/
@media screen and (max-width: 880px) {
	.portfolio-icons, .design-icons {
		display: block;
		text-align: center;
		padding-left: 20px;
		padding-right: 20px;
		width: 100%;
	}
	.portfolio-icons img, .design-icons img {
	max-width: 150px;
	width: 100%;
	margin: auto;
	}
	.resume-list {
    -webkit-columns: 1;
    -moz-columns: 1;
    columns: 1;
	list-style: none;
	}
	.landing-page-header {
    padding-top: 30px;
}

.landing-page-header h1 {
    font-size: 3em;
	margin-bottom: 0;
	font-weight: 800;
}
.landing-page-header h2 {
    font-size: 2em;
    margin-top: 0;
    padding-top: 0;
}
}

@media all and (max-width: 800px) {
		.resume-container {
		float: none;
		max-width: 100%;
	}

	.resume-skills {
		float: none;
		max-width: 100%;
	}
	
	.resume-mobile {
	display: block;
	}
}

@media all and (max-width: 766px) {
	#logo h1 {
    margin-left: 20px;
	margin-top: 5px;
	}
	.menu-toggle {
		color: black;
	}
	.navigation-top nav {
    float: none;
	}
	.menu-mainnav-container {
    margin-right: 0;
	}
	.sub-menu a {
    color: white !important;
	}

	.navigation-top {
		z-index: 200;
		position: relative;
	}
	.custom-header {
     margin-top: 0px; 
	}
}

@media all and (max-width: 660px) {
	.icon-item {
    display: block;
	margin: auto;
	width: 100%;
}
}