body, html, div, blockquote, img, label, p, h1, h2, h3, h4, h5, h6, pre, ul, ol, li, dl, dt, dd, form, a, fieldset, input, th, td {
    margin: 0;
    padding: 0;
    border: 0;
    outline: none;
    overflow: hidden;
	font-size: 10pt;
}

input[type='number'] {
    -moz-appearance:textfield;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
}

body {
    background-color: #292B3A;
    color: #fff;
}

#content {
    font: 140% / 1.0em Arial, sans-serif;
    z-index: 1;
    width: 960px;
    height: 500px;
    left: 50%;
    top: 50%;
    margin: -250px 0 0 -480px;
    position: fixed;
}

h1 {
    background: url(logo.png) no-repeat 0 26px;
    font: 400% / 1.5em Arial, sans-serif;
    letter-spacing: 0;
    margin-bottom: 0;
    padding: 0 0 0 64px;
}

h1 span {
    font: 280% / 1.1em 'CuprumFFURegular', Arial, sans-serif;
	position: relative;
	margin-top: -60px;
}

h2 {
    color: #ffd700;
    font-size: 180%;
    line-height: 1.3em;
    margin: 0 0 16px 0;
	word-break: break-all;
	word-wrap: normal;
	width: 100%;
}

p {
    margin: 0 0 16px 0;
    padding: 0;
}

a {
    color: #ffd700;
    text-decoration: none;
}

a:hover {
    color: #A3A3C2;
    border: 0;
    text-decoration: none;
}

div#gallery a span {
    display: none;
}

div#gallery a:hover span {
    display: block;
    position: absolute;
    margin: -2px 0 0 70px;
    left: 0;
    width: 235px;
    padding: 5px;
    z-index: 100;
    color: #000;
    background: #C7C7D1;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    border-radius: 8px;
    -webkit-box-shadow: 4px 4px 6px #000000;
    -moz-box-shadow: 4px 4px 6px #000000;
    box-shadow: 4px 4px 6px #000000;
}

img {
    border: 0;
}
@font-face {font-family:
    'CuprumFFURegular';
    src:
    url('Cuprum-webfont.eot');
    src:
    local('?'), url('Cuprum-webfont.woff') format('woff'), url('Cuprum-webfont.ttf') format('truetype'), url('Cuprum-webfont.svg#webfont6Lm6xZOs') format('svg');
    font-weight: normal;
    font-style: normal;
}
@font-face {font-family:
    'BlackJackRegular';
    src:
    url('black_jack-webfont.eot');
    src:
    local('?'), url('black_jack-webfont.woff') format('woff'), url('black_jack-webfont.ttf') format('truetype'), url('black_jack-webfont.svg#webfontWY3rjNeL') format('svg');
    font-weight: normal;
    font-style: normal;
}

.inner {
    margin: 0 70px;
}

.left {
    float: left;
    padding-right: 10px;
    width: 390px;
}

.right {
    float: left;
    padding-left: 10px;
    width: 390px;
}

.pp_description {
    font: 180% / 1.5em 'CuprumFFURegular', Arial, sans-serif;
}

.references {
    background-color: #C7C7D1;
    float: left;
    height: 62px;
    width: 82px;
}

.copyright {
    float: left;
    border-top: 1px solid #fff;
    line-height: 2em;
    margin-top: 8px;
    width: 100%;
	text-align: left;
}

/* FORM */
.form {
    float: left;
    width: 100%;
}

.formLeft {
    float: left;
    line-height: 2em;
    margin-right: 10px;
    width: auto;
}

.formRight {
    float: left;
    line-height: 1.7em;
    width: auto;
}

p {
	font: 100%/1.1em Arial, sans-serif;
    padding: 0 1%;
	font-weight: bold;
} 

input, textarea {
	font: 130%/1.5em Arial Narrow, Arial, sans-serif;
    background-color: #C7C7D1;
    border: 2px solid #292B3A;
    padding: 0 5px;
}
/*
input {
    width: 200px;
}
*/
textarea {
    margin-top: 2px;
    height: 110px;
    width: 260px;
}

input[type = text]:focus, input.text:focus, input.title:focus, textarea:focus, select:focus {
    background-color: #292B3A;
    border: 2px dashed #fff;
    color: #fff;
}

.submit {
    border: 2px solid #C7C7D1;
    color: #fff;
    font-weight: bold;
    letter-spacing: 1px;
    width: auto;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    border-radius: 8px;
    background-color: #292B3A;
}

#prevBtn, #nextBtn {
    margin: 0;
    padding: 0;
    display: block;
    overflow: hidden;
    text-indent: -8000px;
}

#slider {
    margin-top: 0;
	height: 100%!important;
}

#slider ul {
    margin: 0;
    padding: 0;
}

#slider li {
    margin: 0;
    padding: 0;
    list-style: none;
}

#slider li {
    margin: 0;
    padding: 0;
}

#slider li {
    float: left;
    width: 960px;
    height: 310px;
    overflow: hidden;
}

#prevBtn {
    display: block;
    width: 48px;
    height: 48px;
    position: absolute;
    left: 0;
    top: 50%;
}

#nextBtn {
    display: block;
    width: 48px;
    height: 48px;
    position: absolute;
    right: 0;
    top: 50%;
}

#prevBtn a {
    display: block;
    width: 48px;
    height: 48px;
    background: url(prev.png) no-repeat 0 0;
    opacity: .60;
    filter: alpha(opacity = 60);
    -moz-opacity: 0.60;
}

#nextBtn a {
    display: block;
    width: 48px;
    height: 48px;
    background: url(next.png) no-repeat 0 0;
    opacity: .40;
    filter: alpha(opacity = 40);
    -moz-opacity: 0.40;
}

#prevBtn a:hover {
    opacity: 1.0;
    filter: alpha(opacity = 100);
    -moz-opacity: 1.0;
}

#nextBtn a:hover {
    opacity: 1.0;
    filter: alpha(opacity = 100);
    -moz-opacity: 1.0;
}

div.link   {color: #444444; font-size:80%; text-decoration: none; text-align: center; width:600px; }
div.link a {color: #444444; font-size:80%; text-decoration: none; text-align: center; width:600px;}



p.oplata {margin: 5% 0;}
p.oplata input {width: auto; margin: 2% 2%;}
.stopr {width: 100%;}
.selbook { width: auto; margin: 0 1%;}
.blselbook {margin: 2% 0}
.selpodr {color:#828bd9; margin: 0 0 0 5%;}
.selbuyrb {color:#c7c7d1;}


input::-webkit-input-placeholder { /* WebKit browsers */
    color:    #444;
}
input:-moz-placeholder { /* Mozilla Firefox 4 to 18 */
    color:    #444;
}
input::-moz-placeholder { /* Mozilla Firefox 19+ */
    color:    #444;
}
input:-ms-input-placeholder { /* Internet Explorer 10+ */
    color:    #444;
}
h3 {font-size: 120%; color: #828bd9; }

.selbookname {color: #ffd700; font-size: 110%;}

.smlprice {font-weight: normal; color: #ccc;}


@media screen and (min-width: 1px) and (max-width: 950px)    { 

html { overflow: scroll; }

#content {
    width: auto;
    height: auto;
    left: 0;
    top: 0;
    margin: 0;
    position: inherit;
}
.mobile { clear: both; padding: 2% 0;}

#slider li {
    height: 100%;
}

.copyright {
    float: none;
    border-top: 1px solid #fff;
    line-height: 2em;
    margin-top: 8px;
    width: 100%;
    text-align: center;
}


}

@media screen and (min-width: 1px) and (max-width: 700px)    { 
h1 {
    background: url(logo.png) no-repeat 0 26px;
    font: 300%/1.5em Arial, sans-serif;
    letter-spacing: 0;
    margin-bottom: 0;
    padding: 0 0 0 64px;
}
}



@media screen and (min-width: 1px) and (max-width: 400px)    { 
.left {    width: 180px;}
.right {    width: 180px; float: left;}
body, html, div, blockquote, img, label, p, pre, ul, ol, li, dl, dt, dd, form, a, fieldset, input, th, td {
	font-size: 6pt;
}
h1 {
    background: url(logo.png) no-repeat 0 40px;
    font: 240%/1.5em Arial, sans-serif;
    letter-spacing: 0;
    margin-bottom: 0;
    padding: 0 0 0 64px;
}
h2 {font-size: 150%}
}



@media screen and (min-width: 401px) and (max-width: 500px)    { 
.left {    width: 300px;}
.right {    width: 300px; float: left;}
body, html, div, blockquote, img, label, p, pre, ul, ol, li, dl, dt, dd, form, a, fieldset, input, th, td {
	font-size: 9pt;
}
h1 {
    background: url(logo.png) no-repeat 0 40px;
    font: 240%/1.5em Arial, sans-serif;
    letter-spacing: 0;
    margin-bottom: 0;
    padding: 0 0 0 64px;
}
h2 {font-size: 150%}
}

.imgbookleft, .imgbookright { width: 50%; float: left;}

@media screen and (max-width: 499px)    { 
.imgbookleft, .imgbookright { width: 100%; float: none;}
}


/* Yandex pay form */
.yandexpay {width: 100%; max-width: 100%; background: #fefefe; text-align: center; margin: 0 auto; border: 1px solid #f2f2f2; font: 10pt "Arial", sans-serif; padding: 1% 0; color: #000; border-radius: 8px;}
.yandexpay .ya_raw {width: 98%; clear:both; display: inline-block; padding: 1% 1%;}
.yandexpay .ya_left {width: 40%; float: left; text-align: right; padding: 0 1%; font-weight: bolder; hyphens: none;}
.yandexpay .ya_right {width: 60%; float: left; text-align: left; padding: 0 1%; hyphens: none;}

.yandexpay .ya_col0 {width: 23%; float: left; text-align: left; padding: 0 1%; hyphens: none;}
.yandexpay .ya_col {width: 23%; float: left; text-align: left; padding: 2% 1% 0 0; hyphens: none;}

.yandexpay input {border: 1px solid #d4d0ba;}
.yandexpay input.y_sum {width: 46px; background: #ffffff; }
.yandexpay .AC, .yandexpay .MC, .yandexpay .PC {
	display: inline-block;
    background-position: 50%;
    background-repeat: no-repeat;
	background-size: contain;
    vertical-align: middle;
    position: relative;
    top: -1px;
    width: 70px;
    height: 18px;
}
.yandexpay .AC { background-image: url(../images/visa-mastercard.svg); }
.yandexpay .MC { background-image: url(../images/phone.svg); }
.yandexpay .PC { background-image: url(../images/yandex.svg); }
.yandexpay .y_radio { padding: 2% 0;}
.yandexpay .y_button {background: #fc0; font-size: 15px; line-height: 32px; border:0; width: 98%; font-weight: bolder; }



@media screen and (max-width: 501px)    { 
.yandexpay .ya_col0 {width: 100%; float: left; text-align: center; }
.yandexpay .ya_col  {width: 100%; float: left; text-align: center; }
}