/* ========================================================================== *
 * 1.1. Defaults
 * ========================================================================== */

html.mpcth-responsive {
	overflow-x: hidden;
	overflow-y: auto;
}

html, body, #jckqv {
	font-size: 12px;
	font-family: $content_font_family;
	height: 100%;
	min-height: 100%;
	max-height: 100%;
	line-height: 1.5em;
	color: #666666;
	word-break: break-word;
}

body {
	height: auto;
	min-height: initial;
	max-height: initial;
}

h1, h2, h3, h4, h5, h6,
#jckqv h1, #jckqv h2, #jckqv h3, #jckqv h4, #jckqv h5, #jckqv h6 {
	margin-top: 0;
	line-height: 1.5em;
	font-family: $header_font_family;
	font-weight: 700;
}

h6 {
	font-size: 1em;
	-webkit-font-smoothing: antialiased;
}
h5 {
	font-size: 1.167em;
	-webkit-font-smoothing: antialiased;
}
h4 {
	font-size: 1.333em;
	-webkit-font-smoothing: antialiased;
}
h3 {
	font-size: 1.667em;
	-webkit-font-smoothing: antialiased;
}
h2 {
	font-size: 2.000em;
	-webkit-font-smoothing: antialiased;
}
h1 {
	font-size: 2.667em;
	-webkit-font-smoothing: antialiased;
}

html {
	position: relative;
}

#mpcth_page_wrap #bbpress-forums pre,
pre {
	direction: ltr;
	margin: 0;
	background: #f7f7f7;
	border: 1px dashed #e0e0e0;
	padding: 1em;
	color: #666;
	font-size: 1em;
	line-height: 1.5em;
	margin-bottom: 1.5em;

	white-space: pre-wrap;
	background-image: linear-gradient(bottom, #f9f9f9 50%, #f5f5f5 50%);
	background-image: -o-linear-gradient(bottom, #f9f9f9 50%, #f5f5f5 50%);
	background-image: -moz-linear-gradient(bottom, #f9f9f9 50%, #f5f5f5 50%);
	background-image: -webkit-linear-gradient(bottom, #f9f9f9 50%, #f5f5f5 50%);
	background-image: -ms-linear-gradient(bottom, #f9f9f9 50%, #f5f5f5 50%);
	background-image: -webkit-gradient(linear, left bottom, left top, color-stop(0.5, #f9f9f9), color-stop(0.5, #f5f5f5));
	background-size: 3em 3em;
	background-position: 0 1em;
}

code {
	direction: ltr;
	background: #f7f7f7;
	border: 1px dashed #e0e0e0;
	font-size: 1em;
	padding: .1em .4em;
}

blockquote {
	font-style: italic;
	line-height: 1.35em;
	margin: 0;
	margin-bottom: 1em;
}

input[type=number] {
    -moz-appearance:textfield;
}

.wp-caption.alignleft,
img.alignleft {
	@include float(left); // float: left;
	@include margin-right(1.5em); // margin-right: 1.5em;
	margin-bottom: 1.5em;
}
.wp-caption.alignright,
img.alignright {
	@include float(right); // float: right;
	@include margin-left(1.5em); // margin-left: 1.5em;
	margin-bottom: 1.5em;
}
.wp-caption.aligncenter,
img.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 1.5em;
}

.wp-caption {
	max-width: 100%;
	height: auto;
}

object,
iframe,
embed {
	max-width: 100%;
}

.wp-caption-text,
.sticky,
.gallery-caption,
.bypostauthor {
	zoom: 1;
}

.mpcth-post-content,
.mpcth-page-content,
.mpcth-product-content {
	table {
		margin-bottom: 1.5em;
	}
	td {
		padding: .5em;
	}

	dt {
		font-weight: bold;
		-webkit-font-smoothing: antialiased;
	}
	dd {
		font-style: italic;
		margin-bottom: 1.5em;
	}

	ol {
		@include padding-left(1.5em); // padding-left: 1.5em;
	}
}

.mpc-clear-fix {
	clear: both;
}

.mpcth-video-wrap {
	position: relative;
	height: 0;
	padding-bottom: 56.25%;

	iframe {
		position: absolute;
		left: 0;
		top: 0;
		width: 100%;
		height: 100%;
	}
}

#mpcth_main img {
	max-width: 100%;
	height: auto;
}

#mpcth_main .mpcth-post-content,
#mpcth_main .mpcth-page-content,
#mpcth_main .mpcth-product-content,
#mpcth_header_area,
#mpcth_sidebar,
#mpcth_footer {
	ul {
		margin-top: 0;
		@include padding-left(0); // padding-left: 0;

		ul {
			@include padding-left(.5em); // padding-left: .5em;
		}

		li {
			position: relative;
			@include padding(0, 0, .25em, 1em); // padding: 0 0 .25em 1em;
			list-style: none;
		}

		li:before {
			content: '';
			position: absolute;
			top: .6em;
			@include left(.3em); // left: .3em;
			border: 2px solid transparent;
		}
	}
}
#mpcth_page_wrap #mpcth_main {
	.esg-grid li {
		padding: 0;
		position: absolute;

		&:before {
			display: none;
		}
	}
	.esg-starring .star-rating span {
		white-space: nowrap;
	}
}
#mpcth_page_wrap #mpcth_main .rev_slider ul li {
	position: absolute;
}

#mpcth_page_wrap #mpcth_main .gform_wrapper li {
	padding: 0;

	&:before {
		display: none;
	}
}
#mpcth_page_wrap .css3_grid_clearfix ul li:before {
	display: none;
}

.mpcth-sidebar-left .mpcth-use-advance-colors,
.mpcth-sidebar-right .mpcth-use-advance-colors {
	#mpcth_main_container {
		position: relative;

		&:before {
			content: '';
			position: absolute;
			top: 0;
			width: 200%;
			height: 100%;

			@media #{$screen-normal} {
				.mpcth-responsive & {
					display: none;
				}
			}
		}
	}
}

.mpcth-sidebar-left .mpcth-use-advance-colors.mpcth-boxed,
.mpcth-sidebar-right .mpcth-use-advance-colors.mpcth-boxed {
	#mpcth_main_container:before {
		width: 25%;
	}
}
.mpcth-sidebar-left .mpcth-use-advance-colors {
	#mpcth_main_container:before {
		right: 75%; // non-RTL
	}
}
.mpcth-sidebar-right .mpcth-use-advance-colors {
	#mpcth_main_container:before {
		left: 75%; // non-RTL
	}
}

.mpcth-transparent-0 {
	@include opacity(0);
}
.mpcth-transparent-10 {
	@include opacity(.1);
}
.mpcth-transparent-20 {
	@include opacity(.2);
}
.mpcth-transparent-30 {
	@include opacity(.3);
}
.mpcth-transparent-40 {
	@include opacity(.4);
}
.mpcth-transparent-50 {
	@include opacity(.5);
}
.mpcth-transparent-60 {
	@include opacity(.6);
}
.mpcth-transparent-70 {
	@include opacity(.7);
}
.mpcth-transparent-80 {
	@include opacity(.8);
}
.mpcth-transparent-90 {
	@include opacity(.9);
}
.mpcth-transparent-100 {
	@include opacity(1);
}

.mpcth-list-item {
	position: relative;
	@include padding-left(1em); // padding-left: 1em;

	&:before {
		content: '';
		position: absolute;
		top: .4em;
		@include left(.3em); // left: .3em;
		border: 2px solid transparent;
	}
}

.mpcth-menu-label-hot {
	font-size: .833em;
	font-weight: 500;
	color: #ffffff;
	padding: .1em .4em;
	border-radius: 2px;
	@include margin-left(1em); // margin-left: 1em;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

textarea::-webkit-input-placeholder,
input::-webkit-input-placeholder {
	color: #999999;
}
textarea:-moz-placeholder,
input:-moz-placeholder {
	color: #999999;
}
textarea::-moz-placeholder,
input::-moz-placeholder {
	color: #999999;
}
textarea:-ms-input-placeholder,
input:-ms-input-placeholder {
	color: #999999;
}

textarea,
input[type=text],
input[type=password] {
	background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from(rgb(255,255,255)), to(rgb(255,255,255)));
}

.mpcth-page-background {
	display: none;
	position: fixed;
	z-index: -1;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
}
.ie .mpcth-page-background {
	display: block;
}

.mpcth-background-cover {
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: -1;
}
@media only screen and (max-width: 1024px) {
	.mpcth-responsive body .mpcth-background-cover.mpcth-image {
		background-size: auto 100%;
		background-attachment: initial;
	}
}
.ie .mpcth-background-cover {
	display: none;
}

.mpcth-deco-header {
	text-transform: uppercase;
	border-bottom: 1px solid #eeeeee;
	margin-bottom: 1.5em;

	> span {
		display: inline-block;
		border-bottom: 1px solid transparent;
		padding-bottom: .813em;
		margin-bottom: -1px;
	}
}

#mpcth_page_wrap select.hasCustomSelect {
	cursor: pointer;
}
#mpcth_page_wrap .mpcthSelect {
	background: #ffffff;
	border: none;
	border: $hover_border;
	border-radius: 2px;
	display: inline-block;
	@include padding(.5em, 1.538em, .5em, .75em); // padding: .5em 1.538em .5em .75em;
	color: #666666;
	-webkit-font-smoothing: auto;

	@extend .transition;

	&:before {
		@include float(right); // float: right;
		display: inline-block;
		width: 0;
	}

	&.mpcthSelectHover {
		box-shadow: $hover_shadow;
	}

	.mpcthSelectInner {
		font-family: $content_font_family;
	}
}

#mpcth_page_wrap .widget .mpcthSelect {
	width: 100%;

	@extend .box-sizing;
}

#mpcth_page_wrap .chosen-container {
	width: 100% !important;
}

#mpcth_page_wrap .gform_wrapper input,
#mpcth_page_wrap .gform_wrapper select,
#mpcth_page_wrap .gform_wrapper textarea {
	max-width: 100%;
	background: #ffffff;
	color: #999999;
	outline: none;
	border: 1px solid #eeeeee;
	padding: 7px 10px;

	@extend .transition;

	&:hover,
	&:focus {
		box-shadow: 0 0 6px rgba(0, 0, 0, 0.1);
	}
}
#mpcth_page_wrap .gform_wrapper select {
	&.small {
		width: 25%;
		+ .mpcthSelect { width: 25%; }
	}
	&.medium {
		width: 47%;
		+ .mpcthSelect { width: 47%; }
	}
	&.large {
		width: 99.2%;
		+ .mpcthSelect { width: 99.2%; }
	}

	@media #{$screen-tiny} {
		.mpcth-responsive & {
			&.small,
			&.medium,
			&.large {
				 width: 100%;
				+ .mpcthSelect { width: 100%; }
			}
		}
	}
}
#mpcth_page_wrap .gform_wrapper input[type=submit] {
	box-shadow: none;
	background: #f3f3f3;
	border: none;
	border: 1px solid rgba(0, 0, 0, 0.075);
	border-radius: 2px;
	padding: .5em 1em;
	text-transform: uppercase;
	line-height: 1em;
	color: #999999;
	outline: none;

	&:hover {
		color: #ffffff;
	}
}
#mpcth_page_wrap .gform_wrapper label {
	font-weight: normal;
	padding-bottom: .5em;
	text-transform: uppercase;
}
#mpcth_page_wrap .gform_wrapper .gfield_time_ampm select {
	width: 70px!important;
}
#mpcth_page_wrap .gform_wrapper .ginput_complex {
	overflow: visible;

	&:after{
		@extend .after-clear;
	}
}

#mpcth_page_wrap .gform_wrapper .ginput_complex .ginput_left,
#mpcth_page_wrap .gform_wrapper .ginput_complex .ginput_right,
#mpcth_page_wrap .gform_wrapper .ginput_complex .ginput_full {
	overflow: visible;

	&:after{
		@extend .after-clear;
	}
}

#mpcth_page_wrap #mpcth_main_container .mpcth-vc-row-wrap.mpcth-vc-row-wrap-full-width {
	padding-left: 0;
	padding-right: 0;
}
#mpcth_page_wrap #mpcth_main #mpcth_main_container .mpcth-vc-row-wrap.mpcth-vc-row-wrap-full-page-width .wpb_column {
	padding-left: 0;
	padding-right: 0;
}
#mpcth_page_wrap #mpcth_main #mpcth_main_container .mpcth-vc-row-wrap.mpcth-vc-row-wrap-full-page-width,
#mpcth_page_wrap #mpcth_main #mpcth_main_container .mpcth-vc-row-wrap.mpcth-vc-row-wrap-full-page-width > .wpb_row {
	width: 100%;
	margin-bottom: 0;
}

/* Visual Composer animations overwrite */
$time: 1s;
#mpcth_page_wrap {
	.wpb_animate_when_almost_visible{opacity:0}
	.wpb_start_animation.wpb_top-to-bottom{-webkit-animation:wpb_ttb $time 1 cubic-bezier(.175, .885, .32, 1.275);-moz-animation:wpb_ttb $time 1 cubic-bezier(.175, .885, .32, 1.275);-o-animation:wpb_ttb $time 1 cubic-bezier(.175, .885, .32, 1.275);animation:wpb_ttb $time 1 cubic-bezier(.175, .885, .32, 1.275);opacity:1}
	.wpb_start_animation.wpb_bottom-to-top{-webkit-animation:wpb_btt $time 1 cubic-bezier(.175, .885, .32, 1.275);-moz-animation:wpb_btt $time 1 cubic-bezier(.175, .885, .32, 1.275);-o-animation:wpb_btt $time 1 cubic-bezier(.175, .885, .32, 1.275);animation:wpb_btt $time 1 cubic-bezier(.175, .885, .32, 1.275);opacity:1}
	.wpb_start_animation.wpb_left-to-right{-webkit-animation:wpb_ltr $time 1 cubic-bezier(.175, .885, .32, 1.275);-moz-animation:wpb_ltr $time 1 cubic-bezier(.175, .885, .32, 1.275);-o-animation:wpb_ltr $time 1 cubic-bezier(.175, .885, .32, 1.275);animation:wpb_ltr $time 1 cubic-bezier(.175, .885, .32, 1.275);opacity:1}
	.wpb_start_animation.wpb_right-to-left{-webkit-animation:wpb_rtl $time 1 cubic-bezier(.175, .885, .32, 1.275);-moz-animation:wpb_rtl $time 1 cubic-bezier(.175, .885, .32, 1.275);-o-animation:wpb_rtl $time 1 cubic-bezier(.175, .885, .32, 1.275);animation:wpb_rtl $time 1 cubic-bezier(.175, .885, .32, 1.275);opacity:1}
	.wpb_start_animation.wpb_appear{-webkit-animation:wpb_appear $time 1 cubic-bezier(.175, .885, .32, 1.275);-moz-animation:wpb_appear $time 1 cubic-bezier(.175, .885, .32, 1.275);-o-animation:wpb_appear $time 1 cubic-bezier(.175, .885, .32, 1.275);animation:wpb_appear $time 1 cubic-bezier(.175, .885, .32, 1.275);-webkit-transform:scale(1);-moz-transform:scale(1);-o-transform:scale(1);transform:scale(1);opacity:1}
}
@-webkit-keyframes wpb_ttb{0%{-webkit-transform:translate(0, -10%);opacity:0} 100%{-webkit-transform:translate(0, 0);opacity:1}}@-moz-keyframes wpb_ttb{0%{-moz-transform:translate(0, -10%);opacity:0} 100%{-moz-transform:translate(0, 0);opacity:1}}@-o-keyframes wpb_ttb{0%{-o-transform:translate(0, -10%);opacity:0} 100%{-o-transform:translate(0, 0);opacity:1}}@keyframes wpb_ttb{0%{transform:translate(0, -10%);opacity:0} 100%{transform:translate(0, 0);opacity:1}}@-webkit-keyframes wpb_btt{0%{-webkit-transform:translate(0, 10%);opacity:0} 100%{-webkit-transform:translate(0, 0);opacity:1}}@-moz-keyframes wpb_btt{0%{-moz-transform:translate(0, 10%);opacity:0} 100%{-moz-transform:translate(0, 0);opacity:1}}@-o-keyframes wpb_btt{0%{-o-transform:translate(0, 10%);opacity:0} 100%{-o-transform:translate(0, 0);opacity:1}}@keyframes wpb_btt{0%{transform:translate(0, 10%);opacity:0} 100%{transform:translate(0, 0);opacity:1}}@-webkit-keyframes wpb_ltr{0%{-webkit-transform:translate(-10%, 0);opacity:0} 100%{-webkit-transform:translate(0, 0);opacity:1}}@-moz-keyframes wpb_ltr{0%{-moz-transform:translate(-10%, 0);opacity:0} 100%{-moz-transform:translate(0, 0);opacity:1}}@-o-keyframes wpb_ltr{0%{-o-transform:translate(-10%, 0);opacity:0} 100%{-o-transform:translate(0, 0);opacity:1}}@keyframes wpb_ltr{0%{transform:translate(-10%, 0);opacity:0} 100%{transform:translate(0, 0);opacity:1}}@-webkit-keyframes wpb_rtl{0%{-webkit-transform:translate(10%, 0);opacity:0} 100%{-webkit-transform:translate(0, 0);opacity:1}}@-moz-keyframes wpb_rtl{0%{-moz-transform:translate(10%, 0);opacity:0} 100%{-moz-transform:translate(0, 0);opacity:1}}@-o-keyframes wpb_rtl{0%{-o-transform:translate(10%, 0);opacity:0} 100%{-o-transform:translate(0, 0);opacity:1}}@keyframes wpb_rtl{0%{transform:translate(10%, 0);opacity:0} 100%{transform:translate(0, 0);opacity:1}}@-webkit-keyframes wpb_appear{0%{-webkit-transform:scale(.5);opacity:.1} 100%{-webkit-transform:scale(1);opacity:1}}@-moz-keyframes wpb_appear{0%{-moz-transform:scale(.5);opacity:.1} 100%{-moz-transform:scale(1);opacity:1}}@-o-keyframes wpb_appear{0%{-o-transform:scale(.5);opacity:.1} 100%{-o-transform:scale(1);opacity:1}}@keyframes wpb_appear{0%{transform:scale(.5);opacity:.1} 100%{transform:scale(1);opacity:1}}
@media #{$screen-normal} {
	#mpcth_page_wrap {
		.wpb_animate_when_almost_visible{opacity:1}
		.wpb_start_animation.wpb_top-to-bottom{-webkit-animation:initial;-moz-animation:initial;-o-animation:initial;animation:initial;}
		.wpb_start_animation.wpb_bottom-to-top{-webkit-animation:initial;-moz-animation:initial;-o-animation:initial;animation:initial;}
		.wpb_start_animation.wpb_left-to-right{-webkit-animation:initial;-moz-animation:initial;-o-animation:initial;animation:initial;}
		.wpb_start_animation.wpb_right-to-left{-webkit-animation:initial;-moz-animation:initial;-o-animation:initial;animation:initial;}
		.wpb_start_animation.wpb_appear{-webkit-animation:initial;-moz-animation:initial;-o-animation:initial;animation:initial;}
	}
}
