@import url(https://fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,600italic,700italic,400,700,600,300&subset=latin,latin-ext);

body {
    background: #fff;
    color: #888;
    font-family: 'Open Sans', sans-serif; 
    line-height: 1.63em;
}
h1, h2, h3, h4, h5, h6 {
    font-family: 'Open Sans', sans-serif; 
    color: #333;
    line-height: normal;
    font-weight: normal;
}
a {
    color: #4D5399;
    font-weight: 600 !important;
}
img {
    border: none;
    outline: none;
}
blockquote {
    display: block;
    border-left: 5px solid #CCC;
    margin: 20px 5%;
    padding: 20px;
    font-style: italic;
    background: #f5f5f5;
    position: relative;
}
blockquote p {
    padding: 0 !important;
}
blockquote p:last-child {
    margin-bottom: 0 !important;
}
.tweets blockquote {
    border: 1px solid #E4E4E4;
    padding-left: 80px;
    border-radius: 5px;
}
.tweets blockquote:before {
    content: '';
    background: #999 url('https://abs.twimg.com/a/1373572090/images/resources/twitter-bird-dark-bgs.png');
    width: 30px;
    height: 30px;
    display: block;
    background-size: cover;
    position: absolute;
    top: 30px;
    left: 25px;
    border-radius: 50%;
}
#html {
    border: none;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
}
.logo {
    max-width: 100%;
    width: 282px;
    height: auto;
    display: block;
    margin: 20px auto;
}

.header_buttons {
    text-align: right;
    clear: both;
    padding: 10px;
}

.header_buttons a {
    border: 1px solid #4D5399;
    padding: 3px 20px;
    margin: 0 2px;
    border-radius: 3px;
    font-size: 13px;
}

.header_buttons_link_to_blog {
    border-color: #333 !important;
    color: #333 !important;
}

#menu {
    float: left;
    width: 100%;
    display: none;
}
#menu ul {
    margin: 0 auto;
    text-align: center;
    width: 100%;
    clear: none;
    float: none;
    overflow: hidden;
    border-bottom: 1px solid #eaeaea;
}
#menu ul li {
    text-align: center;
    float: none;
    display: inline-block;
}
#menu ul li a {
    font-family: 'Open Sans', sans-serif;
    font-weight: 200;
    padding: 10px 0;
    margin: 20px 40px 0;
    border: none;
    border-bottom: 5px solid transparent;
    border-radius: 0;
    font-size: 18px;
    color: #999;
}
#menu ul li:hover a {
    border-bottom: 5px solid #eaeaea;
}
#menu ul li.selected a {
    color: #333;
    font-weight: bold;
    border-bottom: 5px solid #94bb1c;
}
#page_start #content {
    width: 100%;
    border-right: none;
    padding-bottom: 0;
}
#content {
    overflow: hidden;
    width: 100%;
}
#page_index #content h2 {
    margin: 40px 0 10px;
}
#content p, #page_blog #content p, #page_blog #content ul {
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 1.63em;
}
#content ul, #page_blog #content ul {
    margin-left: 20px !important;
}
#content ul li {
    font-size: 16px;
    line-height: 1.63em;
}
#page_start #side {
    display: none;
}
.book_cover {
    background: #F1F1F1;
    padding-top: 20px;
}
.start_headers {
    padding: 40px 0;
    margin: -20px 0 0;
    box-shadow: 0 4px 4px rgba(0, 0, 0, .05);
    z-index: 2;
    position: relative;
}
.start_headers h1 {
    margin-top: 0;
}
.start_headers h1, .start_headers h2, .start_headers h3 {
    text-align: center;
    line-height: normal;
}
.start_headers h2, .start_headers h3 {
    color: #999;
    font-weight: 200;
    margin: 10px;
}
.subscribe_newsletter {
    background: #eaeaea;
    padding: 30px 0;
    margin-top: -25px;
    position: relative;
    z-index: 2;
}
.subscribe_newsletter h2 {
    margin: 0 auto;
    text-align: center;
    font-weight: 200;
    color: #999;
}
#subscribenew {
    padding: 20px 5%;
    text-align: center;
    overflow: auto;
    background: #eaeaea;
}
#subscribenew input {
    background: #fff;
}
#subscribenew input, .subscribe_button {
    width: 32.333%;
    box-sizing: border-box;
    border-radius: 5px;
    padding: 10px;
    margin-right: 1%;
    font-size: 16px;
    border: 1px solid #eaeaea;
    float: left;
    -webkit-appearance: none;
}
.subscribe_button {
    font-size: 18px;
    font-weight: bold;
    color: #FFF;
    max-height: 40px;
    background: #94bb1c;
    border: none;
    cursor: pointer;
    -webkit-transition: all .3s ease-out;
    -moz-transition: all .3s ease-out;
    -o-transition: all .3s ease-out;
    transition: all .3s ease-out;
}
.subscribe_button:hover {
    opacity: .8;
}

#foot {
    border-top: 1px solid #eaeaea;
    text-align: center;
}

#foot .logo {
    width: 100px;
}

#foot h4 {
    text-align: center;
}

#foot h4 a {
    color: #4D5399;
}

.coming_soon h3, .coming_soon h4 {
    text-align: center;
    font-weight: 200;
    color: #999;
}

.coming_soon h4 {
    margin: 0 auto 20px;
}

.coming_soon h4 a {
    font-weight: bold;
}

.table_of_contents {
    margin: 10px 5%;
    padding: 10px 0px 40px;
}

.table_of_contents > * {
    padding: 0;
}


/* =====================
    SIDEBAR SUBSCRIBE
==================== */

#side {
    display: none;
}

#side h2 {
    font-weight: 200 !important;
}

.buy_book img {
    width: 50px;
    height: 50px;
    margin: 0;
    display: block;
}

.buy_book .has_img {
    border-bottom: 1px solid #CCC;
    margin-bottom: 20px;
}

#side .buy_book {
    font-weight: 200;
    color: #FFF;
    background: #f5f5f5;
    margin: 10px;
    padding: 20px;
    border-radius: 5px;
}

#side .buy_book h2 {
    padding: 0;
    margin: 0 0 20px;
    font-size: 18px;
    color: #999;
}

#side .buy_book a {
    display: block;
}

#side .subscribe_newsletter {
    margin-top: 0;
    background: none;
}
#side .subscribe_newsletter h2 {
    text-align: left;
    font-size: 18px;
}
#side #subscribenew {
    background: none;
}
#side #subscribenew input, #side .subscribe_button {
    width: 100%;
    margin: 5px 0;
}

#side h4 {
    font-weight: 200;
    line-height: 1.63em;
    color: #999;
}

/* =====================
        BLOG ICONS
==================== */

.twitter, .facebook, .comments {
    background: transparent;
    border: 1px solid #d9d9d9;
    margin: 0 5px 0 0;
    padding: 3px 5px;
    border-radius: 5px;
    display: inline-block;
    cursor: pointer;
    text-decoration: none; 
}
.twitter .icon {
    background: url(../_images/soc_icon.png) no-repeat;
    background-size: cover;
    width: 25px;
    height: 18px;
    display: block;
    float: left;
}
.facebook .icon {
    background: url(../_images/soc_icon.png) no-repeat;
    background-position: -28px 0;
    background-size: cover;
    width: 25px;
    height: 18px;
    display: block;
    float: left;
}
.comments .icon {
    background: url(../_images/soc_icon.png) no-repeat;
    background-position: -53px 0;
    background-size: cover;
    width: 25px;
    height: 18px;
    display: block;
    float: left;
}
.twitter .count, .facebook .count, .comments .count {
    color: #999;
    text-decoration: none;
    font-family: 'Open Sans', sans-serif;
    line-height: normal;
}
.nav, .navprev, .navnext, .readmore {
    background: #EEE !important;
    background-image: none;
}
#page_blog #content .date {
    font-family: 'Open Sans', sans-serif;
}

#page_blog #content h2 a {
    color: #4D5399;
}

#content ul.jgallery {
    margin: 0 5% !important;
}

#content ul.jgallery li {
    width: 31.333%;
}

#content ul.jgallery li:nth-child(3n+1) {
    margin-left: 0 !important;
}

/* ========================
        OVERAL FIXES
======================== */

#page_tweets .start_headers {
    margin-bottom: 20px;
}

#zoom {
    z-index: 9999;
}

#zoom_content {
    margin: 40px auto;
    text-align: center;
}

/* ======================= */


/* ========================
        FOOTER
======================== */

.reading_buttons {
    position: relative;
    width: 100%;
    display: block;
    overflow: auto;
    margin-top: -20px;
}

.button_container {
    width: 33%;
    float: left;
    text-align: center;
}

.button_container a {
    display: block;
}

.button {
    font-family: sans-serif;
    font-weight: bold;
    padding: 5px 20px;
    display: inline-block;
    border: 1px solid #999;
    border-radius: 5px;
    color: #999;
    text-decoration: none;
    text-align: center;
}

.button_container.web .button {
    border-color: #555;
    color: #555;
    margin: 0 auto;
    -webkit-transition: all .1s ease-in-out;
    -moz-transition: all .1s ease-in-out;
    transition: all .1s ease-in-out;
}

.button_container.web:hover .button {
    background: #555;
    color: #fff;
}

.button_container.ios .button, .button_container.android .button {
    border-color: #f90;
    color: #f90;
    margin: 0 auto;
    -webkit-transition: all .1s ease-in-out;
    -moz-transition: all .1s ease-in-out;
    transition: all .1s ease-in-out;
}

.button_container.ios:hover .button, .button_container.android:hover .button {
    background: #f90;
    color: #fff;
}

.link_cover {
     margin: 20px 0;
     display: block;
     width: 100%;
     padding-bottom: 65%;
}

.button_container.web .link_cover {
     background: url('../images/pm_teaser_web.png') no-repeat;
     background-size: 100%;
}

.button_container.ios .link_cover {
    background: url('../images/pm_teaser_ios.png') no-repeat;
    background-size: 100%;
}

.button_container.android .link_cover {
    background: url('../images/pm_teaser_android.png') no-repeat;
    background-size: 100%;
}

#content {
    overflow: hidden;
    width: 80%;
    margin: 0 auto;
    float: none;
    border: none;
}
.remag_intro_headers h1 {
    text-align: center;
    font-size: 42px;
    font-weight: 400;
    padding: 0;
}
.remag_intro_headers h2 {
    text-align: center;
    font-weight: 200;
    margin: 0 !important;
    margin-top: -10px !important;
    color: #bbb;
}
.remag_intro_headers h3 {
    text-align: center;
    font-weight: 200;
    margin: 0 !important;
    margin-top: 20px !important;
    color: #bbb;
}
.remag_intro_headers {
    margin-bottom: 50px;
}
.newsletter_icon {
    margin: 0 auto;
    display: block;
    opacity: .2;
    width: 60px;
}
.signup_button {
    border: 2px solid #D7009C;
    color: #D7009C;
    padding: 5px 20px;
    border-radius: 5px;
    display: table;
    margin: 0 auto;
    text-align: center;
}
.oh_michael {
    border-top: 1px dashed #D7009C;
    padding-top: 50px;
    margin-top: 50px;
}
.oh_michael + iframe {
    box-sizing: border-box;
}

.subscription{width:90%;margin:-20px auto 10px;padding:10px 20px 20px;box-sizing:border-box;text-align:center; overflow: auto;}
.subscription input{font-family:Open Sans,sans-serif;float:left;display:block;width:32%;font-size:16px;padding:10px;margin:20px 1% 20px 0;border-radius:5px;box-shadow:none;-webkit-appearance:none;border:1px solid #ccc;outline:0;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}
.button{display:table;background: none;border-color:#f90 !important;color:#f90;margin:20px auto;-webkit-transition:all .1s ease-in-out;-moz-transition:all .1s ease-in-out;transition:all .1s ease-in-out}
.button:hover{background-color:#f90;color:#fff}

.pm_preview img {
    border-top: 1px dashed #ccc;
    border-bottom: 1px dashed #ccc;
    padding: 40px 0;
    margin: 20px 0
}

.coming_soon {
    display: block;
    font-weight: bold;
    text-align: center;
}

.get_plugin {
    text-align: center;
    margin: 60px auto 20px;
    display: block;
    background: #4D5399;
    color: #fff;
    font-size: 1.4em;
    font-weight: bold;
    border-radius: 5px;
}

.get_plugin a {
    display: block;
    color: #fff;
    padding: 40px;
    line-height: 1.43em;
}

.read_blog {
    text-align: center;
    margin: 0 auto 20px;
    display: block;
    border: 2px solid #4D5399;
    color: #4D5399;
    font-size: 1.4em;
    font-weight: bold;
    border-radius: 5px;
}

.read_blog a {
    display: block;
    padding: 40px;
}

@media screen and (max-width: 800px) {
    #side {
        box-shadow: inset 0 0 10px rgba(0, 0, 0, .1);
    } 
    .book_cover_sidebar {
        display: none;
    }
        #side .buy_book img {
        margin: 0 auto;
    }
    #side h2 {
        text-align: center;
    }
    #side .buy_book a {
        display: block;
        border-bottom: 1px solid #94BB1C;
        padding: 10px;
        text-align: center;
    }
    #menu ul li {
        width: 16.666%;
    }
    #menu ul li a {
        margin: 20px 0 0;
    }

    .remag_intro_headers h1 {
        font-size: 1.8em;
    }
    .remag_intro_headers h2 {
        font-size: 1.4em;
    }
    .remag_intro_headers h3 {
        font-size: 1.2em;
    }
}
@media screen and (max-width: 600px) {
    #content {
        width: 100%;
    }
    #subscribenew input, .subscribe_button {
        width: 100%;
        margin: 5px 0;
    }
    #menu ul li {
        width: 100%;
    }
    .button_container {
        width: 100%;
    }
    .link_cover {
        margin: 20px auto;
        display: block;
        width: 100%;
        padding-bottom: 35%;
        width: 50%;
    }
    .remag_intro_headers h1, .remag_intro_headers h2, .remag_intro_headers h3 {
        font-size: 1em;
    }
    h1,h2,h3,h4,h5,h6 {
        font-size: 1em;
        font-weight: bold;
    }
    p {
        font-size: .8em;
    }
}

@media screen and (max-width: 480px) {
    #menu ul li {
        display: block;
    }
    #menu ul li a {
        margin: 3px;
        padding: 5px;
        border: none;
    }
    #menu ul li:hover a {
        border:none;
    }
    #menu ul li.selected {
        background: #94bb1c;
    }
    #menu ul li.selected a {
        color: #fff;
        border: none;
    }
    #content {
        padding-top: 0;
    }
    .start_headers h1, h1 {
        font-size: 26px;
    }
    #content ul.jgallery li {
        width: 100%;
        margin: 0 !important;
    }
    .subscription input {
        float: none;
        width: 100%;
    }
}




#content > iframe.youtube {
    display: block;
    margin: 0 auto;
    max-width: 100%;
    padding: 0;
}