/*Main layout items*/
html 
{ 
    margin: 0; 
    padding: 0;
}

body                                                          
{
    margin: 0; 
    padding: 0; 

    width: 980px; /* Centering the page */
    margin-left: auto;
    margin-right: auto;
}

#container 
{ 
    margin: 0; 
    padding: 0; 
}
.rtl #container { direction: ltr; text-align: left; }
.rtl #container { direction: rtl; text-align: right; }

#site_banner
{
    width: 980px;
}

#main
{
    min-height: 700px; height:auto !important; height:700px; 
    width: 520px;
    clear: both;
}
.rtl #main { margin: 0 15px 0 10px; float: right; }
.ltr #main { margin: 0 10px 0 15px; float: left; }

#side
{
    width: 396px;
    margin: 0;
    padding: 0;
}
.rtl #side { float: left; }
.ltr #side { float: right; }

#pre_footer { clear: both; float: none; }
#footer { clear: both; float: none; }
#footer_bottom { clear: both; }
.rtl #footer_title { float: right; }
.ltr #footer_title { float: left; }
.rtl #footer_links { float: left; text-align: left; }
.ltr #footer_links { float: right; text-align: right; }
#footer_links a { display: inline-block; } /* IE7 bug: padding anchor */
.rtl #footer_links a { padding: 0 6px 0 0; }
.ltr #footer_links a { padding: 0 0 0 6px; }
.rtl #footer_links a img { padding: 0 0 0 3px; }
.ltr #footer_links a img { padding: 0 3px 0 0; }
#locali_logo { vertical-align: top; line-height: 20px; }
.rtl #locali_logo { float: right; }
.ltr #locali_logo { float: left; }
#locali_logo_title { color: #9e1414; }
#locali_logo span { display: table-cell; font-size: 16px; }
.rtl #edit_site_link { float: left; }
.ltr #edit_site_link { float: right; }


/*Main classes*/
.ltr
{
    text-align: left;
    direction: ltr;
}

.rtl
{
    text-align: right;
    direction: rtl;
}

.big { font-size: 1.1em; }
.small { font-size: 0.9em; }
.very-small { font-size: 0.7em; }

.hidden { display: none; }

.handheld_only
{
    display: none;
}

/*Table*/
table 
{
    background-color: #e0e0e0;
    margin: 10px 0 5px 0;
    font-size: 12px;
    width: 100%;
    text-align: left;
    border: none;
}
    
    table th
    {
        background-color: white;
        border: 1px solid #ffffff;
        font-size: 12px;
        font-weight: 800;
        color: #369;
        padding: 4px;
        vertical-align: top;
        text-align: left;
    }

    .rtl table th 
    {
        text-align: right;
    }

    table thead tr .header 
    {
        background-repeat: no-repeat;
        background-position: center right;
        cursor: pointer;
    }

    table tbody td 
    {
        color: #3D3D3D;
        padding: 4px;
        background-color: #FFF;
        vertical-align: top;
        text-align: left;
        border: none;
    }

    table tbody td p, /*To eliminate P design within table cell*/
    table th p
    {
        margin: 0;
        padding: 0;
        font-size: 12px;
    }

    .rtl table tbody td 
    {
        text-align: right;
    }


    table tbody tr.odd td 
    {
        background-color:#F0F0F6;
    }

    table tfoot td 
    {
        background-color: #8dbdd8;
        padding: 4px;
    }

    table tbody tr.odd td
    {
        background-color: #ffffff; 
    }

    table tbody tr.even td
    {
        background-color: #eeeeee; 
    }

    table tbody tr.hover td
    {
        background-color: #fefda2; 
    }                 

    table tr.mark td 
    {
        background-color: #FAF982; 
    }

    table tr.highlight td,
    table tr.odd.highlight td,
    table tr.even.highlight td
    {
        background-color: #faf982; /*#cbe0f7*/ 
    }

    table img
    {
        vertical-align: middle;
        margin: -2px 0 0 10px;
    }

    .rtl table img
    {
        margin: -2px 10px 0 0;
    }

    table input
    {
        width: 60px;
    }
    
h1 + table
{
    margin-top: 20px;
}

/*Lists*/
ul, ol 
{
    padding: 0;
    margin: 15px 40px 20px 40px;
} 

ul li, ol li 
{
    margin: 0 0 10px 0;
    padding: 0;
    line-height: 22px;
}
ul li, ol li { direction: rtl; text-align: right;}
.ltr ul li, .ltr ol li { direction: ltr; text-align: left;}

h1 + ul, h1 + ol
{
    margin-top: 30px;
}

ul li li, ol li li
{ 
    list-style-type: circle; 
}

/*Form*/
form 
{ 
    padding: 0; 
    margin: 0; 
    overflow: auto; height: 100%; /* To make it work when all items within it are floated. Read http://www.quirksmode.org/css/clearing.html */
}

h1 + form
{
    margin-top: 30px;
}

.form_item 
{ 
    float: right;
    clear: both;
    padding: 0;
    margin: 0 0 6px 0;
    overflow: auto; width: 100%; /* When all items within it are floated. Read http://www.quirksmode.org/css/clearing.html */
}
.rtl .form_item { float: right; }
.ltr .form_item { float: left; }

h2 + .form_item
{
    margin-top: 20px;
}

.rtl .form_item .label, 
.rtl .form_item input, 
.rtl .form_item textarea, 
.rtl .form_item select,
.rtl .form_item button, 
.rtl .form_item p, 
.rtl .form_item label 
{
    float: right;
    text-align: right;
}

.ltr .form_item .label, 
.ltr .form_item input, 
.ltr .form_item textarea, 
.ltr .form_item select,
.ltr .form_item button, 
.ltr .form_item p, 
.ltr .form_item label 
{
    float: left;
    text-align: left;
}

.form_item .label 
{
    width: 130px;
    margin-top: 3px;
    padding: 0 10px;
    font-weight: bold;
    color: #666666;
    vertical-align: middle;
}

.form_item input, 
.form_item textarea, 
.form_item select 
{ 
    width: 290px;
    margin: 0;
    padding: 0 0 3px 0; 
    border: 1px solid #aaa; 
    background-color: white;
    font-size: 16px; 
}

.form_item textarea 
{ 
    height: 80px;
    padding: 0; /* Chrome width bug workaround. See http://code.google.com/p/chromium/issues/detail?id=9362 */
    min-height: 40px; height:auto; height:40px;
}

.overlay .form_item textarea 
{ 
    height: 100px;
}

.form_item p
{
    margin: 0;
    padding: 0;
    min-height: 30px; height:auto !important; height: 30px;
}

.form_item input+label { width: auto; }
.rtl .form_item input+label { padding: 0 0 0 20px; }
.ltr .form_item input+label { padding: 0 20px 0 0; }

.form_item .button_message
{ 
    margin: 2px 15px 0 15px;
}

button
{
    padding: 5px 10px;
    margin-top: 10px;
    font-family: Arial;
    font-size: 16px;
    width: auto;
    height: 35px;
}
.rtl button { margin-left: 8px; }
.ltr button { margin-right: 8px; }

button img
{
    margin: 0;
    padding: 0;
}
.rtl button img { float: right; }
.ltr button img { float: left; }

.wide .label
{
    width: 200px;
}
.wide input,
.wide select, 
.wide textarea
{
    width: 275px;
}

button.same_line /*For admin forms*/
{
    margin: 0 5px 0 5px;
    height: 26px;
    font-size: 14px;
}

input.cb
{ 
    border: none !important;
    width: 20px !important;
    background-color: transparent;
    padding: 0;
}
.rtl input.cb { float: right; margin: 4px 0 0 5px; }
.ltr input.cb { float: left; margin: 4px 5px 0 0; }

.form_within_modal
{
    width: 90%;
    margin: 20px 0;
    padding: 15px 14px;
    border: 3px solid #ddd;
    overflow: auto;
}

/*Classes*/
.disabled_link 
{ 
    color: #aaa; 
    text-decoration: underline; 
    cursor: pointer; 
}

.fade 
{ 
    color: #aaa; 
}

.zoom:hover
{
    cursor: url(http://edit.clicknset.com/css/common/images/zoom.png), auto;
}

.message {}
.rtl .message { padding: 0 10px 0 0; }
.ltr .message { padding: 0 0 0 10px; }

.message_box
{ 
    margin: 10px 0;
    padding: 10px;
    text-align: center;
    background-color: #fefda2;
    font-weight: bold;
}

.highlight { background-color: #faf982; }

img.highlight 
{ 
    background-color: none !important;
    border: 5px solid #faf982;
}
img.non-highlight 
{ 
    border: 5px solid white;
}

.error 
{ 
    padding: 0px 2px;
    color: black;
    background-color: #ff6666;
}

.help
{
    background-image: url(images/help.jpg);
    background-repeat: no-repeat;
}
.rtl .help { background-position: bottom left; padding: 0 0 0 20px; }
.ltr .help { background-position: bottom right; padding: 0 20px 0 0; }

img.icon
{
    padding: 0 10px;
    margin-top: 2px;
}
.rtl img.icon { padding: 0 0 0 10px; }
.ltr img.icon { padding: 0 10px 0 0; }

h1.page_title 
{ 
    width: 520px;
    clear: both;
    float: none; 
}

.mblock form { width: 96%;}
.rtl .mblock form { margin: 12px 2.5% 0 0 !important; }
.ltr .mblock form { margin: 12px 0 0 2.5% !important; }

    .mblock form input,
    .mblock form select, 
    .mblock form textarea
    {
        width: 99%;
        background-color: #fdfdfd;
        border: 1px solid #ccc;
        font-family: Arial;
        font-size: 14px;
    }
    .mblock form button
    {
        cursor: pointer;
    }

    .mblock .form form .label
    {
        /*width: 30%;*/
        padding: 12px 0 8px 0;
        font-weight: normal;
    }

    .mblock .form form input,
    .mblock .form form select, 
    .mblock .form form textarea
    {
        /*width: 55%;*/
    }

.mblock ul,
.mblock ol
{
    margin: 0 40px;   
}
 
.slideshow 
{ 
    vertical-align: top;
    text-align: center;
}
    .slideshow .box
    { 
        margin: 0;
        padding: 0;
        text-align: center;
        vertical-align: middle;
        width: 100%;
    }

    .slideshow .box p.image,
    .slideshow .box p.image img
    {
        margin: 0;
        padding: 0;        
        border: none;
    }
    
    .slideshow .box p.image_title
    { 
        height: 22px; 
        margin: 0; 
        padding: 0 5px 3px 5px;
        vertical-align: middle;        
        font-size: 14px;
    }
    .rtl .slideshow .box p.image_title { text-align: right; }
    .ltr .slideshow .box p.image_title { text-align: left; }
    

.gallery 
{
    margin-top: 10px;
}

    .gallery a img 
    {
        width: 152px; /*90px for 3 images per row*/
        height: 152px;
        margin: 0 10px 15px 10px;
        padding: 5px;
        border: 1px solid #999;
        background-color: white;
    }

.vertical_scroller
{
    height: 200px;
}

.rss
{
    margin: 0 0 30px 0;
    padding: 0;
    overflow: hidden;
}

    .rss .rss_item_title
    {
        font-weight: bold;
        margin: 0 0 3px 0;
        padding: 0;
    }

        .rss .rss_item_title a
        {
            color: black;
            font-weight: bold;
            text-decoration: none;
        }

        .rss .rss_item_title a:hover
        {
            color: #369;
        }

    .rss .rss_item_date
    {
        font-size: 0.8em;
        font-weight: bold;
        margin: -5px 0 5px 0;
        padding: 0;
    }

    .rss .rss_item_body
    {
        margin: 0 0 25px 0;
        cursor: pointer;
    }
    
    .rss img,
    img.page
    {
        width: 60px;
        height: 60px;
        padding: 5px;
        border: 1px solid #ccc;
    }
    .rtl .rss img { margin: 5px 0 0 15px; }
    .ltr .rss img { margin: 5px 15px 0 0; }

.pages_list
{
    margin: 0;
    padding: 20px 0 20px 0;
}

    h2+.pages_list
    {
        margin: 10px 0 40px 0;
    }

    .pages_list ul
    {
        list-style: none;
        margin: 0;
    }

    .pages_list li
    {
        margin: 0 0 30px 0;
        min-height: 50px;
        /*min-height: 700px; height:auto !important; height:700px;*/
    }

        .pages_list li h3
        {
            margin: 0 0 0 0;
            padding: 0;
            line-height: 22px;
            font-family : Arial;
            font-size: 16px;
            font-weight: bold;
            color: black;
        }

    .pages_list a
    {
        text-decoration: none;
        color: black;
    }

    .pages_list img
    {
        width: 60px;
        height: 60px;
        padding: 5px;
        border: 1px solid #ccc;
    }
    .rtl .pages_list img { float: right; margin: 5px 0 0 15px; }
    .ltr .pages_list img { float: left; margin: 5px 15px 0 0; }

.page_text p
{
    text-align: justify; 
    text-justify: distribute;    
}

#ul_page_env
{
    margin: 0;
}

#ul_page_env li
{
    text-align: justify; 
    text-justify: newspaper;    
}

.sitemap
{
    margin: 30px 40px 0 40px;
}

    li.page-regular { list-style-image: url(images/page_regular.gif); }
    li.page-hidden  { list-style-image: url(images/page_hidden.png); }

input#sbi
{
    width: 270px; 
    height: 24px; 
    font-size: 18px;
    vertical-align: middle; 
    margin: 15px 0 0 0;
}
.rtl input#sbi { margin-left: 10px; }
.ltr input#sbi { margin-right: 10px; }

input#sbb
{
    width: 70px; 
    height: 35px; 
    vertical-align: middle; 
    font-size: 16px; 
    margin-bottom: 0px; 
    margin-top: 12px; 
    text-align: center;
}
    
#main .page_text img
{
    padding: 5px 5px 9px 5px;
    background: white url(images/image_shadow_bottom.png) repeat-x bottom left;
    border-top: 1px solid #efefef !important;
    border-right: 1px solid #dcd7c8 !important;
    border-left: 1px solid #dcd7c8 !important;
}

p.forum_msg_file
{
    margin: 20px 0 0 0; 
    text-align: center;
}

    p.forum_msg_file img
    {
        border: 1px solid #ccc;
    }

    p.forum_msg_file img.icon
    {
        border: none;
        padding: 0 10px;
        vertical-align: middle;
        border: none;
    }

#block_site_relations img
{
    width: 280px;
}

.box_forum 
{ 
    width: 100%;
    clear: both;
    margin: 10px 0 30px 0; 
}

    .box_forum #forum_links 
    { 
        margin: 10px 0px 5px 0px; 
        padding: 0; 
        vertical-align: top; 
    }    

        .box_forum #forum_links #link_add_forum_msg 
        { 
            margin: 15px 10px 15px 10px;
        }    

        .inline_form 
        { 
            padding: 8px 15px 12px 15px; 
            margin: 0 0 20px 0;
            background-color: #f5f5f5; 
            border: 1px solid #ddd; 
        }    

            .inline_form h2 
            {
                background-color: #f5f5f5;
                margin-bottom: 0 !important;
            }
            
            .inline_form p 
            { 
                font-size: 14px;
            }    

            .inline_form textarea 
            { 
                height: 160px !important;
            }    
        
            #form_add_forum_msg
            {
                border: 1px solid #999;
            }
        
    .box_forum #form_add_forum_msg_title
    {
        font-weight: bold;
        color: #666666;
    }
    
    .box_forum .forum_msg_border 
    { 
        height: 0; 
        width: 100%; 
        margin: -10px 0 14px 0; 
        border-bottom: 1px dotted #999; 
    }

    .box_forum .forum_msg_regular
    { 
        margin: 5px 0 10px 0; 
    }
    
    .box_forum .forum_msg_head
    { 
        margin: 15px 0 25px 0;
    }
   
    .ltr .box_forum ul { margin: 15px 0 55px 60px; }
    .rtl .box_forum ul { margin: 15px 60px 55px 0; }
    
    .forum_msg_text 
    { 
        margin: 5px 0 20px 0; 
        padding: 8px 8px 5px 8px; 
        background: #fafafa; 
        border: 1px solid #ddd;
        line-height: 22px; 
    }
    
        .forum_msg_text p 
        { 
            margin: 0 0 10px 0; 
            padding: 0; 
            line-height: 25px !important;
        }
        
    .box_forum h3 
    { 
        margin: 30px 0 10px 0;
        font-family: Tahoma;
        font-size: 16px; 
        line-height: 22px;
        font-weight: bold; 
        color: black; /*#036;*/
        background-color: transparent;
        border-bottom: none;
    }

    .box_forum .forum_top_menu { font-size: 0.9em; font-weight: normal; color: black; unicode-bidi: embed; }
    .box_forum .forum_bottom_menu { margin: 25px 0 20px 0; padding: 20px 0 5px 0; border-top: 1px dotted #999; }
    .box_forum .forum_msg_no_text { font-size: 12px; font-weight: bold; }
    .box_forum .forum_msg_footer { margin: 20px 0 2px 0; font-size: 0.9em; }
    .box_forum p.aligned-image-workaround { clear: both; line-height: 1px; font-size: 1px; padding: 0; margin: 0; }  /* used at forum messages */
    
li.page
{
    list-style-image: url(images/page_regular.gif);
}
    
#page_util_links {}
.rtl #page_util_links { margin: 40px 0 50px 10px; }
.ltr #page_util_links { margin: 40px 10px 50px 0; }

    #page_util_links p
    {
        margin: 0 0 15px 0;
        background-repeat: no-repeat;
    }
    .rtl #page_util_links p { padding: 4px 4px 0 0; background-position: top right; }
    .ltr #page_util_links p { padding: 4px 0 0 4px; background-position: top left; }

#to_the_page
{
    clear: both;
}

#print_logo
{
    margin: 0 0 30px 0;    
}
    
.facebook
{
    background-image: url(images/facebook.png);
    background-position: top left;
    background-repeat: no-repeat;
    
    padding: 0 0 0 20px;
}
    
.rtl .facebook
{
    background-image: url(images/facebook.png);
    background-position: top right;
    background-repeat: no-repeat;
    
    padding: 0 20px 0 0;
}
    
.facebook_ilike
{
    margin: 40px 0 30px 0;
}

/*  
  Modal and forms   
*/  
.overlay 
{
    background-color:#fff;
    display:none;
    padding: 8px 15px 15px 15px;
    border: 2px solid #333;
    font-size: 16px !important;

    opacity: 1;
    -moz-border-radius:6px;
    -webkit-border-radius:6px;
    -moz-box-shadow: 0 0 50px #ccc;
    -webkit-box-shadow: 0 0 50px #ccc;
}

    .overlay .close
    {
        background-image: url(images/close.png);
        background-repeat: no-repeat;
        position: absolute;
        top: 5px;
        cursor: pointer;
        height: 50px;
        width: 50px;
    }
    .rtl .overlay .close { left: 4px; }
    .ltr .overlay .close { right: 4px; }

    .overlay h2,
    .inline_form h2
    {
        margin: 0 0 15px 0;
        padding: 0 0 4px 0;
        border: none;
        border-bottom: 1px solid #333;
        font-size:20px;
        color: #666 !important;
        background-image: none !important;
    }

    .overlay label,
    .overlay li
    {
        font-size: 16px !important;
    }

    .overlay button
    {
        background-color: #d4dde6;
        border: 1px solid #ababab;
        color: black;
    }

    .overlay button:hover
    {
        background-color: #acdcf7;
    }

    .overlay button.disabled
    {
        opacity: 0.5;
    }

    .overlay button.disabled:hover
    {
        background-color: #d4dde6;
    }

    .overlay p
    {
        font-size: 16px !important;
    }

span.modal_input
{
    color: black;
    cursor: pointer;
}

.frame
{
    margin: 20px 0;
    padding: 20px 10px 15px 10px;
    border: 1px solid #ccc;
}

    .frame p
    {
        font-size: 14px;
        margin: 10px 0 0 0;
        padding: 0;
    }
    
    .frame p:first-child
    {
        margin-top: 0;
    }

#file_uploadUploader 
{
    width: 69px;
    height: 42px;
    margin: 0 0 -35px 0;
    padding: 0;
    float: none;
    background-image: url(images/images.png);
    background-position: top center;
    background-repeat: no-repeat;
}


.vertical_scroller
{
    display: block;
    overflow: hidden;
    position:relative;
}
.scrolling_text
{
    position: absolute;
    white-space: normal;
    width: 370px;
}

.survey_options
{
    margin-bottom: 15px;
}

.large_fonts h2
{
    font-size: 26px;
}
.large_fonts h3
{
    margin: 30px 0 10px 0;
    font-size: 18px;
    line-height: 24px;
}
.large_fonts p
{
    margin: 0 0 16px 0;
    font-size: 20px;
    line-height: 24px;
}
.large_fonts ol,
.large_fonts ul
{
    margin: 0.7em 2.5em 0.7em 2.5em;
    font-size: 20px;
}


.main_form 
{ 
    width: 100%;
    margin: 25px 0 40px 0;
}

    .main_form .label 
    {
        width: 180px;
        margin-top: 3px;
        padding: 0 10px;
        font-weight: bold;
        color: #666666;
        vertical-align: middle;
    }

    .main_form input,
    .main_form select, 
    .main_form textarea
    {
        width: 315px !important;
        background-color: #fdfdfd;
        border: 1px solid #ccc;
        font-family: Arial;
    }

    .main_form button
    {
        cursor: pointer;
    }

.dialog
{
    display: none;
}

