h2{font-size:24px;
    margin-top: 2px;
    padding-left: 4px;}
h5{font-size:16px; margin: 0;}
h6{font-size:15px;
    margin-top: 2px;
    margin-bottom: 2px;}

#header{
    background-color: transparent;
    min-height: 120px;
    margin-top: -10px;
    margin-bottom: 8px;
    /* position: absolute; */
    z-index: 200;
}

#cont2{
       /*osition: relative;*/
       margin: 0;
       padding: 0;
       box-sizing: border-box;
       font-family: "Arial Unicode MS", sans-serif;
       overflow: hidden; /* Tim changed from visible to hidden to sort white space below footer issue */
        }

.cellText p {
   margin: 0;
   position: absolute;               /* 2 */
   top: 100%; 
    left: 50%;
    margin-right: -50%;
    transform: translate(-50%, -100%);
}
.cellText{
/*    overflow-y: auto;*/
    }

i {
  cursor: pointer;
}

#svgCont{
    position:absolute;
    pointer-events: none;
    z-index: 10;
}
        
#settingsButton{
    position: absolute;
    top: 0px; 
    right: 0px;
    z-index: 80;
    display: none;
}
#settingsButton:hover {
    cursor: pointer;
}

.fa-retweet {
  cursor: pointer;
}

ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

ul.tourList {
    list-style-type: circle; 
    margin: 8px;
    padding: 8px;
}

li.leftpanel {margin-bottom: 10px;
                border-top-right-radius: 10px;
                border-bottom-right-radius: 10px;
                background-color: #606060;
                line-height: 0.95;
}
li.rightpanel {margin-bottom: 10px;
                border-top-left-radius: 10px;
                border-bottom-left-radius: 10px;
                background-color: #606060;
                line-height: 0.95;
}

li.panelHandles:hover {background-color: #909090;
cursor: pointer;
}

.panelHandles > p {
    transform: rotate(90deg);
    transform-origin: 35% 65%;
    font-size: 11pt;
/*    margin-top: 10px;*/
/*    white-space: nowrap;*/
}
.handleClose {
    font-size: 16pt;
    position: relative;
    float: none;
    bottom: 0;
    left: 0;
}

.handleClose:hover {
    color: orange;
    cursor: pointer;
}

#colH, #colHR{   
    float: left;
    white-space: nowrap;}

li.colH, li.colHR {
/*    float: left;*/
/*    clear:right;*/
    display: inline-block;
    white-space: nowrap;
    color: white;
    vertical-align: middle;
    text-align: center;
    cursor: move;
}
li.rowH, li.rowH {
/*  needs to be row1H??  
    float:  none;*/
    color: white;
    vertical-align: middle;
    cursor: move;
}

#row2H {clear: left;}     
        
li.row2H, li.row2HR {
    color: white;
    margin-bottom: 15px;
    cursor: move;
}

li.row1H {
    margin-bottom: 0px;
}

li.row1HR {
    margin-bottom: 0px;
}

.row1H > p {
    margin: 0px;
    vertical-align: middle;
/*    transform: translate(0, px);*/
}

.row1HR > p {
    margin: 0px;
    vertical-align: middle;
/*    transform: translate(0, 25px);*/
}

.row2H > p {
    margin: 0px;
    vertical-align: middle;
/*    transform: translate(0, 165px);*/
}

.cellText {
    color: black;
}

.line {
        stroke:none;
        stroke-width:2;
        }

/* a class for the sortable headings placeholder
.sortable-highlight { height: 1.5em; line-height: 1.2em; background-color: aquamarine;}
*/
#sidePanel {
    position: relative;
    z-index: 40;
    padding-left: 2px;
    padding-right: 2px;
}
#sidePanel > h5,h6{
    padding-left: 0px;
    padding-right: 0px;
}
#sidePanel > h6{
    line-height: 20px;
}

#sidePanel > div.w3-container{
    padding-left: 2px;
    padding-right: 2px;
}
hr{
    padding-top: 2px;
    padding-bottom: 2px;
    margin: 5px;
}

/* Classes for the cell backgrounds, for palatilisation*/
.D_0 {}
.D_1 {background: linear-gradient(45deg, transparent 6%,rgba(0,0,0,0.3) 8%,rgba(0,0,0,0.3) 12%, transparent 14%, transparent 34%, rgba(0,0,0,0.3) 35%,rgba(0,0,0,0.3) 40%, transparent 33%) 0px 0px/24px 9px,
                    linear-gradient(-45deg, transparent 6%,rgba(0,0,0,0.3) 8%,rgba(0,0,0,0.3) 12%, transparent 14%, transparent 34%, rgba(0,0,0,0.3) 35%,rgba(0,0,0,0.3) 40%, transparent 33%) 0px 0px/24px 9px;
/*
  background-size: 24px 9px;
  background-image: linear-gradient(45deg, transparent 6%,rgba(0,0,0,0.3) 8%,rgba(0,0,0,0.3) 12%, transparent 14%, transparent 34%, rgba(0,0,0,0.3) 35%,rgba(0,0,0,0.3) 40%, transparent 33%),
                    linear-gradient(-45deg, transparent 6%,rgba(0,0,0,0.3) 8%,rgba(0,0,0,0.3) 12%, transparent 14%, transparent 34%, rgba(0,0,0,0.3) 35%,rgba(0,0,0,0.3) 40%, transparent 33%);
*/
}

/* The switch - the box around the slider */
.switch {
  position: relative;
  display: inline-block;
  width: 54px;
  height: 25px;
}

/* Hide default HTML checkbox */
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

/* The slider */
.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: .4s;
  transition: .4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 4px;
  bottom: 2.5px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
}

input:checked + .slider {
  background-color: teal;
}

input:focus + .slider {
  box-shadow: 0 0 1px teal;
}

input:checked + .slider:before {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
  border-radius: 30px;
}

.slider.round:before {
  border-radius: 50%;
}

#corner > i{
  position: absolute;
  right: 0px;
  padding: 10px;
}

/* -------- Drop down list of verbs formatting -------- */
#langOpt {
    color: black;
    border: none;
}
#selectBox{
    border-bottom: 2px solid teal;
    min-width: 200px;
    max-width: 300px;
}

/* ----------- end drop down list formatting --------------------*/

#audioDiv{
  position: fixed;
  top: 10px;
  left: 30%;
  width: 300px;
    z-index:90; 
    display: none;
}
#audioClose{
    color: black;
    background-color: #F1F3F4;
    position: absolute;
    top: 0;
    right: 2px;
    z-index:91; 
}

/*.soundIcons{
   text-align: center;
}*/

#tourContainer{
  position: absolute;
  top: 60px;
  left: 0%;
   width: 100%;
   /* min-height: 130%; TIM TEMP DISABLED */
    z-index:100;
    background-color: rgba(20, 20, 20, 0.4);
}

#tourContainer2{
  position: absolute;
  top: 14px;
  right: 66px;
   /*height: 36px;*/
   width: 100%;
   /* min-height: 130%; TIM TEMP DISABLED */
    z-index:100;
    background-color: rgba(20, 20, 20, 0.4);
}

#tour2{
  font-family: "Arial Unicode MS", sans-serif;
  font-size: 1.2em;
  position: absolute;
  top: 0%;
  right: 0%;
   width: auto;
   min-height: 5%;
    z-index:101; 
    background-color: white;
    border-radius: 20px;
    border: 2px solid silver;
}

#tour{
  position: absolute;
  top: 3%;
  left: 10%;
   width: 80%;
   min-height: 80%;
    z-index:101; 
    background-color: white;
    border-radius: 20px;
    border: 2px solid silver;
}




#tour-title {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  padding-left: 10px;
}

#tour-title-item2 {
  position: relative;
  margin: auto;
  left: -12px;
}


#title-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: stretch;
}

#settings-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  background-color: white;
  padding-left: 10px;
  padding-right: 30px;
  margin-bottom: 20px;
  box-shadow: 0 0 10px grey;

}

.stacked_div {
  display: flex;
  flex-direction: column;
}

.settings-bar-column {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.settings-bar-col1 {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-end;
  padding-right: 7px;
}

.settings-bar-col2 {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}

.settings-bar-col3 {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  padding-left: 7px;
}

.settings-bar-row1 {
  padding-top: 10px;
  padding-bottom: 8px;
}

.settings-bar-row2 {
  padding-bottom: 10px;
}

#wrapper {
  min-height: 100%;
  position: relative;
  padding-top: 1px;
}

#content {
  padding-bottom:100px; /* Height of the footer element */
}

#footer {
  width: 100%;
  height: 100px;
  position: absolute;
  bottom: 0;
  left: 0;
}

html, body {
  margin:0;
  padding:0;
  height: 100%;
}

b {
  font-weight: normal;
}

hr {
  border-color: rgb(0, 150, 136, 0.75);
  margin-top: 0.5em;
  margin-bottom: 0.5em;
  margin-left: auto;
  margin-right: auto;
  border-width: 2px;
}

h1 {
  font-size: 2em;
  text-align: center;
  color: rgb(0, 150, 136);
}

h3 {
  color: rgb(0, 150, 136);
  margin-bottom: 3px;
}


#para {
  margin-top: 2px;
  padding-top: 2px; 
}

.opacity {
  opacity: 0.2;
}
