/*!
Theme Name: Immunopaedia Custom
Theme URI: https://immunopaedia.org.za/
Author: Andrija
Author URI: https://supremeonline.solutions
Description: Custom theme
Version: 1.0.0
Tested up to: 6.1
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: immunopaedia
*/

:root {
    --primary-color: #044a6f;
    --primary-color-light: #0071bc;
    --primary-color-lighter: #3098d5;
    --primary-color-dimmed: #228dbc;
    --primary-color-opacity: rgba( 0, 113, 188, 0.1 );
    --secondary-color: #39b54a;
    --secondary-color-light: #6bbd46;
    --secondary-color-dark: #3a7b3b;
    
    --full-content-width: 1360px;
    
}

/* ::-moz-selection, */
/* body ::selection { */
  /* color: #fff; */
  /* background-color: var(--primary-color); */
  /* background-color: red; */
/* } */

html {
    line-height: 1.15;
    -webkit-text-size-adjust: 100%;
}
body {
    margin: 0;
}
main {
    display: block;
}
h1 {
    font-size: 2em;
    margin: 0.67em 0;
}
hr {
    box-sizing: content-box;
    height: 0;
    overflow: visible;
}
pre {
    font-family: monospace, monospace;
    font-size: 1em;
}
a {
    background-color: transparent;
}
abbr[title] {
    border-bottom: none;
    text-decoration: underline;
    text-decoration: underline dotted;
}
b,
strong {
    font-weight: bolder;
}
code,
kbd,
samp {
    font-family: monospace, monospace;
    font-size: 1em;
}
small {
    font-size: 80%;
}
sub,
sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}
sub {
    bottom: -0.25em;
}
sup {
    top: -0.5em;
}
img {
    border-style: none;
}
button,
input,
optgroup,
select,
textarea {
    font-family: inherit;
    font-size: 100%;
    line-height: 1.15;
    margin: 0;
}
button,
input {
    overflow: visible;
}
button,
select {
    text-transform: none;
}
button,
[type="button"],
[type="reset"],
[type="submit"] {
    -webkit-appearance: button;
}
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
    border-style: none;
    padding: 0;
}
button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
    outline: 1px dotted ButtonText;
}
fieldset {
    padding: 0.35em 0.75em 0.625em;
}
legend {
    box-sizing: border-box;
    color: inherit;
    display: table;
    max-width: 100%;
    padding: 0;
    white-space: normal;
}
progress {
    vertical-align: baseline;
}
textarea {
    overflow: auto;
}
[type="checkbox"],
[type="radio"] {
    box-sizing: border-box;
    padding: 0;
}
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
    height: auto;
}
[type="search"] {
    -webkit-appearance: textfield;
    outline-offset: -2px;
}
[type="search"]::-webkit-search-decoration {
    -webkit-appearance: none;
}
::-webkit-file-upload-button {
    -webkit-appearance: button;
    font: inherit;
}
details {
    display: block;
}
summary {
    display: list-item;
}
template {
    display: none;
}
[hidden] {
    display: none;
}
*,
*::before,
*::after {
    box-sizing: inherit;
}
html {
    box-sizing: border-box;
}
body,
button,
input,
select,
optgroup,
textarea {
    color: #404040;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
        Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    font-size: 1rem;
    line-height: 1.5;
}
h1,
h2,
h3,
h4,
h5,
h6 {
    clear: both;
}
p {
    margin-bottom: 1.5em;
}
dfn,
cite,
em,
i {
    font-style: italic;
}
blockquote {
    margin: 0 1.5em;
}
address {
    margin: 0 0 1.5em;
}
pre {
    background: #eee;
    font-family: "Courier 10 Pitch", courier, monospace;
    line-height: 1.6;
    margin-bottom: 1.6em;
    max-width: 100%;
    overflow: auto;
    padding: 1.6em;
}
code,
kbd,
tt,
var {
    font-family: monaco, consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}
abbr,
acronym {
    border-bottom: 1px dotted #666;
    cursor: help;
}
mark,
ins {
    background: #fff9c0;
    text-decoration: none;
}
big {
    font-size: 125%;
}
body {
    background: #fff;
}
hr {
    background-color: #ccc;
    border: 0;
    height: 1px;
    margin-bottom: 1.5em;
}
ul,
ol {
    margin: 0 0 1.5em 3em;
}
ul {
    list-style: disc;
}
ul ul{
    list-style: circle;
}
ul ul ul{
    list-style: square;
}
ol {
    list-style: decimal;
}
li > ul,
li > ol {
    margin-bottom: 0;
    margin-left: 1.5em;
}
dt {
    font-weight: 700;
}
dd {
    margin: 0 1.5em 1.5em;
}
embed,
iframe,
object {
    max-width: 100%;
}
img {
    height: auto;
    max-width: 100%;
}
figure {
    margin: 1em 0;
}
table {
    margin: 0 0 1.5em;
    width: 100%;
}


a,
a:visited {
    color: var(--primary-color-light);
    text-decoration: none;
    transition: color 300ms ease;
}
a:hover,
a:focus,
a:active {
    color: var(--primary-color-lighter);
    outline: 0;
}
a:focus {
    /* outline: thin dotted; */
}
a.on_dark,
a.on_dark:visited {
    color: var(--primary-color-lighter);
}
a.on_dark:hover,
a.on_dark:focus,
a.on_dark:active {
    color: var(--primary-color-dimmed);
}


input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
    color: #666;
    border: 1px solid #ccc;
    border-radius: 3px;
    padding: 3px;
}
input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
    color: #111;
}
select {
    border: 1px solid #ccc;
}
textarea {
    width: 100%;
}
.main-navigation ul {
    display: none;
    list-style: none;
    margin: 0;
    padding-left: 0;
}
.main-navigation ul ul {
    box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
    float: left;
    position: absolute;
    top: 100%;
    left: -999em;
    z-index: 99999;
}
.main-navigation ul ul ul {
    left: -999em;
    top: 0;
}
.main-navigation ul ul li:hover > ul,
.main-navigation ul ul li.focus > ul {
    display: block;
    left: auto;
}
.main-navigation ul li:hover > ul,
.main-navigation ul li.focus > ul {
    left: auto;
}
.main-navigation li {
    position: relative;
}
.main-navigation a {
    display: block;
    text-decoration: none;
}
.menu-toggle,
.main-navigation.toggled ul {
    display: block;
}
@media screen and (min-width: 37.5em) {
    .menu-toggle {
        display: none;
    }
    .main-navigation ul {
        display: flex;
    }
}
.site-main .comment-navigation,
.site-main.posts-navigation,
.site-main.post-navigation {
    margin: 0 0 1.5em;
}
.comment-navigation .nav-links,
.posts-navigation .nav-links,
.post-navigation .nav-links {
    display: flex;
}
.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
    flex: 1 0 50%;
}
.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
    text-align: end;
    flex: 1 0 50%;
}
.sticky {
    display: block;
}
.post,
.page {
    /* margin: 0 0 1.5em; */
}
.updated:not(.published) {
    display: none;
}
.page-content,
.entry-content,
.entry-summary {
    margin: 1.5em 0 0;
}
.page-links {
    clear: both;
    margin: 0 0 1.5em;
}
.comment-content a {
    word-wrap: break-word;
}
.bypostauthor {
    display: block;
}
.widget {
    margin: 0 0 1.5em;
}
.widget select {
    max-width: 100%;
}
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
    border: none;
    margin-bottom: 0;
    margin-top: 0;
    padding: 0;
}
.custom-logo-link {
    display: inline-block;
}
.wp-caption {
    margin-bottom: 1.5em;
    max-width: 100%;
}
.wp-caption img[class*="wp-image-"] {
    display: block;
    margin-left: auto;
    margin-right: auto;
}
.wp-caption .wp-caption-text {
    margin: 0.8075em 0;
}
.wp-caption-text {
    text-align: center;
}
.gallery {
    margin-bottom: 1.5em;
    display: grid;
    grid-gap: 1.5em;
}
.gallery-item {
    display: inline-block;
    text-align: center;
    width: 100%;
}
.gallery-columns-2 {
    grid-template-columns: repeat(2, 1fr);
}
.gallery-columns-3 {
    grid-template-columns: repeat(3, 1fr);
}
.gallery-columns-4 {
    grid-template-columns: repeat(4, 1fr);
}
.gallery-columns-5 {
    grid-template-columns: repeat(5, 1fr);
}
.gallery-columns-6 {
    grid-template-columns: repeat(6, 1fr);
}
.gallery-columns-7 {
    grid-template-columns: repeat(7, 1fr);
}
.gallery-columns-8 {
    grid-template-columns: repeat(8, 1fr);
}
.gallery-columns-9 {
    grid-template-columns: repeat(9, 1fr);
}
.gallery-caption {
    display: block;
}
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
    display: none;
}
.infinity-end.neverending .site-footer {
    display: block;
}
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute !important;
    width: 1px;
    word-wrap: normal !important;
}
.screen-reader-text:focus {
    background-color: #f1f1f1;
    border-radius: 3px;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto !important;
    clip-path: none;
    color: #21759b;
    display: block;
    font-size: 0.875rem;
    font-weight: 700;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
}
#primary[tabindex="-1"]:focus {
    outline: 0;
}
.alignleft {
    float: left;
    margin-right: 1.5em;
    margin-bottom: 1.5em;
}
.alignright {
    float: right;
    margin-left: 1.5em;
    margin-bottom: 1.5em;
}
.aligncenter {
    clear: both;
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1.5em;
}


/* Structure */

body{
    background-color: #fff;
}
#page{
    max-width: 100%;
    width: 100%;
    margin: 70px auto 0;
    margin: 0 auto 0;
    padding-top: 70px;
    /* border-left: 1px solid cyan; */
    /* border-right: 1px solid cyan; */
}


#masthead,
#main_content{
    max-width: var(--full-content-width);
    width: 100%;
    margin: 0 auto;
    /* max-width: calc( var(--full-content-width) - 2px ); */
    /* border-left: 1px solid cyan; */
    /* border-right: 1px solid cyan; */
}


/*** Header ****/

#masthead{
    background-color: #fff;
    max-width: 100%;
    width: 100%;
    display: flex;
    flex-flow: row nowrap;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 1px 20px rgba(0, 0, 0, 0.2);
    position: fixed;
    top: 0;
    /* background: pink; */
    z-index: 10;
}
body.logged-in #masthead{
    top: 32px;
}

#site_navigation_top{
    background: #fff;
    display: flex;
    align-items: stretch;
    justify-content: flex-start;
    position: relative;
    max-width: 100%;
    min-height: 70px;
    /* background: pink; */
    /* padding-bottom: 10px; */
}


#home_site_branding{
    width: 200px;
    height: 70px;
    margin: 0 20px;
    background-image: var(--home-site-branding);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    color: transparent;
    transition: all 300ms ease;
}
#home_site_branding:hover{
    opacity: 0.7;
}


/* Navigation - Sidebar main menu */

#main_menu_side_wrapper{
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    margin-left: 30px;
    margin-right: 30px;
    transform: none;
    z-index: 10;
}
#main_menu_side_wrapper #main_menu_side_toggler{
    text-transform: uppercase;
    border-width: 2px;
    cursor: initial;
}
#main_menu_side_wrapper:hover #main_menu_side_toggler{
    background-color: #fff;
    color: var(--primary-color);
    border-color: var(--primary-color);
    border-color: rgba(0, 0, 0, 0.1);
}

#main_menu_side_background{
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba( 100, 100, 100, 0.7);
    transition: all 200ms ease;
    width: 0;
}
body.logged-in #main_menu_side_background{
    top: calc( 70px + 32px );
}
#main_menu_side_wrapper:hover + #main_menu_side_background{
    display: block;
    height: calc( 100vh - ( 70px + 32px ) );
    width: 100vw;
}

#main_menu_side{
    position: fixed;
    left: -999px;
    top: 70px;
    transition: all 400ms ease;
    z-index: 10;
    display: flex;
    flex-flow: row nowrap;
    align-items: stretch;
    justify-content: stretch;
    padding-left: 130px;
}
body.logged-in #main_menu_side{
    top: calc( 70px + 32px );
    min-height: 600px;
}
#main_menu_side_wrapper:hover #main_menu_side{
    left: 0;
}

#main_menu_side_left{
    position: relative;
    padding: 30px 0;
    min-width: 300px;
    background: #fff;
    background: #eee;
    border-top: 1px solid lightgrey;
}


#main_menu_side_left > a,
#main_menu_side_left > h3{
    margin: 20px 30px 10px;
}
#main_menu_side_left a.primary_button{
    display: inline-block;
    padding: 10px 20px;
}
#main_menu_side_left > a:first-child,
#main_menu_side_left > h3:first-child,
#main_menu_side_left > div:first-child{
    margin-top: 0;
}
#main_menu_side_left > a:last-child,
#main_menu_side_left > h3:last-child,
#main_menu_side_left > div:last-child{
    margin-bottom: 0;
}

#main_menu_side_left > .link{
    padding: 5px 30px;
    transition: all 300ms ease;
    /* position: relative; */
}
#main_menu_side_left > .link:hover{
    box-shadow: 0 2px 5px var(--primary-color-opacity);
    background: #fff;
}
#main_menu_side_left > .link > a{
    color: #666;
}
#main_menu_side_left .link:hover > a{
    color: var(--primary-color);
}


#main_menu_side_left > .link.has_submenu a{
    position: relative;
}
#main_menu_side_left > .link.has_submenu > a:after{
    content: "";
    position: absolute;
    top: calc( 50% - 3px );
    right: 15px;
    width: 0;
    height: 0;
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
    border-left: 4px solid grey;
    transition: 400ms all ease;
}
#main_menu_side_left .submenu{
    display: none;
    position: absolute;
    left: 100%;
    top: -1px;
    border-top: 1px solid lightgrey;
    background: #fff;
    height: calc( 100% + 1px );
    padding: 30px;
    min-width: 500px;
    transition: opacity 400ms ease;
    opacity: 0;
}
#main_menu_side_left .has_submenu:hover .submenu{
    display: block;
    opacity: 1;
}

#main_menu_side_left .submenu a.box{
    color: #000;
    box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
    transition: all 400ms ease;
    border: 1px solid #eee;
    padding: 10px;
    margin-bottom: 20px;
}
#main_menu_side_left .following_aom a.box:last-of-type{
    /* margin-bottom: 0; */
}
#main_menu_side_left .submenu a.box:hover{
    box-shadow: 1px 3px 10px rgba(0, 0, 0, 0.2);
}

#main_menu_side_left .submenu a.list_link{
    color: #000;
    box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
    transition: all 400ms ease;
    border: 1px solid #eee;
    padding: 3px 10px;
    margin-bottom: 10px;
}
#main_menu_side_left .submenu a.list_link:hover{
    box-shadow: 1px 3px 10px rgba(0, 0, 0, 0.2);
    background: #eee;
}


/* Sidebar menu - specific */

#ambassadors-sidemenu > .separate{
    align-items: flex-start;
    align-items: stretch;
}
.featured_item_and_following .latest_aom{
    margin-right: 20px;
    width: 60%;
}
.featured_item_and_following .latest_aom a.box{
    margin-bottom: 20px;
}
.featured_item_and_following .latest_aom a.box .image{
    height: 240px;
    background-size: cover;
    background-position: center;
    background-position: top;
    background-repeat: no-repeat;
}
.featured_item_and_following a.box .title{
    font-weight: 500;
    margin: 10px 0 5px;
}
.featured_item_and_following .following_aom{
    width: calc( 40% - 20px );
    display: flex;
    flex-flow: column nowrap;
    align-items: stretch;
    justify-content: center;
    justify-content: space-between;
}
.featured_item_and_following .following_aom a.box{
    height: 50%;
}
.featured_item_and_following .following_aom a.box .image{
    height: 90px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

#news-sidemenu a.box{
    display: flex;
    align-items: center;
}
#news-sidemenu a.box .image{
    width: 100px;
    height: 75px;
    min-width: 100px;
    min-height: 75px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    margin-right: 20px;
}
#news-sidemenu a.box .title{
    font-weight: 500;
    margin: 10px 0 5px;
}


/* Dev - sidebar menu */

/* #main_menu_side_wrapper + #main_menu_side_background{ */
    /* display: block; */
    /* height: calc( 100vh - ( 70px + 32px ) ); */
    /* width: 100vw; */
/* } */
/* #main_menu_side_wrapper #main_menu_side{ */
    /* left: 0; */
/* } */
/* #main_menu_side_left .has_submenu #interviews-sidemenu.submenu{ */
    /* display: block; */
    /* opacity: 1; */
/* } */



/* Navigation - General */

.main-navigation ul.main-menu{
    display: inline-flex;
    height: 100%;
    text-transform: uppercase;
    /* background: pink; */
}

.main-navigation ul.main-menu > li{
    /* background: cyan; */
    display: flex;
    position: relative;
}

.main-navigation ul.main-menu > li > a{
    /* background: pink; */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    font-size: 14px;
    font-weight: 500;
    word-break: keep-all;
    white-space: nowrap;
    color: #000;
    position: relative;
    top: 0;
    transition: 400ms all ease;
}
.main-navigation ul.main-menu > li > a:before{
    content: "";
    position: absolute;
    bottom: 20px;
    background: var(--primary-color);
    margin: 0 auto;
    /* width: 10px; */
    width: 0;
    height: 2px;
    transition: all 400ms ease;
}


/* Navigation - hover effect */

.main-navigation ul.main-menu > li:hover > a:before{
    width: 90%;
    width: 80%;
}


/* Navigation - submenu triangles */

.main-navigation ul.main-menu > li.menu-item-has-children > a:after,
.main-navigation ul.main-menu > li.menu-item-has-children > span:after {
    content: "";
    position: absolute;
    top: calc( 50% - 2px );
    right: 5px;
    width: 0;
    height: 0;
    border-top: 4px solid #000;
    border-right: 4px solid transparent;
    border-left: 4px solid transparent;
    transition: 400ms all ease;
}
.main-navigation ul.main-menu > li.menu-item-has-children:hover > a:after,
.main-navigation ul.main-menu > li.menu-item-has-children:hover > span:after {
    border-top: 4px solid #000;
}
.main-navigation ul.main-menu ul li.menu-item-has-children > a:after {
    content: "";
    position: absolute;
    top: calc(50% - 4px);
    right: 20px;
    width: 0;
    height: 0;
    border-left: 4px solid #000;
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
}


/* Navigation - Submenu items */

.main-navigation ul.main-menu ul{
    display: flex;
    flex-flow: column nowrap;
    background: #fff;
}
.main-navigation ul.main-menu ul li:hover > ul{
    left: 100%;
}

.main-navigation ul.main-menu ul li a,
.main-navigation ul.main-menu ul li span{
    display: block;
    padding: 12px 20px;
    padding: 6px 10px;
    padding: 6px 20px;
    margin: 6px 10px;
    color: #fff;
    /* min-width: 300px; */
    border-radius: 3px;
    user-select: none;
    background: #fff;
    color: #000;
    white-space: nowrap;
    transition: all 400ms ease;
}
.main-navigation ul.main-menu ul li a:hover{
    background-color: var(--primary-color-opacity);
}


/* Navigation - my_account_navigation */

#my_account_navigation{
    display: flex;
    align-items: center;
}

/* Navigation - Login */

#masthead .learndash-wrapper{
    display: flex;
}
#masthead .learndash-wrapper > a{
    background: pink;
    padding: 0 20px;
    background: none !important;
    color: var(--primary-color);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    font-weight: 500;
    font-size: 14px;
    text-transform: uppercase;
}
#masthead .learndash-wrapper > a .ld-icon-arrow-right{
    margin-left: 5px
}


/* Navigation - Social bar */

#social_bar{
    /* background: cyan; */
    display: flex;
}
#social_bar > a{
    margin: 0 5px;
}
#social_bar > a span{
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    line-height: 1;
    border-radius: 3px;
    background: var(--primary-color);
    border: 1px solid var(--primary-color);
    color: #fff;
    transition: all 400ms ease;
}
#social_bar > a:hover span{
    background: #fff;
    color: var(--primary-color);
}


/* Navigation - Search */

#menu_search_wrapper{
    display: flex;
    align-items: center;
    padding: 0 20px;
    min-width: 330px;
    justify-content: flex-end;
    position: relative;
}
#menu_search_wrapper #menu_search_input_wrapper{
    position: absolute;
    top: 40px;
    background: cyan;
    background: #fff;
    padding: 0;
    transition: all 400ms ease;
    margin-right: 0;
    /* width: 0; */
    /* min-width: 0; */
    box-sizing: border-box;
    
    display: none;
    padding: 10px 20px;
}
#menu_search_wrapper.active #menu_search_input_wrapper{
    /* width: initial; */
    /* min-width: 300px; */
}
#menu_search_wrapper input{
    outline: none;
    border: none;
    background-image: none;
    background-color: transparent;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
    border-bottom: 1px solid transparent;
    /* transition: all 400ms ease; */
    margin-right: 0;
    padding: 5px 0;
    width: 0;
    min-width: 0;
    
    border-bottom: 1px solid;
    margin-right: 10px;
    padding: 5px 10px;
    min-width: 210px;
}
#menu_search_wrapper.active input{
}
#menu_search_wrapper .dashicons{
    /* background: pink; */
    display: none;
    cursor: pointer;
    margin-left: 5px;
    border: 1px solid #ddd;
    width: 30px;
    height: 30px;
    align-items: center;
    justify-content: center;
    transition: all 300ms ease;
}
#menu_search_wrapper .dashicons:hover{
    background: var(--primary-color);
    color: #fff;
}
#menu_search_wrapper:not(.active) #open_search{
    display: flex;
}
#menu_search_wrapper.active #close_search,
#menu_search_wrapper.active #start_search{
    display: flex;
}


/* Navigation - Language and My Account */

#language_switcher{
    list-style: none;
    padding: 0;
    margin: 0 20px;
}
#language_switcher > li{
    /* list-style: none; */
    /* padding: 0; */
}
#language_switcher li:hover > ul{
    left: unset;
    right: 0;
}
#language_switcher li > a > img.flag{
    margin-right: 10px;
}


/* Navigation - post Prev/Next */

nav.navigation{
    margin: 30px auto 50px;
    width: 100%;
}
nav.navigation .nav-links a{
    all: unset;
    cursor: pointer;
    padding: 10px 30px;
    background-color: #fff;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    border-radius: 3px;
    transition: all 300ms ease;
    box-sizing: border-box;
    display: inline-block;
}
nav.navigation .nav-links a:hover{
    background-color: var(--primary-color-opacity);
}

/* Back to top */

#back_to_top{
    display: none;
    align-items: center;
    justify-content: center;
    height: 40px;
    width: 40px;
    position: fixed;
    right: 30px;
    bottom: 30px;
    box-shadow: inset 0 4px 4px rgba(255, 255, 255, 0.3);
    background-color: var(--secondary-color-dark);
    color: #fff;
    cursor: pointer;
    user-select: none;
    transition: all 300ms ease;
}
#back_to_top:hover{
    background-color: var(--secondary-color);
}
#back_to_top.active{
    display: flex;
}


/* Content */

#main_content {
    display: flex;
    justify-content: space-between;
    flex-flow: row nowrap;
    min-height: calc(100vh - 355px);
    /* min-height: 200vh; */
    min-height: calc(100vh - 330px);
}

#primary{
    margin-right: 30px;
    width: 100%;
}

.standard_content_wrapper{
    max-width: var(--full-content-width);
    margin-left: auto;
    margin-right: auto;
}



/* Sidebar */

#sidebar{
    min-width: 300px;
    max-width: 300px;
    width: 100%;
    margin-top: 85px;
}
#sidebar > section.widget{
    background: #fff;
    margin: 20px 0 0 0;
    box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
}
#sidebar > section.widget h2{
    background-color: var(--secondary-color);
    background-color: var(--secondary-color-dark);
    background-color: var(--primary-color);
    padding: 5px 20px;
    margin: 0;
    color: #fff;
    font-size: 1.1em;
    font-weight: 500;
    box-shadow: inset 0 4px 13px rgba(255, 255, 255, 0.3);
    /* box-shadow: inset 0 4px 4px rgba(255, 255, 255, 0.3); */
}
#sidebar > section.widget h2 + *{
    padding: 20px;
    margin: 0;
    /* color: #fff; */
}
#sidebar > section.widget h2 + ul{
    margin: 0;
    list-style: none;
}

#sidebar > section.widget_nav_menu ul{
    margin: 0;
    padding-left: 20px;
}



/* Footer */

footer#colophon{
    background-color: var(--primary-color);
    color: #fff;
    padding-top: 50px;
    padding-bottom: 50px;
}
footer#colophon #footer_columns{
    display: flex;
    align-items: flex-start;
    align-items: center;
    justify-content: space-between;
}
footer#colophon #footer_columns .footer_column{
    /* width: calc( 25% - 20px ); */
    /* background: var(--primary-color-opacity); */
    /* width: 25%; */
}

footer#colophon #footer_columns ul.menu_on_dark_blue {
    list-style: none;
    margin-left: 0;
    padding-left: 0;
}
footer#colophon #footer_columns ul.menu_on_dark_blue li a{
    color: #fff;
}
footer#colophon #footer_columns ul.menu_on_dark_blue li a:hover{
    /* color: var(--secondary-color); */
    color: var(--primary-color-lighter);
}
footer#colophon .site-info{
    text-align: center;
    margin: 10px auto 0;
}


footer#colophon #footer_columns #footer_newsletter input[type="text"],
footer#colophon #footer_columns #footer_newsletter input[type="email"]{
    all: unset;
    border-radius: 0;
    padding: 5px 20px;
    background: transparent;
    border: 1px solid #fff;
    border: none;
    border-bottom: 1px solid #fff;
    color: #fff;
}
footer#colophon #footer_columns #footer_newsletter input[type="text"]::placeholder,
footer#colophon #footer_columns #footer_newsletter input[type="email"]::placeholder{
    color: #fff;
}
footer#colophon #footer_columns #footer_newsletter input[type="text"]:focus::placeholder,
footer#colophon #footer_columns #footer_newsletter input[type="email"]:focus::placeholder{
    color: #aaa;
}

footer#colophon #footer_columns #footer_newsletter .footer_newsletter_name{
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}
footer#colophon #footer_columns #footer_newsletter .footer_newsletter_email{
    display: flex;
    margin-bottom: 20px;
}
footer#colophon #footer_columns #footer_newsletter input[type="text"]{
    width: 40%;
}
footer#colophon #footer_columns #footer_newsletter input[type="email"]{
    width: 100%;
}



/* LearnDash */

body .learndash-wrapper .ld-button,
body .learndash-wrapper .ld-expand-button,
body .learndash-wrapper .ld-status,
body .learndash-wrapper #learndash_mark_complete_button,
body .learndash-wrapper .learndash_mark_complete_button,
body .learndash-wrapper .wpProQuiz_content a#quiz_continue_link,
body .learndash-wrapper .wpProQuiz_content .wpProQuiz_button,
body .learndash-wrapper .wpProQuiz_content .wpProQuiz_button2,
body .learndash-wrapper .wpProQuiz_content .wpProQuiz_certificate a.btn-blue{
    border-radius: 2px;
}

body.learndash-cpt .learndash-wrapper .ld-progress .ld-progress-bar .ld-progress-bar-percentage{
    background: var(--secondary-color);
}
body.learndash-cpt .learndash-wrapper .ld-progress .ld-progress-bar{
    background: #eee;
}

body.learndash-cpt .learndash-wrapper .ld-course-status,
body.learndash-cpt .learndash-wrapper .ld-lesson-status,
body.learndash-cpt .learndash-wrapper .ld-topic-status{
    background: #fff;
    border-radius: 0;
    box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
}
body.learndash-cpt .learndash-wrapper .ld-breadcrumbs,
body.learndash-cpt .learndash-wrapper .ld-status{
    /* display: none; */
    background: #fff;
}
body.learndash-cpt .ld-progress-label,
body.learndash-cpt .ld-progress-stats .ld-progress-percentage{
    font-weight: 500 !important;
}

body.learndash-cpt #sidebar .ld-lesson-navigation,
body.learndash-cpt #sidebar .ld-lesson-navigation{
    background: #fff;
    padding: 10px;
}
body.learndash-cpt #sidebar .ld-lesson-navigation .ld-lesson-items .ld-lesson-item:has(+ :not(.ld-lesson-item)),
body.learndash-cpt #sidebar .ld-lesson-navigation .ld-lesson-items .ld-lesson-item:has(+ :not(.ld-lesson-item)){
    border-bottom: none;
}

body.learndash-cpt #sidebar .ld-course-navigation-heading,
body.learndash-cpt #sidebar .widget_course_return,
body.learndash-cpt .learndash-wrapper .ld-content-actions .ld-course-step-back{
    display: none;
}

#sidebar #custom_learndash_navigation{
    display: flex;
    flex-flow: column nowrap;
    align-items: stretch;
    justify-content: flex-start;
    background: #fff;
    box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
    margin-top: 1.5em;
}
#sidebar #custom_learndash_navigation > .widget{
    margin: 0;
}
#sidebar #custom_learndash_navigation .ld-expand-button{
    /* display: none; */
}
#sidebar #custom_learndash_navigation .ld-lesson-item-expanded{
    /* max-height: initial; */
}
#sidebar #custom_learndash_navigation > a.header_link{
    background: var(--primary-color);
    color: #fff;
    padding: 10px;
    display: flex;
    flex-flow: row nowrap;
    align-items: center;
    justify-content: flex-start;
    transition: all 300ms ease;
}
#sidebar #custom_learndash_navigation > a.header_link span.dashicons{
    /* background: red; */
    font-size: 12px;
    line-height: 12px;
    display: flex;
    flex-flow: row nowrap;
    align-items: center;
    justify-content: center;
}
#sidebar #custom_learndash_navigation > a.header_link span.description{
    display: inline-block;
    transition: all 300ms ease;
    margin-left: 0;
}
#sidebar #custom_learndash_navigation > a.header_link:hover {
    opacity: .85;
}
#sidebar #custom_learndash_navigation > a.header_link:hover span.description{
    margin-left: 5px;
}


body.learndash-cpt .learndash-wrapper .wpProQuiz_content .wpProQuiz_forms table tr td{
    width: 50%;
}
body.learndash-cpt .learndash-wrapper .wpProQuiz_content .wpProQuiz_forms table tr td input[type=text]{
    max-width: 200px;
}


/* Buttons */

.primary_button,
a.primary_button{
    all: unset;
    cursor: pointer;
    padding: 10px 30px;
    background-color: var(--primary-color);
    color: #fff;
    border: 1px solid var(--primary-color);
    border-radius: 3px;
    transition: all 300ms ease;
    box-sizing: border-box;
    display: inline-block;
}
.primary_button:hover{
    background-color: #fff;
    background-color: var(--primary-color-light);
    /* color: var(--primary-color); */
}

.secondary_button,
a.secondary_button{
    all: unset;
    cursor: pointer;
    padding: 4px 15px;
    background-color: var(--secondary-color-light);
    color: #fff;
    border: 1px solid var(--secondary-color-light);
    border-radius: 3px;
    transition: all 300ms ease;
    text-transform: uppercase;
}
.secondary_button:hover{
    background-color: #fff;
    background-color: var(--secondary-color);
}

.primary_button.outline{
    background-color: #fff;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}
.primary_button.outline:hover{
    background-color: var(--primary-color-opacity);
    /* color: #fff; */
}

.primary_button.outline.inverted{
    background: transparent;
    color: #fff;
    border: 1px solid #fff;
}
.primary_button.outline.inverted:hover{
    background-color: #fff;
    color: var(--primary-color);
}

.has_chevron:after{
    content: "";
    position: absolute;
    top: calc( 50% - 2px );
    right: 15px;
    width: 0;
    height: 0;
    border-top: 4px solid #fff;
    border-right: 4px solid transparent;
    border-left: 4px solid transparent;
    transition: 400ms all ease;
}
.has_chevron:hover:after{
    border-top: 4px solid #fff;
}

.wp-block-buttons > .wp-block-button > a{
    border-radius: 3px;
}


/* Text styling */

.title_big{
    text-transform: uppercase;
    font-size: 30px;
    font-weight: 400;
    letter-spacing: -1.1px;
}
.title_small{
    text-transform: uppercase;
    font-size: 16px;
    font-weight: 400;
    letter-spacing: -1.1px;
}
.fine_print{
    margin: 0;
    margin-bottom: 20px;
    font-weight: 500;
    font-size: 13px;
}
.green{
    color: var(--secondary-color);
}

.separate{
    display: flex;
    align-items: center;
    justify-content: space-between;
}

h1.entry-title,
.page-title{
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    border-bottom: 1px solid lightgrey;
    padding-bottom: 20px;
    margin-bottom: 30px;
    text-align: center;
    text-transform: uppercase;
    font-weight: 500;
    /* font-weight: 400; */
    line-height: 1;
    color: var(--primary-color);
}

section p.subtitle{
    margin-left: auto;
    margin-right: auto;
    max-width: 80%;
    text-align: center;
}

.wp-block-pullquote blockquote p:after,
.wp-block-pullquote blockquote p:before{
    font-family: Times;
    font-size: 1.3em;
}
.wp-block-pullquote blockquote p:before{
    content: "\201C";
}
.wp-block-pullquote blockquote p:after{
    content: "\201D";
}
.wp-block-pullquote blockquote{
    quotes: "\201C""\201D""\2018""\2019";
}

.wp-block-quote blockquote {
    background: #f9f9f9;
    border-left: 10px solid var(--secondary-color);
    margin: 1.5em 10px;
    padding: 0.5em 10px;
    quotes: "\201C""\201D""\2018""\2019";
}
.wp-block-quote blockquote:before {
    color: var(--secondary-color);
    content: open-quote;
    font-family: Times;
    font-size: 4em;
    line-height: 0.1em;
    margin-right: 0.25em;
    vertical-align: -0.4em;
}
.wp-block-quote blockquote p {
  display: inline;
}

/* Immunology Terms - Glossary */

#tt{
    opacity: 1;
    left: 50%;
    top: 50%;
    display: block;
}
#tt #ttcont{
    background: var(--primary-color) !important;
    padding: 5px 20px 20px !important;
    border-radius: 3px !important;
}
body #tt #ttcont div.glossaryItemTitle{
    color: #fff !important;
    color: var(--primary-color-lighter) !important;
    color: var(--secondary-color-light) !important;
}
body span.glossaryLink,
body a.glossaryLink {
    border-bottom: dotted 1px var(--secondary-color-dark);
    color: var(--secondary-color-dark) !important;
    transition: all 300ms ease !important;
}
#glossaryList-nav .ln-letters{
    /* background: red; */
}
#glossaryList-nav .ln-letters > a{
    font-size: 14px;
}



/* Images */

body.single #primary figure{
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 80% !important;
    width: 100% !important;
}
body.single #primary figure img{
    width: 100%;
    width: 80%;
    margin-left: auto;
    margin-right: auto;
    display: block;
}
body.single #primary figure figcaption{
    font-size: 0.8rem;
    font-style: italic;
    /* width: 100%; */
    /* min-width: 100%; */
    display: block;
}

/* Animation */

.animation_reveal{
    position: relative;
    transform: translateY(-150px);
    opacity: 0;
    transition: 750ms all ease;
}
.animation_reveal.fade_in{
    transform: translateY(0);
}
.animation_reveal.from_top{
    transform: translateY(-150px);
}
.animation_reveal.from_bottom{
    transform: translateY(150px);
}
.animation_reveal.from_left{
    transform: translateX(-150px);
}
.animation_reveal.from_right{
    transform: translateX(150px);
}

.animation_reveal.active{
    transform: translateY(0);
    transform: translateX(0);
    opacity: 1;
}


/* Listing Posts */

#list_posts{
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
    align-items: stretch;
    margin-right: 20px;
}

#list_posts > a{
    width: 49%;
    margin-bottom: 20px;
    /* background: cyan; */
    background: #fff;
    box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
}
#list_posts.one_per_row > a{
    width: 100%;
}
#list_posts.three_per_row > a{
    width: 32%;
}


#list_posts article {
    height: 100%;
    display: flex;
    flex-flow: column nowrap;
    align-items: stretch;
    justify-content: space-between;
}
#list_posts article > header{
    background-color: var(--primary-color);
    padding: 10px 30px;
    transition: all 400ms ease;
}
#list_posts > a:hover article > header{
    background-color: var(--primary-color-light);
}
#list_posts > a:hover article .date-and-button .primary_button{
    background-color: #fff;
    background-color: var(--primary-color-light);
}

#list_posts article > header h2{
    padding: 0;
    margin: 0;
    color: #fff;
    font-weight: 400;
    font-size: 20px;
    text-transform: uppercase;
    min-height: 60px;
}

#list_posts article .entry-content{
    margin: 0;
    padding: 10px 20px;
    display: flex;
    flex-flow: column nowrap;
    align-items: stretch;
    justify-content: space-between;
    flex-grow: 10;
}
#list_posts article .entry-excerpt-wrapper{
    flex-grow: 10;
}
#list_posts article .entry-image{
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    width: 100px;
    height: 85px;
    display: inline-block;
    float: left;
    margin-top: 6px;
    margin-right: 10px;
    border: 1px solid #ccc;
}
#list_posts article .entry-excerpt{
    display: inline;
    margin: 0;
    /* padding: 1px 20px 0 0; */
    color: #000;
    /* background: cyan; */
}
#list_posts article .date-and-button{
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 20px;
    color: #000;
}
#list_posts article .date-and-button span{
    font-size: small;
    font-weight: bold;
}



#list_posts article.post {
    height: 100%;
    display: flex;
    flex-flow: column nowrap;
    align-items: stretch;
    justify-content: space-between;
}
#list_posts article.post > header{
    background-color: var(--primary-color);
    padding: 10px 30px;
    transition: all 400ms ease;
}
#list_posts > a:hover article.post > header{
    background-color: var(--primary-color-light);
}
#list_posts > a:hover article.post .date-and-button .primary_button{
    background-color: #fff;
    background-color: var(--primary-color-light);
}

#list_posts article.post > header h2{
    padding: 0;
    margin: 0;
    color: #fff;
    font-weight: 400;
    font-size: 20px;
    text-transform: uppercase;
    min-height: 90px;
}

#list_posts article.post .entry-content{
    margin: 0;
    padding: 10px 20px;
    display: flex;
    flex-flow: column nowrap;
    align-items: stretch;
    justify-content: space-between;
    flex-grow: 10;
}
#list_posts article.post .entry-excerpt-wrapper{
    flex-grow: 10;
}
#list_posts article.post .entry-image{
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    width: 100px;
    height: 85px;
    display: inline-block;
    float: left;
    margin-top: 6px;
    margin-right: 10px;
    border: 1px solid #ccc;
}
#list_posts article.post .entry-excerpt{
    display: inline;
    margin: 0;
    /* padding: 1px 20px 0 0; */
    color: #000;
    /* background: cyan; */
}
#list_posts article.post .date-and-button{
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 20px;
    color: #000;
}
#list_posts article.post .date-and-button span{
    font-size: small;
    font-weight: bold;
}


#list_posts article.ambassador{
    flex-flow: row nowrap;
    color: #333;
    padding: 10px;
    align-items: center;
    align-items: stretch;
    transition: all 400ms ease;
    position: relative;
}
#list_posts article.ambassador .entry-image-wrapper{
    margin: 0;
    width: 100px;
    min-width: 100px;
    height: 100px;
    height: 100%;
    overflow: hidden;
}
#list_posts article.ambassador .entry-image{
    margin: 0;
    width: 100px;
    height: 100px;
    height: 100%;
    transition: all 400ms ease;
}
#list_posts article.ambassador .entry-content{
    padding: 0 20px 0 10px;
    justify-content: center;
}
#list_posts article.ambassador .entry-name,
#list_posts article.ambassador .entry-position{
    padding-right: 30px;
}
#list_posts article.ambassador h2{
    font-size: 16px;
    margin: 0;
    padding: 0;
}
#list_posts article.ambassador .entry-spacer{
    border-bottom: 1px solid #aaa;
    margin: 5px 0 10px;
    width: 60%;
    height: 1px;
}
#list_posts article.ambassador:hover{
    color: #fff;
    background: var(--primary-color);
}
#list_posts article.ambassador:hover .entry-image{
    transform: scale(1.1);
}


/* Breadcrumbs */

#breadcrumbs{
    max-width: var(--full-content-width);
    width: 100%;
    margin: 30px auto;
}
#breadcrumbs #breadcrumbs_wrapper{
    box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
    display: inline-flex;
}
#breadcrumbs a{
    display: block;
    padding: 6px 16px 6px 20px;
    position: relative;
    background: #ddd;
    color: #333;
    transition: all 400ms ease;
}
#breadcrumbs a .breadcrumbs_restricted_width{
    display: block;
    white-space: nowrap;
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
}
#breadcrumbs a:not(.current_breadcrumb):after{
    content: "";
    position: absolute;
    top: 0;
    right: -12px;
    width: 0;
    height: 0;
    border-left: 12px solid #ddd;
    border-top: 18px solid transparent;
    border-bottom: 18px solid transparent;
    transition: 400ms all ease;
    z-index: 1;
    transition: all 400ms ease;
}

#breadcrumbs a.first_breadcrumb{
    border-top-left-radius: 3px;
    border-bottom-left-radius: 3px;
    background: var(--primary-color);
    color: #fff;
}
#breadcrumbs a.first_breadcrumb:after{
    border-left: 12px solid var(--primary-color);
}

#breadcrumbs a:nth-of-type(2){
    background: rgb(200, 200, 200);
}
#breadcrumbs a:nth-of-type(2):after{
    border-left: 12px solid rgb(200, 200, 200);
}

#breadcrumbs a:nth-of-type(3){
    background: rgb(210, 210, 210);
}
#breadcrumbs a:nth-of-type(3):after{
    border-left: 12px solid rgb(210, 210, 210);
}

#breadcrumbs a:nth-of-type(4){
    background: rgb(221, 221, 221);
}
#breadcrumbs a:nth-of-type(4):after{
    border-left: 12px solid rgb(221, 221, 221);
}

#breadcrumbs a:nth-of-type(5){
    background: rgb(233, 233, 233);
}
#breadcrumbs a:nth-of-type(5):after{
    border-left: 12px solid rgb(233, 233, 233);
}

#breadcrumbs a:not(.first_breadcrumb){
    padding-left: 26px;
}
#breadcrumbs a.current_breadcrumb{
    border-top-right-radius: 3px;
    border-bottom-right-radius: 3px;
    background: #fff;
}
#breadcrumbs a:hover{
    color: #fff;
    background: var(--primary-color-dimmed);
}
#breadcrumbs a:hover:after{
    border-left: 12px solid var(--primary-color-dimmed);
}


/* Bi-directional relationship, Ambassador <=> Ambassador Article */

.entry-linked_articles{
    display: flex;
    flex-flow: column nowrap;
    align-items: flex-start;
    margin-top: 10px;
}
.entry-linked_articles a{
    color: #fff;
    transition: 300ms ease all;
    display: flex;
    align-items: center;
}
.entry-linked_articles a span{
    color: #fff;
    transition: 300ms ease all;
}
.entry-linked_articles a span:first-of-type{
    margin-right: 5px;
    color: var(--secondary-color);
}
.entry-linked_articles a:hover span{
    color: var(--primary-color-lighter);
}
#list_posts article.ambassador .entry-content .dashicons{
    transition: all 100ms ease;
    position: absolute;
    right: 10px;
    top: 5px;
    font-size: 30px;
    width: 30px;
    height: 30px;
    color: var(--secondary-color);
}

/* Page top margin */

body:not(.home) #page{
    background: #eee;
}
body:not(.home) #main_content{
    padding-top: 50px;
    padding-bottom: 50px;
}


/* Tablepress */

table.tablepress{
    --head-bg-color: var(--primary-color);
    border: 1px solid var(--primary-color);;
}
table.tablepress > :is( thead, tfoot ) > *  > th{
    color: #fff;
}
table.tablepress td {
    border-color: var(--primary-color);;
}
table.tablepress td.column-1 {
	background: var(--primary-color-opacity);
    font-weight: 500;
}

/* Accordions */

.wp-block-details,
.accordion {
    border: 1px solid #ccc;
    margin-bottom: 1em;
}
.wp-block-details summary::marker{
    display: none;
    list-style: none;
    content: '';
}
.wp-block-details summary,
.accordion-title {
    background-color: #f7f7f7;
    padding: 10px;
    cursor: pointer;
}
.wp-block-details p{
    padding: 10px;
}
.accordion-content {
    display: none;
    padding: 10px;
}


@keyframes accordion_open {
  0% { opacity: 0 }
  100% { opacity: 1 }
}
@keyframes accordion_close {
  0% { opacity: 1 }
  100% { opacity: 0 }
}
details[open] summary~* {
  animation: accordion_open .5s
}
details.accordion_closing summary~* {
  animation: accordion_close .5s
}


/* WP Download Manager */

body.single-wpdmpro .w3eden > .row > .col-md-7{
    display: none;
}
body.single-wpdmpro .w3eden .wpdm-download-link{
    background: var(--primary-color);
    border-radius: 3px;
    font-weight: 500;
}
body.single-wpdmpro .w3eden .wpdm-download-link:hover{
    background: var(--primary-color-lighter);
}

body .w3eden .card h3 a{
    color: var(--primary-color);
}
body .w3eden .card h3 a:hover{
    color: var(--primary-color-lighter);
}
body .wpdm-download-link.btn.btn-primary{
    background: var(--primary-color);
    font-weight: 500;
    border-radius: 3px;
}
body .wpdm-download-link.btn.btn-primary:hover{
    background: var(--primary-color-lighter);
}


/* Register page */
#learndash-registration-wrapper #learndash_registerform{
    padding: 20px;
    border: 1px solid var(--primary-color);
    border-radius: 3px;
    max-width: 800px;
}
#acf-form-data + h2{
    display: none;
}


/* Debug */

body textarea.code{
    display: block;
    width: 100%;
    min-height: 5em;
    overflow-y: auto;
    overflow-x: hidden;
    overflow-x: auto;
    font-family: monospace;
    border: 1px solid #bbb;
    padding: 1em;
    white-space: pre-wrap;
    /* white-space: nowrap; */
    font-size: 12px;
    background-color: #2a2f45;
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #c1c9d2;
}