body {
    font-size: 12px;
    line-height: 18px;
    font-family: Arial, Helvetica, sans-serif;
    background-color: #f0f0f0;
}
#page {
    width: 1120px;
    padding: 0;
    margin: 0 auto;
}
#header {clear: both;}
#logo {
    float: left;
    box-sizing: border-box;
    width: 310px;
    height: 117px;
    margin: 10px 30px 10px 10px;
}
#logo_mobile {
    display: none;
}
#header_text {
    padding-top:10px;
    float: left;
    font-size: 14px;
    width: 360px;
}
#header_faq {
    text-align: center;
    margin: 5px 0 5px 0;
}
#header_faq a {
    margin: 0 20px 0 20px;
}
#header_address a {text-decoration: none; border-bottom: 1px dashed #d20300;}
#header_address a:hover {text-decoration: none; border-bottom: none;}
#header_phone {
    padding-top:5px;
}
#header_phone .phones {
font-weight: bold;
color: #ff0000;
}
#slogan {
    padding-top: 5px;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 5px;
}
#header_right {
    float: left;
    margin-left: 30px;
}
#customer_area
{
    border-radius:3px;
    -moz-border-radius:3px;
    -webkit-border-radius:3px;
    box-shadow: 0px 3px 5px #dad9d9;
    -moz-box-shadow: 0px 3px 5px #dad9d9;
    -webkit-box-shadow: 0px 3px 5px #dad9d9;
    background-color: #fcfcfc;
    padding: 5px;
}
.customer_area { margin-left: 20px;}
#cart_info span{
    width: 70px; display: inline-block;
}
#login_form label{
    padding-left:10px; width: 50px; display: inline-block;
}
#login_form input{
    width: 150px;
    margin-right: 10px;
    margin-bottom: 3px;
}
#login_form #login_button{
    width: 80px;
}
#reg_n_remind a {
    margin-right:40px;
}
#topmenu {
    padding:0;
    width:1120px;
    border:1px solid #bebebe;
    clear: both;
    border-radius:3px;
    -moz-border-radius:3px;
    -webkit-border-radius:3px;
    box-shadow: 0px 3px 5px #dad9d9;
    -moz-box-shadow: 0px 3px 5px #dad9d9;
    -webkit-box-shadow: 0px 3px 5px #dad9d9;
    height: 40px;
}
#topmenu ul { margin: 0; padding: 0;}
#topmenu ul li {
    float:left;
    font-size:14px;
    min-width: 100px;
    text-align: center;
    text-transform: uppercase;
    font-weight: bold;
    border-right: 1px #bebebe solid;
}

#topmenu ul li:first-child {
    /*
    border-radius:5px 0 0 5px;
    -moz-border-radius:5px 0 0 5px;
    -webkit-border-radius:5px 0 0 5px;
    */
    /*
    border-left: none;*/
    margin-left: 10px;
    border-left: 1px #bebebe solid;
}
#topmenu ul li a {
    color: #000000;
    text-decoration: none;
    display: block;
    padding: 10px 10px 10px 10px;
    background: #f3f3f3;
    line-height: 20px;
    background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2YzZjNmMyIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjUwJSIgc3RvcC1jb2xvcj0iI2ZmZmZmZiIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiNlM2UzZTUiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
    background: -moz-linear-gradient(top, #f3f3f3 0%, #ffffff 50%, #e3e3e5 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f3f3f3), color-stop(50%,#ffffff), color-stop(100%,#e3e3e5));
    background: -webkit-linear-gradient(top, #f3f3f3 0%,#ffffff 50%,#e3e3e5 100%);
    background: -o-linear-gradient(top, #f3f3f3 0%,#ffffff 50%,#e3e3e5 100%);
    background: -ms-linear-gradient(top, #f3f3f3 0%,#ffffff 50%,#e3e3e5 100%);
    background: linear-gradient(to bottom, #f3f3f3 0%,#ffffff 50%,#e3e3e5 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f3f3f3', endColorstr='#e3e3e5',GradientType=0 );
}
#topmenu ul li a b
{
    background-image: url('/img/gear.png');
    background-position: bottom;
    background-repeat: no-repeat;
    height: 17px;
    width: 16px;
    display: inline-block;
    float: left;
    margin-right: 8px;
}
#topmenu ul li a b.cart
{
    background-image: url('/img/cart26.png');
    height: 20px;
    width: 26px;
}
#topmenu ul li a:hover{
    color: #ffffff;
    display: block;
    padding-left: 10px;
    background: #7d7e7d;
    background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzdkN2U3ZCIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiMwZTBlMGUiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
    background: -moz-linear-gradient(top, #7d7e7d 0%, #0e0e0e 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#7d7e7d), color-stop(100%,#0e0e0e));
    background: -webkit-linear-gradient(top, #7d7e7d 0%,#0e0e0e 100%);
    background: -o-linear-gradient(top, #7d7e7d 0%,#0e0e0e 100%);
    background: -ms-linear-gradient(top, #7d7e7d 0%,#0e0e0e 100%);
    background: linear-gradient(to bottom, #7d7e7d 0%,#0e0e0e 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#7d7e7d', endColorstr='#0e0e0e',GradientType=0 );
}
#content, .container {
    box-sizing: border-box;
    clear:right;
    float:none;
    margin: 10px 0 10px 0;
    border-radius:3px;
    -moz-border-radius:3px;
    -webkit-border-radius:3px;
    box-shadow: 0px 3px 5px #dad9d9;
    -moz-box-shadow: 0px 3px 5px #dad9d9;
    -webkit-box-shadow: 0px 3px 5px #dad9d9;
    background-color: #fcfcfc;
    padding: 10px;
}
#content {min-height: 400px;}
.clear { display: block; height: 0; font-size: 0; line-height: 0; text-indent: -4000px; clear: both; }
#topmenu ul { list-style:none; }
.form-horizontal label{width:100px; display:block; float:left; margin-top:2px;}
.form-horizontal .col {clear: right; }
.form-horizontal .input {width: 180px; display: inline-block;}
.form-horizontal .form-group {clear:both; margin-bottom:10px;}
.form-horizontal .text-danger {color: #CC0000; display: inline-block; margin-left: 20px;}
#map {width: 800px; height: 600px;}
#brandlist {padding-left: 10px;}
#brandlist .brand
{
   padding: 5px;
   float: left;
}
#accs_filter, #part_filter, #tyres_filter {
    margin-bottom: 20px;
}
#part_filter, #part_filter select, #part_filter button, #tyres_filter, #tyres_filter select, #tyres_filter button, #part_filter input {
    font-size: 14px;
}
#part_filter select, #tyres_filter select, #part_filter input {
    border-color: #cccccc;
    border-radius:3px;
    -moz-border-radius:3px;
    -webkit-border-radius:3px;
    padding: 3px 0 3px 0;
}
#part_filter input {
    border: 1px solid #cccccc;
    padding: 3px;
}
#part_filter button, #tyres_filter button {
    padding: 3px 8px 3px 8px;
}
#part_filter select:focus, #tyres_filter select:focus{
    outline: 0;
}
#accs_filter select, #part_filter select, #tyres_filter select, #part_filter input
{
    width: 250px;
    box-sizing: border-box;
    margin-right: 20px;
    margin-bottom: 10px;
}
.accessory, .part, .tyre {
    box-sizing: border-box;
    width:147px;
    margin: 0 5px 20px 5px;
    display: inline-block;
    font-size: 10px;
    vertical-align: top;
}
.accessory {
    width: 158px;
}
.accessory a, .part a, .tyre a {
    text-decoration: none;
    border-bottom: 1px dashed #d20300;
}
a.openaccinfo {
    border-bottom: 1px dashed #000000;
    color: #000000;
}
a.openaccinfo:hover {
    border-bottom: none;
}
.pic_container a {
    text-decoration: none;
    border-bottom: none;
}
.accessory a:hover, .part a:hover, .tyre a:hover {
    border-bottom: none;
}
.accessory .pic_container, .part .pic_container, .tyre .pic_container {
    text-align: center;
    height: 105px;
    margin-bottom: 5px;
}
.accessory img, .part img, .tyre img {
    max-width: 140px;
    max-height: 105px;
    margin: 0;
    padding: 0;
}
.accessory p, .part p, .tyre p{
    color: #666666;
    font-size: 12px;
}
.accessory b, .part b, .tyre b{
    color: #000000;
}
.accessory_params span, .part_params span, .tyre_params span{
    width: 100px; display: inline-block;
}
.part .storehouse {
    font-size: 8px;
    line-height: 12px;
}
.tyre_params span{ width:160px;}
a.change_pic {margin-right: 5px;}
ul.yiiPager
{
    font-size:11px;
    border:0;
    margin:0;
    padding:0;
    line-height:100%;
    display:inline;
}

ul.yiiPager li
{
    display:inline;
}

ul.yiiPager a:link,
ul.yiiPager a:visited
{
    border:solid 1px #9aafe5;
    border-radius: 5px;
    font-weight:bold;
    color:#d20300;
    padding:1px 6px;
    text-decoration:none;
}

ul.yiiPager .page a
{
    font-weight:normal;
}

ul.yiiPager a:hover
{
    border:solid 1px #0e509e;
}

ul.yiiPager .selected a
{
    background:#2e6ab1;
    color:#FFFFFF;
    font-weight:bold;
}

ul.yiiPager .hidden a
{
    border:solid 1px #DEDEDE;
    color:#888888;
}

/**
 * Hide first and last buttons by default.
 */
ul.yiiPager .first,
ul.yiiPager .last
{
    display:inline;
}
.pager {text-align: left;
    margin: 15px 0 0 0;}
.table .c {
    text-align: center;
}
.table .r {
    text-align: right;
    padding-right: 20px;
}
.table .l {
    text-align: left;
    padding-left: 10px;
}
.table th {
    font-weight: bold;
    background-color: #eeeeee;
}
.table td, .table th {
    padding: 5px 0 5px 0;
    border-bottom: 1px solid #cccccc;
}
.table tfoot
{
    font-size: 16px;
    font-weight: bold;
}
.cartcnt {
    text-align: right;
    width: 80px;
}
a.cremove, a.to_cart {
    text-decoration: none;
    border-bottom: 1px dashed #d20300;
}
a.cremove:hover, a.to_cart:hover {border-bottom: none;}

#order {}
#order label{width:80px; display:block; float:left; margin-top:2px;}
#order_customer input {width: 140px; display:block; float:left; margin-bottom:10px;}
#order h3 {padding-top:5px;color:#808080;}
#order_footer h3 {text-transform: none; margin: 10px 0 0 0; padding:0;}
#order_footer textarea {margin:0; width:100%}
#order_footer button {font-size: 18px}
#order_customer label {text-align:right; margin-right:10px;margin-top:4px;}
#order select{margin-top: 0px;}
#order .form-group {margin-bottom:10px;clear:both;}
#order_content {clear:both; padding-top: 20px;}
#order_content td, #cart_content td {vertical-align: top;}
#order_content th {font-size: 16px; font-weight: normal; text-align:left;}
#order_content th, #order_content td {padding: 0 10px 10px 0;}
#order_content td select {margin-top:2px; height:24px;}
#order_content td input {margin:2px 0 0 0; height:20px; padding:0;width:100%;}
#order_content button {margin:0;}

#order_content .typeahead {width:500px;}

.tt-query {
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
}

.tt-hint {
    color: #999
}

.tt-dropdown-menu {
    width: 500px;
    margin-top: 8px;
    padding: 8px 0;
    background-color: #fff;
    border: 1px solid #ccc;
    border: 1px solid rgba(0, 0, 0, 0.2);
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    border-radius: 8px;
    -webkit-box-shadow: 0 5px 10px rgba(0,0,0,.2);
    -moz-box-shadow: 0 5px 10px rgba(0,0,0,.2);
    box-shadow: 0 5px 10px rgba(0,0,0,.2);
}

.tt-suggestion {
    padding: 3px 20px;
    font-size: 13px;
    line-height: 20px;
}

.tt-suggestion.tt-cursor {
    color: #fff;
    background-color: #0097cf;
}

.tt-suggestion p {
    margin: 0;
}

.gist {
    font-size: 14px;
}

#partsearch {
  color: #ffffff;
  background-color: #d20300;
  padding: 10px;
  font-size: 16px;
    border-radius:4px;
    -moz-border-radius:4px;
    -webkit-border-radius:4px;
    /*
box-shadow: 0px 3px 3px #dad9d9;
    -moz-box-shadow: 0px 3px 3px #dad9d9;
    -webkit-box-shadow: 0px 3px 3px #dad9d9;
     */
    border: 1px solid #333333;
    margin-bottom: 10px;

}
#partsearch input, #partsearch button {
    font-size: 16px;
    margin-left:15px;
}
#partsearch button {
padding: 3px 10px 3px 10px;
}
.w100 {
    width: 100%;
}
#android_promo {
    display: none;
}
#android_promo a {
    text-decoration: none;
    color: #000000  ;
}
@media only screen and (-webkit-min-device-pixel-ratio: 2) {
    #slider {
        display: none;
    }
    #logo {
        display: none;
    }
    #logo_mobile{
        float: left;
        box-sizing: border-box;
        width: 132px;
        height: 50px;
        margin: 40px 10px 10px 10px;
        display: block;
    }
    #page, #topmenu {
        width: 840px;
    }
    #page {
        margin: 0;
    }
    .container {
        padding: 5px;
    }
    #header_text {
        width: 320px;
    }
    #header_right {
        margin-left: 10px;
    }

    .mobile-promo{
        position: relative;
        padding: 15px;
        background: #d20300;
        box-sizing: border-box;
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        justify-content: space-between;
        -webkit-box-align: center;
        -moz-box-align: center;
        -webkit-align-items: center;
        -ms-flex-align: center;
        align-items: center;
    }
    .mobile-promo-close {
        height: 13px;
        position: absolute;
        width: 13px;
        top: 3px;
        right: 3px;
        cursor: pointer;
    }
    .mobile-promo-close:before, .mobile-promo-close:after {
        position: absolute;
        background-color: #000000;
        content: " ";
        height: 14px;
        left: 6px;
        top: 0;
        width: 1px;
    }

    .mobile-promo-close:before {
        transform: rotate(45deg);
    }
    .mobile-promo-close:after {
        transform: rotate(-45deg);
    }
    .mobile-promo-logo{
        width: 45px;
        height: 45px;
        margin-right: 15px;
        border-radius: 8px;
        background: center no-repeat #ffffff url('/img/a-liga_app.png') ;
        flex: 0 0 auto;
    }

    .mobile-promo-msg{
        color: #ffffff;
        font-weight: 300;
        letter-spacing: .6px;
        -webkit-box-flex: 1;
        -moz-box-flex: 1;
        -webkit-flex: 1 1 auto;
        -ms-flex: 1 1 auto;
        flex: 1 1 auto;
        font: 24px "Open Sans", sans-serif;
    }

    .mobile-promo-btn{
        font-size: 13px;
        letter-spacing: .66px;
        text-transform: uppercase;
        color: #364149;
        background: #ffffff;
        font-weight: 400;
        padding: 6px 10px;
        border-radius: 4px;
        border: 1px solid #ffffff;
    }
}