#j-main {
    background-color: #FFF;
    padding: 15px 20px 25px 20px;
}
#j-footer {
    padding: 0;
}
/* jive 8 use this class for something else than global.css */
.fixed {
    position: initial;
    top: initial;
    left: initial;
}


@media only screen and (max-width: 40em) {
    header #j-basic-wrap {
        display: none;
    }
    #jive-body-sidebarcol-container {
        display: none;
    }
    #jive-breadcrumb {
        display: block !important;
    }
    #mobile-menu {
        display: none !important;
    }
    #jive-body {
        padding-top: 0 !important;
    }
}

@media only screen and (min-width: 40.1em) {
    header h1.js-logo {
        display: none;
    }
    header #j-basic-wrap {
        z-index: 1000;
    }
    h1.logo {
        margin-bottom: 3px;
        font-size: 2.75em;
        padding-left: 5px
    }
    h1.logo a {
        font-weight: 100;
        letter-spacing: -2px
    }


    .top-bar {
        background-color: #fff
    }

    nav.top-bar {
        border-top: 1px solid #d5d5d5;
        border-bottom: 1px solid #d5d5d5
    }

    .top-bar-section li a:not(.button) {
        background: #fff
    }

    .top-bar-section ul li.active>a {
        background: #4a5d75;
        color: white
    }

    .top-bar-section .main-menu li a {
        color: #4a5d75
    }

    h1.logo a {
        color: #405165
    }

    h1.logo a strong {
        color: #4a5d75
    }



    .top-bar {
        overflow: hidden;
        height: auto;
        line-height: auto;
        position: relative;
        background: #fff;
        margin-bottom: 2.5em
    }

    .top-bar ul {
        margin-bottom: 0;
        list-style: none
    }

    .top-bar .row {
        max-width: none
    }

    .top-bar form,.top-bar input {
        margin-bottom: 0
    }




    footer.bottom {
        background: #424242
    }

    footer.bottom ul.footer-nav {
        display: block;
        margin-bottom: 0
    }

    footer.bottom ul.footer-nav li.security {
        margin-right: 20px
    }

    ul.footer-nav {
        display: none;
        clear: both;
        background: none;
        text-align: right;
        padding: 1em
    }

    ul.footer-nav li {
        color: #8c8f91;
        font-size: 12px;
        display: inline;
        margin-right: 2px
    }

    ul.footer-nav li.redhat a {
        display: block;
        width: 77px;
        height: 25px;
        text-indent: -9999px;
        display: block;
        color: transparent
    }

    ul.footer-nav li a {
        background: none;
        font-size: 12px;
        color: white;
        display: inline;
        font-size: 14px;
        text-decoration: underline
    }

    ul.footer-nav li.redhat {
        float: left
    }

    ul.footer-nav li.redhat a {
        text-decoration: none
    }

    nav.top-bar {
        margin-bottom: 1.5em;
        margin-bottom: 0
    }

    nav.top-bar .row {
        position: relative
    }

    .top-bar-section li a:not(.button):hover {
        background: #4a5d75;
        color: white
    }

    .top-bar-section .main-menu li a {
        text-transform: uppercase;
        padding: 5px 20px 4px 20px;
        background: none;
        font-size: 1.375em;
        font-weight: 600
    }

    .top-bar-section .main-menu li:hover>a {
        background: #4a5d75
    }

    .top-bar-section .main-menu li:hover ul.dropdown {
        display: none;
        visibility: visible
    }

    .top-bar-section .social a {
        border: 0;
        color: #afb1b2;
        padding-left: 0.5rem;
        background: none;
        padding: 3px 7px
    }

    .top-bar-section ul {
        background: none
    }

    .top-bar-section .has-dropdown>a:after {
        display: none
    }

    .top-bar-section ul.dropdown {
        border: 1px solid #d5d5d5;
        border-radius: 0 0 5px 5px;
        overflow: hidden;
        width: auto;
        min-width: 0;
        box-shadow: 1px 1px 4px rgba(66,66,66,0.3);
        padding: 0.3125rem 0;
        background: #fff
    }

    .top-bar-section ul.dropdown li {
        clear: both
    }

    .top-bar-section ul.dropdown li a {
        font-size: 0.9375rem;
        color: #8c8f91;
        padding: 0.3em 1em;
        width: 100%;
        text-transform: none
    }







    .top-bar {
        background:#fff;
        overflow: visible
    }

    .top-bar:before,.top-bar:after {
        content: " ";
        display: table
    }

    .top-bar:after {
        clear: both
    }

    .top-bar .toggle-topbar {
        display: none
    }

    .top-bar .title-area {
        float: left
    }

    .top-bar .name h1 a {
        width: auto
    }

    .top-bar input,.top-bar .button,.top-bar button {
        font-size: 0.875rem;
        position: relative;
        top: 7px
    }

    .top-bar.expanded {
        background: #fff
    }

    .contain-to-grid .top-bar {
        max-width: 75em;
        margin: 0 auto;
        margin-bottom: 2.5em
    }

    .top-bar-section {
        transition: none 0 0;
        left: 0 !important
    }

    .top-bar-section ul {
        width: auto;
        height: auto !important;
        display: inline
    }

    .top-bar-section ul li {
        float: left
    }

    .top-bar-section ul li .js-generated {
        display: none
    }

    .top-bar-section li.hover>a:not(.button) {
        background-color: #555;
        background: #4a5d75;
        color: #fff
    }

    .top-bar-section li:not(.has-form) a:not(.button) {
        padding: 0 auto/3;
        line-height: auto;
        background: #fff
    }

    .top-bar-section li:not(.has-form) a:not(.button):hover {
        background-color: #555;
        background: #4a5d75
    }

    .top-bar-section li.active:not(.has-form) a:not(.button) {
        padding: 0 auto/3;
        line-height: auto;
        color: #fff;
        background: #4a5d75
    }

    .top-bar-section li.active:not(.has-form) a:not(.button):hover {
        background: #405065;
        color: #fff
    }

    .top-bar-section .has-dropdown>a {
        padding-right: auto/320px !important
    }

    .top-bar-section .has-dropdown>a:after {
        content: "";
        display: block;
        width: 0;
        height: 0;
        border: inset 5px;
        border-color: rgba(255,255,255,0.4) transparent transparent transparent;
        border-top-style: solid;
        margin-top: -2.5px;
        top: auto/2
    }

    .top-bar-section .has-dropdown.moved {
        position: relative
    }

    .top-bar-section .has-dropdown.moved>.dropdown {
        display: block;
        position: absolute !important;
        height: 1px;
        width: 1px;
        overflow: hidden;
        clip: rect(1px, 1px, 1px, 1px)
    }

    .top-bar-section .has-dropdown.hover>.dropdown,.top-bar-section .has-dropdown.not-click:hover>.dropdown {
        display: block;
        position: static !important;
        height: auto;
        width: auto;
        overflow: visible;
        clip: auto;
        position: absolute !important
    }

    .top-bar-section .has-dropdown>a:focus+.dropdown {
        display: block;
        position: static !important;
        height: auto;
        width: auto;
        overflow: visible;
        clip: auto;
        position: absolute !important
    }

    .top-bar-section .has-dropdown .dropdown li.has-dropdown>a:after {
        border: none;
        content: "\00bb";
        top: 1rem;
        margin-top: -1px;
        right: 5px;
        line-height: 1.2
    }

    .top-bar-section .dropdown {
        left: 0;
        top: auto;
        background: transparent;
        min-width: 100%
    }

    .top-bar-section .dropdown li a {
        color: #fff;
        line-height: auto;
        white-space: nowrap;
        padding: 12px auto/3;
        background: #333
    }

    .top-bar-section .dropdown li:not(.has-form):not(.active)>a:not(.button) {
        color: #fff;
        background: #333
    }

    .top-bar-section .dropdown li:not(.has-form):not(.active):hover>a:not(.button) {
        color: #fff;
        background-color: #555;
        background: #4a5d75
    }

    .top-bar-section .dropdown li label {
        white-space: nowrap;
        background: #333
    }

    .top-bar-section .dropdown li .dropdown {
        left: 100%;
        top: 0
    }

    .top-bar-section>ul>.divider,.top-bar-section>ul>[role="separator"] {
        border-bottom: none;
        border-top: none;
        border-right: solid 1px #4e4e4e;
        clear: none;
        height: auto;
        width: 0
    }

    .top-bar-section .has-form {
        background: #fff;
        padding: 0 auto/3;
        height: auto
    }

    .top-bar-section .right li .dropdown {
        left: auto;
        right: 0
    }

    .top-bar-section .right li .dropdown li .dropdown {
        right: 100%
    }

    .top-bar-section .left li .dropdown {
        right: auto;
        left: 0
    }

    .top-bar-section .left li .dropdown li .dropdown {
        left: 100%
    }

    .no-js .top-bar-section ul li:hover>a {
        background-color: #555;
        background: #4a5d75;
        color: #fff
    }

    .no-js .top-bar-section ul li:active>a {
        background: #4a5d75;
        color: #fff
    }

    .no-js .top-bar-section .has-dropdown:hover>.dropdown {
        display: block;
        position: static !important;
        height: auto;
        width: auto;
        overflow: visible;
        clip: auto;
        position: absolute !important
    }

    .no-js .top-bar-section .has-dropdown>a:focus+.dropdown {
        display: block;
        position: static !important;
        height: auto;
        width: auto;
        overflow: visible;
        clip: auto;
        position: absolute !important
    }



    /* Hack how to shift down whole menu */
    .top-bar-section {
        top: 3px;
        position: relative;
        height:36px;
    }
    .top-bar-section ul li>a {
        font-size: 24px
    }
    .top-bar ul {
        font-size: 1rem;
        line-height: 32px;
        list-style-position: outside;
        font-family: inherit;
    }



/*
    body {
        background: url(//static.jboss.org/www/images/_images_design_theme-light_background-short-1.jpg) top center repeat-x;
    }
*/
    #j-header, #j-compact-header {
        background: transparent none;
        padding: 0;
    }
    header a:focus, header a:hover {
        text-decoration: none;
    }
    header .right {
        float: right;
    }
    header .columns, header .column {
        padding-left: 1em;
        padding-right: 1em;
    }
    header .row.collapse>.column, header .row.collapse>.columns {
        padding-left: 0;
        padding-right: 0;
    }

    .top-bar-section .main-menu li a {
        font-size: 22px;
    }

    /* Opacity si defined on another elements */
    #j-globalNav-bg {
        height: auto;
        padding: 0;
        background-color: initial;
    }
    #j-header-wrap {
        background: rgba(255, 255, 255, 0.75);
    }

    .j-header-mode-simple #j-header-wrap {
        position: initial;
    }

    .j-header-mode-simple #top {
        height: 0;
    }
    .j-simple-nav-logo {
        display: none !important;
    }

    #j-globalNav-bg .j-globalNav {
        margin: 5px 0 !important;
        padding-left: 40px !important;
    }

    .j-globalNavLink:active {
        color: #FFFFFF;
        text-shadow: none;
    }
    .j-globalNav > li.active {
        background-position: 99% -911px !important;
    }
    .j-globalNavLink:link, .j-globalNavLink:visited, .j-globalNavLink:hover, .j-globalNav .j-nav-create a, #j-compact-header a .j-user-name {
        color: #336699;
        text-shadow: none;
    }
    .j-globalNav > li > a.j-globalNavLink:focus, .j-globalNav li.active .j-globalNavLink, #j-compact-header a:focus .j-user-name, #j-compact-header li.active .j-user-name {
        color: #FFFFFF;
        background-color: #336699;
        border-radius: 5px 5px 5px 5px;
    }
    .j-globalNav > li > a.j-globalNavLink:hover, .j-globalNav > li > a.j-globalNavLink:focus, #j-compact-header a:hover .j-user-name, #j-compact-header a:focus .j-user-name {
        color: #204060;
        text-shadow: none;
        background-color: #E6E7E8;
        border-radius: 5px 5px 5px 5px;
    }
    .j-globalNav > li > a.j-globalNavLink:focus, .j-globalNav li.active .j-globalNavLink,  #j-compact-header a:focus .j-user-name, #j-compact-header li.active .j-user-name {
        color: #FFFFFF;
        background-color: #336699;
        border-radius: 5px 5px 5px 5px;
    }

    #j-links {
        margin: 0;
    }
    #j-links a {
        color: #336699 !important;
    }

    #j-satNav-wrap .j-navLabel, #j-satNav-wrap li a {
        color: #4A5D75 !important;
    }

    .footer {
        width: auto;
        height: auto;
        font-size: 16px;
        padding: 0px
    }

    #wysiwygtext_toolbargroup.affix {
        left: 46px !important;
    }
}

@media only screen and (max-width: 40em) {
    header.main, nav.top-bar, #j-footer-wrap {
        display: none;
    }
    body,body.home {
        background-image:none
    }
    #j-header a.j-header-logo {
        font-size: 75%;
        max-width: none !important;
    }
}



/* ------------------------ Styling for Project Spaces on the main SBS page ---------------------------------- */

.spaces_by_category dl dd, .rhd_products dl dd {
    margin-bottom: 0.75rem;
}

.spaces_by_category dl {
    float: left;
    width:100%;
    padding:0 0 15px 5px;
    margin-top:-5px;
    background-color:#FAFAFA;
}

.spaces_by_category dt {
    clear: left;
    margin: 5px 0 10px -5px;
    padding: 9px 5px;
    border-top: 1px solid #E5E5E5;
    border-bottom: 1px solid #E5E5E5;
    font-weight: bold;
    background-color:#FFF;
    font-size:1.3em;
    font-weight:normal;
    color:#424242;
}

.spaces_by_category dd {
    padding: 5px 5px 5px 10px;
}

.spaces_by_category a img {
    padding-right: 4px;
}

.spaces_by_category ul {
    padding: 5px 0 5px 10px;
}

.spaces_by_category ul li {
    list-style-type: none !important;
    padding-top: 3px;
}

.spaces_by_category [class*=project-icon-] {
    display: block;
    margin: 0 4px 0 0;
    float: left;
    width: 16px;
    height: 16px;
}

.project-icon-embeddedjopr_icon_16px {
    margin: 0 !important;
}




/***************** Jive Content Styles that need to be overwritten back *********************/
body {
    font-family: "Cabin";
}




.j-home-welcome .jive-body-layout-l2, .j-home-welcome .jive-body-layout-l3 {
    display: block;
    max-width: 33%;
}

.j-home-welcome .jive-body-layout-l2 {
    margin-left: 15%;
    margin-right: 2%;
 }
.j-home-welcome .jive-body-layout-l3 {
    margin-right: 15%;
    margin-left: 2%;
}

.jive-table-recentcontentwidget h4.jive-widget-handle,
.jive-widget-htmltextwidget h4.jive-widget-handle, {
    text-transform: none;
    color: #4d4d4d;
    font-size: 15px;
    font-weight: 600;
}

.j-home-welcome .jive-table-recentcontent .jive-table-cell-type,
.j-home-welcome .jive-table-recentcontent .jive-table-cell-title span, 
.j-home-welcome .jive-table-recentcontent .jive-table-cell-author, 
.j-home-welcome .jive-table-recentcontent .jive-table-cell-avatar { display: none; }
.j-home-welcome .jive-table-recentcontent .jive-table-cell-title { background-color: transparent; }

.j-home-welcome .jive-table-recentcontent .jive-table-cell-title > a { width: 100%; }

.j-home-welcome .jive-table-recentcontent tr { height: 45px; }

.j-home-welcome .jive-table-recentcontent .jive-table tr.jive-table-row-even td { background-color: transparent; }
.j-home-welcome .more-status-content a.jive-more-content {
    background-color: transparent;
    border: none;
    text-align: left;
}

.j-home-welcome .statusrss { display: none; }

.j-body-welcome .jive-widget-container .jive-widget.jive-widget-borderless {
    background-color: #fff;
}

.j-body-welcome #j-main,
.j-body-welcome #jive-widget-container {
    padding: 0;
}

.j-body-welcome #j-globalNav,
.j-body-welcome #j-links { display: none; }

nav.top-bar ul.left.main-menu{
    margin-left: 30%;
    display: block;
}


.footer-jive row {
    margin-left: -20px;
    margin-right: -20px;
}

.col-md-2 {
    width: 16.66666667%;
    float: left;
    position: relative;
    min-height: 1px;
    padding-left: 20px;
    padding-right: 20px;
}

.col-md-10 {
    width: 83.33333333%;
    float: left;
    position: relative;
    min-height: 1px;
    padding-left: 20px;
    padding-right: 20px;
}
.footer-content {
    display: inline;
}
.footer-jive a {
    color: #858585;
    top: 12px;
    position: relative;
    margin-left: 15px;
    margin-top: 0;
}

.footer-jive a.legal {
    border-right: 1px solid #858585;
    padding-right: 15px;
}

.footer-jive .conditions a:first-child {
    margin-left: 70px;
}

.top-bar-section .main-menu li a {
    color: grey;
}

h1.logo a {
    color: grey;
}

h1.logo a strong {
    color: grey;
}

.top-bar-section .main-menu li a {
    font-weight: 200;
}

.j-home-welcome .jive-widget {
    margin-bottom: 0px;
}

.j-home-welcome #jive-widget-content {
    background-color: #C0DEE1;
}

.j-home-welcome .jive-widget-html-text {
    background-color: white;
}

.j-home-welcome .featured {
    background-color: white;
}

.j-home-welcome .join {
    background-color: #C0DEE1;
}




/* ARCHIVE */
/*
#j-header #j-globalNav-bg, #j-main {
    max-width: 1300px !important;
}
*/
#j-header #j-globalNav-bg #j-links {
    display: none;
}
#j-header #j-satNav-wrap {
    display: none;
}
.j-browse-places .j-colum-wrap-s, .j-browse-content .j-colum-wrap-s {
    display: none;
}
.j-contained-tabs-place .j-column-l, .j-browse-places .j-column-l , .j-browse-content .j-column-l{
    margin: 0 !important;
}
.j-contained-tabs-place .j-column-l {
    margin: 0 !important;
}
/* Hide right pannel */
.j-layout-ls .j-column-l.lg-margin {
    margin: 0 !important;
}
.j-layout-ls .j-column-wrap-s {
    display: none !important;
}

.j-contained-tabs-place .j-sidebar-left {
    display: none;
}

#jive-navbar-link-news, #jive-nav-link-conx, #jive-nav-link-create, #jive-nav-link-apps {
    display: none;
}
.j-thread-post footer {
    display: none;
}
.j-guest-tip.jive-info-box.j-rc5, #jive-place-link-people-tab, #j-placeActions,  #jive-place-link-about, #j-placeMainNav .share-link {
    display: none;
}

.j-browse-sorts.j-browse-filter-row {
    display: none;
}
.j-browse-filter-row.j-content-filter {
    display: none;
}
#place-main-nav-more, .j-browse-places-parentmessage {
    display: none;
}

.jive-comment .j-comment-footer {
    display: none;
}

.j-thread-post .j-common-question {
    display: none;
}
.jive-thread-ratings {
    display: none;
}
.profile-tile section.j-empty-message {
    display: none;
}
.j-profile-tile-section .js-relations, .j-profile-recentHD {
    display: none;
}
.jive-avatar {
    content:url("../img/jive-default-avatar.png");
}

.j-profile-nav #jive-profile-link-activity, .j-profile-nav #jive-profile-link-content, .j-profile-nav #profile-nav-menu-more, .j-profile-nav #jive-profile-link-actions  {
    display: none;    
}