/*
Global modifiers
*/

.full_w{
    width:100%;
}

/*
Elements
*/

.message.error_result{
    color:#993333;
}

.message.success_result{
    color:#228822;
}

#storefront input[type=button]{
    padding:15px ;
    border-radius:3px;
    border:none;
    background-color:#ce1254;
    color:#F2F2F2;
    box-sizing:border-box;
    font-weight:bold;
    cursor:pointer;

}

#storefront input[type=button]:hover{
    background-color:#000000;
    color:#FFFFFF;
}

#storefront input[type=button]:active{
    background-color:#000000;
    color:#F2F2F2;
}

#storefront input[type=button].cancel{
    background-color:#F0F0F0;
    color:#444444;
}

#storefront input[type=button].cancel:hover{
    background-color:#F3F3F3;
    color:#222222;
}

#storefront input[type=button].cancel:active{
    background-color:#DFDFDF;
    color:#000000;
}

#storefront input[type=button].product_back_button{
    margin-top:32px;
    background-color:#DEDEDE !important;
    color:#222222;
}

#storefront input[type=button]:hover.product_back_button{
    background-color:#EAEAEA !important;
    color:#111111;
}

#storefront input[type=button]:active.product_back_button{
    background-color:#DDDDDD !important;
    color:#050505
}

#storefront .order_table{
    width:100%;
    margin:0px 0px 16px 0px;
}

#storefront .order_table td{
    padding: 4px 0px 4px 0px;
    text-align:right;
}

#storefront .order_table td.total{
    font-weight:bold;
}

#storefront .order_table tr td:first-child{
    width:75%;
    text-align:left;
}



/*
 PRODUCT VIEW
*/
.product_view{
    border: none;
    width:100%;
}

.product_view .product_main{
    float:none;
    width:100%;
    padding:2px;
    margin:0px -4px 0px -4px;
}

.product_view .product_secondary{
    float:none;
    margin-left:0px;
    width:100%;
    padding:2px;
    margin:5px -4px 0px -4px;
}

.product_view .product_name{
    font-size:170%;
    font-weight:400;
    margin:8px 0px 18px 0px;
	line-height: 40px;
}

.product_view .product_variation{
 
    margin:16px 0px 8px 0px;
}

.product_view .product_variation .price{
  
    font-size:150%;
    font-weight:bold;
	color: #7DB8B8;
}

.product_view .product_variation .price .sale_price{
    color:#DD2222;
}

.product_view .product_variation .price .sale_old_price{
    color:#AAAAAA;
    text-decoration: line-through;
}

.product_view .product_in_stock{
    display:block;
    font-size:110%;
    font-weight:bold;
    color:#228822;
    margin:16px 0px 16px 0px;
}

.product_view .product_no_stock{
    display:block;
    font-size:110%;
    font-weight:bold;
    color:#993333;
    margin:16px 0px 16px 0px;
}


.product_view .product_description{
    padding-top:16px;
    padding-bottom:16px;
}

.product_view .buy_container{
    padding-top:10px;
    margin-top:1px;
    border-top:1px solid #DDDDDD;
}

.product_view .buy_container .required{
    margin-left:4px;
    color:#AA3333;
}

.product_view .buy_container .message a{
    color:#666666;
}

.product_view .buy_container .message a:hover{
    color:#444444;
}

.product_view .buy_container .message{
    clear:both;
    padding:12px 0px 12px 0px;
}

.product_view .buy_container select{
    margin:4px 0px 16px 0px;
}

.product_view .buy_container .quantity_input{
    margin:0px 0px 8px 8px !important;
    padding:15px;
    box-sizing:border-box;
    width:58px;
}

.product_view .buy_container .variation_container{
    font-weight:bold;
}
.product_view .buy_container .quantity_container{
    display:inline;
    clear:none;
    float:none;
    width:100%;
}

.product_view .buy_container .quantity_outer_container{
    clear:both;
    float:none;
    width:100%;
}

.product_view .buy_container .add_to_cart_button{
    margin:8px 0px 0px 0px;
    width:100%;
}

.product_view .product_back_button{
    width:100%;    
}

.product_image_gallery{
    
}

.product_image_gallery .product_image_large{
    background-color:#FFFFFF;
    border:1px solid #FDFDFD;
    height:400px;
    background-position: center; /* Center the image */
    background-repeat: no-repeat; /* Do not repeat the image */
    background-size: contain; /* Resize the background image to cover the entire container */
}


.product_image_gallery .product_thumbnails{
    width:50%;
    margin-left:auto;
    margin-right:auto;
}
.product_image_gallery .product_image_thumb{
    float:left;
    width:25%;
    margin:4px;
}

.product_image_gallery .product_image_thumb a{
    display:block;
    width:100%;
}

.product_image_gallery .product_image_thumb img{
    display:block;
    width:100%;
    border:1px solid #F0F0F0;
}
/*
 CATALOG VIEW
*/



.catalog_view{
    
}

.catalog_view .category_name{
    font-size:200%;
    font-weight:bold;
    margin-bottom:30px;
}

.catalog_filter{ margin-top:50px;}

.catalog_view .filter_heading{
    font-size:170%;
    font-weight:bold;
    margin:0px 0px 18px 0px;
}

.catalog_view .filter_actions{
    margin-top:16px;
}


.catalog_view .product{
    float:left;
    width:50%;
    padding:10px;
    box-sizing: border-box;
    margin-bottom:20px;
    min-height:420px;
    transition: box-shadow 0.3s ease-in-out;
}

.catalog_view .product:hover{
    box-shadow:1px 1px 20px #DDDDDD;
}

.catalog_view .product .thumb{
    margin-top:8px;
    width:100%;
    height:200px;
    background-position: center; /* Center the image */
    background-repeat: no-repeat; /* Do not repeat the image */
    background-size: contain; /* Resize the background image to cover the entire container */
}

.catalog_view .product .product_name{
    text-align:center;    
    margin:20px 0px 0px 0px;
    height:48px;
    overflow:visible;
}

.catalog_view .product .product_variation{
    text-align:center;
    color:#444444;
   /* height:40px;*/
    overflow:clip;
    margin:0px 0px 8px 0px;
    font-weight:bold;
}

.catalog_view .product .product_variation .single{
    padding-top:8px;    
}

.catalog_view .product .more_options{
    font-weight:normal;
    font-size:90%;    
}

.catalog_view .product .product_price{
    margin:12px 0px 12px 0px;
    text-align:center;    
    font-size:115%;
    color:#339933;
}

.catalog_view .product .product_price .sale_price{
    color:#AA2222;
}
.catalog_view .product .product_price .sale_previous_price{
    text-decoration: line-through;
    color:#AAAAAA;
}



.catalog_view .product .product_price .price_from{
    color:#444444;
    font-size:70%;
    font-weight:bold;    
}

.catalog_view .product a{
    color:#444444;    
}

.catalog_view .product a:hover{
    color:#000000;    
}


.catalog_view .product .details_link{
    text-align:center;    
    margin: 16px auto 8px auto;
    padding:12px;
    border:none;
    border-radius:6px;
     background-color:#ce1254;
    color:#F2F2F2;
    display:block;
    width:70%;
}

.catalog_view .product .details_link:hover{
    background-color:#000000;
    color:#FFFFFF;
}

.catalog_view .product .details_link:active{
    background-color:#000000;
    color:#F2F2F2;
}

.catalog_view .catalog_options{
    float:none;
    width:100%;
    padding:2px;
    margin:0px -4px 0px -4px;
}

.catalog_view .catalog_products{
    float:none;
    margin-left:0px;
    width:100%;
    padding:2px;
    padding-bottom:16px;
    margin:5px -4px 0px -4px;
}

.catalog_view .catalog_header{
    margin-bottom:16px;
}

.catalog_view .catalog_header_item{
    float:left;
    margin-right:16px;
}

.catalog_view .catalog_header_item.item_count{
    font-weight:bold;
    font-size:110%;
    margin-top:2px;
}

.catalog_view .catalog_header_item input, .catalog_view .catalog_header_item select{
    margin:0px;
    padding:2px;    
    border:1px solid #AAAAAA;

}

.catalog_navigation{
    clear:both;
    display:block;  
    margin:0px;
    padding:0px;  
}

.catalog_navigation li{
    display:block;   
    float:left;
    padding:0px;
    background-color:#EEEEEE;
    color:#000000; 
    text-align:center;
    margin: 0px 8px 8px 0px;
    width:36px;
    height:36px;
    line-height:36px;
    user-select: none;
}

.catalog_navigation li a{
    display:block;
    line-height:24px;
    width:100%;
    padding:6px;
    width:24px;
    height:24px;
    user-select: none;
}
.catalog_navigation li.selected{
    background-color:#CCCCCC;    
}

.catalog_navigation li a:hover{
    background-color:#DDDDDD;
}

/*
 CART VIEW
*/
.cart_view{
    margin:0px;
    padding:0px;
}

.cart_view .cart_items{
    float:none;
    width:100%;
    margin:0px 0px 16px 0px;
    padding:0px;
}

.cart_summary{
    background-color:#F7F7F7;
}

.cart_view .cart_summary{
    float:none;
    width:100%;
    margin: 0px 0px 12px 0px;
    padding:0px;
    padding:0px;
}

.cart_summary .summary_content{
    padding: 8px;
}

.cart_summary .summary_title{
    font-size:150%;
    font-weight:bold;
    padding-bottom:8px;
    border-bottom:1px solid #DDDDDD;
    margin-bottom:8px;
}

.cart_view .cart_header{
    font-size:200%;
    font-weight:bold;
    margin:0px 0px 32px 0px;
}

.cart_view .message{
    border:1px solid #AAAAAA;
    margin:8px 0px 8px 0px;
}

.cart_view .message.error_result{
    color:#993333;
    border-color:#993333;
    padding:4px;
}

.cart_view .message.success_result{
    color:#228822;
    border-color:#228822;
    padding:4px;
}

.cart_view .cart_items .cart_item.header .item_product{
    font-weight:bold;
}
.cart_view .cart_items .cart_item.header .item_price{
    text-align:center;
    font-weight:bold;
}
.cart_view .cart_items .cart_item.header .item_quantity{
    text-align:center;
    font-weight:bold;
}
.cart_view .cart_items .cart_item.header .item_subtotal{
    text-align:center;
    font-weight:bold;
}
}
.cart_view .cart_items .cart_item.header .item_actions{
    text-align:center;
    font-weight:bold;
}

.cart_view .cart_items .cart_item .item_product{
    float:left;
    width:40%;
    box-sizing: border-box;
}
.cart_view .cart_items .cart_item .item_price{
    float:left;
    width:23%;
    box-sizing: border-box;
    text-align:center;
}
.cart_view .cart_items .cart_item .item_quantity{
    float:left;
    width:7%;
    box-sizing: border-box;
    text-align:center;
}
.cart_view .cart_items .cart_item .item_subtotal{
    float:left;
    width:23%;
    box-sizing: border-box;
    text-align:center;
}
.cart_view .cart_items .cart_item .item_actions{
    float:left;
    width:7%;
    box-sizing: border-box;
    text-align:center;
}
.cart_view .cart_items .cart_item .item_quantity input{
    display:block;
    width:100%;
    margin-left:auto;
    margin-right:auto;
    text-align:center;
}


.cart_view .cart_items .cart_item .item_product,.cart_view .cart_items .cart_item .item_price,.cart_view .cart_items .cart_item .item_quantity,.cart_view .cart_items .cart_item .item_subtotal{
    margin:0px 0px 32px 0px;
}

.cart_view .cart_items .cart_item .item_product .product_image{
    float:left;
    width:25%;
    width:100%;
    margin: 0px 2% 0px 0px;
}

.cart_view .cart_items .cart_item .item_product .product_image .image_container{
    display:block;
    width:100%;
    margin: 0px auto 4px auto;
    height:64px;
    background-position: center; /* Center the image */
    background-repeat: no-repeat; /* Do not repeat the image */
    background-size: contain; /* Resize the background image to cover the entire container */
}

.cart_view .cart_items .cart_item .item_product .product_description{
    float:left;
    width:72%;
    min-width:200px;
}

.cart_view .cart_items .cart_item .item_product .product_description .product_name{
    font-size:110%;
    margin:0px 0px 8px;
}

.cart_view .cart_items .cart_item .item_product .product_description .variation_attribute_name{
    font-weight:bold;
    margin:0px 0px 4px;
}

.cart_view .cart_items .cart_item .item_product .product_description .variation_attribute_value{
    
}

.cart_view .back_button_container{
    float:left;
    width:50%;
}

.cart_view .update_button_container{
    float:right;
    width:50%;
    text-align:right;
}

/*Search*/

.search_container{
    display:inline-block;
    margin:0px;
    padding:0px;
    background-color:#FFFFFF;
    border: 1px solid #AAAAAA;
    box-sizing:border-box;
}

.catalog_view .search_container{
    width:100%;
    margin-bottom:40px;
}

.search_container .search_input{
    width:88%;
    margin:0px;
    padding:16px 0px 16px 8px;
    border:none !important;
    background-color:#FFFFFF;
    box-sizing:border-box;
}

.search_container .search_button{
    float:right;
    height:24px;
    margin:7px 3px 0px 0px;
    background-color:#FFFFFF;
    border: none;
    display:inline-block;
    width:10%;
    text-align:right;
}
.search_container .search_button img{
    margin:9px 0px -5px 0px;
    width:25px;
}

.search_container .search_button:hover img{
    margin:10px 0px -5px 0px;
    width:23px;
}

.search_toggle{
    margin:0px;
    padding:0px;
}
.search_toggle img{
    width:20px;
    height:20px;
    margin:0px;
    padding:0px;
    margin-bottom:-3px;
}
.search_toggle:hover img{
    width:19px;
    height:19px;
}


/* Very small screen width */
@media only screen and (min-width: 350px) {

    .cart_view .cart_items .cart_item .item_product{
        float:left;
        width:62%;
        box-sizing: border-box;
    }

    .cart_view .cart_items .cart_item .item_product .product_image{
        width:24%;
    }

    .cart_view .cart_items .cart_item .item_product .product_image .image_container{
        height:100px;
        margin:0px;
    }

    .cart_view .cart_items .cart_item .item_product .product_description{
        float:left;
        width:72%;
        min-width:0px;
    }

    .cart_view .cart_items .cart_item .item_price{
        width:12%;
    }
    .cart_view .cart_items .cart_item .item_quantity{
        width:10%;
    }
    .cart_view .cart_items .cart_item .item_subtotal{
        width:12%;
    }
    .cart_view .cart_items .cart_item .item_actions{
        width:5%;
    }
    .cart_view .cart_items .cart_item .item_quantity input{
        width:45%;
    }
}

/* Non-desktop */
@media only screen and (max-width: 991px) {
    .catalog_options .expandable_category{
        float:left;
        box-sizing: border-box;
        padding:0px;
        margin:0px;
    }

    .catalog_options .expandable_category .expandable_name, .catalog_options .expandable_category .expandable_name.parent{
        width:100%;
        padding:0px;
        margin:0px 16px 16px 8px;
    }
    .catalog_options .expandable_category .expandable_name a{
        padding:0px;
        margin:0px;
    }
    .catalog_options .expandable_category .expandable_status{
        display:none;
    }

    .catalog_view  .catalog_filter{
	
        float:left;
        margin: 20px 8px 20px 0px;
    }
    .catalog_view  .filter_actions{
        float:left;
        margin:0px;
    }
    .catalog_view  .catalog_filter .filter_heading{
        display:inline;
        margin:8px;
        font-size: initial;
    }
    .catalog_view  .catalog_filter input{
        height:32px;
    }
    .catalog_view .filter_actions input[type=button]{
        font-size: initial !important;
        margin:0px;
        padding:0px 8px 0px 8px !important;
        height:32px;
    }
}


/* Desktop, Minimum screen width 1024 pixels */
@media only screen and (min-width: 1024px) {


    .desktop_block{
        display: block;
    }
    .mobile_block{
        display: none;
    }

    .desktop_inline{
        display: inline;
    }
    .mobile_inline{
        display: none;
    }


    /*
     PRODUCT VIEW
    */

    .product_view{
        width:70%;
        margin-left:auto;
        margin-right:auto;
    }

    .product_view .product_main{
        float:left;
        width:40%;
        margin:0px 0px 32px 0px;
        padding:0px;
    }

    .product_view .product_secondary{
        float:right;

        margin:0px 0px 32px 1%;
        width:56%;
        margin:0px;
    }

    .product_view .buy_container .add_to_cart_container{
        clear:none;
        float:left;
    }

    .product_view .buy_container .quantity_container{
        display:inline;
        clear:none;
        float:none;

    }

    .product_view .buy_container .quantity_outer_container{
        clear:none;
        float:left;

    }

    .product_view .buy_container .add_to_cart_button{
        margin:0px 8px 0px 0px;
        width:auto;
    }

    .product_view .product_back_button{
        width:auto;
    }

    .product_view .buy_container .quantity_input{
        padding:11px;
        border: 1px solid #AAAAAA;
    }

    .product_image_gallery .product_thumbnails{
        width:90%;
        margin-left:auto;
        margin-right:auto;
    }

    .product_image_gallery .product_image_thumb{
        float:left;
        width:24%;
        margin-right:1%;
    }

    /*
     CATALOG VIEW
    */

    .catalog_view .product{
        width:32%;
    }

    .catalog_view .catalog_options{
        float:left;
        width:21%;
        margin:0px 0px 32px 0px;
        padding:0px;
    }

    .catalog_view .catalog_products{
        float:right;
        margin:0px 0px 32px 1%;
        width:77%;
        margin:0px;
    }

    .catalog_view{

    }


}

/* Desktop, Minimum screen width 1366 pixels */
@media only screen and (min-width: 1366px) {
    
    .catalog_view .product{
        width:25%;
    }
    
    .catalog_view .catalog_options{
        width:20%;
    }
    
    .catalog_view .catalog_products{
        width:78%;
    }
    
    .product_view .buy_container .add_to_cart_button{
        font-size:110%;
    }
    
    .cart_view .cart_items .cart_item .item_product{
        width:73%;
    }

    .cart_view .cart_items .cart_item .item_price{
        width:7%;
    }
    .cart_view .cart_items .cart_item .item_quantity{
        width:7%;
    }
    .cart_view .cart_items .cart_item .item_subtotal{
        width:7%;
    }
    .cart_view .cart_items .cart_item .item_subtotal{
        width:7%;
    }
    
    .cart_view .cart_items .cart_item .item_product .product_image{
        width:20%;
    }

    .cart_view .cart_items .cart_item .item_product .product_description{
        width:78%;
    }
}
