.admin-bar #mega,
.admin-bar #header { top: 32px; }

.user-form { padding: 20px; margin: 20px; background: #eee; }
.user-form .input { margin-bottom: 20px; }
.user-form label { display: block; }

.story__header__collaboration img {
	height: auto;
}

a.photographer {
	display: block;
}

/** %gp7 */
.intro p {
	font-size: 22px;
    line-height: 28px;
    letter-spacing: 0.025em;
    font-family: "garamond-premier-pro-display", serif;
    color: #302D2D;
}

.attachment-photographer-listing,
.attachment-photographer-big {
	border-radius: 50%;
}

.photographer_landing__list {
	font-size: 0;
}

.photographer_landing__list .list_letter,
.photographer_landing__list .list_item {
	float: none;
	display: inline-block;
	vertical-align: top;
}

.button.button--signin {
	display: block;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0px 1000px white inset;
}
input:-webkit-autofill + button svg line,
input:-webkit-autofill:hover + button svg line,
input:-webkit-autofill:focus + button svg line,
input:-webkit-autofill:active + button svg line,
input:-webkit-autofill + button svg polyline,
input:-webkit-autofill:hover + button svg polyline,
input:-webkit-autofill:focus + button svg polyline,
input:-webkit-autofill:active + button svg polyline{
	stroke: #000 !important;
}

.fake-input {
	position: absolute;
	left: -4000px;
	top: -4000px;
	opacity: 0;
}

.b-form .invalid input:not([type="radio"]):not([type="checkbox"]):not([type="submit"]) {
	border-bottom-color: #C70000;
}

.b-form .invalid input:not([type="radio"]):not([type="checkbox"]):not([type="submit"]) + label {
	color: #C70000;
}

.b-form .error-messages {
	display: none;
	border-bottom: 2px solid #C70000;
	padding: 10px;
	font-family: "fira-sans", sans-serif;
	font-size: 12px;
	background: #f9f9f9;
	margin: 25px 0 0;
}

.b-form .big-message {
	display: none;
	background: #287675;
	color: #fff;
	padding: 18px;
	position: relative;
	text-align: center;
	margin: 25px 0 10px;
}

.b-form .field {
	position: relative;
}

.b-form input:not([type="radio"]):not([type="checkbox"]):not([type="submit"]):focus + label, .b-form input:not([type="radio"]):not([type="checkbox"]):not([type="submit"]).non-empty + label {
	top: -30px;
	color: #898989;
}

.b-form input[disabled] {
	background: #fff;
}

.teasers.five-cols .teaser.no-results {
	width: 100%;
	max-width: 100%;
	text-align: center;
	padding: 30px;
	box-sizing: border-box;
}

.filtered .default {
	display: none;
}

.masonry .breakers {
	margin-left: -3.33% !important;
    margin-right: -3.33% !important;
    width: 106.66% !important;
}

.show-on-filters {
	display: none;
}

.admin-bar .lockable.locked {
	margin-top: 32px;
}

.locked .event-intro {
	display: none;
}

.related-tabs .teaser.format-event {
	border: 0;
	padding: 20px 0 !important;
	margin: 0 !important;
}

.related-tabs .teaser.format-event .category {
	padding-top: 0;
}

.additional.additional .star {
	position: absolute;
	top: 10px;
	right: 10px;
}

.story-big-image.tight {
	max-width: 720px;
	margin-left: auto;
	margin-right: auto;
}

.photographer .img-container img,
.teaser.photographer .image,
.teaser.photographer .image img {
	-webkit-border-radius: 50%;
	-moz-border-radius: 50%;
	border-radius: 50%;
}

.p-search__photographer .image {
	margin-left: auto;
	margin-right: auto;
	border-radius: 50%;
}

.p-search__photographer img {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate( -50%, -50% );
	max-width: 100%;
	max-height: 100%;
	width: auto;
	height: auto;
	min-width: 100%;
	min-height: 100%;
}

.big-img-related .teaser + .teaser {
	margin-top: 25px !important;
}

.big-img-related .teaser.format-event {
	padding-bottom: 10px;
}

.photographer_landing__header p {
	color: #302D2D;
}

.category .story-preview .teasers,
.category-featured-teasers {
	margin-bottom: 30px !important;
}

.teasers ~ .category-content {
	margin-top: -20px;
}

.fourofour {
	padding: 40px 0;
}

.fourofour-text {
	text-align: center;
	padding-top: 40px;
}

.fourofour .img {
	height: 647px;
	background: url(../img/layout/page_header_404.jpg) center no-repeat;
	background-size: cover;
	margin: 30px 0;
}
.page-preloader-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: -webkit-calc(100vh + 100px);
    height: -moz-calc(100vh + 100px);
    height: calc(100vh + 100px);
    overflow-x: hidden;
    overflow-y: auto;
    z-index: 2000;
	opacity: 1;
}
.page-preloader{
	background: url(../img/loader.gif) center no-repeat;
    height: 50px;
    margin-top: calc(50vh - 50px);
}
.search-btn-parent {
	text-align: center;
}


.main-masonry > .breakers {
	float: left;
}

.button.button--load_more, #pro p a.button--load_more {
	position: relative;
	padding-left: 35px;
	padding-right: 35px;
}

.p-search__header h1 {
	position: relative;
}

.button--load_more:before,
.p-search__header h1:before {
	content: '';
	position: absolute;
	width: 16px;
	height: 11px;
	background: url(../img/layout/btn-ajax-loader.gif);
	opacity: 0;
	transition: all .2s ease;
}

.p-search__header h1:before {
	top: 50%;
	margin-top: -4px;
	left: -25px;
}

.loading-filter .p-search__header h1:before {
	opacity: 1;
}

.button--load_more:before {
	top: 50%;
	left: 50%;
	margin: -5px 0 0 -8px;
}

.button--load_more.loading-more {
	background: #fff !important;
	color: #fff !important;
}

.button--load_more.loading-more:before {
	opacity: 1;
}

.teaser.type-attachment .image {
	border: 1px solid #ebebeb;
	padding: 4px;
	background: #fff;
}

.belongs-to {
	font-size: 11px;
	line-height: 15px;
	display: block;
	color: #B9B9B9;
	padding-top: 10px;
}

.admin-bar .b-overlay__header {
	top: 5px;
}
.b-overlay__header{
	position: relative;
}
@media (max-width: 479px){
	.b-overlay__header {
		padding-top: 20px;
	}
}
.teaser .image.video {
	display: block;
}

.dw-embed-wrapper {
	position: relative;
	height: 0;
	padding-bottom: 56.25%;
}

.dw-embed-wrapper .dw-embed,
.dw-embed-wrapper iframe,
.dw-embed-wrapper embed {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.size-collaboration-story {
	max-height: 120px;
}

.story__footer__additional {
	display: block;
	padding: 7px 0;
	margin-bottom: 7px;
}

.story__footer__additional.commissions {
	margin-top: -13px;
	margin-bottom: 0;
}

.story__footer__line.story__footer__additional {
	margin-top: 5px;
	padding-top: 12px;
}