/*
 * Base structure
 */

/* Move down content because we have a fixed navbar that is 50px tall */
body {
  padding-top: 50px;
}


/*
 * Global add-ons
 */

.sub-header {
  padding-bottom: 10px;
  border-bottom: 1px solid #eee;
}

/*
 * Top navigation
 * Hide default border to remove 1px line.
 */
.navbar-fixed-top {
  border: 0;
}

/*
 * Sidebar
 */

/* Hide for mobile, show later */
.sidebar {
  display: none;
}
@media (min-width: 768px) {
  .sidebar {
    position: fixed;
    top: 51px;
    bottom: 0;
    left: 0;
    z-index: 0;
    display: block;
    padding: 20px;
    overflow-x: hidden;
    overflow-y: auto; /* Scrollable contents if viewport is shorter than content. */
    background-color: #f5f5f5;
    border-right: 1px solid #eee;
  }
}

/* Sidebar navigation */
.nav-sidebar {
  margin-right: -21px; /* 20px padding + 1px border */
  margin-bottom: 20px;
  margin-left: -20px;
}
.nav-sidebar > li > a {
  padding-right: 20px;
  padding-left: 20px;
}
.nav-sidebar > .active > a,
.nav-sidebar > .active > a:hover,
.nav-sidebar > .active > a:focus {
  color: #fff;
  background-color: #2780e3;
}


/*
 * Main content
 */

.main {
  padding: 20px;
}
@media (min-width: 768px) {
  .main {
    padding-right: 40px;
    padding-left: 40px;
  }
}
.main .page-header {
  margin-top: 0;
}


/*
 * Placeholder dashboard ideas
 */

.placeholders {
  margin-bottom: 30px;
  text-align: center;
}
.placeholders h4 {
  margin-bottom: 0;
}
.placeholder {
  margin-bottom: 20px;
}
.placeholder img {
  display: inline-block;
  border-radius: 50%;
}

.col-top {
  vertical-align: top;
}
.col-middle {
  vertical-align: middle;
}
.col-bottom {
  vertical-align: bottom;
}

/* columns of same height styles */

.row-full-height {
  height: 100%;
}
.col-full-height {
  height: 100%;
  vertical-align: middle;
}
.row-same-height {
  display: table;
  width: 100%;
  /* fix overflow */
  table-layout: fixed;
}
.col-xs-height {
  display: table-cell;
  float: none !important;
}
.imageblock{
    height: 150px;
}
.marginB20{
    margin-bottom: 5px;
}
.marginT20{
    margin-top: 10px;
}
.modal-dialog-center {
    padding-top: 15%;
}
.readonlyField,.readonlyField[readonly],.readonlyField[disabled]{
    border: inherit;
    background: inherit;
    background-color: inherit;
    outline: none;
    cursor: default;
    box-shadow: none;
    -webkit-box-shadow: none;
    text-indent: 0.01px;
    text-overflow: '';
    padding-left: 0;
    word-break: break-word;
    height: 50px;
}
select.readonlyField::-ms-expand {
    display: none;
}
.uploaderImage{
    border:3px dashed #ccc;
    background: transparent;
    text-align: center;
    min-height: 180px;
    min-width: 180px;
    vertical-align: middle;
    cursor: pointer;
    padding:5px;
}
.readonlyField .uploaderImage{
    border: transparent;
    cursor: default;
}
.uploaderImage img{
    max-height: 100%;
    max-width: 100%;
}
.marginB20 .text-right, .marginT20 .text-right{
    padding-top:7px;
}
.dragtheme{
    box-sizing: border-box;
}
.sort-r .sortable, .sort-t .sortable{
    height: 150px;
}
.sort-r, .sort-t{
    box-sizing: border-box;
}
.sortable{
    box-sizing: border-box;
    border:2px dashed #ccc;
    padding:20px;
    
    margin-bottom: 25px;
}
.drag-block .dragging{
    border-color: #08c;
}
/*.sortable .title{
    cursor: move;
    font-weight: bold;
}*/
.sortable-placeholder{
    border:2px dashed orange;
    width: 25%;
    height: 80px;
    float: left;
    
}


.row3{
    height: 300px;
    
}
.row1{
    height: 100px;
    
}
.block{
    padding: 20px;
    border:2px dashed #ccc;
    
    
}
.block .title{
/*    cursor: move;*/
    font-weight: bold;
}
.tab-pane{
    display: none;
}

.notify{
    position: fixed;
    bottom: 50px;
    left:50px;
    width: 300px;
    height:70px;
    text-align: center;
    border:1px solid #ccc;
    padding: 20px;
    background: #ffffcc;
    box-shadow: 0px 0px 3px 3px #ccc;
    display: none;
    
}
/* order style */

.orderListExpired{
  /* border: 5px solid rgba(255, 0, 0, 1); */
  background-color: rgba(255, 0, 0, 0.2);
}
.orderListPaid{
  background-color: rgba(0, 200, 0, 0.15);
}
.orderListNotManOrMaster{
  background-color: rgba(0, 26, 255, 0.2);
}
/* message error setting*/
.messageError, .messageSuccess{
  font-size: 16px;
  margin-top: 10px;
}
.messageSuccess{
  color: green;
}
.messageError{
  color: red;
}
.form-control-multiple{
  display: block;
  width: 100%;
  height: 200px !important;
  font-size: 15px;
  line-height: 1.42857143;
  color: #333333;
  background-color: #ffffff;
  background-image: none;
  border: 1px solid #cccccc;
  border-radius: 0;
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
  -webkit-transition: border-color ease-in-out .15s, -webkit-box-shadow ease-in-out .15s;
  -o-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
  transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
}