/* MAIN Bootstrap Amends */

body {
	background-color:#F5F5F5;
    font-family:'Open Sans','Arial',sans-serif;
	font-size: 14px;
	line-height: 24px;
	position: relative;
    color:#333;
     webkit-tap-highlight-color: #FFCA9E;
}

.left{
    float:left;
}

.right{
    float:right;
}

.margin-top-10{margin-top:10px;}
.margin-top-20{margin-top:20px;}
.margin-top-30{margin-top:30px;}
.margin-top-40{margin-top:40px;}
.margin-top-50{margin-top:50px;}

.margin-right-10{margin-right:10px;}
.margin-right-20{margin-right:20px;}
.margin-right-30{margin-right:30px;}
.margin-right-40{margin-right:40px;}
.margin-right-50{margin-right:50px;}

.margin-bottom-10{margin-bottom:10px;}
.margin-bottom-20{margin-bottom:20px;}
.margin-bottom-30{margin-bottom:30px;}
.margin-bottom-40{margin-bottom:40px;}
.margin-bottom-50{margin-bottom:50px;}

.margin-left-10{margin-left:10px;}
.margin-left-20{margin-left:20px;}
.margin-left-30{margin-left:30px;}
.margin-left-40{margin-left:40px;}
.margin-left-50{margin-left:50px;}

.clear{
    clear:both;
}
/*********** TYPO ***********/

a {
    color: #333;
    }

a:hover {
	color: #333;
	text-decoration: underline;
}

a:focus, a:active {
    	color: #333;
	text-decoration: none;
}

.h1, h1{
    font-size:28px;
}

::-moz-selection {
    text-shadow: none;
    background: #FFCA9E;
}

::selection {
    text-shadow: none;
    background: #FFCA9E;
}

.failed{
    width:100%;
    background-color:#ff9900;
    color:#fff;
    text-align: center;
    padding:8px;
    margin-top:10px;
    margin-bottom:10px;
}

.success{
    width:100%;
    background-color:#3d9fd9;
    color:#fff;
    text-align: center;
    padding:8px;
    margin-top:10px;
    margin-bottom:10px;
    
}

label{
    font-weight: 600;
}
/*========== lapu sadalitajs ==========*/

#pages{height:18px;clear:both;margin-top:25px;float:left;margin-bottom:35px;margin-left:20px;}
#pages ul{margin:0;padding:0;}
#pages li{float:right;list-style:none;}
#pages ul a{font-size:16px;color:#696666;text-decoration:none;padding:9px 12px;line-height:18px;border-right:1px solid #E8E7E7;background:#fff;border-bottom:1px solid #E8E7E7;border-top:1px solid #E8E7E7;}
#pages ul a:hover{background:#F5F5F5;}
#pages .on{background:#F5F5F5;}
#pages .a{}
#pages .b{}
#pages2{float:left;padding:10px;color:#4f4a4a;clear:both;font-weight:bold}
#pages2 a{color:#4f4a4a;text-decoration:none}
#pages2 .on{text-decoration:underline}

/*********** HEADERS ***********/
.login-error{
    background: #ff6334;
    padding:5px;
    color:#fff;
    text-align: center;
    font-size:16px;
}
header{
    padding:10px 0px;
    background:#2a2828;
    border-top: 3px solid #ff6334;
}
header h4{
color:#fff;
    margin-top:15px;
    
}
header span{
    font-size:12px;
    color:#fff;
}
header .logo{
    margin-top:5px;
}
a.registration, input.registration{
    padding:8px 10px;
    background:#eb5728;
    border-radius:4px;
    color:#fff;
    font-size:16px;
    margin-left:15px;
    margin-top:5px;
    display: inline-block;
}
.registration:hover, .registration:focus, .registration:active{
    text-decoration: none;
    background:#FD6143;
    color:#fff;
}
a.how-sell{
    font-size:16px;
    color:#fff;
    padding:8px 10px;
    display: inline-block;
}
a.lang{
    display: inline-block;
    color:#a6a6a6;
}
.popover-content{
    text-align: center;
    width:250px;
}
.popover-content .login{
    background:#F5F5F5;
    border-radius:3px;
    border-top-color:#bababa;
    border:1px solid #D5D5D5;
}
.popover-content .form-group{
    margin-bottom:5px;
}
.popover-content .loginbutton{
    width:100%;
    margin-top:10px;
    background-color:#e76651;
    border:none;
    color:#fff;
}
.popover-content .loginbutton:hover, .popover-content .loginbutton:focus,.popover-content .loginbutton:active{
    background-color:#f9725c;
    color:#fff;
}
.popover-content .register{
    display: block;
    margin-top:15px;
    margin-bottom:5px;
}
.popover-content .forgot{
    color:#9ea29c;
    font-size: 12px;
    margin-bottom:20px;
    display: block;
    
}
a.btn-custom-fb{
    color:#fff;
    background-color:#405c9b;
    border:0px;
    margin-bottom:15px;
    margin-top:25px;
}
a.btn-custom-fb:hover,
a.btn-custom-fb:focus,
a.btn-custom-fb:active{
    background-color:#6e87c7;
    color:#fff;
}

.usermenu{
  margin-top:5px;
  min-width:130px !important;
  border:0 solid rgba(0,0,0,0.25);
  background:#fff;
  box-shadow:0 1px 4px rgba(0,0,0,0.25);
  border-top:0px;

}
.parent-usermenu{
    display:inline-block;position:relative;
}
.usermenu .dropdown-item{
  padding:5px;
  display:block;
    text-align:center;
}
.usermenu .dropdown-item:hover{
background:#eee;
color:#000;
text-decoration: none;
}
.usermenu a.dropdown-item:hover{
text-decoration: none;

}
.usermenu:before {
    content: "";
    border-bottom: 10px solid #fff;
    border-right: 10px solid transparent;
    border-left: 10px solid transparent;
    position: absolute;
    top: -10px;
    right: 50px;
    z-index: 10;
}
.usermenu:after {
    content: "";
    border-bottom: 12px solid #eee;
    border-right: 12px solid transparent;
    border-left: 12px solid transparent;
    position: absolute;
    top: -12px;
    right: 48px;
    z-index: 9;
}

.or-email{
    margin-top:15px;
    margin-bottom:15px;
    font-weight: 600;
}
/*********** MAIN MENU ***********/

.navbar{
    margin-bottom:0px;
    border:0px;
}

.navbar-brand{
    padding:8px 15px;
}

.navbar-default{
    border-color:#fff;
    background-color: #fff; /* BG KRASA */
}

.navbar-default .navbar-nav>li>a{
    font-size:16px;
    text-transform: uppercase;
    color:#333; /* BURTU KRASA */
    font-weight: 600;
}

.navbar-default .navbar-nav>li>a:hover{
    color:#eb5728;
}


.navbar-default .navbar-nav>.open>a, .navbar-default .navbar-nav>.open>a:focus, .navbar-default .navbar-nav>.open>a:hover{
    background-color:transparent;
    color:#eb5728;
}

/*********** CONTENT ***********/
/******* home *******/
.addprod{
    margin-bottom:10px;
}
article.cms-prod{
    min-height:290px;
}
.nav-pills>li.active>a, .nav-pills>li.active>a:focus, .nav-pills>li.active>a:hover{
background-color: #eb5728;
}
.nav-pills>li>a{
    border:1px solid #ddd;
    background:#e9e9e9;
    margin-bottom:0px;
}
.home-banners {
    padding-bottom:50px;
    margin-bottom:30px;
    margin-top:20px;
}
.page-header{
    border:0px;
    margin: 25px 0 0px;
}
.page-header h3{
    margin-bottom:0px;
}
.baners-home{
    padding-top:20px;
}
.baners-home .banner{
    float:left;
    margin-right:10px;
    display: inline-block;
}
.banner1{
    border:1px solid #ddd;
    width:100%;
    background: #fff;
    padding:20px;
    text-align:center;
    border-radius: 4px;
    min-height: 250px;
    padding-top:40px;   
}
.reg-button{
    margin-bottom:10px;
}

.breadcrumb {
    padding:8px 0px;
    margin-bottom:0px;
}

.filters{
    margin-bottom:30px;
}
#filters{
    margin-bottom:15px;
}
.filters .form-control.pricef{
    width:100px;
}
.filters .form-control{
    border:1px solid #E0E0E0;
    border-radius: 5px;
    width: auto;
    display:inline-block;
    margin-right:10px;
    margin-top:5px;
        
}
.filters .price{
    width:85px;
}

.addprice{
width:200px;    
}

.filters .keyword{
    width:265px;
}
.showfilters{
    width:100%;
    text-align:center;
    display: block;
    margin-top:10px;
}
.showfilters a{
    border:1px solid #ddd;
    padding:5px;
    margin-bottom:10px;
    display: inline-block;
    border-radius:4px;
}
.showfilters a:hover, .showfilters a:active, .showfilters a:focus{text-decoration:none;border:1px solid #c2c2c2;color:#333;}

/******* sidebar *******/

.btn-group, .btn-group-vertical{
    display: block;
}

.btn-group-vertical a.sublevel.btn{
 /* SIDEBAR APAKSIZVELNES FONA KRASA */
    font-weight: 400;
	white-space:normal;
}

.btn-default.on{
    border-left:4px solid #fc9b24;
    background:#f5f5f5;
    /* SIDEBAR IZCELTA IZVELNE */
}
.btn-group, .btn-group-vertical a.btn{
    text-transform: uppercase;
    text-align: left;
    font-weight: 600;
    display: block;
    font-size:14px;
    padding:8px 30px 8px 20px;
}
/*********** PRODUCTS ***********/

.thumbnail{
border:0px;
}
figcaption{
    text-align: center;
    padding-top: 10px;
    min-height:90px;
}

figcaption a{
        font-weight: 600;
    display: block;
}

.listing-images .subpic-2{
    width:48%;
    float:left;
    display: block;
    margin-top: 5px;
    margin-right: 5px;
    padding-bottom:99%;
}

.listing-images .subpic-2.last{
    margin-right: 0px;
    margin-bottom:15px;
}
.listing-images .subpic-3m{
    width:48%;
padding-bottom:99%;    
    float:left;
    display: block;
    margin-top: 5px;
    margin-right: 5px;
}
.listing-images .subpic-3{
    width:49%;
padding-bottom:49%;    
    float:left;
    display: block;
    margin-top: 5px;
    margin-right: 5px;
}

.listing-images .subpic-3.last{
    margin-right: 0px;
    margin-bottom:15px;
}
.product-desc{
    box-shadow:0 1px 1px rgba(0,0,0,0.1);
    background:#fff;
    padding:20px;
    margin-bottom:10px;
    border-radius: 4px;
}
.price{
    font-size:26px;
    display: block;
    margin-bottom: 15px;
}
.unique{
    display: block;
    margin-top: 20px;
    color:#aaa;
    font-size: 12px;
}
.added{
    display: block;
    color:#aaa;
    font-size: 12px;
}
.ask{
    width:49%;
    padding:8px 10px;
    background:#eb5728;
    border-radius: 4px;
    color: #fff;
    font-size: 16px;
    display: inline-block;
    text-align: center;
    box-shadow: 0 1px 1px rgba(0,0,0,0.1);
}

.ask:hover, .ask:focus, .ask:active{
    text-decoration: none;
    background:#FD6143;
    color:#fff;
}
.warning{
    float:right;
}
.warning i{
    color:#ddd;
    font-size: 18px;
}
.fav{
    width:49%;
    padding:8px 10px;
    background:-webkit-gradient(linear, left top, left bottom, from(#F8F8F8), to(#F1F1F1));
    background-color:#F8F8F8;
    background-image:-moz-linear-gradient(center top , #F8F8F8, #F1F1F1);
    border-radius: 4px;
    color: #333;
    font-size: 16px;
    display: inline-block;
    text-align: center;
    border:1px solid #ddd;
    box-shadow: 0 1px 1px rgba(0,0,0,0.1);
}

.fav:hover, .fav:focus, .fav:active{
    text-decoration: none;
    background:#ddd;
    color:#333;
}
.in-profile .fav, .in-profile .ask{
    width:180px;
}
.review{
    padding-bottom: 10px;
    margin-bottom: 10px;
}
.overtitle{
    z-index: 1000;
    bottom:0;
    color:#fff;
    position: absolute;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0,0,0,.6);
    width:100%;
    background-color: rgba(0, 0, 0, 0.4);
    text-align:center;
    padding-top:10px;
    padding-bottom:10px;
}
figcaption a.options{
    display:inline;
    font-size:28px;
}
/*========== checkbox /izmēri==========*/

.ck-button label {
    float:left;
    
}

.ck-button label #cipars {
    text-align:center;
    padding:10px;
    display:block;
    margin:3px;
    font-size:14px;
    background:#e9e9e9;
    font-weight:normal;
    border-radius:4px;
    cursor: pointer;
}
.ck-button label #cipars:hover{background-color:#87CEDB;color:#fff;}

.ck-button label input {
    position:absolute;
    top:-20px;
}

.ck-button input:checked + #cipars {
    background-color:#5db8c9;
    color:#fff;
    
}
/*********** FOOTERS ***********/

footer{
    background-color: #2a2828; /* FOOTERA KRASA */
    margin-top:60px;
    padding-top:60px;
    border-top:3px solid #ff6334;
    color: #8a8a8a;
}

footer .bottom-line{
    background-color: #232323;
    padding-top:10px;
    color: #8a8a8a;
    padding-bottom: 10px;   
    margin-top:70px;
}
footer img{
    margin-bottom:15px;
}
footer p{
    font-size:13px;
}

footer a i{ /* SOC.IKONU STILS */
    font-size:36px !important;
    margin-right: 15px;
}

footer a i:hover{
    color:#fff;
}

footer a{
    text-decoration: underline;
}

footer a:link, footer a:visited{
    text-decoration: underline;
    color:#8a8a8a;
} 

footer a:focus, footer a:hover, footer a:active {
    text-decoration: none;
    color:#fff;
}


/* Lai desktop submenu on hover, nevis click */
@media (min-width: 770px) {
    ul.nav li.dropdown:hover > ul.dropdown-menu { 
        display: block; 
    } 
} 

@media (max-width: 770px) {
    .logoarea{
        text-align: center;
    }
    figcaption {
        min-height: 100px;
    }
    .listing-images .subpic-2, .listing-images .subpic-3m{
    width:100%;
}
        .listing-images .subpic-3{
    width:100%;
    padding-bottom:99%;
}    
    
    .ask, .fav{
        width:100%;
        margin-bottom:10px;
    } 
    article.cms-prod{
        min-height:250px;
    }
        .listing-images .subpic-2, .listing-images .subpic-3m{
    width:100%;
}
        .listing-images .subpic-3{
    width:100%;
    padding-bottom:99%;
}
.in-profile .fav, .in-profile .ask{
    width:100%;
}    
    .nav-pills>li.active>a, .nav-pills>li.active>a:focus, .nav-pills>li.active>a:hover{
        margin-bottom:10px;
    }  
    .nav-pills>li{
        width:100%;
                margin-bottom:10px;
    }     

}
@media (max-width: 350px) {
    figcaption a{
        display: none;
    }
      figcaption.cms-prod a{
        display: block !important;
    }
    figcaption{
        min-height: 50px !important;
    }
}

.cd-top {
  display: inline-block;
  height: 30px;
  width: 30px;
  position: fixed;
  bottom: 40px;
  right: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
  /* image replacement properties */
  overflow: hidden;
  text-indent: 100%;
  white-space: nowrap;
  background: #a6a6a6 url(../img/cd-top-arrow.svg) no-repeat center 50%;
  visibility: hidden;
  opacity: 0;
  -webkit-transition: opacity .3s 0s, visibility 0s .3s;
  -moz-transition: opacity .3s 0s, visibility 0s .3s;
  transition: opacity .3s 0s, visibility 0s .3s;
}
.cd-top.cd-is-visible, .cd-top.cd-fade-out, .no-touch .cd-top:hover {
  -webkit-transition: opacity .3s 0s, visibility 0s 0s;
  -moz-transition: opacity .3s 0s, visibility 0s 0s;
  transition: opacity .3s 0s, visibility 0s 0s;
}
.cd-top.cd-is-visible {
  /* the button becomes visible */
  visibility: visible;
  opacity: 1;
}
.cd-top.cd-fade-out {
  /* if the user keeps scrolling down, the button is out of focus and becomes less visible */
  opacity: .5;
}
.no-touch .cd-top:hover {
  background-color: #e86256;
  opacity: 1;
}
@media only screen and (min-width: 768px) {
  .cd-top {
    right: 20px;
    bottom: 20px;
  }
}
@media only screen and (min-width: 1024px) {
  .cd-top {
    height: 30px;
    width: 30px;
    right: 30px;
    bottom: 30px;
  }
}