:root {
  --bgimg: url('/img/bg/stone.png');
  --content_bg: rgba(25,25,25, 0.9);
  --border: rgb(203, 195, 150);
  --button: rgb(175,175,175);
  --button_disabled: rgb(75,75,75);
  --link: rgb(255, 40, 170);
  --link_hover: rgb(180, 40, 220);
  --quest: rgb(150, 100, 250);
  
  scrollbar-color: var(--border) var(--content_bg);
}

@font-face {
  font-family: FantaisieArtistique;
  src: url('/fonts/FantaisieArtistique.ttf');
}

@font-face {
  font-family: EverQuest;
  src: url('/fonts/everquest.ttf');
}



/* ---- Elements ---- */

a:link, a:active, a:visited {
  font-size: 11pt;
  color: var(--link);
  text-decoration: none;
}

a:hover {
  color: var(--link_hover);
}

body {
  margin: 0px;
  
  background: black;
  background-image: var(--bgimg);
  background-repeat: repeat;
  color: white;
  
  font-family: arial;
}

hr {
  border: 1px solid var(--border);
  width: 80%;
}

li {
  margin-bottom: 15px;
}

option {
  background: black;
  color: white;
  text-align: center;
}

table {
  font-size: 10pt;
}



/* ---- Classes ---- */
.account_actions {
  width: 100%;
  text-align: center;
  
  div {
    display: inline-block;
    vertical-align: top;
  }
}

.account_name {
  font-family: arial;
  font-size: 14pt;
}

.armory {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  z-index: 10;
  
  border: 1px solid var(--border);
  border-radius: 10px;
  width: 460px;
  height: 340px;
  margin: 10px;
  padding: 10px;
  display: inline-block;
  font-size: 10pt;
  
  background-image: url('/img/roster/light.gif');
  
  .stats {
    width: 125px;
    position: relative;

    .stat {
      position: absolute;
      right: 5px;
      color: green;
      font-weight: bold;
    }
  }
  
  .equipment {
    width: 230px;
    
    position: absolute;
    top: 10px;
    left: 140px;
    
    margin: auto;
    text-align: center;
    table-layout: fixed;
  }
  
  .inventory {
    position: absolute;
    right: 15px;
    top: 10px;
    
    .currency {
        
      div {
        width: 83px;
        height: 25px;
        background-image: var(--coin), url('/img/roster/coin.gif');
        background-position: left, center;
        background-repeat: no-repeat;
        background-size: 18px 18px, 100% 100%;
        text-align: center;
        vertical-align: middle;
        line-height: 25px;
        font-size: 9pt;
      }
    }
    
    .backpack {
      position: absolute;
      top: 126px;
    }
    
    .inv_close {
      position: absolute;
      top: 310px;
      width: 85px;
      
      background-image: url('/img/bg/stone.png');
      background-size: cover;
      color: var(--button);
      
      mmin-height: 25px;
      font-size: 9pt;
      cursor: pointer;
    }
  }

  .slot {
    width: 40px;
    height: 40px;
    background-image: var(--slot);
    background-position: center;
    background-size: cover;
    text-align: center;
    
    img {
	    width: 36px;
      height: 36px;
    }
  }
  
  .classanimation {
    background-image: var(--classanim);
    background-position: center;
    background-repeat: no-repeat;
    background-size: 80px 160px;
  }
}

.blur {
  filter: blur(10px);
}

.blur:hover {
  animation-name: unblur;
  animation-duration: 1s;
  animation-fill-mode: forwards;
}

@keyframes unblur {
  from {filter: blur(10px);}
  to   {filter: blur(0);}
}

.button {
  background-image: url('/img/bg/stone.png');
  background-size: cover;
  color: var(--button);
  min-width: 120px;
  min-height: 25px;
  font-size: 10pt;
  cursor: pointer;
}

.button_round {
  border-radius: 10px;
}

.cancel {
  box-shadow: inset 0 0 0 2000px rgba(255, 0, 0, 0.3);
}

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

.character {
  display: inline-block;
  vertical-align: top;
  text-align: center;
  position: relative;
  width: 250px;
  height: 150px;
  border: 1px solid var(--border);
  border-radius: 0px 20px 0px 0px;
  
  background-image: var(--character_image), url('/img/roster/light.gif');
  background-size: cover;
  background-size: auto 150px, cover;
  background-repeat: no-repeat, repeat;
  background-position: right, center;
  
  margin: 10px;
  
  overflow: hidden;
  
  img {
    position: absolute;
    left: 0px;
    top: 0px;
    height: 150px;
    z-index: 0;
  }
  
  span {
    width: 100%;
    text-align: center;
    text-shadow: 1px 1px 2px black, 0 0 25px var(--quest), 0 0 5px var(--quest);
    position: absolute;
    z-index: 1;
    
    cursor: pointer;
  }
  
  span:hover {
    color: var(--quest);
  }
  
  span:nth-child(odd) {
    text-wrap: nowrap;
    font-family: EverQuest;
    font-size: 20pt;
    top: 0px;
    left: 0px;
  }
  
  span:nth-child(even) {
    width: 100%;
    font-size: 12pt;
    font-weight: bold;
    background: rgba(0,0,0,0.7);
    border-radius: 0px 0px 20px 20px;
    position: absolute;
    bottom: 0px;
    left: 0px;
  }
  
  .level {
    display: flex;
    position: absolute;
    top: 0px;
    right: 0px;
    width: 50px;
    height: 50px;
    
    background-image: var(--bgimg);
    color: var(--border);
    
    font-weight: bold;
    font-size: 18pt;
    border-radius: 0px 20px 0px 50px;
    
    align-items: center; /* Vertically centers content */
    justify-content: center; /* Horizontally centers content (optional) */
  }
}

.character:hover {
  bborder: 1px solid var(--quest);
}

.cookieconsent {
  width: 90vw;
  min-height: 20vh;
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: 10px;
  
  display: none;
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translate(-50%, 0%);
  
  background: black;
  color: white;
  font-size;: 18pt;
  z-index: 100;
}

.content {
  background: var(--content_bg);
  
  position: relative;
  padding: 10px;
  margin-bottom: 20px;

  left: 280px;
  top: 0px;
  
  width: calc(100% - 320px);
  border: 1px solid var(--border);
}

.dnlauncher {
  border-radius: 20px;
}

.eq {
  font-family: everquest;
  font-size: 14pt;
  font-weight: bold;
}

.faq {
  width: 90%;
  margin: auto;
  
  a {
    font-size: 14pt;
  }
}

.feature {
  width: 90%;
  min-height: 195px;
  margin-left: 5%;
  margin-bottom: 30px;
  padding: 5px;
  border-radius: 20px;
}

.feature::first-line {
  font-family: EverQuest;
  font-size: 18pt;
}

.feature:hover {
  box-shadow: 0 0 40px 5px var(--link_hover);
}

.feature img {
  border: 2px solid var(--link_hover);
  border-radius: 15px;
  vertical-align: top;
  float: left;
  clear: left;
  margin: 5px;
}

.feature:nth-child(even) img {
  float: right;
  clear: right;
}

.form_text {
  background-image: url("/img/bg/stone.png");
  border-color: var(--button_disabled);
  color: var(--button);
}

.guildbank {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  z-index: 10;
  
  border: 1px solid var(--border);
  border-radius: 10px;
  width: 500px;
  max-height: 400px;
  margin: 10px;
  padding: 10px;
  display: inline-block;
  font-size: 10pt;
  
  background-image: url('/img/roster/light.gif');
  
  overflow-y: scroll;
  line-height: 30px;
  
  .inv_close {
    position: sticky;
    top: 15px;
    width: 100%;
    text-align: right;
  }

  .inv_close_btn {
    width: 85px;

    background-image: url('/img/bg/stone.png');
    background-size: cover;
    color: var(--button);
    
    font-size: 9pt;
    cursor: pointer;
  }
  
  img {
    width: 30px;
    height: 30px;
    vertical-align: middle;
  }
}

.header {
  font-size: 24pt;
  font-family: FantaisieArtistique;
  text-align: center;
  margin: 30px;
  color: var(--border);
  
  img {
    max-width: 100%;
  }
}

.hotzone {
  background: rgba(0, 0, 0, 0) !important;
}

.hotzone_row {
  background: rgba(200, 0, 0, 0.1) !important;
}

.hotzone_row:hover {
  background: rgba(255, 0, 0, 0.4) !important;
}

.login {
  width:30vw;
  left:50vw;
  top:50vh;
  transform: translate(-50%,-60%);
}

.nav_container {
  position: fixed;
  top: 0px;
  left: 0px;
  
  width: 250px;
  max-height: 100vh;
  overflow-y: auto;
  
  scrollbar-color: var(--border) var(--content_bg);
  scrollbar-width: thin;
}

.navigation::first-line {
  font-family: FantaisieArtistique;
  font-size: 14pt;
  color: var(--border);
}

.navigation {
  position: relative;
  
  font-size: 10pt;
  width: 200px;

  background: var(--content_bg);
  border: 1px solid var(--border);
  padding: 5px;
  margin:10px;
  margin-top: 20px;
}

.noborder {
  border: none !important;
}

.page {
  font-weight: bold;
  min-width: 0px;
  width: 35px;
  height: 35px;
  background-image: url('/img/misc/page_button.png');
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.petitions {
  width: 100%;
  vertical-align: top;
  text-align: center;
}

.petition {
  display: inline-block;
  width: 450px;
  margin: auto;
  border: 1px solid var(--border);
  border-radius: 20px 20px 0px 0px;
  text-align: left;
  margin: 10px;
  padding: 5px;
}

.pet_title {
  background-image: url("img/misc/leftt.gif"), url("img/misc/rightt.gif"), url("img/misc/midt.gif");
  background-position: left top, right top, top;
  background-repeat: no-repeat, no-repeat, no-repeat;
  background-size: 14px 22px, 14px 22px, calc(100% - 28px) 22px;
  font-size: 11pt;
  height: 22px;
  text-align: center;
  position: relative;
  top: -10px;
}

.quest {
  color: var(--quest);
  font-weight: bold;
}

.roster {
  width: 70%;
  margin: 0px auto;

  border: 1px solid var(--border);
  border-radius: 10px;
}

.roster img {
  background: rgba(255,255,255,0.3);
  width: 25px;
  height: 25px;
}

.roster tr:nth-child(even) {
  background: rgb(50,50,50);
}

.roster tr {
  height: 25px;
}

.roster tr:hover {
  background: rgba(255,255,255,0.2);
}

.roster_navmain {
	width: 70%;
	margin: auto;
	text-align: center;
}

.roster_nav {
	width: 100px;
	display: inline-block;
}

.roster_page {
  height: 40px;
  text-align: center;
}


.search {
  width: 80%;
  text-align: center;
  margin: auto;
  
  border: 1px solid var(--border);
  border-radius: 10px;
  
  
  padding-top: 20px;
  padding-bottom: 20px;
}

.search div{
  display: inline-block;
  vertical-align: top;
  padding: 10px;
}

.service {
  height: 25px;
  vertical-align: middle;
}

.spacer {
  height: 12px;
}

.submit {
  box-shadow: inset 0 0 0 2000px rgba(0, 255, 0, 0.3);
  font-weight: bold;
  color: white;
}

.thumbnail {
  width: 320px;
  height: 180px;
}

.view {
  content: url("/img/misc/eye_disabled.png");
  vertical-align: middle;
  background-repeat: no-repeat;
  background-size: cover;
  width: 30px;
  height: 30px;
}

.view:hover {
  content: url("/img/misc/eye_enabled.png");
}

@media (orientation: portrait) {
  .login {
    width: 75vw;
    transform: translate(-50%,-55%);
    
    hr {
      margin: 40px;  
    }
    
    input {
      font-size:32pt;
      max-width: 90%;
    }
    
    .header {
      font-size: 45pt;
    }
  }
  
  .roster {
    width: 95%;
  }
  
  .search {
    width: 95%;
  }
}