.navbar-nav {
    margin-right: auto !important;
}

.col-form-label {
    text-align: left !important;
}

.dropdown-item,
.alert-danger,
.alert-success,
.warning-message,
h6,
h5,
h4,
h3,
h2,
h1,
.items,
.test,
.detail-table,
.link-primary {
    direction: rtl !important;
    text-align: right !important;
}

.navbar-nav {
    padding-right: 20 !important;
    text-align: right !important;
}

.search-button {
    position: absolute;
    border: none;
    background: none;
    margin-right: -35px;
    margin-top: 3px;
}

.details-th {
    text-align: left;
    width: 50%;
}

.details-td {
    text-align: right;
    width: 50%;
}

.accordion-btn {
    text-align: right !important;
    direction: rtl !important;
}

.img-thumbnail {
    max-width: 300px;
    border-radius: 10px;
    margin: 5px;
}

.del-btn {
    background: white;
    border-radius: 50%;
    width: 27px;
    height: 27px;
    border: none;
    font-size: 16px;
    margin-top: 15px;
    margin-right: -42px;
    position: absolute;
}

.detail-th {
    color: white;
    background-color: #b6975b !important;
}

@media only screen and (max-width: 600px) {
    .col-form-label {
        text-align: right !important;
    }

    table {
        border-radius: 1rem 1rem 0rem 0rem !important;
        font-size: 14px !important;

    }
}

.dropdown-submenu {
    position: relative;
}

.dropdown-submenu>.dropdown-menu {
    top: 0;
    right: 100%;
    margin-top: -6px;
    margin-right: -1px;
    -webkit-border-radius: 0 6px 6px 6px;
    -moz-border-radius: 0 6px 6px;
    border-radius: 0 6px 6px 6px;
}

.dropdown-submenu:hover>.dropdown-menu {
    display: block;
}

.dropdown-submenu>a:after {
    display: block;
    content: " ";
    float: left;
    width: 0;
    height: 0;
    border-color: transparent;
    border-style: solid;
    border-width: 5px 0 5px 5px;
    border-right-color: #ccc;
    margin-top: 5px;
    margin-left: -10px;
}

.dropdown-submenu:hover>a:after {
    border-right-color: #fff;
}

.dropdown-submenu.pull-left {
    float: none;
}

.dropdown-submenu.pull-left>.dropdown-menu {
    left: -100%;
    margin-right: 10px;
    -webkit-border-radius: 6px 0 6px 6px;
    -moz-border-radius: 6px 0 6px 6px;
    border-radius: 6px 0 6px 6px;
}

@media print {
    @page {
        size: auto;
        margin: 15mm 15mm 15mm 15mm;
    }

    table {
        page-break-after: auto
    }

    tr {
        page-break-inside: avoid;
        page-break-after: auto
    }

    td {
        page-break-inside: avoid;
        page-break-after: auto
    }

    thead {
        display: table-header-group
    }

    tfoot {
        display: table-footer-group
    }

    .pagebreak {
        clear: both;
        page-break-after: always;
    }

    .btn {
        display: none;
    }
}