/*
	 CSS-Tricks Example
	 by Chris Coyier
	 http://css-tricks.com
*/

* { margin: 0; padding: 5px; }
body { font: 12px Arial, serif; }
#page-wrap { 
    
    
    width: 1200px; margin: 0 auto; }

textarea { border: 0; font: 12px Arial, Serif; overflow: hidden; resize: none; }
table { border-collapse: collapse; }
table td, table th { border: 1px solid black; padding: 2.2px; }

#header { height: 15px; width: 100%; margin: 20px 0; background: #222; text-align: center; color: white; font: bold 15px Arial, Sans-Serif; text-decoration: uppercase; letter-spacing: 20px; padding: 8px 0px; }

#address { width: 270px; height: 180px; float: left;font-weight:bold; }
#customer { overflow: hidden; }

#logo { text-align: right; float: right; position: absolute; top:120px; left:55%; margin-top: 25px; border: 1px solid #fff; overflow: hidden; }

#logoctr { display: none; }

#logohelp { text-align: left; display: none; font-style: italic; padding: 10px 5px;}
#logohelp input { margin-bottom: 5px; }
.edit #logohelp { display: block; }
.edit #save-logo, .edit #cancel-logo { display: inline; }
.edit #image, #save-logo, #cancel-logo, .edit #change-logo, .edit #delete-logo { display: none; }
#customer-title { font-size: 10px; font-weight: bold; float: left; }

#meta { margin-top: 1px; width: 300px; float: right; }
#meta td { text-align: right;  }
#meta td.meta-head { text-align: left; background: #eee; }
#meta td textarea { width: 100%; height: 20px; text-align: right; }

#meta1 { border: 0; width: 100%; float: left; }
#meta1 td { text-align: left; border:0; font-weight: bold;  }


#items { clear: both; width: 50%; margin: 0 0 0 0; border: 1px solid black; }
#items th { background: #eee; }
#items textarea { width: 80px; height: 12px; }
#items tr.item-row td { border: 1px solid black; vertical-align: top; }
#items td.description { border: 1px; width: 200px; }
#items td.item-name {border: 1px; width: 200px; }
#items td.description textarea, #items td.item-name textarea { width: 100%; }
#items td.total-line { border-right: 0; text-align: right; }
#items td.total-value { border-left: 0; padding: 10px; }
#items td.total-value textarea { height: 20px; background: none; }
#items td.totalt-line { border-right: 0; text-align: right; }
#items td.totalt-value { border-left: 0; padding: 10px; }
#items td.totalt-value textarea { height: 20px; background: none; }
#items td.totalnet-line { border-right: 0; text-align: right; }
#items td.totalnet-value { border-left: 0; padding: 10px; }
#items td.totalnet-value textarea { height: 20px; background: none; }
#items td.balance { background: #eee; }
#items td.blank { border: 0; }


#items1 { clear: both; width: 90%; margin: 0 0 0 0; border: 1px solid black; }
#items1 th { background: #eee; }
#items1 textarea { width: 150px; height: 15px; }
#items1 tr.item-row1 td { border: 1px solid black; vertical-align: top; }
#items1 td.description1 { border: 1px; width: 400px; }
#items1 td.item1-name {border: 1px; width: 150px; }
#items1 td.description1 textarea, #items td.item-name textarea { width: 100%; }
#items1 td.total-line { border-right: 0; text-align: right; }
#items1 td.total-value { border-left: 0; padding: 10px; }
#items1 td.total-value textarea { height: 20px; background: none; }
#items1 td.totalt-line { border-right: 0; text-align: right; }
#items1 td.totalt-value { border-left: 0; padding: 10px; }
#items1 td.totalt-value textarea { height: 20px; background: none; }
#items1 td.totalnet-line { border-right: 0; text-align: right; }
#items1 td.totalnet-value { border-left: 0; padding: 10px; }
#items1 td.totalnet-value textarea { height: 20px; background: none; }
#items1 td.balance { background: #eee; }
#items1 td.blank { border: 0; }

#terms { text-align: center; margin: 8px 0 0 200px;font: bold 12px Arial; }
#terms h5 { text-transform: uppercase; font: 12px Arial, Sans-Serif; letter-spacing: 5px; border-bottom: 1px solid black; padding: 0 0 8px 0; margin: 0 0 8px 0; }
#terms textarea { width: 100%; text-align: center;}

#nume1 { text-align: left; margin: 0 0 0 10px; font-size:18px; }
#antet1 { text-align: left; margin: 16px 0 0 180px; font-size:18px; font-weight:bold; }
#scris1 { text-align: left; margin: 5px 0 0 25px; font-size:10px; font-weight:bold; }
img.image {width:250px;}

textarea:hover, textarea:focus, #items td.total-value textarea:hover, #items td.total-value textarea:focus, .delete:hover { background-color:#EEFF88; }

.delete-wpr { position: relative; }
.delete { display: block; color: #000; text-decoration: none; position: absolute; background: #EEEEEE; font-weight: bold; padding: 0px 3px; border: 1px solid; top: -6px; left: -22px; font-family: Verdana; font-size: 10px; }

.delete1-wpr { position: relative; }
.delete1 { display: block; color: #000; text-decoration: none; position: absolute; background: #EEEEEE; font-weight: bold; padding: 0px 3px; border: 1px solid; top: -6px; left: -22px; font-family: Verdana; font-size: 10px; }


img.toc1 {

    position: absolute;

    left: 50%;

    top: 119px;

    width:380px;


}