/* =============================================================================== *
 * Copyright 2005 - 2024 by Glitter-Graphics.com                                   *
 * =============================================================================== */

body
{
    background-attachment: fixed;

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

    color: #454f8a;
    margin: 0;
    /* font-size: 12px; */
}

#page
{
    position: relative;
    width: 870px;
    margin: 25px auto 25px auto;
}

#page.admin_mode
{
    width: max-content;
}

#page_side
{
    position: relative;
    float: left;
    width: 160px;
    margin-right: 18px;
    padding-top: 25px;
    /* font-size: 12px; */
}

#page_side .decorated_box
{
    margin-bottom: 13px;
    box-shadow: 0 0 5px #ccc;
    box-shadow: 0 0 10px rgba(0,0,0,0.3);
}

#page_main
{
    position: relative;
    float: left;
    width: 690px;
    background: white;
    padding: 15px 20px 15px 20px;
    box-shadow: 0 0 10px rgba(0,0,0,0.3);
    border-radius: 18px;
    box-sizing: border-box;
}

#page.admin_mode #page_main
{
    width: 1200px;
}

#page_header
{
    margin-bottom: 15px;
    text-align: center;
    /* font-size: 12px; */
}

#page_header img
{
    margin-bottom: 3px;
}

.decorated_box
{
    position: relative;
    background: url(/images/box/head/left.gif) left top no-repeat,
                url(/images/box/head/center.gif) top repeat-x,

                /*
                url(/images/box/head/right.gif) right -1px top no-repeat,
                url(/images/box2/bottom_left.gif) left bottom -1px no-repeat,
                url(/images/box2/bottom_right.gif) right -1px bottom -1px no-repeat,
                url(/images/box2/bottom_center.gif) left bottom -1px repeat-x,
                url(/images/box2/left_center.gif) left repeat-y,
                url(/images/box2/right_center.gif) right -1px top repeat-y,
                */
                white;

    padding: 30px 2px 15px 10px;

    border-radius: 8px 5px 5px 5px;
    box-sizing: border-box;
}

.decorated_box h1,
.decorated_box h2
{
    position: absolute;
    left: 30px;
    top: 5px;
    margin: 0;
    font-size: 12px;
    color: #597d92;
}

.decorated_inbox
{
    position: relative;
    background: url(/images/box/head/left.gif) left top no-repeat,
                url(/images/box/head/right_blue.gif) right -1px top no-repeat,
                url(/images/box/head/center.gif) top repeat-x,

                /*
                url(/images/box2/bottom_left.gif) left bottom -1px no-repeat,
                url(/images/box2/bottom_right.gif) right -1px bottom -1px no-repeat,
                url(/images/box2/bottom_center.gif) left bottom -1px repeat-x,
                url(/images/box2/left_center.gif) left repeat-y,
                url(/images/box2/right_center.gif) right -1px top repeat-y,
                */
                #e8eef3;

    padding: 34px 10px 10px 10px;
    border: 1px solid #ccd;
    border-radius: 8px 8px 8px 8px;
    box-shadow: 0 2px 5px #ccc;

    box-sizing: border-box;
}

.decorated_inbox h1,
.decorated_inbox h2
{
    position: absolute;
    left: 30px;
    top: 5px;
    margin: 0;
    font-size: 12px;
    color: #597d92;
}

.decorated_simple
{
    position: relative;
    padding: 10px;
    border: 1px solid #ccd;
    border-radius: 8px;
    background: #e8eef3;
    box-shadow: 0 2px 5px #ccc;
    box-sizing: border-box;
}

.clear
{
	clear: both;
}

a
{
    text-decoration: none;
    color: #424d89;
}

a:hover
{
    text-decoration: underline;
    color: #424d89;
}

.cats_l_a
{
    color: #103060;
    text-decoration: none;
}   

.cats_l_a:hover
{
    color: #103060;
    text-decoration: underline;
}
    
.cats_a
{
    color: #537eaf;
    text-decoration: none;
}   

.cats_a:hover
{
    color: #537eaf;
    text-decoration: underline;
}

.cat_a
{   
    color: #537eaf;
    text-decoration: none;
}

.cat_a
{
    color: #537eaf;
    text-decoration: none;
}

h1
{
    font-family: Arial, Helvetica, sans-serif;
    font-size: 20px;
    margin: 3px;
}

.avatar
{
    max-width: 150px;
    box-shadow: 0 2px 5px #ccc;
    border-radius: 20px;
    border: 2px solid white;
}

.flex_centered_container
{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.desktop_only
{
    visibility: visible;
}

.mobile_only
{
    visibility: hidden;
    display: none;
}

.share-button
{
    display: block;
    border-radius: 10px;
    width: max-content;
    background: linear-gradient(#8eb, #6b6 5px, #393);
    box-shadow: 0 0 5px rgba(0,0,0,0.6);
    border: 1px solid #693;
    font-size: 1.3em;
    text-shadow: 0 0 2px rgba(0,0,0,0.3);
    color: white;
    padding: 5px 12px;
    transition: transform 0.5s;
    margin-bottom: 14px;

}

glig-switch.marked
{
}

glig-switch:not([checked]).marked::part(thumb)
{
    background-color: red;
    background-image: url(/images/ui/mark/no.svg);
    background-size: cover;
}

glig-switch[checked].marked::part(thumb)
{
    background-color: white;
    background-image: url(/images/ui/mark/yes.svg);
    background-size: cover;
}

glig-switch.fancy
{
    width: 72px;
    height: 40px;
    padding: 6px;
    background: #d0d0d0;
    box-shadow: none;
}

glig-switch.fancy::part(area)
{
}

glig-switch.fancy::part(track)
{
    margin: auto;
    box-sizing: border-box;
    border-radius: 100px;
    width: 90%;
    height: 80%;
    /* background: #c0c0c0; */
    transition: background 0.6s;
    box-shadow: inset 0 1px 4px rgba(0,0,0,0.3);
    border-bottom: 1px solid rgba(255,255,255,0.5);
}

glig-switch.fancy::part(thumb)
{
    background: linear-gradient(#fff, #ccc 150%);
    box-shadow: 0 0 5px rgba(0,0,0,0.3);
}

glig-test2::part(panel2)
{
    border: 10px solid red;
}

glig-test::part(tabs active)
{
    border: 10px solid red;
}

glig-tabbed-panel
{
    /* height: 400px; */
}

glig-tabbed-panel glig-tablist > *.active
{
}

glig-tabbed-panel glig-panel
{
    /* border: 3px solid blue; */
}
