body {
  padding-top: 20px;
}

.footer {
  padding-top: 40px;
  padding-bottom: 40px;
  margin-top: 40px;
  border-top: 1px solid #eee;
}

.cont {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
}  

.lead .btn {    
  background-color: #AAAAEE;
  border: #f4511e;
}

.btn-inline {
  display: flex;  
  flex-direction: row;
}
.btn-righty {
  float: right;
}
.spacer {
  /*min-width: 10%;*/
  max-width: 35%;
  }

.jumbotron{
  background-color: #EAEAEA;
}
pre {
  overflow: auto;
  height: 700px;
}
  

  /* NAVBAR */
.navbar {
  margin-bottom: 0;
  background-color: #DDDDDD;
  z-index: 9999;
  border: darkblue;
  font-size: 16px !important;
  line-height: 1.42857143 !important;  
  border-radius: 0;
  font-family: Verdana, sans-serif;
}
.navbar li a, .navbar .navbar-brand {
  color: #444444 !important;
  padding-left: 2vW;
  padding-right: 2vw;
}
.navbar-nav li a:hover, .navbar-nav li.active a {
  color: #111111 !important;
  background-color: #AAAAAA !important;
}
.navbar-default .navbar-toggle {
  border-color: transparent;
  color: #fff !important;
}
.navbar-brand {
  padding: 5px;
  height: 50px;
}
.navbar-brand>img {
  margin-top: 5px;
  max-height: 80%;
}


/* For columns with same height */
@media only screen and (min-width : 481px) {
  .flex-row.row {
  display: flex;
  flex-wrap: wrap;
  }
  .flex-row.row > [class*='col-'] {
  display: flex;
  flex-direction: column;
  }
 .flex-row.row:after, 
 .flex-row.row:before {
  display: flex;
  }
 .spacer {
  /*min-width: 10%;*/
  max-width: 20%;
  }
  .mobile {
    visibility: hidden;
  }
}


.flex-row .thumbnail,
.flex-row .caption {
  flex:1 0 auto;
  flex-direction:column;
}
.flex-text {
  flex-grow:1
}
.flex-row img {
  height:auto;
  width:auto;
}
.subtext {
  font-size: 0.9em;
}
.prods {
  padding: 5%;
}
input[id^='cantprod'] {
  /*padding-left:0;*/
}


/* Main marketing message and sign up button */
.jumbotron {
  text-align: center;
  /*background-color: #CCCCFF;*/
}
.jumbotron .btn {
  padding: 14px 24px;
  font-size: 21px;
}

/* Customize the nav-justified links to fill the entire space of the .navbar */
.nav-justified {
  background-color: #eee;
  border: 1px solid #ccc;
  border-radius: 5px;
}
.nav-justified > li > a {
  padding-top: 15px;
  padding-bottom: 15px;
  margin-bottom: 0;
  font-weight: bold;
  color: #777;
  text-align: center;
  background-color: #e5e5e5; /* Old browsers */
  background-image: -webkit-gradient(linear, left top, left bottom, from(#f5f5f5), to(#e5e5e5));
  background-image: -webkit-linear-gradient(top, #f5f5f5 0%, #e5e5e5 100%);
  background-image:      -o-linear-gradient(top, #f5f5f5 0%, #e5e5e5 100%);
  background-image:         linear-gradient(to bottom, #f5f5f5 0%,#e5e5e5 100%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f5f5f5', endColorstr='#e5e5e5',GradientType=0 ); /* IE6-9 */
  background-repeat: repeat-x; /* Repeat the gradient */
  border-bottom: 1px solid #d5d5d5;
}
.nav-justified > .active > a,
.nav-justified > .active > a:hover,
.nav-justified > .active > a:focus {
  background-color: #ddd;
  background-image: none;
  -webkit-box-shadow: inset 0 3px 7px rgba(0,0,0,.15);
          box-shadow: inset 0 3px 7px rgba(0,0,0,.15);
}
.nav-justified > li:first-child > a {
  border-radius: 5px 5px 0 0;
}
.nav-justified > li:last-child > a {
  border-bottom: 0;
  border-radius: 0 0 5px 5px;
}

.logo-small {
  color: #f4511e;
  font-size: 50px;
}

/* Form */
.invalid-feedback {
  visibility: hidden;
}


/* For MEDIA*/
@media (min-width: 768px) {
  .nav-justified {
    max-height: 52px;
  }
  .nav-justified > li > a {
    border-right: 1px solid #d5d5d5;
    border-left: 1px solid #fff;
  }
  .nav-justified > li:first-child > a {
    border-left: 0;
    border-radius: 5px 0 0 5px;
  }
  .nav-justified > li:last-child > a {
    border-right: 0;
    border-radius: 0 5px 5px 0;
  }
}

/* Responsive: Portrait tablets and up */
@media screen and (min-width: 768px) {
  /* Remove the padding we set earlier */
  .marketing,
  .footer {
    padding-right: 0;
    padding-left: 0;
  }  
}
