html {
     font-size: 16px;
}

body {
	margin: 30px;
}

div.bordered {
	border: 1px solid #000;
	padding-top: 3px;
	padding-bottom: 3px;
}

div.vspace {
	width: 100%;
	height: 20px;
}

div#invoice {
	margin: 20px;
}

div#invoice div.sm {
	font-size: 12px;
}

@media print {

  body > div {
    display: none;
  }
  body > div#invoice {
    display: block;
  }
  body > div#prescription {
    display: block;
  }

  div#prescription div.headerrow {
       margin-top: -60px;
  }

  div.noprint {
       display: none;
  }

  body * {
    visibility: hidden;
  }
  div#invoice * {
    visibility: visible;
  }

  div#prescription * {
    visibility: visible;
  }

  div#prescription a.btn {
  	visibility: hidden;
  }

  @page { margin: 1cm; }
  body { margin: 1.6cm; }

  .col-md-1, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-md-10, .col-md-11, .col-md-12 {
        float: left;
   }
   .col-md-12 {
        width: 100%;
   }
   .col-md-11 {
        width: 91.66666667%;
   }
   .col-md-10 {
        width: 83.33333333%;
   }
   .col-md-9 {
        width: 75%;
   }
   .col-md-8 {
        width: 66.66666667%;
   }
   .col-md-7 {
        width: 58.33333333%;
   }
   .col-md-6 {
        width: 50%;
   }
   .col-md-5 {
        width: 41.66666667%;
   }
   .col-md-4 {
        width: 33.33333333%;
   }
   .col-md-3 {
        width: 25%;
   }
   .col-md-2 {
        width: 16.66666667%;
   }
   .col-md-1 {
        width: 8.33333333%;
   }
}

div.tviewh {
	background: #ccc;
}

div.tview.row {
	display: -webkit-box;
	  display: -webkit-flex;
	  display: -ms-flexbox;
	  display:         flex;
	  flex-wrap: wrap;
}

div.tview.row  > [class*='col-'] {
  display: flex;
  flex-direction: column;
}

div.tview.row > div:nth-child(even) {
	background: #eee;
}

form {
	border: 4px solid #ccc;
	border-radius: 10px;
	padding: 20px;
}

form > p {
	padding-bottom: 10px;
	padding-top: 2px;
	border-bottom: 1px solid #eee;
}

form label {
	display: inline-block;
	text-align: right;
	width: 200px;
	margin-right: 10px;
}

.btn {
	margin-right: 20px;
}

textarea {
	width: 400px;
	max-width: 100%;
}

input[type="text"],
input[type="email"] {
	width: 400px;
	max-width: 100%;
}

select {
	width: 400px;
	max-width: 100%;
}

p.datetime {
	margin-left: 168px;
}

p.datetime input.vDateField {
	margin-left: 8px;
}

div.colheader {
	font-weight: bold;
	text-decoration: underline;
}

button[disabled], 
html input[disabled],
html textarea[disabled],
html select[disabled]
{
    cursor: default;
    background: #eee;
}

span.warning {
     color: #a33;
}

button.cancelbtn {
     margin-left: 100px;
     background: #ccc;
}


div.contContainer {
     position: absolute;
     left: 0;
     right: 0;
     padding: 20px 20px 60px;
}
   
div.palette {
     background-color: #fff;
     border-radius: 8px;
     padding: 15px;
     margin-top: 20px;
     max-width: 100%;
     overflow-x: auto;
}
   
form {
     border: none !important;
     padding: none !important;
 }

 form {
	border-radius: 10px;
	padding: 20px;
}

form > p {
	padding-bottom: 10px;
	padding-top: 2px;
	border-bottom: 1px solid #eee;
}

form label {
	display: inline-block;
	text-align: left;
	margin-right: 10px;
     width: auto;
}
form.inlineForm {
	border: none;
	padding: 5px;
}

input[type="text"],
input[type="email"] {
	width: 400px;
	max-width: 100%;
}

button[disabled], 
html input[disabled],
html textarea[disabled],
html select[disabled]
{
    cursor: default;
    background: #eee;
}

ul li {
     list-style-type: none;
}

