* {
    padding: 0;
    margin: 0;
    font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
}
::-moz-selection {
    background: #ed8080;
}
::selection {
    background: #ed8080;
}
::-moz-selection {
    background: #ed8080;
}
.clear {
    clear: both;
}
body {
    background: #E8E8E8;
}
#top {
    position: relative;
    width: 100%;
}
#top .bg {
    width: 100%;
    height: 100%;
}
#couple #top .bg {
    background: url("../img/top.jpg");
    background-size: cover;
}
#proposal #top .bg {
    background: url("../img/top2.jpg");
    background-size: cover;
}
#video #top .bg {
    background: url("../img/top3.jpg");
    background-size: cover;
}
#weddingdetails #top .bg {
    background: url("../img/top4.jpg");
    background-size: cover;
}
#registry #top .bg {
    background: url("../img/top5.jpg");
    background-size: cover;
}
#pictures #top .bg {
    background: url("../img/top6.jpg");
    background-size: cover;
}
#top img.logo {
    position: absolute;
    bottom: 4%;
    width: 40%;
    left: 30%;
    z-index: 999;
}
#nav {
    margin: 20px auto;
    text-align: center;
}
#nav a {
    font-family: "Times New Roman", Times, serif;
    margin: 10px;
    color: #222;
    text-decoration: none;
    font-weight: bold;
    font-size: 13px;
    border-bottom: 2px solid #E8E8E8;
    -webkit-transition: all 200ms linear 0ms;
    transition: all 200ms linear 0ms;
}
#nav a:hover, #nav a.selected {
    border-bottom: 2px solid #999999;
}
#nav a.menu {
    display: none;
}
#sum {
    margin: 20px auto 65px auto;
    width: 600px;
    text-align: justify;
    font-size: 18px;
    font-style: italic;
    color: #333333;
}
#sum div {
    float: right;
}
#mid1, #mid2, #mid3, #mid4 {
    position: relative;
    width: 100%;
    font-size: 0;
    white-space: nowrap;
}
#mid1 .bg {
    width: 100%;
    height: 100%;
    background: url("../img/mid1.jpg");
    background-size: cover;
}
#mid2 .bg {
    width: 100%;
    height: 100%;
    background: url("../img/mid2.jpg");
    background-size: cover;
}
#mid3 .bg {
    width: 50%;
    height: 100%;
    background: url("../img/mid3.jpg");
    background-size: cover;
    display: inline-block;
}
#mid3 iframe {
    width: 50%;
    height: 100%;
    display: inline-block;
}
#mid4 .bg {
    width: 50%;
    height: 100%;
    background: url("../img/mid4.jpg");
    background-size: cover;
    display: inline-block;
}
#mid4 iframe {
    width: 50%;
    height: 100%;
    display: inline-block;
}
#cjc, #kj, #prop, #ceremony, #wp, #reg, #reply, #pics, #vid {
    margin: 65px auto;
    width: 600px;
    text-align: justify;
    font-size: 18px;
    font-style: italic;
    color: #333333;
}
#vid > div {
    position: relative;
}
#vid > div:before {
    display: block;
    content: "";
    width: 100%;
    padding-top: 56.25%;
}
#vid iframe {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
}
#reply input {
    border: 0;
    border-bottom: 1px solid #999;
    background: #E8E8E8;
    font-size: 20px;
    width: 30%;
    -webkit-transition: all 200ms linear 0ms;
    transition: all 200ms linear 0ms;
}
#reply input[name="name"], #reply input[name="gname"] {
    width: 65%;
    margin-right: 4%;
}
#reply input:focus {
    border-bottom: 1px solid #333;
    outline: none;
}
#reg a {
    text-decoration: none;
}
#reg a img {
    opacity: .65;
    -webkit-transition: all 200ms linear 0ms;
    transition: all 200ms linear 0ms;
}
#reg a:hover img {
    opacity: 1;
}
#wp {
    font-size: 0;
}
#wp div {
    font-size: 20px;
    text-align: center;
    margin-bottom: 20px;
}
#wp div span {
    font-weight: bold;
}
#wp ul {
    width: 50%;
    display: inline-block;
    font-size: 20px;
}
#wp ul li:first-child {
    list-style: none;
    margin: 0;
    font-weight: bold;
}
#wp ul li {
    margin-left: 20px;
}
#cjc img, #kj img, #prop img, #ceremony img, #wp img, #reg img, #reply img, #pics img, #vid img {
    width: 80%;
    margin: 0 10% 20px 10%;
}
#reply form {
    font-size: 0;
}
input[type=radio] {
    display: none;
}
#reply center {
    margin: 15px 0;
}
#reply input[type=radio] + label {
    cursor: pointer;
    font-size: 21px;
    margin: 0 20px;
}
#reply input[type=radio] + label span {
    display: inline-block;
    width: 27px;
    height: 27px;
    border-bottom: 1px solid #333;
    margin: 0 6px;
}
#reply input[type=radio] + label span span {
    color: #E8E8E8
}
#reply input[type=radio]:checked + label span span {
    color: #333;
}
#reply input[type=submit] {
    border: 1px solid #999;
    float: right;
}
#reply input[type=submit]:hover {
    border: 1px solid #333;
}
#reply table {
    width: 100%;
    margin: 50px 0;
}
#reply table td {
    width: 33.33%;
    text-align: center;
    vertical-align: top;
    font-size: 18px;
}
#reply table tr {
    font-family: "Times New Roman", Times, serif;
    font-weight: bold;
    text-transform: uppercase;
}
#reply table tr:last-child {
    font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
    text-transform: none;
    font-weight: 200;
    font-size: 16px;
}
#reply .success {
    margin-bottom: 25px;
    color: #279448;
}
#reply .error {
    margin-bottom: 25px;
    color: #d21c2d;
}
#credit {
    margin: 40px 5px;
    text-align: center;
    font-size: 14px;
    color: #999;
}
#credit a {
    color: #444;
    text-decoration: none;
    -webkit-transition: all 200ms linear 0ms;
    transition: all 200ms linear 0ms;
}
#credit a:hover {
    color: #333;
    text-decoration: underline;
}
@media only screen and (min-width : 421px) and (max-width : 630px) {
    #cjc, #kj, #prop, #ceremony, #wp, #reg, #reply, #sum, #pics, #vid {
        width: 95%;
    }
    #reply input {
        font-size: 14px;
    }
    #top img.logo {
        bottom: 2%;
        width: 70%;
        left: 15%;
    }
    #wp div {
        font-size: 15px;
    }
    #wp ul {
        font-size: 15px;
    }
}
@media only screen and (max-width : 420px) {
    #top img.logo {
        bottom: 1%;
        width: 90%;
        left: 5%;
    }
    #cjc, #kj, #prop, #ceremony, #wp, #reg, #reply, #sum, #pics, #vid {
        width: 97%;
    }
    #nav {
        height: 38px;
        overflow: hidden;
    }
    #nav a {
        display: block;
        font-family: "Times New Roman", Times, serif;
        margin: 10px;
        color: #999;
        text-decoration: none;
        font-weight: bold;
        font-size: 13px;
        border-bottom: 2px solid #D8D8D8;
        -webkit-transition: all 200ms linear 0ms;
        transition: all 200ms linear 0ms;
    }
    #nav a:hover {
        border-bottom: 2px solid #999999;
        color: #222;
    }
    #nav a.selected {
        border-bottom: 2px solid #D8D8D8;
    }
    #nav a.menu {
        display: block;
        color: #222;
        border-bottom: 2px solid #999999;
    }
    #wp div {
    }
    #wp ul {
        display: block;
        width: 100%;
        margin-bottom: 20px;
    }
    #reply input {
        font-size: 15px;
        width: 100%;
        -webkit-transition: all 200ms linear 0ms;
        transition: all 200ms linear 0ms;
    }
    #reply input[name="name"], #reply input[name="gname"] {
        width: 100%;
    }
    #reply input[name="food"] {
        margin-bottom: 25px;
    }
    #reply input[type=radio] + label span {
        margin: 0 6px 0 0;
    }
}