/*
Theme Name: BlankSlate Child SPL 2021.2
Template: blankslate
Author: Gilbert Fung
Description: Child theme based on BlankSlate theme
Tags: one-column,two-columns,custom-menu,featured-images,microformats,sticky-post,threaded-comments,translation-ready
Version: 2021.2.1639009735
Updated: 2021-12-08 16:28:55

*/

:root {
    --color-gray-100: #000000;
    --color-gray-50: #808080;
    --color-gray-10: #f5f5f5;
    --color-gray-0: #ffffff;
    --color-blue-100: #005777;
    --color-blue-50: #0088bb;
    --color-blue-30: #a1d5e8;
    --color-blue-10: #dbeef5;
    --color-yellow-100: #443300;
    --color-yellow-50: #ffcc00;

    --color-brand-100: var(--color-blue-100);
    --color-brand-50: var(--color-blue-50);
    --color-brand-30: var(--color-blue-30);
    --color-brand-10: var(--color-blue-10);
    --color-accent-100: var(--color-yellow-100);
    --color-accent-50: var(--color-yellow-50);

    --shadow-blue: 0 2px 16px -4px #00577780;
    --shadow: var(--shadow-blue);
    --shadow-hover: 0 2px 16px -8px rgb(0 0 0 / 30%);
    --shadow-text: 0 2px 8px rgb(0 0 0 / 30%);
}
::selection {
    color: var(--color-gray-0);
    background-color: var(--color-brand-100);
}

html {
    font-family: 'Noto Sans SC', sans-serif;
    scroll-behavior: smooth;
}
body {
    font-size: 16px;
    line-height: 24px;
    color: #333;
    background-color: #f5f5f5;
    margin: 0;
}

/*** Typography ***/
.panel-container h1,
.h1 {
    margin-top: 0rem;
    margin-bottom: 1rem;
    font-size: 32px;
    line-height: 40px;
    color: #f5f5f5;
    font-weight: normal;
    text-shadow: var(--shadow-text);
}
.panel-container h2,
.h2 {
    margin-top: 1rem;
    margin-bottom: 1rem;
    font-size: 24px;
    line-height: 36px;
    font-weight: bold;
}
.panel-container h3,
.h3 {
    margin-top: 1rem;
    margin-bottom: 1rem;
    font-size: 20px;
    font-weight: bold;
}
.panel-container h4,
.h4 {
    margin-top: 1rem;
    margin-bottom: 1rem;
    font-size: 18px;
    font-weight: bold;
}
.panel-container h5,
.h5 {
    margin-top: 1rem;
    margin-bottom: 1rem;
    font-size: 16px;
    font-weight: bold;
}
.panel-container p,
p {
    margin: 1rem auto;
}
a {
    color: var(--color-brand-50);
    transition: all 0.25s;
}
a:hover {
    color: var(--color-brand-100);
}
ul {
    list-style-type: disc;
}
ol {
    list-style-type: decimal;
}
strong {
    font-weight: bold;
}
.subtitle {
    font-weight: normal;
    font-size: 24px;
    color: #f5f5f5;
    text-shadow: var(--shadow-text);
}
h2.subtitle { margin-top: 0; font-weight: normal; }
small, .small {
    font-size: 0.8rem;
    line-height: 24px;
}
.label {
    display: inline-block;
    margin-bottom: 0.5rem;
    border-radius: 4px;
    padding: 0.25rem 0.5rem;
    background-color: var(--color-brand-10);
    font-size: small;
    font-weight: bold;
}
.highlight {
    border-radius: 8px;
    background-color: var(--color-brand-10);
}
.text-left {
    text-align: left;
}
.text-center {
    text-align: center;
}
.text-right {
    text-align: right;
}
br.line-break {
    display: none;
}
@media (min-width: 768px) {
    .panel-container h1, h1 {
        margin-top: 2rem;
        margin-bottom: 1rem;
        font-size: 48px;
        line-height: 64px;
    }
    .panel-container h2, h2 {
        margin-top: 2rem;
        font-size: 28px;
    }
    h2.subtitle { margin-top: 0; font-weight: normal; }
    .panel-container h3, h3 {
      	font-size: 20px;
    }
    .panel-container h4, h4 {
      	font-size: 16px;
    }
    .panel-container h5, h5 {
      	font-size: 16px;
    }

    br.line-break {
        display: block;
    }
}

/*** Layout - Page Builder ***/
.panel-row {
    padding-top: 0;
    padding-bottom: 16px;
    background-position: center;
    background-repeat: no-repeat;
}
.row-light {
    color: var(--color-brand-100);
}
.row-dark {
    color: var(--color-gray-0);
}
.row-dark .card {
    color: var(--color-gray-100);
}
.panel-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px;
}
.text-container {
    max-width: 900px;
    margin: 0 auto;
}

/*** Layout - General ***/
.flex-row {
    display: flex;
    flex-flow: column nowrap;
    justify-content: center;
    margin: 16px 0 0;
}
.flex-row > div {
    margin: 8px 0;
}
.flex-row + .flex-row {
    margin-top: 1rem;
}
.no-wrap {
    flex-flow: row nowrap;
}
.no-wrap > div {
    margin: 0 4px;
}
.col-1 {
    flex: 1;
}
.col-2 {
    flex: 2;
}
.scroll-horiz {
    display: flex;
    flex-flow: row nowrap;
    overflow-x: scroll;
    justify-content: flex-start;
    margin: 0 -1rem;
    padding-left: 1rem;
  	padding-bottom: 0.5rem;
}
.scroll-horiz > [class^='col-'] {
    margin-right: 1rem;
}
.scroll-horiz::-webkit-scrollbar {
    width: 13px;
}
.scroll-horiz::-webkit-scrollbar-track {
    background: transparent;
}
.scroll-horiz::-webkit-scrollbar-thumb {
    background: var(--color-brand-50);
    border-radius: 6px;
}
.scroll-horiz:hover::-webkit-scrollbar-thumb {
    background: var(--color-brand-100);
}
.row-dark .scroll-horiz::-webkit-scrollbar-track {

}
.row-dark .scroll-horiz::-webkit-scrollbar-thumb {
	background: var(--color-brand-30);  
}
.row-dark .scroll-horiz:hover::-webkit-scrollbar-thumb {
    background: var(--color-brand-10);
}

.banner {
    flex-flow: row nowrap;
    text-align: center;
    justify-content: space-around;
    text-shadow: var(--shadow-text);
    margin: 0 -8px;
    padding: 0;
    list-style-type: none;
}
.banner > * {
    margin: 0 8px;
}
.banner.banner-sitewide,
.banner.banner-sitewide > * {
    margin: 0;
}
@media (min-width: 768px) {
    .flex-row {
        flex-flow: row nowrap;
        margin: 0 -8px 0;
    }
    .flex-row > div {
        margin: 0 8px;
    }
    .scroll-horiz {
        overflow-x: scroll;
    }
    .alternate-row:nth-of-type(2n-2) > div:first-child {
        order: 2;
    }
}
@media (min-width: 768px) and (max-width: 1024px) {
    .scroll-horiz {
        overflow-x: scroll;
    }
}

/*** Reusuable Components ***/
.card,
.sheet {
    border-radius: 8px;
    box-shadow: var(--shadow);
    overflow: hidden;
}
.card {
    background-color: var(--color-gray-0);
}
.card > *:first-child,
.card-content > *:first-child {
    margin-top: 0;
}
.card-content {
    padding: 1rem;
}
.sheet {
    background-color: var(--color-brand-50);
    overflow: hidden;
}
.sheet__header,
.sheet__footer {
    padding: 1rem;
    color: var(--color-gray-0);
}
.sheet__header:empty,
.sheet__footer:empty {
    padding: 0.5rem;
}
.sheet__header {
}
.sheet__footer {
}
.sheet .card {
  height: 100%;
}
.sheet-header > h2,
.sheet-header > h3,
.sheet-header > p {
    margin: 0;
}
.card--outline-white {
	border-radius: 8px;
    border: solid 1px white;
    color: white;
}
/* 
.sheet-reversed .sheet-front img {
    border-radius: 0 0 8px 8px;
    height: auto;
    width: 100%;
    max-width: 200px;
}
.sheet-reversed .sheet-back h3,
.sheet-reversed .sheet-back p {
    color: var(--color-gray-0);
    margin: 0;
}
.sheet-reversed .sheet-back h3 {
    width: 100%;
    background-color: var(--color-brand-50);
    text-align: left;
}
.sheet-reversed .sheet-front h3::after {
    background-color: var(--color-brand-50);
}
.sheet-reversed .sheet-back p {
    font-size: 16px;
    line-height: 20px;
} */

/*** Interactive Components ***/
a[class^='btn-'],
input[type='submit'] {
    display: inline-block;
    border-radius: 25px;
    padding: 8px 32px;
    box-shadow: var(--shadow);
    font-weight:bold;
    text-decoration: none;
}
a[class^='btn-']:hover,
input[type='submit']:hover {
    box-shadow: var(--shadow-hover);
}
a.btn-cta {
    border: solid 2px var(--color-accent-100);
    background-color: var(--color-accent-50);
    color: var(--color-accent-100);
}
a.btn-cta:hover {
    border: solid 2px var(--color-accent-50);
    background-color: var(--color-accent-100);
    color: var(--color-accent-50);
}
a.btn-primary,
a.btn-secondary:hover,
input[type='submit'] {
    border: solid 2px var(--color-brand-30);
    background-color: var(--color-brand-50);
    color: var(--color-gray-0);
}
a.btn-primary:hover,
a.btn-secondary,
input[type='submit']:hover {
    border: solid 2px var(--color-brand-50);
    color: var(--color-brand-50);
    background-color: var(--color-gray-0);
}

/* .yt-video {
    padding-bottom: 0;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow);
}
.yt-video iframe {
    height: 100%;
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
} */

/*** Page Specific Layouts / Sections ***/
.hero {
    margin: 0 auto;
    text-align: center;
}
.hero-widget {
    position: static;
    height: 14rem;
}
.hero-contact {
    width: max-content;
    display: inline-block;
    vertical-align: top;
    text-align: center;
    z-index: 3;
    transform: translate(0, -3rem) scale(0.75);
}
.hero-contact .card {
    margin-top: 1rem;
    padding: 0.5rem;
    transition: all 0.25s;
    opacity: 0.9;
}
.hero-contact .card:hover {
    opacity: 1;
}
.hero-contact img {
    transition: all 0.25s;
}
.hero-contact img:hover {
    border-radius: 4px;
    filter: drop-shadow(0px 2px 2px rgba(0, 0, 0, 0.3)) contrast(120%) brightness(105%);
}
.hero-contact a {
    text-decoration: none;
}
.hero-poster {
    display: inline-block;
    width: max-content;
    vertical-align: top;
    z-index: 2;
}
.hero-poster .card {
    padding: 0.5rem;
    line-height: 0;
}
@media (min-width: 768px) {
    .hero {
      	margin: 2rem auto;
        text-align: left;
    }
    .hero-widget {
        position: relative;
        height: 0;
    }
    .hero-contact {
        display: flex;
        flex-flow: column nowrap;
        justify-content: center;
        transform: scale(1);
    }
    .hero-poster {
        position: absolute;
        top: 16px;
        right: 9.5rem;
    }
}

.banner-online {
    display: flex;
    flex-flow: column nowrap;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    font-weight: bold;
}
.banner-online > div:first-child {
    flex: 1;
}
.banner-online > div:last-child {
    flex: 3.5;
}
.banner-online > div > img {
    height: 78px;
    filter: drop-shadow(0 2px 32px -8px #005777);
}
.banner-online h3 {
    margin-top: 0;
}
.banner-online p {
    font-size: 1rem;
}
.banner-online h3 > img {
    vertical-align: text-bottom;
    height: 1.25rem;
    width: auto;
}

.sellpoint-ribbon {
    height: 4rem;
    position: absolute;
    top: 4px;
    z-index: 1;
    left: calc(100% - 16px);
}
.methods {
    place-items: start;
}
.methods > div {
    max-width: 480px;
}
.methods .highlight {
    margin: 0 auto;
    padding: 1rem 2rem;
}
[class^='method-'] {
    margin: 0 0 0 32px;
}
[class^='method-']::after {
    content: none;
}
[class^='method-'] h3,
[class^='method-'] p {
    margin-left: 0;
    position: relative;
    max-width: 480px;
    text-align: left;
}
[class^='method-'] h3::before {
    content: '';
    height: 20px;
    position: absolute;
    width: 20px;
    top: 5px;
    z-index: 1;
    left: -30px;
}
[class^='method-'] h3::before,
[class^='method-'] h3::after {
    border: solid 2px var(--color-brand-50);
    border-radius: 50%;
    background-color: var(--color-gray-0);
    box-shadow: var(--shadow-hover);
}
[class^='method-']:not(:last-child) p::before {
    border: solid 1px var(--color-brand-50);
    content: '';
    height: calc(100% + 64px);
    position: absolute;
    width: 0;
    top: -32px;
    left: -19px;
}
.method-3 p::after,
.method-4 p::after {
    border: dashed 2px var(--color-brand-50);
    content: '';
    height: calc(100% + 64px);
    position: absolute;
    width: 17px;
    top: -32px;
    left: -38px;
}
.method-3 p::after {
    border-radius: 8px 0 0 0;
    border-bottom: none;
}
.method-4 p::after {
    border-radius: 0 0 0 8px;
    border-top: none;
}
[class^='method-']:last-child p::before {
    content: none;
}
@media (min-width: 800px) {
    .methods .highlight {
        margin-top: 0;
        margin-right: 0;
        margin-right: 2rem;
        margin-bottom: 0;
        margin-left: 0;
        padding: 1rem;
    }
    [class^='method-'] {
        display: block;
        margin: 0 0 0 32px;
    }
}

.grid-teachers {
    display: flex;
    flex-flow: row nowrap;
    justify-content: space-between;
    margin: 0 -16px;
    padding-left: 0;
    list-style-type: none;
}
.grid-teachers .card {
    min-width: 180px;
    margin: 0 8px;
    overflow: hidden;
}
.grid-teachers .card-content { padding-top: 0; }
.grid-teachers .card img {
    max-width: 100%;
    max-height: 220px;
    object-fit: cover;
    object-position: center;
}
.row-teachers > div {
  	display: flex; flex-flow: row nowrap;
}
.row-teachers > div > div:first-child {
    line-height: 0;
}
.row-teachers > div > div:last-child {
    padding: 0.5rem;
}
.row-teachers h5 {
    margin: 0;
}
.row-teachers small {
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.class {
		margin-top: 1rem;
		overflow: hidden;
	}
	.class--english {
		background-color: #FFCC00;
		color: #443300;
	}
	.class--mathsci {
		background-color: #0088BB;
		color: #FFFFFF;
	}
	.class--testprep {
		background-color: #004488;
		color: #FFFFFF;
	}

	.class__schedule, .table {
		width: 100%;
		margin-bottom: 1rem;
		text-align: center;
		font-size: 14px;
		border-collapse: collapse;
	}

	.class__schedule tr:nth-child(2n), .table tr:nth-child(2n) {
		background: linear-gradient(90deg, #FFF, #00448811 10% 90%, #FFF);
	}

	.class__schedule th, .table th {
		font-size: 12px;
		text-transform: uppercase;
		color: #333;
	}

	.class__schedule th:first-child,
	.class__schedule td:first-child {
		text-align: left;
	}

	.class__schedule th:last-child,
	.class__schedule th:nth-last-child(2),
	.class__schedule td:last-child,
	.class__schedule td:nth-last-child(2) {
		text-align: right;
	}

	.class .sheet__header {
		display: flex;
		flex-flow: row nowrap;
		justify-content: space-between;
		align-items: center;
	}

	.class .sheet__header > * {
		margin: 0;
	}

	.class .card-content {
		color: black;
	}

	.class .card__footer {
		padding: 0.5rem 1rem;
		background: #00448811;
		border-radius: 0 0 8px 8px;
		display: flex;
		flex-flow: row nowrap;
		justify-content: space-between;
		align-items: center;
		color: black;
	}

	.class__label {
		display: inline-block;
		padding: 0 0.5rem;
		border: solid 1px #00000044;
		border-radius: 4px;
		text-transform: uppercase;
		font-size: 12px;
	}

	.class__grade {
		font-weight: bold;
	}


/* https://codepen.io/MPDoctor/pen/mpJdYe */
.tabbed {
    overflow-x: hidden;
    padding-bottom: 16px;
}
.tabbed [type='radio'] {
    /* hiding the inputs */
    display: none;
}

.tabbed .tabbed-tabs {
    display: flex;
    align-items: stretch;
    list-style: none;
    margin-top: 0;
    padding: 1rem 0;
    overflow-x: scroll;
}
.tabbed .tab:first-child {
    margin-left: -8px;
}
.tabbed .tab:last-child {
    margin-right: -8px;
}

.tabbed .tab > label {
    display: block;
    margin: 0 0.5rem;
    padding: 16px 8px;
    background: var(--color-brand-10);
    border-radius: 8px;
    color: var(--color-brand-100);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.25s;
}
.tabbed .tab:hover label {
    background: #f5f5f5;
    color: var(--color-brand-50);
}
.tabbed .tab > label > *:only-child {
    margin: 0;
}
.tabbed .tab:hover label a {
    color: var(--color-brand-50);
}
.tabbed .tab-contents {
    display: none;
}

/* As we cannot replace the numbers with variables or calls to element properties, the number of this selector parts is our tab count limit */
.tabbed [type='radio']:nth-of-type(1):checked ~ .tabbed-tabs .tab:nth-of-type(1) label,
.tabbed [type='radio']:nth-of-type(2):checked ~ .tabbed-tabs .tab:nth-of-type(2) label,
.tabbed [type='radio']:nth-of-type(3):checked ~ .tabbed-tabs .tab:nth-of-type(3) label,
.tabbed [type='radio']:nth-of-type(4):checked ~ .tabbed-tabs .tab:nth-of-type(4) label,
.tabbed [type='radio']:nth-of-type(5):checked ~ .tabbed-tabs .tab:nth-of-type(5) label,
.tabbed [type='radio']:nth-of-type(6):checked ~ .tabbed-tabs .tab:nth-of-type(6) label,
.tabbed [type='radio']:nth-of-type(7):checked ~ .tabbed-tabs .tab:nth-of-type(7) label,
.tabbed [type='radio']:nth-of-type(8):checked ~ .tabbed-tabs .tab:nth-of-type(8) label,
.tabbed [type='radio']:nth-of-type(9):checked ~ .tabbed-tabs .tab:nth-of-type(9) label {
    background: var(--color-brand-100);
    color: var(--color-brand-10);
}

.tabbed [type='radio']:nth-of-type(1):checked ~ .tab-contents:nth-of-type(1),
.tabbed [type='radio']:nth-of-type(2):checked ~ .tab-contents:nth-of-type(2),
.tabbed [type='radio']:nth-of-type(3):checked ~ .tab-contents:nth-of-type(3),
.tabbed [type='radio']:nth-of-type(4):checked ~ .tab-contents:nth-of-type(4),
.tabbed [type='radio']:nth-of-type(5):checked ~ .tab-contents:nth-of-type(5),
.tabbed [type='radio']:nth-of-type(6):checked ~ .tab-contents:nth-of-type(6),
.tabbed [type='radio']:nth-of-type(7):checked ~ .tab-contents:nth-of-type(7),
.tabbed [type='radio']:nth-of-type(8):checked ~ .tab-contents:nth-of-type(8),
.tabbed [type='radio']:nth-of-type(9):checked ~ .tab-contents:nth-of-type(9) {
    display: block;
}

.tabbed-dots .tabbed-tabs {
    margin-top: 0;
}
.tabbed-dots .tabbed-tabs .tab {
    margin: 0.5rem 0;
}
.tabbed-dots .tabbed-tabs label {
    border-radius: 22px;
    padding: 8px;
}

@media (min-width: 768px) {
    .tabbed .tabbed-tabs {
        overflow-x: hidden;
    }

    .tabbed-dots .tabbed-tabs {
        justify-content: center;
    }
}

.collapsible {
    display: inline-block;
    width: 100%;
    margin-bottom: 16px;
}
.collapsible input[type='checkbox'] {
    display: none;
}
.toggle + label {
    position: relative;
    display: block;
    padding: 1rem;
    padding-right: 2.25rem;
    color: var(--color-brand-100);
    transition: all 0.25s ease-out;
    cursor: pointer;
}
.toggle + label:hover {
    color: var(--color-brand-50);
}
.toggle + label::after {
    content: '';
    position: absolute;
    top: 25px;
    right: 8px;
    display: block;
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    border-left: 5px solid currentColor;
    margin-right: 0.7rem;
    transform: translateY(-2px);
    transition: transform 0.5s ease-out;
}
.toggle:checked + label::after {
    transform: rotate(90deg) translateX(-3px);
}
.collapsible-content {
    max-height: 0px;
    overflow: hidden;
    transition: max-height 0.5s ease-in-out;
}
.collapsible-content .card-content {
    padding: 0 1rem 1rem 1rem;
}
.toggle:checked + label + .collapsible-content {
    max-height: 100vh;
}

.testimonial {
    display: flex;
    flex-flow: column nowrap;
}
.testimonial .card {
    flex: 1;
    position: relative;
    overflow: visible;
}
.testimonial .card::after {
    content: '';
    position: absolute;
    top: calc(100% - 16px);
    left: 0;
    display: inline-block;
    border-top: 16px solid transparent;
    border-bottom: 16px solid transparent;
    border-left: 16px solid white;
}
.testimonial-profile {
    margin-top: 16px;
}
.testimonial-profile img {
    border-radius: 50%;
    vertical-align: middle;
}

.scroll-down {
    position: relative;
}
.scroll-down::before,
.scroll-down::after {
    font-size: 2rem;
    content: '';
    white-space: pre-wrap;
    font-weight: normal;
    line-height: 0.25;
    position: absolute;
    width: calc(50% - 3rem);
    background: white;
    padding-top: 30px;
    bottom: 0;
    animation: arrow-pulse-down 1s infinite;
    color: white;
}
.scroll-down::before {
    left: 3rem;
    transform: scale3d(1, 0.25, 1) skew(0deg, 60deg);
}
.scroll-down::after {
    right: calc(3rem + 1px);
    transform: scale3d(1, 0.25, 1) skew(0deg, -60deg);
}
@keyframes arrow-pulse-down {
    0% {
        bottom: -30px;
        /*40px;*/
        opacity: 0;
    }

    15% {
        bottom: -50px;
        /*20px;*/
        opacity: 1;
    }

    75% {
        bottom: -50px;
        opacity: 1;
    }

    100% {
        bottom: -65px;
        /*20px;*/
        opacity: 0;
    }
}

.blogs .card {
    display: flex;
    flex-flow: column nowrap;
    justify-content: space-between;
    height: 100%;
    background: var(--color-brand-10);
    overflow: hidden;
}
.blog-image,
.blogs .youtube {
    width: 100%;
    height: 60px;
    object-fit: cover;
}
.blogs .card h4 {
    font-size: 1rem;
    color: var(--color-brand-50);
    margin: 0;
    padding: 0.5rem;
}

@media (min-width: 768px) {
    .blog-image {
        height: auto;
    }
}

/*** Footer ***/
.btn-contact {
    display: block !important;
    background: var(--color-brand-50);
    border-radius: 8px;
    color: var(--color-gray-0);
    box-shadow: none !important;
}
.btn-contact:hover {
    background: var(--color-brand-100);
    color: var(--color-brand-20);
}
.contact {
    justify-content: stretch;
}
.contact-form > div {
    display: flex;
    flex-flow: row nowrap;
    margin-bottom: 16px;
}
.contact-form label {
    flex: 1;
    border-radius: 8px 0 0 8px;
    padding: 4px 0 4px 8px;
    box-shadow: none;
    border-right: none;
    background: var(--color-brand-10);
    font-size: 0.9rem;
}
.contact-form input,
.contact-form textarea {
    flex: 3;
    border: none;
    border-left: none;
    border-radius: 0 8px 8px 0;
    box-sizing: border-box;
    padding: 4px 8px 4px 4px;
    background: var(--color-brand-10);
    font-size: 1rem;
}
.contact-form textarea {
    resize: vertical;
}
.contact-form input:focus,
.contact-form input:focus ~ label,
.contact-form textarea:focus,
.contact-form textarea:focus ~ label {
    background: var(--color-gray-0);
}
.contact-form input.wpcf7-submit[type='submit'] {
    background: var(--color-brand-50);
    border: none;
    border-radius: 8px;
    color: var(--color-gray-0);
    box-shadow: none;
    transition: all 0.25s;
}
.contact-form.wpcf7-form input.wpcf7-submit[type='submit']:hover {
    background: var(--color-brand-100);
    color: var(--color-brand-10);
}
.footer-links {
    list-style-type: none;
    padding: 0;
}
.footer-links li {
    margin: 0;
}
.footer-links li img {
    float: left;
    margin-top: 8px;
    margin-right: 8px;
}
.footer-links li a {
    font-size: small;
}

#copyright {
    margin-bottom: 10rem;
}

@media (min-width: 768px) {
    #copyright {
        margin-bottom: 0;
    }
}

/*** Sticky Widgets & Modals ***/

/* Mobile QR & Phone */
#sticky-contact-mobile {
    position: fixed;
    right: 1rem;
    bottom: 0;
    line-height: 0;
}
#sticky-contact-mobile a {
    display: block;
    margin-bottom: 1rem;
    border-radius: 8px;
    background: var(--color-brand-50);
    box-shadow: var(--shadow);
    overflow: hidden;
}
.sticky-contact-mobile__qr {
    padding: 4px;
    background: var(--color-gray-0);
}
.sticky-contact-mobile__phone {
    background: var(--color-brand-50);
}
.sticky-contact-mobile__phone:hover {
    background: var(--color-brand-100);
}
@media (min-width: 768px) {
    #sticky-contact-mobile {
        display: none;
    }
}

/* Mobile Contact Modal */
#modal-contact-mobile {
    max-width: 75vw;
    max-height: 55vh;
    z-index: 100;
}
.modal-block {
    display: inline-block;
    vertical-align: top;
    width: 50%;
}

/* Desktop QR & Phone */
#sticky-contact {
    /*display: none;*/
}
@media (min-width: 768px) {
    #sticky-contact {
        position: absolute;
        right: 0;
        display: flex;
    }
    #sticky-contact.stick {
        position: fixed;
        right: 1rem;
        bottom: 1rem;
        z-index: 100;
    }
    #modal-contact .popup-container img {
        max-width: 100%;
    }
}

/* Member Tag */
.member-tag-nav {
    vertical-align: middle;
    display: inline-block;
    height: 16px;
    width: auto;
}
.member-tag {
    position: static;
    margin: -1rem auto;
    text-align: center;
    transition: all 0.25s;
}
.member-tag > img,
.member-tag > p {
    vertical-align: middle;
    display: inline-block;
}
.member-tag > img:last-of-type {
    filter: invert(1);
    margin-right: 0.5rem;
}
@media (min-width: 768px) and (max-width: 1440px) {
    .member-tag {
        display: none;
    }
}
@media (min-width: 768px) {
    .member-tag-nav {
        height: 24px;
    }
    .member-tag {
        position: absolute;
        top: 12rem;
        right: 0;
        max-width: 6.5rem;
        margin: 0;
        border-radius: 8px 0 0 8px;
        padding: 0.5rem 0.5rem 0.1rem 0.5rem;
        box-shadow: var(--shadow);
        background-color: rgba(255, 255, 255, 0.9);
        z-index: 2;
        transform: translate(7px, -12px) scale(0.89);
    }
    .member-tag:hover {
        background-color: rgba(255, 255, 255, 1);
    }
    .member-tag p {
        display: block;
    }
    .member-tag > img:last-of-type {
        filter: invert(0);
        margin-right: 0;
    }
}

/*** Blogs ***/
ul.xoxo { 
  padding-left: 0;
  list-style-type: none;
}
.single-post li:not(.small) {
  margin-bottom: 0.5rem;
}
.entry-toc.desktop { display: none; }
.entry-toc {
    margin-bottom: 1rem;
    font-size: 0.8rem;
    border-radius: 8px;
    background-color: var(--color-brand-10);
    padding: 1rem;
}
.entry-toc h5 {
    margin: 0;
    font-weight: bold;
}
.entry-toc ol, .entry-toc ul {
    margin-bottom: 0;
    padding-left: 1rem;
}
.entry-toc a:hover {
    color: #046;
}
.mobile{
background:pink;
  width:475px

}
@media (min-width: 768px) {
  .entry-toc.mobile { display: none; }
  .entry-toc.desktop { display: block; overflow-y: scroll; max-height: 50vh;}
  .mobile {
    background:lightblue;
  width:275px;
    overflow-x:scroll
}
 