/* DEFAULT (DEFACTO) THEME CUSTOM CSS */

:root {
    --mycs-border-radius: 0.5rem;
    --mycs-night-link-hover: #ffffff;
	--mycs-night-faq-p-text: #ffffff;
    --mycs-day-menu-bg: #f6f9fc;
    --mycs-side-nav-pad: 10px 15px;
	--mycs-side-nav-border-color: #e4e4e4;
}

/* Adjust text and headings on blogs, static pages */

h1, .h1, h2, .h2, h3, .h3, h4, .h4, h5, .h5, h6, .h6 {
    line-height: 1.6rem !important;
    margin: 0 0 0.5rem 0 !important;
}

.blog-text, .static-page-content {
    font-size: 1rem !important;
    line-height: 1.6rem !important;
}

.blog-text h1, .static-page-content h1 {
    font-size: 2rem; !important;
    line-height: 1.6rem !important;
    margin: 0 0 0.5rem 0 !important;
}

.blog-text h2, .static-page-content h2 {
    font-size: 1.8rem; !important;
    line-height: 1.6rem !important;
    margin: 0 0 0.5rem 0 !important;
}

.blog-text h3, .static-page-content h3 {
    font-size: 1.6rem; !important;
    line-height: 1.6rem !important;
    margin: 0 0 0.5rem 0 !important;
}

.blog-text h4, .static-page-content h4 {
    font-size: 1.4rem; !important;
    line-height: 1.6rem !important;
    margin: 0 0 0.5rem 0 !important;
}

.blog-text h5, .static-page-content h5 {
    font-size: 1.2rem !important;
    line-height: 1.6rem !important;
    margin: 0 0 0.5rem 0 !important;
}

.blog-text h6, .static-page-content h6 {
    font-size: 1rem; !important;
    line-height: 1.6rem !important;
    margin: 0 0 0.5rem 0 !important;
}

/* Adjust logo and text on logged out */

.fr_welcome_sign .logo-wrapper img {
    width: 100% !important;
    max-width: 250px !important;
    max-height: 70px !important;
}

.fr_welcome_img_innr h2 {
    font-size: 28px !important;
	line-height: 1.1 !important;
}

.fr_welcome_img_innr h5 {
    font-size: 38px !important;
	line-height: 1.1 !important;
}

.fr_welcome_img_innr p {
    font-size: 20px !important;
	line-height: 1.5 !important;
}

@media (max-width: 900px) {
    .fr_welcome_sign_head h5 {
        margin: 0 !important;
        font-size: 20px !important;
		line-height: 1.5 !important;
    }
}

/* Logged-in logo Default theme */

.main-header .logo img {
    max-height: 50px !important;
    margin: -10px 0 0 0;
}

/* Reduce search bar width */

.main-header .search-wrapper {
    max-width: 88% !important;
}

/* Adjust top right user menu avatar */

.user-menu > img {
    height: 25px !important;
    width: 25px !important;
    margin-top: 0 !important;
}

@media (min-width: 768px) {
    .user-menu > img {
    height: 40px !important;
    width: 40px !important;
	    margin-top: 0 !important;
    }
}

.dropdown-toggle::after {
    display: inline-block;
    margin-left: .255em;
    vertical-align: .255em;
    content: "";
    border-top: .3em solid;
    border-right: .3em solid transparent;
    border-bottom: 0;
    border-left: .3em solid transparent;
}

/* Adjust post avatar image in feed */

.post-avatar .post-avatar-picture {
    min-width: 60px !important;
    min-height: 60px !important;
    border-radius: 50% !important;
}

/* Give some box shadow standardisation globally */

div.card, div.post, div.publisher {
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05) !important;
	/*box-shadow: 0px 0px 30px 0px rgb(82 63 105 / 5%) !important;*/
}

/* Adjust the Banned page text */

.notfound h1 {
    font-family: "Nunito", sans-serif;
    font-size: 65px;
    font-weight: 700;
    margin-top: 0px;
    margin-bottom: 30px !important;
    color: #151723;
    text-transform: uppercase;
}

.notfound .notfound-circle {
    position: absolute;
    left: 0;
    top: 0;
    width: 140px;
    height: 140px;
    font-size: 140px;
    margin: 0 0 0 -30px !important;
}

/* Adjust position and styling of day time close button and post box right dropdown menu so they line up */

.post-meta .dropdown .dropdown-toggle {
    margin: 0 -10px 0 0;
}

/* Match Sngine-style feed buttons */
div.card.daytime_message button.btn-close.float-end.js_daytime-remover {
    margin: -5px -8px 0 0;
    padding: 4px;
    border-radius: 10px;
    background-color: transparent;
    background-image: none !important; 
    font-size: 26px; 
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 1;
    transition: background 0.15s ease, color 0.15s ease;
}

/* Icon */
div.card.daytime_message button.btn-close.float-end.js_daytime-remover::before {
    content: "×";
    color: #888;
}

/* Hover */
div.card.daytime_message button.btn-close.float-end.js_daytime-remover:hover {
    background: #f4f4f4;
}

div.card.daytime_message button.btn-close.float-end.js_daytime-remover:hover::before {
    color: #666;
}

/* Force the add menu item to always be visible in the top right menu */

li.d-none.d-xxl-block.dropdown {
    display: block !important;
}

/* Make blog cover image full width */

.blog-wrapper img.img-fluid {
    width: 100%;
    border-radius: 16px;
}

/* Increase font size of error message */

.error-message {
    font-size: 2em !important;
}

/* Adjust overall bold font weight */

b, strong {
    font-weight: 500 !important;
}

/* Change font weight for headers in widgets */

.card-header:first-child {
    font-weight: 500 !important;
}

/* Change color of header in widgets to match others */

.card-header {
    background-color: transparent !important;
}

/* Add CSS to global Blockquote */

blockquote {
    margin: 0 1rem !important;
    border-left: 3px solid #898f9c;
    padding: 0 0 0 20px;
}

/* Stop the Like reaction swinging and make it bounce instead */

.reaction.reaction-1 img {
    animation-name: pulse !important;
    animation-timing-function: ease-in-out !important;
}

/* Adjust the top right x close button in the story viewer */

#zuck-modal-content .story-viewer .head .right .close {
    color: #fff;
    opacity: 1;
    text-shadow: none;
    margin: 0 15px 0 0;
}

#zuck-modal-content .story-viewer .head .right .close:hover {
    color: #fff;
    opacity: 0.8;
}

/* Adjust welcome text on homepage Sngine theme */

.landing-intro .h5, .landing-intro h5 {
    font-size: 2rem !important;
    text-align: center;
}

.landing-intro .h1, .landing-intro h1 {
    font-size: calc(0.9rem + 1.5vw) !important;
    text-align: center;
}

@media (min-width: 1200px) {
    .landing-intro .h1, .landing-intro h1 {
        font-size: 1.4rem !important;
    }
}

/* Bring page descriptions to the front of icon/image */

.text-xlg {
    z-index: 1 !important;
	position: relative !important;
}

/* 3 COLUMN RESPONSIVE CSS BEGIN */

.custom_three_column {
  float: left;
  width: 33.33%;
}

/* Clear floats after the columns */
.custom_three_row:after {
  content: "";
  display: table;
  clear: both;
}

@media screen and (max-width: 600px) {
  .custom_three_column {
    width: 100%;
  }
}

/* 3 COLUMN RESPONSIVE CSS END */

/* FAQ PAGE CSS BEGIN */

.faq-div-wrapper {
  margin: 0;
  padding: 1rem;
}

.faq-tab {
  border-bottom: 1px solid #fff;
  margin: 0 0 -5px 0;
}

.faq-tab__closed {
  border-bottom: 0;
}

.faq-tab__label:hover, .faq-tab__close:hover {
  background: var(--bs-gray-600);
}

/* Core styles/functionality */
.faq-tab input {
  position: absolute;
  opacity: 0;
  z-index: -1;
}
.faq-tab__content {
  max-height: 0;
  overflow: hidden;
  transition: all 0.35s;
}
.faq-tab input:checked ~ .faq-tab__content {
  max-height: 30rem;
}

/* Visual styles */
.faq-accordion {
  color: var(--bs-gray-600);
  border: 1px solid;
  border-radius: 0.5rem;
  overflow: hidden;
}
.faq-tab__label,
.faq-tab__close {
  display: flex;
  color: white;
  background: var(--bs-gray-500);
  cursor: pointer;
}
.faq-tab__label {
  justify-content: space-between;
  padding: 10px;
  font-weight: 500;
  font-size: inherit;
  margin: 0 0 5px 0;
}
.faq-tab__label::after {
  content: "\276F";
  width: 1em;
  height: 1em;
  text-align: center;
  transform: rotate(90deg);
  transition: all 0.35s;
}
.faq-tab input:checked + .faq-tab__label::after {
  transform: rotate(270deg);
}
.faq-tab__content p {
  margin: 0;
  padding: 1rem 1rem 2rem 1rem;
  color: var(--body-color);
}

body.night-mode .faq-tab__content p {
    color: var(--mycs-night-faq-p-text) !important;
}

.faq-tab__close {
  justify-content: flex-end;
  padding: 0.7rem 1rem;
  font-size: 1.2rem;
}

/* Arrow animation */
.faq-tab input:not(:checked) + .faq-tab__label:hover::after {
  animation: bounce .5s infinite;
}
@keyframes bounce {
  25% {
    transform: rotate(90deg) translate(.25rem);
  }
  75% {
    transform: rotate(90deg) translate(-.25rem);
  }
}

/* FAQ PAGE CSS END */

/* Crunchify Back To Top CSS Begin */

.crunchify-top:hover {
    color: #fff !important;
    background-color: #999;
    text-decoration: none;
    -webkit-box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2), 0 6px 20px 0 rgba(0,0,0,0.19);
    -moz-box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2), 0 6px 20px 0 rgba(0,0,0,0.19);
    box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2), 0 6px 20px 0 rgba(0,0,0,0.19);
    -webkit-transition: background-color .5s ease-in-out;
    -moz-transition: background-color .5s ease-in-out;
    -o-transition: background-color .5s ease-in-out;
    transition: background-color .5s ease-in-out;
}
 
.crunchify-top {
    display: none;
    position: fixed;
    bottom: 30px;
    left: 150px;
    width: 50px;
    height: 50px;
    line-height: 50px;
    font-size: 26px;
    color: #e5e5e5;
    background-color: #743CFD;
    text-decoration: none;
    border-radius: 16px;
    text-align: center;
    cursor: pointer;
    -webkit-transition: .5s all;
    -moz-transition: .5s all;
    transition: .5s all;
    -webkit-transition: background-color .5s ease-in-out;
    -moz-transition: background-color .5s ease-in-out;
    -o-transition: background-color .5s ease-in-out;
    transition: background-color .5s ease-in-out;
    z-index: 1000;
    box-shadow: 0px 3px 5px -1px rgb(0 0 0 / 20%), 0px 6px 10px 0px rgb(0 0 0 / 14%), 0px 1px 18px 0px rgb(0 0 0 / 12%);
}

@media screen and (max-width: 668px) {
  .crunchify-top {
    display: none !important;
  }
}

@media screen and (max-width: 1024px) and (orientation: landscape) {
  .crunchify-top {
    bottom: 5px;
    left: 5px;
  }
}

/* Cruncify Back To Top CSS End */

/* RE-DESIGN MENUS CSS BEGIN */

/* Global text, background and colors for menu items */

/* ---------- DAY MODE ---------- */

/* Background on hover/focus/active */
div.dropdown-menu .dropdown-item:hover,
div.dropdown-menu .dropdown-item:focus,
div.dropdown-menu .dropdown-item:active {
    background-color: var(--mycs-day-menu-bg) !important;
}

/* Text colour on hover (only hover changes text in day mode) */
div.dropdown-menu .dropdown-item:hover {
    color: var(--link-color) !important;
}

/* Text colour on active */
div.dropdown-menu .dropdown-item:active {
    color: var(--bs-dropdown-link-color) !important;
}

/* ---------- NIGHT MODE ---------- */

/* Background and links on hover/focus/active */
body.night-mode div.dropdown-menu .dropdown-item:hover,
body.night-mode div.dropdown-menu .dropdown-item:focus,
body.night-mode div.dropdown-menu .dropdown-item:active {
    background-color: var(--card-dark-hover) !important;
    color: var(--mycs-night-link-hover) !important;
}


/* Re-design the top right user menu slightly */

.navbar-wrapper > ul > li > a > .header-icon svg,
.navbar-wrapper > ul > li > a > .header-icon svg path,
.navbar-wrapper > ul > li > a > .header-icon svg circle,
.navbar-wrapper > ul > li > a > .header-icon svg rect {
    fill: var(--link-color) !important;
    stroke: var(--link-color) !important;
}

/* Avatar and base wrapper (hover + lift) */
div.navbar-wrapper .dropdown, div.navbar-wrapper img.rounded-circle {
    position: relative;
    transition: all 0.3s ease;
}
div.navbar-wrapper .dropdown:hover, div.navbar-wrapper a.dropdown-item:hover img.rounded-circle {
    transform: translateY(-2px);
}

/* underline pseudo-element (hidden by default) */
div.navbar-wrapper .dropdown::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    transform-origin: center;
    width: 24px;
    height: 2px;
    background: var(--link-color);
    border-radius: 2px;
    transition: transform 0.3s ease;
}

/* show underline on hover */
div.navbar-wrapper .dropdown:hover::after {
    transform: translateX(-50%) scaleX(1);
}

/* exclude user menu wrappers that have .user-menu on the wrapper itself */
div.navbar-wrapper .dropdown.user-menu::after,
div.navbar-wrapper .dropdown > a.dropdown-toggle.user-menu::after {
    display: none !important;
}


/* Re-design the main left user sidebar menu slightly */

.main-side-nav ul a,
.side-nav ul a {
    border-bottom: 1px solid var(--mycs-side-nav-border-color) !important;
    border-left: 1px solid var(--mycs-side-nav-border-color) !important;
}

body.night-mode .main-side-nav ul a,
body.night-mode .side-nav ul a {
    border-bottom: 1px solid var(--card-dark-divider) !important;
    border-left: 1px solid var(--card-dark-divider) !important;
}

.main-side-nav a,
.main-side-nav .static,
.side-nav a,
.side-nav .static {
    padding: var(--mycs-side-nav-pad) !important;
    border-radius: var(--mycs-border-radius) !important;
}

/* ---------- DAY MODE ---------- */
#newsfeed li.active > a,
#mine li.active > a,
.side-nav a:hover,
.side-nav li.active > a,
.main-side-nav a:hover,
.main-side-nav li.active > a {
    background-color: var(--mycs-day-menu-bg) !important;
    color: var(--link-color) !important;
}


/* ---------- NIGHT MODE ---------- */
body.night-mode #newsfeed li.active > a,
body.night-mode #mine li.active > a,
body.night-mode .side-nav a:hover,
body.night-mode .side-nav li.active > a,
body.night-mode .main-side-nav a:hover,
body.night-mode .main-side-nav li.active > a {
    background-color: var(--card-dark-hover) !important;
    color: var(--mycs-night-link-hover) !important;
}

/* Base state for the icon container */
.main-side-nav a .svg-container, .side-nav a .svg-container {
    position: relative;
    transition: all 0.3s ease;
}

/* Icon lift on row hover */
.main-side-nav a:hover .svg-container, .side-nav a:hover .svg-container {
    transform: translateY(-2px);
}

/* Underline default (hidden) */
.main-side-nav a .svg-container::after, .side-nav a .svg-container::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    transform-origin: center;
    width: 24px;
    height: 2px;
    background: var(--link-color);
    border-radius: 2px;
    transition: transform 0.3s ease;
}

/* Underline animation on row hover */
.main-side-nav a:hover .svg-container::after, .side-nav a:hover .svg-container::after {
    transform: translateX(-50%) scaleX(1);
}


/* Re-design the top right dropdown menu in posts box slightly */

/* Base state for the icon */
div.float-end.dropdown div.dropdown-menu .dropdown-item .svg-container {
    position: relative;
    transition: all 0.3s ease;
}

/* Icon lift on hover */
div.float-end.dropdown div.dropdown-menu .dropdown-item:hover .svg-container {
    transform: translateY(-2px);
}

/* Hidden underline by default */
div.float-end.dropdown div.dropdown-menu .dropdown-item .svg-container::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 24px;
    height: 2px;
    background: var(--link-color);
    border-radius: 2px;
    transition: transform 0.3s ease;
}

/* Animate underline on hover */
div.float-end.dropdown div.dropdown-menu .dropdown-item:hover .svg-container::after {
    transform: translateX(-50%) scaleX(1);
}


/* Re-design the left filters dropdown menu above posts slightly */

/* Base state for the icon */
div.posts-filter div.dropdown-menu .dropdown-item .svg-container {
    position: relative;
    transition: all 0.3s ease;
}

/* Icon lift on hover */
div.posts-filter div.dropdown-menu .dropdown-item:hover .svg-container {
    transform: translateY(-2px);
}

/* Hidden underline by default */
div.posts-filter div.dropdown-menu .dropdown-item .svg-container::after {
    content: '';
    position: absolute;
    bottom: -9px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 24px;
    height: 2px;
    background: var(--link-color);
    border-radius: 2px;
    transition: transform 0.3s ease;
}

/* Animate underline on hover */
div.posts-filter div.dropdown-menu .dropdown-item:hover .svg-container::after {
    transform: translateX(-50%) scaleX(1);
}


/* Re-design the top right user dropdown menu slightly */

/* Base state for the icon */
div.navbar-wrapper div.dropdown-menu .dropdown-item .svg-container {
    position: relative;
    transition: all 0.3s ease;
}

/* Icon lift on hover */
div.navbar-wrapper div.dropdown-menu .dropdown-item:hover .svg-container {
    transform: translateY(-2px);
}

/* Hidden underline by default */
div.navbar-wrapper div.dropdown-menu .dropdown-item .svg-container::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 24px;
    height: 2px;
    background: var(--link-color);
    border-radius: 2px;
    transition: transform 0.3s ease;
}

/* Animate underline on hover */
div.navbar-wrapper div.dropdown-menu .dropdown-item:hover .svg-container::after {
    transform: translateX(-50%) scaleX(1);
}


/* Re-design the bottom right user chat dropdown/up menu slightly */

/* Base state */
div.chat-sidebar > div.chat-sidebar-footer .action .svg-container {
    position: relative;
    transition: transform 0.3s ease;
}

/* Lift on hover */
div.chat-sidebar > div.chat-sidebar-footer .action:hover .svg-container {
    transform: translateY(-2px);
}

/* Hidden underline */
div.chat-sidebar > div.chat-sidebar-footer .action .svg-container::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    width: 24px;
    height: 2px;
    background: var(--link-color);
    border-radius: 2px;
    transform: translateX(-50%) scaleX(0);
    transition: transform 0.3s ease;
}

/* Show underline on hover */
div.chat-sidebar > div.chat-sidebar-footer .action:hover .svg-container::after {
    transform: translateX(-50%) scaleX(1);
}


/* Re-design the right user dropdown/up menu on the users profile page cover image slightly */

/* Base state */
.profile-header .svg-container {
    position: relative;
    transition: all 0.3s ease;
}

/* Lift on hover */
.profile-header a:hover .svg-container,
.profile-header div.dropdown-item:hover .svg-container {
    transform: translateY(-2px);
}

/* Underline hidden by default */
.profile-header .svg-container::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 24px;
    height: 2px;
    background: var(--link-color);
    border-radius: 2px;
    transition: transform 0.3s ease;
}

/* Underline visible on hover */
.profile-header a:hover .svg-container::after,
.profile-header div.dropdown-item:hover .svg-container::after {
    transform: translateX(-50%) scaleX(1);
}

/* Re-design the user menu on the users profile page under the cover image slightly */

/* Base state */
.profile-tabs-wrapper .svg-container {
    position: relative;
    transition: all 0.3s ease;
}

/* Lift on hover */
.profile-tabs-wrapper a:hover .svg-container {
    transform: translateY(-2px);
}

/* Underline hidden by default */
.profile-tabs-wrapper .svg-container::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 24px;
    height: 2px;
    background: var(--link-color);
    border-radius: 2px;
    transition: transform 0.3s ease;
}

/* Underline on hover */
.profile-tabs-wrapper a:hover .svg-container::after {
    transform: translateX(-50%) scaleX(1);
}

/* RE-DESIGN MENUS CSS END */
