html, body {
    width: 100%;
    height: 100%;
    background: #2e7d9b;
    padding: 0px;
    margin: 0px;
    font-family: 'Arial', 'Verdana', sans-serif;
    font-size: 11px;    
}
div.container {
    min-height:931px;
    height:auto !important;
    height:931px;
    text-align: center;
    width: 100%;    
    padding-bottom: 90px;
    position: relative;
    z-index: 40;
    background: url(../image/template/madera_bottom_main_page_bg.jpg) center bottom no-repeat;
}

div.container_main_page {
    padding-bottom: 0px;
}

div.container_subpage {
    background: url(../image/template/madera_bottom_subpage_bg.jpg) center bottom no-repeat;
}

img {
    border: none;
}

div.subpage_content {
    width: 550px;
    color: white;
    margin-left: 250px;
}


div.subpage_content a {
    text-decoration: none;
    color: #f15a22;
}

div.subpage_content a:hover {
    text-decoration: underline;
}


div.layout {
    width: 970px;
    margin: auto;
    min-height:931px;
    height:auto !important;
    height:931px;
    text-align: left;
    color: white;
    background: url(../image/template/madera_top_bg.jpg) no-repeat;
}

div.layout_subpage {
    background: url(../image/template/madera_top_subpage_bg.jpg) no-repeat;
}

div.left_bg {
    position: absolute;
    left: 0;
    margin-left: -485px;
    top: 0;
    width: 50%;
    height: 643px;
    background: url(../image/template/madera_left_bg.jpg) right 0 no-repeat;
}
div.right_bg {
    position: absolute;
    left: 50%;
    top: 0;
    width: 50%;
    height: 643px;
    background: url(../image/template/madera_right_bg.jpg) 485px 0 no-repeat;
    z-index: 1;
}

#logo {
    margin-left: 120px;
    position: absolute;
    margin-top: 46px;
}

#main_menu {
    position: absolute;
    margin-left: 535px;
    margin-top: 69px;
}

#main_menu a {
    display: block;
    float: left;
}

div.submenu {
    position: absolute;
    text-align: left;
    color: white;
    left: 0;
    top: 0;
}

#offer_submenu {
    width: 160px;
}

#offer_submenu ul {
    list-style-type: none;
    margin: 0px;
    padding: 0px;
}

#offer_submenu ul li {
    margin: 0px;
    padding: 0px;
    display: block;
    border-top: solid 1px #f58e67;
    border-bottom: solid 1px #db4b15;
}

#offer_submenu ul li a {
    color: white;
    text-decoration: none;
    background: #f15a22;
    display: block;
    line-height: 11px;
    padding: 6px 18px 6px 18px;
}

#offer_submenu ul li a:hover {
    text-decoration: none;
    background: #db4b15;
}

div.content {
    padding-top: 450px;
}

.fleft {
    float: left;
    display: inline;
}

.fright {
    float: right;
    display: inline;
}

div.left_column {
    width: 250px;
    margin-left: 80px;
}

ul.ofert {
    margin: 0px;
    padding: 0px;
}

ul.ofert li {
    margin: 0px;
    padding: 5px 4px 5px 18px;
    border-bottom: solid 1px #f15a22;
    display: block;
    list-style-type: none;
    background: url(../image/template/li.gif) no-repeat 0px 9px;
}

ul.ofert li a {
    line-height: 10px;
    font-size: 11px;
}

a {
    text-decoration: none;
    color: white;
}

a:hover {
    text-decoration: underline;
}

div.middle_column {
    width: 260px;
    margin-left: 50px;
}

div.right_column {    
    width: 240px;
    margin-left: 35px;
}

div.foot {
    background: white;
    width: 100%;
    color: #202020;
    padding: 30px 0px;
    text-align: center;
}

div.foot div.foot_content {
    width: 970px;
    margin: auto;
    text-align: left;
}

div.foot ul {
    margin: 0px;
    padding: 0px;
    list-style-type: none;
    color: #2e7d9b;
}

div.foot ul li {
    color: #2e7d9b;
    line-height: 14px;
}

div.foot ul li a {
    color: #2e7d9b;
    text-decoration: none;
}

div.foot ul li a:hover {
    text-decoration: underline;
}


div.foot  div.left_column {
    width: 160px;
    margin-left: 94px;    
}

div.foot  div.middle_column {
    margin-left: 30px;
    margin-right: 30px;
    width: 340px;
    color: #5c5c5c;
}

div.foot  div.right_column {
    width: 215px;
    margin-left: 25px;
    
}


div.foot div.footer {
    float: right;
    text-align: right;
}

div.foot div.footer a {
    font-weight: bold;
    color: #f15a22;
}

div.foot_subpage {
    background: url(../image/template/foot_bg.gif) repeat-y;
}

div.subpage_left_column {
    width: 325px;
}

div.subpage_right_column {
    width: 185px;
    margin-left: 40px;
}

div.gallery_content {
    width: 830px;
    margin-left: 80px;
}


div.slider {
    width: 100%;
    margin: 0px 0px 14px 0px;
    height: 21px;    
    background: url(../image/template/slider_bg.gif) repeat-x;
}

div.slider div.slider_left {
    height: 21px;
    width: 23px;
    background: url(../image/template/slider_left.gif) 0 0 no-repeat;
}

div.slider div.slider_content {
    height: 21px;
    width: 784px;
}

div.slider div.slider_right {
    height: 21px;
    width: 23px;
    background: url(../image/template/slider_right.gif) right 0 no-repeat;
}


.ui-slider { position: relative; text-align: left; }
.ui-slider .ui-slider-handle { cursor: pointer; position: absolute; margin-left: -23px; z-index: 2; width: 46px; height: 21px;   background: url(../image/template/slider_box.gif) right 0 no-repeat;a}

div.gallery_prev {
    width: 110px;
    height: 87px;
    overflow: hidden;
}
a.gallery_prev {
    width: 110px;
    line-height: 15px;
    overflow: hidden;
    background: url(../image/template/gallery_prev.gif) no-repeat 0px center;
    padding: 28px 0px 29px 40px;
}

div.gallery_next {
    width: 110px;
    height: 87px;    
    overflow: hidden;
    margin: 0px;
    padding: 0px;
    background: url(../image/template/gallery_next.gif) no-repeat right center;
}
a.gallery_next {
    width: 70px;
    line-height: 15px;    
    overflow: hidden;    
    text-align: right;
    padding: 28px 40px 29px 0px;
}

div.gallery_mins {
    width: 610px;
    height: 87px;
    overflow: hidden;
    text-align: left;
}

div.gallery_mins table {
    width: auto;    
    height: 87px;
}

div.gallery_mins table td {
    width: 87px;
    height: 87px;
    padding: 0px 8px;
}

div.gallery_mins table td a {
    display: block;    
}

div.gallery_mins table td a img {
    display: block;
    border: solid 1px white;
}


div.big_image {
    border: solid 1px white;
    padding: 14px;
    overflow: hidden;
    background: #53A3BF;
    width: 800px;
}

.img_gallery_selected {
    border: solid 1px #f15a22 !important;
}

div.video {
    width: 400px;
    height: 325px;
    margin-top: 15px;
    margin-left: auto;
    margin-right: auto;
    padding: 10px;
    border: solid 1px white;
    background: #53A3BF;
}

div.gallery_list {
    margin: 0px;
    padding: 0px;
    margin-left: 250px;
}

div.gallery_list ul {
    margin: 0px;
    padding: 0px;
    list-style-type: none;
}

div.gallery_list ul li {
    margin: 5px 0px;
    padding: 0px;
    background: url(../image/template/li.gif) no-repeat 0px 4px;
    padding-left: 15px;
    margin-left: 10px;
}

div.gallery_list ul li a {
    
}

div.contact_row  {
    margin-top: 10px;
}

div.contact_row label {
    margin-top: 4px;
    width: 80px;
}

div.contact_row input {
    width: 240px;
}

div.contact_row input.submit_image_button {
    float: right;
    width: auto;
}

div.contact_row textarea {
    width: 240px;
    height: 100px;
}

div.contact_row select {
    margin-right: 6px;
}
