/*! 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: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    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
   ========================================================================== */

body {
    font-family:'Ropa Sans', sans-serif;
    font-size:18px;
    -webkit-font-smoothing: antialiased;
    font-weight:100;
    letter-spacing:0.6pt;
    color:#fff;
    margin:0;
    padding:0;
    text-shadow:0px 2px 0px rgba(0, 0, 0, 0.5);
    filter: dropshadow(color=#000, offx=2, offy=2);
    background-color:#008ca7;
}

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

h2 {
    margin:80px 0 0 0;
    font-size:48px;
    text-align:center;
}

h3 {
    font-size:34px;
    margin-bottom:0.25em;
}

header {
    height:40px;
    background-color:#12373e;
}

nav {
    width:378px;
    margin:0 auto;
}

nav a, nav span {
    font-size:16px;
    height:40px;
    line-height:40px;
    display:block;
    float:left;
    width:126px;
    text-align:center;
    text-transform:uppercase;
}

nav a:hover {
    background-color:#1c4954;
}

nav span {
    cursor:pointer;
    color:#4d696e;
}

footer {
    height:136px;
    background-color:#12373e;
}

footer hr {
    margin:0;
}

footer p a:hover {
    text-decoration:underline;
}
footer p {
    width:384px;
    float:left;
    margin:1.2em 0;
    font-size:12px;
    text-transform:uppercase;
    text-align:right;
    padding:0 8px;
}
footer p.right {
    text-align:right;
}
footer p.left {
    text-align:left;
}
footer .logos {
    padding:20px 12px 12px 12px;
}

footer .logos img.realms {
    float:left;
}
footer .logos img.mojang {
    float:right;
}

hr {
    box-shadow:inset 0px 1px 0px 0px rgba(0, 0, 0, 0.5);
}

.content {
    width:800px;
    margin:0 auto;
}

#about-top {
    position:relative;
    margin:0 auto;
    max-width:1280px;
    height:600px;
    /* background:url(/images/realms/about-header-world-1.jpg) no-repeat; */
}

#about-top #images {
    display:none;
}

#about-top .front {
    position:absolute;
    top:0;
    left:0;
    right:0;
    z-index:50000;
    max-width:1280px;
    height:600px;
}

#about-top .buttons {
    position:relative;
}
#about-top .button {
    position:absolute;
    top:264px;
    display:none;
}
#about-top .button.prev {
    left:0;
}
#about-top .button.next {
    right:0;
}

#about-top img.logo {
    width:800px;
    height:234px;
    margin-top:183px;
}

#about-top .purchase img.logo {
    margin-top:92px;
}

#about-top .purchase {
    text-align: center;
}

#about-top .purchase a.getButton {
    padding:22px 48px;
    line-height:102px;
    height:102px;
    background-repeat:repeat-x;
    background-image:url(/images/realms/getrealms.png);
    font-size: 2.8em;
    font-weight: bold;
}
#about-top .purchase a.getButton:hover {
    background-position:0 -102px;
}

#about-top .purchase .price {
    margin-top:12px;
    font-size:1.4em;
    font-weight:bold;
}

#features {
    margin-top:48px;
}

#features hr {
    border-color:#80c6d3;
    width:80%;
    margin:0 auto;
}

#features .item h4 {
    margin:0;
    font-size:24px;
}
#features .item p {
    margin:0.5em 0;
}

#features .item {
    background:30px 46px no-repeat;
    padding:46px 32px 46px 190px;
}

#features .item.available {
    background-image:url(/images/realms/realms_available.png);
}
#features .item.easytouse {
    background-image:url(/images/realms/realms_easytouse.png);
}
#features .item.goodvalue {
    background-image:url(/images/realms/realms_good-value.png);
}
#features .item.secure {
    background-image:url(/images/realms/realms_secure.png);
}

.learnMore {
    font-size:44px;
    margin:0.9em 0 2.5em 0;
}

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

#faq-top {
    text-align:center;
    padding:86px 0 6px 0;
}

#faq-top img {
    width:420px;
    height:98px;
}

#faq {
    padding-bottom:72px;
}

#faq ul {
    list-style:none;
    padding:0;
    float:left;
    width:350px;
}

#faq ul.right {
    margin-left:100px;
}

#faq p.question {
    font-size:26px;
    margin:0;
}

#faq p.answer {
    margin:1em 0 50px 0;
}

#terms {
    padding-bottom:144px;
}
#terms a {
    text-decoration:underline;
}

/* ==========================================================================
   jQuery UI Overrides
   ========================================================================== */

.ui-tooltip, .arrow:after {
    background:#fb8c26;
    border:none;
}
.ui-tooltip {
    font-size:18px;
    font-weight:700;
    letter-spacing:0pt;
    padding:10px 20px;
    text-transform:uppercase;
    width:128px;
    text-align:center;
    position:absolute;
}
.arrow {
    width: 70px;
    height: 16px;
    overflow: hidden;
    position: absolute;
    left: 50%;
    margin-left: -35px;
    bottom: -16px;
}
.arrow.top {
    top: -16px;
    bottom: auto;
}
.arrow.left {
    left: 20%;
}
.arrow:after {
    content: "";
    position: absolute;
    left: 20px;
    top: -20px;
    width: 25px;
    height: 25px;
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    tranform: rotate(45deg);
}
.arrow.top:after {
    bottom: -20px;
    top: auto;
}

/* ==========================================================================
   Exposure Overrides
   ========================================================================== */

.exposureTarget {
    width:1280px;
    height:600px;
    background-repeat:no-repeat;
    background-position:center center;
    float:left;
    padding:0;
    margin:0;
    position:relative;
    overflow:hidden;
}

.exposureWrapper {
    position:absolute;
    top:0;
    left:0;
}

.exposureWrapper img {
    position:absolute;
    top:0;
    left:0;
}

.exposureLoaded {
    background-image:none;
}

.exposureControls {
    position:relative;
    width:100%;
    position:absolute;
    bottom:20px;
    left:0;
    right:0;
}

.exposurePaging {
    text-align:center;
}

.exposureControls span,
.exposureControls a {
    margin:0 14px;
}

.exposureControls a {
    text-decoration:none;
    outline:none;
}

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

/*
 * 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 (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@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;
    }
}
