:root{
    --black: black;
    --white: white;
    --darkGray: darkGray;
    --logoLightGreen: #d1e59f;
    --logoDarkGreen: #a3cf44;
    --logoPurple: #694da8;
}

*{
    margin: 0;
    padding: 0;
    border: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    
}

html, body{
    height: 100%;
    width: 100%;
    font-size: 16px;
    background-color: var(--logoLightGreen);
    color: #4b5563;
}

input {
    padding-left: 5px;
}
input:invalid{
    background-color: pink;
}

.gFrm{
  display: none;
  background-color: var(--logoLightGreen);
}
.gFrmHeader{
    background-color: var(--logoDarkGreen);
    padding: 10px 0 10px 0;
    font-size: 200%;
    text-align: center;
    font-weight: bold;
    text-shadow: 2px 2px 5px black;
    width: 100%;
    justify-content: center;
    border-radius: 5px;
    text-decoration: underline;
    color: white;
}

.gDataTbl{
    width: 100%;
    margin-top: 10px;
}
.gDataTbl tr{
    width: 100%;
}
.gDataTbl, .gDataTbl th, .gDataTbl td{
    background-color: white;
    border: 1px solid var(--grey);
    border-collapse: collapse;
}

.gBtnSave{
    background-color: var(--logoPurple);
    color: white;
    padding: 5px 10px 5px 10px;
    border-radius: 5px;
    cursor: pointer;
}
.gBtnClose{
    background-color: white;
    color: black;
    padding: 5px 10px 5px 10px;
    border-radius: 5px;
    border: 1px solid black;
    cursor: pointer;
}

.gMask{
    width: 100%;
    background-color: rgba(0,0,0,0.5);
    z-index: 3;
    display: none;
    position: absolute;
    margin: 0;
    padding: 0;
    top: 0;
    left: 0;
    text-align: center;
}
.gLoader{
    position: fixed;
    border: 8px solid var(--darkBrown);
    border-radius: 50%;
    border-top: 8px solid var(--lightBrown);
    border-bottom: 8px solid var(--lightBrown);
    width: 60px;
    height: 60px;
    top: calc(50% - 30px);
    left: calc(50% - 10px);
    margin-left: -30px;
    margin-top: -30px;
    -webkit-animation: spin 2s linear infinite; /* Safari */
    animation: spin 2s linear infinite;
}
.gFloatView{
    height: 100%;
    width: 100%;
    background-color: rgba(0,0,0,0.5);
    z-index: 2;
    display: none;
    position: absolute;
    margin: 0;
    padding: 0;
    top: 0;
    left: 0;
    text-align: center;
}
.gFloatScreen{
    position: absolute;
    top: 4.4vw;
    z-index: 3;
    max-height: 83vh;
}

.gLabel{
    display: block;
    margin-top: 5px;
}
.gLabel input{
    height: 30px;
    display: block;
    border: 1px solid black;
    padding-left: 5px;
    width: 100%;

}

.gFrmHeader{
  background-color: var(--logoDarkGreen);
  padding: 10px 0 10px 0;
  font-size: 150%;
  text-align: center;



}

.gFrmBody{
    padding: 5px 10px 5px 10px;
}

.gFrmFooter{
    display: flex;
    flex-flow: row nowrap;
    justify-content: flex-end;
    padding: 10px 10px 10px 10px;
}

.gjs_textareaCon{
    position: relative;
    width: 100%;
    margin: 0;
    padding: 0;
}
.gjs_textareaCon textarea{
  resize: none;
  overflow: hidden;
  width: 100%;
  background-color: var(--white);
  box-sizing: border-box;
  min-height: 30px;
  border: var(--logoPurple) solid 1px;
  border-radius: 3px;
  padding: 7.5px;
}
.gjs_textareaCon span{
    position: absolute;
    right: 10px;
    top: 2px;
    color: black;
    font-size: 8px;
}


#toolTip {
  padding: 5px;
  position: absolute;
  background-color: rgba(0, 0, 0, 0.8);
  color: var(--white);
  display: none;
  z-index: 10;
  -webkit-transition: opacity 0.5s;
  -moz-transition: opacity 0.5s;
  -o-transition: opacity 0.5s;
  transition: opacity 0.5s;
}

#infoBox {
  width: 250px;
  color: var(--white);
  background-color: var(--logoPurple);
  border-radius: 15px;
  z-index: 4;
  display: none;
  position: absolute;
  margin: 0;
  padding: 15px;
  text-align: center;
  font-family: montserrat-light;
}
#infoBox header {
  margin-top: 15px;
  font-family: montserrat;
  font-weight: bold;
  font-size: 24px;
}
#infoBox img {
  margin-bottom: 3px;
  height: 50px;
  width: 50px;
}
#infoBox p {
  font-family: montserrat;
  font-weight: bold;
  font-size: 24px;
}
#infoBox .btnBox {
  margin-top: 10px;
  width: 100%;
  clear: both;
}
#infoBox .btnBox div {
  margin-bottom: 10px;
  color: var(--white);
  height: 40px;
  line-height: 37px;
  border-radius: 5px;
  font-size: 24px;
  cursor: pointer;
}

#dataListCon {
  position: absolute;
  display: none;
  background-color: var(--white);
  border: 1px solid var(--logoPurple);
  z-index: 4;
  max-height: 300px;
  overflow-y: scroll;
}
#dataListCon .googleLogo{
    width: 144px;
    height: 18px;
    float: right;
}
#dataList {
  width: 100%;
  height: 100%;
  text-align: left;
  overflow-y: auto;
}
#dataList tr {
  position: relative;
  height: 40px;
}
#dataList td {
  text-align: left;
  border-bottom: 1px solid var(--darkGrey);
  height: 25px;
  cursor: pointer;
  width: 100%;
  padding-left: 5px;
  vertical-align: middle;
}
#dataList td:hover {
    background-color: var(--logoDarkGreen);
    color: var(--logoPurple);
}
#dataList img {
  height: 20px;
  width: 20px;
  display: inline-block;
}


#webView{
    display: grid;
    grid-template-areas:
      'header'
      'body';
    grid-template-rows: 60px auto;
    height: 100%;
}
#webView .salesHeader{
    grid-area: header;
    display: flex;
    flex-flow: row nowrap;
    justify-content: start;
    align-items: center;
    background-image: linear-gradient(white, var(--logoPurple));
}
#webView .salesHeader .logo{
    max-height: 80%;
}
#webView .salesHeader .webVMenuCon{
    display: flex;
    flex-flow: column nowrap;
    justify-content: end;
    align-items: center;
    height: 100%;
    width: 100%;
}

#webView .webVMenuCon .menu{
    list-style: none;
    color: var(--white);
    text-align: center;
    width: 100%;
    font-size: 150%;
}
#webView .menu .selecter{
    position: relative;
    height: 1px;
    background-color: var(--logoDarkGreen);
    visibility: hidden;
}
#webView .webVMenuCon .menu li{
    display: inline-block;
    position: relative;
    margin-left: 20px;
    cursor: pointer;
    margin-bottom: 5px;
}
#webView .webVMenuCon .menu li:hover .selecter{
    visibility: visible;
}
#webView .webVMenuCon .menu li:hover .popMenu{
    max-height: 500px;
}

#webView .menu .popMenu{
    display: flex;
    background-color: var(--logoLightGreen);
    flex-flow: column nowrap;
    justify-content: center;
    position: absolute;
    max-height: 0px;
    width: auto;
    transition: max-height 0.3s;
    overflow: hidden;
}
#webView .menu .popMenu a{
    border: 1px solid var(--logoPurple);
    white-space: nowrap;
    padding: 5px;
}
#webView .menu .popMenu a:hover{
    background: var(--logoDarkGreen);
}

#webView .salesHeader .userCon{
    justify-self: end;
    width: 150px;
    height: 100%;
}
#webView .userCon .signUpCon{
    display: flex;
    flex-flow: row nowrap;
    align-items: center;
    justify-content: space-around;
    height: 100%;
    width: 98%;

}

#webView .webViewBody{
    grid-area: body;
    display: flex;
    justify-content: center;
    overflow: hidden;
    height: 100%;
    width: 100%;

}

#frmHome{
    grid-template-columns: 33.3% 33.3% 33.3%;
    grid-template-rows: 33.3% 33.3% 33.3%;
    max-width: 1000px;
    max-height: 800px;
    height: 100%;
    width: 100%;
    margin-top: 20px;
}

#frmHome a{
    height: 100%;
    width: 100%;
    padding: 5px;
    cursor: pointer;
    overflow: hidden;
}
#frmHome img{
    max-height: 100%;
    max-width: 100%;
    box-shadow: 1px 1px 5px var(--black);
    background-color: white;
    padding: 5px;
    border-radius: 5%;
}

#frmHome .logoCon{
    display: flex;
    justify-content: center;
    align-items: center;
}
#frmHome .logo{
    border-radius: 50%
}
#frmHome .topLeft{
    display: flex;
    justify-content: flex-end;
    align-items: end;
}
#frmHome .topMid{
    display: flex;
    justify-content: center;
    align-items: center;
}
#frmHome .topRight{
    display: flex;
    justify-content: flex-start;
    align-items: end;
}
#frmHome .midLeft{
    display: flex;
    justify-content: flex-end;
    align-items: center;
}
#frmHome .midRight{
    display: flex;
    justify-content: flex-start;
    align-items: center;
}
#frmHome .botLeft{
    display: flex;
    justify-content: center;
    align-items: start;
}
#frmHome .botMid{
    display: flex;
    justify-content: center;
    align-items: flex-start;
}
#frmHome .botRight{
    display: flex;
    justify-content: center;
    align-items: start;
}

#frmContactUs{
    margin-top: 10px;
    width: 500px;
    height: 600px;
    max-height: 100%;
    border-radius: 5px;
    border: 1px solid black;
    box-shadow: 2px 2px 5px black;
    background-color: white;
    overflow-y: scroll;
    
}
#frmContactUs .frmCon{
    margin-top: 50px;
    display: flex;
    flex-flow: column nowrap;
    align-items: center;
    font-size: 150%;
}
#frmContactUs .frmCon .firstName{
    font-weight: bold;
    font-size: 180%;
}

#frmSales{
    height: 100%;
    width: 100%;
    overflow: hidden;
}
#frmSales .bodyGrid{
    display: grid;
    grid-template-columns: 400px auto;
    height: 100%;
    width: 100%;
}
#frmSales iframe{
    width: 100%;
    height: 100%;
    overflow-y: auto;
}

#frmSales .ordersCon{
  background-color: var(--logoLightGreen);
}
#frmSales .ordersCon header{
  background-color: var(--logoDarkGreen);
  padding: 10px 0 10px 0;
  font-size: 150%;
  text-align: center;
}
#frmSales .ordersCon .orderBody{
    width: 100%;
    padding: 10px 10px 10px 10px;
    display: flex;
    flex-flow: column nowrap;
}

#frmSales .ordersCon input{
    display: block;
    height: 25px;
}
#frmSales .ordersCon select{
    display: block;
    height: 20px;
}

#frmSales .inputBoxCon{
    display: flex;
    flex-flow: column nowrap;
    border-bottom: 1px solid black;
}
#frmSales .inputBoxRow{
    display: flex;
    flex-flow: row nowrap;
    margin: 5px 0 5px 0;
}
#frmSales .inputBoxRow.single label{
    width: 100%;
}
#frmSales .inputBoxRow.single input{
    width: 100%;
}

#frmSales .inputBoxRow label{
    margin-right: 10px;

}

#frmSales .inputBoxBtnCon{
    display: flex;
    flex-flow: row nowrap;
    justify-content: flex-end;
    margin-top: 10px;
    width: 100%;
}

#frmSales #frmSalesBtnSave.disable{
    opacity: 0.5;
}

#frmSales .ordersCon .gDataTbl input{
    width: 100%;
    border: 1px solid black;
}
#frmSales .ordersCon .gDataTbl select{
    width: 100%;
    border: 1px solid black;
}

#frmSales .ordersCon .gDataTbl{
    font-size: 80%;
    width: calc(100% - 10px);
    text-align: left;
}
#frmSales .ordersCon .gDataTbl td:nth-child(2){
    width: 60px;

}
#frmSales .ordersCon .gDataTbl td:nth-child(3){
    width: 70px;
}
#frmSales .ordersCon .gDataTbl td:nth-child(4){
    width: 50px;
}
#frmSales .ordersCon .gDataTbl td:nth-child(5){
    width: 40px;
}
#frmSales .ordersCon .gDataTbl td:nth-child(6){
    width: 35px;
}

#frmSales .ordersCon .gDataTbl td{
    padding: 3px;
    border-bottom: solid 1px black;
    border-right: solid 1px var(--logoPurple);
}
#frmSales .ordersCon .gDataTbl td:last-child{
    width: 23px;
    background-image: url(../img/icoDelete.png);
    background-repeat: no-repeat;
    background-size: contain;
    cursor: pointer;
}

#frmSales .ordersCon .addNote{
    font-size: 110%;
    margin-top: 10px;
    margin-bottom: 2px;
}

#frmSales .newTabNote{
    margin-top: 100px;
    display: flex;
    flex-flow: column nowrap;
}
#frmSales .newTabNote p{
    font-size: 200%;
}
#frmSales .newTabNote .newTabLblCon{
  display: flex;
  flex-flow: row nowrap;
  justify-content: center;
}
#frmSales .newTabNote .orderCon{
  display: flex;
  flex-flow: row nowrap;
  align-items: flex-end;
}
#frmSales .newTabNote img{
    height: 200px;

}

#frmSales .footer{
    display: flex;
    flex-flow: row nowrap;
    margin-top: 30px;
    justify-content: flex-end;
}

#frmSales .catCon{
    background-color: white;
}

#frmClient{
    width: 500px;
}
#frmClient .contact .doubleInput{
    display: flex;
    flex-flow: row nowrap;
    justify-content: space-between;
}
#frmClient .contact input{
    display: inline-block;
    border: 1px solid black;
    height: 30px;
    padding-left: 5px;
    width: 49%;
}
#frmClient input[type=checkbox]{
    margin-top: 10px;
    width: 15px;
    height: 15px;
}


#frmClient .addSearch{
    margin-top: 20px;
}
#frmClient .short{
    width: 20%;
}
#frmClient .gFrmFooter .js_btnClose{
    margin-right: 10px;
}

#frmAbout{
    margin-top: 10px;
    width: 700px;
    height: 700px;
    border-radius: 5px;
    border: 1px solid black;
    box-shadow: 2px 2px 5px black;
    background-color: white;
}
#frmAbout p{
    padding: 10px;
    margin-top: 10px;
    font-size: 18px;
    
    text-align: justify;
}
