body {
  padding-top:    80px;
  padding-bottom: 40px;
}

h1.title {
  margin: 0px;
}

.form-signup, .form-signin {
  width:  400px;
  margin: 0 auto;
}

@media (max-width: 767px){
  .form-signup, .form-signin {
    width:  80%;
  }
}

.iphone-preview {
  background-image: url('../images/iPhone-5s.png');
  background-size:  contain;
}

.iphone-scroll-container {
  overflow-y: scroll;
  overflow-x: hidden;
}

.display-vertical .caption {
  display: flex;
  height:  100%;
}

.display-vertical .caption a {
  color: black;
}

.display-vertical .caption > .center-block {
  display:     flex;
  align-items: center;
}

.product-preview-overlay {
  display: block;
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 1;
  background-color: white;
  opacity: .5;
}

.product-preview-throbber {
  display: block;
  position: absolute;
  top: 30%;
  left: 50%;
  z-index: 2;
}

.product-preview, .product-preview img {
  width: 200px;
  text-align: center;
}

.product-preview, .product-preview a {
  color: black;
}

.product-preview .price {
  padding: 10px;
  font-weight: bold;
}

.empowerment-form {
  padding: 20px 0px;
}

.promotions .page-header .btn-success,
.daily_squeeze .page-header .btn-success,
.rewards .page-header .btn-success,
.playlists .page-header .btn-success {
    float: right;
    margin-top: 10px;
}

.promotions form {
    width: 80%;
}

.promotions div.date {
  font-size: small;
  font-style: italic;
}

form input.date { width: 150px; float: left; margin-right: 10px; }
form input.time { width: 100px; float: left; }

.page-header { margin: 0px 0px 20px 0px; }

.finders .nav-tabs li, .finders .nav-tabs li a {
  cursor: pointer;
}

.finders form input.preview-search {
  width: 70%;
}
.finders form .form-search button {
  float: right;
}
.finders iframe.search-results{
  display:none;
  position:fixed;
  top:50%;
  left:50%;
  width:85%;
  height:75vh;
  transform: translate(-50%,-50%);
  -webkit-transform: translate(-50%,-50%);
  border: 1px solid rgba(0,0,0,0.1);
  z-index: 999;
  box-shadow: 0 0 25px rgba(0,0,0,0.6);
}
.finders div.dark-overlay{
  position: fixed;
  top:0;
  left:0;
  width:100%;
  height:100vh;
  background-color:rgba(0,0,0,0.5);
  z-index: 900;
  display:none;
}
.finders .form-control.with-instruction{

}

form.form-horizontal .selectable .ui-selecting { background: #79dc79; }
form.form-horizontal .selectable .ui-selected { background: #5cb85c; color: white; }
form.form-horizontal .selectable { list-style-type: none; margin: 0; padding: 0; }
form.form-horizontal .selectable li { margin: 3px; padding: 0.4em; float: left; border: 1px solid #ccc; cursor: pointer; }
form.form-horizontal .form-slug-auto { font-size: small; }
form.form-horizontal .form-slug-auto label { font-style: italic;}

form.form-horizontal .form-slug-auto div input { font-size: small; height: 25px; }
form.form-horizontal select { width: auto; }
form.form-horizontal div.label-display { padding: 5px 0px; }
form .form-control.with-instruction { display: inline-block; }
form .form-upload .help-icon { float: right; }
form span.glyphicon-question-sign { cursor: pointer; color: #6B1AC2; transform: scale(1.1); padding: 10px 0px 10px 10px; }
form .tooltip-text { position:absolute; z-index: 90; border: 1px solid black; width:60%; padding: 10px; background-color:white; right: 50px; }
form .col-paddless { padding: 0px; }
form .target-value .control-label { padding-left: 0px; }

form .form-group.color .pound-sign { font-weight: bold; font-size: 18pt; color: #787878; }
form .form-group.color .input-element { padding-left: 5px; }
form .form-group.color .input-element input { padding-left: 5px; }
form .form-group.color .instruction { padding-top: 7px; }
form input.date { width: 150px; float: left; margin-right: 10px; }
form input.time { width: 100px; }
form select.labels { width: auto; display: inline; }

/* input char limits */
form .form-group.char-limits div.char-count { font-style: italic; font-size: small; font-weight: bold; color: dimgrey; }
form .form-group.char-limits div.char-count.warning { color: red; }
form .form-textarea.char-limits div.char-count { text-align: right; padding-top: 5px; }
form .form-text.char-limits div.char-count { float: right;}

.campaigns div.section table {
  margin-bottom: 0px;
}

p.whitespace { clear: both; height: 1px; }

.editor .btn-primary {
  margin-right: 10px;
}
.editor div.autocomplete {
  float: right;
  width: 38%;
}


.right { float: right; }
.modal-body hr { width: 100%; }
.modal-body hr.first { display: none; }

.filter select.labels { margin-left:10px; margin-top:-5px; }

.alert-error {
  color: #FFFFFF;
  background-color: #F55D5D;
  border-color: #DB6668;
}
.alert-error a {
  color: #FFFFFF;
  text-decoration: underline;
  font-weight: bolder;
}

.left { float: left; }
.right { float: right; }

.navigation .previewsMenu a.btn {
  margin-right: 20px;
  padding: 7px 20px;
}

div.tab > div.tab { border: 1px solid #ddd; border-top: 0px; padding: 0px; padding-top: 5px; margin: 0px; }
div.tab h3 { margin-left: 5px; }
div.tab:nth-of-type(1) { border: none; padding: 5px; margin: 5px; }

form div.tab:nth-of-type(1) { padding: 0px; margin: auto; }
form div.tabs ul.nav-tabs li { cursor: pointer; }
form div.tabs div.tab { padding-top: 25px; padding-left: 10px; border: 1px solid #ddd; border-top-style: none; }

/** specifically for A&F */
form #tabbuttons .form-group { margin-bottom: 5px; }
form #tabbuttons .form-target { margin-bottom: 40px; }

/** specific for marketing module for DBi **/
div.rewards th#header-title, div.promotions th#header-title { width: 30%; }
div.rewards th#header-subheader, div.promotions th#header-subheader { width: 20%; }

/** Category Catalog Styling **/
.catalog-container .row.collapsible span { cursor:pointer; color: #6B1AC2; margin-right:10px; }

/** Hide overflowing Navbar items. Mouseover will reveal them **/
@media screen and (min-width: 768px){
  .navbar-fixed-top { max-height: 60px; overflow-y: hidden!important;}
  .navbar-fixed-top:hover { max-height: none; }
}

/** Carousel fix for firefox **/
.carousel-inner > .active.left { max-width: 100%;}

.custom-buttons {
  right: 35px;
  top: 87px;
  width: 140px;
  height: 33px;
  color: white;
  float: right;
  margin-top: -34px;
}

.custom-buttons a {
  background-color: #6B1AC2;
  font-size: 14px;
  font-weight: 500;
  font-stretch: normal;
  font-style: normal;
  line-height: normal;
  letter-spacing: normal;
  color: #ffffff;
  text-decoration: none;
}

.refresh-button-small {
  width: 20px;
  height: 14px;
  object-fit: contain;
  padding-bottom: 2px;
}

.margin-top-16 {
  margin-top: 16px;
}

.richtext-count {
  bottom: 2%;
  color: #999;
  font-size: 11px;
  right: 10%;
  position: absolute;
  z-index: 0;
  width: 64px;
  text-align: right;
  padding-left: 0px;
  padding-right: 5px;
}

.resource-list-btn {
  margin-right: 8px;
  min-width: 120px;
  display: inline-block;
  text-align: center;
}

.multi-col-select {
  display: block;
  width: 100% !important;
  height: 34px;
  padding: 6px 12px;
  font-size: 14px;
  line-height: 1.42857143;
  color: #555;
  background-color: #fff;
  background-image: none;
  border: 1px solid #ccc;
  border-radius: 4px;
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
          box-shadow: inset 0 1px 1px rgba(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;
}