@charset "UTF-8";

body {
    /*background-image:url('../images/background.png');*/
    background: #e2bd9e;
}


.cuts-image-wood {
    background-image:url('../images/cuts.gif');
    background-size: 300px 35px;
    background-repeat:no-repeat;
    width: 300px;
    height: 35px;
    text-align: center;
    display: block;
    margin-right: auto;
    margin-left: auto;
    line-height: 14px;
    vertical-align: text-top;
    margin-top: 1px;
}

.cuts-text-wood {
    text-align: center;
    display: block;
    width: 300px;
    margin-right: auto;
    margin-left: auto;
    line-height: 14px;
    vertical-align: text-top;
    margin-top: 1px;
}

.help-text-wood {
    text-shadow: 0px 0px 15px rgba(255, 255, 255, 1);
}

.ui-dialog, .ui-dialog .ui-dialog-buttonpane {
    background: #663333;/*#bc8d6f;*/
    padding: 1 1;
    border: 0px solid #663333;
}

.no-title .ui-dialog-titlebar {
  display: none;
}
.ui-dialog .ui-dialog-titlebar {
    background: #bc8d6f;
    background-image:url('../images/title.png');
    border: 0px solid #663333;
    border-width: 0 0 3px 0;
    color: #663333;
    text-shadow: 0px 0px 15px rgba(255, 255, 255, 1);
}

.ui-dialog .ui-dialog-content {
  background: #E2BD9E;
}

.ui-dialog .ui-dialog-buttonpane {
  background: #E2BD9E;
  border-width: 0px 0 0 0;
  margin-top: .01em;
}

.PrintWoodDefaultButton,
.load-button,
.ui-dialog .ui-dialog-buttonpane button {
  padding:  2px 12px;
  background-color: #225;
  background-image: -moz-linear-gradient(top, #225, #09093C);
  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#225), to(#09093C));
  background-image: -webkit-linear-gradient(top, #225, #09093C);
  background-image: -o-linear-gradient(top, #225, #09093C);
  background-image: linear-gradient(to bottom, #225, #09093C);
  background-repeat: repeat-x;
  color: #ddf;
  margin-left: auto;
  margin-right:auto;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border: 0px solid #bbbbbb;
  font-weight: bold;
  margin: 0 12px 6px 0;
}

.ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset {
	  border: 1px solid #bbbbbb;
}

.ui-dialog .ui-dialog-titlebar-close {
    display: none;
}

.ui-dialog .ui-dialog-titlebar-close,
.number-entry-button-wood {
    font-family: Arial, Helvetca, Futura, Geneva, Menlo, Tahoma, Verdana, sans-serif;
    font-weight: bold;
    font-size: 10pt;
	width: 38px;
    height: 24px;
    background-image:url('../images/button.png');
    /*border-color: #DCAE8F;
    border-color: #F4C0A0;*/
    border-color: #DCC59B;
    padding: 0px 0px 0px 0px;
    /*border-top: 1px solid #96d1f8;
    background: #65a9d7;
    background: -webkit-gradient(linear, left top, left bottom, from(#3e779d), to(#65a9d7));
    background: -moz-linear-gradient(top, #3e779d, #65a9d7); */
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    -webkit-box-shadow: rgba(0,0,0,1) 0 1px 0;
    -moz-box-shadow: rgba(0,0,0,1) 0 1px 0;
    box-shadow: rgba(0,0,0,1) 0 1px 0;
    text-shadow: rgba(0,0,0,.4) 0 1px 0;
    text-decoration: none;
    vertical-align: middle;
    color: #000000;
}

.ui-dialog .ui-dialog-titlebar-close {
	width:  20px;
    height: 20px;
}

.number-entry-button-wood:disabled .blk,
.number-entry-button-wood:disabled {
    color: #a3693d;/*#b5895b;*/
}

.number-entry-pressed-wood {
    color: #FFFA8E;
    border-style: inset;
    background-image:url('../images/pressed.png');
}

.operation {
    font-size: 12pt;
}

.frac {
    font-size: 10pt;
    /*color: #9A6135;*/
    color: #81410D;/*#814C20;#81522C;#8D5930;*/
}

.blk {
    color: #000000;
}

.ylw {
    color: #FFFA8E;
}

.numeric {
    font-size: 14pt;
}

.twoRows {
    height: 52px;
}

.number-entry-modal-wood {
    position: absolute;
    top:      0;
    left:     0;
    width:    100%;
    height:   100%;
    opacity:  0.5;
    filter:   alpha(opacity = 50);
    display:  none;
    z-index:  98;
    background-color: #e2bd9e;/*#000000;*/
}

.number-entry-display-wood {
    font-family: Arial, Helvetca, Futura, Geneva, Menlo, Tahoma, Verdana, sans-serif;
    font-weight: bold;
    font-size: 14pt;
    text-align: right;
    vertical-align: middle;
    display:table-cell; 
	border-style: ridge;
	clear: both;
	padding: 2px 2px;
    background: white;
    width: 162px;
    height: 24px;
    border-radius: 5px;
    -webkit-box-shadow: rgba(0,0,0,1) 0 1px 0;
    box-shadow: rgba(0,0,0,1) 0 1px 0;
    text-shadow: rgba(0,0,0,.4) 0 1px 0;
    text-decoration: none;
}

.number-entry-caret-wood {
    font-size: 30px;
	clear: both;
	padding: 0 0;
    position: absolute;
    z-index: 99;
	display: none;
}

.number-entry-wood {
	border: 1px solid black;
	clear: both;
	padding: 0 0;
    background-image:url('../images/background-mirrored.png');
    position: absolute;
	width: 174px;
	display: none;
    z-index: 100;
    padding: 2px 2px !important; 
    padding-top: 6px !important;
}

.input-wood {
  background: #FFF;
  color: #000;
  
  width: 60px;

  border: 1px solid rgb(102, 051, 051);
  padding:  2px 2px;
}

.text-label-wood {
  display: inline-block;
  /* *display: inline; */
  /* IE7 inline-block hack */

  width: 100%;
  /* *zoom: 1; */
  padding: 2px 2px;
  margin-bottom: 0;
  margin-left: -5px;
  margin-right: -5px;
  font-size: 14px;
  line-height: 20px;
  vertical-align: middle;
}

.text-center-wood {
  display: inline-block;
  /* *display: inline; */
  /* IE7 inline-block hack */

  width: 100%;
  /* *zoom: 1; */
  padding: 2px 2px;
  margin-bottom: 0;
  font-size: 14px;
  line-height: 20px;
  vertical-align: middle;
  text-align: center;
}

.checkbox-center-wood {
  display: inline-block;
  /* *display: inline; */
  /* IE7 inline-block hack */

  width: 100%;
  /* *zoom: 1; */
  padding: 2px 0px;
  margin-top: -12px;
  margin-bottom: 0;
  vertical-align: middle;
  text-align: center;
}

.btn-mini-wood:hover .icon-white,
.btn-mini-wood:active .icon-white,
.btn-mini-wood.active .icon-white,
.btn-wood:hover .icon-white,
.btn-wood:active .icon-white,
.btn-wood.active .icon-white {
  background-image: url("../bootstrap/img/glyphicons-halflings.png");
}

.btn-wood {
  padding:  2px 2px;
  /*background: #225;*/
  background-color: #225;
  background-image: -moz-linear-gradient(top, #225, #09093C);
  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#225), to(#09093C));
  background-image: -webkit-linear-gradient(top, #225, #09093C);
  background-image: -o-linear-gradient(top, #225, #09093C);
  background-image: linear-gradient(to bottom, #225, #09093C);
  background-repeat: repeat-x;
  color: #ddf;
  margin-left: auto;
  margin-right:auto;
}

.btn-mini-wood {
  padding: 0px 0px;
  padding-left: 1px;
  padding-top: 1px;
  margin: 0px 0px;
  margin-top: -4px;
  /*background: #225;*/
  background-color: #225;
  background-image: -moz-linear-gradient(top, #225, #09093C);
  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#225), to(#09093C));
  background-image: -webkit-linear-gradient(top, #225, #09093C);
  background-image: -o-linear-gradient(top, #225, #09093C);
  background-image: linear-gradient(to bottom, #225, #09093C);
  background-repeat: repeat-x;
  color: #ddf;
  line-height: 10px;
  font-size: 10px;
  width: 17px;
  height: 17px;
}

.btn-mini-wood:hover,
.btn-wood:hover {
  /*background-image:url('../images/hover.png');*/
  background: #ceceff;
}

.btn-no-hover, btn-no-hover:hover {
  color: #ddf !important;
  background-color: #225 !important;
  background-image: -moz-linear-gradient(top, #225, #09093C) !important;
  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#225), to(#09093C)) !important;
  background-image: -webkit-linear-gradient(top, #225, #09093C) !important;
  background-image: -o-linear-gradient(top, #225, #09093C) !important;
  background-image: linear-gradient(to bottom, #225, #09093C) !important;
}

.btn-mini-wood:active,
.btn-mini-wood.active,
.btn-wood:active,
.btn-wood.active {
  /*background-image:url('../images/hover.png');*/
  background: #ababff;
}

.btn-toolbar {
  margin-top: 0px;
  margin-bottom: 0px;
  border: 1px solid #bbbbbb;
  /* *border: 0; */
  border-bottom-color: #a2a2a2;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
  background-color: #225;
  background-image: -moz-linear-gradient(top, #225, #09093C);
  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#225), to(#09093C));
  background-image: -webkit-linear-gradient(top, #225, #09093C);
  background-image: -o-linear-gradient(top, #225, #09093C);
  background-image: linear-gradient(to bottom, #225, #09093C);
  background-repeat: repeat-x;

}

.tab-content {
    margin-top: -16px;
    overflow: visible;
}

.btn-group > li> a,
.nav-tabs > li> a {
  /*background: #225;*/
  background-color: #225;
  background-image: -moz-linear-gradient(top, #225, #09093C);
  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#225), to(#09093C));
  background-image: -webkit-linear-gradient(top, #225, #09093C);
  background-image: -o-linear-gradient(top, #225, #09093C);
  background-image: linear-gradient(to bottom, #225, #09093C);
  background-repeat: repeat-x;
  color: #ddf;
  border: 1px solid #bc8d6f;
  padding-right: 9px;
  padding-left: 9px;
  padding-top: 4px;
  padding-bottom: 4px;
}

.nav-tabs {
  border-bottom: 1px solid #bc8d6f;
}
.nav-tabs > li> a:hover {
  color: #225;
  background-image:url('../images/hover.png');
  border: 1px solid #bc8d6f;
}

.nav-tabs > .active > a {
  background-image:url('../images/background-mirrored.png');
  color: #000;
  border: 1px solid #bc8d6f;
  font-weight: bold;
}

.nav-tabs > .active > a:hover {
  background-image:url('../images/hover.png');
  color: #000;
  border: 1px solid #bc8d6f;
}

.dropdown-menu {
  /*background-image:url('../images/background-mirrored.png');*/
    background: #ddf;
}

.nav-tabs .open .dropdown-toggle {
  /*background: #225;*/
  background-color: #225;
  background-image: -moz-linear-gradient(top, #225, #09093C);
  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#225), to(#09093C));
  background-image: -webkit-linear-gradient(top, #225, #09093C);
  background-image: -o-linear-gradient(top, #225, #09093C);
  background-image: linear-gradient(to bottom, #225, #09093C);
  background-repeat: repeat-x;
  color: #ddf;
}

.dropdown-menu .divider {
  /* *width: 100%; */
  height: 1px;
  margin: 1px 1px;
  /* *margin: -1px 0 1px; */
  overflow: hidden;
  background-color: #225;
  border-bottom: 1px solid #ffffff;
}

.btn-group .btn-mini-wood:hover:focus .caret-wood,
.btn-group .btn-wood:hover:focus .caret-wood,
.caret-wood
{
    border-top-color: #ddf;
    border-bottom-color: #ddf;
}

.btn-group .btn-mini-wood:hover .caret-wood,
.btn-group .btn-wood:hover .caret-wood
{
    border-top-color: #000 ;
    border-bottom-color: #000;
}

.btn-group .btn-mini-wood.focus,
.btn-group .btn-mini-wood:focus,
.btn-group .btn-wood.focus,
.btn-group .btn-wood:focus
{
  /*background: #225 !important;*/
  background-color: #225 !important;
  background-image: -moz-linear-gradient(top, #225, #09093C) !important;
  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#225), to(#09093C)) !important;
  background-image: -webkit-linear-gradient(top, #225, #09093C) !important;
  background-image: -o-linear-gradient(top, #225, #09093C) !important;
  background-image: linear-gradient(to bottom, #225, #09093C) !important;
  background-repeat: repeat-x !important;
  color: #ddf;
}

.main {
    background-image:url('../images/background-mirrored.png');

    -webkit-box-shadow: 0px 0px 30px rgba(102, 51, 51, 0.85);
    -moz-box-shadow:    0px 0px 30px rgba(102, 51, 51, 0.85);
    box-shadow:         0px 0px 30px rgba(102, 51, 51, 0.85);

    -webkit-border-radius: 9px;
    border-radius: 9px;

    border: 2px solid rgb(102, 051, 051);
    
    padding-left: 2px;
    padding-bottom: 2px;
}

caption {
    color:#ffeee0;/*#ffe5cf;*//*white;*/
    text-shadow: 2px 2px 8px rgba(102, 51, 51, 0.25), 
               -2px -2px 8px rgba(102, 51, 51, 0.25),
                2px -2px 8px rgba(102, 51, 51, 0.25), 
               -2px 2px 8px rgba(102, 51, 51, 0.25),
               4px 4px 8px rgba(102, 51, 51, 0.25),
               -4px -4px 8px rgba(102, 51, 51, 0.25),
               4px -4px 8px rgba(102, 51, 51, 0.25),
               -4px 4px 8px rgba(102, 51, 51, 0.25)
     /* 3D */
    /*text-shadow: 0 1px 0 #ccc, 
               0 2px 0 #c9c9c9,
               0 3px 0 #bbb,
               0 4px 0 #b9b9b9,
               0 5px 0 #aaa,
               0 6px 1px rgba(0,0,0,.1),
               0 0 5px rgba(0,0,0,.1),
               0 1px 3px rgba(0,0,0,.3),
               0 3px 5px rgba(0,0,0,.2),
               0 5px 10px rgba(0,0,0,.25),
               0 10px 10px rgba(0,0,0,.2),
               0 20px 20px rgba(0,0,0,.15);*/
}

.printer-wood {
	clear: both;
	/*display: none;*/
    background: white;
    z-index: 1000;
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0px;
    top: 0px;
}

.block {
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    border-radius: 6px;
    border: 2px solid rgb(102, 051, 051);
    overflow: hidden;
}

.cuts-wood,
.block,
.table-wood {
    padding:0 0;
    margin: 0 0;
    background: #e2bd9e;

    -webkit-box-shadow: 0px 0px 30px rgba(102, 51, 51, 0.85);
    -moz-box-shadow:    0px 0px 30px rgba(102, 51, 51, 0.85);
    box-shadow:         0px 0px 30px rgba(102, 51, 51, 0.85);

    padding:2px 2px;
    margin: 2px 2px;
    margin-left: auto;
    margin-right: auto;

    padding-bottom: 6px;

    /*width: 98%;*/

    /* *border-collapse: collapse; *//* IE7 and lower */
    border-collapse: separate;
    border-spacing: 0; 
}

.cuts-wood:last-child,
.block:last-child,
.table-wood:last-child {
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    border-radius: 6px;
    border: 2px solid rgb(102, 051, 051);
}

.cuts-wood:first-child,
.block:first-child,
.table-wood:first-child {
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    border-radius: 6px;
    border: 2px solid rgb(102, 051, 051);
}

.cuts-wood:only-child,
.block:only-child,
.table-wood:only-child {
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    border-radius: 6px;
    border: 2px solid rgb(102, 051, 051);
}

div.fileinputs {
	position: relative;
}

div.fakefile {
	position: absolute;
	top: 0px;
	left: 0px;
	z-index: 1;
}

input.file {
	position: relative;
	text-align: right;
	-moz-opacity:0.0 ;
	filter:alpha(opacity: 0);
	opacity: 0.0;
	z-index: 2;
}


@media print {
    .dontPrint { display: none; }

    table, th, td, body
    {
        border: 0px;
        page-break-inside:avoid;
    }
    .settings { margin-top: 100px; }
}

@media (max-width: 480px)
 {
    /* iPhone CSS rules here */

    body {
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin-left: 1px !important;
        margin-right: 1px !important;
        /**padding-left: 0 !important;
        *padding-right: 0 !important;
        *margin-left: 1px !important;
        *margin-right: 1px !important; */
    }
}

@media only screen and (max-device-width: 480px) {
    /* iPhone CSS rules here */

    body {
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin-left: 1px !important;
        margin-right: 1px !important;
        /* *padding-left: 0 !important;
        *padding-right: 0 !important;
        *margin-left: 1px !important;
        *margin-right: 1px !important;*/
    }

    .nav-tabs > li > a {
        padding-right: 4px  !important;
        padding-left: 4px  !important;
        margin-right: 2px  !important;
        line-height: 10px  !important;
        padding-top: 4px  !important;
        padding-bottom: 4px  !important;
        line-height: 16px  !important;
    }

    .btn {
        padding:  2px 4px;
    }

    .iphone-btn-mini-wood
    {
        margin-left:-3px !important;
    }
}

.mr2 {
    margin-right:2px;
}

.b14 {
  height: 14px;
  margin-right: -1px;
  width: 14px;
/*  padding: 0px 0px;
  padding-right: 1px;
  margin: 0px 0px;*/
}

.w10 {
  width: 10px;
}

.w14 {
  width: 14px;
}

.w30 {
  width: 30px;
}

.w40 {
  width: 40px;
}

.w54 {
  width: 54px;
}

.w60 {
  min-width: 60px;
  max-width: 60px;
  width: 60px;
}

.w66 {
  min-width: 66px;
  max-width: 66px;
  width: 66px;
}

.w82 {
  width: 82px;
}

.w84 {
  width: 84px;
}

.w88 {
  min-width: 88px;
  width: 88px;
  max-width: 88px;
}

.w92 {
  min-width: 92px;
  width: 92px;
  max-width: 92px;
}

.plr14 {
    padding-right: 14px;
    padding-left: 14px;
}

tr.ptb4 > td
{
  padding-top: 4px;
  padding-bottom: 4px;
}

.table-wood td
{
    text-align:center;
}

.left-align-wood,
.table-wood .left-align-wood,
tr.left-align-wood > td
{
    text-align:left;
}

.right-align-wood,
td.right-align-wood,
.table-wood .right-align-wood,
tr.right-align-wood > td
{
    text-align:right;
    vertical-align: bottom;
}

hr{
  border-top: 1px solid  rgb(102, 051, 051);
  border-bottom: 1px solid  rgb(102, 051, 051);
  background-color: rgb(102, 051, 051);
  color: rgb(102, 051, 051);
}

.dropdown-menu > li > a > [class^="icon-"], 
.dropdown-menu > li > a > [class*=" icon-"],
.dropdown-menu > li > a:hover > [class^="icon-"], 
.dropdown-menu > li > a:hover > [class*=" icon-"],
.dropdown-menu > .active > a > [class^="icon-"],
.dropdown-menu > .active > a > [class*=" icon-"],
.dropdown-submenu:hover > a > [class^="icon-"],
.dropdown-submenu:hover > a > [class*=" icon-"] 
{
    margin-left: -17px !important;
}

.btn-mini-wood [class^=" icon-"], 
.btn-mini-wood [class*=" icon-"] 
{
    line-height: 10px !important;
    font-size: 10px !important;
    margin-top: -2px !important;
}

.underline {text-decoration: underline;}

/*document.addEventListener("touchstart", function(){}, true); */
/*
*{
-webkit-tap-highlight-color: rgba(0,0,0,0); }
*/
/*
http://phonegap-tips.com/articles/essential-phonegap-css-webkit-tap-highlight-color.html
*/
