/* Before starting always reset or normalize.
 * By this way, we will avoid writing redundancy code or to use an unnecesary css hack.
 * */
html, body, div, p, ul, ol, li, img, h1, h2, h3, h4, h5, h6 {
    border: 0 none;
    margin: 0;
    padding: 0;
    font-size: normal;
    font-family: "Lucida Grande","Lucida Sans Unicode","Eras Medium ITC","DejaVu Sans",Helvetica,Verdana,arial,sans-serif;
}

html {
    background: url('/media/img/site/background.jpg');
}

body {
    height: 100%;
}

a {
    text-decoration: none;
}

a:link {
    color: #99351a;
}

a:active {
    color: #bb6d2d;
}

a:visited {
    color: #bb6d2d;
}

hr {
    border: none;
    border-top: #f3b17c 1px solid;
    margin: 2px;
    .margin: 0px;
    padding: 0px;
}

h1, h2, h3, h4, h5, h6 {
    color: #76000b;
    text-align: left;
    padding: 5px;
}

table tr td {
    padding: 3px;
    padding-left: 7px;
}

#header_logo {
    height: 100%;
    background-image: url('/media/img/site/villasantalucia.png') !important;
    background-repeat: no-repeat;
    background-image: none;
    /* If you browse to a Web page through IE6 that contains an image that has a transparent background
     * in PNG format, the image background may appear to be gray rather than transparent.
     * The 'filter' property isn't a CSS property, it's a Microsoft fix for IE5 or latest.
     *
     * http://support.microsoft.com/kb/294714
     * http://www.csslab.cl/2006/08/14/pngs-transparentes-en-ie6/
     * */
    filter: none !important;
    filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='/media/img/site/villasantalucia.png')
}

#site_wrapper {
    width: 900px;
    margin: 0 auto 0 auto;
    display: block;
}

#header {
    height: 140px;
    background-image: url('/media/img/site/header_background.jpeg');
    display: block;
}

#main_content {
    height: 100%;
    /*background-color: #f9f8e1;*/
    background-color: #76000b;
    overflow: hidden;
}

#footer {
    height: 100px;
    padding: 20px;
    padding-top: 15px;
    background-image: url('/media/img/site/footer_bg.png') !important;
    background-repeat: no-repeat;
    background-image: none;
    filter: none !important;
    filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='/media/img/site/footer_bg.png')
    clear: both;
}

#footer p, #footer p a {
    font-size: small;
    /*color: #76000b;*/
    text-align: center;
}

#footer a img {
    position: relative;
    left: 780px;
    bottom: 35px;
}

#side {
    background-image: url('/media/img/site/side_pattern.jpeg');
    background-color: #76000b;
    background-repeat: no-repeat;
    width: 200px;
    height: 400px;
    float: left;
    /*display: block;*/
    /*clear: both;*/
}

#content {
    width: 690px;
    min-height: 500px;
    .height: 600px;
    background-color: #fffeed;
    padding-top: 10px;
    padding-left: 10px;
    padding-bottom: 15px;
    /*padding: 10px;*/
    float: left;
    display: block;
}

#side ul {
    height: 100%;
    list-style-type: none;
    margin: 20px 15px 20px 15px;
    margin-bottom: 0px;
    padding-bottom: 0px;
}

#side ul li, #side ul li a {
    text-decoration: none;
    color: #f8d6bb;
    outline: none;
    text-align: left;
    padding-bottom: 2px;
    padding-left: 3px;
    .padding: 0px;
}

li p {
    font-size: normal;
    margin-top: -10px;
    padding-bottom: 15px;
}

#gallery {
    margin-top: -5px;
    margin-left: 8px;
    margin-bottom: 20px;
    height: 358px;
    width: 660px;
    background-image: url('/media/img/site/gallery.png') !important;
    background-repeat: no-repeat;
    background-image: none;
    filter: none !important;
    filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='/media/img/site/gallery.png')
    float: left;
}

#block {
    /*padding: 8px; */
    /*width: auto;*/
    max-width: 680px;
    float: left;
    display: block;
}

#block #block {
    max-width: 340px;
    margin: 0px;
    /*padding-left: 5px;*/
    /*margin-left: 3px;*/
    /*margin: 5px;*/
    /*margin-bottom: 0px;*/
    /*margin-right: 0px;*/
    display: block;
}

#block ul {
    list-style-type: circle;
    .list-style-type: none; /* IE6 & IE7 will only see this */
    margin-top: 15px;
    margin-left: 20px;
    padding-left: 15px;
    .padding-left: 0px;
}

#block li {
    width: 300px;
    margin-top: 4px;
}

#block p:first-letter {
    font-size: 180%;
}

#block img {
    margin-left: 10px;
    margin-top: 2px;
    padding-bottom: 9px;
}

#block table {
    margin-left: 15px;
    padding: 10px;
}

#block table input {
    clear: both;
}

#block h3 {
    padding-left: 30px;
}

#block h3:first-letter {
    text-transform: capitalize;
}

em#error {
    display: block;
    width: 200px;
    font-size: small;
    margin: 0px;
    margin-left: -30px;
    padding: 0px;
    position: relative;
    right: 15px;
    color: #8a000d;
}

#content p {
    padding-top: 10px;
    padding-left: 15px;
    padding-right: 15px;
    font-size: smaller;
}

p#annotation {
    font-size: x-small;
}

#photo {
    margin-top: -5px;
    margin-bottom: 20px;
    height: 358px;
    width: 660px;
    background-image: url('/media/img/site/photo.png') !important;
    background-repeat: no-repeat;
    background-image: none;
    filter: none !important;
    filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='/media/img/site/photo.png')
    float: left;
}

#photo img {
    margin-top: 40px;
    margin-left: 40px;
    max-width: 600px;
    /*max-height: 290px;*/
    /* CSS Hack for IE used for specify a max width or max height property.
     * */
    width: expression(this.width > 600 ? 600: true);
    /*height: expression(this.height > 290 ? 290: true);*/
}

.clipout{
  position: relative;
  width: 136px;
  height: 105px;
}
.clipin{
  position: absolute;
  clip: rect(50px 680px 340px 0px);
  top: -10px;
  /*left:-82px;*/
}

#map {
    margin: 0px;
    margin-left: -4px;
    margin-bottom: 20px;
    padding-left: 23px;
    padding-top: 25px;
    width: 685px;
    height: 605px;
    background-image: url('/media/img/site/map.png') !important;
    background-repeat: no-repeat;
    background-image: none;
    filter: none !important;
    filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='/media/img/site/map.png')
    /*float: left;*/
}

#languages {
    width: 80px;
    padding-top: 10px;
    padding-right: 10px;
    float: right;
}

#languages img {
    padding-left: 5px;
}

#languages form {
    padding-left: 8px;
    padding-top: 8px;
    float: left;
}

form ul li {
    list-style-type: none;
}

form div {
    margin-top: 5px;
    margin-bottom: 3px;
}

div#calendar {
    background-image: url('/media/img/site/calendar.jpeg');
    background-repeat: no-repeat;
    float: left;
    display: block;
}

#id_start_date {
    float: left;
}

#id_end_date {
    float: left;
}

#images {
    float: left;
    margin-top: 15px;
}
#images img {
    padding: 0px;
    padding-left: 3px;
    margin: 0px;
    float: left;
}

#badge {
    width: 100px;
    height: 150px;
    margin-top: -65px;
    .margin-top: 20px;
    margin-left: 45px;
    background-image: url('/media/img/site/escudo.png') !important;
    background-repeat: no-repeat;
    background-image: none;
    filter: none !important;
    filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='/media/img/site/escudo.png')
}
