/*------------------------------------------------------------------
[Custom CSS by Tanggalnya.com]
Version:        1.0.0
Author:         Wicak
Wbsite :        Ana & Lutfi Wedding

-------------------------------------------------------------------*/



/*---------------------------
    General
----------------------------*/

body {
    overflow-y: scroll;
    overflow: hidden;
    background-color: #6b5137;
}
#mainpage {
  scroll-behavior: smooth;
}
#mainpage .animate-box {
    opacity: 0;
}

.flower-fixed-body:before{
    bottom: 100px;
}
.section-padding.popup {
    padding: 30px 0;
}
.header-style-1 .topbar {
    background: #6b5137;
    border-bottom: 1px solid #54402c;
}
.header-style-1 .site-logo h1 + span:before {
    background: #c4b097;
}
.header-style-1 .site-logo h1 + span:after {
    background: #c4b097;
}
.site-header .navigation {
    background: #6b5137;
}

h1, h2, h3, h4, h5, h6 {
    color: #e5d8c9;
}
/*---------------------------
    Header
-----------------------------*/

/*---------------------------
    Invitation Popup
----------------------------*/
.invitation-section .invitation-box {
    max-width: 80%;
}

.invitation-section .invitation-box h2 {
    text-align: center;
}

.invitation-section .invitation-box p, .invitation-section .invitation-box ol, .invitation-section .invitation-box ul {
    font-size: 1rem;
    font-weight: 300;
    text-transform: inherit;
    text-align: justify;
    line-height: 1.8em;
}

.invitation-section.section-padding.popup {
    width: 100%;
    height: 100%;
    background-color: #6b5137;
    position: fixed;
    z-index: 99998;
    /*overflow: scroll;        */
    overflow-x: hidden;
}
.invitation-section a.link{
    color: #b79f6e;
    letter-spacing: 1px;
    display: inherit;
    margin-top: 34px;
}

/*----------------------------
    Slider
------------------------------*/
.count-down-clock {
    max-width: 550px;
}
#clock > div {
    width: calc(25% - 4px);
    border-radius: 50%;
    margin: 0 2px;
    padding: 20px 29px;
}
#clock .box > div {
    font-size: 3.8rem;
}
#clock .box span {
    font-size: 0.73333rem;
}

.hero-slider .slide-inner.potrait {
    display: none;
}
/*----------------------------
    Couple 
------------------------------*/
/* Show wide version*/
.couple-section .couple-row.last-row .details.wide {
    display: block;
}
.couple-section .couple-row.last-row .details.narrow {
    display: none;
}

.couple-section .details {
    background-color: transparent;
}
.couple-section .couple-row .img-holder {
    text-align: center; 
}
.couple-section .couple-row .img-holder img {
    border-radius: 50%;
    margin: auto;
    vertical-align: middle;
    margin-top: 6%;
    width: 70%;
}

.couple-section .details h2 {
    font-size: 3rem;
    margin: 0 0 0.5em;
}
.couple-section .couple-row.last-row .details{
    text-align: right;
}
.couple-section .couple-row.last-row .details .inner {
    position: inherit;
}
.couple-section .couple-row.last-row .details ul li {
    float: right;
}

/* NO PHOTOS */
.couple-section .details.text-only {
    max-height: 370px;
    min-height: 220px;
}
.couple-section .details.text-only .inner {
    text-align: center;
    width: 100%;
}
.couple-section .details.text-only ul {
    text-align: center;
}
.couple-section .details.text-only ul li {
    float: none;
}
.couple-section .details.text-only h2 {
    font-size: 6rem;
    margin: 0 0 0.2em;
}
.couple-section .couple-row > div.text-only {
    width: 100%;
}
.couple-section .link {
    text-align: center;
    width: 100%;
    height: auto;
    font-family: "DancingScript";
    margin-bottom: 30px;
}
.couple-section .link h4 {
    font-size: 3rem;
}
.couple-section .couple-row > div.link {
    width: 100%;
}
.couple-section .link:before {
    content: "&";
    text-align: center;
    display: block;
    height: 100%;
    left: 0;
    position: absolute;
    top: 0rem;
    width: 100%;
    font-size: 25rem;
    z-index: -1;
    position: absolute;
    color: #e5e5e59e;
}

@media only screen and (min-width: 0px) and (max-width: 767px) {
    .couple-section .details.text-only {
        min-height: 200px;
    }
    .couple-section .details.text-only h2 {
        font-size: 2.8rem;
        font-size: 40px;
        margin: 0 0 0.2em;
    }
    .couple-section .link h4 {
        font-size: 2rem;
    }

    .couple-section .link:before {
        font-size: 22rem;
    }

    #couple-section.section-padding {
        padding: 90px 0 0;
    }
}


/*-----------------------------
    Story box
--------------------------------*/
.story-section .story-block {
    background-color: #604932;
}

@media only screen and (min-width: 0px) and (max-width:767px) {
    .event-section .event-grids .grid {
        /*margin: 0 15px 30px;*/
    }

    .story-section .details h3 {
        margin: 0 2px .4em;
    }
}

/*-------------------------
     Event section
-------------------------*/
.event-section .event-grids h3 {
    font-size: 2.46667rem;
}
.event-section .top-area:before {
    background: -webkit-linear-gradient(top, #6b5137 30%, transparent);
    background: -moz-linear-gradient(top, #6b5137 30%, transparent);
    background: -o-linear-gradient(top, #6b5137 30%, transparent);
    background: -ms-linear-gradient(top, #6b5137 30%, transparent);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(30%, #6b5137), to(transparent));
    background: linear-gradient(top, #6b5137 30%, transparent);
}
.event-section h2, .event-section .date {
    color: #e5d8c9;
}
.event-section .event-grids .grid {
    width: calc(80% - 30px);
    position: relative;
    float: inherit;
    margin: 15px auto;
    padding: 75px;
}
.event-section .event-grids .grid:before {
    content: "";
    width: calc(100% - 60px);
    height: calc(100% - 60px);
    position: absolute;
    left: 30px;
    top: 30px;
    border: 5px solid rgb(183, 159, 110, 0.5);
}
.event-section h4.address {
    font-size: 1.7rem;
    font-weight: 600;
}
.event-section .event-grids .location {
    position: inherit;
}
.event-section .maps iframe {
    position: relative;
}
.event-section .event-grids h3 {
    margin:0;
    padding: 0 0 0.4em;
}
.event-section .event-grids .devide {
    border-right: 3px solid #c4b097;
}

/*---------------------------
    Guest Book
----------------------------*/

.guestbook-section .contact-form {
    background: #604932;
    padding: 65px 45px;
    border: 2px solid #b79f6e4d;
    position: relative;
}

.guestbook-section .form .col {
    margin-bottom: 25px;
}

.guestbook-section .form input, .guestbook-section .form select, .guestbook-section .form textarea {
    background: #6b5137;
    height: 50px;
    font-size: 14px;
    font-size: 0.93333rem;
    font-weight: 300;
    border: 0;
    color: #c4b097;
    padding: 6px 15px;
    -webkit-box-shadow: none;
    box-shadow: none;
    border: 1px solid #b79f6e4d;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    -o-border-radius: 0;
    -ms-border-radius: 0;
    border-radius: 0;
}

.guestbook-section .form textarea {
    height: 105px;
    padding-top: 15px;
}

.guestbook-section .form .submit-btn {
    text-align: center;
    margin-bottom: 0;
}

.guestbook-section .form .success-error-message {
    margin-bottom: 0;
}

.guestbook-section .form .col {
    margin-bottom: 25px;
}

.validate-guestbook-form .success-error-message {
    margin: 15px 0 0;
}

.validate-guestbook-form #success-gb {
    background-color: green;
    margin-bottom: 5px;
}
.validate-guestbook-form #success-gb, .validate-rsvp-form #error-gb {
    width: 100%;
    color: #fff;
    padding: 5px 10px;
    font-size: 16px;
    text-align: center;
    display: none;
}
.validate-guestbook-form #error-gb {
    background-color: red;
}
.validate-guestbook-form #success-gb, .validate-guestbook-form #error-gb {
    width: 100%;
    color: #fff;
    padding: 5px 10px;
    font-size: 16px;
    text-align: center;
    display: none;
}
.validate-guestbook-form #loader-gb {
    display: none;
    margin-top: 10px;
}
.validate-guestbook-form #loader-gb i {
    font-size: 30px;
    font-size: 2rem;
    color: #b79f6e;
    display: inline-block;
    -webkit-animation: rotating linear 2s infinite;
    animation: rotating linear 2s infinite;
}

.validate-guestbook-form label.error {  
    color: red; 
    margin: 5px 0 0 0;  
}

.all-wishes {
    overflow-y: scroll;
    border: 1px solid #b79f6e4d;
}
.wishes-box {
    padding: 25px 15px 15px 15px;
    width: 100%;
    max-height: 300px;
    background-color: #6b5137;
    z-index: 0;
    position: relative;
}
.wishes-box .wishes {
    margin-bottom: 15px;
}
.wishes-box h4 {
    display: inline;
    font-size: 14px;
    font-weight: 600;
}
.wishes-box p {
    font-size: 0.9rem;
    font-weight: 300;
    /*background-color: #b79f6e4d;*/
}
.wishes-box h4 + .wishes-from {
    font-size: 14px;
    color: #b79f6e;
    font-weight: normal;
}
.wishes-box .title {
    /*text-align: right;*/
}

/* --------------------------   
    Bridesmaid  
-----------------------------*/ 
.find-book-section .grid {  
    border-right: 0;    
}   
.find-book-section .grids > .grid:nth-child(2) {    
    border-left: 1px solid #e4e4e4; 
    border-right: 1px solid #e4e4e4;    
}   
#gallery-section {    
    background-color: #6b5137;  
    position: relative; 
}

/*-------------------------
    Quotes 
--------------------------*/
.all-wishes .quotes {
    position: absolute;
    font-size: 13rem;
    margin-top: -66px;
    margin-left: -60px;
    font-family: 'aphroditeslimtextregular';
    z-index: 1;
    color: #b79f6e4d;
}

/*---------------------------
    Sound On/Off
----------------------------*/
.backsound {
    background-color: rgb(183, 159, 110, 0.7);
    width: 45px;
    height: 45px;
    line-height: 45px;
    border: 2px solid #b79f6e;
    border-radius: 45px;
    text-align: center;
    display: block;
    position: fixed;
    z-index: 999;
    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: rgb(183, 159, 110, 0.7);
    width: 45px;
    height: 45px;
    line-height: 45px;
    border: 2px solid #b79f6e;
    border-radius: 45px;
    text-align: center;
    display: none;
    position: fixed;
    z-index: 999;
    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: #b79f6e;  
}

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

@media only screen and (min-width: 0px) and (max-width:960px) {
    .invitation-section .invitation-box{
        max-width: 95%;
    }

    .count-down-clock {
        max-width: 450px;
    }

    /* Couple */
    .couple-section .couple-row {
        /*background-color: #f9f9f9;*/
    }
    .couple-section .details {
        text-align: center;
    }
    .couple-section ul {
        text-align: center;
    }
    .couple-section .details ul li {
        float: none;
    }
    .couple-section .couple-row.last-row .details {
        text-align: center;
    }
    .couple-section .couple-row.last-row .details ul li {
        float: none;
    }
    .couple-section .last-row {
        margin-top: 0px;
    }

    /*Hide when in mobile*/
    .couple-section .couple-row.last-row .details.wide {
        display: none;
    }
    .couple-section .couple-row.last-row .details.narrow {
        display: block;
    }

    .hero-slider .slide-inner {
        display: none;
    }
    .hero-slider .slide-inner.potrait {
        display: flex;
    }

    .event-section .maps iframe {
        width: calc(100% - 15px);
        position: relative;
        height: 300px;
    }
    .event-section .event-grids p {
        color: #e5d8c9;
    }
    .event-section .event-grids .devide {
        border-right: 0;
    }

    .backsound, .backsound-mute { 
        width: 35px;
        height: 35px;
        line-height: 35px;
    }
    .backsound > img, .backsound-mute > img { 
        margin-top: -4px;
    }

    /* Footer */
    .footer-style-1 {
        background-size: cover;
    }

}

@media only screen and (min-width: 0px) and (max-width:767px) {
    .invitation-section .invitation-box{
        max-width: 95%;
    }

    #clock > div {
        width: calc(25% - 4px);
        border-radius: 50%;
        margin: 0 2px;
        padding: 8px 15px;
    }
    #clock .box > div {
        font-size: 2.8rem;
        margin-bottom: -11px;
        margin-top: -3px;
    }
    #clock .box span {
        font-size: 0.53333rem;
    }

    /* Slider */
    .hero-slider {
        height: 600px;
    }

    /* Couple */
    .couple-section .details h2 {
        font-size: 2.2rem;
    }

    /*Event*/
    .event-section .event-grids .grid:before{
        width: calc(100% - 30px);
        height: calc(100% - 30px);
        left: 15px;
        top: 15px;
    }
    .event-section .event-grids .grid {
        width: calc(100% - 15px);
        padding: 45px;
    }
    .event-section .event-grids h3 {
        font-size: 2em;
        line-height: inherit;
    }
    .event-section .maps iframe {
        width: calc(100% - 15px);
        position: relative;
        height: 200px;
    }
    .event-section h4.address {
        font-size: 1.5em;
    }
    .event-section .event-grids .devide {
        border-right: 0;
        padding-bottom: 20px;
    }
    .event-section .event-grids .devide:after {
        content: none;
        background: #e9eaea;
        width: 120px;
        height: 2px;
        position: absolute;
        left: 50%;
        -webkit-transform: translateX(-50%);
        -moz-transform: translateX(-50%);
        -o-transform: translateX(-50%);
        -ms-transform: translateX(-50%);
        transform: translateX(-50%);
        bottom: 0;
    }
    .event-section .event-grids h3:before {
        /*content: none;*/
    }
    .event-section .event-grids .phone {
        /*margin:0;*/
    }

    /* Guest Book */
    .guestbook-section .contact-form {
        padding: 15px;
    }
    .wishes-box {
        max-height: 450px;
    }

    /* Bridesmaid section */    
    .find-book-section .grid, .find-book-section .grids > .grid:nth-child(2) {  
        border: 0;  
    }   
    .find-book-section .grid {  
        padding: 4px 25px;  
    }
}

/* 
VIDEO JS Custom 
*/
.wedding-video {
    margin-bottom: 15px;
    text-align: center;
    position: relative;
    background: #000;
    height: 510px;
}
.wedding-video > div {
    margin: auto;
}
.wedding-video iframe {
    width: 100%;
    height: 100%;
}
.vjs-poster {
    background-size: cover;
}

@media only screen and (min-width: 0px) and (max-width: 767px) {
    .wedding-video {
        height: 315px;
    }
    .my-video-dimensions {
        width: auto;
        height: 200px;
    }
}

@media (max-width: 991px) { 

}

/* 
ABOUT AREA 
*/
.about-section .about-area {
    padding-top: 110px;
}

@media (max-width: 991px) {
    .about-section .about-area {
        padding-top: 0px;
    }
}