/*------------------------------------------------------------------
[Custom CSS by Tanggalnya.com]
Version:        1.0.0
Author:         Wicak
-------------------------------------------------------------------*/

body {
    overflow-y: scroll;
    overflow: hidden;
    background-color: #f1f0ef;
}
.oliven-nav-toggle {
  z-index: 1002;
}

/*Invitation*/
a.btn.buttono {
    background: #737373;
    border: 1px solid #737373;
}
.invitation-section a.btn.buttono:hover {
    color: #000;
    background: #e2e2e2 ;
    border: 1px solid #545454;
}


/* SLider */
.oliven-hero .flexslider .slider-text > .slider-text-inner h2, .oliven-hero .flexslider .slider-text > .slider-text-inner h2 {
  text-shadow: 0 0 15px #0000007a;
}
.oliven-hero .flexslider .slider-text > .slider-text-inner h6, .oliven-hero .flexslider .slider-text > .slider-text-inner h6 {
  text-shadow: 0 0 10px #000000d9;
}

/* Couple */
.bridegroom .info.no-photo {
  margin-left: 0;
} 
.bridegroom .toright .info.no-photo {
  margin-right: 0;
}
.bridegroom .toright .info, .bridegroom .info {
  /*margin-top: 25px;*/
}

/* Bridesmaid */
.bridesmaid .grids > .grid:first-child {
    text-align: right;
}
.bridesmaid .grid {
    width: 33.33%;
    float: left;
    padding: 10px 35px;
    border-right: 0;
}
.bridesmaid .grids > .grid:nth-child(2) {
    border-left: 1px solid #545651;
    border-right: 1px solid #545651;
}
.bridesmaid .grids > .grid:nth-child(2) {
    text-align: center;
}
.bridesmaid .grids > .grid:last-child {
    border-right: 0;
}
@media (max-width: 767px) {
    .bridesmaid .grid {
        padding: 4px 25px;
    }
    .bridesmaid .grid {
        width: 100%;
        border-bottom: 1px solid #545651;
        border-right: 0;
        text-align: center;
        padding: 4px 25px;
    }
    .bridesmaid .grids > .grid:nth-child(2) {
        border: 0;
    }
    .bridesmaid .grids > .grid:first-child {
        text-align: center;
    }
    .bridesmaid .grid, .bridesmaid .grids > .grid:nth-child(2) {
        border: 0;
    }
    .mob-hide {
        display: none;
    }
}

.seeyou.section-padding.bg-img {
  background-position-x: center;
}

/* Story */
.story-block {
    background: #fff;
    padding: 40px 40px 20px;
}
.story-section {
  padding-bottom: 100px;
}
.story-block .date {
    color: #545454;
    font-size: 16px;
    font-weight: 400;
    font-family: 'Birthstone', cursive;
}
.story-section ul {
    list-style: none;
    position: relative;
}
.story-section ul:before {
    content: "";
    background: #545454;
    width: 3px;
    height: 100%;
    position: absolute;
    left: calc(50% - 1.5px);
    top: 0;
}
.story-section ul li:before {
    content: "";
    background: #fff;
    border: 3px solid #545454;
    width: 20px;
    height: 20px;
    position: absolute;
    left: calc(50% - 15px);
    bottom: 0;
    border-radius: 50%;
}
.story-section ul:after {
    content: "";
    background: #545454;
    width: 20px;
    height: 20px;
    position: absolute;
    left: calc(50% - 10px);
    top: 0;
    border-radius: 50%;
}
.story-block ul {
    padding-left: 10px;
}
.story-section ul li {
    overflow: hidden;
    position: relative;
    padding-bottom: 40px;
    margin-bottom: 40px;
}
.story-section ul li > div {
    width: 50%;
    float: left;
}
.story-section ul li:nth-child(even) .details {
    padding-left: 60px;
}
.story-section ul li:nth-child(odd) .details {
    padding-right: 60px;
    text-align: right
}
.story-section ul li:nth-child(odd) img {
    float: left;
    margin-left: 95px;
    height: 100%;
    max-height: 200px;
    width: auto;
}
.story-section ul li:nth-child(even) img {
    float: right;
    margin-right: 95px;
    height: 100%;
    max-height: 200px;
    width: auto;
}
.story-section ul li:nth-child(odd):after {
    content: "";
    width: 110px;
    height: 2px;
    border-bottom: 2px dashed #545454;
    position: absolute;
    left: calc(50% - 140px);
    bottom: 8px;
}
.story-section ul li:nth-child(even):after {
    content: "";
    width: 110px;
    height: 2px;
    border-bottom: 2px dashed #545454;
    position: absolute;
    left: calc(50% + 40px);
    bottom: 8px;
}
.story-section ul > li:last-child:after {
    display: none;
}

@media screen and (max-width: 991px) {
    .story-section ul li:nth-child(odd) img {
        margin-left: 50px;
    }
    .story-section ul li:nth-child(even) img {
        margin-right: 50px;
    }
    .story-block {
        padding: 40px 20px 0;
    }
}
@media (max-width: 767px) {
    .story-section ul li {
        padding-bottom: 20px;
        margin-bottom: 20px;
    }
    .story-section ul li:nth-child(even):after {
        display: none;
    }
    .story-section ul li:nth-child(odd) .details {
        text-align: left;
        padding-right: 40px;
    }
    .story-section ul li:nth-child(even) .details {
        padding-left: 0;
    }
    .story-section ul li:nth-child(even) img {
        float: none;
        display: none;
    }
    .story-section ul li:nth-child(odd) img {
        float: none;
        display: none;
    }
    .story-section ul:before {
        display: none;
    }
    .story-section ul li > div {
        width: 100%;
        float: none;
    }
    .story-section ul:after, .story-section ul li:before, .story-section ul li:nth-child(odd):after {
        display: none;
    }
}

/* Location */
.col-addr {
  background-color: #fff;
  border-radius: 50% 50% 0 0;
  /* height: 300px; */
  max-width: 400px;
  margin: auto;
}
.col-addr .grid {
  padding: 10px;
}
.event-title {
  display: block;
    position: relative;
    top: 12px;
    font-family: 'Birthstone', cursive;
    font-weight: 400;
    font-size: 45px;
    color: #545454;
    line-height: 1.5em;
    margin-bottom: 10px;
}
.col-addr a {
    color: #545454;
    margin-bottom: 20px;
}
.row.maps {
  min-height: 320px;
  height: 100%;
}

/* Gallery */
#gallery .galeri-phone {
  display: none;
}

@media (max-width: 767px) {
  #gallery .galeri-phone {
    display: block;
  }

  #gallery .galeri-pc {
    display: none;
  }
}


/* Protokol */ 
.protocol-section {
    background-color: #fff;
    padding: 30px 0;
}
.protocol-section .owl-carousel {
    margin: 30px 0;
}
.protocol-section .client-logo {
    opacity: 1;
    line-height: 0;
}
.protocol-section .client-logo:hover {
    opacity: 1;
}

.protocol-section img {
    -webkit-filter: grayscale(100%);
    filter: grayscale(100%);
    -webkit-transition: all .5s;
    transition: all .5s;
}
.protocol-section img:hover {
    -webkit-filter: none;
    filter: none;
}

.protokol {
  display: contents;
}
.protokol img {
  filter: none;
}
.protokol-img {
  max-width: 800px;
  margin: auto;
  margin-bottom: 35px;
}

@media (max-width: 767px) {
  .protokol .client-logo {
      width: 50%;
      padding: 15px;
  }
}

/*---------------------------
    Gift Section
----------------------------*/
.gift-section {
    padding-bottom: 120px;
}
.gift-list {
    max-width: 950px;
    margin: auto;
}
.gift-detail {
  padding: 10px;
}
.gift-detail p {
    line-height: 1.3em;
}
.gift-detail h4 {
    font-weight: 600;
}
.gift-detail img {
    max-width: 200px;
}
.gift-box{
    padding: 10px;
    margin: auto;
    width: fit-content;
    background-color: #fff;
    box-shadow: 0px 4px 13.65px 7.35px rgb(143 143 143 / 18%);
    border-radius: 10px;
}
.rek-input {
    display: none !important;
}
.modal .theme-btn.gift {
    font-family: 'Poppins', sans-serif;
    background: #545454;
    border: 1px solid #545454;
    color: #fff;
    padding: 8px 15px;
    margin: 0;
    font-weight: 400;
    position: relative;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 0px;
    line-height: 1.75em;
}
/*.tooltip-inner {
    margin: auto;
}*/

img.gift-logo {
    width: 100%;
}
.nav-tabs{
    border-bottom: none;
    margin-bottom: 20px;
}
.nav-tabs>li {
    max-width: 33.3%;
    margin-bottom: 0px;
} 
.nav>li>a {
    padding: 8px;

}
.nav-tabs>li>a {
    border: none;
}
.nav-tabs>li.active>a {
    border: none;
}
.nav-tabs>li>a.active, .nav-tabs>li>a.active:focus, .nav-tabs>li>a.active:hover {
    border: none;
    border-radius: none;
    background-color: #f3f3f3;
}

.modal-header {
    border-bottom: none;
}
.modal-title {
    display: inline;
}
.modal-body {
    padding-top: 0px;
}
.modal.show .modal-dialog {
    margin-top: 10vh;
}
.modal #kirimkado {
    font-size: 1.1em;
    font-weight: 300;
    padding: 21px 10px 26px;
    display: block;
    border: dashed 1px;
    line-height: 1.5;
    font-family: Now, Sans-Serif;
    margin: 15px 10px;
    text-transform: none;
    background-color: #f5f5f5;
}
#kirimkado .nama-penerima {
    font-weight: 600;
    display: block;
}
.gift-box-2 {
    max-width: 310px;
    margin: auto;
    display: block;
    margin-bottom: 60px;
}
.gift-detail h3 {
    font-weight: 600;
    font-size: 20px;
}

@media (max-width: 767px) { 
    .nav>li>a {
        padding: 5px;
    }
}

/* RSVP */
label.error {
  color: red;
}
.form select {
  max-width: 100%;
    margin-bottom: 15px;
    border: none;
    padding: 5px 15px;
    height: auto;
    background-color: #fff;
    -webkit-box-shadow: none;
    box-shadow: none;
    display: block;
    width: 100%;
    font-family: 'Poppins', sans-serif;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.75em;
    color: #707070;
    background-image: none;
    border: 1px solid #ececec;
}

@keyframes rotating {
  from {
    transform: rotate(0);
  }
  to {
    transform: rotate(360deg);
  }
}

#rsvp-form #loader-rsvp, #guestbook-form #loader-gb {
    display: none;
    margin-top: 10px;
}
#rsvp-form #loader-rsvp i, #guestbook-form #loader-gb i {
    font-size: 1.2rem;
    color: #545454;
    display: inline-block;
    -webkit-animation: rotating linear 2s infinite;
    animation: rotating linear 2s infinite;
}
#rsvp-form #r-success, #rsvp-form #r-error, #guestbook-form #success-gb, #guestbook-form #error-gb {
  width: 100%;
    color: #fff;
    padding: 5px 10px;
    font-size: 16px;
    text-align: center;
    display: none;
}
#rsvp-form #r-success, #guestbook-form #success-gb {
    background-color: #6ab36a;
}
#rsvp-form #r-error, #guestbook-form #error-gb {
    background-color: #c54b4b;
}


/* Guest Book */
textarea.form-control {
  max-width: 100%;
    margin-bottom: 15px;
    border: none;
    padding: 5px 15px;
    height: auto;
    background-color: #fff;
    -webkit-box-shadow: none;
    box-shadow: none;
    display: block;
    width: 100%;
    font-family: 'Poppins', sans-serif;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.75em;
    color: #707070;
    background-image: none;
    border: 1px solid #ececec;  
}

.all-wishes {
    overflow-y: scroll;
    border: 1px solid #edf3f5;
}
.wishes-box {
    padding: 25px 15px 15px 15px;
    width: 100%;
    max-height: 300px;
    background-color: #fff;
    z-index: 0;
    position: relative;
}
.wishes-box .wishes {
    margin-bottom: 10px;
}
.wishes-box h4 {
  font-family: 'Poppins';
    display: inline;
    font-size: 12px;
    font-weight: 600;
}
.wishes-box p {
    font-size: 0.9rem;
    font-weight: 300;
    line-height: 1.2rem;
    margin: 0 0 10px;
}
.wishes-box h4 + .wishes-from {
    font-size: 12px;
    color: #888;
    font-weight: normal;
    font-family: 'Poppins';
}
.wishes-box .title {
    line-height: 20px
}
.all-wishes .quotes {
    position: absolute;
    font-size: 5rem;
    margin-top: 5px;
    margin-left: 0px;
    font-family: 'Cormorant Garamond', serif;
    z-index: 1;
    color: #545454;
}

/* Footer */
.footer2 {
   padding: 0px 30px;
   height: calc(100vh - 100px);
}
.footer2 .oliven-story-subtitle {
  font-size: 30pt;
}
.footer2 h2 a span, .footer2 h2 span {
    font-size: 50px;
}
.footer2 h2, .footer2 h2 a {
  margin-bottom: 60px;
}
.footer2 p {
  font-family: 'Poppins';
    font-size: 10px;
    font-style: normal;
    color: #fff;
    margin: 0;
}
.footer2 p a:hover {
  text-decoration: underline;
}
.footer2 .copyright {
    width: 100%;
    position: absolute;
    bottom: 10vh;
}
.footer2 h4 {
    font-family: 'Poppins';
    text-transform: uppercase;
    font-weight: normal;
    color: #fff;
    font-size: 32px;
}
.footer2 h2 {
    font-family: 'Birthstone';
    font-weight: normal;
    color: #fff;
    font-size: 48px;
    margin-bottom: 10px;
}
.footer2 h4 span {
    font-family: 'Birthstone';
    text-transform: lowercase;
}

.story.section-padding {
    background: #faf8f7;
}

/*---------------------------
    Sound On/Off
----------------------------*/
.backsound {
    background-color: #545454;
    width: 45px;
    height: 45px;
    line-height: 45px;
    border: 2px solid #545454;
    border-radius: 45px;
    text-align: center;
    display: block;
    position: fixed;
    z-index: 1002;
    left: 15px;
    bottom: 15px;
    -webkit-transition: all 0.2s;
    -moz-transition: all 0.2s;
    -o-transition: all 0.2s;
    -ms-transition: all 0.2s;
    transition: all 0.2s;
    cursor: pointer;
}
.backsound > img, .backsound-mute > img { 
    width: 60%;
    margin-top: -4px;
}
.backsound-mute {
    background-color: #545454;
    width: 45px;
    height: 45px;
    line-height: 45px;
    border: 2px solid #545454;
    border-radius: 45px;
    text-align: center;
    display: block;
    position: fixed;
    z-index: 1002;
    left: 15px;
    bottom: 15px;
    -webkit-transition: all 0.2s;
    -moz-transition: all 0.2s;
    -o-transition: all 0.2s;
    -ms-transition: all 0.2s;
    transition: all 0.2s;
    cursor: pointer;
}
.backsound:hover {  
    background-color: #6b6b6b;  
}


/*---------------------------
    Media Screen
----------------------------*/

@media only screen and (min-width: 0px) and (max-width:960px) {
  .backsound, .backsound-mute { 
        width: 35px;
        height: 35px;
        line-height: 35px;
    }
    .backsound > img, .backsound-mute > img { 
        margin-top: -4px;
    }

    .bg-fixed {
      background-attachment: scroll;
      background-position: center;
    }

    #countdown li {
      width: calc(50% - 30px);
    }
    #countdown .style-2 li {
        width: calc(33% - 34px) !important;
        background-color: #e6c595;
    }

    .footer2 h2 {
        font-size: 48px;
        margin-bottom: 10px;
    }
    .footer2 h4 {
        font-size: 28px;
    }
    .footer2 .copyright {
        width: calc(100% - 45px);
    }

}