/*
green #2ae06c
red #ff9b46
blue #11cf94
*/

html{
	font-size: 100%;
}

body{
	font-family: scandia-web, sans-serif;
	line-height: 1.2;
	text-size-adjust: none;
	margin: 0;
	width: 100%;
	position: relative;
	z-index: 1;
	overflow-y: scroll;
}

body:after{
	content: "";
	width: 100vw;
	height: 100vh;
	background-image: url("images/bg1.png");
	z-index: -1;
	position: fixed;
	top: 0;
	left: 0;
	opacity: 0.035;
	background-position: 50%;
}

h1{
	font-size: 20px;
	margin: 0;
	text-align: center;
	letter-spacing: 1px;
	text-transform: uppercase;
}

h3,
.subheading{
	margin: 0 0 6px;
	font-size: 16px;
	font-weight: 800;
	letter-spacing: 1px;
}

h3 i{
	transform: rotate(45deg) scale(0.6);
	color: #ffca00;
	opacity: 0.5;
}

h3 i:nth-child(2){
	margin-right: 5px;
	opacity: 1;
}

h3 i:nth-last-child(2){
	margin-left: 5px;
	opacity: 1;
}

input{
	font-family: scandia-web, sans-serif;
}

#main{
	margin: auto;
	max-width: 500px;
	padding: 20px;
	margin-bottom: 70px;
}

.page_note{
	display: block;
	margin-top: 5px;
	color: rgba(0,0,0,0.65);
}

hr.alt{
	margin: 22px 0;
	border: 0;
	border-top: 1px dashed rgba(0,0,0,0.25);
	margin-left: -20px;
	width: calc(100% + 40px);
}

.left{
	float: left;
}

.right{
	float: right;
}

.clear{
	clear: both;
}

.hidden_form{
	display: none;
}

.pixel{
	image-rendering: pixelated;
	image-rendering: -moz-crisp-edges;
	image-rendering: crisp-edges;
}

/* Pokemon picker */

#pokemon{
	/*position: relative;*/
	margin-top: 5px;
	margin-bottom: 12px;
}

#pokemon > *{
	position: relative;
	z-index: 1;
}

#pokemon:after{
	/*
	content: "";
    position: absolute;
    height: 160px;
    width: 100%;
    background-image: url(https://candy.blspnm.com/images/pkmn-bg1.jpg);
    background-position: center;
    top: 88px;
    left: 0;
    z-index: -1;
    opacity: 1;
    min-height: 224px;
	*/
}

#pokemon > .left{
	width: 34%;
}

#pokemon > .right{
	width: 65%;
}

#pokemon_img{
	margin-top: -20px;
}

#pokemon_img > img{
	cursor: pointer;
	/*transform: translate(-9px, 12px);*/
}

#pokemon_img h2{
	margin: 0;
	position: relative;
}

#pokemon_img h2 i{
	font-size: 12px;
	opacity: 0.75;
	vertical-align: super;
	transform: translateX(5px);
}

#pokemon_img small{
	font-size: 12px;
	opacity: 0.75;
	display: block;
	margin-top: -4px;
}

#pokemon_info{
	text-align: center;
	/*margin-top: 12px;*/
}

#pokemon_info > .subheading{
	display: block;
	margin-bottom: 8px;
}

#options_exp_gains{
	margin: auto;
	display: block;
}

#options_exp_gains .butt{
	padding-left: 15px;
	padding-right: 15px;
}

.neutral_note{
	display: block;
	font-size: 11px;
	margin-top: 10px;
	opacity: 0.7;
}

i.fa-chevron-up{
	color: #db1c1c;
}

i.fa-chevron-down{
	color: #227fd1;
}

#options_exp_gains .active i{
	color: #fff !important;
}

#exp_gain_up.active{
	background: #db1c1c;
}

#exp_gain_dn.active{
	background: #227fd1;
}

/* Buttons */

.butt{
	display: inline-block;
	cursor: pointer;
	padding: 10px 22px 12px;
	font-weight: 600;
	font-size: 12px;
	line-height: 1;
	letter-spacing: 1px;
	background: #fff;
	border-radius: 8px;
	margin-right: 2px;
	box-shadow: inset 0 -4px 0 0 rgba(0,0,0,0.15), 0 0 0 1px rgba(0,0,0,0.25);
	vertical-align: top;
	color: rgba(0,0,0,0.85);
	transition: all 100ms cubic-bezier(0.65, 0.05, 0.36, 1);
	-ms-user-select: none;
	-webkit-user-select: none;
	user-select: none;
}

.butt.alt{
	background: #2ae06c;
	color: #fff;
}

.butt.active{
	box-shadow: inset 0 -1px 0 0 rgb(255 255 255 / 100%), inset 0 3px 0 0 rgba(0,0,0,0.25), inset 0 0 5px 0 rgba(0,0,0,0.5);
	padding-top: 12px;
	padding-bottom: 10px;
	color: #fff;
}

/* Starting level picker */

.value_picker{
	margin-top: 8px;
}

.value_picker > *{
	display: inline-block;
	vertical-align: middle;
}

.value_picker .butt{
	width: 22px;
	padding-left: 5px;
	padding-right: 5px;
	text-align: center;
	margin-top: -20px;
}

.value_picker .butt.next{
	margin-left:-30px;
}
.value_picker .butt.prev{
	margin-right:-30px;
}

.value_picker > span{
	cursor: pointer;
	min-width: 110px;
	margin: 0 10px;
}

.value_picker > span strong{
	display: block;
	font-size: 40px;
	line-height: 1;
}

.value_picker > span small{
	/*display: block;*/
	font-size: 12px;
	letter-spacing: 1px;

}

/* Sliders */

.range_container{
	display: flex;
	flex-direction: column;
	width: 98%;
	margin: auto;
}

.sliders_control{
	position: relative;
	min-height: 26px;
}

input[type="range"]{
	-webkit-appearance: none;
	appearance: none;
	height: 15px;
	width: 100%;
	background-color: #c6c6c6;
	border: 0;
	border-radius: 20px;
	cursor: pointer;
	margin: 5px 0 0;
}

input[type="range"]::-webkit-slider-thumb{
	-webkit-appearance: none;
	appearance: none;
	width: 24px;
	height: 24px;
	background-color: #fff;
	border-radius: 50%;
	box-shadow: 0 0 0 1px #c6c6c6, 0 0 0 5px rgb(255 113 70 / 25%);
	cursor: pointer;
}

input[type="range"]::-moz-range-thumb{
	width: 24px;
	height: 24px;
	border: 0;
	background-color: #fff;
	border-radius: 50%;
	box-shadow: 0 0 0 1px #c6c6c6, 0 0 0 5px rgb(255 113 70 / 25%);
	cursor: pointer;
}

#expSlider::-webkit-slider-thumb{
	box-shadow: 0 0 0 1px #c6c6c6, 0 0 0 5px rgb(42 224 108 / 25%);
}

#expSlider::-moz-range-thumb{
	box-shadow: 0 0 0 1px #c6c6c6, 0 0 0 5px rgb(42 224 108 / 25%);
}

#expSlider:disabled{
	opacity: 0.45;
	cursor: default;
}

/* EXP slider output */

#expRange_cont{
	position: relative;
}

#expRange,
#options_ticket{
	width: 95%;
	margin: 5px auto 0;
	display: grid;
	grid-template-columns: 2% 94% 2%;
	align-items: center;
}
#options_ticket{
	width: 100%;
	grid-template-columns: 25% 25% 25% 25%;
}

#exp_start{
	text-align: left;
	opacity: 0.5;
}

#exp_end{
	text-align: right;
	opacity: 0.5;
}

#exp_output{
	text-align: center;
}

#exp_output > *{
	display: inline-block;
	vertical-align: middle;
}

#exp_output > div{
	cursor: pointer;
	border-radius: 20px;
	box-shadow: 0 0 0 1px rgba(0,0,0,0.25);
	width: 20px;
	font-size: 13px;
	line-height: 20px;
	padding: 0 4px;
	color: rgba(0,0,0,0.75);
	background:#FFF;
}

#exp_output > div:hover{
	background: #2ae06c;
}

#exp_output > span{
	font-size: 14px;
	font-weight: 800;
	letter-spacing: 1px;
	cursor: pointer;
	min-width: 150px;
	color: #fff79b;
}

#exp_output strong,
#exp_output b{
	font-size: 20px;
}

#exp_output small{
	letter-spacing: 1px;
	display: block;
	opacity: 0.75;
	margin-top: 2px;
}

/* Toggle switches */

.toggler-wrapper{
	display: block;
	width: 45px;
	height: 25px;
	cursor: pointer;
	position: relative;
}

.toggler-wrapper input[type="checkbox"]{
	display: none;
}

.toggler-wrapper input[type="checkbox"]:checked + .toggler-slider{
	background-color: #0dd094;
}

.toggler-wrapper .toggler-slider{
	background-color: #004b34;
	position: absolute;
	border-radius: 100px;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	transition: all 300ms ease;
}

.toggler-wrapper .toggler-knob{
	position: absolute;
	transition: all 300ms ease;
}

.toggler-wrapper.style-1 input[type="checkbox"]:checked + .toggler-slider .toggler-knob{
	left: calc(100% - 19px - 3px);
}

.toggler-wrapper.style-1 .toggler-knob{
	width: 19px;
	height: 19px;
	border-radius: 50%;
	left: 3px;
	top: 3px;
	background-color: #fff;
}

/* Options */

#options{
	text-align: center;
}

#options_ticket{
	/*padding: 12px;*/
	margin: 10px auto 14px;
	border-radius: 10px;
	background: #00855d;
	overflow: hidden;
}
	#options_ticket	> div{
		padding:10px;
	}
		#options_ticket	> div:first-child{
			background:rgba(0,0,0,0.25);
		}

#options_ticket .subheading,
#options_ticket .option_note{
	display: block;
}

#options_ticket .option_note{
	font-size: 10px;
	opacity: 0.65;
	margin: 4px 0 9px;
}

#options_ticket .toggler-wrapper{
	margin: auto;
}
/*
#options_is_psuedo,
#options_is_legendary{
	display: inline-block;
	width: 49%;
	min-height: 155px;
	vertical-align: top;
	box-sizing: border-box;
	padding: 10px 6px;
}

#options_is_psuedo img,
#options_is_legendary img{
	display: block;
	max-width: 100px;
	width: 80%;
	height: 74px;
	object-fit: contain;
	margin: 4px auto 7px;
}

#options_is_psuedo .toggler-wrapper,
#options_is_legendary .toggler-wrapper{
	margin: auto;
}
*/
.mythical_label,
.subheading.small{
	font-size: 12px;
	margin-bottom: 5px;
}

/* Day slider */

#days_range{
	font-size: 0;
}

#days_range > div{
	display: inline-block;
	vertical-align: middle;
	font-size: 14px;
}

#day_cont_start,
#day_cont_end{
	width: 75px;
}

#day_cont_start{
	text-align: left;
}

#day_cont_end{
	text-align: right;
}

#day_cont_range{
	width: calc(100% - 150px);
}

#day_cont_start span,
#day_cont_end span{
	color: #ff9b46;
	font-size: 18px;
	font-weight: bolder;
}

#day_cont_start small,
#day_cont_end small{
	display: block;
	font-size: 9px;
	letter-spacing: 1px;
	opacity: 0.55;
	margin-top: 2px;
}

/* Result */

#results_cont{
	text-align: center;
	padding: 8px 10px 16px;
}

#result_day_label{
    display: block;
    font-size: 21px;
    font-weight: 800;
    letter-spacing: 2px;
    color: #ff9b46;
}

#result_level{
	color: #11cf94;
	font-size: 60px;
	display: block;
	letter-spacing: 1px;
	line-height: 1;
	margin-top: 5px;
}

#result_exp{
	display: block;
	font-size: 15px;
	font-weight: 700;
	letter-spacing: 1px;
	margin-top: 7px;
}

#result_details{
	display: inline-block;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.5px;
	color: #ff9b46;
	padding: 7px 12px;
	border-radius: 20px;
	box-shadow: 0 0 0 1px rgba(0,0,0,0.14);
	background: #fff;
	margin-top: 11px;
}

#daily_exp_summary{
	display: block;
	font-size: 10px;
	line-height: 1.4;
	letter-spacing: 0.5px;
	opacity: 0.65;
	margin-top: 9px;
}

/* Daily progress table */

#progress_table_cont{
	width: 100%;
}

#progress_table{
	width: 100%;
	border-collapse: separate;
	border-spacing: 0 7px;
	margin-top: 4px;
}

#progress_table th{
	font-size: 9px;
	letter-spacing: 0.7px;
	text-transform: uppercase;
	opacity: 0.55;
	padding: 0 9px 2px;
	text-align: left;
}

#progress_table th:nth-child(2),
#progress_table td:nth-child(2){
	text-align: center;
}

#progress_table th:nth-child(3),
#progress_table td:nth-child(3){
	text-align: right;
}

#progress_table td{
	background: rgba(255,255,255,0.82);
	padding: 11px 11px;
	font-size: 13px;
	box-shadow: 0 0 0 1px rgba(0,0,0,0.1);
}

#progress_table td:first-child{
	border-top-left-radius: 9px;
	border-bottom-left-radius: 9px;
	color:#ff9b46;
}

#progress_table td:last-child{
	border-top-right-radius: 9px;
	border-bottom-right-radius: 9px;
}

#progress_table tr.selected{
	box-shadow: 1px 4px 10px 0px rgba(175.92343749999998, 175.92343749999998, 175.92343749999998, 0.75);
	border-radius: 10px;
}
#progress_table tr.selected td{
    /*
	background: rgba(99,124,181,0.14);
	box-shadow: 0 0 0 1px rgba(99,124,181,0.45);
    */
    background: #ff9b46;
    color:#FFF !important;
	width: 33%;
	font-size:24px;
	padding:10px 20px;
	
	box-shadow: 0 0 0 1px rgba(255,255,255, 0.75);
}
#progress_table tr.selected td > *{
    color:#FFF !important;
}
#progress_table td:nth-child(1){
	width:100px;
}
#progress_table td:nth-child(2){
	color: #757575;
	font-weight: 800;
}

#progress_table td:nth-child(3) strong{
	color: #11cf94;
	/*font-size: 16px;*/
}
#progress_table tr:not(.selected) td:nth-child(3) strong{
	font-size: 16px;
}

#progress_table td:nth-child(3) small{
	display: block;
	font-size: 9px;
	letter-spacing: 0.4px;
	opacity: 0.65;
	margin-top: 2px;
}

/* Popups */

#overlay{
	display: none;
	position: fixed;
	width: 100%;
	height: 100vh;
	z-index: 1000;
	background: rgba(0,0,0,0.5);
	top: 0;
	left: 0;
}

.popup_cont{
	transition: opacity 200ms, margin 200ms;
	opacity: 0;
	position: fixed;
	width: 90%;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -60%);
	max-width: 330px;
	background: #fff;
	z-index: -1;
	border-radius: 10px;
	overflow: hidden;
	box-shadow: 0 0 10px rgba(0,0,0,0.25);
	margin-top: -10px;
	pointer-events: none;
}

.popup_cont.vis{
	opacity: 1;
	margin-top: 0;
	z-index: 1001;
	pointer-events: auto;
}

.popup_cont .header{
	background: #2ae06c;
	padding: 8px 10px;
	font-size: 14px;
	font-weight: bolder;
	color: #fff;
	line-height: 16px;
	box-shadow: inset 0 -1px 0 0 rgba(0,0,0,0.5);
}

.popup_cont .content{
	padding: 20px;
}

#popup_pokemons{
	max-width: 400px;
}

#popup_pokemons .content{
	height: 500px;
	overflow-y: auto;
}

#popup_pokemons .content img{
	width: 64px;
	cursor: pointer;
}

.textbox{
	border: 1px solid #2ae06c !important;
	border-radius: 5px;
	padding: 8px;
	width: calc(100% - 36px) !important;
	display: block;
	font-size: 18px;
	letter-spacing: 1px;
	text-align: center;
	font-weight: bolder;
}

.noteerror{
	padding: 10px 10px 0;
}

.error{
	color: red;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button{
	-webkit-appearance: none;
	margin: 0;
}

input[type="number"]{
	-moz-appearance: textfield;
}

/* Copy/footer */

.how_to{
	font-size: 13px;
	line-height: 1.5;
	margin-top: 24px;
}

#footer{
	margin-top: 20px;
	text-align: center;
	opacity: 0.5;
	font-size: 12px;
}

a{
	color: #ff9b46;
	text-decoration: none;
}

#home{
	position: fixed;
	top: 0;
	right: 0;
	background: #b3b3b3;
	padding: 5px 15px;
	display: block;
	border-bottom-left-radius: 10px;
	color: #fff;
	font-size: 20px;
	z-index: 10000;
}

@media only screen and (max-width: 500px){
	#pokemon_img h2{
		font-size: 18px;
	}

	#pokemon_img > img{
		/*transform: translate(-38px, 12px);*/
	}

	#options_exp_gains .butt{
		padding-left: 8px;
		padding-right: 8px;
		letter-spacing: 0;
	}
}

@media only screen and (max-width: 390px){
	h1{
		font-size: 18px;
	}

	#pokemon_info{
		margin-top: 78px;
	}

	#options_exp_gains .butt{
		font-size: 10px;
		padding-left: 5px;
		padding-right: 5px;
	}

	#exp_output > span{
		min-width: 125px;
		font-size: 11px;
	}

	#day_cont_start,
	#day_cont_end{
		width: 68px;
	}

	#day_cont_range{
		width: calc(100% - 136px);
	}

	#day_cont_start span,
	#day_cont_end span{
		font-size: 15px;
	}

	#progress_table th,
	#progress_table td{
		padding-left: 6px;
		padding-right: 6px;
	}
}


#mainpkmn{
	/*
	width: calc(100% + 40px);
	transform: translateX(-20px);
	*/
	transform: translateX(-15px);
	width: calc(100% - 10px);
	/*background-image: url(https://candy.blspnm.com/images/pkmn-bg2.jpg);*/
	background-color:#0dd094;
	padding:5px 20px;
	color:#FFF;
	border-radius:10px;
	box-shadow: 1px 4px 10px 0px rgba(175.92343749999998, 175.92343749999998, 175.92343749999998, 0.75), inset 0 0 0 1px #02ffb1;
}

#exp_start,#exp_end{
	visibility: hidden;
}

hr.line{
	border:0;
	border-top:1px solid rgba(0,0,0,0.25);
	border-bottom:1px solid rgba(255,255,255,0.25);
}


#pokemon{
	max-width: 420px;
}