/* --- CSS for Custom Net Payment page --- */

.net-payment iframe {
    font-family: 'Ubuntu', sans-serif;
    height: 600px;
    width: 100%;
}
#item_content {
    font-family: 'Ubuntu', sans-serif;
}
.cartItemsTable {
    border-collapse: collapse;
    border-spacing: 0;
}
.cartItemsTable thead tr {
    border-bottom: 1px solid #e8e8e8;
    border-top: 1px solid #e8e8e8;
    padding: 11px 0;
    line-height: 2.4em;
}
.cartItemsTable thead tr th:first-child {
    text-align: left;
}
.cartItemsTable tbody td {
    padding: 20px 0;
}
.cartItemsTable tbody td .thumb {
    width: 80%;
}
.cartItemsTable tbody td .thumb img {
    max-width: 100%;
}
.cartItemsTable tbody tr {
    border-bottom: 1px solid #e8e8e8;
}
.cartItemsTable td:nth-child(1),
.cartItemsTable th:nth-child(1) {
    width: 15%;
}
.cartItemsTable td:nth-child(2),
.cartItemsTable th:nth-child(2) {
    width: 30%;
}
.cartItemsTable td:nth-child(3),
.cartItemsTable th:nth-child(3) {
    width: 20%;
    text-align: center;
}
.cartItemsTable td:nth-child(4),
.cartItemsTable th:nth-child(4) {
    width: 10%;
    text-align: center;
}
.cartItemsTable td:nth-child(4),
 .cartItemsTable th:nth-child(4) {
     width: 20%;
     text-align: center;
 }
.cartItemsTable td:nth-child(5),
.cartItemsTable th:nth-child(5) {
    text-align: center;
}
.shipping-details {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    margin-bottom: 20px;
}
.shipping-details > div {
    -webkit-box-flex: 1;
    -webkit-flex: 1 1 50%;
    -ms-flex: 1 1 50%;
    flex: 1 1 50%;
    max-width: 50%;
}
.shipping-details > div:first-child {
    /*border-right: 1px solid #e8e8e8;*/
}
.shipping-details .shipping-rates {
    padding: 10px;
   /* max-height: 150px;*/
    overflow: auto;
}

/* width */
.shipping-details .shipping-rates::-webkit-scrollbar {
    width: 4px;
}

/* Track */
.shipping-details .shipping-rates::-webkit-scrollbar-track {
    background: #f1f1f1;
}

/* Handle */
.shipping-details .shipping-rates::-webkit-scrollbar-thumb {
    background: #d92026;
}

/* Handle on hover */
.shipping-details .shipping-rates::-webkit-scrollbar-thumb:hover {
    background: #d92026;
}

.shipping-details .shipping-calculation {
    /*padding: 10px 50px;
    margin-left: 50px;
    border-left: 1px solid #ddd;*/
}
.shipping-details .shipping-calculation .shipping-calculation-wrapper {
    padding: 20px;
    border: 1px solid #ddd;
    background: #f4f6f8;
    border-radius: 6px;
}

.shipping-rates > div {
    background: #f4f6f8;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 6px;
    margin-bottom: 10px;
    display: -webkit-box;      /* OLD - iOS 6-, Safari 3.1-6 */
    display: -moz-box;         /* OLD - Firefox 19- (buggy but mostly works) */
    display: -ms-flexbox;      /* TWEENER - IE 10 */
    display: -webkit-flex;     /* NEW - Chrome */
    display: flex;             /* NEW, Spec - Opera 12.1, Firefox 20+ */
}
.shipping-calculation p {
    /*margin: 0 auto;*/
    margin: 0 auto;
    margin-bottom: 10px;
    text-align: right;
}
.shipping-calculation p:last-child {
    margin-bottom: 0;
}
.shipping-calculation .title {
    float: left;
}
/*.shipping-calculation p strong {
    font-size: 15px;
}*/
.shipping-rates .rates {
    float: right;
    width: 50%;
    text-align: right;
}
#Bag {
    border-bottom: 1px solid #e8e8e8;
    margin-bottom: 30px;
    max-height: 300px;
    overflow: auto;
}

/* width */
#Bag::-webkit-scrollbar {
    width: 4px;
}

/* Track */
#Bag::-webkit-scrollbar-track {
    background: #f1f1f1;
}

/* Handle */
#Bag::-webkit-scrollbar-thumb {
    background: #d92026;
}

/* Handle on hover */
#Bag::-webkit-scrollbar-thumb:hover {
    background: #d92026;
}

.text-area,.input-fields {
    padding: 10px;
}
.text-area textarea {
    width: 500px;
    height: 100px;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 10px;
    resize: none;
}
.input-fields input {
    width: 42%;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 10px;
    resize: none;
}

.checkout-button {
    margin-left: 10px;
}
.checkout-button input{
    cursor: pointer;
    display: inline-block;
    background-color: #d92026;
    -webkit-appearance: none;
    background-clip: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    border: 1px transparent solid;
    border-radius: 5px;
    color: white;
    font-weight: 700;
    padding: 0.6em 1.7em;
    text-align: center;
    position: relative;
    width: auto;
    -webkit-transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out, -webkit-box-shadow 0.2s ease-in-out;
    transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out, -webkit-box-shadow 0.2s ease-in-out;
    transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
    transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out, box-shadow 0.2s ease-in-out, -webkit-box-shadow 0.2s ease-in-out;
}
#back_checkout{
    background-color: #000000 !important;
}

.checkout-button input:hover {
    background-color: #ad191e;
    color: white;
}

[type="radio"]:checked,
[type="radio"]:not(:checked) {
    position: absolute;
    left: -9999px;
}
[type="radio"]:checked + label,
[type="radio"]:not(:checked) + label
{
    position: relative;
    padding-left: 28px;
    cursor: pointer;
    line-height: 20px;
    /*display: inline-block;*/
    width: 50%;
    color: #666;
}
[type="radio"]:checked + label:before,
[type="radio"]:not(:checked) + label:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 18px;
    height: 18px;
    border: 1px solid #ddd;
    border-radius: 100%;
    background: #fff;
}
[type="radio"]:checked + label:after,
[type="radio"]:not(:checked) + label:after {
    content: '';
    width: 12px;
    height: 12px;
    background: #e62a2a;
    position: absolute;
    top: 4px;
    left: 4px;
    border-radius: 100%;
    -webkit-transition: all 0.2s ease;
    transition: all 0.2s ease;
}
[type="radio"]:not(:checked) + label:after {
    opacity: 0;
    -webkit-transform: scale(0);
    transform: scale(0);
}
[type="radio"]:checked + label:after {
    opacity: 1;
    -webkit-transform: scale(1);
    transform: scale(1);
}

#message_content {
    font-family: 'Ubuntu', sans-serif;
    font-size: 40px;
    padding: 80px;
    border: 1px solid #ddd;
    border-radius: 6px;
    background: #f4f6f8;
    text-align: center;
}

@media (min-width: 768px) {

    .shipping-details .shipping-calculation {
        padding: 10px 50px;
        margin-left: 50px;
        border-left: 1px solid #ddd;
    }
}
@media (max-width: 768px)  {
    .shipping-details .shipping-calculation .shipping-calculation-wrapper { 
        padding: 5px;
        font-size: 0.8em;
    }
    .input-fields input {
    width: 100%;
}
    .shipping-rates .rates {

    font-size: 0.9em;
    font-weight: bold;
}
    .shipping-details {
        display:block;
    }
    
      .product_description td {
    font-size: 0.7em;
}
   /* .shipping-details,.shipping-rates > div {
        flex-direction: column;
    }*/
    .shipping-details > div {
        max-width: 100%
    }
    .shipping-details .shipping-rates,.text-area {
        padding: 0;
    }
    .text-area textarea {
        width: 100%;
    }
    .checkout-button {
        margin-left: 0;
    }
}

.overlay {
    background: #e9e9e9;
    display: none;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    opacity: 0.5;
}
#loading-img{
    position: fixed;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    z-index: 9999;
    background: url('//shopify.airbagman.com.au/shopify/images/ajax-loader.gif')
    50% 50% no-repeat rgb(249,249,249);
}
.input-fields label{
    display: inline-block;
    margin-bottom: .5rem;
}

.input-error-field{
    border: 1px solid #D92026 !important;
    display: inline-block;
    margin: 0 0 6px 0px;
}
.error-field-span{
    font-size: 12px;
    color: #D92026;
}
