@import "bootstrap/variables";
@import "bootstrap/mixins";
@import "plugin/choosen";  
@import "plugin/daterangepicker";

.left_block{ 
            h6 a{
                color: $dark;
            } 
    .left-tab{
        margin-right:-15px;
            li{
                a{
                  padding: 15px 10px;
                display: block;
                border-left: transparent 4px solid;
                color: lighten($gray-base, 40.5%);
                font-weight: $font-weight-semibold;
                font-size: 13px;
            &.active{
                background: $light;
                border-left: 4px solid $brand-primary;
                box-shadow: 1px 1px 1px #d4d6d7;
                border-bottom: 1px solid #b4b6b7;
                color: $dark; 
                
                    }
                }
            } 
        }
}
.content-block{padding: 0;}
.form_listing{
    font-size: 13px;
    .form-control{
        font-size: 13px;
    }
}
label .sub-text{
    font-size: 12px;
    font-weight: 400; 
    display: block;
    font-style: italic;
}
.tabpane_inner{
    padding-bottom: 60px;
}
.right_block,.contents{
    .image-block{
        padding: 30px 15px;
        img{
            margin: 0px auto;
            display: block;
        }
    }
    .tab-head {
        font-size: 16px;
        color: $dark;
        padding: 10px 0 !important;
        font-weight: $font-weight-rglr;
        text-transform: uppercase;
    }
    .title-section{
    padding: 10px 0; 
    border-bottom: 1px solid #f1f1f1;
    
    .deal-title{
        font-size: 17px;
        font-weight: $font-weight-rglr;
        .status-active{
            background: $brand-primary;
            color:$light;
            padding: 2px 5px;
            display: inline-block;
            border-radius: 10px;
            font-size: 12px;
                margin-left: 5px;
        }
    }
    .back-link{
        font-size:12px;
           text-decoration: underline !important;
            padding: 0 10px;
    }
 }
    .tabpane{
        min-height: 555px; 
        .outer-tab{
           
           > ul{
                > li{
                   border-bottom: none !important;  
                }
            }
        }
        .form_listing{
            > ul{ 
               > li{
                 border-bottom: 1px solid #ebebeb;
                 padding: 15px 0 3px;
                }
            }
            >ul{
                >li{
                 border-bottom:0;
                 padding: 15px 0 3px;
                    &:first-child{
                       padding: 0 !important;
                    }
                }
            }
           
            .leftside01{
                    float: left;
                    width: 50%;
                    color: #6b6b6b;
            }
            .rightside01-new{
                    float: right;
                    width: 50%;
                    color: $dark;
                    font-weight: $font-weight-semibold;
                .category-section{
                    ol{
                        li{
                           border-bottom: none;
                            padding: 0;
                        }
                    }
                    
                }
            }
        }
    }
}
.category-section {
    .icon-enlarge{
        position: absolute;
        right: -10px;
        cursor: pointer;
    }
    .div-city{
        padding: 10px;
        border: 1px solid #d6d6d6;
        >ul{
            overflow: auto;
            //max-height: 200px;
            li{
                .expand{
                   // border: 1px solid #d6d6d6;
                    cursor: pointer;
                    text-align: center;
                    padding: 2px 0px;
                    font-size: 10px;
                    text-indent: -9999px; 
                    &.colapse{
                        padding: 2px 0px; 
                    }
                }
            }
        }
        h2{
            display: none;
        }
    }
}
.overflow{
    overflow: hidden;
}
.open{
    &.category-section {
        height: 100%;
        left: 0;
        position: fixed;
        top: 0;
        width: 100%;
        z-index: 999;
        padding: 0;
        &::before{
            background-color: rgba(0, 0, 0, 0.8);
            content: "";
            display: block;
            height: 100%;
        }
        .icon-enlarge {
            color: #fff;
            right: 20px;
            top: 10px;
            font-size: 17px;
        }
        .div-city{
            border: 0 none;
            height: 100%;
            left: 10%;
            overflow: auto;
            padding: 15px 1%;
            position: absolute;
            top: 98px;
            width: 82%;
            background-color: #fff;
            h2{
                display: block;
            }
        }
        .fixed-section{
            position: fixed;
            background: #f5f5f5;
            width: 82%;
            padding: 5px 10px 0;
            top: 8px;
            left: 10%;
        }
    }
}
.contents{ 
    .form_listing{
        padding: 0 0 15px 0;
    }
    .info-head{
        margin-bottom: 15px;
    }
    .chosen-container{
        width:100% !important;
        a{
            border-radius: 2px;
            height: 33px;
        }
    }
    .tabpane{
        padding: 30px;
        h3{
           padding-left: 0;
        }
    }
}
.img-txt{
    padding: 50px 0 0 10px;
    float: left;
    width: 52%;
    font-size: 13px;
}
.media-upload{
    label{
        font-size: 13px;
    }
}
.custom-radio label {
    display: inline-block;
}
.crop-block .img-left{
    margin-bottom: 10px;
}

.product_info{
    ul{
        li{
         //border-bottom: 1px solid #ebebeb !important;
         padding: 15px 0 3px;
        &:last-child{
             border-bottom: none !important;
        }
        }
    }
    .sectionTitle{
        padding: 0 !important;    
    }
}
.dealOptionRow { 
    > li {
        &:first-child {
        padding: 0 !important;
        }
    }
}
.BreadCrump{
    li{
        display: inline-block
    }
}
.cmn-tooltip{
    display: inline-block !important;
    .help{
        background: #696969;
        padding: 5px;
        border-radius: 3px;
        -moz-border-radius: 3px;
        position: absolute;
        bottom: 28px;
        left: -75px;
        color: $light;
        width: 200px;
        word-wrap: normal;
        visibility:hidden;
        transform: scale(0);
        opacity: 0;
        transition: all .5s ease;
        &:after{
            border: #696969 5px solid;
            border-color: #696969 transparent transparent;
            content: "";
            position: absolute;
            left: 75px;
            bottom: -10px;
        }
    }
    .icon-question{
        cursor:pointer;
        &:before{
            color: #999;
            font-size: 16px;
        }
    }
    &:hover{
       .help{
            visibility:visible;
            opacity: 1;
            transform: scale(1);
            transition: all .5s ease;
       } 
    }
}
#group_prices_table,#tiers_table{
    background-color: #f8f8f8;
    padding: 10px;
    .field{
        margin-right: 5px;
        margin-bottom: 5px;
    }
    .header .form-control {
        background: #f8f8f8;
        font-weight: 600;
    }
    .txt-hide{
        margin:11px 0 0 5px;
        display: inline-block;
        position:absolute;
    }
    .option_tier_price_qty { 
        width:40%;
        float:right
    }
    small{
        margin-top: 10px;
        display: inline-block;
    }
}
#tiers_table{
    .txt-hide{
        margin:11px 0 0 5px;
        display: inline-block;
        position:absolute;
    }
}
.image-upload{
    ul{
        li{
            cursor: move;
            float: left;
            padding: 8px 3px 8px 8px!important;
            margin: 0 5% 10px 0;
            background: $light;
            width: 45%;
            position: relative;
            border: #ccc 1px dotted !important;
            height: 184px;
            .icon-close{
                position: absolute;
                right: 8px;
            }
            &.addimg-bx{
                border: 0 !important;
                height:auto!important;
            }
            .upload-column {
                float: left;
                margin: 0 5px 0 0;
                width: 45%;
                text-align: left;
                .show{
                    margin-top: 52px;
                }
                .btn{
                    width: 100%;
                    text-overflow: ellipsis;
                    white-space: nowrap;
                    overflow: hidden; 
                }
            }
        }
    }
    .fileuploader{
        max-width:120px;
        width:100%; 
        height: 115px;
        img{
            width: 100% !important;
            height:auto;
        }
    }
}

.fileuploader{
    border-radius: 3px;
    overflow: hidden;
    display:inline-block;
    img{
        border: 1px solid #dbdbdb;
        border-radius: 3px;
    }
}
.icon-icon-plus, .icon-plus2 {
    margin-right: 5px;
} 
.cm-buttons-floating {
    position: fixed;
    margin-left: 0;
    bottom: 0;
    width: 100%;
    border-top: #ddd 1px solid;
    background-color: rgba(250, 250, 250, .8);
    background-color: #f5f5f5;
    z-index: 500;
    height: 50px;
    .submit-position {
        bottom: 9px;
        left: 39%;
        width: auto;
        height: auto;
        width:100%;
    }
}
.submit-position {
    position: absolute;
    bottom: 45px;
    left: 27%;
    height: 30px;
    color: #ACACAC;
    font-weight: bold;
}
.attr-grid{
    border-bottom: 0;
    margin-bottom: 10px;
    .form-control{
        width:180px;
    }
}

.attribute-section {
    h4{
        padding: 10px 0;
    }
}
.expand-span{
    display: inline-block;
    &.expandable{
        .collapse{
            display: none;
        }
    }
     &.collapsable{
        .expand{
            display: none;
        }
    }
}
#shiphead{
    a{
        color: #919191;
        margin-right: 5px;
        font-size: rem(13);
    }
} 
.status-inactive.icon-tick{
    opacity:.5;
}
#optionGrid{
    border:1px solid $border-color;
    border-bottom: 0;
    th,td{
        padding:10px;
        font-weight: $font-weight-semibold;
    }
    .grid-upload-img {
        width: 30px;
        height: 30px;
        img{
            max-width: 100%;
            width:auto;
            height :auto;
        }
    }
    .attributeOptionRow{ 
        .form-control {
            width: 48%;
            float: left;
        }
        select{
            float:right !important;
        }
    }
    .deleteRow{
        color: #8b8b8b;
    }
    .cmn-tooltip .help{
        font-size: rem(12);
        bottom: auto;
        top:100%;
            z-index: 100;
        &:after{
            top: -5px;
            left: 88px;
            bottom: auto;
            border-bottom: #696969 5px solid;
            border-left: transparent 5px solid;
            border-right: transparent 5px solid;
            border-top:0;
        }
    }
} 
/*--------------------------------------custom option--------------------------------*/

.custom-option-btns{
    padding: 0 0 15px;
    .addCustomAttributes{
        margin-right: 10px;
    }
}
.add-option-content{
    padding:15px 30px ;
    border-bottom: 1px solid $border-color;
}
.add-option{
    .fullwidth{
        padding:20px 30px;
    }
    .product-add{
        padding: 20px 30px;
        border-bottom: 1px solid $border-color;
    }
    .sub-text{
        padding: 20px 0 0 0;
        display: inline-block;
        color: lighten($dark, 40%);
    }
    .section_wrap{
        padding: 20px 30px;
        border-bottom: 1px solid $border-color;
    } 
}

/*--------------------------------------custom option--------------------------------*/
.unit-rating {
    height: 18px;
    width: 80px;
    position: relative;
    background: url(../images/rating.png) 0 -15px repeat-x;
    overflow: hidden;
    li{
        background: url(../images/rating.png) repeat-x 0 0;
        position: absolute;
        height: 16px;
        display: block;
        text-indent: -9000px;
        z-index: 1;
        overflow: hidden;
        font-size: 0;
    }
}
/*--------------------------------------custom option add--------------------------------*/

#cboxContent {
    position: relative;
    border: lighten($dark, 80%) 1px solid;
    box-sizing: content-box;
}
#cboxLoadedContent {
    border: 0;
    background: $light;
    margin-top: 64px;
}
.cboxIframe {
    width: 100%;
    height: 100%;
    display: block;
    border: 0;
    background: $light;
}
#cboxTitle {
    position: absolute;
    top: 0;
    left: 0;
    color: $dark;
}
#cboxTitle {
    margin: 0;
    background-color: $light;
    color: lighten($dark, 35%);
    width: 100%;
    font-size: rem(18);
    font-weight: $font-weight-bold ;
    height: 64px;
    padding: 30px 30px 0;
}
#colorbox{
    box-shadow: 0 2px 2px 2px rgba(0,0,0,0.1);
    border:0;
    outline: 0;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 10000000;
    overflow: hidden;
    position: fixed!important;
    top: 10px!important;
}
#cboxClose{
    position: absolute;
    top: 4px;
    right: 10px;
    display: block;
    background: none;
    width: 21px;
    height: 26px;
    border: 0;
    outline: 0;
    font-size: rem(22);
    color: #a6a6a6;
    .icon-close-narrow:before {
        font-size: rem(16);
        font-weight: $font-weight-bold;
        margin-top: 12px;
        display: inline-block;
    }
}
#cboxOverlay{
    background: #fff;
    position: fixed;
    display:block;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 10000000;
    overflow: hidden;
}
.check_validation{
    display: block;
    height: 34px;
}
.popup-block{
    .grid_table00{
        th,td{
            padding:5px;
            font-size: 12px;
        }
    }
    label{
        margin-bottom: 0;
        padding-left: 15px;
    }
}
.submit-block {
    padding: 15px;
}
.help-txt {
    font-size: 11px;
}
/*--------------------------------------custom option add--------------------------------*/
/*--------------------------------------related product upsell & crosssell--------------------------------*/

.product-related {
    padding: 10px 0 20px;
    .select-box-static {
        font-weight: 400;
        color: #8b8b8b;
        border: 1px solid #c1c1c1;
        padding:6px 20px 6px 15px;
        background: $light;
        display: block;
        position: relative;
        border-radius: 2px;
        &:after{
            content: "";
            border-color: #4d4d4d transparent transparent;
            border-width: 6px 6px 0;
            border-style: solid;
            width: 0;
            height: 0;
            position: absolute;
            right: 10px;
            top: 50%;
            margin-top: -3px
        }
    }
    .drop-div{
        ul{
            height: 380px;
            overflow: auto;
            &.product_drop_sell{
                height: 440px;
            }
            li{
                border-bottom: $border-color solid 1px;
                padding: 12px 7px;
                position: relative;
                color:$brand-primary;
                background: $light;
                a{
                    font-size: rem(10);
                    position: absolute;
                    right: 8px;
                    top: 17px;
                    font-weight: $font-weight-semibold;
                }
                &:nth-child(even){
                    background: lighten($brand-primary, 59%);
                }
            }
            .sort-label,.sort-labelUp{
                position: absolute;
                top: 40%;
                left: 30%;
                font-style: italic;
                color: #999;
            }
        } 
        .product_drop_right,.product_drop_rightUp,.product_drop_rightCross{
            margin:0 10px 10px;
            border: dashed 1px #e0e0e0;
        }
    }
}
.cate-dropdown{
    position: absolute;
    width: 100%;
    padding: 10px;
    border: #ccc 1px solid;
    margin-top: -1px;
    .fixed-section {
        padding: 0 10px 10px;
        border-bottom: #ccc 1px solid;
        margin: 0 -10px 5px;
    }
    .main-listing{
        max-height: 250px;
        overflow: auto;
    }
    .expand {
        font-size: 12px;
    }
}
.related-section{
    background: #fafafa;
    border: 1px solid $border-color;
    .related-top{
        padding: 25px 20px 10px;
    }
    .related-head{
        padding: 10px 20px;
    }
}

.status_Active {
    color: green;
    font-weight: 600;
} 

.custom-option-grid a {
    color: #919191;
    margin-right: 5px;
    font-size: rem(13);
}
.inventory-left{
    >ul{
        >li{
            &:nth-child(odd){
                font-weight: 600;
            }
            &:nth-child(even){
                label{font-weight: 400 !important;}
            }
        }
    }
}
/*--------------------------------------related product upsell & crosssell--------------------------------*/

.attr-grid label {
    font-size: rem(13) !important;
    font-weight: $font-weight-rglr;
}
.category-list01{
    position:relative;
    .div-city {
        position: absolute;
        background: $light;
        z-index: 100;
    }
}
.inventory-left,.inventory-right{
    margin: 20px 0;
    ul li {
        border-bottom: 0 !important;
    }
}
span.or-block {
    margin: 0 5px;
}
.productOptionRow.option{
    border: 1px solid $border-color;
    h3{
        padding:10px 15px !important; 
        position:relative;
        a{
            position:absolute;
            right: 15px;
            font-size: rem(12);
            top: 15px;
            color: #8b8b8b;
            font-weight: $font-weight-bold;
        }
    }
    .productOptionRow-details{
        padding:0 15px;
    }
}
.product-img-main,.img-right{
    .fileuploader {
        max-width: 140px;
        width:100%;
        height: 140px;
        img{
            width:auto;
            height:auto;
            max-width: 100%;
            margin: 0 auto;
        }
    }
}
#categoryList{
    .li_catIDs{
        margin-bottom: 5px;
        >.categoryList{
            margin-left: 15px;
            margin-top: 4px;
        }
    }
}
#productExport {
    .category-section{
        .multiselect {
            overflow: hidden;
            text-overflow: ellipsis; 
            height: 34px;
            .caret {
                margin: 9px -9px !important;
            }
        }
    }
}
.div-city{
    max-height: 200px;
    overflow-x:hidden;
    border: 1px solid #cacaca;
    padding: 5px;
    border-radius: 2px;
}
.expand:before {
    font-size: 9px;
    border: 1px solid #ccc;
    padding: 2px 2px 1px 1px;
}
textarea.form-control {
  overflow-x: hidden;
  }
.review-listing{
    padding:0 0 20px;
    .listing{
        margin-bottom:15px;
    }
    .table-bordered{
        td, th{
            border: 1px solid $border-color;
            padding:12px 15px;
            text-align: left;
        }
        td:last-child{
                text-align: center;
            }
    }
}
.detail-blk {
    border-left: 1px solid $border-color;
    padding-top: 20px;
}

.reviewReadMore {
    .v-less{
        display: none;
    }
    &.minus01  {
        .v-more{
            display: none;
        }
        .v-less {
            display: inline-block; 
        }
    }
    span{
        color:$brand-secondary;
    }
}
.contents{
    padding:25px 20px;
}


@media screen and (max-width: $screen-xs){
    .edit-product{
        float: left !important;
    }
    .cmn-tooltip .help{
        left: 0;
    }
    .right_block .tabpane .form_listing .leftside01, .contents .tabpane .form_listing .leftside01{
          width: 100%; 
    }
    .right_block .tabpane .form_listing .rightside01-new, .contents .tabpane .form_listing .rightside01-new{
        width: 100%; 
    }
    .cm-buttons-floating .submit-position{
        left:5%;
    }
    .add-combntn {
        float: left !important;
        margin: 8px 0;
    }
    .submit-position{
        left: 30px;
    }
    .inventory-crtl{
        .submit-block{
            height:auto;
            #ComboCancel{
                margin-top: 15px;
            }
        }
    }
    .custom-option-btns a{
        float:none !important;
        margin-bottom: 10px;
    }
}

@media screen and (max-width: $screen-sm-max){
     #tiers_table .tier-qty {
        width: 100%;
    }
    .category-section {
        .icon-enlarge{
            right: 0;
        }
    }
}
@media screen and (max-width: $screen-xs-max){
    .img-txt{
        padding: 10px 0 0;
        width:100%;
    }  
    .contents .tabpane{
        padding: 15px;
    }
    .related-top{
        >div{
            padding:0;
        }
    }
    .open.category-section .icon-enlarge {
        right: 0;
    }
    .left_block{
        .left-tab {
            margin-right: 0;
            // display: none;
        }
        h6 {
            // padding: 5px 25px;
            margin: 10px 0;
            position: relative;
            font-size: 15px;
            // &:before {
            //     content: "\e64a";
            //     font-family: 'icomoon';
            //     position: absolute;
            //     left: 0;
            //     top: 50%;
            //     font-size: 13px;
            //     @include translate(0, -50%);
            // }
            // &.active:before {
            //     content: "\e817";
            // }
        }
    }
}
@media screen and (max-width: $screen-md-max) and (min-width: $screen-md){
    .fileuploader{
        width:100% !important;
    }
}
@media screen and (max-width: $screen-sm-max){
    .image-upload ul li{
        width:100%;
    }
}

/* RTL */
@import "rtl/product-details_rtl";
