/*
Theme Name: Magpi
Theme URI: http://www.raspberrypi.org
Description: Magpi Theme (bootstrap 3 responsive)
Version: 1
Author: Critical Media
Author URI: http://criticalmedia.co.uk
*/
#mobile-cta{
    display: none;
}


li .widget_twitter {
    margin: 0;
    padding: 0;
}

.side-twitter li {
    list-style-type: none !important;
}

.widget_twitter div {
    padding: 0;
}

.side-twitter ul {
    height: 600px;
    width: 100%;
}

.side-twitter ul {
    overflow: hidden;
    overflow-y: scroll;
}

.side-twitter ul {
    list-style-type: none !important;
    margin-top: 30px;
    padding: 0 !important;
}

ul li {
    margin-bottom: 5px;
}

.widget_twitter .follow-button,
.widget_twitter .xavisys-link {
    margin: 0 10px 10px 25px;
}

.entry-meta {
    display: block;
    font-size: 80%;
}

.entry-content {
    display: inherit;
    margin-bottom: 5px;
}

.entry-content a {
    font-weight: bold;
}

.intent-meta a {
    background: url(img/everything-sprite.png); /** from Twitter ressources */
    display: inline-block;
    height: 16px;
    text-indent: -9999px;
    width: 16px;
}

.twitterwidget-title {
    display: none;
}

.intent-meta a.in-reply-to {
    background-position: 0 center;
}

.intent-meta a:hover.in-reply-to {
    background-position: -16px center;
}

.intent-meta a.favorite {
    background-position: -32px center;
}

.intent-meta a:hover.favorite {
    background-position: -48px center;
}

.intent-meta a.retweet {
    background-position: -80px center;
}

.intent-meta a:hover.retweet {
    background-position: -96px center;
}

.newsletter .textwidget .form input[type="submit"] {
    box-shadow: none;
    border: medium none;
    font-size: 2.2em;
    color: #FFF;
    padding: 0px;
    line-height: 1.1em;
    font-weight: 500;
    margin: 0px 0px 0px -14%;
    position: relative;
    bottom: 40px;
    z-index: 3;
    width: 10%;
    left: 100%;
}

/* contact form 7 styles */
.wpcf7-not-valid-tip {
    display: none;
}

.textwidget .wpcf7 .screen-reader-response {
    display: none;
}

.sidebar .row .newsletter . textwidget . wpcf7 form .form .wpcf7-form-control-wrap input {
    color: #fff !important;
}

/* end contact form 7 styles */

p.form-submit {
    display: none;
}

.comment-form-author,
.comment-form-email,
.comment-form-url {
    width: 50%;
}

.comment-count {
    font-family: "Roboto Slab", sans-serif;
    text-transform: uppercase;
    font-weight: 300;
    padding: 40px 0 20px 0;
    color: #bc1e44;
    font-size: 2em;
}

.comments-wrapper {
    margin-top: 40px;
}

.comment-meta {
    margin-bottom: 30px;
}

.comment-author-link {
    display: block;
    color: #bc1e44;
    font-family: "Raleway", sans-serif;
    font-weight: 500;
    font-size: 0.9em;
}

.comment-options {
    font-family: "Lobster", sans-serif;
    text-transform: none;
    font-size: 1.3em;
}

#submit-new {
    margin-bottom: 10px;
    margin-left: 10px;
}

/* Set margin in ipad mode */
@media (min-width: 768px) {
    div.mob-butts{
        margin-top: 75px;
    }
}

.head-butts .btn, .side-butts .btn, .foot-butts .btn, .live-issue .btn, .subscontent .btn , .mob-butts .btn{
    background: #BC1E44 none repeat scroll 0% 0%;
    color: #E8E1E2;
    font-family: "Raleway", sans-serif;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 0.9em;
    border: 3px solid #E1E1E1;
    border-radius: 6px;

}

.side-issue .side-butts .btn {
    display: inline-block;

}

.live-issue .btn {
    padding: 8px 10px 8px;
    margin-top: 20px;
    margin-left: 7px;
    width: 45%;
}

.subscribe {
    margin-left: 8px !important;
}

.side-butts .btn {
    padding: 8px 10px 8px;
    margin-bottom: 5px;
}

.head-butts .btn {
    padding: 15px 20px 13px;
    margin: 10px 0px 10px;
    width: 160px;
}

.foot-butts .btn {
    padding: 15px 20px 13px;
    width: 160px;
}
.mob-butts .btn{
    padding: 15px 20px 13px;
}


.mob-butts .appstore{
    background: #000 url("./img/mobile-appstore.png") no-repeat center center;
}
.mob-butts .google{

    background: #000 url("./img/mobile-google.png") no-repeat center center;
}
.mob-butts .appstore, .mob-butts .google{
    height: 52px;
    font-family: "Raleway", sans-serif;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 0.9em;
    border: 3px solid #E1E1E1;
    border-radius: 6px;
    -webkit-background-size: contain;
    -moz-background-size: contain;
    -o-background-size: contain;
    background-size: contain;
}

.head-butts .btn:nth-of-type(even) {
    margin-left: 5px !important;
}

/* NEWSLETTER SUBSCRIPTION */
.cf:before, .cf:after {
    content: "";
    display: table;
}

.cf:after {
    clear: both;
}

.cf {
    zoom: 1;
}

/* Form wrapper styling */
.form-wrapper {
    width: 100%;
    padding: 15px;
    margin: 150px auto 50px auto;
    background: #444;
    background: rgba(0, 0, 0, .2);
    border-radius: 10px;
    box-shadow: 0 1px 1px rgba(255, 255, 255, .4) inset, 0 1px 0 rgba(255, 255, 255, .9);
}

/* Form text input */

.news-wrapper-sb input {
    width: 100%;
    height: 42px;
    /* padding: 10px 5px;*/
    padding: 15px;
    float: left;
    /* font: bold 15px 'lucida sans', 'trebuchet MS', 'Tahoma';*/
    border: 1px solid #fff;
    background: none;
    border-radius: 3px 0 0 3px;
    color: #fff;
}

.news-wrapper-sb input:focus {
    outline: 0;
    background: none;
    box-shadow: 0 0 2px rgba(0, 0, 0, .8) inset;
}

.news-wrapper-sb input::-webkit-input-placeholder {
    color: #fff;
    font-weight: normal;
    font-style: italic;
}

.news-wrapper-sb input:-moz-placeholder {
    color: #fff;
    font-weight: normal;
    font-style: italic;
}

.news-wrapper-sb input:-ms-input-placeholder {
    color: #fff;
    font-weight: normal;
    font-style: italic;
}

/* Form submit button */
.news-wrapper-sb button {
    overflow: visible;
    position: relative;
    float: right;
    border: 0;
    padding: 0;
    cursor: pointer;
    height: 40px;
    width: 60px;
    font-size: 2.2em;
    color: #fff;
    text-transform: uppercase;
    background: none;
    border-radius: 0 3px 3px 0;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, .3);
    top: -41px;
    right: 1px;
}

.news-wrapper-sb button:hover {
    /*background: #e54040;*/
}

.news-wrapper-sb button:active,
.news-wrapper-sb button:focus {
    outline: 0;
}

.news-wrapper-sbx button:before {
    /* left arrow */
    content: '';
    position: absolute;
    border-width: 8px 8px 8px 0;
    border-style: solid solid solid none;
    /*border-color: transparent #d83c3c transparent;*/
    border-color: transparent #fff transparent;
    top: 12px;
    left: -6px;
}

.news-wrapper-sb button:hover:before {
    border-right-color: #e54040;
}

.news-wrapper-sb button:focus:before,
.news-wrapper-sb button:active:before {
    border-right-color: #c42f2f;
}

.news-wrapper-sb button::-moz-focus-inner {
    /* remove extra button spacing for Mozilla Firefox */
    border: 0;
    padding: 0;
}

.back-issue ul {
    margin: 20px 0 0 0;
    padding: 0 0 20px;
    list-style: none;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 600;
    font-size: 1.4em;
}

.back-issue ul li:before {
    content: "\e080";
    margin-right: 5px;
    font-family: 'Glyphicons Halflings';
    position: relative;
    top: -1px;
    display: inline-block;
    font-style: normal;
    font-weight: 400;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    color: #bc1e44;
    font-size: .6em;

}

.back-issue ul li {
    position: relative;
    padding: 3px 0;
    font-style: normal;
    font-weight: 600;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    position: relative;
    top: -1px;

}

.back-issue h2 {
    font-family: 'Lobster', sans-serif;
    font-size: 1.9em;
    padding-top: 30px;
    font-weight: 100;
    margin-bottom: 20px;
}

.news-time p {
    font-size: 1.2em;
    padding-top: 25px;
    padding-right: 10px;
    text-align: left;
    text-transform: none;
}

div.standfirst {
    margin-bottom: 20px !important;
}

.standfirst p {
    font-size: 1.3em;
    line-height: 1.5em

}

/* SUBSCRIPTIONS SPECIFIC */
/* TODO:
    MOBILE VIEW:
        * Lose the border-left property

        * Center Page title and

*/
li.facebook {
    background:url(img/article/icon-facebook.png) no-repeat center top
}

li.twitter {
    background:url(img/article/icon-twitter.png) no-repeat center top
}

li.googleplus {
    background:url(img/article/icon-googleplus.png) no-repeat center top
}

li.mail {
    background:url(img/article/icon-mail.png) no-repeat center top
}

li.facebook:hover {
    background-image:url(img/article/icon-facebook-o.png)
}

li.twitter:hover {
    background-image:url(img/article/icon-twitter-o.png)
}

li.googleplus:hover {
    background-image:url(img/article/icon-googleplus-o.png)
}

li.mail:hover {
    background-image:url(img/article/icon-mail-o.png)
}

span.fa {


    font-size: 24px;
    color: #ffffff;
    display: block;
    margin: -12px auto 0;
    position: relative;
    top: 50%;
    text-align: center;
}

#example {
    display: block;
    margin: 0;
    padding: 0;
    text-align: center;
    padding-top: 10px;
}
#example .socialx {

   /* background: radial-gradient(circle at bottom, #81e8f6, #76deef 10%, #055194 80%, #062745 100%);*/

    display: inline-block;
    height: 35px;
    margin-left: 5px;
    position: relative;
    width: 32px;
}
#example .socialx:before {
    content: "";
    position: absolute;
    top: 1%;
    left: 5%;
    width: 90%;
    height: 90%;

    /*background: radial-gradient(circle at top, #ffffff, rgba(255, 255, 255, 0) 58%);*/
    z-index: 2;
}
#example .socialx:after {
    content: "";
    position: absolute;
    display: none;
    top: 5%;
    left: 10%;
    width: 80%;
    height: 80%;
    border-radius: 100%;
    z-index: 2;

}

#example .socialx .sharrre {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}
#example .socialx a.box .count,
#example .socialx span.fa {


    font-size: 24px;
    color: #ffffff;
    display: block;
    margin: -12px auto 0;
    position: relative;
    top: 50%;
    text-align: right;
}
#example .socialx:hover a.box .count {


    opacity: 1;
}
#example .socialx:hover span.fa {
    opacity: 0;


}
#example .socialx a.box {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    text-decoration: none;
    z-index: 2;
}
#example .socialx a.box .count {


    font-size: 21px;
    position: absolute;
    top: 50%;
    left: 0;
    margin-top: -10px;
    right: 0;
    opacity: 0;
    text-align: center;
}
#example .socialx a.box .share {
    display: none;
}

li.share-num{
    font-size: 0.9em;
    top: -8px;
}
li.share-num span{
    font-size: 1.7em;
}


.subsintro{
    padding-bottom: 0 !important;
    border-bottom:1px solid #a7a9ac;
}
.subsintro h1{
    margin-bottom: 0 !important;
}

.subsdisabled {
    /* IE 8 */
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=15)";

    /* IE 5-7 */
    filter: alpha(opacity=15);

    /* Netscape */
    -moz-opacity: 0.15;

    /* Safari 1.x */
    -khtml-opacity: 0.15;

    /* Good browsers */
    opacity: 0.15;
}

.subsdisabled a {
    cursor: not-allowed;
}

.sub-cta{
    background-color: #bc1e44;
    color: #fff;

    margin: 0;
    width: 100%;
    padding-top: 8px;
    min-height: 33px;
}
.sub-cta span{
    font-weight: 700;
}


[id*='mpsubs-'] {
    margin-right: 15px;
    margin-left: 15px;
    margin-bottom: 50px;
    border-bottom:  1px solid #a7a9ac;



}

.mpsubs-head {
    font-family: "Lobster";
    border-bottom: 1px solid #a7a9ac;
    text-align: left;
    padding-left: 5px;
    font-size: 1.5em;


}

.subs-end, .subsicon {
    min-height: 259px;
    padding-left: 0;


}

.subsicon {
    border-right: 1px solid #a7a9ac;

}
.subsicon img {
    padding-right: 5px;

}
.subs-end, .subsmain {
   /* border-left: 1px solid #a7a9ac;*/
    /*border-bottom: 1px solid #a7a9ac;*/
    height: 100%;
}
.subs-end{
    border-left: 1px solid #a7a9ac;
}
.subscontent img {
    margin-top: 15px;
    max-height: 112px;

}

.subsmain, .subscontent, .subs-end {
    text-align: center;
    padding-top: 15px;
    padding-left: 0;
    padding-right: 0;
   /* padding-bottom: 15px;*/

}

.subscontent div {
    margin-bottom: 10px;
}

.subsmain img {
    margin: auto auto;

}


/* Mobile CTA buttons */
@media (min-width: 768px){
    .mob-butt,#mob-cover {
        margin:0px auto 10px;
        display:block;

    }
}
@media (max-width: 767px) {
    .mob-butt,#mob-cover {
        margin:5px auto;
        display:block;

    }
}

#mobile-cta{
    background-image:-webkit-linear-gradient(top,#919294 0%,#bdbec0 100%);
    background-image:-o-linear-gradient(top,#919294 0%,#bdbec0 100%);
    background-image:linear-gradient(to bottom,#919294 0%,#bdbec0 100%);
    background-repeat:repeat-x;
    filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#FF919294',endColorstr='#FFBDBEC0',GradientType=0);
    padding:15px 15px 15px 20px;
}

@media only screen
   and (max-width: 992px){
      #mobile-cta{
        display: block !important;
    }

}





@media (max-width: 992px) {
    .subs-end {
        display: none;
    }
    .subsicon {
        display: none;

    }

}

/* WordPress Core Styles
-------------------------------------------------------------- */
.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;
}

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-left: auto;
    margin-right: auto
}

.wp-caption {
    background: #fff;
    border: 1px solid #f0f0f0;
    max-width: 96%; /* Image does not overflow the content area */
    padding: 5px 3px 10px;
    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 {
    border: 0 none;
    height: auto;
    margin: 0;
    max-width: 98.5%;
    padding: 0;
    width: auto;
}

.wp-caption p.wp-caption-text {
    font-size: 11px;
    line-height: 17px;
    margin: 0;
    padding: 0 4px 5px;
}

/* Text meant only for screen readers. */
.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
}

.screen-reader-text:focus {
    background-color: #f1f1f1;
    border-radius: 3px;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto !important;
    color: #21759b;
    display: block;
    font-size: 14px;
    font-size: 0.875rem;
    font-weight: bold;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000; /* Above WP toolbar. */
}
/* ============================================================
  CUSTOM PAGINATION
============================================================ */
.custom-pagination span,
.custom-pagination a {
    display: inline-block;
    padding: 2px 10px;
}
.custom-pagination a {
    background-color: #ebebeb;
    color: #ff3c50;
}
.custom-pagination a:hover {
    background-color: #ff3c50;
    color: #fff;
}
.custom-pagination span.page-num {
    margin-right: 10px;
    padding: 0;
}
.custom-pagination span.dots {
    padding: 0;
    color: gainsboro;
}
.custom-pagination span.current {
    background-color: #ff3c50;
    color: #fff;
}

h1.theshop{
    padding: 0;
}
h1.theshop span{
    font-size: 11px;

}
h1.theshop span a{
    font-family: 'Lobster', sans-serif;
    text-transform: none;
    font-size: 15px;

}
h1.theshop span a img{
    top: -25px

}
