/*
Theme Name: Dangerous Magazine
Theme URI: http://razoyo.com/
Template: kalabala
Description: A dangerous theme for a dangerous site.
Version: 1.0
Author: William Byrne

Tags: responsive, wide, clean, simple, portfolio
*/
@charset "utf-8";
/* Don't modify the upper lines */

@import url("../kalabala/style.css");

body {
    background-color: #FFF;
}

section.site_content {
    margin-bottom: 20px;
}

/* navigation */
.top_nav {
    float: left;
}

#menu-top-navigation li a {
    border-left: solid 1px #8e8d8d;
    padding: 0 10px;
    margin: 24px 0 27px 0;
}

#menu-top-navigation li:first-child a {
    border-left: none;
    padding-left: 0;
}

.site_header {
    /*
    background-image: url('images/top-bg.jpg');
    background-repeat: repeat;
    */
    background-color: transparent;
    margin-bottom: 0;
}

.site_header a,
#menu-top-nav li {
    color: #000;
}

/* search */
#top_search {
    float: right;
    margin: 13px 0 12px 0;
}

#top_search .search_inputs {
    width: 193px;
    height: 40px;
    position: relative;
}

#top_search .search_inputs #s {
    width: 177px;
    height: 30px;
    background-color: #101011;
    border: solid 1px #000;
    margin-bottom: 0;
    border-radius: 0;
}

#top_search .search_inputs #searchsubmit {
    width: 35px;
    height: 35px;
    margin: 3px 0 0 0;
    padding: 0;
    position: absolute;
    right: 0;
    top: 0;
    background-image: url('images/icons-sprite.png');
    background-repeat: no-repeat;
    background-position: -140px -35px;
    background-color: transparent;
    overflow: hidden;
    white-space: nowrap;
    text-indent: -9999px;
}

@media only screen and (max-width: 760px) {
    #top_search {
        width: 98%;
    }
    #top_search .search_inputs {
        width: 100%;
    }
    #top_search .search_inputs #s {
        width: 100%;
    }
}

#site_header h1 {
    margin-top: 0;
    text-align: center;
}

#site_header img {
    width: 50%;
}

section.site_content {
    margin-top: 0;
} 

.icon-container {
    width: 155px;
    margin: 5px auto;
}

@media only screen and (max-width: 968px) {
    .logo {
        width: 720px !important;
    }
}

@media only screen and (max-width: 760px) {
    .logo-container {
        height: 65px;
    }
    .logo {
        width: 480px !important;
    }
}

@media only screen and (max-width: 481px) and (min-width: 0) {
    .logo-container {
        height: 30px;
    }
    .logo {
        width: 240px !important;
    }
}

/* social icons */
.social_icons li {
    background-image: url('images/icons-sprite.png');
    background-repeat: no-repeat;
    width: 35px;
    height: 35px;
    float: left;
}

.social_icons li a {
    display: block;
    width: 100%;
    height: 100%;
    overflow: hidden;
    text-indent: -9999px;
}

.social_icons.hover li:hover {
    opacity: 1;
}

.social_icons li.google,
.logo_after .social_icons li.google,
footer .social_icons li.google {
    background-position: 0 -35px;
}

.social_icons.hover li.google:hover {
    background-position: 0 -70px;
}

.social_icons li.facebook,
.logo_after .social_icons li.facebook,
footer .social_icons li.facebook {
    background-position: -35px -35px;
}

.social_icons.hover li.facebook:hover {
    background-position: -35px -70px;
}

.social_icons li.twitter,
.logo_after .social_icons li.twitter,
footer .social_icons li.twitter {
    background-position: -70px -35px;
}

.social_icons.hover li.twitter:hover {
    background-position: -70px -70px;
}

.social_icons li.rss,
.logo_after .social_icons li.rss,
footer .social_icons li.rss {
    background-position: -105px -35px;
}

.social_icons.hover li.rss:hover {
    background-position: -105px -70px;
}

div.join-us {
    text-align: center;
    margin: 10px 0;
}

div.join-us h4,
div.join-us .social_icons {
    margin: 0;
    padding: 0;
}

div.join-us .social_icons {
    display: inline-block;
    float: none;
}

.logo_after {
    margin: 10px auto;
    width: 140px;
    display: none;
}

footer .social_icons {
    margin: 7px 10px;
}

@media only screen and (max-width: 968px) {
    header .social_icons {
        display: none;
    }
    .logo_after  {
        display: block;
    }
}
   

/* slider */
.slider-caption {
    background: rgba(250, 250, 250, 0.6);
    display:none;
}

.slider-caption h3, .slider-caption p {
    color: #282525;
}

.flexslider {
    margin-bottom: 20px !important;
}

.flex-viewport {
    border: solid 1px #919191;
}

@media only screen and (max-width: 760px) {
    .slider-caption {
        background: rgba(250, 250, 250, 0.6) !important;
    }
    .slider-caption h3, .slider-caption p {
        color: #282525 !important;
    }
}

/* portfolio */
.content.masonry_content {
    margin-bottom: 20px;
}

/* posts */
article.blog_feed {
    border-top: solid 1px #c1c1c1;
    padding-top: 48px;
    background-image: url('images/post-shadow.png');
    background-repeat: repeat-x;
    background-position: -5px 0;
}

#posttype-list {
    width: auto;
}

#posttype-list li:first-child article.blog_feed {
    background: none;
    border-top: none;
    padding-top: 0;
}

article figure.banner {
    width: 300px;
    height: 210px;
    overflow: hidden;
    float: left;
    box-shadow: 4px 4px 3px #666;
}

article figure.banner img {
    margin-top: -5px;
}

article .article_title {
    margin-left: 300px;
}

article .article_title h2 {
    margin-top: -5px;
    margin-bottom: 0;
    font-size: 1.2em;
    text-transform: uppercase;
    line-height: 1.5em;
}

article .article_title h2 a {
    color: #282525;
}

article .article_desc {
    margin-left: 300px;
}

article .article_desc p {
    margin-top: 10px;
    margin-bottom: 0;
}

article .article_desc p.read_more {
    margin-top: 5px;
}

article .article_desc p.read_more span {
    font-weight: 800;
}

article .read_more a {
    color: #a4240f;
}

@media only screen and (max-width: 968px) {
    article figure.banner {
        float: none;
        border: solid 1px #000;
        width: 99%;
        overflow: visible;
        height: auto;
        line-height: 0;
    }
    article figure.banner img {
        margin: 0;
        padding: 0;
        width: 100% !important;
    }
    article .article_title {
        margin: 15px 0;
    }
    article .article_desc {
        margin: 0;
    }
}

/* widgets */
.home_widgets {
    width: 100%;
}

.home_widgets .widget {
    background-color: #DDDDDD;
    width: 32%;
    border: solid 1px #b1b1b1;
    float: left;
    margin-left: 1.6%;
    min-height: 260px;
}

.home_widgets .widget:first-child {
    margin-left: 0;
}

.home_widgets .widget h2 {
    background-color: #191b1c;
    color: #FFF;
    padding: 31px 17px;
    margin: 0;
    text-transform: uppercase;
}

.home_widgets .widget h2:after {
    content: ">";
    color: transparent;
    width: 12px;
    height: 18px;
    background-image: url('images/arrow-right.png');
    background-repeat: no-repeat;
    background-position: 0 5px;
    overflow: hidden;
    margin-left: 20px;
}

.home_widgets .widget ul {
    margin: 1px;
    padding: 20px 13px;
    height: 132px;
    overflow: scroll;
    overflow-y: scroll;
    overflow-x: hidden;
}

.home_widgets .widget ul li a {
    color: #191b1c;
    font-weight: 800;
}

.home_widgets .widget ul li span {
    display: block;
}

.home_widgets .widget ul li span.post-date, .home_widgets .widget ul li span.wpp-date {
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
    font-size: 13px;
    line-height: 22px;
}

.home_widgets .ad-box {
    text-transform: uppercase;
    vertical-align: middle;
    text-align: center;
}
/*Ad Box Styling */
.home_widgets .ad-box h3 {
    padding: 2em 
}
.home_widgets .ad-box p {
    padding: 2em
}

@media only screen and (max-width: 481px) and (min-width: 0) {
    .home_widgets .widget {
        float: none;
        width: 100%;
        margin-top: 15px;
    }
    .home_widgets .widget:first-child {
        margin-top: 0;
    }
    .home_widgets .widget h2:after {
        content: ">";
        background-position: 0 2px;
    }

    .home_widgets .widget.widget_recent_entries {
        display: none;
    }
}

/* footer */
.footer-shadow {
    height: 11px;
    background-image: url('images/footer-shadow.png');
    background-repeat: repeat-x;
}

footer.site_footer {
    background-color: #282525;
}

.footer_bottom {
    background: none;
}

#footer_logos {
    margin: 40px 0 0 0;
    text-align: center;
}

#footer_logos ul {
    display: inline-table;
}

#footer_logos ul li {
    display: inline;
    margin: 0 15px;
}

/*
footer .footer_widgets .widget_categories {
    float: right;
}
*/

footer .footer_widgets .widget_categories h2 {
    color: #a5240f;
    text-align: left;
}

footer .footer_widgets .widget_categories ul {
    text-align: left;
}

footer .footer_widgets .widget_categories ul li {
    float: left;
    width: 160px;
}

.footer_bottom {
    background-color: #141212;
    color: #FFF;
}

.footer_bottom .site_map {
    float: right;
    margin: 13px 0;
    position: relative;
    padding-right: 35px;
}

.footer_bottom .site_map span {
    background-image: url('images/icons-sprite.png');
    background-position: -140px 0;
    background-repeat: no-repeat;
    width: 35px;
    height: 35px;
    position: absolute;
    right: 0;
    top: -10px;
}

@media only screen and (max-width: 760px) {
}

@media only screen and (max-width: 481px) and (min-width: 0) {
    footer .footer_widgets .widget_categories {
        float: none;
    }

    footer .footer_widgets .widget_categories h2, 
    footer .footer_widgets .widget_categories ul {
        text-align: center;
    }

    footer .footer_widgets .widget_categories ul li {
        width: 100%;
        float: none;
    }

    .footer_bottom .copyright {
        float: none;
    }

    .footer_bottom .site_map {
        float: none;
        width: 50px;
        margin: 0 auto;
    }

    .footer_bottom .social_icons {
        float: none;
        margin: 10px auto;
        width: 140px;
    }
}

/**
 * Post Page
 */

.site_content .content article .entry-content {
    float: none;
    width: auto;
}

.article_meta {
    float: none;
    width: auto;
}

.article_meta .post_meta {
    padding-top: 10px !important;
}

/*
.article_meta .side_widgets .widget {
    position: relative;
}

.article_meta .side_widgets .widget:before {
    content: url('images/widget_bg.png');
    position: absolute;
    top: 0;
    right: -15px;
}

.article_meta .side_widgets .widget h2 {
    color: #FFF;
    background-color: #a4240f;
    height: 34px;
    margin-left: 11px;
    line-height: 1.8em;
    padding-left: 10px;
}

.article_meta .side_widgets .widget h2:before {
    content: url('images/widget_header_triangle.png');
    position: absolute;
    left: 0;
}

@media only screen and (max-width: 481px) and (min-width: 0) {
    .article_meta .side_widgets .widget:before {
        right: -28px;
    }
    .article_meta .side_widgets .widget h2 {
        width: 100%;
    }
}
*/

/* prev/next post */
.prev_page,
.next_page {
    font-size: 16px;
}

.prev_page:hover a span.title,
.next_page:hover a span.title {
    font-size: 16px;
}

.content_nav a span.title {
    -webkit-transition: all 0.25s ease-in;
    font-size: 0;
}


@media only screen and (max-width: 481px) and (min-width: 0) {
    .prev_page,
    .next_page {
        font-size: 0;
    }

    .content_nav a span.title {
        font-size: inherit;
    }

    .prev_page:hover a span.title,
    .next_page:hover a span.title {
        font-size: inherit;
    }
}

/* Header Logo for Inner Pages Set to 1050px */
html.js body.single header#site_header.site_header h1 a img.icon {
max-width: none;
}

.join-us {
    clear:both;
}

.site_content .content article .entry-content {
    float: left;
    width: 75%;
}

.post-ad {
    float: right;
    width: 120px;
}

.single_side_widgets {
    float: none;
    width: auto;
}

@media only screen and (max-width: 950px) and (min-width: 0) {
    .site_content .content article .entry-content {
        float: none;
        width:100%;
    }
    .post-ad {
        width: 120px;
        margin: 5px auto;
        float:none;
    }
}



#site_header #top-banner img{width:auto;}
#top-banner{text-align:center;}

/* Email Modal */
#mask { width:100%; height:100%; position:fixed; top:0; left:0; z-index:9000; background:black; }
#signUpModal { width:300px; height:106px; position:fixed; z-index:9999; background:white; display:none; padding:10px; }
#signUpModal > span { position:absolute; top:-7px; right:-9px; background:#f76645; color:white; border-radius:10px; padding:0 5px; cursor:pointer; font:75%/150% Arial, Helvetica, sans-serif; font-size:12px; }
