/*
Theme Name: Zachtronics New
Theme URI: http://zachtronics.com
Author: Hillary
Description: Zachtronics' new site theme
Version: 1.0
*/

/*---------------------------------------------
General
----------------------------------------------*/
/* Sticky footer */
html {
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 260px;
}

#footer-main {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 260px;
}

/* End sticky footer stuff*/
a {
    border: none;
    text-decoration: underline;
    font-weight: 600;
    -moz-transition: all 0.3s;
    -ms-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
    webkit-transition: all 0.3s;
}

a:hover {
    border: none;
}

blockquote {
    margin: 0 0 20px;
    padding: 10px 15px;
    border-left: 2px dotted #666;
    background: #484848;
    font-size: inherit;
}

img {
    max-width: 100%;
    height: auto;
}

section {
    overflow: hidden;
    padding: 20px 0;
}

section > section {
    padding-top: 0;
}

/* Custom Buttons */
.btn {
    border: none;
    border-bottom: 3px solid #1d6080;

    border-top-left-radius: 3px;
    border-top-right-radius: 3px;
    border-bottom-right-radius: 3px;
    border-bottom-left-radius: 3px;

    text-decoration: none;
    text-transform: uppercase;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.4);
    letter-spacing: 1px;
    font-family: "Lato", Segoe, "Segoe UI", Optima, sans-serif;

    -moz-transition: background 0.3s;
    -ms-transition: background 0.3s;
    -o-transition: background 0.3s;
    transition: background 0.3s;
    webkit-transition: background 0.3s;
}

.btn:hover {
    border-bottom: 3px solid #1d6080;
}

.btn:active {
    margin-top: 1px;

    outline: none;
    border-top: 1px solid #1d6080;

    border-bottom: 1px solid #1d6080;

    text-shadow: 1px 1px 5px rgba(255, 255, 255, 0.4);
    -webkit-transform: translateY(1px);
    -moz-transform: translateY(1px);
    -ms-transform: translateY(1px);
    -o-transform: translateY(1px);

    transform: translateY(1px);
}

.btn:focus {
    outline: none;
}

.jumbotron {
    margin-bottom: 0;
}

/*---------------------------------------------
Typography
----------------------------------------------*/
h1,
h2,
h3 {
    margin-bottom: 10px;
    text-transform: uppercase;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    font-weight: 200;
}

h4,
h5,
h6 {
    font-weight: 500;
}

h5,
h6 {
    font-style: oblique;
}

p {
    letter-spacing: 0.2px;
    line-height: 1.55;
}

/*---------------------------------------------
Utility
----------------------------------------------*/
.row-buffer {
    padding-top: 10px;
}

/*---------------------------------------------
Home Page
----------------------------------------------*/
#top-header .container {
    min-height: 105px;
}

#branding h1 {
    margin: 0;
}

#branding h1 a.logo {
    display: block;
    margin-top: 10px;
    width: 336px;
    height: 75px;
    background: transparent url(../img/logo.png) top left no-repeat;
    text-indent: -99999px;
}

.featured div {
    position: relative;
}

.featured .caption {
    position: absolute;
    bottom: 20px;
    left: 20px;
    margin-bottom: 0;
    padding: 5px 10px;
    background: rgba(255, 255, 255, 0.60);
    -webkit-transition: background ease-in 0.2s;
    -moz-transition: background ease-in 0.2s;
    transition: background ease-in 0.2s;
}

.featured .caption:hover {
    background-color: rgba(255, 255, 255, 0.70);
}

.featured .caption a {
    color: #222;
}

.featured img {
    border: none;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
    border-bottom-left-radius: 5px;
}

#support-btn {
    margin: 35px 0 20px;
}

#support-btn .btn {
    width: 100%;
}

#games {
    background: #f2f2f2;
}

#games h2,
#games h3 {
    margin: 0 0 16px;
}

#games .container {
    padding-bottom: 20px;
    background: transparent url(../img/bg-hr.png) bottom center repeat-x;
}

#games .thumb {
    position: relative;
    display: table;
    margin-right: auto;
    margin-bottom: 35px;
    margin-left: auto;
    /* width fits to the contents of the thumbnail image/caption */
}

#games .thumb a {
    color: #333333;
}

#games .thumb .caption {
    position: absolute;
    bottom: 0;
    left: 0;
    display: block;
    overflow: hidden;
    margin-bottom: -1px;
    padding: 6px 10px;
    background: rgba(255, 255, 255, 0.65);
}

#games .thumb .caption h3 {
    margin: 0;
    text-transform: capitalize;
    text-shadow: none;
    font-weight: 700;
    font-size: 14px;
}

#games .thumb .caption p {
    position: absolute;
    margin-top: 4px;
}

#games .thumb .caption span {
    /* For Font Awesome icon */
    margin-right: 2px;
}

#about .container {
    padding-bottom: 0;
    background: none;
}

#home-social-media ul {
    padding-left: 0;
    list-style: none;
    font-size: 18px;
}

#home-social-media ul li {
    padding: 5px 0;
}

#home-social-media a {
    text-decoration: none
}

#home-social-media li:last-child {
    margin-right: 0;
}

#home-newsletter form {
    position: relative;
    margin: 20px inherit;
}

#home-newsletter .btn {
    display: block;
    width: 100%;
}

#home-newsletter .input-wrapper {
    position: relative;
    margin-bottom: 12px;
}

#home-newsletter .input-wrapper span,
#home-newsletter .input-wrapper input[type="text"] {
    display: inline-block;
    height: 32px;
    vertical-align: middle;
	color: #222;
}

#home-newsletter .input-wrapper span {
    position: absolute;
    left: 5px;
    padding: 5px;
    border-top: 1px solid #000;
    border-right: none;
    border-bottom: 1px solid #000;
    background: #fff;
    font-size: 20px;
}

#home-newsletter input[type="text"] {
    padding: 3px 3px 3px 32px;
    width: 100%;
    border: 1px solid #000;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
}

#home-newsletter input[type="text"],
#home-newsletter input[type="text"]:focus {
    outline: none;
}

#footer-main {
    background: #dfdfdf;
    color: #222222;
}

#footer-main .container {
    padding-top: 20px;
}

#footer-main a {
    color: #1f9fce;
}

#footer-main a:hover {
    color: #187da2;
}

#footer-main img {
    max-height: 55px;
    width: auto;
}

#footer-main ul {
    padding-left: 0;
    list-style: none;
}

#footer-main ul li a {
    display: block;
    overflow: hidden;
    width: inherit;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/*---------------------------------------------
Game Page [Category page]
----------------------------------------------*/
body[class*='category-'] section,
body[class*='single-'] section {
    padding-bottom: 30px;
}

body[class*='category-'] .jumbotron iframe,
body[class*='single-'] .jumbotron iframe {
    display: block;
    margin-right: auto;
    margin-left: auto;
}
.single-format-standard .game-page {
    padding: 0;
}

.game-page {
    padding-bottom: 30px;
}

.game-logo {
    display: block;
    margin: 0 auto 4px;
}

#blog a {
    font-weight: 200;
}

#blog article {
    padding: 35px 0;
}

#blog article h2 {
    margin-top: 0;
    text-transform: none;
}

#blog article h2 a {
    text-decoration: none;
}

#blog article .entry-meta {
    margin: 10px 0;
    color: rgba(255, 255, 255, 0.6);
}

#blog article .read-more {
    margin-top: 20px;
    text-align: right;
}

#blog .page-nav {
    margin-top: 20px;
}

#blog .page-nav ul {
    padding-left: 0;
    list-style: none;
    text-align: center;
}

#blog .page-nav ul li {
    display: inline-block;
    padding-right: 10px;
}

#blog .page-nav .current {
    border-bottom: 3px solid #1f9fce;
}

#blog .page-nav .prev-post,
#blog .page-nav .next-post {
    margin-bottom: 10px;
}

#blog .page-nav .next-post {
    float: right;
}

/* Page */

/*---------------------------------------------
Color Scheme
----------------------------------------------*/
.dark {
    background: #333333;
    color: #d8d8d8;
}

.dark h1,
.dark h2,
.dark h3,
.dark h4,
.dark h5,
.dark h6 {
    color: #ffffff;
}

.dark .btn,
.dark .btn:hover {
    color: #fff;
}

.dark a {
    color: #f2f2f2;
}

.darka:hover {
    color: #1fa0cf;
}

/*---------------------------------------------
Wordpress Styles
-----------------------------------------------*/
img.attachment-post-thumbnail {
    margin-bottom: 20px;
    width: 100%;
    height: auto;
    border: 5px solid rgba(255, 255, 255, 0.15);
}

.alignnone {
    margin: 5px 20px 20px 0;
}

.aligncenter,
-div.aligncenter {
    display: block;
    margin: 5px auto 5px auto;
}

.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}

.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

.aligncenter {
    display: block;
    margin: 5px auto 5px auto;
}

-a img.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}

-a img.alignnone {
    margin: 5px 20px 20px 0;
}

-a img.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

-a img.aligncenter {
    display: block;
    margin-right: auto;
    margin-left: auto
}

.wp-caption {
    padding: 5px 3px;
    max-width: 96%;
    border: 1px solid #f0f0f0;
    background: rgb(225, 225, 225); /* fallback */
    background: rgba(255, 255, 255, 0.75); /* Image does not overflow the content area */
    color: #222;
    text-align: center;
}

.wp-caption.alignnone {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignleft {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignright {
    margin: 5px 0 20px 20px;
}

.wp-caption img {
    margin: 0;
    padding: 0;
    max-width: 98.5%;
    width: auto;
    height: auto;
    border: 0 none;
}

.wp-caption p.wp-caption-text {
    margin: 0;
    padding: 2px 4px 5px;
    font-size: 90%;
    line-height: 18px;
}

.colophon {
    margin-top: 24px;
    font-size: 12px;
}

.colophon p {
    margin-top: 10px;
}

li.widget {
    list-style-type: none;
}

li.menu-item:before {
    float: left;
    color: #1f9fce;
    content: "\25b8";
    text-shadow: 1px 1px 0 rgba(255, 255, 255, .4);
}

.dark a {
    color: #f2f2f2;
}

.dark a:hover {
    color: #1fa0cf;
}

/* Media Queries */
/* Extra small devices (phones, less than 768px) */
/* No media query since this is the default in Bootstrap */
@media screen and (max-width: 780px) {
    /* Sticky footer */
    html {
        position: relative;
        min-height 100%;
    }

    body {
        margin-bottom: 400px;
    }

    #footer-main {
        position: absolute;
        bottom: 0;
        width: 100%;
        height: 400px;
    }

    /* End sticky footer stuff*/
    #branding h1 a.logo {
        margin: 0 auto;
    }

    #home-newsletter .btn {
        margin: 0 auto;
    }
}

/* Medium/ Large devices (desktops, 992px and up) */
@media screen and (min-width: 768px) {
    #support-btn {
        margin-top: 35px;
    }

    #support-btn .btn {
        width: 100%;
    }

    .entry-thumbnail {
        float: right;
    }
}

/* Small/Medium devices (desktops, 992px and up) */
@media screen and (max-width: 980px) {

}

/* Specific Page CSS */

.faktr p {
    text-align: justify;
}

/* PLUGINS */

.ss2-align,
.arve-wrapper {
    border: 4px solid #383838;
    -webkit-box-shadow: 0 3px 3px rgba(0, 0, 0, 0.3);
    -moz-box-shadow: 0 3px 3px rgba(0, 0, 0, 0.3);
    box-shadow: 0 3px 3px rgba(0, 0, 0, 0.3);

}

object[type="application/x-shockwave-flash"] {
    outline: 4px solid #383838;
}