/* 
    This css file contains all plugin specific styles.
    They are only loaded when a Queal order showcase is present.
*/

/* 
    General style overrides.
*/

.tabs-container {
    padding: 10px 0px !important;
}

/* 
    Style rules for order summary.
*/

.qop-line {
    margin: 0px !important;
    vertical-align: middle;
    min-height: 25pt;
    clear: both;
}

.text-center {
    text-align: center;
}

.qop-notification {
    background-color: #fff;
    margin: 0 auto;
    max-width: 500px;
    padding: 10px;
}

.qop-meta {
    padding: 10px 0;
    line-height: 100%;
}

.qop-summary {
    text-align: right;
}

.qop-big {
    font-size: 160%;
    line-height: 100%;
}

.qop-checkbox {
    top: -8px;
    position: relative;
    cursor: pointer;
}

.qop-banner {
    display: inline-block;
    padding: 10px 20px 5px;
    margin: 5px 0;
    background-color: #00aeb2;
    color: #fff;
}
.qop-banner a {
    color: #fff;
    text-decoration: underline;
}

.qop-huge {
    font-size: 200%;
    line-height: 80%;
}

.qop-stat-subtotal-amt, .qop-stat-subscription-subtotal-amt{
    color: #466;
    text-decoration: line-through;
    font-size: 60%;
}

.qop-button {
    color: #00aeb2;
    border: 2px solid #00aeb2;
    background-color: transparent;
    min-width: 200px;
    -webkit-transition: all .5s; /* Safari */
    transition: all .5s;
    display: inline-block;
    padding: 15px;
    margin: 5px;
}

.qop-button.qop-inverted {
    color: #fff;
    background-color: #00aeb2;
}

.qop-button:hover {
    opacity: 0.5;
}

.qop-button[disabled] {
    color: #999 !important;
    border-color: #999 !important;
    opacity: 1;
}

.qop-button[disabled].qop-inverted {
    color: #fff !important;
    background-color: #999 !important;
}

.qop-important {
    color: red;
}

/* 
    Style rules for products, product views and categories.
*/

.qop-tiles {
    text-align: center;
}

.qop-tiles > .qop-product-container {
    padding: 8px 12px;
    width: 20%;
    margin: 0;
    display: inline-block;
}

.qop-big-view.qop-tiles > .qop-product-container {
    width: 25%;
}

.qop-product-img, .qop-product-img > img {
    width: 100%;
}

.qop-product-sticker {
    position: absolute;
    left: 0;
    top: 0;
    max-width: 50%;
    max-height: 65%;
    -webkit-transition: opacity 1s; /* Safari */
    transition: opacity 1s;
    z-index: 1;
}

.qop-product-sticker > text {
    font-family: Raleway;
    font-size: 20px;
}

.qop-product-amount {
    width: 100%;
    padding: 0;
    color: #fff;
    font-weight: bold;
    background-color: #00AEB2;
}

.qop-out-of-stock {
    color: #00AEB2;
    background-color: transparent;
    font-size: 1.25em;
}

.qop-product-amount > span, .qop-product-amount > input {
    float: left;
    border-width: 0;
    line-height: 21px;
}

.qop-product-amount > span {
    background-color: #00AEB2;
    -webkit-transition: background-color 1s; /* Safari */
    transition: background-color 0.5s;
}

.qop-product-amount > span:hover {
    background-color: #00D1D4;
    -webkit-transition: background-color 1s; /* Safari */
    transition: background-color 1s;
}

.qop-fifths > * {
    width: 20%;
}

.qop-thirds > * {
    width: 33.333%;
}

.qop-product-amount > span {
    cursor: pointer;
    padding: 3px 0;
}

.qop-product-amount > input {
    -moz-appearance: textfield;
    text-align: center;
    background-color: white;
    color: #00AEB2;
    border-radius: 10px;
    margin: 3px 0;
    padding: 0;
}

.qop-product-amount > input::-webkit-outer-spin-button, .qop-product-amount > input::-webkit-inner-spin-button  {
    -webkit-appearance: none;
    margin: 0;
}

.qop-product-title {
    margin: 0;
    overflow: hidden;
    font-size: 120%;
    color: #00AEB2;
    font-style: normal;
}

.qop-tiles .qop-product-title {
    height: 3em;
    padding: 5px;
}

.qop-product-price {
    font-style: normal;
    font-size: 110%;
    margin: 0;
}

.qop-lines .qop-product-title {
    text-align: left;
}

.qop-lines .qop-product-price {
    float: left;
}

.qop-product-description {
    line-height: 120%;
}

.qop-lines .qop-product-description {
    color: #666;
    text-align: justify;
}

.qop-tiles .qop-product-description {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    padding: 25px;
    font-weight: bold;
    color: #fff;
    opacity: 0;
    -webkit-transition: opacity 0.5s; /* Safari */
    transition: opacity 0.5s;
}

.qop-tiles .qop-product .qop-product-img {
    margin-bottom: 6px;
    background-color: #fff;
    background-color: #00AEB2;
    -webkit-transition: all 1s; /* Safari */
    transition: all 1s;
}

.qop-tiles .qop-product:hover .qop-product-description {
    opacity: 0.8;
    -webkit-transition: opacity 1s; /* Safari */
    transition: opacity 1s;
}

.qop-tiles .qop-product .qop-product-img > img {
    opacity: 1;
    -webkit-transition: opacity 1s; /* Safari */
    transition: opacity 1s;
}

.qop-tiles .qop-product:hover .qop-product-img {
    opacity: 0.85;
}

.qop-tiles .qop-product:hover .qop-product-img > img {
    opacity: 0.25;
}

.qop-tiles .qop-product:hover .qop-product-sticker {
    opacity: 0;
}

.qop-product {
    position: relative;
    left: 1px;
    margin-left: -1px;
    color: #00AEB2;
}

.qop-tiles .qop-product-info {
    clear: both;
}

.qop-lines .qop-product > .qop-product-basic > .qop-product-img {
    float: left;
    width: 12.5%;
}

.qop-big-view.qop-lines .qop-product > .qop-product-basic > .qop-product-img {
    width: 15%;
}

.qop-lines .qop-product > .qop-product-basic > .qop-product-amount {
    float: right;
    width: 20%;
    margin-top: 53px;
}

.qop-big-view.qop-lines .qop-product > .qop-product-basic > .qop-product-amount {
    margin-top: 67px;
}

.qop-lines .qop-product > .qop-product-info {
    float: left;
    width: 67.5%;
    padding: 0 2%;
}

.qop-big-view.qop-lines .qop-product > .qop-product-info {
    width: 65%;
}

.qop-lines > .qop-product-container {
    padding: 5px 8px;
    width: 100%;
    margin: 0;
}

.qop-product {
    padding: 9px;
    background-image: url('/wp-content/plugins/queal-order-shortcodes/img/TransparentPolygonLayer.png');
    background-size: cover;
}

.qop-product-container:nth-child(even) > .qop-product {
    background-position: 50%;
}

@media (max-width: 992px){   
    .qop-tiles > .qop-product-container {
        width: 25%;
    }

    .qop-lines .qop-product > .qop-product-basic > .qop-product-img {
        width: 20%;
    }

    .qop-lines .qop-product > .qop-product-basic > .qop-product-amount {
        width: 25%;
    }

    .qop-lines .qop-product > .qop-product-basic > .qop-product-amount {
        margin-top: 60px;
    }

    .qop-lines .qop-product > .qop-product-info {
        width: 55%;
    }

    .qop-product-title {
        font-size: 110%;
    }
}

@media (max-width: 768px) {    
    .qop-tiles > .qop-product-container {
        width: 33.3%;
        padding: 6px;
    }

    .qop-lines .qop-product > .qop-product-basic > .qop-product-img, .qop-lines .qop-product > .qop-product-basic > .qop-product-amount {
        float: none;
        margin: 0;
        width: 100%;
    }

    .qop-lines .qop-product > .qop-product-basic {
        float: left;
        width: 25%;
    }

    .qop-lines .qop-product > .qop-product-info {
        width: 75%;
    }
}

@media (max-width: 576px) {
    .qop-tiles > .qop-product-container {
        width: 50%;
        padding: 4px;
    }
    
    .qop-lines .qop-product > .qop-product-basic {
        width: 40%;
    }

    .qop-lines .qop-product > .qop-product-info {
        width: 60%;
    }

    .container {
        padding-left: 5px;
        padding-right: 5px;
    }

    .qop-product-title {
        font-size: 95%;
    }

    .qop-product-description {
        font-size: 80%;		
    }

    .qop-tiles .qop-product-description {
        padding: 15px;
		max-height: 84px;
    }

    .qop-line {
        font-size: 80%;
    }

    .qop-summary {
        text-align: center;
    }
}

@media screen and (max-width: 1200px) {
	.qop-product-description {
		max-height: 120px;
		overflow: hidden;
	}
}