html{
    margin: 0;
    padding: 0;
}
body{
    margin: 0;
    padding: 0;
}
menu{
    font-family: "Lato", sans-serif;
    text-transform: uppercase;
    display: block;
    width: 100%;
    height: 2rem;
    background: #fff;
    position: fixed;
    top:0;
    left: 0;
    margin: 0;
    text-align: right;
    padding: 0.5rem;
    padding-right: 0;
}

menu .logo{
    width: 14rem;
    height: 3rem;
    background-repeat: no-repeat;
    text-align: left;
    position: absolute;
    left: 10%;
    top:1.2rem;
    background-image: url(img/logo.svg);
    background-size: auto;

}

menu ul{
    display: inline-block;
    padding-right: 10%;
}

menu ul>li{

    display: block;
    float: left;
    margin-right: 1.5rem;
}

menu ul>li:last-child{
    margin-top:-2px;
    margin-right: 1rem;
}

menu li a{
    color:#999;
    text-decoration: none;
}

menu li a:hover{
    border-bottom: 5px solid #999;
}

menu li a:active{
    color:#67BAAF;
}

.fixbg{
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    position: fixed;
    top:0;
    left: 0;
    z-index: -100;
    background-size: contain;
    background-attachment: fixed;
    background: url(img/headerbg3.jpg) no-repeat top right;
}

header {
    text-align: center;
    margin-top: 18%;
    border: 2px #f0f;
    margin-left: 20%;
    margin-right: 20%;
    display: block;

}

h1 {
    /*color: #FF8671;*/
    color:#fff;
    font-family: 'Great Vibes', cursive;
    font-size: 6.5em;
    font-weight: normal;
    text-shadow: 2px 2px 8px #999;
}

h1.mainhead {
    margin: 0;
    padding: 0;
}

h2 {
    /*color: #67BAAF;*/
    color:#fff;
    text-transform: uppercase;
    font-size: 1.5rem;
    font-family: 'Lato', sans-serif;
    font-weight: normal;
}
main{

    background-color: #fff;
    width: auto;
    margin-top: 15rem;
    text-align: center;
    margin-left: 10%;
    margin-right: 10%;
    padding: 2rem;
    border-radius: 0.5rem;
}

main  h2 {
    /*color: rgb(187, 235, 255);*/
    color:#333;
    font-family: 'Great Vibes', serif;
    font-size: 3rem;
    text-align: center;
    text-transform: none;
}

main article {
    text-align: left;
    font-family: "Lato", sans-serif;
}

main article p {
    font-size: 1.3rem;
    line-height: 150%;
}

article img {
    min-width: 100%;
    max-width: 100%;
    border-radius: 5px;
    float: none;

    clear:both;
}

article a{
    color: #FF8671;
    text-decoration: none;
}

article a:hover{
    color: #FF8671;
    text-decoration: underline;
}

article ul{
    font-size: 1rem;
    margin-left: 0;

}
article ul li{
    font-size: 1.2rem;
    line-height: 1.5rem;
    list-style-type: disc;
}


.sub_item {
    display: table-cell;
    padding-right: 5rem;
}
.sub_item h3{
    font-size: 1.5rem;
}

.sub_item .perc50 {
    width: 45%;
    padding-right: 2%;
}

.sub_item .perc33 {
    width: 31%;
    padding-right: 2%;
}

.rsvp_form{
    font-family: "Lato", sans-serif;
    font-size: 1.3rem;

}

.rsvp_form label{
    padding-bottom: 0.8rem;
}

.rsvp_form input{
    width: 100%;
    font-size: 1.5rem;
    font-family: "Lato", sans-serif;
    margin-bottom: 1.5rem;
}
.rsvp_form input[type="submit"]{
    font-size: 2.1rem;
    font-family: 'Linden Hill', serif;
    background-color: #67BAAF;
    color: #fff;
    border: 0;
    border-radius: 5px;
}

.luvimg{
    max-width: 100%;
}

table{
    width:80%;
}

td{
    padding: 4px;
}
.tablehead{
    text-align: center;
    font-weight: bold;
}
#nav-toggle{
    display: none;
}

.registry_item{
    max-width: 44%;
    float: left;
    margin: 2.5%;
    display: table-cell;
}
.registry_item img{
    max-width: 100%;
}

.registry_item h2{
    font-family: "Lato", sans-serif;
    font-weight: bold;
    text-align: left;
    font-size:1.8rem;
}

.registry_itemorder{
    float: left;
}
.registry_itemform{
    float: right;
}


.registry_itemform input{
    font-family: "Lato", sans-serif;
    font-size: 1.3rem;
}
.registry_itemamount{
    width: 2rem;
    border: 2px solid #FF8671;
    color: #FF8671;
    text-align: center;
    border-radius: 2px;
}
.registry_itemsubmit{
    font-size: 1.5rem;
    background-color: #67BAAF;
    color: #fff;
    border-radius:2px;
    border: 2px solid #67BAAF;
}

.clear{
    clear: both;
}


@media (max-width:900px) {
    menu ul{
        display: none;
        width: 100%;

        margin-top:-0.1rem;
        text-align: center;
    }
    menu ul li{
        margin-left: -6%;
        width: 100%;
        font-size: 2rem;
        float: none;
        background-color: #fff;
    }
    menu li a{
        margin: 0;
        width: 100%;
        display: block;
        padding: 1rem 5rem 1rem 0;

    }
    menu li a:hover{
        border: 0;
        background-color: #999999;
        color:#fff;

    }
    #nav-toggle{
        display: block;
        margin-right: 10%;
        text-decoration: none;
        font-size: 2em;
        color:#999;
    }
    .registry_item{
        max-width: 100%;
        float: none;
        display: block;
    }
    .registry_itemorder{
        float: none;
    }
    .registry_itemform{
        float: none;
    }
}

@media (max-width:640px){
    main{
        margin-left: 2%;
        margin-right: 2%;
    }
    .mainhead{
        font-size:5em;
    }
    .sub_item {
        display: block;
        padding-right: 0.2rem;
    }

    menu ul li{
        padding: 1rem 5rem 1rem 0;
        margin-left: -12%;

    }


}
