
/* General Styles */
html {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;

}

body {
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  -webkit-text-size-adjust: none;
  font-size: 16px;
  line-height: 28px;
  font-style: normal;
  font-variant: normal;
  font-weight: normal;
  width: 100%;
  height: 100%;
  letter-spacing: 0;
  margin: 0;
  padding: 0;
  position: relative;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	margin-top: 0;
	margin-bottom: 22px;
}

h1 {
	font-size: 44px;
	line-height: 60px;
	letter-spacing: -2px;
}

h2 {
	font-size: 38px;
	line-height: 54px;
	letter-spacing: -2px;
}

h3 {
	font-size: 32px;
	line-height: 48px;
	letter-spacing: -1px;
}

h4 {
	font-size: 26px;
	line-height: 42px;
	letter-spacing: -1px;
}

h5 {
	font-size: 20px;
	line-height: 36px;
	letter-spacing: 0px;
}

h6 {
	font-size: 18px;
	line-height: 34px;
	letter-spacing: 0px;
}

p {
	margin-top: 0;
}

b, strong {

}

a:link, a:visited {

}

a:hover, a:active {

}

.image-left {
	float: left;
	margin-right: 20px;
}

.image-right {
	float: right;
	margin-left: 20px;
}

.clearer {
	clear: both;
}

blockquote, .standout {
	font-size: 24px;
	line-height: 1.4;
	font-style: italic;
}

.imageStyle {

}

figure {
	margin: 22px 0;
}

/* ----------------------------------------- */
/* Layout                                    */
/* ----------------------------------------- */

/* Banner Section */
header {
	background-repeat: no-repeat;
	background-position: center center;
	background-size: cover;
	height: 100%;
	width: auto;
	position: relative;
	text-align: center;
}

#logo,
#title_wrapper {
	-webkit-transform-style: preserve-3d;
  display: block;
  height: 50%;
  width: 100%;
  position: absolute;
  text-align: center;
}

#logo img {
  position: relative;
  top: 50%;
	-webkit-transform: translateY(-50%);
	-ms-transform: translateY(-50%);
	transform: translateY(-50%);
  max-height: 90%;
  width: auto;
}

#title_wrapper {
	top: 50%;
}

h1#site_title {
	display: inline-block;
	margin: 0;
	border-bottom: 1px solid #fff;
	padding: 4px 16px;
	font-size: 56px;
	line-height: 76px;
	letter-spacing: -3px;
	position: relative;
}

h2#site_slogan {
	display: block;
	margin: 0;
	padding: 4px 16px;
	font-size: 24px;
	font-weight: 400;
	position: relative;
}

#scroll_down_button {
	display: block;
	width: 40px;
	height: 40px;
	border-radius: 60px;
	font-size: 16px;
	line-height: 40px;
	text-align: center;
	margin: 30px auto 0 auto;
	cursor: pointer;
	position: relative;
}

#scroll_up_button {
	display: block;
	width: 40px;
	height: 40px;
	border-radius: 60px;
	font-size: 16px;
	line-height: 39px;
	text-align: center;
	cursor: pointer;
	position: fixed;
	bottom: 40px;
	right: 50%;
	margin-right: -20px;
	display: none;
	opacity: 0.9;
	z-index: 500;
	box-shadow: 0 0 8px rgba(0,0,0,0.8);
}

h4#sidebar_title {
	font-size: 22px;
	display: none;
}

#sidebar_content {
	padding-bottom: 12px;
}

#container {
	margin-top: 60px;
}

#footer_content {
	border-top: 1px solid #DFDFDF;
	padding-top: 4px;
	padding-bottom: 60px;
	margin-top: 40px;
	color: #B3B3B3;
	font-size: 14px;
}

footer a,
footer a:visited {
	color: #5B5B5B;
}


/* ExtraContent */

#extraContent1,
#extraContent2{
	display: none;
}

#extraContent1,
#extraContent2 {
	display: none;
}

#extraContent1,
#extraContent2 {
	margin-bottom: 40px;
}


/* Navigation */

#navigation_bar {
	font-size: 16px;
}

#sub_navigation_bar {
	font-size: 14px;
}

#navigation_stopper {
	z-index: -1;
	display: block;
	position: absolute;
	bottom: 0;
}

#navigation_bar,
#sub_navigation_bar {
	font-family: "Open Sans", sans-serif;
	display: block;
	height: 70px;
	width: 100%;
	z-index: 2;
}

#navigation_bar {
	background-color: rgba(0,0,0,0.8);
	position: absolute;
	bottom: 0;
}

nav#sub_navigation > ul > li {
	display: block;
	width: 100%;
}

nav#sub_navigation ul ul {
	display: block;
}

#sub_navigation_bar {
	background-color: #31556C;
}

nav#top_navigation ul {
}

nav#top_navigation ul,
nav#sub_navigation ul {
	list-style: none;
	margin: 0;
	padding: 0;
	line-height: 70px;
	height: 70px;
	text-align: center;
}

#sub_navigation_bar,
nav#sub_navigation ul {
	line-height: 55px;
	height: 55px;
}

nav#top_navigation ul li,
nav#sub_navigation ul li {
	display: inline-block;
	position: relative;
}

nav#top_navigation ul li a,
nav#sub_navigation ul li a {
	text-decoration: none;
	display: inline-block;
	width: 100%;
	text-align: center;
}

nav#sub_navigation ul li a {
	text-shadow: 0 1px 0 rgba(256,256,256,0.3);
}

nav#top_navigation #current,
nav#top_navigation a:hover,
nav#top_navigation .currentAncestor {
}

nav#sub_navigation #current,
nav#sub_navigation a:hover {
}

nav#top_navigation a.parent::after {
	font-family: "FontAwesome";
	content: "\f105";
	margin-left: 8px;
	line-height: 69px;
	height: 69px;
}


/* Mobile Navigation */

#mobile_navigation_toggle {
  text-align: center;
  padding: 10px 0;
  display: none;
  font-size: 18px;
  cursor: pointer;
}

nav#mobile_navigation {
  width: 100%;
  display: none;
  font-family: "Open Sans", sans-serif;
  font-size: 14px;
  background-color: #fff;
}

nav#mobile_navigation>ul>li a,
nav#mobile_navigation>ul>li:last-child>a {
	border-color: #979797;
}

nav#mobile_navigation a,
nav#mobile_navigation a:visited {
	color: #979797;
}

nav#mobile_navigation>ul>li a {
  border-top: 1px solid;
}

nav#mobile_navigation>ul>li:last-child>a {
  border-bottom: 1px solid;
}

nav#mobile_navigation a,
nav#mobile_navigation a:visited {
  text-decoration: none;
  display: block;
  padding: 0 20px;
  height: 56px;
  line-height: 56px;
}

nav#mobile_navigation>ul>li a,
nav#mobile_navigation>ul>li:last-child>a {
	border-color: #979797;
}

nav#mobile_navigation a,
nav#mobile_navigation a:visited {
	color: #979797;
}
nav#mobile_navigation a:hover,
nav#mobile_navigation a:active {
  background-color: #DBDBDB;
  color: #fff;
}

nav#mobile_navigation ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

nav#mobile_navigation ul ul a {
  padding-left: 30px;
}

nav#mobile_navigation a,
nav#mobile_navigation a:visited {
}

nav#mobile_navigation ul li.hasChild ul li a:before {
  font-family: 'FontAwesome';
  content: '\f105';
  left: 0;
  margin-right: 10px;
}


/* Social Badges */

#social_badges {
	float: right;
  text-align: right;
}

#social_badges a,
#social_badges a:visited {
	border-width: 1px;
	border-style: solid;
	color: #C1C1C1;
  text-decoration: none;
  font-size: 12px;
  border-radius: 4px;
  margin-right: 2px;
  margin-left: 2px;
  margin-bottom: 4px;
  width: 20px;
  height: 20px;
  line-height: 20px;
  display: inline-block;
  font-family: 'FontAwesome';
  text-align: center;
}

#social_badges .twitter:before {
  content: '\f099';
}

#social_badges .facebook:before {
  content: '\f09a';
}

#social_badges .dribbble:before {
  content: '\f17d';
}

#social_badges .github:before {
  content: '\f09b';
}

#social_badges .google-plus:before {
  content: '\f0d5';
}

#social_badges .instagram:before {
  content: '\f16d';
}

#social_badges .linkedin:before {
  content: '\f0e1';
}

#social_badges .skype:before {
  content: '\f17e';
}

#social_badges .tumblr:before {
  content: '\f173';
}

#social_badges .youtube:before {
  content: '\f167';
}

#social_badges .apple:before {
  content: '\f179';
}

#social_badges .windows:before {
  content: '\f17a';
}

#social_badges .xing:before {
  content: '\f168';
}

#social_badges .email:before {
  content: '\f003';
}

#social_badges .vimeo:before {
  content: '\f27d';
}

#social_badges .pinterest:before {
  content: '\f0d2';
}


/* Bread-crumb */

#breadcrumb_container {
	display: none;
}

#breadcrumb_container ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: inline-block;
}

#breadcrumb_container li {
	display: inline-block;
}

#breadcrumb_container a {
	text-decoration: none;
}

#breadcrumb_container a:hover {

}


/* Main content area unordered list styles */

#contentContainer #content ul {

}

#contentContainer #content li {

}

ul.disc {
	list-style-type: disc;
}

ul.circle {
	list-style-type: circle;
}

ul.square {
	list-style-type: square;
}

ol.arabic-numbers {
	list-style-type: decimal;
}

ol.upper-alpha {
	list-style-type: upper-latin;
}

ol.lower-alpha {
	list-style-type: upper-latin;
}

ol.upper-roman {
	list-style-type: upper-roman;
}

ol.lower-roman {
	list-style-type: lower-roman;
}

/* Sidebar area unordered list styles */

#sidebarContainer #sidebar ul {

}

#sidebarContainer #sidebar li {

}

/* Table Styles */

table {

}

/* Blog Entry Topper */

.blogEntryTopperImg {
	width: 100%;
	height: auto;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
}

.blogEntryTopper_wrapper {
	position: relative;
	margin-bottom: 20px;
}



/* Blog */

/* Tag Cloud */

ul.blog-tag-cloud {
	padding: 12px 0;
	margin: 0;
	border-top: 1px solid #DFDFDF;
}

ul.blog-tag-cloud li {
	display: inline;
}

#sidebar ul.blog-tag-cloud li a {
	background-color: #33556A;
	color: #fff;
	padding: 2px 12px;
	border-radius: 24px;
}

#sidebar ul.blog-tag-cloud li a:hover {
}

.blog-tag-size-1 {
}

.blog-tag-size-2 {
}

.blog-tag-size-3 {
}

.blog-tag-size-4 {
}

.blog-tag-size-5 {
}

.blog-tag-size-6 {
}

.blog-tag-size-7 {
}

.blog-tag-size-8 {
}

.blog-tag-size-9 {
}

.blog-tag-size-10 {
}

.blog-tag-size-11 {
}

.blog-tag-size-12 {
}

.blog-tag-size-13 {
}

.blog-tag-size-14 {
}

.blog-tag-size-15 {
}

.blog-tag-size-16 {
}

.blog-tag-size-17 {
}

.blog-tag-size-18 {
}

.blog-tag-size-19 {
}

.blog-tag-size-20 {
}


/* Archive Page */

.blog-archive-background {

}

.blog-entry-summary {

}

.blog-archive-headings-wrapper {

}

.blog-archive-entries-wrapper {

}

.blog-archive-entries-wrapper .blog-entry {

}

.blog-archive-month {

}

.blog-archive-link {

}

.blog-archive-link a:link, .blog-archive-link a:visited {

}

/* Main Blog Stylings */
.blog-entry {
	margin-bottom: 80px;
}

.last-blog-entry {
	margin-bottom: 0px;
}

h1.blog-entry-title {
	font-size: 32px;
	line-height: 38px;
}

h1.blog-entry-title a {
	text-decoration: none;
}

.blog-entry-date {
	margin-bottom: 12px;
}

.blog-entry-date:before {
  content: '\f017';
  font-family: FontAwesome;
  margin-right: 6px;
}

/*styles the category link in the main entry */

.blog-entry-category {

}

.blog-entry-category a:link, .blog-entry-category a:visited {

}

.blog-read-more {
	display: block;
	margin-top: 24px;
}

.blog-entry-body {

}

.blog-entry-comments:before {
  content: '\f0e6';
  font-family: FontAwesome;
  margin-right: 6px;
}

p.blog-entry-tags {

}

/* styles the archives in the blog sidebar */

#blog-archives {
	border-top: 1px solid #DFDFDF;
	padding: 12px 0;
}

.blog-archive-link-enabled {

}

.blog-archive-link-disabled {

}

.blog-archive-link-enabled:before,
.blog-archive-link-disabled:before {
  content: '\f017';
  font-family: FontAwesome;
  margin-right: 6px;
}

/* Styles the blog categories in the blog sidebar */

#archives a,
#archives a:visited {
	text-decoration: none;
}

#blog-categories {
	border-top: 1px solid #DFDFDF;
	padding: 12px 0;
}

.blog-category-link-enabled {

}

.blog-category-link-disabled {

}

.blog-category-link-enabled:before {
  content: '\f0f6';
  font-family: FontAwesome;
  margin-right: 6px;
}

.blog-category-link-disabled:before {
  content: '\f016';
  font-family: FontAwesome;
  margin-right: 6px;
}


/* Styles the blog RSS feeds in the blog sidebar */

#blog-rss-feeds {
	border-top: 1px solid #DFDFDF;
	padding: 12px 0;
}

.blog-rss-link {

}

.blog-comments-rss-link {

}

.blog-rss-link:before {
  content: '\f09e';
  font-family: FontAwesome;
  margin-right: 6px;
}

/* File Sharing */

.filesharing-description {
	margin-bottom: 40px;
}

.filesharing-item {
	margin-bottom: 40px;
}

.filesharing-item-title:before {
  font-family: 'FontAwesome';
  content: '\f0f6';
  margin-right: 5px;
  color: #898989;
}

.filesharing-item-title {
	  font-size: 26px;
	  margin-bottom: 4px;
}

.filesharing-item-title a:hover {

}

.filesharing-item-title a:visited {

}

.filesharing-item-description {

}


/* Photo Album */

/* Index Page (Thumbnail view) */

.album-title {
  font-size: 32px;
  margin-bottom: 20px;
}

.album-description {
  margin-bottom: 40px;
}


.album-wrapper {
}

.thumbnail-wrap {
  float: left;
  margin-right: 10px;
  margin-bottom: 10px;
}

.thumbnail-frame {
}

.thumbnail-frame img {
  border-radius: 4px;
}

.thumbnail-frame a {
}

.thumbnail-frame a:hover {
}

.thumbnail-caption {
  font-size: 10px;
}


/* Single Page (Photo view) */

.photo-background {
	text-align: center;
}

.photo-navigation {
	padding: 20px 0;
	margin-bottom: 60px;
	text-align: center;
}

.photo-links {

}

.photo-navigation a:link, .photo-navigation a:visited {

}

.photo-navigation a:hover {

}

img.photo-frame {
	border-radius: 4px;
}

.photo-title {
	font-size: 24px;
}

.photo-caption {

}

/* EXIF data */

/* Data wrapper */

.exif-data {

}

.exif-data p {

}

/* p tag classes for all exif data */

p.exif-version {

}

p.exif-colour-space {

}

p.exif-focal-length {

}

p.exif-dimensions {

}

p.exif-pixel-y-dimension {

}

p.exif-pixel-x-dimension {

}

p.exif-oecf-value {

}

p.exif-subsec-time-original {

}

p.exif-exposure-mode {

}

p.exif-spatial-frequency-response {

}

p.exif-scene-capture-type {

}

p.exif-subject-location {

}

p.exif-shutter-speed {

}

p.exif-datetime-original {

}

p.exif-subsec-time {

}

p.exif-compressed-bits-per-pixel {

}

p.exif-flash-energy {

}

p.exif-saturation {

}

p.exif-brightness {

}

p.exif-exposure-time {

}

p.exif-f-number {

}

p.exif-file-source {

}

p.exif-gain-control {

}

p.exif-subject-area {

}

p.exif-cfa-pattern {

}

p.exif-scene-type {

}

p.exif-white-balance {

}

p.exif-flash {

}

p.exif-exposure-index {

}

p.exif-flashpix-version {

}

p.exif-device-setting-description {

}

p.exif-focalplane-x-resolution {

}

p.exif-image-uniqueid {

}

p.exif-components-configuration {

}

p.exif-light-source {

}

p.exif-sensing-method {

}

p.exif-aperture {

}

p.exif-sharpness {

}

p.exif-exposure-program {

}

p.exif-subject-distance {

}

p.exif-subsec-time-digitized {

}

p.exif-contrast {

}

p.exif-focalplane-resolution-unit {

}

p.exif-gamma {

}

p.exif-35mm-focal-length {

}

p.exif-datetime-digitized {

}

p.exif-subject-distance-range {

}

p.exif-custom-rendered {

}

p.exif-max-aperture {

}

p.exif-sound-file {

}

p.exif-metering-mode {

}

p.exif-spectral-sensitivity {

}

p.exif-exposure-bias {

}

p.exif-focalplane-y-resolution {

}

p.exif-iso-rating {

}

p.exif-maker-note {

}

p.exif-digital-zoom-ratio {

}

p.exif-user-comment {

}

/* Quicktime Page */

.movie-description {

}


/* Quicktime Album */

/* Index Page (Movie Thumbnail view) */

.movie-page-title {
  font-size: 32px;
  margin-bottom: 20px;
}

.movie-page-description {
	margin-bottom: 40px;
}

.movie-thumbnail-frame {
	padding-bottom: 20px;
	margin-right: 10px;
}

.movie-thumbnail-frame,
.movie-thumbnail-frame img {
	max-width: 200px;
	height: auto;
	float: left;
}

.movie-thumbnail-frame:hover {

}

.movie-thumbnail-caption {
	font-size: 10px;
	line-height: 14px;
}


/* Single Page (Movie View) */

.movie-background {

}

.movie-title {

}

.movie-frame {

}


/* Contact Form */

form {
  margin: 0;
  padding: 0;
}

.message-text {
}

.required-text {
}

.form-input-field {
  width: 95%;
  border-radius: 4px;
  -webkit-box-shadow: none !important;
  -moz-box-shadow: none !important;
  box-shadow: none !important;
  padding: 8px 10px;
  border: 1px solid #CCCCCC;
  transition-duration: 400ms;
  transition-property: border-color;
}

.form-input-field:focus {
  outline: 0;
  border-width: 1px
  border-style: solid;
}

.form-input-button {
  border: 1px solid #CCCCCC;
  color: #6A6A6A;
  border-radius: 4px;
  padding: 8px 20px;
  cursor: pointer;
  margin-right: 2px;
  transition-duration: 200ms;
  transition-property: border-color, background-color, color;
}

.form-input-button:hover {
}

/* Sitemap */

.rw-sitemap ul {

}

.rw-sitemap ul li {

}

.rw-sitemap ul li:last-child {

}

.rw-sitemap ul li li {

}

.rw-sitemap ul li li:last-child {

}

.rw-sitemap ul ul {

}

.rw-sitemap ul ul ul {

}


/* Blog Comments */

/* These groups are used to forcibly over-ride the styles that Disqus and JS-KIT comments apply that break page layouts. It's likely you'll need to use them, however they're not ideal solutions and may not work in the future if the comment providers' Javascript-inserted markup changes. */

/* Disqus */

#dsq-comments-title {
	clear: none !important;
}

#dsq-content .dsq-options {
	clear: none !important;
}

#dsq-thread-settings {
	clear: none !important;
}

#dsq-content div {
	clear: none !important;
}

.dsq-login-buttons li {
	clear: none !important;
	margin-bottom: 25px!important;
}

.dsq-button {
	float: none ! important;
}


/* JS-Kit Override */

.js-singleCommentBodyT {
	display: block;
	padding-top: 17px !important;

}

.js-singleCommentHeader {
	padding: 0 8px !important;
}

.js-OldComments,
.js-commentFieldLabel,
.js-pmFieldLabel,
.js-singleCommentBody,
.js-singleCommentKarmaComMod,
.js-commentBodyLabel,
.js-commentCmtTextarea,
.js-commentAvatarArea,
.js-OldCommentsWrap,
.js-OldComments,
.js-CreateCommentFieldsWrap,
.js-CreateCommentFields,
.js-commentCmtTextarea,
.js-kit-comments div {
	clear: none !important;
}

.js-singleCommentText {
	display: block !important;
	clear: both !important;
}

.js-kit-comments br {
	display: none !important;
}

.js-singleCommentBody br {
	display: block !important;
}



/* Magnific Popup CSS */

.mfp-bg {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
  overflow: hidden;
  position: fixed;
  background: #0b0b0b;
  opacity: 0.8;
  filter: alpha(opacity=80);
}

.mfp-wrap {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10001;
  position: fixed;
  outline: none !important;
  -webkit-backface-visibility: hidden;
}

.mfp-container {
  text-align: center;
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  padding: 0 8px;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

.mfp-container:before {
  content: '';
  display: inline-block;
  height: 100%;
  vertical-align: middle;
}

.mfp-align-top .mfp-container:before {
  display: none
}

.mfp-content {
  position: relative;
  display: inline-block;
  vertical-align: middle;
  margin: 0 auto;
  text-align: left;
  z-index: 1045;
}

.mfp-inline-holder .mfp-content,
.mfp-ajax-holder .mfp-content {
  width: 100%;
  cursor: auto;
}

.mfp-ajax-cur {
  cursor: progress
}

.mfp-zoom-out-cur,
.mfp-zoom-out-cur .mfp-image-holder .mfp-close {
    cursor: pointer;
}

.mfp-zoom {
  cursor: pointer;
}

.mfp-auto-cursor .mfp-content {
  cursor: auto
}

.mfp-close,
.mfp-arrow,
.mfp-preloader,
.mfp-counter {
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
}

.mfp-loading.mfp-figure {
  display: none
}

.mfp-hide {
  display: none !important
}

.mfp-preloader {
  color: #cccccc;
  position: absolute;
  top: 50%;
  width: auto;
  text-align: center;
  margin-top: -0.8em;
  left: 8px;
  right: 8px;
  z-index: 1044;
}

.mfp-preloader a {
  color: #cccccc
}

.mfp-preloader a:hover {
  color: white
}

.mfp-s-ready .mfp-preloader {
  display: none
}

.mfp-s-error .mfp-content {
  display: none
}

button.mfp-close,
button.mfp-arrow {
  overflow: visible;
  cursor: pointer;
  background: transparent;
  border: 0;
  -webkit-appearance: none;
  display: block;
  outline: none;
  padding: 0;
  z-index: 1046;
  -webkit-box-shadow: none;
  box-shadow: none;
}

button::-moz-focus-inner {
  padding: 0;
  border: 0;
}

.mfp-close {
  width: 44px;
  height: 44px;
  line-height: 44px;
  position: absolute;
  right: 0;
  top: 0;
  text-decoration: none;
  text-align: center;
  opacity: 0.65;
  filter: alpha(opacity=65);
  padding: 0 0 18px 10px;
  color: white;
  font-style: normal;
  font-size: 28px;
  font-family: Arial, Baskerville, monospace;
}

.mfp-close:hover,
.mfp-close:focus {
  opacity: 1;
  filter: alpha(opacity=100);
}

.mfp-close:active {
  top: 1px
}

.mfp-close-btn-in .mfp-close {
  color: #333333
}

.mfp-image-holder .mfp-close,
.mfp-iframe-holder .mfp-close {
  color: white;
  right: -6px;
  text-align: right;
  padding-right: 6px;
  width: 100%;
}

.mfp-counter {
  position: absolute;
  top: 0;
  right: 0;
  color: #cccccc;
  font-size: 12px;
  line-height: 18px;
}

.mfp-arrow {
  position: absolute;
  opacity: 0.65;
  filter: alpha(opacity=65);
  margin: 0;
  top: 50%;
  margin-top: -55px;
  padding: 0;
  width: 90px;
  height: 110px;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

.mfp-arrow:active {
  margin-top: -54px
}

.mfp-arrow:hover,
.mfp-arrow:focus {
  opacity: 1;
  filter: alpha(opacity=100);
}

.mfp-arrow:before,
.mfp-arrow:after,
.mfp-arrow .mfp-b,
.mfp-arrow .mfp-a {
  content: '';
  display: block;
  width: 0;
  height: 0;
  position: absolute;
  left: 0;
  top: 0;
  margin-top: 35px;
  margin-left: 35px;
  border: medium inset transparent;
}

.mfp-arrow:after,
.mfp-arrow .mfp-a {
  border-top-width: 13px;
  border-bottom-width: 13px;
  top: 8px;
}

.mfp-arrow:before,
.mfp-arrow .mfp-b {
  border-top-width: 21px;
  border-bottom-width: 21px;
  opacity: 0.7;
}

.mfp-arrow-left {
  left: 0
}

.mfp-arrow-left:after,
.mfp-arrow-left .mfp-a {
  border-right: 17px solid white;
  margin-left: 31px;
}

.mfp-arrow-left:before,
.mfp-arrow-left .mfp-b {
  margin-left: 25px;
  border-right: 27px solid #3f3f3f;
}

.mfp-arrow-right {
  right: 0
}

.mfp-arrow-right:after,
.mfp-arrow-right .mfp-a {
  border-left: 17px solid white;
  margin-left: 39px;
}

.mfp-arrow-right:before,
.mfp-arrow-right .mfp-b {
  border-left: 27px solid #3f3f3f
}

.mfp-iframe-holder {
  padding-top: 40px;
  padding-bottom: 40px;
}

.mfp-iframe-holder .mfp-content {
  line-height: 0;
  width: 100%;
  max-width: 900px;
}

.mfp-iframe-holder .mfp-close {
  top: -40px
}

.mfp-iframe-scaler {
  width: 100%;
  height: 0;
  overflow: hidden;
  padding-top: 56.25%;
}

.mfp-iframe-scaler iframe {
  position: absolute;
  display: block;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
  background: black;
}

/* Main image in popup */

img.mfp-img {
  width: auto;
  max-width: 100%;
  height: auto;
  display: block;
  line-height: 0;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  padding: 40px 0 40px;
  margin: 0 auto;
}

/* The shadow behind the image */

.mfp-figure {
  line-height: 0
}

.mfp-figure:after {
  content: '';
  position: absolute;
  left: 0;
  top: 40px;
  bottom: 40px;
  display: block;
  right: 0;
  width: auto;
  height: auto;
  z-index: -1;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
  background: #444444;
}

.mfp-figure small {
  color: #bdbdbd;
  display: block;
  font-size: 12px;
  line-height: 14px;
}

.mfp-figure figure {
  margin: 0
}

.mfp-bottom-bar {
  margin-top: -36px;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  cursor: auto;
}

.mfp-title {
  text-align: left;
  line-height: 18px;
  color: #f3f3f3;
  word-wrap: break-word;
  padding-right: 36px;
}

.mfp-image-holder .mfp-content {
  max-width: 100%
}

.mfp-gallery .mfp-image-holder .mfp-figure {
  cursor: pointer
}

@media screen and (max-width: 800px) and (orientation: landscape), screen and (max-height: 300px) {
	/**
	       * Remove all paddings around the image on small screen
	       */

	.mfp-img-mobile .mfp-image-holder {
	  padding-left: 0;
	  padding-right: 0;
	}

	.mfp-img-mobile img.mfp-img {
	  padding: 0
	}

	.mfp-img-mobile .mfp-figure:after {
	  top: 0;
	  bottom: 0;
	}

	.mfp-img-mobile .mfp-figure small {
	  display: inline;
	  margin-left: 5px;
	}

	.mfp-img-mobile .mfp-bottom-bar {
	  background: rgba(0, 0, 0, 0.6);
	  bottom: 0;
	  margin: 0;
	  top: auto;
	  padding: 3px 5px;
	  position: fixed;
	  -webkit-box-sizing: border-box;
	  -moz-box-sizing: border-box;
	  box-sizing: border-box;
	}

	.mfp-img-mobile .mfp-bottom-bar:empty {
	  padding: 0
	}

	.mfp-img-mobile .mfp-counter {
	  right: 5px;
	  top: 3px;
	}

	.mfp-img-mobile .mfp-close {
	  top: 0;
	  right: 0;
	  width: 35px;
	  height: 35px;
	  line-height: 35px;
	  background: rgba(0, 0, 0, 0.6);
	  position: fixed;
	  text-align: center;
	  padding: 0;
	}
}

@media all and (max-width: 900px) {
	.mfp-arrow {
	  -webkit-transform: scale(0.75);
	  transform: scale(0.75);
	}

	.mfp-arrow-left {
	  -webkit-transform-origin: 0;
	  transform-origin: 0;
	}

	.mfp-arrow-right {
	  -webkit-transform-origin: 100%;
	  transform-origin: 100%;
	}

	.mfp-container {
	  padding-left: 6px;
	  padding-right: 6px;
	}
}

.mfp-ie7 .mfp-img {
  padding: 0
}

.mfp-ie7 .mfp-bottom-bar {
  width: 600px;
  left: 50%;
  margin-left: -300px;
  margin-top: 5px;
  padding-bottom: 5px;
}

.mfp-ie7 .mfp-container {
  padding: 0
}

.mfp-ie7 .mfp-content {
  padding-top: 44px
}

.mfp-ie7 .mfp-close {
  top: 0;
  right: 0;
  padding-top: 0;
}

/* Animations */
.tesla_pro_animated {
  -webkit-animation-duration: 2.85s;
          animation-duration: 2.85s;
  -webkit-animation-fill-mode: both;
          animation-fill-mode: both;
}

.tesla_pro_animated.infinite {
  -webkit-animation-iteration-count: infinite;
          animation-iteration-count: infinite;
}

@-webkit-keyframes tesla_pro_bounce {
  0%, 10%, 27%, 40%, 50% {
    -webkit-transition-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
            transition-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
    -webkit-transform: translate3d(0,0,0);
            transform: translate3d(0,0,0);
  }

  20%, 22% {
    -webkit-transition-timing-function: cubic-bezier(0.755, 0.050, 0.855, 0.060);
            transition-timing-function: cubic-bezier(0.755, 0.050, 0.855, 0.060);
    -webkit-transform: translate3d(0, -30px, 0);
            transform: translate3d(0, -30px, 0);
  }

  35% {
    -webkit-transition-timing-function: cubic-bezier(0.755, 0.050, 0.855, 0.060);
            transition-timing-function: cubic-bezier(0.755, 0.050, 0.855, 0.060);
    -webkit-transform: translate3d(0, -15px, 0);
            transform: translate3d(0, -15px, 0);
  }

  45% {
    -webkit-transform: translate3d(0,-4px,0);
            transform: translate3d(0,-4px,0);
  }
}

@keyframes tesla_pro_bounce {
  0%, 10%, 27%, 40%, 50% {
    -webkit-transition-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
            transition-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
    -webkit-transform: translate3d(0,0,0);
            transform: translate3d(0,0,0);
  }

  20%, 22% {
    -webkit-transition-timing-function: cubic-bezier(0.755, 0.050, 0.855, 0.060);
            transition-timing-function: cubic-bezier(0.755, 0.050, 0.855, 0.060);
    -webkit-transform: translate3d(0, -30px, 0);
            transform: translate3d(0, -30px, 0);
  }

  35% {
    -webkit-transition-timing-function: cubic-bezier(0.755, 0.050, 0.855, 0.060);
            transition-timing-function: cubic-bezier(0.755, 0.050, 0.855, 0.060);
    -webkit-transform: translate3d(0, -15px, 0);
            transform: translate3d(0, -15px, 0);
  }

  45% {
    -webkit-transform: translate3d(0,-4px,0);
            transform: translate3d(0,-4px,0);
  }
}

.tesla_pro_bounce {
  -webkit-animation-name: tesla_pro_bounce;
          animation-name: tesla_pro_bounce;
  -webkit-transform-origin: center bottom;
      -ms-transform-origin: center bottom;
          transform-origin: center bottom;
	 -webkit-animation-delay: 4s;
  	 	 -ms-animation-delay: 4s;
	         animation-delay: 4s;
}
