body {
    margin: 0;
    padding: 0;
    background-color: #FFFFFF;
/*    background-image: url(http://shop.companion.ua/i/x-mas-bg.jpg);
    background-position: top;
    background-repeat: no-repeat;
    background-attachment: scroll;*/
}
body, p {
    font-family: Arial,Helvetica,sans-serif;
}
#container {
    width: 990px;
    margin: 0 auto;
    background-color: #FFFFFF;
    border: 7px solid #fff;
}
#header {
    background: #ED1A3B url(../i/top_bg.jpg)repeat-x bottom;
    background-color: #ED1A3B;
    background-image: url(http://shop.companion.ua/i/top_bg.jpg);
    background-position: bottom;
    background-repeat: repeat-x;
    padding: 0 3px;
    height: 60px;
}
#wrapper {
    float: left;
    width: 990px;
}
#content {
    margin: 0 0 0 20%;
    padding: 0;
}
#left {
    float: left;
    width: 20%;
    margin-left: -990px;
}
#right {
    visibility: hidden;
    float: left;
    width: 180px;
    margin-left: -180px;
    background: #84d5fa;
}
#footer {
    clear: both;
    border-top: 5px solid #e3e3e3;
    margin: 25px 0;
    padding: 10px 0;
    height: 70px;
    color: #888;
    font-size: 12px;
    background-color: #FFFFFF;
}
#footer div {
    width: 240px;
    float: left;
    line-height: 17px;
}
#footer div ul, #footer div ul li {
    margin: 0;
    padding: 0;
}
#footer div ul li {
    list-style: none;
}
#footer a {
    color: #666;
    text-decoration: underline;
}
#footer a:hover {
    text-decoration: none;
}
.stl-title a, .selected a {
    color: #000;
    text-decoration: underline;
}
.stl-title a:hover, .selected a:hover {
    text-decoration: none;
}





#banner {
    margin: 5px auto;
    text-align: center;
    height: 10px;
}
#banner a img { background-color: #f5f5f5;}




#topsidebar {
    margin: 10px 0;
    height: 30px;
    clear: both;
    background-color: #EEE;
}
#topsidebar div {
    width: 200px;
    float: left;
}
#topsidebar div a {
    font-size: 18px;
    text-decoration: none;
}
#topsidebar div a:hover {
    color: #F03;
    border-bottom: 1px solid #000;
    font-weight: 700;
}
#topsidebar ul, #topsidebar ul li {
    margin: 0;
    padding: 0;
    display: inline;
}
#topsidebar ul li {
    list-style: none;
}
#topsidebar li a {
    font-size: 18px;
    text-decoration: none;
    width: 150px;
    text-align: center;
}
#topsidebar li a:hover {
    color: #F03;
    border-bottom: 1px solid #000;
    font-weight: 700;
}
#sidebar {
    padding: 0 5px;
}
#sidebar ul {
    margin: 0;
    padding: 0;
    list-style: none;
}
#sidebar ul li {
    line-height: 25px;
}
#sidebar li ul {
    margin: 0 0 0 20px;
    padding: 0;
}
#sidebar li ul li {
    height: 25px;
}
#sidebar li a {
    font-size: 14px;
    color: #333;
    text-decoration: none;
    border-bottom: 1px solid #AAA;
}
#sidebar li a:hover {
    border-bottom: 1px solid red;
}
.clear ul {
    margin: 0;
    padding: 0;
    display: inline;
}
.clear ul li {
    margin: 3px;
    list-style: none;
    display: inline;
    float: left;
}
.clear ul li a {
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    border-bottom: 1px solid #AAA;
}
.clear ul li a:hover {
    color: #F03;
    border-bottom: 1px solid #000;
}
a img, img {
    border: 0;
}
a {
    color: #30C;
    text-decoration: underline;
}
a:hover {
    color: #369;
    text-decoration: none;
}
.clear {
    clear: left;
}
.height30 {
    height: 30px;
    clear: both;
}
.fp_title {
    font-weight: bolder;
    text-transform: uppercase;
    color: #777;
    padding: 5px 3px;
}
.fp_product {
    width: 30%;
    height: 260px;
    border: 1px solid #f5f5f5;
    font-size: .8em;
    padding: 5px;
}
.fp_item a {
    color: #000;
}
.fp_item {
    padding: 0 0 10px;
    height: 25px;
    overflow: hidden;
}
.fp_anons p {
    font-family: Arial,Helvetica,sans-serif;
}
.fp_anons {
    color: #666;
    height: 168px;
    //height: 165px;
    overflow: hidden;
    padding: 0;
}
.fp_anons, .fp_anons p {
    font-size: 12px;
    line-height: 14px;
}
.fp_anons p {
    padding-top: 0 !mportant;
    //padding-top: 10px;
}
.fp_anons img {
    margin: 12px 5px 3px 0;
    float: left;
}
.fp_price {
    padding: 10px 0;
}
.fp_price span {
    font-weight: bolder;
    color: #444;
}
.fp_price a {
    color: #777;
}
.fp_category {
    width: 30%;
    height: 100px;
    border: 1px solid #f5f5f5;
    font-size: .8em;
    padding: 5px;
}
.m_basket {
    padding: 5px;
    color: #fff;
}
.m_basket a, #b_list {
    color: #000;
}
#b_list {
    position: absolute;
    z-index: 1;
    background-color: #f5f5f5;
    border: 1px solid #DDD;
    width: 240px;
    margin-left: -6px;
    padding: 5px;
    -moz-opacity: .95;
    filter: alpha(opacity=95);
    opacity: .95;
}
#b_list ul {
    margin: 0;
    padding: 0;
    list-style: none;
}
.basket_list li {
    height: 18px;
}
.basket_list li b {
    font-weight: lighter;
    color: #AAA;
}
.basket_list li label {
    display: block;
    width: 153px;
    height: 16px;
    overflow: hidden;
    float: left;
}
.basket_list li span {
    float: right;
    width: 15px;
}
.basket_list li span a {
    color: #AAA;
}
.next_btn {
    padding: 30px 150px;
    font-size: 20px;
}
.next_btn a {
    border: 1px solid #eee;
    padding: 5px;
}
.next_btn a:hover {
    border: 1px solid #ccc;
}
.next_btn input {
    border: 1px solid #eee;
    padding: 5px;
}
.next_btn input:hover {
    border: 1px solid #ccc;
}
.user_in {
    width: 300px;
    height: 50px;
    float: right;
    border-top: 1px solid #900;
    border-right: 1px solid #D94600;
    border-bottom: 1px solid #D94600;
    border-left: 1px solid #900;
    background-color: #FF6A6A;
    font-size: 12px;
    margin: 4px;
    clear: both;
}
.top-tool {
    width: 60px;
    height: 40px;
    font-size: 13px;
    color: #FFF;
    float: left;
    border-right: 3px #D00 double;
    margin: 5px 15px 5px 10px;
    line-height: 18px;
}
.top-tool a {
    text-decoration: underline;
    color: #fff;
}
.top-tool a:hover {
    text-decoration: none;
    color: #000;
}
.m_celect {
    font-weight: bolder;
    margin-left: -5px;
    padding: 5px;
    line-height: 16px;
    display: block;
    border: none;
}
.m_celect, .m_title {
    background-color: #f5f5f5;
}
.m_title {
    position: absolute;
    margin: -23px -5px;
    padding: 3px 5px 0;
    font-size: 14px;
    font-weight: 700;
}
.m_login {
    background-color: #f5f5f5;
    padding: 10px 5px 5px;
    margin: 10px 0 0 -5px;
    font-size: 14px;
    position: relative;
    line-height: 20px;
}
.m_login label {
    color: #777;
    font-size: 12px;
}
.m_login input {
    width: 170px;
    margin: 0;
    border-top: 1px solid #999;
    border-right: 1px solid #CCC;
    border-bottom: 1px solid #CCC;
    border-left: 1px solid #999;
}
.m_login input.btm {
    width: 60px;
    margin: 0 0 0 25px;
    border-top: 1px solid #CCC;
    border-right: 1px solid #999;
    border-bottom: 1px solid #999;
    border-left: 1px solid #CCC;
}
input.reg_btn {
    border: 0;
    background-color: transparent;
    width: 86px;
    margin: 0;
    padding: 0;
    float: left;
    text-decoration: underline;
    cursor: pointer;
}
input.reg_btn:hover {
    text-decoration: none;
}
.m_login form {
    margin: 0;
}
.m_login form div div {
    padding: 5px 0;
    font-size: 13px;
}
.err, .reg_err p {
    border: 1px solid #FFC1C1;
    background-color: #FFF2F2;
    margin: 5px 0;
}
.product_v_book img {
    margin: 3px 10px 5px 0;
}
.product_v_book, .product_v_mag., product_v_mit {
    padding: 5px;
}
.product_v_book p, .product_v_mag p, .product_v_min p {
    padding: 5px;
    font-size: 13px;
    margin: 3px 10px;
}
.product_v_book li, .product_v_mag li, .product_v_min li {
    font-size: 13px;
}
product_v_mit p a, .product_v_book p a, .product_v_mag p a, .product_v_min p a {
    color: #30C;
    text-decoration: underline;
}
product_v_mit p a:hover, .product_v_book p a:hover, .product_v_mag p a:hover, .product_v_min p a:hover {
    color: #369;
    text-decoration: none;
}
.product_v_mit div p, .product_v_mit div ul {
    font-size: 13px;
}
.product_v_mit div ul {
    margin-left: 20px;
}
.product_v_mit div ul li {
    margin-left: 20px;
    list-style: disc;
}
.price_add {
    background-color: #f5f5f5;
    padding: 10px;
    margin: 5px;
    width: 80%;
    clear: both;
    font-size: 13px;
}
.avail_on {
    color: #390;
}
.avail_off {
    color: red;
}
.b_m_info {
    padding: 10px;
    margin: 10px 0 10px 5px;
    background-color: #f5f5f5;
    font-size: 13px;
    color: #666;
    width: 80%;
    clear: both;
}
a.addbasket {
    border-bottom: 1px dotted #C00;
    text-decoration: none;
    font-size: 1em;
    font-weight: 700;
    color: #C00;
}
a.addbasket:hover {
    border-bottom: 1px dotted #000;
    color: #390;
}

.silver {
    color: #999;
}
.order_info {
    padding: 5px;
}
.order_info .small {
    font-size: 12px;
    color: #888;
    clear: both;
    padding: 10px 5;
    margin-bottom: 20px;
    margin-left: 150px;
    width: 300px;
}
.order_info form div {
    height: 35px;
    line-height: 18px;
    clear: both;
}
.order_info form p {
    padding: 5px;
    margin: 5px -5px;
    background-color: #f5f5f5;
    width: 80%;
    font-size: 13px;
}
.order_info form div label {
    width: 150px;
    display: block;
    float: left;
    font-size: 13px;
}
.order_info form div label span b {
    font-weight: bolder;
    color: red;
}
.order_info form div input, .order_info form div textarea {
    width: 300px;
    margin: 0;
    border-top: 1px solid #999;
    border-right: 1px solid #CCC;
    border-bottom: 1px solid #CCC;
    border-left: 1px solid #999;
    font-size: 15px;
}
.order_info form div textarea {
    height: 40px;
}
.order_info_err {
    width: 290px;
    color: #F30;
    font-size: 11px;
    display: block;
    line-height: 11px;
    float: right;
}
.pagination {
    clear: both;
    padding: 10px;
    text-align: center;
}
.pagination a {
    text-decoration: none;
    color: #999;
    border: 1px solid #EEE;
    padding: 3px 6px;
    margin: 1px;
}
.pagination a:hover {
    color: #000;
    border: 1px solid #CCC;
}
.pagination .select {
    background-color: #f5f5f5;
    border: 1px solid #EEE;
    cursor: crosshair;
    color: #000;
    padding: 3px 6px;
    margin: 1px 0 1px 4px;
}
div.tabs {
    background: #333;
    padding: .1em;
}
div.container {
    width: 90%;
    margin: auto auto 10px;
}
ul.tabNavigation {
    list-style: none;
    margin: 0;
    padding: 0;
}
ul.tabNavigation li {
    display: inline;
}
ul.tabNavigation li a {
    padding: 3px 9px;
    background-color: #666;
    color: #000;
    text-decoration: none;
}
ul.tabNavigation li a.selected, ul.tabNavigation li a.selected:hover {
    background: #FFF;
    color: #000;
}
ul.tabNavigation li a:hover {
    background: #ccc;
    color: #000;
}
ul.tabNavigation li a:focus {
    outline: 0;
}
div.tabs div {
    padding: 5px;
    margin-top: 3px;
    border: 1px solid #FFF;
    background: #FFF;
}
div.tabs div h2 {
    margin-top: 0;
}
.all-books-btn {
    padding: 5px;
    margin: 5px -3px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    background-color: #efefef;
}
.all-books-btn a {
    text-decoration: underline;
}
.all-books-btn a:hover, .price-btn {
    text-decoration: none;
}
.price-btn {
    background-color: #DDD;
    color: #444;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    padding: 0 3px;
    border: 1px solid #DDD;
}
.price-btn:hover {
    background-color: transparent;
    text-decoration: none;
}
.comm-block {
    font-size: 13px;
    clear: both;
    margin: 0 5px;
}
.comm-text {
    border-left: 1px solid #f5f5f5;
    padding-left: 10px;
    margin-top: 5px;
}
.comm-err {
    color: #C00;
    font-weight: bolder;
}
.comm-title {
    font-size: 15px;
    font-weight: 700;
    padding: 5px 0 5px 10px;
    border-bottom: 5px solid #EEE;
    color: #777;
    background-color: #f5f5f5;
    width: 82.5%;
    text-transform: uppercase;
}
.comm {
    margin: 10px 5px;
    font-size: 13px;
    color: #777;
}
.comm form label {
    display: block;
    margin: 10px 0;
}
.comm form label span {
    display: block;
    float: left;
    width: 50px;
}
.comm form label input {
    width: 250px;
    height: 20px;
}
.comm form label input, .comm form label textarea {
    border: 1px solid #CCC;
    padding: 4px 3px 2px;
    background-color: #f5f5f5;
}
.comm form label textarea {
    width: 76%;
    margin-left: 50px;
}
.comm form div {
    margin-left: 50px;
}
.comm form div .btn {
    margin-bottom: 50px;
}
.edit {
    margin-bottom: 10px;
}
.edit a {
    color: #999;
    border-bottom: 1px dotted #999;
}
.edit a:hover {
    text-decoration: none;
    color: #000;
    border-bottom: 0;
}
