/* General */

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

html, body {
    height: 100%;
}

body {
    background: #e9f5f5;
    color: #222;
    font-family: 'Josefin Sans', Helvetica, Arial, sans-serif;
}

dl, dd, dt {
    margin: 0;
}

img {
    vertical-align: middle;
}

.wrapper {
    margin: 0 auto;
    width: 940px;
}

header {
    padding: 40px 0 0 0;
    background: #fff;
}

#waiting-list {
    padding: 10px;
    background: #e9f5f5;
    text-align: center;
    border-bottom: 1px solid #a4d7da;
    display: block;
    z-index: 99;
}

h1 {
    display: block;
    margin: 0 auto 40px auto;
    padding: 0;
    width: 287px;
    height: 68px;
    background: url("img/wasserij-stevens.png") no-repeat;
    text-indent: -9999px;
    outline: none;
}

@media only screen and (-webkit-min-device-pixel-ratio: 1.5),
only screen and (-o-min-device-pixel-ratio: 3/2),
only screen and (min--moz-device-pixel-ratio: 1.5),
only screen and (min-device-pixel-ratio: 1.5) {
    h1 {
        background-image: url("img/wasserij-stevens@2x.png");
        background-size: 287px 68px;
    }
}

h1 a {
    display: block;
    width: 287px;
    height: 68px;
}

#main-nav {
    background: none repeat scroll 0 0 #a4d7da;
    clear: left;
    overflow: hidden;
    position: relative;
    margin: 0;
}

#main-nav ul.nav {
    clear: left;
    float: left;
    left: 50%;
    position: relative;
    text-align: center;
    padding: 0;
    margin: 20px 0;
}
#main-nav ul.nav li{
    float: left;
    position: relative;
    right: 50%;
    list-style: none;
    margin: 0 35px;
}
#main-nav ul.nav li a {
    color: #222;
    padding: 10px 0;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 200;
}

#main-nav ul.nav li a:hover {
    text-decoration: underline;
}

#main-nav ul.nav li.active a {
    font-weight: bold;
}

.center {
    background: #e9f5f5;
    height: 100%;
}

.content {
    float: left;
    min-height: 435px;
    width: 860px;
}

#container {
    min-height: 100%;
    margin: 0 auto -60px auto;
}

.push, footer {
    height: 60px;
}

footer {
    background: #d2ebec;
}

footer.home {
    background: url("img/footer.png");
}

.footer-text {
    width: 100%;
    float: left;
    text-align: center;
    font-size: 14px;
    font-weight: 200;
    padding: 20px 0;
}

.footer-text p {
    margin: 0;
}

/* Text Blocks */

.center .wrapper {
    padding: 0 40px;
    width: 860px;
}

.text-blocks-wrapper {
    float: left;
    padding: 50px 0;
}

.text-blocks p, .text-blocks ul li {
    font-size: 16px;
    margin: 15px 0;
    line-height: 150%;
}

.text-blocks ul {
    padding: 0 0 0 40px;
}

.text-blocks ul li {
    margin: 3px 0;
}

.text-blocks a, .homepage-text a, #waiting-list a {
    color: #222;
    text-decoration: underline;
}

.text-blocks h3, .homepage-text h3, .contact-block h3 {
    margin: 10px 0;
    color: #0099a8;
    text-transform: uppercase;
    font-weight: 400;
    letter-spacing: 0.0625em;
}

.text-blocks h4, .homepage-text h4 {
    margin: 10px 0;
    font-weight: 600;
}

.text-block {
    float: left;
    width: 100%;
    margin: 5px 0;
}

.text-block img.left {
    float: left;
    margin: 10px 30px 10px 0;
}

.text-block img.right {
    float: right;
    margin: 0 0 10px 30px ;
}

.text-block img.small {
    width: 150px;
}

.text-block img.medium {
    width: 250px;
}

.text-block img.large {
    width: 350px;
}

.photo-rows {
    width: 100%;
    border-collapse: collapse;
    border-width: 0;
    float: left;
}

.photo-rows td {
    width: 33%;
    padding: 10px 0;
    vertical-align: middle;
    line-height: 45px;
    font-size: 16px;
    text-align: left;
}

.photo-rows td img, .photo-rows td p {
    float: left;
}

.photo-rows td p {
    width: 220px;
    margin: 10px 0 0 10px;
}

/* Home */

#backstretch {
    width: 100%;
    height: 400px;
    display: block;
    bottom: 0;

}


/* Contact */

.contact-left, .contact-right {
    margin: 50px 0 50px 0;
}

.contact-left {
    width: 300px;
    height: 400px;
    float: left;
}

.contact-right {
    width: 500px;
    float: right;
}

.contact-blocks {
    padding: 50px 100px;
}

.contact-block.second {
    padding: 30px 0 0 0;
}

dd {
    margin: 0 0 15px 0;
}

input, textarea {
    border: 1px solid #a4d7da;
    padding: 7px;
    width: 350px;
}

input.error, textarea.error {
    border: 1px solid #a7082e;
}

#submit {
    background: #a4d7da;
    text-transform: uppercase;
    padding: 7px 10px 3px 10px;
    width: 365px;
}

#submit:hover {
    background: #fff;
}

#sending, #sent {
    display: none;
}