/*
 * eCommerce Product Catalog
 * http://impleCode.com
 *
 * Copyright 2014 impleCode
 * Free to use under the GPLv3 license.
 * http://www.gnu.org/licenses/gpl-3.0.html
 *
 * Contributing author: Norbert Dreszer
 */
 

/* Product Archive */

/* Archive pagination */
.product-archive-nav {
clear: both;
text-align: center;
padding: 40px 0;
}

.product-archive-nav ul {
margin: 0;
}

.product-archive-nav li a,
.product-archive-nav li a:hover,
.product-archive-nav li.active a,
.product-archive-nav li.disabled {
	color: #fff;
	text-decoration:none;
}

.product-archive-nav li {
	display: inline;
}

.product-archive-nav li a,
.product-archive-nav li a:hover,
.product-archive-nav li.active a,
.product-archive-nav li.disabled {
	background-color: #327332;
	border-radius: 3px;
	cursor: pointer;
	padding: 12px;
	padding: 0.75rem;
}

.product-archive-nav.red-box li a,
.product-archive-nav.red-box li a:hover,
.product-archive-nav.red-box li.active a,
.product-archive-nav.red-box li.disabled {
background-color: #fc3233;
background-color: rgba(253,0,2,0.8);
}

.product-archive-nav.orange-box li a,
.product-archive-nav.orange-box li a:hover,
.product-archive-nav.orange-box li.active a,
.product-archive-nav.orange-box li.disabled {
background-color: #fd6232;
}

.product-archive-nav li a:hover,
.product-archive-nav li.active a {
	background-color: #027502;
}

.product-archive-nav.red-box li a:hover,
.product-archive-nav.red-box li.active a {
background-color: rgb(253,0,2);
}

.product-archive-nav.orange-box li a:hover,
.product-archive-nav.orange-box li.active a {
	background-color: #FE3C00;
}

/*Default*/
.archive-title {
margin-top: 10px;
}

.product-subcategories {
padding-bottom: 10px;
overflow: hidden;
}

.product-subcategories hr {
clear: both;
}

.product-subcategories.list{
padding-bottom: 30px;
}

.product-subcategories li {
display: inline-block;
list-style-type: none;
padding-bottom: 5px;
font-size: 0.9em;
}

.product-subcategories table {
border: none;
}
.product-subcategories table td {
border: none;
vertical-align: top;

}

.product-subcategories table td:first-child {
white-space: nowrap; }

.product-list .al_archive .product-attributes, #content .al_archive .product-attributes, .al_archive .product-attributes {
max-width: 120px;
position: absolute;
left: 5px;
bottom: 15px;
background-color: rgb(0,82,0);
background-color: rgba(0,82,0,0.8);
z-index: 0;
box-shadow: 0 0 5px #005200;
padding: 5px;
    text-decoration: none;
    cursor: pointer;
}

.product-subcategories .al_archive img, .product-list .al_archive img, .al_archive a img, .page .al_archive a img {
    position: absolute;
    top: 0;
    left: 0;
    border: none;
    max-width: 1000px;
    min-height: 100%;
    min-width: 100%;
    width: auto;
    height: 100%;
    *min-height: 182px;
}

.product-subcategories .al_archive img.higher, .product-list .al_archive img.higher, .al_archive img.higher {
    height: auto;
    width: 100%;
}

.product-subcategories .al_archive img.higher.rect, .product-list .al_archive img.higher.rect, .al_archive img.higher.rect {
    margin-top: -20%;
}

.product-subcategories .al_archive img.wider.rect, .product-list .al_archive img.wider.rect, .al_archive img.wider.rect {
    margin-left: -20%;
}

.product-list .al_archive .product-attributes table, #content .al_archive .product-attributes table, .al_archive .product-attributes table {
border: none;
font-size: 12px;
margin: 0;
line-height: 14px;
color: #fff;
box-shadow: none;
}

.product-list .al_archive .product-attributes table td, #content .al_archive .product-attributes table td {
border: none;
padding: 0;
}

.product-list .al_archive .product-attributes table tr, #content .al_archive .product-attributes table tr {
background: transparent;
}

.product-list .al_archive .product-attributes table tr td:nth-child(2), #content .al_archive .product-attributes table tr td:nth-child(2) {
text-align: center;
padding-left: 5px;
}
.al_archive .product-name {
background-color: rgb(0,82,0);
background-color: rgba(0,82,0,0.8);
max-width: 80%;
box-shadow: 0 0 5px #005200;
padding: 5px;
position: absolute;
top: 10px;
left: 5px;
color: #fff;
font-weight: bold;
font-size: 16px;
    line-height: 1.5;
    text-decoration: none;
    cursor: pointer;
    margin: 0;
}

.al_archive .product-name.red-box {
background-color: rgb(253,0,2);
background-color: rgba(253,0,2,0.8);
box-shadow: 0 0 5px rgb(253,0,2);
}

.al_archive .product-name.orange-box {
background-color: rgb(254,60,0);
background-color: rgba(254,60,0,0.8);
box-shadow: 0 0 5px rgb(254,60,0);
}

.product-name.example {
background-color: rgb(0,82,0);
background-color: rgba(0,82,0,0.8);
max-width: 80%;
box-shadow: 0 0 5px #005200;
padding: 5px;
color: #fff;
font-weight: bold;
}

.example.product-name.red-box {
background-color: rgb(253,0,2);
background-color: rgba(253,0,2,0.8);
box-shadow: 0 0 5px rgb(253,0,2);
}

.example.product-name.orange-box {
background-color: rgb(254,60,0);
background-color: rgba(254,60,0,0.8);
box-shadow: 0 0 5px rgb(254,60,0);
}

.al_archive .product-price {
position: absolute;
right: 10px;
bottom: 10px;
background-color: rgb(253,0,2);
background-color: rgba(253,0,2,0.8);
max-width: 80%;
box-shadow: 0 0 5px #fff;
padding: 5px;
border:none;
font-size: 18px;
color: #fff;
text-decoration: none;
    cursor: pointer;
}

.al_archive .product-price div {
font-size: 1em;
}

.al_archive .product-price.green-price{
background-color: rgb(99,171,0);
background-color: rgba(99,171,0,0.8);
}

.al_archive .product-price.orange-price{
background-color: rgb(254,60,0);
background-color: rgba(254,60,0,0.8);
}
/*
.archive .al_product .entry-header {
margin-bottom: 0px;
} */

.al_archive {
max-width: 44%;
min-width: 200px;
background-size: 100% auto;
box-shadow: 0 0 5px #005200;
position: relative;
cursor: pointer;
float:left;
width: 100%;
margin: 5px 25px 25px 5px;
line-height: 1.5;
height: auto;
    *border: 1px solid #005200;
}

.modern-grid-element {
background-position: 0% 50%;
background-repeat: no-repeat;
    overflow: hidden;
}

.modern-grid-element.wider-bg {
	background-size: auto 100%;
}

/*
.archive article.al_product {
padding: 0px;
} */

.al_archive:hover {
opacity: 0.9;
}

.al_archive:active {
transform: scale(0.97);
-webkit-transform:scale(0.97); 
-moz-transform:scale(0.97); 
-o-transform:scale(0.97); 
-ms-transform:scale(0.97); 
}

.modern-grid-element .pseudo {
	display: block;
	padding-top: 64%; 	/* initial ratio of 1:1*/
    box-sizing: border-box;
}

.modern-grid-element a.pseudo-a {
    width: 100%;
    height: 100%;
    display: block;
    position: absolute;
    z-index: 999;
    background: transparent;
    box-sizing: border-box;
    background-clip: border-box;
    background-origin: padding-box;
    background-size: auto;
}
/*
.post-type-archive-al_product .site-content article, .tax-al_product-cat .site-content article, .post-type-archive-al_product .al_product {
border: none;
padding: 0;
margin: 0;
} */

.single-al_product .site-content .hentry.has-post-thumbnail {
margin-top: 0 !important;
}

.after-product-details {
clear: both;
}

.after-product-description {
padding: 0 0 20px 0;
clear:both;
}

/*List*/
.list.archive-listing:hover {
background-color: #ededed;
background-color: rgba(237,237,237,0.3);
}

.list.archive-listing {
min-height: 150px;
border-bottom: 1px solid #ededed;
padding: 10px;
position: relative;
}

.list.example.archive-listing {
max-width: 700px;
}

.div-link {
position: absolute;
width: 100%;
height: 100%;
top: 0;
left: 0;
z-index: 1;
background-image: url('empty.gif');
}

.list.example .product-image {
min-width: 140px;
min-height: 150px;
}

.list .product-image {
max-width: 170px;
float: left;
margin-right: 10px;
}

.list .product-name {
font-weight: bold;
clear: none;
}

.list .product-short-descr {
clear: none;
}

.list .product-image {
background-size: 100%; 
background-position: center; 
background-repeat: no-repeat;
}

/*Grid*/

.classic-grid.archive-listing {
max-width: 190px;
width: 30%;
margin-right: 18px;
float: left;
margin-bottom: 15px;
}

.archive-listing.last {
clear: right;
margin-right: 0;
}

.archive-listing.first {
clear: left;
}

.classic-grid.archive-listing .classic-grid-element {
background-size: 100%; 
background-position: center; 
background-repeat: no-repeat;
width:100%; 
height:auto;
}

.classic-grid.archive-listing .classic-grid-element:before{
	content: "";
	display: block;
	padding-top: 100%; 	/* initial ratio of 1:1*/
}

.classic-grid.archive-listing.example {
float: none;
}

.classic-grid.archive-listing a {
text-decoration: none;
}
.classic-grid h3.product-name, #product_listing .classic-grid h3.product-name {
font-size: 20px;
font-weight: bold;
text-align: center;
padding: 5px 0;
color: #000;
text-decoration: none;
line-height: 18px;
text-transform: none;
letter-spacing: initial;
clear: none;
margin: 0;
}

.classic-grid .product-price {
font-size: 18px;
text-align: center;
text-decoration: none;
color: rgb(253,0,2);
line-height: 18px;
    display: block;
}

.classic-grid .product-price.orange-price {
color: #FE3C00;
}

.classic-grid .product-price.green-price {
color: #63AB00;
}


/* Shortcode */
.product-list {
width: 100%;
overflow: hidden;
padding-bottom: 10px;
}

/* Product Page */
.entry-meta {
clear: left;
}

#product_details {
float: left;
clear: left;
max-width: 49%;
}

#product_details table {
vertical-align: middle;
margin: 0;
border: none;
width: auto;
}

#product_details table td {
border: none;
}

#product_details table td:first-child {
padding: 0 5px 0 0;
}

#product_details table.shipping-table td:nth-child(2) {
padding: 0;
}

.product-details table  td {
border: none;
padding: 0px 10px 0px 0px;
}

#product_details table tr{
	background: transparent;
}
.price-value.red-price {
font-size: 30px;
color: rgb(253, 0, 2);
}

.price-value.red-price {
color: #FD0002;
}

.price-value.green-price {
color: #63AB00;
}

.price-value.orange-price {
color: #FE3C00;
}

.price-value.big-price, .price-value.big-price div {
font-size: 30px;
}

.price-value.small-price, .price-value.small-price div {
font-size: 21px;
}

.label-column {
min-width: 60px;
}

.al_product .details-thumbnail {
min-height: 135px;
}
.al_product div.entry-thumbnail.product-image {
float:right;
width:49%;
text-align: center;
margin-left: 5px;
}

.al_product div.entry-thumbnail.product-image img, #content .al_product div.entry-thumbnail.product-image img {
max-width: 100%;
}

.product-details .shortdesc {
padding: 0 20px 20px 0;
}

#product_subcategories table{
width: auto;
border: 0;
}

#product_subcategories table td{
border:0;
}

#product_subcategories table tr {
	background:transparent;
}

#product_features {
clear: both;
}

#product_features table {
width: auto;
border: 0;
}

#product_features table td{
border: 0;
border-top: 1px solid #E7E7E7;
border-bottom: 1px solid #E7E7E7;
}

#product_features table td, #product_subcategories table td{
padding: 5px;
}

.product-description {
padding: 10px 0 0 0;
clear: both;
}

.single .product-entry {
margin: 0;
}

.product-entry tbody {
border: 0;
}

.product-details.no-image .shortdesc {
float: left;
width: 60%;
}

.product-details.no-image .price-value {
line-height: 1;
}

#product_details.no-image {
float: none;
clear: none;
max-width: 100%;
}

.product-details.no-image{
vertical-align: top;
height: auto;
}

.price-table td:empty {
display:none;
}

#product_details .price-table tr {
	background: transparent;
}

.entry-header .price-table {
margin: 0;
max-width: 200px;
width: auto;
}

#product_details .price-table .price-label {
	vertical-align: middle;
}

/* Product Settings Page */
.number-box, .number_box {
width: 60px;
}

.small_text_box {
width: 70px;
}

.warning {
background-color: #fefccb;
background-image: url('images/warning.png');
}

.al-box.info {
background-color: #dbecff;
background-image: url('images/info.png');
}

.al-box.success {
background-color: #e1f3c1;
background-image: url('images/success.png');
}

.al-box {
background-repeat: no-repeat;
background-position: 1%;
padding: 10px 10px 10px 60px;
font-weight: bold;
margin: 10px 0 10px 0;
position: relative;
display: block;
max-width: 509px;
box-shadow: 0 0 1px 1px #444;
box-sizing: border-box;
}

#product_listing_url {
width: 100px;
}

/* Design Settings */
.design-table  td{
padding: 10px 20px;
border: 1px solid #b9b8b8;
background: #fff;

}

.design-table td.theme-example {
background: none;
border: none;
}

.design-table td.separator {
background: none;
border: none;
}

.design-table .theme-name {
font-size: 17px;
font-weight: bold;
}

td.additional-styling {
vertical-align: top;
padding: 0;
min-width: 200px;
}

td.with-additional-styling {
padding: 0;
}

/*
.settings-submenu .element{
line-height: 29px;
border: 2px solid #000000;
border-right: none;
padding: 5px;
font-size: 15px;
color: #000;
text-decoration: none;
display: block;
margin-bottom: 5px;
}

.settings-submenu .element.current {
background: #fff;
border-right: 2px solid #fff;
}
*/
.price-value.example {
padding-left: 30px;
}

div.setting-content table td.longer {
max-width: 100%;
}

/* Product Edit Page */
.shipping-label {
width: 100%;
}

.shipping-value {
width: 100%;
}

#al_product_shipping table td.shipping-label-column {
width: 60%;
padding-right: 2px;
}
.shipping-value {
width: 60%;
margin-right: 3px;
}

/*WP MENU*/
.branch-3-7 #menu-posts-al_product div.wp-menu-image:before, .branch-3-6 #menu-posts-al_product div.wp-menu-image:before, .branch-3-5 #menu-posts-al_product div.wp-menu-image:before, .branch-3-7 #adminmenu li[id^="menu-posts-al_product"] div.wp-menu-image:before, .branch-3-6 #adminmenu li[id^="menu-posts-al_product"] div.wp-menu-image:before, .branch-3-5 #adminmenu li[id^="menu-posts-al_product"] div.wp-menu-image:before {
content: "" !important;
}

#menu-posts-al_product div.wp-menu-image:before, #adminmenu li[id^="menu-posts-al_product"] div.wp-menu-image:before {
content: "\f174" !important;
}

/* Breadcrumbs */
#breadcrumbs {
position: relative;
z-index: 999; }

/* Theme Integration System */
.wp-admin .widget-inside .warning {
width: auto;
}

.product-entry .al-box, .fixed-box .al-box {
position: relative;
max-width: 800px;
margin: 10px auto;
width: auto;
border: 0;
outline: 0;
}

.product-entry .al-box h4, .fixed-box .al-box h4{
font-family: Arial, Helvetica;
font-size: 26px;
font-style: normal;
font-variant: normal;
font-weight: bold;
line-height: 32.5px;
margin: 0;
padding: 0;
border: 0;
color: #000;
}

.product-entry .al-box p, .fixed-box .al-box p{
font-family: sans-serif, Arial, Helvetica;
font-size: 16px;
font-style: normal;
font-variant: normal;
font-weight: normal;
line-height: 28px;
border: 0;
margin: 0 0 20px 0;
padding: 0;
color: #000;
}

.product-entry .al-box ol, .fixed-box .al-box ol  {
font-family: sans-serif, Arial, Helvetica;
font-size: 14px;
font-style: normal;
font-variant: normal;
font-weight: normal;
line-height: 22px;
border: 0;
margin: 0 21px 10px 10px;
padding: 0 0 0 28px;
display: block;
list-style-image: none;
list-style-position: outside;
list-style-type: decimal;
color: #000;
}

.product-entry .al-box li, .fixed-box .al-box li{
font-family: sans-serif, Arial, Helvetica;
font-variant: normal;
font-size: 14px;
font-style: normal;
font-weight: normal;
line-height: 22px;
border: 0;
display: list-item;
margin: 0;
padding: 0;
text-align: left;
}

.product-entry .al-box a, .fixed-box .al-box a{
color: #06C;
text-decoration: none;
font-weight: inherit;
}
div.fixed-box {
position: fixed;
top: 22px;
right: 0px;
max-width: 420px;
z-index: 9999999;
}

div.relative-box {
width: 95%;
margin: 0 auto;
}

.al-box .wp-core-ui .button,
.al-box .wp-core-ui .button-primary,
.al-box .wp-core-ui .button-secondary {
	display: inline-block;
	text-decoration: none;
	font-size: 13px;
	line-height: 26px;
	height: 28px;
	margin: 0;
	padding: 0 10px 1px;
	cursor: pointer;
	border-width: 1px;
	border-style: solid;
	-webkit-appearance: none;
	-webkit-border-radius: 3px;
	border-radius: 3px;
	white-space: nowrap;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	margin-right: 5px;
	font-family: "Open Sans",sans-serif;
	-webkit-font-smoothing: subpixel-antialiased;
	font-weight: normal;
}

.al-box .wp-core-ui .button:active,
.al-box .wp-core-ui .button:focus {
	outline: none;
}

.al-box .wp-core-ui .button-primary {
	background: #2ea2cc;
	border-color: #0074a2;
 	-webkit-box-shadow: inset 0 1px 0 rgba( 120, 200, 230, 0.5), 0 1px 0 rgba( 0, 0, 0, 0.15 );
 	box-shadow: inset 0 1px 0 rgba( 120, 200, 230, 0.5 ), 0 1px 0 rgba( 0, 0, 0, 0.15 );
 	color: #fff !important;
	text-decoration: none;
}

.al-box .wp-core-ui .button-primary.hover,
.al-box .wp-core-ui .button-primary:hover,
.al-box .wp-core-ui .button-primary.focus,
.al-box .wp-core-ui .button-primary:focus {
	background: #1e8cbe;
	border-color: #0074a2;
 	-webkit-box-shadow: inset 0 1px 0 rgba( 120, 200, 230, 0.6 );
 	box-shadow: inset 0 1px 0 rgba( 120, 200, 230, 0.6 );
	color: #fff;
}

.al-box .wp-core-ui .button-primary.focus,
.al-box .wp-core-ui .button-primary:focus {
	border-color: #0e3950;
	-webkit-box-shadow:
		inset 0 1px 0 rgba( 120, 200, 230, 0.6 ),
		0 0 0 1px #5b9dd9,
		0 0 2px 1px rgba(30, 140, 190, .8);
	box-shadow:
		inset 0 1px 0 rgba( 120, 200, 230, 0.6 ),
		0 0 0 1px #5b9dd9,
		0 0 2px 1px rgba(30, 140, 190, .8);
}

.al-box .wp-core-ui .button-primary.active,
.al-box .wp-core-ui .button-primary.active:focus,
.al-box .wp-core-ui .button-primary:active {
	background: #1b7aa6;
	border-color: #005684;
	color: rgba( 255, 255, 255, 0.95 );
 	-webkit-box-shadow: inset 0 1px 0 rgba( 0, 0, 0, 0.1 );
 	box-shadow: inset 0 1px 0 rgba( 0, 0, 0, 0.1 );
}

.al-box .wp-core-ui .button,
.al-box .wp-core-ui .button-secondary {
	color: #555 !important;
	border-color: #cccccc;
	background: #f7f7f7;
	-webkit-box-shadow: inset 0 1px 0 #fff, 0 1px 0 rgba( 0, 0, 0, 0.08 );
	box-shadow: inset 0 1px 0 #fff, 0 1px 0 rgba( 0, 0, 0, 0.08 );
 	vertical-align: top;
}

.al-box .wp-core-ui .button {
	vertical-align: baseline;
}

.al-box .wp-core-ui .button.hover,
.al-box .wp-core-ui .button:hover,
.al-box .wp-core-ui .button-secondary:hover,
.al-box .wp-core-ui .button.focus,
.al-box .wp-core-ui .button:focus,
.al-box .wp-core-ui .button-secondary:focus {
	background: #fafafa;
	border-color: #999;
	color: #222;
}

.al-box .wp-core-ui .button.focus,
.al-box .wp-core-ui .button:focus,
.al-box .wp-core-ui .button-secondary:focus {
	-webkit-box-shadow:
		0 0 0 1px #5b9dd9,
		0 0 2px 1px rgba(30, 140, 190, .8);
	box-shadow:
		0 0 0 1px #5b9dd9,
		0 0 2px 1px rgba(30, 140, 190, .8);
}

.al-box .wp-core-ui .button.active,
.al-box .wp-core-ui .button.active:hover,
.al-box .wp-core-ui .button:active,
.al-box .wp-core-ui .button-secondary:active {
	background: #eee;
	border-color: #999;
	color: #333;
 	-webkit-box-shadow: inset 0 2px 5px -3px rgba( 0, 0, 0, 0.5 );
 	box-shadow: inset 0 2px 5px -3px rgba( 0, 0, 0, 0.5 );
}

.al-box .wp-core-ui .button.active:focus {
	-webkit-box-shadow:
		inset 0 2px 5px -3px rgba( 0, 0, 0, 0.5 ),
		0 0 0 1px #5b9dd9,
		0 0 2px 1px rgba(30, 140, 190, .8);
	box-shadow:
		inset 0 2px 5px -3px rgba( 0, 0, 0, 0.5 ),
		0 0 0 1px #5b9dd9,
		0 0 2px 1px rgba(30, 140, 190, .8);
}

/* Product Order */
form#product_order {
text-align: right;
padding-bottom: 10px;
}

/* Responsive */

@media (max-width: 700px) {
.responsive.al_product div.entry-thumbnail.product-image {
float: none;
width: 100%;
}

.responsive  #product_details {
float: none;
clear: left;
max-width: 100%;
}

.responsive .product-details .shortdesc {
padding: 0;
}

.responsive .al_archive {
margin: 5px 10px 5px 5px;
}

.responsive .al_archive .product-price, .responsive  .al_archive .product-name, .responsive .classic-grid h3.product-name, #product_listing.responsive .classic-grid h3.product-name {
font-size: 14px;
}

.responsive .classic-grid .product-price {
font-size: 12px;
}

div.fixed-box {
display: none;
}
}

@media (max-width: 500px) {
.responsive .al_archive {
margin: 5px auto 10px auto;
float: none;
}
.responsive.al_product h1 {
font-size: 24px;
}
}

@media (max-width: 400px) {
	.responsive .classic-grid.archive-listing:nth-child(odd) {
	clear: left;
	}
	.responsive .classic-grid.archive-listing:nth-child(even) {
	margin-right: 0;
	}
	.responsive .classic-grid.archive-listing {
		width: 46%;
		margin-right: 5px;
		margin-bottom: 5px;
	}
	
	.responsive .classic-grid h3.product-name, #product_listing.responsive .classic-grid h3.product-name {
		font-size: 12px;
		line-height: 12px;
	}
	.responsive .classic-grid .product-price {
		font-size: 10px;
		line-height: 10px;
	}
	
	.responsive .archive-listing.last, .responsive .archive-listing.first {
	clear: none;
	}
	
	.responsive .list.archive-listing {
	min-height: 130px;
	}
	.responsive .list .product-image {
	min-width: 50px;
	min-height: 50px;
	}
	.responsive .list .product-short-descr {
	clear: left;
	max-height: 50px;
	overflow: hidden;
	line-height: 1.1;
	}
}

@media (max-width: 300px) {
.responsive .al_archive .product-price, .responsive  .al_archive .product-name {
font-size: 12px;
}
.responsive .al_archive {
min-width: 90%;
min-height: 100px
}

}