/*Intro*/

#intro_main{
    display: block;
    background: url(../img/KatyXV_IntroP_bg.jpg) no-repeat top center;
    background-size: 100% 100%;
    position: relative;
    width: 100%;
    height: 100vh;
}

#intro_title{
    position: relative;
    margin: 0 auto;
    padding-top: 45%;
    width: 72.03%;
}

#intro_bottle{
    position: relative;
    margin: 0 auto;
    width: 72.03%;
}

#intro_btn{
    position: relative;
    margin: 0 auto;
    width: 72.03%;
}

#intro_arrows{
    position: relative;
    margin: 0 auto;
    width: 38.14%;
}

/*invitation*/

#main_cont{
    position: relative;
    margin: 0 auto;
    width: 100%;
}

#head_inv{
    display: block;
    background: url(../img/KatyXV_Header_bg.jpg) no-repeat top center;
    background-size: 100% auto;
    position: relative;
    padding-bottom: 10%;
    width: 100%;
}

@media(max-width: 400px){
    #head_inv{
        padding-bottom: 0;
    }
}

@media(min-width: 401px) and (max-width: 410px){
    #head_inv{
        padding-bottom: 7.5%;
    }
}

#hat{
    position: relative;
    width: 52.12%;
    top: 4.8rem;
    left: -12%;
}

#hat img{
    display: block;
    width: 100%;
}

#head_inv .title_reg, #head_inv .title_max, #head_inv .subtitle_reg{
    display: block;
    position: relative;
    margin: 0 auto;
    width: 100%;
    line-height: 0.9em;
    color: #eae5e5;
    text-align: center;
    filter: drop-shadow(2px 2px 1px rgba(0,0,0,.3));
}

#head_inv .title_max{
    margin-top: 39%;
}

#head_inv .title_reg{
    font-size: 5.1em;
}

#head_inv .subtitle_reg{
    padding-bottom: 6%;
}

#intro_inv{
    position: relative;
    width: 100%;
}

#intro_inv .text_reg{
    display: block;
    position: relative;
    margin: 10.5% auto 0 auto;
    padding: 3% 0 11% 0;
    width: 87%;
    font-size: 1.5em;
    line-height: 1em;
    text-align: center;
    mix-blend-mode: multiply;
}

@media(min-width: 355px) and (max-width: 365px){
    #intro_inv .text_reg{
        margin-top: 6.5%;
        font-size: 1.3em;
        padding-bottom: 18%;
    }
}

@media(min-width: 370px) and (max-width:375px){
    #intro_inv .text_reg{
        margin-top: 6.5%;
        font-size: 1.5em;
        padding-bottom: 10%;
    }
}

#date_inv{
    display: block;
    background: url(../img/KatyXV_Date_bg.jpg) no-repeat top center;
    background-size: 100% auto;
    position: relative;
    padding-bottom: 6%;
    width: 100%;
}

#date_inv .title_reg, #date_inv .subtitle_reg{
    display: block;
    position: relative;
    line-height: 0.6em;
    text-align: center;
    text-shadow: -1px -1px rgb(252,249,223),
    -1px -1px rgb(252,249,223),
    -1px -1px rgb(252,249,223),
    -1px -1px rgb(252,249,223);
    filter: drop-shadow(2px 2px 1px rgba(0,0,0,.3));
}

#date_inv .subtitle_reg{
    padding-top: 33%;
}

#calendar_inv{
    display: block;
    position: relative;
    margin: 0 auto;
    width: 69.18%;
}

#calendar_inv div:first-child{
    position: relative;
    margin: 0 auto;
    width: 100%;
    right: 240%;
}

#calendar_inv div:nth-child(2){
    display: block;
    position: relative;
    margin: 0 auto;
    padding-top: 3%;
    line-height: 0.6em;
    text-align: center;
}

@media(min-width: 355px) and (max-width: 365px){
    #calendar_inv div:nth-child(2){
        padding-top: 0;
    }
}

#calendar_inv div:nth-child(2) .text_reg:first-child, #calendar_inv div:nth-child(2) .text_reg:nth-child(3){
    font-size: 1.2em;
    text-transform: uppercase;
}

#calendar_inv div:nth-child(2) .text_reg:nth-child(2){
    font-family: Aeonik;
    font-size: 3em;
    line-height: 0.9em;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

#calendar_inv div:nth-child(2) .text_reg:nth-child(4){
    font-family: Aeonik;
    font-size: 1.2em;
    line-height: 0.9em;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

#calendar_inv div:nth-child(2) img:last-child{
    display: block;
    position: relative;
    margin: 3% auto 0 auto;
    width: 15%;
    cursor: pointer;
}

#counter_inv{
    display: block;
    background: url(../img/KatyXV_Counter_bg.jpg) no-repeat top center;
    background-size: 100% auto;
    position: relative;
    padding-bottom: 38%;
    width: 100%;
}

@media(min-width: 355px) and (max-width: 365px){
    #counter_inv{
        padding-bottom: 33%;
    }
}

@media(min-width: 370px) and (max-width: 380px){
    #counter_inv{
        padding-bottom: 34.5%;
    }
}

@media(min-width: 385px) and (max-width: 395px){
    #counter_inv{
        padding-bottom: 36.5%;
    }
}

@media(min-width: 401px) and (max-width: 410px){
    #counter_inv{
        padding-bottom: 37%;
    }
}

#counter_inv .subtitle_reg, #counter_inv .title_reg{
    display: block;
    position: relative;
    line-height: 0.6em;
    text-align: center;
    text-shadow: -1px -1px rgb(252,249,223),
    -1px -1px rgb(252,249,223),
    -1px -1px rgb(252,249,223),
    -1px -1px rgb(252,249,223);
    filter: drop-shadow(2px 2px 1px rgba(0,0,0,.3));
}

#counter_inv .subtitle_reg{
    padding-top: 30%;
    line-height: 0.6em;
}

#counter_inv .title_reg{
    line-height: 0.6em;
}

#counter{
    position: relative;
    background: rgba(0,0,0,.36);
    background-blend-mode: multiply;
    margin-top: 3%;
    width: 100%;
}

#counter_vis{
    display: flex;
    position: relative;
    margin: 0 auto;
    padding: 1.5% 0;
    width: 90%;
}

.counting{
    position: relative;
    margin: 0 auto;
    padding: 6% 3%;
    width: 33.33%;
    text-align: center;
}

.counting:nth-child(2){
    border-right: solid 1px rgba(252,249,223,.3);
    border-left: solid 1px rgba(252,249,223,.3);
}

.counting .text_reg:first-child{
    font-family: Aeonik;
    font-size: 3em;
    line-height: 1.2em;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

.counting .text_reg:nth-child(2){
    text-transform: uppercase;
}

#location_inv{
    display: block;
    background: url(../img/KatyXV_Locations_bg.jpg) no-repeat top center;
    background-size: 100% auto;
    position: relative;
    padding-bottom: 9%;
    width: 100%;
}

@media(min-width: 355px) and (max-width: 365px){
    #location_inv{
        padding-bottom: 0%;
    }
}

#location_inv .title_reg, #location_inv .subtitle_reg{
    display: block;
    position: relative;
    line-height: 0.6em;
    text-align: center;
    text-shadow: -1px -1px rgb(252,249,223),
    -1px -1px rgb(252,249,223),
    -1px -1px rgb(252,249,223),
    -1px -1px rgb(252,249,223);
    filter: drop-shadow(2px 2px 1px rgba(0,0,0,.3));
}

.locations{
    padding-top: 9%;
}

.locations img:first-child{
    display: block;
    position: relative;
    margin: 0 auto;
    width: 9.5%;
}

.locations .text_reg{
    display: block;
    position: relative;
    margin: 6% auto;
    width: 93%;
    text-align: center;
    mix-blend-mode: multiply;
}

.locations .bigger{
    font-size: 1.5em;
}

.locations:nth-child(2) .button_inv{
    margin: 3% auto 0 auto;
}

.button_inv{
    display: block;
    background: url(../img/button_bg.png) no-repeat center center;
    background-size: 100% auto;
    position: relative;
    margin: 0 auto;
    padding: 3% 0;
    width: 37.31%;
    font-size: 0.75em;
    color: #fcf9df;
    text-transform: uppercase;
    text-align: center;
    cursor: pointer;
}

#schedule_inv{
    display: block;
    background: url(../img/KatyXV_Schedule_bg.jpg) no-repeat top center;
    background-size: 100% auto;
    position: relative;
    width: 100%;
}

#chesire{
    display: block;
    position: absolute;
    width: 100%;
    transform: translatey(18%);
    mix-blend-mode: hard-light;
    opacity: 0;
}

#schedule_inv .title_reg, #schedule_inv .subtitle_reg{
    display: block;
    position: relative;
    line-height: 0.6em;
    text-align: center;
    text-shadow: -1px -1px rgb(252,249,223),
    -1px -1px rgb(252,249,223),
    -1px -1px rgb(252,249,223),
    -1px -1px rgb(252,249,223);
    filter: drop-shadow(2px 2px 1px rgba(0,0,0,.3));
}

#schedule_inv .subtitle_reg{
    padding-top: 36%;
    line-height: 0.6em;
}

#schedule_vis{
    position: relative;
    margin: 3% auto 0 auto;
    width: 84.25%;
}

#schedule_bar{
    background: #fcf9df;
    position: absolute;
    left: 48.5%;
    width: 0.45em;
    height: 36em;
    border-radius: 30px;
}

#schedule_tl{
    position: relative;
    margin: 0 auto;
    width: 100%;
}

.schedule_block{
    display: flex;
    align-items: center;
    position: relative;
    margin: 6% auto;
    width: 100%;
}

.schedule_icon{
    position: relative;
    margin: 0 auto;
    padding: 0;
    width: 44%;
}

.schedule_clock{
    position: relative;
    margin: 0 auto;
    padding: 0;
    width: 12%;
}

.schedule_time{
    position: relative;
    margin: 0 auto;
    padding: 0;
    width: 44%;
}

.schedule_icon img{
    display: block;
    position: relative;
    margin: 0 auto;
    width: 33%;
    transform: translatey(9%);
}

.schedule_clock img{
    display: block;
    position: relative;
    margin: 0 auto;
    width: 100%;
}

.left_item{
    transform: translatex(12%);
}

.right_item{
    transform: translatex(-12%);
}

.schedule_time .text_reg{
    display: block;
    margin: 0 auto;
    padding: 6% 0;
    width: 100%;
    font-size: 1.5em;
    text-transform: uppercase;
    text-align: center;
}

.schedule_time .text_reg:nth-child(2){
    font-size: 1em;
}

.schedule_time .text_reg:first-child{
    border-bottom: solid 1px rgba(252,249,223,.3);
}

#dresscode_inv{
    display: block;
    background: url(../img/dresscode_frame.png) no-repeat top center;
    background-size: 100% auto;
    position: relative;
    margin-top: 15%;
    padding-bottom: 12%;
    width: 100%;
}

@media(min-width: 355px) and (max-width: 365px){
    #dresscode_inv{
        padding-bottom: 6%;
    }
}

@media(min-width: 370px) and (max-width: 380px){
    #dresscode_inv{
        padding-bottom: 4.5%;
    }
}

#dresscode_inv .title_reg, #dresscode_inv .subtitle_reg{
    display: block;
    position: relative;
    line-height: 0.6em;
    text-align: center;
    text-shadow: -1px -1px rgb(252,249,223),
    -1px -1px rgb(252,249,223),
    -1px -1px rgb(252,249,223),
    -1px -1px rgb(252,249,223);
    filter: drop-shadow(2px 2px 1px rgba(0,0,0,.3));
}

#dresscode_inv .title_reg{
    font-size: 3.6em;
}

#dresscode_inv .subtitle_reg{
    font-size: 2em;
    padding-top: 9%;
}

#dresscode_inv .text_reg{
    display: block;
    position: relative;
    margin: 4.5% auto 0 auto;
    width: 81%;
    font-size: 1em;
    text-align: center;
}

#dresscode_inv .bigger{
    font-weight: 700;
    font-size: 1.5em;
    text-transform: uppercase;
}

@media(min-width: 355px) and (max-width: 365px){
    #dresscode_inv .subtitle_reg{
        padding-top: 7.5%;
    }
    
    #dresscode_inv .text_reg{
        margin-top: 3%;
    }
    
    #dresscode_inv .bigger{
        font-size: 1.2em;
    }
}

#dresscode_icons{
    display: flex;
    position: relative;
    margin: 6% auto 0 auto;
    width: 75%;
}

#dresscode_icons div{
    position: relative;
    margin: 0 auto;
    width: 50%;
}

#dresscode_icons div img{
    display: block;
    position: relative;
    margin: 0 auto;
    width: 51%;
}

#parents_inv{
    display: block;
    background: url(../img/KatyXV_Padres_bg.jpg) no-repeat top center;
    background-size: 100% auto;
    position: relative;
    padding-bottom: 6%;
    width: 100%;
}

@media(min-width: 355px) and (max-width: 365px){
    #parents_inv{
        padding-bottom: 1%;
    }
}

#parents_inv .title_reg, #parents_inv .subtitle_reg{
    display: block;
    position: relative;
    line-height: 0.6em;
    text-align: center;
    text-shadow: -1px -1px rgb(252,249,223),
    -1px -1px rgb(252,249,223),
    -1px -1px rgb(252,249,223),
    -1px -1px rgb(252,249,223);
    filter: drop-shadow(2px 2px 1px rgba(0,0,0,.3));
}

#parents_inv .subtitle_reg:first-child{
    padding-top: 51%;
}

#parents_inv .title_reg{
    font-size: 3.6em;
    line-height: 1em;
}

#parents_inv .subtitle_reg{
    font-size: 2em;
    padding-top: 6%;
}

#parents_inv .text_reg{
    display: block;
    position: relative;
    margin: 1.5% auto;
    width: 84%;
    font-size: 1.65em;
    line-height: 0.9em;
    text-align: center;
    mix-blend-mode: multiply;
}

@media(min-width: 355px) and (max-width: 365px){
    #parents_inv .text_reg{
        font-size: 1.5em;
    }
}

#parents_inv .text_reg.spe{
    display: block;
    position: relative;
    margin: 6% auto 0 auto;
    font-family: 'AliceWonderland', sans-serif;
     text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    font-size: 1.65em;
    line-height: .9em;
    text-align: center;
}

#confirm_inv{
    display: block;
    background: url(../img/KatyXV_Confirm_bg.jpg) no-repeat top center;
    background-size: 100% auto;
    position: relative;
    padding-bottom: 7%;
    width: 100%;
}

#confirm_inv .title_reg:nth-child(2), #confirm_inv .subtitle_reg:first-child{
    display: block;
    position: relative;
    line-height: 0.6em;
    text-align: center;
    text-shadow: -1px -1px rgb(252,249,223),
    -1px -1px rgb(252,249,223),
    -1px -1px rgb(252,249,223),
    -1px -1px rgb(252,249,223);
    filter: drop-shadow(2px 2px 1px rgba(0,0,0,.3));
}

#confirm_inv .subtitle_reg:first-child{
    padding-top: 30%;
}

#confirm_inv .text_reg{
    background: rgba(0,0,0,.6);
    display: block;
    position: relative;
    margin: 3% auto 0 auto;
    padding: 3% 4%;
    width: 100%;
    font-size: 1.1em;
    line-height: 1.1em;
    text-align: center;
    text-shadow: 1px 1px 2px rgba(0,0,0,.45);
}

@media(min-width: 355px) and (max-width: 365px){
    #confirm_inv{
        padding-bottom: 2.1%;
    }
    
    #confirm_inv .text_reg{
        margin: 2.1% auto 0 auto;
        font-size: 1em;
        line-height: 1em;
    }
}

@media(min-width: 370px) and (max-width: 380px){
    #confirm_inv{
        padding-bottom: .9%;
    }
}

@media(min-width: 385px) and (max-width: 395px){
    #confirm_inv{
        padding-bottom: 0;
    }
}

@media(min-width: 401px) and (max-width: 410px){
    #confirm_inv{
        padding-bottom: 4%;
    }
}

#tickets_inv{
    background: rgba(0,0,0,.6);
    position: relative;
    margin: 0 auto;
    padding: 3% 1.5%;
    width: 100%;
}

#check_in{
    display: block;
    position: relative;
    margin: 0 auto;
    width: 100%;
}

#attendees_fields{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    position: relative;
    padding: 0 1.5%;
    width: 99%;
}

#attendees_fields fieldset{
    position: relative;
    margin: 0 auto 3% auto;
    border-right: solid 1px rgba(255,255,255,.3);
    width: 33.33%;
}

#attendees_fields fieldset:nth-child(4n), #attendees_fields fieldset:last-child{
    border: none;
}

#attendees_fields fieldset .sub3_reg{
    display: block;
    position: relative;
    margin: 0 auto;
    width: 100%;
    font-size: 2.4em;
    font-weight: 400;
    line-height: 0.9em;
    text-align: center;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

@media(min-width: 355px) and (max-width: 365px){
    #attendees_fields fieldset .sub3_reg{
        font-size: 2.1em;
    }
}

@media(min-width: 370px) and (max-width: 380px){
    #attendees_fields fieldset .sub3_reg{
        font-size: 1.8em;
    }
}

.attendees_checkin{
    display: flex;
    justify-content: space-around;
    flex-basis: 33.33%;
    position: relative;
    margin: 0 auto;
    width: 100%;
}

.attendees_check{
    position: relative;
    margin: 0 auto;
    width: 50%;
}

.attendees_check label{
    display: block;
    position: relative;
    margin: 15% auto 0 auto;
    width: 100%;
    font-size: 1em;    
    color: #fcf9df;
    text-align: center;
    text-transform: uppercase;
}

.attendees_check input{
    display: block;
    position: relative;
    margin: -21% auto 0 auto;
    width: 1.2rem;
    height: 1.2rem;
}

#tickets_inv .sub4_reg{
    display: block;
    position: relative;
    margin: 0 auto;
    padding: 0 0 12% 0;
    border: none;
    font-size: 3em;
    font-weight: 400;
    line-height: 0.6em;
    text-align: center;
    text-shadow: none;
    filter: none;
}

#gifts_inv{
    display: block;
    background: url(../img/KatyXV_Gifts_bg.jpg) no-repeat top center;
    background-size: 100% auto;
    position: relative;
    padding-bottom: 30%;
    width: 100%;
}

#gifts_inv .title_reg:nth-child(2), #gifts_inv .subtitle_reg:first-child{
    display: block;
    position: relative;
    line-height: 0.6em;
    text-align: center;
    text-shadow: -1px -1px rgb(252,249,223),
    -1px -1px rgb(252,249,223),
    -1px -1px rgb(252,249,223),
    -1px -1px rgb(252,249,223);
    filter: drop-shadow(2px 2px 1px rgba(0,0,0,.3));
}

#gifts_inv .subtitle_reg:first-child{
    padding-top: 30%;
}

#gifts_inv .text_reg{
    display: block;
    position: relative;
    margin: 3% auto 0 auto;
    width: 93%;
    font-size: 1.5em;
    text-align: center;
}

#gifts_table{
    position: relative;
    margin: 4.5% auto 0 auto;
    width: 42%;
}

/*no desktop*/

#nodesktop_main{
    background: rgb(88,76,68);
    position: relative;
    margin: 0 auto;
    width: 100%;
    height: 100vh;
}

#nodesktop_vis{
    display: block;
    background: url(../img/KatyXV_IntroP_bg.jpg) no-repeat center;
    background-size: 100% auto;
    position: relative;
    margin: 0 auto;
    width: 100%;
    max-width: 1080px;
    height: 100vh; 
}

#nodesktop_text{
    position: absolute;
    margin: auto;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 84%;
    height: 12rem;
    text-align: center;
}

#nodesktop_txt .text_reg{
    font-size: 1.5em;
}

/*guests_list*/

#list_main{
    position: relative;
    margin: 0 auto;
    max-width: 650px;
}

#head_list{
    background: rgb(0,0,0);
    position: relative;
    margin: 0 auto;
    padding: 3% 0;
    width: 100%;
    text-align: center;
}

#head_list .title_max{
    display: block;
    position: relative;
    font-size: 2.7em;
    color: rgb(255,255,255);
}

#head_list .title_reg{
    display: block;
    position: relative;
    margin-top: 1.5%;
    font-family: Aeonik;
    font-size: 1.8em;
    color: rgb(255,255,255);
    text-transform: uppercase;
}

#list_vis{
    position: relative;
    margin: 3% auto 0 auto;
    padding: 3%;
    width: 90%;
    border: solid 1px rgba(0,0,0,.33);
}

#guests_list{
    position: relative;
    margin: 0 auto;
    width: 100%;
}

.guest_item{
    position: relative;
    border-bottom: solid 1px rgba(0,0,0,.33);
}

.guest_item .subtitle_reg{
    display: block;
    font-family: Aeonik;
    width: 50%;
}

.guest_item .text_reg{
    display: block;
    padding: 1.2% 0;
    font-family: Aeonik;
    font-weight: 400;
    width: 50%;
}

.titular_name{
    display: block;
    padding: 0.6%;
    font-size: 1.5em;
}

.noconfirmed, .confirmed{
    display: block;
    padding: 0.6%;
    font-size: 1.2em;
}

.noconfirmed{
    background: red;
    color: white;
}

.confirmed{
    background: green;
    color: white;
}

.guest_comp{
    position: relative;
    margin: 0 auto;
    width: 96%;
}

.comp_name{
    display: block;
    background: rgb(228,228,228);
    position: relative;
    padding: 0.6%;
    font-size: 1.2em;
}

.comp_state{
    font-size: 1em;
    color: white;
}

.comp_state.attendee{
    display: block;
    background: rgb(40,149,72);
    padding: 0.6%;
}

.comp_state.no-attendee{
    display: block;
    background: rgb(222,49,62);
    padding: 0.6%;
}

#counter_atts{
    position: sticky;
    margin: 0 auto;
    bottom: 0;
    width: 100%;
}

#atts_vis, #noatts_vis{
    position: relative;
    margin:  0 auto;
    padding: 3%;
    width: 50%;
    font-weight: 400;
    color: white;
    text-align: center;
}

#atts_vis{
    background: green;
}

#noatts_vis{
    background: red;
}