:root{
    --black: black;
    --aqua: #64d1c3;
    --white: white;
    --darkGray: darkGray;
    --darkBlue: #005cac;
    --lightBlue: #01aff1;
    --navy: #163b78;
}

*{
    margin: 0;
    padding: 0;
    border: 0;
    box-sizing: border-box;
}

html{
    display: flex;
    justify-content: center;
}
html, body{
    height: 100%;
    width: 100%;
    font-size: 16px;
    overflow: hidden;


}
body{
    position: relative;
    max-width: 500px;
}

input {
    padding-left: 5px;
}
input:invalid{
    background-color: pink;
}

table{
    border-collapse: collapse;
    width: 100%;
}

.gFrm{
  position: relative;
  top: 50px;
  display: none;
  max-height: 83vh;
  width: 100%;
  background-color: white;
  border: solid 1px var(--darkBlue);
  border-radius: 5px;
  box-shadow: 1px 1px 5px black;
  overflow-y: auto;
}
.gFrmHeader{
    display: flex;
    position: sticky;
    top: 0px;
    flex-flow: row nowrap;
    justify-content: space-between;
    align-items: center;
    background-color: var(--lightBlue);
    color: white;
    text-shadow: 2px 2px 3px black;
    padding: 5px 10px 5px 10px;
    font-size: 200%;
    width: 100%;

}
.gFrmClose{
    height: 30px;
    cursor: pointer;
}
.gFrmEdit{
  height: 30px;
  cursor: pointer;
}
.gFrmSection{
    display: block;
    margin-top: 10px;
    margin-bottom: 5px;
    font-size: 130%;
    color: var(--darkBlue);
    text-decoration: underline;
}

.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(--darkBlue);
    color: white;
    padding: 5px 10px 5px 10px;
    border-radius: 5px;
    cursor: pointer;
    min-width: 80px;
    text-align: center;
}
.gBtnDel{
    background-color: white;
    color: red;
    padding: 5px 10px 5px 10px;
    border-radius: 5px;
    border: 1px solid red;
    cursor: pointer;
    text-align: center;
    margin-right: 10px;
}

.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;
    height: 83vh;
}

.gLabel{
    display: block;
    margin-top: 5px;
}
.gLabel input{
    height: 30px;
    display: block;
    border: 1px solid black;
    padding-left: 5px;
    width: 100%;

}
.gLabel select{
    height: 30px;
    display: block;
    border: 1px solid black;
    padding-left: 5px;
    width: 100%;
}
.gInput {
    height: 30px;
    display: block;
    border: 1px solid black;
    padding-left: 5px;
    width: 100%;
}

.gSideLabel{
    display: flex;
    flex-flow: row nowrap;

}

.gFrmBody{
    padding: 5px 10px 5px 10px;
    width: 100%;
}

.gFrmFooter{
    display: flex;
    flex-flow: row nowrap;
    justify-content: flex-end;
    padding: 10px 10px 10px 10px;
    border-top: 1px solid var(--darkBlue);
    background-color: white;
}

.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(--darkBlue) 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(--darkBlue);
  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(--darkBlue);
  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(--darkBlue);
    color: white;
}
#dataList img {
  height: 20px;
  width: 20px;
  display: inline-block;
}
#dataList .btnAdd{
    background-color: var(--lightBlue);
    color: black;
    padding: 5px;
    border-radius: 5px;
    max-width: 200px;
    text-align: center;
}

.backImg{
    top: 50px;
    position: absolute;
    background-image: url('../img/background.jpg');
    background-size: contain;
    background-repeat: no-repeat;
    height: 100%;
    width: 100%
}

#appView .aVHeader{
    position: relative;
    top: 50px;
    width: 100%;
    display: flex;
    flex-flow: row nowrap;
    justify-content: space-between;
    align-items: center;
    background-color: white;
    height: 40px;
    transition: top 0.5s;
}
#appView .aVHeader .logo {
    border-radius: 50%;
    height: 70px;
}
#appView .aVHeader .viewBtnCon{
    width: 30%;
    display: flex;
    justify-content: center;
}
#appView .aVHeader .viewBtn{
    border: 1px solid black;
    padding: 5px;
}
#appView .aVHeader .viewBtn.selected{
    background-color: var(--navy);
    color: white;
}


#frmHome .homeImg{
    margin-top: 10px;
    width: 100%;
}

#frmVideos .videoCon{
    display: flex;
    flex-flow: row wrap;
}
#frmVideos .fileItem{
    display: flex;
    flex-flow: column nowrap;
    margin-right: 10px;
    border: 1px solid black;
    padding: 5px;
}
