/*============== General ==============*/
@font-face {
    font-family: 'BohemeFloral';
    src: url('https://undangandigitalbali.com/assets/fonts/BohemeFloral.ttf') format('truetype');
}

@font-face {
    font-family: 'Analogue';
    src: url('https://undangandigitalbali.com/assets/fonts/Analogue.woff2') format('woff2');
}

*:focus {
	outline: none!important;
}

body {
    font-family: 'Arima Madurai', cursive;
    font-weight: 400;
	font-size: 16px;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	position: relative;
	background-color: #feffff;
}

h1 {
	font-size: 32px;
}

h2 {
	font-size: 28px;
}

h3 {
	font-size: 24px;
}

h4 {
	font-size: 20px;
}

h5 {
	font-size: 18px;
}

h6 {
	font-size: 16px;
}

section h2,
footer h2 {
    font-size:42px;
}

ul {
	margin: 0;
	padding: 0;
}

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

svg {
	max-width: 100%;
}

a:hover,
a:focus {
	text-decoration: none;
}

/*============== Animations ==============*/
@-webkit-keyframes pulse {
    0% {-webkit-transform: scale(0.2, 0.2); opacity: 0;}
    50% {opacity: 1;}
    100% {-webkit-transform: scale(1.5, 1.5); opacity: 0;}
}

.animation-pulse {
	animation: pulse 2s ease-out;
    animation-iteration-count: infinite;
    opacity: 0;
}

/* 1.2 Icons */
.icon {
	transition: color .4s ease;
}

.icon--sm {
	font-size: 20px;
}

.icon--md {
	font-size: 30px;
}

.icon--lg {
	font-size: 50px;
}

.icon--xl {
	font-size: 70px;
}

.icon--primary {
	color: #ffd7d7;
}

.icon--white {
	color: #fff;
}

.icon--black {
	color: #000;
}

.icon:hover {
	color: #ffd7d7;
}

/* fix for IE */
.icon--sm {
	width: 20px;
	height: 20px;
}

.icon--md {
	width: 30px;
	height: 30px;
}

.icon--lg {
	width: 50px;
	height: 50px;
}

.icon--xl {
	width: 70px;
	height: 70px;
}

.icon svg {
	fill: currentColor;
	display: block;
	width: 100%;
	height: 100%;
}

.icon .icon-inner {
	display: block;
	width: 100%;
	height: 100%;
}

/*============== Utilities ==============*/

/* fonts */
.font-script {
    font-family: 'BohemeFloral', cursive;
    font-size: 42px;
    word-spacing: -5px;
}

/* borders */
.border-b-grey {
	border-bottom: 1px solid #f8f7f4;
}

/* backgrounds */
.bg-grey {
    position:relative;
    width: 100%;
    background-color: #f4d3ed;
	background: linear-gradient(180deg, #eaf0ebe6 0%, #eaf0eb99 15%, #eaf0eb99 85%, #eaf0ebe6 100%);
}

.bg-grey .section-img-left {
    position: absolute;
    top: 5%;
    left: 0px;
    width: 220px;
}

.bg-grey .section-img-right{
    position: absolute;
    bottom: 5%;
    right: 0px;
    width: 190px;
}

@media(min-width: 768px) {
    .bg-grey .section-img-right{
        width: 400px;
    }
    
    .bg-grey .section-img-left {
        width: 390px;
    }
}

.bg-white {
	background-color: #fff;
}

.bg-primary {
	background-color: #ffd7d7;
}

/* margins */
.cmb-1 {
	margin-bottom: 10px;
}

.cmb-2 {
	margin-bottom: 20px;
}

.cmb-3 {
	margin-bottom: 30px;
}

.cmb-5 {
	margin-bottom: 50px;
}

.cmb-8 {
	margin-bottom: 80px;
}

.cmt-2 {
	margin-top: 20px;
}

.cmt-3 {
	margin-top: 30px;
}

.cmt-5 {
	margin-top: 50px;
}

.cmt-n-3 {
	margin-top: -30px;
}

/*============== Hero ==============*/
header {
    position: relative;
}

.hero {
	background-size: cover;
	background-repeat: no-repeat;
	background-position: top center;
	height: 66vh;
	color: #fff;
	position: relative;
}

.hero--slide1 {
	background-image: url('../img/hero1.jpg'); /* Change to your image here */
}

.hero--slide2 {
	background-image: url('../img/hero2.jpg'); /* Change to your image here */
}

.hero--slide3 {
	background-image: url('../img/hero3.jpg'); /* Change to your image here */
}

.hero-overlay {
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 100%;
    height: 360px;
    background: rgb(243,237,223);
    background: linear-gradient(180deg, #fdf8f500 30%, rgb(0 0 0 / 25%) 60%, rgb(0 0 0 / 40%) 100%);
}

.hero-body {
    position: absolute;
    bottom: 40px;
    width: 100%;
    text-align: center;
    color: #FFF;
}

.hero__title {
    font-size: 54px;
    margin-bottom: 0;
    word-spacing: -6px;
}

.hero__text {
	font-size: 18px;
	font-weight: 500;
    margin-bottom: 2px;
}

.hero__date {
	font-size: 16px;
	font-weight: 500;
    margin-bottom: 2px;
}

@media(min-width: 768px) {
	.hero__title {
		font-size: 60px;
	}
	
	.hero {
	    height: 100vh;
	}

    .hero-body {
        bottom: 15%;
    }
}

/*============== Mempelai ==============*/
.mempelai {
    padding: 10px 12px;
}

.mempelai-foto{
    position: relative;
	margin: 10px 60px;
}

.mempelai-foto .frame {
	border-radius: 50%;
}

@media(min-width: 992px) {
	.mempelai-foto{
	    margin: 10px auto;
        max-width: 300px;
    }
}

.mempelai-foto::before {
    position: absolute;
    left: 3%;
    top: 3%;
    width: 94%;
    height: 94%;
    border-radius: 50%;
    content: "";
    border: 1px solid rgb(94 110 95 / 80%);
    z-index: 10;
}

.mempelai-foto .frame-1 {
    position: absolute;
    left: -10px;
    bottom: -26px;
    z-index: 10;
    width: 130px;
}

.mempelai-foto .frame-2 {
    position: absolute;
    right: -10px;
    bottom: -26px;
    z-index: 10;
    width: 130px;
}

@media(min-width: 992px) {
	.mempelai-foto .frame-1 {
        left: -12px;
        bottom: -28px;
        width: 160px;
    }
	.mempelai-foto .frame-2 {
        right: -12px;
        bottom: -28px;
        width: 160px;
    }
}

.mempelai-panggilan {
    font-size: 48px;
    margin: -2px 0 6px;
    text-align: center;
}
	
.mempelai-nama {
    text-align: center;
    line-height: 1em;
    font-size: 22px;
    font-weight: 600;
    margin-top: -6px;
    margin-bottom: 15px;
}

.mempelai-detail {
    text-align: center;
    font-size: 15px;
    margin-bottom: 12px;
    padding: 0 10px;
}

.mempelai-ortu {
    text-align: center;
    font-weight: 600;
    margin-bottom: 12px;
    padding: 0 10px;
}

.mempelai-alamat {
    text-align: center;
    padding: 0 10px;
}

/*============== Intro ==============*/
.intro {
	margin: 70px 0 90px;
}

/*============== Counter ==============*/
#countdown {
	padding: 90px 0;
}

.counter-list {
	list-style: none;
	text-align: center;
	margin-top: 28px;
}

.counter-list__item {
    width: 25%;
    float: left;
    text-align: center;
    padding: 4px;
}

.counter-box {
    border-radius: 10px;
    padding: 0 0 8px;
}

.counter-list__item .counting {
    font-family: "Analogue", Sans-serif;
    letter-spacing: 3px;
    display: block;
    margin: 0 auto;
    font-size: 44px;
    line-height: 1em;
}

.counter-list__item p {
    display: block;
    text-align: center;
    font-size: 24px;
    margin: 0;
}

@media(max-width: 768px) {
    .counter-list {
	    margin-top: 18px;
	}
	
    .counter-list__item .counting {
        font-size: 24px;
    }
    
    .counter-list__item p {
        padding: 0 0 6px;
        font-size: 16px;
    }
}

@media(min-width: 992px) {
	.counter-list__item .icon {
		top: 40%;
	}

	.counter-list__item .counting {
		font-size:46px;
	}
	
	.counter-list__item p {
        padding: 0 0 6px;
        font-size: 18px;
    }
}


/*============== Story ==============*/
.stories {
	padding: 90px 0;
}

.stories__title {
	margin-bottom: 50px;
}

.stories__img {
	/*border: 10px solid #fbfbfa;
	padding: 5px;*/
}

.stories .icon {
	margin-bottom: 14px;
    margin-left: 4px;
}

.slider-list {
	list-style: none;
	margin-bottom: 25px;
	margin-left: -15px;
    margin-right: -15px;
}

.slider-list .slick-list {
	padding-top: 25px!important; /* Because of margin-top: -25 on current slick item */
}

.slider-list__item {
	text-align: center;
	transition: transform .4s ease;
	-webkit-transition: transform .4s ease;
}

.slider-list__item.slick-current {
	transform: translateY(-25px);
	-webkit-transform: translateY(-25px);
	-ms-transform: translateY(-25px);
}

.slider-list__item img {
	width: 100%;
	max-width: 380px;
	margin-bottom: 20px;
	display: inline!important;
	transition: box-shadow .4s ease;
	-webkit-transition: box-shadow .4s ease;
}

.slider-list__item p {
	font-size: 20px;
	margin-bottom: 0px;
	display: none;
}

.slider-list__item.slick-current img {
	-webkit-box-shadow: 4px 21px 29px -8px rgba(161,161,161,1);
	-moz-box-shadow: 4px 21px 29px -8px rgba(161,161,161,1);
	box-shadow: 4px 21px 29px -8px rgba(161,161,161,1);
}

.slider-list__item.slick-current p {
	display: block;
}

.slider-arrows {
	justify-content: center;
}

.slider-arrows .icon {
	padding: 0 5px;
	margin-top: 5px;
}

.slider-arrow {
	cursor: pointer;
}

.slider-arrow svg path {
	stroke: #b1b1b1;
	transition: stroke .4s ease;
	-webkit-transition: stroke .4s ease;
}

.slider-arrow:hover svg path {
	stroke: #ffd7d7;
}

@media(min-width: 768px) {
	.slider-list__item img {
		max-width: 300px;
	}
}

.owl-carousel .owl-nav button.owl-next,
.owl-carousel .owl-nav button.owl-prev,
.owl-carousel button.owl-dot {
    width: 60px;
    height: 50px;
    background-color: #000;
    border-radius: 2px;
    color: #FFF;
    line-height: 58px;
    margin: 0 8px;
}

.owl-theme .owl-nav [class*=owl-]:hover {
    background: #000;
}

/* 11.1. Masonry grid */
.grid-item,
.grid-sizer {
	width: 100%;
}

.grid-item {
	margin-bottom: 4%;
}


@media(min-width: 576px) {
	.grid-item,
	.grid-sizer {
		width: 46%;
	}

	.gutter-sizer {
		width: 4%;
	}
}

@media(min-width: 768px) {
	.grid-item,
	.grid-sizer {
		width: 31.333%;
	}

	.grid-item {
		margin-bottom: 3%;
	}

	.gutter-sizer {
		width: 3%;
	}
}

.story-timeline {
	padding: 50px 0;
	position: relative;
}

.story-timeline__text {
	padding: 30px 0;
	position: relative;
	z-index: 9;
}

.story-timeline__text h4 {
	font-style: initial;
	font-weight: 600;
	margin-bottom: 15px;
	position: relative;
}

@media(min-width: 768px) {
	.story-timeline__col {
		width: 50%;
	}

	.story-timeline__col--left {
		padding-right: 45px;
		position: relative;
	}

	.story-timeline__col--left .story-timeline__text {
		text-align: right;
	}

	.story-timeline__col--right {
		padding-left: 45px;
	}

	.story-timeline__col--left:after {
		content: "";
		position: absolute;
		right: 0;
		top: 0;
		width: 1px;
		height: 100%;
		background-color: #dfdfdf;
	}

	.story-timeline__text {
		padding: 50px 0;
	}

	.story-timeline__text h4:before {
		content: "";
		position: absolute;
		height: 1px;
		background: #dfdfdf;
		left: -33px;
		width: 26px;
		top: 14px;
	}

	.story-timeline__col--left h4:before {
		left: auto;
		right: -33px;
	}

	.story-timeline__text .icon {
		position: absolute;
		left: -56px;
		padding: 3px 0;
		margin-top: 2px;
		top: 0;
	}

	.story-timeline__col--left .icon {
		left: auto;
		right: -55px;
	}
}

@media(min-width: 992px) {
	.story-timeline__text h4 {
		padding-left: 78px;
	}

	.story-timeline__col--left h4 {
		padding-right: 78px;
	}

	.story-timeline__text h4:before {
		width: 100px;
	}
}

/*============== Video ==============*/
.video {
	padding: 0 0 70px 0;
}

/*============== Quote ==============*/
.section-quote {
	padding: 70px 0 90px;
	position: relative;
}

.quote-text {
	font-size: 17px;
	line-height: 1.3;
	text-align: center;
}

.quote-text.petik {
    position: relative;
    padding-top: 100px;
}

.quote-text.petik::before {
    position: absolute;
    content: "“";
    top: 15px;
    left: 0px;
    color: #2125296b;
    font-family: "Old Standard TT", sans-serif;
    line-height: 1;
    font-size: 100px;
    font-style: normal;
    width: 100%;
    text-align: center;
}

.quote-name {
    font-size: 18px;
    margin: 6px 0 22px;
    font-weight: 600;
    text-align: center;
}

.quote-arti {
	font-size: 16px;
	line-height: 1.3;
	text-align: center;
}

/*============== Acara ==============*/
.location {
	padding: 120px 0 70px;
	position: relative;
}

.location-row {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

.acara {
    position: relative;
    margin-bottom: 40px;
    box-shadow: 0 0 6px 3px rgb(28 31 86 / 12%);
    background: #fff;
    border-radius: 20px;
}

.acara-img img {
    border-radius: 20px 20px 0 0;
}

.acara-text .row {
    margin-right: 0;
    margin-left: 0;
}

.acara-text-side {
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    width: 24%;
    background-color: #255958;
    border-radius: 0 0 0 20px;
}

.resepsi .acara-text-side {
    border-radius: 0 0 20px 0;
}

.acara-text-wrap {
    position: relative;
    padding: 10px;
    width: 100%;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -ms-flex-line-pack: start;
    align-content: flex-start;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    justify-content: center;
    align-content: center;
    align-items: center;
}

.acara-text-wrap-container{
    position: relative;
    max-width: 100%;
    text-align: center;
    width: auto;
}

.acara-text-container {
    margin: 6em -10em 6em -10em;
    padding: 0px 0px 0px 0px;
    transform: rotateZ(-90deg);
}

.acara-text-container h2{
    color: #FFFFFF;
    font-family: "Cormorant Upright", Sans-serif;
    font-size: 28px;
    letter-spacing: 1px;
    font-weight: normal;
    text-transform: uppercase;
    font-style: normal;
}

.acara-text-inside {
    font-family: 'Arima Madurai', cursive;
    padding: 20px 20px 30px 30px;
    position: relative;
    width: 76%;
}

.resepsi .acara-text-inside {
    text-align: right;
}

.acara-text-tanggal {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    padding: 0;
    border-style: solid;
    border-width: 0px 0px 1px 0px;
    border-color: #5E5E5E50;
    transition: background 0.3s, border 0.3s, border-radius 0.3s, box-shadow 0.3s;
    margin-top: 0em;
    margin-bottom: 30px;
}

.acara-text-tanggal .tgl {
    width: 40%;
    padding: 0;
}

.tgl-box {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    padding: 0px;
    justify-content: center;
    align-content: center;
    align-items: center;
}

.tgl-box h2 {
    font-family: "Analogue", Sans-serif;
    font-size: 80px;
    font-weight: normal;
    font-style: normal;
}

.acara-text-tanggal .detail div {
    line-height: 1.4;
}

.acara-text-tanggal .detail {
    width: 60%;
    padding: 15px 0 0;
}

.acara-text-jam,
.acara-text-map {
    padding: 0 0 0 10px;
}

.acara-head {
    font-family: Gilda Display,serif;
    font-size: 28px;
    text-transform: uppercase;
    margin-bottom: 20px;
    color: #a3888c;
    font-weight: 400;
}

.acara-detail {
    line-height: 1.4;
    margin-bottom: 20px;
}

.acara-detail.tempat {
    margin-bottom: 6px;
    font-size: 13px;
}

.btn-map {
    color: #000;
    background-color: #5E5E5E00;
    border-style: solid;
    border-width: 1px 1px 1px 1px;
    border-color: #5E5E5E;
    font-size: 13px;
    padding: 7px 25px;
    margin: auto;
    margin-top: 10px;
    cursor: pointer;
    border-radius: 30px;
    transition: background-color .3s ease;
    -webkit-transition: background-color .3s ease;
}

.btn-map:active,
.btn-map:hover,
.btn-map:focus {
    background-color: #5E5E5E00;
    border-style: solid;
    border-width: 1px 1px 1px 1px;
    border-color: #5E5E5E;
	color: #000;
}

.kami p {
    width: 100%;
}

.keluarga {
    font-style: italic;
    font-weight: bold;
}

@media(min-width: 768px) {
	.location {
		padding: 100px 0;
	}

    .overlay {
        height: 620px;
    }
}

/*============== Ucapan ==============*/
.ucapan {
    padding: 70px 0 70px 0;
}

.scroll{
    max-height: 400px;
    padding: 12px;
    overflow-x: hidden;
    overflow-y: scroll;
    text-align: left;
}

@media(min-width: 768px) {
	.scroll{
	    width: 80%;
        margin: auto;
    }
}

.row_ucapan {
    margin-bottom: 18px;
}

.row_ucapan:last-child {
    margin-bottom: 0px;
}

.row_ucapan .card {
    background-color: #eaf0eb;
    border: none;
    border-bottom: 1px solid #255958;
    border-radius: 5px;
}

.row_ucapan .card-body {
    padding: 10px 8px 8px 10px;
}

.row_ucapan blockquote{
    margin: 6px;
}

.row_ucapan blockquote p{
    font-size: 14px;
    font-style: italic;
    margin-bottom: 2px;
}

.row_ucapan blockquote i {
    font-size: 26px;
}

.row_ucapan .ucapan_nama {
    font-size: 14px;
    color: #524850;
}

.row_ucapan .ucapan_nama .ucapan-hadir{
    font-size: 13px;
    font-style: italic;
}

.row_ucapan .blockquote-footer::before {
    color: #7299ba;
    content: "\2013 \0A0";
}

/* width */
.scroll::-webkit-scrollbar {
  width: 4px;
}

/* Track */
.scroll::-webkit-scrollbar-track {
  background: #f1f1f1; 
}
 
/* Handle */
.scroll::-webkit-scrollbar-thumb {
  background: #888888; 
}

/* Handle on hover */
.scroll::-webkit-scrollbar-thumb:hover {
  background: #888888; 
}

.rsvp-box .rsvp-form {
	margin-top: 50px;
}

.rsvp-form input,
.rsvp-form textarea,
.rsvp-form select {
	width: 100%;
	font-style: initial;
	color: #1c1c1c;
	padding: 5px 10px;
	margin-bottom: 13px;
	border-radius: 0;
	background-color: transparent;
}

.rsvp-form input,
.rsvp-form select,
.rsvp-form textarea{
    border: 0;
    border-bottom: 1px solid #255958;
    background-color: #eaf0eb;
    border-radius: 5px;
}

.rsvp-form select {
    background: none;
    border-radius: 0;
	-webkit-appearance: none;
	-moz-appearance: none;
	color: #5f5f55;
}

input[type="radio"] + label{
    font-size: 16px;
    font-weight: inherit;
    font-family: inherit;
    text-transform: none;
    width: initial;
    padding-top: 0;
    padding-bottom: 0;
    float: none;
    margin-bottom: 5px;
    display: block;
    position: relative;
    padding-left: 30px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -o-user-select: none;
    user-select: none;
}

input[type="radio"], input[type="checkbox"] {
    display: none;
}

input[type="radio"] + label:not(:last-child){
  margin-right: 25px;
}

input[type="radio"] + label::before,
input[type="radio"] + label::after{
  content: "";
  display: block;
  position: absolute;
}

input[type="radio"] + label::before{
  background: transparent;
  border: 1px solid #000;
  left: 0;
  top: 2px;
}

input[type="radio"] + label::before{
  border-radius: 50%;
  width: 20px;
  height: 20px;
}

input[type="radio"] + label::after{
  opacity: 0;
  visibility: hidden;
}

input[type="radio"] + label::after{
    left: 6px;
    top: 8px;
    border-radius: 50%;
    background-color: #000;
    width: 8px;
    height: 8px;
}


input[type="radio"]:checked + label::after{
  opacity: 1;
  visibility: visible;
}

.rsvp-form-field {
	position: relative;
	text-align: left;
}

.rsvp-form-field label{
	margin-left: 10px;
	margin-bottom: 4px;
}

.rsvp-form-field__error {
	display: none;
	font-size: 15px;
	color: #c64141;
	font-style: initial;
	position: absolute;
	bottom: -18px;
	left: 5px;
}

.rsvp-form input.error {
	border-bottom: 1px solid #c64141;
}

::-webkit-input-placeholder { /* Chrome/Opera/Safari */
	color: #5f5f55;
}
::-moz-placeholder { /* Firefox 19+ */
	color: #5f5f55;
}
:-ms-input-placeholder { /* IE 10+ */
	color: #5f5f55;
}
:-moz-placeholder { /* Firefox 18- */
	color: #5f5f55;
}

.rsvp-form-submit {
    color: #fff;
    background-color: #255958;
    border: 0;
    font-size: 14px;
    font-weight: normal;
    padding: 7px 25px;
    margin: auto;
    margin-top: 8px;
    cursor: pointer;
    border-radius: 30px;
    transition: background-color .3s ease;
    -webkit-transition: background-color .3s ease;
}

.rsvp-form-submit:active,
.rsvp-form-submit:hover,
.rsvp-form-submit:focus {
    border: none;
	color: #fff;
}

/* MUSIC */
#buttonmusic {
    position: fixed;
    bottom: 20px;
    padding: 10px 11px 3px 11px;
    color: #fff;
    background-color: #255958;
    right: 20px;
    font-size: 18px;
    border-radius: 30px;
    z-index: 3;
}

/*============== Protokol ==============*/
.protokol {
    padding: 70px 0 0;
}

.protokol .heading {
    font-size:20px;
    font-weight: 600;
}

.protokol p {
    font-size: 14px;
}

.protokol .protokol-row {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

.protokol .protokol-item {
    text-align: center;
    margin-bottom: 10px;
    padding-right: 5px;
    padding-left: 5px;
}

.protokol .protokol-item img{
    width: 80px;
    height: 80px;
    margin-bottom: 10px;
}

.protokol .protokol-item p{
    font-size: 12px;
}

@media(max-width: 768px) {
	.protokol .protokol-item{
	    width: 33.3%;
	}
}

/*============== Footer ==============*/
.footer {
	padding: 0 0 20px;
    width: 100%;
}

.footer .icon {
	margin: 0 -2px;
}

.footer__social {
	list-style: none;
	margin-top: 30px;
}

.footer__social li {
	display: inline-block;
	margin: 0 5px;
}

.footer__copy {
	font-size: 16px;
}

/* MODAL */
.modal {
    background-color: #fdf8f5;
    background-image: url(../img/bg-modal.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    margin-left: auto!important;
    margin-right: auto!important;
    background-position: 50% 50%;
}

@media(min-width: 768px) {
    .modal {
        background-position: top 50%;
    }
	.modal-img {
        height: 100vh;
    }
}

.modal-open .modal {
    overflow: hidden;
}

.modal-dialog {
    position: relative;
    height: 100vh;
    margin: 15px;
}

#modal_undangan .modal-content {
    position: absolute;
    bottom: 150px;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    width: 100%;
    pointer-events: auto;
    background-color: transparent;
    border: none;
    outline: 0;
}

@media(min-width: 768px) {
	#modal_undangan .modal-content {
        bottom: 120px;
    }
}

.modal-body {
	padding: 0 8px ;
    position: relative;
    width: 100%;
    pointer-events: auto;
    background-color: transparent;
    background-clip: padding-box;
    outline: 0;
}

.heading-modal {
	font-size: 18px;
	margin-bottom:2px;
    color: #fff;
}

.modal-penerima {
    font-size: 22px;
    margin-bottom: 2px;
    margin-top: -3px;
    color: #fff;
}

.modal-dari {
    font-family: 'BohemeFloral', cursive;
    font-size: 58px;
    word-spacing: -8px;
    margin-bottom: 12px;
    color: #fff;
}

.paragraph-modal {
    margin-bottom: 4px; 
    font-size: 15px;
    color: #fff;
}

.btn-modal {
    color: #000;
    background-color: #fdf8f5;
    border: 0;
    font-size: 14px;
    font-weight: normal;
    padding: 7px 25px;
    margin: auto;
    margin-top: 8px;
    cursor: pointer;
    border-radius: 30px;
    transition: background-color .3s ease;
    -webkit-transition: background-color .3s ease;
}

@media (min-width: 576px){
	.modal-dialog {
		max-width: 500px;
		margin: 1.75rem auto;
	}

	.fb_iframe_widget, .fb_iframe_widget span, .fb_iframe_widget span iframe[style] {
		width: 100% !important;
	}
}

/* AMPLOP */
.amplop {
	position: relative;
    padding: 90px 0;
}

.modal-amplop {
    background: transparent;
    margin: 0px;
    background-image: none;
}

.modal-amplop .modal-content {
    padding: 0 12px 12px;
    height: auto;
    background-color: transparent;
    border: none;
}

.modal-amplop .modal-body {
    padding: 40px 22px 10px;
    text-align: center;
    background-color: #fff;
    color: #000;
    border: none;
    border-radius: 12px;
}
        
.modal-amplop .modal-title {
    padding: 0 10px;
    margin-bottom: -4px;
    font-size: 15px;
}
        
.modal-amplop .modal-text {
    font-size: 14px;
}

.modal-amplop .modal-header {
    background-color: #fff;
    color: #000;
}
        
.modal-close{
    position: absolute;
    right: 10px;
    top: 0px;
    background: transparent;
    border: none;
    font-size: 30px;
    z-index: 999;
}

.box-gift {
    text-align: center;
    background: #ebebeb;
    margin: 20px 0;
    padding: 14px 8px 16px;
    border-radius: 12px;
}

.box-gift .card-title img {
    width: 150px;
    margin-bottom: -8px;
}

.box-gift .rsvp-form-submit {
    font-size: 12px;
    margin-top: 14px;
    padding: 8px 24px;
}

.box-gift .alert-success {
    margin-bottom: 0px;
    margin-top: 10px;
    font-size: 14px;
}

.num-temp {
    height: 0;
    opacity: 0;
}