.open-spec-image,
.open-option-images {
    cursor: pointer;
}

/* The Modal (background) */
.tpts-modal {
    display: none;
    position: fixed;
    z-index: 1100;
    padding-top: 100px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(5, 5, 5, 0.8);
}

/* Modal Content */
.tpts-modal-content-wrap {
	position: relative;
	margin: auto;
	padding: 40px 20px 20px;
	width: 90%;
	max-width: 1200px;
	background: radial-gradient(#061140, #050505);
	color: white;
	border: 1px solid #0D248C;
	border-radius: 10px;
	text-align: center;
}
.tpts-modal-content-white-wrap {
	position: relative;
	margin: auto;
	padding: 40px 20px 20px;
	width: 90%;
	max-width: 1200px;
	/*background: radial-gradient(#061140, #050505);*/
	background-color: #FFF;
	/*color: #FFF;*/
	border: 1px solid #0D248C;
	border-radius: 10px;
	text-align: center;
}
.customer-zip-modal-wrap {
	max-width: 700px;
}
.spec-modal-content,
.option-modal-content {
    display: none;
}
.tpts-images-wrap {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
.images-title {
    border-collapse: collapse;
    box-sizing: border-box;
    color: #ffffff;
    font-family: Roboto, sans-serif;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0.7px;
    line-height: 24px;
    margin-bottom: 1rem;
    margin-top: 0.5rem;
    text-align: center;
}
.tpts-modal-image {
    margin: 1%;
    flex-basis: 31%;
    cursor: pointer;
}

/* Modal Close Button */
.tpts-close {
	color: white;
	position: absolute;
	top: 0;
	right: 25px;
	font-size: 35px;
	font-weight: bold;
}
.tpts-close:hover,
.tpts-close:focus {
	color: #999;
	text-decoration: none;
	cursor: pointer;
}
.tpts-white-close {
	/*color: white;*/
	position: absolute;
	top: 0;
	right: 25px;
	font-size: 35px;
	font-weight: bold;
}
.tpts-white-close:hover,
.tpts-white-close:focus {
	color: #999;
	text-decoration: none;
	cursor: pointer;
}


/* Lightbox */
.tpts-lightbox-modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1200; /* 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.9); /* Black w/ opacity */
}
.tpts-lightbox-modal .tpts-lightbox-image {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
}
.tpts-lightbox-close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}
.tpts-lightbox-close:hover,
.tpts-lightbox-close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}


/*Photo Gallery*/
.photos-wrap {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
.photo-wrap {
    margin: 1%;
    flex-basis: 31%;
    cursor: pointer;
}
.photo-lightbox-content-wrap {
    position: relative;
    margin: auto;
    background-color: #fefefe;
    width: 80%;
    max-width: 900px;
    padding: 0;
    width: 90%;
	text-align: center;
}
.photo-gallery-wrap .prev,
.photo-gallery-wrap .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -50px;
    color: white;
    font-weight: bold;
    font-size: 20px;
    transition: 0.6s ease;
    user-select: none;
    -webkit-user-select: none;
    background-color: rgba(0, 0, 0, 0.3);
}
.photo-gallery-wrap .prev {
    left: 0;
    border-radius: 0 3px 3px 0;
}
.photo-gallery-wrap .next {
    right: 0;
    border-radius: 3px 0 0 3px;
}
.prev:hover,
.next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}


/* Pricing */
.pricing-table {
	margin-bottom: 30px;
}
.pricing-title {
	font-weight: bold;
}
.price-item-wrap {
	margin: 5px 0;
}
.price-item-name {
	font-size: 1.4em;
	font-weight: bold;
}
.price-item-price {
	font-size: 1.4em;
	font-weight: bold;
	color: #ac252d;
	margin-right: 10px;
}

/* Sale, Package specific pricing styles (Jim wants them different for now, eventually making all trailer pricing this style)
 * in the meantime, use the on-sale and trailer-package body classes to differentiate.. */
.on-sale .pricing-title,
.trailer-package .pricing-title {
	font-size: 22px;
	font-family: "Red Hat Display",sans-serif;
}
.sale-table {
	font-family: "Red Hat Display",sans-serif;
}
.sale-table .price-item-wrap {
	margin-bottom: 10px;
}
.sale-table .first-row .price-item-wrap {
	margin-bottom: 20px;
}
.sale-table .price-item-name {
	font-size: 16px;
	font-weight: bold;
}
.sale-table .first-row .price-item-name,
.sale-table .first-row .price-item-price {
	font-size: 22px;
}
.sale-table .price-item-price {
	font-size: 16px;
	color: #111;
}
.sale-table .non-sale-dash {
	display: none;
}
.sale-table .price-item-price {
	float: right;
}
.sale-table .sale-price-rule {
	border-top-color: #ccc;
}
.sale-table .managers-discount {
	color: #ff0000;
	font-size: 28px;
}
.sale-table .total-sale-price {
	font-size: 22px;
}
@media screen and (max-width: 600px) {
	.sale-table .managers-discount {
		font-size: 20px;
	}
	.sale-table .total-sale-price {
		font-size: 18px;
	}
}
/*Customer Media*/
.customer-media-items-wrap {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
.customer-media-wrap .media-item-wrap {
    flex-basis: 46%;
    margin: 1%;
}

/*Pricing conditional display*/
.conditional-pricing-wrap {
	display: none;
}
#customer-zip {
	position: relative;
	display: block;
	margin: 0 auto 10px;
	font-size: 18px;
	color: #333333;
	padding: 7px 20px;
	width: 150px;
	text-align: center;
	line-height: 1.5;
}
.customer-zip-cancel {
	font-size: 1em!important;
	margin-bottom: 2px;
}
.customer-zip-error {
	height: 25px;
	font-size: 14px;
	font-weight: normal;
	color: red;
	line-height: 1;
}
/*Pricing edit*/
.standard-pricing-edit,
.standard-pricing-edit:hover,
.standard-pricing-edit:active,
.standard-pricing-edit:focus,
.option-pricing-edit,
.option-pricing-edit:hover,
.option-pricing-edit:active,
.option-pricing-edit:focus,
.change-customer-zip,
.change-customer-zip:hover,
.change-customer-zip:active,
.change-customer-zip:focus {
	font-weight: 400;
	color: #007bff;
	background-color: transparent;
	border: none;
	padding: 0;
}
.standard-pricing-edit:hover,
.option-pricing-edit:hover {
	text-decoration: underline;
	color: #69a9ff;
}
.pricing-edit-modal-wrap,
.option-edit-modal-wrap {
	max-width: 900px;
	text-align: left;
}
.standard-pricing-edit-form,
.option-edit-form {
	display: flex;
	gap: 30px;
	margin-top: 20px;
}
.standard-pricing-edit-form div:first-of-type,
.option-edit-form div:first-of-type {
	flex-grow: 1;
}
.standard-pricing-edit-form .header-adjust,
.option-edit-form .header-adjust {
	margin-bottom: 10px;
	white-space: nowrap;
}

.pricing-edit-action,
.option-edit-action {
	text-align: center;
	margin-top: 20px;
}
.pricing-edit-action .pricing-edit-cancel,
.pricing-edit-action .pricing-edit-reload,
.option-edit-action .option-pricing-edit-cancel,
.option-edit-action .option-pricing-edit-reload {
	background: #fff;
	color: #2d6ca2!important;
	margin: 10px;
}
.pricing-edit-action .pricing-edit-reload,
.option-edit-action .option-pricing-edit-reload {
	display: none;
}
.pricing-edit-action .pricing-edit-save,
.option-edit-action .option-edit-save {
	padding: 10px 20px;
	margin: 10px;
}

.pricing-alert {
	position: relative;
	padding: 0.75rem 1.25rem;
	margin-bottom: 1rem;
	border: 1px solid transparent;
	border-radius: 0.25rem;
	text-align: center;
}
.pricing-alert.success {
	color: #155724;
	background-color: #d4edda;
	border-color: #c3e6cb;
}
.pricing-alert.fail {
	color: #721c24;
	background-color: #f8d7da;
	border-color: #f5c6cb;
}
