/**
 * All of the CSS for the public-facing functionality should be
 * included in this file.
 */

 .tz-telone-logo {
	display: inline-block;
 }

.tz-telone-query-form + form.cart { 
	display:none; 
}

.tz-telone-simple-buying-form {
    position: relative;
}

.page .tz-telone-simple-buying-form {
    width: 250px;
    margin: auto;
}

.page .tz-telone-simple-buying-form label { 
    display: block; 
    text-align: center;
}

.page .tz-telone-simple-buying-form input, .page .tz-telone-simple-buying-form select { 
    display: block; 
    margin: auto auto 15px auto;
}

.page .tz-telone-hidden,
.single-post .tz-telone-hidden {
	display: none;
}

.single-post .tz-telone-simple-buying-form {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.tz-telone-container {
	width: 175px;
	height: 80px;
	padding: 0 10px;
}

.tz-telone-simple-buying-form input[type=text],
.tz-telone-simple-buying-form select {
	width: 100%;
	padding: 0.6180469716em;
	background-color: #f2f2f2;
	color: #43454b;
	border: 0;
	box-sizing: border-box;
	font-weight: normal;
	box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.125);
	font-size: 15px;
}

.tz-telone-simple-buying-form input { 
    display: block; 
    margin-bottom: 15px;
}

.tz-telone-simple-buying-form input[type=submit],
.tz-telone-simple-buying-form-btn {
    background-color: #ff6600; 
    color: #fff; 
    min-height: 40px;
    font-size: 1.1em;
    border-radius: 25px;
    text-transform: uppercase;
    padding: 12px 25px 9px;
    border: none;
}

.tz-telone-simple-buying-form .out-of-stock {
    color: red;
}

.tz-telone-simple-buying-form div.tz-telone-simple-buying-form-loader,
.tz-telone-simple-buying-form div.tz-telone-amp-simple-buying-form-loader,
.tz-telone-simple-buying-form div.tz-telone-amp-account-check-loader {
	display: none;
	position: absolute;
	top: 25%;
    left: 30%;
    border: 16px solid #f3f3f3;
    border-top: 16px solid #ff6600;
    border-radius: 50%;
    width: 120px;
    height: 120px;
    animation: spin 2s linear infinite;
}

.amp-form-submitting.tz-telone-simple-buying-form div.tz-telone-amp-account-check-loader,
.amp-form-submitting.tz-telone-simple-buying-form div.tz-telone-amp-simple-buying-form-loader {
    display: block;
}
    
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.tz-telone-query-form,
.tz-telone-notice {
    text-align: center;
}

.tz-telone-notice {
    color: red;
}

.tz-telone-feedback-container {
	width: 100%;
}

.site-content .tz-telone-amp-visible {
	display: none;
}

.site-content .tz-telone-amp-hidden {
	display: inline;
}

.site-content .post .tz-telone-amp-hidden {
	display: inline-flex;
}

.amp-single .tz-telone-amp-visible,
.amp-wp-content .tz-telone-amp-visible {
	display: inline-flex;
}

.amp-single .tz-telone-simple-buying-form.tz-telone-amp-visible,
.amp-wp-content .tz-telone-simple-buying-form.tz-telone-amp-visible {
	min-height: 300px;
}

.amp-single .tz-telone-amp-hidden,
.amp-wp-content .tz-telone-amp-hidden {
	display: none;
}

.tz-telone-lightbox {
	background: rgba(0,0,0,0.8);
	width: 100%;
	height: 100%;
	position: absolute;
	display: flex;
	align-content: center;
	justify-content: center;
	flex-wrap: wrap;
}

.tz-telone-lightbox p {
	text-align: center;
}

.tz-telone-lightbox span {
	color: #fff;
}

.tz-telone-lightbox button {
	margin: 0 15px;
	border: 15px;
	border-radius: 15px;
	padding: 5px;
	width: 50px;
}

@media only screen and (min-width: 600px) {
	.single-post .tz-telone-simple-buying-form {
		justify-content: flex-start;
	}

	.tz-telone-simple-buying-form div.tz-telone-simple-buying-form-loader,
	.tz-telone-simple-buying-form div.tz-telone-amp-simple-buying-form-loader,
	.tz-telone-simple-buying-form div.tz-telone-amp-account-check-loader {
		left: 50%;
	}
} 
