/*!
    ----------------------------------

    * Mobel Furniture Template Theme
    * Version patch for Open Cart Theme
    * Copyright (c) 2017 ElaThemes.com

    ----------------------------------
*/
.alert-dismissible .close {
    top: 1px;
}
.mfp-content .alert {
    max-width: 600px;
    margin: 0 auto;
}

.mfp-content .alert {
    position: relative;
}

.mfp-content .close {
    position: absolute;
    top: 50%;
    transform: translate(0, -50%);
}
.mfp-content .modal-header {
    position: relative;
}
.mfp-content .alert .close {
    padding: 0;
    margin: 0;
    bottom: 0px;
    right:0;
}
.alert .mfp-close:active {
    top: 50%!important;
}
/*@media (max-width: 320px) {*/
    /*.mfp-content .alert .close {*/
        /*top:-30px;*/
        /*right: -35px;*/
    /*}*/
/*}*/

/*@media (min-width: 768px) {*/
    /*.mfp-content .alert .close {*/
        /*top:-13px;*/
    /*}*/
/*}*/

/*@media (min-width: 992px) {*/
    /*.mfp-content .alert .close {*/
        /*top:-10px;*/
    /*}*/
/*}*/

#cart p {
    margin: 0;
}
.products article .image img {

      padding-bottom: 15px;


}
.description article .image {
    text-align: center;
    border-radius: 10px;

}
.description article .image img {
    padding: 0;
}
.checkout .cart-block.cart-block-footer.voucher > div:nth-child(1) {
    width: 70%;
}
.checkout .cart-block.cart-block-footer.voucher > div:nth-child(2){
    width:30%;
}

.blog article .entry .date-wrapper .date span {
    text-transform: uppercase;
}

.footer-links.custom-module {
    padding-bottom: 30px;
}

@media (min-width: 768px) {
    .footer-links.custom-module {
        margin-top: -20px;
        padding-bottom: 40px;
    }
}

@media (min-width: 992px) {
    .footer-links.custom-module {
        margin-top: -30px;
        padding-bottom: 60px;
    }
}

/* Category page */
/*#product-category .description .image img {*/
    /*padding-top: 0;*/
/*}*/
@media (min-width: 360px) {
    #product-category .description .image img {
        width: inherit;
    }
}

@media (max-width: 767px) {
    .sort-bar {
        margin-left: 1px;
        margin-right: 1px;
    }
    #product-category .description + .sort-bar {
        margin-top:0;
    }

    .sort-bar select {
        max-width: 150px;
    }

}

@media (min-width: 992px) {
    #product-category .description + .sort-bar {
         margin-top:0;
    }
}

#product-category .description .text .description {
    height: inherit;
}

#grid-view.active, #list-view.active {
    background-color: #ffbb00;
    color: #fff;
}

#product-category article .text h1.title {
    margin-bottom: 0;
}

.loading {
    opacity: 0.6;
    pointer-events: none;
}

/*Filter*/
/*.checkbox input[type="checkbox"]:checked + label:before {*/
    /*content: "\e814";*/
/*}*/

.price-filter + .tooltip  {
    margin-top: 9px;
}

#filter .tooltip {
    margin-left: 13px;
}

@media (max-width: 991px) {
    #filter .tooltip {
        display: none !important;
    }
}

/*Product page*/

section.product #column-left {
    margin-top: 30px;
}

.product .info-box {
    position: relative;
    z-index: 2;
}
.product .info-box > span:first-child {
    width: 45%;
}
.btn-primary,.btn-default {
    padding-bottom: 13px;
}
.owl-product-gallery img{
    padding: 60px;
}
.product .info .content {
    padding: 30px;
}

#product .table>tbody>tr>td {
    border: none;
}

#review {
    padding-top: 20px;
}
.comments .comment-block {
    padding-bottom: 20px;
}
.comment-wrapper .comment-header{
    margin-top: -40px;
    padding: 0 40px;
    border-top: none;
}

@media (max-width: 991px) {
    #product .info {
        padding: 0;
    }
    .comments .comment-header {
        padding: 0;
    }

    #product .info {
        margin-left: -15px;
        margin-right: -15px;
    }
    .product .info .content {
        padding: 15px;
    }
}
.js-avatar img{
    border-radius: 50%;
    height: 100px;
    width: 100px;
    display: block;
}
.js-avatar label {
    display: block;
    cursor: pointer;
    position: relative;
}
.js-avatar .edit-buttons {
    position: absolute;
    display: table;
    top: 50%;
    transform: translate(0%, -50%);
    width: 100px;
    visibility: hidden;
    text-align: center;
    font-size: 22px;
}

.edit-buttons i {
    padding: 4px;
    box-sizing: border-box;
}
.js-avatar label.ready:hover > .edit-buttons {
    visibility: visible;
}

#wrap-croppie .cr-boundary, #wrap-croppie .cr-overlay, #wrap-croppie .cr-viewport {
    max-width: 100%;
    max-height: 100%;
}

.related .info {
    background: none;
    padding-top: 0;
}
.related .title {
    margin-top: 27px;
}
.related .row {
    margin-left: 0;
    margin-right: 0;
}

@media (max-width: 991px) {
    .related {
        margin-right: -15px;
        margin-left: -15px;
    }
}

.mfp-content .owl-carousel .owl-item img {
    padding-top: 0px;
    padding-bottom: 0px;
}

.mfp-content .owl-carousel .owl-item {
    background-color: #fff;
}

@media (min-width: 768px) {
    .popup-main .mfp-close {
        height: 77px;
    }
}

.mfp-content .product .info-box > span:first-child {
    width: 55%;
}

.checkout .cart-block > div.image{
    padding: 40px 20px;
}

.checkout .cart-block.cart-block-item {
    padding: 30px 15px;
}

.checkout .cart-block > div.quantity {
    padding: 0;
}
@media (min-width: 768px) {
    .checkout .cart-block > div:nth-child(2) {
        padding: 0 0 0 30px;
    }
}

@media (max-width: 767px) {
    .buttons .btn {
        width: 100%;
    }
    .buttons .btn:first-child {
        margin-bottom: 15px;
    }
    .modal-footer .btn {
        width: 100%;
    }

    .modal-footer .btn+.btn {
        margin: 10px 0 0;
    }
}
.panel-heading {
    padding: 15px;
}
.panel-default>.panel-heading {
    color: inherit;
}
.panel-title, .panel-title > a {
    font-size: 18px;
    font-family: "Montserrat", sans-serif;
    text-transform: uppercase;
    font-weight: 600;
    line-height: 1.1;
}
span.checkbox {
    display: inline;
    top:2px;
}

p.checkbox {
    padding: 10px 1px;
}

div.required .control-label:before {
    content: '* ';
    color: #F00;
    font-weight: bold;
}
.control-label {
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}
.comment-add .control-label {
    overflow: inherit;
}
.buttons.clearfix {
    margin-top: 20px;
}

.form-horizontal .checkbox {
    top: unset;
}
.not-found a {
    color: #fff;
    text-decoration: none;
}
.not-found a:hover {
     color: #fff;
}

#product-search span.checkbox {
    top: 9px;
}

.rating .fa.active {
    color: #ffbb00;
}

.contact-info figcaption {
    width: 60%;
    margin-left: 20%;
}

.contact-info {
    color: inherit;
}

.mt0 {
    margin-top: 0!important;
}
.mb20 {
    margin-bottom: 20px;
}

.blog article .text-intro {
    min-height: 100px;
}
@media (max-width: 767px) {
    .blog .sort-bar {
        margin-top: 0;
        margin-bottom: 15px;
    }
}

.id sub {
    text-decoration: line-through;
    font-weight: 300;
}

.login-wrapper ul {

}

.btn.btn-buy:hover:after {
    font-family: 'LinearIcons';
    content: "\e82e";
    transform: translate3d(0, 0, 0);
    font-weight: inherit;
}

input:checked ~ img {
    border: 1px solid red;
}

.checkbox {
    cursor: pointer;
}
