/* Modal */
#DModal {
  top: 10%;
  color: #000;
}
#DMbody {
  max-height: 350px;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 0;
  width: 100%;
}
.smar {
	margin: 4px 5px;
}
#DMsubbody {
  margin: 0;
  padding: 0;
}
#DMdialog.modal-mm {
  max-width: 650px;
  min-width: 400px;
}
#DMdialog.modal-mm > .modal-content {
  border-radius: 5px;
}
#DMdialog.modal-lg > .modal-content {
  border-radius: 5px;
}
.modal-open {
  padding-right: 0px !important;
  overflow-y: auto !important;
}
#DMheader,
.confirmation-modal .modal-header {
  background-color: #232323;
  color: #e8e8e8;
  min-height: 15px;
  border: 0;
  padding: 5px 10px;
  border-top-left-radius: 4px;
  border-top-right-radius: 4px;
}
#DMheader > a.close,
.confirmation-modal .modal-header > a.close {
  font-size: 25px;
  text-decoration: none;
  color: #fff;
  padding: 10px;
}
#DMtitle,
.confirmation-modal .modal-title {
  line-height: 30px;
  font-size: 18px;
  font-variant: small-caps;
  font-weight: bold;
}
.confirmation-modal .modal-header > .close,
.ekko-lightbox .modal-header > .close {
  float: right;
  background-color: transparent;
  background-image: none;
  background-repeat: none;
  border-radius: 0;
  box-shadow: none;
  cursor: pointer;
  display: inline-block;
  font-size: 15px;
  font-weight: bold;
}
.ekko-lightbox .modal-header > .close {
  background-color: #1760fa;
  border-radius: 15px;
  height: 30px;
  width: 30px;
}
.ekko-lightbox .modal-footer {
  text-align: center !important;
  font-variant: small-caps;
  font-size: 17px;
}
#waitingmodal h3 {
  font-size: 25px;
}
#closer {
  text-transform: uppercase;
}
.hide {
  display: none;
}
.show {
  display: block;
}
.fright {
	float: right;
}
.fleft {
	float: left;
}
.nomargin {
	margin: 0;
}

/* Poke Info */
#pokeinfop {
	text-align: center;
	margin: 0 auto;
}

#pokeimg {
	float: left;
	margin: 30px;
	width: 100px;
	font-size: 11px;
}

#info {
	float: left;
	margin: 30px;
	width: 150px;
}

#pattacks {
	float: right;
	margin: 30px 10px;
	width: 120px;
}

#pattacks > span {
	display: block;
}

#pokeinfop .head {
	font-weight: bold;
}

#pokeinfop .text {
	font-weight: lighter;
}
#pokeinfop .text > span {
    margin: 4px 5px;
    padding: 5px;
    display: block;
}
/* End Poke Info */

.infobox {
  background-color: #ffffff;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
  color: #696969;
  text-align: left;
  padding: 5px 20px;
  margin: 10px auto;
  display: block;
  /*	float: left;*/
  max-width: 92%;
  min-width: 82%;
  overflow-x: hidden;
  line-height: 24px;
}
.infobox button {
  height: 24px;
  font-size: 13px;
  padding: 1px;
  margin-top: 3px;
}
.infobox > h3,
.infobox > .proffield > h3 {
  color: #000000;
  float: left;
  font-weight: bolder;
  font-size: 16px;
  font-variant: small-caps;
  text-transform: none;
  font-family: 'Open Sans', Helvetica, Arial, sans-serif;
  margin: 0;
  padding: 0;
  border: 0;
}
.infobox > h4,
.infobox > .proffield > h4 {
  color: #424242;
  display: inline;
  float: right;
  font-weight: lighter;
  font-size: 15px;
  font-family: 'Open Sans', Helvetica, Arial, sans-serif;
}
.infobox > h5 > a,
.infobox > .proffield > h5 > a {
  float: left;
  font-size: 10px;
  color: #464646;
}
.infobox label {
  font-size: 85%;
  font-weight: lighter;
}
.secondary {
	margin: 7px 2px;
}
#dispprofmsg {
  width: 90%;
  box-sizing: border-box;
  display: block;
  float: left;
  padding: 20px;
  margin: 20px;
  font-family: 'Ubuntu', sans-serif;
  font-size: 12px;
  line-height: 18px;
  background-color: #d4d4d4;
  position: relative;
}
#dispprofmsg::before {
	content: "\f10d";
	font-family: "Font Awesome 5 Pro";
	font-weight: 900;
	position: absolute;
	font-size: 200%;
	left: -10px;
	top: 0px;
}
#disoprofmsg::after {
	content: "\f10e";
	font-family: "Font Awesome 5 Pro";
	font-weight: 900;
	position: absolute;
	font-size: 200%;
	right: -10px;
	bottom: 0px;
}
#userlinks {
  text-align: center;
  margin: 5px;
  padding: 5px;
}
#phead {
  width: 80%;
  margin: 0 auto;
  height: 30px;
  font-size: 15px;
  padding-top: 10px;
  color: #ffffff;
  background-color: #005ec8;
  text-align: center;
  text-shadow: 2px 2px 2px #000;
  -webkit-border-radius: 20px;
  -moz-border-radius: 20px;
  border-radius: 20px;
}
#gymbadges {
  width: 520px;
  clear: left;
  font-family: 'Open Sans', sans-serif;
  font-size: 16px;
}
#gymbadges > .badgeind {
  width: 45px;
  height: 50px;
  text-align: center;
  overflow-x: hidden;
  overflow-y: hidden;
  float: left;
  padding: 3px;
}
#gymbadges > .badgeind > img {
  max-height: 40px;
  max-width: 40px;
}
/* View Team */
#viewuteam {
  overflow: auto;
  width: 500px;
  margin: 0 auto;
  list-style-type: none;
}
.viewuteammember {
  float: left;
/*  border: 1px solid #4d4d4d;*/
  border-collapse: separate;
  border-spacing: 0px 0px;
  width: 240px;
  height: 220px;
  margin: 5px;
  -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
  -moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
  background-color: #fff;
}
.viewuteammember > .name > .tle {
  font-weight: bolder;
}
.viewuteammember > .name > h4 {
  font-size: 11px;
}
.viewuteammember > .name,
.viewuteammember > .attk {
  text-align: center;
  float: left;
}
.viewuteammember > .name {
  width: 55%;
}
.viewuteammember > .attk {
  margin-top: 40px;
  width: 40%;
}
.viewuteammember > .attk > div {
  padding: 7px 0;
}

/* Start Overlay */
#loading {
	position: fixed;
	top: 50%;
	left: 50%;
	min-width: 120px;
	min-height: 30px;
	padding: 10px 5px 5px;
	line-height: 20px;
	margin: -40px 0 0 -58px;
	border-radius: 3px;
	z-index: 55;
	color: #000;
	background-color: #1760fa;
	text-align: center;
	font-weight: bold;
	font-size: 120%;
}

#overlay {
	display: none;
	position: fixed;
	top: 0px;
	left: 0px;
	width: 100%;
	height: 100%;
	background-color: #000;
	z-index: 49;
}
/* End Overlay */

.pokeinfo,.gamename {
	font-weight: lighter;
	font-size: 14px;
	cursor: pointer;
	font-variant: small-caps;
}

.gamename {
	padding: 0px 5px 0px 30px;
	background: url(https://i.dstatic.com/images/glyphish/1051-id-badge-toolbar-selected.png) center no-repeat transparent;
	background-position: left 5px center; /* x-pos y-pos */
}

.pokeinfo {
	padding: 0px 5px 0px 25px;
	background: url(https://i.dstatic.com/images/glyphish/1011-notepad-toolbar-selected.png) center no-repeat transparent;
	background-position: left 5px center; /* x-pos y-pos */
}

/* Custom for caps */
#nav-main, .crumb, .postbody > div > h3, a.forumtitle {
	font-family: 'Open Sans', sans-serif;
}

#nav-main, .crumb, a.forumtitle {
	letter-spacing: 0.1em;
}

#nav-main > li > a, #nav-main > li > .header-profile {
	background-color: #F0F0F0;
	padding: 1px 5px;
	border-radius: 5px;
}

#nav-main > li > a:hover, #nav-main > li > .header-profile:hover {
	background-color: #E0E0E0;
}

/* Pokemon Cards */
.pokemoncard {
  display: inline-block;
  background-color: #ffffff;
  border: 1px solid #4d4d4d;
  width: 160px;
  height: 310px;
  margin: 5px;
  -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
  -moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
  font-size: 11px;
  perspective: 1000;
  text-align: center;
}

.pokemoncard.tradebutton {
	height: 335px;
}

.pokemoncard.fakecard {
    height: 225px;
}

.pokemoncard .sbtn, .pokemoncard .tbtn, .pokemoncard .secondary {
	margin: 2px 3px;
}

.pokemoncard > .box1 {
    line-height: 16px;
    height: 200px;
}

.pokemoncard > .box1 > img {
  width: 96px;
  height: 96px;
}

.pokemoncard > .box2 {
    height: 100px;
}

.pokemoncard > .box2 > .atkhead {
    border-top: 1px solid #C9C9C9;
    font-size: 13px;
    margin-top: 10px;
    background-color: #F2F2F2;
    font-variant: small-caps;
}
.pokemoncard > .box2 > .attack {
    box-sizing: border-box;
    display: inline-block;
    font-size: 10px;
    height: 40px;
    line-height: 40px;
    margin: 0;
    padding: 0 4px;
    text-align: center;
    width: 50%;
    float:left;
}
.pokemoncard > .box2 > .attack > span {
    display: inline-block;
    line-height: 15px;
    vertical-align: middle;
}
.pokemoncard > .bottom {
	height: 25px;
	font-size: 16px;
	font-weight: bold;
	color: #fff;
	text-align: center;
	line-height: 25px;
	display: block;
	font-variant: small-caps;
}
.pokemoncard > .blue {
	background-color: #00aced;
}
.pokemoncard > .red {
    background-color: #bb0000;
    cursor: default;
}
.pokemoncard > .grey {
    background-color: #545454;
}
.scaps {
	font-variant: small-caps;
}
/* special colors for type threads */
.global_read_locked, .global_read_locked_mine, .global_unread_locked, .global_unread_locked_mine,
.announce_read_locked, .announce_read_locked_mine, .announce_unread_locked, .announce_unread_locked_mine,
.forum_read_locked, .forum_unread_locked,
.topic_read_locked, .topic_read_locked_mine, .topic_unread_locked, .topic_unread_locked_mine {
	background-color: #E5E5E5;
}

.sticky_read_locked, .sticky_read_locked_mine, .sticky_unread_locked, .sticky_unread_locked_mine {
	background-color: #add1ff !important;
}

.topics > .sticky {
	background-color: #add1ff !important;
	border-color: #366db3 !important;
}

/* Forum icons & Topic icons */
dl.icon {
	background-position: 5px 50%;		/* Position of folder icon */
	background-repeat: no-repeat;
	background-size: 40px;
}

dl.icon dt .list-inner {
	padding-left: 50px;
}

.tp-icon {
	height: 16px;
	width: 16px;
	vertical-align: text-bottom;
}

.global_read					{ background-image: url("./pokemon/lugia_read.png"); }
.global_read_mine				{ background-image: url("./pokemon/lugia_read_mine.png"); }
.global_read_locked				{ background-image: url("./pokemon/lugia_read_locked.png"); }
.global_read_locked_mine		{ background-image: url("./pokemon/lugia_read_locked_mine.png"); }
.global_unread					{ background-image: url("./pokemon/lugia_unread.png"); }
.global_unread_mine				{ background-image: url("./pokemon/lugia_unread_mine.png"); }
.global_unread_locked			{ background-image: url("./pokemon/lugia_unread_locked.png"); }
.global_unread_locked_mine		{ background-image: url("./pokemon/lugia_unread_locked_mine.png"); }

.announce_read					{ background-image: url("./pokemon/lugia_read.png"); }
.announce_read_mine				{ background-image: url("./pokemon/lugia_read_mine.png"); }
.announce_read_locked			{ background-image: url("./pokemon/lugia_read_locked.png"); }
.announce_read_locked_mine		{ background-image: url("./pokemon/lugia_read_locked_mine.png"); }
.announce_unread				{ background-image: url("./pokemon/lugia_unread.png"); }
.announce_unread_mine			{ background-image: url("./pokemon/lugia_unread_mine.png"); }
.announce_unread_locked			{ background-image: url("./pokemon/lugia_unread_locked.png"); }
.announce_unread_locked_mine	{ background-image: url("./pokemon/lugia_unread_locked_mine.png"); }

.forum_link						{ background-image: url("./pokemon/voltorb_forum_link.png"); }
.forum_read						{ background-image: url("./pokemon/voltorb_read.png"); }
.forum_read_locked				{ background-image: url("./pokemon/voltorb_read_locked.png"); }
.forum_read_subforum			{ background-image: url("./pokemon/voltorb_read_subforum.png"); }
.forum_unread					{ background-image: url("./pokemon/voltorb_unread.png"); }
.forum_unread_locked			{ background-image: url("./pokemon/voltorb_unread_locked.png"); }
.forum_unread_subforum			{ background-image: url("./pokemon/voltorb_unread_subforum.png"); }

.sticky_read					{ background-image: url("./pokemon/blastoise_read.png"); }
.sticky_read_mine				{ background-image: url("./pokemon/blastoise_read_mine.png"); }
.sticky_read_locked				{ background-image: url("./pokemon/blastoise_read_locked.png"); }
.sticky_read_locked_mine		{ background-image: url("./pokemon/blastoise_read_locked_mine.png"); }
.sticky_unread					{ background-image: url("./pokemon/blastoise_unread.png"); }
.sticky_unread_mine				{ background-image: url("./pokemon/blastoise_unread_mine.png"); }
.sticky_unread_locked			{ background-image: url("./pokemon/blastoise_unread_locked.png"); }
.sticky_unread_locked_mine		{ background-image: url("./pokemon/blastoise_unread_locked_mine.png"); }

.topic_moved					{ background-image: url("./pokemon/moved.png"); }
.topic_read						{ background-image: url("./pokemon/wartortle_read.png"); }
.topic_read_mine				{ background-image: url("./pokemon/wartortle_read_mine.png"); }
.topic_read_hot					{ background-image: url("./pokemon/wartortle_read.png"); }
.topic_read_hot_mine			{ background-image: url("./pokemon/wartortle_read_mine.png"); }
.topic_read_locked				{ background-image: url("./pokemon/wartortle_read_locked.png"); }
.topic_read_locked_mine			{ background-image: url("./pokemon/wartortle_read_locked_mine.png"); }
.topic_unread					{ background-image: url("./pokemon/wartortle_unread.png"); }
.topic_unread_mine				{ background-image: url("./pokemon/wartortle_unread_mine.png"); }
.topic_unread_hot				{ background-image: url("./pokemon/wartortle_unread.png"); }
.topic_unread_hot_mine			{ background-image: url("./pokemon/wartortle_unread_mine.png"); }
.topic_unread_locked			{ background-image: url("./pokemon/wartortle_unread_locked.png"); }
.topic_unread_locked_mine		{ background-image: url("./pokemon/wartortle_unread_locked_mine.png"); }

.pm_read						{ background-image: url("./pokemon/lapras_read.png"); }
.pm_unread						{ background-image: url("./pokemon/lapras_unread.png"); }

/* Smilies size */
.smilies {
	height: 16px;
	width: 16px;
}

.breadcrumbs > i {
	float: left;
	font-size: 20px;
}

.icon-page-custombbcodes {
	background-image: url("./images/icon_bb.png?3");
}

.content a {
    color: 115098;
    font-weight: bolder;
    text-decoration: underline;
}

.content .codebox a {
	color: #424242;
}

/* Notify Boxes */
.error,
.notify_error,
.notify_done,
.notify_warning,
.notify_warn,
.notify_info,
.notify_question {
  font-size: 14px;
  line-height: 21px;
  margin-bottom: 10px;
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
  -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 1px 3px rgba(0, 0, 0, 0.25);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 1px 3px rgba(0, 0, 0, 0.25);
  -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);
  border: none;
  color: #fff;
  min-height: 50px;
  /*padding: 15px 15px 15px 80px;*/
  padding: 10px 15px 15px 45px;
}
.error a,
.notify_error a,
.notify_done a,
.notify_warning a,
.notify_warn a,
.notify_info a,
.notify_question a {
  color: #fff;
  font-variant: small-caps;
}
.error a.btn-default,
.notify_error a.btn-default,
.notify_done a.btn-default,
.notify_warning a.btn-default,
.notify_warn a.btn-default,
.notify_info a.btn-default,
.notify_question a.btn-default {
  color: #000;
}
.error h1,
.notify_error h1,
.notify_done h1,
.notify_warning h1,
.notify_warn h1,
.notify_info h1,
.notify_question h1 {
  font-size: 120%;
  font-weight: bold;
  font-variant: small-caps;
}
.error.mini,
.notify_error.mini,
.notify_done.mini,
.notify_warning.mini,
.notify_warn.mini,
.notify_info.mini,
.notify_question.mini {
  min-height: 25px;
  line-height: 18px;
  padding: 10px 3px 5px 30px;
}
.notify_done,
.notify_warn,
.notify_warning,
.error,
.notify_error,
.notify_info,
.notify_question {
  position: relative;
}
.notify_done::before,
.notify_warn::before,
.notify_warning::before,
.error::before,
.notify_error::before,
.notify_info::before,
.notify_question::before {
  min-width: 30px;
  min-height: 30px;
  line-height: 30px;
  text-align: center;
  display: inline-block;
  vertical-align: middle;
  padding: 6px;
  font-size: 30px;
  font-family: "Font Awesome 5 Pro";
  position: absolute;
  left: -10px;
  top: 10px;
  border-radius: 5px;
  -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25), 0 1px 3px rgba(0, 0, 0, 0.25);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25), 0 1px 3px rgba(0, 0, 0, 0.25);
  -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
}
.notify_done.mini::before,
.notify_warn.mini::before,
.notify_warning.mini::before,
.error.mini::before,
.notify_error.mini::before,
.notify_info.mini::before,
.notify_question.mini::before {
  font-size: 20px;
  min-width: 20px;
  min-height: 20px;
  line-height: 20px;
  padding: 4px;
  top: 5px;
}
#DMbody > .error,
.notify_error,
.notify_done,
.notify_warning,
.notify_warn,
.notify_info,
.notify_question {
  padding: 10px 15px 15px 65px;
}
#DMbody > .error::before,
.notify_error::before,
.notify_done::before,
.notify_warning::before,
.notify_warn::before,
.notify_info::before,
.notify_question::before {
  left: 10px;
  top: 10px;
}
#DMbody > .error.mini,
.notify_error.mini,
.notify_done.mini,
.notify_warning.mini,
.notify_warn.mini,
.notify_info.mini,
.notify_question.mini {
  padding: 10px 3px 5px 45px;
}
.notify_done {
  background-color: #70AD28;
  color: #fff;
}
.notify_done::before {
  content: "\f00c";
  background-color: #3a5a15;
}
.notify_error, .error {
  background-color: #F44336;
  color: #fff;
}
.notify_error::before, .error::before {
  /*content: "\f54c";*/
  content: "\f7ba";
  background-color: #ba160a;
}
.notify_warning,
.notify_warn {
  background-color: #f57c00;
  color: #fff;
}
.notify_warning::before,
.notify_warn::before {
  content: "\f071";
  background-color: #c26200;
}
.notify_info {
  background-color: #d81b60;
  color: #fff;
}
.notify_info::before {
  content: "\f05a";
  background-color: #7d1038;
}
.notify_question {
  background-color: #2196F3;
  color: #fff;
}
.notify_question::before {
  content: "\f059";
  background-color: #0960a5;
}

/* Used as white infoboxes */
.cardif {
  background-color: #FFFFFF;
  -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4), 0 1px 3px rgba(0, 0, 0, 0.25);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4), 0 1px 3px rgba(0, 0, 0, 0.25);
  -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
  box-sizing: border-box;
}
.cardif.pad {
  padding: 10px;
  margin-top: 10px;
  margin-bottom: 10px;
}
.cardif.scamborder {
  border-bottom: 4px solid #c83025;
}

/* Board Rules */
.boardrules-container #main {
	background-color: #FFF;
	padding: 10px;
}

/* ToS */
.content .agreement {
	font-size: 130%;
}
