/*! HTML5 Boilerplate v5.0.0 | MIT License | http://h5bp.com/ */

/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html {
    color: #222;
    font-size: 1em;
    line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

li {
    white-space:normal !important;
}
hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: .3em 0 .3em;
    padding: 0;
}

h4 {
    font-weight:bold;
}
/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */

.browserupgrade {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

body {
    font-family: 'Roboto', serif;
    font-size: 16px;
}

/* HEADER */

.logged-in {
    float: right;
    margin-top: 10px;
    margin-bottom: 0px;
    z-index:10;
}

.signed-in {
    font-size: 12px;
    z-index: 10;
}

.signed-in a {
    color: #000;
    font-weight: 700;
    padding-left: 5px;
    text-decoration: underline;
}

#page-container .h1,.h2,.h3 {
        margin:5px;
}

#page-container .h1 {
        font-size:16px;
    margin:0px;
}
#page-container .h2 {
        font-size:14px;
    margin:0px;
}
#page-container .h3 {
        font-size:13px;
    margin:0px;
}


nav {
    font-weight: 400;
}

.navbar-default .navbar-nav > li > a {
    font-weight: 300;
}

.navbar-default .navbar-collapse {
    padding-bottom: 5px;
}

.navbar-default .navbar-nav > li > a:hover, .navbar-default .navbar-nav > li > a:active {
    color: #957ba3;
}

.navbar-default {
    margin-top: 0;
    background-color: #fff;
    border-color: #fff;
}

.navbar > .container .navbar-brand {
    margin-top: -30px;
    margin-left:-15px;
/*    display: block;*/
    width: 190px;
    position: relative;
    z-index: 1;
}

.navbar-nav > li > a {
    padding-top: 15px;
    padding-bottom: 15px;
/*
    padding-left:11px;
    padding-right:11px;
*/
}


.input-group-btn:first-child > .btn, .input-group-btn:first-child > .btn-group {
    padding-bottom: 10px;
}

.purple-button {
    border: 3px solid #51538F;
    color: #51538F !important;
    border-radius: 1px;
    font-weight: 700!important;
    text-transform: uppercase;
    padding-top: 4px !important;
    padding-bottom: 4px !important;
    margin-top: 5px !important;
    font-size: 11px;
    margin-left: 3px;
    margin-right:3px;
    text-align:center;
}

.red-button {
    border: 3px solid #ff0000;
    color: #ff0000 !important;
    border-radius: 1px;
    font-weight: 700!important;
    text-transform: uppercase;
    padding-top: 4px !important;
    padding-bottom: 4px !important;
    margin-top: 5px !important;
    font-size: 9px;
    margin-left: 3px;
    margin-right:3px;
    text-align:center;
}

.red-button:hover {
    color: white !important;
    background-color: #ff0000 !important;
    text-decoration: none;
}


.nav .dropdown-toggle {
    position: static;
}

.purple-button:hover {
    color: white !important;
    background-color: #51538F !important;
    text-decoration: none;
}

.navbar-form {
    padding: 0;
}

.form-control {
    background-color: #efefef;
    color: #000;
    border-radius: 0;
    border: 1px solid #ccc;
/*    box-shadow: none;   */
}

.market {
    width: 330px;
}

.market li {
   margin-left: 20px; 
}

.market span {
    padding: 10px;
}

.market-cap {
    width: 30px;
    height: 30px;
    background-color: #eeeeee;
    border: 1px solid #999;
    text-align: center;
}

.plain {
    background-color: white;
    border: none;
    color: #b8b8b8;
}

.btn {
    font-size: 12px; 
     border-radius: 1px;
}

.btn-link {
    padding-left:2px;
    padding-right;2px;
    margin-bottom:0px;
    padding-bottom:0px;
}


.btn-primary {
    background-color: #3e8acd;
    padding: 7px;
}

.btn .caret {
    margin-top: -2px;
}

.btn-default {
    background-color: #eee;
    color: #999;
    border-color: #ccc;
    border: 1px solid #ccc;
    padding: 7px;
}
.btn-xs {
    padding:0px 3px 0px;
    font-size:9px;
}

.btn-med {
    padding:1px 5px 1px;
    font-size:12px;
}

.dropdown-toggle {
    background-color: white;
}

#dropdownMenu1 span {
    font-weight: 700;
}

.dropdown {
    float: left;
}

.reset-filters {
    color: #957ba3;
    line-height: 2.7em;
    font-size: 12px;
    margin-left: 20px;
    text-decoration: underline;
}

a {
    color: #51538F;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.hide-show-options {
    display: none;
}

.show-advanced, .hide-advanced {
    line-height: 2.8;
    font-size: 12px;
    margin-left: 20px;
    text-decoration: underline;
}

.filters {
    margin-bottom: 10px;
}

/* MAIN PAGE */

/*
.main header p {
    color: white;
    background-color: #957ba3;
    text-transform: uppercase;
    font-size: 11px;
    font-weight: 500;
    padding: 2px 0 2px;
    margin: 0 !important;
}
*/

.header {
     color: white;
    background-color: #51538F;
    /*#2A044A;*/
    /* #957ba3;*/
    text-transform: uppercase;
    font-size: 11px;
    font-weight: 500;
    padding: 2px 5px 3px;
    margin: 2px 0 !important;
}

.push {
    margin-left: 3px;
}

.extra header p {
    padding-left: 10px;
}

hr {
    color: #eee;
}

.entry {
    height: auto;
    display: block;
    width: 100%;
    
}

.top {
    margin-top: 8px;
}

.inline {
    display: inline-block;
}

.entry-header {
    font-size: 1em;
    font-weight: 300;
    color: #666666;
    margin-bottom: 0;
    
}

.entry-header a {
    font-size: 1.1em;
    font-weight: 700;
    color: black;
    text-decoration: underline;
    padding-right: 10px;
}

.entry-header a:hover {
    color: #51538F;
    text-decoration: none;
}

.entry-header a:visited { 
    color: #888888; 
}


header.col-lg-12, header.right-column {
    padding-top: 2px;
}

.bookmark span {
    padding-left: 6px;
}

.submitted-by {
    font-size: 12px;
/*    text-transform: uppercase;*/
    font-weight: 300;
/*    margin-top: -10px;*/
}

.submitted-by span {
    font-weight: 700;
}

.excerpt {
    font-size: 14px;
    font-weight: 400;
}

.glyphicon-bookmark {
    color: #ddd;
    font-size: 1em;
}

.bookmark {
    font-weight: 700;
/*    line-height: 1.5;*/
    float: right;
    margin-bottom:-2px;
}

.purple-color {
    color: #51538F !important;
}

.not-enough {
    font-weight: 300;
    font-style: italic;
    font-size: 11px;
}


.line {
    border-bottom: 1px solid #ccc !important;
}

/* RIGHT COLUMN MAIN PAGE */

.right-column {
    background-color: #957ba3;
}

.right-box {
    background-color: #f6f6f6;
}

.date-header {
    background-color: #ccc;
    text-transform: uppercase;
    font-size: 11px;
    font-weight: 700;
    padding:2px 5px 2px;
    margin: 0 !important;
}

.date-header p {
    margin: 0 5px 0 0;
    font-weight: 700;
    font-size: 11px;
    padding: 2px 0;
}

.company, .user {
    font-size: 12px;
}

.subject {
    font-size: 0.95em;
    font-weight:400;
}
.subject p {
    padding-left:5px;
}

.row.grey {
    padding: 0 0 5px;
}

.company {
    font-weight: 300;
    text-transform: uppercase;
}

.company p {
    padding-left:5px;
}
.user {
    font-weight: 300;
/*    text-transform: uppercase;*/
}
.user p {
    padding-left:5px;
}

.grey {
    background-color: #f6f6f6;
}

/* LOAD MORE */

.load-more {
    background-color: #f6f6f6;
    border: 1px solid #ccc;
    padding: 8px;
    width: 100%;
    display: block;
    margin: 0 auto;
    text-align: center;
    margin: 20px auto 20px;
    text-transform: uppercase;
    border-radius: 1px;
    
}

.load-more:hover {
/*    background-color: #957ba3;*/
    background-color:#ccc;
    color: white;
    text-decoration: none;
}




/* FOOTER */

footer {
    margin-top: 40px;
}

.copyright {
    font-weight: 300;
    font-size: 12px;
}

.copyright a {
    text-decoration: underline;
}

.copy {
    font-weight: 700;
    font-size: 16px;
    margin: 0 0 5px;
}

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

.footer-links p {
    float: right;
}

.footer-links a {
    padding-left: 14px;
    color: black;
    text-decoration: underline;
    font-size: 13px;
}

/* TOPICS PAGE */

.purple-button.topic {
    padding: 15px 10px;
    background-color: white;
/*    margin-bottom: 10px;*/
    margin-left:15px;
margin-right:15px;

}

.thumbs-up-down {
    float: right;
}

.submitted-by-topics {
    font-size: 12px;
/*    text-transform: uppercase;*/
    font-weight: 300;
}

.submitted-by-topics span {
    font-weight: 700;
}

.glyphicon-thumbs-down, .glyphicon-thumbs-up {
    color: #adadad;
    font-size: 12px;
}

.entry-header.topics a {
    color: #7d7d7d;
}

.subject.topics {
    font-weight: 300;
}

.subject.topics a {
    font-weight: 400;
    font-size: 16px;
    
}

/* MESSAGES */

.messages {
    background-color: white !important;
}


.message-header {
    background-color: #957ba3;
}

.message-author {
    font-weight: 300;
/*    text-transform: uppercase;*/
    
}

.message-date {
    font-weight: 300;
}

.message-topic {
    text-transform: uppercase;
    padding-left: 20px;
    font-size: 14px;
}

.message-subject  {
    font-size: 18px;
    color: #333;
    text-decoration: underline;
}

.message {
    font-size: 14px;
    font-weight: 300;
}

.rate-message-header, .rate-message {
    text-align: center;
}

.rate-message .glyphicon-thumbs-down, .rate-message .glyphicon-thumbs-up {
    font-size: 20px;
}


@media (min-width: 1200px) {
  .container {
    width: 1250px;
  }
}

@media (max-width:900px) {
    .rate-message-header, .rate-message {
        text-align: left;
    }
}
@media screen and (max-width:750px) {
    .msg_lg_header { display:none; }
    .msg_sm_header { display:block; }

    .msg_sm_hr { display:block; }
    .user p{ margin-bottom:2px;padding-left:10px}
    .subject p{margin-bottom:2px;padding-left:10px}
    .subject a {font-size:1.1em;}

    .company p{margin-bottom:2px;padding-left:10px}

.navbar-brand { padding-left:30px;}
}

@media screen and (min-width:751px) {
    .msg_sm_header { display:none; }
    .msg_sm_hr { display:none; }

}

@media all and (max-width: 1250px) {
     
    
    .navbar-form {
        float: left;
    }
}

@media (max-width: 1000px) {
    .navbar-header {
        float: none;
    }
    .navbar-left,.navbar-right {
        float: none !important;
    }
    .navbar-toggle {
        display: block;
    }
    .navbar-collapse {
        border-top: 1px solid transparent;
        box-shadow: inset 0 1px 0 rgba(255,255,255,0.1);
    }
    .navbar-fixed-top {
		top: 0;
		border-width: 0 0 1px;
	}
    .navbar-collapse.collapse {
        display: none!important;
    }
    .navbar-nav {
        float: none!important;
        margin-top: 20px;
	}
	.navbar-nav>li {
        float: none;
    }
    .navbar-nav>li>a {
        padding-top: 10px;
        padding-bottom: 10px;
    }
    .collapse.in{
  		display:block !important;
	}
        
        .navbar .purple-button {
            text-align: center !important;
        }
        
        .mobile-hide {
            display: none;
        }
        
        .extra {
            padding: 0;
        }
        
        
}
@media (max-width: 900px) {
.padding-on-mobile {
            padding: 30px;
        }

}




/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers:
 * http://juicystudio.com/article/screen-readers-display-none.php
 */

.hidden {
    display: none !important;
    visibility: hidden;
}

/*
 * Hide only visually, but have it available for screen readers:
 * http://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@media print,
       (-o-min-device-pixel-ratio: 5/4),
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   http://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after {
        background: transparent !important;
        color: #000 !important; /* Black prints faster:
                                   http://www.sanbeiji.com/archives/953 */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links that are fragment identifiers,
     * or use the `javascript:` pseudo protocol
     */

    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    /*
     * Printing Tables:
     * http://css-discuss.incutio.com/wiki/Printing_Tables
     */

    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}

