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

* {
    padding: 0;
    margin: 0;
}
body {
    font-family: 'Open Sans';
    background: #eee;
    color: #777;
    -webkit-text-size-adjust: none;
}
h1, h2, h3, h4, h5, h6 {
    color: #000;
    font-weight: 200;
}
h1 {
    color: #886da5;
}
h3 {
    font-weight: bold;
}
h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {
    background: none !important;
}
blockquote {
    border-left: 1px solid #886da5;
    margin: 20px 5% 20px 10%;
    font-family: Georgia, sans-serif;
    font-style: italic;
    color: #999;
    font-size: 18px;
}
#content a {
    color: #886da5;
    background: rgba(160, 144, 180, 0.15);
}
#content p, #content ul {
    line-height: 1.5em !important;
    font-size: 16px !important;
}
#content ul, #content ol  {
    margin: 15px 5% !important;
}
#html {
    background: #fff;
    box-shadow: none;
    border: none;
}
#body {
    background: #fafafa;
}
#content {
    background: #fff;
    border-right: none;
}
#page_share span {
    display: inline-block;
    width: 30px;
    height: 30px;
    margin-right: 5px;
}
#page_share .fb_head {
    background-image: url(../_images/head_fb.png);
    background-size: 100%;
}
#page_share .twitter_head {
    background-image: url(../_images/head_twitter.png);
    background-size: 100%;
}
#page_share .rss_head {
    background-image: url(../_images/head_rss.png);
    background-size: 100%;
}
#page_share .instagram_head {
    background-image: url(../_images/head_instagram.png);
    background-size: 100%;
}#page_title {
    display: inline-block;
    font-size: 1.1em;
}
#page_title .color_line {
    vertical-align: 2px;
}
#page_blog #page_title .color_line {
    color: #886da5;
}
#page_magazine #page_title .color_line, #page_speaking #page_title .color_line {
    color: #f48221;
}
#page_show #page_title .color_line {
    color: #44b5da;
}
#page_books #page_title .color_line {
    color: #96c05a;
}
#page_header {
    background: rgba(255, 255, 255, .9);
    position: relative;
    padding: 20px;
}
#head {
    position: relative;
}
#page_share {
    float: right; display: inline-block; position: relative;
}
#page_cover_photo img {
    max-width: 100%;
}
#menu {
    width: 100%;
    bottom: 0px; /* styl usunac jak juz bedzie cover photo */
    background: rgba(255, 255, 255, .96);
    position: absolute; /* styl usunac jak juz bedzie cover photo */
    /*  style trzeba wlaczyc jak juz bedzie podpiety cover photo
    position: relative;
    margin-top: -58px; */
}
#menu ul {
    width: 100%;
    list-style: none;
}
#menu ul li {
    display: inline-block;
    width: 16.66%;
    text-align: center;
    vertical-align: middle;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -o-box-sizing: border-box;
}

#menu ul li a {
    margin: 0;
    padding: 20px 10px;
}

#menu ul li:hover {
    background: rgba(0,0,0,.1);
}

#menu ul li.selected a {
    color: #fff;
    font-weight: bold;
}

.blog.selected, .blog.selected:hover  {
    background: #886da5;
}

.magazine.selected, .magazine.selected:hover, .speaking.selected, .speaking.selected:hover {
    background: #f48221;
}

.show.selected, .show.selected:hover {
    background: #44b5da;
}

.books.selected, .books.selected:hover, .contact.selected, .contact.selected:hover {
    background: #96c05a;
}

.about.selected, .about.selected:hover {
    background: #a63b4d;
}

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

/* WELCOME */

#page_blog #content > p:first-of-type {
    padding: 10px;
    margin: 0 5% 25px;
    background: #ECE8F0;
    color: #886DA5;
    border-radius: 5px;
    text-align: center;
}

/* ===== */

.blog_post_cont p > a, .oldpost_content p > a, .blog_post #content p > a, 
.blog_post_cont p > strong > a, .oldpost_content p > strong > a, .blog_post #content p > strong > a {
    background: rgba(160, 144, 180, 0.15);
}

#content ul, #content ol {
    padding: 0 5%;
}

#content li p {
    padding: 0 !important;
}

#page_blog #content h2 a, #page_blog #content a, .blog_post #content a {  
    color: #886da5;
}

.share {
    margin-bottom: 45px;
}

.twitter .icon {
    background-image: url(../_images/soc_icon.png);
    width: 32px;
    height: 22px;
}

.facebook .icon {
    background-image: url(../_images/soc_icon.png);
    background-position: -34px 0;
    width: 32px;
    height: 22px;
}

.comments .icon {
    background-image: url(../_images/soc_icon.png);
    background-position: -62px 0;
    width: 32px;
    height: 22px;
}

.twitter, .facebook, .comments {
    background: #fff !important;
    border-radius: 20px;
    border-color: #B1B1B1;
    padding: 5px 10px;
}

.twitter {
    margin-left: 0;
}

.twitter .count, .facebook .count, .comments .count {
    color: #555 !important;
    text-decoration: none;
    background: none !important;
}

#content > iframe {
    margin: 20px 0;
}

#page_blog .blog_post_cont iframe {
    margin: 20px 5%;
}

.nav, .navprev, .navnext, .readmore {
    background: #fff !important;
    border-radius: 20px;
    border-color: #B1B1B1;
    color: #777 !important;
}

.navprev span, .navnext span {
    vertical-align: middle;
}

.nav a, .readmore a {
    color: #777 !important;
    background: #fff !important;
}

/* =================================
            MAGAZINE
================================= */

/* LATEST ISSUE */

#page_magazine #content a, #page_speaking #content a {
    color: #F48221;
    background: rgba(244, 130, 33, 0.1);
}

#page_magazine h1, #page_speaking h1 {
    color: #F48221;
}

.mag_latest_cover, .mag_latest_info {
    width: 50%;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -o-box-sizing: border-box;
    float: left;
}
.mag_latest_cover > p.has_img img {
    border: 10px solid white;
    box-shadow: 0 0 7px rgba(0, 0, 0, .3);
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -o-box-sizing: border-box;
    width: 90%;
    margin: 0 auto;
    display: block;
}
.mag_latest_cover strong {
    display: block;
    margin: 20px auto;
    width: 100%;
    text-align: center;
    background: #EAEAEA;
    border-radius: 5px;
    color: #777;
}
.mag_latest_cover a {
    color: #777;
    text-decoration: none;
    padding: 10px;
    display: block;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -o-box-sizing: border-box;
    -webkit-box-sizing: border-box;
}
.mag_latest_cover strong a {
    color: #777 !important;
}
.mag_latest_info > h1 {
    margin-top: 0 !important;
    font-weight: 200;
    font-size: 30px;
}
.mag_latest_info > h2 {
    position: relative;
    background: #F48221;
    width: 90%;
    float: left;
    margin: 10px 0 20px 5%;
    font-size: 20px;
    border-radius: 3px;
    font-weight: bold;
    color: white;
    padding: 5px 10px;
     box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -o-box-sizing: border-box;
}
.mag_latest_info > p {
    clear: both;
    margin-top: 10px;
    font-weight: 200;
    font-size: 18px !important;
    color: #777;
}
.mag_latest {
    overflow: auto;
    padding: 5px 5%;
    margin-bottom: 60px;
}
.mag_latest_info > p:last-of-type > a {
    margin-bottom: 10px;
    -webkit-box-sizing: border-box;
    font-weight: bold;
}
.mag_latest > p > a:first-of-type {
    margin-left: 15px;
}

/* PREVIOUS ISSUES */

.mag_archive > h1 {
    font-weight: 200;
    font-size: 30px;
    margin-bottom: 20px;
}

.mag_archive_issue {
    border: 1px solid #ccc;
    background: #F1EFEB;
    width: 90%;
    margin: 10px auto;
    padding: 0;
    border-radius: 5px;
    overflow: auto;
    position: relative;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -o-box-sizing: border-box;
}
.mag_archive_issue .has_img img {
    width: 80px;
    height: 80px;
    background: #ccc;
    border-radius: 5px 0 0 5px;
}
.mag_archive_issue p.has_img {
    float: left;
    display: inline-block;
    margin-right: 20px;
    margin-bottom: 0 !important;
}
.mag_archive_issue h2 {
    display: inline-block;
    padding: 0;
    margin: 10px 0 5px;
    color: #968779;
}
.mag_archive_issue p {
    display: block;
    color: #968779;
}
.mag_archive_number {
    position: absolute;
    right: 15px;
    top: 13px;
    padding: 5px 10px;
    background: #f48221;
    border-radius: 5px;
}
.mag_archive_number h1 {
    font-weight: 200;
    font-size: 22px;
    padding: 7px;
    margin: 0;
    color: #fff;
}
#page_magazine .horiz_p_2_cont .horiz_p_2 h2, #page_speaking .horiz_p_2_cont .horiz_p_2 h2 {
    background: #F48221;
    width: 100%;
    padding: 5px 10px !important;
    font-weight: bold;
    color: white;
    font-size: 18px;
    border-radius: 3px;
     box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -o-box-sizing: border-box;
}
#page_magazine .horiz_p_2_cont .horiz_p_2 p a, #page_speaking .horiz_p_2_cont .horiz_p_2 p a {
    display: block;
    background: #F1F1F1;
    padding: 10px;
    width: 50%;
    float: left;
     box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -o-box-sizing: border-box;
    font-weight: bold;
    border-radius: 3px;
    color: #555 !important;
    border: 2px solid white;
}

.pm_ipad img {
    position: relative;
    bottom: -50px;
}

/* ====================
        SHOW
==================== */

#page_show #content a {
    color: #44B5DA;
    font-weight: normal;
}

#page_show h1 {
    color: #44B5DA;
}

.latest_video {
    margin: 0 5% 40px;
    border-bottom: 5px solid #f1f1f1;
    padding-bottom: 40px;
}

.latest_video h1 {
    padding: 0;
    margin-top: 0;
}

#page_show .latest_video h2 {
    font-weight: bold;
    font-size: 16px;
    background: #44B5DA;
    padding: 5px 10px;
    color: white;
    border-radius: 3px;
}

#content .latest_video p {
    font-size: 16px;
    line-height: 24px;
    padding: 0;
    margin-bottom: 20px;
}

#page_show .horiz_p_2 h2 {
    margin-top: 20px;
}

#page_show #content h3 {
    font-weight: bold;
    font-size: 16px;
    margin: 10px 5%;
    padding: 5px 10px;
    background: #F1F1F1;
    border-radius: 3px;
}

/* ====================
        BOOKS
==================== */

#page_books #content a, #page_contact #content a {
    color: #96C05A;
    background: #fff;
    text-shadow: none;
}

#page_books h1, #page_contact h1 {
    color: #96C05A;
}

.latest_book {
    margin: 0 5%;
    padding-bottom: 40px;
    border-bottom: 5px solid #f1f1f1;
    position: relative;
    overflow: auto;
    border-radius: 5px;
}

.latest_book_description {
    text-align: center;
}

.latest_book .latest_book_description h1 {
    text-align: center;
}

.latest_book .latest_book_description p {
    font-size: 20px !important;
}

.latest_book .latest_book_description a, .previous_books .horiz_p_2 a {
    border: 2px solid #679417;
    padding: 10px 20px;
    margin: 20px 0;
    display: inline-block;
    font-size: 24px;
    color: #D2F1B9;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, .3);
    background: #82B626;
    border-radius: 5px;
}

.previous_books .horiz_p_2 a {
    font-size: 16px;
    margin-right: 10px;
}

.latest_book .book_ver_info {
    display: block;
    font-size: 15px !important;
}

/* ====================
        ABOUT
==================== */

#page_about #content a {
    color: #A63B4D;
    background: rgba(166, 59, 77, 0.05);
}

#page_about h1 {
    color: #A63B4D;
}

.about_high {
    background: #F7F4E4;
    border: 1px solid #DBC396;
    margin: 0 5%;
    padding: 20px 0;
    font-size: 22px;
    font-weight: 200;
}


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

#foot {
    background: #e5e5e5;
    padding: 50px 0;
}
#foot p:first-of-type {
    float: left;
    margin-right: 20px;
}
#foot p:first-of-type a > img {
    width: 115px;
}
.foot_column {
    width: 50%;
    margin: 0;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -o-box-sizing: border-box;
}
#foot > p:last-of-type {
    text-align: center;
    width: 100%;
    float: left;
    padding: 0 12%;
    margin: 0 auto;
    display: block;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -o-box-sizing: border-box;
    -webkit-box-sizing: border-box;
}
#foot > p > a {
    margin-top: 20px;
    display: block;
    color: #777;
    font-size: 14px;
    border-top: 1px solid #D5D5D5;
    padding-top: 20px;
}
.foot_column a {   
    padding: 0;
    color: #777;
    font-weight: bold;
    display: inline-block;
}
.left_foot {
    padding-left: 12%;
}
.right_foot {
    padding-right: 12%;
    padding-left: 3%;
}
.left_foot .has_img {
    float: left;
    margin-right: 20px;
}
.left_foot .has_img img {
    width: 115px;
    opacity: .8;
}
.left_foot h1 {
    display: inline-block;
    color: #777;
    padding: 0;
    margin: 10px 0 0 0;
    font-weight: bold;
    font-size: 22px;
}
.left_foot p {
    display: block;
}
.right_foot p {
    font-size: 13px;
    line-height: 19px;
}
.left_foot p span {
    width: 30px;
    height: 30px;
    display: block;
    float: left;
    margin: 10px 10px 0 0;
}
.fb_foot {
    background: url(../_images/foot_fb.png);
    background-size: 100%;
}
.twitter_foot {
    background: url(../_images/foot_twitter.png);
    background-size: 100%;
}
.instagram_foot {
    background: url(../_images/foot_instagram.png);
    background-size: 100%;
}
/* ====================
        SIDEBAR
==================== */

.side_box {
    margin: 20px auto 40px;
    overflow: auto;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -o-box-sizing: border-box;
    width: 90%;
}

.side_box h3 {
    font-weight: normal;
    text-align: left;
    font-size: 18px;
    color: #777;
    background: none;
    border: none;
    border-bottom: 2px solid #ccc;
    padding: 0 0 10px;
    margin: 0 0 20px;
}

#side_blog ul {
    padding-left: 20px;
    margin: 10px 0;
}

.side_box_caption {
    font-weight: normal;
    font-size: 14px;
    line-height: 1.63em;
    color: #777;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -o-box-sizing: border-box;
}

#side_subscribe {
    background: white;
    padding: 20px;
}

#side_subscribe .side_box_caption p a {
    display: block;
    margin: 15px 0;
    background: #8BC246;
    color: white;
    font-weight: bold;
    text-align: center;
    padding: 10px;
    border-radius: 3px;
}

.gsearch_box {
    margin: 20px 20px 40px;
}

.gsearch {
    width: 100%;
    padding: 5px 10px;
    box-sizing: border-box;
    font-size: 14px;
    border: 1px solid #ccc;
    -webkit-appearance: none;
}

#side_magazine h3, #side_speaking h3 {
    border-color: #f48221;
}

#side_magazine_app, #side_speaking_app {
    padding-left: 0;
    border: none;
}

#side_blog h3 {
    border-color: #886da5;
}

#side_show h3 {
    border-color: #44b5da;
}

#side_books h3 {
    border-color: #96c05a;
}

#side_blog a {
    color: #886da5;
}
#side_magazine a, #side_speaking a {
    color: #f48221;
}
#side_show a {
    color: #44b5DA;
}
#side_books a {
    color: #96c05a;
}

.announcement {
    border: 1px solid #f90;
    padding: 20px !important;
    margin: 0 5% 25px;
    background: #FFF3E2;
    color: #f90;
}

.announcement p {
    padding: 0 !important;
    margin: 0 !important;
}

/* ===========================
    RESPONSIVE COVER VIDEO
=========================== */

#object_player_1, #object_player_2 {
    position: relative;
    padding-bottom: 53.25%;
    padding-top: 25px;
    height: 0;
}

#object_player_1 iframe, #player_1, #object_player_2 iframe, #player_2 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.ytImgBox {
    width: 100%;
    height: 0;
    padding-bottom: 53.25%;
    padding-top: 25px;
    position: relative;
    background-size: 100%;
    background-repeat: no-repeat;
}



.table_of_contents ul {
    list-style: none;
}


@media screen and (max-width: 800px) {

#page_header {
        margin-bottom: 0;
        text-align: center;
    }
    #page_title {
        font-size: .9em;
    }
    #page_share {
        float: none;
        display: block;
        position: relative;
        margin: 10px auto 0;
    }
    #menu {
        position: relative;
        background: #f1f1f1;
    }
    .side_box {
        margin: 20px;
        width: 90%;
    }
    .side_box h3 {
        width: auto;
    }
    #side {
        box-shadow: inset 0 0 1px rgba(0, 0, 0, .4);
    }
    .passion_book {
        width: 150px;
    }
}
@media screen and (max-width: 600px) {
    #page_header {
        margin-bottom: 0;
        text-align: center;
    }
    #page_title {
        font-size: .9em;
    }
    #page_share {
        float: none;
        display: block;
        position: relative;
        margin: 10px auto 0;
    }
    #menu {
        position: relative;
        background: transparent;
    }
    #menu ul li {
        width: 100%;
        display: block;
        float: none;
        border-bottom: 1px solid #f1f1f1;
    }
    #menu ul li a {
        padding: 10px;
    }
    .side_box {
        margin: 20px 0 20px 20px;
        width: 90%;
    }
    .horiz_p_2 {
        width: 90%;
        margin: 0 auto 40px !important;
        float: none;
        overflow: auto;
        border-bottom: 5px solid #f1f1f1;
        padding-bottom: 20px;
    }
    .horiz_p_2_cont, .horiz_p_3_cont {
        margin-top: 0;
        margin-bottom: 40px;
    }
    .horiz_p_2:nth-child(2n+2) {
        margin-bottom: 0px !important;
    }
    .mag_latest {
        padding: 5px 0;
        margin-bottom: 30px;
    }
    .mag_latest_info > h1, .latest_video > h1, .mag_archive > h1 {
        font-size: 24px;
    }
    .mag_latest_info > p, #content .latest_video p {
        font-size: 16px !important;
    }
    .mag_latest_cover, .mag_latest_info {
        width: 100%;
    }
    .mag_archive_issue p.has_img {
        display: block;
        text-align: center;
        margin-top: 20px;
        margin-right: 0;
        float: none;
    }
    .mag_archive_issue .has_img img {
        width: 150px;
        height: 150px;
        border-radius: 5px;
        border: 10px solid white;
        box-shadow: 0 0 5px #CCC;
    }
    .mag_archive_issue h2, .mag_archive_issue p {
        display: block;
        text-align: center;
    }
    .mag_archive_number {
        right: 0px;
        top: 0px;
        padding: 0 5px;
        border-radius: 0 5px 0 5px;
    }    
    .about_high {
        font-size: 18px;
    }
    .foot_column {
        width: 100%;
        margin: 0 auto;
        padding: 0 5%;
    }
    .left_foot {
        margin-bottom: 20px;
    }
    .passion_book {
        width: 50%;
    }
}

/* FIXY DLA ZLEGO PARSOWANIA BLOGA */

#page_blog .oldpost_content, .blog_post .oldpost_content {
    padding: 0 5%;
    font-size: 14px;
}

#page_blog .oldpost_content p, .blog_post .oldpost_content p {
    margin: 0;
    padding: 0 !important;
    font-size: 14px !important;
}

#page_blog .oldpost_content ul, .blog_post .oldpost_content ul {
    font-size: 14px !important;
}

#page_blog .oldpost_content div, .blog_post .oldpost_content div {
    margin: 20px 0;
}
