/**
The following is taken from the theme css file for Carmino's website copyvision.co.uk
*/

/*--------------------------------------------------------------
1. Normalize
--------------------------------------------------------------*/
/*! normalize.css v6.0.0 | MIT License | github.com/necolas/normalize.css */
html {
    line-height: 1.15;
    -ms-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
  }
  
  article,
  aside,
  footer,
  header,
  nav,
  section {
    display: block;
  }
  
  h1 {
    font-size: 2em;
    margin: 0.67em 0;
  }
  
  figcaption,
  figure,
  main {
    display: block;
  }
  
  figure {
    margin: 1em 40px;
  }
  
  hr {
    -webkit-box-sizing: content-box;
            box-sizing: content-box;
    height: 0;
    overflow: visible;
  }
  
  pre {
    font-family: monospace, monospace;
    font-size: 1em;
  }
  
  a {
    background-color: transparent;
    -webkit-text-decoration-skip: objects;
  }
  
  abbr[title] {
    border-bottom: none;
    text-decoration: underline;
    -webkit-text-decoration: underline dotted;
            text-decoration: underline dotted;
  }
  
  b,
  strong {
    font-weight: inherit;
  }
  
  b,
  strong {
    font-weight: bolder;
  }
  
  code,
  kbd,
  samp {
    font-family: monospace, monospace;
    font-size: 1em;
  }
  
  dfn {
    font-style: italic;
  }
  
  mark {
    background-color: #ff0;
    color: #000;
  }
  
  small {
    font-size: 80%;
  }
  
  sub,
  sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
  }
  
  sub {
    bottom: -0.25em;
  }
  
  sup {
    top: -0.5em;
  }
  
  audio,
  video {
    display: inline-block;
  }
  
  audio:not([controls]) {
    display: none;
    height: 0;
  }
  
  img {
    border-style: none;
  }
  
  svg:not(:root) {
    overflow: hidden;
  }
  
  button,
  input,
  optgroup,
  select,
  textarea {
    margin: 0;
  }
  
  button,
  input {
    overflow: visible;
  }
  
  button,
  select {
    text-transform: none;
  }
  
  button,
  html [type="button"],
  [type="reset"],
  [type="submit"] {
    -webkit-appearance: button;
  }
  
  button::-moz-focus-inner,
  [type="button"]::-moz-focus-inner,
  [type="reset"]::-moz-focus-inner,
  [type="submit"]::-moz-focus-inner {
    border-style: none;
    padding: 0;
  }
  
  button:-moz-focusring,
  [type="button"]:-moz-focusring,
  [type="reset"]:-moz-focusring,
  [type="submit"]:-moz-focusring {
    outline: 1px dotted ButtonText;
  }
  
  legend {
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
    color: inherit;
    display: table;
    max-width: 100%;
    padding: 0;
    white-space: normal;
  }
  
  progress {
    display: inline-block;
    vertical-align: baseline;
  }
  
  textarea {
    overflow: auto;
  }
  
  [type="checkbox"],
  [type="radio"] {
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
    padding: 0;
  }
  
  [type="number"]::-webkit-inner-spin-button,
  [type="number"]::-webkit-outer-spin-button {
    height: auto;
  }
  
  [type="search"] {
    -webkit-appearance: textfield;
    outline-offset: -2px;
  }
  
  [type="search"]::-webkit-search-cancel-button,
  [type="search"]::-webkit-search-decoration {
    -webkit-appearance: none;
  }
  
  ::-webkit-file-upload-button {
    -webkit-appearance: button;
    font: inherit;
  }
  
  .top-bar .container {
      float: right;
  }
  menu {
    display: block;
  }
  
  summary {
    display: list-item;
  }
  
  canvas {
    display: inline-block;
  }
  
  template {
    display: none;
  }
  
  [hidden] {
    display: none;
  }
  
  /*--------------------------------------------------------------
  2. Resets & Typography
  --------------------------------------------------------------*/
  /* Box Sizing Reset  */
  * {
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
  }
  
  *:before,
  *:after {
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
  }
  
  /* Body Reset */
  html {
    font-family: "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", sans-serif;
    line-height: 1.71429;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    font-size: 87.5%;
  }
  
  body {
    margin: 0;
    color: #333;
    background-color: #fff;
  }
  
  html,
  body {
    overflow-x: hidden;
  }
  
  @media (min-width: 768px) {
    html {
      font-size: 100%;
    }
  }
    
  /* Reset fonts for relevant elements */
  input,
  button,
  select,
  textarea {
    max-width: 100%;
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
  }
  
  /* Typography */
  /* Headings */
  h1, h2, h3, h4, h5, h6,
  .h1, .h2, .h3, .h4, .h5, .h6 {
    font-family: "Cabin", -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", sans-serif;
    font-weight: bold;
    line-height: 1.1;
  }
  
  h1, .h1,
  h2, .h2,
  h3, .h3 {
    margin-top: 1.71429rem;
    margin-bottom: 0.85715rem;
  }
  
  h4, .h4,
  h5, .h5,
  h6, .h6 {
    margin-top: 1.14286rem;
    margin-bottom: 0.85715rem;
  }
  
  h1, .h1 {
    font-size: 2.5rem;
  }
  
  h2, .h2 {
    font-size: 2rem;
  }
  
  h3, .h3 {
    font-size: 1.75rem;
  }
  
  h4, .h4 {
    font-size: 1.5rem;
  }
  
  h5, .h5 {
    font-size: 1.25rem;
  }
  
  h6, .h6 {
    font-size: 1rem;
  }
    
  /* Body text */
  p {
    margin: 0 0 0.85715rem;
  }
  
  b, strong {
    font-weight: 700;
  }
  
  /* Lists */
  ul,
  ol {
    padding: 0 0 0 1.5rem;
    margin-top: 0;
    margin-bottom: 0.85715rem;
  }
  
  .rtl ul, .rtl
  ol {
    padding-left: 0;
    padding-right: 1.5rem;
  }
  
  ul ul,
  ol ul,
  ul ol,
  ol ol {
    margin-bottom: 0;
  }
  
  /* Links */
  a {
    color: #850345;
    text-decoration: none;
    -webkit-transition: color 0.1s;
    transition: color 0.1s;
  }
  
  a:hover,
  a:focus {
    color: #b7045f;
    text-decoration: none;
  }
  
  a:focus {
    outline: thin dotted;
    outline: 5px auto -webkit-focus-ring-color;
    outline-offset: -2px;
  }
  
  /* Images */
  img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
  }
  
  /* Horizontal rules */
  hr {
    margin-top: 1.71429rem;
    margin-bottom: 1.71429rem;
    border: 0;
    border-top: 1px solid #ddd;
  }
  
  
  /* Tables */
  table, th, td {
    border: 1px solid #ddd;
  }
  
  table {
    table-layout: fixed;
    border-width: 1px 0 0 1px;
    border-collapse: separate;
    border-spacing: 0;
  /*  width: 100%; */
  }
  
  th, td {
    border-width: 0 1px 1px 0;
    vertical-align: baseline;
    text-align: left;
    padding: 0.4em;
  }
  
  th {
    font-weight: 700;
  }
   
  /* Accessibility */
  .screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
    white-space: nowrap;
  }
  
  .screen-reader-text:active,
  .screen-reader-text:focus {
    position: static;
    width: auto;
    height: auto;
    overflow: visible;
    clip: auto;
    white-space: normal;
  }
  
/*--------------------------------------------------------------
3. Forms
--------------------------------------------------------------*/
input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
  padding: 0.5rem 1rem 0.4375rem;
  line-height: 1.5;
  vertical-align: middle;
  -webkit-box-shadow: none;
          box-shadow: none;
  border: 1px solid #959595;
  background-color: #fff;
  color: #666;
  -webkit-transition-property: border-color, background-color;
  transition-property: border-color, background-color;
  -webkit-transition-duration: 0.3s;
          transition-duration: 0.3s;
  -webkit-transition-timing-function: ease-out;
          transition-timing-function: ease-out;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
  color: #333;
  border-color: #333;
  outline: none;
}


/*--------------------------------------------------------------
4. Buttons
--------------------------------------------------------------*/
.btn {
  display: inline-block;
  border-radius: 0;
  font-family: "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", sans-serif;
  font-size: 0.8125rem;
  font-style: normal;
  font-weight: normal;
  line-height: 1.5;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  vertical-align: middle;
  cursor: pointer;
  -webkit-transition: all 0.1s linear;
  transition: all 0.1s linear;
  padding: 0.625rem 1.5rem;
}

.btn:not(.btn-no-hover) {
  -webkit-transform: translate3d(0, 0, 0);
          transform: translate3d(0, 0, 0);
}

.btn:not(.btn-no-hover):hover, .btn:not(.btn-no-hover):focus {
  -webkit-transform: translate3d(0, -2px, 0);
          transform: translate3d(0, -2px, 0);
  -webkit-box-shadow: 0px 5px 11px rgba(0, 0, 0, 0.15);
          box-shadow: 0px 5px 11px rgba(0, 0, 0, 0.15);
}


/*--------------------------------------------------------------
5. Navigation
--------------------------------------------------------------*/

/* Secondary navigation */
.secondary-navigation ul {
    margin: 0 -0.5rem;
    padding: 0;
    list-style: none;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-flow: row wrap;
            flex-flow: row wrap;
    font-size: 0.875rem;
  }
  
  .secondary-navigation li {
    margin-left: 0.5rem;
    margin-right: 0.5rem;
    margin-top: 0.75rem;
  }
  
  .secondary-navigation ul ul {
    display: none;
  }
  
  .secondary-navigation a {
    text-decoration: none;
  }

/*--------------------------------------------------------------
10. Header
--------------------------------------------------------------*/
/* Top bar */
.top-bar {
    display: none;
    height: 50px;
    background-color: #22264b;
    color: #fff;
  }
  
  .top-bar a {
    color: #fff;
  }
  
  .top-bar .container {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
  }
  
  @media (min-width: 768px) {
    .top-bar {
      display: block;
    }
  }
  
    
/*--------------------------------------------------------------
11. Footer
--------------------------------------------------------------*/
/* Footer typography */
.site-footer {
    color: #d1d1d1;
    font-size: 0.875rem;
    font-style: normal;
    line-height: 2.142857;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center top;
    margin-top: 50px;
  }
  
  .site-footer a {
    color: #b7045f;
  }
  
  .site-footer a:hover {
    color: #850345;
  }
  
  .footer-bottom-wrap {
    overflow: hidden;
    background-color: #111;
  }
  
  .footer-bottom-wrap .container {
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
  }
  
  /* Footer tagline */
  .footer-tagline {
    -webkit-box-flex: 1;
        -ms-flex: 1 0;
            flex: 1 0;
    margin-top: 2.125rem;
    margin-bottom: 2.125rem;
    float: left;
    padding-left: 50px;
  }
  
  /* Footer Scroll to top */
  .site-footer .scroll-to-top {
    -webkit-box-flex: 0;
        -ms-flex: 0 0 auto;
            flex: 0 0 auto;
    margin-left: 1rem;
  }
  
  .site-footer .scroll-to-top,
  .site-footer .scroll-to-top:hover {
    color: #d1d1d1;
  }
  
  /* Scroll to top */
.scroll-to-top {
    display: block;
    width: 3.5rem;
    height: 3.5rem;
    line-height: 3.75rem;
    border-radius: 50%;
    text-align: center;
    color: #d1d1d1;
    background-color: #22264b;
  }
  
  .scroll-to-top::after {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    position: relative;
    font-family: 'typicons';
    font-size: 1.5rem;
    font-style: normal;
    font-weight: normal;
    font-family: "Font Awesome 5 Free"; font-weight: 900; content: '\f106';
  }
  
  
/* 
    Created on : 19-Feb-2021, 18:45:01
    Author     : cam
*/
#meterReadingTable {
    text-align: center;
}
#meterReadingTable input {
    text-align: center;
    width: 80pt;
}
#meterReadingTable td {
    width: 80pt;
}
.updateButton {
    clear: both;
    margin: 20pt 10pt;
    float: right;
}
#updatePage {
    z-index: 101;
    position: absolute;
    font-size: 12pt;
}
.tdspacer {
    width: 100px;
}
#usrInt {
    float: right;
}

#btnUserSubmit {
    float: right;
}

input[type='number'] {
    width: 90px;
}

ul.menu, section, .footer-bottom-wrap {
    padding: 0 50px 0 50px;
}  

.buttonsright {
  text-align: right;
  min-width: 95px;
}

.btn {
  margin-right: 3px;
}

.form-Input_Wrapper {
	display: flex;
  padding: 4px 0 4px 0;
}
 
.form-Input_Wrapper label {
  min-width: 250px;
}

/* Logged in information */
.top-bar .logged-in-as {
  margin: 12px 50px;
  padding: 0;
  font-size: 0.875rem;
  float: left;
        
}

/*-----------------------------------
 * Show items in a CSS Grid
-------------------------------------*/
.row {
  display: grid;
  max-width: 992px;
  grid-template-rows: auto;
  gap: 5px;
  margin: 4px 0 4px 0;
}

.header {
  text-transform: uppercase;
  font-size: smaller;
  color: #22264B;
  font-weight: bold;
}
.column {
  padding: 4px 0 4px 0;
}

/*----------------------------------*/

/* Brands page */
#brands .row {
  grid-template-columns: 2.3fr 1fr 1fr 0.5fr;
}

.colBrandForm {
  grid-column: 1;
}


.colManageModels {
  grid-column: 2;
}

.colDeleteBrand {
  grid-column: 3;
}
.colBrandName,
.colBrandName input {
  min-width: 225px;
}
.colShortCode,
.colShortCode input {
  min-width: 100px;
}

/* Models page */

#models .row {
  grid-template-columns: .25fr 1.8fr 1fr 1fr 1fr;
}

.colSC {
  grid-column: 1;
  min-width: 50px;
}

.colModel {
  grid-column: 2;
  min-width: 50px;

}

.colManagePrinters {
  grid-column: 3;
}

.colManageStock {
  grid-column: 4;
}
.colDeleteModel {
  grid-column: 5;
}

.colModel input {
  min-width: 50px;
}

/* Printers page */
#printers .row {
  grid-template-columns: 50px 100px 150px 450px;
}
.colCheckBox {
  grid-column: 1;
}
.colModel {
  grid-column: 2;
}
.colSerialNumber {
  grid-column: 3;
}
.colAssigned {
  grid-column: 4;
}

/* Customers page */
#customers .row {
  grid-template-columns: 0.5fr 3fr 1fr 0.5fr;
}

.colAdded {
  grid-column: 1;
  min-width: 100px;
}

.colCustomerForm {
  grid-column: 2;
}

.colManagePrinters {
  grid-column: 3;
}
.colDeleteCustomer {
  grid-column: 4;
}


/* Customer printers page */
#customerprinters .row {
  grid-template-columns: 0.4fr 0.3fr 2fr;
}
.colBrandModelSerialNumber {
  grid-column: 1 / span 3;
}
.colBrandModel {
  grid-column: 1;
}
.colSerialNumber {
  grid-column: 2;
}

.colAction {
  grid-column: 3;
}


/* Stock page */
#stock .row {
  grid-template-columns: 0.4fr 0.3fr 0.6fr 1fr;
}

.colAdded {
  grid-column: 1;
}
.colStockForm {
  grid-column: 2 / span 3;
}
.colBrandModel {
  grid-column: 2;
}
.colSerialNumber {
  grid-column: 3;
}

.colAction {
  grid-column: 4;
}

/* Users page */
#users .row {
  grid-template-columns: 3.2fr 0.8fr;
}

.colUserForm {
  grid-column: 1;
}
.colUserDelete {
  grid-column: 2;
}
.colUserName,
.colUserName input {
 width: 140px;
}

.colFirstName,
.colFirstName input {
  width: 150px;
}

.colLastName,
.colLastName input {
  width: 150px;
}

.colRole, 
.colRole input {
  width: 90px;
}

input[type="text"]:disabled {
  font-style: italic;
}

section {
  margin-right: 150px;
}

.page_message {
  color: #ffffff;
  background-color: #850345;
  padding: 10px 0 10px 10px;
}
