/*
 *  custom.css
 *
 * This file contains css values and hints for style elements that are frequently customised.
 * Note that this CSS file is loaded last so values defined here will override all others
 * including responsive.css
 */

/* Changing the header image
 * With this version of we_universal it is not possible to change the header image using CSS
 * It is recommended that the header image is changed by renaming your file to dashboard.jpg in
 * the styles/we_universal/theme/images/ directory.
 * Alternatively the link may be changed in styles/we_universal/template/overall_header.html
 * around line 211.


/* link decoration
 * Uncomment the following lines to have all links underlined
 * and visited links re-coloured
 */
/*
a:link,a:visited {
	text-decoration: underline;
	color: #3f3f3f; }

a:focus,
a:hover, a:active {
	text-decoration: underline; }
*/

/*
 * remove header background colour (no border around the image)
 */

.inventea-header {
	/*background: #ffffff;*/
	/*background-clip: border-box;*/
}

/*
 * set header background colour (appears as a border around the image, comment out this code for a white border)
 */

/*** begin header colour ***/
/*
.inventea-header {
	background: #a4a4a4;
}
*/
/*** end header colour ***/


/*
.inventea-sitename, .inventea-sitename h1{
	color: #005599;
}
*/

/* Set the maximum forum width on wide screens
 * To set a maximum width that the forum will not grow beyond, uncomment the following lines
 * and set a value (1200px or 1899px are typical values)
 */
.inventea-wrapper,
.inventea-header,
.inventea-footer {
	max-width: 1800px;
}


/*
 * Hide some non-essential menu items if desired
 */
/*
#menu_faq, #button_faq{
	display: none;
}
*/

/*
#menu_team, #button_team{
	display: none;
}
*/

/*
#menu_memberlist, #button_memberlist{
	display: none;
}*/


/*#topic_watch_button, #forum_watch_button,*/ #topic_bookmark_button, #topic_bump_button{
	display: none;
}

/*
 * Button hide threshold
 * The max-width here adjusts the screen widths for which the header buttons are replaced by a dropdown menu
 * set this value higher if the screen buttons start to wrap, or the text becomes ugly in your language.
 * The valid range of this value is 319px to 699px.
 * I prefer a value of 319px, but if you have added buttons, or use a language with long button labels,
 * a higher value may work better for you.
 */
@media only screen and (max-width:359px) {
	.inventea-menu li > a {
		   display: none;
	}

	.inventea-mobile-dropdown-menu {
		display: block;
	}
}

/*
 * To move the header buttons so that they sit outside the header image,
 * (as was the default for a few version of this style),
 * comment out the following blocks of code:
 */
/*** begin buttons inside ***/
.inventea-posts-menu {
	position: absolute;
	right: 10px;
	z-index: 3;
}

.inventea-forum-menu {
	position: absolute;
	bottom: 0;
	z-index: 3;
}

/*
// tack: removed
@media only screen and (max-width: 459px){
	.inventea-dashboard img {
		padding-top: 22px;
		padding-bottom: 22px;
	}
}
*/
/*** end buttons inside ***/

body {
    font-family: Roboto, Arial, Helvetica, sans-serif;
}

a {
    color: #6b6b6b;
}

body, h1, h2, .notice,
/* Base font in panels */
.fieldset,
dl.faq,
.content dl.faq,
.content p,
.panel p,
p.author,
.postbody .content,
.post:target .content,
fieldset.polls,
.attachbox dt,
dl.file,
input,
select,
textarea,
#message-box textarea,
a.button1,
a.button2,
input.button1,
input.button2,
input.button3,
a.topictitle
{
    font-family: Roboto, Tahoma, Arial, Helvetica, sans-serif;
}

a.forumtitle
{
    font-family: Roboto, Tahoma, Arial, Helvetica, sans-serif;
    font-weight: 500;
    line-height: 18px;
    font-size: 18px;
    color: #747474;
}

.inventea-wrapper {
    /* First set for browsers that don't support min() func, like IE and Edge,
     * or older Firefox/Chrome/Safari */
    max-width: 1250px;
    /* For browsers that support it, ensure a 50px gutter */
    max-width: min(1250px, 100% - 50px);
}

.inventea-header {
    width: 100%;
    background: #292c2f;
    overflow: auto;
    max-width: none;
    border: 0;
}

.inventea-header nav {
    max-width: 1250px;
    max-width:  min(1250px, 100% - 50px);
    margin: 0 auto;
    position: relative;
}

div.inventea-posts-menu {
    right: 0;
}

.inventea-dashboard {
    max-width: 1250px;
    max-width: min(1250px, 100% - 50px);
    height: 220px;
    position: relative;
    background-size: cover;
}

@media only screen and (max-width: 700px) {
    /* On narrow displays, don't enforce gutter, and use smaller content padding */
    .inventea-wrapper {
        max-width: 1250px;
        padding: 15px 10px;
    }
    .inventea-header, .inventea-header nav, .inventea-dashboard {
        max-width: 1250px;
        padding: 0;
    }
}

.inventea-dashboard a:hover {
    text-decoration: none;
}


.inventea-dashboard img {
    height: 220px;
}

.inventea-dashboard > a {
    top: 0;
    height: 220px;
    display: flex;
    align-items: center;
}

.inventea-sitename {
    font-family: 'Roboto', Tahoma, Arial, Helvetica, sans-serif;
    position: relative;
    left: 0;
    top: 0;
    color: #ffffff;
    text-align: center;
    padding: 0px 55px;
    margin: auto auto;
}

.inventea-sitename h1 {
    font-size: 42px;
    font-weight: 300 !important;
    line-height: 42px;
    margin: 0;
}

.inventea-sitename span {
    font-weight: 300 !important;
    font-size: 16px;
    line-height: 20px;
    display: block;
}

@media only screen and (max-width: 300px) {
    .inventea-sitename h1 {
        font-size: 32px;
        line-height: 28px;
    }
}

ul.inventea-menu li > a {
    background-color: rgba(0, 0, 0, 0.5);
    padding: 8px 10px;
}
ul.inventea-menu li > a:hover {
    background-color: rgba(0, 0, 0, 0.9);
}

ul.topiclist > li.row {
    margin: 2px 0;
}
ul.topiclist dd {
    padding: 10px 7px !important;
}

ul.dropdown-contents a span {
    padding-left: 5px;
}

div.post {
    margin-bottom: 16px;
}

/* Piet doesn't like rounded corners :) */
.forumbg,
.forabg,
.post,
.postprofile,
.panel,
input,
span.button,
a,
#phpbb_announcement,
.dropdown-contents {
    border-radius: 0 !important;
}

.postprofile {
    width: 16%;
    background: #e8e8e8 !important;

}

.forabg li.row {
    margin-bottom: 0px !important;
}

body > div.wrap {
    padding-top: 0px;
}

/* Tweak post message left triangle offset to fix a 1px line bleed-through of
 * the postprofile background color with non-100% magnification*/
.post .postbody:before {
    margin-left: -33px;
}

/* Replace online indicator */
.tsb-online {
    display: inline-block;
    font-size: 60%;
    color: #30c121;
    vertical-align: middle;
}

@media only screen and (max-width: 700px) {
    /* Tweak post message top triangle offset to fix a 1px line bleed-through of
     * the postprofile background color with non-100% magnification*/
    .post .postbody:before {
        margin-top: -33px;
    }
}

.inventea-online {
    display: none;
}

/* Fix alignment of textarea relative to editor toolbar */
#postingbox .abbc3_buttons_row,
#postingbox .message-box {
    box-sizing: border-box;
}

h2.searchresults-title {
    margin-top: 20px;
}

span.crumb i.icon {
    display: none;
}

/* Suppress "open in new window" icon for external links */
a.elonw:after {
    display: none
}

/* Light colored close button */
#phpbb_announcement .close {
    opacity: 1.0 !important;
    filter: invert(100%);
    -webkit-filter: invert(100%);
}

/* Disable icons on menu tabs */
div.inventea-forum-menu i.icon {
    display: none;
}
