
html
{
/*    filter: progid:DXImageTransform.Microsoft.BasicImage(grayscale=1);*/
    height: 100%;
}

canvas
{
    -ms-touch-action: double-tap-zoom;
}

body
{
    font-size: 1.0em;
    font-family: calibri, "times new roman", arial;
    border-collapse: collapse;
    background-color: #F7FAFF;
    background-image: url(gradient.png);
    background-repeat: repeat-x;
    color: #000000;
    text-align: center;
    padding-left: 0;
    padding-right: 0;
    padding-top: 0;
    padding-bottom: 0;
    margin: 0;
   -ms-hyphens: auto;
    hyphens: auto;
    width: 1180px;
}

body.chat
{
    font-family: calibri, "times new roman", arial;
    border-collapse: collapse;
    background-color: #FFFFFF;
    text-align: center;
    padding-left: 0;
    padding-right: 0;
    padding-top: 0;
    padding-bottom: 0;
    margin: 0;
}

h1
{
    font-size: 1.4em;
    text-align: center;
    color: #305B28;
    letter-spacing: 0.1em;
}

h2
{
    font-size: 1.2em;
    text-align: center;
    color: #000000;
    letter-spacing: 0.1em;
}

#google_search
{
    text-align: center;
}

#google_search table
{
    border-width: 2px 2px 2px 2px;
}

#google_search td
{
    border-width: 0px 0px 0px 0px;
}

table
{
    border-color: #667AFF;
    border-width: 1px 1px 1px 1px;
    border-style: solid solid solid solid;
    border-collapse: collapse;
}

td
{
    border-color: #667AFF;
    border-width: 2px 2px 2px 2px;
    border-style: solid solid solid solid;
}

p
{
    text-align: justify;
}

a
{
    text-decoration: none;
    color: #1C2880;
   -ms-hyphens: none;
    hyphens: none;
}

a:visited
{
    text-decoration: none;
    color: #162166;
}

a:active
{
    text-decoration: none;
    color: #37682E;
}

a:hover
{
    text-decoration: none;
    color: #48893B;
}

a:visited img
{
    border-color: #162166;
} 

a:hover img, a:focus img
{
    border-color: #48893B;
} 

input, textarea, select
{
    border-color: #667AFF;
    border-style: solid;
    border-width: 1px;
    vertical-align: top;
}

input:hover, input:focus, textarea:hover, textarea:focus, select:hover, select:focus
{
    border-color: #48893B;
    border-style: solid;
    border-width: 1px;
    vertical-align: top;
}

iframe.chat
{
    border-width: 0px;
    width: 660px;
    height: 700px;
    vertical-align: top;
}

pre
{
    line-height: 50%
}

hr
{
    color: #667AFF;
    background-color: #667AFF;
    border: 0px;
    height: 1px;
}

img
{
    border-width: 1px;
    border-color: #667AFF;
}

img.news
{
    vertical-align: bottom;
    width: 16px;
    height: 16px;
    padding-top: 0px;
    padding-right: 3px;
    padding-left: 2px;
    padding-bottom: 3px;
}

img.logo
{
    border-width: 0px;
    width: 88px;
    height: 31px;
}

img.borderless
{
    border-width: 0px;
}

img.article
{
    border-width: 1px;
    float: left;
    margin: 0px 8px 2px 0px;
}

img.full
{
    border-width: 1px;
    margin: 20px 9px 20px 9px;
}

img.gadget_image
{
    width: 15px;
    height: 10px;
}

img.member_state
{
    vertical-align: middle;
    width: 18px;
    height: 18px;
    border-width: 0px;
}

img.member_icq
{
    vertical-align: top;
    width: 18px;
    height: 18px;
}

img.icon
{
    vertical-align: top;
    width: 18px;
    height: 16px;
}

img.dot
{
    background-color: #FF0000;
    vertical-align: top;
    width: 2px;
    height: 2px;
}

#favorites
{
    position: absolute;
    top: 0;
    left: 0;
    text-align: center;
    background-color: #667AFF;
    font-size: 0.8em;
    font-weight: bold;
    color: #FFFFFF;
    width: 100%;
    height: 16px;
    border-bottom: 1px #F7FAFF solid;
    z-index: 3;
    /*#position: absolute;
    #top: expression(((ignore=document.documentElement.scrollTop?document.documentElement.scrollTop:document.body.scrollTop))+'px');
*/}

#favorites a, #favorites a:visited
{
    color: #162166;
}

#favorites a:hover, #favorites a:focus
{
    color: #48893B;
}

#main
{
    width: 1000px;
    height: 100%;
    padding-bottom: 6px;
    padding-top: 6px;
    margin-left: 100px;
    margin-right: auto;
}

#main a
{
    font-weight: bold;
}

#maintop
{
    /*height: 70px;*/
}

#mainpath
{
    padding: 0px 2px 1px 2px;
    margin-bottom: 0px;
    height: 14px;
    text-align: left;
    white-space: nowrap;
    font-weight: bold;
    font-size: 0.8em;
    overflow: hidden;
    background-color: #FFFFFF;
    border-top: 1px #667AFF solid;
    border-bottom: 1px #667AFF solid;
/*    padding: 0px 3px 1px 3px;
}

#mainpath:hover
{
    padding: 0px 2px 1px 2px;
    border: 1px #667AFF solid;*/
}

#mainbanner
{
    background-color: #162166;
    /*height: 100px;*/
    overflow: hidden;
}

#mainmenu
{
    background-color: #162166;
    width: 1000px;
    padding-left: 0px;
    padding-right: 0px;
    padding-top: 0px;
    padding-bottom: 0px;
    font-size: 1.0em;
    color: #F7FAFF;
    text-align: center;
    vertical-align: bottom;
    text-transform: uppercase;
    white-space: nowrap;
    overflow: hidden;
}

#mainmenu a
{        
    color: #FFFFFF;
    padding: 0px 36px 0px 36px;
    background-color: #162166;
}

#mainmenu a:hover, #mainmenu a:focus
{
    color: #162166;
    background-color: #FFFFFF;
}

#maintitle
{
    padding-left: 2px;
    padding-right: 2px;
    color: #000000;
    font-size: 0.8em;
}

#maintitleleft
{
    float:left;
    font-weight:bold;
    white-space: nowrap;
}

#maintitleright
{
    text-align: right;
    white-space: nowrap;
}

#mainmiddle
{
    background-color: #FFFFFF;
    padding-left: 16px;
    padding-right: 16px;
}

#mainbottom
{
    background-color: #FFFFFF;
    border-bottom: 1px #667AFF solid;
    height: 8px;
}

#mainbodyleft
{
    width: 148px;
    float: left;
    overflow: hidden;
}

#mainbodycenter
{
    text-align: left;
    width: 660px;
    overflow: hidden;
/* Firefox is not compatible with margin auto inside two floated divs !*/
    margin-left: auto;
    margin-right: auto;     
/**/
}

#mainbodyright
{
    width: 148px;
    float: right;
    overflow: hidden;
}

#chatbody
{
    text-align: left;
    width: 660px;
    overflow: hidden;
    margin-left: auto;
    margin-right: auto;
}

#chatbody a
{
    font-weight: bold;
}

#adheader
{
    text-align: left;
    width: 728px;
    height: 102px;
    padding-right: 24px;
    padding-left: 24px;
    padding-top: 12px;
    margin-top: 16px;
    margin-left: auto;
    margin-right: auto;
    background-color: #F6F6F6;
    border: 1px #667AFF solid;
}

#adfooter
{
    text-align: left;
    width: 728px;
    height: 102px;
    padding-right: 24px;
    padding-left: 24px;
    padding-top: 12px;
    margin-left: auto;
    margin-right: auto;
    overflow: hidden;
    background-color: #F7FAFF;
    /* border: 1px #667AFF solid; */
}

.menutoptitle
{
    height: 16px;
    margin-top: 10px;
    margin-right: 12px;
    padding: 2px 0px 0px 8px;
    font-weight: bold;
    font-size: 0.8em;
    text-transform: uppercase;
    white-space: nowrap;
    background-color: #FFFFFF;
    /*border-top: 1px #667AFF solid;*/
}

.menutop
{
    height: 3px;
}

.menumiddle
{
    text-align: center;
    white-space: nowrap;
    padding: 2px 3px 3px 3px;
    margin-right: 12px;
    background-color: #FFFFFF;
    border-top: 1px #667AFF solid;
    border-radius: 0px 0px 5px 5px;
}

.menumiddle:hover
{
    padding: 2px 2px 2px 2px;
    border: 1px #667AFF solid;
    border-radius: 5px 5px 5px 5px;
}

.menumiddleitems
{
    text-align: left;
    font-size: 0.8em;
}

.menumiddleitems img
{
    vertical-align: middle;
    padding-right: 4px;
    width: 16px;
    height: 16px;
}

.menumiddleitems a
{
    font-weight: bold;
}

.menubottom
{
    height: 3px;
}

.gadgettop
{
    height: 3px;
}

.gadgetmiddle
{
    text-align: center;
    padding: 4px 3px 5px 3px;
    margin-left: 12px;
    background-color: #FFFFFF;
    border-top: 1px #667AFF solid;
    border-radius: 0px 0px 5px 5px;
}

.gadgetmiddle:hover
{
    padding: 4px 2px 4px 2px;
    border: 1px #667AFF solid;
    border-radius: 5px 5px 5px 5px;
}

.gadgetbottom
{
    height: 3px;
}

.topboxmiddle
{
    text-align: center;
    padding: 5px 3px 4px 3px;
    background-color: #FFFFFF;
    border-bottom: 1px #667AFF solid;
}

.topboxmiddle:hover
{
    padding: 4px 2px 4px 2px;
    border: 1px #667AFF solid;
}

.cleaner
{
    clear: both;
    margin: 0;
    padding: 0;
    height: 0;
}

.text_main
{
    text-align: justify;
    padding-top: 12px;
}

.text_title
{
    font-weight: bold;
    font-size: 1.1em;
    text-align: center;
}

.text_subtitle
{
    font-size: 0.8em;
    text-align: center;
}

.text_date
{
    font-size: 0.9em;
    font-weight: bold;
    text-align: center;
}

.text_author
{
    font-size: 0.9em;
    text-align: center;
}

.text_description
{
    font-weight: bold;
    font-size: 0.9em;
    text-align: center;
    padding-top: 12px;
    padding-bottom: 12px;
}

.text_videolink
{
    font-size: 1.1em;
    text-align: center;
}

.text_videodescription
{
    font-size: 0.9em;
    text-align: center;
}

.text_link
{
    background-color: #E6FFCC;
    text-align: center;
    font-weight: bold;
    font-size: 1.2em;
    padding: 1px 2px 1px 2px;
    margin-top: 12px;
    height: 24px;
}

.text_embed
{
    background-color: #E6FFCC;
    text-align: center;
    font-weight: bold;
    font-size: 1.2em;
    padding: 8px 8px 8px 8px;
    margin-top: 12px;
    border-radius: 5px 5px 5px 5px;
}

.text_small
{
    font-size: 0.8em;
}

.text_smallest
{
    font-size: 0.6em;
}

.text_citation
{
    font-style: italic;
}

.text_highlight_background
{
    background-color: #E6FFCC;
    /*color: #000000;*/
    font-weight: bold;
    /*text-decoration: underline;*/
}

.text_highlight
{
    font-weight: bold;
}

.text_highlight_small
{
    font-weight: bold;
    font-size: 0.9em;
}

.text_counter
{
    font-weight: bold;
    color: #1C2880;
}

.text_back
{
    font-size: 0.8em;
    padding-top: 12px;
}

.text_gray
{
    color: #F6F6F6;
}

.text_big
{
    font-size: 1.4em;
    font-weight: bold;
}

.text_warning
{
    color: #FF0000;
}

.text_superscript
{
     vertical-align: top;
     font-size: small;
}

.row_table_member
{
    background-color: #E6FFCC;
    font-weight: bold;
    font-size: 0.9em;
    padding: 1px 2px 1px 2px;
    margin-top: 2px;
    height: 20px;
}

.row_table_member_title
{
    font-size: 1.0em;
    float: left;
    width: 240px;
    height: 20px;
    overflow: hidden;
}

.row_table_member_narrow_title
{
    font-size: 1.0em;
    padding-top: 2px;
    float: left;
    width: 120px;
    height: 20px;
    overflow: hidden;
}

.row_table_member_description
{
    font-size: 0.8em;
    font-weight: normal;
    padding-top: 3px;
    overflow: hidden;
}

.row_table_member_narrow_description
{
    font-size: 1.0em;
    font-weight: normal;
    padding-top: 2px;
    overflow: hidden;
}

.row_table_narrow
{
    background-color: #E6FFCC;
    margin-top: 8px;
    width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.row_table_message
{
    border-color: #667AFF;
    border-style: solid;
    border-width: 1px;
    padding: 1px 1px 1px 1px;
    background-color: #FFFF80;
    text-align: center;
}

.row_table_message:hover
{
    border-color: #48893B;
}

.row_table_error
{
    border-color: #667AFF;
    border-style: solid;
    border-width: 1px;
    padding: 1px 1px 1px 1px;
    background-color: #FF0000;
    color: #FFFF80; 
    text-align: center;
}

.row_table_form
{
    background-color: #E6FFCC;
    margin-top: 1px;
    padding-left: 2px;
    vertical-align: middle;
    padding-top: 2px;
    padding-bottom: 2px;
}

.row_table_chat_form
{
    background-color: #E6FFCC;
    margin-top: 1px;
    padding: 2px 2px 2px 2px;
    vertical-align: middle;
    text-align: center;
}

.row_table_chat
{
    background-color: #E6FFCC;
    margin-top: 1px;
    padding-left: 2px;
    vertical-align: middle;
}

.row_table_chat_date
{
    float:left;
    white-space: nowrap;
    width: 28px;
    font-size: 0.5em;
}

.row_table_chat_content
{
    white-space: normal;
    width: 627px;
}

.row_table_title
{
    float:left;
    white-space: nowrap;
    padding-top: 1px;
    width: 120px;
}

.row_table_input
{
    white-space: nowrap;
    overflow: hidden;
}

.row_table
{
    padding: 0px 1px 1px 1px;
    background-color: #FFFFFF;
    margin-top: 12px;
    margin-bottom: 12px;
    border-top: 1px #667AFF solid;
    border-radius: 0px 0px 5px 0px;
}

.row_table:hover
{
    padding: 0px 0px 0px 0px;
    border: 1px #667AFF solid;
}

.row_table_image
{
    float:left;
    white-space: nowrap;
    padding: 0px 5px 0px 0px;
}

.row_table_desc
{
    background-color: #F6F6F6;
    font-weight: bold;
    font-size: 0.9em;
    color: #305B28;
    vertical-align: baseline;
    padding: 0px 2px 2px 2px;
}

.row_table_left
{
    float:left;
    white-space: nowrap;
}

.row_table_right
{
    text-align: right;
    white-space: nowrap;
}

.row_table_text
{
    font-size: 1.2em;
    text-align: justify;
    padding: 0px 2px 0px 2px;
}

.row_table_optional
{
    font-size: 0.9em;
    text-align: justify;
    padding: 0px 2px 0px 2px;
}

.image_box
{
    background-color: #E6FFCC;
    text-align: center;
    padding-top: 24px;
    padding-bottom: 24px;
    margin-top: 12px;
    margin-bottom: 12px;
    padding-top: 12px;
    padding-bottom: 12px;
    padding-left: 10px;
    padding-right: 10px;
    width: 640px;
}

.thumbnails_box
{
    background-color: #E6FFCC;
    text-align: center;
    padding-top: 24px;
    margin-top: 12px;
    margin-bottom: 12px;
    overflow: hidden;
}

.thumbnails_row
{
    width: 630px;
}

.thumbnails_item
{
    width: 105px;
    height: 130px;
    float: left;
}

.thumbnails_bigitem
{
    width: 210px;
    height: 146px;
    float: left;
}

.page_number_box
{
    background-color: #FFFFFF;
    text-align: center;
    height: 18px;
    margin-left: auto;
    margin-right: auto;
    width: 644px;
    border-top: 1px #FFFFFF solid;
    border-bottom: 1px #FFFFFF solid;
}

.page_number_box:hover
{
    background-color: #F6F6F6;
    border-color: #667AFF;
}

.page_number_item
{
    width: 28px;
    float: left;
    overflow: hidden;
}

.page_number_item_selected
{
    width: 28px;
    text-decoration: underline;
    float: left;
    overflow: hidden;
}

.fb_share_link
{
    padding:2px 0 0 20px;
    height:16px;
    background:url(https://static.ak.facebook.com/images/share/facebook_share_icon.gif?12:26981) no-repeat top left;
}
