
.page h1 {
    background-color: #CE181E;
    font: normal 1.1em/1em "AntiqOlivAb", sans-serif;
    text-transform: uppercase;
    margin-top: 0;
    height:0.77em;
}

.page h1 > span {
    color: #CE181E;
    background-color: #fff;
    padding-right: 5px;
}

h1.indent > span {
    padding-left: 45px;
}

a:hover, a:active, a:focus {
    outline: 0;
}

/* widgets */

div.widget {
    margin-bottom: 30px;
}

div.widget .widgettitle {
    background-color: #CE181E;
    border: 0 none;
    color: #FFFFFF;
    font-size: 0.8em;
    margin: 0;
    padding: 4px 10px 1px;
    text-shadow: 0 -1px 1px rgba(0, 0, 0, 0.3);
    text-transform: uppercase;
    font-weight: bold;
}

/* most popular posts/blogs widget */

div.widget.blogs-stats div.entry {
    border: 1px solid #ccc;
    border-top-width: 0;
    color: #000;
}

div.widget.blogs-stats div.entry div.no {
    float: left;
    font-size: 0.8em;
    font-weight: bold;
    line-height: 1.5em;
    text-align: right;
    width: 20px;
    height: 94px;
    margin-top: 3px;
    padding: 3px 10px 0 7px;
}

div.widget.blogs-stats div.entry div.details {
    padding: 5px 10px 5px 0;
}

div.widget.blogs-stats div.entry div.user-photo-small {
    width: 70px;
    height: 100px;
    background: transparent none no-repeat center center;
    float: right;
    border: none;
    background-size: cover;
    border-radius: 0;
}

div.widget.blogs-stats div.entry a.title {
    color: #000;
    text-decoration: none;
    font-weight: bold;
}

div.widget.blogs-stats div.entry a.title:hover {
    text-decoration: underline;
}

div.widget.blogs-stats div.entry p.excerpt {
    font-size: 0.8em;
    margin: 0;
    line-height: 1.1em;
    word-wrap: break-word;
}

div.widget.blogs-stats div.entry div.pv {
    font-size: 0.7em;
    color: #151515;
    margin-top: 5px;
}

div.widget.blogs-stats div.entry.more > a {
    color: #000000;
    display: block;
    font-size: 0.8em;
    font-weight: bold;
    padding: 5px 0;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
}

div.widget.blogs-stats div.entry.more > a:hover {
    color: #333;
}

div.widget.blogs-stats div.entry.no-results {
    font-size: 0.9em;
    padding: 10px 5px;
    text-align: center;
}

div.widget.blogs-stats div.entry.padded {
    padding: 2px 10px 5px;
}

#mostPopularPostsWidget div.entry div.details {
    width: 100%;
    line-height: 1em;
}

#mostPopularPostsWidget div.entry div.details a.title {
    font-size: 0.9em;
}

#mostPopularPostsWidget div.entry div.details div.pv {
    float: left;
}

#mostPopularPostsWidget div.entry div.details a.blog-title {
    color: #666;
    display: block;
    float: right;
    font-size: 0.7em;
    text-transform: uppercase;
    margin-top: 5px;
    text-decoration: none;
    font-weight: normal;
}

#mostPopularPostsWidget div.entry div.details a.blog-title:hover {
    color: #333;
    text-decoration: underline;
}

#mostPopularPostsWidget div.entry div.details img.thumb {
    border: 1px solid #CCCCCC;
    display: block;
    float: left;
    margin: 5px 7px 5px 0;
    width: 60px;
}

#mostPopularBlogsWidget div.entry div.details {
    margin-left: 10px;
}

#mostPopularNav {
    display: none;
    border: 1px solid #CCCCCC;
    border-bottom: 0;
    font-size: 0.8em;
    font-weight: bold;
}

#mostPopularNav > div {
    float: left;
    width: 50%;
    cursor: pointer;
    background-color: #eee;
}

#mostPopularNav > div > div {
    text-align: center;
    padding: 15px 10px;
    border-color: #ccc;
    border-style: solid;
    border-width: 0 0 1px 1px;
    box-shadow: 2px -2px 3px #ccc inset;
}

#mostPopularNav > div:first-child > div {
    border-left: 0;
    box-shadow: -2px -2px 3px #ccc inset;
}

#mostPopularNav > div.active {
     background-color: transparent;
}

#mostPopularNav > div.active > div {
    border-bottom: none;
    box-shadow: none;
}

/* search bar */

#search-bar div.box {
    margin: 15px auto;
    width: 600px;
    position:relative;
}

#search-bar.searched
{
    position: relative;
}

#search-bar.searched:after
{
    content: "";
    position: absolute;
    bottom: -15px;
    left: 48%;
    border-style: solid;
    border-width: 16px 16px 0;
    border-color: #F8F5F2 transparent;
    display: block;
    z-index: 1;
}

#search-bar.searched:before
{
    content: "";
    position: absolute;
    bottom:-16px;
    left: 48%;
    border-style: solid;
    border-width: 16px 16px 0;
    border-color: #DED9D0 transparent;
    display: block;
    z-index: 0;
}

#search-bar div.box #topSuggest {
    position:absolute;
    padding:13px 0;
    width: 504px;
    border: 1px solid #DED8D0;
    border-radius: 3px 3px 3px 3px;
    background:#fff;
    z-index: 10;
    top:70px;
    display:none;
}

#search-bar div.box #topSuggest.show {
    display:block;
}

#search-bar div.box #topSuggest:before
{
    content: "";
    position: absolute;
    top: -8px;
    left: 47%;
    border-style: solid;
    border-width: 0 7px 7px;
    border-color: #DED8D0 transparent;
    display: block;
    width: 0;
    z-index: 0;
}

#search-bar div.box #topSuggest:after
{
    content: "";
    position: absolute;
    top: -7px;
    left: 47%;
    border-style: solid;
    border-width: 0 7px 7px;
    border-color: #FFFFFF transparent;
    display: block;
    width: 0;
    z-index: 1;
}

#search-bar div.box #topSuggest .user-photo-small,
.topSearchResult article .user-photo-small{
    background-position: center center;
    height:44px;
    width:58px;
    border:none;
    margin-right:15px;
    float: left;
    background-size: contain;
}

#search-bar div.box #topSuggest article {
    padding:8px 13px 5px 13px;
    border-bottom:1px solid #DED8D0;
    background-color: #fff;
}

#search-bar div.box #topSuggest article:nth-child(2n+1) {
    background-color:#FAFAFA;
}

#search-bar div.box #topSuggest article:last-of-type {
    border:none;
    pading-bottom:0;
}

#search-bar div.box #topSuggest .details h3,
.topSearchResult .details h3 {
    margin:0;
    padding:3px 0;
    font-size:16px;
}

#search-bar div.box #topSuggest .searchResultCount {
    display:none;
}

#search-bar div.box #topSuggest .searchResultCount.visibleInSugest {
    display:block;
    padding:0 10px;
}

#search-bar div.box #topSuggest .details {
    float:left;
    text-align: left;
}

#search-bar div.box #topSuggest .author {
    display:inline;
    font-size:14px;
}

#search-bar div.box div.label {
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.8em;
    margin-bottom: 5px;
}

.topSearchResult article {
    width: 600px;
    margin: 10px auto 0;
}

.topSearchResult .searchResultCount {
    width: 600px;
    margin: 0 auto;
    text-transform: uppercase;
    font-size:12px;
}

.topSearchResult {
    border-bottom:1px solid #DED8D0;
    padding: 5px 10px 25px;
}

#search-bar .inputWrapper {
    display: inline-block;
    position: relative;
    width: 100%;
}

#search-bar .inputWrapper .inputInnerWrapper {
    display:inline-block;
    position:relative;
}

#search-bar .inputWrapper .empty {
    position:absolute;
    right:5px;
    top:3px;
    width:40px;
    height:36px;
    background: url(../images/erase.png);
    cursor: pointer;
}

input.search {
    border: 1px solid #aaa;
    display: inline-block;
    border-radius: 3px;
    padding: 12px;
    width: 480px;
    background: #fff url(../images/search-icon.png) no-repeat center right;
    font-size: 16px;
    font-weight: bold;
    color: #404040;
}

input.search.wEmpty {
    padding-right:45px;
}

#blogListSearch.busy {
    background: #fff url(../images/loader.gif) no-repeat center right;
}

#search-bar div.box button {
    padding: 12px 10px;
    margin-left: 6px;
    font-size: 17px;
    position: absolute;
}

/* blogs list */
#blogsListContent {
    min-height: 1000px;
}

.blogs-list {
    margin: 20px auto;
    max-width: 660px;
}

.blogs-list article {
    border: 1px solid #ccc;
    border-top-width: 0;
    font-size: 0.8em;
    line-height: 1.25em;
    position: relative;
    line-height: 19px;
}

.blogs-list article:last-of-type {
    -moz-box-shadow: 0 1px 1px #f8f8f8;
    -webkit-box-shadow: 0 1px 1px #f8f8f8;
    box-shadow: 0 1px 1px #f8f8f8;
}

.blogs-list article:first-child {
    border-top-width: 1px;
}

.blogs-list article div.details {
    padding: 10px;
}

.blogs-list article h3 {
    margin: 0 0 3px;
}

.blogs-list article h3 a:hover {
    color: #333;
    text-decoration: underline;
}

.blogs-list article a.link {
    color: #377bb4;
    font-weight: normal;
}

.blogs-list article a.link:hover {
    text-decoration: underline;
}

.blogs-list article .blogFootNote {
    font-size: 0.8em;
    color: #666;
}

.blogs-list div.search {
    margin-bottom: 7px;
    text-align: right;
    margin-top: 15px;
}

.blogs-list input.search {
    background-size: auto 90%;
    font-size: 12px;
    padding: 6px;
    width: 60%;
}

.blogs-list .user-photo-small {
    float: left;
    height: 100px;
    margin-right: 10px;
    width: 70px;
    border: none;
    border-radius: 0;
}

.blogs-list .archived {
    width: 57px;
    height: 57px;
    float: right;
    background: transparent url(../images/archived.png) no-repeat;
    position: absolute;
    top: -1px;
    right: -1px;
}

.blogs-list .blogsListDesc {
    color:#858585;
    font-size:13px;
    text-align: center;
}


#authorsBlogsBottom {
    display: none;
    background-color: #fff;
}

#authorsBlogsSide {
    background-color: #fff;
    position: absolute;
    right: 0;
    width: 30%;
    margin: 20px;
}

/* posts stream */

.post-stream > ul {
    margin: 0;
    padding: 0;
}

.post-stream > ul > li.post-entry {
    list-style: none;
    margin-bottom: 30px;
}

.post-stream ul a {
    text-decoration: none;
}

.post-stream ul a:hover {
    text-decoration: underline;
}

.post-stream > ul > li.post-entry > div.post-info {
    float: left;
    width: 110px;
    padding-right: 10px;
    text-align: right;
}

.post-stream > ul > li.post-entry > div.post-details {
    float: left;
    width: 508px;
    border-radius: 5px;
    border: 1px solid #e2e2e2;
    box-shadow: 0 0 1px rgba(0, 0, 0, 0.15);
    position: relative;
    border-left-width: 0;
}

.post-stream li.post-entry > div.post-details > div.content {
    padding: 15px 15px 15px 25px;
    position: relative;
}


.post-stream > ul > li.post-entry > div.post-details:after {
    background-image: url("../images/speech-bubble-mask-bottom.png");
    position: absolute;
    bottom: -4px;
    left: -2px;
    display: block;
    height: 7px;
    width: 16px;
    content: '';
}

.post-stream > ul > li.post-entry > div.post-details > div.content:before {
    background-image: url("../images/speech-bubble-mask-left-background.png");
    position: absolute;
    top: 15px;
    left: -2px;
    display: block;
    height: 78%;
    width: 16px;
    content: '';
}

.post-stream > ul > li.post-entry > div.post-details .thumbnail-wrapper {
    overflow: hidden;
}

.post-stream > ul > li.post-entry > div.post-details .thumbnail-wrapper:after {
    background-image: url("../images/speech-bubble-mask-left.png");
    position: absolute;
    top: -2px;
    left: -2px;
    display: block;
    height: 20%;
    width: 16px;
    content: '';
}

.post-stream > ul > li.post-entry > div.post-details .thumbnail-wrapper:before {
    background-image: url("../images/speech-bubble-mask-left-background.png");
    position: absolute;
    bottom: 0;
    left: -2px;
    display: block;
    height: 82%;
    width: 16px;
    content: '';
    z-index: 1;
}

.post-stream > ul > li.post-entry > div.post-details .thumbnail-wrapper.portrait .thumbnail-wrapper-inner {
    position: relative;
    overflow: hidden;
    border-radius: 0 3px 0 0;
}


.post-stream > ul > li.post-entry > div.post-details .thumbnail-wrapper.portrait img {
    bottom: -100%;
    left: -100%;
    margin: auto;
    position: absolute;
    right: -100%;
    top: -100%;
}

.post-stream h3 {
    margin: 0 0 10px;
    font-size: 1.6em;
}

.post-stream h3 a:hover {
    text-decoration: underline;
}

.post-stream li.post-entry > div.post-details .thumbnail {
    background-size: cover;
    background-position: center;
    border-bottom: 1px solid #e2e2e2;
    width: 100%;
    border-radius: 3px 3px 0 0;
    position: relative;
    min-height: 85px;
}

.post-stream li.post-entry > div.post-details .no-thumb .thumbnail {
    height: 30px;
    min-height: 0 !important;
    border-bottom: 0;
}

.post-stream li.post-entry > div.post-details .no-thumb.thumbnail-wrapper:after {
    height: 100% !important;
}

.post-stream li.post-entry > div.post-details .no-thumb.thumbnail-wrapper:before {
    height: 0 !important;
}

.post-stream li.post-entry > div.post-details .no-thumb + .content {
    padding-top: 0;
    margin-top: -15px;
}

.post-stream li.post-entry > div.post-details div.excerpt {
    font-size: 0.85em;
    word-wrap: break-word;
}
div.post-details div.excerpt a {
    font-weight: normal;
}

.post-stream li.post-entry > div.post-details div.blog {
    font-size: 0.7em;
    margin: 0 0 5px 20px;
    float: right;
    text-transform: uppercase;
}

.post-stream li.post-entry > div.post-details div.blog > a {
    color: #999;
    font-weight: bold;
}

.post-stream li.post-entry > div.post-details div.blog > a:hover {
    color: #666;
}

.post-stream .user-photo-small {
    display: inline-block;
    border-radius: 3px;
    margin-bottom: 0 !important;
    box-shadow: 0 2px 3px rgba(0, 0, 0, 0.1) inset;
}

.post-stream .post-info h5.author {
    font-size: 0.65em;
    margin: 5px 0;
    text-transform: uppercase;
    word-wrap: break-word;
}

.post-stream .post-info > div {
    margin-bottom: 3px;
}

.post-stream .post-info .date {
    font-size: 0.6em;
}

.post-stream .post-info .tags {
    font-size: 0.6em;
    margin-top: 5px;
    word-wrap: break-word;
    text-transform: uppercase;
    color: #3c83d4;
}

.post-stream .post-info .comments {
    font-size: 0.6em;
    font-weight: bold;
    margin-top: 5px;
}

.post-stream .post-info .date > span.icon,
.post-stream .post-info .tags > span.icon,
.post-stream .post-info .comments > span.icon {
    display: inline-block;
    margin-right: 5px;
    vertical-align: text-bottom;
}

.post-stream .more {
    margin: 0 auto;
    text-align: center;
    padding-left: 130px;
}

.post-stream .more a {
    padding: 10px 20px;
}

/* pager */

div.pager-container {
    text-align: center;
}

div.pager {
    font-size: 0.7em;
    margin: 20px 0;
    display: inline-block;
    line-height: 32px;
    padding:0;
}

div.pager > .page-numbers {
    color: #666;
    display: inline-block;
    width: 32px;
    border-top:1px solid #C9C0B4;
    border-bottom:1px solid #C9C0B4;
}

div.pager > span.current {
    background: #CE181E;
    color: #fff;
    font-weight: bold;
    background: #d10724;
    background: -moz-linear-gradient(top,  #d10724 0%, #bb0920 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#d10724), color-stop(100%,#bb0920));
    background: -webkit-linear-gradient(top,  #d10724 0%,#bb0920 100%);
    background: -o-linear-gradient(top,  #d10724 0%,#bb0920 100%);
    background: -ms-linear-gradient(top,  #d10724 0%,#bb0920 100%);
    background: linear-gradient(to bottom,  #d10724 0%,#bb0920 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#d10724', endColorstr='#bb0920',GradientType=0 );
    -moz-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
    -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
    border: 1px solid #BF2734;
    border-top-color: #DF0018;
}

div.pager > .page-numbers.next {
    text-align: center;
    border-radius: 0;
    width:136px;
    padding:0;
    line-height:32px;
}

div.pager > .page-numbers.prev {
    text-align: center;
    border-radius: 0;
    width:136px;
    padding:0;
    line-height:32px;
}



/* author page */

#author_box {border: 1px solid #ded8cf; border-width: 1px 0; margin-bottom: 44px;float:left; clear:both;width:100%; position: relative}
.author-display-name {font-size:22px; color: #000; background: none}
#author_box .user-photo {float:left; margin-right:20px;}

#author_box h1 {
    font-family: sans-serif;
    font-size: 30px;
    font-weight: bold;
    margin-top: 0;
    padding-top: 30px;
    text-transform: none;
}

#authorDetails {
    width: 65%;
}

/* other */

.loader {
    background: transparent url(../images/loader.gif) no-repeat center center;
    padding: 6px;
}

.user-photo {background-position: 50% 50%; background-repeat: no-repeat; background-size: cover}
.user-photo-small {width:64px;height:64px;border:1px solid #b8b8b8; border-radius: 2px; }
.user-photo-big {width:143px;height:215px;}

.clear {
    clear: both;
}

.footer .blogsList {
    width: 1140px;
    margin: 0 auto;
}

/* autocomplete */

.ac_results {
    padding: 0;
    border: 1px solid black;
    background-color: white;
    overflow: hidden;
    z-index: 99999;
}

.ac_results ul {
    width: 100%;
    list-style-position: outside;
    list-style: none;
    padding: 0;
    margin: 0;
}

.ac_results li {
    margin: 0;
    padding: 2px 5px;
    cursor: default;
    display: block;
    font: menu;
    font-size: 12px;
    line-height: 30px;
    overflow: hidden;
    border-bottom: 1px solid #ddd;
}

.ac_odd {
    background-color: #eee;
}

.ac_over {
    background-color: #CE181E;
    color: white;
}



/* autocomplete */
/* Layout helpers
----------------------------------*/
.ui-helper-hidden {
    display: none;
}
.ui-helper-hidden-accessible {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}
.ui-helper-reset {
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    line-height: 1.3;
    text-decoration: none;
    font-size: 100%;
    list-style: none;
}
.ui-helper-clearfix:before,
.ui-helper-clearfix:after {
    content: "";
    display: table;
    border-collapse: collapse;
}
.ui-helper-clearfix:after {
    clear: both;
}
.ui-helper-clearfix {
    min-height: 0; /* support: IE7 */
}
.ui-helper-zfix {
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    position: absolute;
    opacity: 0;
    filter:Alpha(Opacity=0);
}

.ui-front {
    z-index: 100;
}

/* Misc visuals
----------------------------------*/

/* Overlays */
.ui-autocomplete {
    position: absolute;
    font-size:14px;
    background:#fff;
    border:1px solid #ccc;
}
.ui-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: block;
    outline: none;
}
.ui-menu .ui-menu-item {
    margin: 0;
    padding: 0;
    width: 100%;
}
.ui-menu .ui-menu-item a {
    text-decoration: none;
    display: block;
    padding: 4px;
    line-height: 1.5;
    min-height: 0; /* support: IE7 */
    font-weight: normal;
}

/* Interaction states
----------------------------------*/
.ui-state-default,
.ui-widget-content .ui-state-default,
.ui-widget-header .ui-state-default {
    border: 1px solid #cccccc;
    background: #f6f6f6;
    font-weight: bold;
    color: #1c94c4;
}
.ui-state-default a,
.ui-state-default a:link,
.ui-state-default a:visited {
    color: #1c94c4;
    text-decoration: none;
}
.ui-state-hover,
.ui-widget-content .ui-state-hover,
.ui-widget-header .ui-state-hover,
.ui-state-focus,
.ui-widget-content .ui-state-focus,
.ui-widget-header .ui-state-focus {
    background: #CE181E;
}
.ui-state-hover a,
.ui-state-hover a:hover,
.ui-state-hover a:link,
.ui-state-hover a:visited {
    color: #c77405;
    text-decoration: none;
}
/* autocomplete end */

.error404 {}
#content-404 {text-align:center;margin-bottom: 54px;}
#content-404 h2 {font-size: 46px;margin-bottom: 17px;}
#content-404 p {width:64%; margin: 0 auto;font-size: 18px; font-weight: bold;}
.error404 #footer {border-top:none}
