/*! HTML5 Boilerplate v4.3.0 | MIT License | http://h5bp.com/ */

/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

   html,
   button,
   input,
   select,
   textarea {
    color: #222;
}

html {/*
    font-size: 1em;
    line-height: 1.4;*/
}

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

 ::-moz-selection {
    background: #8E8674;
    text-shadow: none;
}

::selection {
    background: #8E8674;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

 hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between images, videos, audio and canvas and the bottom of
 * their containers: h5bp.com/i/440
 */

 audio,
 canvas,
 img,
 video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

 fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

 textarea {
    resize: vertical;
}

/* ==========================================================================
   Browse Happy prompt
   ========================================================================== */

   .browsehappy {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   
   Yeah no shit this code isn't pretty either. Deal with it :P
   ========================================================================== */

   
   header .byline {
       color: orange;
       text-align: center;
       vertical-align: middle;
       position:relative;
       top:-20px;
   }
   .newsline {
       color: #111111;
       text-align: center;
       vertical-align: middle;
       position:relative;
       top:-80px;
   }
   .coinstext {
       text-align: center;
       vertical-align: middle;
   }

   .helpheader {
       position:relative;
       top:-30px;
   }

   .tenpadding {
    padding: 10px;
}
.helps {
    position:relative;
    width: 48%;
    height: 200px;
    float:left;
    margin-left: 10px;

}
.inlineheader {
	position:relative;display:inline;
	
}

.upgrade {
    position:relative;
    width: 520px;

    float:left;
    margin-left: 10px;
}

.desc {
    font-size: 90%;
}


.disabledopacity {
    opacity: 0.5;
}
.noselect {
    /* Prevent text selection */
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -o-user-select: none;
    user-select: none;
}

#FacebookLikeContainer span{
  height:19px;
}
#FacebookLikeContainer iframe{
  height:19px;
}
#medialinks {
    position:absolute;
    top:10px;
    left:10px;
    z-index: 50;
    width: 125px;

}
#fb1 {
  position:absolute;left:0px;top:23px;
}
#twt1 {
  position:absolute;left:0px;top:51px;
}
#twt2 {

}
#gplay {
  position:relative;
  top: 75px;
  zoom: 0.80; -moz-transform: scale(0.80); -moz-transform-origin: 0 0;
}

* {
    font-family: Comic Sans, Comic Sans MS, cursive;
}
.small {
    font-size: 70%;
    font-family:Arial;
}
#superwrapper {
    overflow: visible;
    position:relative;
    margin: 0 auto;
    padding: 10px 10px 10px 10px;
    width: 1430px;
}
#wrapper {
    overflow: hidden;
    position:relative;
    opacity: 0.9;
    width: 800px;
    height: 710px;
    top: 0px;
    left: 0px;
}

#achievementwindow
{
    position: absolute; width: 800px; left: 20px; top: 500px;
}
#achievementwrapper
{
    position: relative; width: 800px; left: 20px; top: 500px;
}
#pops
{
	position:absolute;
	left:0px;
	top:0px;
	z-index:10000;
	pointer-events:none;
}
.pop
{
	font-weight:bold;
	color:#BA9F33;
	width:200px;
	height:20px;
	font-size:20px;
	text-align:center;
}
.popmoon
{
  font-weight:bold;
  color:#ecf0f1;
  width:200px;
  height:20px;
  font-size:20px;
  text-align:center;
  text-shadow: 1px 1px 6px rgba(150, 150, 150, 1);
}
#news {
    position:relative;
    top: -18px;
    z-index: 2;
}
#tabs {
    overflow: hidden;
    position:absolute;
    opacity: 0.9;
    width: 600px;
    height: 720px;
    top:10px;
    right:0px;
    font-size: 95%;
}
.help {
	position:relative;
	top:-45px;

}

#footer {
    opacity: 0.9;
    margin: 0 auto;
    margin-top: 10px;
    overflow:auto;
    width: 1420px;
}

#minerwrapper {
    position:relative;

}
#miner
{
    -webkit-user-select: none; /* Chrome/Safari */        
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* IE10+ */
    width:390px;
    height:305px;
    position:absolute;
    left:170px;
    top:-70px;
    cursor:pointer;

}


#mined {
    font-size:125%;
    position:relative;
    top:-30px;
}
#persec {
    position:relative;
    top:-40px;
}



#random {
    position: absolute;
    z-index:3;
}

#BG{
	height: auto;
	background-image: url('../img/bg/bg1.jpg');
	position: absolute;
	z-index: -1;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
}
#helperwrapper
{
	position:absolute;
	left:55%;
	top:200px;
}

#helperwrapper2
{
	position:absolute;
	left:-100px;
	top:150px;
}

#shibesdiv
{
	position:absolute;
	left:100px;
	top: 50px;
}

#kennelsdiv
{
	position:absolute;
	left:100px;
	top: 50px;
}


#kittensdiv
{
	position:absolute;
	left:100px;
	top: 50px;
}

#rocketsdiv
{
	position:absolute;
	left:100px;
}

#basesdiv
{
	position:absolute;
	left:100px;
}


#rigsdiv
{
	position:absolute;
	left:430px;
	top:20px;
}

.clickupgradezzzz {
	position:absolute;
	width:80px;
	height:90px;
}
#tabs .ui-tabs-nav .ui-icon { 
    display: inline-block; 
}

.ui-effects-transfer { border: 2px dotted green; }
.achievement {
  z-index: 30000;
  padding: 10px;
}

#achiwrapper {
    overflow-y: scroll;	
    overflow-x: hidden;	
    height: 600px;
}
.shadow
{
    text-shadow: 1px 1px #BBBBBB;
}



.no-close .ui-dialog-titlebar-close {display: none }

.toprightimg {
    position: absolute;
    top: 0px;
    right: 0px;
}
#moondialog {
    display:none;

}

#flyingrocket {
    background-image: url('../img/flyingrocket.png');
    position:relative; 
    background-repeat: no-repeat; 
   /*display:block;*/
    height:500px; 
    width:187px;
    left: -600px;
    transform:rotate(60deg);
-ms-transform:rotate(60deg); /* IE 9 */
-webkit-transform:rotate(60deg); /* Opera, Chrome, and Safari */
z-index: 10;
}

/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
Volume icon image resize
*/

.ui-icon-volume-on {
  -ms-transform: scale(1.5); /* IE 9 */
  -webkit-transform: scale(1.5); /* Chrome, Safari, Opera */
  transform: scale(1.5);

}
.ui-icon-volume-off {
  -ms-transform: scale(1.5); /* IE 9 */
  -webkit-transform: scale(1.5); /* Chrome, Safari, Opera */
  transform: scale(1.5);
}


/*
 * Image replacement
 */

 .ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    /* IE 6/7 fallback */
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 150%;
}

/*
 * Hide from both screenreaders and browsers: h5bp.com/u
 */

 .hidden {
    display: none !important;
    visibility: hidden;
}

/*
 * Hide only visually, but have it available for screenreaders: h5bp.com/v
 */

 .visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element to be focusable
 * when navigated to via the keyboard: h5bp.com/p
 */

 .visuallyhidden.focusable:active,
 .visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screenreaders, but maintain layout
 */

 .invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

 .clearfix:before,
 .clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/*
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */

 .clearfix {
    *zoom: 1;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */
   
   @media only screen and (max-width: 1780px) {
    /* Style adjustments for viewports that meet the condition */

    /* by now the media links (fb & twitter) should be above the content */
    #sideadlol {
        /*display:none;*/

    }

}
@media only screen and (max-width: 1700px) {
    /* Style adjustments for viewports that meet the condition */

    /* by now the media links (fb & twitter) should be above the content */
    #medialinks {
        top:20px;
        left:20px;

    }


}


/* THIS IS A REALLY REALLY UGLY TRICK BUT IT KINDA WORKS */
@media screen and (max-width: 1400px), only screen and (max-height: 800px) {
    /* Style adjustments for viewports that meet the condition */

    /* by now the media links (fb & twitter) should be above the content */
    body {
        zoom: 0.80; -moz-transform: scale(0.80); -moz-transform-origin: 0 0;
/* zoom already does these:
-o-transform: scale(0.80);
-webkit-transform: scale(0.80);*/
overflow: visible;
}

#medialinks {
    zoom: 1.20; -moz-transform: scale(1.20); -moz-transform-origin: 0 0;
}
#fb1 {
    top: 24px;
}
#twt1 {
    top: 53px;
}


}
@media screen and (max-width: 1120px), screen and (max-height: 500px) {
    /* Style adjustments for viewports that meet the condition */

    /* by now the media links (fb & twitter) should be above the content */
    body {

        zoom: 0.60; -moz-transform: scale(0.60); -moz-transform-origin: 0 0;
/*-o-transform: scale(0.60); zoom fixes all this anyway
-webkit-transform: scale(0.60);*/
}

#medialinks {
    zoom: 1.40; -moz-transform: scale(1.40); -moz-transform-origin: 0 0;
}
#fb1 {
    top: 28px;
}
#twt1 {
    top: 55px;
}
#gplay {
	top: 75px;
	
}


/*
#medialinks {
display:none;
}*/
embed, iframe, object {
   max-width: none !important;
}

}


@media print,
(-o-min-device-pixel-ratio: 5/4),
(-webkit-min-device-pixel-ratio: 1.25),
(min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */

   @media print {
    * {
        background: transparent !important;
        color: #000 !important; /* Black prints faster: h5bp.com/s */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links for images, or javascript/internal links
     */

     .ir a:after,
     a[href^="javascript:"]:after,
     a[href^="#"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group; /* h5bp.com/t */
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    @page {
        margin: 0.5cm;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}
.fb_iframe_widget iframe {
    width: 110px !important;
    height: 25px !important;
}

.twitter-share-button {
    width: 112px !important;
    height: 25px !important;
}



.showhidebutton {
  position:relative;
    top: 30px;
    height: 10px;
}

#showhidediv {
    top:0px;
    position:relative;
}

#buttontext {
    position: relative; top: -17px;
    font-size: 0.7em;
}

.pbar {
  border-radius: 5px;
  background: #FFF;
  border: 1px solid #AAA;
  overflow: hidden;
  height: 15px;
  text-align: right;
  font-size: 70%;
}
.pbar div {
  background-image: url('../img/pbar-ani.gif');
  border-right: 1px solid #AAA;
}

.floatleft {
  position:relative;
  float:left;
}
.floatright {
  position:relative;
  float:right;
}
