/*********************
    BARCODEQRCODE
**********************/

body{background: #fff; font-family: arial, sans serif; line-height: 150%; color: #3c4043; margin: 0; padding: 0; overflow: auto;}

.bg-red{background: #dc3545 !important;}
.bg-green{background: #198754 !important;}
.bg-blue{background: #0d6efd !important;}
.bg-yellow{background: #ffc107 !important;}
.bg-cyan{background: #0dcaf0 !important;}
.bg-black{background: #212529 !important;}
.bg-lightgrey{background: #f8f9fa !important;}
.bg-darkgrey{background: #6c757d !important;}

.text-dark{color: #212529 !important;}
.text-white{color: #ffffff !important;}

.brd-light{border: 1px solid #ccc;}
.brd-dark{border: 1px solid #333;}

.margin-right{margin-right: 10px;}
.margin-left{margin-left: 10px;}

h2{color: #3c4043; font-size: 20px; line-height: 100%; background: #e6f4ea; padding: 10px;}
label {display: block !important; line-height: 140%; padding: 2px 4px; border-radius: 4px;}
.inline-lbl{display: inline-block !important; margin-right: 10px;}

#header{background: #fff; text-align: center; border-bottom: 1px solid #ccc; 0px 4px 5px 0px rgba(0,0,0,.14),0px 1px 10px 0px rgba(0,0,0,.12),0px 2px 4px -1px rgba(0,0,0,.2); position: fixed; width: 100%; height: 60px; top: 0; box-sizing: border-box; z-index:100000;}
#header-sections {display: flex; align-items: center; justify-content: space-between; min-width: min-content;}
.offcanvas-menu-btn{width: 40px; height: 40px; margin: 0 0 0 10px;}
.pageH1{font-size: 24px; text-align: center; margin: 0; padding: 20px 0 0 0; line-height: 100%;}

button {color: #fff; background-color: #0d6efd; border: 0; padding: .6rem; font-size: 1rem; border-radius: .25rem; user-select: none; cursor: pointer;}
button:hover {background: #0b5ed7;}
.inline-lbl{display: inline-block !important; margin-right: 10px;}

#main-menu-btn{ -moz-border-radius: 50%; border-radius: 50%; display: inline-block; margin: 0 4px; padding: 12px; overflow: hidden; vertical-align: middle; cursor: pointer; height: 24px; width: 24px; -moz-user-select: none; flex: 0 0 auto; }
#main-menu-btn:hover { background-color: rgba(60,64,67,.08); outline: none; }

#logo-menu {width: 280px; align-content: center; display: grid; grid-template-columns: 1fr 4fr; padding: 7px 0 0 10px;
box-sizing: border-box;}
#logo-img{width: 160px; padding: 5px;}


#ta-container{display: grid; grid-template-columns: 300px auto 300px; align-items: stretch; align-content: center; margin: 5px auto; width: 100%;}
#a1{display: block; clear: both; float: none; background: #fff; width: 300px; height: 100%;}
#a2{display: block; clear: both; float: none; background: #fff; width: 300px; height: 100%;}
#ah1{background: #fff; width: 100%; height: 300px; margin: 70px auto 0; display: none;}
.tool-deck {margin: 25px auto; width: 80%; min-width: 300px; border-radius: 8px; border: 1px solid #dadce0}
.static-deck{padding: 0 15px;}


#ta-container-brd{display: grid; grid-template-rows: 0px auto 0px; align-items: stretch; align-content: center; margin: 5px auto; width: 100%;}
#a1-brd{background: #f00; width: 0%; height: 0px;}
#a2-brd{background: #00f; width: 0%; height: 0px;}
#ah1{background: #fff; width: 100%; height: 300px; margin: 70px auto 0; display: none;}
.tool-deck-brd {margin: 25px auto; width: 80%; min-width: 300px; border-radius: 8px; border: 1px solid #dadce0}
.static-deck-brd{padding: 0 15px;}


.card-header, .card-footer{line-height: 130%; padding: .5rem 0.6rem 0.3rem 0.6rem;}
.card-header{border-bottom: 1px solid #dadce0;}
.card-footer{border-top: 0px solid #dadce0}
.card-body{padding: 20px;}

.tool-deck {background: #f9f9f9; margin: 25px auto; box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.05);}
.fg{background: #ffffe0; margin: 5px 0; padding: 5px;}
#toolDiv {background: #f9f9f9; box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.05); border-radius: 10px; width: 700px; margin: 50px auto; padding: 20px;}
#codeRules{text-align: left; margin: 5px 0 10px 0; line-height: 130%;}
#codeRules ul li{margin: 15px 0 0 0;}
#iNumDiv {text-align: center;}
#iNum {width: 100%; line-height: 160%; padding: 10px; margin: 0 0 10px 0; box-sizing: border-box; font-size: 150%;}
#settingsBtn{margin:10px;}
#settingsDiv {display: none; margin: 20px 0; padding: 10px; background: #eee; border: 1px solid #ccc;}
#resultsContainer {display: block;}
.resNum{position: absolute; top: -20px; left: 7px; height: 40px; width: 40px; line-height: 40px; background: #0d6efd; border-radius: 50%; color: #fff; font-weight: bold; }
.resultDiv {background: #ccc; position: relative; border-radius: 10px;text-align: center; padding: 20px; margin: 35px 0;}
.transparentBG{background-image: linear-gradient(45deg, #b9b9b9 25%, transparent 25%), linear-gradient(-45deg, #b9b9b9 25%, transparent 25%), linear-gradient(45deg, transparent 75%, #b9b9b9 75%), linear-gradient(-45deg, transparent 75%, #b9b9b9 75%); background-position: 0 0, 0 10px, 10px -10px, -10px 0px; background-size: 20px 20px;}
.resultBarcodeDiv{background: #fff; display: block; border: 1px solid #aaa; padding: 5px; margin: 0px auto;}
.oneCode{}
.resultHeading{background: #000; color: #fff; text-align: left; padding: 5px 10px; line-height: 120%;}
.resultImgBarcode{max-width: 100%; height: auto;}
.barcodeDownloadBtn{margin: 5px;}

.resultErrorDiv{background: #fff; border: 1px solid #f00;}
.resultErrorHeading{background: #f00; color: #fff; font-weight: bold; text-align: left; padding: 5px 10px; line-height: 120%;}
.resultErrorText{text-align: left; padding: 5px 10px; line-height: 120%;}

#maxReached{background: #ffc0cb; border: 1px dashed #8b0000; text-align: center;}
.cISBN10{font-size: 30px; font-weight: bold; text-align: center; padding: 30px 0px;}
.cISBN13{font-size: 20px; font-weight: bold; text-align: center; padding: 30px 0px;}
.window__button--close {background-color: #ff5f56;}
.window__button--min {background-color: #ffbd2e;}
.window__button--full {background-color: #27c93f;}
.window__button {display: inline-block; border-radius: 50%; height: 0.75rem; margin: 0 0.125rem; width: 0.75rem;}

#description{background: #f9f9f9; border: 1px solid #ccc; padding: 20px; max-width: 800px; margin: 20px auto;}

footer{background: #efefef; padding: 20px; border-top: 1px solid #ccc; text-align: center; transition: margin 0.4s;}


.frmTxt {background: #ffffe0; border: 1px solid #dadce0; border-radius: 5px; padding: 10px; font-size: 120%; width: 100%; box-sizing: border-box;}

/**************
    MENU
**************/

#mainMenu{background: #fff; visibility: hidden; border-right: 1px solid #ccc; width: 280px; float: left; transition: width 0.4s; overflow: auto; position: fixed; bottom: 0px; top: 60px; z-index: 1;}
#mainMenu ul {list-style: none; padding: 0;}
#mainMenu ul li{text-decoration: none; color: #000; white-space: nowrap;}
#mainMenu ul li:hover {background: #f2f6fc;}
#mainMenu ul li a {display: block; padding: 8px 5px 8px 20px; text-decoration: none; color: #3c4043; font-size: 14px; font-weight: normal;}

#menu-container ul .headItem {
  cursor: pointer;
  -webkit-user-select: none; /* Safari 3.1+ */
  -moz-user-select: none; /* Firefox 2+ */
  -ms-user-select: none; /* IE 10+ */
  user-select: none;
  padding: 8px 5px 8px 20px;
  display: block;
}

#menu-container ul .headItem::before {
  content: "\002B";
  color: black;
  display: inline-block;
  margin-right: 6px;
  font-weight: bold;
}

#menu-container ul .headItem-down{background: #e2ecfc; font-weight: bold;}

#menu-container ul .headItem-down::before {
content: "\2212";
}

#menu-container ul.nested {display: none; padding: 0 0 0 20px;}
#menu-container ul.active {
display: block;
background: #f2f6fc;
}

#menu-container ul.active li:hover {
background: #e2ecfc;
}
/****************************/

#content-div{margin-left: 280px; margin-top: 60px; transition: margin 0.4s; padding: 15px 10px; border-left: 1px solid #ccc; box-sizing: border-box;}


@media only screen and (max-width: 1260px) {
#ta-container{grid-template-columns: 170px auto 170px; }
h2{font-size: 1.5rem;}
#mainMenu{width: 0px;}
#mainMenu ul li a {font-weight: normal;}
#content-div{margin-left: 0px; width: 100%;}
#header-sections {grid-template-columns: 0fr auto;}
#resultsContainer {grid-template-columns: unset; grid-column-gap: 0px auto 0px;}
.tool-deck { box-shadow: unset; }
#description{max-width: 100%;}
h2{font-size: 1.5rem;}
}

@media only screen and (max-width: 960px) {
.offcanvas-menu-btn{margin: 0 0 0 5px;}
#header-sections {grid-template-columns: 0fr auto;}
#ta-container{display: block;}
#resultsContainer {grid-template-columns: unset; grid-column-gap: 0px auto 0px;}
.tool-deck{width: 100%;}
#description{max-width: 100%;}
h2{font-size: 1.5rem;}
}
