/* Default CSS for Cart and Checkout */
.cartcontent {
    border-spacing: 2rem 0;
    background-color: white;
    margin-bottom: 2rem;
    padding: 1rem 0 2rem 0;
    border-radius: 2px;
}

.checkout-section-container label {
	font-family: "Avenir Next", sans-serif;
}

.cm-cart-has-products .cart-container {
    overflow: auto;
    width: 100%;
}

.middle-content .page-block {
    overflow: auto;
    width: 100%;
}

.middle-content .page-block .cart-container {
    overflow: auto;
    width: 100%;
}

.cm-cart-no-products {
}

.checkout-details-container .invoice_details {
    margin-top: 2rem;
}

.checkout-details-container .fieldset_heading h3 {
    margin-top: 0rem;
}

.checkout-form fieldset {
	margin: 0px;
    vertical-align: top;
    border: none;
    max-width: 60%;
    width: 100%;
    padding: 0px;
}

.checkout-form fieldset .fieldset_fields {
    background: white;
    padding: 1rem;
}

.checkout-form .invoice_details input {
    height: 3rem;
    border: 1px solid #cccccc;
    border-radius: 0.125rem;
    background-color: white;
    padding: 0.5rem 1rem;
    display: inline;
    margin-bottom: 1rem;
    box-sizing: border-box;
}

.checkout-form .invoice_details input:hover {
    border-color: #999999;
    outline: none;
    -webkit-transition: all 0.25s;
    transition: all 0.25s;
}

.checkout-form .invoice_details input:focus-within {
    border-color: #629eda;
}

.checkout-form .invoice_details .form-label {
    display: inline-block;
    font-family: "Avenir Next", sans-serif;
    font-style: normal;
    font-weight: 500;
    text-transform: none;
    font-size: 1rem;
    line-height: 1.5;
    color: black;
    
}

.checkout-form .invoice_details select {
    height: 3rem;
    border: 1px solid #cccccc;
    border-radius: 0.125rem;
    background-color: white;
    padding: 0.5rem 2rem 0.5rem 1rem;
    display: block;
    margin-bottom: 1rem;
    -moz-appearance: none;
    -webkit-appearance: none;
    appearance: none;
    background-image: url(../images/icaew-chevron-down.svg);
    background-repeat: no-repeat;
    background-position: right 0.5rem top 50%;
    background-size: 1rem;
}

.checkout-form .invoice_details select:hover {
    border-color: #999999;
    outline: none;
    -webkit-transition: all 0.25s;
    transition: all 0.25s;
}

.checkout-form .invoice_details select:focus-within {
    border-color: #629eda;
}


.purchasedetails {
	vertical-align:center;
}

.purchasedetails .required {
	font-weight:bold;
}

.purchasedetails td {
	padding: 3px;
}

.purchasedetails .label {
	text-align:right;
	width:20%;
	vertical-align:middle;

}
.cartinfo {
    font-family: "Avenir Next", sans-serif;
    margin-left: 2rem;
}

.purchasedetails p {
	margin: 0px;
	padding:0px;
}

.purchasedetails .field {
	text-align:left;
	vertical-align:middle;
}

.cartcontent th {
    font-family: "Avenir Next", sans-serif;
    font-weight: bold; 
    font-size:  0.75rem;
    line-height: 1.15;
    color: #0a0a0a;
    text-transform: uppercase;
    border-bottom: 2px solid #0a0a0a;
    padding: 1rem 0 1rem 0;
}

.cm-cart-product-column,
.cm-cart-quantity-column {
    text-align: center;
}

.cartcontent tbody {
    font-weight: 500;
}

.lineitem > td {
	padding: 10px 0px;
    border-bottom: 1px solid #cccccc;
}

.lineitem td:nth-child(3),
.lineitem .cm-cart-total-price-cell {
    color: #666666;
}

.order-items-container .lineitem td:nth-child(3) {
    color: #0a0a0a;
}

tbody .icaew-total {
    font-size: 18px;
    font-weight: bold;
}


.cm-cart-line-product-info {
    font-weight: bold;
}

.cm-cart-line-product-info a {
    text-decoration: none;
    color: black;
}

.cm-cart-line-product-info a:hover {
    text-decoration: underline;
    color: #4D4D4D;
}

.cm-cart-table-cell-totals-label {
    padding: 5px 0;
    height: 1rem;
    border-bottom: 0px;
}

.cm-cart-table-cell-totals-value {
    padding: 5px 0;
    height: 1rem;
    border-bottom: 0px;
}

.voucher-container {
    margin-top: 3rem;
}

.voucher-container p {
    font-family: "Avenir Next", sans-serif;
}

.cm-voucher-code-input {
    height: 3rem;
    border: 1px solid #cccccc;
    border-radius: 0.125rem;
    background-color: white;
    padding: 0.5rem 1rem;
    width: 100%;
    max-width: 289px;
    margin-bottom: 1rem;
    box-sizing: border-box;
}

.cm-voucher-code-input:hover {
    border-color: #999999;
    outline: none;
    -webkit-transition: all 0.25s;
    transition: all 0.25s;
}

.cm-voucher-code-input:focus-within {
    border-color: #629eda;
}

.cm_button_voucher_apply {
    background: white;
    border: 1px solid #cccccc;
    color: #666666;
    font-family: "Avenir Next", sans-serif;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.5;
    padding: 0.73rem 1rem;
    border-radius: 2px;
    display: inline-block;
    margin-bottom: 1rem;
    text-decoration: none;
    transition: all 0.25s;
    text-align: center;
    cursor: pointer;
    margin-left: 0.3rem;
}

.cm_button_voucher_apply:hover {
    background: #fb535d;
    border: 1px solid #e30513;
    color: white;
    opacity: 1;
    text-decoration: none;
}

.cm_button_voucher_apply:active,
.cm_button_voucher_apply:focus {
    border: 1px solid #e30513;
    background: white;
    color: black;
    text-decoration: none;
}

.lineitem .cm-cart-quantity {
    height: 2rem;
    border: 1px solid #cccccc;
    border-radius: 0.125rem;
    background-color: white;
    padding: 0.5rem 1rem;
    display: block;
    width: auto;
    margin-bottom: 0rem;
    box-sizing: border-box;
}
.voucher-hr {
    margin: 3rem 0;
    color: #cccccc;
    border: none;
    border-bottom: 1px solid #cccccc;
}

.checkout-gateways input {
    margin-bottom: 1rem;
}

.checkout-gateways :nth-child(4) {
    margin-bottom: 0rem !important;
}

.checkout-section-container {
    display: flex;
    justify-content: center;
}

.checkout-section-container p {
    padding-left: 0px !important;
    width: 100%;
    max-width: 60%;
    margin-bottom: 2rem;
}

.checkout-section-container .payment_gateways p {
    margin-bottom: 1rem;
}

.checkout-form div.buttons {
    margin-left: 20%;
    margin-right: 20%;
}

.order-details-container .manage-licenses-button-container .manage-licenses-button {
    background: #e30513;
    border: 1px solid #e30513;
    color: white;
    font-family: "Avenir Next", sans-serif;
    font-size: 1rem;
    line-height: 1.5;
    padding: 0.66rem 2rem;
    border-radius: 2px;
    text-decoration: none;
    transition: all 0.25s;
    cursor: pointer;
    font-weight: 600;
}

.order-details-container .manage-licenses-button-container .manage-licenses-button:hover {
    background: #fb535d;
    border: 1px solid #e30513;
    color: white;
    opacity: 1;
    text-decoration: none;
}

.order-details-container .manage-licenses-button-container .manage-licenses-button:active,
.order-details-container .manage-licenses-button-container .manage-licenses-button:focus {
    border: 1px solid #e30513;
    background: white;
    color: black;
    text-decoration: none;
}

.order-details-container .manage-licenses-button-container {
    margin-bottom: 2rem;
}

@media only screen and (max-width: 960px) {
    .cm-voucher-code-input {
        width:100% !important;
    }	

    .checkout-form fieldset {
        width: 100%;
        max-width: 100%;
    }

    div.buttons {
        margin-left: 0px;
        margin-right: 0px;
    }

    .checkout-section-container p {
        max-width: 100%;
    }
}

.cm_button_recalculate {
    background: white;
    border: 1px solid #cccccc;
    color: #666666;
    font-family: "Avenir Next", sans-serif;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.5;
    padding: 0.66rem 1rem;
    border-radius: 2px;
    margin-bottom: 1rem;
    text-decoration: none;
    transition: all 0.25s;
    text-align: center;
    cursor: pointer;
}

.cm_button_cancel {
    background: white;
    border: 1px solid #cccccc;
    color: #666666;
    font-family: "Avenir Next", sans-serif;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.5;
    padding: 0.66rem 1rem;
    border-radius: 2px;
    margin-bottom: 1rem;
    text-decoration: none;
    transition: all 0.25s;
    text-align: center;
    cursor: pointer;
    float: left;
    margin-right: 1rem;
}

.cm_button_continue_shopping {
    background: white;
    border: 1px solid #cccccc;
    color: #666666;
    font-family: "Avenir Next", sans-serif;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.5;
    padding: 0.66rem 1rem;
    border-radius: 2px;
    margin-bottom: 1rem;
    text-decoration: none;
    transition: all 0.25s;
    text-align: center;
    cursor: pointer;
    float: left;
}

.cm_button_cancel:hover,
.cm_button_recalculate:hover,
.cm_button_continue_shopping:hover {
    background: #fb535d;
    border: 1px solid #e30513;
    color: white;
    opacity: 1;
    text-decoration: none;
}

.cm_button_cancel:active,
.cm_button_cancel:focus,
.cm_button_recalculate:active,
.cm_button_recalculate:focus,
.cm_button_continue_shopping:active,
.cm_button_continue_shopping:focus {
    border: 1px solid #e30513;
    background: white;
    color: black;
    text-decoration: none;
}

.cm_button_checkout {
    background: #e30513;
    border: 1px solid #e30513;
    color: white;
    font-family: "Avenir Next", sans-serif;
    font-size: 1rem;
    line-height: 1.5;
    padding: 0.66rem 2rem;
    border-radius: 2px;
    margin-bottom: 1rem;
    text-decoration: none;
    transition: all 0.25s;
    text-align: center;
    cursor: pointer;
    margin-left: 1rem;
    font-weight: 600;
}

.cm_button_checkout:hover {
    background: #fb535d;
    border: 1px solid #e30513;
    color: white;
    opacity: 1;
    text-decoration: none;
}

.cm_button_checkout:active,
.cm_button_checkout:focus {
    border: 1px solid #e30513;
    background: white;
    color: black;
    text-decoration: none;
}

.cm_button_proceed {
    background: #e30513;
    border: 1px solid #e30513;
    color: white;
    font-family: "Avenir Next", sans-serif;
    font-size: 1rem;
    line-height: 1.5;
    padding: 0.66rem 2rem;
    border-radius: 2px;
    margin-bottom: 1rem;
    text-decoration: none;
    transition: all 0.25s;
    cursor: pointer;
    float: right;
    font-weight: 600;

}

.cm_button_proceed:hover {
    background: #fb535d;
    border: 1px solid #e30513;
    color: white;
    opacity: 1;
    text-decoration: none;
}

.cm_button_proceed:active,
.cm_button_proceed:focus {
    border: 1px solid #e30513;
    background: white;
    color: black;
    text-decoration: none;

}

.cm-cart-has-products .buttons {
    text-align: right;
}

.cm-voucher-code-notification, .login-error{background-color:#efefef; padding:10px; margin-bottom: 10px;}
.cm-voucher-code-notification img, .login-error img{width:0.75em;}
.cm-voucher-code-notification p, .login-error p{margin: 0 0 0 0 !important;}
.cm-voucher-code-notification .fas{color:#e30513 !important;}
.login-link {
    background: #e30513;
    border: 1px solid #e30513;
    color: white;
    font-family: "Avenir Next", sans-serif;
    font-size: 1rem;
    line-height: 1.5;
    padding: 0.66rem 2rem;
    border-radius: 2px;
    margin-bottom: 1rem;
    text-decoration: none;
    transition: all 0.25s;
    text-align: center;
    cursor: pointer;
    margin-left: 1rem;
    font-weight: 600;
}

.login-link:hover {
    background: #fb535d;
    border: 1px solid #e30513;
    color: white;
    opacity: 1;
    text-decoration: none;
}

.login-link:focus,
.login-link:active {
    border: 1px solid #e30513;
    background: white;
    color: black;
    text-decoration: none;
}

.checkout-details-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

@media screen and (max-width: 960px) {
    .checkout-form div.buttons {
        margin-left: 0px;
        margin-right: 0px;
    }
}

@media screen and (max-width: 640px) {
    .checkout-form .invoice_details select {
        width: 100%;
    }

    .cm_button_cancel {
        margin-right: 0px;
        width: 100%;
    }

    .cm_button_proceed {
        width: 100%;
    }

    .cm_button_checkout {
        margin-left: 0px;
        width: 100%;
    }

    .cm_button_recalculate {
        width: 100%;
    }

    .cm_button_continue_shopping {
        width: 100%;
    }
}