/* Structure */

.ys-custom-content-wrapper.odd { background: #FFF; }
.ys-custom-content-wrapper.even { background: #f6f9f9; border-top: 1px solid #e9f2f2; }

.ys-custom-head-wrapper {
	width: 100%;
	z-index: 25;
	position: absolute;
	top: 0;
}

body.page-template-template-home:not(.show-slider) .ys-custom-head-wrapper { position: relative; }

.ys-custom-content-top-wrapper {
	padding-top: 198px;
}

@media (max-width: 767px)
{
	.ys-custom-content-top-wrapper {
		margin-top: -255px;
		padding-top: 255px;
	}
}

body.show-slider .ys-custom-content-top-wrapper { padding-top: 0 !important; }


.headroom {
	-webkit-transition: transform 900ms linear;
	transition: transform 900ms linear;
}

.headroom--top,
.headroom--not-top {
	background-color: #484848;
}

.mobile-menu-wrapper.open,
.headroom--not-top {
	position: fixed;
	top: 0;
	left: auto;
	right: auto;
	width: 100%;
	-webkit-transition: all .4s;
	transition: all .4s;
	-webkit-transform: translateY(0%);
	transform: translateY(0%);
}

.headroom--not-top .ys-custom-nav {
	padding: 2% 0;
}

.admin-bar:not(.mobile) .headroom--not-top { top: 32px; }

.ys-custom-nav {
	padding-top: 2.1%;
	padding-bottom: 2.1%;
	position: relative;
	box-sizing: border-box;
}

/* Logo */

@media (min-width: 1023px)
{
	.ltr .ys-logo { float: left; margin-right: 40px; }
	.rtl .ys-logo { float: right; margin-left: 40px; }
}

/* Top Button */

a.top-button {
	height: 37px;
	margin-top: 13px;
	padding: 0 18px;
	font-size: 12.5px;
	line-height: 38px;
	text-transform: uppercase;
    border: 2px solid #686767;
    border-radius: 20px;
    color: #A5A5A5;
}

.ltr a.top-button {
	margin-left: 40px;
	float: right;
}

.rtl a.top-button {
	margin-right: 40px;
	float: left;
}

@media (max-width: 768px)
{
	.ys-custom-nav > * {
		margin-left: auto !important;
		margin-right: auto !important;
		display: table;
		margin-top: 0 !important;
		margin-bottom: 20px !important;
	}

	.ys-custom-nav > *:first-child { margin-top: 20px !important; }

	.ys-custom-content-top > * {
		margin-left: auto !important;
		margin-right: auto !important;
		display: table;
		margin-bottom: 30px !important;
		text-align: center;
	}

	.row > *:last-child { margin-bottom: 0 !important; }
}

/* Content Top */
/*
.ys-custom-content-top {
	margin-top: 3%;
	margin-bottom: 3%;
	font-size: 12px;
}
*/
.ys-custom-content-top h2.entry-title a,
.ys-custom-content-top .ys-breadcrumbs {
	text-align: center;
	font-size: 60px;
}

.mega_block_tax_desc {
	text-align: center;
	font-size: 20px;
	color: #A2ABB3;
	margin-top: 0;
	display: block;
}

@media (max-width: 768px)
{
	.ys-custom-content-top h2.entry-title a,
	.ys-custom-content-top .ys-breadcrumbs { font-size: 1.75em; }

	.mega_block_tax_desc { font-size: 1.125em; }
}

/* Content */

.ys-custom-content-wrapper {
	padding-top: 5.3%;
	padding-bottom: 5.3%;
}

/* Footer */

.ys-custom-footer-wrapper { background-color: #FFF; }

.ys-custom-footer {
	margin-bottom: 70px;
	padding: 70px 0 30px 0;
	box-sizing: border-box;
	position: relative;
}


@media (max-width: 768px)
{
	.ys-custom-footer .column.widgets {
		padding-left: 10px;
		padding-right: 10px;
	}
}








/* Heading */

.ys-custom-heading {
	margin-bottom: 85px;
	text-align: center;
}

.ys-custom-heading .title {
	width: 80%;
	margin-bottom: 10px;
	margin-left: auto;
	margin-right: auto;
	font-size: 34px;
	line-height: 1.4;
	font-weight: 700;
}

.ys-custom-heading .sub-title {
	color: #868f9a;
	font-size: 20px;
	line-height: 1.7;
}

@media (max-width: 768px)
{
	.ys-custom-heading { margin-bottom: 30px; }

	.ys-custom-heading .title { width: 100%; }
}





.ys-custom-features .column.widgets .widget .text {
	/*margin-top: 15px;*/
	color: #6e839a;
	line-height: 1.7;
}



/* Front Box */

.mega_theme_block_front_box {
	color: #868f9a;
	font-size: 20px;
	line-height: 1.7;
}

.mega_theme_block_front_box .column.widgets .widget > h3,
.mega_theme_block_front_box .column.widgets .widget.ys-box .wrapper > h3 {
	width: 80%;
	margin-bottom: 10px;
	margin-left: auto;
	margin-right: auto;
	font-size: 34px;
	line-height: 1.4;
	font-weight: 700;
	color: #333;
}


.mega_theme_block_cta3 .column.widgets .widget[class*='ys-box-'] { padding: 0; }

.mega_theme_block_cta3 .column.widgets .widget.ys-box-custom .wrapper,
.mega_theme_block_cta3 .column.widgets .widget.ys-box-auto .wrapper {
	padding: 0;
	padding-left: 8%;
	padding-right: 8%;
}

.mega_theme_block_cta3 .column.widgets .widget.gfx-position-top[class*='ys-box-'] .wrapper {
	padding-top: 60px;
}

.mega_theme_block_cta3 .column.widgets .widget.gfx-position-bottom[class*='ys-box-'] .wrapper {
	padding-bottom: 60px;
}

@media (max-width: 767px)
{
	.mega_theme_block_cta3 > .column.widgets .widget:not([class*='widget_']):not([class*='mega_block_']),
	.mega_theme_block_cta3 > .column.widgets .widget[class*='ys-box-'] .true-block-wrapper,
	.mega_theme_block_cta3 > .column.widgets .widget > .true-block-wrapper
	{
		padding: 35px;
	}
}

/* Enteries */

.ys-custom-enteries .column.widgets .widget > h3 {
	font-size: 16px;
	font-weight: 900;
	text-transform: uppercase;
}


/* Meta */

.ys-meta-tags { float: left; }

.ys-meta:before,
.ys-meta:after {
	display: table;
	content: '';
}

.ys-meta:after {
	clear: both;
}

/* Slider */

.mega_block_slider { width: 100%; }








#comments { margin-top: 25px; }

#comments img.avatar { padding: 0; border-radius: 44px; }


/* =Blog
-------------------------------------------------------------- */

.hentry {
	min-height: 160px;
	clear: both;
	margin-bottom: 6%;
	padding-top: 0.1px;
	padding-top: 6%;
	position: relative;
	background-color: #FFF;
	border-radius: 3px;
	box-shadow: 0 2px 0 #DDE4DB;
	box-sizing: border-box;
	padding-bottom: 4.5%;
}

.hentry h2.entry-title {
	font-size: 50px;
	margin-bottom: 4%;
	padding: 0 7%;
}

@media only screen and (max-width: 766px)
{
	.hentry h2.entry-title { font-size: 2.500em; }
}

.hentry .entry {
	clear: both;
	padding: 0 7%;
	font-size: 18px;
	margin-bottom: 20px;
}

@media only screen and (max-width: 1024px)
{
	.hentry .entry {
		font-size: 16px;
	}
}

.mega_theme_block_toolbar {
	padding: 0 7% 0 7%;
	border-top: 0px solid #efefef;
}


a.mega {
	width: 46px; height: 14px;
	margin-top: 5px;
	background: url(../images/mega.svg) no-repeat left top;
	background-size: 100%;
	opacity: 0.5;
}

a.mega:hover { opacity: 1; }

@media (min-width: 1022px)
{
	.ys-custom-nav > .ys-menu { margin-top: 20px; }
}