/*
Theme Name:  MS Weddings
Theme URL:   https://msweddings.de
Description: Child Theme auf Basis von Divi für MS Weddings
Author:      nexTab | Oliver Gehrmann
Author URL:  https://nextab.de
Template:    Divi
Version:     1.0.0
*/

/* Fonts */
/* cormorant-garamond-500 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 500;
  src: url('fonts/cormorant-garamond-v16-latin-500.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* bona-nova-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Bona Nova';
  font-style: normal;
  font-weight: 300;
  src: url('fonts/bona-nova-v10-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Bona Nova';
  font-style: normal;
  font-weight: 400;
  src: url('fonts/bona-nova-v10-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* bona-nova-700 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Bona Nova';
  font-style: normal;
  font-weight: 500;
  src: url('fonts/bona-nova-v10-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Bona Nova';
  font-style: normal;
  font-weight: 700;
  src: url('fonts/bona-nova-v10-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* Image Styles */
.et_pb_module.et_pb_image.image-fit-3-2, .et_pb_module.et_pb_image.image-fit-2-3 {
	aspect-ratio: 3/2;
	min-height: 160px;
	position: relative;
	width: 100%;
}
.et_pb_module.et_pb_image.image-fit-2-3 {
	aspect-ratio: 2/3;
	min-height: 260px;
}
.et_pb_module.et_pb_image.image-fit-3-2 > a.et_pb_lightbox_image, .et_pb_module.et_pb_image.image-fit-2-3 > a.et_pb_lightbox_image {
	position: static;
}
.et_pb_module.et_pb_image.image-fit-3-2 > a.et_pb_lightbox_image > span, .et_pb_module.et_pb_image.image-fit-2-3 > a.et_pb_lightbox_image > span {
	position: static;
}
.et_pb_module.et_pb_image.image-fit-3-2 img, .et_pb_module.et_pb_image.image-fit-2-3 img {
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* Videos */
.et_pb_video_box iframe {
	display: block !important;
	height: auto;
	width: 100%;
	aspect-ratio: 16/9;
}