/* header */
a img {
    border: 0;
}
.header {
    margin: 0 0 30px 0;

    background: #e5ecfb;
    background: -webkit-gradient(
        linear,
        left top,
        left bottom,
        from(#e8eefc),
        to(#d7deea)
    );
    background: -moz-linear-gradient(top, #e8eefc, #d7deea);
    background: linear-gradient(top, #e8eefc, #d7deea);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#E8EEFC', endColorstr='#D7DEEA');

    border-bottom: 1px solid #aaa;
    box-shadow: inset 1px 1px 0 rgba(255, 255, 255, 0.6),
        0px 2px 2px rgba(0, 0, 0, 0.15);
    min-height: 50px;
}
.header-inner {
    max-width: 605px;
    margin: 0 auto;
}
.nav,
.nav li,
.nav-play,
.nav-play li {
    display: block;
    list-style: none;
    margin: 0;
    padding: 0;
    float: left;
}
.nav {
    padding: 15px 6px 15px 6px;
}
.header .nav {
    padding: 15px 0 15px 155px;
}
.header .nav-play {
    padding: 15px 0 15px 10px;
}
.nav .button {
    position: relative;
    padding: 5px 10px;
    margin: 0 -1px 0 0;
    border-radius: 0;
}
.nav .button img {
    position: absolute;
    top: -8px;
    left: -150px;
}
.nav .button.cur,
.nav .button.cur:hover {
    color: #777777;
    background: #f8f8f8;
    -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}
.nav .button.cur:hover {
    border: solid 1px #888888;
}
.nav .button:hover {
    z-index: 10;
}
.nav .button.nav-first {
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
}
.nav .button.nav-last {
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
}
.button {
    outline: none;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.4);
    border-radius: 5px;
    -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2),
        inset 0 -1px 2px rgba(255, 255, 255, 1);
    -moz-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2),
        inset 0 -1px 2px rgba(255, 255, 255, 1);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2),
        inset 0 -1px 2px rgba(255, 255, 255, 1);
    white-space: nowrap;

    /* default colors */
    color: #222222;
    border: solid 1px #aaaaaa;
    background: #e3e3e3;
    background: -webkit-gradient(
        linear,
        left top,
        left bottom,
        from(#f6f6f6),
        to(#e3e3e3)
    );
    background: -moz-linear-gradient(top, #f6f6f6, #e3e3e3);
    background: linear-gradient(top, #f6f6f6, #e3e3e3);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#f6f6f6', endColorstr='#e3e3e3');
}
.button:hover {
    background: #cfcfcf;
    background: -webkit-gradient(
        linear,
        left top,
        left bottom,
        from(#f2f2f2),
        to(#cfcfcf)
    );
    background: -moz-linear-gradient(top, #f2f2f2, #cfcfcf);
    background: linear-gradient(top, #f2f2f2, #cfcfcf);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#f2f2f2', endColorstr='#cfcfcf');
    border-color: #606060;
}
.button:active {
    background: -webkit-gradient(
        linear,
        left top,
        left bottom,
        from(#cfcfcf),
        to(#f2f2f2)
    );
    background: -moz-linear-gradient(top, #cfcfcf, #f2f2f2);
    background: linear-gradient(top, #cfcfcf, #f2f2f2);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#cfcfcf', endColorstr='#f2f2f2');
}

.greenbutton {
    background: hsl(100, 30%, 93%);
    background: -webkit-gradient(
        linear,
        left top,
        left bottom,
        from(hsl(100, 30%, 97%)),
        to(hsl(100, 30%, 84%))
    );
    background: -moz-linear-gradient(
        top,
        hsl(100, 30%, 97%),
        hsl(100, 30%, 84%)
    );
    background: linear-gradient(top, hsl(100, 30%, 97%), hsl(100, 30%, 84%));
    border-color: hsl(100, 30%, 70%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#f6f6f6', endColorstr='#e3e3e3');
}
.greenbutton:hover {
    background: hsl(100, 30%, 87%);
    background: -webkit-gradient(
        linear,
        left top,
        left bottom,
        from(hsl(100, 30%, 94%)),
        to(hsl(100, 30%, 77%))
    );
    background: -moz-linear-gradient(
        top,
        hsl(100, 30%, 94%),
        hsl(100, 30%, 77%)
    );
    background: linear-gradient(top, hsl(100, 30%, 94%), hsl(100, 30%, 77%));
    border-color: hsl(100, 30%, 41%);
}
.greenbutton:active {
    background: hsl(100, 30%, 77%);
    background: -webkit-gradient(
        linear,
        left top,
        left bottom,
        from(hsl(100, 30%, 77%)),
        to(hsl(100, 30%, 83%))
    );
    background: -moz-linear-gradient(
        top,
        hsl(100, 30%, 77%),
        hsl(100, 30%, 83%)
    );
    background: linear-gradient(top, hsl(100, 30%, 77%), hsl(100, 30%, 83%));
    border-color: hsl(100, 30%, 41%);
}

/* general page styling */
html,
body {
    font: 10pt Verdana, sans-serif;
    background-color: white;
    color: rgba(0, 0, 0, 0.54);
    margin: 0;
    padding: 0;
}
.wrapper {
    padding: 0 1em;
    max-width: 1247px;
    margin: 0 auto;
}
div.wrapper > div > span {
    padding-right: 5px;
}
fieldset {
    float: left;
    background-color: white;
    box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.12);
    border: none;
}
legend {
    font-weight: bold;
    text-align: center;
}
th,
td {
    padding: 0;
}
th {
    font-size: 0.8em;
}
.title-text {
    font-weight: bold;
    font-size: 1.5em;
    margin: 0.5em 1em 0.5em 0;
}
.big-text {
    text-align: left;
    font-weight: bold;
    font-size: 1.1em;
    margin: 0.5em 0;
}
.small-text {
    font-size: 0.8em;
}
.panel {
    display: inline-block;
    margin: 0px;
    text-align: left;
}
.poke-info {
    width: 30em;
    padding: 30px;
    padding-top: 20px;
}
.field-info,
.poke-import {
    text-align: center;
    width: 27em;
    padding: 30px;
    padding-top: 20px;
    color: #5a5a58;
}
.holder-0 {
    position: absolute;
    top: 151px;
}
#holder-2 tr {
    white-space: nowrap;
}

/* general button styling */
.move-wrapper {
    line-height: 24px;
}

.move-wrapper:nth-of-type(odd) {
    background: rgb(248, 248, 248);
}

.btn {
    text-align: center;
    border: solid 1px #d0d0c2;
    padding: 4px 4px;
    position: relative;
    cursor: pointer;
    color: #5a5a58;
    background: white;
    margin: -1px -2px 0;
    display: inline-block;
    width: 5em;
    border-radius: 8px;
}

.move-wrapper .btn {
    text-align: center;
    padding: 4px 4px;
    position: relative;
    cursor: pointer;
    color: #5a5a58;
    margin: -1px -2px 0;
    display: inline-block;
    border: none;
    border-radius: 0 !important;
    background: none;
}

.btn-wide {
    width: 7em;
}
.btn-xwide {
    width: 8em;
}
.btn-xxwide {
    width: 9em;
}
.btn-xxxwide {
    width: 10em;
}
.btn-small {
    width: 4em;
}
.btn-xsmall {
    width: 1em;
}
.btn-left {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}
.btn-right {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}
.btn-top {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}
.btn-bottom {
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}
.btn-mid {
    border-radius: 0;
}
.btn:hover {
    z-index: 10;
    background: #edf0f2;
}
.btn-input:checked + .btn {
    color: rgb(183, 145, 30);
}
.btn-input[type='radio']:checked + .btn {
    cursor: default;
}
.btn-input {
    display: none;
}
.btn-input:disabled + .btn {
    color: #999999;
}
.btn-group {
    display: inline-block;
    width: 100%;
}
.left {
    float: left;
}
.right {
    float: right;
}

/* header */
.move-result-group {
    text-align: center;
    margin: 1em 0 11.5em;
}
.move-result-subgroup {
    float: left;
}
.move-result-group .btn {
    margin-right: 1em;
}
.main-result-group {
    margin: 2em 0 1em;
}
.result-move-header {
    font-size: 14px;
    color: #5a5a58;
    font-weight: bold;
    margin: 0 0 5px;
}

/* pokemon info */
/* pokemon info */
.poke-info label {
    display: inline-block;
    width: 6em;
}
.poke-info input:not([type]),
.poke-info input[type='text'],
.poke-info span :not(.select2-chosen) {
    display: inline-block;
    width: 2.5em;
}
.poke-info input[type='number'] {
    display: inline-block;
    width: 3em;
}
.info-group {
    margin: 1em 0;
}
.set-selector {
    width: 28em;
}
.info-selectors select {
    width: 15em;
}
select.toxic-counter {
    width: 4.5em;
}
.move-selector,
.move-bp,
.move-type,
.move-cat,
.move-hits {
    font-size: 0.9em;
}
.move-selector {
    width: 9em;
}
.poke-info input.move-bp {
    width: 2em;
}
.move-cat,
.move-hits {
    width: 4em;
}
.poke-info .crit-btn {
    font-size: 0.8em;
    width: 2.5em;
    height: 1em;
    padding: 3px 3px;
}
.poke-info .x-btn {
    font-size: 0.8em;
    width: 3.5em;
    height: 1em;
    padding: 3px 3px;
    margin-left: 0.3em;
}
.poke-info .ev-total,
.poke-info .ev-left {
    font-size: 0.8em;
}

.poke-info .underLimit {
    color: #000000;
}

.poke-info .overLimit {
    color: #cc0000;
}

/* field info */
.field-info .btn {
    font-size: 0.8em;
}

.hide {
    display: none;
}

/* select2 overrides */
.select2-container .select2-choice > .select2-chosen {
    width: 100%;
}
.small-select.select2-container .select2-choice {
    font-size: 0.9em;
    height: 18px;
    line-height: 18px;
}
.small-select.select2-container .select2-choice .select2-arrow b {
    background-position: 0 -4px;
}
.small-select.select2-dropdown-open .select2-choice .select2-arrow b {
    background-position: -18px -4px;
}

/* Bootstrap */
.panel-group > .panel {
    clear: left;
}

/* ColVis */
.clear {
    clear: right;
}

.import-team-text {
    min-width: 27em;
    min-height: 10em;
    resize: vertical;
}
