/*Universal Style*/

/*Scrollbar CSS*/
::-webkit-scrollbar {
    background: #1c1f24;
    width: 8px;
}
::-webkit-scrollbar-thumb {
    background: #f0394d;
}
::-webkit-scrollbar-corner {
    background: #1c1f24;
}

/*Placeholder CSS*/
::-webkit-input-placeholder {
    color: #fff !important;
    opacity: 0.8 !important;
}
:-ms-input-placeholder {
    opacity: 0.8 !important;
    color: #fff !important;
}

input[type="date"]::-webkit-calendar-picker-indicator {
    background: url(../images/icon_calendar.png);
    height: 30px;
    width: 30px;
    background-repeat: no-repeat;
}

input[type="datetime-local"]::-webkit-calendar-picker-indicator {
    background: url(../images/icon_calendar.png);
    height: 30px;
    width: 30px;
    background-repeat: no-repeat;
}

::placeholder {
    opacity: 0.8 !important;
    color: #fff !important;
}
body {
    font-family: "Roboto Slab", Arial, Helvetica Neue, Helvetica, sans-serif !important;
    font-weight: 400;
    position: relative;
    color: #757575;
}
a,
a:visited,
a:focus,
a:active,
a:hover {
    text-decoration: none;
    outline: none;
}
a,
button {
    -webkit-transition: 0.3s;
    transition: 0.3s;
}
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 500;
    margin: 0px;
    color: #252525;
    line-height: 1em;
}
h1 {
    font-size: 52px;
}
h2 {
    font-size: 34px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #252525;
}
h3 {
    font-size: 28px;
}
h4 {
    font-size: 24px;
}
h5 {
    font-size: 20px;
}
h6 {
    font-size: 18px;
}
p {
    font-size: 18px;
    color: #757575;
    line-height: 1.6em;
    font-weight: 400;
    letter-spacing: 0;
}
p:last-child {
    margin-bottom: 0px;
}
a.btn {
    border-radius: 30px;
    padding: 9px 30px;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 16px;
    letter-spacing: 2px;
    text-align: center;
}
ul {
    list-style: none;
    padding: 0px;
    margin-bottom: 0px;
}
section {
    padding: 80px 0;
    position: relative;
}
.container {
    max-width: 1200px;
    width: 100%;
}
.flw {
    float: left;
    width: 100%;
}
.title {
    width: 100%;
    text-align: center;
}
.title h2 {
    position: relative;
    display: inline-block;
    padding-bottom: 20px;
}
.title h2:after,
.title h2:before,
.thankyou .thankyoutext:before,
.thankyou .thankyoutext:after {
    left: 50%;
    -webkit-transform: translate(-50%, 0px);
    transform: translate(-50%, 0px);
    background-color: #252525;
    position: absolute;
    width: 100%;
    height: 1px;
    content: "";
    bottom: 0px;
    max-width: 100px;
}
.title h2:after,
.thankyou .thankyoutext:after {
    bottom: 4px;
}

.overlay .title h2:after,
.overlay .title h2:before,
.thankyou .thankyoutext:before,
.thankyou .thankyoutext:after {
    background-color: #fff;
}

.title_content {
    display: block;
    text-align: center;
    margin-top: 20px;
}
.title_content p {
    max-width: 880px;
    margin: 0px auto;
    width: 100%;
}
.overlay {
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}
.overlay:after {
    z-index: 1;
    position: absolute;
    content: "";
    left: 0px;
    top: 0px;
    bottom: 0px;
    right: 0px;
    background: rgba(240, 57, 77, 0.7);
}
.overlay .container {
    position: relative;
    z-index: 3;
}
.overlay .title h2 {
    color: #fff;
}
.overlay .title h2:after {
    background-image: url(../images/title_underline_white.png);
}

/* Navbar style
================================*/
header {
    background: #fff;
    z-index: 8888;
    position: relative;
    position: fixed;
    top: 0px;
    width: 100%;
}
.navbar {
    border-radius: 0px;
    margin: 0px;
    border: none !important;
    background-color: transparent;
    z-index: 111;
}
.navbar li {
    padding: 30px 18px 30px !important;
}
.navbar li a {
    position: relative;
    padding: 0px !important;
    color: #424242;
    font-size: 16px;
    display: inline-block;
    letter-spacing: 1px;
}
.navbar li:last-child {
    padding-right: 0px !important;
}
.navbar li:hover a,
.navbar li.active a {
    color: #f0394d;
}
.navbar li a:before {
    transition: all ease-in-out 0.3s;
    opacity: 0;
    visibility: hidden;
    left: 50%;
    top: -10px;
    margin-left: -6px;
    position: absolute;
    content: "";
    width: 12px;
    height: 3px;
    background-color: red;
    border-radius: 100%;
}
.navbar li.active a:before,
.navbar li a:hover:before {
    visibility: visible;
    opacity: 1;
}
.fixed {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
}
.navbar ul {
    list-style: none;
    margin: 0px;
    padding: 0px;
}
.navbar-brand {
    height: auto;
    padding: 19px 15px;
}
span.icon-bar {
    background: #fff;
}
.navbar-toggle {
    background-color: #000;
    padding: 9px 7px !important;
    border-radius: 0px !important;
    margin-right: 10px;
}
.navbar-brand a img {
    width: auto;
    height: 50px;
}
.navbar.dark-header {
    background: #000;
    border-bottom: 1px solid #d4d4d4;
}
header.dark-header {
    border-bottom: 2px solid #d4d4d4;
}

/* Hero Section style
================================*/
.hero-section {
    background-position: center;
    margin-top: 80px;
    height: calc(100vh - 80px);
    color: #fff;
    background-image: url(../images/hero_banner.jpg);
    background-repeat: no-repeat;
    background-size: cover;
}
.hero-section:after {
    position: absolute;
    left: 0px;
    top: 0px;
    right: 0px;
    bottom: 0px;
    content: "";
    background: rgba(0, 0, 0, 0.4);
}
.hero-caption {
    text-align: center;
    position: absolute;
    z-index: 2;
    left: 50%;
    top: 50%;
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    width: auto;
    padding: 0px 20px;
}
.hero-caption:after {
    left: 50%;
    top: 110%;
    position: absolute;
    content: "";
    width: 90px;
    height: 2px;
    background-color: #fff;
    transform: translate(-50%, 0px);
}
.hero-caption h1,
.hero-caption h2 {
    margin-bottom: 0px;
    color: #fff;
    display: inline-block;
    font-size: 52px;
    font-family: "Pacifico", cursive;
    line-height: 1.5em;
    vertical-align: top;
}
.hero-caption .caption-line {
    display: block;
    clear: both;
    font-size: 28px;
    font-weight: 300;
    font-family: "Roboto Slab", Arial, Helvetica Neue, Helvetica, sans-serif !important;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 20px 0px 8px;
}
.hero-caption .caption-line,
.hero-caption .caption-line span {
    border-top: 2px solid #fff;
    border-bottom: 2px solid #fff;
}
.hero-caption .caption-line span {
    position: relative;
    margin: 3px 0px;
    display: inherit;
    padding: 12px 25px 12px 30px;
}
.hero-caption .caption-line span:after,
.hero-caption .caption-line span:before {
    content: "***";
    vertical-align: middle;
    display: inline-block;
    letter-spacing: 8px;
    padding-top: 3px;
    line-height: 0.5em;
}
.hero-caption .caption-line span:before {
    margin-right: 5px;
}
.hero-caption .caption-line span:after {
    margin-left: 10px;
}

/* Common Section style
================================*/

/*About us section*/
.aboutus .content {
    text-align: center;
    margin-top: 30px;
}
.couple_info {
    display: inline-block;
    width: 38%;
    margin: 0px 2%;
    position: relative;
}
/*.couple_info.bride:after{position:absolute;content:"";background-image:url(../images/icon_heard_big.png);background-position:center;background-repeat:no-repeat;width:47px;height:42px;bottom:24%;right:-12%;}*/
/* .ci_img,
.image_avatar,
.image_avatar_parent {
    clip-path: polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%);
    -webkit-clip-path: polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%);
}
.bride .ci_img {
    -webkit-transform: rotate(-10deg);
    -moz-transform: rotate(-10deg);
    transform: rotate(-10deg);
}
.groom .ci_img {
    -webkit-transform: rotate(10deg);
    -moz-transform: rotate(10deg);
    transform: rotate(10deg);
} */
.ci_img {
    height: 378px;
    width: 378px;
    position: relative;
    background-color: #757575;
    border: 3px solid #757575;
    margin: 0px auto;
    overflow: hidden;
}
.image_avatar,
.image_avatar_parent {
    height: 100%;
    width: 100%;
    position: absolute;
    left: 0px;
    top: 0px;
    right: 0px;
    bottom: 0px;
}
.image_avatar_parent {
    border: 12px solid #fff;
    overflow: hidden;
    background: #fff;
}
.ci_detail {
    margin-top: 20px;
    padding: 0px 6%;
}
.ci_detail h2 {
    margin-bottom: 15px;
    color: #f0394d;
    font-size: 60px;
    font-family: "Pacifico", cursive;
    text-transform: unset;
    line-height: normal;
}

/*When*/
.when .content {
    text-align: center;
    margin-top: 70px;
}
.when .content_left,
.when .content_right {
    display: inline-block;
    text-align: left;
    vertical-align: top;
}
.when .content_left {
    width: 41%;
    border-right: 1px solid #fff;
    padding-right: 2%;
    text-align: right;
}
.when .content_right {
    width: 49%;
    padding-left: 2%;
}
.when .content * {
    line-height: 0.8em;
    color: #fff;
}
.when .date {
    font-size: 28px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding-right: 10px;
}
.when .year {
    font-size: 200px;
    margin-top: 16px;
}
.when .time {
    font-size: 30px;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 15px;
    font-weight: 300;
}
.when .location {
    font-size: 50px;
    font-weight: 600;
    text-transform: uppercase;
    line-height: 0.9em;
}
.when .city {
    font-size: 26px;
    letter-spacing: 1.2px;
    font-weight: 300;
    margin-top: 5px;
}
.when .dinner {
    font-size: 36px;
    letter-spacing: 1px;
    font-weight: 300;
    margin-top: 15px;
    display: block;
}

/*How*/
.how .content {
    margin-top: 40px;
    text-align: center;
    position: relative;
    display: table;
    width: 100%;
}
.moment_list {
    width: 100%;
    display: table;
    max-width: 800px;
    margin: 0px auto;
    position: relative;
    z-index: 444;
}
.how .content:after {
    width: 1px;
    top: 1px;
    bottom: 1px;
    background-color: #757575;
    content: "";
    position: absolute;
    left: 50%;
    -webkit-transform: translate(-50%, 0);
    transform: translate(-50%, 0);
}
.moment_list:before,
.moment_list:after {
    /*background-image:url(../images/icon_heard_big.png);*/
    position: absolute;
    content: "";
    background-size: 100% auto;
    background-repeat: no-repeat;
    background-position: center;
    left: 50%;
    -webkit-transform: translate(-50%, 0);
    transform: translate(-50%, 0);
}
.moment_list:before {
    width: 27px;
    height: 24px;
    top: -5px;
}
.moment_list:after {
    width: 37px;
    height: 34px;
    bottom: 0px;
}
.moment_box {
    width: 100%;
    float: left;
    position: relative;
    margin-bottom: 40px;
}
.moment_image {
    width: 50%;
    text-align: center;
    float: left;
    padding-right: 10%;
}
.mi_inner {
    margin: 0px auto;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    /* clip-path: polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%);
    -webkit-clip-path: polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%); */
    height: 260px;
    width: 260px;
    background-color: #000;
}
/* .moment_content{width:50%;float:left;text-align:left;padding-left:10%;padding-top:50px;} */
.moment_content {
    overflow-wrap: break-word;
    width: 50%;
    position: absolute;
    top: 50%;
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    right: 0;
    padding-left: 10%;
    text-align: left;
}

.moment_content h4 {
    color: #f0394d;
    font-size: 26px;
    text-transform: uppercase;
    margin-bottom: 15px;
}
.moment_content p {
    font-size: 16px;
    line-height: 1.8em;
}
.moment_date {
    position: absolute;
    color: #fff;
    /* background-color: #f0394d; */
    left: 50%;
    top: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    z-index: 11;
}
.moment_date .date {
    font-size: 36px;
    line-height: 1em;
    font-weight: 600;
    padding: 8px 10px;
}
.month_year {
    font-size: 12px;
    font-weight: 400px;
    /* background-color: #e43649; */
    text-align: center;
    width: 100%;
    padding: 4px 4px;
}
.moment_box.even .moment_content {
    padding-right: 10%;
    padding-left: 0px;
    left: 0;
}
.moment_box.even .moment_image {
    float: right;
    padding-right: 0px;
    padding-left: 10%;
}
.how .bottom_line {
    color: #f0394d;
    font-size: 26px;
    font-family: "Pacifico", cursive;
    text-align: center;
    margin-top: 50px;
}

/*Event*/
.event .content {
    margin-top: 40px;
    text-align: center;
}
.event_box {
    padding: 5px;
    width: 32%;
    display: inline-block;
    margin-right: 1.5%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    margin-top: 15px;
    margin-bottom: 15px;
}
.event_box:after {
    position: absolute;
    content: "";
    left: 0px;
    top: 0px;
    bottom: 0px;
    right: 0px;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1;
}
.event_box:nth-child(3n) {
    margin-right: 0px;
}
.eb_inner {
    position: relative;
    width: 100%;
    border: 3px solid #fff;
    padding-bottom: 68.06%;
    z-index: 22;
}
.event_content {
    min-width: 250px;
    text-align: center;
    padding: 10px 20px;
    position: absolute;
    left: 50%;
    top: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}
.event_title {
    color: #fff;
    text-transform: uppercase;
    font-size: 36px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 5px;
    line-height: 0.8em;
}
.event_venue {
    color: #fff;
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 2px;
}
.event_date {
    font-size: 18px;
    color: #fff;
    position: relative;
    margin: 12px 0px 6px;
}
.event_date,
.event_date span {
    width: 100%;
    border-top: 1px solid #fff;
    border-bottom: 1px solid #fff;
    display: block;
}
.event_date span {
    margin: 3px 0px;
    padding: 8px 0px 8px;
    position: relative;
    font-family: "Pacifico", cursive;
}
.event_date span:before,
.event_date span:after {
    position: relative;
    content: "***";
    display: inline-block;
    vertical-align: middle;
    padding: 0px 10px;
    line-height: 0.4em;
    padding-top: 10px;
    letter-spacing: 4px;
}
.event_time {
    font-weight: bold;
    color: #fff;
    letter-spacing: 1px;
}

/*Gallery Section*/
.gallery_box {
    margin: 15px 0px;
    text-align: center;
    display: inline-block;
    float: none;
    width: 33%;
}
.gallery .content {
    margin-top: 25px;
    text-align: center;
}
.gallery_box img {
    max-width: 100%;
    width: 100%;
}

/*RSVP*/
.rsvp .form-control option {
    color: #000 !important;
}
.rsvp .title_content p {
    color: #fff !important;
}

/* .rsvp .title {
    color: #fff !important;
} */

.rsvp .content {
    margin-top: 30px;
}
.rsvp .form-group {
    margin-bottom: 25px;
}
.rsvp label {
    width: 100%;
    color: #fff;
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 1px;
    display: inline !important;
}
.rsvp .form-control {
    position: relative;
    height: 50px !important;
    border-radius: 0px !important;
    background: transparent !important;
    border: 2px solid #fff !important;
    color: #fff;
    opacity: 1;
    font-size: 16px !important;
    line-height: normal !important;
    padding: 8px 20px !important;
    font-weight: 400 !important;
    letter-spacing: 1px;
    margin: 4px 0px;
}
.rsvp .input-group {
    width: 100%;
}
.rsvp span.input-group-addon {
    background: transparent;
    border: none;
    position: absolute;
    right: 0px;
    display: block;
    width: auto;
    height: 100%;
    z-index: 111;
    line-height: 38px;
}
.rsvp .form-control:focus {
    box-shadow: none !important;
    border-color: #000;
}
.rsvp textarea.form-control {
    height: 80px !important;
    resize: none !important;
}
.rsvp select.form-control {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url(../images/icon_downchevv.png) !important;
    background-repeat: no-repeat !important;
    background-position: 97% center !important;
    cursor: pointer;
}
.rsvp {
    font-size: 12px;
    font-weight: 400;
    width: 100%;
    color: #fff;
    letter-spacing: 1px;
    margin-top: 2px;
}
.rsvp .custom-file-input {
    padding-top: 13px;
}
.custom-file-input::-webkit-file-upload-button {
    visibility: hidden;
}
.custom-file-input::before {
    text-align: center;
    content: "Browse";
    display: inline-block;
    background: #fff;
    padding: 5px 18px;
    outline: none;
    white-space: nowrap;
    -webkit-user-select: none;
    cursor: pointer;
    font-size: 16px;
    height: 100%;
    width: 20%;
    position: absolute;
    left: 0px;
    top: 0px;
    border-radius: 0px;
    line-height: 36px;
    font-weight: normal;
}
.custom-file-input:active::before {
    background: #fff;
}
.rendered-form .form-group:nth-child(even) {
    padding-left: 10px;
}
.rendered-form .form-group:nth-child(odd) {
    clear: left;
    padding-right: 10px;
}
.rendered-form .form-group {
    margin-left: 0px;
    margin-bottom: 15px !important;
    width: 50%;
    float: left;
}
.rendered-form .checkbox-group .formbuilder-checkbox,
.rendered-form .radio-group .formbuilder-radio {
    margin: 6px 0px 6px 12px;
}

.rendered-form .checkbox-group input,
.rendered-form .radio-group input {
    width: 20px;
    height: 20px;
    margin: 0px 5px 0px 0px;
}

.rendered-form .checkbox-group .formbuilder-checkbox-inline,
.rendered-form .radio-group .formbuilder-radio-inline {
    padding-top: 7px;
}

.rendered-form .formbuilder-text-label {
    margin: 10px 0px !important;
}
.rsvp .error {
    color: #f64e60;
    margin-bottom: 0px !important;
}
.form-button {
    width: 100%;
    display: block;
    float: left;
}
.tooltip-element {
    background: #fff !important;
    color: #000 !important;
}

/*Key People*/

/*Key People*/
.keypeople {
    background-color: #fafafa;
}
.keypeople .content {
    margin-top: 25px;
    text-align: center;
}
.member_outer {
    width: 24%;
    display: inline-block;
    float: none;
}
.member_box {
    margin: 15px 0px;
    border: 1px solid #d4d4d4;
    background: #fff;
}
.member_box {
    margin: 15px 0px;
}
.member_img {
    overflow: hidden;
}
.member_detail {
    display: block;
    padding: 10px;
    text-align: center;
}
.member_detail h5 {
    font-size: 16px;
    line-height: normal;
}
.member_detail p {
    font-size: 14px;
}
.member_img img {
    -webkit-transition: all 0.5s;
    -moz-transition: all 0.5s;
    -o-transition: all 0.5s;
    -ms-transition: all 0.5s;
    transition: all 0.5s;
    -webkit-filter: grayscale(50%);
    -moz-filter: grayscale(50%);
    -o-filter: grayscale(50%);
    -ms-filter: grayscale(50%);
    filter: grayscale(50%);
    width: 100%;
    height: auto;
}
.member_box:hover .member_img img {
    -webkit-transform: scale(1.2) rotate(5deg);
    -ms-transform: scale(1.2) rotate(5deg);
    transform: scale(1.2) rotate(5deg);
    -webkit-filter: grayscale(0);
    -moz-filter: grayscale(0);
    -o-filter: grayscale(0);
    -ms-filter: grayscale(0);
    filter: grayscale(0);
}

/*Invitation*/
.invitation {
    text-align: center;
    background-size: cover;
    background-position: center;
    position: relative;
}
.invitation:after {
    position: absolute;
    content: "";
    left: 0px;
    top: 0px;
    bottom: 0px;
    right: 0px;
    z-index: 1;
}
.invitation .container {
    position: relative;
    z-index: 5;
}
.invitation .invitationtext {
    color: #1c1f24;
    position: relative;
    font-size: 48px;
    line-height: normal;
    font-family: "Pacifico", cursive;
    padding-bottom: 5px;
    margin-bottom: 15px;
}

.invitation .couple_name {
    font-size: 30px;
    color: #1c1f24;
}
.invitation .slogan_line {
    font-size: 18px;
    color: #1c1f24;
    margin-top: 5px;
}

/*Thank you*/
.thankyou {
    text-align: center;
    background-size: cover;
    background-position: center;
    position: relative;
}
.thankyou:after {
    position: absolute;
    content: "";
    left: 0px;
    top: 0px;
    bottom: 0px;
    right: 0px;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1;
}
.thankyou .container {
    position: relative;
    z-index: 5;
}
.thankyou .thankyoutext {
    color: #fff;
    position: relative;
    font-size: 48px;
    line-height: normal;
    font-family: "Pacifico", cursive;
    padding-bottom: 5px;
    margin-bottom: 15px;
}

.thankyou .couple_name {
    font-size: 30px;
    color: #fff;
}
.thankyou .slogan_line {
    font-size: 18px;
    color: #fff;
    margin-top: 5px;
}

/* Footer Section style
================================*/
.footer {
    /* background-color: #f0394d; */
    padding: 20px 0px;
    position: relative;
}
.footer p {
    color: #fff;
    font-size: 15px;
    font-weight: 400;
    letter-spacing: 1px;
    line-height: 30px;
}
.socialmedia ul li {
    display: inline-block;
    margin-left: 10px;
}
.socialmedia ul {
    float: right;
}
.socialmedia ul li img {
    width: 30px;
}

/* selectpicker */
.dropdown.bootstrap-select button {
    background-color: transparent !important;
    border: none !important;
    color: #fff !important;
    padding: 0 !important;
    font-size: 16px !important;
    outline: none !important;
    line-height: 2em !important;
    box-shadow: none !important;
}

.dropdown.bootstrap-select button .caret {
    border-top: 8px dashed;
    border-right: 8px solid transparent;
    border-left: 8px solid transparent;
    right: 0px !important;
}

.bootstrap-select .dropdown-menu.open {
    border-radius: 0 !important;
    left: -2px !important;
    right: -2px !important;
    width: calc(100% + 4px) !important;
}

/* Media Queries
================================*/
@media screen and (max-width: 1200px) {
    .hero-caption h1,
    .hero-caption h2 {
        font-size: 44px;
    }
    .hero-caption .caption-line {
        font-size: 20px;
        margin: 12px 0px 5px;
    }
    .hero-caption .caption-line span:after,
    .hero-caption .caption-line span:before {
        letter-spacing: 5px;
    }
    .hero-caption .caption-line span {
        padding: 12px 13px 12px 14px;
        font-weight: normal;
        font-size: 18px;
    }

    .when .content_left {
        width: 45%;
    }
    .when .dinner {
        font-size: 34px;
    }
    .when .content_right {
        width: 52%;
        padding-left: 2%;
    }
    .when .time {
        font-size: 28px;
    }
    .when .location {
        font-size: 44px;
    }
    .when .content {
        margin-top: 40px;
    }
}
@media screen and (max-width: 1023px) {
    section {
        padding: 60px 0;
        position: relative;
    }
    .ci_detail h2 {
        font-size: 48px;
    }
    .ci_img {
        height: 338px;
        width: 338px;
    }
    p {
        font-size: 16px;
    }
}
@media screen and (max-width: 991px) {
    .navbar-brand {
        height: auto;
        padding: 10px 15px;
    }
    .hero-section {
        margin-top: 62px;
        height: calc(100vh - 62px);
    }
    .navbar-brand {
        width: auto;
        float: left;
    }
    .navbar-toggle {
        margin-top: 14px;
        margin-bottom: 14px;
        margin-right: 15px;
    }
    .navbar li,
    .navbar li:last-child {
        padding: 15px !important;
    }
    .navbar li a:before {
        display: none;
    }
    div#bs-example-navbar-collapse-1 {
        position: absolute;
        top: 100%;
        width: 100%;
        left: 0px;
        right: 0px;
        margin: 0px !important;
        margin-top: -2px !important;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }
    div#bs-example-navbar-collapse-1 ul {
        background: #fafafa;
        float: left !important;
        width: 100%;
        display: block;
        margin: 0px !important;
        padding: 0px !important;
        border-bottom: 2px solid #252525;
    }
    div#bs-example-navbar-collapse-1 ul li {
        width: 100%;
        float: left;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
        background-color: transparent;
    }
    div#bs-example-navbar-collapse-1 ul li a {
        width: 100%;
        text-align: center;
    }
    .navbar-collapse {
        padding: 0px !important;
    }
    nav .container {
        padding: 0px !important;
    }
    .hero-caption {
        max-width: 480px;
        width: 100%;
    }
    .couple_info {
        width: 44%;
    }
    .couple_info.bride:after {
        width: 37px;
        height: 32px;
        background-size: 100% auto;
    }
    .when .year {
        font-size: 140px;
        margin-top: 10px;
    }
    .when .time {
        font-size: 20px;
        margin-bottom: 10px;
    }
    .when .location {
        font-size: 28px;
    }
    .when .city {
        font-size: 18px;
        font-weight: 500;
    }
    .when .date {
        font-size: 18px;
    }
    .when .dinner {
        font-size: 24px;
    }
    .event_box {
        width: 48%;
        margin-right: 0px;
    }
    .event_box:nth-child(2n) {
        float: right;
    }
    .custom-file-input::before {
        width: 30%;
    }
    .rsvp .form-group {
        margin-bottom: 15px;
    }
    .footer p {
        text-align: center;
        line-height: 1.2em;
        margin-bottom: 20px;
    }
    .socialmedia ul {
        float: none;
        margin: 0px auto;
    }
    .socialmedia {
        text-align: center;
    }
    .socialmedia ul li {
        display: inline-block;
        margin: 0px 5px;
    }
    .member_outer {
        width: 33%;
    }
}
@media screen and (max-width: 767px) {
    .couple_info {
        width: 100%;
        margin: 0px 0px 80px 0px;
    }
    .couple_info:last-child {
        margin-bottom: 0px;
    }
    .couple_info.bride:after {
        right: auto;
        bottom: -55px;
        left: 50%;
        margin-left: -18px;
    }
    .groom .ci_img,
    .bride .ci_img {
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    .ci_detail {
        margin-top: 0;
        padding: 0px;
    }
    .ci_detail h2 {
        margin-bottom: 10px;
    }
    h2 {
        font-size: 30px;
        letter-spacing: 0.5px;
    }
    section {
        padding: 50px 0;
        position: relative;
    }
    .ci_detail h2 {
        font-size: 38px;
    }
    .when .content_left {
        width: 100%;
        text-align: center;
        border: none;
        padding: 0px;
    }
    .when .content_right {
        margin-top: 15px;
        width: 100%;
        padding: 0px;
        text-align: center;
    }
    .when .year {
        font-size: 70px;
        margin-top: 5px;
    }
    .when .content {
        margin-top: 25px;
    }
    .how .content:after {
        left: 0px;
    }
    .moment_date {
        transform: none;
        left: 0px;
        top: 30px;
    }
    .moment_image {
        width: 100%;
        float: left;
        padding-right: 0px;
    }
    .moment_content {
        width: 100%;
        text-align: center;
        padding-left: 20px;
        padding-right: 20px;
        padding-top: 20px;
    }
    .moment_box.even .moment_content {
        padding-right: 20px;
        padding-left: 20px;
    }
    .moment_box.even .moment_image {
        float: right;
        padding-right: 0px;
        padding-left: 0px;
    }
    .how .bottom_line {
        margin-top: 0px;
    }
    .moment_content h4 {
        font-size: 22px;
        margin-bottom: 10px;
    }
    .moment_list:before,
    .moment_list:after {
        left: 0px;
        width: 20px;
        height: 20px;
    }
    .event_title {
        font-size: 24px;
        letter-spacing: 3px;
    }
    .event_date {
        font-size: 15px;
        margin: 8px 0px 3px;
    }
    .event .content {
        margin-top: 10px;
    }
    .event_box:last-child {
        margin-bottom: 0px;
    }
    .eb_inner {
        padding-bottom: 58.06%;
    }
    .event_date span {
        margin: 1px 0px;
        padding: 5px 0px;
    }
    .rsvp .form-group {
        margin-bottom: 0px;
    }
    .input-box {
        margin-bottom: 15px;
    }
    .thankyou .slogan_line {
        font-size: 14px;
        margin-top: 0px;
    }
    .thankyou .thankyoutext {
        font-size: 36px;
        margin-bottom: 0px;
    }
    .thankyou .thankyoutext:after,
    .title h2:after {
        /*background-size:100% auto;width:130px;height:20px;background-position:center;*/
    }
    .title h2 {
        padding-bottom: 22px;
    }
    .footer {
        padding: 10px 0px;
    }
    .gallery_box {
        width: 100%;
    }
    .rendered-form .form-group {
        width: 100%;
    }
    .rendered-form .form-group:nth-child(even) {
        padding-left: 0px;
    }
    .rendered-form .form-group:nth-child(odd) {
        padding-right: 0px;
    }
    .member_outer {
        width: 48%;
    }
}
@media screen and (max-width: 639px) {
    .event_box {
        width: 100%;
        margin-right: 0px;
        margin-top: 10px;
        margin-bottom: 10px;
    }
    h2 {
        font-size: 24px;
    }
}
@media screen and (max-width: 479px) {
    .hero-caption {
        max-width: 100%;
        width: 100%;
    }
    .hero-caption .caption-line span {
        padding: 12px 13px 12px 14px;
        font-weight: normal;
        font-size: 18px;
    }
    .hero-caption h1,
    .hero-caption h2 {
        font-size: 36px;
    }
    .hero-caption:after {
        top: 110%;
    }
    .ci_img {
        height: 288px;
        width: 288px;
    }
    .when .content * {
        line-height: 1em;
    }
    .when .time {
        font-size: 16px;
        margin-bottom: 10px;
        font-weight: 400;
    }
    .when .location {
        font-size: 24px;
        line-height: 1em;
    }
    .when .city {
        font-size: 16px;
        font-weight: 400;
    }
    .when .dinner {
        font-size: 18px;
        margin-top: 10px;
    }
    .when .year {
        font-size: 56px;
        margin-top: 0px;
    }
    .mi_inner {
        height: 200px;
        width: 200px;
    }
    .moment_date .date {
        font-size: 25px;
        padding: 6px 10px;
    }
    .moment_date {
        top: 0px;
    }
    .moment_list:before {
        display: none;
    }
    .how .bottom_line {
        font-size: 18px;
    }
    .custom-file-input::before {
        width: 35%;
    }
    .input-box label {
        margin-bottom: 2px;
    }
    .eb_inner {
        padding-bottom: 77%;
    }
    .member_outer {
        width: 100%;
    }
    .member_box {
        margin: 7px 0px;
    }
}
