/*
Theme Name: Portfolio
Author: Maximilian Walter
Author URI: https://www.max-walter.net/
Description: Custom WordPress-theme for photographers
Version: 1.0
*/

/**
 * Reset
 *
 * Modified from Normalize.css to provide cross-browser consistency and a smart
 * default styling of HTML elements.
 *
 * @see http://git.io/normalize
 * ----------------------------------------------------------------------------
 */

article,
aside,
details,
figcaption,
figure,
footer,
header,
nav,
section,
summary {
	display: block;
}

[hidden] {
	display: none;
}

html {
	height: 100%;
	font-size: 100%;
	overflow-y: scroll;
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust: 100%;
	-webkit-font-smoothing: antialiased;
}

html,
button,
input,
textarea {
	font-family: var(--font-body);
}

body {
	background: #fff;
	color: #535353;
	line-height: 1.5;
	margin: 0;
}

a {
	position: relative;
}

a::after {
	background: #888;
	position: absolute;
	top: 100%;
	left: 0;
	content: '';
	width: 100%;
	height: 1px;
	opacity: 0;
	transition: opacity 0.3s, transform 0.3s;
	-moz-transition: opacity 0.3s, -moz-transform 0.3s;
	-webkit-transition: opacity 0.3s, -webkit-transform 0.3s;
	transform: translateY(-5px);
	-moz-transform: translateY(-5px);
	-webkit-transform: translateY(-5px);
}

a:link,
a:visited {
	color: #333;
	text-decoration: none;
}

a:focus {
	outline: thin dotted;
}

a:active,
a:hover {
	outline: 0;
}

a:hover::after,
a:focus::after,
.active a::after,
.current-menu-item a::after,
.current-menu-parent a::after {
	opacity: 1;
	transform: translateY(0px);
	-moz-transform: translateY(0px);
	-webkit-transform: translateY(0px);
}

h1, h2 {
	color: #333;
	font-family: var(--font-headline);
	font-weight: normal;
}

h1 {
	font-size: 40px;
	line-height: 48px;
	margin: 13px 0 0 0;
}

h2 {
	font-size: 30px;
	margin: 25px 0;
}

address {
	font-style: normal;
	margin: 0 0 24px;
}

b,
strong {
	font-weight: bold;
}

p, ol, ul {
	font-size: 15px;
	line-height: 20px;
	margin: 0 0 24px;
}

ol,
ul {
	padding: 0 0 0 40px;
}

ul {
	list-style-type: square;
}

nav ul,
nav ol {
	list-style: none;
}

li > ul,
li > ol {
	margin: 0;
}

img {
	-ms-interpolation-mode: bicubic;
	border: 0;
	vertical-align: middle;
}

form {
	margin: 0;
}

button,
input,
textarea {
	font-size: 100%;
	margin: 0;
	max-width: 100%;
	vertical-align: baseline;
}

button,
input {
	line-height: normal;
}

button,
html input[type="button"],
input[type="submit"] {
	-webkit-appearance: button;
	cursor: pointer;
}

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

textarea {
	overflow: auto;
	vertical-align: top;
}


/**
 * Repeatable Patterns
 * ----------------------------------------------------------------------------
 */

.cf:before,
.cf:after {
	content: " ";
	display: table;
}

.cf:after {
	clear: both;
}


/**
 * Basic Structure
 * ----------------------------------------------------------------------------
 */

.site-main {
	padding-top: 66px;
	position: relative;
}


/**
 * Site Header
 * ----------------------------------------------------------------------------
 */

.site-header {
	background: #fff;
	height: 66px;
	left: 0;
	position: fixed;
	top: 0;
	width: 100%;
	z-index: 100010;
}

.site-header-inner {
	margin: 0 auto;
	max-width: 1520px;
	position: relative;
}

.site-title {
	color: #999 !important;
	color: rgba(0, 0, 0, 0.35) !important;
	display: block;
	font-family: var(--font-headline);
	font-size: 18px;
	float: left;
	margin: 21px 0 0 5.263%;
}


/**
 * Navigation
 * ----------------------------------------------------------------------------
 */

.main-navigation {
	float: right;
	margin: 22px 5.263% 0 0;
}

.main-navigation ul {
	margin: 0;
	padding: 0;
}

.main-navigation li {
	float: left;
	margin-left: 35px;
	margin-right: -2px;
}

.main-navigation a {
	color: #555;
	font-size: 16px;
	text-transform: uppercase;
}

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

#menu-item-64.current-menu-item a::after {
	opacity: 0;
}

#menu-item-64.current-menu-item.portfolio-active a::after {
	opacity: 1;
}

#menu-item-64.current-menu-item:hover a::after {
	opacity: 1;
}

.mobile-menu-button {
	float: right;
	display: none;
	margin: 29px 5.263% 0 0;
}

.mobile-menu-button::after {
	display: none;
}

.mobile-menu-button span {
	background: url('images/dm-sprite.png') -15px -15px no-repeat;
	display: inline-block;
	float: right;
	height: 16px;
	text-indent: 100%;
	white-space: nowrap;
	width: 19px;
	overflow: hidden;
	-webkit-transition: background-position 500ms;
	-moz-transition: background-position 500ms;
	-o-transition: background-position 500ms;
	transition: background-position 500ms;
}

.mobile-menu-button.open span {
	background-position: -15px -57px;
}


/**
 * Content
 * ----------------------------------------------------------------------------
 */

.site-content {
	margin: 0 auto;
	max-width: 1520px;
	padding-top: 11px;
}

.site-content > * {
	margin: 0 5.263%;
}

.site-content h2 {
	clear: both;
	font: 15px/20px var(--font-body);
	margin: 0 0 24px;
}

.site-content p,
.site-content ul,
.site-content ol {
	color: #666;
}

.site-content .smaller > * {
	color: #888;
	font-size: 86%;
}

.site-content .smaller h2,
.site-content .smaller p {
	margin-bottom: 15px;
}


/**
 * Home
 * ----------------------------------------------------------------------------
 */

.home .site-content,
.single-mwportfolio_slider .site-content {
	left: 0;
	margin: 66px 0;
	position: fixed;
	padding: 0;
	top: 0;
	max-width: 100%;
	width: 100%;
}

.home .site-content > *,
.single-mwportfolio_slider .site-content > * {
	margin: 0 0 66px 0;
}

#home-content {
	margin: 0 auto;
	max-width: 1520px;
}

#home-slider-container {
	margin: 0 5.263%;
	padding: 0;
	position: relative;
}

#home-slider-container .fotorama {
	padding: 0;
}

#home-slider-container .fotorama__html {
	z-index: 15;
}

#home-slider-container .fotorama__html div,
#home-slider-container .fotorama__html a {
	display: block;
	height: 100%;
}

#home-slider-container .fotorama__caption {
	font-family: var(--font-headline);
	height: 100%;
	left: 0;
	position: absolute;
	top: 0;
	width: 100%;
	display: none;
}

#home-slider-container .fotorama__loaded .fotorama__caption {
	display: table;
}

#home-slider-container .fotorama__caption > * {
	background: none;
	color: #fff;
	font-size: 40px;
	line-height: 40px;
	max-width: 400px;
	padding: 0 5.263%;
	text-align: center;
	display: table-cell;
	vertical-align: middle;
}


/**
 * Portfolio
 * ----------------------------------------------------------------------------
 */

.portfolio {
	background: #fff;
	position: relative;
	z-index: 100000;
}

.appleios .portfolio {
	-webkit-transform: translate3d(0, 0, 0);
}

.portfolio-inner {
	margin: 0 auto;
	max-width: 1520px;
	min-height: 1000px;
	padding-bottom: 200px;
	padding-top: 130px;
	position: relative;
}

.portfolio-header {
	background: #fff;
	max-width: 1520px;
	padding: 25px 0 22px 0;
	position: absolute;
	top: 0;
	width: 100%;
	z-index: 1;
	-webkit-transform: translate3d(0, 0, 0);
	-ms-transform: translate3d(0, 0, 0);
	transform: translate3d(0, 0, 0);
}

.ipad .portfolio-header {
	position: -webkit-sticky;
	position: -moz-sticky;
	position: -ms-sticky;
	position: -o-sticky;
	position: sticky;
	top: 66px;
}

.ipad .portfolio-inner {
	padding-top: 0;
}

.portfolio h1 {
	margin: 0 5.263% 8px 5.263%;
}

.portfolio-navigation {
	margin: 0 5.263%;
}

.portfolio-navigation ul {
	margin: 0;
	padding: 0;
}

.portfolio-navigation li {
	float: left;
	margin: 0 25px 5px 0;
}

.portfolio-navigation a {
	color: #555;
	font-size: 14px;
}

.portfolio-category {
	-webkit-transform: translate3d(0, 0, 0);
}

.portfolio-item {
	float: left;
	margin: 0 0 5.263% 5.263%;
	width: 26.316%;
}

.portfolio-item:nth-child(3n+1) {
	clear: both;
}

.portfolio-item .image::after {
	display: none;
}

.portfolio-item img {
	background: url('images/loading.gif') center center no-repeat;
	display: block;
	max-width: 100%;
	height: auto;
}

.portfolio-item h2 {
	font-size: 18px;
	margin: 14px 0 3px 0;
}

.portfolio-item p {
	color: #666;
	font-size: 13px;
	margin: 0;
}


/**
 * Detail
 * ----------------------------------------------------------------------------
 */

.site-content article {
	padding-bottom: 14px;
}

.entry-title.fixed {
	background: #fff;
	height: 81px;
	left: 0;
	position: fixed;
	top: 66px;
	width: 100%;
	z-index: 10;
}

.entry-title-inner {
	margin: 0 auto;
	max-width: 1520px;
}

.entry-title h1 {
	margin-bottom: 20px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.entry-title.fixed h1 {
	margin: 25px 5.263% 0 5.263%;
}

.entry-title a::after {
	top: 95%;
}

.entry-content {
	margin-top: 121px;
	position: relative;
}

.entry-content p {
	max-width: 891px;
}

.entry-content img {
	max-width: 100%;
	height: auto;
}

.entry-category {
	padding-bottom: 22px;
	position: fixed;
	top: 147px;
	background: #fff;
	z-index: 10;
	width: 100%;
}

.entry-category ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.entry-category li {
	float: left;
	margin: 0 25px 0 0;
}

.entry-category a {
	color: #555;
	font-size: 14px;
}

.archive .entry-content {
	margin-top: 0;
}

.page .entry-content {
	margin-top: 81px;
}

.single-format-gallery .post {
	margin-right: 2.6315%;
}

.single-format-gallery .entry-category {
	padding-bottom: 27px;
}

.single-format-gallery .entry-content > p {
	float: left;
	margin-right: 2.857142857142857%;
	margin-bottom: 2.857142857142857%;
	margin-top: -4px;
	width: 17.14285714285714%;
}

.single-format-gallery .entry-gallery {
	float: left;
	width: 80%;
}

.single-format-gallery .entry-gallery .gallery-item {
	visibility: hidden;
}

.single-format-gallery .entry-gallery.ready .gallery-item {
	visibility: visible;
}

.single-format-gallery .entry-gallery.loading:before {
	background: url('images/loading.gif') center center no-repeat;
	content: '';
	display: block;
	height: 150px;
	width: 100%;
	z-index: 10000;
}

.single-format-gallery .entry-gallery > * {
	width: 21.67857142857143%;
	margin-right: 3.321428571428571%;
	margin-bottom: 3.571428571428571%;
}

.single-format-gallery .gallery-item img {
	display: block;
}

.gallery-item a::after {
	display: none;
}

.fotorama-active {
	height: 100%;
	overflow: hidden;
}

.fotorama-overlay {
	background: #fff;
	height: 100%;
	left: 0;
	position: absolute;
	top: 0;
	width: 100%;
	z-index: 100200;
}

.fotorama-container {
	margin: 0 auto;
	max-width: 1520px;
}

.fotorama-meta {
	margin: 0 auto;
	max-width: 1520px;
	height: 66px;
}

.fotorama-title {
	color: #999;
	color: rgba(0, 0, 0, 0.35);
	display: block;
	font-family: var(--font-headline);
	font-size: 18px;
	float: left;
	margin: 21px 0 0 5.263%;
}

.fotorama-title a {
	color: #999 !important;
	color: rgba(0, 0, 0, 0.35) !important;
}

.fotorama-title .spacer {
	padding: 0 15px;
}

.fotorama-close {
	color: #555;
	float: right;
	font-size: 16px;
	margin: 23px 5.263% 0 0;
	text-transform: uppercase;
}

.fotorama-close .icon {
	background: url('images/dm-sprite.png') -15px -57px no-repeat;
	display: inline-block;
	height: 14px;
	text-indent: 100%;
	margin: 0 0 -1px 2px;
	overflow: hidden;
	width: 19px;
	white-space: nowrap;
	z-index: 10000;
}

.fotorama-caption {
	bottom: 22px;
	font-size: 14px;
	left: 0;
	text-align: center;
	position: absolute;
	width: 100%;
}

.fotorama-caption .fotorama-position {
	padding-right: 11px;
}

.fotorama-caption .spacer {
	padding: 0 11px;
}

.fotorama {
	padding: 0 5.263%;
}

.fotorama__arr {
	background: url('images/dm-sprite.png') !important;
}

.fotorama__arr--prev {
	background-position: -8px -220px !important;
}

.fotorama__arr--next {
	background-position: -8px -264px !important;
}

.more-link:link,
.more-link:visited {
	color: #666;
}

/* Images */
.wp-caption-text {
	font-style: italic;
	margin: 8px 0;
}

.alignleft,
.alignright {
	max-width: 100%;
}

.alignleft {
	float: left;
}

.alignright {
	float: right;
}

.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

img.alignleft {
	margin: 5px 33px 5px 0;
}

.wp-caption.alignleft {
	margin: 5px 10px 5px 0;
}

img.alignright {
	margin: 5px 0 5px 33px;
}

.wp-caption.alignright {
	margin: 5px 0 5px 10px;
}

img.aligncenter {
	margin: 5px auto;
}

img.alignnone {
	margin: 5px 0;
}


/**
 * List
 * ----------------------------------------------------------------------------
 */

.nav-previous,
.nav-next {
	display: inline-block;
	margin-bottom: 50px;
	margin-top: 100px;
}

.nav-previous .arrow,
.nav-next .arrow {
	background: url('images/dm-sprite.png');
	display: inline-block;
	width: 35px;
	height: 32px;
	position: relative;
	top: 10px;
}

.nav-previous {
	margin-right: 75px;
}

.nav-previous .arrow {
	background-position: -8px -220px;
}

.nav-next .arrow {
	background-position: -8px -264px;
}


/**
 * Contact
 * ----------------------------------------------------------------------------
 */
#contact-form {
	float: left;
	margin: 0 35px 24px 0;
	max-width: 428px;
	width: 50%;
}

#contact-form fieldset {
	border: none;
	padding: 0;
}

#contact-form input,
#contact-form textarea {
	background: #f0f0f0;
	border: none;
	box-sizing: border-box;
	color: #888;
	display: block;
	font: 15px/17px Kameron, sans-serif;
	margin: 0 0 11px 0;
	padding: 5px;
	width: 100%;
}

#contact-form textarea {
	height: 150px;
	resize: none;
}

#contact-form button {
	background: #fff;
	border: 1px solid #888;
	float: right;
	padding: 10px 24px;
}

#contact-form button:hover,
#contact-form button:focus {
	background: #888;
	color: #fff;
}


/**
 * Share-Buttons
 * ----------------------------------------------------------------------------
 */

.share-buttons {
	position: fixed;
	left: 50%;
	top: 142px;
	width: 50%;
	z-index: 10;
}

.share-buttons-inner {
	margin: 0 auto;
	max-width: 760px;
	text-align: right;
}

.share-buttons a {
	background-image: url('images/social-btn.png');
	display: inline-block;
	height: 30px;
	opacity: 0.5;
	overflow: hidden;
	margin-left: 10px;
	text-indent: 100%;
	width: 30px;
	z-index: 10;
	-webkit-transition: opacity 250ms;
	-moz-transition: opacity 250ms;
	-ms-transition: opacity 250ms;
	-o-transition: opacity 250ms;
	transition: opacity 250ms;
}

.share-buttons a:hover,
.share-buttons a:focus {
	opacity: 1;
}

.share-buttons a::after {
	opacity: 0;
}

.share-buttons a.facebook {
	background-position: -30px 0;
}

.share-buttons a:last-child {
	margin-right: 10.526%;
}


/**
 * Media-Queries
 * ----------------------------------------------------------------------------
 */

/* Tablet */
@media screen and (max-width: 949px) {
	.portfolio-item {
		width: 42.1055%;
	}

	.portfolio-item:nth-child(3n+1) {
		clear: none;
	}

	.portfolio-item:nth-child(2n+1) {
		clear: both;
	}

	.single-format-gallery .post {
		margin-right: 0;
	}

	.single-format-gallery .entry-content p {
		width: 22.05882352941177%;
		margin-right: 2.941176470588235%;
	}

	.single-format-gallery .entry-gallery {
		width: 75%;
	}

	.single-format-gallery .entry-gallery > * {
		width: 26.77777777777778%;
		margin-right: 6.555555555555556%;
		margin-bottom: 6.555555555555556%;
	}
}

/* Smartphone */
@media screen and (max-width: 624px) {
	h1 {
		font-size: 26px;
		line-height: 30px;
	}

	.main-navigation {
		display: none;
		float: none;
		width: 100%;
		background: #fff;
		position: absolute;
		top: 66px;
		margin: 0;
		padding-bottom: 10px;
	}

	.main-navigation > div {
		padding: 0 5.263%;
	}

	.main-navigation li {
		border-top: 1px solid #d0d0d0;
		float: none;
		margin: 0 -10px;
	}

	.main-navigation li.current-menu-item,
	.main-navigation li.current-menu-parent,
	.main-navigation li:hover {
		background: #d0d0d0;
		border-bottom: none;
	}

	.touch .main-navigation li:hover {
		background: inherit;
	}

	.touch .main-navigation li.current-menu-item:hover {
		background: #d0d0d0;
	}

	.main-navigation a {
		display: block;
		padding: 25px 10px 22px 10px;
	}

	.main-navigation a::after {
		display: none;
	}

	.mobile-menu-button {
		display: block;
	}

	.entry-category {
		margin-top: -9px;
	}

	.single-format-gallery .entry-content > p {
		float: none;
		width: 94.44444444444445%;
	}

	.single-format-gallery .entry-gallery {
		float: none;
		width: 100%;
	}

	.single-format-gallery .entry-gallery > * {
		width: 44.44444444444444%;
		margin-right: 5.555555555555556%;
		margin-bottom: 5.555555555555556%;
	}

	#home-slider-container .fotorama__caption > * {
		font-size: 20px;
		line-height: 20px;
	}

	.ipad .portfolio-header {
		top: 39px;
	}

	.portfolio-item h2 {
		font-size: 14px;
		line-height: 18px;
	}

	.portfolio-item p {
		display: none;
	}

	.fotorama-title .title,
	.fotorama-title .spacer {
		display: none;
	}

	.fotorama-caption .gallery-title {
		display: none;
	}

	.fotorama-close {
		margin-top: 25px;
	}

	.fotorama-close .text {
		display: none;
	}

	.fotorama {
		padding: 0;
	}

	#contact-form {
		margin: 0 0 24px 0;
		max-width: 100%;
		width: 100%;
	}

	.site-content {
		padding-top: 0;
	}

	.entry-title.fixed {
		height: auto;
		position: static;
	}

	.entry-title h1,
	.entry-title.fixed h1 {
		margin: 0 0 22px 0;
	}

	.entry-category {
		position: static;
	}

	.entry-content,
	.page .entry-content {
		margin-top: 0;
	}

	.share-buttons {
		top: 104px;
		position: absolute;
	}
}

@media (-webkit-min-device-pixel-ratio: 1.5), (min-resolution: 144dppx) {
	.fotorama-close .icon,
	.mobile-menu-button span,
	.nav-next,
	.nav-previous,
	.fotorama__arr {
		background-image: url('images/dm-sprite@2x.png') !important;
		background-size: 49px 301px;
	}

	.share-buttons a {
		background-image: url('images/social-btn@2x.png') !important;
		background-size: 60px 30px;
	}
}


/**
 * animate.css
 * ----------------------------------------------------------------------------
 */

.animated {
	-webkit-animation-fill-mode: both;
	-moz-animation-fill-mode: both;
	-ms-animation-fill-mode: both;
	-o-animation-fill-mode: both;
	animation-fill-mode: both;
	-webkit-animation-duration: 1s;
	-moz-animation-duration: 1s;
	-ms-animation-duration: 1s;
	-o-animation-duration: 1s;
	animation-duration: 1s;
}

.animated.hinge {
	-webkit-animation-duration: 1s;
	-moz-animation-duration: 1s;
	-ms-animation-duration: 1s;
	-o-animation-duration: 1s;
	animation-duration: 1s;
}

@-webkit-keyframes fadeIn {
	0% {
		opacity: 0;
	}
	100% {
		opacity: 1;
	}
}

@-moz-keyframes fadeIn {
	0% {
		opacity: 0;
	}
	100% {
		opacity: 1;
	}
}

@-o-keyframes fadeIn {
	0% {
		opacity: 0;
	}
	100% {
		opacity: 1;
	}
}

@keyframes fadeIn {
	0% {
		opacity: 0;
	}
	100% {
		opacity: 1;
	}
}

.fadeIn {
	-webkit-animation-name: fadeIn;
	-moz-animation-name: fadeIn;
	-o-animation-name: fadeIn;
	animation-name: fadeIn;
}

@-webkit-keyframes fadeOut {
	0% {
		opacity: 1;
	}
	100% {
		opacity: 0;
	}
}

@-moz-keyframes fadeOut {
	0% {
		opacity: 1;
	}
	100% {
		opacity: 0;
	}
}

@-o-keyframes fadeOut {
	0% {
		opacity: 1;
	}
	100% {
		opacity: 0;
	}
}

@keyframes fadeOut {
	0% {
		opacity: 1;
	}
	100% {
		opacity: 0;
	}
}

.fadeOut {
	-webkit-animation-name: fadeOut;
	-moz-animation-name: fadeOut;
	-o-animation-name: fadeOut;
	animation-name: fadeOut;
}


/**
 * Fotorama
 * ----------------------------------------------------------------------------
 */

.fotorama__stage__shaft,
.fotorama__stage__frame,
.fotorama__html,
.fotorama__video iframe {
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	right: 0;
	left: 0;
	bottom: 0;
}

.fotorama--fullscreen,
.fotorama__img {
	max-width: 99999px !important;
	max-height: 99999px !important;
	min-width: 0 !important;
	min-height: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	padding: 0 !important;
}

.fotorama__wrap .fotorama__grab {
	cursor: move;
	cursor: -webkit-grab;
	cursor: -moz-grab;
	cursor: -o-grab;
	cursor: -ms-grab;
	cursor: grab;
}

.fotorama__grabbing * {
	cursor: move;
	cursor: -webkit-grabbing;
	cursor: -moz-grabbing;
	cursor: -o-grabbing;
	cursor: -ms-grabbing;
	cursor: grabbing;
}

.fotorama__img,
.fotorama__oooo {
	position: absolute !important;
	top: 50% !important;
	left: 50% !important;
}

.fotorama__img {
	margin: -50% 0 0 -50%;
	width: 100%;
	height: 100%;
}

.fotorama__wrap--css3 .fotorama__stage__shaft,
.fotorama__wrap--css3 .fotorama__nav__shaft,
.fotorama__wrap--css3 .fotorama__thumb-border,
.fotorama__wrap--css3 .fotorama__arr,
.fotorama__wrap--css3
.fotorama__fullscreen-icon,
.fotorama__wrap--css3
.fotorama__video-play,
.fotorama__wrap--css3
.fotorama__video-close {
	-webkit-transform: translate3d(0, 0, 0);
	-ms-transform: translate3d(0, 0, 0);
	transform: translate3d(0, 0, 0);
}

.fotorama__oooo,
.fotorama__oooo:before,
.fotorama__oooo:after,
.fotorama__wrap--css3 .fotorama__stage,
.fotorama__wrap--css3 .fotorama__nav,
.fotorama__wrap--css3 .fotorama__stage__frame,
.fotorama__wrap--css3 .fotorama__stage__frame .fotorama__img,
.fotorama__wrap--css3 .fotorama__html,
.fotorama__wrap--css3 .fotorama__caption,
.fotorama__stage:before,
.fotorama__stage:after,
.fotorama__nav:before,
.fotorama__nav:after {
	-webkit-transform: translateZ(0);
	-ms-transform: translateZ(0);
	transform: translateZ(0);
}

.fotorama__wrap--video .fotorama__stage__shaft,
.fotorama__wrap--video .fotorama__stage__frame--video {
	-webkit-transform: none !important;
	-ms-transform: none !important;
	transform: none !important;
}

.fotorama__wrap--css3 .fotorama__stage__shaft,
.fotorama__wrap--css3 .fotorama__nav__shaft,
.fotorama__wrap--css3 .fotorama__thumb-border {
	-webkit-transition-property: -webkit-transform;
	transition-property: transform;
	-webkit-transition-timing-function: cubic-bezier(0.2, 0.10, 0.5, 0.8);
	transition-timing-function: cubic-bezier(0.2, 0.10, 0.5, 0.8);
	-webkit-transition-duration: 0ms;
	transition-duration: 0ms;
}

.fotorama__wrap,
.fotorama__no-select,
.fotorama__arr,
.fotorama__fullscreen-icon,
.fotorama__video-play,
.fotorama__video-close {
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

.fotorama__select {
	-webkit-user-select: text;
	-moz-user-select: text;
	-ms-user-select: text;
	user-select: text;
}

.fotorama__nav,
.fotorama__nav__frame {
	margin: 0;
	padding: 0;
}

.fotorama__nav__shaft,
.fotorama__nav__frame,
.fotorama__caption__wrap {
	display: -moz-inline-box;
	-moz-box-orient: vertical;
	display: inline-block;
	vertical-align: middle;
	*display: inline;
	*zoom: 1;
}

.fotorama__wrap * {
	-moz-box-sizing: content-box;
	box-sizing: content-box;
}

.fotorama__caption__wrap {
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

.fotorama--hidden,
.fotorama__load {
	position: absolute;
	left: -99999px;
	top: -99999px;
	z-index: -1;
}

.fotorama__stage__shaft,
.fotorama__stage__frame,
.fotorama__nav,
.fotorama__nav__shaft,
.fotorama__nav__frame,
.fotorama__arr,
.fotorama__fullscreen-icon,
.fotorama__video-play,
.fotorama__video-close {
	-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

.fotorama__arr,
.fotorama__fullscreen-icon,
.fotorama__video-play,
.fotorama__video-close {
	background: url("images/fotorama.png") no-repeat;
}

@media (-webkit-min-device-pixel-ratio: 1.5), (min-resolution: 144dppx) {
	.fotorama__arr,
	.fotorama__fullscreen-icon,
	.fotorama__video-play,
	.fotorama__video-close {
		background: url("images/fotorama@2x.png") no-repeat;
		background-size: 96px 160px;
	}
}

.fotorama__thumb {
	background-color: #7f7f7f;
	background-color: rgba(127, 127, 127, 0.2);
}

.fotorama {
	min-width: 1px;
	overflow: hidden;
}

.fotorama > .fotorama__wrap {
	visibility: visible;
}

.fotorama--hidden-before-ready > * {
	visibility: hidden;
}

.fullscreen {
	width: 100% !important;
	height: 100% !important;
	max-width: 100% !important;
	max-height: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
	overflow: hidden !important;
	background: #000;
}

.fotorama--fullscreen {
	position: absolute !important;
	top: 0 !important;
	left: 0 !important;
	right: 0 !important;
	bottom: 0 !important;
	float: none !important;
	z-index: 2147483647 !important;
	background: #000;
	width: 100% !important;
	height: 100% !important;
	margin: 0 !important;
}

.fotorama--fullscreen .fotorama__stage,
.fotorama--fullscreen .fotorama__nav {
	background: #000;
}

.fotorama__wrap {
	-webkit-text-size-adjust: 100%;
	position: relative;
	direction: ltr;
}

.fotorama__wrap--rtl .fotorama__stage__frame {
	direction: rtl;
}

.fotorama__stage,
.fotorama__nav {
	overflow: hidden;
	position: relative;
}

.fotorama__wrap--pan-y {
	-ms-touch-action: pan-y;
}

.fotorama__wrap .fotorama__pointer {
	cursor: pointer;
}

.fotorama__wrap--slide .fotorama__stage__frame {
	opacity: 1 !important;
}

.fotorama__stage__frame {
	overflow: hidden;
}

.fotorama__stage__frame.fotorama__active {
	z-index: 8;
}

.fotorama__wrap--fade .fotorama__stage__frame {
	display: none;
}

.fotorama__wrap--fade .fotorama__stage__frame.fotorama__active {
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
	filter: alpha(opacity=100);
	opacity: 1;
}

.fotorama__wrap--fade .fotorama__stage__frame.fotorama__active,
.fotorama__wrap--fade .fotorama__fade-front,
.fotorama__wrap--fade .fotorama__fade-rear {
	display: block;
	left: 0;
	top: 0;
}

.fotorama__wrap--fade .fotorama__fade-front {
	z-index: 8;
}

.fotorama__wrap--fade .fotorama__fade-rear {
	z-index: 7;
}

.fotorama__wrap--fade .fotorama__fade-rear.fotorama__active {
	z-index: 9;
}

.fotorama__wrap--fade .fotorama__stage .fotorama__shadow {
	display: none;
}

.fotorama__wrap--video .fotorama__stage__frame--video .fotorama__img,
.fotorama__wrap--video .fotorama__stage__frame--video .fotorama__html {
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
	filter: alpha(opacity=0);
	opacity: 0;
}

.fotorama__img {
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
	filter: alpha(opacity=0);
	opacity: 0;
	border: none !important;
}

.fotorama__loaded .fotorama__img,
.fotorama__error .fotorama__img {
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
	filter: alpha(opacity=100);
	opacity: 1;
}

.fotorama__img--full {
	display: none;
}

.fotorama--fullscreen .fotorama__loaded--full .fotorama__img {
	display: none;
}

.fotorama--fullscreen .fotorama__loaded--full .fotorama__img--full {
	display: block;
}

.fotorama__stage--only-active .fotorama__stage__frame {
	visibility: hidden;
}

.fotorama__stage--only-active .fotorama__stage__frame.fotorama__active {
	visibility: visible;
}

.fotorama__nav {
	font-size: 0;
	line-height: 0;
	text-align: center;
	display: none;
	white-space: nowrap;
	z-index: 5;
}

.fotorama__nav__shaft {
	position: relative;
	left: 0;
	top: 0;
	text-align: left;
}

.fotorama__nav__frame {
	position: relative;
	cursor: pointer;
}

.fotorama__nav--dots {
	display: block;
}

.fotorama__nav--dots .fotorama__nav__frame {
	width: 18px;
	height: 30px;
}

.fotorama__nav--dots .fotorama__nav__frame--thumb,
.fotorama__nav--dots .fotorama__thumb-border {
	display: none;
}

.fotorama__nav--thumbs {
	display: block;
}

.fotorama__nav--thumbs .fotorama__nav__frame {
	padding-left: 0 !important;
}

.fotorama__nav--thumbs .fotorama__nav__frame:last-child {
	padding-right: 0 !important;
}

.fotorama__nav--thumbs .fotorama__nav__frame--dot {
	display: none;
}

.fotorama__dot {
	display: block;
	width: 4px;
	height: 4px;
	position: relative;
	top: 12px;
	left: 6px;
	border-radius: 6px;
	border: 1px solid;
}

.fotorama__nav__frame.fotorama__active {
	pointer-events: none;
	cursor: default;
}

.fotorama__nav__frame.fotorama__active .fotorama__dot {
	width: 6px;
	height: 6px;
	border: none;
}

.fotorama__dot {
	border-color: #7f7f7f;
}

.fotorama__active .fotorama__dot {
	background-color: #7f7f7f;
}

.fotorama__thumb {
	overflow: hidden;
	position: relative;
	width: 100%;
	height: 100%;
}

.fotorama__thumb-border {
	position: absolute;
	z-index: 9;
	top: 0;
	left: 0;
	border-style: solid;
	border-color: #00afea;
	background-image: -webkit-linear-gradient(top left, rgba(255, 255, 255, 0.25), rgba(64, 64, 64, 0.1));
	background-image: linear-gradient(to bottom right, rgba(255, 255, 255, 0.25), rgba(64, 64, 64, 0.1));
}

.fotorama__caption {
	position: absolute;
	z-index: 12;
	bottom: 0;
	left: 0;
	right: 0;
	font-family: 'Helvetica Neue', Arial, sans-serif;
	font-size: 14px;
	line-height: 1.5;
	color: #000;
}

.fotorama__caption a {
	text-decoration: none;
	color: #000;
	border-bottom: 1px solid;
	border-color: rgba(0, 0, 0, 0.5);
}

.fotorama__caption a:hover {
	color: #333;
	border-color: rgba(51, 51, 51, 0.5);
}

.fotorama__wrap--video .fotorama__caption {
	display: none;
}

.fotorama__wrap--rtl .fotorama__caption {
	left: auto;
	right: 0;
}

.fotorama__caption__wrap {
	background-color: #fff;
	background-color: rgba(255, 255, 255, 0.9);
	padding: 5px 10px;
}

/* HACK!! */
.fotorama__oooo {
	background: url('images/keyboardloader.gif') no-repeat;
	width: 40px;
	height: 26px;
	margin-left: -20px;
	margin-top: -13px;
}

/*.fotorama__oooo {
	width: 6px;
	height: 6px;
	margin-left: -8px;
	margin-top: -3px;
}

.fotorama__oooo:before,
.fotorama__oooo:after {
	content: '';
	position: absolute;
	left: 0;
	top: 0;
	width: 6px;
	height: 6px;
	border-radius: 6px;
	background-color: #7f7f7f;
	background-color: rgba(127, 127, 127, 0.5);
}

.fotorama__oooo:before {
	left: -10px;
}

.fotorama__oooo .fotorama__oooo {
	margin-left: 17px;
}

.fotorama__oooo--1:before,
.fotorama__oooo--2:after,
.fotorama__oooo--3 .fotorama__oooo:before,
.fotorama__oooo--4 .fotorama__oooo:after {
	background-color: #7f7f7f;
}*/

.fotorama__wrap--css3 .fotorama__stage .fotorama__img,
.fotorama__wrap--css3 .fotorama__html,
.fotorama__wrap--css3 .fotorama__caption {
	-webkit-transition-property: opacity;
	transition-property: opacity;
	-webkit-transition-timing-function: linear;
	transition-timing-function: linear;
	-webkit-transition-duration: 0.3s;
	transition-duration: 0.3s;
}

.fotorama__select {
	cursor: auto;
}

.fotorama__video {
	top: 32px;
	right: 0;
	bottom: 0;
	left: 0;
	position: absolute;
	z-index: 10;
}

/* Strange fix of the #66 issue (Firefox bug while sliding backwards) */

@-moz-document url-prefix() {
	.fotorama__active {
		box-shadow: 0 0 0 transparent;
	}
}

.fotorama__arr,
.fotorama__fullscreen-icon,
.fotorama__video-play,
.fotorama__video-close {
	display: block;
	position: absolute;
	z-index: 11;
	cursor: pointer;
}

.fotorama__arr {
	position: absolute;
	width: 32px;
	height: 32px;
	top: 50%;
	margin-top: -16px;
}

.fotorama__arr--prev {
	left: 0;
	background-position: 0 0;
}

.fotorama__arr--next {
	right: 0;
	background-position: -32px 0;
}

.fotorama__arr--disabled {
	pointer-events: none;
	cursor: default;
	*display: none;
	opacity: .1;
}

.fotorama__fullscreen-icon {
	width: 32px;
	height: 32px;
	top: 0;
	right: 0;
	background-position: 0 -32px;
	z-index: 20;
}

.fotorama--fullscreen .fotorama__fullscreen-icon {
	background-position: -32px -32px;
}

.fotorama__video-play {
	width: 96px;
	height: 96px;
	left: 50%;
	top: 50%;
	margin-left: -48px;
	margin-top: -48px;
	background-position: 0 -64px;
	display: none;
}

.fotorama__wrap--css3 .fotorama__video-play {
	display: block;
	opacity: 0;
}

.fotorama__loaded .fotorama__video-play,
.fotorama__error .fotorama__video-play {
	display: block;
	opacity: 1;
}

.fotorama__nav__frame .fotorama__video-play {
	width: 32px;
	height: 32px;
	margin-left: -16px;
	margin-top: -16px;
	background-position: -64px -32px;
	opacity: 1 !important;
	display: block !important;
}

.fotorama__video-close {
	width: 32px;
	height: 32px;
	top: 0;
	right: 0;
	display: none;
	background-position: -64px 0;
	z-index: 20;
}

.fotorama__wrap--no-controls .fotorama__arr,
.fotorama__wrap--no-controls .fotorama__fullscreen-icon,
.fotorama__wrap--video .fotorama__arr,
.fotorama__wrap--video .fotorama__fullscreen-icon {
	display: none;
	opacity: 0;
}

.fotorama__wrap--css3.fotorama__wrap--slide.fotorama__wrap--no-controls .fotorama__fullscreen-icon,
.fotorama__wrap--css3.fotorama__wrap--video .fotorama__fullscreen-icon {
	display: block;
	-webkit-transform: translate3d(32px, -32px, 0);
	-ms-transform: translate3d(32px, -32px, 0);
	transform: translate3d(32px, -32px, 0);
}

.fotorama__wrap--css3.fotorama__wrap--slide.fotorama__wrap--no-controls .fotorama__arr--prev,
.fotorama__wrap--css3.fotorama__wrap--video .fotorama__arr--prev {
	display: block;
	-webkit-transform: translate3d(-48px, 0, 0);
	-ms-transform: translate3d(-48px, 0, 0);
	transform: translate3d(-48px, 0, 0);
}

.fotorama__wrap--css3.fotorama__wrap--slide.fotorama__wrap--no-controls .fotorama__arr--next,
.fotorama__wrap--css3.fotorama__wrap--video .fotorama__arr--next {
	display: block;
	-webkit-transform: translate3d(48px, 0, 0);
	-ms-transform: translate3d(48px, 0, 0);
	transform: translate3d(48px, 0, 0);
}

.fotorama__wrap--video .fotorama__stage .fotorama__video-play {
	display: none;
}

.fotorama__wrap--video .fotorama__video-close {
	display: block;
}

.fotorama__wrap--css3 .fotorama__video-close {
	display: block;
	opacity: 0;
	-webkit-transform: translate3d(32px, -32px, 0);
	-ms-transform: translate3d(32px, -32px, 0);
	transform: translate3d(32px, -32px, 0);
}

.fotorama__wrap--css3.fotorama__wrap--video .fotorama__stage .fotorama__video-play {
	display: block;
	opacity: 0;
	z-index: -1;
}

.fotorama__wrap--css3.fotorama__wrap--video .fotorama__video-close {
	opacity: 1;
	-webkit-transform: translate3d(0, 0, 0);
	-ms-transform: translate3d(0, 0, 0);
	transform: translate3d(0, 0, 0);
}

.fotorama__wrap--css3 .fotorama__arr,
.fotorama__wrap--css3 .fotorama__fullscreen-icon,
.fotorama__wrap--css3 .fotorama__video-play,
.fotorama__wrap--css3 .fotorama__video-close {
	-webkit-transition-property: -webkit-transform, opacity;
	transition-property: transform, opacity;
	-webkit-transition-duration: 0.3s;
	transition-duration: 0.3s;
}

.fotorama__stage:before,
.fotorama__stage:after,
.fotorama__nav:before,
.fotorama__nav:after {
	content: "";
	display: block;
	position: absolute;
	text-decoration: none;
	top: 0;
	bottom: 0;
	width: 10px;
	height: auto;
	z-index: 10;
	pointer-events: none;
	background-repeat: no-repeat;
	background-size: 1px 100%, 5px 100%;
}

.fotorama__stage:before,
.fotorama__nav:before {
	background-image: -webkit-linear-gradient(transparent, rgba(0, 0, 0, 0.2) 25%, rgba(0, 0, 0, 0.3) 75%, transparent), -webkit-radial-gradient(0 50%, farthest-side, rgba(0, 0, 0, 0.4), transparent);
	background-image: linear-gradient(transparent, rgba(0, 0, 0, 0.2) 25%, rgba(0, 0, 0, 0.3) 75%, transparent), radial-gradient(farthest-side at 0 50%, rgba(0, 0, 0, 0.4), transparent);
	background-position: 0 0, 0 0;
	left: -10px;
}

.fotorama__stage.fotorama__shadows--left:before,
.fotorama__nav.fotorama__shadows--left:before {
	left: 0;
}

.fotorama__stage:after,
.fotorama__nav:after {
	background-image: -webkit-linear-gradient(transparent, rgba(0, 0, 0, 0.2) 25%, rgba(0, 0, 0, 0.3) 75%, transparent), -webkit-radial-gradient(100% 50%, farthest-side, rgba(0, 0, 0, 0.4), transparent);
	background-image: linear-gradient(transparent, rgba(0, 0, 0, 0.2) 25%, rgba(0, 0, 0, 0.3) 75%, transparent), radial-gradient(farthest-side at 100% 50%, rgba(0, 0, 0, 0.4), transparent);
	background-position: 100% 0, 100% 0;
	right: -10px;
}

.fotorama__stage.fotorama__shadows--right:after,
.fotorama__nav.fotorama__shadows--right:after {
	right: 0;
}

.fotorama--fullscreen .fotorama__stage:before,
.fotorama--fullscreen .fotorama__stage:after,
.fotorama--fullscreen .fotorama__nav:before,
.fotorama--fullscreen .fotorama__nav:after,
.fotorama__wrap--no-shadows .fotorama__stage:before,
.fotorama__wrap--no-shadows .fotorama__stage:after,
.fotorama__wrap--no-shadows .fotorama__nav:before,
.fotorama__wrap--no-shadows .fotorama__nav:after,
.fotorama__wrap--fade .fotorama__stage:before,
.fotorama__wrap--fade .fotorama__stage:after {
	display: none;
}
