/*
Theme Name: WHAM
Author: WHAM
Text Domain: wham
*/


/**
 * Table of Contents
 *
 * 1.0 - Reset
 * 2.0 - Utils
 * 3.0 - Layout
 * 4.0 - Styles
 */


/**
 * 1.0 - Reset
 *
 * Resetting and rebuilding styles have been helped along thanks to the fine work of
 * Eric Meyer http://meyerweb.com/eric/tools/css/reset/index.html
 * along with Nicolas Gallagher and Jonathan Neal http://necolas.github.com/normalize.css/
 * and Blueprint http://www.blueprintcss.org/
 */

html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td {
	border: 0;
	font-family: inherit;
	font-size: 100%;
	font-style: inherit;
	font-weight: inherit;
	margin: 0;
	outline: 0;
	padding: 0;
	vertical-align: baseline;
}

html {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	font-size: 62.5%;
	overflow-y: scroll;
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust: 100%;
}

*,
*:before,
*:after {
	-webkit-box-sizing: inherit;
	-moz-box-sizing: inherit;
	box-sizing: inherit;
}



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

ol,
ul {
	list-style: none;
}

table {
	border-collapse: separate;
	border-spacing: 0;
}

caption,
th,
td {
	font-weight: normal;
	text-align: left;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
	content: "";
}

blockquote,
q {
	-webkit-hyphens: none;
	-moz-hyphens: none;
	-ms-hyphens: none;
	hyphens: none;
	quotes: none;
}

a:focus {
    outline: 0;
}

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

a img {
	border: 0;
}

a {
    text-decoration: none;
}

/**
 * 2.0 - Utils
 */

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

.clear:after {
    clear: both;
}

.hide-text,
.hide-text * {
    text-indent: -400%;
    overflow: hidden;
}

.hlist > * {
    float: left;
}

.hidden {
    display: none;
}


.alignleft {
	display: inline;
	float: left;
	margin-right: 1.5em;
}

.alignright {
	display: inline;
	float: right;
	margin-left: 1.5em;
}

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






/**
 * 3.0 - Layout
 */
:root {
	--sidebar-width: 0px;
}
.site-header {
    height: 90px;
}
.header {
    font-size: 12.4vw;
    height: 90px;
    line-height: 12.4vw;
    position: fixed;
    z-index: 100;
    width: 100%;
}

.content-area {
    margin: 0 auto;
    /* Push footer down */
    min-height: calc(100vh - 90px);
}
.page-child .content-area {
    max-width: 1080px;
}
.grid {
    width: 100%;
    overflow: hidden;
    font-size: 20vw;
    position: relative;
}

.grid .widget {
    position: absolute;
}

.grid.anim-1 .widget {
    opacity: 0;
    transform: scale(0.1);
    transition: all 0.4s ease;
}
.grid.anim-1 .widget.active {
    transform: scale(1);
    opacity: 1;
}

.grid.anim-2 .widget {
    opacity: 0;
    transition: all 0.65s ease;
}
.grid.anim-2 .widget.active {
    opacity: 1;
}

.grid.anim-3 .widget,
.grid-contact .widget,
.grid.anim-3 .image-x4 .img-wrapper {
    opacity: 0;
    transform: translate(0, 2em);
    transition: all 0.65s ease;
}
.grid.anim-3 .widget.active,
.grid-contact .widget.active,
.grid.anim-3 .image-x4.active .img-wrapper {
    transform: none;
    opacity: 1;
}

.image-x4 {
    transform: none!important;
    transition: none!important;
}
.grid.anim-3 .image-x4 .img-wrapper {
    width: 50%;
    height: 50%;
    overflow: hidden;
    position: absolute;
    top: 0;
    left: 0;
    transition-delay: 0.3s;
}
.image-x4 .img-wrapper img {
    width: 200%;
    height: 200%;
}
.grid.anim-3 .image-x4 .img-wrapper:nth-child(2) {
    left: 50%;
    transition-delay: 0.6s;
}
.image-x4 .img-wrapper:nth-child(2) img {
    margin-left: -100%;
}
.grid.anim-3 .image-x4 .img-wrapper:nth-child(3) {
    top: 50%;
    transition-delay: 0.9s;
}
.image-x4 .img-wrapper:nth-child(3) img {
    margin-top: -100%;
}
.grid.anim-3 .image-x4 .img-wrapper:nth-child(4) {
    top: 50%;
    left: 50%;
    transition-delay: 1.2s;
}
.image-x4 .img-wrapper:nth-child(4) img {
    margin-top: -100%;
    margin-left: -100%;
}


.mobile-grid,
.large-grid {
    display: none;
}

.widget {
    width: 5em;
    overflow: hidden;
}

.widget img {
    display: block;
    width: 100%;
    height: auto;
}

.widget-ratio-1,
.widget_widget_wham_contact {
    height: 3.75em;
}

.widget-ratio-2 {
    height: 5em;
}

.widget-ratio-3 {
    height: 7.5em;
}

.widget-ratio-4 {
    height: 6.25em;
}

.widget-ratio-5 {
    height: 2.5em;
}


.page .content-area {

    margin: 0 auto;
}

.grid-contact {
    font-size: 10vw;
		font-size: calc(calc(100vw - var(--sidebar-width)) / 10);
}

.grid-contact .widget {
    float: left;
}

.footer-columns {

    padding-bottom: 30px;
    margin: 0 auto;
}
.footer-columns > * {
    float: left;
    width: 50%;
    padding: 0 45px;
    word-wrap: break-word;
}

.copyright {
    margin: 0 45px;
}


.page-template-about .widget_widget_wham_content {
    height: 5em;
}


@media screen and (max-width: 718px) {
    .mobile-grid {
        display: block;
    }
    .default-grid {
        display: none;
    }
    .grid-contact .widget {
        float: none;
        width: 10em;
    }
}


@media screen and (min-width: 719px) {
    .grid {
        font-size: 10vw;
    }
}


@media screen and (min-width: 1501px) {
    .large-grid {
        display: block;
    }
    .default-grid {
        display: none;
    }
    .widget {
        font-size: 0.6666em;
    }


    .inner-widget {
        font-size: 0.3em;
    }
    .page:not(.page-id-1165) .grid-contact .widget,
    .home .grid-contact .widget {
        width: 7.5em;
    }

    .page-id-1165 .grid-contact .widget:nth-child(3) {
        display: none;
    }
    .page-id-1165 #widget_wham_image-static-2 {
        height: 2.4975em;
    }
}



/**
 * 4.0 - Styles
 */
body {
    font-family: Helvetica, sans-serif;
    font-weight: 100;
}
.header {
    background: #FFF;
}

.menu-btn {
    float: right;
    display: block;
    width: 50%;
    height: 100%;
    background: #FFF url('assets/images/menu-arrow.png') right 0 no-repeat;
}

.menu-btn.open,
.no-touch .menu-btn:hover {
    background-color: rgba(0,0,0,0.2);
}

.menu-btn.open {
    background-position: right -90px;
    position: relative;
    z-index: 2;
}

.menu-main-container,
.menu-main-ch-container {
    display: none;
    background: rgba(0, 0, 0, 0.85);
    float: right;
    width: 50%;

    margin-right: -50%;
    position: relative;
    z-index: 1;

    font-size: 33px;
    line-height: 1;
    padding: 100px 38px 44px;

    font-size: 19px;
    font-weight: lighter;
}
.menu-btn.open + .menu-main-container,
.menu-btn.open + .menu-main-ch-container {
    display: block;
    overflow: auto;
    max-height: 100vh;
    -webkit-overflow-scrolling: touch;
}

.primary-menu .menu-item-has-children,
.primary-menu .menu-item-has-children li,
.primary-menu .about {
    font-size: 24px;
    font-weight: bold;
}

.primary-menu li,
.primary-menu a {
    display: block;
}

.primary-menu a {
    color: #FFF;
    margin-bottom: 8px;
}
.primary-menu .sub-menu {
    margin-bottom: 53px;
}

.primary-menu .sub-menu a {
    color: #898989;
}


.primary-menu .filter-highlights > a {
    margin-bottom: 1em;
}
.primary-menu .about {
    margin-bottom: 23px;
}

.primary-menu .linkedin-icon {
    margin-top: 27px;
}
.primary-menu .instagram-icon,
.primary-menu .linkedin-icon {
    display: inline-block;
    vertical-align: bottom;
}
.primary-menu .instagram-icon a,
.primary-menu .linkedin-icon a {
    text-indent: -400%;
    overflow: hidden;
    height: 1.8em;
    display: block;
    cursor: pointer;
}

.primary-menu .contact-item {
    font-size: 19px;
}

.primary-menu .contact-item a[href="#"] {
    cursor: default;
}


.home-btn {
    display: block;
    font-size: 0.5em;
    width: 121px;
    height: 100%;

    background: url('assets/images/wham-logo-v2.svg') 0 center no-repeat;
    background-size: contain;
    cursor: pointer;
    max-width: 121px;
    min-width: 80px;
    margin-left: 45px;
    position: absolute;
    left: 0;
}


.wpml-ls {
	position: absolute;
	top: 0;
	right: 10px;
	padding: 0;
	line-height: 90px;
	height: 90px;
	font-size: 14px;
	font-weight: 400;
}
.wpml-ls ul {
	display: flex;
	align-items: center;
	height: 100%;
}
.wpml-ls-item {
	line-height: 1;
	position: relative;
	padding: 0 5px!important;
	display: block;
	border-left: 1px solid;
}
.wpml-ls-item:first-child {
	border-left: 0;
}


.wpml-ls .wpml-ls-link {
	letter-spacing: -0.01em;
	color: inherit;
	padding: 0;
}

.wpml-ls .wpml-ls-link span {
	vertical-align: unset;
	vertical-align: -moz-middle-with-baseline;
	border-bottom: 1px solid transparent;
}

.wpml-ls + .menu-btn {
	background-position: calc(100% - 45px) 0;
}

.wpml-ls .wpml-ls-current-language span {
	border-bottom: 1px solid;
	font-weight: bold;
}

.site-footer {
    background: #000;
    color: #FFF;
    padding-top: 40px;
    font-size: 19px;
    line-height: 1.35;
}
.site-footer a {
    color: inherit;
}

.footer-columns .widget,
.footer-columns .content-editor-styles {
    font-size: inherit;
    color: inherit;
    width: auto;
    height: auto;
    float: none;
    overflow: visible;
}

.footer-1 div {
    display: inline-block;
    vertical-align: top;
    width: 235px;
}
.footer-1 div + div {
    width: 255px;
}

.footer-columns .footer-title,
.footer-columns h3 {
    font-weight: bold;
}

.footer-columns p + p {
    margin-top: 50px;
}

.footer-2 h4 {
    display: none;
}

.linkedin-icon {
    width: 32px;
    height: 32px;
    background: url('assets/images/linkedin.png') 0 0 / contain no-repeat;
    display: inline-block;
}
.instagram-icon {
    width: 32px;
    height: 32px;
    background: url('assets/images/instagram.png') 0 0 / contain no-repeat;
    display: inline-block;
    margin-left: 6px;

}

.footer-2 .widget + .widget {
    margin-top: 10px;
}

.copyright {
    line-height: 90px;
    height: 90px;
    border-top: 1px solid #333;
}
.copyright p {
    line-height: 1.2;
    display: inline-block;
    font-size: 12px;
		width: 100%;
}
.copyright span {
	float: right;
}
@media screen and (max-width: 718px) {
	.copyright span {
		float: none;
		display: block;
		margin-top: 0.3em;
	}
}

/* Widgets: home / contact page */
.widget a {
    color: inherit;
}
.widget_widget_wham_content {
    background: #000;

    display: -webkit-flex;
    display: flex;
    -webkit-align-items: center;
    align-items: center;
}
.widget_widget_wham_content > a {
    position: absolute;
    top: 0;
    height: 100%;
    display: flex;
    align-items: center;
    left: 0;
    width: 100%;
}

.widget_widget_wham_content .inner-widget {
    padding: 1em;
    font-size: 0.22em;
		line-height: 1.2;
    color: #FFF;
		text-align: center;
		font-weight: bold;
		width: 100%;
}

.widget_widget_wham_content .inner-widget p:first-child {
	margin-top: 0.8em;
}
.widget_widget_wham_video {
	background: #000;
}
.widget_widget_wham_video.autoplay-disabled:before {
	content: '';
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background: url('assets/images/play.png') center center / auto 50% no-repeat;
}
.widget_widget_wham_video iframe {
	width: 100%;
	height: 100%;
	display: block;
}
.widget_widget_wham_video_link {
	display: block;
}
.widget_widget_wham_video_link,
.widget_widget_wham_video .wp-video,
.widget_widget_wham_video .wp-video .mejs-container,
.widget_widget_wham_video .wp-video .mejs-container .mejs-inner,
.widget_widget_wham_video .wp-video .mejs-container .mejs-mediaelement,
.widget_widget_wham_video .wp-video mediaelementwrapper {
	width: 100%!important;
	height: 100%!important;
}

.widget_widget_wham_video .wp-video mediaelementwrapper {
	padding-top: 0!important;
}
.widget_widget_wham_video .wp-video-shortcode {
	cursor: pointer;
}
@media screen and (max-width: 718px) {
	.widget_widget_wham_video.autoplay-disabled:before {
		background-size: auto 25%;
	}
}

/* About us */
.page-template-about .widget_widget_wham_content .inner-widget h3 {
    margin-bottom: 93px;
}
.page-template-about .widget_widget_wham_content .inner-widget p {
    font-size: 0.7em;
    margin-bottom: 28px;
}

/*
.widget_widget_wham_quote .client,
.widget_widget_wham_quote .author {
    font-size: 0.25em;
    padding: 1em 10%;
}

.widget_widget_wham_quote .content {
    font-size: 0.3em;
    padding: 2em 10%;
}
*/
.site-content .widget_widget_wham_contact {
    padding: 0.3em 0.3em 0.45em;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: column;
    flex-direction: column;
}

.site-content .widget_widget_wham_contact h3,
.site-content .widget_widget_wham_contact h4 {
    font-size: 33px;
    line-height: 1.35;
}
.site-content .widget_widget_wham_contact h4 {
    color: #8A8A8A;
}

.site-content .widget_widget_wham_contact .inner-widget {
    margin-top: auto;
}

.site-content .widget_widget_wham_contact + .widget_widget_wham_contact {
    background: #F8F8F8;
}
.widget_widget_wham_instagram {
    height: 5em;
    overflow: hidden;
    cursor: pointer;
}
.home .widget_widget_wham_instagram {
	height: 3.75em;
}
.widget_widget_wham_instagram:before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    /* 0.75 */
    border: 0.55em solid rgba(0, 0, 0, 0.6);

}
.widget_widget_wham_instagram:after {
    content: '';
    position: absolute;
    width: 50px;
    height: 50px;
    background: url('assets/images/instagram.png') 0 0 / contain no-repeat;
    right: 10px;
    bottom: 13px;
}
.widget_widget_wham_instagram .img-wrapper {
	height: 100%;
}
.widget_widget_wham_instagram a {
	display: block;
	height: 100%;
}
.widget_widget_wham_instagram img {
	height: 100%;
	object-fit: cover;
}


@media screen and (max-width: 718px) {
    .home-btn {
        width: 108px;
    }
		.menu-main-container,
		.menu-main-ch-container {
        width: 100%;
        margin-right: -100%;
        margin-top: 0;
    }

    .menu-btn {
        width: 100%;
    }

    .widget_widget_wham_content .inner-widget {
        font-size: 0.25em;
    }

    p.two-columns img,
    p.two-columns + p img {
        width: 100%;
    }

    .footer-columns {
        position: relative;
        padding-bottom: 68px;
        margin-bottom: 58px;
    }

    .footer-columns > * {
        width: 100%;
    }

    .site-footer {
        font-size: 2.5vw;
    }

    .footer-columns .footer-title {
        margin: 0;
    }

    .footer-1,
    .footer-2 {
        padding: 0;
    }
    .footer-1 div {
        margin-bottom: 1em;
    }
    .footer-1 > .footer-title {
        position: absolute;
        left: 6%;
    }
    .footer-2,
    .footer-1 div + div {
        width: 66.66%;
        margin-left: auto;
        float: none;
        padding: 0;
        display: block;
    }

    .footer-2 div,
    .footer-1 div {
        padding-right: 46px;
    }

    .footer-2 br {
        display: none;
    }

    .footer-1 .linkedin-icon,
    .footer-1 .instagram-icon {
        position: absolute;
        bottom: 0px;
        width: 34px;
        height: 34px;
        background-size: 100% auto;
    }
    .footer-1 .instagram-icon {
        left: calc(33.33% + 43px);
    }

}
@media screen and (min-width: 719px) {
    p.two-columns,
    p.two-columns + p {
        float: left;
        width: 50%;
        margin-top: 0px;
    }
}
@media screen and (min-width: 719px) and (max-width: 1500px) {
    .page-template-about .grid-contact:before {
        content: " ";
        display: block;
        width: 100%;
        height: calc(100vw * 0.5);
        background: url('assets/images/map-large.jpg') center center no-repeat;
        background-size: cover;
    }

    .page-template-about #widget_wham_image-static-1,
    .page-template-about #widget_wham_image-static-2 {
        display: none;
    }
}

@media screen and (min-width: 1501px) {
    .widget_widget_wham_content .inner-widget {
      	font-size: 0.26em;
    }

    .page-template-about .grid-contact:after {
        content: " ";
        display: block;
        width: 100%;
        height: calc(100vw * 0.33);
        background: url('assets/images/map-large-2.jpg') center center no-repeat;
        background-size: cover;
    }

    .page-template-about #widget_wham_image-static-1,
    .page-template-about #widget_wham_image-static-2 {
        display: none;
    }

}


/* Project Page */
.page-image .wp-post-image {
    width: 100%;
    height: auto;
}

.page-content {
    padding: 85px 35px 100px;
}


.title {
    font-size: 33px;
    font-weight: 400;
    margin-bottom: 27px;
}

.content-editor-styles {
    font-size: 20px;
    color: #898989;
    line-height: 1.35;
}
.content-editor-styles > * {
    margin: 0.8em 0;
}
.content-editor-styles > :first-child {
    margin-top: 0;
}

.content-editor-styles img {
    max-width: 100%;
    height: auto;
    display: block;
}
.content-editor-styles h3:not(.title-thumbnails):not(:first-child) {
	margin-top: 5em;
}


.page-body-extra {
    padding-top: 67px;
    clear: both;
}
.page-body-extra p,
.page-body-extra .wp-video {
    margin-bottom: 30px;
}

.page-body-extra iframe {
    width: 990px;
    height: 554px;
	display: block;
}

.title-thumbnails,
.home-link {
    color: #000;
    line-height: 1;
    margin: 66px 0px 56px -3px; /* -3px fix alignment */
}
.title-thumbnails ~ p {
    float: left;
    width: 50%;
}

.home-link {
    display: block;
    text-decoration: none;
}
.home-link:after {
    content: " ";
    background: url('assets/images/arrow.png') right center no-repeat;
    width: 12px;
    height: 22px;
    display: inline-block;
    float: right;
    height: 1em;
}


@media screen and (max-width: 718px) {
    .page-content .page-title,
    .page-content .page-body > *,
    .page-content .page-body-extra > * {
        padding: 0 7px;
    }

    .home-link {
        padding: 0 32px;
    }

    .page-content {
        padding: 85px 28px 0;
    }

    .title-thumbnails ~ p {
        margin-top: 7px;
        margin-bottom: 7px;
    }

    .page-template-about .widget_widget_wham_content {
        height: auto;
    }

    .page-template-about .widget_widget_wham_content .inner-widget h3 {
        font-size: 2.25em;
        margin-bottom: 0.8em;
    }
}

@media screen and (min-width: 719px) {
    .page-content .page-title,
    .page-content .page-body > *,
    .page-content .page-body-extra > *,
    .home-link {
        padding: 0 10px;
    }

    .page-content .page-title {
        float: left;
        width: 50%;
    }
    .page-content .page-body {
        float: left;
        width: 50%;
    }

    .title-thumbnails ~ p {
        margin-top: 10px;
        margin-bottom: 10px;
    }
}

@media screen and (max-width: 1080px) {
    .page-body-extra iframe {
        width: 100%;
        height: calc((100vw - 70px) * 0.56);
    }
}


/* Year review page */
.year-grid {
	max-width: 100%;
	width: 128em;
	line-height: 1.3;
	margin: 0 auto;
	min-height: 100vh;
}
.year-grid__container {
	position: relative;
}

.year-grid__item {
	position: absolute;
	opacity: 0;
	transform: translate(0, 2em);
	transition: opacity 0.65s ease, transform 0.65s ease;

}
.year-grid__item.active {
	opacity: 1;
	transform: none;
}

.year-grid__item--intro {
	color: #0090C9;
}

.year-grid__item__detail {
	font-size: 2em;
}
.year-grid__item__detail strong {
	font-weight: bold;
}
.year-grid__item__detail p {
	margin: 1.2em 0;
}
.year-grid__item__detail em {
	font-style: italic;
}

.year-grid__item__year {
	font-size: 20em;
	letter-spacing: 0.05em;
	font-weight: bold;
	margin: -0.11em 0 -0.19em;
}
.year-grid__item__img {
	display: block;
	height: auto;
}
.year-grid__item__img--shadow {
	box-shadow: 0.1em 0.2em 0.3em rgba(0, 0, 0, 0.3);
}

.year-grid h1 {
	font-size: 5.7em;
	font-weight: bold;
	margin-top: -0.35em;
	margin-bottom: -0.25em;
}
.dir-arrow {
	position: relative;
}
.dir-arrow:before {
	content: '';
	position: absolute;
	top: 0;
	left: 50%;
	margin-left: -0.3em;
	width: 0.6em;
	height: 1.3em;
	background: url('assets/images/year-review/2017/arrow.png') center 0/contain no-repeat;
	opacity: 0;
	transform: translateY(1em);
	transition: all 0.3s ease-out;
}
.dir-arrow--bottom:before {
	top: auto;
	bottom: 0;
}
.dir-arrow--above:before {
	top: -1.3em;
}
.dir-arrow--down:before {
	transform: translateY(-1em) scaleY(-1);
}

.has-touch .year-grid__item.active .dir-arrow::before,
.no-touch .year-grid__item:hover .dir-arrow::before {
	opacity: 1;
	transform: translateY(0);
}
.has-touch .year-grid__item.active .dir-arrow--down::before,
.no-touch .year-grid__item:hover .dir-arrow--down::before {
	transform: translateY(0) scaleY(-1);
}

.figures {
	display: flex;
	justify-content: space-between;
	font-size: 1.4em;
	padding-right: 3.28em;
}

.figures__item__number {
	font-size: 3.28em;
	font-weight: bold;
}
.figures__item__text {
	line-height: 1.14;
	margin-top: -0.5em;
}


.only-desktop {
	display: none;
}

@media screen and (max-width: 768px) {
	.year-grid {
		padding: 1em 4em;
		font-size: 1.5vw;
	}
	.year-grid__item {
		margin: 1em 0 1.5em;
		width: 100%;
	}

	.year-grid__item__img {
		width: 100%;
	}
}
@media screen and (min-width: 769px) {
	.year-grid {
		font-size: 0.781vw;
		padding: 1em 9em;
		padding-right: 9em;
	}

	.year-grid__item {
		margin: 1em 1em 1.5em;
		width: 53em;
	}

	.year-grid__item__img {
		max-width: 100%;
	}

}


@media screen and (min-width: 1024px) {
	br.only-desktop {
		display: inline;
		display: initial;
	}
}
@media screen and (min-width: 1280px) {
	.year-grid {
		font-size: 10px;
	}
}


/* Oembed fallback */
.oembed__fallback {
	background: #888;
  color: #FFF;
  padding: 2em!important;
  text-align: center;
}
.oembed__fallback p:last-child {
	margin-bottom: 0;
}

.oembed__fallback a {
	color: inherit;
	text-decoration: underline;
}

.wp-video,
.wp-video .mejs-container,
.wp-video mediaelementwrapper,
.wp-video .wp-video-shortcode {
	width: 100%!important;
}

.wp-video .mejs-container {
	height: auto!important;
}
.wp-video mediaelementwrapper {
	height: 0;
	padding-top: 56.56%!important;
	position: relative;
	display: block;
	overflow: hidden;
}

.wp-video .mejs-mediaelement {
	position: relative;
	height: auto;
}

.wp-video mediaelementwrapper .wp-video-shortcode {
	position: absolute;
	top: 0;
	left: 0;
	/* + 0.1 to fix rendering bug: black lines */
	height: 100.1%!important;
	width: 100.1%!important;
	object-fit: cover;
  background: #FFF;
}
.mejs-overlay {
	opacity: 0!important;
}
.mejs-controls {
	display: none!important;
}

.wp-video.autoplay-disabled {
	position: relative;
}
.wp-video.autoplay-disabled .mejs-overlay-play {
	opacity: 1!important;
}
.wp-video.autoplay-disabled .mejs-overlay-play:before {
	content: '';
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background: url('assets/images/play.png') center center / auto 50% no-repeat;
}
.wp-video.autoplay-disabled .mejs-overlay-play .mejs-overlay-button {
	display: none!important;
}

.wp-video br {
	display: none!important;
}

@media screen and (max-width: 718px) {
	.wp-video.autoplay-disabled .mejs-overlay-play:before {
		background-size: auto 25%;
	}
}
