html
{
	overflow-y: scroll;
}

.fckeditor_purkka
{
	z-index: 25;
}

body
{
	margin: 0px;
	padding: 0px;
	font: 12px Arial, Helvetica, sans-serif;
	color: #000;
	height: 100%;
}

.bfix
{
    margin-top: 18px;
}

table, td, p
{
	font: normal 12px Arial, Verdana, Sans-Serif; color: #000;
}

.body
{
        background-image: url(img/ylatausta.jpg);
        background-repeat: repeat-x;
	background-color: #ffffff;
}

a,a:visited,a:active
{
	font: normal 12px Arial, Verdana, Sans-Serif; color: #000;
	text-decoration:none;
}

a:hover
{
	text-decoration:underline;
}

a.linkki,a:visited.linkki,a:active.linkki
{
	font: bold 12px Arial, Verdana, Sans-Serif; 
	color: #fff;
	text-decoration:none;
}

a:hover.linkki
{
        font: bold 12px Arial, Verdana, Sans-Serif;
	color: #ffffff;
	text-decoration:underline;
}

a.linkki2,a:visited.linkki2,a:active.linkki2
{
	font: bold 12px Arial, Verdana, Sans-Serif;
	color: #ffffff;
	text-decoration:underline;
}

a:hover.linkki2
{
        font: bold 12px Arial, Verdana, Sans-Serif;
	color: #ffffff;
	text-decoration:underline;
}

h1
{
	font: bold 14px Arial, Verdana, Sans-Serif;
	color: #000;
	padding: 0px;
	margin: 0px;
	padding-bottom: 10px;
}

h2,h3,h4,h5,h6
{
	font: bold 14px Arial, Verdana, Sans-Serif;
	color: #000;
	padding: 0px;
	margin: 0px;
	padding-bottom: 3px;
}

.kategoriat_ot_tt
{
        height: 25px;
        background-color: #aad5e6;
}

.kategoriat_ot_tt_ss
{
    padding-left: 30px;
}

.kategoriat
{
	font: bold 13px Arial, Verdana, Sans-Serif;
	color: #000000;
}

.ot_vl
{
        height: 10px;
        background-color: #ffffff;
}

.paataulu
{
	width: 800px;
	height: 500px;
        background-image: url(img/alataustab.jpg);
        background-repeat: repeat-y;
	background-color: #ffffff;
}

.main
{
	position: relative;
}

.relative
{
    position: relative;
}

.logo
{
        position: absolute;
        left: 20px;
        top: 7px;
}

.harmaapalkki
{
        background-image: url(img/harmaapalkki.jpg);
        background-repeat: no-repeat;
        width: 780px;
        height: 28px;
}

.vasen_palsta_ss, .oikea_palsta_ss
{
    padding: 0px 0px 0px 10px;
    height: 100%;
}

.vasen_palsta
{
    width: 200px;
    /*height: 450px;*/
    height: 100%;
    background-color: #000000;
    z-index: 20;
}

.oikea_palsta
{
    z-index: 1;
    width: 570px;
    height: 450px;
}

.hakupalsta
{
    width: 570px;
    height: 50px;
    background-color: #000000;
}

.sisaltoalue
{
	position: absolute;
	top: 200px;
	left: 0px; 
	width: 820px; 
	height: 350px;
	background-color: #fff;
	border: solid 0px #000;
}

.sisalto
{
	background-color: #f0f0f0;
}

.sisalto_sisennys
{
	padding: 5px;
}

.listaus_vali
{
    height: 10px;
    background-color: #ffffff;
}

.listaus
{
    width: 570px;
    height: 400px;
    /*background-color: #e9e9e9;*/
}

.listaus_ss
{
        padding: 10px 0px 0px 20px;
}

.valikkolinkki
{
	background-color: #000000;
}

.valikkolinkin_sisennys
{
	padding: 3px 7px 3px 7px;
}

.menulevel1{ padding-left: 0px; }
.menulevel2{ padding-left: 5px; }
.menulevel3{ padding-left: 10px; }
.menulevel4{ padding-left: 15px; }

.level1{ z-index: 150; }
.level2{ z-index: 160; }
.level3{ z-index: 170; }
.level4{ z-index: 180; }
.level5{ z-index: 190; }
.level6{ z-index: 200; }
.level7{ z-index: 210; }

.level-1{ z-index: 2; }
.level-2{ z-index: 3; }
.level-3{ z-index: 4; }
.level-4{ z-index: 5; }
.level-5{ z-index: 1; }

.sub_menu
{
    position: absolute;
    top: 0px;
    left: 150px;
    /*width: 150px;*/
    background-color: #747373;
    border: solid 1px #b2b3b5;
    z-index: 100;
    display: none;
}

.sub_menu_ss
{
    padding: 2px 20px 2px 15px;
}

.alapalkki
{
	width: 780px;
	height: 30px;
	background-color: #000000;
}

.alapalkki_sisennys
{
	padding-top: 7px;
	font: bold 12px Arial, Verdana, Sans-Serif;
	color: #fff;
}

.mk_button_bg
{
	position:absolute;
	background-color: #ffffff;
	border: dashed 1px #000;
	padding: 2px;
}

.mk_button_bg_v2
{
	position:absolute;
        left: -55px;
	background-color: #ffffff;
	border: dashed 1px #000;
	padding: 2px;
}

a.mk_button_link,a:visited.mk_button_link,a:active.mk_button_link
{
	font: bold 12px Arial, Verdana, Sans-Serif;
	color: #000;
	text-decoration:none;
}

a:hover.mk_button_link
{
        font: bold 12px Arial, Verdana, Sans-Serif;
	color: #000;
	text-decoration:underline;
}

a.mk_button_link_v2,a:visited.mk_button_link_v2,a:active.mk_button_link_v2
{
	font: bold 10px Arial, Verdana, Sans-Serif;
	color: #000;
	text-decoration:none;
}

a:hover.mk_button_link_v2
{
        font: bold 10px Arial, Verdana, Sans-Serif;
	color: #000;
	text-decoration:underline;
}

/** KORTTITYYLIT **/
.cardFlip
{
    /*position: absolute;
    left: 70px;*/
    width: 430px;
    height: 430px;
    /*z-index: 9;
    background-color: #fff;*/
}

.cardPage
{
    width: 780px;
    height: 560px;
    background-image: url(img/cardpage_bg.jpg);
    background-repeat: no-repeat;
}

.card_front, .card_preview_bg
{
    cursor: pointer;
}

.vasen_nuoli, .oikea_nuoli
{
    position: absolute;
    width: 30px;
    height: 50px;
    background-repeat: no-repeat;
    cursor: pointer;
}

.vasen_nuoli
{
    top: 130px;
    left: -60px;
    background-image: url(img/arrow_left.png);
}

.oikea_nuoli
{
    top: 130px;
    left: 460px;
    background-image: url(img/arrow_right.png);
}

.stamp_select, .background_select
{
    z-index: 2000;
}

.card_front_ss
{
    padding-left: 2px;
}

.cardBack
{
    /*position: relative;*/
    z-index: 10;
}

.cardFields
{
    position: absolute;
    left: 8px;
    top: 10px;
    width: 414px;
    height: 286px;
    /*background-image: url(img/korttitausta_varjo.jpg);*/
    background-image: url(img/image.php?id=2974);
    background-repeat: no-repeat;
}

.cardFields2
{
    position: absolute;
    left: 8px;
    top: 10px;
    width: 431px;
    height: 309px;
    background-image: url(img/perinteinen_korttipohja2.jpg);
    background-repeat: no-repeat;
    border: solid 1px #d5d5d5;
}

.kt_varjo
{
    position: relative;
    width: 430px;
    height: 305px;
    background-image: url(img/korttivarjo.png);
    background-repeat: no-repeat;
}

.kt_varjo2
{
    position: relative;
    width: 438px;
    height: 325px;
    /*background-image: url(img/korttivarjo.png);
    background-repeat: no-repeat;*/
}

.cardBgSelect
{
    position: absolute;
    left: 200px;
    top: 30px;
}

.cardBgSelect2
{
    position: absolute;
    left: 200px;
    top: 100px;
}

.card_preview_bg
{
    position: absolute;
    left: 8px;
    top: 10px;
    width: 414px;
    height: 286px;
    /*background-image: url(img/korttitausta_varjo.jpg);*/
    background-image: url(img/image.php?id=2974);
    background-repeat: no-repeat;
}

.card_preview_bg2
{
    position: absolute;
    left: 8px;
    top: 10px;
    width: 431px;
    height: 309px;
    /*background-image: url(img/korttitausta_varjo.jpg);*/
    background-image: url(img/perinteinen_korttipohja2.jpg);
    background-repeat: no-repeat;
    border: solid 1px #d5d5d5;
}

.cardForm
{
    z-index: 9999;
}

.cardMessage
{
    position: absolute;
    top: 6px;
    left: 6px;
    width: 175px;
    height: 260px;
    border: dashed 1px #c0c0c0;
    z-index: 1;
    background-color: transparent;
    font: normal 16px 'Comic Sans MS', Arial;
    overflow: hidden;
}

.cardMessage_preview
{
    position: absolute;
    top: 7px;
    left: 7px;
    width: 175px;
    height: 260px;
    border: solid 0px transparent;
    z-index: 1;
    background-color: transparent;
    font: normal 16px 'Comic Sans MS', Arial;
    overflow: hidden;
}

.cardMessage2
{
    position: absolute;
    top: 121px;
    left: 195px;
    width: 194px;
    height: 160px;
    border: dashed 1px #c0c0c0;
    z-index: 1;
    background-color: transparent;
    font: normal 16px 'Comic Sans MS', Arial;
    line-height: 40px;
    overflow: hidden;
}

.cardMessage_preview2
{
    position: absolute;
    top: 122px;
    left: 196px;
    width: 194px;
    height: 160px;
    border: solid 0px transparent;
    z-index: 1;
    background-color: transparent;
    font: normal 16px 'Comic Sans MS', Arial;
    line-height: 40px;
    overflow: hidden;
}

.stamp_area
{
    position: absolute;
    top: 24px;
    left: 336px;
    width: 49px;
    height: 72px;
    border: solid 0px #000;
}

.stamp_area_preview
{
    position: absolute;
    top: 24px;
    left: 336px;
    width: 49px;
    height: 72px;
    border: solid 0px #000;
}

.stamp_area2
{
    position: absolute;
    top: 24px;
    left: 205px;
    width: 180px;
    height: 72px;
    border: solid 0px #000;
    text-align: right;
}

.stamp_area_preview2
{
    position: absolute;
    top: 24px;
    left: 205px;
    width: 180px;
    height: 72px;
    border: solid 0px #000;
    text-align: right;
}

.formPadding
{
    padding-left: 15px;
}

.cardField
{
    width: 200px;
    border: solid 1px #000000;
}

.status_otsikko
{
    font: normal 11px arial;
}

.status_bg
{
    background-image: url(img/status_button_bg.jpg);
    background-repeat: repeat-x;
}

.card_table_row
{
    border-left: solid 1px #000;
    border-bottom: solid 1px #000;
    height: 30px;
}

.card_table_row_l
{
    border-bottom: solid 1px #000;
    height: 30px;
}

.grey_row
{
    background-color: #e7e7e7;
}

.vaihtuvatkuvat
{
    position: absolute;
    left: 325px;
    height: 349px;
    overflow: hidden;
}

.vaihtuvatkuvat2
{
    position: absolute;
    left: 0px;
    height: 230px;
    overflow: hidden;
}

.keskikortti
{
    position: absolute;
    top: 47px;
    left: 124px;
    z-index: 19;
    width: 190px;
    height: 160px;
    background-image: url(resource/file/thumbnail/00000000487_00000002752.png);
    background-repeat: no-repeat;
}

.etu_tausta
{
    background-image: url(img/etutausta.jpg);
    width: 570px;
    height: 430px;
}

.etu_tausta2
{
    background-image: url(img/etutausta2.jpg);
    width: 570px;
    height: 430px;
}

.nauha_osa
{
    position: absolute;
    left: 0px;
    top: 203px;
    width: 570px;
    height: 143px;
    background-image: url(img/nauha_pala.png);
    z-index: 12;
}

.nauhateksti
{
    position: absolute;
    left: 100px;
    top: 225px;
    width: 185px;
    height: 100px;
    border:solid 0px #000;
    z-index: 13;
    overflow: auto;
}

.kirjautuminen
{
    position: absolute;
    left: 200px;
}

.kirjautuminen2
{
    position: absolute;
    left: 220px;
    top: 15px;
}

.kirjautuminen2B
{
    position: absolute;
    left: 275px;
    top: 15px;
}

/** HAKU **/
.hae_kuvaa
{
    font-weight: bold;
    color: #ffffff;
}

.pointer
{
    cursor: pointer;
}

/*autocomplete CSS alkaa*/
.jqac-menu
{
    border: solid 1px #000;
    z-index: 11998;
}

.suggestionsBox
{
    position: absolute;
    left: 100px;
    top: 0px;
    margin: 0px 0px 0px 0px;
    background-color: #f7f7f7;
    -moz-border-radius: 0px;
    -webkit-border-radius: 0px;
    border: 2px solid #a3a3a3;
    border-top: 1px solid #a3a3a3;
    color: #000;
    z-index: 11999;
    width: 239px;
}

.suggestionList
{
    margin: 0px;
    padding: 0px;
    z-index: 12000;
}

.suggestionList ul
{
    margin: 0px;
    padding: 5px;
    padding-left: 20px;
    z-index: 12001;
}

.suggestionList li
{
    margin: 0px;
    padding: 0px;
    padding-left:10px;
    padding-bottom: 3px;
    padding-top: 3px;
    cursor: pointer;
    background-color: #f7f7f7;
    z-index: 12002;
}

.suggestionList li:hover
{
    background-color: #d1d1d1;
}
/*autocomplete CSS loppuu*/



.cardMessageB
{
    position: absolute;
    top: 27px;
    left: 16px;
    width: 190px;
    height: 260px;
    border: dashed 1px #979797;
    z-index: 1;
    background-color: transparent;
    font: normal 12px Arial;
    overflow: hidden;
}

.cardMessage_previewB
{
    position: absolute;
    top: 28px;
    left: 17px;
    width: 190px;
    height: 260px;
    border: solid 0px transparent;
    z-index: 1;
    background-color: transparent;
    font: normal 12px Arial;
    overflow: hidden;
}

.cardMessage2B
{
    position: absolute;
    top: 122px;
    left: 247px;
    width: 165px;
    height: 140px;
    border: dashed 1px #979797;
    z-index: 1;
    background-color: transparent;
    font: normal 12px Arial;
    line-height: 28px;
    overflow: hidden;
}

.cardMessage_preview2B
{
    position: absolute;
    top: 123px;
    left: 248px;
    width: 165px;
    height: 140px;
    border: solid 0px transparent;
    z-index: 1;
    background-color: transparent;
    font: normal 12px Arial;
    line-height: 28px;
    overflow: hidden;
}

.cardField_Multi
{
    width: 200px;
    border: solid 1px #000000;
    overflow: hidden;
}

.uploadCsv
{
    padding: 10px 0px 15px 15px;
}

.cardMessage2_Multi
{
    position: absolute;
    top: 121px;
    left: 195px;
    width: 194px;
    height: 160px;
    border: dashed 1px #c0c0c0;
    z-index: 1;
    background-color: transparent;
    font: normal 16px 'Comic Sans MS', Arial;
    line-height: 34px;
    overflow: hidden;
}

.cardMessage_preview2_Multi
{
    position: absolute;
    top: 117px;
    left: 196px;
    width: 194px;
    height: 160px;
    border: solid 0px transparent;
    z-index: 1;
    background-color: transparent;
    font: normal 16px 'Comic Sans MS', Arial;
    line-height: 35px;
    overflow: hidden;
}
