/*
Theme Name: Fantasyplanet.cz
Description: Fantasyplanet theme
Author: Studio LD
Author URI: http://www.studio-ld.net/
Template: merlin
Version: 1.0.0
*/
@import url("../merlin/style.css");


/*obecne*/
.hide {
    display: none;
}



/* perex v detailu clanku */
.entry-content .excerpt {
    font-weight: bold;
}

.bold{
    font-weight: bold;
}

/* homepage tri sloupce */
.widget-category-posts-columns .category-posts-column-one,
.widget-category-posts-columns .category-posts-column-two,
.widget-category-posts-columns .category-posts-column-three {
    float: left;
    width: 33.3%;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.widget-category-posts-columns .category-posts-column-one,
.widget-category-posts-columns .category-posts-column-two {
    padding-right: 0.4em;
}

.widget-category-posts-columns .category-posts-column-two,
.widget-category-posts-columns .category-posts-column-three {
    padding-left: .4em;
}

@media only screen and (max-width: 40em) {
    .widget-category-posts-columns .category-posts-column-one {
        float: none;
        width: 100%;
        padding: 0;
    }

    .widget-category-posts-columns .category-posts-column-two,
    .widget-category-posts-columns .category-posts-column-three {
        width: 100%;
        padding-top: 0.5em;
        margin-left: 0;
        padding-left: 0;
    }
}

/* homepage nejnovejsi clanky */
.merlin_category_one_column .entry-meta {
    display: inline-block;
}

.merlin_category_one_column .type-post {
    margin-bottom: 0em;
}

.merlin_category_one_column .small-post .entry-title {
    border-width: 0px;
    font-size: 0.85rem;
    vertical-align: top;    
    width: 70%;
    display: inline-block;
}

/* hlavicka */
.site-header .header-main {
    padding: 0;
}

.header-widget.widget_user_box {
    clear: right;
    /*padding-right: 10px;*/
}

/* footer */

#footer-text {
    width: 100%;
}

.footer-left {
    float: left;
}

.footer-right {
    float: right;
}

/* kalendar */
.widget.spider_calendar .spider_categories_widget {
    display: none;
}

.widget.spider_calendar table tr {
    /*height: 2.5em;*/
}

.widget.spider_calendar table tr td {
    white-space: nowrap;
}

/** slider **/
.post-slider-container {
    max-width: 725px;
    width: 64%;
    /*padding-right: 1.8em;*/
    float: left;
}

.post-slider-container .post-slider .zeeslide .slide-image {
    width: 100%;
    border-right: 0;
}

.post-slider-container .post-slider .zeeslide .slide-content {
    width: 100%;
    margin-left: 0;
    position: absolute;
    bottom: 3em;
    background-color: rgba(0, 0, 0, 0.3);
    padding: 0 1em;
}

.post-slider-container .post-slider .zeeslide .slide-content h1 {
    border: none;
}

@media only screen and (max-width: 1279px) {
    .post-slider-container {
        max-width: 1132px;
        width: 100%;
        /*padding-right: 1.8em;*/
        float: none;
    }
}

/* background */
body .site {
    background: inherit;
}

.header-bar-wrap {
    border-bottom: 0px;
}

/* kratke zpravy */
.short-messages-container {
    width: 36%;
    max-width: 380px;
    float: right;
    background-color: #dddddd;
    min-height: 343px;
}

@media only screen and (max-width: 1279px) {
    .short-messages-container {
        width: 100%;
        max-width: 100%;
        float: none;
        height: 100%;
        margin: 1em 0 0;
        padding-bottom: 1em;
        min-height: 100%;
    }
    .content-area, .sidebar {
        margin-top: 1em;
    }
    .type-post .post-thumbnail-small + .entry-header .entry-title {
        font-size: 1.25em;
    }
}

@media only screen and (max-width: 880px) {
    /*.short-messages-container {
        max-width: 94.5%;
        margin-left: 1.5em;
    }*/
}

.small-post-content {
    margin: 0 0 0.5em;
}

.short-messages-container.widget-category-posts .type-post {
    margin-bottom: 0em;
    line-height: 1.2;
}

.short-messages-container .entry-meta {
    display: inline-block;
}

.short-messages-container.widget-category-posts .small-post .entry-title {
    border-width: 0px;
    font-size: 0.85rem;
    vertical-align: top;
    width: 70%;
    display: inline-block;
}
.short-messages-container .small-post-content {
    padding: 0 15px;
}


/* social icons */
.header-widget.tzwb-social-icons {
    clear: right;
}

.tzwb-social-icons-menu li a:before {
    color: #eee !important;
}
.tzwb-social-icons-menu li a:hover[href*="facebook.com"]::before {
    color: #3b5998 !important;
}
.tzwb-social-icons-menu li a:hover[href*="youtube.com"]::before {
    color: #c4302b !important;
}
.tzwb-social-icons-menu li a:hover[href*="plus.google.com"]::before {
    color: #dd4b39 !important;
}
.tzwb-social-icons-menu li a:hover[href*="pinterest.com"]::before{
    color: #cb2027 !important;
}
.tzwb-social-icons-menu li a:hover[href*="twitter.com"]::before {
    color: #00aced !important;
}
.tzwb-social-icons-menu li a:hover[href*="instagram.com"]::before {
    color: #3f729b !important;
}
.tzwb-social-icons-menu li a:hover[href*="/feed"]::before, .tzwb-social-icons-menu li a:hover[href*="/feed/"]::before, .tzwb-social-icons-menu li a:hover[href*="?feed=rss2"]::before, .tzwb-social-icons-menu li a:hover[href*="feedburner.google.com"]::before, .tzwb-social-icons-menu li a:hover[href*="feedburner.com"]::before {
    color: #ee802f !important;
}


/* user login box */
.header-widget.widget_user_box {
    /*background-color: #ffffff;*/
    overflow: hidden;
    height: 2.63.2em;
    margin-left: 5em;
}

.header-widget.widget_user_box .logout-icon {
    color: red;
    margin-left: 1em;
}

a.user-account {
    color: #1B2A34;
    display: inline-block;
    padding: 0.9em 2em;
    position: relative;
    vertical-align: top;
    background: #ddd;
    text-transform: uppercase;
    text-align: center;
}
a.user-account:hover {
    color: #F15F31;
}

a.log-out {
    background: #ef4036 none repeat scroll 0 0;
    color: #fff;
    display: inline-block;
    height: 43px;
    padding: 0.5em 0.8em;
    position: relative;
    width: 46px;
}
a.log-out:hover {
    background: #F15F31;
}

/* kalendar */
.js_calendar table {
    border-collapse: initial;
    border: 0px;
}

.js_calendar table td {
    padding: 0px;
    text-align: center;
}

.js_calendar .arrow-left {
    width: 0px;
    height: 0px;
    border-top: 7px solid transparent;
    border-bottom: 7px solid transparent;
    border-right: 13px solid;
    margin: 0 auto;
}

.js_calendar .arrow-right {
    width: 0px;
    height: 0px;
    border-top: 7px solid transparent;
    border-bottom: 7px solid transparent;
    border-left: 13px solid;
    margin: 0 auto;
}

td.calsun_days{
    background-color: #ddd;
}

td.caltext_color_other_months{
    opacity: 0.3;
}

.cell_body td {
    height: 30px;
}
.cell_body td:hover {
    background: #eee;
}
.cell_body a {
    display: block;
}
td.cala_day {
    background: #ef4036 none repeat scroll 0 0 !important;
}
.cala_day a {
    color: #fff;
}
.cala_day:hover a {
    color: #1B2A34;
}


/* prebarveni */
.widget-title {
    background-color: inherit;
}

.widget-header {
    background-color: #1b2a34;
}

.widget-category-posts .widget-header .category-archive-link .category-archive-icon {
    color: #ffffff;
}

.widget-category-posts .large-post .entry-title {
    font-size: 1rem;
    border-bottom: 0;
}

.widget.clearfix {
    background: #fff none repeat scroll 0 0;
    padding-bottom: 10px;
}

.widget.widget_aas_widget.clearfix {
    background: rgba(0, 0, 0, 0) none repeat scroll 0 0;
    text-align: center;
}

.sidebar {
    /*background-color: #ffffff;*/
}

.site-content {
    background: url(/wp-content/themes/merlin-fantasyplanet/images/bg-90transparent.png) 0 0 repeat;
}

footer {
    background: #dddddd;
}

#primary footer {
    background: none;
}

footer a {
    color: #1b2a34 !important;
}
footer a:hover {
    color: #f15f31 !important;
}

/*prestylovani wordpres */
.post-stats {
    font-size: 12px !important;
    font-weight: normal !important;
}
.site-main form {
    background: #ddd;
    padding: 1em !important
}


.fp-short-date{
   /* width: 90px;*/
}

/*bannery*/

.widget.widget_aas_widget {
    max-width: 809px;
    width: 100%;
}

.widget.widget_aas_widget .caroufredsel_wrapper {
    max-width: 809px;
    width: 100% !important;
}
/* books */
.widget-category-posts .type-book {
    margin: 0 0 1.2em 0;
    padding: 0;
    border: none;
    background: none;
}

.widget-category-posts .type-book .wp-post-image {
    margin: 0;
    max-width: 100%;
}

.widget-category-posts .type-book .entry-meta .meta-author {
    margin-left: 0.8em;
}

.widget-category-posts .type-book .entry-meta span:before {
    display: inline-block;
    -webkit-font-smoothing: antialiased;
    font: normal 16px 'Genericons';
    vertical-align: middle;
    color: #555;
}

.widget-category-posts .type-book .entry-meta .meta-date:before{
    content: '\f303';
}

.widget-category-posts .type-book .entry-meta .meta-author:before{
    content: '\f411';
}

.widget-category-posts .type-book .entry-content p {
    margin: 1em 0 0;
}

.widget-category-posts .type-book .more-link {
    margin: 1em 0 0;
}

.widget-category-posts .type-book .more-link:link,
.widget-category-posts .type-book .more-link:visited  {
    color: #fff;
}

/*.type-book {
	margin: 0 0 1.8em 0;
	max-width: 100%;
}

.type-book .wp-post-image {
	margin: 0 0 0.5em;
}

.type-book .post-thumbnail-small .wp-post-image {
	float: left;
	max-width: 40%;
	margin: -0.3em 1.8em 0.5em 0;
	padding: 0.3em 0 0;
}

.type-book .post-thumbnail-small + .entry-header .entry-title {
	font-size: 24px;
	font-size: 1.5rem;
}*/

.widget.wb-books {
    clear: both;
    padding-top: 1em;
}

#primary .entry-content.clearfix {
    text-align: justify;
}
.entry-content.clearfix > ul {
    margin: 1em 0;
    padding: 0;
}

ul.wb-books-list {
    width: 100%;
}

ul.wb-books-list li{
    background: #ddd none repeat scroll 0 0;
    float: left;
    font-size: 1em;
    height: 290px;
    list-style: outside none none;
    margin: 5px 0.5%;
    padding: 1%;
    text-align: center;
    width: 19%;
}


/*.attachment-post-thumbnail.size-post-thumbnail.wp-post-image {*/
    /*display: none;*/
/*}*/


.book-list .entry-meta {
    display: inline-block;
    font-size: 0.7rem;
    vertical-align: middle;
    width: 60px;
}
.book-list .entry-title {
    font-size: 0.9rem;
    display: inline-block;
    margin-right: 1em;    
    border-bottom: 0;
    vertical-align: top;
    max-width: 75%;
}

.book-list .entry-title a {
    text-decoration: underline;
}

.book-list .post-stats {
    display: block;
    margin-left: 75px;
}
.book-list .type-post {
    margin-bottom: 0.8em;
}
.post-pagination.clearfix {
    margin-top: 1.5em;
}
.book-list .small-post-content {
    /*padding: 0.5em;*/
}
article:nth-child(2n) .small-post-content {
   /* background: #ddd;*/
}

.more-link-box {
    float: right;
}

.more-link-box:before, .more-link-box:after {
    content: "";
    clear: both;
}

.lightbox > img {
    float: left;
    margin-right: 1em;
}

@media only screen and (max-width: 75.625em) {

    .tzwb-social-icons .tzwb-social-icons-menu {
        float: right;
    }

}

@media only screen and (max-width: 70em) {
    /*.type-book .post-thumbnail-small + .entry-header .entry-title {
		font-size: 22px;
		font-size: 1.375rem;
	}*/
}

@media only screen and (max-width: 65em) {
   /* .type-book .post-thumbnail-small + .entry-header .entry-title {
		font-size: 20px;
		font-size: 1.25rem;
	}*/

    .header-widget.widget_user_box {
        max-width: 380px;
        margin:0 auto;
        width: 100%;
    }
    .header-widget.widget_search {
        margin: 1em auto;
        max-width: 365px;
        width: 100%;
    }
    .header-widget.tzwb-social-icons {
        margin: 0 auto;
        max-width: 380px;
        width: 100%;
    }

    .user-account {
        height: 43px;
        max-width: 320px;
        width: 84%;
    }
}

@media only screen and (max-width: 60em) {
    .tzwb-social-icons .tzwb-social-icons-menu {
        float: none;
    }
}

@media only screen and (max-width: 45em) {
    .site-content {
        background: #eee none repeat scroll 0 0;
    }
	
	/*.type-book .post-thumbnail-small .wp-post-image {
		float: none;
		max-width: 100%;
		margin: 0 0 0.5em;
		padding: 0;
	}
	
	.type-book .post-thumbnail-small + .entry-header .entry-title	{
		font-size: 26px;
		font-size: 1.625rem;
	}*/

    ul.wb-books-list li{
        height: 270px;
        margin: 5px 0.5%;
        padding: 1%;
        width: 24%;
    }
	
}

@media only screen and (max-width: 40em) {

    /*.type-book .post-thumbnail-small + .entry-header .entry-title {
        font-size: 24px;
        font-size: 1.5rem;
    }*/

    ul.wb-books-list li{
        height: 270px;
        margin: 5px 0.5%;
        padding: 5% 1%;
        width: 32%;
    }
}

@media only screen and (max-width: 30em) {

    /*.type-book .post-thumbnail-small + .entry-header .entry-title	{
		font-size: 22px;
		font-size: 1.375rem;
	}*/

    ul.wb-books-list li{
        height: 270px;
        margin: 5px 0.5%;
        padding: 5% 5%;
        width: 49%;
    }

    .book-list .entry-meta, .book-list .entry-title {
        display: block;
    }
    .book-list .post-stats {
        margin-left: 0;
    }
}

@media only screen and (max-width: 20em) {
   /* .type-book .post-thumbnail-small + .entry-header .entry-title {
		font-size: 20px;
		font-size: 1.25rem;
	}*/

    ul.wb-books-list li{
        height: 270px;
        margin: 5px 0.5%;
        padding: 5% 5%;
        width: 100%;
    }

    .user-account {
        /*font-size: 0.7em;*/
        width: 83%;
    }
}

/* book konec */

/* forum - zacatek */
#bbpress-forums,
#bbpress-forums ul.bbp-lead-topic,
#bbpress-forums ul.bbp-topics,
#bbpress-forums ul.bbp-forums,
#bbpress-forums ul.bbp-replies,
#bbpress-forums ul.bbp-search-results,
div.bbp-breadcrumb,
div.bbp-topic-tags,
#bbpress-forums div.bbp-the-content-wrapper textarea.bbp-the-content,
#bbpress-forums div.bbp-the-content-wrapper input,
#bbpress-forums #bbp-your-profile fieldset span.description,
div.bbp-template-notice p,
#bbpress-forums div.bbp-reply-author .bbp-author-role
{
    font-size: 14px !important;
}

div.bbp-reply-author{
    font-weight: bold;
}
span.bbp-reply-post-title{
    font-weight: bold;
    margin-left: 2em;
}


/* forum - konec */