/*!
Author: themesmile
Author URI: http://themeforest.net/user/themesmile/portfolio
Version: 1.0
 */


/* Pages nav */

.pages-nav {
    display: -webkit-flex;
    display: flex;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-align-items: center;
    align-items: center;
    padding: 20px;
    text-align: center;
    background: #0e0f0f;
}

.js .pages-nav {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 5px 0 0;
    pointer-events: none;
    opacity: 0;
    background: transparent;
    -webkit-transition: -webkit-transform 1.2s, opacity 1.2s;
    transition: transform 1.2s, opacity 1.2s;
    -webkit-transition-timing-function: cubic-bezier(0.2, 1, 0.3, 1);
    transition-timing-function: cubic-bezier(0.2, 1, 0.3, 1);
    -webkit-transform: translate3d(0, 150px, 0);
    transform: translate3d(0, 150px, 0);
}

.js .pages-nav--open {
    pointer-events: auto;
    opacity: 1;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
}


/*RIBBON MENU*/

.ribbon-menu-bezan {
    background: rgba(255, 255, 255, 0.6);
    display: block;
    margin: 20px 0;
    padding: 0 20px;
    border-radius: 4px;
    border: 1px solid #eee;
}

.pages-nav__item {
    /* width: 33.3333%;*/
    padding: 0 10px;
    position: relative;
    display: inline-block;
}

.pages-nav__item:after {
    content: "";
    display: inline-block;
    padding: 0;
    font-weight: bolder;
    position: absolute;
    top: 0px;
    right: 0px;
    width: 1px;
    height: 40px;
    background: #eee;
    border-radius: 0;
}

.pages-nav__item.map-child:after {
    content: "";
    display: inline-block;
    padding: 0;
    font-weight: bolder;
    position: absolute;
    top: 21px;
    right: 0;
    color: #ccc;
}

.pages-nav__item:last-child:after {
    content: "";
    display: none;
    padding: 0;
    font-weight: bolder;
    position: absolute;
    top: 5px;
    right: 0;
}

.pages-nav__item_builder {
    width: 100%;
    padding: 0;
}

.js .pages-nav__item {
    /* padding: 0 10%;*/
}

.pages-nav .pages-nav__item--social {
    width: 100%;
    opacity: 0;
    -webkit-transition: -webkit-transform 1.2s, opacity 1.2s;
    transition: transform 1.2s, opacity 1.2s;
    -webkit-transition-timing-function: cubic-bezier(0.2, 1, 0.3, 1);
    transition-timing-function: cubic-bezier(0.2, 1, 0.3, 1);
    -webkit-transform: translate3d(0, 20px, 0);
    transform: translate3d(0, 20px, 0);
}

.pages-nav .pages-nav__item--social ul {
    display: inline-flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.pages-nav .pages-nav__item--social ul li {
    margin-right: 10px;
    font-size: 12px;
}

.pages-nav .pages-nav__item--social ul li i {
    display: inline-block;
    width: 25px;
    height: 25px;
    line-height: 25px;
    background: #fb2185;
    color: #fff;
    border-radius: 50%;
}

.pages-nav--open .pages-nav__item--social {
    opacity: 1;
    -webkit-transition-delay: 0.35s;
    transition-delay: 0.35s;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
}

.link {
    font-size: 11px;
    font-weight: bold;
    position: relative;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.link:hover,
.link:focus {
    color: #fff;
}

.link--page {
    letter-spacing: 1px;
    margin: 10px 0;
    display: block;
    color: #222;
    font-family: 'Montserrat Light', cursive;
}

.link--page:not(.link--faded)::before {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    width: 30px;
    height: 2px;
    margin: 5px 0 0 -15px;
    background: #444;
    -webkit-transition: -webkit-transform 0.3s;
    transition: transform 0.3s;
    -webkit-transform: scale3d(0, 1, 1);
    transform: scale3d(0, 1, 1);
}

.link--page:hover:before {
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1);
}

.link--faded {
    color: #4f4f64;
}

.link--faded:hover,
.link--faded:focus {
    color: #5c5edc;
}

.link--page.link--faded {
    font-size: 0.65em;
    color: #666!important;
}

.link.link--page.link--faded a {
    font-size: 11px;
    color: #444;
    margin: 0;
    padding: 0 10px;
    position: relative;
    display: inline-block;
}

.link--social {
    font-size: 1.5em;
    margin: 0 0.75em;
}

.link.link--pagebuilder {
    display: inline-block;
    text-align: center;
    margin: 0 auto;
    width: 100%;
}

.link.link--pagebuilder a {
    margin: 0;
    width: 33.333%;
    display: inline-table;
    float: left;
    font-family: 'Montserrat Light', cursive;
}

.text-hidden {
    position: absolute;
    display: block;
    overflow: hidden;
    width: 0;
    height: 0;
    color: transparent;
}


/* Pages stack */

.js .pages-stack {
    z-index: 100;
    pointer-events: none;
    -webkit-perspective: 1200px;
    perspective: 1200px;
    -webkit-perspective-origin: 50% -50%;
    perspective-origin: 50% -50%;
}

.js .page {
    position: relative;
    z-index: 5;
    overflow: hidden;
    width: 100%;
    height: 100vh;
    pointer-events: auto;
    box-shadow: 0 -1px 10px rgba(0, 0, 0, 0.1);
}

.Div {
    background: #fff;
}

.js .pages-stack--open .page {
    cursor: pointer;
    -webkit-transition: -webkit-transform 0.45s, opacity 0.45s;
    transition: transform 0.45s, opacity 0.45s;
    -webkit-transition-timing-function: cubic-bezier(0.6, 0, 0.4, 1);
    transition-timing-function: cubic-bezier(0.6, 0, 0.4, 1);
    border-radius: 8px 8px 0 0;
}

.js .page--inactive {
    position: absolute;
    z-index: 0;
    top: 0;
    opacity: 0;
}


/* page content */

.info {
    font-size: 1.25em;
    max-width: 50%;
    margin-top: 1.5em;
}

.poster {
    position: absolute;
    bottom: 4vh;
    left: 60%;
    max-width: 100%;
    max-height: 80%;
}


/* Menu button */

.menu-button {
    position: absolute;
    z-index: 10;
    top: 30px;
    left: 30px;
    width: 50px;
    height: 50px;
    cursor: pointer;
    border: none;
    outline: none;
    background: #fb2185;
    padding: 0;
    border-radius: 50%;
}

.no-js .menu-button {
    display: none;
}

.menu-button::before,
.menu-button::after,
.menu-button span {
    background: #fff;
}

.menu-button::before,
.menu-button::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    margin: 0 auto;
    right: 0;
    width: 45px;
    height: 1px;
    pointer-events: none;
    -webkit-transition: -webkit-transform 0.25s;
    transition: transform 0.25s;
    -webkit-transform-origin: 50% 50%;
    transform-origin: 50% 50%;
}

.menu-button span {
    font-size: 12px;
    /* position: absolute; */
    /* margin: 0 auto; */
    /* left: 0; */
    /* right: 0; */
    /* overflow: hidden; */
    /* width: 30px; */
    /* height: 2px; */
    /* text-indent: 200%; */
    /* -webkit-transition: opacity 0.25s; */
    /* transition: opacity 0.25s; */
    background: transparent;
}

.menu-button::before {
    -webkit-transform: translate3d(0, -10px, 0) scale3d(0.8, 1, 1);
    transform: translate3d(0, -10px, 0) scale3d(0.8, 1, 1);
}

.menu-button::after {
    -webkit-transform: translate3d(0, 10px, 0) scale3d(0.8, 1, 1);
    transform: translate3d(0, 10px, 0) scale3d(0.8, 1, 1);
}

.menu-button--open span {
    opacity: 0;
}

.menu-button--open::before {
    -webkit-transform: rotate3d(0, 0, 1, 45deg);
    transform: rotate3d(0, 0, 1, 45deg);
}

.menu-button--open::after {
    -webkit-transform: rotate3d(0, 0, 1, -45deg);
    transform: rotate3d(0, 0, 1, -45deg);
}

@media screen and (max-width: 60em) {
    .info {
        max-width: 100%;
    }
    .poster {
        position: relative;
        top: auto;
        left: auto;
        display: block;
        max-width: 100%;
        max-height: 50vh;
        margin: 0 0 0 50%;
    }
    .pages-nav__item {
        width: 33.333%;
        padding: 0;
    }
    .link--page {
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
    }
    .link--social {
        margin: 0 0.1em;
    }
    .pages-nav__item:after,
    .pages-nav .pages-nav__item--social ul {
        display: none!important;
    }
}

@media screen and (max-width: 40em) {
    html {
        margin-top: 0 !important;
    }
    .bezan-logo.logo-video img {
        display: none!important;
    }
    .js .pages-nav {
        display: inline-block;
        padding: 10px 20px 0 20px;
        text-align: left;
    }
    .js .pages-nav__item {
        padding: 0;
        float: left;
    }
    .js .pages-nav__item--small {
        display: inline-block;
        width: auto;
        margin-right: 5px;
        width: 100%;
    }
    .pages-nav__item:after,
    .pages-nav .pages-nav__item--social ul,
    .top-right-decoration,
    .top-left-decoration {
        display: none!important;
    }
    .bride_title {
        text-align: center;
    }
    .pages-nav__item--social {
        font-size: 0.9em;
    }
    .bride_title h1 {
        margin: 0!important;
    }
    .link.link--page.link--faded {
        width: 100%!important;
        float: left;
        display: inline-block;
        font-size: 10px;
    }
    .link--page {
        width: 50%;
        float: left;
        display: inline-block;
        font-size: 10px;
    }
    .menu-button {
        top: 15px;
        right: 20px;
        left: auto;
    }
    .menu-bezan {
        display: none!important;
    }
    #slides {
        z-index: 0;
        height: 100vh!important;
    }
    .info {
        font-size: 0.85em;
    }
    .poster {
        margin: 1em;
    }
    .bride_title h1 {
        font-size: 22px!important;
        margin: 20px 0 5px;
    }
    .bride_event .right div h1,
    .bride_event .left div h1 {
        font-size: 22px!important;
    }
    .bride_event .left,
    .bride_event .right {
        width: 100%!important;
    }
    .rsvp-nest h1:before,
    .rsvp-nest h1:after,
    .gift-registry h1:before,
    .gift-registry h1:after {
        background: none;
        display: none!important;
    }
    .rsvp-nest,
    .gift-registry {
        padding: 80px 20px!important;
    }
    .gift-registry a img {
        width: 60%!important;
        margin: 20px 0!important;
    }
    .team-member p {
        padding: 0!important;
    }
    .map-nest {
        display: none!important;
    }
    .ceremony ul li b small {
        font-size: 26px;
        margin: 20px 0!important;
        border-right: 0!important;
        border-left: 0!important;
        padding: 0!important;
        text-align: center!important;
        display: block!important;
    }
    .team-member > .quote:before {
        font-size: 3em!important;
        top: -25px!important;
        left: 145px!important;
    }
    .link.link--page.link--faded a {
        display: block;
        width: 33.333%;
        float: left;
        margin: 5px 0;
        padding: 0 15px 0 0;
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
    }
}