@media screen and (min-width: 700px) {

	.woocommerce .rau-checkout-form form .form-row .input-text,
	.woocommerce .rau-checkout-form form .form-row select {
		border: 1px solid rgb(231, 231, 231);
	}

	.rau-checkout-form form.woocommerce-checkout #order_review {
        padding: 5px 5px 5px 20px;
    }

	.rau-checkout-form .select2-container .select2-dropdown,
	.rau-checkout-form .select2-container .select2-selection {
		border: 1px solid rgb(231, 231, 231);
	}

	.rau-checkout-form form.woocommerce-checkout #customer_details {
		width: 60%;
	}

	.rau-checkout-form form.woocommerce-checkout #customer_details .col-1 {
		width: 100%;
	}

	.rau-checkout-form form.woocommerce-checkout #customer_details {
		width: 60%;
	}

	.rau-checkout-form form.woocommerce-checkout #order_review {
		width: 40%;
	}

	.rau-checkout-form h3.payment-method {
		border-bottom: 1px solid rgb(231, 231, 231);
		padding: 20px 10px;
	}

	.rau-checkout-container {
		margin-bottom: 50px;
		margin-top: 50px;
	}

	.rau-checkout-form #order_review {
		padding: 5px 15px;
		border-left: 1px solid #e7e7e7;
	}

	.woocommerce #payment #place_order, .woocommerce-page #payment #place_order{
		width: 100%;
	}
}

.woocommerce .rau-checkout-form table.shop_table {
	border-collapse: collapse;
}

.woocommerce .rau-checkout-form table.shop_table caption {
	text-align: left;
}

.rau-checkout-form {
	max-width: 1140px;
	margin: auto;
	border: 1px solid #868686;
	overflow: auto;
	padding: 20px;
}

.rau-checkout-form h3 {
	font-size: 1.5rem;
}

.custom-lightbox {
    display: flex;
    align-items: stretch;
    max-height: 90vh;
}

.clb-image {
    max-width: 70%;
    flex-shrink: 0;
    display: flex;
}

.clb-image img {
    width: auto;
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

.clb-content {
    flex: 1;
    padding: 24px;
    overflow-y: auto;
}

/* Height always equals image height */
.fancybox__content {
    display: flex;
    align-items: stretch;
	width: 100% !important;
	height: 100% !important;
    flex-basis: content;
}

/* Responsive (Mobile) */
@media (max-width: 768px) {
    .custom-lightbox {
        flex-direction: column;
    }

    .clb-image {
        max-width: 100%;
    }
}

/* Main wrapper */
.custom-lightbox {
    display: flex;
    align-items: stretch; /* makes content equal height */
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
    background-color: rgba(0, 0, 0, 0.8);
    border-radius: 1%;
    align-items: normal;
}

/* Image container */
.custom-lightbox .lb-image {
    flex: 0 1 70%;          /* max 70% */
    max-width: fit-content;
    display: flex;
    align-items: center;
    justify-content: center;
    max-height: fit-content;
}

/* Image itself */
.custom-lightbox .lb-image img {
    width: 100%;
    height: auto;
    max-height: 100%;
    object-fit: contain;
    display: block;
}

/* Content container */
.custom-lightbox .lb-content {
    flex: 1 1 auto;        /* takes remaining width */
    padding: 20px;
    overflow-y: auto;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
	color: white;
    max-height: fit-content;
    align-self: center;
}

.custom-lightbox .lb-order-print-image{
	padding: 30px 0;
}

.custom-lightbox .lb-order-print-image a{
    color: white;
}

table.order-print-image-tbl td, table.order-print-image-tbl th{
    border: none !important;
}

/* ---------------- MOBILE ---------------- */
@media (max-width: 768px) {

    .custom-lightbox {
        flex-direction: column;
        align-items: stretch;
    }

    .custom-lightbox .lb-image,
    .custom-lightbox .lb-content {
        max-width: 100%;
        width: 100%;
        flex: none;
    }

    .custom-lightbox .lb-content{
        background-color: rgba(0, 0, 0, 0.8);
    }

    .custom-lightbox .lb-image img {
        width: 100%;
        height: auto;
    }

    .custom-lightbox .lb-content {
        padding: 16px;
    }
}
