/* Sticky footer styles
-------------------------------------------------- */

html,
body {
  height: 100%;
  /* The html and body elements cannot have any padding or margin. */
}

/* Wrapper for page content to push down footer */
#wrap {
  min-height: 100%;
  height: auto;
  /* Negative indent footer by its height */
  margin: 0 auto 0px;
  /* Pad bottom by footer height */
  padding: 0 0 0px;
}

/* Set the fixed height of the footer here */
#footer {
  height: 65px;
  background-color: #f5f5f5;
}


/* Custom page CSS
-------------------------------------------------- */
/* Not required for template or sticky footer method. */

#wrap > .container {
  padding: 0 0 0 0;
  /*max-width: 980px;*/
}

#footer > .container {
  padding-left: 15px;
  padding-right: 15px;
}

code {
  font-size: 80%;
}

#wrap { 
  background: url('./../img/shattered.png');
}

.offer-main .thumbnail {
    position:relative;
    min-height: 350px;
    /*  border: 1px solid #999; 
    box-shadow: inset 0 0 3px #333;*/
    border: 2px solid #c7c7c7;
    border-radius: 9px;
    box-shadow: 0px 0px 5px rgba(0,0,0,0.2);  
    -moz-box-shadow: 0px 0px 5px rgba(0,0,0,0.2);
  -webkit-box-shadow: 0px 0px 5px rgba(0,0,0,0.2);
}

.offer-main .thumbnail:hover {
  border-color:#b8e356;
  box-shadow: 0px 0px 5px rgba(248,211,79,0.2);  
  -moz-box-shadow: 0px 0px 5px rgba(248,211,79,0.2);
  -webkit-box-shadow: 0px 0px 5px rgba(248,211,79,0.2);  
}

.offer-main .thumbnail .slider {
  margin-top: 10px;
}

.separator {
  color: #555;
}

/* .offer-main.promo-product {
    padding: 0;
} */

.promo-product h3 {
  margin-top: 0px;
}

iframe[name='google_conversion_frame'] {
  display:none !important;
}

.content-block {
  background: #fff;
  border: 2px solid #c7c7c7;
  border-radius: 2px;
  box-shadow: 0px 0px 5px rgba(0,0,0,0.2);  
  -moz-box-shadow: 0px 0px 5px rgba(0,0,0,0.2);
  -webkit-box-shadow: 0px 0px 5px rgba(0,0,0,0.2);
  padding: 20px 40px;
  margin: 0 0 40px 0;
}

.center {
  text-align: center;
}

h1 a, h2 a, h1 a:hover, h2 a:hover, h3 a, h4 a, h3 a:hover, h4 a:hover {
  color: #333;
  text-decoration: none;
}

.margintop3 {
  margin-top: 3px;
}

.margintop10 {
  margin-top: 10px;
}

.small-block .well {
  margin-bottom: 0;
  width: 100%;
}

.small-block .special-badge-blue {
  padding: 0;
}

.old-price {
  padding-top: 10px;
}

.small-block .old-price {
  padding-top: 4px;
}

.small-block .thumbnail .caption {
  margin-bottom: 50px;
}

.small-block .bottom-info {
  position: absolute;
  width: 100%;
  bottom: 0;
  margin-left: -4px;
}

.scrollTopButton{
    position:fixed;
    display:none;
    right:20px;
    width:39px;
    height:39px;
    background-image:url('../img/scroll.png');
    background-position:left top;
    bottom: 45px;
    cursor:pointer;
}

.scrollTopButton:hover{
    background-position:-39px top;
}

.badge {
    border-radius: 2px;
    background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #a5cc52), color-stop(1, #b8e356) );
    background:-moz-linear-gradient( center top, #a5cc52 5%, #b8e356 100% );
    filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#a5cc52', endColorstr='#b8e356');
    background-color:#a5cc52;
    transition: all 0.4s;
    background-image: none;
}

.badge.promo {
  color: #fff;
  padding: 3px 7px;
  font-size: 1.2em;
  font-weight: bold;
  text-shadow: 1px 1px 0px #999;
  background: #fceabb;
  background: -moz-linear-gradient(45deg, #fceabb 0%, #fccd4d 33%, #f8b500 65%, #fbdf93 100%);
  background: -webkit-gradient(linear, left bottom, right top, color-stop(0%,#fceabb), color-stop(33%,#fccd4d), color-stop(65%,#f8b500), color-stop(100%,#fbdf93));
  background: -webkit-linear-gradient(45deg, #fceabb 0%,#fccd4d 33%,#f8b500 65%,#fbdf93 100%);
  background: -o-linear-gradient(45deg, #fceabb 0%,#fccd4d 33%,#f8b500 65%,#fbdf93 100%);
  background: -ms-linear-gradient(45deg, #fceabb 0%,#fccd4d 33%,#f8b500 65%,#fbdf93 100%);
  background: linear-gradient(45deg, #fceabb 0%,#fccd4d 33%,#f8b500 65%,#fbdf93 100%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fceabb', endColorstr='#fbdf93',GradientType=1 );

}

.thumbnail:hover .discount-value {
  opacity: 1;

}

.discount-value {
  position: absolute;
  z-index: 1;
  opacity: 0;
  transition: opacity 1s;
  -webkit-transition: opacity 1s;
  color: #fff;
  padding: 5px 10px;
  font-size: 1.6em;
  font-weight: bold;
  text-shadow: 1px 1px 0px #999;
  background: #fceabb; /* Old browsers */
  background: -moz-linear-gradient(45deg, #fceabb 0%, #fccd4d 33%, #f8b500 65%, #fbdf93 100%); /* FF3.6+ */
  background: -webkit-gradient(linear, left bottom, right top, color-stop(0%,#fceabb), color-stop(33%,#fccd4d), color-stop(65%,#f8b500), color-stop(100%,#fbdf93)); /* Chrome,Safari4+ */
  background: -webkit-linear-gradient(45deg, #fceabb 0%,#fccd4d 33%,#f8b500 65%,#fbdf93 100%); /* Chrome10+,Safari5.1+ */
  background: -o-linear-gradient(45deg, #fceabb 0%,#fccd4d 33%,#f8b500 65%,#fbdf93 100%); /* Opera 11.10+ */
  background: -ms-linear-gradient(45deg, #fceabb 0%,#fccd4d 33%,#f8b500 65%,#fbdf93 100%); /* IE10+ */
  background: linear-gradient(45deg, #fceabb 0%,#fccd4d 33%,#f8b500 65%,#fbdf93 100%); /* W3C */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fceabb', endColorstr='#fbdf93',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */
  top: 2px;
  left: 17px;
  border-bottom-right-radius: 25px;
}

/* nivo slider */

.small-block .nivoSlider img {
  max-width: 352px;
}

.nivoSlider, .nivoSlider img, .nivo-slice {
  background-size: cover !important;
  min-height: 205px;
  max-width: 100%;
  cursor: pointer;
}

.small-block .nivoSlider {
  width: 400px !important;
  cursor: pointer;
  max-height: 205px;
}

.promo-product .nivoSlider, .promo-product .nivoSlider img, .promo-product .nivo-slice {
  min-height: 310px;
}

.nivo-caption {
  display: none !important;
}

.well {
  padding: 8px 19px;
}

a.reg-button {
    display: inline-block;
    width: 102px;
    height: 21px;
    margin: 4px;
    text-decoration: none;
    color: #eee;
    font-size: 13px;
    line-height: 21px;
    font-weight: bold;
    text-shadow: 0px 0px 3px rgba(000,000,000,0.6);
    background: url('../img/reg-bttn.png') no-repeat;
    text-align: center;
}
a.reg-button s{
    text-decoration: none;
}

.add-comments a.reg-button.reg-bttn {
    background: url('../img/reg-bttn2.png') no-repeat;    
    height: 21px;   
}

.add-comments #register {    
    margin: 0 auto;
    position: relative;
    width: 100%;
}

.lang-ru a.reg-button {
    font-size: 10px;
}

a.dr-pass, .fb-pass {
    text-indent: 20px;
}
a.reg-bttn:hover, .dr-pass:hover, .fb-pass:hover {
    color: #fff;
}
a.reg-button.reg-bttn {
    background-position: 0 0;
    width: 152px;
    height: 35px;
}

a.reg-button.dr-pass {
    background-position: 0 -50px;
}
a.reg-button.dr-pass:hover {
    background-position: 0 -75px;
}
a.reg-button.fb-pass {
    background-position: 0 -100px;
}
a.reg-button.fb-pass:hover {
    background-position: 0 -125px;
}

.visuallyhidden {
  display: none;
}

/* header */


.fixed-bar {
  position: relative;  
}

.fixed-bar.clone {
  position:fixed;
  top:-50px;
  transition:0.2s top ease-in;
}

@media (min-width: 768px) {
    .fixed-bar.clone .collapse {
        display: block !important;
        height: auto !important;
        padding-bottom: 0;
        overflow: visible !important;
    }
}

body.down .fixed-bar.clone {
  top: 0;
  z-index: 999;
  width: 100%;
  left: 0;
  background: #cecaca;
  text-align: center;
  margin-left: 0;
  height: 52px;
}

.fixed-bar.clone .collapse {
    margin: 0 auto;
    position: absolute;
    right: 0;
    left: 0;
    width: 990px;
    border-color: #121212;
    border-top: 0;
    box-shadow: none;
    max-height: 340px;
    padding-right: 15px;
    padding-left: 15px;  
}

.navbar-default {
  font-size: 0.8em;
  background: #cecaca;
}

.navbar-header {
  float: left;  
  padding: 4px 0 0 35px;
}

.navbar-default a:hover {
    color: #fafafa;
    text-decoration:  none;
}

#footer ul.nav li {
    padding: 0 10px;
}

ul.nav li:first-child {
  /*border-left: 1px dotted white;*/
}

ul.nav li:last-child {
  /*border-right: 1px dotted white;*/
}

.collapse.in ul.nav li, .collapsing ul.nav li {
    border-right: 0;
    border-left: 0;
}

.collapse.in .navbar-nav, .collapsing .navbar-nav {
    margin: 0;
}

ul.nav li {
  /*border-left: 1px dotted white;*/  
}

ul.nav>li>a {
    padding-left: 0;
    padding-right: 0;
}

.collapse.in ul.nav li:first-child, .collapsing ul.nav li:first-child {
    border-top: 0;
}

.user-menu {
  margin: 10px 0px 0px -15px;
}

.nav a.username {  
  padding: 0;
  background: none !important;
  color: #fff;
}

.nav a.username:hover, .nav a.username:focus {
  background: none !important;
  color: #fff !important;
}

.dropdown-menu {
  color: #fafafa;
  background: #333;
}

ul.nav .dropdown-menu>li {
  border-bottom: 1px solid #ccc;
  border: 0 !important;
}

ul.nav .dropdown-menu>li>a {
  color: #fff;
}

.dropdown-menu>li>a:hover {
  color: #222 !important;
  background-color: #fafafa;
}

.clone ul.main-nav {
    width: 100% !important;
}

.navbar-default ul.main-nav {
    width: 100%;    
}

.collapse.in ul.main-nav>li, .collapsing ul.main-nav>li {
    width: 100%;
}

.navbar-default .main-nav>li {
    width: 15.1%;
    /*padding:0px 10px;*/
    text-align: center;
    background-color: #cecaca;
    height: 50px;
}

.navbar-default .main-nav>li>a {
    font-size:16px;
    font-weight:700;
    white-space: nowrap;
}

.navbar-default .navbar-nav>li>a:hover, .navbar-default .navbar-nav>li>a:focus {
  color: #222;
  background-color: gray;
}

a.social-bttn{
    display: block;
    float: left;
    margin: 5px;
    width: 33px;
    height: 33px;
}
a.social-bttn:hover{
    position: relative;
    top: -2px;
}
#dr-bttn {
    background: url('../img/bttn-dr.png') no-repeat;
}
#fb-bttn{
    background: url('../img/bttn-fb.png') no-repeat;
}
#twit-bttn{
    background: url('../img/bttn-twit.png') no-repeat;
}
#rss-bttn{
    background: url('../img/bttn-rss.png') no-repeat;
}

/* eof header */

/* footer */

#footer {
  background: #666;
}

.navbar-text {
  margin-bottom: 11.5px;
}


/* typografy & components */

.special-badge-blue {
  display: block;
  background: #4162a8;
  border-top: 1px solid #38538c;
  border-right: 1px solid #1f2d4d;
  border-bottom: 1px solid #151e33;
  border-left: 1px solid #1f2d4d;
  border-radius: 2px;
  -webkit-box-shadow: inset 0 0px 9px 0px #5c8bee;
  box-shadow: inset 0 0px 9px 0px #5c8bee;
  color: #fff;
  font-weight: bold;
  font-size: 20px;
  margin-bottom: 10px;
  padding: 8px 10px 5px 15px;
  text-align: center;
  text-shadow: 0 -1px 1px #1e2d4d;  
  -webkit-background-clip: padding-box;
}

.button {
  max-width: 200px;
}

.button-special-green.small {
  font-size: 15px;
  height: 25px;
  line-height: 27px;
}

.edit-profile #loginform .login, 
.yellow-block-edit-profile #registerform .register, 
#productadd .button-save, 
.categories .button-save,
.admin-categories .categ-bttn,
#cityform .button-save, 
#settingsedit .button-save, 
#companyadd .delete,
#companyadd .add-more,
#companyadd .button-save {
  max-width: 200px;
  margin-left: 153px;
}

.button-special-green, .button, .edit-profile #loginform .login, 
.yellow-block-edit-profile #registerform .register, 
#productadd .button-save, 
.categories .button-save,
.admin-categories .categ-bttn,
#cityform .button-save, 
#settingsedit .button-save, 
#companyadd .delete,
#companyadd .add-more,
#companyadd .button-save {
  -moz-box-shadow:inset 0px 1px 0px 0px #d9fbbe;
  -webkit-box-shadow:inset 0px 1px 0px 0px #d9fbbe;
  box-shadow:inset 0px 1px 0px 0px #d9fbbe;
  background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #b8e356), color-stop(1, #a5cc52) );
  background:-moz-linear-gradient( center top, #b8e356 5%, #a5cc52 100% );
  filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#b8e356', endColorstr='#a5cc52');
  background-color:#b8e356;
  -webkit-border-top-left-radius:0px;
  -moz-border-radius-topleft:0px;
  border-top-left-radius:0px;
  -webkit-border-top-right-radius:0px;
  -moz-border-radius-topright:0px;
  border-top-right-radius:0px;
  -webkit-border-bottom-right-radius:0px;
  -moz-border-radius-bottomright:0px;
  border-bottom-right-radius:0px;
  -webkit-border-bottom-left-radius:0px;
  -moz-border-radius-bottomleft:0px;
  border-bottom-left-radius:0px;
  text-indent:0;
  border:1px solid #83c41a;
  display:inline-block;
  color:#ffffff;  
  font-size:22px;
  font-weight:bold;
  font-style:normal;
  height:40px;
  line-height:41px;
  width:100%;
  text-decoration:none;
  text-align:center;
  text-shadow:1px 1px 0px #86ae47;
  cursor: pointer;
}
.button-special-green:hover, .button:hover, .edit-profile #loginform .login:hover, 
.yellow-block-edit-profile #registerform .register:hover, 
#productadd .button-save:hover, 
.categories .button-save:hover, 
#cityform .button-save:hover, 
#settingsedit .button-save:hover,
.admin-categories .categ-bttn:hover, 
#companyadd .delete:hover,
#companyadd .add-more:hover,
#companyadd .button-save:hover {
  background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #a5cc52), color-stop(1, #b8e356) );
  background:-moz-linear-gradient( center top, #a5cc52 5%, #b8e356 100% );
  filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#a5cc52', endColorstr='#b8e356');
  background-color:#a5cc52;
  color: #fff !important;
  text-decoration: none !important;
}.button-special-green:active, .button:active {
  position:relative;
  top:1px;
}

/*euro cals*/
div#calc #infobox a {
  color:#f53d21;
}

div#calc #calc_title {
top:7px;
position:relative;
font-size:13px;
left:1px;
width:115px;
text-align:center;
}

div#calc #calc_toggle {
  width: 20px;
  position: absolute;
  right: 0px;
  top: 51px;
  cursor: pointer;
  z-index: 99999999;
}

#calc {
  height:100px;
  background-repeat:no-repeat;
  position:fixed;
  overflow:visible!important;
  text-align:left;
  z-index:10000;
  width:118px;
  top:140px;
  right:0;
  border: 1px solid #ccc;
  border-bottom-left-radius: 2px;
  border-top-left-radius: 2px;
  background: rgba(250, 250, 250, 0.8);
}

div#calc input:focus {
  outline-width:0;
}

div#calc #arrow {
position:absolute;
width:9px;
height:18px;
background:url(tooltip_arrow.png);
right:-8px;
top:8px;
}

#eiro_form {
  top:13px;
  position:relative;
  font-size:12px;
  width: 105px;
}

div#calc input {
  height: 24px;
  padding-left: 5px;
  border: 1px solid #ccc;
}

#eiro_form>DIV:nth-child(1),#eiro_form>DIV:nth-child(2) {
padding:2px;
}

#eiro_form label {
  width:34px;
  float:left;
  text-align:center;  
  font-size:14px;
}

/* eof components */


/*=============================================*/
/* ------------   product page   ------------- */

.product.content-wrapper {
    float:left;
    padding: 20px 30px;
    background: #fff;
    border: 2px solid #c7c7c7;
    border-radius: 2px;
    box-shadow: 0px 0px 5px rgba(0,0,0,0.2);  
    -moz-box-shadow: 0px 0px 5px rgba(0,0,0,0.2);
    -webkit-box-shadow: 0px 0px 5px rgba(0,0,0,0.2);
    margin-top: 0;
    margin-bottom: 40px;
}

.product-sidebar h4 {
  text-align: center;
  margin-top: 5px;
}

.product-sidebar .well {
  padding: 10px 30px;
}

.product-sidebar .well ul {
  padding-left: 20px;
}

.vat-disclaimer em {
    float: left;
    margin-left: 20px;
    line-height: 28px;    
}

.offer-social-header {
    min-height: 24px;    
    margin: 0 auto 20px;
}

.offer-social-header div.social > span{
    float: right;
    display: block;
    line-height: 20px;
    padding: 3px 8px;
}
.offer-social-header div.social > span.fblike_wrapper{
    padding-top: 5px;
}
span.twittersay img, span.draugiemsay img{
    cursor: pointer;
}

.offer-social-header a.commentcount{
    font-size: 18px;
    font-weight: 600px;
}
.offer-social-header a.commentcount:hover{
    color: #660609;
}
.offer-social-header a.commentcount{
    color: #660609;
}

.offer-info-text {
    font-size: 15px;
    line-height: 18px;
}

.map {
    display: block;    
    height: 250px;
    border: 1px solid #ccc;
    margin: 20px auto 0;
    background: #fff;
}

.offer-main.single-product, .offer-main.single-product .overlay {
    width: 285px;
}
.offer-main.main-product {
    clear: both;
    margin-bottom: 10px;
}
.offer-main.single-product {
    padding: 16px;
    float: left;
    height: 325px;
    margin-left: 8px;
    margin-bottom: 10px;
}
.offer-main.single-product .info-block h1 {
    width: 270px;
    height: auto;
}

.offer-main.single-product .time-box {
    width: 112px;
    position: absolute;
    left: 6px;
}
.offer-main.single-product .time-label {
    font-size: 16px;
    margin-top: 7px;
    display: inline-block;
}
.offer-main.single-product .time-left {
    font-size: 16px;
    margin-top: 3px;
    display: inline-table;
}

.offer-main.single-product .progress-box  {
    width: 113px;
    height: 51px;
    position: absolute;
    bottom: -6px;
    left: 6px;
}
.offer-main.single-product .bought  {
    font-size: 12px;
}
.offer-main.single-product .statuss  {
    font-size: 15px;
}

.offer-main.single-product .price-tag  {
    right: 24px;    
    top: 229px;
    left: inherit;
}
.offer-main.single-product {
    background: url('../images/background-offer_s.png') no-repeat;
}
.offer-main.single-product:hover {
    background: url('../images/background-offer-hover_s.png') no-repeat;
}
.offer-main.single-product .buy-button  {
    top: 295px;
    left: 145px;
}
/* ------------  comment system  ------------- */
.comm-item {
    display: table;
    margin-bottom: 15px;
    width: 100%;
    font-size: 16px;
}
.comm-item .avatar {
    display: table-cell;
    width: 60px;

}
.comm-item .avatar img{
    vertical-align: top;
    padding: 0px 12px 12px 0px;
}
.comm-item .comm-content {
    display: table-cell;
    width: 100%;
}
.comm-item header, .comm-text {
    padding: 0 30px 0 4px;
}
.comm-item header{
    font-size: 15px;
}

.comm-name {
    font-weight: bold;
}
.comm-added {
    font-size: 14px;
    padding-left: 16px;
}
.commdesc{
    padding-left: 16px;
}
.comm-text p{
    font-size: 16px;
    margin: 8px 0 12px;
}
.comm-text textarea{
    width: 100%;
    height: 60px;
    margin: 8px 30px 12px 0;
    font-size: 16px;
    background: #fff;
    border: 1px solid #ccc;
}
#comm_head {    
    margin-bottom: 6px;
    font-size: 18px;
    font-weight: 500;
}

#addcomment-but {
    float: right;
    display: inline-block;
    cursor: pointer;
    padding: 3px 40px;
    margin: 5px -5px 5px 20px;
    font-size: 17px;
}

.instock {
  text-shadow: 1px 1px 0px #999;  
  background: #fceabb;
  background: -moz-linear-gradient(45deg, #fceabb 0%, #fccd4d 33%, #f8b500 65%, #fbdf93 100%);
  background: -webkit-gradient(linear, left bottom, right top, color-stop(0%,#fceabb), color-stop(33%,#fccd4d), color-stop(65%,#f8b500), color-stop(100%,#fbdf93));
  background: -webkit-linear-gradient(45deg, #fceabb 0%,#fccd4d 33%,#f8b500 65%,#fbdf93 100%);
  background: -o-linear-gradient(45deg, #fceabb 0%,#fccd4d 33%,#f8b500 65%,#fbdf93 100%);
  background: -ms-linear-gradient(45deg, #fceabb 0%,#fccd4d 33%,#f8b500 65%,#fbdf93 100%);
  background: linear-gradient(45deg, #fceabb 0%,#fccd4d 33%,#f8b500 65%,#fbdf93 100%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fceabb', endColorstr='#fbdf93',GradientType=1 );
  display: table;
  position: absolute;
  height: 99px;
  width: 99px;
  z-index: 333;
  -webkit-border-radius: 50px;
  -moz-border-radius: 50px;
  border-radius: 50px;
  -webkit-box-shadow: 1px 1px 1px rgba(0,0,0,0.25);
  -moz-box-shadow: 1px 1px 1px rgba(0,0,0,0.25);
  box-shadow: 1px 1px 1px rgba(0,0,0,0.25);
  text-align: center;
  line-height: 89px;
  color: #fff;
  font-weight: 600;
  font-size: 16px;
  top: -25px;
  right: -10px;
  -webkit-transition: all 1s ease;
  -moz-transition: all 1s ease;
  -o-transition: all 1s ease;
  -ms-transition: all 1s ease;
  transition: all 1s ease;
  cursor: pointer;
  
}

.instock p {
  display: table-cell;
  vertical-align: middle;
  line-height: normal;      
}

.instock:hover {
  -webkit-transform: rotate(30deg);
  -moz-transform: rotate(30deg);
  -o-transform: rotate(30deg);
  -ms-transform: rotate(30deg);
  transform: rotate(30deg); 
}
/* -----------  end product page   ----------- */

/*=============================================*/
/* --------------   cart view   -------------- */

input#agreement {
    margin: 10px 0 0 127px;
}

.delivery-block {
    margin-left: 40px;
    font-size: 15px;
    margin-bottom: 30px;
}

.delivery-block p {
    font-size: 15px;
    font-style: italic;
    margin-left: 18px;
    width: 396px;
    margin: 0px 0px 10px 18px;
    border: 1px dashed #CCC;
    padding: 3px 5px;
}

.delivery-select, .custom_cf, select.quantity {
    margin: 8px 10px 0px 17px;    
    background: #fafafa;
    border: 1px solid #CCC;
    color: #444;
    padding: 5px;
    height: 28px;
    font-size: 12px;
    max-width: 500px;
}

select.quantity {
    margin-top: 0px;
}

#totalprice {
    text-align:center;
}

#cart-deal-table {
    width: 100%;
    border: 1px solid #ccc;
    background: #fff;
}
#cart-deal-table th{
    padding: 4px;
    background: #eee;
    border: 1px solid #ccc;
}
#cart-deal-table tr.total{
    border-top: 1px solid #ccc;
}

#cart-deal-table td{
    padding-left: 4px;
    border-right: 1px solid #ccc;
}
#cart-deal-table .headline {
    width: 350px;    
}

select#quantity {
    width: 55px;        
}
.cartview .btn-88 {
    font-size: 20px;
    font-weight: 600;
}


#error-block, #error-block-choice, .error-block, .error-block-choice, .error-block-info, .red-block-3, .red-block-7 {
    display: none;
    margin: 10px 20px;
    padding: 10px 25px 0px;
    color: #ff0000;
    font-weight: 600;
    border: 1px solid #fa3512;
    border-radius: 3px;
    background: #ffc3a2;
}
#message_green, .forgotpass_mess, .success-mess {
    margin: 10px 20px;
    padding: 0 25px;
    color: #008800;
    font-weight: 600;
    border: 1px solid #007700;
    border-radius: 3px;
    background: #99ee99;
}

tfoot td {
    border-top: 1px solid #ccc;
    text-align: center;
    font-weight: bold;
}

.cart-order-block {
    padding: 0 10px;
}

.cart-image {
    position: relative;
    display:  block;
    float:    left;
    width:    150px;
    border: 1px solid #ccc;
    margin: 0px 10px 10px 0;
}

.cart-image img {
    display: block;
    width: 100%;    
}

#cartform {
    clear: both;
}

#cartform label {
    padding-left: 10px;
}

.input-error {
    border: 1px solid red !important;
}

.remove-from-cart {
    position: relative;
    display: block;
    margin: 10px 0 0 0;
    color: #999;
    font-size: 14px;
}

.remove-from-cart:hover {
    color: #666;
    text-decoration: none;
}

.remove-from-cart small {
    margin-right: 3px;
    color: darkred;
}

.cart-link {    
        
}

/* ------------   end cart view   ------------ */

/*=============================================*/
/* --------------   about page   ------------- */

.content-wrapper.about {
    margin-top: 10px;
}

.map.about {
    float: right;
    width: 278px;
    height: 185px;
}
.map.about a {
    font-size: 7px;
}

table.contacts.about {
    width: 310px;
}

table.contacts.about th {
    text-align: left;
}

.contact-label{
    width: 80px;
    padding-right: 5px;
}
.about .contact-label{
    width: 105px;
}

/* -------------  contact form   ------------- */

.contact-form label{
    display: inline-block;
    width: 124px;
    padding-right: 12px;
    padding-top: 16px;
    text-align: right;
    vertical-align: top;
    font-size: 12px;
}

.paymenttype {
    display: block;
    position: relative;
    width: 240px;
    height: 50px;
    float: left;
    margin: 20px 0px 30px 40px;
}

.paymenttype input[type=radio] {
    margin: 19px 9px 0px 0px;
    display: block;
    float: left;
}

.contact-form label[for="message"] {
    margin-top: 11px;
}
.contact-form label i{
    color: #F00;
    display: inline-block;
    width: 8px;
    font-weight: 600;
    font-style: normal;
    padding: 0 3px;
}

.contact-form input[type="text"], .contact-form textarea{
    margin: 7px 0;
    padding: 4px;    
    font-size: 16px;

    background: #fff;
    border: 1px solid #ccc;
}
.contact-form input[type="text"]{
    width: 225px;
    vertical-align:top;
}

.contact-form label.after {
    width: auto;
}
.contact-form input[type="checkbox"] {
    margin: 3px 12px 12px 112px;
    padding-right: 12px;
    text-align: right;
}

.send_button {
    float: right;
    cursor: pointer;
    font-size: 1em;
    padding: 0 40px 3px 40px;
    margin: 5px 0px 5px 20px;
}
/* ------------  end about page   ------------ */

/*=============================================*/
/* -----------  forcompanies page  ----------- */

#three-points {
    width: 600px;
    min-height: 0;
    margin: 20px auto;
    overflow: hidden;
}

.one-of-three {
    float: left;
    position: relative;
    width: 200px;
}
.one-of-three .forcompany-img {
    width: 200px;
    height: 155px;
}
.one-of-three .forcompany-text {
    padding: 0 40px;
    text-align: center;
    font-size: 18px;
    line-height: 19px;
    font-weight: 700;
}

#first-of-three .forcompany-img{
    background: url('../img/forcompanies-1.png') no-repeat;
}
#second-of-three .forcompany-img{
    background: url('../img/forcompanies-2.png') no-repeat;
}
#third-of-three .forcompany-img{
    background: url('../img/forcompanies-3.png') no-repeat;
}

#first-of-three .forcompany-text {
    color: #D01B8C;
}
#second-of-three .forcompany-text {
    color: #6C6B76;
}
#third-of-three .forcompany-text {
    color: #861619;
}

.one-of-three .point-number {
    position: absolute;
    top: 96px;
    left: 128px;
    width: 50px;
    height: 50px;
    color: #ff7400;
    text-align: center;
    line-height: 50px;
    font-weight: 700;
    font-size: 25px;
    text-shadow:
        -1px 1px 2px rgba(255,236,131,0.9);

    background: url('../images/discount.png') no-repeat;
    background-size: 50px; /* TODO: replace with resized image for IE8- */
}

#sendemailform_comp label {
    width: 174px;
    white-space: nowrap;
}

/* --------  end forcompanies page  ---------- */

/*=============================================*/
/* -------------  profile page  -------------- */

#profileform label{
    display: inline-block;
    width: 124px;
    padding-right: 12px;
    text-align: right;
}

#profileform input, #profileform select{
    width: 225px;
    margin: 7px 0;
    padding: 4px;    
    font-size: 16px;

    background: #fff;
    border: 1px solid #ccc;
}

#profileform input[type="file"] {
    width: 350px;
    background: transparent;
    border: 0;
}
#profileform input[type="checkbox"] {
    width: 50px;
    background: transparent;
}
.profile-image {
    display: block;
    margin: 5px auto;
}
table#social_profiles {
    margin-left: 87px;
}

#profile-buys-table {
    width: 100%;
    border: 1px solid #ccc;
    background: #fff;
}
#profile-buys-table th{
    padding: 4px 0;
    background: #eee;
    border: 1px solid #ccc;
}
#profile-buys-table .forwho {
    width: 56px;
}
#profile-buys-table .cdatas {
    width: 86px;
}

#profile-buys-table td{
    padding-left: 4px;
    border-right: 1px solid #ccc;
}
#profile-buys-table tr:nth-child(3n) {
    border-bottom: 1px solid #ccc;
}

/* -----------  end profile page  ------------ */

/* login page */

/* ===== LOGIN REGISTRY ===== */

.edit-profile .red-block-3 { display: none; }
.edit-profile .social-passport { width: 225px; margin: 0 auto; text-align: center; }
.edit-profile #loginform label, .yellow-block-edit-profile #registerform label { display: inline-block; width: 150px; padding-right: 25px; text-align: right; }
.edit-profile #loginform input, .yellow-block-edit-profile #registerform input, .yellow-block-edit-profile #registerform select { width: 225px; margin: 7px 0; padding: 4px; font-size: 16px; color: #000; background: white; border: 1px solid #ccc; }
.yellow-block-edit-profile #registerform #agree { margin-left: 10px; width: 15px; }
#productadd label { display: inline-block; width: 150px; }

.yellow-block-edit-profile .center { margin-top: 40px; }
.yellow-block-edit-profile .red-block-7 { display: none; }

/* ===== END LOGIN REGISTRY ===== */


/* ===== BUTTONS ===== */
.paginate_button, .paginate_active {
  background: #CCC;
  color: black;
  padding: 2px 6px;
  border-radius: 6px;
  border: 1px solid #999;
  margin: 0px 5px;
  cursor: pointer;
}

.paginate_active {
  font-weight: bold;  
}

#cityform input[type="text"]#priority.priority {
  width: 26px;
}
span.priority {
  padding: 0px 15px;
}

form#loginform > input[type="submit"] {
  width: auto;
}

#productadd .button-save, 
#cityform .button-save, 
#settingsedit .button-save, 
.categories .button-save, 
#companyadd .button-save {
   display:inline-block; margin: 30px 0 30px 155px; padding: 3px 40px; 
}
#companyadd .button-save { 
  margin-left: 180px; 
}
.admin-categories .categ-bttn {
  display:inline-block; 
  margin: 0 10px 20px 0; 
  padding: 3px 30px; 
}
.admin-categories .categ-bttn.act,
.categories .button-save.act  {
  text-decoration: underline;
}


#companyadd .delete,
#companyadd .add-more {
  cursor: pointer;
  font-size: 15px;
  font-weight: 500;
  padding: 0 12px 3px 12px;
}
#companyadd .delete {
  margin: 5px 20px;
}
#companyadd .add-more {
  float: left; 
  margin: 2px 28px 8px 180px;
}
/* ===== END BUTTONS ===== */

/*=============================================*/
/* -------------   kasjauns iframe view   ------------- */

.kasjauns-iframe {
    border: 1px solid #ccc;
    width: 280px;
    height: 400px;
    text-align: center;
    overflow: hidden;
}

.vertical-ticker{
    height:400px;
    overflow:hidden;
    margin:0; padding:0;
    -webkit-box-shadow:0 1px 3px rgba(0,0,0, .4);
}

.vertical-ticker li{
    padding:0;
    display:block;
    background:#efefef;
    color:#333;
    border-bottom:1px solid #ddd;
}

/* -------------   end kasjauns iframe view   -------------- */

/* ===== ADMIN HEADER ===== */
.admin #usermenu a.active {
  text-decoration: underline;
}

/* ===== END ADMIN HEADER ===== */


/* ===== ADMIN ADD PRODUCT, USERS, CATEGORIES ===== */

#settingsedit label, #companyadd label { display: inline-block; width: 150px; padding-right: 25px; text-align: right; }
#productadd select, #productadd input[type="text"], #cityform input[type="text"], #settingsedit input[type="text"], #companyadd input[type="text"], #companyadd select { width: 225px; background: white; border: 1px solid #ccc; }
#productadd select, #productadd input, #cityform input, #settingsedit input, #companyadd input, #companyadd select { margin: 7px 0; padding: 4px; color: #861619; font-family: 'Dosis', sans-serif; font-size: 16px; }

#productadd .company-info { margin-left: 80px; }

/* datatables */
.dataTables_paginate {
  width: auto;
  height: auto;
}


/* css for timepicker */
.ui-timepicker-div .ui-widget-header { margin-bottom: 8px; }
.ui-timepicker-div dl { text-align: left; }
.ui-timepicker-div dl dt { height: 25px; margin-bottom: -25px; }
.ui-timepicker-div dl dd { margin: 0 10px 10px 65px; }
.ui-timepicker-div td { font-size: 90%; }
.ui-tpicker-grid-label { background: none; border: none; margin: 0; padding: 0; }

/* ===== END ADMIN ADD PRODUCT ===== */


/* ===== ADMIN USERS ===== */



/* ===== END ADMIN USERS ===== */

#pagination {
    text-align: center;
    width: 100%;
    margin: 20px auto;
     display: block;
}
#pagination img {
    width: 50px;
}
.navbar-default .btn-default span {
    /*color: rgb(255, 159, 0);*/
}

@media (max-width: 1200px) {
.collapse.in ul.main-nav>li, .collapsing ul.main-nav>li {background:black;}
}

   .left-block {
    background: linear-gradient(135deg, rgb(162, 160, 157) 100%, rgb(62, 58, 55) 100%);
    padding: 15px 0;
    border-radius: 7px;
    clear: both;
    transition: all 0.4s;
    margin-top: 9px;
    margin-bottom: 20px;

    list-style: none;
}
.left-block li {
    list-style: none;
}
.left-block a {
    transition: all 0.2s;
    color: #fff;
    display: inline-block;
    width: 100%;
    padding: 8px 10px 6px 20px;
}
.left-block a:hover {
    background-color: gray;
    text-decoration: none;
}
.left-block .badge {
    border-radius: 10px;
    float: right;
    margin-right: 25px;
    background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #a5cc52), color-stop(1, #b8e356) );
    background:-moz-linear-gradient( center top, #a5cc52 5%, #b8e356 100% );
    filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#a5cc52', endColorstr='#b8e356');
    background-color:#a5cc52;
    transition: all 0.4s;
    background-image: none;
}
.left-block a:hover .badge, .left-block a.active .badge {
    
}
.left-menu {float:right; width:280px;overflow-y:auto;}
@media (max-width: 1200px) {
.left-menu {width:240px;}
.left-block {width: 210px!important;}
}