/*
 *  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; }
*/

/*
 * set header background colour (appears as a border around the image)
 */
/*
.inventea-header {
	background: #424242;   
}
*/

/* 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 is a typical value)
 */*
.inventea-wrapper,
.inventea-header,
.inventea-footer {
	max-width: 85%;
}

.inventea-dashboard {
	width: 100%;
}


/* 
 * 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;
}*/


/*
 * 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.
 * a value of 319px works for me, but if you have added buttons, or a language with long button labels, a higher
 * value ma be better.
 */
@media only screen and (max-width: 549px) {
    .inventea-menu li > a {
           display: none; 
    }

    .inventea-mobile-dropdown-menu {
	    display: block;
    }
    .inventea-dashboard img {
    padding-top: 4%;
    padding-bottom: 4%;
    }
}

/* Family Rights Group New Styling */

body {
	font-size: 1.1rem;
}


/* Fonts */

@import url('https://fast.fonts.net/t/1.css?apiType=css&projectid=75d2f31a-2b0d-48b1-abad-ea901af99b2d');

@font-face{
	font-family: 	'Futura PT W01 Demi';
	src: 			url('/YfyvForum/styles/we_universal/fonts/848602e3-bda3-4b1c-976b-fe26eecfab31.woff2') format('woff2'),
					url('/YfyvForum/styles/we_universal/fonts/e4eacf8d-aba1-40d4-9597-1198e91dcf00.woff') format('woff');
	font-display: 	swap;
	font-weight: 	normal;
    font-style: 	normal;
}

@font-face{
	font-family: 	'Futura PT W01 Book';
	src: 			url('/YfyvForum/styles/we_universal/fonts/aafdd021-88d4-41d8-8e15-fe91f83e4b17.woff2') format('woff2'),
					url('/YfyvForum/styles/we_universal/fonts/81d44d4b-ac07-4ad4-8cdd-4df771a3c1c3.woff') format('woff');
	font-display: 	swap;
	font-weight: 	normal;
    font-style: 	normal;
}

@font-face{
	font-family: 	'FuturaPTW01-BookOblique';
	src: 			url('/YfyvForum/styles/we_universal/fonts/28351402-8fc5-4d21-a3df-e99d2d814bd4.woff2') format('woff2'),
					url('/YfyvForum/styles/we_universal/fonts/10cee8c3-6e4c-4f57-8121-cf5e361423a7.woff') format('woff');
	font-display: 	swap;
	font-weight: 	normal;
    font-style: 	normal;
}

/*
.futura-demi {
	font-display: swap;
	font-family: 'Futura PT W01 Demi', Futura, 'Trebuchet MS', Arial, sans-serif;
}

.futura-book {
	font-display: swap;
	font-family: 'Futura PT W01 Book', Futura, 'Trebuchet MS', Arial, sans-serif;
}

.futura-book-oblique {
	font-display: swap;
	font-family: 'FuturaPTW01-BookOblique', Futura, 'Trebuchet MS', Arial, sans-serif;
}
*/

body {
	font-family: 'Futura PT W01 Book', Futura, 'Trebuchet MS', Arial, sans-serif;
	font-size: 1.25rem !important;
}

h1, h2, h3, h4, h5 {
	font-family: 'Futura PT W01 Demi', Futura, 'Trebuchet MS', Arial, sans-serif;
}

a {
	transition: all 250ms cubic-bezier(.6,0,.4,1);
	color: #78767B;
}

a:hover {
	color: #4CB9CE;
}

a.forumtitle,
a.forumtitle:visited,
a.forumtitle:active,
a.forumtitle:hover,
a.topictitle,
a.topictitle:visited,
a.topictitle:active,
a.topictitle:hover {
	font-family: 'Futura PT W01 Demi', Futura, 'Trebuchet MS', Arial, sans-serif;
	font-size: 1.25rem !important;
	color: #7166AD;
	text-decoration: none;
}

ul.linklist > li {
	font-size: 1.25rem !important;
}

ul.topiclist li.header dt, ul.topiclist li.header dd, table.table1 thead th, .cp-main table.table1 thead th {
	font-family: 'Futura PT W01 Demi', Futura, 'Trebuchet MS', Arial, sans-serif;
	font-size: 1.25rem !important;
	text-transform: none !important;
}

/* Forums and tables */

.forabg,
.forumbg,
.cp-main table.table1 {
	background: #7166AD;
}

.forabg ul.topiclist li.row dt,
.forabg ul.topiclist li.row dd {
	padding: 1rem 0.5rem;
}

.forabg ul.topiclist li.row dt:nth-child(even),
.forabg ul.topiclist li.row dd:nth-child(even),
.forumbg ul.topiclist li.row dt:nth-child(even),
.forumbg ul.topiclist li.row dd:nth-child(even),
.forabg ul.topiclist li.row dt:nth-child(odd),
.forabg ul.topiclist li.row dd:nth-child(odd),
.forumbg ul.topiclist li.row dt:nth-child(odd),
.forumbg ul.topiclist li.row dd:nth-child(odd) {
	background-color: #EAE8F3;
	padding-top: 1.5rem;
    padding-bottom: 1.5rem;
}

.forabg ul.topiclist li.row:nth-child(even) dt:nth-child(even),
.forabg ul.topiclist li.row:nth-child(even) dd:nth-child(even),
.forumbg ul.topiclist li.row:nth-child(even) dt:nth-child(even),
.forumbg ul.topiclist li.row:nth-child(even) dd:nth-child(even),
.forabg ul.topiclist li.row:nth-child(even) dt:nth-child(odd),
.forabg ul.topiclist li.row:nth-child(even) dd:nth-child(odd),
.forumbg ul.topiclist li.row:nth-child(even) dt:nth-child(odd),
.forumbg ul.topiclist li.row:nth-child(even) dd:nth-child(odd) {
	background-color: #F8F7FB;
	padding-top: 1.5rem;
    padding-bottom: 1.5rem;
}

ul.topiclist li.header dt, ul.topiclist li.header dd, table.table1 thead th, .cp-main table.table1 thead th {
	border: 1px solid white;
	padding: 1rem;
}

.forabg ul.topiclist li.row dt, .forabg ul.topiclist li.row dd {
    border: 1px solid white;
    padding: 1rem;
}

.row-forum {
	border-left: none !important;
}

dd.topics,
dd.lastpost {
	border-left: 1px solid white !important;
}

dd.posts {
    border-left: 1px solid white !important;
    border-right: 1px solid white !important;
}

.row-item:first-of-type {
	border-right: 0 !important;
}

.forabg {
	border-radius: 1rem 1rem 0 0;
}


/* Icons */

.forum_unread,
.forum_read,
.topic_unread,
.topic_read {
	background-image: url("./images/speech-icon.svg") !important;
}

/* Header */

.inventea-wrapper {
	padding: 0;
	border: none;
	box-shadow: 0 0 50px 0 rgba(60,58,63,0.08);
}

.inventea-content,
.inventea-userbar {
	padding: 1rem 3.5rem;
}

.inventea-menu li a {
	display: flex;
    align-items: center;
}

.inventea-menu li > a {
	background: #FFFFFF;
	box-shadow: inset 0px 0px 10px rgba(60,58,63,0.15);
	border-radius: 1rem 1rem 0 0;
	font-size: 0.9rem;
	min-height: 1.8rem;
	padding: 1rem !important;
	color: #7166AD;
	font-family: 'Futura PT W01 Demi', Futura, 'Trebuchet MS', Arial, sans-serif;
	margin: 0 0.8rem;
}

.inventea-menu li > a:first-of-type {
	margin-left: 0 !important;
}

.inventea-menu li > a:focus,
.inventea-menu li > a:hover,
.inventea-menu li > a:active {
	background: #FFFFFF !important;
	color: #4CB9CE;
}

.inventea-menu-top li {
	float: left;
    background: none;
    list-style: none;
}

.inventea-menu-top li a {
    border-radius: 1rem 1rem 0 0;
    font-size: 1rem;
    padding: 1rem;
    color: #7166AD;
    font-family: 'Futura PT W01 Demi', Futura, 'Trebuchet MS', Arial, sans-serif;
	text-transform: uppercase;
	border-radius: 2rem;
    padding: 1.2rem 3.5rem;
    margin-left: 1rem;
    margin-top: 1rem;
}

.faq-button a {
	color: #4CB9CE !important;
	background-color: #FFFFFF;
}

.search-button a {
	color: #FFFFFF !important;
	background-color: #7166AD;
}

.inventea-dashboard h1 {
	color: #FFFFFF;
	font-size: 4rem !important;
	margin-top: -3rem;
}

.forum-header-bg {
	background-image: url("./images/frg-forum-bg.svg") !important;
	background-size: cover;
	padding: 5% 2.5%;
}

.inventea-userbar {
	height: 100% !important;
	display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-logo {
	min-width: 17rem;
}

.unanswered-topics:before {
	content:url('./images/unanswered-topics.svg');
	position: relative;
    top: 0;
    right: 0;
    width: 2.25rem;
    display: inline-block;
}

.active-topics:before {
	content:url('./images/active-topics.svg');
	position: relative;
    top: 0;
    right: 0;
    width: 2.25rem;
    display: inline-block;
}

.parents-website:before {
	content:url('./images/parents-website.svg');
	position: relative;
    top: 0;
    right: 0;
    width: 2.25rem;
    display: inline-block;
}

.home-link:before {
	content:url('./images/home-link-icon.svg');
	position: absolute;
    top: -0.05rem;
    left: 0;
    width: 2.25rem;
}

#nav-breadcrumbs {
	margin-bottom: 1rem;
}

.breadcrumbs {
	display: flex;
    align-items: baseline;
}

.breadcrumbs a {
	overflow: visible !important;
}

.breadcrumbs span {
	position: relative;
}

li.breadcrumbs span:first-child > a {
    margin-left: 2rem;
}

.breadcrumbs:last-child .crumb:last-child:before,
#nav-footer .breadcrumbs .crumb:last-child:before,
ul.linklist > li.inventea-time:before {
	display: none;
}

.breadcrumbs .crumb:before,
.breadcrumbs .crumb:first-child:before,
ul.linklist > li:not(.breadcrumbs):before,
#nav-footer > li.responsive-menu:after {
	content: "" !important;
	font-size: 23px;
	margin: -0.125rem 0.625rem 0 0.625rem;
    padding: 0;
    border-left: 1px solid #cacaca;
    min-height: 1.5rem;
}


/* Footer */

.footer-wrapper {
    background-color: #FFFFFF;
    margin: 0 auto;
    position: relative;
    z-index: 99;
}

.internal-padding {
	padding: 1rem 3.5rem;
}

.online-list {
	background-color: #7166AD;
	color: #FFFFFF;
	
	a {
		color: #FFFFFF !important;
	}
}
