/*Submitted modal header overlay fix*/
#order-submitted-modal {
    z-index: 100001;
}

/*H1 title shift and font fix*/
h1.main_title {
    max-width: 900px;
    margin: 0 auto;
    font-size: 24px;
}
#amform-order-wrapper {
    max-width: 900px;
    margin: 0 auto;
	font-size: 16px;
}

.amform .input-group-text {
	width: 36px;
	background-color: transparent;
	border: none;
}
.amform .form-check-label {
	font-weight: normal;
}


.rpadding {
    padding: 0 8px 0 0 !important;
}
#img-cc-block {
	display: flex;
	flex-wrap: nowrap;       
	align-items: center;
	gap: 0.25rem;             
	overflow: hidden;         
}
#month-year-cvv-block {
    margin-right: 0;
}
#block-cvv-input {
	width: auto;
	min-width: 150px;
}
#exp-month-year {
	max-width: 220px;
}
#country, #state, #shipping-country, #shipping-state {
	border-radius: 4px;
	height: 36px;
}
.checkbox-right {
    width: 420px;
    float: right;
}

#img-cc-visa {
    background: url(/wp-content/uploads/forms/creditcards.png) 0 0;
}
#img-cc-mastercard {
    background: url(/wp-content/uploads/forms/creditcards.png) -65px 0;
}
#img-cc-discover {
    background: url(/wp-content/uploads/forms/creditcards.png) -130px 0;
}
#img-cc-americanexpress {
    background: url(/wp-content/uploads/forms/creditcards.png) -195px 0;
}

span.img-cc-active {
    opacity: 1;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
}
.img-cc {
    display: inline-block;
    opacity: 0.1;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;	
	width: 65px;
	height: 40px;
	background-size: cover;
	flex-shrink: 1;          
	min-width: 40px;         
}

.input-icon {
    position: relative;
}
.input-icon > i {
    position: absolute;
    display: block;
    transform: translate(0, -50%);
    top: 50%;
    pointer-events: none;
    width: 25px;
    text-align: center;
    font-style: normal;
}
.input-icon > input {
    padding-left: 25px;
    padding-right: 0;
}

#amform-order-page div.input-group input.form-control,
#amform-order-page div.input-group textarea.form-control,
#amform-order-page div.input-group select.form-control,
#amform-order-page div.input-group div.bootstrap-select > button
{
    border-radius: 4px;
}

#amform-order-page div.input-group > div.bootstrap-select {
    width: 100%;
}
#amform-order-page div.input-group > div.bootstrap-select ul {
    padding: 15px 0 15px 0;
}

#shipping-address-block {
	margin-bottom: 20px;
}
#quote-details-block {
	border-top: 2px dotted #ececec;
    padding-top: 15px;
    padding-bottom: 15px;
    margin-top: 15px;
    margin-bottom: 0;
    border-bottom: 2px dotted #ececec;
	font-weight: normal;
}

.iconempty {
    width: 32px;
    background-image: none;
    display: inline-block;
}

.input-tooltip {
    line-height: 0;
    padding-left: 8px;
}
.lheight36 {
    line-height: 36px;
    margin-bottom: 0;
    vertical-align: middle;
}

#amform-order-page textarea#comments {
    height: 60px;
}

#order-submitted-modal > .modal-dialog {
    z-index: 100000;
}

#order-submitted-modal {
    background-color: rgba(50,50,50,0.5);
}

#email-alert {
    margin: 15px 34px 0 0;
}

#sales-tax-certificate-btn {
    margin: 0 10px;
}
#sales-tax-certificate-filename, #sales-tax-certificate-lbl {
    vertical-align: middle;
}
.quoted-price-block label {
	min-width: 210px;
}
.quoted-price-block label.nobold {
	font-weight: normal;
}

/* icons */
[class^="custicon-"],
[class*=" custicon-"] {
    display: inline-block;
    width: 16px;
    height: 18px;
    *margin-right: .3em;
    line-height: 14px;
    vertical-align: text-top;
    background-image: url("custom-icons.png");
    background-position: 14px 14px;
    background-repeat: no-repeat;
}
[class^="cus-"]:last-child,
[class*=" cus-"]:last-child {
    *margin-left: 0;
}
/* icons code below */
.custicon-info{ background-position: 0 0; }

.responsive-gutter-sm {
	padding-left: calc(var(--bs-gutter-x) * 0.5);
	padding-right: calc(var(--bs-gutter-x) * 0.5);
}

@media screen and (max-width: 768px) {
    .checkbox-right {
        float: none;
        width: auto;
    }
    #month, #year, #exp-month-year {
        width: 100%;
        max-width: 100%;
    }
	.input-tooltip {
		margin-bottom: 12px;
	}
}
@media (min-width: 576px) {
	.responsive-gutter-sm {
		padding-left: 0 !important;
		padding-right: 0 !important;
	}
}
@media (max-width: 575.98px) {
	.row-mobile-gutters-sm {
		--bs-gutter-x: 0.25rem;
		--bs-gutter-y: 0.5rem;
	}
	.amform .input-group-text:not(.input-tooltip) {
		display: none;
	}
	#cvv {
		max-width: none;
	}
	#email-alert {
		margin: 15px 0 0 0;
	}
}