/* Desarrollo Web: Rivas Levi */

* {
    margin: 0;
    padding: 0;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

body {
    font-family: 'Raleway', sans-serif;
    font-size: 16px;
    text-rendering: optimizeLegibility;
}

.clearfix:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0;
}

* html .clearfix {
    zoom: 1;
}


/* IE6 */

*:first-child+html .clearfix {
    zoom: 1;
}


/* IE7 */

::-moz-selection {
    background: #000;
    color: #fff;
}

::selection {
    background: #000;
    color: #fff;
}

a {
    text-decoration: none;
}

li {
    list-style: none;
}


/* TO TOP */

.cd-top {
    display: inline-block;
    height: 55px;
    width: 55px;
    position: fixed;
    bottom: 10px;
    left: 10px;
    -webkit-box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
    box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
    /* image replacement properties */
    overflow: hidden;
    text-indent: 100%;
    border-radius: 50%;
    white-space: nowrap;
    background: #bcbec0 url(../img/cd-top-arrow.svg) no-repeat center 50%;
    visibility: hidden;
    opacity: 0;
    -webkit-transition: opacity .3s 0s, visibility 0s .3s;
    transition: opacity .3s 0s, visibility 0s .3s;
}

.cd-top.cd-is-visible,
.cd-top.cd-fade-out,
.no-touch .cd-top:hover {
    -webkit-transition: opacity .3s 0s, visibility 0s 0s;
    transition: opacity .3s 0s, visibility 0s 0s;
}

.cd-top.cd-is-visible {
    /* the button becomes visible */
    visibility: visible;
    opacity: 1;
    z-index: 9998;
}

.cd-top.cd-fade-out {
    /* if the user keeps scrolling down, the button is out of focus and becomes less visible */
    opacity: 1;
}

.no-touch .cd-top:hover {
    background-color: #bcbec0;
    opacity: 1;
}


/* WhatsApp */

a.fixed-whatsapp {
    position: fixed;
    bottom: 40px;
    right: 10px;
    z-index: 1000;
    background: #00E676;
    color: #fff;
    font-size: 2.4em;
    padding: 4px 11px;
    border-radius: 50%;
    -webkit-box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
    box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}


/* Top Bar */

.top-bar {
    background: #f0efef;
    color: #fff;
    padding: 5px 0;
}

.top-bar-container {
    width: 1140px;
    margin: 0 auto;
}

.top-bar-container ul {
    float: left;
}

.top-bar-container li {
    display: inline-block;
    margin-right: 35px;
    border-radius: 50%;
    font-size: 1.2em;
    padding: 3px;
}

.top-bar-container a {
    color: #514d46;
}

.top-bar p {
    text-align: right;
    font-size: 1.4em;
    text-transform: uppercase;
    color: #514d46;
    padding-top: 3px;
}

.top-bar p span {
    font-weight: 600;
}

.top-bar i {
    font-size: 1.4em;
}

.top-bar-phone i {
    font-size: 1.2em;
}

.top-bar a {
    text-decoration: underline;
    -webkit-transition: all 0.5s;
    transition: all 0.5s;
}

.top-bar a:hover {
    color: rgba(81, 77, 70, 0.7);
}


/* Header */

header {
    width: 1140px;
    margin: 0 auto;
    text-align: center;
    padding: 55px 0;
    padding: 25px 0;
}

header img {
    margin-bottom: 25px;
    margin-bottom: 20px;
    max-width: 100%;
    height: 150px;
}

header h1 {
    font-weight: 400;
    font-size: 1.3em;
    color: #514d46;
}


/* Gracias */

.gracias h1 {
    margin-bottom: 45px;
}

.gracias span {
    margin-bottom: 45px;
    display: block;
}

.gracias i {
    background: #3b5998;
    color: #fff;
    font-size: 1.5em;
    padding: 5px 15px;
    border-radius: 50%;
    -webkit-box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.4);
    box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.4);
    margin: 0 5px;
}

.gracias-ig i {
    background: #e95950;
    color: #fff;
    font-size: 1.5em;
    padding: 5px 11px;
    border-radius: 50%;
    -webkit-box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.4);
    box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.4);
    margin: 0 5px;
}

button.btn-gracias {
    background: transparent;
    border: 2px solid #8e6066;
    color: #fff;
    text-transform: uppercase;
    display: block;
    margin: 0 auto;
    font-weight: 500;
    font-size: 1.1em;
    padding: 7px 20px;
    cursor: pointer;
    -webkit-transition: all 0.5s;
    transition: all 0.5s;
}

.btn-gracias a {
    color: #8e6066;
    -webkit-transition: all 0.5s;
    transition: all 0.5s;
}

button.btn-gracias:hover {
    background: #8e6066;
}

button.btn-gracias:hover a {
    color: #fff;
}


/* Form */


/* .form {
    position: relative;
    height: 650px;
    background-image: url(img/background/Invitaciones-de-boda-Puebla-Detalles-Recuerdos-Bonitos-Momentos-fondo.jpg);
    background-size: cover;
    background-position: top;
    overflow: hidden;
} */

.form {
    height: 650px;
    background-image: url('img/background/Invitaciones-de-boda-Puebla-Detalles-Recuerdos-Bonitos-Momentos-fondo.jpg');
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.form-invitaciones {
    height: 700px;
}

.form-background {
    padding: 95px 0 0;
}

.form-container {
    width: 1140px;
    margin: 0 auto;
}

.contact-form {
    width: 425px;
    margin: 0 auto;
    float: right;
    background: rgba(43, 38, 51, 0.6);
    padding: 25px;
}

.contact-form h1 {
    color: #fff;
    font-size: 1.3em;
    text-transform: uppercase;
    font-weight: 500;
    text-align: center;
}

.contact-form h2 {
    color: #fff;
    font-size: 1.1em;
    font-weight: 100;
    text-align: center;
    margin-bottom: 25px;
}

.contact-form h3 {
    color: #fff;
    font-size: 0.9em;
    font-weight: 100;
    margin: 15px 0;
}

button.btn-contacto {
    background: #8e6066;
    border: 2px solid #fff;
    color: #fff;
    text-transform: uppercase;
    display: block;
    margin: 0 auto;
    font-weight: 500;
    font-size: 1.1em;
    padding: 7px 20px;
    -webkit-transition: all 0.5s;
    transition: all 0.5s;
    cursor: pointer;
}

button.btn-contacto:hover {
    background: #fff;
    color: #8e6066;
}

input,
textarea {
    font-family: 'Raleway', sans-serif;
    border: 1px solid #fff;
    padding: 5px;
    color: #2b2633;
    font-size: 1em;
    width: 100%;
    margin-bottom: 5px;
}

textarea {
    height: 125px;
}

#name {
    width: 49.5%;
    float: left;
}

#apellido {
    width: 49.5%;
    float: right;
}

#informes {
    width: 15px;
    height: 15px;
    background: transparent;
}

#informes-label {
    color: #fff;
    font-size: 0.9em;
    font-weight: 100;
    margin: 15px 0;
}


/* PLACEHOLDER */

::-webkit-input-placeholder {
    color: #2b2633;
}

:-moz-placeholder {
    /* Firefox 18- */
    color: #2b2633;
}

::-moz-placeholder {
    /* Firefox 19+ */
    color: #2b2633;
}

:-ms-input-placeholder {
    color: #2b2633;
}


/* Quote */

.section-quote {
    background: #e6e6e6;
    padding: 75px 0;
    font-family: 'Spectral SC', serif;
    color: #000;
    text-align: center;
    font-size: 1.6rem;
}

.quote-container {
    width: 1140px;
    margin: 0 auto;
}

.quote-container img {
    display: block;
    margin: 0 auto;
}


/* Momento */

.section-momento {
    margin: 5px auto;
}

.momento-container {
    width: 1140px;
    margin: 0 auto;
}

.momento-left {
    width: 50%;
    float: left;
}

.momento-left img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    padding: 15px 0;
}

.momento-right {
    width: 50%;
    float: right;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    height: 475px;
}

.momento-right h1 {
    font-weight: 400;
    font-size: 1.8em;
    margin-bottom: 20px;
    color: #514d46;
}

.momento-right p {
    font-weight: 100;
    width: 400px;
    line-height: 1.4em;
    color: #a2a09c;
}

.momento-right a {
    color: #8e6066;
    font-weight: 500;
    padding: 0 3px;
    border-bottom: 2px solid #8e6066;
    border-left: 2px solid transparent;
    border-top: 2px solid transparent;
    border-right: 2px solid transparent;
    -webkit-transition: border-left 0.3s, border-top 1s, border-right 1.4s;
    transition: border-left 0.3s, border-top 1s, border-right 1.4s;
}

.momento-right a:hover {
    border-left: 2px solid #8e6066;
    border-top: 2px solid #8e6066;
    border-right: 2px solid #8e6066;
}


/* Vintage */

.section-vintage {
    background: #efe9e6;
    padding: 50px 0;
}

.section-vintage h1 {
    text-transform: uppercase;
    font-weight: 400;
    font-size: 1.8em;
    text-align: center;
    margin-bottom: 15px;
    color: #514d46;
}

.vintage-container {
    width: 1140px;
    margin: 0 auto;
}

.invitaciones-container {
    width: 950px;
    margin: 0 auto;
}

.section-vintage li {
    display: inline-block;
    width: 31%;
    float: left;
    margin-right: 3.5%;
}

.section-vintage li:last-child {
    float: right;
    margin-right: 0;
}

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

.slider {
    margin-bottom: 45px;
}

.invitaciones-item {
    width: 360px;
    float: left;
    margin-right: 2%;
    /*background-size: cover;
    background-position: center;*/
    cursor: pointer;
}


/*.invitaciones-child:hover{
    transform: scale(1.1);
}*/

#invitaciones01 {
    background-image: url(img/invitaciones/Bonitos_Momentos_invitaciones_01.jpg);
}

#invitaciones02 {
    background-image: url(img/invitaciones/Bonitos_Momentos_invitaciones_02.jpg);
}

#invitaciones03 {
    background-image: url(img/invitaciones/Bonitos_Momentos_invitaciones_03.jpg);
}

#invitaciones04 {
    background-image: url(img/invitaciones/Bonitos_Momentos_invitaciones_04.jpg);
}

#invitaciones05 {
    background-image: url(img/invitaciones/Bonitos_Momentos_invitaciones_05.jpg);
}

#invitaciones06 {
    background-image: url(img/invitaciones/Bonitos_Momentos_invitaciones_06.jpg);
}

#invitaciones07 {
    background-image: url(img/invitaciones/Bonitos_Momentos_invitaciones_07.jpg);
}

#invitaciones08 {
    background-image: url(img/invitaciones/Bonitos_Momentos_invitaciones_08.jpg);
}

#invitaciones09 {
    background-image: url(img/invitaciones/Bonitos_Momentos_invitaciones_09.jpg);
}

.invitaciones-item-inner {
    margin-right: 20px;
    margin-bottom: 20px;
    width: 300px;
    height: 360px;
    float: left;
}

.invitaciones-no-margin {
    margin-right: 0;
}

.invitaciones-image {
    width: 300px;
    height: 250px;
    background-size: cover;
    background-position: center;
    margin-bottom: 15px;
}

.invitaciones-item-inner h2 {
    text-transform: uppercase;
    font-weight: 400;
    font-size: 1.4em;
    text-align: center;
    margin-bottom: 5px;
    color: #000;
}

.invitaciones-item-inner a {
    font-weight: 400;
    font-size: 1.4em;
    text-align: center;
    color: #000;
    display: block;
}

.invitaciones-item-inner a span {
    text-decoration: underline;
}

#invitaciones-boda {
    background-image: url(img/invitaciones/Invitaciones-de-boda-Puebla-Detalles-Recuerdos-Bonitos-Momentos-4.jpg);
}

#invitaciones-bautizo {
    background-image: url(img/invitaciones/Invitaciones-de-boda-Puebla-Detalles-Recuerdos-Bonitos-Momentos-5.jpg);
}

#invitaciones-quince {
    background-image: url(img/invitaciones/Invitaciones-de-boda-Puebla-Detalles-Recuerdos-Bonitos-Momentos-6.jpg);
}

#invitaciones-baby {
    background-image: url(img/invitaciones/Invitaciones-de-boda-Puebla-Detalles-Recuerdos-Bonitos-Momentos-7.jpg);
}

#invitaciones-especiales {
    background-image: url(img/invitaciones/Invitaciones-de-boda-Puebla-Detalles-Recuerdos-Bonitos-Momentos-8.jpg);
}

#invitaciones-detalles {
    background-image: url(img/invitaciones/Invitaciones-de-boda-Puebla-Detalles-Recuerdos-Bonitos-Momentos-9.jpg);
}

.section-vintage p {
    text-transform: uppercase;
    color: #514d46;
    text-align: center;
    font-size: 1.5em;
    font-weight: 100;
}


/* Por qué */

.section-porque {
    margin: 75px auto;
}

.porque-container {
    width: 1140px;
    margin: 0 auto;
}

.porque-container ul li {
    margin-bottom: 40px;
}

.porque-container h1 {
    text-transform: uppercase;
    font-weight: 400;
    font-size: 1.8em;
    text-align: center;
    margin-bottom: 25px;
    color: #514d46;
}

.porque-elegirnos {
    margin-bottom: 20px;
    position: relative;
}

.section-testimonios {
    margin-bottom: 80px;
}

ul.testimonios-list li {
    width: 33.3333%;
    float: left;
    text-align: center;
    height: 130px;
}

ul.testimonios-list li p {
    font-weight: 300;
}

.btn-tips {
    font-family: 'Raleway', sans-serif;
    text-transform: uppercase;
    font-weight: 100;
    font-size: 1.8em;
    margin-bottom: 25px;
    border: none;
    border-bottom: 1px solid #655a4f;
    display: block;
    margin: 0 auto 65px;
    background: transparent;
    padding: 0;
    text-align: center;
    color: #655a4f;
    width: 600px;
    cursor: pointer;
    -webkit-transition: all 0.5s;
    transition: all 0.5s;
}

.btn-tips:hover {
    width: 630px;
}

.btn-tips:focus {
    outline: none;
}

a.btn-invitaciones {
    text-decoration: underline;
    text-transform: uppercase;
    font-weight: 100;
    font-size: 1.8em;
    display: block;
    margin: 0 auto 65px;
    text-align: center;
    color: #655a4f;
    width: 600px;
}

.porque-container ul {
    /*margin-bottom: 45px;*/
}

.porque-container li {
    display: inline-block;
    width: 33.3333%;
    float: left;
    text-align: center;
    padding: 0 15px;
}

.porque-container img {
    max-width: 100%;
    display: block;
    margin: 0 auto;
}

.btn-agenda {
    background: #fff;
    border: 2px solid #8e6066;
    text-transform: uppercase;
    display: block;
    width: 500px;
    margin: 0 auto 45px;
    font-weight: 600;
    font-size: 1.7em;
    padding: 20px;
    letter-spacing: 0.9px;
    cursor: pointer;
    text-align: center;
    color: #8e6066;
    -webkit-transition: all 0.5s;
    transition: all 0.5s;
}

.btn-agenda:hover {
    background: #8e6066;
    color: #fff;
}

.btn-agenda-invitaciones {
    text-align: center;
    padding: 15px;
    width: 360px;
}

.porque-container p {
    text-align: left;
    font-size: 1.1em;
    color: #514d46;
    font-weight: 500;
    line-height: 26px;
}


/* MODAL */

.modal {
    display: none;
    /* Hidden by default */
    position: fixed;
    /* Stay in place */
    z-index: 9999;
    /* Sit on top */
    left: 0;
    top: 0;
    width: 100%;
    /* Full width */
    height: 100%;
    /* Full height */
    overflow: auto;
    /* Enable scroll if needed */
    background-color: rgb(0, 0, 0);
    /* Fallback color */
    background-color: rgba(0, 0, 0, 0.4);
    /* Black w/ opacity */
}


/* Close */

.close-btn {
    color: #995b65;
    font-size: 3em;
    position: absolute;
    right: 20px;
    top: 10px;
    cursor: pointer;
}

.close-btn:hover,
.close-btn:focus {
    color: rgba(153, 91, 101, 0.75);
    cursor: pointer;
}


/* Modal Body */

.modal-body {
    background: #fff;
    width: auto;
    border-radius: 5px;
}

.modal-texto {
    padding: 25px;
}

.modal-texto h1 {
    font-weight: 600;
    font-size: 1.1em;
    text-align: center;
    margin-top: 35px;
    margin-bottom: 25px;
    color: #995b65;
}

.modal-texto p {
    color: #995b65;
    width: 500px;
    margin: 0 auto 25px;
}

.modal-content {
    position: relative;
    background-color: rgba(254, 254, 254, 0.5);
    margin: 15px auto;
    padding: 0;
    width: 600px;
    border-radius: 3px;
    border: 1px solid #888;
    -webkit-animation-name: animatetop;
    -webkit-animation-duration: 0.4s;
    -webkit-animation-name: animatetop;
    animation-name: animatetop;
    -webkit-animation-duration: 0.4s;
    animation-duration: 0.4s
}


/* Animation */

@-webkit-keyframes animatetop {
    from {
        top: -300px;
        opacity: 0
    }
    to {
        top: 0;
        opacity: 1
    }
}

@keyframes animatetop {
    from {
        top: -300px;
        opacity: 0
    }
    to {
        top: 0;
        opacity: 1
    }
}


/* Botones */

.section-botones {
    margin: 0 auto 45px;
    text-align: center;
}

.section-botones li {
    display: inline-block;
    margin: 0 15px;
}

.section-botones img {
    max-width: 100%;
    height: 60px;
    -webkit-transition: all 0.5s;
    transition: all 0.5s;
}

.section-botones img:hover {
    -webkit-transform: scale(1.2);
    transform: scale(1.2);
}


/*
.section-botones i{
    font-size: 3em;
    transition: all 0.5s;
}
.section-botones i:hover{
    transform: scale(1.2);
}
.section-botones li:nth-child(1) a{
    color: #0084ff;
}
.section-botones li:nth-child(2) a{
    color: #00E676;
}
*/

.section-instagram {
    margin-top: 75px;
    width: 960px;
    margin: 0 auto;
}

.section-instagram h1 {
    text-transform: uppercase;
    font-weight: 400;
    font-size: 1.8em;
    text-align: center;
    margin-bottom: 25px;
    color: #514d46;
}

.copy {
    text-align: center;
    margin: 75px auto;
    width: 240px;
}

.copy p {
    float: left;
    margin-top: 10px;
    text-transform: uppercase;
    font-weight: 500;
}

.copy a {
    color: #000;
}

.copy img {
    max-width: 100%;
    height: 30px;
}

@media screen and (max-width: 768px) {
    .section-quote {
        font-size: 1rem;
    }
}