body
{
    min-width: 890px;
    margin-top: 0;
    background-image: url(images/background.png);
    background-repeat: repeat;
    font-weight: normal;
    font-size: 10pt;
    color: #000000;
    font-style: normal;
    font-family: verdana, arial, helvetica, sans-serif;
    text-decoration: none;
    text-align: center;
}

table
{
    margin: 0;
    padding: 0;
    border: none;
    border-collapse: collapse;
}

tr
{
    margin: 0;
    padding: 0;
    border: none;
    border-collapse: collapse;
}


th, td
{
    margin: 0;
    padding: 0;
    border: none;
    border-collapse: collapse;
    text-align: left;
    vertical-align: top;
}

h1
{
    font-weight: bolder;
    font-size: 16pt;
    color: #FF5500;
    font-style: normal;
    font-family: verdana, arial, helvetica, sans-serif;
    text-decoration: none;
    text-transform: uppercase;
}
h2
{
    font-weight: bold;
    font-size: 14pt;
    color: #FF5500;
    font-style: normal;
    font-family: verdana, arial, helvetica, sans-serif;
    text-decoration: none;
}
h3
{
    font-weight: 800;
    font-size: 12pt;
    color: #FF5500;
    font-style: normal;
    font-family: verdana, arial, helvetica, sans-serif;
    text-decoration: none;
}
h4
{
    font-weight: 600;
    font-size: 10pt;
    color: #FF5500;
    font-style: normal;
    font-family: verdana, arial, helvetica, sans-serif;
    text-decoration: none;
}

img
{
    border: none;
}
sup
{
    font-weight: normal;
    font-size: 10pt;
    color: #FF5500;
    font-style: normal;
    font-family: verdana, arial, helvetica, sans-serif;
    text-decoration: none;
}

a:link, a:active, a:visited
{
    font-size: 100%;
    font-family: Verdana, Tahoma;
    font-style: italic;
    text-decoration: underline;
    color: #FF7700;
    line-height: normal;
    font-weight: bold;
}

a:hover
{
    font-size: 100%;
    font-family: Verdana, Tahoma;
    font-style: italic;
    text-decoration: none;
    color: #FF0000;
    line-height: normal;
    font-weight: bold;
}

.banner
{
    height: 90px;
    width: 890px;
    text-align: right;
    background: url(images/Rent_Riga_Pano90.jpg);
    background-repeat: no-repeat;
}

.letter
{
    width: 890px;
    margin-left: auto;
    margin-right: auto;
    background-color: #FFFFFF;
}

.content
{
    width: 800px;
    padding: 0 45px 20px 45px;
    text-align: left;
}

.title
{
    width: 800px;
    height: 70px;
    background-image: url(assets/images/bgTitle.jpg);
    background-repeat: no-repeat;
}

.options a
{
    float: right;
    border-width: 2px;
    margin: 0.5em 0;
    border-style: outset;
    padding: 0.3em 1em;
    background: #E5E5FF;
    text-align: center;
    vertical-align: bottom;
}

/* Adds padding to compensate the difference in width */
.pad
{
    width: 760px;
    padding: 0 20px;
}

.smallFont
{
    font-size: 9px;
}

/* flatList: Main page with the list of flats */
.flatsTable
{
    width: 760px;
    margin: 10px 0px;
}

.flatsTable .ItemStyle
{
    padding: 5px 0;
}

.flatsTable .AlternatingItemStyle
{
    background: #EEFFFF;
}

.flatsTable .thumb
{
    float: left;
    display: block;
    overflow: hidden;
    width: 140px;
    text-align: center;
}

.flatsTable .thumb img
{
    width: 128px; 
    border: solid 2px #FF7700!important;
}

.flatsTable .thumb img:hover
{
    border: solid 2px #FF0000!important;
}

.flatsTable .desc
{
    float: left;
    width: 620px;
    padding-bottom: 10px;
}

.flatsTable .desc table
{
    width: 620px;
}

.flatsTable .desc tr
{
}

.flatsTable .desc th, .flatDetail th
{
    width: 105px;
    padding: 1px 5px;
    font-weight: bold;
    background-color: #CCCCCC;
    font-variant: small-caps;
    border-bottom: solid 1px #000000;
}

.flatsTable .desc td, .flatDetail td
{
    width: 500px;
    padding: 1px 10px;
    border-bottom: solid 1px #000000;
}

/* Advertisement to submit flats */
.advertisement
{
    width: 716px;
    margin: 10px;
    padding: 10px;
    border: outset 2px #000000;
    background: #E5E5FF;
    text-align: center;
}

/* submitForm: Styles for the table in the submit form */
.submitForm
{
    width: 100%;
    border-collapse: collapse;
}

.submitForm tr
{
    border-collapse: collapse;
}

.submitForm th, .submitForm td
{
    border: solid 1px #000;
    padding: 2px;
}

.submitForm th
{
    margin: 5px 2px;
}

.submitForm .fieldText
{
    width: 300px;
}

.submitForm .fieldNumber
{
    width: 50px;
}

.submitForm .fieldPhoto
{
    width: 300px;
}

.submitForm table th, .submitForm table td
{
    border: none;
}

