/* Sun Country Trailers */
.print-only { display: none; }

input:invalid, input.invalid {
  border-width: 2px;
  border-color: red;
}

footer {
  margin-top: 2rem;
  padding: 1rem 0;
  border-top: 1px #000 solid;
}

.red { color: #c00; }
.green { color: green; }
.blue { color: blue; }

nav#nav-menu > button { display: none; }
nav#nav-menu.collapsed > button { display: inline-block; }
nav#nav-menu.collapsed .card { display: none; }

.navbar-inverse { text-align: right; color: #fff; padding-right: 1rem; }
.navbar-inverse a { color: #fff; }

.card img {
  width: 100%;
  margin-top: 1rem;
}

.navbar {
  background-image: url('../images/sct-logo.png');
  background-position: 50% 50%;
  background-repeat: no-repeat;
  background-size: contain;
  height: 66px;
}
.navbar .brand {
  font-size: 1.5em;
  font-weight: bold;
  color: #aaa;
  padding: 0.75rem 1rem;
  visibility: hidden;
}
@media(max-width: 990px) {
  .navbar {
    background-size: auto;
    background-position-y: 0;
    height: 90px;
    text-align: center;
    min-width: 400px;
  }
  .navbar .brand {
    padding-bottom: 3rem;
  }
}

#trailer-options tr th {
  cursor: pointer;
}
td.price {
  text-align: right;
}
td.price span.negative {
  color: #f00;
}

tr.selected { background-color: #efe; }
tr th i.glyphicon-check { color: #090; display: none; }
tr th i.glyphicon-unchecked { color: #ccc; display: inline; }
tr.selected th i.glyphicon-check { display: inline; }
tr.selected th i.glyphicon-unchecked { display: none; }
#estimate-options th:first-child { display: none; }
#estimate-trailer { clear: both; padding: 1em 0; }

.sct-header {
  text-align: center;
  font-weight: bold;
}
.sct-header #dealer-logo {
  max-height: 5rem;
}
h2 sup { font-size: 60%; font-weight: normal; }
#trailer-images img {
  max-width: 100%;
}
#estimate-dealer {
  clear: both;
  float: left;
  width: 50%;
}
#estimate-client {
  float: left;
  width: 50%;
}
#estimate-disclaimer { font-weight: bold; }
#quote-configuration {
  clear: both;
  padding-top: 1em;
}
#quote-dealer {
  max-width: 24em;
  float: left;
  margin-right: 2em;
}
.modal-body > p { clear: left; }
#watermark {
  display: block;
  position: absolute;
  width: 80%;
  opacity: 0.2;
  top: 25%;
  left: 10%;
  z-index: -10;
}


/*---------------------------------
	NOTICES
-----------------------------------*/
.notice {
  border:1px solid gold;
  background:lightyellow;
  padding:10px 20px 10px 40px;
  margin:10px 0;
  -moz-border-radius:5px;
  -webkit-border-radius:5px;
  border-radius:5px;
  color:#DEAE00;
  line-height:120%;
  vertical-align: center;
  text-shadow:0px 1px rgba(255,255,255,0.5);
  position:relative;
  top:0;
  left:0;
  clear:both;
}
.notice.warning {}/*default*/
.notice.error {border:1px solid red;background:pink;color:red;}
.notice.success {border:1px solid green;background:lightgreen;color:green;}
.notice i[class^='glyphicon-'] {position:absolute;top:50%;left:0.8em;margin-top:-0.6em;}
.notice a[class^='glyphicon-remove'],
.notice a[class^='glyphicon-remove']:active,
.notice a[class^='glyphicon-remove']:visited {font-size:12px;position:absolute;top:5px;right:5px;left:auto;color:inherit;margin-top:0;left:auto;}



/*---------------------------------
	PRINT stylesheet
-----------------------------------*/
@media print {
  footer, .navbar-wrapper, #quote-sold,
  #trailer-header, #nav-menu, #tab-list {
    display: none;
  }
  .print-only { display: block; }
  #estimate-client input {
    border: 0;
    text-align: center;
  }
  #estimate-client button { display: none; }
  #trailer-quote {
    background-color: #fff;
    color: #000;
  }
  #estimate-options, #estimate-totals, #estimate-disclaimer {
    break-inside: avoid;
  }
}
