/*
Theme Name:  BookCard Child
Theme URI:   http://themeforest.net/user/pixelwars/portfolio
Description: Make your modifications to [BookCard Theme] in this child theme.
Author:      Pixelwars
Author URI:  http://themeforest.net/user/pixelwars
Version:     4.9.5
Template:    bookcard
Tags:        portfolio
Text Domain: bookcard-child
*/


/* =Theme customization starts here
-------------------------------------------------------------- */

/*
 * Safari can skip repainting scrollable page content while the book panels are
 * promoted through 3D transforms. Keep the panels and inner scroll panes on
 * stable compositor layers so the middle page does not render blank/stale.
 */
.rm-container .rm-middle,
.rm-container .rm-middle .rm-inner,
.rm-container .rm-middle .antiscroll-wrap,
.rm-container .rm-middle .antiscroll-inner,
.rm-container .rm-middle .content {
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
}

.rm-container .rm-middle,
.rm-container .rm-middle .rm-inner,
.rm-container .rm-middle .antiscroll-wrap,
.rm-container .rm-middle .antiscroll-inner,
.rm-container .rm-middle .content {
	-webkit-transform: translate3d(0, 0, 0);
	transform: translate3d(0, 0, 0);
}

.rm-container .rm-middle .antiscroll-inner {
	-webkit-overflow-scrolling: touch;
}

.cover h3 {
	margin-top: 3%;
}

.cover h3:first-of-type {
	margin-top: 62%;
}

#header nav ul a {
	background: #303335;
	color: #eee;
}

#header nav ul .current_page_item a {
	background: #d64b4b;
	color: #fff;
}

#header nav ul .current_page_item a:hover {
	background: #d64b4b;
	color: #fff;
}

#header nav ul a:hover {
	background: #222;
	color: #fff;
}

#header ul li:nth-child(1) a:before {
	content: "\f015";
}

#header ul li:nth-child(2) a:before {
	content: "\f001";
}

#header ul li:nth-child(3) a:before {
	content: "\f008";
}

#header ul li:nth-child(4) a:before {
	content: "\f0e0";
}

.social li a.instagram:hover {
	background-color: #d64b4b;
	border-color: #d64b4b;
	color: #fff !important;
}

#resume .wp-block-image .aligncenter {
	margin-left: 126px !important;
	margin-right: 0 !important;
	text-align: left;
	width: calc(100% - 126px);
}

#resume .wp-block-image img {
	display: block;
	width: 100%;
	max-width: 100%;
	height: auto;
}

.w420 #resume .wp-block-image .aligncenter {
	margin-left: 104px !important;
	width: calc(100% - 104px);
}

.w420 #resume .wp-block-image img {
	max-width: 100%;
}
