/*
	 CSS-Tricks Example
	 by Chris Coyier
	 http://css-tricks.com
*/

* { margin: 0; padding: 0; }
body { font: 14px/1.4 Georgia, serif; }
#page-wrap { text-align: center; width: 800px; margin: 0 auto; }

textarea { border: 0; font: 14px Georgia, Serif; overflow:hidden;resize: none}
table { border-collapse: collapse; }
table td, table th { border: 1px solid black; padding: 5px; }
#address {display:inline-block; clear:both;margin-left: auto; margin-right: auto; text-align: center; max-height: 20px; width: 800px; max-width: 800px }
#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; }

#items { clear: both; width: 100%; margin: 30px 0 0 0; border: 1px solid black; }
#items th { background: #eee; }
#items textarea { width: 80px; height: 50px; }
#items tr.item-row td { border: 0; vertical-align: top; }
#items td.description { width: 300px; }
#items td.item-name { width: 175px; }
#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.balance { background: #eee; }
#items td.blank { border: 0; }

#terms { text-align: center; margin: 20px 0 0 0; }
#terms h5 { text-transform: uppercase; font: 13px Helvetica, Sans-Serif; letter-spacing: 10px; border-bottom: 1px solid black;margin-bottom: 25px}
#terms textarea { width: 100%; text-align: center;}

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: 12px; }
.logo {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 200px;
    height: auto;
    padding-top: 5px;
    padding-bottom: 25px
}
.website {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 100px;
    height: auto;
    padding-top: 30px;
    padding-bottom: 30px
}
#datavalidade { font: 10px Georgia, Serif; }
#condicao { font: 10px Georgia, Serif; }
.languages {
    position: relative;
    display: block;
    margin: auto 0px;
    width: 800px;
    padding-top: 15px
}
#box {
    margin-top: 10px;
    display:grid;
    padding: 20px;
    border: solid 2px;
    border-color: transparent;
    background-color: black;
    color: white;
    font-size: 15px;
    text-decoration: none;    
}
#box:hover {
    color: red;
}
#obser {
    text-align: left;
    font-size: 11px;
    border: 1px solid black;
    margin-top: 20px;
}
#order1 {
    margin-left: auto;
    max-height: 20px;
    font: 15px Georgia, Serif;
    width: 170px;
}
#order2 {
    margin-left: auto;
    max-height: 20px;
    font: 15px Georgia, Serif;
    width: 50px;
}
#name {
    max-height: 20px;
    font: 15px Georgia, Serif;
    width: 700px;
    resize: horizontal;
    text-align: left;
}
#phone {
    max-height: 20px;
    font: 15px Georgia, Serif;
    width: 700px;
    resize: horizontal;
    text-align: left;
}
.title {
    font-size: 25px;
    align-items: center;
}
#order {
    display: -webkit-inline-box;
    align-items: center;
    padding-bottom: 20px;
    padding-top: 15px;
    border-bottom: 1px black;
}
#store {
    max-height: 20px;
    font: 15px Georgia, Serif;
    width: 250px;
    resize: none;
    text-align: left;
    align-content: center;
}
.sms * {
   vertical-align: middle;
    font-size: 14px;
}
#code{
}

label, textarea{
    display: inline-block;
    vertical-align: middle; /** Can be switched to 'top' if you so wish **/
}
textarea.textareacode {
    font-size: 25px;
    max-height: 30px;
    max-width: 145px;
}
label.labelcode {
    font-size: 20px;
}
@media print {

   .dontPrint {
       display:none;
    }
}

/* Footer styling */
.footer {
    text-align: center;
    background: #333;
    color: #ffffff;
    position: fixed;
    bottom:0%;
    width: 80%;
    text-decoration: none;
  }