/*
Theme Name: Old Bike Mag
Theme URI: http://www.oldbikemag.com.au
Description: Child Theme for MH magazine
Author: nextmedia
Author URI: http://www.oldbikemag.com.au
Template: mh-magazine
Version: 0.1
*/

.mh-site-logo { text-align: center; }


/* categories */
.category-link {
    top: 0;
    font-size: 12px;
    font-size: 0.75rem;
    font-weight: 700;
    color: #fff;
    padding: 5px 10px;
    text-transform: uppercase;
    transition: 0.2s;
}

.category-link:hover {
    color: #fff;
}

.event-ticker {

    width: 100%;
    height: 60px;
    background-size:cover;
}

.mh_event_widget {
    width: 300px;
    margin: 15px auto;
}

.event-ticker.featured {
    height: 244px;
    font-size: 1em;
}

.event-ticker a {
    position: relative;
    width: 100%;
    height: 100%;
    display: inline-block;
}

.event-ticker .event-ticker-item {
    height: 60px;
}

.event-ticker .event-item-info {
    height: 40px;
}

.event-ticker.featured a {
    position: relative;
}

.event-ticker.featured .event-ticker-item {
    height: 244px;
    background-size: cover;
}

.event-item-date {
    position: absolute;
    right: 25px;
}

.event-item-date .day {
    color: #fff;
    display: block;
    /* width: 100%; */
    font-size: 3em;
    text-align: center;
    line-height: 1em;
    padding: 10px;
    background-color: #1a1919c4;
}

.event-item-date .bdate {
    padding: 0px 10px;
    background-color: #fff;
    color: #484848;
    font-weight: 900;
}

.event-item-info {
    background-color: #1a1919c4;
    padding: 10px;
    color: #fff;
    position: absolute;
    bottom: 0;
    width: 280px;
}
.event-item.location {
    display: block;
    font-size: 0.7em;
    color: #ffffffc9;
}

.event-ticker-item {
    width: 100%;
    height: 100%;
}

/* Single event */

.ob-event .event-detail {
    padding: 20px;
    background-color: whitesmoke;
    color: #606060;
    height: auto;
    display: inline-block;
    width: 95%;
}
ul.event-list {
    margin: 0px;
}
.event-detail li {
    width: 100%;
    display: block;
    list-style: none;
    border-bottom: dotted thin #cfcfcf;
}

li.event-location {
    color: inherit;
    cursor: pointer;
}

li.event-location span {
    font-style: italic;
    font-weight: bold;
    text-decoration: underline;
}

li.event-date {
    padding: 5px 10px 5px 10px;
}

li.event-date:before {
    content: "\f133";
    font-family: FontAwesome;
    font-style: normal;
    font-weight: normal;
    text-decoration: inherit;

    font-size: 1.2em;
    margin-right: 10px;
}

li.event-location:before {
    content: "\f041";
    font-family: FontAwesome;
    font-style: normal;
    font-weight: normal;
    text-decoration: inherit;
    font-size: 2em;
    margin-right: 10px;
    margin-left: 10px;
}

.ob-event-map iframe {
    width: 100%;
    height: 250px;
    margin-bottom: 20px;
}

/* cover issue widget */
.mh-cover-issue img {
    margin: auto;
    display: block;
}


/* subscription widget */

#ad-container, #ad-container:hover
{
    display:block;
    width:300px;
    height:235px;
    text-decoration:none;
    outline:none;
    overflow: hidden;
    position:relative;
    margin: 0 auto;

    font-family: 'Oswald', sans-serif;
}

.cover-header {
    background-image: url(assets/images/noise.png);

    width: 100%;
    padding-top: 15px;
    background-color: #d82326;
    display: inline-block;
    border-bottom: solid thin #d3b738;
    text-align: right;
}

.subscribe-title {
    color: #fff;
    font-weight: 800;
    font-size: 1.8em;
    display: inline-block;
    padding-right: 20px;
    margin-bottom: -10px;
}

.subscribe-body {
    background-image: url(assets/images/noise.png);
    height: 100%;
    padding: 25px;
    background-color: #000;
}

.subscription-bonus {
    position: absolute;
    right: 10px;
    top: 55px;
}

.subscription-bonus .bonus-text {
    position: relative;
    top: 18px;
    font-family: Roboto;
    color: #ccc53f;
    text-transform: uppercase;
    font-weight: 900;
    font-size: 1em;
}

.dvd {
    position: absolute;
    width: 65px;
    border: solid thin #878b93;
}

.dvd img {
    width: 60px !important;
}

.dvd.first {
    right: 83px;
    top: 30px;
    z-index: 10;
    transform: rotate(-4deg);
    box-shadow:
}

.dvd.second {
    right: 20px;
    top: 40px;
    transform: rotate(2deg);
    box-shadow: 1px 1px 1px 1px #2a2a2a4f;
}

.subscription-text {
    top: 55px;
    /* width: 155px; */
    font-size: 0.9em;
    color: #e8e8e8;
    right: 10px;
    position: absolute;

    text-shadow: rgba(255, 255, 255, 0.19) 0 0 1px;
    font-size: 0.75em;
    /* font-weight: 600; */
    letter-spacing: 0.8px;
}

.ad-cover img {
    transform: rotate(-1deg);
    position: absolute;
    top: 15px;
    left: 15px;
    width: 115px;
    box-shadow: 1px 1px 1px 1px #2a2a2a4f;
}

.subscription-mymags {
    position: absolute;
    bottom: 10px;
    width: 65%;
}

#ad-cover
{
    height: 229px;
    width: 150px;
    overflow: hidden;
    position: absolute;
    right: 16px;
    top: 10px;
}

#ad-cover img{
    position: absolute;
    right: -14px;
    width: 175px;
}

.ad-text
{
    height: 221px;
    width: 116px;
    position: absolute;
    left: 13px;
    top: 16px;
}


/* misc */

.background-noise {
    background-image: url(assets/images/noise.png);
    opacity: 0.95;
}

.mh-slider-layout6 {
    padding: 20px;
    background-color: #2a2a2a;
}

/* Slideshow / carousels */
.mh-slider-layout6 .flex-control-nav { width: auto; top: 30px; right: 25px; bottom: auto; }
.mh-slider-layout6 .flex-control-paging li a { width: 20px; height: 20px; background: #fff; -webkit-border-radius: 0; -moz-border-radius: 0; -o-border-radius: 0; border-radius: 0; -webkit-box-shadow: none; -moz-box-shadow: none; -o-box-shadow: none; box-shadow: none; }
.mh-slider-layout6 .mh-slider-caption {
    position: relative;
    width: 100%;
    max-width: 100%;
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
    background: rgba(42, 42, 42, 1);
}

.mh-slider-layout6 .mh-slider-content { padding: 20px 5px !important; }
.mh-slider-excerpt.mh-excerpt li {
    font-family: "Raleway", sans-serif;
    font-size: 14px;
    list-style-type: square;
    margin-left: 15px;
    color: #ffc001;
    font-weight: 700;
}


.ob-slider-widget.ob-background{
    background-color: #2a2a2a;
}

.ob-slider-widget {
    overflow: hidden;
}

/*
Slider image anti alisasing
*/
.ob-slider-widget img {
    /* image-rendering:pixelated; */
}


/* First slide fade in / loading effects
Only used on first slide to fix flickering
 */
.slide-0 {
    display: block !important;
    max-height: 643.75px !important;
    background-color: #2a2a2a !important;
}

.slide {
     /* max-height: 550px !important; */
}

.slide-0 img {
    opacity: 0;
}

.slide-0 .loading {
    width: 50%;
    height: 50%;
    overflow: auto;
    margin: auto;
    position: absolute;
    top: 25%;
    left: 0;
    bottom: 0;
    right: 0;
}

.slide-0 i {
    width: 100px;
    display: block;
    text-align: center;
    vertical-align: middle;
    margin: 0 auto;
    font-size: 50px;
}

.mh-slider-item {
    display: none;
}


/* ads */

.ad-widget-container {
    /* background-color: #f5f5f5; */
}

.ad iframe {
    margin: 0 auto;
    display: block;
}

.flex-control-nav.flex-control-paging li {
    height: 12px !important;
}


/* nav flicker fix */
#menu-primary li.menu-item-object-category:hover {
    background-color: unset !important;
    transition: 0.25s ease-out !important;
}

/* bottom social clear fix */
.mh-social-bottom {
    clear: both;
}

.mh-container, footer, .mh-copyright-wrap {
    cursor: auto;
}

 /* sidebar advertising / content fix
  min-width on side bar is set to 300px instead of percent to avoid any
  cut-off / scalling problems with ads or content
 */
.mh-sidebar {
    min-width: 300px;
}

@media screen and (max-width: 1111px) and (min-width: 1025px) {
    #main-content {
        width: 65.8%;
    }
}

@media screen and (max-width: 1024px) and (min-width: 960px) {
    #main-content {
        width: 62.5%;
    }
}

@media screen and (max-width: 960px) and (min-width: 860px) {
    #main-content {
        width: 60.1%;
    }
}

@media screen and (max-width: 860px) and (min-width: 768px) {
    #main-content {
        width: 55.3%;
    }
}

.mh-main-nav-wrap {
    max-width: 1080px;
    margin: 0px auto;
}

#skin {
    background-attachment: fixed !important;
    background-position: center top !important;
}

.ob-social-nav {
    float: right;
}

.ob-social-nav li {
    min-width: 40px;
}
.ob-social-nav li a {
    padding: 10px !important;
    border: none !important;
    line-height: 100%;
    font-size: 1.6em;
}

.ob-social-nav.mh-social-icons li a[href*="facebook.com"]:hover {
    background-color: #4e6ab2;
}

.ob-social-nav.mh-social-icons li a[href*="instagram.com"]:hover {
    background-color: #e4405f;
}

@media screen and (max-width: 825px) and (min-width: 768px) {
    .mh-main-nav li  {
        font-size: 11px !important;
    }
}

@media screen and (max-width: 768px) {
    .mh-main-nav-wrap nav.slicknav_nav {
        margin-bottom: 0;
    }
    .ob-social-nav.mh-social-icons {
        width: 100%;
        margin-top: 20px;
        background-color: #262626;
    }
    .ob-social-nav.mh-social-icons ul.menu {
        border-color: #3e3939;
        padding: 10px;
    }
    .ob-social-nav.mh-social-icons li {
        width: 25%;
    }
}

@media screen and (max-width: 640px) {
    .ad.mrec {
        margin-bottom: 20px;
    }
}
@media screen and (max-width: 360px){
    .ad.leaderboard, .ad.leaderboard-footer {
        min-height: 50px;
    }
    .ad.leaderboard iframe, .ad.leaderboard-footer iframe {
        position: absolute;
        min-height: 50px;
        left: 0;
        right: 0;
    }
}

@media screen and (max-width: 479px){
    .mh-wrapper.clearfix {
        width: calc(100% - 20px) !important;
        padding-left: 10px !important;
        padding-right: 10px !important;
    }
}

/* figure.ob-author-bio-avatar.mh-author-bio-image-frame {
    margin: auto;
    border: none;
    border-radius: unset;
    overflow: visible;
    height: 150px;
    width: 150px;
    margin: auto;
}

figure.ob-author-bio-avatar.mh-author-bio-image-frame a {
    box-shadow: 0px 1px 5px 0px #0000007d;

    border: solid 10px #fff;
    display: block;
    padding: 20px;
    border-radius: 50%;
    margin: 0 auto;
    float: left;
} */
figure.ob-author-bio-avatar.ob-author-bio-image-frame {
    margin: auto;
    text-align: center !important;
}
.ob-author-bio-text {
    margin-top: 15px;
}

.mh-user-widget.mh-authors-widget.clearfix img {
    background-color: #fff;
    padding: 15px;
}

.mh-author-bio-widget .mh-author-bio-text {
    margin-top: 35px;
}
