/*
Theme Name: SilverDoctors
Author: Benjamin Gould 
Description: Custom theme for SilverDoctors.com
*/

/* Import the necessary TK Bootstrap WP CSS additions */
@import url( includes/css/bootstrap-wp.css );

/* My Minimal WordPress Styling comes here */

/* This is a small security for too long strings titles */
body {
    word-wrap: break-word;
    font-family: 'Open Sans', sans-serif;
    padding-top: 3px;
}

a {
    color: rgba(28, 69, 105, 1);
}

h1, h2, h3, h4, h5, h6 {
    text-rendering: optimizelegibility;
}

/* Alignment */
.alignleft {
    display: inline;
    float: left;
    margin-right: 1.5em;
}
.alignright {
    display: inline;
    float: right;
    margin-left: 1.5em;
}
.aligncenter {
    clear: both;
    display: block;
    margin: 0 auto;
}

/* Images and wp-captions should always fit and be responsive */
img {
    display: inline-block;
    height: auto;
    max-width: 100%;
}
img[class*="wp-image-"] {
    margin-top: 10px;
    margin-bottom: 10px;
}
.wp-caption {
    border: 1px solid #ccc;
    margin-bottom: 10px;
    max-width: 100%;
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 0 10px;
}
.wp-caption.aligncenter {
    margin-bottom: 10px;
}
.wp-caption img[class*="wp-image-"] {
    display: block;
}
.wp-caption .wp-caption-text {
    text-align: center;
    margin-top: 10px;
}

/* WP Gallery */
.gallery {
    margin-bottom: 1.5em;
}
.gallery a img {
    border: none;
    height: auto;
    max-width: 90%;
}
.gallery dd {
    margin: 0;
}


/* Make sure embeds and iframes fit their containers */
embed,
iframe,
object {
    max-width: 100%;
}


/* Text meant only for screen readers */
.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
}
.screen-reader-text:hover,
.screen-reader-text:active,
.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-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 */
}


/* Content */
.main-content-inner {
    padding-bottom: 1.5em;
}
.hentry {
    margin: 0 0 1.5em;
}


/* Clearing */
.clear {
    clear: both;
}


/* Here some needed widget styles
 * Most widgets are adapted in the file bootstrap-wp.js - and REALLY easy to modify! ;) */
.widget { margin-bottom: 2em; }
.widget_nav_menu ul.sub-menu li, .widget_pages ul.children li { padding-left: 15px; }

/* Hiding the search widget's button in widgets. thats just too old-skool. :) but if you want it back, just delete the next line.
 * Note: you can change the whole appearance of the search_form() function in our searchform.php */
.widget_search .search-form input[type="submit"] { display: none; }

/* Make sure select elements fit in widgets */
.widget select {
    max-width: 100%;
}

/* Nested comments? They are threaded and nested already, you just need to add your own styling to finalize!
 * For example with some margin, like the line below ;) Delete, modify, change classes in HTML if you desire another style */
 .comment .children { margin-left: 1.5em; list-style: none; }

.comment-details {
    padding: 5px;
}

.ticker-bar {
    background: none repeat scroll 0 0 #4C4C4C;
    color: #D3D3D3;
    position: fixed;
    width: 100%;
    z-index: 2000;
}

.index-article {
    margin-bottom: 30px;
}

.page-header,
.page-title,
.page .page-header,
.index-article .page-header, 
.index-article .page-title {
    margin-top: 0;
}

.page-title {
    font-weight: 700;
    font-size: 30px;
}

article.post .page-header, article.post .page-title {
    margin-top: 0;
}

article.post .page-header {
    padding: 5px 0;
}

article.post footer.entry-meta {
}

article.post header {
    border-top: 1px solid #eeeeee;
    border-bottom: 1px dashed #eeeeee;
    margin-bottom: 5px;
}

article.post footer {
    border-top: 1px dashed #eeeeee;
    border-bottom: 1px solid #eeeeee;
}

article.post .entry-meta,
article.post .entry-meta-comments,
article.post .entry-meta-social,
article.post .entry-meta-views {
    font-size: 11px;
    line-height: 20px;
}

article.post .entry-meta {
    display: inline-block;
}

article.post .entry-meta-views:before, 
article.post .entry-meta-comments:before {
    content: '\2022';
    padding: 0 3px;
}

article.post .entry-meta-comments {
    display: inline-block;
}

article.post .entry-meta-social {
    display: block;
}

article.post .entry-meta-views {
    display: inline-block;
}

.index-article.well {
}

.well article.post header, .well article.post footer {
    border: none;
}

#masthead {
    margin-bottom: inherit/;
}
/*
#breadcrumbs {
    padding-top: 10px;
    border-top: 1px solid #eeeeee;
}
*/

/* page footer */
footer.site-footer {
    font-size:11px;
    font-weight:600;
    text-transform:uppercase;
}

footer.site-footer {
    clear: both;
    margin: 0 auto;
    padding: 14px 0 14px;
    color: #000;
    background: #F0F0F0;
    border-top: 1px solid #e2e2e2;
}

footer.site-footer a,
footer.site-footer a:link,
footer.site-footer a:visited {
    color: #000;
}

footer.site-footer a:hover,
footer.site-footer a:active {
    color: #333;
}

footer.site-footer .footer-copyright {
    font-weight: bold;
}

footer.site-footer .footer-disclaimer {
    font-weight: normal;
    text-align: justify;
}

footer.site-footer .footer-menu ul {
    float: right;
}

footer.site-footer .footer-menu ul li {
    display: inline-block;
}

footer.site-footer .footer-menu ul li a:before {
    content: '\2022';
    padding: 0 6px;
}

footer.site-footer .footer-menu ul li:first-child a:before {
    content: none;
}

footer.site-footer .footer-menu ul li a:hover {
    text-decoration: none;
}
/* end of page footer */

/* .ticker-bar (start) */
.ticker-bar {
    background: #4c4c4c;
    color: #d3d3d3; 
}

.ticker-bar .container {
    padding-bottom: 0;
}

.ticker-bar .ticker-bar-inner div { 
    height: 35px;
}

.ticker-bar .ticker-info {
}

.ticker-bar .share-info {
}

.ticker-bar .login-info {
    float:left;
    border: 0 !important;
}

.ticker-bar .share-info, 
.ticker-bar .login-info {
}

.ticker-bar .login-info ul li {
    display: inline-block;
    padding: 6px 47px;
    border-left: 1px solid #666666;
}

.ticker-bar .login-info .last {
    border-right: 1px solid #666666;
}

.ticker-bar .login-info ul {
    padding: 0;
    margin: 0;
}

.ticker-bar .login-info a {
    color: #e2e2e2;
}

.ticker-bar .login-info a:hover {
    color: #CCC;
}
/* .ticker-bar (end) */

/* .logo-bar (start) */
.logo-bar {
    background: #333;
}

.logo-bar .container {
    padding-bottom: 0;
}

.logo-bar-inner, .ticker-bar-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.logo-bar .logo {
    color: #FFFFFF;
    font-family: "jubilatregularitalic",Georgia,"Times New Roman",Times,serif;
    padding: 20px 0;
}

.logo-bar .logo h1 {
    font-family: "jubilatbold",Georgia,"Times New Roman",Times,serif;
    font-size: 34px;
    font-weight: regular;
    line-height: 1;
    margin-bottom: -10px;
    margin-top: 0;
    text-transform: uppercase;
}

.logo-bar .logo a, .logo-bar .logo a:hover, .logo-bar .logo a:active {
    color: white;
    text-decoration: none;
}

.logo-bar .logo h4 {
    color: #A6A6A6;
    font-size: 18px;
    margin-bottom: 0;
}

.logo-bar .logo img {
    float: left;
    margin-right: 10px;
    margin-left: 15px;
}

.logo-bar .logo-bar-widget-area {
    padding: 5px 15px 5px 0;
}

.logo-bar .logo-bar-widget-area .widget {
    margin: 0;
}

.banner728 {
    clear: both;
    float: right;
    width: 728px;
    max-width: 100%;
}
/* .logo-bar (end) */

.site-navigation {
    border-radius: 0;
}

.site-navigation .container {
    padding-bottom: 0;
}

a.advertisement {
    display: block;
}

a.advertisement img {
    display: block;
    margin: auto;
}

.advertisement iframe {
    display: block;
    margin: auto;
}

#advertisments {
    text-align: center;
}

.before-content-area-widget {
    clear: both;
    margin-bottom: 1em;
    display: block;
}

.before-content-area-widget:after {
    display: block;
    clear: both;
}


.sidebar-padder .widget-title {
    font-family: jubilatbold,Georgia,"Times New Roman",Times,serif;
    font-size: 20px;
    margin: 0 0 10px;
    text-transform: uppercase;    
/*    font-weight: bold; */
    border: 1px solid #ccc;
    padding: 5px;
    background-color: #F0F0F0;
    background-image: linear-gradient(to bottom, #F2F2F2, #EDEDED);
    background-repeat: repeat-x;
    text-align: center;
    text-shadow: 0 1px 0 #FFFFFF;
}

#main-sidebar {
    padding-right: 0;
    padding-left: 0;
}

#homepage-sidebar {
    padding-right: 15px;
    padding-left: 0;
}

.sidebar-padder ul {
    margin: 0;
    padding: 0;
    list-style-type: none;
}

.sidebar-padder ul li {
    border-bottom: 1px solid #A1A1A1;
    padding: 0 0 10px 10px;
    margin: 0 0 5px;
}

.sidebar-padder ul.nav > li > a {
    padding: 0;
}

.sidebar-padder .spot-prices {
    padding-bottom: 1em;
    margin-bottom: 1em;
}

.sidebar-padder .spot-prices .element .btn.active {
    background-color: #E9E9E9;
    border-color: #ACACAC;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.2) inset;
}

.sidebar-padder .spot-prices .element .btn {
    font-size: 13px;
    font-weight: 700;
    text-shadow: 0 1px 0 #FFFFFF;
    width: 50%;
}

/* article styling */
.index-article.alert {
    color: #333;
}

.index-article.alert article:before {
    display: block;
    height: 26px;
    width: 250px;
    background: url(img/featured.png) no-repeat left top transparent;
    content: ' ';
    line-height: 20px;
    padding: 3px 0;
    margin: auto;
}

.more-link-wrapper {
    display: block;
}

.more-link {
    margin: 1em 0;
}

.tags-links {
}

.edit-link {
    display: block;
    margin: .5em 0;
}
/* end of article styling */

/* nfusionsoft spot price widget styling */
.sidebar-padder .spot-prices .spot-prices-toggle.active {
    display: block;
}

.sidebar-padder .spot-prices .spot-prices-toggle {
    display: none;
}

#market-data-full-width, #market-data-4-across, #market-data-bottom {
    margin-top: 30px;
    margin-bottom: 30px;
}
/* end of nfusionsoft styling */

/* SD custom toolbar */
#wpadminbar #wp-admin-bar-silverdoctors-social {
    width: 300px;
    left: 475px;
}

#wpadminbar #wp-admin-bar-silverdoctors-social li {
    height: 35px;
    border: none;
}

#wpadminbar #wp-admin-bar-silverdoctors-social li a {
    height: 35px;
    width: 32px;
    text-align: center;
    color: #A6A6A6;
}

#wpadminbar #wp-admin-bar-silverdoctors-social li a:hover {
    color: #ccc;
    background-color: #636363;
}

#wpadminbar .quicklinks>ul#wp-admin-bar-silverdoctors-social>li>a .fa {
    font-family: FontAwesome; !important
    font-style: normal;
    font-weigth: normal;
    line-height: 1;
    padding: 5px 0px 5px 0px;
}

#wpadminbar .quicklinks>ul>li>a .fa.fa-2x {
    font-size: 2em;
}

#wpadminbar {
    height: 35px;
    background-color: #464646;
}

#wp-toolbar {
    width: 1170px;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}

#wp-toolbar>ul {
    padding: 0 15px;
}

#wpadminbar .quicklinks .ab-empty-item,
#wp-admin-bar-top-secondary>li>a.ab-item {
    height: 35px;
    line-height: 35px;
}

#wp-admin-bar-top-secondary #adminbarsearch,
#wp-admin-bar-search div {
    height: 35px;
    line-height: 35px;
}

#wpadminbar #adminbarsearch:before {
    left: 12px;
    top: 8px;
}

#wpadminbar #wp-admin-bar-search form {
    padding-left: 10px;
}

#wpadminbar ul li {
    border-left: 1px solid #666666;
    margin: 0;
    padding: 0;
}

#wpadminbar .quicklinks ul#wp-admin-bar-top-secondary li>a {
    color: #A6A6A6;
    padding: 0 20px 0 20px;
    font-size: 14px;
}

#wpadminbar .quicklinks ul#wp-admin-bar-top-secondary li>a:hover, 
#wpadminbar .quicklinks ul#wp-admin-bar-top-secondary li>a:hover .ab-label {
    background-color: #636363;
    color: #ccc;
}

#wpadminbar .quicklinks ul#wp-admin-bar-top-secondary li:hover #adminbarsearch:before,
#wpadminbar .quicklinks ul#wp-admin-bar-top-secondary li:hover .ab-icon:before {
    color: #ccc;
}

#wpadminbar #wp-admin-bar-comments .ab-icon:before {
    top: 5px;
}

#wpadminbar .quicklinks ul#wp-admin-bar-top-secondary li#wp-admin-bar-silverdoctors-login a,
#wpadminbar .quicklinks ul#wp-admin-bar-top-secondary li#wp-admin-bar-silverdoctors-register a {
    font-weight: bold;
    text-transform: uppercase;
}

#wpadminbar .quicklinks ul#wp-admin-bar-top-secondary #wp-admin-bar-user-info span {
    height: 26px;
}
/* end of SD custom toolbar */

.content-featured-image {
    float: right;
    margin: 0 1em 1em;
}

.featured-image-area {
    float: right;
    width: 300px;
    padding: 0;
    margin: 0 1em 1em;
}

.more_link_span {
    font-weight: bold;
    display: block;
    clear: both;
}

/* styles for Wordpress Popular Posts plugin */
.sidebar-padder ul.wpp-list li {
    padding-left: 0;
    padding-bottom: 5px;
}

/*
.wpp-title, .wpp-links {
    width: 300px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    float: left;
}
*/

#homepage-sidebar .wpp-title {
    width: 113px;
}

.wpp-thumb {
    display: block;
    float: left;
}

.wpp-thumb a {
    float: left;
}

.wpp-social,
.wpp-list li a {
    font-size: 11px;
    line-height: 18px;
}

#homepage-sidebar .wpp-views,
#homepage-sidebar .wpp-social,
#homepage-sidebar .wpp-list li a {
    font-size: 10px;
}

#homepage-sidebar .wpp-title {
    float: none;
    clear: none;
    display: inline;
    padding: 0;
    margin: 0;
}

#homepage-sidebar .wpp-list li .wpp-title a {
    line-height: 14px;
    font-size: 11px;
}

#homepage-sidebar .wpp-viewinfo {
    clear: left;
    padding: 0;
    width: 100%;
    display: block;
}

#homepage-sidebar .wpp-views {
    text-align: right;
    float: right;
    display: block;
    clear: left;
    line-height: 14px;
    padding: 8px 5px 0 0;
    width: 78px;
}

#homepage-sidebar .wpp-facebook {
    display: block;
    clear: left;
    width: 78px;
    padding: 5px 0 0 0;
}
    
.wpp-social,
.wpp-views {
    display: block;
    clear: left;
    font-size: 9px;
    line-height: 18px;
    text-align: center;
}

.wpp-title {
    float: left;
    display: block;
    height: 40px;
    overflow: hidden;
}

.wpp-links {
    display: block;
    float: right;
}

.wpp-thumb .wpp-views {
    width: 60px;
}

article.post .dvk-social-sharing {
    margin: 0;
}

article.post .dvk-social-sharing > span:first-child {
    font-weight: normal;
}

.wpp-social .dvk-social-sharing > a {
    margin-left: 0;
}

.wpp-social .dvk-social-sharing > a > span[class^="ss-icon-"] {
    margin-right: 0;
}

.fb-like span {
    overflow: visible !important; 
    width: 450px !important; 
    /*margin-right:-375px;*/
}

#nfsilverbutton {
    z-index: 0;
}

/* end of Wordpress popular posts */

#buddypress input#signup_submit {
    border: 1px solid transparent;
    border-radius: 4px;
    cursor: pointer;
    display: inline-block;
    font-size: 14px;
    font-weight: normal;
    line-height: 1.42857;
    margin-bottom: 0;
    padding: 6px 12px;
    background-color: #5cb85c;
    background-repeat: inherit;
    background-image: none;
    border-color: #4cae4c;
    vertical-align: middle;
    color: #fff;
    white-space: nowrap;
}

/* media selectors: x-small */
@media (max-width : 767px) {
    
    #wpadminbar ul#wp-admin-bar-spot-prices {
        margin-left: -15px;
        padding-top: 7px;
    }
    #wpadminbar {
        background-color: transparent;
        width: 1px;
    }
    .logo-bar-widget-area {
        display: none;
    }
    #wp-admin-bar-top-secondary {
        display: none;
    }
    nav.site-navigation {
        position: fixed;
        top: 0;
        display: block;
        width: 100%;
        z-index: 200;
    }
    #content {
        padding-top: 25px;
    }
}

/* media selectors: small */
@media (min-width: 768px) {
    #main-menu {
        display: table;
        table-layout: fixed;
        margin: 0 auto;
        float: none;
    } 
    #wp-toolbar {
        width: 750px;
    }
}

/* media selectors: medium */
@media (min-width: 992px) {
    #wp-toolbar {
        width: 970px;
    }
    .wpp-title {
        width: 235px;
    }
    .wpp-links {
        width: 80px;
    }
    #homepage-sidebar .wpp-views {
        width: 60px;
    }
    .sticky-advert {
        position: fixed;
        top: 0;
	padding-top: 50px;
        width: 350px;
        -moz-box-sizing: border-box;
        -webkit-box-sizing: border-box;
        box-sizing: border-box;
    }        
}

/* media selectors: large */
@media (min-width: 1200px) {
    #wp-toolbar {
        width: 1170px;
    }
    #main-sidebar {
        width: 30%;
    }
    #homepage-sidebar {
        width: 15%;
    }
    #homepage-content-column {
        width: 55%;
    }
    #content-column {
        width: 70%;
    }
    .wpp-title {
        width: 265px;
    }
    .wpp-links {
        width: 80px;
    }
    .powerpress_player {
        width: 250px;
    }
    .powerpress_links {
        width: 250px;
        font-size: 12px;
    }
    #homepage-sidebar .wpp-views {
        width: 78px;
    }
}

