/* CorteRestara.com style. */

@import url(reset.css);

body {
	font-size: 62.5%;
	font-family: Palatino, Georgia, serif;
    background: #A89166;
    color: white;
    }  



/* links
--------------------------------------------- */

/* standard */

a:link, a:visited {
    color: #FBB36B;
    }

a:hover {
    text-decoration: underline;
    }

/* admin */

a.admin:link, a.admin:visited,
#nav a.admin:link, #nav a.admin:visited {    
    padding: 5px;
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
    color: #ffa4a4;
    background: #72603f; 
    }

#nav a.admin:link, #nav a.admin:visited {
    border: none;
    font-style: italic;
    }

a.admin:hover,
#nav a.admin:hover {
    text-decoration: none;
    color: white;
    }


#nav ul li a:link, #nav ul li a:visited {
    color: black;    
    font-style: italic;
    }


/* main structure 
--------------------------------------------- */

html, body {
    height: 100%;
}

div#wrapper {
    position: relative;
    width: 990px;
    margin: 0 auto;       
    min-height: 100%; 
    }

* html div#wrapper { /* IE6-only */
    height: 100%;
    }

div#header h3 {
    text-indent: -5000px;
    background: url("images/logo.gif");
    width: 178px;
    height: 209px;
    }

#footer {
    width: 990px;
    position: absolute;
    bottom: 5px;
    text-align: right;
    }


/* navigation
--------------------------------------------- */

#nav {
    position: absolute;
    top: 10px;
    left: 210px;
    width: 780px;
    text-align: right;
    font-size: 1.6em;
}

#nav ul {
    float: right;
    }

#nav ul li {
    margin: 0 3px;
    padding: 5px;
    border-bottom: 2px solid #000000;       
    padding: 5px 10px;
    display: block;
    background: white; 
    float: left;
    }

#nav a.admin {
    float: right;
    }



/* contents
--------------------------------------------- */

h1 {
    margin: 0 0 1em 0;
    font-size: 2.8em;
    }


#contents {
    margin-top: -130px;
    margin-left: 210px;
    padding-bottom: 100px; 
    }


/* caguerriera ad
--------------------------------------------- */
#caguerrieraad {
     
    width: 780px;
    height: 80px;
    margin-left: 210px;
    margin-bottom: 20px;
    border: solid 1px #72603f;
    background: url("images/caguerrieraad.jpg") top left no-repeat;
    font-size: 1.6em;
    position: relative;
}

#caguerrieraad p {
    position: absolute;
    bottom: 0;
    right: 0;
    background: #72603f;
}



/* CMS: user-defined-contents
--------------------------------------------- */

#cms-user-contents p {
    margin: 1em 0;
    font-size: 1.4em;
}

#cms-user-contents table {
    border-collapse: collapse;
    }

#cms-user-contents td {
    font-size: 1.2em;
    border: dashed 1px white;
    padding: 1em;
    }

#cms-user-contents ul {
    list-style-position: inside;
    list-style-type: disc;
    }

#cms-user-contents ul li {
    font-size: 1.2em;
    }




/* CMS: layouts
--------------------------------------------- */

#cms-one-col {
    background: #72603f;
    padding: 5px 15px;

}

#cms-two-cols {
    background: #72603f; 
   
   
}

#cms-left-col-of-two {
    width: 360px;
    padding: 5px 15px;
    float: left;
}

#cms-right-col-of-two {
    width: 360px;
    padding: 5px 15px;
    float: right;
}


#cms-two-cols:after { /* Float Clearing*/
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
    }   

#cms-two-cols { /* IE Float Clearing */
    display: inline-block;
    } 
    


#cms-controls {
    margin: 4em 0;
}


/* CMS: images
--------------------------------------------- */
.image-wrapper {
    margin: 10px auto;
    padding: 5px 5px 10px 5px;
    background: white;
    border-bottom: solid 2px black;   
    display: block;
    
}

.image-wrapper-150 { /* Product image width is PHP-setted */
    width: 150px;
}

.image-wrapper-300 {
    width: 300px;
}

.image-wrapper-450 {
    width: 450px;
}


/* All products
--------------------------------------------- */


.all-products-single {
    width: 160px;
    height: 280px;
    padding: 10px 10px 10px 11px;
    margin: 7px 7px;
    float: left;  
    background: #72603f;  
    }

* html .all-products-single { /* IE 3px bug */
    margin-right: 4px;
}

.all-products-single img {
    display: block;
    margin: auto;
    }


.all-products-pages {
    border-bottom: solid 1px #72603f;
    font-size: 1.4em;
    margin: 0px 5px 0 3px;
    padding: 3px 0;
}

.all-products-pages span a {
   padding: 1px 10px;
   margin: 3px;  
}

.all-products-pages span.current-page {
   padding: 1px 10px;
   margin: 3px;
}

.all-products-page + .all-products-pages {
    border-top: solid 1px #72603f;
    border-bottom: none;
}

.product-add {
    text-align: right;
}

.all-products-page:after {
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}

/* Single product
--------------------------------------------- */



#product-alone {
    width: 760px;      
    padding: 5px 10px 10px 10px;
    margin-top: 5px;
    background: #72603f; 
}


#product-alone-bottom {
    clear: both;
    text-align: right;
}


#product-alone img {
    width: 350px;

    display: block;    
    margin: 10px 40px 10px 10px;
}

#product-alone #left-column {
    float: left;
}


#product-alone-description {
    float: left;
    width: 350px;
}

#product-alone-documents {
    margin: 20px 0px 0px 10px;
    width: 350px;
}



#product-alone-documents ul {    
    margin: 5px;
}

#product-alone-documents ul li {
    background: url("images/x-office-document.png") top left no-repeat;
    padding-left: 25px;
    height: 20px;
}


#product-alone h4 {
    text-align: center;
    margin: 1em;
}


#product-alone-description p {
    margin: 1em 0;      
}

#product-alone-description table {
    border-collapse: collapse;
}

#product-alone-description td {
    border-bottom: solid 1px #A89166;
    padding: 0.5em;
}

#product-alone-description ul {
    list-style-type: disc;
    list-style-position: inside;
}

#product-alone-description h1, 
#product-alone-description h2,
#product-alone-description h3, 
#product-alone-description h4 {
    color: white;
    margin: 0px;
    text-align: left;    
}

#product-alone-description h1 {
    font-size: 2.0em;
}

#product-alone-description h2 {
    font-size: 1.8em;
}

#product-alone-description h3 {
    background: none;
    font-size: 1.6em;
    text-indent: 0;
    width: auto;
    height: auto;
}



hr { 
    display: none;
}

h4 {
    font-size: 1.6em;
    margin: 5px 0;
    color: #BCDD5A;
}

#product-alone h4 {
    font-size: 2.6em;
}









/*  CMS PAGES
    ------------------------------------------------------------------ */ 

#cms-single-page {
    padding: 15px 15px 80px 15px;
    background: #72603f;  
   
}

#cms-single-page p {
    padding: 1em 0;
    font-size: 1.6em;
}




/*  FORMS
    ------------------------------------------------------------------ */ 

form {
    background: #72603f;      
    }

form div { 
    padding: 0.25em 0; 
    clear: both;
    }


fieldset legend {
    font-weight: bold;
    font-size: 1.4em;
    padding: 5px 10px 5px 170px;
    }

fieldset {
    border: none;
    padding: 10px 0;
    }


label, span.label {
    font-size: 1.2em;
    width: 150px;
    margin-right: 10px;
    padding-right: 10px;
    padding-top: 6px;
    display: block;
    float: left; 
    text-align: right;    
}

fieldset input, fieldset textarea {
    border: double 3px #f0f0f0;    
    padding: 2px;
    background: #fffeef;
    }

fieldset input:focus, fieldset textarea:focus {
    border-left: double 3px #8e8e8e;
}

div.submit {
    margin-top: 20px;
    margin-left: 170px;
}

form p.form-error-message {
    color: #ffa4a4;
}

form div.form-error-report {
    padding-left: 170px;
    color: #ffa4a4;
}




