/* General styles */
html{margin: 0; padding: 0;}
body {
    font-family: sans-serif;
    font-family: "Arial",sans-serif;
    font-size: 13px;
    margin: 0px;
    padding: 0px;
    background-image: url('bg.png');
    background-position: top left;
    background-repeat: repeat-x;
    background-color: #c4c4c4;    
}
#bodystyle_muut{
    background-image: url('bg_muut.png');
    background-position: bottom center;
    background-repeat: no-repeat;
    background-color: white;
    background-size: 100%;
    min-height: 100%; 
    margin: 0; padding: 0;
}
.template_main1{
}
.template_main2{
    background: none;
    position: relative;
}
#template_floating_logo{
    position: absolute;
    top: 20px;
    z-index: 100;
}

/* Section specific styles */
.sectBgColor { background-color: #CC0D70; }
.sectFgColor { color: #fff; }
.sectHoverBgColor:hover { background-color: #CC0D70; }
.sectHoverBgColor:hover .sectFgColor { color: #333 !important; }
#bodystyle_muut .sectBgColor { background-color: #CC0D70; }
#bodystyle_muut .sectFgColor { color: #CC0D70; }
#bodystyle_muut .sectHoverBgColor:hover { background-color: transparent; }

#bodystyle_ilmajoensrk .sectBgColor { background-color: #e27e26; }
#bodystyle_ilmajoensrk .sectHoverBgColor:hover { background-color: transparent; }

/* Menu style */
.mod_vmenu, .mod_vmenu_mainmenu{
    margin: 0;
}
.mod_vmenu_submenu{ display: none;}

div.mod_vmenu_entry .sectHoverBgColor { }
div.mod_vmenu_entry .sectHoverBgColor:hover {background-image: url('topmenu-sel.png');   }
div.mod_vmenu_entry p{
    background-image: url('topmenu.png');
    background-position: center left;
    background-repeat: repeat-x;
    border-bottom: 1px solid #ccc;
    border-top: 1px solid #eee;
    color: #333;
    font-size: 12px;
    min-height: 33px;
    padding-top: 0;
    padding-bottom: 0;            
}
div.mod_vmenu_entry p.sectBgColor{
    background-image: url('topmenu-sel.png');
    border-bottom: 0 solid #DDBAD1;
    border-top: 0 solid #561F43;
    background-repeat: repeat-x;
}


.mod_vmenu_mainmenu .mod_vmenu_entry a{
    font-weight: normal;
    line-height: 2.7em;
    padding-left: 10px;
    color: #333;
    font-weight: bold;
}

.mod_vmenu_entry p:hover a{
    color: #fff !important;
}

#bodystyle_ilmajoensrk div.mod_vmenu_entry p.sectBgColor {
    background-image: none;
}

#bodystyle_ilmajoensrk .mod_vmenu_entry p:hover a{
    background-color: #e27e26 !important;
}
#bodystyle_ilmajoensrk div.mod_vmenu_entry .sectHoverBgColor:hover {
    background-image: none;
    padding: 0;
}

/* vmenu toolbox "fixes" */
div.mod_vmenu_entry p.sectBgColor.mod_vmenu_toolset{
    background-image: none;
    border-left: 1px solid black;
    border-right: 1px solid black;
    border-bottom: 1px solid black;
}
div.mod_vmenu_entry p.mod_vmenu_add_mainentry{
    background-image: url('../../modules/vmenu/plus_circle.png');
    background-repeat: no-repeat;
    background-position: center center;
    border: none;
}
div.mod_vmenu_entry p.mod_vmenu_settings{
    background-image: url('../../modules/vmenu/hammer-screwdriver.png');
    background-repeat: no-repeat;
    background-position: center center;
    border: none;
}

/* H-Menu */
.mod_hmenu{
    background-image: url('topmenu.png');
    background-position: left center;
    background-repeat: repeat-x;
    margin: 0 -10px;
    padding: 0 10px;
    height: 57px;
    
    font-family: "Arial",serif;
    font-size: 1em;
    font-weight: bold;
    text-transform: uppercase;    
}
.mod_hmenu_mainmenu{ margin:0;}
.mod_hmenu_mainmenu .mod_hmenu_entry a:hover, .mod_hmenu_entry p:hover a  {
    color: #990066;
}
.mod_hmenu p.sectBgColor{
    background-image: url("topmenu-sel.png");
    background-position: center top;
    background-repeat: repeat-x;
}
.mod_hmenu_entry{
    background-image: url("topmenu-entry-right.png");
    background-position: right top;
    background-repeat: no-repeat;
    padding-right: 1px;    
}
.mod_hmenu_entry a{
    height: 50px;
    line-height: 50px;
    display: block;
     padding: 0 12px;
}

/* Header styles */
.mod_header_cont {
    margin-left: -10px;
}
.mod_header_cont h2{
    padding: 0px 10px;
    background-color: #cc0d70;
    
    color: #FFFFFF;
    font-family: tahoma;
    font-size: 16px;
    height: 35px;
    line-height: 2em;
    font-weight: normal;   
    
}

#bodystyle_ilmajoensrk .mod_header_cont h2{
    background-color: #e27e26;
}

/* Article styles */
.mod_article h2{
    color: #333;
    font-size: 14px;
    font-family: Helvetica;
    font-weight: bold;
    font-style: normal;
}
.mod_article{
    border-top: 1px solid #990066;
}
.mod_article p{
    font-size: 12px;
    font-family: Arial;
}

.mod_article_readmore{
   /* background-image: url("nuoli_oikealle.gif");
    background-position: center left;
    background-repeat: no-repeat;
    padding-left: 22px; */
    height: 20px;
    display: block;
    line-height: 20px;
    color: #990066;
}

/* piclink styles */
.mod_piclink_content_picture{
    text-align: center;
}





#template_footer {
    /*
    background-image: url('foot.png');
    background-repeat: no-repeat;
    background-position: top center;
    */
    border-top: 1px solid #f4f4f4;
    margin-top: 5px;
    height: 90px;
    color: #323232;
    background-color: #ededed;
    padding-top: 10px;
}

#template_footer td.footer_row_1{
    text-align: center;
    width: 220px;
    vertical-align: middle;
    background-image: url("footer_separator.png");
    background-repeat: no-repeat;
    background-position: right center;
    
}
#template_footer td.footer_row_2{
    text-align: center;
    width: auto;    
    vertical-align: middle;
    
}
#template_footer td.footer_row_3{
    text-align: center;    
    width: 150px;
    vertical-align: middle;
    background-image: url("footer_separator.png");
    background-repeat: no-repeat;
    background-position: left center;    
}
#template_footer td.footer_row_3 a{
    padding-left: 25px;
    padding-top: 5px;
    padding-bottom: 5px;
    background-image: url("footer_info.png");
    background-repeat: no-repeat;
    background-position: left center;
}
#template_footer_mvs{
    font-weight: bold;
}
#template_footer table {
    margin: auto;
    width: 100%;
}
#template_footer td {
    padding: 10px;
    line-height: 20px;
    width: 25%;
}
#template_footer a {
    color: #990066;
    font-size: 13px;
}
#template_footer img {
    border: none;
}

.mod_vapaaehtoispankki_worklist_cont h1{
    color: #333
}
.mod_vapaaehtoispankki a{
    color: #990066;
}

p.mod_vapaaehtoispankki_all{
    background-image: url('circle_arrow_right.png');
    padding-top: 5px;    
}
p.vapaaehtoispankki_list_entry {
    background-image: url('circle_arrow_right.png');
    background-position: left 3px;    
}


.mod_vapaaehtoispankki_worklist_table td{
    font-size: 1em;
    padding: 16px 5px;
}

.mod_vapaaehtoispankki_tyopaikka_valinta td{
    font-size: 0.90em;   
}
.mod_vapaaehtoispankki_pyydaapua td{
    font-size: 1em;
}
.mod_form_fields input{
    margin: 2px;
}

 .mod_form_fields textarea {
    margin: 2px;
    height: 100px;
    width: 330px;
}
.mod_form_label{
    display: inline-block;
    width: 125px;
}
.mod_form_info_success{
    background-color: #CC0D70;
    border: 1px solid #777;
    color: #fff;
    font-weight: bold;
    padding: 8px;
    display: none;
    cursor: pointer;
}

/* Pienet kuvalliset linkit */
.mod_minipiclink_cont1 {
    height: auto;
}
.mod_minipiclink_cont2 {
    color: #000;
    font-size: 14px;
    text-align: left;
}
.mod_minipiclink_box {
    background-color: transparent;
}

#template_footer .yhteystiedot td{
    padding: 5px;
    width: auto;
    
}


