/*
 Theme Name:   Awaken Pro Child
 Theme URI:    https://github.com/AnimationMentor/blog.artella.com-themes
 Description:  Awaken Pro Child Theme
 Author:       Ben Boyle
 Author URI:   https://github.com/bboyle
 Template:     awaken-pro
 Version:      4.7.2
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Tags:         artella
 Text Domain:  twenty-fifteen-child
*/

:root {
	--artella-color: #17a597;
}


body {
	font-family: "ProximaNova" !important;

	line-height: 1.429 !important;

	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;

	padding-top: 50px;

	overflow-x: hidden;
	overflow-y: scroll;
}

:focus,
a:focus {
	outline-color: var(--artella-color);
}

::-webkit-scrollbar {
	width: 10px;
	background-color: rgba(255, 255, 255, 0);
}
::-webkit-scrollbar:hover {
	background-color: rgba(255, 255, 255, 0.09);
}
::-webkit-scrollbar-thumb:vertical {
	background:rgba(255, 255, 255, 0.5);
	background-clip: padding-box;
	border: 2px solid rgba(255, 255, 255, 0);
	min-height: 10px;
}
.textscroll::-webkit-scrollbar {
	width: 8px;
	background: transparent;
}
.textscroll::-webkit-scrollbar-thumb:vertical {
	border: 1px solid transparent;
	background: #e6e6e6;
}

/* fonts */

#awt-widget,
.afp-title,
.archive-page-title,
.awaken-slider-title,
.awt-title,
.footer-widget-area .awt-title,
.footer-widget-title,
.main-navigation,
.main-widget-area .widget-title,
.page-entry-title,
.search-page-title,
.site-title,
.top-navigation,
h1, h2, h3, h4, h5, h6 {
	font-family: "ProximaNovaSemibold" !important;
}

.genpost-entry-meta,
.single-entry-meta,
.genpost-entry-footer {
	font-family: "ProximaNova" !important;
}

.post {
	font-family: "ProximaNovaLight";
}
main > .post {
	padding: 20px;
	margin: -20px 0 -20px !important;
	background: #f7f7f7;
	color: #101015;
}
main > .post h1,
main > .post h2,
main > .post h3,
main > .post h4,
main > .post h5,
main > .post h6,
main > .post .single-entry-title {
	color: #101015;
}

/* layout */

.navbar-brand {
	color: #fff;
	padding: 0;
}

.art-nav {
	display: flex;
	border-style: none;
	background-color: #252629;
	border-radius: 0;
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	z-index: 99;
}
body.admin-bar .art-nav {
	top: 32px;
}

.main-navigation {
	font-size: 14px;
}
.main-navigation a {
	width: 150px;
	padding: 15px;
	text-align: center;
}

@media (max-width: 1000px) {
	.main-navigation {
			display: block;
	}
}

/* mobile nav */
.art-nav-toggle>.btn {
	width: 50px;
	height: 50px;
	outline: none !important;
	color: #bbb;
}
.art-nav-mobile {
	position: fixed;
	right: 0;
	z-index: 99;
}
.art-nav-mobile > .art-nav-toggle {
	text-align: right;
}
.art-nav-underlay {
	z-index: -1;
	background: #101015;
	opacity: 0;
	position: fixed;
	top: 0;
	left: 0;
	height: 100vh;
	width: 100vw;
	content: "";
	-webkit-transition: opacity 0.16s ease-out;
	transition: opacity 0.16s ease-out;
}
.in > .art-nav-underlay {
	opacity: 0.5;
}
.art-nav-mobile-content {
	font-family: ProximaNovaSemibold;
	font-size: 14px;
	position: fixed;
	top: 0;
	right: 0;
	width: 83.33vw;
	min-height: 125vh;
	background: #1a1b1f;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
	-ms-flex-flow: column;
	flex-flow: column;
	height: calc(100vh - 50px);
	overflow-y: auto;
	overflow-x: hidden;

	transform: translateX(100%);
	-webkit-transform: translateX(100%);
	transform: translateX(100%);
	-webkit-transition: -webkit-transform .16s ease-out;
	transition: -webkit-transform .16s ease-out;
	transition: transform .16s ease-out;
	transition: transform .16s ease-out,-webkit-transform .16s ease-out;
}
.in>.art-nav-mobile-content {
	transform: none;
}
.art-nav-mobile-content>div {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
	-ms-flex-flow: column;
	flex-flow: column;
	overflow-y: auto;
	overflow-x: hidden;
}
.art-nav-mobile-content>div>section {
	background: #25262A;
	-ms-flex-negative: 0;
	flex-shrink: 0;
}
.art-nav-mobile-content footer {
	margin-top: auto;
	background: #25262A;
}

.art-nav-mobile-content h4 {
	margin: 0;
	font-size: 14px;
}
.art-nav-mobile-content .list-unstyled {
	margin: 0;
}
.art-nav-mobile ul {
	list-style: none;
	margin: 0;
	padding-left: 0;
}
.art-nav-mobile li {
	margin-top: 1px;
}
.art-nav-mobile ul .icon {
	width: 16px;
	height: 16px;
	margin: 0 15px;
}
.art-nav-mobile li>.btn {
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	justify-content: center;
}
.art-nav-mobile li>.btn-primary {
	width: calc(100% - 30px);
	margin: 10px 15px;
	border-radius: 4px;
}
.art-nav-mobile li>a,
.art-nav-mobile li>button,
.art-nav-mobile li>button:focus,
.art-nav-mobile li>button:hover,
.art-nav-mobile li>h4>a,
.art-nav-mobile li>h4>button,
.art-nav-mobile li>h4>button:focus,
.art-nav-mobile li>h4>button:hover {
	width: 100%;
	min-height: 42px;
	padding: 6px 30px;
	text-align: left;
	background: #1a1b1f;
	color: #bbb;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	white-space: nowrap;
}
.art-nav-mobile li>h4>a,
.art-nav-mobile li>h4>a:focus,
.art-nav-mobile li>h4>a:hover,
.art-nav-mobile li>h4>button,
.art-nav-mobile li>h4>button:focus,
.art-nav-mobile li>h4>button:hover {
	background: #25262a;
	color: #f7f7f7;
}
.art-nav-mobile li>a:hover,
.art-nav-mobile li>button:hover {
	background: #444548;
	color: #f7f7f7;
}


a, a:link, a:visited {
	text-decoration: none;
	transition: none;
	color: var(--artella-color);
}
a:hover, a:focus {
	color: var(--artella-color);
	text-decoration: none;
}

.main-navigation a {
	transition: none;
	text-decoration: none;
}

#related-posts-title h3 a {
	color: #727272;
}
#related-posts-title h3 a:hover {
	color: var(--artella-color);
}

.widget-title-container {
	border-bottom: none !important;
}

.main-widget-area .widget-title {
	display: block;
}

.main-widget-area ul li a {
	color: #727272;
}

.btn {
	border-radius: 0;
}

.btn.btn-primary {
	background-color: var(--artella-color);
	border-color: var(--artella-color);
	color: #f7f7f7;
}

.art-nav .more-artella>button::after {
	content: "";
	display: inline-block;
	margin: 0 .5em .2em;
	border: .3em solid transparent;
	border-bottom: 0;
	border-top-color: #616163;
}
.art-nav .more-artella>button::after {
	border-top-color: #f7f7f7;
}
.art-nav .more-artella>button {
	color: #f7f7f7;
	outline: none !important;
	font-family: ProximaNovaSemibold;
}

.dropdown-menu {
	margin: 0;
	padding: 0;
	box-shadow: none;
	background: #343538;
	color: #8a8a8a;
	font-size: 14px;
	font-family: "ProximaNovaSemibold";
}
.dropdown-menu>li>a,
.dropdown-menu>li>a:link,
.dropdown-menu>li>a:visited {
	color: #8a8a8a;
	padding: 9px 20px;
}
.dropdown-menu>li>a:focus,
.dropdown-menu>li>a:hover {
	background: #2e2f31;
	color: #f7f7f7;
}
.dropdown-menu>li {
	position: relative;
}
.dropdown-menu>li:hover>a::before,
.dropdown-menu>li>a:focus::before,
.dropdown-menu>li>a:hover::before {
	display: block;
	content: "";
	position: absolute;
	height: 100%;
	border-left: 4px solid #8A8A8A;
	top: 0;
	left: 0;
}

svg.icon {
	width: 1em;
	height: 1em;
	position: relative;
	top: .15em;
	fill: currentcolor;
}

.tooltip {
	white-space: nowrap;
}


/* color fixes */
.afp-title > a {
	color: #f7f7f7;
}

.page-numbers a,
.page-numbers a:focus,
.page-numbers a:hover {
	color: #f7f7f7;
}

.moretag {
	color: #f7f7f7 !important;
}

.moretag:hover {
	color: var(--artella-color) !important;
}

/* misc style fixes */
.btn-link:hover, .btn-link:focus {
	text-decoration: none;
}
abbr[title] {
	border-bottom: none;
}
.awaken-slider-title {
	transition: none;
}


/* responsive */
@media (max-width: 991px) {
	body.admin-bar {
		padding-top: 78px;
	}

	body.admin-bar .art-nav,
	body.admin-bar .art-nav-mobile,
	body.admin-bar .art-nav-mobile-content {
		top: 46px;
	}

	body.admin-bar .art-nav-mobile-content>div {
		height: calc(100vh - 96px); /* +46px for wpadmin header */
	}

	#wpadminbar {
		position: fixed;
	}
}

@media (min-width: 991px) and (max-width: 1200px) {
	body.admin-bar {
		padding-top: 64px;
	}

	body.admin-bar .art-nav,
	body.admin-bar .art-nav-mobile,
	body.admin-bar .art-nav-mobile-content {
		top: 32px;
	}

	body.admin-bar .art-nav-mobile-content>div {
		height: calc(100vh - 82px); /* +32px for wpadmin header */
	}
}


.hentry {
	margin: 0;
}

.page-entry-header {
	border-bottom: 0 !important;
	text-align: center;
	margin-top: 50px;
}
.page-entry-title {
	background: transparent !important;
	font-family: ProximaNovaThin !important;
	font-size: 42px;
	text-transform: capitalize;
	height: auto;
}

.page-entry-footer {
	margin: 0;
	padding: 0;
}


.page-template-fullwidth #content > .container {
	--content-width: auto;
	width: auto;
	padding: 0;
}

.page-template-fullwidth .page-entry-header {
	display: none;
}


.entry-content {
	margin: 0 !important;
}


/* wordpress block styling */
.header-logo-tagline h1 {
	font-size: 64px;
}

@media (max-width: 599px) {
	.header-logo-tagline img {
		width: 96px;
		height: 96px;
	}

	.header-logo-tagline h1 {
		font-size: 21px;
	}

	.wp-block-column {
		margin: 1em;
	}
}

@media (max-width: 999px) {
	.header-client-logos .wp-block-column {
		flex-basis: calc(25% - 16px);
	}
}


/* stackable block styling */
.home-play-button .ugb-video-popup__wrapper {
	background-color: transparent !important;
	border-radius: 5px !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
	width: auto !important;
}
.home-play-button .ugb-video-popup__wrapper::before {
	display: none;
}

@media screen and (max-width: 600px) {
	.ugb-main-block.alignfull .wp-block-column {
		margin-left: 0;
		margin-right: 0;
	}

	.ugb-main-block.alignfull .ugb-main-block.alignfull {
		padding-left: 0;
		padding-right: 0;
	}

	.ugb-container.ugb-container--width-small .ugb-container__content-wrapper {
		width: 100% !important;
	}

	.ugb-header .ugb-header__item {
		padding-left: 0 !important;
		padding-right: 0 !important;
	}

	.ugb-cta .ugb-cta__item .ugb-button,
	.ugb-cta .ugb-cta__item {
		padding-left: 0 !important;
		padding-right: 0 !important;
		width: 100%;
	}

	.ugb-block-title,
	/* HACK specificity */
	.ugb-cta__item .ugb-cta__title.ugb-cta__title,
	.ugb-header__title {
		font-size: 42px !important;
	}
}

/* HACK specificity override stackable block style for full-width testimonial images */
.ugb-testimonial__image.ugb-testimonial__image.ugb-testimonial__image,
.ugb-testimonial__image .ugb-img {
	width: 100% !important;
}


/* Contact Form 7 styles */
.wpcf7-form {
	margin: 0 auto;
	max-width: 95%;
	width: 40em;
}

.wpcf7-form label {
	display: block;
	font-weight: normal;
}

.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form textarea {
	width: 100%;
	font-weight: normal;
	color: #666;
}

.wpcf7-form input[type="submit"] {
	float: right;
	padding: 1em 3em;
}

.wpcf7-form abbr[title="required"] {
	color: var(--artella-color, #f00);
	text-decoration: none;
}


/* HACK hide G+ share button */
.awp-googleplus {
	display: none !important;
}


.site-footer {
	background: #02070A !important;
	padding: 4em 0;
	border-top: 1px solid #252429;
	margin-top: 2em;
}
.site-footer .list-unstyled {
	margin: 0;
}
.site-footer-logo {
	padding-top: 2em;
	padding-bottom: 2em;
}
@media screen and (max-width: 600px) {
	.site-footer {
		padding-top: 2em;
	}

	.site-footer-logo {
		padding-top: 0;
	}
}
@media screen and (min-width: 600px) {
	.game-developers-header {
		margin: auto !important;
		max-width: 80em !important;
	}
	.game-developers-h1 {
		font-size: 72px !important;
	}
	.game-developers-h2 {
		font-size: 65px !important;
		margin-bottom: 0.5em;
	}
	.game-developers-list .ugb-inner-block {
		min-width: 100% !important;
	}
}

.wpcf7 form.sent .wpcf7-response-output {
	background: #46b450;
}
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output {
	background: #ffb900;
	color: #101016;
}
