.product_price {
    margin-top: 10px;
}

.addToCart, .addToCart:hover,
.deleteProduct, .deleteProduct:hover {
    margin-top: 4px;
    background: #9C781B;
    border-color: #9C781B;
    color: #fff;
    outline: none;
}

.addToCart .text {
    display: inline-block !important;
    padding-left: 5px;
}

#product_data .addToCart {
    position: relative;
    bottom: 5px;
    left: 10px;
}

#productSearch {
    left: 54px;
}

.cartButtonMenu {
    position: relative;
    right: 13px;
    font-size: 19px;
}

.cartButtonMenu span {
    font-size: 16px;
    background-color: #9C781B;
    color: #fff;
    padding:0 6px;
    -webkit-border-radius: 9px;
    -moz-border-radius: 9px;
    border-radius: 9px;
}

.cartButtonMenu:hover {
    background-color: inherit;
    background-position: 0 0;
    color: #000;
}

#productSearch.cartHasItems {
    left: 25px;
}

.page-content .category-product {
    position: relative;
    display: block;
}

.page-content .category-product img:not(.product-image) {
    position: absolute;
}

.page-content .category-product img.product_image_overlay_new {
    top: -4px;
    left: -4px;
}

.page-content .category-product img.product_image_overlay_new.package {
    top: 0px;
    left: 0px;
}

.page-content .category-product img.product_image_overlay_sale {
    bottom: -4px;
    right: -4px;
}

.page-content .category-product img.product_image_overlay_sale.package {
    bottom: 0px;
    right: 0px;
}

.thumbnail .caption {
    position: inherit;
}

.divPanel {
    padding: 40px 10px;
}

#cart_container {
    display: block;
    margin: 0 auto;
    /*max-width: 90%;*/
}

#cart_container label {
    display: inline-block;
}

#orderBtn {
    margin-top: 4px;
    background: #9C781B;
    border-color: #9C781B;
    color: #fff;
    outline: none;
}

#cart, table {
    border: 0 none;
}

#cart tbody tr td, #cart thead th {
    text-align: center;
    /*border-right: 1px solid #bbb;*/
    padding-top: 20px;
    padding-bottom: 20px;
    background: #ddd;
}

#cart tbody tr:hover td {
    background: #fff;
}

#cart tbody tr td:first-child {
    /*background: transparent;*/
}

#cart tbody tr, #cart thead {
    border: 1px solid transparent;
    border-bottom: 5px #fff solid;
}

#cart thead, #cart tbody tr:last-child {
    border: 1px solid transparent;
}

#cart thead {
    border-bottom: 6px solid #fff;
}

#cart tbody tr td:last-child {
    border-right: 0 none;
}

#cart tbody tr td .quantity {
    max-width: 40px;
    margin-top: 10px;
}

#cart tbody tr #cart_price {
    font-size: 18px;
    font-weight: bold;
}

#transport_modes_info {
    margin: 20px 0;
}

#order_container {
    width:100%;
    text-align: center;
}

#order_container textarea {
    min-height: 100px;
    resize: none;
}

#order_container .control-group {
    width: 42%;
    display: block;
    margin: 20px auto;
}

@media (max-width: 1024px) {
    #productSearch.cartHasItems {
        left: -35px;
    }

    #divMenuRight {
        float: none;
    }

    #divLogo {
        margin-top: 0;
    }

    .navbar .ddmenu {
        margin-top: 0;
        margin-left: 0;
    }
}

@media (max-width: 767px) {
    #divSiteTitle, #divSiteTitle img, #divTagLine {
        display: block;
        margin: 0 auto;
        text-align: center;
    }

    #productSearch, #productSearch2, #productSearch.cartHasItems {
        left: 0;
    }

    .cartButtonMenu {
        display: block;
        margin: 0 auto 20px;
        text-align: center;
        right: 44.5%;
    }

    .cartButtonMenu.hasItems {
        right: 40%;
        left: auto;
    }

    #order_container .control-group {
        width: 100%;
    }
}

@media (max-width: 425px) {
    #cart_container {
        max-width: 99%;
    }
    #cart thead th {
        font-size: 13px;
    }

    #cart thead th:first-child, #cart tbody tr.product td:first-child {
        display: none;
    }

    #cart tbody tr td .quantity {
        margin-top: 0;
    }
}

/*
Max width before this PARTICULAR table gets nasty
This query will take effect for any screen smaller than 760px
and also iPads specifically.
*/
@media only screen and (max-width: 425px) {

    /* Force table to not be like tables anymore */
    #cart, #cart thead, #cart tbody, #cart th, #cart td, #cart tr {
        display: block;
    }

    /* Hide table headers (but not display: none;, for accessibility) */
    #cart thead th {
        position: absolute;
        top: -9999px;
        left: -9999px;
    }

    #cart tr:not(:last-child) td {
        /* Behave  like a "row" */
        border: none;
        position: relative;
        padding-left: 50%;
    }

    #cart tr:not(:last-child) td:before {
        /* Now like a table header */
        position: absolute;
        /* Top/left values mimic padding */
        top: 6px;
        left: 6px;
        width: 45%;
        padding-right: 10px;
        white-space: nowrap;
    }

    #cart tr:last-child td:first-child {
        display: none;
    }

    /*
    Label the data
    */
    #cart tr:not(:last-child) td:nth-of-type(1):before { content: "Termék kép"; }
    #cart tr:not(:last-child) td:nth-of-type(2):before { content: "Termék név"; }
    #cart tr:not(:last-child) td:nth-of-type(3):before { content: "Mennyiség"; }
    #cart tr:not(:last-child) td:nth-of-type(4):before { content: "Egységár"; }
    #cart tr:not(:last-child) td:nth-of-type(5):before { content: "Összesen"; }
    #cart tr:not(:last-child) td:nth-of-type(6):before { content: "Törlés"; }

    #cart tbody tr td, #cart thead th {
        padding-top: 5px;
        padding-bottom: 5px;
    }
}