/*start: table layout*/
.sc-shopify-fdf-res-table {
    display: table;
    width: 100%; 
    background: #fff;
    margin: 0;
    box-sizing: border-box;

}

.sc-shopify-fdf-caption {
    display: block;
    width: 100%;
    /*min-height: 55px;*/
    height:auto;                
    padding-left: 10px;
    color: #fff;
    line-height: 20px;
    font-size: 20px;    
    text-shadow: 1px 1px 1px rgba(0,0,0,.3);
    box-sizing: border-box;
    position: relative;
}
.sc-shopify-fdf-res-row {
    display: table-row;
}

.sc-shopify-fdf-cell {
    display: table-cell;

    padding: 6px; 
    border-bottom: 1px solid #e5e5e5;
    text-align: center;
}

.sc-shopify-fdf-primary {
    text-align: left;
}
.sc-shopify-fdf-main-container
{
    margin:10px auto;
}

.sc-shopiy-bs input[type="radio"],
input[type="checkbox"]{
    display: none;
}
.sc-shopify-fdf-res-row > .v-middle
{
    vertical-align: middle; 
}
.sc-shopify-fdf-cell-img
{

}
/*end: table layout*/
div.wqo_cart_amount {
    /*background: url("../images/shop_black.png") no-repeat scroll 0 0 rgba(0, 0, 0, 0);*/
    display: block;
    font-size: 14px;
    font-weight: bold;
    height: 100px;
    line-height: 1.2em;
    padding-top: 25px;
    position: fixed;
    right: 10px;
    top:auto !important;
    bottom:10px;
    text-align: center;
    width: 100px;
    z-index: 100;
}
/*_020*/
/*
.wqo_cart_price, .wqo_cart_price:hover
{
    color:white !important;    
}
.wqo_cart_amount a,.wqo_cart_amount a:hover {
    color: white !important;
    text-decoration: none !important;
}*/
.wqo_cart_price {
    position: relative;
    top: 28px;
}
.res-modal-header {
    border-bottom: 1px solid #E5E5E5;
    padding: 15px;
}
.res-modal-body p,
.res-modal-header h4 {
    margin: 0;
}
.res-modal-body {
    padding: 20px;
}
.res-modal-body {
    padding: 20px;
}
.res-modal-content {
    width: 600px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    background-color: #FFF;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 6px;
    outline: 0 none;
    box-shadow: none;
    border: none;
}
.sc-shopify-fdf-product-price
{
    font-weight: bold;
    min-width: 185px;
}
.sc-shopify-fdf-product-qty{
    min-width: 80px;
}
.ui-autocomplete li div.auto-item {
    cursor: pointer;
    padding: 0;
}
.ui-autocomplete li span.auto-img {
    border: 1px solid gray;
    border-radius: 3px;
    display: inline-block;
    float: left;
    margin: 2px;
    padding: 2px;
    width: 45px;
}
.ui-autocomplete li a span.auto-img img {
    display: table;margin: auto;
}

.ui-autocomplete li a span.auto-text {
    display: inline-block;
    float: left;
    margin-top: 3px;
    margin-left: 5px;    
    width:215px;
}
.ui-autocomplete li a span.auto-text span.auto-title {
    font-size: 14px;
    margin-left: 3px;
}  
.clear:after {
    clear: both;
    content: ".";
    display: block;
    height: 0;
    visibility: hidden;
}
.ui-state-focus
{
    background-size: 100% auto !important;
}
.sc-shopify-fdf-caption .sc-shopify-fdf-prod-search,.sc-shopify-fdf-caption .sc-shopify-fdf-prod-pagination,.sc-shopify-fdf-caption .sc-shopify-fdf-prod-search-go
{
    float:left;
    margin:10px 0px;
}
.sc-shopify-fdf-caption .sc-shopify-fdf-prod-search{
    margin-right: 10px;
}
.sc-shopiy-bs input.quantity {
    display: inline;
    min-height: 32px;
    text-indent:6px;    
    width: 45px;
    padding:0px;
}
.sc-shopify-fdf-crossed-price {
    color: red;
    margin-left: 5px;
    text-decoration: line-through;
}
.sc-shopify-fdf-show-variant,.sc-shopify-fdf-show-variant:hover
{
    text-decoration: none;
}
.sc-shopify-fdf-avail-qty {
    color: red;
    display: block;    
    margin-top: 5px;
    font-size: 1em;
}
.sc-shopify-fdf-res-img-lg
{
    height:200px;
    width:200px;
}
.sc-shopify-fdf-res-thumb
{
    height:50px;
    width:50px;
    margin:2px;
}
.sc-shopify-fdf-res-selected-img
{
    height:200px;
    width:200px;
}      
.sc-shopify-fdf-res-dv-thumb{
    display: table;
    margin: 10px auto; 
}
.sc-shopify-fdf-res-dv-thumb ul {
    margin: 0;
    padding: 0;
}
.sc-shopify-fdf-res-dv-thumb ul li.active {
    box-shadow: 0 0 5px green;
}
.sc-shopify-fdf-res-dv-thumb ul li {
    border: 1px solid gray;
    cursor: pointer;
    list-style: none outside none;
    margin-bottom: 10px;
    padding-top: 7px;
    position: relative;
    border-radius:8px;  
    display: inline-block;
}      
.sc-shopify-fdf-res-dv-thumb a{
    cursor:pointer;
}
#sc_shopify_fdf_dvAllVariants .row{
    margin-bottom: 5px;
}
.popup-product-price
{
    font-size: 2em;
    font-weight: bold;
    margin:5px 0px;
}
#sc_shopify_fdf_dvAllVariants .row{
    margin-bottom: 5px;
}
.popup-product-price
{
    font-size: 2em;
    font-weight: bold;
    display:table;
    margin:auto;
}
button.sc-shopify-fdf-close{
    width:auto !important;    
    color: #000000;
    float: right;
    font-size: 21px;
    font-weight: bold;
    line-height: 1;
    opacity: 0.2;
    text-shadow: 0 1px 0 #ffffff;

    background: none repeat scroll 0 0 rgba(0, 0, 0, 0);
    border: 1px solid gray;
    border-radius: 3px;
    cursor: pointer;
    display: inline-block;
    margin: 0px 0px 0px 5px;
    padding: 2px 6px;
    text-decoration: none;
}
button.sc-btn:hover,a.sc-shopify-fdf-show-variant:hover
{
    text-decoration: none !important;
}

.ui-menu-item
{
    cursor:pointer;
}
@media only screen and (max-width: 479px)  {
    .sc-shopify-fdf-search-text , .sc-shopify-fdf-search-button{
        margin-top:10px;
    }    
}
@media only screen and (max-width: 760px)  {
    #sc_custom_pagination_footer
    {
        margin-top: 10px;
    }
    .form-group
    {
        margin-bottom: 0px;
    }    
    .sc-shopify-fdf-res-table {
        display: block;        
        position: relative;
        /*top:103px;*/
    }

    .sc-shopify-fdf-caption {
        /*position: fixed;*/
        top: 0;
        z-index: 5;
        min-height: 100px;
    }

    .sc-shopify-fdf-res-row { 
        position: relative;
        display: block;
        border-bottom: 1px solid #ccc; 

    }

    .sc-shopify-fdf-header-row {
        display: none;
    }

    .sc-shopify-fdf-cell { 
        display: block;

        border: none;
        position: relative;
        height: 45px;
        line-height: 45px;
        text-align: left;
    }

    .sc-shopify-fdf-primary:after {
        content: "";
        display: block;
        position: absolute;
        right:20px;
        top:18px;
        z-index: 2;
        width: 0; 
        height: 0; 
        border-top: 10px solid transparent;
        border-bottom: 10px solid transparent; 
        border-right:10px solid #ccc;

    }

    .sc-shopify-fdf-cell:nth-of-type(n+2) { 
        display: none; 
    }


    .sc-shopiy-bs input[type="radio"],
    .sc-shopiy-bs input[type="checkbox"] {
        display: block;
        position: absolute;
        z-index: 1;
        width: 99%;
        height: 45px;/*Altaf, previously it was 100%*/
        opacity: 0;
    }

    .sc-shopiy-bs input[type="radio"]:checked ~ .sc-shopify-fdf-cell,
    .sc-shopiy-bs input[type="checkbox"]:checked ~ .sc-shopify-fdf-cell {
        display: block;

        border-bottom: 1px solid #eee; 
    }

    .sc-shopiy-bs input[type="radio"]:checked ~ .sc-shopify-fdf-cell:nth-of-type(n+2),
    .sc-shopiy-bs input[type="checkbox"]:checked ~ .sc-shopify-fdf-cell:nth-of-type(n+2) {

        background: #e0e0e0;
    }

    .sc-shopiy-bs input[type="radio"]:checked ~ .sc-shopify-fdf-cell:nth-of-type(n+2):before,
    .sc-shopiy-bs input[type="checkbox"]:checked ~ .sc-shopify-fdf-cell:nth-of-type(n+2):before {
        content: attr(data-label);

        display: inline-block;
        width: 60px;
        background: #999;
        border-radius: 10px;
        height: 20px;
        margin-right: 10px;
        font-size: 12px;
        line-height: 20px;
        text-align: center;
        color: white;
        vertical-align: central;

    }

    .sc-shopiy-bs input[type="radio"]:checked ~ .sc-shopify-fdf-primary,
    .sc-shopiy-bs input[type="checkbox"]:checked ~ .sc-shopify-fdf-primary  {
        border-bottom: 2px solid #999;
    }

    .sc-shopiy-bs input[type="radio"]:checked ~ .sc-shopify-fdf-primary:after,
    .sc-shopiy-bs input[type="checkbox"]:checked ~ .sc-shopify-fdf-primary:after {
        position: absolute;
        right:18px;
        top:22px;
        border-right: 10px solid transparent;
        border-left: 10px solid transparent; 
        border-top:10px solid #ccc;
        z-index: 2;
    }
    .sc-shopify-fdf-cell-img
    {
        height:115px;
    }
    .sc-shopify-fdf-cell-img img
    {
        height:100px;
        width:100px;
    }
    .wqo_cart_amount
    {
        bottom:0px;
        right:10px;
    }
    .sc-shopify-fdf-caption .sc-shopify-fdf-prod-pagination
    {
        margin-top:0px;
        clear:both;        
    } 
    .form-group
    {
        margin-bottom: 0px;
    }    
    img.add-to-cart
    {
        margin-top: -10px;
    }
    .sc-shopify-fdf-item-row .sc-shopify-fdf-cell button,.sc-shopify-fdf-show-variant
    {
        margin:0px;
        width:100%;
    }
    .sc-shopify-fdf-item-row .sc-shopify-fdf-btn-block
    {
        display:inline;
    }
    .sc-shopify-fdf-cell-btn
    {
        height: 58px;
    }
    .sc-shopify-fdf-cell-btn:before
    {
        display: none !important;
    }
    .sc-shopify-fdf-avail-qty {
        display: inline;
        margin-top:0px;
        margin-left: 5px;
    }
}
.ui-autocomplete {
    max-height: 310px;
    width:310px;
    overflow-x: hidden;
    overflow-y: auto;
}
h4{
    border:none !important;
}
/*for pagination*/
.sc_custom_pagination {
    display: inline-block;
    vertical-align: middle;
    border-radius: 4px;
    padding: 1px 2px 4px 2px;
    border-top: 1px solid #AEAEAE;
    border-bottom: 1px solid #FFFFFF;
    background-color: #DADADA;
    background-image: -webkit-linear-gradient(top, #DBDBDB, #E2E2E2);
    background-image:    -moz-linear-gradient(top, #DBDBDB, #E2E2E2);
    background-image:     -ms-linear-gradient(top, #DBDBDB, #E2E2E2);
    background-image:      -o-linear-gradient(top, #DBDBDB, #E2E2E2);
    background-image:         linear-gradient(top, #DBDBDB, #E2E2E2);
}
.sc_custom_pagination a, .sc_custom_pagination i {
    display: inline-block;
    vertical-align: middle;
    width: 22px;
    color: #7D7D7D;
    text-align: center;
    font-size: 10px;
    padding: 3px 0 2px 0;
    -webkit-user-select:none;
    -moz-user-select:none;
    -ms-user-select:none;
    -o-user-select:none;
    user-select:none;
}

.sc_custom_pagination a {
    margin: 0 2px 0 2px;
    border-radius: 4px;
    border: 1px solid #E3E3E3;
    cursor: pointer;
    box-shadow: inset 0 1px 0 0 #FFF, 0 1px 2px #666;
    text-shadow: 0 1px 1px #FFF;
    background-color: #E6E6E6;
    background-image: -webkit-linear-gradient(top, #F3F3F3, #D7D7D7);
    background-image:    -moz-linear-gradient(top, #F3F3F3, #D7D7D7);
    background-image:     -ms-linear-gradient(top, #F3F3F3, #D7D7D7);
    background-image:      -o-linear-gradient(top, #F3F3F3, #D7D7D7);
    background-image:         linear-gradient(top, #F3F3F3, #D7D7D7);
}
.sc_custom_pagination i {
    margin: 0 3px 0 3px;
}
.sc_custom_pagination a.current {
    border: 1px solid #E9E9E9;
    box-shadow: 0 1px 1px #999;
    background-color: #DFDFDF;
    background-image: -webkit-linear-gradient(top, #D0D0D0, #EBEBEB);
    background-image:    -moz-linear-gradient(top, #D0D0D0, #EBEBEB);
    background-image:     -ms-linear-gradient(top, #D0D0D0, #EBEBEB);
    background-image:      -o-linear-gradient(top, #D0D0D0, #EBEBEB);
    background-image:         linear-gradient(top, #D0D0D0, #EBEBEB);
}
.custombox-modal
{
    position:fixed !important;
}
.sc-shopiy-bs .btn{
    letter-spacing: 0px;
}

/*020*/
.fm_menu_wrap tr, .fm_page_menu_wrap tr{
    border: 0px!important;
}
.fm_menu_wrap tr td, .fm_page_menu_wrap tr td{
    border: 0px!important;
}