@font-face {
    font-family: "Ben"; /*a name to be used later*/
    src: url('fonts/Ben_Bold.ttf'); /*URL to font*/
}

@font-face {
    font-family: "Sun"; /*a name to be used later*/
    src: url('fonts/Sun-Regular.ttf'); /*URL to font*/
}

@font-face {
    font-family: "Sun"; 
    src: url('fonts/Sun-Bold.ttf');
    font-weight: bold;
}

@font-face {
    font-family: "Sun"; /*a name to be used later*/
    src: url('fonts/SunItalic.ttf'); /*URL to font*/
    font-style: italic;
}

@font-face {
    font-family: "Sun"; /*a name to be used later*/
    src: url('fonts/SunBoldItalic.ttf'); /*URL to font*/
    font-weight: bold;
    font-style: italic;
}

/*To show all the grids*/
/*div {
  border: 1px dotted black;
}*/


body { 
background-color: #f8f8f8;
font-family: "Sun", Palatino, "Palatino Linotype", "Palatino LT STD", Georgia, serif;
font-size: 19px;
line-height: 1.2em;
margin: 0em;
color: #113654;
}

/*The element that contains the title, text boxes etc*/
#navigation_element {
    /*Display none so that it doesn't flicker when it's not supposed to be there*/
    display: none;
    /*display: grid;*/
    grid-template-columns: 1fr 1fr 1fr 1fr;
    position:fixed;
    /*Put to very front*/
    z-index:9999;
    width: 100%;
    /*height 40px;*/
    /*margin-left: 1em;*/
    /*background-color: white;*/
    /*background-color: #EBD78A;*/
   background: rgb(238,174,202);
    background: linear-gradient(90deg, #e3ffe7 0%, #d9e7ff 100%);
    border: 1px solid #e6e8ed;
    /*bottom:0;*/
    top:0;
}

#tab_menu {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
}

#cards_grid {
  display: grid;
  grid-template-columns: repeat( auto-fill, minmax(400px, 1fr) );



  /*grid-template-columns: 1fr 1fr 1fr;*/
  /*grid-auto-rows: minmax(min-content, max-content);*/
  margin-top: 3em;
  margin-left: 1em;
  margin-right: 1em;
  grid-column-gap: 1em;
}

#character_sheet {
  /*display: grid;*/
  /*grid-template-columns: repeat( auto-fill, minmax(800px, 1fr) );*/



  /*grid-template-columns: 1fr 1fr 1fr;*/
  /*grid-auto-rows: minmax(min-content, max-content);*/
  margin-top: 3em;
  margin-left: 1em;
  margin-right: 1em;
  grid-column-gap: 1em;
}


#taggleNumberFound {
  display: inline;
}

/*The main title of the page*/
#pageTitle {
    font-family: "Ben";
    font-size: 1.2em; 
    /*display: inline;*/
    line-height: 1em;
    margin: 0.2em;

}

/*Colours*/
#pageTitle, .itemTitle, #sideLinksUl, li:before, a, a:link, a:visited {
    /*color*/
    color: black;
    /*color: #2C3979;*/
}






/*div that contains all of the itemcards in the ul*/
/*#cardDisplayDiv {
    padding: none;
    margin-left: auto;
    margin-right: auto;*/
    /*width: 600px;*/
}

/*The unordered list that contains the item cards*/
#cardUl {
  padding-left: 0em;
}



/*The individual item cards LIST ITEMS*/
.card_item {
    display: grid;
    grid-column-gap: 1em;
    grid-template-columns: 5px 1fr;
    border: 1px solid #e6e8ed;
    box-shadow: 0 12px 32px 0 rgba(0,0,0,0.075);
    border-radius: 10px;
    /*width: 100%;*/
    margin-bottom: 1em;
    /*border: 1px solid rgba(0,0,0,.15);*/
    padding-top: 1em;
    padding-bottom: 1em;
    padding-left: 1em;
    padding-right: 1em;
    background-color: white;
    /*border-radius: 0.25rem;*/
    /*display: inline-block;*/
    /*Remove the li padding*/


    /*Don't break the card when it goes to the next column*/
    -webkit-column-break-inside: avoid; /* Chrome, Safari */
    page-break-inside: avoid;           /* Theoretically FF 20+ */
    break-inside: avoid-column;         /* IE 11 */
}

.monster_card_colour {
  /*background-color: #bd4882;*/
  background-color: #ac2847;
  /*border: 3px solid #bd4882;*/
  border: 3px solid #ac2847;
  border-radius: 99px;
  /*margin-right: 20px;*/
}

.plant_card_colour {
  background-color: #B8CC3B;
  border: 3px solid #B8CC3B;
  border-radius: 99px;
  /*margin-right: 20px;*/
}

.magic_item_card_colour {
  background-color: #FAFAFA;
  border: 3px solid #f2e37b;
  border-radius: 99px;
  /*margin-right: 20px;*/
}

.item_card_colour {
  background-color: #e3c5a1;
  border: 3px solid #e3c5a1;
  border-radius: 99px;
  /*margin-right: 20px;*/
}

.spell_card_colour {
  background-color: #BF92F5;
  border: 3px solid #BF92F5;
  border-radius: 99px;
  /*margin-right: 20px;*/
}

/*.spell_card_colour {
  background-color: #c1d0f3;
  border: 3px solid #c1d0f3;
  border-radius: 99px;
}*/

.move_card_colour {
  background-color: #FAA04D;
  border: 3px solid #FAA04D;
  border-radius: 99px;
  /*margin-right: 20px;*/
}

.generator_card_colour {
  background-color: #ff6699;
  border: 3px solid #ff6699;
  border-radius: 99px;
  /*margin-right: 20px;*/
}


/*The title of the item cards*/
.cardTitle {
    /*margin-right: 0.5em;*/
    margin-top: 0em;
    text-transform: uppercase;
    font-family: "Ben";
    font-size: 1.6em; 
    line-height: 30px;
    margin-bottom: 0.2em;
    display: inline;
}


/*The element under the title that holds the details and HR elements. NOT the actual HR */
.hrElementWithDetails {
    margin-top: 0em;
    /*margin-left: 0.8em;*/
    /*margin-right: 0.8em;*/
    margin-bottom: 0em;
}



/*Horizontal rule*/
hr {
    border: 0;
    width: 100%;
    background-color: #8F8F8F;
    height: 1px;
    margin-bottom: 1px;
    margin-top: 0px;    
}


/*Paragraph element in the hrElementWithDetails*/
.spanWithCommas {
    margin: 0em;
    display: inline;
}

/*The tags */
.tag {
    white-space: nowrap;
    display: inline;
    font-style: italic;
    text-transform: capitalize;
    cursor: pointer;
}

.spellLevel {
    white-space: nowrap;
    display: inline;
    font-style: italic;
    text-transform: capitalize;
}

.itemWeight {
    white-space: nowrap;
    display: inline-block;
    font-style: italic;
    margin: 0px;
}

.itemCoins {
    display: inline-block;
    font-style: italic;
    margin: 0px;
}

.itemUses {
    display: inline;
    font-style: italic;
}


/*The commas that go between the tags*/
.commaElement {
    display: inline;
    margin: 0em
}

/*The text that comes befor the checkboxes e.g. Uses:...*/
.checkboxIntroText {
    display: inline;
    font-style: italic;
}

/*Text that comes before a tracked quantity */
.trackedQuantityIntroText, .trackedQuantity {
    display: inline;
    font-style: italic;
    text-transform: uppercase;
}


.boxesContainerElement {
      display: inline-block;
      /*background-color: red;*/
      white-space: nowrap;
      margin: 0px;
}


/*.boxes {
    display: inline;
    background-color: red;
    font-size: 1.3em;
    letter-spacing: 0.15em;
}
*/

.groupOfCheckboxes {
      /*color: red;
      display: block;*/
      white-space: nowrap;
      margin: none;
}

.individualCheckbox {
    display: inline;
    font-size: 1.2em;
    vertical-align: middle;
    cursor: pointer;
    display: none;

}

.checkboxLabel {
  display: inline;
}

/*Unchecked icon*/
.checkboxLabel:before {
    cursor: pointer;
    font-size: 1.2em;
    font-family: FontAwesome;
    content: "\f096";
    display: inline;
    width: 1em;
    line-height: 1em;
    letter-spacing: 0.1em;
    vertical-align: middle;
}

/*Unchecked icon*/
/*.checkboxLabel:before {
    cursor: pointer;
    font-size: 1.8em;
    font-family: FontAwesome;
    content: "☐";
    display: inline-block;
    width: 0.8em;
    height: 0.8em;
    line-height: 1.0em;
    letter-spacing: 0.1em;
    vertical-align: middle;
}*/

.single_checkbox_span {
	/*height: 1em;*/
	/*width: 2em;*/
	/*background-color: red;*/
}

/*Checked icon*/
input[type=checkbox]:checked + label:before {
    cursor: pointer;
    display: inline-block;
    width: 1em;
    line-height: 1em;
    font-size: 1.2em;
    content: "\f046"; 
    vertical-align: middle;
}





  



/*Image*/
img {
    
}

.img_right {
    width: 60%;
    max-width: 400px;
    /*height: 60%*/
    /*max-height: 400px;*/
    float: right;
    margin-top: 1em;
    /*margin-right: 1em;*/
    margin-left: 1em;
    margin-bottom: 1em;
    /*border: 1px solid #d5d5d5;*/

}

/*If the images are in the cards_grid, make them full width anyway*/
#cards_grid .img_right {
  width: 100%;
  margin-top: 1em;
}


/*Image*/
.img_full_width {
    width: 100%;
    margin-top: 1em;
}


.lazy {
  background-color: #f8f8f8;
  height: 150px;
  content:url(../img/image_pixel.jpg);
  border: 1px solid #8F8F8F;
}

/*Image*/
.img_border {
    /*border: 1px solid rgba(0,0,0,.15);*/
    border: 1px solid #8F8F8F;
    /*background: hotpink;*/
    /*box-shadow: inset 0 0 100px black;*/
    /*border: 1px solid red;*/
}


.monsterInstinctText, .monsterTagP, .monsterAttackNameText, .monsterSpecialQualities, .monsterTreasureRoll, .hpAndArmor, .monsterArmor, .monsterAttackP {
  /*margin-left: 1em;
  margin-right: 1em;*/
  margin-top: 0em;
  margin-bottom: 0em;
  margin-right: 0em;
}

.monsterInstinctText {
  font-weight: bold;
}

.monsterArmor {
  /*margin-left: 1em;*/
}


.monsterAttackNameText,.monsterAttackDamageDiv, .monsterattackTagsP, .monsterHP, .monsterArmor, .monsterAttackP {
  display: inline;
  }

.monsterTagP, .monsterattackTagsP {
    font-style: italic;
}

.descriptionText, .gmText, .customMovesText {
    margin-right: 1em;
}


.descriptionText h1 {
    font-size: 1.3em;
}

.descriptionText ul, .gmText ul, .customMovesText, .monsterMoves ul, .monsterSpecialQualitiesUl{
  list-style-type: disc;
}

.descriptionText li, .gmText li, .customMovesText, .monsterMoves ul, .monsterSpecialQualitiesUl{
  list-style-type: disc;
}


/*Text specific to game master*/
.gmText, .customMovesText  {
    margin: 1em;
    /*border: 1px solid rgba(0,0,0,.15);*/
    padding-left: 1em;
    padding-right: 1em;
    padding-bottom: 0em;
    /*background-color: #F2F2F2;*/
    background-color: #fcf8f0;
    border: 1px solid #b0a7b8;
    color: #485d6f;

}

.customMovesText {
  background-color: #f2f7ff;
  border: 1px solid #f2f7ff;
}

.gmText h1  {
    font-size: 1.3em;
}

.gmText h2  {
    /*font-size: 1.3em;*/
    line-height: 1em;
}

.customMovesText h1 {
  font-size: 1.3em;
}

.customMovesText h2 {
  /*font-size: 1.3em;*/
  line-height: 1em;
}

.description {
    font-style: italic;
}

/*star character that replaces asterisk*/
#star {
    display: inline;
}

.modifiedFromText {
    display: inline;
    /*font-style: normal;*/
}

/*The paragraphs for the link and license info*/
.linkP, .licenseP, .nameAndVersion {
    text-align: right;
    margin-top: 0em;
    margin-bottom: 0.2em;
    font-style: italic;
}

/*Add to backpack button*/
.addButton, .linkButton, .deleteButton{
    /*Display: none so that it doesn't appear then disappear when it's hidden*/
    /*display: none;*/
    cursor: pointer;
    margin-right: 1em;
    /*margin-left: 6px;*/
    font-size: 1pc;
    color: #333;
    vertical-align: middle;
    border: 1px solid #d5d5d5;
    border-radius: 5px;
    background-color: white;
}

#show_and_hide_button {
  /*Display: none so that it doesn't appear then disappear when it's hidden*/
    /*display: none;*/
    cursor: pointer;
    margin-right: 0em;
    /*margin-left: 6px;*/
    font-size: 1pc;
    color: #333;
    vertical-align: middle;
    border: 1px solid #d5d5d5;
    border-radius: 5px;
    background-color: white;
    height: 30px;
}

.customTagUl {
    padding-left: 0em;
}

.customTagUl li {
    font-family: Arial;
    list-style-type: none;
    display: inline-block;
    margin-top: 0.3em;
    margin-bottom: 0em;
    margin-right: 0.2em;
    margin-left: 0px;
    font-size: 1pc;
    position: relative;
    color: #333;
    white-space: nowrap;
    vertical-align: middle;
    border: 1px solid #d5d5d5;
    border-radius: 20px;
    padding-left: 10px;
    padding-right: 10px;
}


/*---------------CHARACTER SHEETS START-------------------*/


#character_sheet_top_grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-column-gap: 1em;
  width: 100%; 

  page-break-inside: avoid;

}

#character_sheet_bottom_grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-column-gap: 1em;
  width: 100%; 

  page-break-inside: avoid;

}

#character_sheet_bottom_details {
  width: 100%; 

  page-break-inside: avoid;

}

#character_sheet_section_7 p {
  margin-top: 0px;
  margin-bottom: 0px;
}

#character_sheet_section_7 h2 {
  /*margin-top: 0px;*/
  margin-bottom: 0px;
}

.title_and_level_grid {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-column-gap: 1em;
  width: 100%; 
}

.character_title {
  width: 100%;
  /*height: 80px;*/
  /*background-color: #e6f2f8;*/
  /*vertical-align: middle;*/
  line-height: 40px;
  /*padding-left: 0.5em;*/
  font-weight: bold;
  font-size: 2em;
  /*font-size: 1.5em;*/
  text-align: left;
  /*margin: none;*/
  font-family: Ben;
  text-transform: uppercase;
}

.playbook_description {
  /*font-style: italic;*/
}

.playbook_description i {
  /*font-style: normal;*/
}

.level_grid {

}

.level_grid_text {
  line-height: 30px;
  /*height: 80px;*/
  /*background-color: #e6f2f8;*/
  /*vertical-align: middle;*/
  /*line-height: 80px;*/
  /*padding-left: 0.5em;*/
  font-weight: bold;
  /*float: right;*/
  /*margin: none;*/
  display: inline;
  font-size: 1.6em;
}

.level_grid_input {
  /*height: 80px;*/
  /*background-color: #e6f2f8;*/
  /*vertical-align: middle;*/
  /*line-height: 80px;*/
  /*padding-left: 0.5em;*/
  width: 60px;
  padding: 0;
  font-weight: bold;
  font-size: 1.6em;
  font-family: Sun;
  text-align: center;
  display: inline;
  margin-left: 10px;
  text-align: center;
  /*float: right;*/
  border: none;
  border-bottom: 1px solid black;

  /*Form fillable pdf*/
  /*border: 1px solid black;*/
}


.name_and_input_element {
  display: grid;
  grid-template-columns: min-content 1fr;
  margin: none;
  /*background-color: red;*/
}

.name_text {
   /*height: 80px;*/
  /*background-color: #e6f2f8;*/
  vertical-align: middle;
  line-height: 40px;
  /*padding-left: 0.5em;*/
  font-weight: bold;
  /*float: right;*/
  /*margin: none;*/
  display: inline;
  font-size: 1.6em;
}


.name_input {
  /*height: 80px;*/
  /*background-color: #e6f2f8;*/
  /*vertical-align: middle;*/
  /*line-height: 80px;*/
  /*padding-left: 0.5em;*/
  /*width: 400px;*/
  padding: 0;
  font-weight: bold;
  font-size: 1.6em;
  font-family: Sun;
  display: inline;
  margin-left: 10px;
  /*float: right;*/
  border: none;
  border-bottom: 1px solid black;

  /*form fillable*/
  /*border: 1px solid black;*/
}

.names_block {
  margin-top: 8px;
  font-size: 0.7em
}

.between_text {
  font-style: italic;
  border-bottom: 1px solid #8F8F8F;
  /*margin-top: 0.2em;*/
  margin-bottom: 0.2em;
}

.names_block .singleList {
  line-height: 15px;
}

.looks_element .singleList {
  line-height: 15px;
  font-size: 0.7em
}

/*.line_input {
  padding: 0;
  font-size: 1em;
  font-family: Sun;
  display: inline-block;
  width: 100%;
  border: none;
  border-bottom: 1px solid black;
}*/

.line_input {
  padding: 0;
  font-size: 1em;
  font-family: Sun;
  display: inline;
  width: 80%;
  border: none;
  border-bottom: 1px solid black;
}

.listWithCommas {
  display: inline;
}

.listElement {
  /*display: inline;*/
  display: inline-block;
  /*color: red;*/
}

.singleList {
  display: block;
}

.listTitle {
  font-weight: bold;
}

.block_title {
  font-weight: bold;
  font-size: 1.6em;
  margin-top: 0.5em;
  margin-bottom: 0.2em;
  line-height: 28px;
}

.block_description {
  margin: 0px;
}

.checkbox_heading {
  font-weight: bold;
  font-size: 1em;
  display: inline-block;
}

.checkbox_and_heading {
  display: block;
}

.checkbox_heading_description {
  display: block;
  margin: 0px;
}

.checkbox_heading_description p {
  margin: 0px;
}

.move_heading {
  font-weight: bold;
  font-size: 1.2em;
  margin-right: 0.2em;
}

.tracked_quantity_name_and_checkboxes {
  display: inline-block;
  margin-top: 0px;
  margin-bottom: 0px;
}

.move_description {
  display: block;
  margin-bottom: 0px;
  /*margin-bottom: 1em;*/
}

.move_description p {
  margin-bottom: 0px;
  margin-top: 0px;
  /*display: inline-block;*/
}

.move_description p ul {
  margin-bottom: 0px;
  margin-top: 0px;
  display: inline-block;
}


.two_column_checkboxes {
  margin-top: 1em;
  columns: 2;
  list-style: none;
}

/*TODO: Make this a useable checkbox*/
/*.two_column_checkboxes li {
  list-style: none;
  position: relative;
  display: block;
}

.two_column_checkboxes li:before {
    cursor: pointer;
    font-size: 1.2em;
    font-family: FontAwesome;
    content: "\f096";
    display: block;
    width: 1em;
    line-height: 1em;
    letter-spacing: 0.1em; 
    vertical-align: middle;
    position: absolute;
    left: -1em;
}*/

.four_column_checkboxes {
  margin-top: 1em;
  columns: 4;
  list-style: none;
  padding-left: 1em;
}

.two_column_ul {
  /*padding-left: 20px;*/
  margin-top: 1em;
  columns: 2;
}

.ul_checkboxes {
  list-style-type: none;
  /*padding-left: 20px;*/
  margin-top: 0px;
  margin-bottom: 0px;
}

.ul_checkboxes li {
  position: relative;
}



/*.ul_checkboxes li:before {
    cursor: pointer;
    font-size: 1.2em;
    font-family: FontAwesome;
    content: "\f096";
    display: inline-block;
    width: 1em;
    line-height: 1em;
    letter-spacing: 0.1em; 
    vertical-align: middle;

    position: absolute;
    left: -1em;
}*/


.ul_checkboxes_small {
  list-style-type: none;
  font-size: 0.7em;
  line-height: 1.4em;
  /*padding-left: 20px;*/
  margin-top: 0px;
  margin-bottom: 0px;
  padding-top: 0.3em;
  padding-bottom: 0.3em;
  padding-left: 1.3em;
  border-top: 1px solid #8F8F8F;
  border-bottom: 1px solid #8F8F8F;
}

.ul_checkboxes_small li {
  position: relative;
}



.ul_checkboxes_small li:before {
    cursor: pointer;
    font-size: 1.2em;
    font-family: FontAwesome;
    content: "\f096";
    display: inline-block;
    width: 1em;
    line-height: 1em;
    letter-spacing: 0.1em; 
    vertical-align: middle;

    position: absolute;
    left: -1em;
}


.starting_gear ul {
  list-style-type: none;
  /*padding-left: 20px;*/
  margin-top: 0px;
  margin-bottom: 0px;
}

.starting_gear ul li {
  position: relative;
}



.starting_gear ul li:before {
    cursor: pointer;
    font-size: 1.2em;
    font-family: FontAwesome;
    content: "\f046";
    display: inline-block;
    width: 1em;
    line-height: 1em;
    letter-spacing: 0.1em; 
    vertical-align: middle;

    position: absolute;
    left: -1em;
}


.move_replaces_requires {
  display: block;
  font-style: italic;
}

.single_move {
  display: block;
  /*background-color: #fcf8f0;*/
  /*padding: 1em;*/
  margin-bottom: 0.5em;
  /*border: 1px solid #fcf8f0;*/
}

.single_move ul {
  margin-top: 0.2em;
  margin-bottom: 0.2em;
}


.stat_block {
  margin-top: 0em;
}

.stat_block_instructions {
  text-align: center;
  font-style: italic;
  margin: 0.3em;
  margin-top: 0.5em;
}

.stat_block_instructions_values {
  display: inline-block;
}

.stat_block_grid {
  display: grid;
  margin-top: 10px;
  margin-bottom: 10px;
  grid-template-columns: 1fr 1fr;
  grid-column-gap: 1em;
  width: 100%; 
}

.stat_individual_grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 100%;
}

.stat_block_mod_left {
  height: 60px;
  background-color: #e6f2f8;
  vertical-align: middle;
  line-height: 60px;
  /*padding-left: 0.5em;*/
  font-weight: bold;
  font-size: 2em;
  text-align: center;
}

.stat_block_mod_right {
  /*height: 80px;*/
  /*background-color: #e6f2f8;*/
  /*vertical-align: middle;*/
  /*line-height: 80px;*/
  /*padding-left: 0.5em;*/
  width: 100%;
  padding: 0;
  font-weight: bold;
  font-size: 2em;
  font-family: Sun;
  text-align: center;
}

.stat_raw_grid {
  /*display: grid;*/
  /*grid-template-columns: 1fr 1fr;*/
  /*width: 100%;*/
  /*height: 20px;*/
}

.stat_block_raw {
 /*background-color: blue;*/
 height: 20px;
 line-height: 20px;
 vertical-align: middle;
 padding-left: 0.4em;
 margin: 0;
 /*text-align: center;*/
 display: inline;
}

.stat_block_raw_right {
  height: 20px;
 line-height: 20px;
 vertical-align: middle;
 width: 30px;
 font-size: 1em;
 margin-left: 0.4em;
 margin-top: 0.2em;
 margin-bottom: 0.2em;
 font-family: Sun;
 display: inline;
 text-align: center;
 border: none;
 border-bottom: 1px solid black;
}

.stat_block_debilities {
 /*background-color: blue;*/
 display: inline-block;
 /*height: 30px;*/
 line-height: 30px;
 vertical-align: middle;
 text-align: right;
}

.stat_block_debilities_text {
  display: inline;
  margin-right: 0.2em;
}

.stat_block_debilities_checkbox {
  display: inline;
}

.negative_one {
  display: inline-block;
  margin-left: 0.2em;
}

.xp_grid {
  grid-column-gap: 1em;
  /*width: 100%; */

  display: inline-grid;
  grid-template-columns: auto auto auto;
  /*height: 10px;*/
  margin-top: 0px;
  margin-bottom: 0px;
}

.left_xp {
  line-height: 30px;
  /*height: 80px;*/
  /*background-color: #e6f2f8;*/
  /*vertical-align: middle;*/
  /*line-height: 80px;*/
  /*padding-left: 0.5em;*/
  font-weight: bold;
  /*float: right;*/
  /*margin: none;*/
  margin-top: 0px;
  margin-bottom: 0px;
  display: inline;
  font-size: 1.6em;
}

.right_xp {
  width: 100%
}

.next_level_container {
  /*margin-left: 0.2em;*/
  display: inline-block;
}

.xp_next_level {
  font-style: italic;
}

.next_level_input {
  height: 20px;
 line-height: 20px;
 vertical-align: middle;
 width: 30px;
 font-size: 1em;
 /*margin-left: 0.4em;*/
 margin-top: 0.2em;
 margin-bottom: 0.2em;
 font-family: Sun;
 display: inline;
 text-align: center;
 border: none;
 border-bottom: 1px solid black;
 font-weight: bold;
}

.looks_list {
  margin-top: 0px;
  margin-bottom: 0px;
}


.hp_block {
  /*display: inline-block;*/
  /*margin-top: 10px;*/
  /*margin-bottom: 10px;*/
  padding-top: 10px;
  padding-bottom: 10px;
  border-top: 1px solid #8F8F8F;
  border-bottom: 1px solid #8F8F8F;
}

.hp_max {
  line-height: 30px;
  font-weight: bold;
  display: inline;
  font-size: 1.6em;
}

.hp_current {
  font-weight: bold;
  display: inline;
  font-size: 1.6em;
  margin-left: 30px;
}

.max_hp_input, .current_hp_input, .damage_modifier_input, .armor_input {
  width: 60px;
  padding: 0;
  font-weight: bold;
  font-size: 1.6em;
  font-family: Sun;
  text-align: center;
  display: inline;
  margin-left: 5px;
  text-align: center;
  /*float: right;*/
  border: none;
  border-bottom: 1px solid black;
}

.max_hp_instructions {
  margin-top: 0.2em;
  margin-bottom: 0.2em;
  font-style: italic;
}

.damage_and_armor_block {
  margin-top: 0.2em;
}

.damage_text {
  line-height: 30px;
  font-weight: bold;
  display: inline;
  font-size: 1.6em;
}

.armor_text {
  line-height: 30px;
  font-weight: bold;
  display: inline;
  font-size: 1.6em;
  margin-left: 10px;
}

.tags_and_input_element {
  display: grid;
  grid-template-columns: min-content 1fr;
  grid-column-gap: 0.2em;
  /*width: 100%; */
}

.character_weapon_tags {
  display: inline;
}

.character_weapon_tags_input {
  vertical-align: middle;
  /*width: 100%;*/
  padding: 0;
  font-style: italic;
  font-size: 1em;
  font-family: Sun;
  display: inline;
  margin-left: 10px;
  border: none;
  border-bottom: 1px solid black;
}

.single_alignment {
  margin-top: 0px;
  margin-bottom: 0px;
  display: block;
}

.single_bond {
  margin-top: 0px;
  margin-bottom: 0px;
  display: block;
}

.race_moves_block ul {
  margin-top: 0.2em;
  margin-bottom: 0.2em;
}

.starting_gear {
  margin-top: 0px;
  margin-bottom: 0px;
}

.starting_gear p {
  margin-top: 0px;
  margin-bottom: 0px;
  display: inline;
  font-style: italic;
}

.gear_choices_label {
  font-style: italic;
  margin-top: 0px;
  margin-bottom: 0px;
}

.gear_choices_ul {
  /*list-style-type: none;
  margin-top: 0px;
  margin-bottom: 0px;*/
}

.coin_and_load_block {
  display: grid;
  /*grid-template-columns: 1fr 1fr;*/
  grid-template-columns: 1fr 1fr;
}

.coin_and_input {
  display: block;
}


.coin_text, .load_text, .load_slash {
  line-height: 30px;
  font-weight: bold;
  display: inline;
  font-size: 1.6em;
}

.load_and_input {
  text-align: right;
}

.coin_input {
  width: 90px;
  padding: 0;
  font-weight: bold;
  font-size: 1.6em;
  font-family: Sun;
  text-align: center;
  display: inline;
  margin-left: 10px;
  text-align: center;
  border: none;
  border-bottom: 1px solid black;
  display: inline;
}

.load_input_current, .load_input_total {
  width: 50px;
  padding: 0;
  font-weight: bold;
  font-size: 1.6em;
  font-family: Sun;
  text-align: center;
  display: inline;
  margin-left: 10px;
  text-align: center;
  border: none;
  border-bottom: 1px solid black;
}

.coin_description, .load_description {
  font-style: italic;
  margin-top: 0px;
  margin-bottom: 0px;
}

.unmatched {
  /*background-color: #FF8282;*/
}


.move_old {
  background-color: yellow;
}

.gear_choices_li p {
  /*background-color: #e3c5a1;*/
  margin: 0px;
  display: inline;
}

.short_description {
  font-style: italic;
  display: inline;
}


/* SPELLS */

#character_spell_section {
  /*columns: 2;*/
  /*column-gap: 0px;*/
  /*background-color: red;*/
}

.character_spell_section_heading {
  font-family: "Ben";
  font-size: 2em; 
  /*display: inline;*/
  line-height: 1em;
  /*margin: 0.2em;*/
  text-transform: uppercase;
  padding-bottom: 0.2em;
}

.character_spell_level_section {
  page-break-inside: avoid;
}

.character_spell_level_section_columns {
  columns: 3;
  column-gap: 0px;
  page-break-inside: avoid;
}

.spell_heading {
  padding-bottom: 0.3em;
  /*color: red;*/
  display: inline-block;
  font-size: 1.5em;
  font-weight: bold;
  width: 100%;
  border-bottom: 1px solid black;
  /*border-top: 1px solid black;*/
}





#character_spell_section .cardTitle {
  font-family: Sun;
  font-size: 1em;
}


#character_spell_section .cardTitle::before {
  cursor: pointer;
    font-size: 1.2em;
    font-family: FontAwesome;
    content: "\f096";
    display: inline-block;
    width: 1em;
    line-height: 1em;
    letter-spacing: 0.1em;
    vertical-align: middle;
}


#character_spell_section .card_item {
    display: block;
    grid-column-gap: 1em;
    grid-template-columns: 5px 1fr;
    /*border: 1px solid #e6e8ed;*/
    border: none;
    box-shadow: none;
    border-radius: 0px;
    /*width: 100%;*/
    margin-bottom: 0em;
    /*border: 1px solid rgba(0,0,0,.15);*/
    padding-top: 0.5em;
    padding-bottom: 0.5em;
    padding-left: 0em;
    padding-right: 0.5em;
    background-color: white;
    /*border-radius: 0.25rem;*/
    /*display: inline-block;*/
    /*Remove the li padding*/


    /*Don't break the card when it goes to the next column*/
    -webkit-column-break-inside: avoid; /* Chrome, Safari */
    page-break-inside: avoid;           /* Theoretically FF 20+ */
    break-inside: avoid-column;         /* IE 11 */
}

#character_spell_section .linkP, #character_spell_section .licenseP, #character_spell_section .spell_card_colour, #character_spell_section .addButton, #character_spell_section .linkButton, #character_spell_section .customTagUl, #character_spell_section .move_card_colour{
  display: none;
}

#character_spell_section .card_move {
  padding-top: 0px;
  padding-bottom: 0px;
  padding-right: 0px;
}


/*---------------CHARACTER SHEETS END-------------------*/




/*---------------CUSTOM CARD STYLES START-------------------*/

.card_spell h1 {
  /*color: #0078d4;*/
  /*background-color: #cde2f4;*/
}

/*.card_monster h1 {
  color: #407855;
}*/

/*.card_standard_item {
  background-color: #fee5cc;
}*/

.card_standard_item_label, .card_standard_spell_label, .card_monster_label, .card_magic_item_label {
  /*display: inline;*/
  display: none;
  /*position: absolute;*/
  font-style: italic;
  /*width: 100%;*/
  /*text-align: right;*/
  /*background-color: #fee5cc;*/
  /*vertical-align: top;*/
  /*vertical-align: middle;*/
  /*padding: 4px;*/
  padding-right: 0.3em;
  padding-left: 0.3em;
  margin-top: 7px;
  /*margin-bottom: 0.2em;*/
  /*margin: 0.5em;*/
  margin-left: 0.8em;
  border: 1px solid rgba(0,0,0,.15);
  /*border-radius: 5px;*/
}


.card_standard_item_label {
  background-color: #e3c5a1;
}

.card_magic_item_label {
  background-color: #f2e37b;
}

.card_standard_spell_label {
  background-color: #c1d0f3;

}

.card_monster_label {
  background-color: #b3c231;
}

.card_magic_item {
  /*background-color: #fffbe3;*/
}

.magic_item {
  /*background-color: #f2e37b; */
  font-weight: bold;
}

.standard_item {
  font-weight: bold;
}

/*.standard_item p {
  background-color: #e3c5a1;
  margin: 0px;
  display: inline;
}*/

/*The tags */
.spell {
    font-style: italic;
    /*text-transform: capitalize;*/
    /*color: #BF92F5;*/
    /*background-color: #c1d0f3;*/
}

/*The moves within the texts*/
.move {
    font-weight:bold;
    text-transform: capitalize;
    font-style: normal;
    /*background-color: #FAA04D;*/
}

/*function(cardId, cardH1Colour, cardHrColour, cardParagraphColour, cardBackgroundcolour)*/
/*handlers.changeCardStyle("Cyril’s Letter Opener", "#2c2b29", "#2c2b29", "#2c2b29", "#e0a986");*/

/*.card_epic {
  background-color: #1a181f;
  color: white;
}

.card_epic a {
  color: white;
}

.card_epic .standardHr {
  color: white;
}

.card_epic h1 {
  color: #c75600;
}*/

#character_sheet_item_area {
  display: grid;
  grid-template-columns: repeat( auto-fill, minmax(400px, 1fr) );



  /*grid-template-columns: 1fr 1fr 1fr;*/
  /*grid-auto-rows: minmax(min-content, max-content);*/
  margin-top: 3em;
  margin-left: 0.5em;
  margin-right: 0.5em;
  grid-column-gap: 1em;
}



@media print { 
               #navigation_element {
                visibility: hidden;
               }
            } 






/*---------------CUSTOM CARD STYLES END-------------------*/





/*Tippy themes below*/

.tippy-tooltip.tomato-theme {
    /*font-family: helvetica;*/
    /*font-style: italic;*/
    font-weight: normal;
    font-size: 0.9em;
    /*background-color: #333;*/
    background-color: #d5fac4;
    color: black;
    border: 1px solid rgba(0,0,0,.15);

    /*box-shadow:0 0 20px 4px rgba(154,161,177,.15),0 4px 80px -8px rgba(36,40,47,.25),0 4px 4px -2px rgba(91,94,105,.15);*/

    /* -moz-box-shadow:    3px 3px 5px 2px #ccc;
    -webkit-box-shadow: 3px 3px 5px 2px #ccc;
    box-shadow:         0px 2px 2px 0.5px #ccc;*/
}


.tippy-tooltip.tomato-theme[x-placement^='top'] .tippy-arrow {
  border-top-color: #afd9a7;
  /*border: 1px solid rgba(0,0,0,.15);*/
}

.tippy-tooltip.tomato-theme[data-animatefill] {
  background-color: transparent;
}

.tippy-tooltip.tomato-theme .tippy-backdrop {
  background-color: #d5fac4;
}

.blank_input {
  text-align: center;
  vertical-align: middle;
  width: 70px;
  padding: 0;
  /*font-style: italic;*/
  font-size: 1em;
  font-family: Sun;
  display: inline;
  font-weight: bold;
  margin-left: 0px;
  border: none;
  border-bottom: 1px solid black;
}


/*------------TAGGLE------------*/


.textarea {
    /*height: 100px;*/

    height: 35px;
    width: 90%;
    /*height:30px;*/
    margin-right: 0px;
    margin-left: 0px;
    /*font-family: "Bitter";*/
    /*font-weight: bold;*/
    font-size: 1pc;
    position: relative;
    /*display: float;*/
    /*font-weight: bold;*/
    /*line-height: 20px;*/
    color: #333;
    white-space: nowrap;
    vertical-align: middle;
    border: 1px solid rgba(0,0,0,.15);
    border-radius: 99px;
    background-color: white;
    margin-bottom: 0px;

    font-family: Arial;
    font-size: 1pc;
    padding-top: 5px;
    padding-left: 5px;
}



.taggle_list {
  float: left;
  padding-left: 10px;
  margin: 0;
  width: 100%;
}


/*This is the input field that has its border hidden*/
.taggle_input {
  border: none;
  outline: none;
  /*width: 100%;*/
  /*font-size: 16px;*/
  /*font-weight: 300;*/

  font-family: Arial;
    font-size: 1pc;
    /*color: red;*/
}

/*This is the text that you enter. Can control the height*/
.taggle_list li {
  float: left;
  display: inline-block;
  white-space: nowrap;
  /*font-weight: 500;*/
  margin-top: 2px;
  margin-bottom: 0px;

}

/*The tag item*/
.taggle_list .taggle {
  /*margin-right: 8px;*/
  /*background: #E2E1DF;*/
  /*padding: 5px 10px;*/
  /*border-radius: 20px;*/
  position: relative;
  cursor: pointer;
  transition: all .3s;
  -webkit-animation-duration: 1s;
          animation-duration: 1s;
  -webkit-animation-fill-mode: both;
          animation-fill-mode: both;


    font-family: Arial;
    font-size: 1pc;
    /*background-color: red;*/
    /*height:30px;*/
    /*cursor: pointer;*/
    display: inline-block;
    margin-right: 0.2em;
    margin-left: 0px;
    margin-bottom: 0em;
    /*font-weight: bold;*/
    
    position: relative;
    /*display: float;*/
    /*font-weight: bold;*/
    /*line-height: 20px;*/
    color: #333;
    white-space: nowrap;
    vertical-align: middle;
    border: 1px solid #d5d5d5;
    border-radius: 20px;
    /*padding: 0em;*/
    padding-left: 10px;
    padding-right: 10px;
    margin-top: 3px;
}

.taggle_list .taggle_hot {
  background: #cac8c4;
}


/*The close button before you click it*/
.taggle_list .taggle .close {
    /*height: 30px;*/
    /*width: 30px;*/
    border: none;
  font-size: 1.4rem;
  position: absolute;
  top: 0px;
  right: 0px;
  text-decoration: none;
  padding: 0px;
  line-height: 0.9;
  color: #ccc;
  color: rgba(0, 0, 0, 0.2);
  /*padding-bottom: 10px;*/
  display: none;
  /*border: 0;*/
  background: none;
  cursor: pointer;
}

/*The tag item when it's been hoverred */
.taggle_list .taggle:hover {
  padding-right: 1.3em;
  /*padding-left: 5px;*/
  background: #ccc;
  transition: all .3s;
  /*color: red;*/
}

/*The close cross when the tag has been hovered*/
.taggle_list .taggle:hover > .close {
  display: block;
  margin-right: 4px;
  /*width: 30px;*/
  /*height: 10px;*/
  /*border: none;*/
  vertical-align: center;
  /*padding: none;*/
  /*color: red;*/
}

/*The close cross when it's been hovered*/
.taggle_list .taggle .close:hover {
  color: #990033;
}

/*The placeholder text*/
.taggle_placeholder {
  position: absolute;
  color: #CCC;
  top: 9px;
  left: 10px;
  transition: opacity, .25s;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
          /*color: red;*/
}

/*The input field and text*/
.taggle_input {
  padding: 4px;
  padding-left: 0;
  float: left;
  /*margin-top: -5px;*/
  background: nonx width: 100%;
  max-width: 100%;
  /*color: red;*/
}

.taggle_sizer {
  padding: 0;
  margin: 0;
  position: absolute;
  /*top: -500px;*/
  z-index: -1;
  visibility: hidden;
  /*color: red;*/
}
