/**
 * Base styles
 *
 * @package    PoliCromix template
 * @author     Alejandro Caballero - lava.caballero@gmail.com
 */

#header              { position: relative; }
#header > *          { position: relative; }
#header_video        { position: absolute; top: 0; left: 0; width: 100%; height: 100%;
                       object-position: center center; object-fit: cover;
                       mix-blend-mode: screen; opacity: 0.25; pointer-events: none; }
#header_back_blurrer { position: absolute; top: 0; left: 0; width: 100%; height: 100%;
                       backdrop-filter: blur(2px); pointer-events: none; }

/* Base style overrides */

h1 { color: var(--ref-color2); }
h2 { color: var(--ref-color2); }
h3 { color: var(--ref-color2); }
h4 { color: var(--ref-color2); }
h5 { color: var(--ref-color2); }

h1 a, h1 .pseudo_link, h2 a, h2 .pseudo_link, h3 a, h3 .pseudo_link { color: var(--ref-color2); }

a:link,            .pseudo_link                            { color: var(--ref-color2); }
a:visited,         .pseudo_link:visited                    { color: var(--ref-color2); }
a:active, a:hover, .pseudo_link:active, .pseudo_link:hover { color: var(--ref-color2-lighter); }

td a:link,               td .pseudo_link                               { color: var(--ref-color3); }
td a:visited,            td .pseudo_link:visited                       { color: var(--ref-color3); }
td a:active, td a:hover, td .pseudo_link:active, td .pseudo_link:hover { color: var(--ref-color2); }

a.framed_content, .pseudo_link.framed_content { text-decoration: none; }

#header { color: white; background: transparent; }
#footer { color: white; background: transparent; position: relative; padding-top: 20px; }
#header a, #header .pseudo_link { color: var(--ref-color0); }
#footer a, #footer .pseudo_link { color: var(--ref-color0); }
#footer a:hover,  #footer .pseudo_link:hover  { color: white; }
#footer a:active, #footer .pseudo_link:active { color: white; }

#footer:before         { display: block; content: ''; height: 80px; 
                         position: absolute; top: -80px; left: 0; width: 100%; pointer-events: none;
                         background: linear-gradient(to bottom, transparent 0%, rgba(255,255,255,0.10) 100%); }
.footer_contents       { background: var(--ref-colorB); position: relative; }
.footer_character      { position: absolute; left: -100px; top: -250px;
                         width: 400px; height: 250px; z-index: -1; 
                         overflow: hidden; pointer-events: none; }
.footer_character img  { width: 100%; }
#footer { margin-top: 200px; }

#footer_socials                       { position: absolute; left: 0; top: -190px;
                                        height: 250px; width: 100%; }
#footer_socials hr                    { display: none; }
#footer_socials .socials   .links a   { display: inline-block; margin: 0 5px 5px 5px; font-size: 2em; }
#footer_socials .appstores .links img { height: 2.2em; margin: 0 5px 5px 5px; }

@media all and (max-width: 799px) {
    #footer_socials            { position: relative; left: unset; top: unset; height: unset; width: unset; }
    #footer_socials .col.blank { display: none; }
    #footer_socials hr         { display: block; margin: 40px 0; }
}

#header #menu_holder          { display: flex; flex-wrap: nowrap; align-items: stretch; align-content: stretch;
                                padding-top: 0; padding-bottom: 10px; }
#header #__main_menu_logo img { height: 40px; margin-left: 10px; margin-top: 14px; }
#header .menu                 { padding-top: 10px; margin-left: 10px; margin-right: 10px; flex-grow: 1; }
#header .menu > *             { vertical-align: top; }

#header .main_menu_item { font-family: var(--body-font); text-transform: uppercase;
                          border-radius: 5px; margin: 5px 2px;
                          background-position: center center;
                          background-repeat: no-repeat;
                          background-size: cover;
                          color: white; }

#header .main_menu_item:link          { color: white; }
#header .main_menu_item:hover         { color: white; background-color: #7c7e7f; background-image: url('button_bg.svg'); }
#header .main_menu_item.current       { color: white; background-color: #f6f8f9; background-image: url('button_bg.svg'); text-shadow: var(--button-hover-stroke); }
#header .main_menu_item.current:hover { color: white; background-color: #47baff; background-image: url('button_bg.svg'); text-shadow: var(--button-hover-stroke); }

#header .main_menu_item.highlighted               { color: #a2ddff; background-color: transparent; }
#header .main_menu_item.highlighted:link          { color: #a2ddff; background-color: transparent; }
#header .main_menu_item.highlighted:hover         { color: white;   background-color: #44bdff; background-image: url('button_bg.svg'); text-shadow: var(--button-hover-stroke);  }
#header .main_menu_item.highlighted.current       { color: white;   background-color: #358cbf; background-image: url('button_bg.svg'); text-shadow: var(--button-hover-stroke);  }
#header .main_menu_item.highlighted.current:hover { color: white;   background-color: #97d5ff; background-image: url('button_bg.svg'); text-shadow: var(--button-hover-stroke);  }

#header .main_menu_item.alerted               { color: lightpink; background-color: yellow; background-image: url('button_bg.svg'); text-shadow: var(--button-hover-stroke); }
#header .main_menu_item.alerted:link          { color: lightpink; }
#header .main_menu_item.alerted:hover         { color: lightpink;    }
#header .main_menu_item.alerted.current       { color: lightpink;    }
#header .main_menu_item.alerted.current:hover { color: lightpink;    }

#header .main_menu_item.alerted       .fa.fa-border { border-color: maroon; }
#header .main_menu_item.alerted:hover .fa.fa-border { border-color: red;    }

#header .main_menu_item.submenu_visible              { color: #f6f8f9; background-color: #0032DF; text-shadow: var(--button-hover-stroke); }
#header .main_menu_item.submenu_visible:hover        { color: white;   background-color: #f6f8f9; text-shadow: var(--button-hover-stroke); }

#main_menu_trigger.open                              { color: #0032DF; background-color: #f6f8f9; }

.dropdown_menu                               { color: white; background-color: #0032DF;
                                               border-radius: 5px; }
.dropdown_menu .main_menu_item:first-child   { border-top-left-radius: 5px; border-top-right-radius: 5px; }
.dropdown_menu .main_menu_item:last-child    { border-bottom-left-radius: 5px; border-bottom-right-radius: 5px; }
.dropdown_menu .main_menu_item               { color: white; font-family: var(--body-font); text-transform: uppercase;
                                               background-position: center center;
                                               background-repeat: no-repeat;
                                               background-size: cover; }
.dropdown_menu .main_menu_item:link          { color: white; }
.dropdown_menu .main_menu_item:hover         { color: white; background-color: #7c7e7f; background-image: url('button_bg.svg'); text-shadow: var(--button-hover-stroke); }
.dropdown_menu .main_menu_item.current       { color: white; background-color: #f6f8f9; background-image: url('button_bg.svg'); text-shadow: var(--button-hover-stroke); }
.dropdown_menu .main_menu_item.current:hover { color: white; background-color: #47baff; background-image: url('button_bg.svg'); text-shadow: var(--button-hover-stroke); }

.dropdown_menu .main_menu_item.highlighted               { color: #a2ddff; background-color: #3DA4DF; background-image: url('button_bg.svg'); text-shadow: var(--button-hover-stroke); }
.dropdown_menu .main_menu_item.highlighted:link          { color: #a2ddff; background-color: #3DA4DF; background-image: url('button_bg.svg'); text-shadow: var(--button-hover-stroke); }
.dropdown_menu .main_menu_item.highlighted:hover         { color: white;   background-color: #44bdff; background-image: url('button_bg.svg'); text-shadow: var(--button-hover-stroke); }
.dropdown_menu .main_menu_item.highlighted.current       { color: white;   background-color: #358cbf; background-image: url('button_bg.svg'); text-shadow: var(--button-hover-stroke); }
.dropdown_menu .main_menu_item.highlighted.current:hover { color: white;   background-color: #97d5ff; background-image: url('button_bg.svg'); text-shadow: var(--button-hover-stroke); }

.framed_content                 { border: 2px solid whitesmoke; background-color: #fafafa; color: black; }
.framed_content .framed_content { border: 2px solid #dcdcdc;    background-color: #e6e6e6; color: black; }
.framed_content.state_disabled  { background-color: silver;  border-color: #a7a7a7;  color: #585858; }
.framed_content.state_warning   { background-color: #fff1a0; border-color: #eadc8d; color: black;   }
.framed_content.state_ko        { background-color: #EDCCC9; border-color: #d7b6b3; color: black;   }
.framed_content.state_ok        { background-color: #C0FFC0; border-color: #aeecae; color: black;   }
.framed_content.state_highlight { background-color: #fff1a0; border-color: #f1e393; color: black;   }
.framed_content.state_active    { background-color: #BBDDFF; border-color: #abcdef; color: black;   }
.framed_content.state_hover     { background-color: #42A0FF; border-color: #42A0FF; color: white;   }

.framed_content.state_hover:hover { background-color: #42A0FF; border-color: #42A0FF; color: white;   }
.framed_radios label:hover        { background-color: #42A0FF; border-color: #42A0FF; color: white; }

.framed_content h1 { color: var(--ref-color2-darker); }
.framed_content h2 { color: var(--ref-color2-darker); }
.framed_content h3 { color: var(--ref-color2-darker); }
.framed_content h4 { color: var(--ref-color2-darker); }
.framed_content h5 { color: var(--ref-color2-darker); }

.framed_content a:link,    .framed_content .pseudo_link                 { color: var(--ref-colorB); }
.framed_content a:visited, .framed_content .pseudo_link:visited         { color: var(--ref-colorB); }
.framed_content a:active,  .framed_content a:hover,
.framed_content .pseudo_link:active, .framed_content .pseudo_link:hover { color: var(--ref-color3); }

a.framed_content:link,    .framed_content.pseudo_link                 { color: var(--ref-colorB); }
a.framed_content:visited, .framed_content.pseudo_link:visited         { color: var(--ref-colorB); }
a.framed_content:active,  a.framed_content:hover,
.framed_content.pseudo_link:active, .framed_content.pseudo_link:hover { color: var(--ref-color3); }

body.admin h1 a.framed_content, body.admin h1 .pseudo_link.framed_content { text-decoration: none; }
body.admin h2 a.framed_content, body.admin h2 .pseudo_link.framed_content { text-decoration: none; }
body.admin h3 a.framed_content, body.admin h3 .pseudo_link.framed_content { text-decoration: none; }
body.admin h4 a.framed_content, body.admin h4 .pseudo_link.framed_content { text-decoration: none; }
body.admin h5 a.framed_content, body.admin h5 .pseudo_link.framed_content { text-decoration: none; }

h1 .framed_content, h2 .framed_content, h3 .framed_content, h4 .framed_content, h5 .framed_content {
    font-family: var(--body-font);
    font-variant: none;
    font-size: 0.7em;
    line-height: 1em;
    font-weight: normal;
}

body.home h1 .framed_content, body.home h2 .framed_content, body.home h3 .framed_content, body.home h4 .framed_content, body.home h5 .framed_content ,
body.main h1 .framed_content, body.main h2 .framed_content, body.main h3 .framed_content, body.main h4 .framed_content, body.main h5 .framed_content {
    font-size: 0.5em;
    line-height: 1em;
    font-weight: normal;
}

section > h1 { font-size: 16pt; line-height: 17pt; color: white; background-color: var(--ref-color2-darker); border: 2px solid var(--ref-color2-darker); }
section > h2 { font-size: 15pt; line-height: 16pt; color: white; background-color: var(--ref-color2-darker); border: 2px solid var(--ref-color2-darker); }
section > h3 { font-size: 14pt; line-height: 15pt; color: white; background-color: var(--ref-color2-darker); border: 2px solid var(--ref-color2-darker); }
section > h4 { font-size: 13pt; line-height: 14pt; color: white; background-color: var(--ref-color2-darker); border: 2px solid var(--ref-color2-darker); }
section > h5 { font-size: 12pt; line-height: 13pt; color: white; background-color: var(--ref-color2-darker); border: 2px solid var(--ref-color2-darker); }

section > h1 a, section > h1 .pseudo_link, section > h1 .pseudo_link:hover { color: white; }
section > h2 a, section > h2 .pseudo_link, section > h2 .pseudo_link:hover { color: white; }
section > h3 a, section > h3 .pseudo_link, section > h3 .pseudo_link:hover { color: white; }
section > h4 a, section > h3 .pseudo_link, section > h3 .pseudo_link:hover { color: white; }
section > h5 a, section > h3 .pseudo_link, section > h3 .pseudo_link:hover { color: white; }

.table_wrapper.scrolling { border-left: 2px dotted #00BFFF; border-right: 2px dotted #00BFFF; }

/* Base admin overrides */

#admin_menu { color: black; background-color: #00BFFF; }

#admin_menu .admin_bar_title { color: black; }

#admin_menu .item       { color: black; }
#admin_menu .item:hover { color: white; background-color: #0084bf; }

#admin_menu .item.current       { color: dimgrey; background-color: white; }
#admin_menu .item.current:hover { color: dimgrey; background-color: #e7e7e7; }

#admin_menu_trigger.open { color: #0084bf; background-color: white; }

body.admin h1 { font-size: 16pt; line-height: 17pt; color: white; background-color: var(--ref-color3); border-color: var(--ref-color3); }
body.admin h2 { font-size: 15pt; line-height: 16pt; color: white; background-color: var(--ref-color3); border-color: var(--ref-color3); }
body.admin h3 { font-size: 14pt; line-height: 15pt; color: white; background-color: var(--ref-color3); border-color: var(--ref-color3); }
body.admin h4 { font-size: 13pt; line-height: 14pt; color: white; background-color: var(--ref-color3); border-color: var(--ref-color3); }
body.admin h5 { font-size: 12pt; line-height: 13pt; color: white; background-color: var(--ref-color3); border-color: var(--ref-color3); }

body.admin h1 a, body.admin h1 .pseudo_link { color: white; }
body.admin h2 a, body.admin h2 .pseudo_link { color: white; }
body.admin h3 a, body.admin h3 .pseudo_link { color: white; }
body.admin h4 a, body.admin h5 .pseudo_link { color: white; }
body.admin h5 a, body.admin h5 .pseudo_link { color: white; }

#footer hr      { border-style: solid; border-color: var(--ref-color2); }
#footer .bullet { color: var(--ref-color2); margin-left: 10px; }
#footer h1, #footer h2, #footer h3 { color: white; }

/* Responsiveness */

#header #menu_holder { text-align: center; }

@media all and (max-width: 700px) {
    #header #menu_holder      { text-align: left; flex-wrap: wrap; }
    #header #__main_menu_logo { width: 100%; margin-top: 10px; text-align: center; }
    #header #__main_menu_logo img { margin: 0; width: 90%; max-width: 500px; height: auto; }
    #header .menu             { width: 100%; padding-top: 10px; margin-left: 0; margin-right: 0; }
}

@media all and (min-width: 1280px) {
    #header, #content_wrapper, #footer { padding-left: 5vw; padding-right: 5vw; }
}
@media all and (min-width: 1360px) {
    #header, #content_wrapper, #footer { padding-left: 10vw; padding-right: 10vw; }
}
@media all and (min-width: 1900px) {
    #header, #content_wrapper, #footer { padding-left: 15vw; padding-right: 15vw; }
}

body.admin #header, body.admin #content_wrapper, body.admin #footer { padding-left: 0; padding-right: 0; }

/* Admin menu quirks */

@media all and (max-width: 700px)
{
    #admin_menu_trigger         { display: none; }
    #admin_menu .item           { display: inline-block; }
    #admin_menu .item.current   { display: block; }
}

#admin_menu                     { display: flex; flex-wrap: nowrap; gap: 10px; justify-content: space-between;
                                  overflow: hidden; }
#admin_menu .admin_bar_title    , 
#admin_menu .item               { flex-shrink: 1; padding-left: 5px; padding-right: 5px;
                                  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#admin_menu .admin_bar_title    { flex-grow: 1; text-align: left; }

@media all and (max-width: 425px) {
    #admin_menu                 { gap: 0; }
    #admin_menu .item           { padding-left: 2px; padding-right: 2px; }
}

/* Buttons */

.buttonized, a.buttonized     { display: inline-block; padding: 10px 20px; margin: 10px; font-size: 0.8rem;
                                border-radius: 5px; text-decoration: none;
                                color: white;
                                background: var(--ref-color2) url('button_bg.svg') center center no-repeat;
                                background-size: cover;
                                border: 2px solid var(--ref-color3-lighter);
                                text-shadow: var(--button-hover-stroke); }

/*
.buttonized.inverted          { color: var(--ref-color-buttons);   border-color: var(--ref-color-buttons); background-color: white; }
.buttonized.highlighted       { color: white;                      border-color: var(--ref-color2);        
                                background: var(--ref-color2) url('button_bg.svg') center center no-repeat;
                                background-size: cover; }
*/

a.buttonized:hover            ,
.pseudo_link.buttonized:hover { color: white; 
                                border-color: var(--ref-color-buttons); }

.buttonized .raw {
    color: var(--ref-color-buttons);
    text-shadow: none;
}

body.admin h1 a.framed_content, body.admin h1 .pseudo_link.framed_content ,
button, input[type="button"], input[type="reset"] {
    font-size: 0.8rem; font-weight: bold; padding: 4px 8px;
    border: 2px solid var(--ref-color3-lighter); border-radius: 5px;
    color: white;
    text-shadow: var(--button-hover-stroke);
    background: var(--ref-color2) url('button_bg.svg') center center no-repeat;
    background-size: cover;
}

body.admin h1 a.framed_content:hover, body.admin h1 .pseudo_link.framed_content:hover ,
button:hover, input[type="button"]:hover, input[type="reset"]:hover {
    color: white;
    border-color: var(--ref-color-buttons);
}

body.admin h1 a.framed_content, body.admin h1 .pseudo_link.framed_content ,
body.admin button, body.admin input[type="button"], body.admin input[type="reset"] {
    font-weight: normal;
}

td button, td input[type="button"], td input[type="reset"] ,
th button, th input[type="button"], th input[type="reset"] ,
h1 button, h1 input[type="button"], h1 input[type="reset"] ,
h2 button, h2 input[type="button"], h2 input[type="reset"] ,
h3 button, h3 input[type="button"], h3 input[type="reset"] {
    font-weight: normal;
}

body.admin h1 button, body.admin h1 input[type="button"], body.admin h1 input[type="reset"] ,
body.admin h2 button, body.admin h2 input[type="button"], body.admin h2 input[type="reset"] ,
body.admin h3 button, body.admin h3 input[type="button"], body.admin h3 input[type="reset"] {
    font-weight: normal;
}

button:hover,  input[type="button"]:hover,  input[type="reset"]:hover  ,
button:active, input[type="button"]:active, input[type="reset"]:active {
    color: white;
}

button[disabled], input[type="button"][disabled], input[type="reset"][disabled],
.buttonized[disabled], .buttonized.disabled {
    filter: grayscale(100); color: white; opacity: 0.5; pointer-events: none;
}

/* Other additions */

.post_ratings_container { color: black; }
.meta_section .post_ratings_container          .stars i          { color: #3DA4DF; text-shadow: none; }
.meta_section .post_ratings_container          .stars i.hovered  { color: #62caff; }
.meta_section .post_ratings_container.inactive .stars i          { color: #00BFFF; }

body.home #content, body.main #content, body.admin #content { padding-left: 20px; padding-right: 20px; }
#content_wrapper { display: flex; flex-wrap: nowrap; justify-content: flex-start; align-items: stretch; }
@media all and (max-width: 480px) {
    #content_wrapper { display: block; }
    body.home #content, body.main #content, body.admin #content { padding: 5px 5px 0 5px; }
}

body.admin #content_wrapper { display: block; }
body.popup #content_wrapper { display: block; }

#right_sidebar .widget[data-type="search"] .content              { padding: 0 !important; }
#right_sidebar .widget[data-type="search"] .sidebar_search       { padding: 0 !important; }

#right_sidebar .widget[data-type="login"] .content {
    color: white; background-color: #22266D; border-radius: 4px; padding: 10px;
}

#right_sidebar .widget[data-type="login"] .content a,
#right_sidebar .widget[data-type="login"] .content .pseudo_link { color: var(--ref-color2); }

.ellipsified { display: inline-block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

#content.no_left_sidebar.no_right_sidebar { width: calc(100% - 4px); }
/*.disabled { pointer-events: none; }*/

.products_grid .product_box { color: black; }

#loggedin_icon { text-shadow: none; }

.category_banner .description                            { font-size: 1.2em; line-height: normal; margin-top: 0; }
.category_banner[style*="background-image"]              { padding: 50px 10px; }
.category_banner[style*="background-image"] .description { font-size: 1.5em; }

/* Segment: home post indexes */

#home_index_wrapper {
    margin-top: 50px;
}

#home_index_wrapper #posts_pagination {
    display: none;
}

#featured_posts_column {
    column-count: 1;
    display: block; white-space: nowrap;
    overflow: auto; overflow-y: hidden;
    margin-bottom: 30px;
    border: 2px solid var(--ref-color2);
    border-radius: 10px; padding: 20px;
}

#featured_posts_column .featured_post {
    display: inline-block; width: 300px; vertical-align: top; white-space: normal;
    padding: 0; margin: 0 20px 0 0;
    background-color: transparent;
}

#featured_posts_column .featured_post:last-child { margin-right: 20px; }

#featured_posts_column .featured_post h3 {
    font-weight: normal;
}

#home_index_wrapper #posts_index {
    column-count: 1;
    display: block; white-space: nowrap;
    overflow: auto; overflow-y: hidden;
    margin-bottom: 30px;
    border: 2px solid var(--ref-color2);
    border-radius: 10px; padding: 20px 20px 0 20px;
}

#home_index_wrapper #posts_index article {
    display: inline-block !important; width: 300px !important;
    vertical-align: top;
    white-space: normal;
    padding: 0; margin: 0 20px 0 0;
    background-color: transparent;
}

#home_index_wrapper #posts_index article:last-child { margin-right: 20px; }

#home_index_wrapper #posts_index article .post_featured_image ,
#home_index_wrapper #posts_index article .content_area        { width: 100%; }
#home_index_wrapper #posts_index article .meta_box            { display: none; }
#home_index_wrapper #posts_index article h1                   { font-size: 18pt; line-height: 20pt; 
                                                                height: 44pt; overflow: hidden; }
#home_index_wrapper #posts_index article .post_contents       { height: 4em; overflow: hidden; }

#featured_posts_column .featured_post .thumbnail              ,
#home_index_wrapper #posts_index article .post_featured_image { margin-bottom: 20px; height: 240px; }

@media all and (max-width: 1280px ) {
    #featured_posts_column .featured_post    ,
    #home_index_wrapper #posts_index article { width: 400px !important }
}

@media all and (max-width: 1024px ) {
    #featured_posts_column .featured_post    ,
    #home_index_wrapper #posts_index article { width: 380px !important }
}

@media all and (max-width: 800px ) {
    #featured_posts_column .featured_post    ,
    #home_index_wrapper #posts_index article { width: 320px !important }
}

@media all and (max-width: 640px ) {
    #featured_posts_column .featured_post    ,
    #home_index_wrapper #posts_index article { width: 300px !important }
}

@media all and (max-width: 480px ) {
    #featured_posts_column .featured_post    ,
    #home_index_wrapper #posts_index article { width: 300px !important }
}

@media all and (max-width: 340px ) {
    #featured_posts_column .featured_post    ,
    #home_index_wrapper #posts_index article { width: 280px !important }
}

@media all and (min-width: 1281px ) {
    #featured_posts_column .featured_post    ,
    #home_index_wrapper #posts_index article { width: 420px !important }
}

.home_scrollable_heading            { display: grid; grid-template-columns: 1fr auto;
                                      gap: 20px; position: relative; }
.home_scrollable_heading .caption   { white-space: nowrap; overflow: hidden;
                                      text-overflow: ellipsis; }
.home_scrollable_heading .icons     { white-space: nowrap; }
.home_scrollable_heading .icons img { height: 1em; }

.home_scrollable_heading .character {
    position: absolute; right: 0; bottom: -32px;
    width: 300px; height: 200px;
    background: transparent top center no-repeat;
    background-size: 300px;
    background-position: top left;
    z-index: -1; pointer-events: none;
}

@media all and (max-width: 480px) {
    .home_scrollable_heading .character { display: none; }
}

@media all and (min-width: 481px) {
    .home_scrollable_heading { margin-top: 80px; }
}

#featured_posts_column, #home_index_wrapper #posts_index     { margin-left: 20px; margin-right: 20px; }
.home_scrollable_heading                                     { margin-left: 20px; margin-right: 20px; }

@media all and (max-width:  640px) {
    #featured_posts_column, #home_index_wrapper #posts_index { margin-left: 10px; margin-right: 10px; }
    .home_scrollable_heading                                 { margin-left: 10px; margin-right: 10px; }
}
@media all and (max-width:  480px) {
    #featured_posts_column, #home_index_wrapper #posts_index { margin-left: 5px; margin-right: 5px; }
    .home_scrollable_heading                                 { margin-left: 5px; margin-right: 5px; }
}

/* Home presets */

body.home #content { padding-left: 0; padding-right: 0; padding-top: 0; }
.home_segment      { position: relative; }
.segment_background { position: absolute; top: 0; left: 0; right: 0; bottom: 0;
                      background: transparent center center no-repeat;
                      background-size: cover; pointer-events: none;
                      mix-blend-mode: overlay; filter: blur(5px); }

/* Home and header imagery */

body.home #header { background-image:    url('transparent-50-black-pixel.png'),
                                         url('default_home_bg.jpg');
                    background-position: top left, center center;
                    background-size:     100% 100%, cover;
                    background-repeat:   no-repeat, no-repeat; }

body.main #header, body.admin #header { background-image:    url('transparent-50-black-pixel.png'),
                                                             url('default_header_bg.jpg');
                                        background-position: top left, center center;
                                        background-size:     100% 100%, cover;
                                        background-repeat:   no-repeat, no-repeat; }

body.main #header h1 { font-size: 3em; color: white; text-align: center; margin: 0; padding: 40px 0; }

.pcxtpl_random_character     { display: inline-block; width: 100%; aspect-ratio: 1/1;
                               position: relative; overflow: hidden; }
.pcxtpl_random_character img { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
                               width: 130%; }

.glowing_dot { display: inline-block; width: 100px; height: 100px;
               background: url('glowing_dot.svg') center center no-repeat;
               background-size: contain; }

/* Segment: shop  */

.products_scroller_container { background-color: var(--ref-color3); }

#product_info .main_section .product_media .media_box { background-color: var(--ref-color3); }

.bardcommerce_scroller h2 { font-size: 20pt; line-height: 22pt; margin-bottom: 10px; }
