/* universal */

body {
  background: #444444;
  padding-top: 80px;
  margin-left: auto;
  margin-right: auto;
  width: 90%;
}

section {
  overflow: auto;
}

textarea {
  resize: vertical;
}

.center {
  background: #222222;
  text-align: center;
  h1 {
    margin-bottom: 10px;
    color: #91c9fc;
  }
}

.center.jumbotron {
  padding: 32px 24px;
}

.hidden {
    display: none !important;   
}

/* typography */

h1, h2, h3, h4, h5, h6 {
  line-height: 1;
}

h1 {
  font-size: 2.2em;
  letter-spacing: -1px;
  margin-bottom: 30px;
  text-align: center;
  color: #91c9fc;
}

h2 {
  font-size: 1.6em;
  letter-spacing: -1px;
  margin-bottom: 30px;
  text-align: center;
  font-weight: normal;
  color: #c4e4fe;
}

h3 {
  font-size: 1.6em;
  letter-spacing: -1px;
  font-weight: normal;
  color: #ffffff;
  text-align: center;
}

h4 {
  color: #ffffff;
  font-size: 1.1em;
}

p {
  font-size: 1.2em;
  line-height: 1.7em;
  color: #ffffff;
  font-weight: lighter;
}

li {
  font-size: 1.0em;
  line-height: 1.7em;
  color: #ffffff;
  font-weight: lighter;
}


span {
  font-size: 1.2em;
  line-height: 1.7em;
  color: #ffffff;
  font-weight: lighter;
}

.panel-body p {
  color: #333333;
}

span.a {
  display: inline-block; /* the default for span */
  width: 120px;
}



/* logo */

#logo {
  float: left;
  margin-right: 10px;
  font-size: 1.7em;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding-top: 9px;
  font-weight: bold;
  &:hover {
    color: #fff;
    text-decoration: none;
  }
}

/* header text */
.loginname {
  float: left;
  margin-left: 10px;
  font-size: 1.7em;
  color: #1ca7ff;
  letter-spacing: 1px;
  padding-top: 9px;
  font-weight: lighter;
  &:hover {
    text-decoration: none;
  }
}

/* header text */
.loginname_cyan {
  float: left;
  margin-left: 10px;
  font-size: 1.7em;
  color: #00ffff;
  letter-spacing: 1px;
  padding-top: 9px;
  font-weight: lighter;
  &:hover {
    text-decoration: none;
  }
}


.user-location {
  float: left;
  margin-left: 10px;
  font-size: 1.7em;
  color: #fff;
  letter-spacing: 1px;
  padding-top: 9px;
  font-weight: lighter;
  &:hover {
    text-decoration: none;
  }
}


/* menu */
.menu-line {
  height: 3.6em;
}

.dropdown-menu > li.menu-line {
  height: 3em;

  > a {
    padding-top: 1.5px;
    padding-bottom: 1.5px;
  }
}

@media (min-width: 768px) {
  .navbar-nav > li > a.menu-line {
    padding-left: 7.5px;
    padding-right: 7.5px;
  }
}

a {
  color: orange;
}


/* footer */

footer {
  margin-top: 45px;
  padding-top: 5px;
  border-top: 1px solid #eaeaea;
  color: #bbbbbb;
  a {
    color: #bbbbbb;
    &:hover {
      color: #ffffff;
    }
  }
  small {
    float: left;
  }
  ul {
    float: right;
    list-style: none;
    li {
      float: left;
      margin-left: 15px;
    }
  }
}




/* miscellaneous */
.debug_dump {
  clear: both;
  float: left;
  width: 100%;
  margin-top: 45px;
  box-sizing: border-box;
}


/* forms */

input, textarea, select, .uneditable-input {
  border: 1px solid #bbb;
  width: 100%;
  margin-bottom: 15px;
  color: #dddddd;
  box-sizing: border-box;
}

.form-control {
  background: #222222;
  color: #ffffff;
  letter-spacing: 1px;
}

:disabled {
    color: #111;
}

.form-label {
  color: #ffffff;
}

input {
  height: auto !important;
}

input[type="checkbox"], input[type="radio"] {
  width: auto;
  margin: 4px 6px 4px 0;
}

select {
  color: #dddddd;
  background: #222222;
  height: 2.4em;
}

#error_explanation {
  color: red;
  ul {
    color: red;
    margin: 0 0 30px 0;
  }
}

.field_with_errors {
  .form-control {
    color: #a94442;
  }
}

.click {
  color: #ff4949;
}


/* pages */
.pages {
  text-align: center;
}

tr.list_line_odd {
  background-color: #222222;
}

tr.list_line_even {
  background-color: #444444;
}


table {
	border: 1px solid black;
  width: 100%;
  margin-bottom: 30px;
  background-color: #333333;
	tr{
		text-align: center;
		border: 1px solid #bbbbbb;
		th{
			text-align: center;
      height: 2.8em;
			background-color: #6084b6;
      color: #ffffff;
		}
		td {
      color: #ffffff;
      width: 100px;
      height: 2.4em;
      text-align: center;
		}
	}
}

.paginate {
  text-align: center;
}

.ordersection {
  border: 1px solid white;
  border-radius: 10px;
  padding: 10px;
  margin-top: 5px;
  margin-bottom: 5px;
}

.highlight {
  background-color: #34ff80;
  color: #111111;
}

.highlight-warning {
  background-color: #FC9199;
  color: #111111;
}


.alert {
  position: fixed;
  top: 55px;
  left: 10px;
  z-index: 1050;
}


.highlight-alert {
  background-color: #FEC42E;
  color: #111111;
}

.delivery-ribbon {
  position: fixed;
  top: 50px;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: #FC9199;
  color: #111;
  text-align: center;
  padding: 5px 0;
  font-size: 0.9em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

body.delivery-ribbon-shown {
  padding-top: 105px;
}



.linkclick {
  color: #73b1fd;
}


.product_photo {
/*  background: red;*/
  display: flex;
  justify-content: center;
}


.gram-low {
  background-color: #ffd6d6; /* light red */
  color: #900;
  font-weight: bold;
}

.gram-high {
  background-color: #d6ffd6; /* light green */
  color: #064;
  font-weight: bold;
}




/* mobile styles */
@media only screen and (max-width: 1200px) {
  body {
    margin-left: auto;
    margin-right: auto;
    width: 90%;
  }
  
  table{
    width: 100%;
    tr {
      th {
        width: 60px;
      }
      td {
        height: 4em;
        width: 60px;
      }
    }
  }
  input, textarea, select, .uneditable-input {
    width: 100%;
  }
  .loginname {
    margin-left: 5px;
    font-size: 1.2em;
  }
  .user-location {
    margin-left: 10px;
    font-size: 1.2em;
  }
  #logo {
      margin-right: 5px;
      font-size: 1.2em;
  }
}



@media (max-width: 1200px) {
  footer { 
    small {
      display: block; 
      float: none; 
      margin-bottom: 1em;
    }
    ul {
      float: none; 
      padding: 0; 
      li {
        float: none;
        margin-left: 0;
      }
    }
  }
}


/* images */

span.image {
  input {
    border: 0;
  }
}


/* ticket notes */

.ticket-notes {
  list-style: none;
  padding: 0;
  color: #fff;
  li {
    padding-top: 10px;
    padding-bottom: 20px;
    border-top: 1px solid #aaa;
  }
  .user {
    font-size: 1.2em;
    font-weight: bold;
  }
  .note {
    display: block;
  }
}


/* checkbox inline */
.checkbox {
  margin-top: 20px;
  margin-bottom: 20px;
  span {
    margin-right: 30px;
  }
}



/* charts */
.charts {
  background-color: #eeeeee;
  
}


/* status */
.status-inactive {
  color: #666;
}



/* Pricing */
#sale-by-hand {
  display: none;
}

.unhide {
  color: 555;
  display: block;
}




/* Ticket buttons */

.ticket-button {
  margin: 10px 0;
}

.ticket-button .btn {
  width: 100%;
}

.worksheet-remove {
  padding-top: 25px;
}

.worksheet-remove .btn,
.worksheet-remove .btn:hover,
.worksheet-remove .btn:focus {
  color: #fff;
}

/* Model Recruitment Banner on Homepage */
.model-recruitment-banner {
  background: linear-gradient(135deg, #fdfbf7 0%, #f5f0e8 50%, rgba(212, 175, 55, 0.15) 100%);
  border: 2px solid rgba(212, 175, 55, 0.4);
  border-radius: 12px;
  margin: 20px auto;
  max-width: 90%;
  padding: 25px 30px;
  box-shadow: 0 4px 20px rgba(212, 175, 55, 0.2);
  
  .banner-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
    
    .banner-text {
      flex: 1;
      min-width: 250px;
      
      h3 {
        color: #8b7355;
        font-size: 1.5em;
        margin-bottom: 8px;
        font-weight: 600;
        letter-spacing: 0.5px;
      }
      
      p {
        color: #6b5d4d;
        font-size: 1.1em;
        margin: 0;
        line-height: 1.4;
      }
    }
    
    .banner-cta-button {
      background: linear-gradient(135deg, #d4af37 0%, #c5a028 100%);
      color: #ffffff;
      text-decoration: none;
      padding: 15px 35px;
      border-radius: 50px;
      font-size: 1.1em;
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 1.5px;
      transition: all 0.3s ease;
      box-shadow: 0 4px 15px rgba(212, 175, 55, 0.35);
      white-space: nowrap;
      border: 2px solid transparent;
      
      &:hover {
        transform: translateY(-3px);
        box-shadow: 0 6px 25px rgba(212, 175, 55, 0.5);
        background: linear-gradient(135deg, #e4bf47 0%, #d4af37 100%);
        text-decoration: none;
        color: #ffffff;
      }
      
      &:active {
        transform: translateY(-1px);
      }
    }
  }
}

/* Responsive adjustments for banner */
@media (max-width: 768px) {
  .model-recruitment-banner {
    margin: 15px;
    padding: 20px;
    max-width: calc(100% - 30px);
    
    .banner-content {
      flex-direction: column;
      text-align: center;
      gap: 20px;
      
      .banner-text {
        h3 {
          font-size: 1.3em;
        }
        
        p {
          font-size: 1em;
        }
      }
      
      .banner-cta-button {
        width: 100%;
        padding: 15px 25px;
      }
    }
  }
}

@media (max-width: 480px) {
  .model-recruitment-banner {
    padding: 18px 15px;
    
    .banner-content {
      .banner-text {
        h3 {
          font-size: 1.2em;
        }
        
        p {
          font-size: 0.95em;
        }
      }
      
      .banner-cta-button {
        font-size: 1em;
        padding: 14px 20px;
        letter-spacing: 1px;
      }
    }
  }
}

/* modals */

.modal-content {
  background-color: #555555;
  color: #ffffff;
}

.modal-header {
  border-bottom: 1px solid #666666;
}

.modal-footer {
  border-top: 1px solid #666666;
}

.modal-header .close {
  color: #ffffff;
  opacity: 0.8;
}
