/*
Theme Name: samelin
Theme URI: http://samelin.ee
Author: Sander Sats
Author URI: http://newtime.ee

*/

/* Reset default browser styles */
@import url('style/reset.css');

/* Rebuild default browser styles */
@import url('style/rebuild.css');

/* Basic WordPress Styles */
@import url('style/wp.css');

@font-face {
    font-family: 'chevll';
    src: url('style/font/chevl0.eot');
    src: url('style/font/chevl0.eot?#iefix') format('embedded-opentype'),
         url('style/font/chevl0.woff') format('woff'),
         url('style/font/CHEVL___0.TTF') format('truetype'),
         url('style/font/chevl0.svg#chevl0') format('svg');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'chevlm';
    src: url('style/font/chevm0.eot');
    src: url('style/font/chevm0.eot?#iefix') format('embedded-opentype'),
         url('style/font/chevm0.woff') format('woff'),
         url('style/font/CHEVM___0.TTF') format('truetype'),
         url('style/font/chevm0.svg#chevm0') format('svg');
    font-weight: bold;
    font-style: normal;
}
@font-face {
    font-family: 'chevlDB';
    src: url('style/font/chevdb.eot');
    src: url('style/font/chevdb.eot?#iefix') format('embedded-opentype'),
         url('style/font/chevdb.woff') format('woff'),
         url('style/font/CHEVDB_.TTF') format('truetype'),
         url('style/font/chevdb.svg#chevdb') format('svg');
    font-weight: bold;
    font-style: normal;
}


/* Defaults */
body {
	background: url(style/img/background_html.jpg) repeat top center;
	font-family: chevll;
}
a {
	text-decoration: none;
}

h1,h2,h3,h4,h5,h6 {
	font-family: chevll;
	letter-spacing: 1px;
}
#content h1 {
	font-size: 32px;
	margin:20px 0;
	font-weight: normal;
}
#content h2,#content h3 {
	font-size: 22px;
	margin: 15px 0;
	font-weight: bold;
}
#content h3 {
	font-weight: normal;
}
#content h4,#content h5 {
	font-size: 16px;
	margin:10px 0;
	font-weight: bold;
}
#content h5 {
	font-weight: normal;
}
#content p {
	font-size: 14px;
	/*margin-top: -1px;*/
	margin-bottom: 5px;
}
.widget-title {
	font-size: 22px;
	margin:5px 0;
	font-weight: bold;
}
.textwidget {
	font-size: 14px
}

#content a {
	font-weight: bold;
	color: #C0A246
}
#content ul{
	list-style-type: none;
	margin: 5px 0;
}

#content ul ul,#content ol ol,#content ul ol,#content ol ul {
	margin-left: 10px
}
#content li {
	background: url(style/img/menu_list_type.png) no-repeat 0 7px;
	padding-left: 15px;
}
#content img {
	border: 1px solid #ccc;
}
#content {
	font-size: 14px;
}

#content table th,#content table td {
	border: 1px solid #ccc;
	padding: 5px;
}

/* Main structure */
#wrap {
	width: 985px;
	margin: 13px auto;
	border: 2px solid #00233E;
	outline: 1px dashed #fff;
	background-color: #fff;
}

#header {
	position: relative;
	height: 112px;
}
#content-area {
	background: url(style/img/background_body.jpg) no-repeat bottom center;
}
#aside {
	width: 225px;
	margin-left: 20px;
	padding-left: 10px;
	padding-right: 13px;
	float:left;
	background-color: rgba(255,255,255,.5);
	margin-bottom: 50px;
}
#content {
	width: 657px;
	padding: 10px;
	padding-left: 20px;
	position: relative;
	margin-right: 20px;
	float:right;
	margin-bottom: 50px;
	background-color: rgba(255,255,255,.5);
	margin-top: -2px;
}
#content.full-content{
	width: 915px;
}
#footer {
	position: relative;
	background: #E0E0E0 url(style/img/logo_footer.png) no-repeat 390px 10px ;
	height: 60px;
}

/* Header */
#header h1 {
	position: absolute;
	top: 23px;
	left: 28px;
}
#hide-main-menu {
	display: none;
}
#main-menu {
	font-family: chevlm;
	position: absolute;
	left: 262px;
	top:-2px;
}
#main-menu li {
	float: left;
	margin: 0 8px;
}
#main-menu a {
	display: block;
	float: left;
	padding: 40px 16px 23px 16px;
	font-size: 20px;
	text-decoration: none;
	border: 1px dashed transparent;
	outline: 2px solid transparent;

}

#main-menu a:hover, #main-menu .active a, #hide-main-menu:hover {
	background-color: #002642;
	border: 1px dashed #fff;
	border-top: none;
	outline: 2px solid #00233E;
	color: #F7D159;
}


#main-menu .current-menu-item a{
	background-color: #002642;
	border: 1px dashed #fff;
	border-top: none;
	outline: 2px solid #00233E;
	color: #F7D159!important;
}

#select-language {
	position: absolute;
	right: 52px;
	top: 39px;
	background: #DCDCDC url(style/img/lang_arrow.png) no-repeat right top;
	/*width: 50px;*/
	border: 1px solid #666;
	border-radius: 3px;
	padding: 0px 5px;
	cursor: pointer;
	overflow: hidden;
}
#select-language img {
	margin-left: 2px
}
#select-language:hover li {
	display: block;
}

#select-language li:hover {
	background-color: #ccc;
}
#select-language li{
	margin: -1px -5px;
	margin-bottom: -2px;
	display: none;
	padding: 0 32px  0 4px;
}

#select-language li:first-child{
	display: block;
	background: #DCDCDC url(style/img/lang_arrow.png) no-repeat right top !important;
}


/* Pop-up */
#overlay_form{
position: absolute;
outline: 2px solid #00233E;
color: #F7D159;
padding: 10px;
background: white;
z-index: 10000;
}
#popup-trigger{
}


/* Aside */
#aside h1, #sub-menu a:hover {
	background-color: #F7D159;
}

#aside .current-menu-item > a{
	background-color: #F7D159;
}

.sub-menu {
	display: none;
}

.current-menu-ancestor .sub-menu {
	display: block;
}

.current-menu-item .sub-menu {
	display: block;
}

#menu-sum{
	display: none;
	letter-spacing: 1px;
	padding: 6px 5px;
	text-decoration: none;
	background-color: #fff;
	text-align: center;
	text-transform: uppercase;
	border: 1px solid #ccc;
	cursor: pointer;
}
#menu-sum:hover,#menu-sum.active{
	background-color: #a8a8a8;
}
#sub-menu li {
	margin: 2px 0;
}
#sub-menu li > a {
	display: block;
	letter-spacing: 1px;
	border-radius: 3px;
	padding: 6px 5px;
	text-decoration: none;
	background-color: #fff;
	text-align: center;
	text-transform: uppercase;
	border: 1px solid #ccc;
}
#sub-menu ul {
	border: 1px solid #ccc;
	font-size: 14px;
	letter-spacing: 0px;
	margin-top: -1px;
	border-top: none;
	background-color: #FFFFFF;
}
#sub-menu ul li {
	margin: 0;
}
.sub-menu {
	background: transparent;
}
#sub-menu ul li:nth-child(even) {
	background-color: #EEEEEE;
}
#sub-menu ul a {
	padding: 3px 0;
	padding-left: 20px;
	text-align: left;
	border:none;
	text-transform: none;
	background: url(style/img/menu_list_type.png) no-repeat 6px center;
}

#searchform {
	margin-top: 11px;
	margin-bottom: 10px;
}
#s{
	float: left;
	border: 1px solid #ccc;
	border-right: none;
	font-size: 16px;
	font-family: inherit;
	padding: 4.5px 4px;
	padding-left: 11px;
	width: 174px;
	margin: 0;
}

#searchsubmit {
	display: block;
	width: 35px;
	height: 35px;
	text-indent: 99px;
	background: #F7D159 url(style/img/search_icon.png) no-repeat center;
	border: 1px solid #ccc;
	border-left: none;
	float: left;
	/*margin-top: 2px;*/
	cursor: pointer;
}

#basket {
	/*margin-top: 10px;*/
	margin-bottom: 10px;
	border: 1px solid #ccc;
	border-radius: 3px;
	background-color: #fff;
}
#basket-sum{
	text-align: center;
	padding: 7px;
	text-transform: uppercase;
	font-weight: normal;
	background-color: #F7D159;
	display: none;
}
#basket ul {
	margin: 5px 0;
	font-size: 12px;
	letter-spacing: 1px;
}
#basket li {
	display: block;
	padding: 5px 10px;
}
#basket li:hover{
	background-color: #F7D159;
}
#basket h1 {
	text-align: center;
	padding: 7px;
	text-transform: uppercase;
	font-weight: normal;
}
#basket .price {
	border-top: 1px solid #ccc;
	border-bottom: 1px solid #ccc;
	padding: 3px 5px;
	text-transform: uppercase;
}
#basket .more {
	text-align: center;
}
#basket .more a{
	text-decoration: none;
}
#basket .more a:hover{
	color: #C0A246;
}


/* Content */
#content h1.headline {
/*	text-transform: uppercase;*/
	font-size: 32px;
	margin-top:-15px;
	margin-bottom: 20px;
	font-weight: normal;
}
#content h2.headline {
	margin: 0;
}
#content.basket h1 {
	text-transform: none;
	margin-left: -5px;
	letter-spacing: -1px;
}
#content #img-gallery {
	float:left;
	width: 358px;
}
#content .preview {
	text-align: center;
	background-color: #fff;
	border: 1px solid #ccc;
}

#preview-img {
	width: 356px;
}

#preview-img img {

	height: 236px;
}
#content #img-gallery ul {
	margin: 7px -7px 0 -3px;
}
#content #img-gallery li {
	float: left;
	padding: 0;
	background: #fff;
	margin: 4px;
}
#content #img-gallery img {
	border: none;
}

#content .description {
	width: 296px;
	float:right;
}
#content .description h2{
	text-transform: uppercase;
	font-weight: normal;
	font-size: 1em;
	letter-spacing: 0;
	margin-bottom: 5px;
	margin-top: 6px;
}
#content .description ul{
	margin: 0 0 10px 7px;
}
#content .description li, #content .materials li {
	padding: 0;
	background: none;
	float: left;
	width: 35px;
	height: 35px;
	overflow: none;
	border-radius: 8px;
	background-color: #7D7E7E;
	margin: 4px 4px;
	position: relative;
}
#content .description li img.preview{
	border-radius: 3px;
	border: none;
	width: 35px;
	height: 35px;
}
#content .description li span.tooltip{
	/*background: url(style/img/arrow_tooltip.png) center bottom no-repeat;*/
	display: none;
	width: 90px;
	position: absolute;
	top: -35px;
	left: -44px;
	z-index: 999;
	font-weight: normal;
	color: #151515;
	text-align: center;
	margin: auto;
	background: #fff;
	border: 1px solid #ccc;
	padding: 4px 15px;
}
.tooltip span{
	position: absolute;
	bottom: -5px;
	left: 57px;
	z-index: 9999;
}

.tooltip-arrow {
	border: none !important;
	width: 8px;
	height: 5px;
}

#thumbnail-list li {
	width: 83px;
	text-align: center;
}

#thumbnail-list img {
	height: 56px;

}
#thumbnail-list li:hover {
	cursor: pointer;
}
#color-picker li:hover {
	cursor: pointer;
}

#content .description li:hover span{
	display: block;
}
#content .description table {
	margin-left: 6px;
}
#content .description > table {
	border: none;
	margin-top: -5px;
}
#content .description table th{
	border: none;
	padding: 0;
	width: 90px;
	text-transform: uppercase;
	text-align: right;
	font-weight: normal;
	padding-right: 5px;
}
#content .description table td{
	border: none;
	padding: 0;
	padding-top: 3px;
	padding-left: 6px;
	line-height: 1.4em;
	font-size: 0.9em;
	padding-bottom: 8px;
}


/* Footer */
#footer p {
	padding-top: 17px;
	color: #777;
	padding-left: 25px;
}
#footer-menu {
	position: absolute;
	right: 13px;
	top: 18px;
}
#footer-menu li {
	float: left;
	margin: 0 10px;
}
#footer-menu a {
	display: block;
	text-decoration: none;
	color: #777;
	float: left;
}
#footer-menu a:hover {
	color: #000;
}



/* Sisu.html */
#product-list > li {
	background: none;
	padding: 20px 0;
	padding-left: 10px;
}
#product-list {
	margin-top: -25px;
	margin-left: -16px;
	margin-right: -11px;
}
#product-list > li:nth-child(even) {
	background-color: #E5E5E5
}
.product-description{
	float:right;
	width: 342px;
	margin-top: -5px;
	/*padding-right: 20px;*/
}
#content .product-description .materials {
	margin: 5px 0;
	margin-bottom: 10px;
}
#content .product-description .materials li img{
	border: none
}
#content .product-description .materials li{
	width: 26px;
	height: 25px;
	margin: 0 2px;
	border-radius: 5px;
}
.product-image {
	width: 300px;
	float:left;
	text-align: center;
	background: #fff;
}

.product-image img {
	height: 160px;
}
#product-list img {
	border: 0;
}
#product-list a {
	padding: 0;
}
/*#product-list a:hover {
	background-color: #F7D159;
	color: #000;
}*/
#product-list h2 {
	font-weight: normal;
	text-transform: uppercase;
	font-size: 14px;
	margin: 0;
}


/* Index.html */
#slide-show {
	border: 1px solid #c2c2c2;
	padding: 10px 10px 3px;
	margin-top: -5px;
	position: relative;
	height: 282px;
}
#slide-show div{
	overflow: hidden;
	width: 635px;
	height: 257px;
	position: relative;
}
#slide-show ul{
	position: absolute;
	left: 0;
	overflow: hidden;
}
#content div#slide-show li{
	background: none;
	padding: 0;
	float: left;
}
#content div#slide-show img{
	border: none;
}
/*slide-show buttons*/
#slide-show ul#slide-buttons{
	text-align: center;
	bottom: 10px;
	right: 0;
	margin: auto;
	width: 102px;
	top: auto;
}
#content ul#slide-buttons li{
	background: #8e8e8e;
	border-radius: 5px;
	cursor: pointer;
	display: inline-block;
	/*float: left;*/
	height: 10px;
	width: 10px;
	margin-top: 4px;
	margin-right: 2px;
	margin-left: 2px;
}
#content ul#slide-buttons li.active-slide{
	background: #484848;
}
#slide-buttons span{
	display: none;
}
/*news*/
#news{
	display: block;
	margin-top: 30px;
}
#news div{
	float: left;
	width: 295px;
	margin-right: 33px;
}
#content div#news h1{
	color: #002642;
	text-transform: uppercase;
	font-size: 16px;
	font-weight: bold;
	margin-top: 0;
	margin-bottom: 10px;
}

#news a {
	color: #002642;
	font-size: 16px;
	font-weight: bold;
}
#news img{
	margin-top: 5px;
}


/* kategooria.html */
ul#categorie-list{
	margin-top: -10px;
}
#categorie-list li{
	background: #fff;
	padding: 0;
	float: left;
	border: 1px solid #c7c7c7;
	margin: 5px;
}
#categorie-list a{
	border: 1px solid #ebeced;
	text-align: center;
	display: block;
	color: #000;
	text-transform: uppercase;
	height: auto;
	width: 210px;
	font-weight: normal;
}
#categorie-list img{
	border: none;
	padding: 7px 10px 0;
}
#categorie-list h1{
	font-size: 16px;
	margin-top: 4px;
	margin-bottom: 9px;
	word-wrap:break-word;
	height: 34px;
	overflow: hidden;
}
#categorie-list span{
	background: #f7d159;
	font-size: 16px;
	display: block;
	padding: 12px 0;
}


/* Pood.html */
select {
	background-color: #fff;
	border: 1px solid #ccc;
	padding: 1px;
}
#content p.addquanity{
	margin-bottom: 0;
}
.addquanity {
	position: relative;
	float: left;
	width: 105px;
	height: 43px;
}
.addquanity input {
	border: 1px solid #ccc;
	width: 35px;
	font-family: inherit;
	padding: 5px;
	border-radius: 3px 0 0 3px;
	font-size: 18px;
	padding-right: 35px;
	padding-left: 35px;
	text-align: center;
	margin: 0;
}
.addquanity button {
	background-color: #fff;
	width: 35px;
	height: 35px;
	border: 1px solid #ccc;
	position: absolute;
	border-radius: 0 3px 3px 0 0;
	cursor: pointer;
	color: transparent;
}
.addquanity button.addMore {
	border-top: none;
	border-bottom: none;
	border-right: none;
	right: 0;
	top: 0;
	background: url(style/img/pluss.png) no-repeat center center;
}
.addquanity button.addMore:hover{
	background: url(style/img/pluss_hover.png) no-repeat center center;
}
.addquanity button.addLess {
	top: 0;
	left: 0;
	background: url(style/img/minus.png) no-repeat center center;
	border-bottom: none;
	border-top: none;
	border-left: none;
}
.addquanity button.addLess:hover{
	background: url(style/img/minus_hover.png) no-repeat center center;
}
.addBasket {
	font-size: 18px;
	font-family: inherit;
	text-transform: uppercase;
	padding: 4px 10px;
	padding-right: 30px;
	background: #F7D159 url(style/img/add_to_cart.png) no-repeat 145px 8px;
	border: 1px solid #ccc;
	cursor: pointer;
	/*margin-left: 15px;*/
	margin: 0;
	float: left;
}
table .price {
	color: #7C9A04;
	font-size: 26px;
	text-transform: uppercase;
}
table .price td {
	color: #000;
}

/* Pood2.html */
#content .login, #content  .registration,#content .backToShop,#content .quest {
	text-transform: uppercase;
	font-weight: normal;
	background-color: #F7D159;
	font-size: 18px;
	color: #000;
	padding: 5px 24px;
	position: absolute;
	right: 27px;
	top: 4px;
	border-bottom: 1px solid #d7a817;
	border-right: 1px solid #d7a817;
	border-top: 1px solid #DBD4BF;
	border-left: 1px solid #DBD4BF;
	cursor: pointer;
}
#content .login:hover, #content  .registration:hover,#content .backToShop:hover,#content .quest:hover {
	background-color: #d7a817;
}
#basket-list {
	margin: 0 -12px;
	margin-bottom: 15px;

}
#basket-list h2 {
	font-size: 18px;
	font-weight: normal;
	width: 160px;
}
#basket-list .prev-image img{
	border: 1px solid #ccc;
	max-width: 148px;
	max-height: 98px;
}
#basket-list .prev-image {
	float: left;
	width: 150px;
	height: 100px;
	overflow: hidden;
	text-align: center;
	margin-top: 9px;
}
#basket-list li {
	background: none;
	position: relative;
	border: 1px solid transparent;
	padding: 14px 11px;
}
#basket-list li:hover {
	border: 1px solid #ccc;
	background-color: #efefef;
}
#basket-list .remove {
	display: none;
	cursor: pointer;
}
#basket-list li:hover .remove {
	display: block;
}
#basket-list li span.info {
	float: right;
	width: 470px;
	margin-top: 7px;
}
#basket-list .addquanity {
	margin-left: -5px;
	margin-top: 5px;
	margin-right: 40px;
}
#content #basket-list th, #content #basket-list td {
	padding: 0; border: 0;
}
.toprow {
	border-bottom: 1px solid #ccc;
	padding: 0 10px;
	padding-bottom: 7px;
	height: 30px;
	display: block;
}
.bottom-row{
	margin-top: 8px;
	color: #999;
	font-size: 14px;
	padding-left: 10px;
	display: block;
}
.toprow h2, .bottom-row select {
	float:  left;
}
.bottom-row select{
	margin-top: 14px;
	margin-right: 40px;
}
.bottom-row .product-info{
	margin-top: 6px;
	width: 60px;
	line-height: 1.3em;
}
.bottom-row table tr:first-child{
	height: 30px;
}
#content .product-info a{
	font-weight: normal;
}
 .toprow select {
 	background-color: #fff;
 	margin-left: 3px;
 	width: 60px;
 }
.toprow .price {
	text-transform: uppercase;
	font-size: 18px;
	float: right;
	width: 124px;
}
.toprow .price span {
float:right
}
.product-info {
	float:left;
	line-height: 1.8em;
	color: #999;
}
.product-info a{
	color: #CFB974;
	font-weight: normal;
}
#basket-list li .remove {
	position: absolute;
	right: -13px;
	top: -12px;
	background: url(style/img/close.png) no-repeat center;
	border: none;
}
#basket-list h2 {
	font-weight: normal;
}
#basket-list table {
	color: #999;
	font-size: 12px;
	float: right;
	width: 135px;
}
#basket-list th {
	text-align: left;
}
#basket-list th, #basket-list td {
	padding: 5px 0;
}
#order-confirm {
	text-transform: uppercase;
	background-color: #F7D159;
	font-size: 18px;
	padding: 5px 25px;
	border-bottom: 1px solid #d7a817;
	border-right: 1px solid #d7a817;
	border-top: 1px solid #DBD4BF;
	border-left: 1px solid #DBD4BF;
	cursor: pointer;

}
#order-confirm:hover{
	background-color: #d7a817;
}
#kupong {
	width: 300px;
	border: 1px solid #ccc;
	padding: 8px;
	font-family: inherit;
	font-weight: normal;
}
#submitKupong {
	background-color: #F7D159;
	border: none;
	font-size: 18px;
	border: 1px solid #ccc;
	padding: 5px 7px 5px 7px;
	font-family: inherit;
	display: inline-block;
	position: absolute;
	top:0px;
	cursor: pointer;
	font-weight: normal;
}
#content .totalprice {
	text-align:right;
	margin-top:-38px;
	margin-bottom:30px;
	text-transform: uppercase;
	font-size: 18px;
}




.register {
	padding-right: 10px;
	font-size: 18px;
	color: #888;
}
.register th,.register td{
	padding: 9px 0;
	padding-bottom: 6px;
}
.register input, .register select {
	border: 1px solid #ccc;
	padding: 8px;
	width: 365px;
	display: block;
	margin: 2px 0;
}
.register select {
	width: 383px;
}

.register th {
	width: 255px;
}
#content .login-area {
	margin: 44px 0;

}
#content .login, #content .registration, #content .quest {
	margin-right: 25px;
	margin-bottom: 25px;
	position: static;
	text-transform: uppercase;
	color: #000;

}
#content .login {
	background-color: #85ADCB;
	border-top: 1px solid #cbdce9;
	border-right: 1px solid #477da7;
	border-bottom: 1px solid #477da7;
	border-left: 1px solid #cbdce9;
}
#content .login:hover {
	background-color: #477da7;
}
input[type="checkbox"] {
	width: auto;
}

#content .registration{
	background-color: #A8A8A8;
	border-top: 1px solid #dadada;
	border-right: 1px solid #777;
	border-bottom: 1px solid #777;
	border-left: 1px solid #dadada;
}
#content .registration:hover{
	background-color: #777;
}
#content table.register th, #content table.register td {
	border: none;
	padding: 0;
}

/*responsive*/
@media only screen and (max-width: 1000px){
	/*basic*/
	#wrap{
		width: 748px;
	}
	/*header*/
	#header {
		height: 175px;
	}
	#header h1{
		top: 100px;
	}
	#main-menu{
		left: 25px;
	}
	#main-menu a{
		font-size: 20px;
		font-weight: normal;
		padding: 30px 10px 13px 10px;
	}
	/*side*/
	#sub-menu{
		margin-bottom: 10px;
		display: block;
	}
	#aside {
		margin-left: 10px;
	}
	/*content*/
	#content {
		padding: 10px;
		width: 460px;
		margin-right: 10px;
	}
	#content img {
		max-width: 450px;
	}
	#content.full-content{
		width: 678px;
	}
	/*footer*/
	#footer{
		background: #E0E0E0;
	}
	#footer-menu{
		display: none;
		/*position: initial;
		padding-left: 9px;*/
	}

	/*index.html*/
	#slide-show{
		display: none;
	}
	#news{
		margin-top: 0;
	}
	#news div{
		float: none;
		width: auto;
	}
	#news div:first-child{
		margin-bottom: 30px;
	}
	/*toode.html*/
	#content #img-gallery {
		float: none;
	}
	#content .description {
		width: auto;
		float: none;
	}
	#content .description ul {
		margin-left: 0;
	}
	/*sisu.html*/
	#vslider_optionscontainer {
		display: none;
	}
	.product-description{
		float: none;
	}
	.one_half {
		float: none!important;
	}
	/*pood.html*/
	.addBasket {
		margin-left: 15px;
	}
	#content .description > table{
		margin-top: 0;
	}
	/*pood3.html*/
	#content .login, #content .registration, #content .backToShop, #content .quest{
		position: relative;
		left: 1px;
		display: inline-block;
	}
	#content .backToShop{
		position: relative;
	}
	#content table.register th, #content table.register td{
		display: block;
		float: left;
	}
	/*pood2.html*/
	#basket-list .prev-image,#basket-list li span.info{
		float: none;
	}
	#content ul#basket-list{
		margin-top: 20px;
	}
	#content .totalprice{
		text-align: left;
		margin-top: 0;
	}
	.bottom-row select,#basket-list .addquanity{
		margin-right: 15px;
	}
	.toprow .product-info{
		width: 90px;
		line-height: 1.4em;
		margin-top: -5px;
	}


}
@media only screen and (min-width: 768px){
	#sub-menu{display: block !important;}
}
@media only screen and (max-width: 767px){

	#wrap{
		width: 480px;
	}
	/*header*/
	#header {
		height: 185px;
		width: 100%;
		-webkit-transition-duration: 0.3s;
	  -moz-transition-duration: 0.3s;
	  -o-transition-duration: 0.3s;
	  transition-duration: 0.3s;
	}
	#header.with-menu {
		height: 710px;
	}
	#header h1{
		top: 20px;
	}
	#select-language{
		top: 115px;
		right: 35px;
	}
	/*main-menu*/
	#hide-main-menu {
		font-family: chevlm;
		margin: 0 8px;
		padding: 40px 16px 23px 16px;
		font-size: 20px;
		text-decoration: none;
		border: 1px dashed transparent;
		outline: 2px solid transparent;
		position: absolute;
		top: 70px;
		display: block;
		margin: 10px;
		width: 420px;
		height: 40px;
		text-align: center;

		-webkit-transition-duration: 0.3s;
	  -moz-transition-duration: 0.3s;
	  -o-transition-duration: 0.3s;
	  transition-duration: 0.3s;
	}
	#main-menu-container {
		position: relative;
		height: 0px;
		overflow: hidden;
		top: 185px;
		-webkit-transition-duration: 0.3s;
	  -moz-transition-duration: 0.3s;
	  -o-transition-duration: 0.3s;
	  transition-duration: 0.3s;
	}
	#main-menu-container.visible {
		height: 525px;
	}
	#main-menu {
		position: relative;
		top: 0px;
		left: 0px;
	}
	#main-menu li a{
		margin: 10px;
		width: 420px;
		height: 40px;
		text-align: center;
	}
	#main-menu a:hover, #main-menu .current-menu-item a, #hide-main-menu:hover {
		border-top: 1px dashed #fff;
	}
	#hide-main-menu:hover {
  cursor: pointer;
}
	/*side*/
	#aside {
		width: 440px;
		margin-bottom: 10px;
	}
	#s {
		width: 381px;
	}
	aside h3, aside div, aside div p {
		float: left;
	}
	aside div {
		margin: 13px 10px;
	}
	aside p {
		margin-bottom: 5px;
	}
	#sub-menu{
		width: 420px;
		padding: 5px;
		background: #f8f8f8;
		border: solid 1px #999;
	}

	#sub-menu ul li {
		height: 27px;
		width: 418px;
	}
	#search-area{
		display: none;
	}
	#basket{
		margin-top: 10px;
	}
	#basket-sum{
		display: block;
	}
	#basket h1,#basket ul,#basket p{
		display: none;
	}
	/*content*/
	#content {
		width: 480px;
		padding: 0;

		margin: auto;
	}
	#content h1{
		font-size: 20px;
		margin-left: 10px;
	}
	#content p {
		margin-left: 10px;
	}
	#content table {
		max-width: 100%;
	}
	#content.full-content{
		width: 410px;
	}
	/*footer*/
	#footer p{
		font-size: 14px;
	}
	#footer-menu{
		display: none;
	}

	/*toode.html*/
	#content #img-gallery{
		width: auto;
	}
	#content #img-gallery img{

	}
	#content .description{
		margin: 10px 0
	}
	#content .description li, #content .materials li{
		margin: 4px;
	}
	#content .description table th{
		width: auto;
	}
	/*pood.html*/
	.addBasket {
		margin-left:0;
	}

	/*pood2.html*/
	#basket-list .prev-image img,.product-info,#basket-list table{
		display: none;
	}
	.toprow{
		border: none;
	}
	#basket-list h2{
		margin-bottom: 10px;
	}
	.toprow h2, .bottom-row select,.toprow .price{
		float: none;
		display: block;
		margin-left: 0;
	}
	.bottom-row{
		display: block;
		padding-top: 10px;
		margin-left: 5px;
	}
	.bottom-row select{
		margin-left: -5px;
	}
	#kupong {
		width: 160px;
	}
	/*pood3.html*/
	#content .login, #content .registration, #content .backToShop, #content .quest{
		display: block;
		text-align: center;
	}
	#content .backToShop {
		width: 155px;
	}
	.register input, .register select{
		width: 200px;
	}
	.register select{
		width: 218px;
	}
	/*sisu.html*/
	#content .product-description .materials{
		display: none;
	}
	#categorie-list li{
		margin-left: 3px;
	}
}

/* later added styles */

#content #img-gallery img {
	max-width: 100%;
}
