body {
  margin: 0;
  font-size: calc(0.4em + 1vw);
  font-family: arial;
  background-image: linear-gradient(135deg, #ebeeff, #deffe7, #ebeeff, #deffe7, #ebeeff, #deffe7, #ebeeff);
  overflow-x: hidden;   
  -webkit-user-select:none;
  -moz-user-select:none;
  -ms-user-select:none;
  -o-user-select:none;
  user-select:none;
}

.indexContainer { /* index/php */
  margin: 1em auto 1em auto;
  width: min(75ch, 100%);
  min-width: 40em;
  padding: 2em 1em 5em 1em;
  background-color: white;
  box-shadow:  0.7em 0 1em 0 gray, -0.7em 0 1em gray;
}

 /* company name index.php */
#nameBanner {
  text-align: center;
  font-size: 1.6em;
  margin-bottom: 1em;
}
#nameBanner::before, #nameBanner::after {
    content:"";	
    background-size: 1.4em 1.4em;
    display: inline-block;
    width: 1.4em; 
    height: 1.4em;
}
#nameBanner::before { background-image: url('Bluebell-L.gif'); }
#nameBanner::after  { background-image: url('Bluebell-R.gif'); }

/* "how it works" */
#instructions {
  margin: 0 auto 2em auto;	
  width: 80%;
  padding: 1em;
  box-shadow: 0.3em 0.3em 0.7em gray;
  font-size: 1.2em;
}
#instructions li {
  margin-left: .5em;
  margin-top: 0.3em;
}

h2 { 
  text-align: center;
  margin: 0 0 0.3em 0;
}
p { padding-bottom: 0.3em; }

/* login dialog */
#loginForm { 
  display: none; 
  background: rgb(255,255,255);
  background: linear-gradient(322deg, rgba(255,255,255,1) 0%, rgba(251,255,255,1) 81%); 
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  padding: 4em;
  margin: auto; 
}
#loginTable { 
  border-collapse: collapse;
  width: 90%;
}

#loginTable td {
  padding-top:.5em;
}
.loginTitlebar {
	text-align: center;
    background: rgb(248,255,255);
    background: linear-gradient(0deg, rgba(248,255,255,1) 0%, rgba(238,253,255,1) 80%);rgba(223,251,254,1) 87%);
    color: gray;
    border: 1px solid #007bff;
}

#Email, #Password {
  font-size: 1.2em !important;
  padding-left: 0.2em;
  height: 2em;
  border:1px solid black;
  text-align:left;
}
#Email: { width: 100%;}
#Password {
  width:85%;
  height: 2em;
  border:1px solid black;
}
#pwContainer { 
   display: flex;
   align-items: center;
}
#hideShowSymbol {
  position: relative;
  height: 1.3em;
  cursor: pointer;
  margin: auto;
  z-index: 15;
}
#hideShow {
  width: 15%;
  padding:  .4em 0 0 1em;
  box-sizing: border-box;
  z-index: 10;
  height: 2.2em;
  font-size: 1.2em;
  padding-left: 0.2em;
  border:1px solid black;
}
#forgot {
  height: 0.1em;
  text-align: left;
}
#forgotLink, #hideShowLink, #hideShowSymbol {
  cursor: pointer;
}
#forgotLink:hover, #hideShowLink:hover {
  color: blue;
}
.smallType{
  height: 0.7em;
  font-size: 1.2em;	
}
.tdLabel {
  font-size: 1.2em;
  text-align: right;
}

#gear {
  width:30px;
}
#Message {
  display: flex; 
  align-items: center;
  justify-content: center;
  min-height: 1.3em;
}

/* new or returning studernt dialog */
#createOrLogin {
  display: none;
  text-align: center;
  width: fit-content;
  background-color: white;
  border: 1px solid blue;
  font-size: 1.2em;
  padding: 1em;
  margin: auto;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}
#createOrLogin > div {
  margin: .5em auto;
}

.candybar {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  width: 50%; 
  background-color: white;
  color: black;
  border: 5px solid black;
  border-radius: 1em;
  padding: 1.5em 2.5em;
  font-size: 2em;
  font-weight:bold;
  text-align: center;
  z-index: 1000 !important;
}
.candybar img {
  max-width: 100%;
  margin-right: 10px; 
}

/* buttons styling */
#buttonLine {
  display: flex;
  justify-content: space-around;
  margin-bottom: 2em;
}
#welcome {
  margin: auto 0;
  text-align: right;
}

.buttonStyle {
  width: fit-content;
  font-size: 1.2em;
  padding: 0.3em;
  border: 1px solid black;
  border-radius: 0.3em;
  box-shadow: 0.3em 0.3em 0.7em gray;
  margin: auto 0;
  text-align: center;
}
.buttonDisabled {  
  cursor: default;
  color: #777777;
  background-color: #dddddd;
}
.buttonEnabled {  
  cursor: pointer;
  color:white;
  background-image: linear-gradient(180deg, #00b359, #00ff00);
}
.buttonEnabled:hover, label:hover {
  text-shadow: brown 0.3em 0.3em 0.7em;
}
.buttonEnabled:active {
   background-color:white;
}
.buttonDisabled:hover {  
  background-color: red;
}

#haveAccount {font-size: 1.2em;}

/* CV */
#bioLink {
  color:blue;
  text-decoration: underline;
}
#bioLink:hover {
  cursor: pointer;
}
#mugshot {
  text-align:center;
}
#mugshotpic {
  border-radius: 5%;
  width: 6em;
  box-shadow: 3px 2px 2px 0px rgba(0,0,0,0.31);
}
.fixed-dialog.ui-dialog {
  position: fixed !important;
}

#bioBox, #infoDialog {
  display: none;
  font-size: 0.7em;
}
#bioTitle, #infoDialog {
  text-align:center;
  font-size: 1.4em;
}
.cvLabel {
  font-weight: bold;
  width: fit-content;
  margin-top: 0.5em;
  margin-right: 3em;
  vertical-align: top;
}
/* course listings */
#courses {
  margin-left: auto;
  margin-right: auto;
  border-collapse: collapse;
  width:100%;
}
#courses tr {
  padding-bottom: 1em;
}
#courses tr:nth-child(even) {background: #fae5e3;}
#courses tr:nth-child(odd) {background: #f8fad9;}
#courses tr:first-child {background: white;}
#courses tr:nth-child(2) {background: white;}
#courses td {
  text-align: center;
  border-bottom: 0.3em solid white;
  padding: 0.5em;
}
#time, #title, #fee {
  text-align: center;
  font-size: 1.3em;
  font-weight: bold;
  line-height: 1.5em;
}
#creditsBubble {
  padding: 1em;
  font-size: 1.2em;
  background-color: #d7f7f6;
  border-radius: 50%; /* makes oval */
  box-shadow: 0.3em 0.3em 0.6em gray;
}
.pcItem {
  display: none;
  background-color:white;
}
#pastCourses {
  cursor:pointer;
  font-size:1.5em;
  text-align:left;
  width:fit-content;
  color:blue;
}
@media only screen and (min-resolution: 200dpi) {
  bo dy { font-size: calc(0.6em + 1vw); } 
  .indexContainer { width: 100%; } 
}

