/*

Theme Name: Team Easy Online

Theme URI: https://teameasyonline.com/

Description: Custom theme for Team Easy Online.

Version: 1.0

Author: Clare Bowen

*/


@charset "utf-8";


/* Main font settings */

body {
	font-size: 16px;
	font-weight: 400;
	color: #212529;
	background-color: #f5f8fa;
}


/* Main styles for the top level of the main menu */

.lfm_menu_bar {
	background-color: #007bff;
	padding: 0 0 45px;
	margin-bottom: 20px; /* If your menu bar is overlapping the page content, increase the margin here */
}

@media (max-width: 991.98px) {
	/* Mobile view settings for the top level navigation */
	.lfm_menu_bar {
		padding-bottom: 0;
		margin-bottom: 20px;
	}
}


/* Site logo styles */

.lfm_menu_logo {
	max-height: 35px;
}
@media (min-width: 992px) {
	.lfm_menu_logo {
		margin-right: 20px;
	}
}


.lfm_menu_bar .navbar-nav > .nav-item > .nav-link {
	/* Sets the navigation tabs for the top level */
	font-size: 15px;
	color: #FFFFFF;
}

.lfm_menu_bar .navbar-nav > .nav-item.lfm_tab_opened > .nav-link {
	/* Changes the colors when a tab is opened */
	color: navy;
	background-color: #FFFFFF;
}

.lfm_menu_bar .navbar-nav > .nav-item > .nav-link:hover {
	/* Hover style when a tab is not opened */
	background-color: #089cff;
}

.lfm_menu_bar .navbar-nav > .nav-item.lfm_tab_opened > .nav-link:hover {
	/* Hover style when a tab is opened */
	background-color: #FFFFFF;
}

@media (min-width: 992px) {
	/* Desktop view settings for the top level navigation tabs */
	.lfm_menu_bar .navbar-nav > .nav-item > .nav-link {
		margin: 0px 3px;
		padding: 6px 15px;
		border: 1px solid rgba(255,255,255,0);
		border-radius: 5px;
		position: relative;
	}
	
	.lfm_menu_bar .navbar-nav > .nav-item.lfm_tab_opened > .nav-link,
	.lfm_menu_bar .navbar-nav > .nav-item > .nav-link:hover {
		border: 1px solid #DDDDDD;
	}
	
	.lfm_menu_bar .navbar-nav > .nav-item.lfm_tab_opened > .nav-link:after {
		/* Fills in the gap between an opened tab and the bottom of the bar */
		content: "";
		background-color: #FFFFFF;
		width: calc(100% + 2px);
		height: 14px;
		position: absolute;
		bottom: -10px;
		left: -1px;
		border: 1px solid #DDDDDD;
		border-top: none;
	}
}

@media (max-width: 991.98px) {
	/* Mobile view settings for the top level navigation tabs */
	.lfm_menu_bar .navbar-nav > .nav-item > .nav-link {
		padding: 8px 15px;
		text-align: left;
	}
	
	.lfm_menu_bar .navbar-nav > .nav-item.lfm_tab_closed > .nav-link {
		/* Returns to the original colors when a tab is closed in mobile */
		color: #FFFFFF;
		background-color: #007bff;
	}
	
	.lfm_menu_bar .navbar-nav > .nav-item.lfm_tab_closed > .nav-link:hover {
		/* Returns to the original hover effect when closed in mobile  */
		color: #FFFFFF;
		background-color: #089cff;
	}
	
	/* Adds an arrow in mobile view */
	.lfm_menu_bar .navbar-nav > .nav-item > .nav-link:after {
		content: "";
		border-top: 0.3em solid;
		border-right: 0.3em solid transparent;
		border-bottom: 0;
		border-left: 0.3em solid transparent;
		color: #FFFFFF;
		transform: rotate(-90deg);
		position: absolute;
		right: 1.25rem;
		transition: all 0.1s ease-out;
	}
	.lfm_menu_bar .navbar-nav > .nav-item.lfm_tab_opened > .nav-link:after {
		color: navy;
		transform: rotate(0deg);
	}
	.lfm_menu_bar .navbar-nav > .nav-item.lfm_tab_closed > .nav-link:after {
		color: #FFFFFF;
		transform: rotate(-90deg);
	}
}


/* Main styles for the second level of the main menu */

.lfm_menu_tab {
	background-color: #FFFFFF;
	border: 1px solid #DDDDDD;
	position: absolute;
	display: none;
	left: 0;
	top: 100%;
	z-index: 999;
	width: 100%;
}

li.lfm_tab_opened .lfm_menu_tab {
	display: flex;
}

@media (max-width: 991.98px) {
	/* Mobile view settings for the second level navigation */
	.lfm_menu_tab {
		background-color: #EEEEEE;
		position: relative;
		flex-direction: column;
		top: 0;
		padding: 5px 0;
	}
	li.lfm_tab_closed .lfm_menu_tab {
		display: none;
	}
}


.lfm_menu_tab > li > a {
	/* Sets the navigation links for the second level */
	font-size: 15px;
	padding: 0 20px;
	line-height: 45px;
	color: #444444;
	text-decoration: none;
	display: block;
}
.lfm_menu_tab > li > a:hover {
	color: navy;
}

.lfm_menu_tab .dropdown-menu a {
	/* Sets the navigation links for the third level */
	font-size: 15px;
	padding: 0 20px;
	line-height: 32px;
	color: #444444;
	text-decoration: none;
	white-space: nowrap;
	display: block;
}
.lfm_menu_tab .dropdown-menu li:hover {
	background-color: #EEEEEE;
}

@media (max-width: 991.98px) {
	/* Mobile view settings for the second level navigation links */
	.lfm_menu_tab > li > a {
		padding-left: 40px;
		line-height: 36px;
		width: 100%;
	}
	
	/* Mobile view settings for the third level navigation links */
	.lfm_menu_tab .dropdown-menu a {
		padding-left: 50px;
	}
}


/* Styles for the footer */

.lfm_footer {
	background-color: #001330;
}


/* Icon settings */

.far, .fas {
	margin-right:3px;
}

.feedicon {
	color:#3097D1;
	font-size:20px;
	margin-right:5px;
}


/* Profile picture sizes */

.profilepic_small {
	width:40px;
	height:40px;
}

.profilepic_med {
	width:75px;
	height:75px;
}

.profilepic_large {
	width:200px;
	height:200px;
}


/* Various styles */

.buttonlink {
	/* This class defines <a> tag links that look like buttons */
	cursor: pointer;
	background-color:#1468e5;
	border-radius:2px;
	border:1px solid #002175;
	display:inline-block;
	cursor:pointer;
	color:#FFFFFF;
	font-family:arial;
	font-size:18px;
	font-weight:500;
	padding:4px 7px;
	margin:2px 1px 2px 1px;
	text-decoration:none;
}
.buttonlink:hover {
	/* This controls the button links when you hover over them */
	color:#FFFFFF;
	background-color:#3385FF;
	text-decoration:none;
}


.infobar {
	/* This class defines sections that span the entire page width */
	width:100%;
	padding-top: 15px;
	padding-bottom: 15px;
	color:#FFFFFF;
	background-color:#555555;
}
.infobar h2 {
	color:#FFFFFF;
}


.vcenter {
	/* This is a class that can be used in Bootstrap rows to vertically center the content */
	display: flex;
	align-items: center;
}


/* The next 3 sections control various text styles used throughout the LFM Members Area */
.lfm_title {
	font-family: "Arial"; color:#333333; font-size:32px;
}

.lfm_descr {
	font-family: "Arial"; color:#111111; font-size:16px;
}

.lfm_descr_bold {
	font-family: "Arial"; color:#000000; font-size:16px;
	font-weight:700;
}



/* =========================================================
   TEAM EASY ONLINE
   APPROVED FRONT PAGE MOCKUP DESIGN
   ========================================================= */


:root {
    --teo-cream: #fbf7ef;
    --teo-cream-dark: #f1e9dc;
    --teo-navy: #092f49;
    --teo-teal: #155f5a;
    --teo-coral: #ca543f;
    --teo-gold: #c99219;
    --teo-text: #17384d;
}


/* ---------------------------------------------------------
   BASE
   --------------------------------------------------------- */

body.teo-theme {
    margin: 0;
    background: var(--teo-cream);
    color: var(--teo-text);
}

.teo-page-shell {
    padding: 0 !important;
    margin: 0 !important;
}

.teo-page-container {
    max-width: none !important;
    width: 100% !important;
    padding: 0 !important;
}


/* ---------------------------------------------------------
   HEADER
   --------------------------------------------------------- */

.teo-public .lfm_menu_bar {
    margin: 0 !important;
    padding: 0 !important;

    background: #fffdf9 !important;

    border: 0 !important;
    border-bottom:
        1px solid
        rgba(12,48,70,.06) !important;

    box-shadow:
        0 3px 16px
        rgba(32,42,45,.06) !important;
}

.teo-public .lfm_menu_bar .navbar {
    width: calc(100% - 140px);
    max-width: none;

    min-height: 74px;

    margin: 0 auto;
    padding: 8px 26px;
}

.teo-public .teo-brand {
    display: flex;
    align-items: center;

    text-decoration: none !important;
}

.teo-public .teo-brand-mark {
    width: 44px;
    height: 44px;

    padding: 5px;

    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px;

    margin-right: 12px;

    border-radius: 7px;

    background: #123e4e;

    box-shadow: none;
}

.teo-public .teo-brand-mark span {
    display: block;
    border-radius: 2px;
}

.teo-public .teo-brand-mark span:nth-child(1) {
    background: #e85d56;
}

.teo-public .teo-brand-mark span:nth-child(2) {
    background: #1cb8b0;
}

.teo-public .teo-brand-mark span:nth-child(3) {
    background: #e7ad3d;
}

.teo-public .teo-brand-mark span:nth-child(4) {
    background: #f3e9d4;
}

.teo-public .teo-brand-copy {
    display: flex;
    flex-direction: column;
}

.teo-public .teo-brand-copy strong {
    color: #112f45;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 21px;
    line-height: 1.05;
    font-weight: 700;
}

.teo-public .teo-brand-copy small {
    margin-top: 3px;

    color: #436477;

    font-size: 11px;
    line-height: 1;
}

.teo-public .navbar-nav {
    margin-left: auto !important;

    display: flex;
    align-items: center;

    gap: 25px;
}

.teo-public .lfm_menu_tab {
    display: none !important;
}

.teo-public .teo-public-link > .nav-link {
    padding: 10px 0 !important;

    color: #0a3049 !important;

    background: none !important;

    border: 0 !important;

    font-weight: 600;
    font-size: 14px;
}

.teo-public .teo-public-link > .nav-link:hover {
    color: var(--teo-coral) !important;
}

.teo-public .teo-public-join {
    margin-left: 10px;
}

.teo-public .teo-public-join > .nav-link {
    min-width: 145px;

    padding: 12px 22px !important;

    text-align: center;

    color: #fff !important;

    background:
        var(--teo-teal) !important;

    border-radius: 999px !important;

    box-shadow: none !important;

    font-size: 14px;
    font-weight: 700;
}


/* ---------------------------------------------------------
   HERO
   --------------------------------------------------------- */

.teo-mockup-hero {
    position: relative;

    min-height: 560px;

    overflow: hidden;

    background: #c95f46;
}

.teo-mockup-art {
    position: absolute;

    z-index: 1;

    top: 0;
    right: 0;
    bottom: 0;

    width: 61%;

    overflow: hidden;
}

.teo-mockup-art img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: 50% 51%;
}

.teo-mockup-cream {
    position: absolute;

    z-index: 2;

    left: 0;
    top: -14%;

    width: 52%;
    height: 126%;

    background: var(--teo-cream);

    border-radius:
        0 53% 53% 0 /
        0 49% 51% 0;
}

.teo-mockup-inner {
    position: relative;

    z-index: 3;

    width: calc(100% - 140px);
    max-width: none;

    margin: 0 auto;
    padding: 60px 26px 96px;
}

.teo-mockup-copy {
    width: 48%;
    max-width: 525px;
}

.teo-mockup-kicker {
    display: flex;
    align-items: center;

    gap: 15px;

    margin-bottom: 25px;

    color: var(--teo-navy);

    font-size: 11px;
    letter-spacing: 3px;
    font-weight: 800;
}

.teo-mockup-kicker span {
    display: block;

    width: 42px;
    height: 2px;

    background: var(--teo-gold);
}

.teo-mockup-copy h1 {
    margin: 0 0 23px;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-weight: 700;

    font-size:
        clamp(
            54px,
            5.1vw,
            75px
        );

    line-height: .98;

    letter-spacing: -3px;
}

.teo-mockup-copy h1 span,
.teo-mockup-copy h1 strong {
    display: block;
}

.teo-mockup-copy h1 span {
    color: var(--teo-navy);
}

.teo-mockup-copy h1 strong {
    color: var(--teo-coral);
    font-weight: 700;
}

.teo-mockup-lead {
    max-width: 495px;

    margin: 0 0 24px;

    color: #183b50;

    font-size: 18px;
    line-height: 1.54;
}

.teo-mockup-buttons {
    display: flex;
    flex-wrap: wrap;

    gap: 17px;

    margin-bottom: 28px;
}

.teo-mockup-buttons a {
    min-height: 53px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 0 29px;

    border-radius: 999px;

    text-decoration: none !important;

    font-weight: 700;
}

.teo-mockup-join {
    min-width: 205px;

    gap: 26px;

    color: #fff !important;

    background: var(--teo-teal);
}

.teo-mockup-join span {
    font-size: 28px;
    line-height: 1;
}

.teo-mockup-login {
    min-width: 190px;

    color: var(--teo-navy) !important;

    border: 2px solid #1d7484;

    background:
        rgba(255,255,255,.18);
}

.teo-mockup-proof {
    display: flex;
    align-items: center;

    gap: 14px;

    color: #31576a;

    font-size: 11px;
}

.teo-mockup-proof > div {
    display: flex;
    align-items: center;

    gap: 8px;

    white-space: nowrap;
}

.teo-mockup-proof i {
    color: var(--teo-navy);

    font-size: 17px;
}

.teo-mockup-proof b {
    width: 1px;
    height: 25px;

    background:
        #d6c8b7;
}


/* ---------------------------------------------------------
   THREE FEATURE CARDS
   --------------------------------------------------------- */

.teo-mockup-cards {
    position: relative;

    z-index: 6;

    width: calc(100% - 140px);
    max-width: none;

    margin: -48px auto 0;

    padding: 0 26px;

    display: grid;
    grid-template-columns:
        repeat(3,1fr);

    gap: 15px;
}

.teo-mockup-card {
    min-height: 132px;

    display: grid;
    grid-template-columns:
        76px 1fr 28px;

    align-items: center;

    gap: 16px;

    padding: 22px 20px;

    text-decoration: none !important;

    border-radius: 13px;

    box-shadow:
        0 12px 32px
        rgba(55,58,54,.08);
}

.teo-card-build {
    background: #fff8f7;
}

.teo-card-connect {
    background: #f4fffd;
}

.teo-card-grow {
    background: #fffdf5;
}

.teo-card-icon {
    width: 67px;
    height: 67px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    font-size: 25px;
}

.teo-card-build .teo-card-icon {
    color: #b9352b;
    background: #fbd8d3;
}

.teo-card-connect .teo-card-icon {
    color: #08756f;
    background: #d2f4ef;
}

.teo-card-grow .teo-card-icon {
    color: #a97304;
    background: #faecc1;
}

.teo-card-copy h3 {
    margin: 0 0 5px;

    color: var(--teo-navy) !important;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 22px;
}

.teo-card-copy p {
    margin: 0;

    color: #31546a;

    font-size: 13px;
    line-height: 1.42;
}

.teo-card-arrow {
    font-size: 28px;
}

.teo-card-build .teo-card-arrow {
    color: var(--teo-coral);
}

.teo-card-connect .teo-card-arrow {
    color: #07837c;
}

.teo-card-grow .teo-card-arrow {
    color: #b17c0d;
}


/* ---------------------------------------------------------
   BOTTOM STATEMENT
   --------------------------------------------------------- */

.teo-mockup-signoff {
    position: relative;

    overflow: hidden;

    min-height: 210px;

    margin-top: -3px;

    padding:
        65px 25px
        55px;

    text-align: center;

    background:
        var(--teo-cream);
}

.teo-mockup-signoff:before {
    content: "";

    position: absolute;

    z-index: 0;

    width: 118%;
    height: 125px;

    left: -9%;
    top: -81px;

    background: #fffdf8;

    border-radius:
        0 0 50% 50%;
}

.teo-mockup-signoff h2 {
    position: relative;

    z-index: 2;

    margin: 0 0 10px;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size:
        clamp(
            43px,
            5vw,
            64px
        );

    line-height: 1;
}

.teo-mockup-signoff h2 span {
    color: var(--teo-coral);
}

.teo-mockup-signoff h2 strong {
    color: var(--teo-navy);
    font-weight: 700;
}

.teo-mockup-signoff h2 em {
    color: var(--teo-gold);
    font-style: normal;
}

.teo-signoff-line {
    position: relative;

    z-index: 2;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 18px;
}

.teo-signoff-line > span {
    width: 72px;
    height: 1px;

    background: var(--teo-gold);
}

.teo-signoff-line p {
    margin: 0;

    color: #ba7a20;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 16px;
    font-style: italic;

    letter-spacing: .5px;
}

.teo-signoff-pixels {
    position: absolute;

    right: 55px;
    bottom: 26px;

    width: 67px;
    height: 67px;
}

.teo-signoff-pixels i {
    position: absolute;

    display: block;

    width: 17px;
    height: 17px;
}

.teo-signoff-pixels i:nth-child(1) {
    right: 0;
    top: 0;
    background: #0f7a78;
}

.teo-signoff-pixels i:nth-child(2) {
    right: 24px;
    top: 23px;
    background: #4b8987;
}

.teo-signoff-pixels i:nth-child(3) {
    right: 1px;
    top: 45px;
    background: #789b72;
}

.teo-signoff-pixels i:nth-child(4) {
    right: 45px;
    top: 46px;
    background: #d59a2f;
}


/* ---------------------------------------------------------
   FOOTER
   --------------------------------------------------------- */

.teo-site-footer {
    background: #103c48 !important;
    color: #ffffff;
    padding: 30px 0;
    border-top: 1px solid rgba(255,255,255,.08);
}

.teo-site-footer .container {
    width: calc(100% - 140px);
    max-width: none;
    margin: 0 auto;
    padding: 0 26px;
}

.teo-footer-inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 30px;
}

.teo-footer-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.teo-footer-brand strong {
    color: #ffffff;
    font-family:
        Georgia,
        "Times New Roman",
        serif;
    font-size: 18px;
    line-height: 1.2;
}

.teo-footer-brand span {
    margin-top: 4px;
    color: rgba(255,255,255,.68);
    font-size: 12px;
    letter-spacing: .3px;
}

.teo-footer-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
}

.teo-footer-links a {
    color: rgba(255,255,255,.88);
    font-size: 14px;
    text-decoration: none;
    transition:
        color .2s ease,
        opacity .2s ease;
}

.teo-footer-links a:hover {
    color: #ffffff;
    text-decoration: none;
}

.teo-footer-copy {
    justify-self: end;
    color: rgba(255,255,255,.58);
    font-size: 12px;
    white-space: nowrap;
}

@media (max-width: 991px) {

    .teo-site-footer .container {
        width: 100%;
        padding-left: 24px;
        padding-right: 24px;
    }

    .teo-footer-inner {
        grid-template-columns: 1fr;
        justify-items: center;
        gap: 18px;
        text-align: center;
    }

    .teo-footer-brand {
        align-items: center;
    }

    .teo-footer-copy {
        justify-self: center;
    }

}

@media (max-width: 600px) {

    .teo-site-footer {
        padding: 26px 0;
    }

    .teo-footer-links {
        flex-wrap: wrap;
        gap: 10px 20px;
    }

}


/* ---------------------------------------------------------
   RESPONSIVE
   --------------------------------------------------------- */

@media (max-width: 991px) {

    .teo-public .navbar-nav {
        align-items: stretch;
        gap: 0;
    }

    .teo-public .teo-public-join {
        margin: 8px 0 0;
    }

    .teo-mockup-hero {
        min-height: auto;
        padding-bottom: 0;
    }

    .teo-mockup-art {
        position: relative;

        width: 100%;
        height: 520px;

        margin-top: 440px;
    }

    .teo-mockup-cream {
        top: 0;

        width: 100%;
        height: 470px;

        border-radius:
            0 0 48% 48%;
    }

    .teo-mockup-inner {
        position: absolute;

        top: 0;
        left: 0;
        right: 0;

        padding-top: 48px;
    }

    .teo-mockup-copy {
        width: 100%;
        max-width: 620px;
    }

    .teo-mockup-cards {
        margin-top: -34px;

        grid-template-columns: 1fr;
    }

}

@media (max-width: 600px) {

    .teo-mockup-inner {
        padding:
            40px 20px
            50px;
    }

    .teo-mockup-copy h1 {
        font-size: 48px;
        letter-spacing: -2px;
    }

    .teo-mockup-lead {
        font-size: 16px;
    }

    .teo-mockup-proof {
        flex-wrap: wrap;
    }

    .teo-mockup-proof b {
        display: none;
    }

    .teo-mockup-art {
        height: 405px;
        margin-top: 475px;
    }

    .teo-mockup-cream {
        height: 500px;
    }

    .teo-mockup-buttons {
        display: grid;
        grid-template-columns: 1fr;
    }

    .teo-mockup-buttons a {
        width: 100%;
    }

    .teo-mockup-card {
        grid-template-columns:
            58px 1fr 20px;

        padding: 18px 16px;
    }

    .teo-card-icon {
        width: 52px;
        height: 52px;
    }

    .teo-mockup-signoff h2 span,
    .teo-mockup-signoff h2 strong,
    .teo-mockup-signoff h2 em {
        display: block;
    }

    .teo-signoff-pixels {
        opacity: .45;
    }

}


@media (max-width: 991px) {
    .teo-public .lfm_menu_bar .navbar,
    .teo-mockup-inner,
    .teo-mockup-cards {
        width: 100%;
    }
}


/* ---------------------------------------------------------
   HOMEPAGE BUSCAGLIA QUOTE
   --------------------------------------------------------- */

.teo-signoff-quote {
    position: relative;
    z-index: 2;

    max-width: 760px;
    margin: 28px auto 0;

    color: #536b72;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 17px;
    line-height: 1.7;
    font-style: italic;
}

.teo-signoff-quote cite {
    display: block;

    margin-top: 10px;

    color: var(--teo-teal);

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    font-size: 13px;
    font-style: normal;
    font-weight: 600;

    letter-spacing: .8px;
}

@media (max-width: 600px) {
    .teo-signoff-quote {
        max-width: 92%;
        margin-top: 24px;
        font-size: 15px;
        line-height: 1.65;
    }
}


/* ---------------------------------------------------------
   PUBLIC LOGIN
   --------------------------------------------------------- */

.teo-page-login .lfm_content {
    max-width: 760px;
    margin: 48px auto 70px;
    padding: 0 18px;
}

.teo-page-login .lfm_content > table {
    width: 100% !important;
    max-width: 620px;
    margin: 0 auto;
    background:
        repeating-linear-gradient(
            0deg,
            rgba(91,72,43,.03) 0,
            rgba(91,72,43,.03) 1px,
            transparent 1px,
            transparent 5px
        ),
        #f4edd9;
    border: 1px solid rgba(91,72,43,.24);
    box-shadow:
        0 14px 34px rgba(43,38,29,.12),
        inset 0 0 0 5px rgba(255,255,255,.20);
}

.teo-page-login form[name="loginfrm"] {
    max-width: 430px;
    margin: 26px auto !important;
}

.teo-page-login form[name="loginfrm"] table {
    width: 100% !important;
    max-width: 430px !important;
    margin: 0 auto !important;
    border-collapse: separate !important;
    border-spacing: 0 10px !important;
    background: transparent !important;
}

.teo-page-login form[name="loginfrm"] tr:first-child td {
    padding: 8px 0 16px !important;
    background: transparent !important;
    color: #173c40 !important;
    font-family: Georgia, serif;
    font-size: 28px;
    font-weight: 700;
}

.teo-page-login form[name="loginfrm"] td {
    padding: 5px 8px !important;
    background: transparent !important;
    color: #4f5149;
}

.teo-page-login form[name="loginfrm"] strong {
    color: #173c40;
    font-size: 14px;
}

.teo-page-login form[name="loginfrm"] input[type="text"],
.teo-page-login form[name="loginfrm"] input[type="password"] {
    width: 100% !important;
    min-width: 0;
    box-sizing: border-box;
    padding: 11px 12px;
    border: 1px solid rgba(77,65,46,.32);
    background: rgba(255,253,244,.92);
    color: #173c40;
    border-radius: 3px;
    box-shadow: inset 0 1px 2px rgba(55,43,29,.06);
}

.teo-page-login form[name="loginfrm"] input[type="text"]:focus,
.teo-page-login form[name="loginfrm"] input[type="password"]:focus {
    outline: none;
    border-color: #155F5A;
    box-shadow:
        0 0 0 3px rgba(21,95,90,.10),
        inset 0 1px 2px rgba(55,43,29,.05);
}

.teo-page-login form[name="loginfrm"] input[type="submit"] {
    padding: 10px 20px;
    background: #155F5A;
    border: 1px solid #0d4a47;
    color: #fff;
    font-weight: 700;
    cursor: pointer;
    border-radius: 3px;
    box-shadow: 0 4px 10px rgba(21,95,90,.16);
}

.teo-page-login form[name="loginfrm"] input[type="submit"]:hover {
    background: #0f514d;
}

.teo-page-login form[name="loginfrm"] a {
    color: #155F5A;
    font-weight: 600;
    text-decoration: none;
}

.teo-page-login form[name="loginfrm"] a:hover {
    text-decoration: underline;
}

.teo-page-login .loginerror {
    max-width: 430px;
    margin: 0 auto 14px;
    padding: 10px 12px;
    background: rgba(202,84,63,.10);
    border-left: 4px solid #CA543F;
    color: #7b3d32;
    text-align: left;
}

@media (max-width: 600px) {
    .teo-page-login .lfm_content {
        margin-top: 28px;
        padding: 0 12px;
    }

    .teo-page-login .lfm_content > table {
        max-width: 100%;
    }

    .teo-page-login form[name="loginfrm"] td {
        display: block;
        width: 100% !important;
        text-align: left !important;
    }

    .teo-page-login form[name="loginfrm"] tr {
        display: block;
        margin-bottom: 8px;
    }

    .teo-page-login form[name="loginfrm"] tr:first-child td {
        text-align: center !important;
    }
}


/* ---------------------------------------------------------
   TEO FULL-HEIGHT PAGE / FOOTER
   --------------------------------------------------------- */

html,
body.teo-theme {
    min-height: 100%;
}

body.teo-theme {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

body.teo-theme .teo-page-shell {
    flex: 1 0 auto;
}

body.teo-theme .teo-site-footer {
    margin-top: auto;
}


/* ---------------------------------------------------------
   PUBLIC LOGIN - TACTILE TEO VERSION
   --------------------------------------------------------- */

.teo-page-login .teo-page-shell {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 42px 18px 52px;
    background:
        repeating-linear-gradient(
            0deg,
            rgba(89,72,45,.025) 0,
            rgba(89,72,45,.025) 1px,
            transparent 1px,
            transparent 5px
        ),
        linear-gradient(
            135deg,
            #f8f3e8 0%,
            #eee3ce 100%
        );
}

.teo-page-login .teo-page-container {
    width: 100%;
    max-width: 620px;
}

.teo-page-login .lfm_content {
    max-width: none;
    margin: 0;
    padding: 0;
}

.teo-page-login .lfm_content > table {
    width: 100% !important;
    max-width: none;
    margin: 0 auto;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

.teo-page-login .lfm_content > table > tbody > tr > td {
    padding: 0 !important;
}

.teo-page-login form[name="loginfrm"] {
    position: relative;
    width: 100%;
    max-width: 510px;
    box-sizing: border-box;
    margin: 0 auto !important;
    padding: 34px 42px 30px !important;

    background:
        repeating-linear-gradient(
            0deg,
            rgba(91,72,43,.035) 0,
            rgba(91,72,43,.035) 1px,
            transparent 1px,
            transparent 5px
        ),
        repeating-linear-gradient(
            90deg,
            rgba(255,255,255,.16) 0,
            rgba(255,255,255,.16) 1px,
            transparent 1px,
            transparent 7px
        ),
        #f4ead2;

    border: 1px solid rgba(95,72,43,.30);
    border-radius: 5px;

    box-shadow:
        0 18px 34px rgba(52,43,30,.14),
        inset 0 0 0 5px rgba(255,255,255,.22);
}

.teo-page-login form[name="loginfrm"]:before {
    content: "";
    display: block;
    width: 58px;
    height: 58px;
    margin: 0 auto 15px;

    background:
        url("/themes/TEO/favicon.svg")
        center / contain no-repeat;

    filter:
        drop-shadow(0 3px 4px rgba(47,40,28,.14));
}

.teo-page-login form[name="loginfrm"]:after {
    content: "Pick up where you left off.";
    display: block;
    margin-top: 20px;

    color: #746956;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 13px;
    font-style: italic;
    text-align: center;
}

.teo-page-login form[name="loginfrm"] table {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    border-collapse: separate !important;
    border-spacing: 0 10px !important;
    background: transparent !important;
}

.teo-page-login form[name="loginfrm"] tr:first-child td {
    position: relative;
    padding: 0 0 20px !important;
    background: transparent !important;

    color: transparent !important;
    font-size: 0 !important;
    text-align: center !important;
}

.teo-page-login form[name="loginfrm"] tr:first-child td:before {
    content: "Welcome back";
    display: block;

    color: #173c40;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 31px;
    font-weight: 700;
    line-height: 1.1;
}

.teo-page-login form[name="loginfrm"] tr:first-child td:after {
    content: "Member Login";
    display: block;
    margin-top: 6px;

    color: #a26a3e;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.4px;
    text-transform: uppercase;
}

.teo-page-login form[name="loginfrm"] td {
    padding: 5px 7px !important;
    background: transparent !important;
    color: #4d5049;
}

.teo-page-login form[name="loginfrm"] strong {
    color: #173c40;
    font-size: 13px;
    letter-spacing: .1px;
}

.teo-page-login form[name="loginfrm"] input[type="text"],
.teo-page-login form[name="loginfrm"] input[type="password"] {
    width: 100% !important;
    min-width: 0;
    box-sizing: border-box;

    padding: 12px 13px;

    border:
        1px solid rgba(77,65,46,.34);

    border-radius: 3px;

    background:
        repeating-linear-gradient(
            0deg,
            rgba(92,75,52,.025) 0,
            rgba(92,75,52,.025) 1px,
            transparent 1px,
            transparent 4px
        ),
        #fffaf0;

    color: #173c40;

    box-shadow:
        inset 0 2px 5px rgba(69,52,33,.08),
        0 1px 0 rgba(255,255,255,.6);
}

.teo-page-login form[name="loginfrm"] input[type="text"]:focus,
.teo-page-login form[name="loginfrm"] input[type="password"]:focus {
    outline: none;
    border-color: #155F5A;

    box-shadow:
        inset 0 2px 5px rgba(69,52,33,.06),
        0 0 0 3px rgba(21,95,90,.10);
}

.teo-page-login form[name="loginfrm"] input[type="submit"] {
    min-width: 145px;
    padding: 12px 24px;

    background:
        linear-gradient(
            180deg,
            #1a6d67,
            #105751
        );

    border: 1px solid #0b4844;
    border-radius: 4px;

    color: #fff;
    font-size: 14px;
    font-weight: 700;

    cursor: pointer;

    box-shadow:
        0 5px 10px rgba(21,95,90,.22),
        inset 0 1px 0 rgba(255,255,255,.18);
}

.teo-page-login form[name="loginfrm"] input[type="submit"]:hover {
    transform: translateY(-1px);
    background:
        linear-gradient(
            180deg,
            #207972,
            #125e58
        );
}

.teo-page-login form[name="loginfrm"] tr:last-child td {
    padding-top: 14px !important;
    text-align: center !important;
}

.teo-page-login form[name="loginfrm"] a {
    display: inline-block;
    margin: 3px 6px;
    padding: 7px 10px;

    color: #155F5A !important;

    border-bottom:
        1px dashed rgba(21,95,90,.35);

    font-size: 13px;
    font-weight: 700;
    text-decoration: none !important;
}

.teo-page-login form[name="loginfrm"] a:hover {
    color: #a15e3c !important;
    border-bottom-color: #a15e3c;
}

.teo-page-login .loginerror {
    max-width: 510px;
    margin: 0 auto 16px;
    padding: 11px 14px;

    background: rgba(202,84,63,.10);
    border-left: 4px solid #CA543F;

    color: #753b32;
}

@media (max-width: 600px) {

    .teo-page-login .teo-page-shell {
        padding: 26px 12px 36px;
    }

    .teo-page-login form[name="loginfrm"] {
        padding: 28px 22px 25px !important;
    }

    .teo-page-login form[name="loginfrm"] tr {
        display: block;
        margin-bottom: 9px;
    }

    .teo-page-login form[name="loginfrm"] td {
        display: block;
        width: 100% !important;
        box-sizing: border-box;
        text-align: left !important;
    }

    .teo-page-login form[name="loginfrm"] tr:first-child td,
    .teo-page-login form[name="loginfrm"] tr:last-child td {
        text-align: center !important;
    }
}


.teo-page-login form[name="loginfrm"] tr:first-child,
.teo-page-login form[name="loginfrm"] tr:first-child td {
    background: transparent !important;
    background-color: transparent !important;
}


/* ---------------------------------------------------------
   PUBLIC SIGNUP - TACTILE TEO VERSION
   --------------------------------------------------------- */

.teo-page-signup .teo-page-shell {
    padding: 42px 18px 58px;
    background:
        repeating-linear-gradient(
            0deg,
            rgba(89,72,45,.025) 0,
            rgba(89,72,45,.025) 1px,
            transparent 1px,
            transparent 5px
        ),
        linear-gradient(
            135deg,
            #f8f3e8 0%,
            #eee3ce 100%
        );
}

.teo-page-signup .teo-page-container {
    width: 100%;
    max-width: 760px;
}

.teo-page-signup form[name="loginfrm"] {
    position: relative;
    width: 100%;
    max-width: 650px;
    box-sizing: border-box;
    margin: 0 auto !important;
    padding: 36px 44px 34px !important;

    background:
        repeating-linear-gradient(
            0deg,
            rgba(91,72,43,.035) 0,
            rgba(91,72,43,.035) 1px,
            transparent 1px,
            transparent 5px
        ),
        repeating-linear-gradient(
            90deg,
            rgba(255,255,255,.16) 0,
            rgba(255,255,255,.16) 1px,
            transparent 1px,
            transparent 7px
        ),
        #f4ead2;

    border: 1px solid rgba(95,72,43,.30);
    border-radius: 5px;

    box-shadow:
        0 18px 34px rgba(52,43,30,.14),
        inset 0 0 0 5px rgba(255,255,255,.22);
}

.teo-page-signup form[name="loginfrm"]:before {
    content: "";
    display: block;
    width: 58px;
    height: 58px;
    margin: 0 auto 15px;

    background:
        url("/themes/TEO/favicon.svg")
        center / contain no-repeat;

    filter:
        drop-shadow(0 3px 4px rgba(47,40,28,.14));
}

.teo-page-signup form[name="loginfrm"]:after {
    content: "Start building your place in the TEO community.";
    display: block;
    margin-top: 20px;

    color: #746956;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 13px;
    font-style: italic;
    text-align: center;
}

.teo-page-signup form[name="loginfrm"] > table {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    border-collapse: separate !important;
    border-spacing: 0 8px !important;
    background: transparent !important;
}

.teo-page-signup form[name="loginfrm"] tr.membertdbold td {
    position: relative;
    padding: 0 0 18px !important;

    background: transparent !important;
    background-color: transparent !important;

    color: transparent !important;
    font-size: 0 !important;
    text-align: center !important;
}

.teo-page-signup form[name="loginfrm"] tr.membertdbold td:before {
    content: "Join Team Easy Online";
    display: block;

    color: #173c40;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 31px;
    font-weight: 700;
    line-height: 1.1;
}

.teo-page-signup form[name="loginfrm"] tr.membertdbold td:after {
    content: "New Member Registration";
    display: block;
    margin-top: 6px;

    color: #a26a3e;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.4px;
    text-transform: uppercase;
}

.teo-page-signup form[name="loginfrm"] td {
    padding: 5px 8px !important;
    background: transparent !important;
    color: #4d5049;
}

.teo-page-signup form[name="loginfrm"] .formlabelbold,
.teo-page-signup form[name="loginfrm"] .formlabel {
    color: #173c40 !important;
    font-size: 13px;
    font-weight: 700;
}

.teo-page-signup form[name="loginfrm"] input[type="text"],
.teo-page-signup form[name="loginfrm"] input[type="password"],
.teo-page-signup form[name="loginfrm"] input[type="email"],
.teo-page-signup form[name="loginfrm"] select,
.teo-page-signup form[name="loginfrm"] textarea {
    width: 100% !important;
    max-width: 100%;
    box-sizing: border-box;

    padding: 11px 12px;

    border:
        1px solid rgba(77,65,46,.34);

    border-radius: 3px;

    background:
        repeating-linear-gradient(
            0deg,
            rgba(92,75,52,.025) 0,
            rgba(92,75,52,.025) 1px,
            transparent 1px,
            transparent 4px
        ),
        #fffaf0;

    color: #173c40;

    box-shadow:
        inset 0 2px 5px rgba(69,52,33,.08),
        0 1px 0 rgba(255,255,255,.6);
}

.teo-page-signup form[name="loginfrm"] input:focus,
.teo-page-signup form[name="loginfrm"] select:focus,
.teo-page-signup form[name="loginfrm"] textarea:focus {
    outline: none;
    border-color: #155F5A;

    box-shadow:
        inset 0 2px 5px rgba(69,52,33,.06),
        0 0 0 3px rgba(21,95,90,.10);
}

.teo-page-signup form[name="loginfrm"] input[type="submit"] {
    min-width: 190px;
    padding: 12px 26px;

    background:
        linear-gradient(
            180deg,
            #1a6d67,
            #105751
        );

    border: 1px solid #0b4844;
    border-radius: 4px;

    color: #fff;
    font-size: 14px;
    font-weight: 700;

    cursor: pointer;

    box-shadow:
        0 5px 10px rgba(21,95,90,.22),
        inset 0 1px 0 rgba(255,255,255,.18);
}

.teo-page-signup form[name="loginfrm"] input[type="submit"]:hover {
    transform: translateY(-1px);

    background:
        linear-gradient(
            180deg,
            #207972,
            #125e58
        );
}

.teo-page-signup form[name="loginfrm"] font[color="red"] {
    display: block;
    margin-bottom: 10px;
    padding: 10px 12px;

    background: rgba(202,84,63,.10);
    border-left: 4px solid #CA543F;

    color: #753b32 !important;
    font-family: Arial, Helvetica, sans-serif !important;
    font-size: 13px !important;
    line-height: 1.5;
}

.teo-page-signup form[name="loginfrm"] a {
    color: #155F5A;
    font-weight: 600;
}

.teo-page-signup form[name="loginfrm"] input[type="checkbox"] {
    accent-color: #155F5A;
}

.teo-page-signup center font {
    color: #817562 !important;
    font-family: Georgia, "Times New Roman", serif !important;
    font-size: 12px !important;
    font-style: italic;
}

@media (max-width: 700px) {

    .teo-page-signup .teo-page-shell {
        padding: 26px 12px 38px;
    }

    .teo-page-signup form[name="loginfrm"] {
        padding: 28px 22px 26px !important;
    }

    .teo-page-signup form[name="loginfrm"] tr {
        display: block;
        margin-bottom: 8px;
    }

    .teo-page-signup form[name="loginfrm"] td {
        display: block;
        width: 100% !important;
        box-sizing: border-box;
        text-align: left !important;
    }

    .teo-page-signup form[name="loginfrm"] tr.membertdbold td {
        text-align: center !important;
    }

    .teo-page-signup form[name="loginfrm"] input[type="submit"] {
        width: 100%;
    }
}


/* ---------------------------------------------------------
   PUBLIC SIGNUP - COMPACT REFINEMENT
   --------------------------------------------------------- */

.teo-page-signup .teo-page-shell {
    padding-top: 28px;
    padding-bottom: 40px;
}

.teo-page-signup .teo-page-container {
    max-width: 680px;
}

.teo-page-signup form[name="loginfrm"] {
    max-width: 570px;
    padding: 26px 34px 24px !important;
}

.teo-page-signup form[name="loginfrm"]:before {
    width: 48px;
    height: 48px;
    margin-bottom: 10px;
}

.teo-page-signup form[name="loginfrm"] > table {
    border-spacing: 0 4px !important;
}

.teo-page-signup form[name="loginfrm"] td {
    padding: 3px 6px !important;
}

.teo-page-signup form[name="loginfrm"] tr.membertdbold td {
    padding: 0 0 12px !important;
}

.teo-page-signup form[name="loginfrm"] tr.membertdbold td:before {
    font-size: 27px;
}

.teo-page-signup form[name="loginfrm"] tr.membertdbold td:after {
    margin-top: 4px;
    font-size: 10px;
}

.teo-page-signup form[name="loginfrm"] .formlabelbold,
.teo-page-signup form[name="loginfrm"] .formlabel {
    font-size: 12px;
}

.teo-page-signup form[name="loginfrm"] input[type="text"],
.teo-page-signup form[name="loginfrm"] input[type="password"],
.teo-page-signup form[name="loginfrm"] input[type="email"],
.teo-page-signup form[name="loginfrm"] select {
    min-height: 38px;
    padding: 8px 10px;
    font-size: 13px;
}

.teo-page-signup form[name="loginfrm"] select {
    cursor: pointer;
}

.teo-page-signup form[name="loginfrm"] input[name="securitycode"] {
    margin-top: 3px;
}

/* CAPTCHA image */
.teo-page-signup form[name="loginfrm"] img {
    vertical-align: middle;
    margin: 2px 0 4px;
    border: 1px solid rgba(78,65,46,.28);
    border-radius: 3px;
}

/* Terms row */
.teo-page-signup form[name="loginfrm"]
input[name="termsagree"] {
    width: 16px;
    height: 16px;
    cursor: pointer;
}

/* Main registration button */
.teo-page-signup form[name="loginfrm"]
input[type="submit"][name="Submit"] {
    min-width: 210px;
    margin-top: 4px;
    padding: 11px 22px;
    font-size: 0;
}

.teo-page-signup form[name="loginfrm"]
input[type="submit"][name="Submit"]:after {
    content: "";
}

.teo-page-signup form[name="loginfrm"]
input[type="submit"][name="Submit"] {
    color: transparent;
    position: relative;
}

/* Use value text through CSS is impossible on input,
   so give the existing button a cleaner compact treatment. */
.teo-page-signup form[name="loginfrm"]
input[type="submit"][name="Submit"] {
    color: #fff;
    font-size: 13px;
}

/* Bottom message */
.teo-page-signup form[name="loginfrm"]:after {
    margin-top: 13px;
    font-size: 12px;
}

/* Make standalone checkbox / offer rows feel deliberate */
.teo-page-signup form[name="loginfrm"] tr td[colspan="2"] {
    line-height: 1.45;
}

.teo-page-signup form[name="loginfrm"] tr td[colspan="2"]
input[type="checkbox"] {
    margin-right: 6px;
    vertical-align: middle;
}

/* Visually soften old inline instructional text */
.teo-page-signup form[name="loginfrm"] td {
    color: #625b4e;
}

.teo-page-signup form[name="loginfrm"] td[nowrap],
.teo-page-signup form[name="loginfrm"] td[nowrap="nowrap"],
.teo-page-signup form[name="loginfrm"] td[nowrap="NOWRAP"] {
    color: #173c40;
}

/* Upgrade offer near the bottom */
.teo-page-signup form[name="loginfrm"] tr:last-of-type td {
    padding-top: 9px !important;
    color: #5f594d;
    font-size: 12px;
}

/* Slight woven seam inside card */
.teo-page-signup form[name="loginfrm"] {
    outline: 1px dashed rgba(126,93,47,.18);
    outline-offset: -9px;
}

@media (max-width: 700px) {

    .teo-page-signup form[name="loginfrm"] {
        max-width: 100%;
        padding: 24px 20px 22px !important;
    }

    .teo-page-signup form[name="loginfrm"] input[type="text"],
    .teo-page-signup form[name="loginfrm"] input[type="password"],
    .teo-page-signup form[name="loginfrm"] select {
        min-height: 40px;
    }
}


/* ---------------------------------------------------------
   SIGNUP FINAL SPACING + PASSWORD EYES
   --------------------------------------------------------- */

.teo-page-signup form[name="loginfrm"] {
    padding-top: 18px !important;
}

.teo-page-signup form[name="loginfrm"]:before {
    width: 42px;
    height: 42px;
    margin-bottom: 6px;
}

.teo-page-signup form[name="loginfrm"] tr.membertdbold td {
    padding-bottom: 8px !important;
}

.teo-page-signup form[name="loginfrm"] tr.membertdbold td:before {
    font-size: 26px;
}

.teo-page-signup .teo-password-wrap {
    position: relative;
    width: 100%;
}

.teo-page-signup .teo-password-wrap input {
    padding-right: 42px !important;
}

.teo-page-signup .teo-password-toggle {
    position: absolute;
    top: 50%;
    right: 9px;
    transform: translateY(-50%);

    width: 28px;
    height: 28px;
    padding: 0;

    border: 0;
    background: transparent;

    color: #155F5A;
    font-size: 16px;
    line-height: 28px;
    text-align: center;

    cursor: pointer;
    opacity: .72;
}

.teo-page-signup .teo-password-toggle:hover {
    opacity: 1;
}

.teo-page-signup .teo-password-toggle:focus {
    outline: 2px solid rgba(21,95,90,.18);
    outline-offset: 1px;
}


.teo-page-signup form[name="loginfrm"] {
    margin: 24px auto 0 !important;
}


/* =========================================================
   TEO FAQ PAGES
   ========================================================= */

.teo-page-faqs .teo-page-container {
    padding-top: 34px;
    padding-bottom: 48px;
}

.teo-page-faqs .teo-faq-page {
    width: min(100%, 980px);
    margin: 0 auto;
}

.teo-page-faqs .teo-faq-intro {
    position: relative;
    text-align: center;
    margin: 0 auto 28px;
    padding: 26px 26px 24px;

    border: 1px solid rgba(18, 62, 78, .17);
    border-radius: 8px;

    background:
        repeating-linear-gradient(
            0deg,
            rgba(112, 87, 52, .022) 0,
            rgba(112, 87, 52, .022) 1px,
            transparent 1px,
            transparent 5px
        ),
        repeating-linear-gradient(
            90deg,
            rgba(112, 87, 52, .018) 0,
            rgba(112, 87, 52, .018) 1px,
            transparent 1px,
            transparent 7px
        ),
        #f8f1e4;

    box-shadow:
        0 10px 24px rgba(33, 39, 35, .09),
        inset 0 1px 0 rgba(255,255,255,.75);
}

.teo-page-faqs .teo-faq-intro:after {
    content: "";
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: -5px;
    height: 8px;

    background:
        repeating-linear-gradient(
            90deg,
            transparent 0 8px,
            rgba(134, 91, 52, .18) 8px 9px,
            transparent 9px 14px
        );

    opacity: .55;
}

.teo-page-faqs .teo-faq-mark {
    display: block;
    width: 48px;
    height: 48px;
    margin: 0 auto 10px;
}

.teo-page-faqs .teo-faq-intro h1 {
    margin: 0 0 7px;
    color: #123e4e;
    font-size: clamp(26px, 3vw, 34px);
    line-height: 1.15;
}

.teo-page-faqs .teo-faq-intro p {
    margin: 0;
    color: #59645f;
    font-size: 15px;
}

.teo-page-faqs .teo-faq-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.teo-page-faqs .teo-faq-item {
    position: relative;
    margin: 0;
    padding: 20px 21px 19px;

    border: 1px solid rgba(18, 62, 78, .15);
    border-radius: 7px;

    background:
        repeating-linear-gradient(
            0deg,
            rgba(95, 74, 45, .022) 0,
            rgba(95, 74, 45, .022) 1px,
            transparent 1px,
            transparent 6px
        ),
        #fffaf0;

    box-shadow:
        0 6px 15px rgba(38, 43, 39, .07),
        inset 0 1px 0 rgba(255,255,255,.9);
}

.teo-page-faqs .teo-faq-item:before {
    content: "";
    position: absolute;
    left: 0;
    top: 13px;
    bottom: 13px;
    width: 4px;
    border-radius: 0 3px 3px 0;
    background: #1cb8b0;
}

.teo-page-faqs .teo-faq-item:nth-child(4n+2):before {
    background: #e7ad3d;
}

.teo-page-faqs .teo-faq-item:nth-child(4n+3):before {
    background: #e85d56;
}

.teo-page-faqs .teo-faq-item:nth-child(4n+4):before {
    background: #123e4e;
}

.teo-page-faqs .teo-faq-item h2 {
    margin: 0 0 9px;
    color: #123e4e;
    font-size: 18px;
    line-height: 1.3;
}

.teo-page-faqs .teo-faq-item p {
    margin: 0;
    color: #4c5652;
    font-size: 14.5px;
    line-height: 1.65;
}

.teo-page-faqs .teo-faq-support {
    grid-column: 1 / -1;
    text-align: center;
    padding: 24px;

    background:
        repeating-linear-gradient(
            45deg,
            rgba(28, 184, 176, .025) 0,
            rgba(28, 184, 176, .025) 2px,
            transparent 2px,
            transparent 8px
        ),
        #f5efe3;
}

.teo-page-faqs .teo-faq-support p {
    margin-bottom: 15px;
}

.teo-page-faqs .teo-faq-support-button {
    display: inline-block;
    min-width: 180px;
    padding: 10px 20px;

    border: 1px solid #123e4e;
    border-radius: 5px;

    background: #155f5a;
    color: #fff;

    font-size: 15px;
    font-weight: 700;

    cursor: pointer;

    box-shadow:
        0 4px 0 #0d403d,
        0 7px 13px rgba(20, 54, 52, .16);

    transition:
        transform .12s ease,
        box-shadow .12s ease,
        background .12s ease;
}

.teo-page-faqs .teo-faq-support-button:hover {
    background: #123e4e;
    transform: translateY(-1px);

    box-shadow:
        0 5px 0 #092f3a,
        0 8px 15px rgba(20, 54, 52, .18);
}

.teo-page-faqs .teo-faq-support-button:active {
    transform: translateY(2px);

    box-shadow:
        0 2px 0 #092f3a,
        0 4px 8px rgba(20, 54, 52, .15);
}

@media (max-width: 760px) {

    .teo-page-faqs .teo-page-container {
        padding-top: 22px;
        padding-bottom: 34px;
    }

    .teo-page-faqs .teo-faq-list {
        grid-template-columns: 1fr;
    }

    .teo-page-faqs .teo-faq-support {
        grid-column: auto;
    }

    .teo-page-faqs .teo-faq-intro {
        padding: 22px 18px 20px;
    }

    .teo-page-faqs .teo-faq-item {
        padding: 18px;
    }
}


.teo-page-faqs .teo-faq-page {
    margin: 26px auto 38px !important;
}


/* =========================================================
   TEO LEGAL PAGES
   ========================================================= */

.teo-page-terms .teo-page-container,
.teo-page-privacy .teo-page-container {
    padding-top: 28px;
    padding-bottom: 40px;
}

.teo-legal-page {
    width: min(100%, 960px);
    margin: 0 auto;
}

.teo-legal-intro {
    position: relative;
    text-align: center;
    padding: 26px 28px 24px;
    margin-bottom: 22px;

    border: 1px solid rgba(18,62,78,.16);
    border-radius: 8px;

    background:
        repeating-linear-gradient(
            0deg,
            rgba(105,80,48,.022) 0,
            rgba(105,80,48,.022) 1px,
            transparent 1px,
            transparent 6px
        ),
        #f8f1e4;

    box-shadow:
        0 8px 20px rgba(33,42,38,.08),
        inset 0 1px 0 rgba(255,255,255,.8);
}

.teo-legal-mark {
    display: block;
    width: 46px;
    height: 46px;
    margin: 0 auto 9px;
}

.teo-legal-kicker {
    margin: 0 0 5px;
    color: #CB5843;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .16em;
}

.teo-legal-intro h1 {
    margin: 0;
    color: #123e4e;
    font-size: clamp(27px,3vw,35px);
}

.teo-legal-updated {
    margin: 7px 0 0;
    color: #6d746f;
    font-size: 13px;
}

.teo-legal-content {
    display: grid;
    gap: 14px;
}

.teo-legal-content section {
    padding: 20px 22px;

    border: 1px solid rgba(18,62,78,.14);
    border-left: 4px solid #1cb8b0;
    border-radius: 7px;

    background:
        repeating-linear-gradient(
            0deg,
            rgba(100,77,47,.018) 0,
            rgba(100,77,47,.018) 1px,
            transparent 1px,
            transparent 6px
        ),
        #fffaf0;

    box-shadow:
        0 5px 14px rgba(35,45,42,.06),
        inset 0 1px 0 rgba(255,255,255,.9);
}

.teo-legal-content section:nth-child(3n+2) {
    border-left-color: #CB5843;
}

.teo-legal-content section:nth-child(3n+3) {
    border-left-color: #e7ad3d;
}

.teo-legal-content h2 {
    margin: 0 0 10px;
    color: #123e4e;
    font-size: 18px;
}

.teo-legal-content p,
.teo-legal-content li {
    color: #4e5954;
    font-size: 14.5px;
    line-height: 1.65;
}

.teo-legal-content p {
    margin: 0 0 10px;
}

.teo-legal-content p:last-child {
    margin-bottom: 0;
}

.teo-legal-content ul {
    margin: 8px 0 12px;
    padding-left: 22px;
}

.teo-legal-content a {
    color: #155f5a;
    font-weight: 600;
}

.teo-footer-sep {
    margin: 0 5px;
    opacity: .55;
}

.teo-footer-operator {
    width: 100%;
    margin-top: 9px;
    text-align: center;
    font-size: 12px;
    opacity: .72;
}

@media (max-width: 700px) {

    .teo-page-terms .teo-page-container,
    .teo-page-privacy .teo-page-container {
        padding-top: 20px;
        padding-bottom: 30px;
    }

    .teo-legal-content section {
        padding: 18px;
    }
}


/* =========================================================
   TEO LEGAL PAGES - VISUAL REFINEMENT
   ========================================================= */

.teo-page-terms .teo-legal-page,
.teo-page-privacy .teo-legal-page {
    width: min(100% - 32px, 940px);
    margin: 28px auto 42px !important;
}

/* Intro card */

.teo-page-terms .teo-legal-intro,
.teo-page-privacy .teo-legal-intro {
    position: relative;
    overflow: hidden;

    padding: 25px 28px 23px !important;
    margin: 0 0 22px !important;

    border: 1px solid rgba(18, 62, 78, .18) !important;
    border-radius: 9px !important;

    background:
        repeating-linear-gradient(
            0deg,
            rgba(111, 84, 51, .025) 0,
            rgba(111, 84, 51, .025) 1px,
            transparent 1px,
            transparent 5px
        ),
        repeating-linear-gradient(
            90deg,
            rgba(111, 84, 51, .018) 0,
            rgba(111, 84, 51, .018) 1px,
            transparent 1px,
            transparent 7px
        ),
        #f8f1e4 !important;

    box-shadow:
        0 9px 22px rgba(33, 42, 38, .09),
        inset 0 1px 0 rgba(255,255,255,.85) !important;
}

.teo-page-terms .teo-legal-intro:after,
.teo-page-privacy .teo-legal-intro:after {
    content: "";
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: -4px;
    height: 8px;

    background:
        repeating-linear-gradient(
            90deg,
            transparent 0 8px,
            rgba(21, 95, 90, .18) 8px 9px,
            transparent 9px 14px
        );

    opacity: .55;
}

.teo-page-terms .teo-legal-mark,
.teo-page-privacy .teo-legal-mark {
    width: 48px;
    height: 48px;
    margin-bottom: 8px;
}

.teo-page-terms .teo-legal-intro h1,
.teo-page-privacy .teo-legal-intro h1 {
    margin: 0 !important;
    color: #123e4e !important;
    font-size: clamp(28px, 3vw, 35px) !important;
    line-height: 1.15;
}

.teo-page-terms .teo-legal-kicker,
.teo-page-privacy .teo-legal-kicker {
    margin: 0 0 5px !important;
    color: #CB5843 !important;
    font-size: 11px !important;
    font-weight: 700;
    letter-spacing: .16em;
}

.teo-page-terms .teo-legal-updated,
.teo-page-privacy .teo-legal-updated {
    margin: 7px 0 0 !important;
    color: #6b746f !important;
    font-size: 13px !important;
}

/* Legal section cards */

.teo-page-terms .teo-legal-content,
.teo-page-privacy .teo-legal-content {
    display: grid;
    gap: 15px;
}

.teo-page-terms .teo-legal-content section,
.teo-page-privacy .teo-legal-content section {
    position: relative;

    padding: 21px 24px 20px !important;
    margin: 0 !important;

    border: 1px solid rgba(18, 62, 78, .14) !important;
    border-left: 5px solid #1cb8b0 !important;
    border-radius: 8px !important;

    background:
        repeating-linear-gradient(
            0deg,
            rgba(101, 78, 47, .018) 0,
            rgba(101, 78, 47, .018) 1px,
            transparent 1px,
            transparent 6px
        ),
        #fffaf0 !important;

    box-shadow:
        0 5px 14px rgba(35,45,42,.065),
        inset 0 1px 0 rgba(255,255,255,.9) !important;
}

.teo-page-terms .teo-legal-content section:nth-child(3n+2),
.teo-page-privacy .teo-legal-content section:nth-child(3n+2) {
    border-left-color: #CB5843 !important;
}

.teo-page-terms .teo-legal-content section:nth-child(3n+3),
.teo-page-privacy .teo-legal-content section:nth-child(3n+3) {
    border-left-color: #C85642 !important;
}

.teo-page-terms .teo-legal-content h2,
.teo-page-privacy .teo-legal-content h2 {
    margin: 0 0 10px !important;

    color: #123e4e !important;
    font-size: 18px !important;
    line-height: 1.3;
}

.teo-page-terms .teo-legal-content p,
.teo-page-privacy .teo-legal-content p,
.teo-page-terms .teo-legal-content li,
.teo-page-privacy .teo-legal-content li {
    color: #4e5954 !important;
    font-size: 14.5px !important;
    line-height: 1.68 !important;
}

.teo-page-terms .teo-legal-content p,
.teo-page-privacy .teo-legal-content p {
    margin: 0 0 10px !important;
}

.teo-page-terms .teo-legal-content p:last-child,
.teo-page-privacy .teo-legal-content p:last-child {
    margin-bottom: 0 !important;
}

.teo-page-terms .teo-legal-content ul,
.teo-page-privacy .teo-legal-content ul {
    margin: 9px 0 12px !important;
    padding-left: 23px !important;
}

.teo-page-terms .teo-legal-content li,
.teo-page-privacy .teo-legal-content li {
    margin-bottom: 5px;
}

.teo-page-terms .teo-legal-content a,
.teo-page-privacy .teo-legal-content a {
    color: #155f5a !important;
    font-weight: 700;
    text-decoration-thickness: 1px;
    text-underline-offset: 2px;
}

/* Mobile */

@media (max-width: 700px) {

    .teo-page-terms .teo-legal-page,
    .teo-page-privacy .teo-legal-page {
        width: min(100% - 20px, 940px);
        margin-top: 20px !important;
        margin-bottom: 30px !important;
    }

    .teo-page-terms .teo-legal-intro,
    .teo-page-privacy .teo-legal-intro {
        padding: 21px 18px 20px !important;
    }

    .teo-page-terms .teo-legal-content section,
    .teo-page-privacy .teo-legal-content section {
        padding: 18px !important;
    }
}


/* Footer colour alignment */
body.teo-theme .teo-site-footer {
    background: #155f5a !important;
}


/* =========================================================
   TEO HOME - WEAVE ERA
   ========================================================= */

.teo-page-index .teo-page-container {
    width: 100%;
    max-width: none;
    padding: 0;
}

.teo-home {
    overflow: hidden;
    background: #f7f0e3;
}


/* ---------------------------------------------------------
   HERO
   --------------------------------------------------------- */

.teo-home-hero {
    position: relative;

    min-height: 610px;

    display: grid;
    grid-template-columns: 47% 53%;

    background: #f3e9d4;
}

.teo-home-hero-copy {
    position: relative;
    z-index: 3;

    display: flex;
    flex-direction: column;
    justify-content: center;

    padding: 68px 7vw 78px 7.5vw;

    background:
        repeating-linear-gradient(
            0deg,
            rgba(107,82,50,.025) 0,
            rgba(107,82,50,.025) 1px,
            transparent 1px,
            transparent 6px
        ),
        repeating-linear-gradient(
            90deg,
            rgba(107,82,50,.018) 0,
            rgba(107,82,50,.018) 1px,
            transparent 1px,
            transparent 8px
        ),
        #f3e9d4;
}

.teo-home-hero-copy:after {
    content: "";

    position: absolute;
    z-index: -1;

    top: -8%;
    right: -83px;

    width: 170px;
    height: 116%;

    background: #f3e9d4;

    border-radius: 0 58% 58% 0 / 0 50% 50% 0;
}

.teo-home-kicker {
    display: flex;
    align-items: center;
    gap: 13px;

    margin-bottom: 20px;

    color: #155f5a;

    font-size: 11px;
    font-weight: 800;
    letter-spacing: .18em;
}

.teo-home-kicker > span {
    width: 40px;
    height: 2px;

    background: #CB5843;
}

.teo-home-hero h1 {
    margin: 0 0 24px;

    font-family: Georgia, "Times New Roman", serif;

    font-size: clamp(48px, 4.7vw, 72px);
    line-height: .99;
    letter-spacing: -2.6px;
}

.teo-home-hero h1 span,
.teo-home-hero h1 strong {
    display: block;
}

.teo-home-hero h1 span {
    color: #123e4e;
}

.teo-home-hero h1 strong {
    margin-top: 5px;

    color: #CB5843;
    font-weight: 700;
}

.teo-home-lead {
    max-width: 550px;

    margin: 0 0 27px;

    color: #36544f;

    font-size: 17px;
    line-height: 1.65;
}

.teo-home-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;

    margin-bottom: 28px;
}

.teo-home-primary,
.teo-home-secondary {
    min-height: 51px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 0 25px;

    border-radius: 6px;

    text-decoration: none !important;

    font-size: 14px;
    font-weight: 700;

    transition:
        transform .12s ease,
        box-shadow .12s ease,
        background .12s ease;
}

.teo-home-primary {
    gap: 21px;

    color: #fff !important;

    background: #155f5a;

    border: 1px solid #123e4e;

    box-shadow:
        0 4px 0 #0e4542,
        0 7px 15px rgba(24,61,57,.16);
}

.teo-home-primary:hover {
    color: #fff !important;

    background: #123e4e;

    transform: translateY(-1px);
}

.teo-home-primary span {
    font-size: 22px;
    line-height: 1;
}

.teo-home-secondary {
    color: #123e4e !important;

    border: 1px solid rgba(18,62,78,.35);

    background: rgba(255,255,255,.35);
}

.teo-home-secondary:hover {
    background: rgba(255,255,255,.7);
}

.teo-home-thread-note {
    display: flex;
    align-items: center;
    gap: 12px;

    color: #6c716b;
}

.teo-thread-line {
    position: relative;

    width: 54px;
    height: 2px;

    background: #1cb8b0;
}

.teo-thread-line:after {
    content: "";

    position: absolute;

    right: -5px;
    top: -3px;

    width: 8px;
    height: 8px;

    border: 2px solid #1cb8b0;
    border-radius: 50%;

    background: #f3e9d4;
}

.teo-home-thread-note p {
    margin: 0;

    font-size: 12px;
    font-style: italic;
}


/* Hero image */

.teo-home-hero-art {
    position: relative;

    min-width: 0;
    overflow: hidden;
}

.teo-home-hero-art img {
    display: block;

    width: 100%;
    height: 100%;
    min-height: 610px;

    object-fit: cover;
    object-position: center;
}

.teo-home-hero-art:after {
    content: "";

    position: absolute;
    inset: 0;

    pointer-events: none;

    box-shadow:
        inset 18px 0 35px rgba(46,41,31,.08);
}


/* ---------------------------------------------------------
   SECTION HEADING
   --------------------------------------------------------- */

.teo-home-section-heading {
    max-width: 730px;

    margin: 0 auto 35px;

    text-align: center;
}

.teo-home-eyebrow {
    display: block;

    margin-bottom: 8px;

    color: #CB5843;

    font-size: 11px;
    font-weight: 800;
    letter-spacing: .17em;
}

.teo-home-section-heading h2 {
    margin: 0 0 13px;

    color: #123e4e;

    font-family: Georgia, "Times New Roman", serif;

    font-size: clamp(30px,3vw,42px);
    line-height: 1.12;
}

.teo-home-section-heading p {
    max-width: 630px;

    margin: 0 auto;

    color: #5b6661;

    font-size: 15px;
    line-height: 1.65;
}


/* ---------------------------------------------------------
   THREAD CARDS
   --------------------------------------------------------- */

.teo-home-threads {
    padding: 72px 7vw 80px;

    background:
        repeating-linear-gradient(
            0deg,
            rgba(105,81,48,.02) 0,
            rgba(105,81,48,.02) 1px,
            transparent 1px,
            transparent 6px
        ),
        #fffaf0;
}

.teo-thread-grid {
    width: min(100%, 1180px);

    margin: 0 auto;

    display: grid;
    grid-template-columns: repeat(4,minmax(0,1fr));

    gap: 17px;
}

.teo-thread-card {
    position: relative;

    min-height: 250px;

    padding: 26px 23px;

    border: 1px solid rgba(18,62,78,.14);
    border-radius: 8px;

    background:
        repeating-linear-gradient(
            0deg,
            rgba(100,77,46,.018) 0,
            rgba(100,77,46,.018) 1px,
            transparent 1px,
            transparent 6px
        ),
        #f9f1e4;

    box-shadow:
        0 7px 18px rgba(35,45,42,.07),
        inset 0 1px 0 rgba(255,255,255,.9);
}

.teo-thread-card:after {
    content: "";

    position: absolute;

    left: 22px;
    right: 22px;
    bottom: 15px;

    height: 2px;

    background:
        repeating-linear-gradient(
            90deg,
            currentColor 0 8px,
            transparent 8px 12px
        );

    opacity: .3;
}

.teo-thread-symbol {
    width: 48px;
    height: 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 18px;

    border-radius: 7px;

    color: #fff;

    font-size: 20px;

    box-shadow:
        0 3px 0 rgba(0,0,0,.15);
}

.teo-thread-discover {
    color: #CB5843;
}

.teo-thread-discover .teo-thread-symbol {
    background: #CB5843;
}

.teo-thread-connect {
    color: #155f5a;
}

.teo-thread-connect .teo-thread-symbol {
    background: #155f5a;
}

.teo-thread-participate {
    color: #8c7c42;
}

.teo-thread-participate .teo-thread-symbol {
    background: #8c7c42;
}

.teo-thread-promote {
    color: #123e4e;
}

.teo-thread-promote .teo-thread-symbol {
    background: #123e4e;
}

.teo-thread-card h3 {
    margin: 0 0 9px;

    color: #123e4e;

    font-family: Georgia, "Times New Roman", serif;

    font-size: 23px;
}

.teo-thread-card p {
    margin: 0;

    color: #53605a;

    font-size: 14px;
    line-height: 1.63;
}


/* ---------------------------------------------------------
   THE WEAVE
   --------------------------------------------------------- */

.teo-home-weave {
    position: relative;

    min-height: 320px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 70px 8vw;

    overflow: hidden;

    background:
        repeating-linear-gradient(
            45deg,
            rgba(28,184,176,.025) 0,
            rgba(28,184,176,.025) 2px,
            transparent 2px,
            transparent 9px
        ),
        #f1e6d2;
}

.teo-home-weave-copy {
    position: relative;
    z-index: 2;

    max-width: 760px;

    text-align: center;
}

.teo-home-weave-copy h2 {
    margin: 0 0 17px;

    color: #123e4e;

    font-family: Georgia, "Times New Roman", serif;

    font-size: clamp(34px,4vw,50px);
    line-height: 1.08;
}

.teo-home-weave-copy p {
    margin: 0;

    color: #51605a;

    font-size: 16px;
    line-height: 1.72;
}

.teo-home-weave-decoration span {
    position: absolute;

    width: 44%;
    height: 2px;

    border-radius: 50%;

    opacity: .28;
}

.teo-home-weave-decoration span:nth-child(1) {
    left: -7%;
    top: 27%;

    background: #1cb8b0;

    transform: rotate(6deg);
}

.teo-home-weave-decoration span:nth-child(2) {
    right: -8%;
    top: 42%;

    background: #CB5843;

    transform: rotate(-7deg);
}

.teo-home-weave-decoration span:nth-child(3) {
    left: 14%;
    bottom: 18%;

    width: 72%;

    background: #8c7c42;

    transform: rotate(1deg);
}


/* Four-square mark becomes a woven swatch, not pixels */

.teo-home-weave-mark {
    position: absolute;

    right: 5%;
    bottom: 34px;

    width: 68px;
    height: 68px;

    display: grid;
    grid-template-columns: 1fr 1fr;

    gap: 4px;

    padding: 7px;

    border-radius: 7px;

    background: #123e4e;

    box-shadow:
        0 6px 14px rgba(34,46,43,.15);

    transform: rotate(3deg);
}

.teo-home-weave-mark span {
    border-radius: 2px;

    background-image:
        repeating-linear-gradient(
            0deg,
            rgba(255,255,255,.10) 0,
            rgba(255,255,255,.10) 1px,
            transparent 1px,
            transparent 3px
        );
}

.teo-home-weave-mark span:nth-child(1) {
    background-color: #CB5843;
}

.teo-home-weave-mark span:nth-child(2) {
    background-color: #1cb8b0;
}

.teo-home-weave-mark span:nth-child(3) {
    background-color: #e7ad3d;
}

.teo-home-weave-mark span:nth-child(4) {
    background-color: #f3e9d4;
}


/* ---------------------------------------------------------
   FINAL CTA
   --------------------------------------------------------- */

.teo-home-final {
    position: relative;

    padding: 66px 25px 72px;

    text-align: center;

    background: #fffaf0;
}

.teo-home-final-thread {
    width: 115px;
    height: 5px;

    margin: 0 auto 18px;

    background:
        linear-gradient(
            90deg,
            #CB5843 0 25%,
            #155f5a 25% 50%,
            #e7ad3d 50% 75%,
            #123e4e 75% 100%
        );

    border-radius: 999px;

    box-shadow:
        0 2px 3px rgba(45,44,38,.11);
}

.teo-home-final h2 {
    margin: 0 0 9px;

    color: #123e4e;

    font-family: Georgia, "Times New Roman", serif;

    font-size: clamp(37px,4vw,54px);
}

.teo-home-final > p:not(.teo-home-eyebrow) {
    margin: 0 0 25px;

    color: #5c6661;

    font-size: 15px;
}

.teo-home-final .teo-home-primary {
    min-width: 235px;
}


/* ---------------------------------------------------------
   RESPONSIVE
   --------------------------------------------------------- */

@media (max-width: 1000px) {

    .teo-home-hero {
        grid-template-columns: 52% 48%;
    }

    .teo-home-hero-copy {
        padding-left: 5vw;
        padding-right: 5vw;
    }

    .teo-thread-grid {
        grid-template-columns: repeat(2,minmax(0,1fr));
    }
}


@media (max-width: 760px) {

    .teo-home-hero {
        display: flex;
        flex-direction: column;

        min-height: 0;
    }

    .teo-home-hero-copy {
        order: 2;

        padding: 35px 24px 42px;
    }

    .teo-home-hero-copy:after {
        display: none;
    }

    .teo-home-hero-art {
        order: 1;

        height: 330px;
    }

    .teo-home-hero-art img {
        min-height: 0;
        height: 330px;

        object-position: center;
    }

    .teo-home-hero h1 {
        font-size: 45px;
        letter-spacing: -1.8px;
    }

    .teo-home-actions {
        flex-direction: column;
    }

    .teo-home-primary,
    .teo-home-secondary {
        width: 100%;
    }

    .teo-home-thread-note {
        align-items: flex-start;
    }

    .teo-home-threads {
        padding: 52px 18px 57px;
    }

    .teo-thread-grid {
        grid-template-columns: 1fr;
    }

    .teo-thread-card {
        min-height: 0;
    }

    .teo-home-weave {
        padding: 56px 23px 76px;
    }

    .teo-home-weave-mark {
        right: 22px;
        bottom: 18px;

        width: 53px;
        height: 53px;
    }

    .teo-home-final {
        padding: 52px 20px 58px;
    }
}


/* Softer hero fabric sweep */
.teo-home-hero-copy:after {
    top: -4%;
    right: -115px;

    width: 210px;
    height: 108%;

    border-radius:
        0 42% 42% 0 /
        0 50% 50% 0;
}


/* Add a touch more fabric texture to the hero sweep */
.teo-home-hero-copy:after {
    background:
        repeating-linear-gradient(
            0deg,
            rgba(120, 101, 73, .022) 0,
            rgba(120, 101, 73, .022) 1px,
            transparent 1px,
            transparent 6px
        ),
        repeating-linear-gradient(
            90deg,
            rgba(255, 255, 255, .10) 0,
            rgba(255, 255, 255, .10) 1px,
            transparent 1px,
            transparent 8px
        ),
        linear-gradient(
            180deg,
            #efe6d3 0%,
            #e8deca 100%
        );

    box-shadow:
        inset 1px 0 0 rgba(255,255,255,.22),
        inset -8px 0 16px rgba(110, 93, 67, .04);
}



/* ============================================================
   TEO MEMBER LEGACY MENU
   Retains LFMTE functionality, replaces old blue appearance
   ============================================================ */

.teo-member .lfm_menu_bar {
    margin: 0 0 20px !important;
    padding: 0 0 45px !important;

    background:
        repeating-linear-gradient(
            0deg,
            rgba(116,96,68,.018) 0,
            rgba(116,96,68,.018) 1px,
            transparent 1px,
            transparent 6px
        ),
        #fffdf8 !important;

    border-bottom:
        1px solid rgba(18,62,78,.11);

    box-shadow:
        0 3px 14px rgba(31,43,43,.045);
}


/* Main bar */

.teo-member .lfm_menu_bar .navbar {
    width: 100%;
    max-width: 1500px;

    min-height: 70px;

    margin: 0 auto;

    padding:
        13px
        24px;
}


/* TEO brand */

.teo-member .teo-brand {
    display: flex;
    align-items: center;

    margin-right: 24px;

    color: #123e4e !important;

    text-decoration: none !important;
}


.teo-member .teo-brand-mark {
    width: 30px;
    height: 30px;

    flex: 0 0 30px;

    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3px;

    margin-right: 11px;
    padding: 4px;

    border-radius: 5px;

    background: #123e4e;
}


.teo-member .teo-brand-mark span {
    display: block;
    border-radius: 1px;
}

.teo-member .teo-brand-mark span:nth-child(1) {
    background: #e85d56;
}

.teo-member .teo-brand-mark span:nth-child(2) {
    background: #1cb8b0;
}

.teo-member .teo-brand-mark span:nth-child(3) {
    background: #e7ad3d;
}

.teo-member .teo-brand-mark span:nth-child(4) {
    background: #f3e9d4;
}


.teo-member .teo-brand-copy {
    display: flex;
    flex-direction: column;
}


.teo-member .teo-brand-copy strong {
    color: #123e4e;

    font-size: 19px;
    line-height: 1.05;
    font-weight: 700;
}


.teo-member .teo-brand-copy small {
    margin-top: 4px;

    color: #75817d;

    font-size: 11px;
    line-height: 1;
}


/* Top-level LFMTE tabs */

.teo-member .lfm_menu_bar .navbar-nav > .nav-item > .nav-link {
    margin: 0 2px !important;

    padding:
        8px
        14px !important;

    border:
        1px solid
        transparent !important;

    border-radius: 6px !important;

    color: #123e4e !important;

    background: transparent !important;

    font-size: 13px !important;
    font-weight: 700;

    transition:
        background .16s ease,
        color .16s ease,
        border-color .16s ease;
}


.teo-member .lfm_menu_bar .navbar-nav > .nav-item > .nav-link:hover {
    color: #155f5a !important;

    background:
        #f3e9d4 !important;

    border-color:
        rgba(21,95,90,.14) !important;
}


/* Selected top-level section */

.teo-member .lfm_menu_bar .navbar-nav > .nav-item.lfm_tab_opened > .nav-link,
.teo-member .lfm_menu_bar .navbar-nav > .nav-item.lfm_tab_opened > .nav-link:hover {
    color: #fffaf0 !important;

    background:
        #155f5a !important;

    border-color:
        rgba(18,62,78,.25) !important;

    box-shadow:
        0 4px 9px rgba(21,95,90,.13) !important;
}


/* Remove the old white bridge under active tabs */

.teo-member .lfm_menu_bar
.navbar-nav > .nav-item.lfm_tab_opened > .nav-link::after {
    content: none !important;
    display: none !important;
}


/* Second-level horizontal menu */

.teo-member .lfm_menu_tab {
    min-height: 45px;

    align-items: center;

    padding:
        0
        max(
            24px,
            calc((100vw - 1500px) / 2 + 24px)
        ) !important;

    background:
        repeating-linear-gradient(
            90deg,
            rgba(122,102,73,.018) 0,
            rgba(122,102,73,.018) 1px,
            transparent 1px,
            transparent 7px
        ),
        #fbf8f1 !important;

    border: 0 !important;

    border-top:
        1px solid rgba(18,62,78,.07) !important;

    border-bottom:
        1px solid rgba(18,62,78,.10) !important;

    box-shadow:
        0 3px 9px rgba(33,43,43,.025);
}


/* Second-level links */

.teo-member .lfm_menu_tab > li > a {
    padding:
        0
        15px !important;

    color: #365754 !important;

    background: transparent !important;

    font-size: 13px !important;
    font-weight: 650;

    line-height: 44px !important;
}


.teo-member .lfm_menu_tab > li > a:hover {
    color: #CB5843 !important;

    background:
        rgba(243,233,212,.60) !important;
}


/* Third-level dropdowns */

.teo-member .lfm_menu_tab .dropdown-menu {
    padding: 6px 0;

    border:
        1px solid rgba(18,62,78,.12);

    border-radius: 5px;

    background: #fffdf8;

    box-shadow:
        0 9px 24px rgba(25,44,46,.12);
}


.teo-member .lfm_menu_tab .dropdown-menu a {
    color: #365754 !important;

    font-size: 13px !important;
    line-height: 34px !important;
}


.teo-member .lfm_menu_tab .dropdown-menu li:hover {
    background:
        #f3e9d4 !important;
}


.teo-member .lfm_menu_tab .dropdown-menu a:hover {
    color: #CB5843 !important;
}


/* ============================================================
   MEMBER MENU MOBILE
   ============================================================ */

@media (max-width: 991.98px) {

    .teo-member .lfm_menu_bar {
        padding-bottom: 0 !important;
    }

    .teo-member .lfm_menu_bar .navbar {
        min-height: 62px;

        padding:
            10px
            15px;
    }

    .teo-member .teo-brand {
        margin-right: 0;
    }

    .teo-member .lfm_menu_bar
    .navbar-nav > .nav-item > .nav-link,

    .teo-member .lfm_menu_bar
    .navbar-nav > .nav-item.lfm_tab_closed > .nav-link {

        color: #123e4e !important;

        background:
            transparent !important;

        border-color:
            transparent !important;
    }

    .teo-member .lfm_menu_bar
    .navbar-nav > .nav-item > .nav-link:hover {

        color: #155f5a !important;

        background:
            #f3e9d4 !important;
    }

    .teo-member .lfm_menu_bar
    .navbar-nav > .nav-item.lfm_tab_opened > .nav-link {

        color: #fffaf0 !important;

        background:
            #155f5a !important;
    }

    .teo-member .lfm_menu_bar
    .navbar-nav > .nav-item > .nav-link::after {

        color: #155f5a !important;
    }

    .teo-member .lfm_menu_bar
    .navbar-nav > .nav-item.lfm_tab_opened > .nav-link::after {

        color: #fffaf0 !important;
    }

    .teo-member .lfm_menu_tab {
        padding:
            5px
            0 !important;

        background:
            #f6f0e4 !important;
    }

    .teo-member .lfm_menu_tab > li > a {
        width: 100%;

        padding-left: 34px !important;

        line-height: 36px !important;
    }

}

/* ============================================================
   LEGACY PAGES WITHOUT FOOTER
   ============================================================ */

body.teo-page-autoassign .teo-site-footer {
    display: none !important;
}



/* ============================================================
   TEO LEGACY MEMBER FORMS + TABLES
   Global styling for retained LFMTE pages
   ============================================================ */


/* ------------------------------------------------------------
   FORM CONTROLS
   ------------------------------------------------------------ */

body.teo-member input[type="text"],
body.teo-member input[type="password"],
body.teo-member input[type="email"],
body.teo-member input[type="url"],
body.teo-member input[type="number"],
body.teo-member select,
body.teo-member textarea {
    min-height: 40px;

    padding:
        8px
        11px;

    box-sizing: border-box;

    border:
        1px solid
        rgba(18,62,78,.24);

    border-radius: 5px;

    background:
        #fffdf8;

    color:
        #304f4d;

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    font-size: 14px;

    box-shadow:
        inset 0 1px 3px
        rgba(36,42,38,.04);

    transition:
        border-color .15s ease,
        box-shadow .15s ease,
        background .15s ease;
}


body.teo-member textarea {
    min-height: 110px;
    resize: vertical;
}


body.teo-member input[type="text"]:focus,
body.teo-member input[type="password"]:focus,
body.teo-member input[type="email"]:focus,
body.teo-member input[type="url"]:focus,
body.teo-member input[type="number"]:focus,
body.teo-member select:focus,
body.teo-member textarea:focus {
    outline: none;

    border-color:
        #1cb8b0;

    background:
        #ffffff;

    box-shadow:
        0 0 0 3px
        rgba(28,184,176,.10);
}


/* Disabled / read-only fields */

body.teo-member input:disabled,
body.teo-member input[readonly],
body.teo-member textarea:disabled,
body.teo-member select:disabled {
    color:
        #6c7772;

    background:
        #f0eadf;

    opacity: 1;
}


/* ------------------------------------------------------------
   BUTTONS
   ------------------------------------------------------------ */

body.teo-member input[type="submit"],
body.teo-member input[type="button"],
body.teo-member input[type="reset"],
body.teo-member button:not(.navbar-toggler) {
    min-height: 40px;

    padding:
        8px
        18px;

    border:
        1px solid
        rgba(18,62,78,.28);

    border-radius: 5px;

    background:
        #155f5a;

    color:
        #fffaf0;

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    font-size: 13px;
    font-weight: 700;

    cursor: pointer;

    box-shadow:
        0 4px 9px
        rgba(21,95,90,.12);

    transition:
        background .15s ease,
        transform .15s ease,
        box-shadow .15s ease;
}


body.teo-member input[type="submit"]:hover,
body.teo-member input[type="button"]:hover,
body.teo-member input[type="reset"]:hover,
body.teo-member button:not(.navbar-toggler):hover {
    background:
        #196d67;

    box-shadow:
        0 5px 11px
        rgba(21,95,90,.16);

    transform:
        translateY(-1px);
}


/* ------------------------------------------------------------
   CHECKBOXES + RADIOS
   ------------------------------------------------------------ */

body.teo-member input[type="checkbox"],
body.teo-member input[type="radio"] {
    width: 17px;
    height: 17px;

    margin-right: 5px;

    accent-color:
        #155f5a;

    vertical-align:
        middle;
}


/* ------------------------------------------------------------
   LEGACY DATA TABLES

   Target old LFMTE tables that visibly use borders/backgrounds,
   rather than blindly restyling every structural table.
   ------------------------------------------------------------ */

body.teo-member table[border],
body.teo-member table[bordercolor],
body.teo-member table[cellpadding] {
    border:
        1px solid
        rgba(18,62,78,.16) !important;

    border-collapse:
        separate !important;

    border-spacing:
        0 !important;

    border-radius:
        6px;

    background:
        #fffdf8;

    overflow:
        hidden;

    box-shadow:
        0 6px 16px
        rgba(44,45,38,.05);
}


/* Cells */

body.teo-member table[border] td,
body.teo-member table[border] th,
body.teo-member table[bordercolor] td,
body.teo-member table[bordercolor] th,
body.teo-member table[cellpadding] td,
body.teo-member table[cellpadding] th {
    padding:
        11px
        13px !important;

    border-color:
        rgba(18,62,78,.11) !important;

    color:
        #365754;

    font-size:
        14px;
}


/* Header cells */

body.teo-member table th,
body.teo-member table tr:first-child > td {
    color:
        #123e4e;

    background:
        #eee5d3;

    font-weight:
        600;
}


/* Kill old hard-coded grey rows */

body.teo-member tr[bgcolor="#EEEEEE"] > td,
body.teo-member tr[bgcolor="#eeeeee"] > td,
body.teo-member tr[bgcolor="#EEEEEE"] > th,
body.teo-member tr[bgcolor="#eeeeee"] > th {
    background:
        #fffaf0 !important;
}


/* Other common old white/grey rows */

body.teo-member tr[bgcolor="#FFFFFF"] > td,
body.teo-member tr[bgcolor="#ffffff"] > td {
    background:
        #fffdf8 !important;
}


/* Table links */

body.teo-member table a {
    color:
        #155f5a;

    font-weight:
        600;

    text-decoration:
        none;
}


body.teo-member table a:hover {
    color:
        #CB5843;

    text-decoration:
        underline;
}


/* ------------------------------------------------------------
   LEGACY PAGE HEADINGS + COPY
   ------------------------------------------------------------ */

body.teo-member h1,
body.teo-member h2,
body.teo-member h3,
body.teo-member h4 {
    color:
        #123e4e;
}


body.teo-member > center > h1,
body.teo-member > center > h2,
body.teo-member > center > h3,
body.teo-member > center > h4 {
    font-family:
        Georgia,
        "Times New Roman",
        serif;
}


/* ------------------------------------------------------------
   MOBILE
   ------------------------------------------------------------ */

@media (max-width: 700px) {

    body.teo-member input[type="text"],
    body.teo-member input[type="password"],
    body.teo-member input[type="email"],
    body.teo-member input[type="url"],
    body.teo-member input[type="number"],
    body.teo-member select,
    body.teo-member textarea {
        max-width:
            100%;
    }

    body.teo-member table[border],
    body.teo-member table[bordercolor],
    body.teo-member table[cellpadding] {
        max-width:
            100%;
    }

}


/* ============================================================
   TEO LEGACY MEMBER NAV - UNIFIED FINAL LAYOUT
   ============================================================ */

.teo-member .lfm_menu_bar {
    position: relative;

    margin: 0 0 22px !important;
    padding: 0 !important;

    background:
        repeating-linear-gradient(
            0deg,
            rgba(116,96,68,.018) 0,
            rgba(116,96,68,.018) 1px,
            transparent 1px,
            transparent 6px
        ),
        #fffdf8 !important;


    border: 0 !important;
    border-bottom:
        1px solid rgba(18,62,78,.18) !important;

    box-shadow:
        0 4px 14px rgba(18,62,78,.10);
}


/* Main green band */

.teo-member .lfm_menu_bar .navbar {
    width: 100%;
    max-width: 1500px;

    min-height: 70px;

    margin: 0 auto;

    padding:
        12px
        24px;
}


/* Brand */

.teo-member .teo-brand {
    margin-right: 24px;

    color: #fffaf0 !important;
}


.teo-member .teo-brand-copy strong {
    color: #123e4e !important;
}


.teo-member .teo-brand-copy small {
    color: #75817d !important;
}


/* Main tabs */

.teo-member .lfm_menu_bar .navbar-nav {
    padding: 4px;
    border-radius: 7px;
    background: #155f5a;
}

.teo-member .lfm_menu_bar
.navbar-nav > .nav-item > .nav-link {
    margin: 0 2px !important;

    padding:
        8px
        14px !important;

    border:
        1px solid
        transparent !important;

    border-radius:
        6px !important;

    color: #fffaf0 !important;

    background:
        transparent !important;

    font-size: 20px;

    font-weight: 700;
}


.teo-member .lfm_menu_bar
.navbar-nav > .nav-item > .nav-link:hover {
    color:
        #ffffff !important;

    background:
        rgba(255,255,255,.10) !important;

    border-color:
        rgba(255,255,255,.14) !important;
}


/* Active main tab */

.teo-member .lfm_menu_bar
.navbar-nav > .nav-item.lfm_tab_opened > .nav-link,
.teo-member .lfm_menu_bar
.navbar-nav > .nav-item.lfm_tab_opened > .nav-link:hover {
    color: #123e4e !important;

    background: #f3e9d4 !important;

    border-color:
        rgba(231,173,61,.48) !important;

    box-shadow:
        0 4px 10px rgba(0,0,0,.10),
        inset 0 1px 0 rgba(255,255,255,.65) !important;
}


/* Remove old LFMTE bridge */

.teo-member .lfm_menu_bar
.navbar-nav > .nav-item.lfm_tab_opened > .nav-link::after {
    content:
        none !important;

    display:
        none !important;
}


/* ------------------------------------------------------------
   SECOND LEVEL
   Real strip beneath the green header, not a floating rectangle
   ------------------------------------------------------------ */

.teo-member .lfm_menu_tab {
    position:
        absolute !important;

    left:
        0 !important;

    right:
        0 !important;

    top:
        100% !important;

    width:
        100vw !important;

    min-height:
        46px;

    margin-left:
        calc(50% - 50vw) !important;

    padding:
        0
        max(
            24px,
            calc((100vw - 1500px) / 2 + 24px)
        ) !important;

    align-items:
        center;

    background:
        repeating-linear-gradient(
            90deg,
            rgba(122,102,73,.020) 0,
            rgba(122,102,73,.020) 1px,
            transparent 1px,
            transparent 7px
        ),
        #eee5d3 !important;

    border:
        0 !important;

    border-bottom:
        1px solid rgba(18,62,78,.14) !important;

    box-shadow:
        0 4px 10px rgba(43,50,48,.045);

    z-index:
        999;
}


/* Reserve exactly enough room for submenu */

.teo-member .lfm_menu_bar:has(.lfm_tab_opened) {
    margin-bottom:
        68px !important;
}


/* Submenu links */

.teo-member .lfm_menu_tab > li > a {
    padding:
        0
        15px !important;

    color:
        #123e4e !important;

    background:
        transparent !important;

    font-size:
        13px !important;

    font-weight:
        700;

    line-height:
        45px !important;
}


.teo-member .lfm_menu_tab > li > a:hover {
    color:
        #CB5843 !important;

    background:
        rgba(255,255,255,.38) !important;
}


/* Third-level dropdowns */

.teo-member .lfm_menu_tab .dropdown-menu {
    border:
        1px solid rgba(18,62,78,.14);

    border-radius:
        6px;

    background:
        #fffaf0;

    box-shadow:
        0 10px 24px rgba(25,44,46,.12);
}


.teo-member .lfm_menu_tab .dropdown-menu a {
    color:
        #365754 !important;
}


.teo-member .lfm_menu_tab .dropdown-menu li:hover {
    background:
        #eee5d3 !important;
}


/* ------------------------------------------------------------
   MOBILE
   ------------------------------------------------------------ */

@media (max-width: 991.98px) {

    .teo-member .lfm_menu_bar {
        margin-bottom:
            18px !important;
    }

    .teo-member .lfm_menu_bar .navbar {
        min-height:
            62px;

        padding:
            10px
            15px;
    }

    .teo-member .lfm_menu_tab {
        position:
            relative !important;

        left:
            auto !important;

        right:
            auto !important;

        top:
            auto !important;

        width:
            100% !important;

        margin-left:
            0 !important;

        padding:
            5px
            0 !important;

        flex-direction:
            column;

        align-items:
            stretch;

        background:
            #eee5d3 !important;
    }

    .teo-member .lfm_menu_tab > li > a {
        width:
            100%;

        padding-left:
            34px !important;

        line-height:
            36px !important;
    }

    .teo-member .lfm_menu_bar:has(.lfm_tab_opened) {
        margin-bottom:
            18px !important;
    }

}




/* ============================================================
   TEO LEGACY MEMBER NAV - FULL WIDTH STRUCTURE
   ============================================================ */


/* Cream brand/header area */

.teo-member .lfm_menu_bar {
    padding: 0 !important;

    background:
        repeating-linear-gradient(
            0deg,
            rgba(116,96,68,.018) 0,
            rgba(116,96,68,.018) 1px,
            transparent 1px,
            transparent 6px
        ),
        #fffdf8 !important;
}


.teo-member .lfm_menu_bar .navbar {
    display: flex;
    flex-wrap: wrap;

    width: 100%;
    max-width: none;

    min-height: 0;

    margin: 0;
    padding: 0;
}


/* Brand gets its own row */

.teo-member .teo-brand {
    width: min(100% - 48px, 1500px);

    margin:
        0
        auto !important;

    padding:
        15px
        24px
        13px;

    box-sizing: border-box;
}


.teo-member .teo-brand-copy strong {
    color: #123e4e !important;
}


.teo-member .teo-brand-copy small {
    color: #75817d !important;
}


/* Main navigation becomes a real full-width green strip */

.teo-member .lfm_menu_bar .navbar-collapse {
    flex-basis: 100% !important;

    width: 100%;

    background:
        repeating-linear-gradient(
            45deg,
            rgba(255,255,255,.018) 0,
            rgba(255,255,255,.018) 2px,
            transparent 2px,
            transparent 8px
        ),
        #2F6B66;

    border-top:
        1px solid rgba(18,62,78,.10);

    border-bottom:
        1px solid rgba(18,62,78,.25);

    box-shadow:
        0 3px 9px rgba(18,62,78,.08);
}


.teo-member .lfm_menu_bar .navbar-nav {
    width: min(100% - 48px, 1500px);

    margin:
        0
        auto !important;

    padding:
        6px
        24px;

    box-sizing:
        border-box;

    background:
        transparent !important;

    border-radius:
        0 !important;
}


/* Top-level links */

.teo-member .lfm_menu_bar
.navbar-nav > .nav-item > .nav-link {
    color:
        #fffaf0 !important;

    background:
        transparent !important;

    font-weight:
        600 !important;
}


.teo-member .lfm_menu_bar
.navbar-nav > .nav-item > .nav-link:hover {
    color:
        #ffffff !important;

    background:
        rgba(255,255,255,.09) !important;

    border-color:
        rgba(255,255,255,.12) !important;
}


/* Active main menu */

.teo-member .lfm_menu_bar
.navbar-nav > .nav-item.lfm_tab_opened > .nav-link,
.teo-member .lfm_menu_bar
.navbar-nav > .nav-item.lfm_tab_opened > .nav-link:hover {
    color:
        #123e4e !important;

    background:
        #f3e9d4 !important;

    border-color:
        rgba(231,173,61,.48) !important;

    box-shadow:
        inset 0 -3px 0 #C85642,
        0 3px 8px rgba(0,0,0,.08) !important;
}


/* Submenu remains a proper cream strip */

.teo-member .lfm_menu_tab {
    background:
        repeating-linear-gradient(
            90deg,
            rgba(122,102,73,.020) 0,
            rgba(122,102,73,.020) 1px,
            transparent 1px,
            transparent 7px
        ),
        #eee5d3 !important;

    box-shadow:
        0 3px 8px rgba(45,45,38,.04);
}


/* Mobile goes back to stacked menu */

@media (max-width: 991.98px) {

    .teo-member .teo-brand {
        width: 100%;

        padding:
            11px
            15px;
    }

    .teo-member .lfm_menu_bar .navbar-collapse {
        width: 100%;
    }

    .teo-member .lfm_menu_bar .navbar-nav {
        width: 100%;

        padding:
            5px
            10px;
    }

}




/* ============================================================
   TEO LEGACY MEMBER NAV
   MATCH NEW TEO / HUB NAVIGATION
   ============================================================ */


/* Whole legacy navigation area */

body.teo-member .lfm_menu_bar {
    position: relative;

    margin: 0 0 58px !important;
    padding: 0 !important;

    background:
        repeating-linear-gradient(
            0deg,
            rgba(111,91,63,.018) 0,
            rgba(111,91,63,.018) 1px,
            transparent 1px,
            transparent 6px
        ),
        #fffaf0 !important;

    border: 0 !important;

    border-bottom:
        1px solid rgba(18,62,78,.14) !important;

    box-shadow:
        0 4px 12px rgba(49,49,40,.06) !important;
}


/* One compact horizontal row */

body.teo-member .lfm_menu_bar .navbar {
    display: flex !important;
    align-items: center !important;
    flex-wrap: nowrap !important;

    width: 100% !important;
    max-width: 1500px !important;

    min-height: 68px !important;

    margin: 0 auto !important;

    padding:
        8px
        24px !important;

    box-sizing: border-box;
}


/* ------------------------------------------------------------
   BRAND
   ------------------------------------------------------------ */

body.teo-member .teo-brand {
    display: flex !important;
    align-items: center !important;

    width: auto !important;

    flex: 0 0 auto !important;

    margin:
        0
        28px
        0
        0 !important;

    padding:
        0
        28px
        0
        0 !important;

    border-right:
        1px solid rgba(18,62,78,.12);

    border-bottom:
        0 !important;

    color:
        #123e4e !important;
}


body.teo-member .teo-brand-mark {
    width: 31px !important;
    height: 31px !important;

    flex:
        0 0 31px !important;
}


body.teo-member .teo-brand-copy strong {
    color:
        #123e4e !important;

    font-size:
        18px !important;

    font-weight:
        800 !important;

    line-height:
        1.08 !important;
}


body.teo-member .teo-brand-copy small {
    margin-top:
        4px !important;

    color:
        #7a817d !important;

    font-size:
        9.5px !important;

    font-weight:
        500 !important;

    line-height:
        1 !important;
}


/* ------------------------------------------------------------
   MAIN NAVIGATION
   ------------------------------------------------------------ */

body.teo-member .lfm_menu_bar .navbar-collapse {
    display: flex !important;
    align-items: center !important;

    flex: 1 1 auto !important;

    width: auto !important;

    background:
        transparent !important;

    border:
        0 !important;

    box-shadow:
        none !important;
}


body.teo-member .lfm_menu_bar .navbar-nav {
    display: flex !important;
    align-items: center !important;
    flex-direction: row !important;

    width: auto !important;

    margin:
        0 !important;

    padding:
        0 !important;

    background:
        transparent !important;

    border:
        0 !important;

    border-radius:
        0 !important;
}


/* Main menu links */

body.teo-member .lfm_menu_bar
.navbar-nav > .nav-item > .nav-link {
    position: relative;

    display: flex !important;
    align-items: center !important;

    min-height:
        38px !important;

    margin:
        0 1px !important;

    padding:
        8px
        14px !important;

    border:
        1px solid transparent !important;

    border-radius:
        5px !important;

    color:
        #123e4e !important;

    background:
        transparent !important;

    font-size:
        13px !important;

    font-weight:
        650 !important;

    line-height:
        1.2 !important;

    box-shadow:
        none !important;
}


/* Hover */

body.teo-member .lfm_menu_bar
.navbar-nav > .nav-item > .nav-link:hover {
    color:
        #155f5a !important;

    background:
        rgba(21,95,90,.06) !important;

    border-color:
        rgba(21,95,90,.10) !important;
}


/* Active main section */

body.teo-member .lfm_menu_bar
.navbar-nav > .nav-item.lfm_tab_opened > .nav-link,
body.teo-member .lfm_menu_bar
.navbar-nav > .nav-item.lfm_tab_opened > .nav-link:hover {
    color:
        #123e4e !important;

    background:
        #f3e9d4 !important;

    border-color:
        rgba(18,62,78,.13) !important;

    box-shadow:
        inset 0 -3px 0 #C85642 !important;
}


/* Remove old LFMTE active-tab bridge/effects */

body.teo-member .lfm_menu_bar
.navbar-nav > .nav-item.lfm_tab_opened > .nav-link::after {
    content:
        none !important;

    display:
        none !important;
}


/* ------------------------------------------------------------
   SECOND-LEVEL LFMTE MENU
   ------------------------------------------------------------ */

body.teo-member .lfm_menu_tab {
    position:
        absolute !important;

    left:
        0 !important;

    right:
        0 !important;

    top:
        100% !important;

    width:
        100vw !important;

    min-height:
        46px;

    margin-left:
        calc(50% - 50vw) !important;

    padding:
        0
        max(
            24px,
            calc((100vw - 1500px) / 2 + 24px)
        ) !important;

    align-items:
        center !important;

    background:
        repeating-linear-gradient(
            90deg,
            rgba(122,102,73,.018) 0,
            rgba(122,102,73,.018) 1px,
            transparent 1px,
            transparent 7px
        ),
        #eee5d3 !important;

    border:
        0 !important;

    border-bottom:
        1px solid rgba(18,62,78,.11) !important;

    box-shadow:
        0 3px 8px rgba(45,45,38,.035) !important;
}


/* Submenu links */

body.teo-member .lfm_menu_tab > li > a {
    padding:
        0
        14px !important;

    color:
        #123e4e !important;

    background:
        transparent !important;

    font-size:
        13px !important;

    font-weight:
        600 !important;

    line-height:
        45px !important;
}


body.teo-member .lfm_menu_tab > li > a:hover {
    color:
        #C85642 !important;

    background:
        rgba(255,255,255,.32) !important;
}


/* ------------------------------------------------------------
   MOBILE
   ------------------------------------------------------------ */

@media (max-width: 991.98px) {

    body.teo-member .lfm_menu_bar {
        margin-bottom:
            18px !important;
    }

    body.teo-member .lfm_menu_bar .navbar {
        align-items:
            flex-start !important;

        flex-wrap:
            wrap !important;

        padding:
            10px
            16px !important;
    }

    body.teo-member .teo-brand {
        width:
            100% !important;

        margin:
            0
            0
            8px !important;

        padding:
            0
            0
            9px !important;

        border-right:
            0;

        border-bottom:
            1px solid rgba(18,62,78,.10) !important;
    }

    body.teo-member .lfm_menu_bar .navbar-collapse {
        width:
            100% !important;
    }

    body.teo-member .lfm_menu_bar .navbar-nav {
        width:
            100% !important;

        overflow-x:
            auto;

        flex-wrap:
            nowrap !important;
    }

    body.teo-member .lfm_menu_tab {
        position:
            relative !important;

        left:
            auto !important;

        right:
            auto !important;

        top:
            auto !important;

        width:
            100% !important;

        margin-left:
            0 !important;

        padding:
            5px
            0 !important;

        flex-direction:
            column !important;

        align-items:
            stretch !important;
    }

    body.teo-member .lfm_menu_tab > li > a {
        padding-left:
            24px !important;

        line-height:
            37px !important;
    }

}




/* ============================================================
   TEO LEGACY BRAND VISIBILITY FIX
   Desktop and mobile logos must never appear together
   ============================================================ */

@media (min-width: 992px) {

    body.teo-member .teo-brand.d-none.d-lg-flex {
        display: flex !important;
    }

    body.teo-member .teo-brand-mobile {
        display: none !important;
    }

}

@media (max-width: 991.98px) {

    body.teo-member .teo-brand.d-none.d-lg-flex {
        display: none !important;
    }

    body.teo-member .teo-brand-mobile {
        display: flex !important;
    }

}




/* ============================================================
   TEO LEGACY BRAND - SLIGHTLY LARGER
   ============================================================ */

@media (min-width: 992px) {

    body.teo-member .teo-brand-mark {
        width: 38px !important;
        height: 38px !important;

        flex: 0 0 38px !important;
    }

    body.teo-member .teo-brand-copy strong {
        font-size: 21px !important;
        line-height: 1.05 !important;
    }

    body.teo-member .teo-brand-copy small {
        margin-top: 4px !important;

        font-size: 10.5px !important;
        line-height: 1.05 !important;
    }

}




/* ============================================================
   TEO LEGACY BRAND - LEFT ALIGNMENT TWEAK
   ============================================================ */

@media (min-width: 992px) {

    body.teo-member .teo-brand {
        transform: translateX(-18px);
    }

}




/* ============================================================
   TEO LEGACY MEMBER NAV
   SINGLE ROW + NORMAL DROPDOWNS
   ============================================================ */

@media (min-width: 992px) {

    /* Remove all space previously reserved for second nav row */

    body.teo-member .lfm_menu_bar {
        margin-bottom: 20px !important;
        padding: 0 !important;

        background:
            repeating-linear-gradient(
                0deg,
                rgba(111,91,63,.018) 0,
                rgba(111,91,63,.018) 1px,
                transparent 1px,
                transparent 6px
            ),
            #fffaf0 !important;

        border-bottom:
            1px solid rgba(18,62,78,.13) !important;

        box-shadow:
            0 4px 12px rgba(49,49,40,.06) !important;
    }


    /* One navigation row */

    body.teo-member .lfm_menu_bar .navbar {
        display: flex !important;
        align-items: center !important;
        flex-wrap: nowrap !important;

        width: 100% !important;
        max-width: 1500px !important;

        min-height: 70px !important;

        margin: 0 auto !important;

        padding: 8px 24px !important;
    }


    /* Brand */

    body.teo-member .teo-brand {
        display: flex !important;
        align-items: center !important;

        width: auto !important;

        margin: 0 26px 0 0 !important;
        padding: 0 26px 0 0 !important;

        transform: none !important;

        border-right:
            1px solid rgba(18,62,78,.12) !important;

        border-bottom: 0 !important;
    }

    body.teo-member .teo-brand-mark {
        width: 38px !important;
        height: 38px !important;

        flex: 0 0 38px !important;
    }

    body.teo-member .teo-brand-copy strong {
        font-size: 21px !important;
        font-weight: 800 !important;
    }

    body.teo-member .teo-brand-copy small {
        font-size: 10.5px !important;
        font-weight: 500 !important;
    }


    /* Main menu container */

    body.teo-member .lfm_menu_bar .navbar-collapse {
        display: flex !important;
        align-items: center !important;

        flex: 1 1 auto !important;

        width: auto !important;

        background: transparent !important;

        border: 0 !important;
        box-shadow: none !important;
    }

    body.teo-member .lfm_menu_bar .navbar-nav {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;

        width: auto !important;

        margin: 0 !important;
        padding: 0 !important;

        background: transparent !important;

        border: 0 !important;
        border-radius: 0 !important;
    }


    /* Each top-level menu becomes dropdown parent */

    body.teo-member .lfm_menu_bar
    .navbar-nav > .nav-item {
        position: relative !important;
    }


    /* Main menu buttons */

    body.teo-member .lfm_menu_bar
    .navbar-nav > .nav-item > .nav-link {
        display: flex !important;
        align-items: center !important;

        min-height: 40px !important;

        margin: 0 2px !important;

        padding: 8px 15px !important;

        border:
            1px solid transparent !important;

        border-radius: 5px !important;

        background: transparent !important;

        color: #123e4e !important;

        font-size: 13px !important;
        font-weight: 650 !important;

        box-shadow: none !important;
    }


    /* Add normal dropdown indicator */

    body.teo-member .lfm_menu_bar
    .navbar-nav > .nav-item > .nav-link::before {
        content: none !important;
    }

    body.teo-member .lfm_menu_bar
    .navbar-nav > .nav-item > .nav-link::after {
        content: "▾" !important;

        display: inline-block !important;

        position: static !important;

        width: auto !important;
        height: auto !important;

        margin-left: 7px !important;

        background: none !important;

        color: #7a817d !important;

        font-size: 10px !important;
        line-height: 1 !important;
    }


    /* Hover */

    body.teo-member .lfm_menu_bar
    .navbar-nav > .nav-item > .nav-link:hover {
        color: #155f5a !important;

        background:
            rgba(21,95,90,.06) !important;

        border-color:
            rgba(21,95,90,.10) !important;
    }


    /* Current section */

    body.teo-member .lfm_menu_bar
    .navbar-nav > .nav-item.lfm_tab_opened > .nav-link {
        color: #123e4e !important;

        background: #f3e9d4 !important;

        border-color:
            rgba(18,62,78,.13) !important;

        box-shadow:
            inset 0 -3px 0 #C85642 !important;
    }


    /* --------------------------------------------------------
       OLD SECOND-LEVEL MENU BECOMES NORMAL DROPDOWN
       -------------------------------------------------------- */

    body.teo-member .lfm_menu_tab,
    body.teo-member li.lfm_tab_opened > .lfm_menu_tab {
        display: none !important;

        position: absolute !important;

        top: calc(100% + 6px) !important;
        left: 0 !important;
        right: auto !important;

        width: 230px !important;
        min-width: 230px !important;
        min-height: 0 !important;

        margin: 0 !important;

        padding: 7px !important;

        flex-direction: column !important;
        align-items: stretch !important;

        background:
            #fffaf0 !important;

        border:
            1px solid rgba(18,62,78,.14) !important;

        border-radius:
            7px !important;

        box-shadow:
            0 12px 26px rgba(31,45,43,.13) !important;

        z-index:
            2000 !important;
    }


    /* Show dropdown on hover/focus */

    body.teo-member .lfm_menu_bar
    .navbar-nav > .nav-item:hover > .lfm_menu_tab,

    body.teo-member .lfm_menu_bar
    .navbar-nav > .nav-item:focus-within > .lfm_menu_tab {
        display: flex !important;
    }


    /* Dropdown links */

    body.teo-member .lfm_menu_tab > li {
        width: 100% !important;

        margin: 0 !important;
        padding: 0 !important;
    }

    body.teo-member .lfm_menu_tab > li > a {
        display: block !important;

        width: 100% !important;

        padding:
            9px
            11px !important;

        box-sizing: border-box;

        border-radius:
            4px;

        background:
            transparent !important;

        color:
            #123e4e !important;

        font-size:
            13px !important;

        font-weight:
            600 !important;

        line-height:
            1.3 !important;

        text-decoration:
            none !important;
    }

    body.teo-member .lfm_menu_tab > li > a:hover {
        color:
            #C85642 !important;

        background:
            #f3e9d4 !important;
    }


    /* Existing third-level dropdowns open to the right */

    body.teo-member .lfm_menu_tab > li.dropdown {
        position: relative !important;
    }

    body.teo-member .lfm_menu_tab
    > li.dropdown > .dropdown-menu {
        top: 0 !important;
        left: calc(100% + 5px) !important;

        margin: 0 !important;

        min-width: 220px;

        border:
            1px solid rgba(18,62,78,.14);

        border-radius:
            7px;

        background:
            #fffaf0;

        box-shadow:
            0 12px 26px rgba(31,45,43,.13);
    }


    /* Ensure no old second-row spacing survives */

    body.teo-member .lfm_menu_bar:has(.lfm_tab_opened) {
        margin-bottom:
            20px !important;
    }

}




/* ============================================================
   TEO LEGACY LOGO VISIBILITY - FINAL
   ============================================================ */

@media (min-width: 992px) {

    body.teo-member .lfm_menu_bar
    .teo-brand.d-none.d-lg-flex {
        display: flex !important;
    }

    body.teo-member .lfm_menu_bar
    .teo-brand-mobile.d-lg-none {
        display: none !important;
    }

}

@media (max-width: 991.98px) {

    body.teo-member .lfm_menu_bar
    .teo-brand.d-none.d-lg-flex {
        display: none !important;
    }

    body.teo-member .lfm_menu_bar
    .teo-brand-mobile.d-lg-none {
        display: flex !important;
    }

}




/* ============================================================
   TEO LOST PASSWORD PAGE
   ============================================================ */

body.teo-page-lostpass {
    background:
        repeating-linear-gradient(
            0deg,
            rgba(109,88,59,.018) 0,
            rgba(109,88,59,.018) 1px,
            transparent 1px,
            transparent 6px
        ),
        #f7f0e3;
}


/* Main legacy content area */

body.teo-page-lostpass .teo-page-shell {
    display: flex;
    align-items: flex-start;
    justify-content: center;

    padding:
        52px
        20px
        70px;
}


/* Form becomes TEO card */

body.teo-page-lostpass form {
    width: min(100%, 560px);

    margin: 0 auto;

    padding:
        34px
        38px
        38px;

    border:
        1px solid
        rgba(18,62,78,.15);

    border-radius:
        8px;

    background:
        repeating-linear-gradient(
            90deg,
            rgba(119,95,62,.018) 0,
            rgba(119,95,62,.018) 1px,
            transparent 1px,
            transparent 7px
        ),
        #fffaf0;

    box-shadow:
        0 12px 28px
        rgba(47,43,34,.07);
}


/* Remove legacy table appearance */

body.teo-page-lostpass form table {
    width: 100% !important;

    margin: 0 !important;

    border: 0 !important;

    background: transparent !important;

    box-shadow: none !important;

    border-radius: 0 !important;
}


body.teo-page-lostpass form td {
    display: block;

    width: 100% !important;

    padding:
        0 !important;

    border: 0 !important;

    background: transparent !important;

    text-align: left !important;
}


/* Heading */

body.teo-page-lostpass .membertdbold td,
body.teo-page-lostpass tr.membertdbold td {
    margin-bottom: 12px;

    color: #123e4e;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 30px;
    font-weight: 700;

    line-height: 1.2;
}


/* Coral thread accent */

body.teo-page-lostpass tr.membertdbold td::before {
    content: "";

    display: block;

    width: 46px;
    height: 2px;

    margin-bottom: 18px;

    background: #C85642;
}


/* Introductory copy */

body.teo-page-lostpass .formlabel {
    margin-bottom: 24px;

    color: #536964;

    font-size: 15px;
    line-height: 1.6;
}


/* Kill old spacer rows */

body.teo-page-lostpass form tr:nth-child(3),
body.teo-page-lostpass form tr:nth-child(5) {
    display: none;
}


/* Email label */

body.teo-page-lostpass .formlabelbold {
    margin-bottom: 7px;

    color: #123e4e;

    font-size: 13px;
    font-weight: 700;
}


/* Email field */

body.teo-page-lostpass input[type="text"] {
    width: 100% !important;
    min-height: 44px;

    margin-bottom: 20px;

    padding:
        9px
        12px;

    border:
        1px solid
        rgba(18,62,78,.24);

    border-radius:
        5px;

    background: #fffdf8;

    color: #304f4d;

    font-size: 15px;

    box-shadow:
        inset 0 1px 3px
        rgba(36,42,38,.04);
}


body.teo-page-lostpass input[type="text"]:focus {
    outline: none;

    border-color: #1cb8b0;

    box-shadow:
        0 0 0 3px
        rgba(28,184,176,.10);
}


/* Submit button */

body.teo-page-lostpass input[type="submit"] {
    min-width: 145px;
    min-height: 43px;

    padding:
        9px
        20px;

    border:
        1px solid
        rgba(18,62,78,.25);

    border-radius:
        5px;

    background: #155f5a;

    color: #fffaf0;

    font-size: 14px;
    font-weight: 700;

    cursor: pointer;

    box-shadow:
        0 4px 9px
        rgba(21,95,90,.13);
}


body.teo-page-lostpass input[type="submit"]:hover {
    background: #196d67;
}


/* Result message after submission */

body.teo-page-lostpass .teo-page-shell > center {
    width: min(100%, 560px);

    margin: 0 auto;

    padding:
        32px
        36px;

    border:
        1px solid
        rgba(18,62,78,.15);

    border-radius:
        8px;

    background: #fffaf0;

    color: #244f59;

    box-shadow:
        0 12px 28px
        rgba(47,43,34,.07);
}


body.teo-page-lostpass .teo-page-shell a {
    color: #155f5a;

    font-weight: 700;

    text-decoration: none;
}


body.teo-page-lostpass .teo-page-shell a:hover {
    color: #C85642;

    text-decoration: underline;
}


/* Mobile */

@media (max-width: 650px) {

    body.teo-page-lostpass .teo-page-shell {
        padding:
            28px
            14px
            45px;
    }

    body.teo-page-lostpass form {
        padding:
            27px
            22px
            30px;
    }

    body.teo-page-lostpass .membertdbold td,
    body.teo-page-lostpass tr.membertdbold td {
        font-size: 27px;
    }

}




/* ============================================================
   TEO LOST PASSWORD - TOP MENU SPACING
   ============================================================ */

body.teo-page-lostpass .teo-page-shell {
    padding-top: 78px !important;
}

@media (max-width: 650px) {

    body.teo-page-lostpass .teo-page-shell {
        padding-top: 42px !important;
    }

}




/* ============================================================
   TEO EMAIL VERIFICATION RESULT PAGE
   ============================================================ */

body.teo-page-verify {
    background:
        repeating-linear-gradient(
            0deg,
            rgba(109,88,59,.018) 0,
            rgba(109,88,59,.018) 1px,
            transparent 1px,
            transparent 6px
        ),
        #f7f0e3;
}


body.teo-page-verify .teo-page-shell {
    min-height: calc(100vh - 190px);

    padding:
        68px
        20px
        80px;
}


.teo-verify-card {
    width:
        min(100% - 30px, 560px);

    margin:
        0 auto;

    padding:
        38px
        42px
        40px;

    box-sizing:
        border-box;

    text-align:
        center;

    border:
        1px solid rgba(18,62,78,.15);

    border-radius:
        9px;

    background:
        repeating-linear-gradient(
            90deg,
            rgba(119,95,62,.018) 0,
            rgba(119,95,62,.018) 1px,
            transparent 1px,
            transparent 7px
        ),
        #fffaf0;

    box-shadow:
        0 12px 30px
        rgba(47,43,34,.07);
}


.teo-verify-mark img {
    display:
        block;

    width:
        46px;

    height:
        46px;

    margin:
        0 auto
        18px;
}


.teo-verify-kicker {
    margin-bottom:
        12px;

    color:
        #C85642;

    font-size:
        11px;

    font-weight:
        800;

    letter-spacing:
        1.8px;
}


.teo-verify-card h1 {
    margin:
        0
        0
        16px;

    color:
        #123e4e;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size:
        34px;

    line-height:
        1.15;
}


.teo-verify-card p {
    max-width:
        430px;

    margin:
        0 auto
        25px;

    color:
        #536964;

    font-size:
        16px;

    line-height:
        1.6;
}


.teo-verify-button {
    display:
        inline-block;

    min-width:
        165px;

    padding:
        12px
        22px;

    border:
        1px solid rgba(18,62,78,.25);

    border-radius:
        5px;

    background:
        #155f5a;

    color:
        #ffffff !important;

    font-size:
        14px;

    font-weight:
        700;

    text-decoration:
        none !important;

    box-shadow:
        0 4px 9px
        rgba(21,95,90,.13);
}


.teo-verify-button:hover {
    background:
        #196d67;

    color:
        #ffffff !important;
}


.teo-verify-note {
    margin-top:
        20px;

    color:
        #78827e;

    font-size:
        13px;
}


.teo-verify-secondary {
    display:
        block;

    margin-top:
        18px;

    color:
        #155f5a !important;

    font-size:
        13px;

    font-weight:
        700;

    text-decoration:
        none !important;
}


.teo-verify-secondary:hover {
    color:
        #C85642 !important;

    text-decoration:
        underline !important;
}


@media (max-width: 650px) {

    body.teo-page-verify .teo-page-shell {
        padding:
            42px
            14px
            55px;
    }

    .teo-verify-card {
        width:
            100%;

        padding:
            31px
            23px
            34px;
    }

    .teo-verify-card h1 {
        font-size:
            29px;
    }

}



/* =========================================================
   TEO PASSWORD TOGGLE - KEEP EYE INSIDE FIELD
   ========================================================= */

.teo-page-login .teo-password-wrap,
.teo-page-signup .teo-password-wrap {
    position: relative;
    display: block;
    width: 100%;
    max-width: 100%;
}

.teo-page-login .teo-password-wrap input[type="password"],
.teo-page-login .teo-password-wrap input[type="text"],
.teo-page-signup .teo-password-wrap input[type="password"],
.teo-page-signup .teo-password-wrap input[type="text"] {
    width: 100% !important;
    box-sizing: border-box;
    padding-right: 52px !important;
    margin: 0 !important;
}

.teo-page-login .teo-password-toggle,
.teo-page-signup .teo-password-toggle {
    position: absolute;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
    z-index: 3;

    width: 30px;
    height: 30px;
    padding: 0;
    margin: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    cursor: pointer;
    line-height: 1;
}

.teo-page-login .teo-password-toggle:hover,
.teo-page-signup .teo-password-toggle:hover {
    background: transparent !important;
    box-shadow: none !important;
}





/* ============================================================
   TEO PRIVATE MESSAGES
   ============================================================ */

body.teo-page-pmessages,
body.teo-page-pcompose {
    min-height: 100vh !important;
    display: flex !important;
    flex-direction: column !important;
    background:
        repeating-linear-gradient(
            0deg,
            rgba(91,72,43,.018) 0,
            rgba(91,72,43,.018) 1px,
            transparent 1px,
            transparent 7px
        ),
        #f8f3e9 !important;
}


/*
 * Legacy PM pages do not use the newer teo-page-shell,
 * so give their content enough height to keep the footer down.
 */
body.teo-page-pmessages .lfm_content,
body.teo-page-pcompose .lfm_content {
    width: min(100% - 32px, 920px) !important;

    min-height:
        calc(100vh - 350px);

    margin:
        20px auto
        40px !important;

    padding:
        0 !important;
}


/*
 * Remove rigid legacy widths.
 */
body.teo-page-pmessages .lfm_content table,
body.teo-page-pcompose .lfm_content table {
    width: 100% !important;
    max-width: 100% !important;
}


/*
 * Main legacy PM cards.
 */
body.teo-page-pmessages .lfm_content > table,
body.teo-page-pcompose .lfm_content > table {
    border:
        1px solid
        rgba(18,62,78,.15) !important;

    border-radius:
        10px !important;

    overflow:
        hidden;

    background:
        repeating-linear-gradient(
            0deg,
            rgba(106,82,48,.018) 0,
            rgba(106,82,48,.018) 1px,
            transparent 1px,
            transparent 7px
        ),
        #fffaf0 !important;

    box-shadow:
        0 8px 22px
        rgba(39,52,48,.07) !important;
}


/*
 * Page heading.
 */
body.teo-page-pmessages h3,
body.teo-page-pcompose h3 {
    margin:
        8px 0
        5px !important;

    color:
        #123e4e !important;

    font-family:
        Georgia,
        "Times New Roman",
        serif !important;

    font-size:
        31px !important;

    font-weight:
        700 !important;
}


/*
 * Inbox navigation.
 */
body.teo-page-pmessages .lfm_content center a,
body.teo-page-pcompose .lfm_content center a {
    display:
        inline-block;

    margin:
        3px 2px;

    padding:
        7px 10px;

    border:
        1px solid
        rgba(18,62,78,.12);

    border-radius:
        4px;

    background:
        #f4e5ca;

    color:
        #123e4e !important;

    font-size:
        13px;

    font-weight:
        700;

    text-decoration:
        none !important;
}


/*
 * Fields.
 */
body.teo-page-pcompose input[type="text"],
body.teo-page-pcompose select,
body.teo-page-pcompose textarea {
    width:
        100% !important;

    max-width:
        100% !important;
}


/*
 * Message editor textarea.
 */
body.teo-page-pcompose
textarea[name="messagebody"] {
    display:
        block;

    min-height:
        260px !important;

    padding:
        16px !important;

    border:
        1px solid
        rgba(18,62,78,.22) !important;

    border-radius:
        0 0 7px 7px !important;

    background:
        #fffdf8 !important;

    color:
        #294947 !important;

    font-family:
        Arial,
        Helvetica,
        sans-serif !important;

    font-size:
        15px !important;

    line-height:
        1.6 !important;

    resize:
        vertical;
}


/*
 * Formatting toolbar.
 */
.teo-pm-editor {
    display:
        flex;

    align-items:
        center;

    flex-wrap:
        wrap;

    gap:
        6px;

    padding:
        9px 10px;

    border:
        1px solid
        rgba(18,62,78,.22);

    border-bottom:
        0;

    border-radius:
        7px 7px 0 0;

    background:
        repeating-linear-gradient(
            90deg,
            rgba(92,70,42,.025) 0,
            rgba(92,70,42,.025) 1px,
            transparent 1px,
            transparent 6px
        ),
        #efe2c8;
}


.teo-pm-tool {
    min-width:
        36px;

    min-height:
        34px;

    padding:
        5px 9px;

    border:
        1px solid
        rgba(18,62,78,.18);

    border-radius:
        4px;

    background:
        #fff9ed;

    color:
        #123e4e;

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    font-size:
        13px;

    cursor:
        pointer;

    box-shadow:
        0 2px 4px
        rgba(39,44,38,.045);
}


.teo-pm-tool:hover {
    background:
        #f6dcb9;
}


.teo-pm-editor-help {
    margin-left:
        auto;

    color:
        #728078;

    font-size:
        11px;
}


/*
 * Main Send button.
 */
body.teo-page-pcompose input[type="submit"] {
    min-height:
        39px;

    padding:
        8px 18px !important;

    border:
        0 !important;

    border-radius:
        5px !important;

    background:
        #166862 !important;

    color:
        #ffffff !important;

    font-weight:
        800 !important;

    cursor:
        pointer;

    box-shadow:
        0 4px 9px
        rgba(18,62,78,.14);
}


body.teo-page-pcompose input[type="submit"]:hover {
    background:
        #10534f !important;
}


/*
 * Rendered message itself.
 */
.teo-pm-message-body {
    padding:
        20px 18px;

    background:
        #fffdf8;

    color:
        #334f4b;

    font-size:
        15px;

    line-height:
        1.65;

    overflow-wrap:
        anywhere;
}


.teo-pm-message-body p:first-child {
    margin-top:
        0;
}


.teo-pm-message-body p:last-child {
    margin-bottom:
        0;
}


.teo-pm-message-body a {
    color:
        #0b6967;

    font-weight:
        700;

    text-decoration:
        underline;
}


.teo-pm-message-body a:hover {
    color:
        #C85642;
}


/*
 * Old table headings and message rows.
 */
body.teo-page-pmessages th,
body.teo-page-pmessages td,
body.teo-page-pcompose td {
    border-color:
        rgba(18,62,78,.10) !important;
}


body.teo-page-pmessages th {
    background:
        #eadfc9 !important;

    color:
        #123e4e !important;

    font-weight:
        800 !important;
}


/*
 * Footer stays at viewport bottom on short PM pages.
 */
body.teo-page-pmessages .teo-site-footer,
body.teo-page-pcompose .teo-site-footer {
    margin-top:
        auto !important;

    flex-shrink:
        0;
}


@media (max-width: 700px) {

    body.teo-page-pmessages .lfm_content,
    body.teo-page-pcompose .lfm_content {
        width:
            calc(100% - 20px) !important;

        margin-top:
            12px !important;
    }


    body.teo-page-pmessages h3,
    body.teo-page-pcompose h3 {
        font-size:
            26px !important;
    }


    .teo-pm-editor-help {
        width:
            100%;

        margin:
            3px 0 0;
    }


    .teo-pm-tool {
        flex:
            0 0 auto;
    }

}




/* ============================================================
   TEO PM VISUAL EDITOR + CENTERED COMPOSE
   ============================================================ */

body.teo-page-pcompose
.teo-pm-page {
    width:
        min(
            calc(100% - 32px),
            900px
        ) !important;

    margin:
        28px auto
        50px !important;

    padding:
        0 !important;
}


/*
 * The two main legacy tables become centered TEO cards.
 */
body.teo-page-pcompose
.teo-pm-page > table {
    width:
        100% !important;

    max-width:
        900px !important;

    margin:
        0 auto
        22px !important;

    border:
        1px solid
        rgba(18,62,78,.14) !important;

    border-radius:
        10px !important;

    border-collapse:
        separate !important;

    border-spacing:
        0 !important;

    overflow:
        hidden;

    background:
        repeating-linear-gradient(
            0deg,
            rgba(95,72,43,.022) 0,
            rgba(95,72,43,.022) 1px,
            transparent 1px,
            transparent 7px
        ),
        #fffaf0 !important;

    box-shadow:
        0 8px 24px
        rgba(38,52,48,.07);
}


body.teo-page-pcompose
.teo-pm-page > table > tbody > tr > td {
    padding:
        18px !important;
}


/*
 * Heading card.
 */
body.teo-page-pcompose
.teo-pm-page > table:first-child {
    text-align:
        center;
}


body.teo-page-pcompose
.teo-pm-page h3 {
    margin:
        0 0
        10px !important;

    font-size:
        32px !important;
}


/*
 * Inner layout should not preserve LFMTE's old fixed widths.
 */
body.teo-page-pcompose
.teo-pm-page table table {
    width:
        100% !important;

    max-width:
        100% !important;
}


body.teo-page-pcompose
.teo-pm-page input[type="text"],
body.teo-page-pcompose
.teo-pm-page select {
    width:
        100% !important;

    min-height:
        44px !important;

    padding:
        9px 12px !important;

    border:
        1px solid
        rgba(18,62,78,.20) !important;

    border-radius:
        6px !important;

    background:
        #fffdf8 !important;

    font-size:
        15px !important;
}


/*
 * Hide raw HTML storage textarea.
 */
body.teo-page-pcompose
textarea.teo-pm-source {
    display:
        none !important;
}


/*
 * Actual visual editing area.
 */
.teo-pm-rich-editor {
    width:
        100%;

    min-height:
        280px;

    padding:
        17px 18px;

    border:
        1px solid
        rgba(18,62,78,.22);

    border-top:
        0;

    border-radius:
        0 0 8px 8px;

    outline:
        none;

    background:
        #fffdf8;

    color:
        #294947;

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    font-size:
        15px;

    line-height:
        1.65;

    text-align:
        left;

    overflow-wrap:
        anywhere;

    white-space:
        normal;

    box-shadow:
        inset 0 1px 3px
        rgba(36,42,38,.035);
}


.teo-pm-rich-editor:focus {
    border-color:
        #1cb8b0;

    background:
        #ffffff;

    box-shadow:
        0 0 0 3px
        rgba(28,184,176,.09);
}


.teo-pm-rich-editor:empty:before {
    content:
        attr(data-placeholder);

    color:
        #929b96;

    pointer-events:
        none;
}


.teo-pm-rich-editor p {
    margin:
        0 0
        12px;
}


.teo-pm-rich-editor ul,
.teo-pm-rich-editor ol {
    padding-left:
        25px;
}


/*
 * Toolbar belongs directly to visual editor.
 */
body.teo-page-pcompose
.teo-pm-editor {
    width:
        100%;

    margin:
        0;

    padding:
        10px 11px;

    border-radius:
        8px 8px 0 0;

    background:
        repeating-linear-gradient(
            90deg,
            rgba(95,72,43,.025) 0,
            rgba(95,72,43,.025) 1px,
            transparent 1px,
            transparent 7px
        ),
        #eadfc8;
}


body.teo-page-pcompose
.teo-pm-tool {
    min-width:
        40px;

    min-height:
        36px;

    border:
        1px solid
        rgba(18,62,78,.15);

    background:
        #fff9ed;

    color:
        #123e4e;

    box-shadow:
        0 2px 5px
        rgba(35,45,40,.06);
}


body.teo-page-pcompose
.teo-pm-tool:hover {
    background:
        #f4d8b4;

    transform:
        translateY(-1px);
}


/*
 * Give the Send row breathing room.
 */
body.teo-page-pcompose
.teo-pm-page
input[type="submit"] {
    min-width:
        100px;

    min-height:
        42px;

    margin:
        2px 0;

    background:
        #166862 !important;
}


/*
 * Prevent ancient width attributes winning visually.
 */
body.teo-page-pcompose
.teo-pm-page td {
    max-width:
        none !important;
}


@media (max-width: 700px) {

    body.teo-page-pcompose
    .teo-pm-page {
        width:
            calc(100% - 18px) !important;

        margin-top:
            14px !important;
    }


    body.teo-page-pcompose
    .teo-pm-page > table > tbody > tr > td {
        padding:
            13px !important;
    }


    .teo-pm-rich-editor {
        min-height:
            230px;
    }

}



/* TEO PM SEND AREA */

.teo-pm-send-area {
    display: flex;

    justify-content:
        flex-end;

    padding:
        16px 0 2px;
}

.teo-pm-send-area
input[type="submit"] {
    min-width:
        120px !important;

    min-height:
        44px !important;

    margin:
        0 !important;
}

@media (max-width: 600px) {

    .teo-pm-send-area
    input[type="submit"] {
        width:
            100% !important;
    }

}

