/* Bootstrap extension */

h1 {
  margin: 0.5rem 0;
}

.container-full {
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
  margin-right: auto;
  margin-left: auto;
}

.btn-xs, .btn-group-xs > .btn {
  padding: 0.125rem 0.25rem;
  font-size: 0.75rem;
  line-height: 0.8rem;
  border-radius: 0.2rem;
}

.form-inline > * {
   margin:5px 3px;
}

.tab-content {
  border-width: 0 1px 1px 1px;
  border-style: solid;
  border-color: #dee2e6;
}

img {
  max-width: 100%;
  height: auto;
}

strong {
  font-weight: 600;
}

table.shaded {
  border-collapse: separate;
  border-spacing: 1px;
}

table.shaded th {
  background-color:#ccc;
  padding: 2px 5px;
}

table.shaded td {
  background-color:#ddd;
  padding: 2px 5px;
}

ol li {
  margin: 1rem 0;
}

/*
OL { counter-reset: item }
LI { display: block }
LI:before { content: counters(item, ".") " "; counter-increment: item }
*/

.tooltip-inner {
  max-width: 360px;
}

.col-form-label-xs {
  padding-top: calc(0.25rem + 1px);
  padding-bottom: calc(0.25rem + 1px);
  font-size: 0.75rem;
  line-height: 1;
}

.bg-medium {
  background-color: #eeeeee !important;
}

.big-checkbox {width: 30px; height: 30px;}

.nav-link:focus {
  outline: none;
}

.table-condensed {
  font-size: 12px;
}

.table-condensed th,
.table-condensed td {
  padding: 2px 4px;
}


/* Floating Labels */

.form-group.floating {
  /*background-color: #0f0;*/
  padding: 4px 1px 4px 1px;
  margin: 2px 0 2px 0;
}
  
.form-group.floating>label {
  bottom: 34px;
  left: 8px;
  position: relative;
  padding: 0px 5px 0px 5px;
  font-size: 0.9em;
  transition: 0.1s;
  pointer-events: none;
  /* font-weight: 500 !important; */
  transform-origin: bottom left;

  /* TC */
  background-color: #f9f9f9;
  color: #999;
  border: 1px solid #ced4da;
  border-radius: 0.25rem;
}
  
.form-control.floating:focus~label{
  transform: translate(1px,-85%) scale(0.80);
  /* opacity: .8; */
  color: #005ebf;
}
  
.form-control.floating:valid~label{
  transform-origin: bottom left;
  transform: translate(1px,-85%) scale(0.80);
  /* opacity: .8; */
}

/* Floating Labels - END */

/* Bootstrap extension end */


/* DataTables extension */

table.dataTable thead tr, table.dataTable tfoot tr {
  /*background-color: #ddd;*/
  background-color: #343a40;
  color: #fff;
}

table.dataTable thead th, table.dataTable tfoot th {
  font-weight: normal;
}

/* dataTables CSS modification & positioning */
/* Hide up down sort arrows */
table.dataTable thead .sorting:before,
table.dataTable thead .sorting_asc:before,
table.dataTable thead .sorting_desc:before,
table.dataTable thead .sorting_asc_disabled:before,
table.dataTable thead .sorting_desc_disabled:before {
  right: 0 !important;
  content: "" !important;
}
table.dataTable thead .sorting:after,
table.dataTable thead .sorting_asc:after,
table.dataTable thead .sorting_desc:after,
table.dataTable thead .sorting_asc_disabled:after,
table.dataTable thead .sorting_desc_disabled:after {
  right: 0 !important;
  content: "" !important;
}
/* END Hide up down sort arrows */

/* add sort triangles */
table.dataTable thead .sorting::after,
table.dataTable thead .sorting_asc::after {
    display:none;
}

table.dataTable thead .sorting_desc::after {
    display:none;
}

table.dataTable thead .sorting {
content: "" !important;
   background-image: url(sort_both.png);
   background-repeat: no-repeat;
   background-position: bottom 6px right;
}

table.dataTable thead .sorting_asc {
   background-image: url(sort_asc.png);
   background-repeat: no-repeat;
   background-position: bottom 6px right;
}

table.dataTable thead .sorting_desc {
   background-image: url(sort_desc.png);
   background-repeat: no-repeat;
   background-position: bottom 6px right;
}
/* END add sort triangles */

table.dataTable caption, table caption {
  caption-side:top;
  font-size:1.4rem;
  color:black;
}

table.dataTable tr.table-group {
  background-color: #bbb !important;
  font-size: 14pt;
  color: #000 !important;
}

table.dataTable tr.table-group th {
  font-weight: normal !important;
  padding: 0.5rem;
}

/* End DataTables extension */

/*
.form-quick-search {
  display: inline;
  margin:0;
  padding:0;
  flex-flow: row wrap;
  align-items: center;
  vertical-align:middle;
}

.form-quick-search > input[type=text] {
  border:0 none;
  padding: 4px 6px;
}
*/

/* BIG SEARCH BOX */

.bigSearchWrapper {
  width: 100%;
  max-width: 40rem;
  margin: 1.5rem auto;
}

.bigSearchWrapper2 {
  width: 100%;
  max-width: 40rem;
  margin: 0.5rem auto;
}

.bigSearchBar {
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
}
 
#txtBigSearch {
  width: 100%;
  height: 2.8rem;
  /*background: #eee;*/
  background: #fff;
  outline: none;
  border: none;
  border-radius: 1.625rem;
  padding: 0 3.5rem 0 1.5rem;
  font-size: 1rem;
  outline: 1px solid #ccc;
}

#btnBigSearch {
  width: 3.5rem;
  height: 2.8rem;
  margin-left: -3.5rem;
  background: none;
  border: none;
  outline: none;
}

#btnBigSearch:hover {
  cursor: pointer;
}

/* BIG SEARCH BOX - END */

#txtQuickSearch {
  /*width: 100%;*/
  height: 2rem;
  background: #fff;
  border: none;
  border-radius: 1.625rem;
  padding: 0 2rem 0 1rem;
  font-size: 0.8rem;
  outline: 1px solid #ccc;
}

#btnQuickSearch {
  width: 3.5rem;
  height: 2rem;
  margin-top: -0.7rem;
  margin-left: -3rem;
  background: none;
  border: none;
  outline: none;
}

#btnQuickSearch:hover {
  cursor: pointer;
}

table.grid {
  margin: 1em auto;
  max-width: 600px;
  width: 100%;
  border-collapse: separate;
  border-spacing: 1px;
}

table.grid th {
  text-align: center;
  background-color:#ccc;
  padding: 4px 8px;
}

table.grid td {
  width:10%;
  text-align: center;
  background-color:#eee;
  padding: 4px 6px;
}

table.grid td.unavailable {
  color:#999;
}

table.grid a {
  text-decoration: none;
}

.wine_detail_note {
  margin:0;
  padding:0;
  font-size: 0.8rem;
}

div.wine_detail_mixed_case > ul {
  margin-top: 0.5rem;
  margin-left: 0;
  padding-left: 20px;
  font-size: 0.8rem;
  list-style-type: none;
}

.standard_sell {
  font-size: 0.8rem;
  position: relative;
}

.standard_sell:before {
  position: absolute;
  content: '';
  left: 0;
  top: 45%;
  right: 0;
  border-top: 1px solid;
  border-color: #900;
  -webkit-transform: skewY(-10deg);
  -moz-transform: skewY(-10deg);
  transform: skewY(-10deg);
}

.tasting_note {
  margin: 0.5rem 0;
  padding: 1rem;
  background-color:#ddd;
}

.search_form {
  margin: 1rem 0;
  padding: 0.5rem;
  background-color:#eee;
}


/* TEXT-BLOCK */
.text-block {
  padding: 1rem;
  margin: 1rem 0 1rem 0;
  background-color: #eee;
  border-radius: 0.25rem !important;
}

.text-block-alt {
  /* less padding & margin */
  padding: 0.5rem 1rem;
  margin: 0.5rem 0 0.5rem 0;
  background-color: #eee;
  border-radius: 0.25rem !important;
}

.text-block-dark {
  background-color: rgba(0,0,0,0.6);
  color: white;
  padding: 1rem;
  margin: 1rem 0 1rem 0;
  border-radius: 0.25rem !important;
}

.text-block-white {
  padding: 0.5rem 1rem;
  margin: 0.5rem 0 0.5rem 0;
  background-color: #fff;
  /*border-radius: 0.25rem !important;*/
}

.text-block-pad {
  padding: 2rem;
}

.text-block::after, .text-block-bg::after {
  display: block;
  clear: both;
  content: "";
}

.text-block-bg {
  padding: 1rem;
  margin: 1rem 0 1rem 0;
  background-image: url(/img/wallpaper/bg_10.jpg);
  /*background-position: top center;*/
  background-color: #eeeeee;
  background-repeat: repeat;
  border-radius: 0.25rem !important;
  /*background-size: 1280px;*/
  /*background-size: cover;*/
}

/* TEXT-BLOCK - END */




table.layout {
  margin: 0.5rem 0;
  padding: 0.5rem;
  background-color:#eee;
  /*max-width: 600px;*/
  /*width: 100%;*/
  border-collapse: separate;
  border-spacing: 1px;
}

table.layout th {
  text-align: left;
  /*background-color:#ccc;*/
  padding: 4px 8px;
}

table.layout td {
  width:10%;
  /*background-color:#eee;*/
  padding: 4px 6px;
}

.buttons {
  margin: 1rem 0;
  text-align: right;
}

.wine-score {
  background: #fc0;
  border-radius: 1.6em;
  -moz-border-radius: 1.6em;
  -webkit-border-radius: 1.6em;
  display: inline-block;
  line-height: 3.2em;
  margin-right: 5px;
  text-align: center;
  width: 3.2em;
}

.text-over-image-container {
  position: relative;
}

/* Bottom right text */
.text-over-image {
  position: absolute;
  bottom: 20px;
  right: 20px;
  /* left: 40%*/
  left: 30%;
  background-color: rgba(0,0,0,0.6);
  color: white;
  /*padding-left: 20px;
  padding-right: 20px;*/
  padding: 10px 20px;
  /* max-height:210px; */
  max-height:85%;
  overflow:auto;
}

.text-over-image a {
    color:#fff;
    text-decoration: underline;
}

.section-heading {
  position:relative;
  text-align: center;
  margin: 3rem 0 2rem 0;
}
.section-heading:before {
  content: "";
  display: block;
  border-top: solid 2px #ddd;
  width: 100%;
  height: 2px;
  position: absolute;
  top: 50%;
  z-index: 0;
}
.section-heading span {
  background: #fff;
  padding: 0 25px;
  position: relative;
  z-index: 1;
}

.alignleft {
float: left;
}

.alignright {
float: right;
}

.hide-me {
  opacity: 0;
  position: absolute;
  z-index: -9999;
  pointer-events: none;
}

.chart_container {
    background: url("/img/farr_vintners_logo_bw.png") no-repeat center;
}

.big-checkbox {
  width: 1.5rem; height: 1.5rem; top: 0.5rem
}

.col-id, .col-vint {
  width: 50px;
  min-width: 50px;
}

.col-currency, .col-qty {
  width: 75px;
  min-width: 75px;
}

.col-50 {
  width: 50px;
  min-width: 50px;
}

.col-75 {
  width: 75px;
  min-width: 75px;
}

.col-100 {
  width: 100px;
  min-width: 100px;
}

.col-200 {
  width: 200px;
  min-width: 200px;
}

.breadcrumbs {
  font-size: 0.8rem;
  margin: 0.5rem 0;
}

/* Wine Regions page */
.icontainer {
  position: relative;
  text-align: center;
  color: white;
  font-size:2rem;
  margin:1px;
}

.icontainer:hover {
  color: white;
  text-decoration: none;
} 

/* Centered text */
.icentered {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}