﻿@media only screen and (max-width: 930px) {
    .navigation .logo {
        float: none !important;
        margin-right: 0;
        margin: 0 auto;
        position: absolute;
        /* left: 50%; */
        /* margin-left: -110px; */
        /* max-width: 210px; */
        text-align: center;
        max-height: 60px;
        left: 0;
        right: 0;
    }
}

@media only screen and (max-width: 600px) {
    .payment_box {
        float: none !important;
        display: block;
        margin: 30px auto 0 auto;
    }

        .payment_box :first-child {
            margin-bottom: 20px;
        }
}

@media only screen and (max-width: 350px) {
    .payment_box {
        width: 90% !important;
        height: auto !important;
        clear: both;
    }
    /*Comments*/
    .commentparent table,
    .commentparent table tbody,
    .commentparent table td,
    div#commentlist {
        max-width: 100% !important;
        display: inline-block !important;
        width: auto !important;
    }

        .commentparent table tr {
            max-width: 100% !important;
            display: inline-block !important;
            width: 100% !important;
        }

            .commentparent table tr > td:first-child {
                width: 100% !important;
            }

    .form-control {
        margin-bottom: 0 !important;
        margin-left: 0 !important;
        padding: 0 !important;
        width: 100% !important;
        float: none !important;
        clear: both;
    }

    .commentparent .panel-footer {
        font-size: smaller;
        padding-left: 3px;
        padding-right: 3px;
        text-align: center !important;
        height: auto !important;
        display: inline-block;
        width: 100%;
        padding-bottom: 2px;
        padding-top: 2px;
    }

        .commentparent .panel-footer .pull-left {
            float: none !important;
        }

    .commentparent {
        max-width: 100%;
        display: inline-block;
    }

    .comment_wrapper .panel.panel-default {
        max-width: 100%;
    }

    .comment_wrapper {
        width: 100%;
        max-width: 98%;
        margin: 0 auto;
        padding-left: -15px;
        padding-right: -15px;
        position: relative;
        left: 0;
        right: 0;
        float: none;
        clear: both;
        display: block;
    }

    div#commentlist > .panel {
    }

    .form-control {
        width: 100%;
        display: block;
    }

    .profile_holder .form-group {
        margin-bottom: 15px;
        word-break: break-all;
    }

    input, textarea, label {
        display: inline-block !important;
        max-width: 100%;
    }

    .panel .custompanel th {
        background: none !important;
        border-bottom: 2px solid #5089BA;
        color: #569EFC !important;
        background-color: #ECECEC;
        margin-bottom: 10px;
        font-size: 13px;
        font-weight: bold;
        text-align: center !important;
    }

    .commentparent .panel-footer a {
        display: block;
        text-align: center;
    }
}

@media only screen and (max-width: 640px) {
    #navigation {
        height: 60px !important;
    }
}

@media only screen and (max-width: 767px) {
    .table-responsive {
        display: inline-flex;
        width: 100%;
        padding-bottom: 10px;
    }

    .panel-body.orders {
        display: inline-flex;
        width: 100%;
        max-width: 100%;
        overflow: auto;
    }
}

.payment_box {
    width: 230px;
    height: 150px;
    box-sizing: border-box;
    padding: 20px 0;
    padding-top: 25px;
    border: 1px solid #bbb;
}

    .payment_box:first-child {
        float: left;
    }

    .payment_box:last-child {
        float: right;
    }

.payment_boxes {
    width: 100%;
    max-width: 540px;
    display: inline-block;
    text-align: center;
}
