/* ---------------------------------------------------------------------------------------
styling adapted from http://negatherium.com/npc-generator/ for the output forms 
*/

@font-face {
  font-family: "Andada";
  src: url("https://www.bonemarch.org/fonts/AndadaPro-VariableFont_wght.ttf");
}

@font-face {
  font-family: "Cormorant-Regular";
  src: url("https://www.bonemarch.org/fonts/Cormorant-Regular.ttf");
}

@font-face {
  font-family: "CasablancaAntique";
  src: url("https://www.bonemarch.org/fonts/CasablancaAntique.ttf");
}

.flexbox {
  padding: 0;
  margin: 5px;
  flex: 0 0 70px;
  text-align: center;
  box-shadow: none;
  border: 1px solid #a1a1a1;
}
.abiltitle {
  text-transform: uppercase;
  color: #f4f0e4;
  background-color: #a1a1a1;
  margin: 1px;
  font-weight: bold;
  font-size: 14px;
}
.abilnum {
  font-size: 20px;
}
.abilmod {
  font-size: 12px;
  color: #999;
}

* {
  /* Set default font for the whole site, individual elements can override this */
  font-family: "Cormorant-Regular", "Andada", Verdana, Arial, Helvetica,
    sans-serif;
  font-weight: normal;
  font-style: normal;
  font-size: em;
}

h2 {
  font-family: "Cormorant-Regular", "CasablancaAntique", Arial, sans-serif;
  font-weight: normal;
  font-style: normal;
  font-size: 2.5em;
  padding: 5px;
  margin: 0px;
}

h3 {
  font-family: "Cormorant-Regular", "CasablancaAntique", Arial, sans-serif;
  font-weight: normal;
  font-style: normal;
  font-size: 1.5em;
  padding: 5px;
  margin: 0px;
  text-transform: uppercase;
}

h5,
h6 {
  font-family: "Cormorant-Regular", "CasablancaAntique", Arial, sans-serif;
  font-weight: normal;
  font-style: normal;
  font-size: 0.75em;
  padding: 5px;
  margin: 0px;
  text-transform: uppercase;
}

img {
  max-width: 100%;
  object-fit:cover;
}

p {
font-family: "Cormorant-Regular", "Andada";
font-style: normal;
font-size: 1.2em;
}



.menu_items {
  background: #040446;
  padding: 0;
  margin: 0;
  list-style-type: none;
  height: 30px;
}

.menu_items li {
  float: left;
}

.menu_items li a {
  padding: 0px 30px;
  display: block;
  color: #ccced1;
  text-decoration: none;
  font-family: "Cormorant-Regular", "CasablancaAntique", Arial, sans-serif;
  font-style: normal;
  font-size: 1.5em;
}

.menu_items li:hover {
  color: #0c1b61;
  background: #0d2075;
  height: 30px;
}

#headerRauxes {
  text-align: center;
  background: #040446;
  border-bottom: 2px solid rgb(201, 27, 27);
  color: #feffff;
  padding: 0;
  margin: 0;
}

#headerRauxes img {
  margin: 8px;
  margin-right: 0px;
}

#headerRauxesHeraldry {
  background-size: 75px 75px;
  text-align: center;
}

#mainWindow > * {
  /* ensures the width of border + padding + margins are included in width of elements
    so that the size individual column sizes dont exceed 100% of the screen width */
  box-sizing: border-box;
}

/* -----------------------------------------------------------------
* Popup Editor layout settings
*/
.editorPopup {
  width: 100%;
  height: 100%;
  background: #d8d6d5;
}

#editorCore {
  height: 300px;
  width: 350px;
  position: fixed;
  margin: 10px;
}
#editorAttributes {
  height: 250px;
  width: 350px;
  position: fixed;
  margin: 10px;
  top: 370;
}
#editorPersonalityTraits {
  height: 540px;
  width: 350px;
  position: fixed;
  margin: 10px;
  left: 400;
}

#editorLocationData {
  height: 170;
  width: 350px;
  position: fixed;
  margin: 10px;
  left: 790;
}
#editorMapPanel {
  height: 400;
  width: 370px;
  position: fixed;
  margin: 10px;
  top: 220;
  left: 790;
  border: 2px solid #6e6255;
  background: #c9c9ba;
}

#infoBar {
  background: #ec8b30;
  text-align: center;
}

#statsColumn {
  background: #e7e7db;
  border: 1px solid #333;

  height: 20%;
}

#innerstatsColumn {
  padding: 10px;
  padding-left: 10px;
  padding-right: 10px;
}

#NPCTableList {

    height: 100%;
}

#innerNPCTableList {
  padding: 10px;
  background: #e7e7db;
  border: 1px solid #333;
}

#footer {
  clear: both;
  text-align: center;
  padding-top: 20px;
  margin-top: 20px;
  margin-bottom: 20px;
}

.submitButtonBar {
  /* individual portions of the page style sheets */
  padding: 5px;
  clear: both;
  text-align: center;
  background: #c9c9ba;
  border: 1px solid #6e6255;
  background: #c9c9ba;
  border-radius: 20px;
}

.statBlock {
  font-family: "Cormorant-Regular", "Andada", Verdana, Arial, Helvetica,
    sans-serif;
  font-weight: normal;
  font-style: normal;
  padding: 10px;
  border: 1px solid #6e6255;
  background: #c9c9ba;
  border-radius: 20px;
  display: inline-block;
}

.statBlock h3 {
  margin: 0;
  color: rgb(114, 16, 16);
  text-align: center;
}

.statBlock textarea {
  /* Format the more free-form text entry boxes (description, purpose, etc) that
    can run multiple lines and take up considerably more space on the screen*/
  height: 10ch;
  padding: 10px;
  background: #e7e7db;
  box-sizing: border-box;
  width: 100%;
  margin: 0;
  float: right;
  border: 1px solid #333;
  overflow-y: auto;
  overflow-x: hidden;
}

.statBlock input[type="text"] {
  /* Try to fit the text input field within the box drawn around
    the core attributes STR, INT, DEX, etc */
  outline: none;
  border-top-style: hidden;
  border-right-style: hidden;
  border-left-style: hidden;
  border-bottom-style: groove;
  width: 250px;
  background: #c9c9ba;
}

.abilityScore input[type="text"] {
  /* Try to fit the text input field within the box drawn around
    the core attributes STR, INT, DEX, etc */
  outline: none;
  border-top-style: hidden;
  border-right-style: hidden;
  border-left-style: hidden;
  border-bottom-style: groove;
  width: 70%;
  background: #e7e7db;
}

.statBlock input:hover,
textarea:hover {
  /* change the color when the mouse is over a input text entry area */
  background-color: yellow;
}

.abilityScore {
  display: inline-block;
  text-align: center;
  background: #e7e7db;
  box-sizing: border-box;
  padding: 2px;
  margin: 2px;
  width: 7ch;
  border: 1px solid #333;
}

.abilityScore text {
  text-align: center;
  width: 100%;
}

/* Setting for the location and geographic data */
#locationDataEntry {
  background: rgb(146, 170, 148);
  border: 1px solid #333;
  border-radius: 20px;
  padding: 10px;
}

#locationDataEntry input[type="text"] {
  /* In an ideal world we'll get the map to link to the document so
    you can click on the coordinates and populate the values automatically */
  outline: none;
  border-top-style: hidden;
  border-right-style: hidden;
  border-left-style: hidden;
  border-bottom-style: groove;
  width: 70%;
  background: rgb(146, 170, 148);
}


