* {
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

html {
    background-color: #f9fcff;
    background-image: linear-gradient(to bottom, #59c1ec, rgba(135, 206, 235, 0) 100%, #f9fcff);
    font-family: "Trebuchet MS", "Arial", sans-serif;
    min-height: 100% !important;
}

body {
    margin: 0px;
    overflow-x: hidden;
}

a,
a:visited {
    color: #0078a8;
}

a:active,
a:hover {
    color: #ff40ac;
}

img {
    image-rendering: pixelated;
}

.colname {
    background-color: rgba(255, 255, 255, 0.75);
    font-weight: 700;
    text-align: center;
}

.coloreditor {
    display: flex;
    flex-flow: row nowrap;
}

.colorslider {
    display: inline-block;
    margin: 8px;
    max-width: 100%;
    min-width: 200px;
    width: 95%;
}

.colorslider[class*="blue"] .ui-slider-handle {
    background: #4af;
    border: 1px solid #00c;
    color: #2779aa;
    font-weight: 700;
}

.colorslider[class*="green"] .ui-slider-handle {
    background: #3a3;
    border: 1px solid #060;
    color: #2779aa;
    font-weight: 700;
}

.colorslider[class*="red"] .ui-slider-handle {
    background: #faa;
    border: 1px solid #c00;
    color: #2779aa;
    font-weight: 700;
}

.colorsliders {
    display: inline-block;
    margin-right: 8px;
    width: 60%;
}

.colorsliders * {
    box-sizing: border-box;
    vertical-align: middle;
}

.colorswatches {
    display: inline-flex;
    flex-flow: row wrap;
    height: 100%;
}

.colorvalue {
    display: inline-block;
    margin: 4px;
    max-width: 20%;
}

.contestimg1 {
    height: auto;
    max-width: 540px;
    width: 90vw;
}

.contestimg2 {
    height: auto;
    max-width: 175px;
    width: 90vw;
}

.editequip {
    text-align: left;
}

.editequip .odd,
.editequip .even {
    margin-bottom: 2px;
}

.editequip input[type="button"] {
    float: right;
    margin: 0.5em auto auto 10px;
}

.editequip table td {
    text-align: center;
    width: 50%;
}

.even {
    background-color: rgba(255, 255, 255, 0.6);
}

.evenhidden,
.oddhidden {
    display: none;
    position: absolute;
}

.familyeven {
    background-color: rgba(255, 255, 255, 0.6);
    margin: 2px;
    min-height: 40px;
}

.familymember {
    display: inline-block;
    margin: 10px;
}

.familyodd {
    background-color: rgba(255, 255, 255, 0.35);
    margin: 2px;
    min-height: 40px;
}

.hamburger,
.hamburgerlinks,
#headermobilehack,
.editequip table,
#mobilead {
    display: none;
}

.homepage {
    margin: auto;
    max-width: 100%;
    padding-top: 20px;
    text-align: center;
}

.homepage img {
    height: auto;
    max-width: 430px;
    width: 100%;
}

.inline {
    display: inline;
}

.itemdescription {
    font-style: italic;
}

.leaderboardpagelinkcurrent {
    background-color: rgba(255, 255, 255, 0.7);
    font-weight: 700;
}

.leaderboardpagelinks,
.leaderboardpagelinkcurrent {
    display: initial;
    margin: auto 5px 10px;
    padding: 5px;
}

.leaderboardpagelinks,
.odd {
    background-color: rgba(255, 255, 255, 0.35);
}

.leadertext {
    padding-bottom: 50px;
    text-align: center;
}

.loginleft {
    float: left;
    text-align: left;
    width: auto;
}

.loginright {
    float: right;
    text-align: right;
}

.modname {
    color: #4682b4;
    font-weight: 700;
}

.petlistimgholder {
    height: 60px;
    width: 10%;
}

.specialusernotamas {
    font-weight: 700;
    margin: auto;
    padding: 20px 0;
    text-align: center;
    width: 100%;
}

.swatch {
    border-radius: 3px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
    cursor: pointer;
    height: 24px;
    margin: 4px;
    transition: box-shadow 0.1s ease;
    width: 24px;
}

.swatch:hover {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.19), 0 6px 6px rgba(0, 0, 0, 0.23);
}

.tabletitle,
.bold {
    font-weight: 700;
}

.username {
    color: #ff59b7;
    font-weight: 700;
}

.username a {
    text-decoration: none;
    color: inherit;
}

.username a:hover {
    text-decoration: underline;
}

.center {
    text-align: center;
}

#accountsettings {
    text-align: center;
    width: 60%;
}

#accountsettings input[type="text"],
#accountsettings input[type="password"],
#adminpanel input[type="text"] {
    width: 90%;
}

#custom_css {
    width: 100%;
    min-height: 300px;
}

#ad {
    font-size: small;
    margin: 20px auto auto;
    max-height: 112px;
    max-width: 728px;
    text-align: center;
}

#adminpanel select {
    width: 97%;
}

#adminpanel,
#adminpanelbiglist {
    text-align: center;
    width: 100%;
}

#adoptpagepw {
    margin: auto;
    text-align: center;
    width: 50%;
}

#announcements {
    background-color: #c8efff;
    border-radius: 18px;
    font-weight: 700;
    margin: 0px auto -8%;
    max-width: 1100px;
    min-width: 728px;
    padding: 10px;
    position: relative;
    text-align: center;
}

#announcements #announcementsholder {
    padding: 0 30px;
}

#announcements-empty {
    margin: 0px auto -8%;
    position: relative;
}

#content {
    min-height: 250px;
    padding: 10px 48px 0;
}

#credits,
.contest {
    text-align: center;
}

#embedmain {
    margin: 20px auto;
}

#embedtable {
    margin: auto;
    text-align: center;
    width: 100%;
}

#embedtable input {
    width: 95%;
}

#familymain {
    margin: auto auto 5%;
    text-align: center;
    vertical-align: middle;
    width: 100%;
}

#footer {
    color: #a6adb4;
    font-size: 80%;
    margin: 0 auto;
    max-width: 70%;
    min-width: 728px;
    text-align: center;
}

#footerbadges {
    margin-top: 15px;
}

#header {
    background-color: rgba(245, 250, 255, 0.95);
    color: #000;
    left: 0;
    line-height: 150%;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1;
    padding: 4px;
    height: 65px;
}

#headercontainer {
    float: left;
    height: 100%;
    width: 100%;
}

#headerlinks {
    float: right;
    max-width: 80%;
    text-align: right;
    padding-right: 8px;
    margin-top: 5px;
}

#headerlogo {
    height: 100%;
    position: absolute;
}

#headerlogo a,
#headerlogo a:active,
#headerlogo a:hover,
#headerlogo a:visited,
.leaderboardpagelinks a,
.leaderboardpagelinkcurrent a {
    text-decoration: none;
}

#itemeditor {
    float: left;
    text-align: center;
    width: 100%;
}

#lead-mini {
    margin-top: 20px;
    text-align: center;
    width: 100%;
}

#leaderboard,
#mypetstable {
    text-align: center;
    width: 100%;
}

#leaderboardlinksholder {
    margin: 1em auto -5%;
    text-align: center;
}

#logoimg {
    bottom: -5px;
    height: 100%;
    left: 5px;
    max-height: 36px;
    position: relative;
    width: auto;
}

#logoimg:hover {
    animation: wobble 0.2s ease-in-out infinite;
}

#logotext {
    bottom: -5px;
    height: auto;
    max-height: 40px;
    min-height: 10px;
    position: relative;
    right: -10px;
    width: auto;
}

#main {
    background-image: linear-gradient(to bottom, #f3fbff, rgba(240, 248, 255, 0) 70%);
    border-radius: 18px;
    color: #000;
    margin: 10% auto 5%;
    max-width: 1100px;
    min-width: 728px;
    position: relative;
}

#parade {
    height: 50px;
    width: 100%;
    overflow: hidden;
    margin: 5px 0px;
}

#paradeField {
    display: flex;
    width: 200%;
    animation: scrolling-pets 50s linear infinite;
}
#paradeField:hover {
    animation-play-state: paused;
}

#paradeField img {
    margin: 0px 10px;
}

#petholder {
    background-color: rgba(255, 255, 255, 0.7);
    float: right;
    height: 100%;
    text-align: center;
    width: 48%;
    border-radius: 50%;
}

#petholder img {
    position: relative;
    top: 55px;
}

.alignme {
    position: relative;
    top: 50%;
    transform: translateY(-50%);
}

#petholder span {
    position: relative;
    top: 35%;
}

#petmakermain {
    display: flex;
    margin: auto;
    width: 100%;
}

#petmodifier {
    float: left;
    text-align: center;
    width: 100%;
}

#petpreview {
    align-items: center;
    background-color: rgba(255, 255, 255, 0.7);
    display: flex;
    justify-content: center;
    margin: 10px auto;
    min-height: 150px;
    text-align: center;
    border-radius: 50%;
    max-width: 50%;
}

#petpreview .alignme {
    position: static;
    top: auto;
    transform: none;
}

#petprofileadopt {
    height: 125px;
    width: 100%;
}

#petprofilemain {
    height: 200px;
    width: 100%;
}

#petprofileoptions {
    height: 100%;
}

#petprofilesignup {
    background-color: rgba(255, 255, 255, 0.5);
    font-weight: 700;
    margin: 10px auto;
    max-width: 80%;
    padding: 5px;
    position: relative;
}

#petprofiletext,
#petprofiletextadopt {
    float: left;
    height: 100%;
    text-align: center;
    width: 48%;
}

#profileflavortext {
    background-color: rgba(240, 248, 255, 0.5);
    margin: 50px auto;
    padding: 10px 20px;
    width: 100%;
}

#shade1 {
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: -10;
    background: url("/includes/img/dots.png") repeat 0 0;
    animation: bg-scrolling-reverse 7s linear infinite;
}

#stats {
    height: 200px;
    margin: auto;
    text-align: center;
    width: 100%;
}

#statsleft {
    float: left;
    text-align: center;
    width: 48%;
}

#statsright {
    float: right;
    text-align: center;
    width: 48%;
}

#title {
    color: #82c3dd;
    font-size: 150%;
    font-weight: 400;
    padding: 20px 20px 0;
}

#twittercontainer {
    background-color: rgba(255, 255, 255, 0.5);
}

#wrapper {
    padding: 70px 0px 40px 0px;
    margin: 10px;
}

/* Junk */
#decorations {
    background-color: red;
    max-width: 1100px;
    min-width: 728px;
    position: relative;
    margin: 10% auto 5%;
}

#sunburst {
    position: absolute;
    width: 1300px;
    top: -630px;
    right: -630px;
    z-index: -1;
    filter: brightness(200%);
    animation-name: spin;
    animation-duration: 200000ms;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
}
