HTML,BODY {
	background-color: #f5f5f5; /* buvo EEEEEE */
}


BODY {
    margin: 0;
}

div.container {
    width: 960px;
    margin-left: auto;
    margin-right: auto;
}

div.header, div.topbar, div.contentarea, div.witnessbox, div.footer {
    border-bottom: 1px solid #a09f9d;
    width: 100%;
}

div.header {
    -moz-border-radius-topleft: 7px;
	-moz-border-radius-topright: 7px;
	-webkit-border-top-left-radius: 7px;
	-webkit-border-top-right-radius: 7px;
	margin-top: 15px;
	background-image: url(/dev/img/logo.jpg);
    background-repeat: no-repeat;
    height: 133px;
    border: 1px solid #a09f9d;
}

/* onlinebox! */
div.onlinebox {
    float:right;
    height: 129px;
    width: 200px;
    right: 55px;
    margin-top: 1px;
    position: relative;
	font-size: 13px;
    vertical-align: middle;
}

/* flag on the header */
div.header img.flag {
    position: relative;
    float:right;
    margin-top: 4px;
    left: 196px;
}

div.onlinebox div[id^=o] {
    display: block;
}

div.onlinebox div[id^=o] div.te {
    width: 50%;
    float: left;
}

div.onlinebox div[id^=o] div.st {
    margin-left: 2px;
    float: left;
    padding-left:2px;
    padding-right:2px;
}

div.onlinebox div[id^=o] div.blink {
    background-image: url('/dev/img/pointer.gif');
    background-repeat: no-repeat;
    padding-left: 17px;
    color:#961f21;
}

div.topbar {
    width: 100%;
    height: 2px;
    background-color: #a09f9d;
    border: 1px solid #a09f9d;
}

div.witnessbox {
    padding-top: 3px;
    padding-bottom: 3px;
}

div.contentarea {
    background-color: #FFFFFF;
    border-left: 1px solid #a09f9d;
    border-right: 1px solid #a09f9d;
}

div.contentarea div.content {
    padding: 10px;
    padding-bottom: 15px;
}

div.footer {
    -moz-border-radius-bottomleft: 7px;
    -moz-border-radius-bottomright: 7px;
	-webkit-border-bottom-left-radius: 7px;
	-webkit-border-bottom-right-radius: 7px;
	font-family: Tahoma;
	color: #a09f9d;
	text-align: right;
	font-size: 12px;
	padding-top: 2px;
	padding-bottom: 2px;
	background-color: #FFFFFF;
    border-left: 1px solid #a09f9d;
    border-right: 1px solid #a09f9d;
}

div.content p {
	text-align: justify;
}

/* fonts */
BODY {
	font-family: Times New Roman;
	font-size: 14px;
}

h1, h2, h3 {
	font-family: georgia, serif;
	font-weight: bold;
	color: #961f21;
    margin-top: 10px;
    margin-bottom: 10px;
}

h1 { 
	font-size: 20px; 
}

h2 {
	font-size: 17px; 
}

h3 {
	font-size: 15px;
}

h3.date, h2.date {
    font-family: verdana;
}

a { color:#961f21; text-decoration:none; border-bottom: 1px solid #961f21; }
a:hover { background-color: #f8eced; color:#e7281e; border-bottom: 1px solid #e7281e; cursor: pointer; }

.hidden {
    display: none;
}

tbody.leftall > TR > td {
	text-align: left;
}

tbody.rightall > TR > td {
	text-align: right;
}

.border {
    border: 1px solid black;
}

.top {
	vertical-align: top;
}

.bottom {
	vertical-align: bottom;
}

.middle {
	vertical-align: middle;	
}

.half {
	width: 50%;
}


.center {
	text-align: center;
}

td.center > DIV {
	margin-left: auto;
    margin-right: auto;
}

.right {
	text-align: right;
}
.left {
	text-align: left;
}

.width100 {
	width: 100%;
}

.inline {
    display: inline;
}

.fleft {
    float: left;
}

.fright {
    float: right;
}

.fclear {
    clear: both;
}

div.footmenu {
    padding-left: 5px;
    padding-right: 5px;
}

/* clear bottom border on hyperlinks */
div.footmenu a {
    border-bottom: 0px;
}

table.center {
	margin-left: auto;
	margin-right: auto;
}


form.nomargin {
    margin: 0 0 0 0;
}

table.wbphoto {
	background-color: #961f21;
	font-family: verdana, arial;
    font-size: 11px;
	font-weight: bold;
	text-align: center;
	color: #FFFFFF;
	padding: 1px 1px 1px 1px;
}

div#photo0, div#photo1 {
    border: 1px solid #961f21;
    width: 100px;
    height: 100px;
    background-repeat: no-repeat;
}

.hand {
    cursor: pointer;
}

/* image selection */
img.face {
	border: 5px solid #CCCCCC;
}

img.face:hover {
	border: 5px solid #961f21; cursor: pointer;
}

img.selected {
	border: 5px solid green;
}

fieldset {
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
}

form#application {
    margin: 0;
    padding: 0;
}

/* application form */
form#application > table {
	width: 100%;
}

form#application table.inside {
	width: 100%;
	border: 0px solid black;
}

form#application table.inside td{
	width: 50%;
}

form#application table.inside input[type=text] {
	width: 90%;
}

input[type=text], input[type=file], select {
    border: 1px solid #CCCCCC;
    border-left: 4px solid #EEEEEE;
}

input.err, select.err {
    background-color: #FFFFF1;
    border: 1px solid #a09f9d;
    border-left: 4px solid #e7281e;
}

input#startbutton {
    width: 120px;
    height: 40px;
    font-family: verdana;
    font-size: 20px;
    margin-bottom: 20px;
}

input#returnsleep {
    width: 120px;
    height: 40px;
    font-family: verdana;
    font-size: 20px;
    margin-bottom: 10px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 15px;
}

input.tabNormal {
    width: 125px;
    font-size: 12px;
    font-weight: normal;
    cursor: pointer;
}

input.tabBold {
    width: 125px;
    font-size: 10px;
    font-weight: bold;
}

.absolute {
    position: absolute;
    /*border: 1px solid #CCCCCC;*/
}

/* wedding answers */
div[class^=questions] div[class^=a] {
    margin-bottom: 5px;
    margin-top: 5px;
}

/* errors, confirmations */
.error {
    background-color  : #FFFFF1;            /* yellowish background */
    padding           : 5px;
    margin: 10px;
    border: 1px solid #e7281e;
}

.confirmed {
    background-color  : #FFFFF1;            /* yellowish background */
    padding           : 5px;
    margin: 10px;
    border: 1px solid orange;
}

.action {
	-moz-border-radius: 2px;
	-webkit-border-radius: 2px;
    padding: 4px;
    border: 1px solid #CCCCCC;
    background-color: #EEEEEE;
}

.important {
	-moz-border-radius: 2px;
	-webkit-border-radius: 2px;
    padding: 4px;
    border: 1px solid #CCCCCC;
    background-color: #f5f5f5;
}

div.captcha {
	-moz-border-radius: 2px;
	-webkit-border-radius: 2px;
    padding: 4px;
	border: 1px solid #961f21;
}

div.captcha input[type=text] {
	font-family: verdana;
	font-weight: bold;
	font-size: 19px;
}

.disabled {
    color: #CCCCCC;
    text-shadow: 0px 1px 0px #e5e5ee;
}

input#paypalbtn {
    margin-top:10px;
    margin-bottom:10px;
    color: #1a3665;
    font-weight: bold;
}

/* chat */
div.chat {
    font-family: Verdana, Arial;
}

div.chat .top {
    margin: 1px;
    padding: 2px;
    text-align: left;
    font-family: Times New Roman;
}

div.chat .window {
    background-color: #FFFFFF;
    min-height: 50px;
    max-height: 150px;
    overflow: auto;
    border: 1px solid black;
    margin: 1px;
    padding: 2px;
    text-align: left;
    margin-top: 5px;
    margin-bottom: 5px;
}

div.chat .bottom {
    height: 50px;
}

div.chat .textarea {
    float: left;
    height: 42px;
    width: 220px;
    margin: 1px;
    padding: 2px;
}

div.chat input[type=button] {
    float: right;
    width: 70px;
    cursor: pointer;
}

div.chat .window, div.chat .textarea {
    font-size: 11px;
}