body{direction: rtl;overflow-x: hidden;}
.form-background {
  padding: 20px 20px 20px 40px;
  margin: 0 0 0 20px;
  color: inherit;
  width: 75%;
  background-color: #ffffff;
  -webkit-border-radius: 6px;
  -moz-border-radius: 6px;
    border-radius: 6px;
  -webkit-box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3);
  -moz-box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3);
    box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3);
}
.navbar{margin-bottom: -10px;
}
.navbar .nav {
    float: right;
}
.navbar .nav > li {
    float: right;
}
input, textarea, .uneditable-input {
    width: 80%;
}
.form-background input, .form-background textarea {
	width: 100%;
}
.form-background select, .form-background input[type="file"], .form-background input[type="submit"] {
	width: 104%;
}
header.page-header.admin-header {
    margin-bottom: 5px;
}
.admin-header, .admin-header h1 {
	background-color: #3C3C3C;
	color: #ffffff;
	padding-left: 20px;
    font-size: 36px;
    line-height: 17px;
    padding-top: 1px;
    text-align: center;
}
.container-fluid {
    /*overflow-x: hidden;*/
    /*width: 100%;*/
}
.dc-page{width:95%;margin: auto;}
.dc-welcome{
    float: none;
    margin: auto;
    display: inline-block;
}
.welcome-image{}
.welcome-message{}
.page-title{
text-align: center;
    margin-bottom: 25px;
    margin-right: -20px;
    margin-left: -20px;
}
.page-title h1{
    background-color: #e5e5e5;
    padding: 0px 0 7px;
    color: rgb(89, 89, 124);
    font-size: 34px;
    -webkit-box-shadow: inset -11px -30px 54px rgba(0, 0, 0, 0.125);
    -moz-box-shadow: inset -11px -30px 54px rgba(0, 0, 0, 0.125);
    box-shadow: inset -11px -30px 54px rgba(0, 0, 0, 0.125);
}
.footer{
	text-align: center;
	padding: 30px 0;
	margin-top: 30px;
	border-top: 1px solid #e5e5e5;
	background-color: #f5f5f5;
}
.table-img-max-height td img {
  max-height: 50px;
  max-width: 72px;
  float: left;
}
#resultsTable tr, #resultsTable td, #resultsTable th {direction: rtl; text-align: right;padding: 7px 5px 3px 0;min-width: 70px;}
table.tablesorter thead tr .header {
    background-position: center left!important;
}
.table th, .table td {
    border: 1px solid #dddddd;
}
.dc-table{float: right;direction: rtl;}
form.table-form {
    margin: 0 10px;
}
.sidebars-after {padding-right: 20px; padding-bottom: 20px;}
.table-form-section{
    /*max-width: 300px;*/
    /*float: right;*/
    margin: 10px;
}
.dc-cat-head{
    padding: 0px 20px 0 40px;
    background-color: rgb(74, 179, 111);
    border: 1px solid white;
    border-radius: 6px;
    color: white;
    /*margin: 10px;*/
    display: inline-block;
}
.total-price {
    color: rgb(74, 179, 111);
    background-color: #ffffff;
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    border-radius: 6px;
    -webkit-box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3);
    -moz-box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3);
    box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3);
    margin-top: 25px;
    margin-bottom: 25px;
}
.col-name{
    max-width: 300px;
}
.col-amount,.col-price,.col-total{
    max-width: 100px;
}
.form-details{
    margin: auto;
    width: 60%;
}
.welcome-message{text-align: center;}
.welcome-image{text-align: center;}
.dc-welcome-message{text-align: right;display: inline-block;font-size: 22px;
    line-height: 29px;
    color: #4AB36F;}
.dc-welcome-message h2{color: #000000;width: 100%;text-align: center;}
.dc-welcome-image{display: inline-block;width: 100%;}


.col-order-detail{
    width:100%!important;
    /*min-width:30%!important;*/
    /*max-width:30%!important;*/
}
/*.col-order-message{*/
    /*width:15%!important;*/
    /*min-width:15%!important;*/
    /*max-width:15%!important;*/
/*}*/
.col-order-contents{
    width:100%!important;
    /*min-width:70%!important;*/
    /*max-width:70%!important;*/
}

@media (min-width: 768px){
    .dc-table{margin: 0 40px 0 0 !important;}
    /*.dc-cat-head{margin-right:40px;}*/
    .top-img{margin: 0 4% 10px;
        max-width: 20%;
        height: auto;}
    .welcome-image{width:100%;}
    .welcome-message{width:100%;}
}
@media (max-width: 767px) {
  [class*="span"].pull-right, .dc-table {
    float: none;
      width: 100%;
      max-width: 100%;
	}
    .row-fluid {
        width: 96%;
        margin: auto;
    }
    .container-fluid {
        overflow-x: hidden;
        width: 100%;
    }
    .form-background,.alert-danger, .alert-error, .alert-success{margin: 0 auto 20px;
    }
    .sidebars-after{
        padding-right: 0;
    }
    h1, .admin-header h1 {
        font-size: 26px;
        margin-bottom: 10px;
    }
    .page-title h1{font-size: 26px}
    .form-background input {
        width: 100%;
    }
    .form-background select, .form-background input[type="file"], .form-background input[type="submit"] {
        width: 103%;
    }
    table input[type="file"], table input[type="image"], table input[type="submit"], table input[type="reset"], table input[type="button"], table input[type="radio"], table input[type="checkbox"] {
        font-size: 12px;
    }
    table input[type="button"], table input[type="submit"], table input[type="reset"], table input[type="file"]::-webkit-file-upload-button, table button {
        padding: 4px 1px;
        line-height: 8px;
        width: 90%;
    }
    table input{width:65%;}
    table select{width:90%;}
    tbody {
        max-width: 100%;
        min-width: initial;
    }
    #resultsTable tr, #resultsTable td, #resultsTable th {
        min-width: initial;
    }
    /*#resultsTable td, #resultsTable th{width:20%}*/
    .col-name,.col-price{
        width:25%!important;
    }
    .col-cat{
        width:40%!important;
    }
    .col-edit,.col-del{
        width:5%!important;
    }
    .col-amount{
        width: 30%;
    }
    .form-details{
        width: 75%;
    }
    /*.dc-welcome-image{display: inline-block;}*/
    /*.dc-welcome-message{display: inline-block;}*/
    .top-img{margin: 0 1% 10px;
        max-width: 27%;
        height: auto;}
}
@media (max-width: 520px) {
    .form-background input[type="submit"] {
        width: 105%;
    }
}
