p {
  color: #585854;
}

.container-custom {
	padding: 0 15px;
}

.hbc-decorador {
  height: 50px;
}

.icons-decorador {
  height: 40px;
  margin-right: 20px;
}

.iconos-decorador:last-child {
  margin-right: 0;
}

.extended-padding-right {
  padding-right: 6rem;
}

.sticky-container {
  position: -webkit-sticky;
  position: sticky;
  top: 170px;
}

.bespoke-preview {
  display: flex;
  position: relative;
  text-align: center;
  min-height: 300px;
  max-width: 500px;
  line-height: 500px;
  margin: 25px auto 40px;
  background-color: #fff;
  background-repeat: no-repeat;
  background-position: bottom 10px right 10px;
  background-size: 50px 50px;
  z-index: 9;
  transition: opacity 125ms ease, background-color 125ms ease;
  align-items: center;
}

.bespoke-preview .preview {
  display: inline-block;
  max-width: 100%;
  max-height: 100%;
  margin: 0 auto;
  vertical-align: middle;
  opacity: 1;
  transition: opacity 125ms ease;
}

.bespoke-preview .loader {
  position: absolute;
  right: -3px;
  bottom: -3px;
  width: 30px;
  height: 30px;
  opacity: 0;
  transition: opacity 125ms ease;
  z-index: 1;
}

.bespoke-preview .zoom {
  position: absolute;
  bottom: calc(50% - 20px);
  right: calc(50% - 20px);
  width: 40px;
  height: 40px;
  opacity: 0;
  transition: opacity 125ms ease;
  z-index: -1;
}

.bespoke-preview.bespoke .loader {
  right: -3px;
  bottom: -3px;
  width: 70px;
  height: 70px;
}

.bespoke-preview.bespoke:after {
  z-index: 10;
  opacity: 1;
  position: absolute;
  right: 0;
  bottom: 0;
  content: '';
  height: 4rem;
  width: 4rem;
  background-image: url(/images/branding/bespoke.png);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.bespoke-preview.zoomable {
  cursor: pointer;
}

 .bespoke-preview.zoomable:hover .preview {
  opacity: 0.25;
}

.bespoke-preview.picture {
  margin: 0 auto;
  max-width: 800px;
}

.bespoke-preview.picture .loader {
  bottom: calc(50% - 20px);
  right: calc(50% - 20px);
  width: 40px;
  height: 40px;
}

.bespoke-preview.no-min {
  min-height: auto;
}

.bespoke-preview.bespoke.mobile .loader {
  right: -3px;
  bottom: -3px;
  width: 70px;
  height: 70px;
}

.bespoke-preview.bespoke.mobile:after {
  right: 0;
  bottom: 10px;
  content: '';
  height: 3rem;
  width: 3rem;
}

.bespoke-preview.zoomable:hover .zoom {
  opacity: 1;
}

.bespoke-preview.loading .loader {
  opacity: 1;
}

.bespoke-decorator {
  display: block;
  position: relative;
  height: 37px;
  margin: 40px 0 40px 20px;
  background-color: #f06145;
  color: #fff;
  padding: 7px 25px;
  font-family: 'Raleway';
  font-weight: 500;
  letter-spacing: 2px;
}

.bespoke-decorator:after {
  content: '';
  display: block;
  position: absolute;
  top: 0;
  left: -20px;
  height: 37px;
  width: 37px;
  background-image: url(/images/branding/bespoke.png);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: 55px;
}

.thumbnails {
  max-width: 700px;
  margin: 0 40px;
  padding: 0;
  list-style: none;
  text-align: center;
  border-top: solid 2px #d6d6d6;
}

.thumbnails .thumbnail {
  position: relative;
  display: inline-block;
  width: 110px;
  height: 110px;
  margin: 5px 10px;
  line-height: 110px;
  text-align: center;
  overflow: hidden;
  background-color: white;
  background-image: url(/images/loader.svg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 30px;
  border-bottom: solid 2px white;
  transition: border 250ms ease;
}

.thumbnails .thumbnail:hover {
  border-bottom-color: #d6d6d6;
}

.thumbnails .thumbnail.active,
.thumbnails .thumbnail.active:hover {
  border-bottom-color: black;
}

.thumbnails .thumbnail a {
  display: block;
}

.thumbnails .thumbnail a img {
  display: inline-block;
  max-width: 100%;
  max-height: 100%;
  margin: 0 auto;
  vertical-align: middle;
}

h1.nombre {
  margin: 0;
  font-family: 'Raleway';
  font-size: 1.625rem;
  font-weight: bold;
  color: #585854;
}

h2.nombre {
  margin: 0;
  font-family: 'Raleway';
  font-size: 1.2rem !important;
  font-weight: 700 !important;
  color: #585854;
  line-height: 34px;
}

.precio {
  margin: 0;
  font-family: 'Roboto';
  font-size: 1.3rem !important;
  font-weight: 500 !important;
  color: #585854;
  line-height: 34px;
  letter-spacing: 1px;
}

.descripcion-corta {
  font-family: 'Raleway';
  font-weight: bold;
  font-size: 1rem;
  color: #585854;
}

.measurements {
  font-family: 'Roboto Condensed';
  font-weight: 500;
  font-style: italic;
  color: #322e2f;
  text-decoration: underline;
}

.measurements:hover {
  color: #5a5354;
}

.caracteristica .selector-caracteristica {
  width: 100%;
  padding: 5px;
  margin: 5px;
  background-color: #fff;
  text-align: right;
}

.opciones .caracteristica label, .caracteristica h4 {
  font-family: 'Raleway';
  font-size: 1rem;
  line-height: 34px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  margin-bottom: 1rem;
  color: #585854;
}

.caracteristica hr {
  margin-top: 0;
  border-color: #322e2f;
}

.caracteristica .opciones {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 1rem;
  width: 100%;
}

.caracteristica .opciones .opcion {
  margin-bottom: 0.5rem;
}

.caracteristica .opciones .opcion label {
  padding: 0;
  padding-top: 45px;
  height: 45px;
  width: 70px;
  margin: auto 8px;
  background-repeat: no-repeat;
  background-position: top center;
  background-size: 42px;
  font-family: "Roboto Condensed";
  font-weight: 400;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  line-height: 20px;
  color: #585854;
  text-align: center;
  cursor: pointer;
}

.caracteristica .opciones .opcion.selected label {
  font-weight: bold;
  text-decoration: underline;
}

.caracteristica .opciones .opcion input {
  height: 0;
  width: 0;
  visibility: hidden;
}

.buy h2 {
  font-weight: 500;
  font-size: 1.4rem;
  color: #585854;
}

.buy-form .modal-header {
  border-bottom: solid 2px #322e2f;
}

.buy-form .modal-header .logo {
  margin: 20px 0 20px auto;
  height: 50px;
}

.buy-form .form-control {
  border-radius: 0;
}

.buy-form .extra {
  margin: 15px -15px 30px;
  border-color: #322e2f;
  border-width: 2px;
}

.label-caracteristica {
  font-family: 'Raleway';
  font-weight: 600;
  line-height: 2.13;
  letter-spacing: 0.32px;
  font-size: 0.9rem;
  color: #585854;
}

.custom-select-ecuestre {
  background: #fff url("/images/pictures/flecha_abajo.svg") no-repeat
    right 0.75rem center/8px 10px;
  border-radius: 0;
  font-family: 'Roboto';
  font-size: 0.85rem;
  line-height: 20px;
  color: #707070;
  padding: 0.5rem 1.75rem 0.5rem 0.5rem;
}

.custom-divisor {
  margin: 1rem -15px;
  border-top: 1px solid #585854;
}

.custom-divisor.bold {
  border-top: 2px solid #585854;
}

.btn-rotate {
  background-color: #ff7843;
  border-radius: 0;
  box-shadow: 0 0 0.4rem 0 rgba(0, 0, 0, 0.41);
  color: white;
  font-weight: bold;
  padding: 0.5rem 2.5rem;
}

/* Modal Buy */
.modal-buy .modal-dialog {
	transform: translate(-30%) !important;
}

.modal-buy .modal-dialog .modal-content {
	min-width: 800px;
}

.modal-buy .action-buttons {
   margin-top: 5rem;
}

.buy-form .informacion-compra h3 {
  text-align: right;	
}

.buy-form .just-added-mobile {
  display: none;
}

/* Modal Rotate */
.modal-rotate {
  height: 100%;
  width: 100%;
  background-color: #ff7843;
  margin: 0;
}

.modal-rotate .modal-content {
  height: 100%;
  background-color: inherit;
  padding: 0;
  align-items: center;
  justify-content: center;
}

.modal-container {
  width: 100%;
}

.wrapper-rotate {
  height: 42px;
  position: relative;
  background-color: white;
}

.rotate-img {
  width: 6rem;
  margin-bottom: 3rem;
}

.rotate-text {
  color: white;
  font-size: 1.5rem;
  margin-bottom: 6rem;
  padding: 0 3rem;
}

.iframe-pdf {
  height: 80vh;
  width: 100%;
}

.modal-rotate .bespoke-logo {
  width: 7rem;
  position: absolute;
  bottom: -2.3rem;
  left: calc(50% - 3.5rem);
}

/* Modal Bespoke */
.container-modal {
  text-align: center;
  padding: 0px 50px 30px 50px;
}

.container-modal h5 {
  font-family: 'Raleway';
  font-weight: 700;
  line-height: 30px;
  letter-spacing: 1.2px;
  color: #322e2f;
  text-transform: uppercase;
  border-bottom: 2px solid #8e8a8a;
}

.modal-bespoke {
  height: 100%;
  max-width: 100%;
  background-color: #fff;
  margin: 0;
}

.modal-bespoke .modal-content {
  height: 100%;
  background-color: inherit;
  padding: 0;
  align-items: center;
}

.modal-bespoke .header-modal {
  width: 100%;
  padding: 1rem 0;
}

.col-bespoke {
  overflow-y: scroll;
  height: calc(100vh - 70px);
}

.modal-bespoke .modal-container {
  width: 100%;
  overflow-y: scroll;
  padding: 0 15px;
}

.modal-bespoke .header-modal {
  width: 100%;
  padding: 1rem 0;
}

.wrapper-bespoke {
  background-color: #ff7843;
  height: 38px;
  position: relative;
  color: white;
}

.modal-bespoke .bespoke-logo {
  width: 5rem;
  position: absolute;
  bottom: -1.3rem;
  right: calc(0% - 2.5rem);
}

.modal-bespoke .custom-padding {
  padding-top: 0.2rem;
}

.modal-bespoke .custom-btn {
  border: 0;
  background-color: inherit;
  color: white;
}

.buy-form button.abrir-carro {
	font-family: 'Raleway';
	font-weight: 600;
	font-size: 20px;
	line-height: 25px;
}

.buy-form .informacion-compra {
	display: block;
	border-bottom: solid 1px #8e8a8a;
  font-size: 21px;
  font-family: 'Raleway';
  letter-spacing: 1.26px;
  line-height: 25px;
  padding-bottom: 10px;
}

.buy-form .informacion-compra h5 {
	font-weight: 500;
	color: #322e2f;
	padding-bottom: 2.5rem;
	margin-bottom: 0px;
}

.buy-form .informacion-compra h4 {
  font-weight: 700;
  color: #585854;
  letter-spacing: 1.26px;
  line-height: 25px;
  display: inline;
}

.buy-form .informacion-compra h3 {
	font-family: 'Roboto';
	font-weight: 700;
  font-size: 21px;
	color: #585854;
	letter-spacing: 1.26px;
	line-height: 25px;
	float: right;
}

.wrapper-bespoke h4 {
  padding-top: 0.05rem;
}

.reset-title {
  color: #8e8a8a;
}

.modal-bespoke .caracteristica h4 {
  font-weight: bold;
  text-align: left;
  margin-bottom: 1rem;
}

@media(max-width: 1200px) {
  .extended-padding-right {
    padding-right: 15px;
  }
}

/* Fin Modal */
@media ( min-width : 768px) {
  .container-modal img {
    max-height: 270px;
  }
}

@media ( max-width : 768px) {
	.container-custom {
	  margin: 0 30px;
	}
	
  /* Modal Buy */
  .modal-buy .modal-dialog {
    transform: none !important;
  }
  
  .modal-buy .modal-dialog .modal-content {
    min-width: auto;
  }
  
  .modal-buy .action-buttons {
    margin-top: 1rem !important;
    text-align: center;
  }
  
  .buy-form .informacion-compra {
    text-align: center;
    border-bottom: none;
  }
  
  .buy-form .informacion-compra h3 {
    display: block;
    text-align: center;
    float: none;
  }
  
  .buy-form .informacion-compra h4 {
    display: block;
  }
  
  .buy-form .informacion-compra h5 {
    display: none;
  }
  
  .buy-form .just-added-mobile {
    font-family: 'Raleway';
    font-size: 26px;
    font-weight: 500;
    color: #322e2f;
    margin-top: 4rem;
    display: block;
    text-align: center;
  }
  
  .buy-form .btn-black {
    padding: 20px 30px;
    margin-bottom : 5%;
  }
  
  .buy-form .abrir-carro {
    margin-bottom: 4%;
  }
  
  .buy-form .bespoke-preview .preview {
    max-width: 60%;
  }
}