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

/* Base style overrides */

h1 { color: var(--ref-color1); }
h2 { color: var(--ref-color1); }
h3 { color: var(--ref-color1); }

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

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

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

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

.framed_content[class*="state_"] a:link,            .framed_content[class*="state_"] .pseudo_link                            { color: var(--ref-color3); }
.framed_content[class*="state_"] a:visited,         .framed_content[class*="state_"] .pseudo_link:visited                    { color: var(--ref-color3); }

.framed_content[class*="state_"] a:active            ,
.framed_content[class*="state_"] a:hover             ,
.framed_content[class*="state_"] .pseudo_link:active ,
.framed_content[class*="state_"] .pseudo_link:hover  { color: var(--ref-color3-lighter); }

#header { color: var(--ref-color0); background: transparent center center no-repeat;
          background-size: cover; }
#footer { color: var(--ref-color0); background-color: transparent; }
#header a, #header .pseudo_link { color: var(--ref-color-hlinks); }
#footer a, #footer .pseudo_link { color: var(--ref-color-hlinks); }
#footer a:hover, #footer .pseudo_link:hover { color: white; }
#footer a:active, #footer .pseudo_link:active { color: white; }

#header #menu_holder          { display: flex; flex-wrap: nowrap; align-items: stretch; align-content: stretch;
                                border: 1px solid var(--ref-color-dark-gray); border-radius: 10px;
                                background: rgba(0, 0, 0, 0.5); backdrop-filter: blur(4px);
                                position: fixed; top: 10px; left: 10px; right: 10px;
                                z-index: 99; }
#header .menu                 { position: relative; padding: 0; flex-grow: 1; }
#header .menu > *             { vertical-align: top; }

#header .menu .main_menu_item.visible:not(#main_menu_trigger) { text-align: left; }
#menu_holder .menu.expanded { backdrop-filter: blur(8px); }
#menu_holder .menu.expanded .main_menu_item:hover { background-color: rgba(255,255,255,0.25); }

body.admin #header #menu_holder { position: relative; top: 0; left: 0; right: 0;
                                  border: none; border-radius: 0; }

#header .main_menu_item                           { color: var(--ref-color-hlinks); text-transform: uppercase; margin: 5px; padding: 2px 5px; }
#header .main_menu_item:link                      { color: var(--ref-color-hlinks); }
#header .main_menu_item:hover                     { color: white;                     background-color: transparent; }
#header .main_menu_item.current                   { color: var(--ref-color4-border);  background-color: transparent; }
#header .main_menu_item.current:hover             { color: var(--ref-color2-lighter); background-color: transparent; }

#header .main_menu_item.highlighted               { color: var(--ref-color4);         background-color: transparent; }
#header .main_menu_item.highlighted:link          { color: var(--ref-color4);         background-color: transparent; }
#header .main_menu_item.highlighted:hover         { color: var(--ref-color2-lighter); background-color: transparent; }
#header .main_menu_item.highlighted.current       { color: var(--ref-color4-border);  background-color: transparent; }
#header .main_menu_item.highlighted.current:hover { color: var(--ref-color2-lighter); background-color: transparent; }

#header .main_menu_item.alerted                   { color: #ff8c5f; background-color: transparent; }
#header .main_menu_item.alerted:link              { color: #ff8c5f; background-color: transparent; }
#header .main_menu_item.alerted:hover             { color: yellow;  background-color: transparent; }
#header .main_menu_item.alerted.current           { color: #ff8c5f; background-color: transparent; }
#header .main_menu_item.alerted.current:hover     { color: yellow;  background-color: transparent; }

#header .main_menu_item.alerted       .fa.fa-border { border-color: #ff8c5f; }
#header .main_menu_item.alerted:hover .fa.fa-border { border-color: yellow;    }

#header .main_menu_item.submenu_visible              { color: white; background-color: transparent; }
#header .main_menu_item.submenu_visible:hover        { color: white; background-color: transparent; }

#main_menu_trigger.open                              { color: white; background-color: transparent; }

#header .menu                                  { text-align: center; }
#header .menu .main_menu_item:not(.pull-right) { float: left; }
#main_menu_trigger                             { float: right !important; }
#header_menu_logo                              { width: 60px; background: url('aoc_logo_flared.png') center center no-repeat;
                                                 background-size: contain; float: none !important; }
#header_menu_logo.visible                      { display: none !important; }
#home_menu_button                              { display: none !important; }
#home_menu_button.visible                      { display: block !important; float: none !important; }

.dropdown_menu                                           { color: var(--ref-color0);         background-color: #232126;     }
.dropdown_menu .main_menu_item                           { color: var(--ref-color0);         background-color: transparent; }
.dropdown_menu .main_menu_item:link                      ,
.dropdown_menu .main_menu_item:visited                   { color: var(--ref-color0);         background-color: transparent; }
.dropdown_menu .main_menu_item:hover                     { color: white;                     background-color: transparent; }
.dropdown_menu .main_menu_item.current                   { color: var(--ref-color4-border);  background-color: transparent; }
.dropdown_menu .main_menu_item.current:hover             { color: var(--ref-color2-lighter); background-color: transparent; }

.dropdown_menu .main_menu_item.highlighted               { color: var(--ref-color4);         background-color: transparent; }
.dropdown_menu .main_menu_item.highlighted:link          ,
.dropdown_menu .main_menu_item.highlighted:visited       { color: var(--ref-color4);         background-color: transparent; }
.dropdown_menu .main_menu_item.highlighted:hover         { color: var(--ref-color2-lighter); background-color: transparent; }
.dropdown_menu .main_menu_item.highlighted.current       { color: var(--ref-color4-border);  background-color: transparent; }
.dropdown_menu .main_menu_item.highlighted.current:hover { color: var(--ref-color2-lighter); background-color: transparent; }

.dropdown_menu                             { border: 1px solid var(--ref-color-dark-gray); border-radius: 8px;
                                             font-family: var(--body-font); font-size: 0.9em;
                                             line-height: normal; text-transform: uppercase; }
.dropdown_menu hr                          { border-color: var(--ref-color-dark-gray); margin: 5px 0; }
.dropdown_menu .main_menu_item:first-child { border-top-left-radius:    8px; border-top-right-radius:    8px; }
.dropdown_menu .main_menu_item:last-child  { border-bottom-left-radius: 8px; border-bottom-right-radius: 8px; }
.dropdown_menu .main_menu_item             { line-height: normal; padding: 10px 20px 10px 10px; }

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

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

.framed_content.inlined                   { color: white;   background-color: #171717; }
.framed_content.inlined.state_disabled    { color: #585858; background-color: silver;  }
.framed_content.inlined.state_warning     { color: black;   background-color: #fff1a0; }
.framed_content.inlined.state_ko          { color: black;   background-color: #EDCCC9; }
.framed_content.inlined.state_ok          { color: black;   background-color: #C0FFC0; }
.framed_content.inlined.state_highlight   { color: black;   background-color: #fff1a0; }
.framed_content.inlined.state_active      { color: black;   background-color: #BBDDFF; }
.framed_content.inlined.state_hover       { color: white;   background-color: #42A0FF; }

.framed_content.inlined:hover                   { color: white; background-color: #373737; }
.framed_content.inlined.state_warning:hover     { color: black; background-color: #ffec54; }
.framed_content.inlined.state_ko:hover          { color: black; background-color: #edb7b5; }
.framed_content.inlined.state_ok:hover          { color: black; background-color: #8eff8a; }
.framed_content.inlined.state_highlight:hover   { color: black; background-color: #fff172; }
.framed_content.inlined.state_active:hover      { color: white; background-color: #42A0FF; }

body.admin h1 a.framed_content, body.admin h1 .pseudo_link.framed_content { color: var(--ref-color2); text-decoration: none; }
body.admin h2 a.framed_content, body.admin h2 .pseudo_link.framed_content { color: var(--ref-color2); text-decoration: none; }
body.admin h3 a.framed_content, body.admin h3 .pseudo_link.framed_content { color: var(--ref-color2); text-decoration: none; }

section > h1 { color: var(--ref-color5); background-color: var(--ref-color1); border: 2px solid var(--ref-color1); }
section > h2 { color: var(--ref-color5); background-color: var(--ref-color1); border: 2px solid var(--ref-color1); }
section > h3 { color: var(--ref-color5); background-color: var(--ref-color1); border: 2px solid var(--ref-color1); }

section > h1 a, section > h1 .pseudo_link, section > h1 .pseudo_link:hover { color: var(--ref-color3); }
section > h2 a, section > h2 .pseudo_link, section > h2 .pseudo_link:hover { color: var(--ref-color3); }
section > h3 a, section > h3 .pseudo_link, section > h3 .pseudo_link:hover { color: var(--ref-color3); }

.table_wrapper.scrolling { border-left: 2px dotted var(--ref-color1); border-right: 2px dotted var(--ref-color1); }

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

/* Base admin overrides */

#admin_menu { color: white; background-color: rebeccapurple; }

#admin_menu .admin_bar_title { color: white; }

#admin_menu .item       { color: rgba(255, 255, 255, 0.75); }
#admin_menu .item:hover { color: white; background-color: mediumpurple; }

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

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

body.admin h1 { color: white; background-color: #2F2F2F; border-color: #2F2F2F; }
body.admin h2 { color: white; background-color: #2F2F2F; border-color: #2F2F2F; }
body.admin h3 { color: white; background-color: #2F2F2F; border-color: #2F2F2F; }

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

body:not(.admin) #admin_menu { margin-left: 10px; margin-right: 10px; border-radius: 8px;
                               padding-left: 8px; padding-right: 8px; }

/* Buttons */

.buttonized, a.buttonized                         { display: inline-block; padding: 10px 20px; margin: 10px; font-size: 0.8rem;
                                                    border: 1px solid; border-radius: 70px; text-decoration: none; }
.buttonized, a.buttonized                         { color: var(--ref-color3); background-color: var(--ref-color4);         border-color: var(--ref-color4-border); }
.buttonized.inverted, a.buttonized.inverted       { color: var(--ref-color4); background-color: var(--ref-color3);         border-color: var(--ref-color4);        }
.buttonized.highlighted, a.buttonized.highlighted { color: var(--ref-color3); background-color: var(--ref-color2-lighter); border-color: var(--ref-color4); }
.buttonized:hover, a.buttonized:hover             ,
.pseudo_link.buttonized:hover                     { color: var(--ref-color3); background-color: var(--ref-color2-lighter); border-color: var(--ref-color2-lighter); }

button, input[type="button"], input[type="reset"] {
    font-size: 0.8rem; font-weight: bold; border-radius: 70px;
    color: var(--ref-color3); background-color: var(--ref-color4); border: 1px solid var(--ref-color4-border);
}

button:hover, input[type="button"]:hover, input[type="reset"]:hover {
    color: var(--ref-color3) !important; background-color: var(--ref-color2-lighter); border: 1px solid var(--ref-color4-border);
}

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 */

.meta_section .post_ratings_container          .stars i          { color: var(--ref-color4); text-shadow: none; }
.meta_section .post_ratings_container          .stars i.hovered  { color: var(--ref-color2-lighter); }
.meta_section .post_ratings_container.inactive .stars i          { color: var(--ref-color4-border); }

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.home #content { padding-left: 0; padding-right: 0; }

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: transparent; 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-color4) }

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

#content.no_left_sidebar.no_right_sidebar { width: 100%; }
/*.disabled { pointer-events: none; }*/


/* Record browsers */

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

/* Record browsers overrides */

.nav_table tr, .details_table tr { background-color: white; }
.nav_table td { color: black; }
body.main table td, .details_table td { color: black; }

.nav_table tr td a:not(.framed_content, .prettyPhoto) ,
.nav_table tr td .pseudo_link:not(.framed_content, .prettyPhoto) {
    filter: brightness(0.5);
}

.nav_table tr td .pseudo_link code ,
.nav_table tr td .pseudo_link code a ,
.nav_table tr td code.pseudo_link  ,
.nav_table tr td code .pseudo_link { background-color: white; }

.nav_table td code.pseudo_link  ,
.nav_table td code a            ,
.nav_table td code .pseudo_link {
    filter: brightness(1);
}

.nav_table tr td .pseudo_link code ,
.nav_table tr td .pseudo_link code a ,
.nav_table tr td code.pseudo_link  ,
.nav_table tr td code .pseudo_link { color: black; }

.details_table tr td a:not(.framed_content, .prettyPhoto) ,
.details_table tr td .pseudo_link:not(.framed_content, .prettyPhoto) {
    filter: brightness(0.5);
}

.details_table tr td .pseudo_link code ,
.details_table tr td .pseudo_link code a ,
.details_table tr td code.pseudo_link  ,
.details_table tr td code .pseudo_link { background-color: white; }

.details_table td code.pseudo_link  ,
.details_table td code a            ,
.details_table td code .pseudo_link {
    filter: brightness(1);
}

.details_table tr td .pseudo_link code ,
.details_table tr td .pseudo_link code a ,
.details_table tr td code.pseudo_link  ,
.details_table tr td code .pseudo_link { color: black; }

.forumizer table td { color: var(--text-color); }

/* Admin style overrides */

/*
.settings_group tr { background-color: black; }

.settings_group.nav_table.no_highlight tbody tr:hover       { background-color: #2F2F2F; }
.settings_group.nav_table.no_highlight tbody tr.highlighted { background-color: #2F2F2F; }

#modules_listing tr              { background-color: #0d0d0d; }
#modules_listing tr.updatable td { color: black; }
*/

.settings_group td { color: black; }

/* Patches */

.products_grid .product_box { color: white; }

#header .main_menu_item#header_login_button       { color: var(--text-color); background: transparent; border: 1px solid var(--text-color);
                                                    border-radius: 8px; }
#header .main_menu_item#header_login_button .fa   { display: none; }
#header .main_menu_item#header_login_button:hover { color: white; border-color: white; }

#header .main_menu_item[data-module="accounts"][href*="register.php"]       { color: var(--text-color); background: #7722BB; border: 1px solid #7722BB;
                                                                              border-radius: 8px; }
#header .main_menu_item[data-module="accounts"][href*="register.php"] .fa   { display: none; }
#header .main_menu_item[data-module="accounts"][href*="register.php"]:hover { border-color: white; }

#login_form a.standard_register       { color: #ac84ff; }
#login_form a.standard_register:hover { color: #c4a7ff; }

/* Chat patches */

.chat_color_picker,
.chatroom .target .messages .chat-message.incoming .message ,
.chatroom .target .messages .chat-message.outgoing .message {
    color: black;
}

/* Shop patches */

.product_box                    { color: white; background-color: black; box-shadow: 0 0 20px silver; }
.product_box:hover              { background-color: #131313; }
.product_box.featured           { background-color: #291d07; }
.product_box.featured:hover     { background-color: #443107; }

.product_box .thumbnail { background-size: cover; }

.product_box .title        { font-family: 'Trajan Pro 3', 'Times New Roman', serif; font-size: 1.4em; }
.product_box .category     { display: none; }
.product_box .product_meta { color: white; }
.product_box .price        { color: white; font-size: 1.2em; line-height: normal; }

.product_box .actions .action.add_to_wishlist       { color: skyblue; }
.product_box .actions .action.add_to_wishlist:hover { color: lightcyan; background-color: navy; }

.product_box .actions .action.add_to_cart           { color: green; }
.product_box .actions .action.add_to_cart:hover     { color: lightgreen; }

.product_box a:link    { color: var(--ref-color4)         !important; }
.product_box a:visited { color: var(--ref-color4)         !important; }
.product_box a:hover   { color: var(--ref-color2-lighter) !important; }

#product_info .main_section { align-items: center; }

#product_info .title_section .main_category { display: none; }

#product_info .main_section .product_media .media_box             { background: transparent; border: none;
                                                                    width: 100%; height: 100%; max-height: unset;
                                                                    position: relative; overflow: visible; }
#product_info .main_section .product_media .media_item            { position: relative; left: 0; top: 0;
                                                                    -webkit-transform: none;
                                                                    -ms-transform:     none;
                                                                    transform:         none;
                                                                    border-radius: 10px; }
#product_info .main_section .product_media .media_item.horizontal { width:  100%; height: unset; }
#product_info .main_section .product_media .media_item.vertical   { width:  100%; height: unset; }

#product_info .main_section .basic_details                    { text-align: left; }
#product_info .main_section .basic_details .onix_price        ,
#product_info .main_section .basic_details .price             ,
#product_info .main_section .basic_details .add_buttons       ,
#product_info .main_section .basic_details .available         { text-align: left; }
#product_info .main_section .basic_details .short_description { font-size: 1.2em; line-height: normal;
                                                                text-align: left; }

#product_info .main_section .basic_details .onix_price        ,
#product_info .main_section .basic_details .price             { font-size: 1.3em; line-height: normal; }

#product_info .main_section .basic_details .add_buttons button { margin-left: 0; padding: 5px 10px; }

#product_info .full_details_section .long_description { font-size: 1.2em; line-height: normal; }

button.add_to_wishlist  { font-size: 1.2em; }
button.product_giveaway { font-size: 1.2em; }

body[data-page-tag="bardcommerce_orders"] h1 { display: none; }
body[data-page-tag="bardcommerce_orders"] .history_orders .order_details h3 .framed_content.state_ok { display: none; }
body[data-page-tag="bardcommerce_orders"] .order_products .order_product_item img                { height: 6em; }
body[data-page-tag="bardcommerce_orders"] .order_products .order_product_item                    { clear: both; height: 6.1em; }
body[data-page-tag="bardcommerce_orders"] .order_products .order_product_item .line:nth-child(2) { padding-top: 1.6em; }

body[data-page-tag="bardcommerce_orders"] .orders_listing hr      { opacity: 0; }
body[data-page-tag="bardcommerce_orders"] .orders_listing button  { font-size: 1.1em; padding: 4px 8px; margin: 5px; }

body[data-page-tag="bardcommerce_orders"] .invoice_data button { line-height: 24px; }

#header .main_menu_item#fixerio_currency_selector       { color: var(--text-color); background-color: var(--ref-color-dark-gray); border-radius: 4px;
                                                          margin: 10px 4px; padding: 0 6px; font-size: 14px; line-height: 24px; }
#header .main_menu_item#fixerio_currency_selector:hover { color: white; background-color: var(--ref-color-dark-gray); }

#header .menu .bardcommerce_menu_entry            { margin: 10px 4px; padding: 0 6px; font-size: 14px; line-height: 24px; }
#header .menu .bardcommerce_menu_entry .fa-border { border-radius: 4px; }
#header .menu .bardcommerce_menu_entry .fa-lg     { font-size: 12px; line-height: 12px; vertical-align: 0; }
#header .menu .bardcommerce_menu_entry .fa        { color: var(--ref-color2-lighter); }
#header .menu .bardcommerce_menu_entry .wlegend   { font-size: 12px; line-height: 16px; vertical-align: top;
                                                    margin-top: 1px; padding-left: 4px; padding-right: 4px; }

/* Collection browser */

.cards_browser { text-align: center; }

.card_entry .meta .created       { display: none; }
.card_entry .meta .nodes         { display: none; }
.card_entry .meta .life          { display: none; }
.card_entry .meta .attack_power  { display: none; }
.card_entry .meta .minting_drone { display: none; }

.card_entry            { color: white; background: transparent; padding: 0; }
.card_entry.incomplete { color: #FDEDF0 !important; background-color: transparent !important; }
.card_entry.published  { color: #E3FCE3 !important; background-color: transparent !important; }
.card_entry.alerted    { color: #fdf786 !important; background-color: transparent !important; }
.card_entry.hidden     { color: #EDEDED !important; background-color: transparent !important; }
.card_entry.purchased  { color: #E7F5FE !important; background-color: transparent !important; }
.card_entry .meta      { height: 2.9em !important; }
.card_entry .actions   { text-align: left !important; }

.card_entry .featured_image { margin: 0 !important; padding: 0 !important; }

/* Collection item view */

body[data-page-tag="aoc_collection_item"] .card_attacks ,
body[data-page-tag="aoc_collection_item"] .card_skills  { display: none; }

body[data-page-tag="aoc_collection_item"] h1               ,
body[data-page-tag="aoc_collection_item"] .card_main       ,
body[data-page-tag="aoc_collection_item"] .card_attacks    ,
body[data-page-tag="aoc_collection_item"] .card_skills     ,
body[data-page-tag="aoc_collection_item"] .nft_specs       ,
body[data-page-tag="aoc_collection_item"] #validation_info ,
body[data-page-tag="aoc_collection_item"] .owner_info      { max-width: 1200px; margin-left: auto; margin-right: auto; }

body[data-page-tag="aoc_collection_item"] #validation_info { max-width: 800px; margin-top: 40px; margin-bottom: 40px; }

@media all and (max-width: 480px) {
    body[data-page-tag="aoc_collection_item"] #validation_info { margin-left: 20px; margin-right: 20px; }
}

body[data-page-tag="aoc_collection_item"] .sharethis-inline-share-buttons {
    max-width: 1200px;
    margin: 40px auto 20px;
}

/* User home */

body[data-page-tag="user_home"] #account_data_form .cell , #register_form .cell {
    border-radius: 10px; margin: 10px;
    background-color: #2b2b2b;
}

body[data-page-tag="user_home"] #account_data_form .cell .field_input, #register_form .cell .field_input {
    margin-left: 0;
}

/* Footer extender */

.aoc_footer { display: grid; grid-template-columns: 1fr 2fr; gap: 40px; margin: 0 20px; }

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

#footer a.buttonized:link { color: var(--ref-color3); }

/* Left */

.aoc_footer .left .logo img { width: 100%; max-width: 345px; }

#footer .aoc_footer .left .follow_us .media_icons a         { display: inline-block; margin: 10px; }
#footer .aoc_footer .left .follow_us .media_icons a:link    ,
#footer .aoc_footer .left .follow_us .media_icons a:visited { color: var(--ref-color4); }
#footer .aoc_footer .left .follow_us .media_icons a:hover   { color: white; }

.aoc_footer .group_title { font-family: var(--headings-font); font-size: 1.5em; margin: 1em 0; }

/* Right */

.aoc_footer .right .banner          { background: url('footer_banner_bg.png') top left no-repeat;
                                      background-size: cover; padding: 20px; border-radius: 20px; }
.aoc_footer .right .banner .title   { font-family: var(--headings-font); color: var(--ref-color1);
                                      font-size: 2.2em; margin: 0 0 0.5em 0; }
.aoc_footer .right .banner .content { font-family: var(--body-font); color: var(--ref-color1);
                                      margin: 1em 0; }

#footer a.discord_link                          { color: var(--ref-color3) !important; font-size: 1em; height: 48px; }
.aoc_footer .discord_link                       { padding-left: 0; padding-top: 12px; margin-left: 0;
                                                  filter: drop-shadow(0 0 26px var(--ref-color1)); }
.aoc_footer .discord_link .fa-brands.fa-discord { color: white; background: black; border-radius: 100px;
                                                  font-size: 16px; height: 32px; line-height: 24px;
                                                  vertical-align: top; padding: 5px; width: 32px; text-align: center;
                                                  margin-left: 8px; margin-top: -5px; margin-right: 10px; }

.aoc_footer .links                         { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 20px; margin-top: 20px; }
.aoc_footer .links .group .group_title     { font-family: var(--body-font); font-size: 1em;
                                             color: var(--ref-color-dark-gray); border-bottom: 1px solid var(--ref-color-dark-gray);
                                             margin: 0 0 5px 0; padding: 0 0 5px 0; }
.aoc_footer .links .group .group_content a { display: inline-block; width: 100%; margin: 5px 0;
                                             white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

body[data-is-known-user="true"]  .aoc_footer .links a[href*="/register.php"]     { display: none; }

body[data-is-known-user="false"] .aoc_footer .links a[href*="/shop/orders"]      ,
body[data-is-known-user="false"] .aoc_footer .links a[href*="/user/"]            ,
body[data-is-known-user="false"] .aoc_footer .links a[href*="/edit_account.php"] ,
body[data-is-known-user="false"] .aoc_footer .links a[href*="/preferences.php"]  ,
body[data-is-known-user="false"] .aoc_footer .links a[href*="/devices.php"]      { display: none; }

/* Bottom */

.aoc_footer .bottom { grid-column: 1 / span 2; display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
                      color: var(--text-color); font-size: 0.9em; }

#footer .aoc_footer .bottom a:link    ,
#footer .aoc_footer .bottom a:visited { color: var(--text-color); }
#footer .aoc_footer .bottom a:hover   { color: white; }

.aoc_footer .bottom .left  { text-align: left; }
.aoc_footer .bottom .right { text-align: right; }
.aoc_footer .bottom .right a { display: inline-block; margin: 10px; }

@media all and (max-width: 480px)
{
    .aoc_footer        { display: block; }
    .aoc_footer .left  { margin-bottom: 20px; }
    .aoc_footer .right { margin-bottom: 20px; }
    .aoc_footer .links { grid-template-columns: 1fr 1fr; }
}

/* Footer end */
