/* reset default iThemes Exchange styles */
#it-exchange-store .it-exchange-products li:nth-child(2n+1) {
    clear: none;
    margin: 0;
}

#it-exchange-store #it-exchange-gis-layout .it-exchange-products li {
    width: auto;
    margin: 0;
}

#it-exchange-store #it-exchange-gis-layout .it-exchange-base-price {
  float: none;
}

/* Addon styling */
#it-exchange-store {
    box-sizing: border-box;
}

#it-exchange-gis-layout *, 
#it-exchange-gis-layout *:before, 
#it-exchange-gis-layout *:after {
    box-sizing: inherit;
}

#it-exchange-gis-layout {
    background-color: #eee;
    margin: 0 auto;
    overflow: hidden;
    padding: 10px 5px;
    width: 100%;
}

#it-exchange-gis-layout .gis-item {
    float: left;
    position: relative;
}

#it-exchange-gis-layout .gis-thumbnail {
    padding: 0 5px;
}

#it-exchange-gis-layout .it-exchange-product-feature-image {
    display: block;
}

#it-exchange-gis-layout .gis-item.is-collapsed .gis-thumbnail {
    cursor: pointer;
}

#it-exchange-gis-layout .gis-item.is-expanded .gis-details {
    max-height: 1500px;
    margin-bottom: 5px;
}

#it-exchange-gis-layout .gis-details {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    position: relative;
    left: -5px;
    padding: 0 5px;
    box-sizing: content-box;
    overflow: hidden;
    background: #222;
    max-height: 0;
    -webkit-transition: max-height .3s ease-in-out, margin-bottom .1s .2s;
    transition: max-height .3s ease-in-out, margin-bottom .1s .2s;
    z-index: 999;
}

#it-exchange-gis-layout .gis-details-left {
    display: -webkit-inline-box;
    display: -webkit-inline-flex;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-ordinal-group: 2;
    -webkit-order: 1;
    -ms-flex-order: 1;
    order: 1;
    padding-right: 10px;
}

#it-exchange-gis-layout .gis-details-right {
    display: -webkit-inline-box;
    display: -webkit-inline-flex;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-ordinal-group: 3;
    -webkit-order: 2;
    -ms-flex-order: 2;
    order: 2;
}

#it-exchange-gis-layout .gis-item.is-collapsed .arrow-up {
    height: 10px;
    width: 100%;
}

#it-exchange-gis-layout .gis-item.is-expanded .arrow-up {
    border-bottom: 8px solid #222;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    height: 0;
    width: 0;
    margin: 2px auto 0;
}

#it-exchange-gis-layout .expand_close {
    position: absolute;
    top: 10px;
    right: 20px;
    color: #454545;
    font-size: 50px;
    line-height: 50px;
    text-decoration: none;
}

#it-exchange-gis-layout .expand_close:before {
    content: '×';
}

#it-exchange-gis-layout .expand_close:hover {
    color: #fff;
}

#it-exchange-gis-layout .image-large {
    max-height: 450px;
    height: auto;
    display: block;
    margin: 5px 0 5px 5px;
    padding-top: 5px;
    box-sizing: border-box;
    float: left;
}

#it-exchange-gis-layout .it-exchange-product-details {
    padding: 5px;
}

#it-exchange-gis-layout,
#it-exchange-gis-layout .it-exchange-product-title.entry-title a,
#it-exchange-gis-layout .it-exchange-base-price,
#it-exchange-gis-layout .it-exchange-product-description,
#it-exchange-gis-layout .it-exchange-sku {
    color: #fff;
}

#it-exchange-gis-layout .it-exchange-product-title.entry-title a:hover {
    color: #ddd;
}

#it-exchange-gis-layout .add-to-cart-button,
#it-exchange-gis-layout p.out-of-stock {
    clear: both;
}

#it-exchange-gis-layout .it-exchange-sw-purchase-options {
  padding-top: 5px;
}