@charset "utf-8";
@import url("webfonts/stylesheet.css");
/* CSS Document */

/* Fixes */
article,aside,details,figcaption,figure,footer,header,hgroup,nav,section,summary{display:block;}audio,canvas,video{display:inline-block;}audio:not([controls]){display:none;height:0;}[hidden]{display:none;}html{font-family:sans-serif;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%;}a:focus{outline:thin dotted;}a:active,a:hover{outline:0;}h1{font-size:2em;}h2{font-size:1.5em;}abbr[title]{border-bottom:1px dotted;}b,strong{font-weight:700;}dfn{font-style:italic;}mark{background:#ff0;color:#000;}code,kbd,pre,samp{font-family:monospace, serif;font-size:1em;}pre{white-space:pre-wrap;word-wrap:break-word;}q{quotes:\201C \201D \2018 \2019;}small{font-size:80%;}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline;}sup{top:-.5em;}sub{bottom:-.25em;}img{border:0;}svg:not(:root){overflow:hidden;}fieldset{border:1px solid silver;margin:0 2px;padding:.35em .625em .75em;}button,input,select,textarea{font-family:inherit;font-size:100%;margin:0;}button,input{line-height:normal;}button,html input[type=button], 1 
 input[type=reset],input[type=submit]{-webkit-appearance:button;cursor:pointer;}button[disabled],input[disabled]{cursor:default;}input[type=checkbox],input[type=radio]{box-sizing:border-box;padding:0;}input[type=search]{-webkit-appearance:textfield;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;box-sizing:content-box;}input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-decoration{-webkit-appearance:none;}textarea{overflow:auto;vertical-align:top;}table{border-collapse:collapse;border-spacing:0;}body,figure{margin:0;}legend,button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0;}


.clearfix:after {visibility: hidden; display: block; font-size: 0; content: “ “; clear: both; height: 0; }

.button.google {width:191px; height:46px; background:url("login/google_signin_buttons/web/2x/btn_google_signin_light_normal_web@2x.png"); background-size:cover;text-size:14px; color:transparent; overflow:hidden;border-radius:0;transform:none;}
.button.google:active {background:url("login/google_signin_buttons/web/2x/btn_google_signin_light_pressed_web@2x.png"); background-size:cover;text-size:14px; color:transparent; overflow:hidden;border-radius:0;transform:none;}
.button.google:focus {background:url("login/google_signin_buttons/web/2x/btn_google_signin_light_focus_web@2x.png"); background-size:cover;text-size:14px; color:transparent; overflow:hidden;border-radius:0;transform:none;}
 * { -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box;-webkit-tap-highlight-color:  rgba(255, 255, 255, 0);}

/*Global styles */
body {
    margin: 0;
    min-height: 100vh;
    position: relative;
	background-position: center center;
    color: #eee;
    font-family: 'Heebo', sans-serif;
	line-height: 1.7em;
	-webkit-tap-highlight-color: none;
background: rgb(11,103,41);
background: linear-gradient(90deg, rgba(19,74,37,1) 0%, rgba(23,99,91,1) 100%);

}
.centered {text-align:center;}
#content {min-height:81.5vh; padding: 5vh 15px;max-width: 1200px;
	margin: auto; text-align: center;}

a {color:#ffffff;text-decoration: none;padding-bottom:1px;display:inline-block;position:relative;}
a::after{content: "";
    width: 100%;
    height: 2px;
    background: rgb(230,101,14);
    background: linear-gradient(135deg, rgba(230,101,14,1) 0%, rgba(248,173,25,1) 100%);
    position: absolute;
    left: 0px;
    bottom: 3px;}
#mainMenu a::after,#langMenu a::after{content:none;}
a.button::after{content:none;}
.separator {display:inline-block; margin:0 10px;}
.logoLink{display: block;
    width: 60%;
	height: 60%;}
.logoLink::after,.imgLink::after {content:none;}
.wallpaper, .premiumGradient {width:100vw;height:130vh; position:fixed;left:0;top:0;}

.wallpaper{
background: rgb(11,103,41);
background: linear-gradient(90deg, rgba(19,74,37,1) 0%, rgba(23,99,91,1) 100%);
	z-index:-10;overflow:hidden;}

.premiumGradient {background: rgb(11,103,41);
background: linear-gradient(0deg, rgba(31,31,31,0) 0%,rgba(31,31,31,0) 30%, rgba(31,31,32,1) 100%);z-index:-9}

.hidden {display:none!important;}
input#name, input#optional_cp_input{width: 100%;
    max-width: 240px;
    padding: 5px;
    text-align: center;
    border-radius: 5px;}
input#optional_cp_input{
margin-top:1.5vh;display:none;}
select#existingBuddy {width: 100%;
    max-width: 240px;
    padding: 5px;
    border-radius: 5px;}
h1, h2, h3, h4 {font-family:  'kitsunekurisuregular', sans-serif; font-weight: normal;}
h1 {text-align: center; color:#fff;  font-size: 2em;
    margin-bottom:10px;
	
}
.jp h1 {margin-top:5px;margin-bottom:30px;}
h3 {text-align: center;color:#aaa; font-size: 1em; letter-spacing: 0.1em;
    margin-top: 10px;
}

.sectionTitleSmall {text-align: center;color:#aaa; font-size: 0.8em; letter-spacing: 0.3em; line-height:1.3em;
    margin:1em 0; text-transform: uppercase; display: block;
}

#popUp {position: fixed;
    background: rgba(31,31,31,0.5);
    width: 100%;
    height: 100%;
z-index: 30;}
.popUpContent {    background: #eee;
    color: rgb(31,31,32);
    text-align: center;
    width: 80vw;
    margin: auto;
    position: relative;
    top: 50%;
    transform: translateY(-50%);
    max-width: 400px;
    padding: 30px;
    border-radius: 10px;}
.centeredX {left: 50%; transform: translateX(-50%);}

.centeredY {top: 50%; transform: translateY(-50%);}

.centeredX.centeredY {transform: translateX(-50%) translateY(-50%);}
@keyframes loader {
  from {transform: rotate(0deg);}
  to {transform: rotate(360deg);}
}

/* The element to apply the animation to */

.loader {background:url("images/kk-loader.png"); background-size:contain; background-repeat: no-repeat; background-position: center top; width:30px;height:30px; margin:auto;
animation-name: loader;
	animation-duration: 2s;
animation-iteration-count: infinite;
	animation-timing-function: cubic-bezier(.82,.01,.19,.99);
margin-bottom:30px;
}
#buddyList {max-width:600px}
#buddyList .row{transition:height 0.5s cubic-bezier(.82,.01,.19,.99);}
.nameCell {width:46%; display: inline-block; padding:5px 5px 5px 35px; text-align: left;line-height:1.2em;}
.heartCell {width:19%; display: inline-block; padding:5px;}
.toGoCell {width:19%; display: inline-block; padding:5px;}
.deleteCell {width:16%; display: inline-block; padding:5px;text-align:center;}
.nameCell,.heartCell,.toGoCell,.deleteCell {vertical-align: middle;position:relative;}
.buddyHistoryChartContainer {position:relative;width: calc(100%); max-width:335px; height:156px; padding-left:35px; padding-bottom:25px;margin:auto;}
.buddyHistoryChartContainer canvas{width:100%; height:156px;}
.buddyHistoryChartContainer .buddyDate{position: absolute;
    bottom: 5px;
    left: 270px;
    width: 80px;
font-size: 0.7em;}
.buddyHistoryChartContainer::before{
	
	content:"";
	background:url("images/heartchart.png");
	background-size:30px 156px;
	background-repeat: no-repeat;
	background-position:center center;
	width:30px;
	height:156px;
	position:absolute;
	left:3px;
	top:0px;
}
.buddyHistoryAnalysis{font-size: 0.9em;
    padding: 10px 20px 10px 20px;line-height:1.3em;}
.expand{position: absolute;
    width: 20px;
    height: 20px;
    display: block;
    left: 7px;
    top: 50%;
    transform: translateY(-50%) rotate(0deg);
background:url("images/expandarrow.png");
background-size:contain;background-repeat: no-repeat;background-position:center center;
transition:transform 0.5s cubic-bezier(.82,.01,.19,.99);}
.buddyHistoryChartContainer, .buddyHistoryAnalysis{display:none;}
.expanded .buddyHistoryChartContainer, .expanded .buddyHistoryAnalysis{display:block;}
.expanded .expand {transform: translateY(-50%) rotate(90deg);}
.deleteEntry{cursor: pointer; color:transparent;background:url("images/delete.png"); background-repeat: no-repeat; background-position: center top; background-size:100% auto; display:inline-block; width:26px;height:26px;border-radius:3px;}
.deleteEntry:active{background-position:center bottom;}
.relative {position: relative;}
.absolute {position: absolute;}
button.button {border:none;}
button.button:focus {outline:0;}
.button {    display: inline-block;
    width: auto;
    text-align: center;
	color:#fff;
    background: #fd810f;
    padding: 6px 25px;
    font-size: 1.2em;
    border-radius: 30px;
	transform:scale(1) translateY(0px);
	transition: transform .1s linear;
cursor: pointer;}

.button:active{background:#ffffff; color:#fd810f; transform:scale(0.95) translateY(1px);}

#output {color:#aaa; font-size:0.9em; line-height:1.5em;}
#heartsAccrued {    font-size: 1.1em;
    padding-bottom: 10px;
    margin-bottom: 10px;
    border-bottom: solid #aaa 2px;
    display: inline-block;}
.white {color:#fff;}

#logo {background:url("images/hex-white.svg");background-position: center center; background-size: auto 100%; background-repeat:  no-repeat ;width: 12vh;
    height: 12vh;max-width:140px;max-height:140px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%)}

#mobileMenu, #langOptions {    position: absolute;
    left: 5vw;
    top: 4vh;
    color: transparent;
    font-family: 'kitsunekurisuregular', sans-serif;
    font-weight: normal;
    line-height: 1em;
	font-size: 2.5vh;width:50%;overflow:hidden;cursor:pointer;}
#langOptions {right:5vw;padding-left:26px;left:auto;width:auto;color:#fd810f;overflow: visible;text-transform: uppercase;}
#langOptions .expand {    width: 18px;
    height: 18px;top:48%;}
.menuButtonWrapper span {position:absolute;color: #fd810f;}
.menuButtonWrapper .menu {left:2.5vh;top:0;transition:top 0.5s cubic-bezier(.82,.01,.19,.99);}
.menuButtonWrapper .close {left:2.5vh; bottom:-3vh;transition:bottom 0.5s cubic-bezier(.82,.01,.19,.99);}
.close .menuButtonWrapper .menu {left:2.5vh;top:-3vh;}
.close .menuButtonWrapper .close {left:2.5vh; bottom:0vh;}
.burger {left:2px;display: inline-block;
    width: 1.7vh;
    height: 1.6vh;
    margin-right: 5px;
transform: rotate(0deg);transition:transform 0.5s cubic-bezier(.82,.01,.19,.99);}
.close .burger {transform: rotate(180deg);}
.topbun,.patty,.bottombun {width: 100%;
    height: 100%;border-radius:2px;position:absolute;transition:all 0.5s cubic-bezier(.82,.01,.19,.99);}
.topbun {top:0; background:url("images/burger-bun.png"); background-size:100% 100%; background-position: center center; background-repeat: no-repeat;}
.patty {top:0%;transform:rotate(0deg) scaleX(1); transform-origin: center center; background:url("images/burger-patty.png"); background-size:100% 100%; background-position: center center; background-repeat: no-repeat;}
.patty.two {top:0%;transform:rotate(0deg) scaleX(1); transform-origin: center center; background:url("images/burger-patty.png"); background-size:100% 100%; background-position: center center; background-repeat: no-repeat;opacity:0}
.bottombun {top:0; background:url("images/burger-base.png"); background-size:100% 100%; background-position: center center; background-repeat: no-repeat;}

.close .topbun {width:0}
.close .patty {transform: rotate(45deg) scaleX(1.4142135);}
.close .patty.two{opacity:1;transform: rotate(-45deg) scaleX(1.4142135);}
.close .bottombun { width:0}
#mainMenu,#langMenu {background: rgb(230,104,14);
    background: linear-gradient(145deg, rgba(230,104,14,1) 0%, rgba(232,132,17,1) 50%, rgba(248,172,25,1) 100%);
    position: absolute;
    width: 100%;
    overflow-y: scroll;
    z-index: 9;
    transition:transform 0.5s cubic-bezier(.82,.01,.19,.99);transform: translateY(-100%);height:0px}
#mainMenu.shown,#langMenu.shown{display:block;transform: translateY(0px);height:auto;padding-top: 7vh;
    padding: 7vh 5vw;}
#mainMenu .sectionTitleSmall {color: rgba(255,255,255,0.5);
    text-align: left;}
#mainMenu ul,#langMenu ul {margin:0;padding:0}
#mainMenu li,#langMenu li {list-style:none;}
#langMenu {text-align: right;}
header {width:100%; height:10vh; background: #fff; max-height:120px;
		background-position: center center; background-size: auto 50%; background-repeat:  no-repeat ; z-index:10;}
#footerLogo {max-width: 140px;
	min-width:100px;
    width: 40vw;
	margin-bottom:10px;
}
#footer {text-align:center; }
.copyrightNotice {font-size:13px;bottom:0; color:#999; line-height:1.6em;padding:7px;padding-bottom:20px;}

#howItWorks {}
/* Buddy Checker */
.disabled {color:#999;pointer-events: none;}
p {text-align:left; padding:0px 10px;    max-width: 800px;
    margin: 25px auto;}

	#output{display:block;
    text-align: center;
    }
	.outputBlock255, .outputBlock0{display: inline-block;
    width: 1px;
    height: 50px;
    }
	.outputBlock255{background: #ffffff;}
	.outputBlock0{background: #000000;}
	#heartContainer{
		
		width: 50vw;
    height: 12vw;
		max-width:270px;
		max-height:66px;
    margin: auto;
		
	}
	#heartContainerRatio{
		width:100%;
		height:0px;
		padding-top:calc(24/100 * 100%);
		left:50%;
  transform: translateX(-50%);
  position: relative;}
#completedHearts {background:url("images/hearts-completed.png"); background-size:auto 100%; background-repeat: no-repeat; background-position: left center; width:0; height:100%; position:absolute;top:0;left:0;}
#incompletedHearts {background:url("images/hearts-incomplete.png"); background-size:auto 100%; background-repeat: no-repeat; background-position: left center; width:0; height:100%; position:absolute;top:0;left:0;}
#heartContainerRatio {background:url("images/hearts-empty.png"); background-size:auto 100%; background-repeat: no-repeat; background-position: left center; }
	#canvasContainer{
	position: absolute; top:-8000px;left:-8000px; display:none;
}
	
#buddyRing {height:15vh; max-height: 133px; margin:7vw; background:url("images/buddy-ring.png"); background-size: auto 100%; background-position: center center; background-repeat: no-repeat;}
.reduced {    opacity: 0.2;}
	.reset {transition: none !important;}
		#output {    text-align: center;
    padding: 7vw 2px;}
	
	.imgFrame {overflow: hidden;
    width: 50vw;
		height:37vw;
		max-width:500px;
		max-height:372px;
    border-radius: 10px;
        border: solid 3px rgba(0,0,0,0);
    margin: auto;
    box-shadow: 0px 0px 0px 3px rgba(253,129,15,1);
}
.cancel {
    background: #aaa;}
#popUp .cancel {margin-right: 15px;}
	#imgPreview {position: relative;
    width: 100%;}
	#heartContainer {margin-top:7vw;}
	table, .table {margin:auto; margin-bottom:7vw;border-radius: 10px;
    border: solid 3px rgba(0,0,0,0); overflow-wrap: break-word;
    box-shadow: 0px 0px 0px 3px rgba(253,129,15,1);overflow:hidden;
}
th{padding:5px 15px;}td{padding:5px 10px;;text-align: center;max-width:115px;overflow-wrap: break-word;
  word-wrap: break-word;

  -ms-word-break: break-all;
  /* This is the dangerous one in WebKit, as it breaks things wherever */
  word-break: break-all;
  /* Instead use this non-standard one: */
  word-break: break-word;

  /* Adds a hyphen where the word breaks, if supported (No Blink) */
  -ms-hyphens: auto;
  -moz-hyphens: auto;
  -webkit-hyphens: auto;
  hyphens: auto;font-size: 0.9em;}
#rankData {margin-top:7vh;}
#rankDataContainer.loaded {min-height:1069px;}
#rankDataContainer .table{overflow-x:hidden;margin-top:10px;position:relative; max-width:468px;}
#rankDataContainer .row.data{ font-size:0.8em;}
tr:nth-child(even), .row:nth-child(even) {background:rgba(253,129,15,0.2);}
tr:nth-child(odd), .row:nth-child(odd) {background:rgba(253,129,15,0.4);}
tr:first-child, .row:first-child {background:#fd810f;font-size:1em;}
.row {text-align:center;vertical-align: middle;}

.cell {display:inline-block; padding:5px}
.cell.rank{width:45px;}
.cell.cp{width:47px;}
.cell.ivs{width:75px;}
.cell.lvl{width:55px;}
.cell.statprod{width:70px;}
.cell.att{width:60px;}
.cell.def{width:60px;}
.cell.sta{width:50px;}
.tableGroupFixed, .tableGroupScroll{display:inline-block;vertical-align: top;}
.tableGroupFixed {width:222px;position:relative;}
.tableGroupScroll{overflow-x:scroll;width:calc(100% - 222px);position:relative;border-bottom-right-radius: 7px; border-top-right-radius: 7px;}
.tableGroupScroll .row {min-width:240px;}
.tableGroupFixed:after{
	content:'';
	width:30px;
	height:100%;
	position:absolute;
	right:-30px;
	top:0;
	background: rgb(31,31,31);
background: linear-gradient(90deg, rgba(31,31,31,0.3) 0%, rgba(31,31,31,0) 100%);
	z-index:1;
	pointer-events: none;
}
#get25settings{margin:auto;width:165px;margin-bottom:15px;}
.leagueButton {width:45px;height:45px;display:inline-block;cursor:pointer;}
.leagueButton.gl{background:url("images/great.png"); background-position:center center; background-repeat: no-repeat;background-size:contain;}
.leagueButton.ul{background:url("images/ultra.png"); background-position:center center; background-repeat: no-repeat;background-size:contain;}
.leagueButton.ml{background:url("images/master.png"); background-position:center center; background-repeat: no-repeat;background-size:contain;}
.leagueButton:first-child {margin-right:15px;}
.leagueButton:last-child {margin-left:15px;}
.bb-ribbon {    margin-left: 1px;
    margin-bottom: 1px;
    width: 16px;
    height: 16px;
    background: url(images/bb-ribbon.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;
    vertical-align: middle;
    display: inline-block;}
.caveat {font-size: 0.7em;
    color: rgba(255,255,255,0.4);line-height:1.2em;
}
#options,#specificSettings{padding: 5px;
    background: rgba(0,0,0,0.3);
    border-radius: 10px;
border: solid 3px rgba(255,255,255,0.3);max-width: 560px;margin:auto;margin-bottom:3.5vh;}
#specificSettings{width:344px;display:none;}
#specificSettings label {display:inline-block;text-align:left; width:100%;padding-right:35px; border-radius:3px;margin-top:3px;padding-left:5px;}
#specificSettings input:checked + #specificSettings label {
  font-weight: bold;
}
input[type=checkbox]{
							position:absolute; z-index:-1000; left:-1000px; overflow: hidden; clip: rect(0 0 0 0); height:1px; width:1px; margin:-1px; padding:0; border:0;
						}

						input[type=checkbox] + label {
							background-size:25px 50px;
							height:31px; 
							line-height: 27px;
							display:inline-block;
							background-repeat:no-repeat;
							background-position: top right;
							vertical-align:middle;
							cursor:pointer;
						background-color:rgba(255,255,255,0.2);
							    border: 3px solid rgba(255,255,255,0.2);
						}

						input[type=checkbox]:checked + label {
							background-color:rgba(253,129,15,0.7);
							background-position: right -25px;
							border: 3px solid rgba(253,129,15,1);
						}
						#specificSettings label {
				background-image:url("images/checkbox.png");
				-webkit-touch-callout: none;
				-webkit-user-select: none;
				-khtml-user-select: none;
				-moz-user-select: none;
				-ms-user-select: none;
				user-select: none;
			}
.optionsContainer {display:none;}
.expanded .optionsContainer {display: block;}
.optionsTitle{    width: 100px;
    padding-left: 27px; margin:auto;
	cursor: pointer;
}
.option{
	display: inline-block;
    text-align: center;
    padding: 40px 5px 5px 5px;
    background: rgba(255,255,255,0.3);
    border: 3px solid rgba(255,255,255,0.2);
    border-radius: 5px;
    line-height: 1em;
    position:relative;
    font-size: 13px;
    min-height: 95px;
    vertical-align: top;
    margin-left: 3px;
	cursor: pointer;
}
#catchOptions .option::before,#tradeOptions .option::before{
	content:'';
	position:absolute;
	width:100%;
	height:30px;
	left:0;
	top:5px;
	background-position: center center;
	background-size:auto 100%;
	background-repeat: no-repeat;
	opacity:0.5;
}
#catchOptions .option.wildCatch::before{
	background-image:url("images/wildCatch.svg");
}
#catchOptions .option.wbCatch::before{
	background-image:url("images/weatherBoost.svg");
}
#catchOptions .option.rhrCatch::before{
	background-image:url("images/raidHatchResearch.svg");
}

#tradeOptions .option.goodFriend::before{
	background-image:url("images/goodFriend.svg");
}
#tradeOptions .option.greatFriend::before{
	background-image:url("images/greatFriend.svg");
}
#tradeOptions .option.ultraFriend::before{
	background-image:url("images/ultraFriend.svg");
}
#tradeOptions .option.bestFriend::before{
	background-image:url("images/bestFriend.svg");
}
#tradeOptions .option.luckyTrade::before{
	background-image:url("images/lucky.svg");
}
#catchOptions .option.selected::before,#tradeOptions .option.selected::before{opacity:1;}
#catchOptions .option {width: calc(33.333% - 2px);max-width:170px;}
#tradeOptions .option {width: calc(20% - 2.5px);max-width:101px; min-height:80px;}
#sortOptions .option{width: auto;min-height: 15px;
    padding: 10px 14px 10px 14px;
    vertical-align: middle;}
#maxLevelOptions .option {width: auto;min-height: 43px;
    padding: 11px 14px 9px 14px;
    vertical-align: middle;line-height:16px;}

#tradeOptions, #sortOptions, #maxLevelOptions {margin-top:25px;}
#maxLevelOptions {margin-bottom:15px;}
@media screen and (min-width:570px){
	
	.option{
    min-height: 80px;}
}
.option:first-child{margin:0;}
.smallText{font-size: 10px;
    opacity: 0.7;
    position: relative;
    top: 3px;}
.option.selected{
    background: rgba(253,129,15,0.7);
    border: 3px solid #fd810f;}
.option.att.selected{
    background: rgba(221,28,28,0.7);
    border: 3px solid #dd1c1c;}
.option.def.selected{
    background: rgba(62,149,247,0.7);
    border: 3px solid #3e95f7;}
.option.hp.selected{
    background: rgba(17,210,144,0.7);
    border: 3px solid rgb(17,210,144);}
#searchContainer {    width: 337px;
    margin: auto;
    margin-bottom: 3.5vh;
    z-index: 5;
    position: relative;
border: 3px solid #1e2825;
    box-shadow: 0 0 0 3px #fd810f;
    border-radius: 5px;
background:rgba(253,129,15,0.4);}
#pokemonSearchField {text-align: center;
    font-size: 1.4em;
    width:100%; background:transparent;border:none;color:#fff;outline:none;}
#searchResultContainer {position: absolute;
    width: 337px;
	left:-3px;
	box-shadow: 0 0 0 3px #fd810f;
    margin-top:12px;
    display: none;
    background: rgba(29,39,36,0.9);
    max-height: 30vh;
    overflow-y: scroll;
    border-radius: 5px;}
.searchResult {margin: 3px;
    background: #aaa;
    position: relative;
    border-radius: 2px;
    min-height: 40px;
    padding: 8px 5px 5px 80px;
    text-align: left;
    vertical-align: middle;
cursor:pointer;}
.searchString {display:none;}
.pokedexID{font-size: 1.5em;
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);opacity:0.4;}
#formSearch {
    font-size: 0.8em;
    line-height: 0.8em;
}
#formSearch span {margin-bottom: 6px;
    display: block;}

#dismissSearchResults {position: fixed;
    width: 100vw;
    height: 100vh;
    left: 0;
    top: 0;
    background: rgb(31,31,31);
background: linear-gradient(180deg, rgba(31,31,31,0) 15%, rgba(31,31,31,0.6) 25%);
    z-index: 3;
display:none;}
.formName {    font-size: 0.8em;
    display: block;
    line-height: 20px;
    position: relative;
    top: -5;}
.desktop {display:none;}
#imgPreviewContainer {margin-top:7vw;}
.normal {background:#969aa0;}
.bug {background:#96c532;}
.dark {background:#5d536b;}
.dragon {background:#076cc6;}
.electric {background:#d4aa00;}
.fairy {background:#ee92e9;}
.fighting {background:#d04268;}
.fire {background:#f0812a;}
.flying {background:#90abe2;}
.ghost {background:#5a6cb3;}
.grass {background:#60ba5a;}
.ground {background:#da7e4f;}
.ice {background:#77d0c6;}
.poison {background:#a968cb;}
.psychic {background:#f8747a;}
.rock {background:#c9bc8d;}
.steel {background:#52899e;}
.water {background:#5498df;}

.specificDataResult,.rank1DataResult {
	margin: auto;
	max-width:646px;
    border-radius: 10px;
    border: solid 3px rgba(0,0,0,0);
    overflow-wrap: break-word;
    box-shadow: 0px 0px 0px 3px rgba(253,129,15,1);
    overflow: hidden;
text-align:left;
position: relative;	margin-bottom:25px;}
.rank1DataResult {box-shadow: 0 0 0 3px rgba(233,200,115,1);}
.specificDataResult .deleteEntry{background-image:url("images/delete-trans.png");z-index:1;}
.specificDataResult.att,.table.att{
	box-shadow: 0px 0px 0px 3px #dd1c1c;}
.specificDataResult.def,.table.def {
	box-shadow: 0px 0px 0px 3px #3e95f7;}
.specificDataResult.hp,.table.hp {
	box-shadow: 0px 0px 0px 3px #11d290;}
.specificResultContainer {background:rgba(253,129,15,0.2);}
.att .specificResultContainer{background:rgba(221,28,28,0.2);}
.def .specificResultContainer{background:rgba(62,149,247,0.2);}
.hp .specificResultContainer{background:rgba(17,210,144,0.2);}
.table.att .row:nth-child(even) {background:rgba(221,28,28,0.4);}
.table.def .row:nth-child(even) {background:rgba(62,149,247,0.4);}
.table.hp .row:nth-child(even) {background:rgba(17,210,144,0.4);}
.table.att .row:nth-child(odd) {background:rgba(221,28,28,0.6);}
.table.def .row:nth-child(odd) {background:rgba(62,149,247,0.6);}
.table.hp .row:nth-child(odd) {background:rgba(17,210,144,0.6);}
.specificDataResult .deleteEntry { position: absolute;
    right: 10px;
    top: 50%;
transform: translateY(-50%);}
.resultTitle {background: #fd810f;
    font-size: 0.9em;
    padding: 8px 40px 7px 10px;
    line-height: 1.2em;position:relative;}
.rank1ResultContainer .resultTitle{background:#e9c873;color:#313131;}
.att .resultTitle, .table.att .row:first-child, .button.att{background:#dd1c1c;}
.def .resultTitle, .table.def .row:first-child, .button.def{background: #3e95f7;}
.hp .resultTitle, .table.hp .row:first-child, .button.hp{background: #11d290;}

.specificEntry {    position: relative;
    vertical-align: middle;
    margin-top: 3px;
    padding: 5px 10px;
    background: rgba(253,129,15,0.2);}
.specificEntry span {}
.pokemonSpecies {display: inline-block;
    width: 100%;
    line-height: 1em;
    margin-bottom: 4px;}
.pokemonFormName {    display: inline-block;
    font-size: 0.7em;
    line-height: 0.7em;
    opacity: 0.6;
margin-left: 7px;}
.pokemonRanking {    display: inline-block;
    text-align: center;
    line-height: 1em;
    width: calc(33.3333% - 2px);
    color: #fff;
    padding: 6px;
    font-size: 18px;
vertical-align: top;
border-radius:3px;min-height: 47px;cursor: pointer;border:3px solid transparent;position:relative;}
.rank1ResultContainer .pokemonRanking {font-size:14px;}
.greatLeagueRank {margin-right:3px;}
.masterLeagueRank {margin-left:3px;}
.pokemonRanking span {vertical-align:middle;position:relative;padding-top:15px;min-width:75px; text-align: left;}
.pokemonRanking span::before{content: "Rank: ";
    font-size: 0.6em;
    position: absolute;
    left: 25px;
    top: 0;}
.rank1ResultContainer .pokemonRanking span::before{content: "Rank 1: ";}
.jp .pokemonRanking span::before{content: "ランク: ";
	font-size: 0.6em; font-weight: bold;}
.jp .rank1ResultContainer .pokemonRanking span::before{content: "ランク#1: ";font-size: 0.7em;}
.greatLeagueRank span{
	padding-left:25px;
    display: inline-block;
    background: url(images/great.png);
    background-size: 20px auto;
    background-repeat: no-repeat;
    background-position:left center;
	
}
.activated {border:3px solid #fff;}
.activated::after{
	    content: '';
    background: url(images/hex-arrow-down-white.svg);
    background-position: center center;
    background-size: auto 100%;
    background-repeat: no-repeat;
    width: 27px;
    height: 9px;
    position: absolute;
    bottom: -9px;
    left: 50%;
    transform: translateX(-50%);
}
.ultraLeagueRank span{
	padding-left:25px;
    display: inline-block;
    background: url(images/ultra.png);
    background-size: 20px auto;
    background-repeat: no-repeat;
    background-position:left center;
	
}
.masterLeagueRank span{
	padding-left:25px;
    display: inline-block;
    background: url(images/master.png);
    background-size: 20px auto;
    background-repeat: no-repeat;
    background-position:left center;
	
}

.greatLeagueResults,.ultraLeagueResults,.masterLeagueResults {position: relative;
    margin-bottom: 3px;
    border-radius: 3px;
    text-align: center;
    line-height: 16px;
    padding-top: 20px;
	display:none;
    }
.greatLeagueResults{}
.ultraLeagueResults {}
.masterLeagueResults {}

.rank1 {background: rgb(209,149,58);
background: linear-gradient(137deg, rgba(209,149,58,1) 0%, rgba(255,220,120,1) 45%, rgba(233,200,115,1) 52%, rgba(204,147,60,1) 100%);   
    color: #000;}
.rank2 {background: rgb(171,167,162);
background: linear-gradient(137deg, rgba(171,167,162,1) 0%, rgba(209,227,226,1) 45%, rgba(184,197,198,1) 52%, rgba(132,139,140,1) 100%);color: #000;}
.rank3 {background: rgb(196,58,16);
background: linear-gradient(137deg, rgba(196,58,16,1) 0%, rgba(222,197,169,1) 45%, rgba(224,146,104,1) 52%, rgba(196,58,16,1) 100%);color: #000;}
.good {background:#36BD52;}
.medium{background:rgba(0,0,0,0.5); color:#d96f0e;}
.not_possible{background:#4F4F4F; color:#878787;}
.bad{background:rgba(0,0,0,0.5); color:#BF2C2F;}
.specificEntry .pokemonAtt::before {
	Content:'Attack: ';
	font-size:0.8em;
	color:rgba(255,255,255,0.5);
}
.specificEntry .pokemonDef::before {
	Content:'Defence: ';
	font-size:0.8em;
	color:rgba(255,255,255,0.5);
}

.specificEntry .pokemonHP::before {
	Content:'HP: ';
	font-size:0.8em;
	color:rgba(255,255,255,0.5);
}
.jp .specificEntry .pokemonAtt::before {
	Content:'こうげき: ';
}
.jp .specificEntry .pokemonDef::before {
	Content:'ぼうぎょ: ';
}

.specificEntry .pokemonSP::before {
	Content:'Stat Product: ';
	font-size:0.8em;
	color:rgba(255,255,255,0.5);
}

.specificEntry .pokemonSPPercent::before {
	Content:'Stat Product %: ';
	font-size:0.8em;
	color:rgba(255,255,255,0.5);
}
.specificEntry .pokemonAtt,.specificEntry .pokemonDef,.specificEntry .pokemonHP,.specificEntry .pokemonSP,.specificEntry .pokemonSPPercent {
	margin:5px;display:inline-block;
}
.specificEntry .powerUp {margin-bottom:5px;line-height:1.2em;}

.ui-widget-header {background:#fd810f;}
.ui-widget,.ui-slider-range {border-radius:50px;}
.ui-widget.ui-widget-content {border:none;background:#e2e2e2;}
.ui-slider-horizontal {
    height: 1.2em;
}
.ui-slider-handle{opacity:0;}
#ivUIsliders{
    margin: auto;
    padding: 10px 0px;
    border-radius: 10px;
    background: #fff;
	max-width:350px;
}
.slider {    width: 100%;
    max-width: 250px;
    margin: 5px 0px;
    display: inline-block;
    vertical-align: middle;position:relative;}
.slider::before {
	content: '';
	width:100%;
	height:100%;
	background:url("images/iv-grid.png");
	background-size:100% auto;
	position:absolute;
	left:0;
	z-index: 2;
	pointer-events: none;
top:0;
}
#ivUIsliders .label, ivUIsliders .slider, ivUIsliders.result {-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;}
#lookupRanksButton {    margin: 1.5vh auto 3.5vh;
    display: block;
    max-width: 350px;}
.top25RankedBy {line-height: 1.2em;
    margin-bottom: 2vh;}
#ivUIsliders .label, #ivUIsliders .result{display:inline-block; width:calc((100% - 250px) / 2);color:#999;vertical-slign:middle;}
@media (min-aspect-ratio:1/1){
	#heartContainer {margin-top:5vh;} 
	table {margin-bottom:5vh;}
	#output { padding: 5vh 2px;}
	#buddyRing {margin: 10vh 5vh 5vh 5vh; }
	#imgPreviewContainer {margin-top:5vw;}
	
}

@media (min-aspect-ratio:660/375) and (max-width:900px){
	
	#buddyRing {height: 0;}
	#logo {width: 10vw;  height: 10vw;}
	
header {height:8vw; }
}

@media screen and (min-width:900px){.desktop {display:inherit;} th span.desktop {display:inline;} .mobile{display:none;}.sectionTitleSmall.desktop{display: block;}.col-5-l {width:45%;vertical-align: top; display: inline-block;}#imgPreviewContainer {margin-top:0vw;}#analysisTitle {margin-bottom:-25px;}
	#analysisTitle.hidden{margin-bottom:0;}
	#heartContainer {
    width: 50vw;
    height: 12vw;
    max-width: 200px;
    max-height: 50px;
		margin-top:50px;
}
	.imgFrame {
		    width: 100%;
    height: 418px;
    max-height: 418px;}
	#output {padding:66px 2px;}
	#imgPreview {
    
}
	#imageColumn {margin:0 10px 0 50px;}
	
	.nameCell {width:170px; display: inline-block; padding:5px 5px 5px 35px; text-align: left;}
.heartCell {width:170px; display: inline-block; padding:5px;}
.toGoCell {width:185px; display: inline-block; padding:5px;}
.deleteCell {width:50px; display: inline-block; padding:5px;text-align:center;}
	
#rankDataContainer .table{font-size:1em; max-width:646px;}
.cell.rank{width:65px;}
.cell.cp{width:65px;}
.cell.ivs{width:110px;}
.cell.lvl{width:65px;}
.cell.statprod{width:115px;}
.cell.att{width:80px;}
.cell.def{width:80px;}
.cell.sta{width:50px;}
.tableGroupFixed, .tableGroupScroll{display:inline-block;vertical-align: top;}
.tableGroupFixed {width:305px;}
.tableGroupScroll{overflow-x:auto;width:335px;}
.tableGroupScroll .row {min-width:335px;}#rankDataContainer .row.data{ font-size:1em;}
	#searchResultContainer {
    max-height: 60vh;
}
}
@media screen and (min-width:540px){	
	.tableGroupFixed::after{
	content:'';
	width:0;
	height:0;
	position:absolute;
	right:0;
	top:0;
	background: none;}
		
	

}

#cookieConsent::-webkit-scrollbar {
  display: none;
}

/* Hide scrollbar for IE and Edge */
#cookieConsent {
	display:none;
  -ms-overflow-style: none;
	padding: 2vh;
    background: rgb(255, 255, 255);
    z-index: 500;
    position: fixed;
    left: 50%;
    top: 50%;
    width: 90%;
	max-width:600px;
    max-height: 90%;
    overflow: scroll;
    transform: translateX(-50%) translateY(-50%);
    border-radius: 20px;
    box-shadow: 0 0 0px 1000px rgba(0,0,0,0.5);
    font-size: 0.9em;
    line-height: 1.6em;
}
.dismiss_menu{
	display:none;
    width: 100vw;
    height: 100vh;
    position: fixed;
    z-index: 7;
    opacity: 0.5;
    background: #000;
}

@media screen and (max-width:495px){
	.es .row:first-child .heartCell, .es .row:first-child .toGoCell {font-size:80%;}
	.es .nameCell {width:40%;} .es .heartCell{width:25%;}
	
}
@media screen and (max-width:390px){
	.es .button {
    font-size: 1.1em;
	}
}
.es .popUpContent .button {margin-top:5px;}
.ui-slider:active .ui-slider-handle {opacity:1;color:#fff;}
.ui-slider .ui-slider-handle {background: #313131;
    top: -70px;
    min-height: 50px;
    width: 50px;
    margin-left: -30px;
	padding: 7px 0;
	text-align:center;
	 font-family: 'Roboto Condensed', sans-serif;
	font-weight:700;
	font-size:20px;
	outline:none;
pointer-events: none;}
.ui-slider .ui-slider-handle::after {content: '';
    background: url(../images/hex-arrow-down-dark.svg);
    background-position: center center;
    background-size: auto 100%;
    background-repeat: no-repeat;
    width: 27px;
    height: 9px;
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);}

.username_warning {border:3px solid #fd810f; color:#000;background:rgba(255,255,255,0.8); padding:10px;border-radius:10px;margin-bottom:20px;}
.main_text_field {padding: 6px;
    border-radius: 5px;}

.flexTray {display:flex; flex: 0 0 auto; flex-wrap:wrap;justify-content:space-between;align-items: stretch;align-content: stretch;max-width: 800px;margin:auto;}
.flexTray > * {
  flex: 1 100%;
}
.toolTile {min-width:300px;text-align:center;border: solid 3px rgba(0,0,0,0);
    overflow-wrap: break-word;
    box-shadow: 0px 0px 0px 3px rgba(253,129,15,1);
    overflow: hidden;
	border-radius:10px;
	position:relative;
	cursor: pointer;
	margin-bottom:20px;
	transition: transform .1s linear;
	transform: scale(1) translateY(0px);}

.toolTile:active{transform:scale(0.95) translateY(1px);}
.toolTile:hover, .toolTile:active {
    box-shadow: 0px 0px 0px 3px rgba(255,255,255,1);
}

.tile-contents {
	background: rgb(11,103,41);
    background: linear-gradient(135deg, rgba(19,74,37,1) 0%, rgba(23,99,91,1) 100%);
	padding:10px 0px;
	position: relative;
}
.toolTile:hover .tile-contents, .toolTile:active .tile-contents {
    background: rgb(230,97,13);
    background: linear-gradient(135deg, rgba(230,97,13,1) 0%, rgba(249,175,15) 100%);
}
.tile-contents:before{
	
	content:'';
	width:100%;
	height:100%;
	pointer-events:none;
	background:url("images/tile-overlay-highlight.svg");
	background-size:100% auto;
	background-position: top center;
	position:absolute;
	background-repeat:no-repeat;
	left:0;
	top:0;
}
.tile-contents:after{
	
	content:'';
	width:100%;
	height:100%;
	pointer-events:none;
	background:url("images/tile-overlay-shadow.svg");
	background-size:100% auto;
	background-position: bottom center;
	position:absolute;
	background-repeat:no-repeat;
	left:0;
	top:0;
}
.tile-contents h2 {margin:0;padding:20px 0px;}
.tile-contents p {margin:0;padding:0px 10px 20px 10px; text-align:center;}
@media all and (min-width: 700px) {
  /* We invert order of first sidebar and main
   * And tell the main element to take twice as much width as the other two sidebars 
   */
	h2 {font-size:1.7em;}
  .toolTile { flex: 2 auto; max-width:49%;}
}
.subtext {font-size:0.8em; opacity:0.8;}
hr {max-width:800px; margin:auto;}

a.advert::after {content: ''; display:none; position:relative;}
a.advert img {width:100%; height:auto;}
a.advert {display:block;margin:auto;box-shadow: 0px 0px 0px 1px #ccc;width:320px; height:100px;}
@media screen and (min-width:700px){
	a.advert { width:640px; height:200px;}
}
@media screen and (min-width:900px){
	a.advert {    width: 728px;
    height: 90px; }
}