
/*
1. Init (remove margins, paddings etc)
2. Base element
3. General
4. Structure
5. Content
6. Forms
7. Tables
8. Lists
*/

/*
    1. Init
*/
* {
    margin: 0;
    padding: 0;
    font-family: Verdana, Arial, Helvetica;
    font-size: 12px;
    color: #000;
    line-height: 1.35em;
}
:link img {
    border: none;
}
img {
    border: none;
}
a img {
    border: none;
}
ul, ol {
    list-style-type: none;
}
table {
    border-collapse: collapse;
    border-spacing: 0px;
}
/*
    2. Base element
*/

body {
    text-align: center;
    background: #000 url(/images/bg.gif) top center no-repeat;
    border-top: solid 5px #7ecaac;
    padding-bottom: 10px;
}
p {
    font-size: 12px;
    margin-bottom: .8em;
}
a {
    outline: none; 
}
a:link, a:hover, a:active {
    color: #7ecaac;
}
a:visited {
    color: #7ecaac;
}
a:hover {
    
}
fieldset {
    padding:10px;
    max-width: 100%;
}
legend {
    padding: 0 10px;
    font-weight: bold;
}
/*
    3. General
*/

.right {
    float: right;
}
.left {
    float: left
}
.clr {
    clear: both;
}
.clrRight {
    clear: right;
}

.clrLeft {
    clear: left;
}



/*
    4. Structure
*/

#main {
    width: 800px;
    text-align: left;
    margin: 0 auto;
    background: url(/images/main_bg.gif) no-repeat left 170px;

}
#top {
    color: #fff;
}
#paper {
    background: url(/images/paper_bg.gif) no-repeat left 5px;
    float: left;
    width: 225px;
    padding: 35px 0px 0 0px;    
}
#paper > div {
    padding: 0 10px;
}
#paper #paperBottom {
    background: url(/images/paper_bottom.gif) no-repeat left 5px;
    width:225px;
    height:123px;
    padding:0;
}
#content {
    background: #fff url(/images/main_bg_top.gif) no-repeat;
    float: left;
    width: 555px;
    padding: 35px 10px 0 10px;
    clear: both;
}
#footer {
    clear: both;
    background: url(/images/footer_bg.gif) no-repeat;
    width: 555px;
    height: 0px;
    padding: 120px 10px 0 10px;
    color:#fff;
    font-size:11px;
    margin-bottom:60px;
}

/*
    5. Content
*/
#top h2 {
    text-indent: -6000em;
    display: block;
    background: url(/images/fundo.gif) no-repeat center 0px;
    
    width: 150px;
    height: 150px;
    position: absolute;
    top: 30px;
    left: 50%;
    margin-left: -75px;
}
#top #menu
{
    clear: both;
}
#top #menu li{
    float:left;
    margin: 67px 40px 65px 0;
    text-transform: uppercase;
}
#top #menu li.r{
    float:right;
    margin: 67px 0 65px 40px;
}
#top a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
}
#top a.active {
    color: #7ecaac;
}

#top #language {
    background: #7ecaac;
    width: 100px;
    float: right;
    text-align: center;
    padding: 2px 4px 4px 4px;
    font-size: 10px;
}
#top #language a {
    color: #000 !important;
    text-decoration: none;
    font-weight: normal;
    font-size: 10px;
}
#top #language a.active {
    text-decoration: underline;
}



#content h1, #content h1 a, #content h2, #content h2 a {
    font-size: 17px;
    color: #333;
    text-decoration: none;
    margin-bottom: 10px;
}
.product {
    border-bottom: solid 1px #e5e5e5;
    padding-bottom:10px;
    margin-bottom:10px;
}
.product img{
    float:left;
    padding-right:10px;
}
.product > div {
    margin-left: 185px;
}
.product > div > div{
    float: right;
}
.product span {
    color: #333;
}

#paper h3 {
    font-size: 17px;
    color: #333;
    text-decoration: none;
    margin-bottom: 10px;
}
#paper h4 {
    background: url(/images/dot.gif) no-repeat left 4px;
    padding-left:15px;
    text-transform: uppercase;
}
#paper .news {
    padding-left:15px;
}

#footer a {
    color:#fff;
}

#content ul {
    list-style-type: disc;
    padding: 0 0 1em 20px;
}
#content ul li {
    padding: 0 0 .3em 0;
}

/*
    6. Forms
*/
input, select {
    padding: 3px 5px;
}
input[type="submit"] {
    float:right;
    padding:10px 20px;
    font-weight:bold;
    font-size:16px;
    width:auto;
}
input {
    width: 300px;
    padding: 7px;
    font-size: 15px;
}
textarea {
    width: 450px;
    padding: 7px;
    font-size: 15px;
}
intput[type="checkbox"], input[type="radio"] {
    width:auto;
}
/*
input {
    font-family: courier new, courier;
    font-size: 14px;
    padding: 5px;
    background: #eee;
    border-top: 1px solid #eee; 
    border-right: 1px solid #eee; 
    border-bottom: 1px solid black; 
    border-left: 1px solid #eee; 

    
}
input.error { border: 1px solid red; }
*/
label.error {
    background: url('http://dev.jquery.com/view/trunk/plugins/validate/demo/images/unchecked.gif') no-repeat;
    padding-left: 16px;
    margin-left: .3em;
    color:red;
}
label.valid {
    background: url('http://dev.jquery.com/view/trunk/plugins/validate/demo/images/checked.gif') no-repeat;
    display: block;
    width: 16px;
    height: 16px;
    color:black;
}


/*
    7. Tables
*/
table {
    margin-bottom: 20px;
    width: 100%;
}
td, th {
    padding:6px 10px 6px 4px;
    border-bottom: solid 1px #e5e5e5;
    vertical-align:top;
}
td.nr, th.nr {
    text-align: right;
}
table.data thead td {
    background:url(/images/receipt_top.gif) top left repeat-x;
    height:4px;
    border-left: solid 1px #9e9e9e;
    border-right: solid 1px #9e9e9e;
    border-bottom: 0;
}
table.data tfoot td {
    background:url(/images/receipt_bottom.gif) bottom left repeat-x;
    height:4px;
    border-left: solid 1px #9e9e9e;
    border-right: solid 1px #9e9e9e;
    border-bottom: 0;
}
table.data td.first, table.data th.first {
    border-left: solid 1px #9e9e9e;
}
table.data td.last, table.data th.last {
    border-right: solid 1px #9e9e9e;
}
table.data tr.last td {
    border-bottom: 0;
}
/*
    8. Lists
*/

/*      Tablet Layout: 768px.
--------------------------------------------- */

@media only screen and (min-width: 768px) and (max-width: 991px) {
    
    #main
    {
        width: 760px;
        margin: 0 auto;
        background-position: -45px;
    }
    
    #content
    {
        width: 510px;
        background: #fff url(/images/main_bg_top.gif) no-repeat;
        min-height: 700px;
    }
    
    #footer
    {
        width: 520px;
        padding: 120px 0 0 10px;
    }
    
    .fb_iframe_widget,
    .fb_iframe_widget span,
    .fb_iframe_widget iframe
    {
        width: 470px !important;
    }

    #facebook-like,
    #facebook-like span,
    #facebook-like iframe
    {
        width: 760px !important;
    }
    
    
}


/*      Mobile Layout: 320px.
--------------------------------------------- */

@media only screen and (max-width: 767px) {

    #main
    {
        width: 320px;
        background: transparent;
    }
    
    #top::after
    {
        display: table;
        content: "";
        clear: both;
    }
    
    #top
    {
        padding-bottom: 1.5em;
    }
    
    #top h2
    {
        position: static;
        margin: 10px 0 0 0;
        background-position: bottom center;
        height: 130px;
        float: left;
    }
    
    #top #menu
    {
        float: right;
        clear: none;
        text-align: right;
        margin: 22px 20px 0 0;
    }
    
    #top #menu li,
    #top #menu li.r
    {
        margin: 0;
        float: none;
    }

    #content
    {
        width: 95%;
        padding: 35px 2.5% 0 2.5%;
        margin-top: 25px;
    }
    
    #content fieldset
    {
        width: 90%;
        padding: 5%;
        margin: .5em 0;
    }
    
    #content table b
    {
        display: block;
    }
    
    #content .product h2,
    #content .product h2 a
    {
        font-size: 14px;
    }
    
    .product img, .product-page-image
    {
        max-width: 140px;
    }

    .product > div
    {
        margin-left: 150px;
    }
    
    td
    {
        word-break: break-all;
    }

    td.nr {
        word-break: normal;
    }
    
    
    #paper
    {
        clear: both;
        width: 95%;
        padding: 0 2.5%;
        background: #fff;
        background-position: right top;
    }
    
    input,
    textarea
    {
        width: 260px;
    }
    
    table.data
    {
        max-width: 100%;
    }
    
    .fb_iframe_widget,
    .fb_iframe_widget span,
    .fb_iframe_widget iframe
    {
        width: 300px !important;
    }

    #facebook-like,
    #facebook-like span,
    #facebook-like iframe
    {
        width: 320px !important;
    }
    
    #footer
    {
        width: 100%;
        padding: 120px 0 0 0;
    }
    
    #paper #paperBottom
    {
        display: none;
    }

}

/*      Wide Mobile Layout: 480px.
--------------------------------------------- */

@media only screen and (min-width: 480px) and (max-width: 767px) {
        
}
