/** SE-2350 begin **/

#onestepcheckout-form .onestepcheckout-enable-newsletter.custom-checkout input#id_subscribe_newsletter,
#onestepcheckout-form .onestepcheckout-enable-terms.custom-checkout input#id_accept_terms {
    width: 18px;
    height: 18px;
    top: -2px;
}

#onestepcheckout-form .onestepcheckout-threecolumns input[type="checkbox"] {
	width: 18px;
	height: 18px;
	margin-left:8px;
}

#onestepcheckout-form .onestepcheckout-enable-terms.custom-checkout input#id_accept_terms:checked:after,
#onestepcheckout-form .onestepcheckout-threecolumns input[type="checkbox"]:checked:after {
	width: 18px;
	height: 18px;
	font-size: 20px;
	top: -2px;
	left:0;
}

#onestepcheckout-form .onestepcheckout-column-left input[type="checkbox"] + label {
	width: auto;
	margin-top:1px;
}

#onestepcheckout-form .onestepcheckout-shipping-method-block input[type="radio"], 
#onestepcheckout-form .payment-methods dl dt input[type="radio"], 
#onestepcheckout-form #checkout-payment-method-load .payment-method input[type="radio"] {
	width: 18px;
	height: 18px;
	margin-top:9px;
	margin-left:8px;
}

#onestepcheckout-form dl.sp-methods label, 
#onestepcheckout-form dl.shipment-methods label,
#onestepcheckout-form .payment-methods label {
	width: auto;
}

#onestepcheckout-form .onestepcheckout-shipping-method-block input[type="radio"]:checked:after, 
#onestepcheckout-form .payment-methods dl dt input[type="radio"]:checked:after, 
#onestepcheckout-form #checkout-payment-method-load .payment-method input[type="radio"]:checked:after {
	width: 18px;
	height: 18px;
	font-size: 20px;
	top: -2px;
	left:0;
}

#onestepcheckout-form .onestepcheckout-shipping-method-block dt:after,
#onestepcheckout-form .payment-methods dt:after{
	content: "";
	display: block;
	clear: both;
}

#onestepcheckout-form .onestepcheckout-shipping-method-block dt label, 
#onestepcheckout-form .payment-methods dt label {
	padding: 7px 0;
}

#billing_address_list li:nth-child(8) {
	padding-bottom: 7px;
}

.main-container #onestepcheckout-form .onestepcheckout-comments .input-wrapper {
	width: 100% !important;
}

/** SE-2350 end **/
#shopping-cart-table #shopping-cart-totals-table tbody tr {
    border: 0;
}

#shopping-cart-table #shopping-cart-totals-table tbody tr.shipping td {
    display: none;
}

#shopping-cart-table #shopping-cart-totals-table tbody tr td {
    border: 0;
    font-size: 16px;
}

#shopping-cart-table #shopping-cart-totals-table tfoot tr.btw td {
    font-size: 16px;
}

table.onestepcheckout-totals tbody tr td {
    font-size: 16px;
}

table.onestepcheckout-totals tbody tr.btw td {
    font-size: 16px;
}

table.onestepcheckout-totals tbody tr.grandtotal td {
    font-size: 18px;
}

#onestepcheckout-form .payment-methods dl {
    width: 100%;
    max-width: 466px;
}

#onestepcheckout-form .payment-methods dl dt {
    width: 100%;
    max-width: 466px;
    border: 1px solid #dedede;
    border-radius: 10px;
    background: transparent;
    position: relative;
}

#onestepcheckout-form .payment-methods dl dt > label {
    padding-left: 60px;
    position: relative;
    background: transparent;
    display: inline-block;
    width: calc(100% - 100px) !important;
}

#onestepcheckout-form .payment-methods dl dt > label .icon {
    position: absolute;
    top: 5px;
    bottom: 5px;
    left:0;
    width: 40px;
    padding: 0 5px;
    display: flex;
    justify-content: center;
    align-items: center;
}

#onestepcheckout-form .payment-methods dl dt.with-instruction:before {
    content: "i";
    color: #8e8f8f;
    border: 2px solid #8e8f8f;
    border-radius: 1000px;
    width: 20px;
    height: 20px;
    display: flex;
    justify-content: center;
    align-content: center;
    font-size: 16px;
    position: absolute;
    right: 15px;
    top: 50%;
    clear: both;
    transform: translateY(-50%);
}

#onestepcheckout-form .payment-methods dl dt > label .icon img {
    margin:0;
    max-widht: 100%;
    max-height: 100%;
}

#onestepcheckout-form .payment-methods dl dd {
    display: none !important;
}

#onestepcheckout-form .payment-methods dl dd.open {
    display:block !important;
}

#onestepcheckout-form .payment-methods dl dd .form-list > ul {
    display: none !important;
    padding: 0;
    margin:0;
    
}

#onestepcheckout-form .payment-methods dl dd.open .form-list > ul {
    display: block !important;
}

#onestepcheckout-form .payment-methods dl dd .form-list {
    display: none !important;
    margin: -4px 10px 5px;
    background: #eee;
    padding: 15px;
}

#onestepcheckout-form .payment-methods dl dd.open .form-list {
    display: block !important;
}

#onestepcheckout-form .payment-methods dl dd .form-list .instructions ul {
    margin: 0;
    padding: 0 0 0 20px;
    list-style: disc;
}

#onestepcheckout-form .payment-methods dl dd .form-list .instructions ~ .fields {
    padding-top:30px;
}

#onestepcheckout-form .payment-methods dl dd .form-list .fields .field {
    display: flex;
    margin: 6px 0;
    align-items: center;
    width: auto;
    clear:both;
}

#onestepcheckout-form .payment-methods dl dd .form-list .fields .field label {
    font-size: 12px;
    font-weight: normal !important;
    width: auto !important;
    line-height: 1.2;
    padding:0;
    margin:0 15px 0 0;
}   

#onestepcheckout-form .payment-methods dl dd .form-list .fields .field .radios {
    display: flex;
    margin:0;
    flex-wrap: wrap;
    align-items: center;
}

#onestepcheckout-form .payment-methods dl dd .form-list .fields .field .radios .radio {
    margin:0 10px 0 0;
    white-space: nowrap;
}

#onestepcheckout-form .payment-methods dl dd .form-list .fields .field .radios .radio input[type="radio"] {
    margin: 0 5px 0 0 !important;
}

#onestepcheckout-form .payment-methods dl dd .form-list .fields .field .input input {
    line-height: 1.2;
    height: 35px;
    padding: 2px;
    background: #fff;
    border: 1px solid #dedede;
    box-sizing: border-box;
}

#onestepcheckout-form .payment-methods #payment_form_msp_creditcard .fields .field {
    align-items: baseline;
}

#onestepcheckout-form .payment-methods #payment_form_msp_creditcard .radios .radio {
    width:100%;
}

#onestepcheckout-form .payment-methods dl dd .form-list .fields .field .customer-dob {
    display: flex;
}

#onestepcheckout-form .payment-methods dl dd .form-list .fields .field .customer-dob .dob-day {
    width: 25%;
    padding-right:10px;
    float: none;
    box-sizing: border-box;
}

#onestepcheckout-form .payment-methods dl dd .form-list .fields .field .customer-dob .dob-day .input-text {
    padding-left:2px;
    box-sizing: border-box;
}

#onestepcheckout-form .payment-methods dl dd .form-list .fields .field .customer-dob .dob-month {
    width: 25%;
    padding-right:10px;
    float: none;
    box-sizing: border-box;
}

#onestepcheckout-form .payment-methods dl dd .form-list .fields .field .customer-dob .dob-month .input-text {
    padding-left:2px;
    box-sizing: border-box;
}

#onestepcheckout-form .payment-methods dl dd .form-list .fields .field .customer-dob .dob-year {
    width: 50%;
    float: none;
    box-sizing: border-box;
}

#onestepcheckout-form .payment-methods dl dd .form-list .fields .field .customer-dob .dob-year .input-text {
    padding-left:2px;
    box-sizing: border-box;
}

#onestepcheckout-form .payment-methods dl dd .form-list .fields .field input[type="checkbox"] {
    margin:0 15px 0 0;
}

#onestepcheckout-form .payment-methods dl dd .radios {
    position: relative;
}

#onestepcheckout-form .payment-methods dl dd .radios .radio {
    position: static;
}

#onestepcheckout-form .payment-methods dl dd .radios .radio .validation-advice {
    position: absolute;
    top: 100%;
}

#shopping-cart-table .delivery-info-text .tooltip-wrap,
#onestepcheckout-form .shipment-methods .tooltip-wrap {
    display: inline-block;
    position:relative;
}

#shopping-cart-table .delivery-info-text .tooltip-wrap i.fa {
    font-size:13px;
}

#shopping-cart-table .delivery-info-text .tooltip-wrap .tooltip-content,
#onestepcheckout-form .shipment-methods .tooltip-wrap .tooltip-content {

    position: absolute;
    top: 100%;
    width: 95vw;
    max-width: 290px;
    left: 50%;
    transform: translate(-50%, 15px);
    z-index: 200;
    background: #3d3d3d;
    color: #fff;
    padding: 20px;
    border-radius: 4px;
    box-shadow: 0 0 4px 2px rgba(0, 0, 0, 0.5);
    text-align:left;
}



#shopping-cart-table .delivery-info-text .tooltip-wrap .tooltip-content:before,
#onestepcheckout-form .shipment-methods .tooltip-wrap .tooltip-content:before {
    content: "";
    display: block;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 10px solid #3d3d3d;
    position: absolute;
    top:-10px;
    left:50%;
    transform: translateX(-50%);
}

@media only screen and (min-width: 768px) {
    #shopping-cart-table .delivery-info-text .tooltip-wrap .tooltip-content,
    #onestepcheckout-form .shipment-methods .tooltip-wrap .tooltip-content {
        left: 100%;
        top: 50%;
        transform: translate(15px, -50%);
        max-width: 350px;
    }
    
    #shopping-cart-table .delivery-info-text .tooltip-wrap .tooltip-content:before,
    #onestepcheckout-form .shipment-methods .tooltip-wrap .tooltip-content:before {
        border-left: 0;
        border-right: 10px solid #3d3d3d;
        border-bottom: 10px solid transparent;
        border-top: 10px solid transparent;
        
        top:50%;
        left:-10px;
        transform: translateY(-50%);
    }
}

#shopping-cart-table .delivery-info-text .tooltip-wrap .tooltip-content {
    top: auto;
    left: auto;
    right: 0;
    transform: translate(10px, -15px);
    bottom: 100%;
}

#shopping-cart-table .delivery-info-text .tooltip-wrap .tooltip-content:before {
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 0;
    border-top: 10px solid #3d3d3d;
    
    top: auto;
    bottom:0;
    left:auto;
    right: 5px;
    transform: translateY(99%);
    z-index:220;
}
