body {
    margin: 0;
    margin-bottom: 50px;
    background-color: #edfff4;
    background-image: url("images/LeftRightBackground.png");
    background-repeat: repeat-x;
    font-family: Verdana, sans-serif;
}

div#core {
    margin: 0 auto;
    width: 1034px;
}

div.left.margin, div.left.gradient {
    background-position: top left;
}

div.right.margin, div.right.gradient {
    background-position: top right;
}

div.gradient {
    background-image: url("images/TopMargin.png");
    background-repeat: no-repeat;
}

div.margin {
    background-image: url("images/MiddleMargin.png");
    background-repeat: repeat-y;
}

div#content {
    position: relative;
    margin: 0 24px;
    background-color: white;
}

div#header {
    height: 83px;
    background-color: #e9fdf8;
}

div#header img {
    border: none;
}

div#header a#logo {
    text-decoration: none;
}

div#header a#logo img {
    padding-top: 4px;
    padding-left: 25px;
}

span#slogan {
    color: #0a689b;
    font-style: italic;
    padding-left: 10px;
    vertical-align: 26px;
}

span#toplinks {
    position: absolute;
    top: 55px;
    right: 20px;
}

span#toplinks a {
    color: #4db584;
    padding-right: 20px;
}

span#phone {
    position: absolute;
    top: 15px;
    right: 40px;
}

span#phone div#phone-img {
    width: 9px;
    height: 28px;
    background-image: url("images/MainSprites.png");
    background-position: -90px 0px;
    float: left;
}

span#phone span#phone-num {
    color: #3590c5;
    padding-left: 8px;
    position: relative;
    top: 4px;
}

div#menubar {
    height: 28px;
    line-height: 28px;
    background-image: url("images/VerticalSprites.png");
    background-position: 0px -33px;
    background-repeat: repeat-x;
    text-align: center;
}

div#menubar li {
    list-style-type: none;
    display: inline;
}

div#menubar li a {
    color: white;
    text-decoration: none;
    padding: 0 35px 0 35px;
}

div#menubar li.ancestor a, div#menubar li.selected a {
    color: darkorange;
}

div#menubar li a:hover {
    text-decoration: underline;
}

div#leftfooter {
    float: left;
}

div.footmargin {
    width: 38px;
    height: 32px;
}

div#leftfooter div.left {
    float: left;
    background-image: url("images/MainSprites.png");
    background-position: 0px 0px;
}

div#leftfooter div.center {
    float: right;
    background-image: url("images/VerticalSprites.png");
    background-position: 0px 0px;
    background-repeat: repeat-x;
    width: 958px;
    height: 32px;
    text-align: center;
    font-size: 9px;
}

div#rightfooter {
    float: right;
    background-image: url("images/MainSprites.png");
    background-position: -39px 0px;
}

div#ornaments {
    position: relative;
    bottom: 180px;
    padding-bottom: 70px;
}

div#ornaments.short {
    bottom: -18px;
    padding-bottom: 70px;
}

div#ornaments div {
    position: absolute;
    background-image: url("images/Ornaments.png");
    width: 341px;
    height: 264px;
}

div#ornaments.short div {
    background-image: url("images/ShortOrnaments.png");
    height: 66px;
}

div#ornaments div.left {
    background-position: 0px 0px;
    margin-left: 10px;
}

div#ornaments div.right {
    right: 0;
    background-position: -342px 0px;
    margin-right: 10px;
}

/* This section is for the home page */

h1#homeintro {
    position: absolute;
    left: -10000px;
    width: 800px;
}

img#homemain {
    border: none;
}

div#content div.box {
    background-color: #f2fcf5;
    width: 350px;
}

div#content div.box div.header {
    background-image: url("images/VerticalSprites.png");
    background-position: 0px -62px;
    background-repeat: repeat-x;
    height: 29px;
}

div#content div.box div.header div {
    width: 5px;
    height: 29px;
}

div#content div.box div.header div.left {
    float: left;
    background-image: url("images/MainSprites.png");
    background-position: -78px 0px;
}

div#content div.box div.header div.right {
    float: right;
    background-image: url("images/MainSprites.png");
    background-position: -84px 0px;
}

div#content div.box div.header span {
    text-align: center;
    color: white;
    width: 340px;
    position: absolute;
    margin-top: 3px;
}

div#content div.box div.content {
    background-color: #c7f0d4;
    height: 260px;
    margin-left: 1px;
    margin-right: 1px;
    padding-left: 5px;
    padding-right: 5px;
    text-align: center;
    color: #074a6e;
}

div#content div.box div.content img {
    border: 0;
}

div#content div.box div.footer {
    background-image: url("images/VerticalSprites.png");
    background-position: 0px -92px;
    background-repeat: repeat-x;
    height: 4px;
}

div#content div.box div.footer div {
    width: 5px;
    height: 4px;
}

div#content div.box div.footer div.left {
    float: left;
    background-image: url("images/MainSprites.png");
    background-position: -100px -18px;
}

div#content div.box div.footer div.right {
    float: right;
    background-image: url("images/MainSprites.png");
    background-position: -106px -18px;
}

div#boxes {
    position: relative;
    padding-top: 10px;
    margin-left: 120px;
    z-index: 1;
}

div#becomehost {
    position: relative;
    float: left;
}

div#viewaupair {
    position: relative;
    left: 50px;
    overflow: hidden;
}

div#boxes img {
    margin-top: 20px;
    width: 250px;
}

div#boxes a {
    text-decoration: none;
}

/* This section is for the content page */

div#main {
    overflow: hidden;
    font-size: 13px;
    min-height: 210px;
}

div#leftpane {
    float: left;
    width: 330px;
    font-size: 14px;
}

div#pagetitle {
    margin-top: 27px;
    margin-right: 10px;
    text-align: center;
    color: darkorange;
    font-size: 36px;
    font-family: Georgia, Palatino, serif;
}

div#navigation {
    margin-top: 27px;
    margin-left: 40px;
    margin-right: 50px;
    position: relative;
    z-index: 1;
}

div#navigation div.header {
    background-image: url("images/VerticalSprites.png");
    background-position: 0px -97px;
    bakground-repeat: repeat-x;
    height: 7px;
}

div#navigation div.header div {
    width: 5px;
    height: 7px;
}

div#navigation div.header div.left {
    float: left;
    background-image: url("images/MainSprites.png");
    background-position: -100px 0px;
}

div#navigation div.header div.right {
    float: right;
    background-image: url("images/MainSprites.png");
    background-position: -106px 0px;
}

div#navigation div.content {
    background-image: url("images/VerticalSprites.png");
    background-position: 0px -115px;
    background-repeat: repeat-x;
}

div#navigation div.content ul {
    margin: 0;
    padding-top: 20px;
    padding-left: 15px;
    margin-right: 15px;
    padding-bottom: 10px;
}

div#navigation div.content ul li {
    list-style-type: none;
    padding-bottom: 10px;
}

div#navigation div.content ul li a {
    color: black;
    text-decoration: none;
}

div#navigation div.content ul li.selected a {
    color: #006699;
}

div#navigation div.content ul li a:hover {
    text-decoration: underline;
}

div#navigation div.footer {
    background-image: url("images/VerticalSprites.png");
    background-position: 0px -105px;
    bakground-repeat: repeat-x;
    height: 9px;
}

div#navigation div.footer div {
    width: 5px;
    height: 9px;
}

div#navigation div.footer div.left {
    float: left;
    background-image: url("images/MainSprites.png");
    background-position: -100px -8px;
}

div#navigation div.footer div.right {
    float: right;
    background-image: url("images/MainSprites.png");
    background-position: -106px -8px;
}

div#leftpane div.quote {
    margin-top: 27px;
    margin-left: 40px;
    margin-right: 50px;
    margin-bottom: 35px;
}

div#mainpane div.quote {
    margin-top: 27px;
    margin-left: 44px;
    width: 240px;
}

div.quote div.text {
    font-size: 18px;
    font-style: italic;
    font-family: Georgia, Times, Utopia, Palatino, serif;
    text-align: justify;
    color: gray;
}

div.quote div.text span.spacer {
    padding-right: 20px;
}

div.quote div.text span.bqstart, div.quote div.text span.bqend {
    font-size: 400%;
    color: #4991b5;
}

div.quote div.text span.bqstart {
    float: left;
    margin-top: -20px;
    margin-right: 10px;
    margin-bottom: -60px;
}

div.quote div.text span.bqend {
    float: right;
    margin-top: -20px;
    margin-bottom: -40px;
    margin-right: 4px;
    width: 240px;
    text-align: right;
}

div.quote div.author {
    clear: both;
    margin-top: 15px;
    text-align: right;
    color: gray;
    font-size: 12px;
}

div#rightpane {
    float: right;
    width: 546px;
    margin-right: 110px;
    margin-top: 40px;
    text-align: justify;
    font-size: 12px;
    position: relative;
    z-index: 1;
}

div#rightpane h1 {
    margin-top: 0;
    color: #0e689c;
    font-size: 19px;
    font-family: Geneva, sans-serif;
}

div#rightpane table {
    border: 1px solid grey;
    border-collapse: collapse;
    margin-bottom: 15px;
}

div#rightpane table caption {
    border: 1px solid grey;
    padding: 3px;
    background-color: papayawhip;
}

div#rightpane table td {
    border: 1px solid grey;
    padding: 3px;
    font-size: 12px;
    background-color: honeydew;
}

div#rightpane table td:first-child {
    background-color: white;
}

div#mainpane {
    text-align: justify;
    margin-top: 40px;
    margin-left: 80px;
    width: 546px;
    position: relative;
    z-index: 1;
}

div#mainpane h1 {
    color: #0e689c;
    font-family: Geneva, sans-serif;
}

div#mainfloat {
    float: right;
    width: 324;
    margin-right: -270px;
}

div#rightpane span.mainimg img, div#mainpane span.mainimg img, table#availaps img {
    width: 300px;
    margin: 10px 0 10px 10px;
    padding: 6px;
    border: 1px solid #bfbfbf;
    -moz-box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    -webkit-box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    background-color: #fbfbf1;
}

div#rightpane span.mainimg img {
    margin-right: -70px;
    float: right;
}

/* The available au pairs page */

table#availaps {
    border-collapse: collapse;
    margin-left: 50px;
}

table#availaps img {
    margin-left: 0;
    width: 140px;
}

table#availaps td {
    font-size: 12px;
    border-top: solid 1px #0e689c;
    padding-top: 10px;
    padding-bottom: 10px;
}

table#availaps td:first-child {
    padding-right: 20px;
}

table#availaps tr:first-child td {
    border: 0;
}

table#availaps div.leftjust span {
    font-weight: bold;
}

table#availaps div.descrip {
    text-align: justify;
    width: 450px;
}

table#availaps div.descrip p {
    margin-bottom: 4px;
}

/* The login page */

div#loginbox {
    position: relative;
    z-index: 1;
    width: 350px;
    height: 150px;
    margin-left: 318px;
    margin-right: 318px;
    margin-top: 100px;
    margin-bottom: 100px;
    border: 1px solid black;
    background-color: lightblue;
}

div#loginbox table tr:first-child td {
    padding-top: 30px;
}

div#loginbox table tr td:first-child {
    padding-left: 30px;
}

div#ErrMsg {
    position: absolute;
    left: 370px;
    top: 170px;
    color: red;
}
