/*
 * ABC Rehab theme stylesheet (Syntrex Technologies).
 * Colours and the page background come from the Customiser (added inline after this file).
 *
 *  1. Reset and base type
 *  2. Grid (960 / 768 / 420 / 300 px)
 *  3. Header and menu
 *  4. Top area (video) and content area
 *  5. Content elements: headings, lists, buttons, toggles, boxes, images
 *  6. Sidebars and widgets
 *  7. Key Clients cards, portfolio pages, share box, paging
 *  8. Search form, 404
 *  9. Footer
 * 10. Small screens
 */

/* 1. Reset and base type ------------------------------------------------------------------ */

html, body, div, span, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, em, img, small,
strong, b, u, i, ol, ul, li, form, label, table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, footer, header, nav, section {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
article, aside, footer, header, nav, section { display: block; }
ol, ul { list-style: none; }
table { border-collapse: collapse; border-spacing: 0; }

body {
	background: #fff;
	font: 14px/21px "HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif;
	color: #444;
	-webkit-font-smoothing: antialiased;
	-webkit-text-size-adjust: 100%;
}
* { color: #555555; }

h1, h2, h3, h4, h5, h6,
#main-menu > ul > li > a,
.titlebox .button {
	color: #181818;
	font-family: "Yanone Kaffeesatz", Helvetica, serif;
	font-weight: normal;
	font-style: normal;
}
h1 { font-size: 46px; line-height: 69px; margin-bottom: 14px; }
h2 { font-size: 35px; line-height: 52.5px; margin-bottom: 10px; }
h3 { font-size: 28px; line-height: 42px; margin-bottom: 8px; }
h4 { font-size: 21px; line-height: 31.5px; margin-bottom: 4px; }
p { margin: 0 0 20px 0; }
p img { margin: 0; }
em { font-style: italic; }
strong { font-weight: bold; color: #333; }
small { font-size: 80%; }
img { display: block; }

hr {
	clear: both;
	margin: 10px 0 30px;
	height: 1px;
	border: 0;
	border-left: 50px solid;
	background: rgba(0, 0, 0, 0.1);
}

a, a:visited { text-decoration: none; outline: 0; }
a:hover, a:focus { color: #000; }
p a, p a:visited { line-height: inherit; }
ul, ol { margin-bottom: 20px; }
li { line-height: 18px; margin-bottom: 12px; }

a, i, a.button, a.fancybox img, a.lightbox img, .featurebox1 > i, form.search a, a.fc-webicon,
.abc-toggle h4, article.portfolio, #main-menu a, .widget.widget_calendar #wp-calendar td a {
	transition-property: all;
	transition-duration: 0.4s;
}

form { margin-bottom: 20px; }
input[type="text"], input[type="password"], input[type="email"], input[type="search"],
input[type="url"], input[type="tel"], input[type="number"], textarea, select {
	border: 1px solid #ccc;
	padding: 6px 4px;
	outline: none;
	border-radius: 2px;
	font: 13px "HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif;
	color: #777;
	margin: 0 0 20px;
	width: 210px;
	max-width: 100%;
	display: block;
	background: #fff;
}
select { padding: 0; width: 220px; }
textarea { min-height: 60px; }
label { display: block; font-weight: bold; font-size: 13px; }
.alignleft { float: left; margin: 0 20px 20px 0; }

.button, button, input[type="submit"], input[type="reset"], input[type="button"] {
	background: #eee linear-gradient(to bottom, rgba(255, 255, 255, 0.2) 0%, rgba(0, 0, 0, 0.2) 100%);
	border: 1px solid #aaa;
	border-top-color: #ccc;
	border-left-color: #ccc;
	border-radius: 0;
	color: #444;
	display: inline-block;
	font-size: 11px;
	font-weight: bold;
	text-decoration: none;
	text-shadow: 0 1px rgba(255, 255, 255, 0.75);
	cursor: pointer;
	margin-bottom: 20px;
	line-height: normal;
	padding: 8px 10px;
	font-family: "HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif;
}
.button:hover, button:hover, input[type="submit"]:hover, input[type="reset"]:hover, input[type="button"]:hover {
	color: #222;
	background: #ddd linear-gradient(to bottom, rgba(255, 255, 255, 0.3) 0%, rgba(0, 0, 0, 0.3) 100%);
	border: 1px solid #888;
	border-top-color: #aaa;
	border-left-color: #aaa;
}

.clearfix:before, .clearfix:after {
	content: '\0020';
	display: block;
	overflow: hidden;
	visibility: hidden;
	width: 0;
	height: 0;
}
.clearfix:after { clear: both; }

/* 2. Grid --------------------------------------------------------------------------------- */

.container { position: relative; width: 960px; margin: 0 auto; padding: 0; }
.container:after { content: "\0020"; display: block; height: 0; clear: both; visibility: hidden; }
.container .column, .container .columns { float: left; display: inline; margin-left: 10px; margin-right: 10px; }
.column .column.alpha, .columns .column.alpha, .column .columns.alpha, .columns .columns.alpha { margin-left: 0; }
.column .column.omega, .columns .column.omega, .column .columns.omega, .columns .columns.omega { margin-right: 0; }

.container .four.columns { width: 220px; }
.container .twelve.columns { width: 700px; }
.container .sixteen.columns { width: 940px; }
.container .one-half.column { width: 460px; }
.container .one-third.column { width: 300px; }
.container .two-thirds.column { width: 620px; }
.container .one-fourth.column { width: 220px; }
.container .three-fourths.column { width: 700px; }
.container .twelve.columns .one-half.column { width: 340px; }

@media only screen and (min-width: 768px) and (max-width: 959px) {
	.container { width: 768px; }
	.container .column, .container .columns { margin-left: 10px; margin-right: 10px; }
	.column .column.alpha, .columns .column.alpha, .column .columns.alpha, .columns .columns.alpha { margin-left: 0; margin-right: 10px; }
	.column .column.omega, .columns .column.omega, .column .columns.omega, .columns .columns.omega { margin-right: 0; margin-left: 10px; }
	.container .four.columns { width: 172px; }
	.container .twelve.columns { width: 556px; }
	.container .sixteen.columns { width: 748px; }
	.container .one-half.column { width: 364px; }
	.container .one-third.column { width: 236px; }
	.container .two-thirds.column { width: 492px; }
	.container .one-fourth.column { width: 172px; }
	.container .three-fourths.column { width: 556px; }
	.container .twelve.columns .one-half.column { width: 268px; }
}

@media only screen and (max-width: 767px) {
	.container { width: 300px; }
	.container .columns, .container .column { margin: 0; }
	.container .four.columns, .container .twelve.columns, .container .sixteen.columns,
	.container .one-half.column, .container .one-third.column, .container .two-thirds.column,
	.container .one-fourth.column, .container .three-fourths.column,
	.container .twelve.columns .one-half.column { width: 300px; }
}

@media only screen and (min-width: 480px) and (max-width: 767px) {
	.container { width: 420px; }
	.container .four.columns, .container .twelve.columns, .container .sixteen.columns,
	.container .one-half.column, .container .one-third.column, .container .two-thirds.column,
	.container .one-fourth.column, .container .three-fourths.column,
	.container .twelve.columns .one-half.column { width: 420px; }
}

/* 3. Header and menu ---------------------------------------------------------------------- */

#menu-top {
	text-align: right;
	line-height: 30px;
	font-size: 16px;
	height: 50px;
}
@media only screen and (min-width: 767px) {
	#menu-top { margin-right: 0; margin-left: 20px; }
}
#menu-top a { padding: 8px 10px; float: right; }
#logo { margin-bottom: 20px; }

#second-menu {
	text-align: right;
	position: absolute;
	bottom: 0;
	right: 0;
	margin-right: 0;
}
#main-menu { width: 100%; }
#main-menu ul {
	z-index: 100;
	margin: 0;
	padding: 0;
	list-style-type: none;
	float: right;
}
#main-menu ul li { position: relative; display: inline; float: left; margin-bottom: 0; }
#main-menu ul li a { display: block; text-decoration: none; border: none; text-align: left; }
#main-menu > ul > li > a { line-height: 32px; font-size: 14px; padding: 7px 18px; }
#main-menu > ul > li.current-menu-item > a { border-bottom: 4px solid red; padding-bottom: 3px; }
#main-menu > ul > li > a:hover { background: rgba(0, 0, 0, 0.1); }
.abc-menu-select { display: none; }

@media only screen and (max-width: 960px) and (min-width: 767px) {
	#main-menu > ul > li > a { padding-left: 10px; padding-right: 10px; }
}

/* 4. Top area (video) and content area ----------------------------------------------------- */

#heading-box-container { position: relative; }
#heading-box-container:before {
	display: block;
	content: '';
	z-index: -1;
	position: absolute;
	height: 120px;
	bottom: 0;
	left: 0;
	right: 0;
	background: url("../images/shadow-wide.png") top center no-repeat, url("../images/stripe.png") top center repeat-x;
	background-color: #eaeaea;
}
@media only screen and (max-width: 960px) and (min-width: 767px) {
	#heading-box-container:before {
		background: url("../images/shadow-half.png") top center no-repeat, url("../images/stripe.png") top center repeat-x;
		background-color: #eaeaea;
	}
}
#heading-box { position: relative; }
#heading-box:before {
	display: block;
	content: '';
	position: absolute;
	z-index: -1;
	top: -1px;
	left: -1px;
	right: -1px;
	bottom: -1px;
	box-shadow: inset 1px 1px 0 rgba(255, 255, 255, 0.3), inset -1px -1px 0 rgba(0, 0, 0, 0.2);
}

body.no-pagemedia #heading-box-container {
	background: url("../images/stripe.png") top center repeat-x, url("../images/shadow-mobile.png") top center no-repeat;
	background-color: #eaeaea;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3);
}
body.no-pagemedia #heading-box-container:before,
body.no-pagemedia #heading-box-container #heading-box { display: none; }

.video-frame { position: relative; padding: 0; height: 0; overflow: hidden; width: 100%; }
.video-frame iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }

body #body-content {
	transition-property: margin;
	transition-duration: 0.4s;
	background: url("../images/stripe.png") bottom center repeat-x;
	box-shadow: inset 1px 0 0 rgba(255, 255, 255, 0.3), inset -1px -1px 0 rgba(0, 0, 0, 0.2);
	background-color: #eaeaea;
}
body #body-content > .container { padding-bottom: 20px; padding-top: 40px; }
body.no-pagemedia #body-content {
	background: url("../images/stripe.png") bottom center repeat-x, url("../images/stripe.png") top center repeat-x;
	background-color: #eaeaea;
}
body.has-sidebar-right #body-content > .container { background: url("../images/sidebar-stripe.png") repeat-y 730px; }
@media only screen and (max-width: 960px) and (min-width: 767px) {
	body.has-sidebar-right #body-content > .container { background: url("../images/sidebar-stripe.png") repeat-y 585px; }
}

.bgGradient {
	left: 0;
	top: 0;
	position: fixed;
	overflow: hidden;
	z-index: -999998;
	margin: 0;
	padding: 0;
	height: 100%;
	width: 100%;
}

/* 5. Content elements ----------------------------------------------------------------------- */

#body-content img { width: 100%; height: auto; }
#body-content img.alignright, #body-content img.alignleft, #body-content img.aligncenter { width: auto; }

ul.icons { margin-left: 30px; }
.spacer { height: 20px; clear: both; display: block; }

a.button, a.button:visited, a.button:hover {
	background: #888;
	color: white;
	text-shadow: none;
	border: none;
	padding: 8px 15px;
	font-size: 90%;
	line-height: 25px;
}
a.button:hover { background: #555555 !important; }
a.button i { color: white; float: left; margin-right: 15px; }
a.button.large { font-size: 110%; padding: 9px 15px; line-height: 30px; }

.abc-toggle { margin-bottom: 20px; }
.abc-toggle h4 {
	background: rgba(0, 0, 0, 0.06);
	padding: 8px 20px;
	cursor: pointer;
	margin-bottom: 0;
}
.abc-toggle h4:after {
	content: '\f067';
	font-family: FontAwesome;
	font-size: 14px;
	float: right;
}
.abc-toggle.open h4:after { content: '\f068'; }
.abc-toggle > div { background: rgba(0, 0, 0, 0.03); padding: 15px 25px; }

.titlebox { background: rgba(0, 0, 0, 0.06); padding: 20px; margin-bottom: 20px; }
.titlebox.no-subtitle h3 { margin-bottom: 0; }
.titlebox.title-only { text-align: center; }

.featurebox1 { margin-bottom: 20px; }
.featurebox1 > i {
	margin-bottom: 20px;
	display: block;
	background: #aaa;
	text-align: center;
	padding: 25px 30px;
	float: left;
	color: white;
	margin-right: 20px;
	min-width: 44px;
}
.featurebox1 > div { margin-bottom: 20px; overflow: hidden; }
.featurebox1 > div > p:last-child { margin-bottom: 0; }

/* Contact form layout (the form's own markup uses these classes) */
.contactform label { margin-bottom: 5px; }
.contactform label i { margin-right: 5px; opacity: 0.8; }
.contactform input, .contactform textarea { box-sizing: border-box; width: 100%; margin: 0; }
.contactform p.name, .contactform p.left { float: left; width: 49%; }
.contactform p.email, .contactform p.right { float: right; width: 49%; }
.contactform p.message { clear: both; }

a.fancybox, a.lightbox {
	margin-bottom: 20px;
	display: block;
	position: relative;
	background: black;
	color: white;
	z-index: 1;
}
a.fancybox:before, a.lightbox:before {
	z-index: 2;
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	line-height: 100%;
	text-align: center;
	color: white;
	visibility: hidden;
	top: auto;
	margin-top: 0;
	height: 58%;
}
a.fancybox.hovered:before, a.lightbox.hovered:before { visibility: visible; }
a.fancybox img, a.lightbox img { position: relative; z-index: 3; }
a.fancybox img:hover, a.lightbox img:hover { opacity: 0.4; }
body.has-sidebar-right a.fancybox:before, body.has-sidebar-right a.lightbox:before { height: 61%; }
@media only screen and (max-width: 960px) and (min-width: 767px) {
	a.fancybox:before, a.lightbox:before { height: 61%; }
	body.has-sidebar-right a.fancybox:before, body.has-sidebar-right a.lightbox:before { height: 64%; }
}
img[data-original] { display: none; }

.fluid-width-video-wrapper { width: 100%; position: relative; padding: 0; }
.fluid-width-video-wrapper iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }

/* 6. Sidebars and widgets -------------------------------------------------------------------- */

body .sidebar { margin-top: 11px; }
.sidebar > article { margin-bottom: 40px; }
.sidebar.right > article { margin-left: 20px; }
.sidebar.has-title { margin-top: 42px; }
body.archive .sidebar, body.search .sidebar { margin-top: 20px; }
body.archive .sidebar .clearfix, body.search .sidebar .clearfix { margin-bottom: 35px; }

.widget { margin-bottom: 40px; font-size: 95%; }
.widget > hr { margin-bottom: 15px; }
.widget.widget_calendar #wp-calendar { width: 100%; text-align: center; margin-bottom: 20px; }
.widget.widget_calendar #wp-calendar caption { font-weight: bold; margin-bottom: 5px; }
.widget.widget_calendar #wp-calendar caption:before {
	text-decoration: inherit;
	display: inline;
	width: auto;
	height: auto;
	line-height: normal;
	vertical-align: baseline;
	background-image: none !important;
	font-family: FontAwesome;
	font-weight: normal;
	font-style: normal;
	opacity: 0.7;
	content: "\f073";
	margin-right: 5px;
}
.widget.widget_calendar #wp-calendar td, .widget.widget_calendar #wp-calendar th { line-height: 30px; }
.widget.widget_calendar #wp-calendar td { color: #555; }
.widget.widget_calendar #wp-calendar th { background: rgba(0, 0, 0, 0.5); color: white; }
.widget.widget_calendar #wp-calendar tr { border-bottom: 1px solid #eeeeee; }
.widget.widget_calendar #wp-calendar tbody { background: rgba(255, 255, 255, 0.8); }
.widget.widget_calendar #wp-calendar tbody tr:nth-child(even) { background: white; }
.widget.widget_calendar #wp-calendar tbody tr:last-child { border: 0; }
.wp-calendar-nav:not(:has(a)) { display: none; }

/* 7. Key Clients cards, portfolio pages, share box, paging ------------------------------------ */

body .blog-content article { margin-bottom: 30px; }
body .blog-content hr, body .blog-content .details, body .blog-content .excerpt { margin-bottom: 10px; }
body .blog-content h2 { margin-bottom: 0; }
body .blog-content hr { margin: 0; }
body .blog-content .categories {
	margin: 10px 5px 0 0;
	padding: 1px 15px;
	background: rgba(0, 0, 0, 0.04);
	font-size: 85%;
	line-height: 30px;
	display: inline-block;
	border: 1px solid rgba(255, 255, 255, 0.5);
}
body .blog-content .categories:before {
	text-decoration: inherit;
	display: inline;
	width: auto;
	height: auto;
	line-height: normal;
	vertical-align: baseline;
	background-image: none !important;
	font-family: FontAwesome;
	font-weight: normal;
	font-style: normal;
	opacity: 0.7;
	margin-right: 10px;
	font-size: 117%;
	content: "\f07c";
}
body .blog-content .button.readmore i { display: inline; float: none; margin: 0 0 0 5px; font-size: 110%; }
body .blog-content img, body .blog-content .lightbox, body .blog-content .fluid-width-video-wrapper { margin-bottom: 10px; }
body.single-portfolio_item .blog-content { margin-bottom: 40px; }
.search-results article.search-result-page hr { margin-bottom: 10px; }

article.portfolio {
	transition-timing-function: ease-in;
	opacity: 1;
	margin-bottom: 30px;
}
article.portfolio p { font-size: 90%; margin-bottom: 0; }
article.portfolio .fancybox, article.portfolio .lightbox,
article.portfolio .fancybox img, article.portfolio .lightbox img { margin-bottom: 0; }
article.portfolio div { background: rgba(0, 0, 0, 0.06); padding: 10px 20px; }
article.portfolio div a i { font-size: 80%; margin-left: 5px; }

.share-buttons {
	margin-bottom: 20px;
	text-align: center;
	padding: 10px;
	background: rgba(0, 0, 0, 0.06);
}
.share-box { display: inline-block; }
.share-box .box {
	display: inline-block;
	border: 1px solid rgba(0, 0, 0, 0.2);
	margin-right: 15px;
	float: right;
	width: 65px;
	background: rgba(255, 255, 255, 0.8);
}
.share-box .box .count, .share-box .box .share {
	display: inline-block;
	width: 65px;
	text-align: center;
	font-weight: bold;
	font-size: 80%;
}
.share-box .box i { color: white; text-shadow: 0 1px 0 rgba(0, 0, 0, 0.35); margin-right: 5px; }
.share-box .box .count { line-height: 22px; position: relative; }
.share-box .box .count:before, .share-box .box .count:after {
	content: '';
	display: block;
	position: absolute;
	left: 49%;
	width: 0;
	height: 0;
}
.share-box .box .count:before { border: solid 4px transparent; border-top-color: #b2c6cc; margin-left: -4px; bottom: -8px; }
.share-box .box .count:after { border: solid 3px transparent; margin-left: -3px; bottom: -6px; border-top-color: rgba(255, 255, 255, 0.8); }
.share-box .box .share {
	color: white;
	height: 28px;
	line-height: 30px;
	text-shadow: 0 1px 0 rgba(0, 0, 0, 0.35);
	background-color: #637fbb;
}
.share-box .box:hover { opacity: 0.8; }

#page-nav hr { margin-bottom: 10px; }
#page-nav .navigation > * {
	line-height: 30px;
	display: block;
	float: left;
	padding: 0 10px;
	margin-right: 5px;
	margin-bottom: 20px;
}
#page-nav .navigation > .current, #page-nav .navigation > .current:hover { background: #aaa; color: white; }
#infscr-loading { text-align: center; clear: both; background: rgba(0, 0, 0, 0.06); padding: 8px; }
#infscr-loading i { margin-right: 10px; }

/* 8. Search form, 404 ----------------------------------------------------------------------- */

form.search { color: #555; }
form.search input { display: inline; margin: 0; padding: 12px 15px; border: 0; }
form.search a {
	margin: 0;
	left: -5px;
	position: relative;
	padding: 11px 13px 12px;
}
form.search i { text-decoration: none; color: #fff; background: none !important; }
.sidebar .search { text-align: center; }
@media only screen and (min-width: 767px) {
	.sidebar .search { margin-left: 20px; }
	.sidebar .search input { width: 126px; float: left; }
	.sidebar .search a { left: 0; float: right; padding: 9px 13px 9px; }
}
@media only screen and (max-width: 960px) and (min-width: 767px) {
	.sidebar .search input { width: 78px; }
}

body.error404 #body-content { text-align: center; }
body.error404 #body-content > .container > .columns { background: rgba(0, 0, 0, 0.06); padding-top: 30px; padding-bottom: 30px; }
body.error404 #body-content > .container > .columns > h1 { display: inline-block; padding: 20px 40px; }
body.error404 #body-content > .container > .columns > h4 { margin-bottom: 40px; }

.abc-infobox { padding: 15px 20px; margin-bottom: 20px; background: rgba(0, 0, 0, 0.06); }
.abc-infobox i { margin-right: 10px; }

/* 9. Footer --------------------------------------------------------------------------------- */

footer { padding-top: 40px; }
footer .copyright-container { padding: 15px 0; }
footer .copyright-container small { line-height: 30px; margin-left: 10px; }
footer .copyright-container .social { margin-right: 10px; float: right; }

a.fc-webicon {
	background: url("../images/linkedin-20.png") no-repeat top left;
	width: 20px;
	height: 20px;
	display: inline-block;
	text-indent: -999em;
	text-align: left;
	box-shadow: none !important;
	border-radius: 3px;
	margin: 0 10px 0 0 !important;
	border: 0;
	padding: 0;
	opacity: 0.75;
}
a.fc-webicon:hover { opacity: 1; }
a.fc-webicon.facebook { background-image: url("../images/facebook-20.svg"); }
a.fc-webicon.x { background-image: url("../images/x-20.svg"); }
a.fc-webicon.youtube { background-image: url("../images/youtube-20.svg"); }
a.fc-webicon.tiktok { background-image: url("../images/tiktok-20.svg"); }
a.fc-webicon.google { background-image: url("../images/google-20.svg"); }
footer .fc-webicon, footer .fc-webicon:hover { margin: 3px 0 0 10px !important; }

.qtip-default { border-color: black !important; background: rgba(0, 0, 0, 0.8) !important; padding: 3px 5px; }
.qtip-default .qtip-content { color: #eeeeee !important; font-size: 13px; }

/* Lightbox */
.abc-lightbox {
	position: fixed;
	inset: 0;
	z-index: 8010;
	background: rgba(119, 119, 119, 0.7);
	display: flex;
	align-items: center;
	justify-content: center;
}
.abc-lightbox figure {
	position: relative;
	margin: 0;
	padding: 15px;
	background: #f9f9f9;
	border-radius: 4px;
	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
	max-width: 90vw;
	max-height: 90vh;
}
.abc-lightbox img { display: block; max-width: calc(90vw - 30px); max-height: calc(90vh - 30px); }
.abc-lightbox button {
	position: absolute;
	top: -18px;
	right: -18px;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	border: 3px solid #fff;
	background: #222;
	color: #fff;
	font-size: 18px;
	line-height: 1;
	padding: 0;
	text-shadow: none;
	box-shadow: 0 0 5px rgba(0, 0, 0, 0.6);
}

/* 10. Small screens -------------------------------------------------------------------------- */

@media only screen and (max-width: 767px) {
	#heading-menu-container { padding-top: 30px; }
	#second-menu { position: relative; text-align: center; bottom: auto; right: auto; }
	#main-menu > ul { display: none; }
	.abc-menu-select { display: block; width: 100%; }

	#heading-box:before { box-shadow: none; }
	#heading-box-container:before { display: none; }
	#heading-box-container { background: white; padding-bottom: 40px; padding-top: 40px; }
	#heading-box-container .fluid-width-video-wrapper:before {
		z-index: -1;
		position: absolute;
		box-shadow: inset 1px 1px 0 rgba(255, 255, 255, 0.3), inset -1px -1px 0 rgba(0, 0, 0, 0.2);
		content: '';
		top: -1px;
		left: -1px;
		right: -1px;
		bottom: -1px;
	}
	body.no-pagemedia #heading-box-container { display: none; }
	body.pagemedia-video #heading-box-container { padding: 0; }
	body.pagemedia-video #heading-box-container:before {
		z-index: -1;
		position: absolute;
		content: '';
		top: -1px;
		left: -1px;
		right: -1px;
		bottom: -1px;
		box-shadow: inset 1px 1px 0 rgba(255, 255, 255, 0.3), inset -1px -1px 0 rgba(0, 0, 0, 0.2);
	}
	body.pagemedia-video #heading-box { width: 100%; }

	body #body-content {
		padding-top: 40px;
		background: url("../images/shadow-mobile.png") top center no-repeat, url("../images/stripe.png") bottom center repeat-x;
		background-color: #eaeaea;
	}
	body.no-pagemedia #body-content {
		background: url("../images/stripe.png") bottom center repeat-x, url("../images/stripe.png") top center repeat-x;
		background-color: #eaeaea;
	}
	body.has-sidebar-right #body-content > .container { background: none; }
	body.has-sidebar-right #body-content > .container > .columns > .twelve.columns { margin-bottom: 100px; }

	.titlebox > div { margin-bottom: 20px; }
	.sidebar.right > article { margin-left: 0; }
	.sidebar.has-title { margin-top: 0; }
	.sidebar { margin-bottom: 20px !important; }
	body.archive .sidebar, body.search .sidebar { margin-top: 0; }
	body.archive .sidebar .clearfix, body.search .sidebar .clearfix { margin-bottom: 0; }
	.sidebar .search { margin-bottom: 40px; }

	a.fancybox:before, a.lightbox:before,
	body.has-sidebar-right a.fancybox:before, body.has-sidebar-right a.lightbox:before { height: 56%; }
	article.portfolio { margin-bottom: 30px !important; transition-duration: 0s; }

	footer .copyright-container small { margin-left: 20px; }
	footer .copyright-container .social { margin-right: 20px; }
}

@media only screen and (max-width: 480px) {
	body.error404 #body-content > .container > .columns > h1 { padding: 20px; }
	.share-box .box { margin-right: 10px; width: 50px; }
	.share-box .box .count, .share-box .box .share { width: 50px; }
	.share-box .box i { display: none; }
}
