@font-face {
    font-family: 'OpenSansRegular';
    src: url('fontti/OpenSans-Regular-webfont.eot');
    src: url('fontti/OpenSans-Regular-webfont.eot?#iefix') format('embedded-opentype'),
         url('fontti/OpenSans-Regular-webfont.woff') format('woff'),
         url('fontti/OpenSans-Regular-webfont.ttf') format('truetype'),
         url('fontti/OpenSans-Regular-webfont.svg#OpenSansRegular') format('svg');
    font-weight: normal;
    font-style: normal;
}

* {
    font-size: 11px;
    font-family: sans-serif, Trebuchet MS, arial;
    /*border: 1px solid red;*/
    color: #222222;
}

img {
    border: none;
}

body, html {
    margin: 0px;
    padding: 0px;
    height: 100%;
}

.main_container {
    background-image: url('images/tausta.png');
    background-repeat: repeat;
    min-height: 100%;
}

.div_container {
    padding: 0px 0px 0px 0px;
    background-color: #ffffff;
    width: 840px;
    margin: 0px auto;
    box-shadow: 0px 0px 20px #444;
}

.header {
    width: 100%;
    z-index: 2;
    padding: 10px 0px 10px 0px;
}

.inner_header {
    width: 800px;
    margin: 0px auto;
}

.header_table {
    width: 100%;
    height: 140px;
    border-collapse: collapse;
}

#header_vas {
    width: 320px;
    vertical-align: middle;
}

#header_oik {
    font-size: 12px;
    padding-left: 0px;
    vertical-align: bottom;
    padding-bottom: 50px;
}

.content {

}

.inner_content {
    width: 800px;
    margin: 0px auto;
}

.footer {
    width: 100%;
    height: 100px;
    z-index: 2;
}

.inner_footer {
    padding: 10px 0px;
    width: 800px;
    margin: 0px auto;
    border-top: 1px solid #892322;
}

.footer_linkit .vas {
    padding: 20px 20px 20px 0px;
}

.footer_linkit .oik {
    padding: 20px;
}

.vas a {
    font-size: 12px;
}

.oik a {
    font-size: 12px;
}

.navi {
    width: 100%;
}

#ostoskori {
    text-align: right;
    margin: 0px 0px 0px 20px;
    font-size: 12px;
    width: 220px;
    float: right;
}

#ostoskori:hover {
    cursor: pointer;
    color: #892322;
}

.ostoskori_data_container {
    background-color: #ffffff;
    border: 1px solid #bbbbbb;
    margin: 25px 0px 0px 47px;
    width: 450px;
    z-index: 9998;
    position: absolute;
    display: none;
    box-shadow: 0px 0px 20px #444;
    cursor: default;
}

.navi_nappula {
    float: right;
    margin-left: 20px;
}

.navi_nappula:hover {
    cursor: pointer;
    text-decoration: none;
}

.hakupalkki {
    width: 190px;
    vertical-align: top;
    margin:0px;
    padding:0px;
    border-right: 1px solid #892322;
}

.catalog_container {
    padding: 0px 0px 0px 0px;
    vertical-align: top;
}

.hakupaneeli .paneeli {

}

.hakualue {
    float: right;
    padding: 6px 10px 0px 0px;
}

.hakukentta {
    border: 1px solid #cfcdca;
    background-color: #ffffff;
    width: 150px;
    float:left;
    position: relative;
}

.hakunappula {
    border: 1px solid #cfcdca;
    background-color: #dddddd;
    position: relative;
    float:left;
}

.hakunappula:hover {
    border: 1px solid #dddddd;
    background-color: #cfcdca;
    cursor: pointer;
}

.tuotteet_header {
    padding: 0px 10px 0px 10px;
    background-color: #892322;
    height: 30px;
}

.tuotteet_otsikko {
    padding-top: 8px;
    font-size: 12px;
    color: #ffffff;
}

.tuotteet_lista {
    padding: 10px;
}

.sisennys_taso1 {
    color: #555555;
}

.sisennys_taso2 {
    color: #555555;
    padding-left: 10px;
}

.sisennys_taso3 {
    color: #555555;
    padding-left: 20px;
}

.note {
    padding: 10px;
    margin: 20px auto;
    width: 300px;
}

/* ETUSIVU */

.sivu {
    padding: 10px 0px 10px 10px;
}

.generic_table {
    border-collapse: collapse;
}

td {
    vertical-align: top;
}

.otsikko {
    font-size: 12px;
}

.linkki {
    color: #892322;
    cursor: pointer;
}

.linkki:hover {
    text-decoration: underline;
    color: #892322;
}

.linkki_u {
    font-size: inherit;
    color: inherit;
}

.linkki_u:hover {
    text-decoration: underline;
}

.fuga_vari {
    color: #892322;
}

a {
    text-decoration: inherit;
    color: inherit;
}

a:hover {
    text-decoration: none;
    color: #892322;
}

.clear {
    clear: both;
}

.float {
    float: left;
}

.filtteri {
    margin-bottom: 10px;
}

.item_random {
    position: relative;
}

.item_random_hinta {
    padding: 4px 10px;
    margin: 5px 5px 0px 0px;
    font-size: 12px;
    font-weight: bold;
    float: left;
    position: absolute;
    bottom: 10px;
    left: 10px;
}

#tilauksen_kasittely {
    text-align: center;
    padding: 40px;
}

/* HAKULISTA */

.ale_img {
    position:absolute;
    top:10px;
    left:10px;
}

.ale_img_detail {
    position:absolute;
    top:0px;
    left:0px;
}

.ale_img_detail2 {

}

.item_ale {
    text-decoration: line-through;
}

.item_ale_uusi {
    color: #FF0000;
}

.item {
    width: 160px;
    padding: 10px;
    float: left;
    border: 1px solid #ffffff;
    position: relative;
}

.item:hover {
    border: 1px solid #892322;
    cursor: pointer;
}

.item_avattu {
    width: 160px;
    background-color: #ffffff;
    border: 1px solid #888888;
    margin: -11px 0px 0px -11px;
    position: absolute;
    display: none;
    box-shadow: 0px 0px 20px #444;
    cursor: default;
    z-index: 9990;
    padding: 10px;
}

.item_kuva {
    width: 160px;
}

.item_tekstiosio {
    margin-top: 2px;
}

.item_hintaosio {
    margin-top: 5px;
}

.item_hinta {
    padding: 2px 10px;
    font-size: 12px;
    background-color: #892322;
    color: #ffffff;
    font-weight: bold;
}

.item_hinta_ale {
    color: #ffffff;
    font-size: 12px;
    font-weight: bold;
}

.item_hinta_ale_ennen {
    color: #ffffff;
    text-decoration: line-through;
    font-size: 12px;
    font-weight: normal;
}

.item_formaatti {
    padding: 2px 10px;
    margin: 4px 5px 0px 0px;
    font-size: 12px;
    background-color: #dddddd;
    text-transform: uppercase;
}

.item_otsikko {
    font-size: 12px;
    color: #000000;
}

/* HAKULISTA */

/* KOHTEEN TARKAT TIEDOT */

.det_item_tekstiosio {
    padding: 10px 0px 0px 0px;
}

.det_item_levy {
    overflow: auto;
    max-height: 200px;
}

.det_item_hinta_ennen {
    text-decoration: line-through;
    font-size: 12px;
    font-weight: bold;
}

.det_item_kappaleet {
    max-height: 280px;
    overflow: auto;
    padding: 10px 0px 0px 0px;
}

.det_item_henkilo {
    padding: 0px 10px;
}

.det_item_kuva {
    width: 160px;
}

.det_item_kuva_iso {
    max-width: 200px;
    max-height: 250px;
}

.det_not_selected {
    background-color: #cccccc;
}

.det_selected {
    background-color: #F2DD95;
}

.minikuva {
    width: 14px;
}

.isokuva {
    width: 16px;
}
/* KOHTEEN TARKAT TIEDOT */

.pagination_lista {
     margin: 10px 0px 0px 0px;
     font-weight: normal;
}

.pagination {
    padding-left: 10px;
    font-weight: bold;
}

.float_pagin {
    float: left;
    margin: 0px 4px 12px 0px;
}

.val_sivu {
    background-color: #eeeeee;
    border: 1px solid #666666;
    padding: 3px 5px;
}

.val_sivu:hover {
    background-color: #892322;
    border: 1px solid #892322;
    color: #ffffff;
    text-decoration: none;
}

.val_siirry {
    background-color: #eeeeee;
    border: 1px solid #666666;
    padding: 3px 5px;
}

.val_siirry:hover {
    background-color: #892322;
    border: 1px solid #892322;
    color: #ffffff;
    text-decoration: none;
}

.val_sivu_act {
    background-color: #892322;
    border: 1px solid #892322;
    font-weight: bold;
    color: #ffffff;
    padding: 3px 5px;
}

.val_sivu_act:hover {
     text-decoration: none;
     color: #ffffff;
}

.bold {
    font-weight: bold;
}

.normal {
    font-weight: normal;
}

/* MENU */
.menu_container {

    background-color: #892322;
}

.menu_otsikko {
    line-height: 30px;
}

#nav, #nav ul {
     margin:0;
     padding:0;
     list-style-type:none;
     position:relative;
     z-index: 9800;
}

#nav a:link, #nav a:active, #nav a:visited {
    text-decoration:none;
}

#nav li {
    float:left;
    position:relative;
    display:block;
    padding: 0px 10px;
    cursor: pointer;
    font-size: 12px;
    height: 30px;
    width: 70px;
    text-align: center;
    color: #ffffff;
}

#nav li:hover {
    background-color: #484848;
}

#nav ul {
    position:absolute;
    top: 30px;
    left: -1px;
    display:none;
    border-bottom: 1px solid #C7BE8B;
    box-shadow: 0px 0px 20px #444;
}

#nav ul ul {
    position:absolute;
    left: 90px;
    top: 0px;
    display:none;
    border-bottom: 1px solid #C7BE8B;
    box-shadow: 10px 0px 10px #444;
}

#nav ul li {
    height: auto;
    border-left: 1px solid #C7BE8B;
    border-right: 1px solid #C7BE8B;
    width: 50px;
    display:block;
    padding: 3px 10px 4px 30px;
    float:left;
    line-height: normal;
    background-color: #ffffff;
    color: #222222;
    font-size: 12px;
    text-align: left;
    font-weight: normal;
}

#nav ul li:hover {
    text-decoration: none;
    color: #ffffff;
    background-color: #892322;
    font-weight: normal;
}

#nav ul li a:hover {
    color: #ffffff;
    font-weight: normal;
}

#nav ul ul li {
    height: auto;
    border-left: 1px solid #C7BE8B;
    border-right: 1px solid #C7BE8B;
    padding: 4px 6px;
    width: 200px;
    line-height: normal;
    font-size: 11px;
    text-align: left;
    font-weight: normal;
}

#nav ul ul li:hover {
    text-decoration: none;
    color: #ffffff;
    background-color: #892322;
    font-weight: normal;
}

/* OSTOSKORI */

.ostoskori_container {
    width: 100%;
    border-collapse: collapse;
}

.ostoskori_item_vas {
    width: 120px;
    padding: 10px 10px 10px 10px;
}

.ostoskori_item_oik {
    width: auto;
    padding: 10px 10px 0px 0px;
}

.ostoskori_kuva {
    width: 120px;
}

.ostoskori_tyhja {
    font-size: 12px;
    font-weight: bold;
    padding: 10px 10px 10px 0px;
    margin-left: 10px;
    border-bottom: 1px solid #bbbbbb;
}

#ostoskori_ostettu {
    width: 150px;
    position: fixed;
    top: 0px;
    right: 0px;
    border: 2px solid #83C28C;
    background-color: #C7E0CA;
    padding: 20px;
    font-size: 12px;
    display: none;
}

#ostoskori_poistettu {
    width: 150px;
    position: fixed;
    top: 0px;
    right: 0px;
    border: 2px solid #FF0000;
    background-color: #FFDFDF;
    padding: 20px;
    font-size: 12px;
    display: none;
}

.ostoskori_lisaa {
    font-size: 12px;
}

.ostoskori_lisaa:hover {
    color: #892322;
    cursor: pointer;
}

.ostoskori_poista {
    font-size: 12px;
}

.ostoskori_poista:hover {
    cursor: pointer;
    color: #892322;
}

.ostoskori_maksamaan {
    width: 120px;
    text-align: center;
    float: right;
}

/* OSTOSKORI */

/* DETAIL */

.detail_container {
    padding: 0px 10px 10px 10px;
}

.detail_otsikko {
    color: #892322;
    font-size: 14px;
    padding-bottom: 10px;
}

.detail_kuva_container {
    width: 200px;
}

.detail_kuva {
	min-width:200px;
    max-width:320px;
}

.detail_tiedot {
    padding: 0px 10px;
}

.detail_tracks {
    padding-top: 10px;
}

.detail_intro {
    padding-top: 10px;
}

/* DETAIL */

.palkki_pay {
	width: 800px;
	height:30px;
    margin: 0px auto;
	background-color:#892322;
}

.content_pay {
	width:800px;
	height:570px;
	margin:10px auto;
}

/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 9801; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Content/Box */
.modal-content {
    background-color: #fefefe;
    margin: 10% auto; /* 15% from the top and centered */
    padding: 10px;
    border: 1px solid #888;
    width: 300px; /* Could be more or less, depending on screen size */
}

/* The Close Button */
.close {
    color: #aaa;
    float: right;
    font-size: 20px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.rek_box, .rek_box2, .rek_txt_area, .rek_box_haku {
    width:280px;
    height:20px;
    padding-left:5px;
    font-size:11px;
    outline:none;
    color:#000;
    background-color:#FFF;
    border:1px solid #a3a3a3;
    transition:0.2s;
    margin-left:5px;
}

.rek_box:focus, .rek_txt_area:focus, .rek_box_haku:focus {
	border:1px solid #892322;
	-webkit-box-shadow:0px 0px 5px 0px rgba(137, 35, 34, 0.4);
	-moz-box-shadow:0px 0px 5px 0px rgba(137, 35, 34, 0.4);
	box-shadow:0px 0px 5px 0px rgba(137, 35, 34, 0.4);
}

.rek_box2 {
	/*background-color:#f2f2f2;*/
	background-color:#f3e9e8;
}

.rek_txt_area {
	height:150px;
}

.rek_nappi {
    background-color:#892322;
    color:#FFF;
    border:none;
    height:30px;
    width:120px;
    font-size:15px;
    margin-left:5px;
    cursor:pointer;
	transition:0.2s;
}

#login_ylapopup {
    display:none;
    position:relative;
    margin-top:100px;
	margin-left:auto;
	margin-right:auto;
    padding:20px;
	width:230px;
    background-color: #fff;
    border:1px solid #aaa;
	z-index:1000;
	-webkit-box-shadow:0px 0px 10px 0px rgba(50, 50, 50, 0.4);
	-moz-box-shadow:0px 0px 10px 0px rgba(50, 50, 50, 0.4);
	box-shadow:0px 0px 10px 0px rgba(50, 50, 50, 0.4);
	z-index:9802;
}

#login_close {
    background:#892322;
    color: #FFFFFF;
    line-height: 25px;
    position: absolute;
    right: 0px;
    text-align: center;
    top: -1px;
    width: 24px;
    height:24px;
    text-decoration: none;
    font-weight: bold;
    /*-webkit-border-radius: 12px;
    -moz-border-radius: 12px;
    border-radius: 12px;*/
    /*-moz-box-shadow: 1px 1px 3px #000;
    -webkit-box-shadow: 1px 1px 3px #000;
    box-shadow: 1px 1px 3px #000;*/
    -webkit-transition: 0.2s;
    -moz-transition: 0.2s;
    -o-transition: 0.2s;
    -ms-transition: 0.2s;
    transition: 0.2s;
}

label.feedback {
	width:80px;
	display:block;
	float:left;
	font-size:11px;
	margin-left:0px;
	padding-top:4px;
}

.omalink {
	font-size:13px;
	margin-right:10px;
	margin-top:0px;
	margin-bottom:10px;
	border:1px solid #892322;
	display:inline-block;
	width:85px;
	text-align:center;
	padding-top:6px;
	height:20px;
	transition:0.2s;
	color:#892322;
	float:left;
}

.omalink_active {
	background-color:#892322;
	color:#FFF;
	font-size:13px;
	margin-right:10px;
	margin-top:0px;
	margin-bottom:10px;
	border:1px solid #892322;
	display:inline-block;
	width:90px;
	text-align:center;
	padding-top:6px;
	height:20px;
	transition:0.2s;
	float:left;
}

.omalink:hover {
	background-color:#892322;
	color:#FFF;
}

.otsikko {
    font-size: 11px;
}

.saatavuuskys {
	display:none;
}

.myymkuva {
	float:left;
	width:290px;
	margin-right:5px;
	margin-bottom:5px;
	border:1px solid #ccc;
}

.tilaus_kohde {
	border-bottom:1px solid #c3c1c1;
	position:relative;
	height:auto;
	margin-left:0px;
	margin-right:15px;
	padding:5px;
	width:570px;
}

.tilaus_kuva {
	position:relative;
	float:left;
	width:50px;
	height:50px;
	overflow:hidden;
	border:1px solid #828181;
	padding:5px;
	margin-right:0px;
}

.tilaus_kuva_alt {
	position: absolute;
    margin: auto;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
	max-height:50px;
	max-width:50px;
}

.tilaus_teksti {
	float:left;
	/*border:1px solid blue;*/
	height:50px;
	width:330px;
	padding:5px;
}

.tilaus_kpl {
	float:left;
	height:50px;
	width:26px;
	padding:5px;
	/*border:1px solid lightblue;*/
}

.tilaus_hinta {
	float:left;
	height:50px;
	width:120px;
	padding:5px;
	/*border:1px solid lightblue;*/
}

.tilaus_poista {
	float:left;
	/*border:1px solid lightgreen;*/
}

.tilaus_hinta_norm, .tilaus_hinta_orig {
	float:right;
	margin-right:10px;
	font-size:20px;
}

.tilaus_hinta_norm {
	font-weight:bold;
	font-size:11px;
}

.tilaus_hinta_orig {
	color:#c3c1c1;
	text-decoration:line-through;
	font-size:11px;
}

.tilaus_hinta_ale {
	float:left;
	margin-top:4px;
	margin-left:8px;
}

.tilaus_yhteensa {
	width:438px;
	height:auto;
	float:left;
	/*border:1px solid black;*/
	text-align:right;
	font-size:11px;
	font-weight:bold;
	padding-top:4px;
}

.varaus_poista, .varaus_uudista, .varaus_muokkaa {
	cursor:pointer;
}

.virhetxt {
	color:red;
	margin-left:10px;
}