/* The Modal (background) */
.gwp-modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1000; /* Sit on top */
    padding-top: 100px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}
  
  /* Modal Content */
.gwp-modal-content {
    background-color: #fefefe;
    margin: auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 400px;
}

.gwp-modal-content .summary {
    margin-bottom: 1rem;
}

.gwp-modal-content__image-holder {
    overflow: hidden;
    margin-bottom: 1rem;
}

.gwp-modal-content__image-holder img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}
  
/* The Close Button */
.gwp-close {
    color: #aaaaaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}
  
.gwp-lose:hover,
.gwp-close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

.gwp-modal-button {
    width: 100%;
    background-color: #eeeeee;
    border-color: #eeeeee;
    color: #333333;
    border: 0;
    border-radius: 0;
    cursor: pointer;
    padding: 0.6180469716em 1.41575em;
    text-decoration: none;
    text-shadow: none;
    display: inline-block;
    -webkit-appearance: none;
}

.gwp-modal-button.confirm {
    margin-bottom: .5rem;
}
.gwp-modal-button.cancel {
    margin-bottom: .5rem;
    color:white;
    background-color: #8a8a8a;
}
.gwp-modal-button.cancel:hover{
    background-color: #666666;
}

.submit.deletemeta.button-small{
    border-color: #EC6608 ;
    box-shadow: unset;
    color: #EC6608;
}

.gwp-product-page-message {
    padding: .5rem 0;
    display: flex;
    flex-direction: row;
    align-items: center;
}
.gwp-product-page-message i {
    margin-right: 1rem;
}
.gwp-product-page-message p {
    margin-bottom: 0;
}
.gwp-carousel {
    padding: 0 1rem;
}
.gwp-carousel__row {
	position: relative;
	margin-right: -15px;
    margin-left: -15px;
}
.gwp-carousel__row .scroll {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    -ms-overflow-style: -ms-autohiding-scrollbar;
    -ms-overflow-style: none;
    scrollbar-width: none;
    width: 100%;
    display: flex;
}

.gwp-carousel__row:-webkit-scrollbar {
    width: 0;
    display: none;
}
.gwp-carousel__row .item {
    display: inline-block;
    max-width: 25%;
    flex: 0 0 25%;
    vertical-align: top;
}
.gwp-carousel__row .item a{
    text-decoration: none;
}
.gwp-carousel__row .item .gwp-open-product-modal {
    text-decoration: none;
}
.gwp-carousel__row .item .gwp-product-holder .img-wrapper{
    overflow: hidden;
    margin-bottom: .75rem;
}
.gwp-carousel__row .item .gwp-product-holder .img-wrapper img{
    object-fit: cover;
    width: 100%;
    height: 100%;
}
.gwp-carousel__row .arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
}	
.gwp-carousel__row .arrow.right {
    right: 0;
}
.gwp-carousel__row .arrow.left {
    left: 0;
}
@media (min-width: 768px){
    .gwp-carousel__row .item .gwp-product-holder {
        padding: 1rem;
    }
}

@media (max-width: 768px){
    .gwp-carousel__row .item {
        max-width: 45%;
        flex: 0 0 45%;
        max-width: 75%;
        flex: 0 0 75%;
        padding: 1rem;
    }
    .gwp-carousel__row .arrow.right {
        right: 2%;
    }
    .gwp-carousel__row .arrow.left {
        left: 2%;
    }

}