body {
    line-height: 1.8em;
    font-family:Roboto, sans-serif;
    font-size:0.8em;
    margin: 0;
    padding: 0;
    color: #000;
    height:100%;
    overflow-y: scroll;
}
html {
    height:100%;

}
a, a:visited{
    display: block;
    text-decoration: none;
    color: #e8eaff;
}
a:hover{
    text-decoration: none;
}
#container{
    position:relative;
    width: 980px;
    background: #e8eaff;
    margin: 0 auto; /* При указании автоматического значения по сторонам в совокупности с шириной макет будет центрироваться. */
    -moz-box-shadow: 0 0 10px rgba(0,0,0,0.5); /* Для Firefox */
    -webkit-box-shadow: 0 0 10px rgba(0,0,0,0.5); /* Для Safari и Chrome */
    box-shadow: 0 0 10px rgba(0,0,0,0.5); /* Параметры тени */
    min-height:100%;
}
#container h1 {
    position:absolute;
    top:-500px;
}
#container h2{
    font-size: 1em;
    font-weight: bold;
    padding-top: 10px;
    padding-bottom: 10px;
}
#top{
    font-size: 0.9em;
    position: relative;
    width: 980px;
    height: 100px;
    background: #4b2359; /* Old browsers */
    background: -moz-linear-gradient(top,  #4b2359 0%, #4f3259 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#4b2359), color-stop(100%,#4f3259)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top,  #4b2359 0%,#4f3259 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top,  #4b2359 0%,#4f3259 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top,  #4b2359 0%,#4f3259 100%); /* IE10+ */
    background: linear-gradient(to bottom,  #4b2359 0%,#4f3259 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#4b2359', endColorstr='#4f3259',GradientType=0 ); /* IE6-9 */
}
#topmenu {
    position: absolute;
    bottom: 0px;
    right: 8px;
    min-width: 400px;
    padding-right: 10px;
    color: #e8eaff;
    font-weight: bold;
}
#topmenu li{
    float: left;
}
#topmenu li:first-child p{
   
}
#topmenu .tactive, .tdefault{
    padding-right: 45px;
    padding-left: 45px;
    height: 20px;
    padding-top: 13px;
    text-align: right;
    padding-bottom: 5px;
}
#topmenu .tactive{
    background: #956387;
}
#topmenu .tdefault{
    color: #e8eaff;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
}
#topmenu .tdefault:hover{
    background: #7d5373;
}
#topmenu a{

}
#topmenu a:hover{
    text-decoration: none;
}
#left{
    font-size: 0.9em;
    min-height: 200px;
    width: 258px;
    float: left;
    position: relative;
    padding-left: 15px;
}
#topimg{
    position: absolute;
    top: -100px;
}
#leftmenu{
    margin-top: 155px;
}
#leftmenu ul{
    width: 240px;
}
#leftmenu ul li{
    margin-bottom: 5px;
    width: 240px;
}
#leftmenu ul ul li:first-child{
    padding-top: 15px;
}
#leftmenu li p{
    border-bottom-left-radius: 3px;
    border-top-left-radius: 3px;
    padding-left: 10px;
    padding-top: 10px;
    font-weight: bold;
    width: 238px;
    height: 30px;
    line-height: 30px;
}
#leftmenu li a{
    color: #000;
    padding-bottom: 1px;
}
#leftmenu li a, #leftmenu li a:visited, #leftmenu li a:hover{
    text-decoration: none;
}
#leftmenu li li p{
    font-size: 1em;
    margin-left: 10px;
    height: 20px;
    width: 220px;
    background: none;
    padding-top: 0px;
    padding-bottom: 5px;
    line-height: 20px;
}

#leftmenu .mactive{
    background: #4b2359; /* Old browsers */
    /* background: -moz-linear-gradient(top,  rgba(75, 35, 89, 0.8) 0%, #4f3259 100%); /* FF3.6+ */
    /* background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(75, 35, 89, 0.8)), color-stop(100%,#4f3259)); /* Chrome,Safari4+ */
    /* background: -webkit-linear-gradient(top,  rgba(75, 35, 89, 0.8) 0%,#4f3259 100%); /* Chrome10+,Safari5.1+ */
    /* background: -o-linear-gradient(top,  rgba(75, 35, 89, 0.8) 0%,#4f3259 100%); /* Opera 11.10+ */
    /* background: -ms-linear-gradient(top,  rgba(75, 35, 89, 0.8) 0%,#4f3259 100%); /* IE10+ */
    /* background: linear-gradient(to bottom,  rgba(75, 35, 89, 0.8) 0%,#4f3259 100%); /* W3C */
    color: #e8eaff;
}
#leftmenu .mdefault{
    background: #b09a95;
}
#leftmenu .mdefault:hover{
    background: #4b2359; /* Old browsers */
    /* background: -moz-linear-gradient(top,  rgba(75, 35, 89, 0.8) 0%, #4f3259 100%); /* FF3.6+ */
    /* background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(75, 35, 89, 0.8)), color-stop(100%,#4f3259)); /* Chrome,Safari4+ */
    /* background: -webkit-linear-gradient(top,  rgba(75, 35, 89, 0.8) 0%,#4f3259 100%); /* Chrome10+,Safari5.1+ */
    /* background: -o-linear-gradient(top,  rgba(75, 35, 89, 0.8) 0%,#4f3259 100%); /* Opera 11.10+ */
    /* background: -ms-linear-gradient(top,  rgba(75, 35, 89, 0.8) 0%,#4f3259 100%); /* IE10+ */
    /* background: linear-gradient(to bottom,  rgba(75, 35, 89, 0.8) 0%,#4f3259 100%); /* W3C */
    color: #e8eaff;
    -webkit-transition: all 0.4s ease;
    -moz-transition: all 0.4s ease;
    -o-transition: all 0.4s ease;
}
#leftmenu .sactive{
    color: #003377;
}
#leftmenu .sdefault a{
    color: #001b1c;
    display: inline;
}
#leftmenu .sdefault a:hover{
    border-bottom: solid 1px;
}
#topmenu, #leftmenu{
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -o-user-select: none;
     user-select: none;
}

#right{
    min-height: 200px;
    width: 100%;
}
#right #content{
    width: 697px;
    float: right;
    margin-right: 10px;
    color: #4f3259;
}
#right #content p{
    padding-bottom: 5px;
}
#right #content h3{
    padding-top: 10px;
    margin-bottom: 10px;
    font-weight: bold;
    border-bottom: dotted #4f3259 1px;
}
#right #content h4{
    font-weight: bold;
}
#right #content ol{
    list-style:decimal;
    list-style-position: inside;
}

#right #content ul{
    list-style: square;
    list-style-position: inside;
}
#right #content ul li{
    padding-bottom: 5px;
}

#right #content form input, textarea{
    width: 400px;
    border: solid 1px #4b2359;
    padding: 5px;
    margin: 2px;
    background: #f5f7ff;
}
#right #content form textarea{
    resize: none;
}
#right #content .error{
    color: red;
}
#right #content #capdiv{
    min-height: 50px;
}
#right #content .question{
    margin-top: 10px;
    font-weight: bold;
}
#right #content .answer{
    margin-bottom: 15px;
}
#right #content #kerexample{
    position: relative;
    width: 555px;
    height: 345px;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -o-user-select: none;
     user-select: none;
}
#right #content #line1{
    background: #956387;
    width: 9px;
    height: 100%;
    float: left;
}
#right #content #line2{
    background: #4f3059;
    position: relative;
    width: 49px;
    height: 100%;
    float: left;
}
#right #content #line2 img{
    position: absolute;
    bottom: 10px;
    right: 13px;
}
#right #content #line3{
    border-top-right-radius: 2px;
    background: #4f3059;
    width: 289px;
    height: 9px;
}
#right #content #line4{
    border-top-right-radius: 2px;
    background: #4f3059;
    width: 437px;
    height: 336px;
    overflow: hidden;
}
#right #content #sliderdiv{
    background: #fff;
    width: 432px;
    height: 324px;
    position: relative;
    margin-top: 5px;
}
#right #content #line5{
    border-top-right-radius: 2px;
    background: #4f3059;
    width: 62px;
    height: 76px;
    position: absolute;
    bottom: 0px;
    right: 0px;
}
#right #content #controls{
    width: 56px;
    height: 30px;
    position: absolute;
    bottom: 7px;
    left: 2px;
}
#right #content .keractrl{
    width: 28px;
    height: 30px;
    float: left;
    background: url('/img/keraexamplectrls.png') no-repeat;
}
#right #content #keranext{
    background-position: -28px -30px;
}
#right #content #keranext.keractrlactive:hover{
    background-position: -28px 0;
}
#right #content #keraprev{
    background-position: 0 -30px;
}
#right #content #keraprev.keractrlactive:hover{
    background-position: 0 0;
}
.keractrlactive{
    cursor: pointer;
}
.slide, .slidep{
    width: 216px;
    height: 324px;
    overflow: hidden;
    float: left;
    position: relative;
}
.slidep{
    position: absolute;
}
#right #content #leftslide{
    overflow: hidden;
}
#right #content #rightslide{

}
#right #content #lprev, #rprev{
    left: -216px;
}
#right #content #lcurr, #rcurr{
    left: 0;
}
#right #content #lnext, #rnext{
    left: 216px;
}
#right #content #description a{
    color: #4f3259;
    display: inline;
    border-bottom: dashed 1px;
}
#right #content #description a:hover{
    border-bottom-style: solid;
    text-decoration: none;
}
#right #content #description p{
    display: inline;
}
#right #content #description h3{
    display: inline;
}


#right #content #description #descimg{
    width: 250px;
    height: 250px;
    background: #fff;
    float: right;
    margin: 5px 20px 20px;
    border: solid 2px #4f3259;
    border-radius: 1px;
}
#right #content #description #descimg div{
    padding: 1px 8px 1px 8px;
    float: right;
    font-weight: bold;
    background: #4f3259;
    top: -29px;
    color: #fff;
    position: relative;
    margin-bottom: 1px;
    margin-right: 1px;
    opacity: 0.8;
}
#right #content #description #descimg #vol{

}
#right #content #description #descimg #cost{

}

.slider{

}
.sliderheader{
    margin-top: 10px;
    margin-bottom: 3px;
    cursor: pointer;
    font-weight: bold;
}
.sliderheader span{
    border-bottom: 1px dotted;
    padding-bottom: 2px;
}
.sliderheader span:hover{
    border-bottom: 1px solid;
}
.slideranswer{
    overflow: hidden;
    height: 0px;
    -webkit-transition: opacity 0.8s ease;
    -moz-transition: opacity 0.8s ease;
    -o-transition: opacity 0.8s ease;
    transition: opacity 0.8s ease;
    opacity: 0;
    margin-bottom: 15px;
    border-left: solid 4px;
    padding-left: 14px;
}
.link{
    width: 208px;
    height: 147px;
    border: solid 3px #4f3159;
    margin: 8px 16px 8px 0;
    float: left;
    -webkit-transition: all 0.2s ease;
    -moz-transition: all 0.2s ease;
    -o-transition: all 0.2s ease;
    transition: all 0.2s ease;
    overflow: hidden;
    position: relative;
    background: #fff;
    border-bottom-left-radius: 2px;
    border-top-left-radius: 2px;
}
.link img{
    float: right;
    position: relative;
    display: block;
}
.link .catcap{
    opacity: 1;
    -webkit-transition: all 0.2s linear;
    -moz-transition: all 0.2s linear;
    -o-transition: all 0.2s linear;
    transition: all 0.2s linear;
}
.link:hover{
    border-color: #604169;
}
.link:hover .catcap{
    opacity: 0.85;
}
.link .imgscale{
    margin-top: 8px;
    -webkit-transition: all 0.1s linear;
    -moz-transition: all 0.1s linear;
    -o-transition: all 0.1s linear;
    transition: all 0.1s linear;
}
.link:hover .imgscale{
    -webkit-transform: scale(1.05,1.05);
    -moz-transform: scale(1.05,1.05);
    -o-transform: scale(1.05,1.05);
    -ms-transform: scale(1.05,1.05);
    transform: scale(1.05,1.05);
}
.link .goodsimg{
    position: absolute;
    left: 0;
    top: 0;
    -webkit-transition: all 0.1s linear;
    -moz-transition: all 0.1s linear;
    -o-transition: all 0.1s linear;
    transition: all 0.1s linear;
}
.link:hover .goodsimg{
    top: 5px;
    left: 3px;
}
.link .goodscap{
    background: #4f3259;
    position: absolute;
    right: 0px;
    left: 60px;
    top: 0px;
    color: #fff;
    padding: 5px;
    font-weight: bold;
    -webkit-transition: all 0.1s linear;
    -moz-transition: all 0.1s linear;
    -o-transition: all 0.1s linear;
    transition: all 0.1s linear;
    opacity: 0.7;
}
.link:hover .goodscap{
    top: 6px;
    opacity: 1;
}
.link .cost, .vol{
    bottom: 0px;
    position: absolute;
    padding-right: 4px;
    color: #4f3259;
    font-weight: bold;
    -webkit-transition: all 0.1s linear;
    -moz-transition: all 0.1s linear;
    -o-transition: all 0.1s linear;
    transition: all 0.1s linear;
}
.link:hover .cost, .link:hover .vol{
    bottom: 3px;
}
.link .cost{
    right: 0px;
}
.link .vol
{
    right: 50px;
}

#shopnavigation{
    font-size: 13px;
    font-weight: bold;
    padding-top: 10px;
}
#shopnavigation a, #shopnavigation p{
    padding: 1px;
    display: inline-block;
}
#shopnavigation a{
    color: #4f3259;
    border-bottom: dotted 1px;
    line-height: normal;
}
#shopnavigation a:hover{
    border-bottom: solid 1px;
}
a.contactslink, a.contactslink:visited{
    color: #4f3259;
    display: inline;
    border-bottom: dashed 1px;
}
a.contactslink:hover{
    border-bottom: solid 1px;
}
#clear {
    clear:both;
    height:35px;
}
#footer {
    margin-top:-35px;
    height:35px;
    width: 950px;
    margin-left:auto;
    margin-right:auto;
    padding: 0 15px;
    position: relative;/* IE6 получает hasLayout для правильной очистки. */
    clear: both; /* Это свойство очистки заставляет .container видеть место окончания столбцов и включать их. */
    color:#e8eaff;
    font-size:1em;
    font-weight: bold;
    line-height:35px;
    background: #4f3259;
    background: -moz-linear-gradient(top,  #4f3259 0%, #4b2359 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#4f3259), color-stop(100%,#4b2359));
    background: -webkit-linear-gradient(top,  #4f3259 0%,#4b2359 100%);
    background: -o-linear-gradient(top,  #4f3259 0%,#4b2359 100%);
    background: -ms-linear-gradient(top,  #4f3259 0%,#4b2359 100%);
    background: linear-gradient(to bottom,  #4f3259 0%,#4b2359 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#4f3259', endColorstr='#4b2359',GradientType=0 );
}
#footer a, #footer a:visited{
    color: #e8eaff;
    text-decoration: none;
}
#footer a:hover{
    text-decoration: underline;
}