html{color:#000;background:#FFF}body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,code,form,fieldset,legend,input,textarea,p,blockquote,th,td{margin:0;padding:0}table{border-collapse:collapse;border-spacing:0}fieldset,img{border:0}address,caption,cite,code,dfn,em,strong,th,var{font-style:normal;font-weight:normal}ol,ul{list-style:none}caption,th{text-align:left}h1,h2,h3,h4,h5,h6{font-size:100%;font-weight:normal}q:before,q:after{content:''}abbr,acronym{border:0;font-variant:normal}sup{vertical-align:text-top}sub{vertical-align:text-bottom}input,textarea,select{font-family:inherit;font-size:inherit;font-weight:inherit;*font-size:100%}legend{color:#000}#yui3-css-stamp.cssreset{display:none}

html {
  height: 100%
}

body {
    display: flex;
    height: 100%;
    flex-direction: column;
    overflow: hidden;
    box-sizing: border-box;
}

section {
  min-width: 320px;
}

p {
  font-family: 'Gotu', sans-serif;
  font-size: 18px;
}

input {
  font-family: 'Gotu', sans-serif;
}

button {
  font-family: 'Gotu', sans-serif;
}

.logo {
    height: 70px;
}



button.header_login {
    color: white;
    background: #4C8FFB;
    border: 1px #3079ED solid;
    box-shadow: inset 0 1px 0 #80B0FB;
    font-weight: 700;
    margin-right: 5px
}

button.header_register {
  color: white;
  font-weight: 700;
  background: none;
  border: none;
  text-decoration: underline;
  outline: none;
  margin-right: 5px
}

button.header_register,
button.header_login {
  font-size: 20px;
}

.main {
  flex: 1;
  border: solid black 2px;
  font-family: 'Gotu', sans-serif;
}

#Banner_div {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  font-size: 18px;
  text-align: center;
  background: #856e2e;
  height: 100%;
}

#Navbar {
  height: 80px;
  flex-shrink: 0;
}

#Middle {
  flex-grow: 1;
  overflow-y: auto;
  border: solid black 4px;
  -ms-overflow-style: none;
}

.inside_shadow {
  -webkit-box-shadow:inset 0px 0px 0px 10px black;
  -moz-box-shadow:inset 0px 0px 0px 10px black;
  box-shadow:inset 0px 0px 0px 4px black;
}

/* Hide scrollbar for Chrome, Safari and Opera*/
#Middle::-webkit-scrollbar {
  display: none;
}

#Bottom {
  flex-shrink: 0;
}


@font-face {
    font-family: CharlemagneStd-Bold;
    src: url("/images/quest/fonts/CharlemagneStd-Bold.otf") format("opentype");
}

#Banner_div p {
  margin: 5px;
}

#Banner_div .icon_div{
  display: flex;
}

#Banner_div .icon {
  width: 20px;
  height: 20px;
  margin: 5px;
}

#Footer_div {
  background: #856e2e;
  display: flex;
  width: 100%;
  height: 100%;
  flex-direction: column;
  justify-content: center;
}

#Buttons_div {
  display: flex;
  justify-content: space-between;
  width: 100%;
}

#Author_div {
  display: flex;
  width: 100%;
}

#Author_div a:visited,
#Author_div a {
  text-align: center;
  margin: 5px;
  color: white;
}
#Author_div p {
  width: 100%;
  font-size: 18px;
  text-align: center;
  margin: 10px;
}

#Buttons_div p,
#Buttons_div button {
  display: flex;
  text-align: center;
  margin: 10px;
  font-size: 18px;
  font-family: 'Gotu', sans-serif;
}

#Text_div {
  margin: 10px;
}

#Puzzle_Question_div {
  margin: 10px;
  font-size: 18px;
  text-align: center;
  font-family: 'Gotu', sans-serif;
}

.spear_pic {
  overflow: hidden;
  height: 150px;
  width: 300px;
}

.spear_pic img{
  margin: -70px 0px -100px 0px;
}

#Available_Items_div {
  margin: 0px 10px 0px 10px;
}

#Text_div p{
  margin: 10px;
  font-size: 18px;
}

.hide {
  display: none !important;
}

#Main_Section {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  height: 100%;
}

#Send_Results_div {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

h2 {
  font-size: 30px;
  font-weight: 700;
  text-align: center;
  font-family: CharlemagneStd-Bold, serif;
  color: #eb2724;
  -webkit-text-stroke-width: 1px;
  -webkit-text-stroke-color: black;
  margin-top: 5px;
}

#Weapons_div h3 {
  font-size: 25px;
  font-weight: 700;
  text-align: center;
  margin-top: 20px;
}

 #Weapons_div {
   display: flex;
   flex-direction: column;
   text-align: center;
 }

#Middle_Weapons {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
}

#Middle_Weapons div {
  width: 33%
}

#Weapons_div img {
  width:200px;
  margin-top: 20px;
  align-self: center;
}

#Available_Items_div,
#Player_Items {
  display: flex;
  flex-direction: column;
}

#Available_Items_div div,
#Backpack_Items_div div,
#Equipped_Items_div div,
#Ground_Items_div div {
  display: flex;
  flex-direction: row;

}

#Review_Form_div p,
#Review_Form_div button,
#Client_Login_div p,
#Client_Login_div button,
#Register_Account_div p,
#Register_Account_div button,
#Home p,
#Home button,
#Available_Items_div p,
#Available_Items_div button,
#Backpack_Items_div p,
#Backpack_Items_div button,
#Equipped_Items_div p,
#Equipped_Items_div button,
#Ground_Items_div p,
#Ground_Items_div button{
  flex-shrink: 0;
  margin: 5px;
  font-size: 18px;
  font-family: 'Gotu', sans-serif;
}


.divider {
  flex-grow: 1;
}

#Main_Section section {
  min-width: 320px;
}
#Review_Form_div form,
#Client_Login_div form,
#Register_Account_div form {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  align-items: center;
}

#Comment {
  width: 90%;
}

#Action_div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-bottom: 20px;
}


#Review_Form_div button,
#Client_Login_div input,
#Client_Login_div button,
#Register_Account_div input,
#Register_Account_div button,
#Action_div input,
#Action_div button{
  font-family: 'Gotu', sans-serif;
  margin: 5px;
  font-size: 18px;
  text-align: center;
}

#Combat_div {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

#Enemy_Pic_div {
  display: flex;
  justify-content: center;
}

#Enemy_Name_div {
  font-size: 18px;
  font-weight: 700;
  text-align: center;
  margin: 10px;
}
#Enemy_Heading {
  margin: 10px;
  font-size: 18px;
  font-weight: 700;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

#Combat_Outcome_Table_div {
  margin-left: 10px;
  margin-right: 10px;
  margin-top: 5px;
  margin-bottom: 5px;
  font-size: 18px;
}

#Notes_Textbox  {
  margin: 5%;
  width: 90%;
  height: 75%;
  font-size: 18px;
  box-sizing:border-box
}

#Notes_Buttons_div {
  font-family: 'Gotu', sans-serif;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  margin-bottom: 5%;
  margin-left: 20px;
  margin-right: 20px;
}

#Notes_Buttons_div button {
  font-family: 'Gotu', sans-serif;
  display: flex;
  font-size: 18px;
}

#Puzzle_div {
  display:flex;
  flex-direction: column;
  align-items: center;
}

#Image_div {
  display: flex;
  justify-content: center;
}

.body_text {
  font-size: 14px;
  color: grey;

}

.wrong {
  background: red;
}

.correct {
  background: green;
}

#Puzzle_Timer_div {
  font-size: 24px;
  font-weight: 600;
  text-align: center;
}

.battle_note p {
  font-size: 18px;
  margin-left: 10px;
  margin-right: 10px;
}

#Number_Chain_div label > input{ /* HIDE RADIO/CHECK */
  visibility: hidden; /* Makes input not-clickable */
  position: absolute; /* Remove input from document flow */
}

#Number_Chain_div label > input + p{
    box-shadow: inset 0 0 2px black;
}

#Number_Chain_div {
  width: 90%;
  padding-top: 90%;
  margin-left: 5%;
  position: relative;
}

#Number_Chain_Board {
  border: solid black 3px;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
}

#Number_Chain_Board p {
    height: 100%;
    width: 100%;
    text-align: center;
    font-weight: bold;
    font-size: 4vw;
    margin: 0px;
}

#Number_Chain_Board div {
  display: flex;
  flex-direction: row;
  z-index: -1;
}

#Number_Chain_Board input {
  font: 20px;
  width: 20px;
  height: 20px;
}

#Number_Chain_Board .chain1 {
    background: green !important;
}
#Number_Chain_Board .chain2 {
    background: purple !important;
}
#Number_Chain_Board .chain3 {
    background: blue !important;
}
#Number_Chain_Board .chain4 {
    background: red !important;
}
#Number_Chain_Board .chain5 {
    background: orange !important;
}
#Number_Chain_Board .chain6 {
    background: yellow !important;
}

#Number_Chain_Board label > input:checked + p {
    background: yellow;
}

/*disables click and drag select*/
body {
  -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
     -khtml-user-select: none; /* Konqueror HTML */
       -moz-user-select: none; /* Old versions of Firefox */
        -ms-user-select: none; /* Internet Explorer/Edge */
            user-select: none; /* Non-prefixed version, currently
                                  supported by Chrome, Opera and Firefox */
}

.health_loss {
  color: red;
  font-weight: 700;
  text-align: center;
}

.health_gain {
  color: green;
  font-weight: 700;
  text-align: center;
}

.enemy_defeated, .defended, .enemy_hit {
  color: green;
}

.enemy_defeated {
  font-weight: 700;
}

.player_hit, .enemy_defended {
  color: red;
}

.grow {
  width: 140px;
}
.shrink {
  flex-shrink: 0;
}

.left {
  text-align: left;
}

.right {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-right: 10px;
}


.right a {
  padding: 5px;
}

.right a {
  color: white;
  text-decoration: none;
}

.right a:hover {
  cursor: pointer;
}

#Banner a:visited {
  color: white;
}

#Review_Form_div,
#Client_Login_div,
#Register_Account_div,
#Home {
  display: flex;
  justify-content: center;
  border: none;
}

#Home {
  width: 100%;
}

#Home div {
  padding-top: 20px;
  padding-bottom: 20px;
}

#Home img {
  width: 160px;
  height: 160px;
  margin: auto;
  margin-top: 5px;
  margin-bottom: 5px
}


#Review_Form_div div,
#Client_Login_div div,
#Register_Account_div div,
#Home div {
  display: flex;
  flex-direction: column;
  max-width: 750px;
  width: 100%;
  text-align: center;
}

#Review_Form_div input {
  width: 95%;
  text-align: left;
}

#Client_Login_div input,
#Register_Account_div input {
  width: 95%;
  text-align: center;
}

#Heading_div {
  padding-top: 10px;
}

#Heading_div a {
  margin-top: 20px;
  font-size: 50px;
  font-weight: 700;
  font-family: CharlemagneStd-Bold, serif;
  color: #eb2724;
  -webkit-text-stroke-width: 1px;
  -webkit-text-stroke-color: black;
  text-decoration: none;
}


#Client_Login_div h1,
#Register_Account_div h1,
#Home h1 {
  font-size: 30px;
  text-align: center;
  font-weight: 700;
  margin: 10px;
  font-family: CharlemagneStd-Bold, serif;
  color: #eb2724;
  -webkit-text-stroke-width: 1px;
  -webkit-text-stroke-color: black;
}

#Email_Reset_Instructions_Button {
  background: none!important;
  border: none;
  padding: 0!important;
  /*optional*/
  font-family: arial, sans-serif;
  /*input has OS specific font-family*/
  color: #069;
  text-decoration: underline;
  cursor: pointer;
  text-align: right;
  font-size: 10px !important;
}

#Review_Form_div form .ratings_boxes_div {
  display: flex;
  flex-direction: row;
}

#Comment {
  height: 100px;
  text-align: left;
}

#Review_div label > input{ /* HIDE RADIO/CHECK */
  visibility: hidden; /* Makes input not-clickable */
  position: absolute; /* Remove input from document flow */
}

.ratings_boxes_div {
  display: flex;
  width: 100%;
  flex-direction: row;
  justify-content: space-around;
}

#Review_div label > input + p {
    cursor:pointer;
    border:2px solid black;
    margin: 5px;
    font-size: 20px;
    padding: 10px;
}

#Review_div label > input:checked + p {
    box-shadow: inset 0 0 10px green;
}


#Review_div.star_check label > input:not(:checked) + img {
  box-shadow: inset 0 0 10px green;
}

#Review_Feedback {
  text-align: center;
}

#Text_Heading_div {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
}

#Text_Heading_div button {
  font-size: 18px;
}

#Logged_In_Div p{
  font-size:20px;
  color: white;
  font-weight: 700;
  margin-right: 10px;
}

.add-button {
  display: none;
}
