#main h2.sidebar-heading {
  font-family: "Open Sans", sans-serif;
  text-decoration: underline;
  font-size: 22px;
  margin-bottom: 12px;
}

*::placeholder,#shutter_name::placeholder{color: rgb(180, 180, 180);}
*::-webkit-input-placeholder{color: rgb(180, 180, 180);}
*:-moz-placeholder{color: rgb(180, 180, 180);}
*::-moz-placeholder{color: rgb(180, 180, 180);}
*:-ms-input-placeholder{color: rgb(180, 180, 180);}

hr {
  margin: 20px 0;
  border-color: #1C5786;
}

div.container {
  max-width: 100%;
}

img {
  max-width: 90% !important;
}

div.dbec_image_frame {
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 40px 0;
  border: 1px solid rgb(166, 166, 166);
  background: rgb(242, 242, 242);
  position: relative;
}

div.dbec_image_frame > img {
  margin: 0 auto;
  min-height: 150px;
}

.img-frame-tooltip {
  padding: 3px;
  position: absolute;
}

div.dbec_image_frame > .img-shutter-name,
div.dbec_image_frame > .img-roller-name {
  font-size: 16px;
  font-weight: bold;
  top: 1px;
  left: 1px;
}

div.dbec_image_frame > .img-disclaimer {
  background: #ddd;
  font-size: 10px;
  bottom: 1px;
  right: 1px;
  /*max-width: 120px;*/
  /* Margin to offset the bootstrap column */
  /*margin: 0 15px 0;*/
}

div.container.dbec-main-container {
  background-color: #FFF;
  padding: 20px 40px;
  border-radius: 10px;
}

ul.dbec-tabs {
  margin: 20px 0 0;
  padding: 0 0 0 10px;
}

ul.dbec-tabs > li {
  display: inline-block;
  padding: 10px 20px;
  background: #eee;
  cursor: pointer;
  border-radius: 5px 5px 0 0;
}

ul.dbec-tabs > li:hover {
  background: #e4e4e4;
}

ul.dbec-tabs > li.active {
  background: #ddd;
}

.dbec-options-page {
  padding: 20px;
}

h2.dbec_options_page_title {
  padding: 10px 15px;
}

.options-page-row {
  border: 1px solid #eee;
  border-right: none;
  border-radius: 5px 0 0 5px;
}

.options-page-row input {
  color: #000;
}

.hide { display: none; }

.glow-blue {
  box-shadow: 0px 0px 5px 2px rgb(20, 118, 207);
}

.glow-blue.thumbnail {
  box-shadow: 0px 0px 5px 2px rgb(20, 118, 207) inset !important;
}

.glow-yellow {
  box-shadow: 0px 0px 5px 2px rgb(214, 156, 43);
}

a.shutter-item,
a.blade-item,
a.tilt-rod-item,
a.texture-item,
a.frame-type-item,
a.freight-item,
a.roller-item,
.insurance-item,
.freight-item,
a.control-side-item,
a.roll-side-item,
a.control-unit-item,
a.chain-type-item {
  flex-basis: 150px;
  text-align: center;
}

a.frame-sides-item {
  flex-basis: 150px;
  max-width: 135px;
  text-align: center;
  margin-bottom: 15px;
}

a.colour-item,
a.fabric-item {
  flex-basis: 180px;
  padding: 20px 0;
  text-align: center;
  /* min-width: 50%; */
  margin: 0 auto;
}

a.roller-colour-item > img,
a.fabric-item > img {
  max-width: 150px !important;
}

a.mount-method-item {
  flex-basis: 200px;
  text-align: center;
}

span.shutter-title,
span.blade-title,
span.colour-title,
span.fabric-title,
span.texture-title,
span.mount-method-title,
span.frame-sides-title,
span.tilt-rod-title,
span.frame-type-title,
span.freight-title,
span.roller-title,
span.insurance-title,
span.freight-title,
span.chain-type-title,
span.control-unit-title,
span.control-side-title,
span.roll-side-title {
  display: block;
  padding: 3px 0;
}

.flex-container {
  display: flex;
}

.flex-wrap {
  flex-wrap: wrap;
}

.errors {
  color: rgb(255, 73, 0);
  font-weight: bold;
}

/** PANEL CUSTOMISER STYLES **/
.panel-customiser > * {
  -webkit-touch-callout: none; /* iOS Safari */
  -webkit-user-select: none; /* Safari */
  -khtml-user-select: none; /* Konqueror HTML */
  -moz-user-select: none; /* Firefox */
  -ms-user-select: none; /* Internet Explorer/Edge */
  user-select: none; /* Non-prefixed version, currently supported by Chrome and Opera */
}

label.freight-item > input,
label.insurance-item > input {
  display: none;
}

label.freight-item > input + img,
label.insurance-item > input + img,
label.freight-item > span.freight-title,
label.insurance-item > span.insurance-title {
  cursor: pointer;
}

label.freight-item > input:checked + img,
label.insurance-item > input:checked + img {
  box-shadow: 0px 0px 5px 2px rgb(20, 118, 207);
}

.align-middle {
  align-items: center;
}

#num_panels {
  font-weight: bold;
}

#panel_config_title {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -20px;
  margin: 0 auto;
}

#spinner {
    position: absolute;
    left: 0px;
    right: 0px;
    margin: 0 auto;
    border: 5px solid rgba(244, 244, 244, 0.5); /* Light grey */
    border-top: 5px solid #3498db; /* Blue */
    border-radius: 50%;
    width: 30px;
    height: 30px;
    animation: spin 2s linear infinite;
    display: none;
}

.shopping_cart_spinner {
    margin: 0 auto;
    border: 5px solid rgba(244, 244, 244, 0.5); /* Light grey */
    border-top: 5px solid #3498db; /* Blue */
    border-radius: 50%;
    width: 30px;
    height: 30px;
    animation: spin 2s linear infinite;
}

.spinner {
    margin: 0 auto;
    border: 10px solid rgba(244, 244, 244, 0.5); /* Light grey */
    border-top: 10px solid #3498db; /* Blue */
    border-radius: 50%;
    width: 150px;
    height: 150px;
    animation: spin 2s cubic-bezier(0.43, 0.15, 0.59, 0.85) infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.panel-config {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 0;
  -webkit-touch-callout: none; /* iOS Safari */
  -webkit-user-select: none; /* Safari */
  -khtml-user-select: none; /* Konqueror HTML */
  -moz-user-select: none; /* Firefox */
  -ms-user-select: none; /* Internet Explorer/Edge */
  user-select: none; /* Non-prefixed version, currently supported by Chrome and Opera */
}

.panel-config > div {
  float: left;
  position: relative;
  max-width: 100%;
}

.panel-config img {
  max-width: 100% !important;
}

.panel-config-left {
  text-align: right;
  padding: 0 10px;
}

.panel-config-right {
  text-align: left;
  padding: 0 10px;
}

.panel-config-center {
  padding: 0 20px;
  text-align: center;
  min-width: 100px;
}
/** END PANEL CUSTOMISER **/

.shopping-cart {
  padding-top: 20px;
  padding-bottom: 20px;
}

.validation-error-container {
  border-radius: 5px;
}

ul#validation_error_list {
  margin-bottom: 0;
}

#loader {
  z-index: 12000;
  background: #FFF;
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

span#error_message {
  padding: 5px 0;
}

@media screen and (max-width: 580px) {

  #main {
    padding: 0;
  }

  .fullwidth-box.fusion-fullwidth {
    padding: 0 !important;
  }

}

@media screen and (max-width: 932px) {

  ul.dbec-tabs {
    padding-left: 0;
  }

  ul.dbec-tabs > li {
    display: block;
    border-radius: 0;
    border-bottom: 1px solid #f9f9f9;
  }

  ul.dbec-tabs > li:first-child {
    border-radius: 5px 5px 0 0;
  }

  .tabs-column {
    padding: 0 !important;
  }

}

@media screen and (max-width: 992px) {

  .options-page-row {
    border-right: 1px solid #eee;
    border-radius: 5px;
    margin-bottom: 20px;
  }

}

a[data-fancybox]:hover {
  color: #666 !important;
}
