/*Global*/
#mainBodyContent {
  width: 900px;
  max-width: 100%;
  margin: 0 auto;
  text-align: left;
  font: normal 12px Helvetica, Arial, sans-serif;
  color: #666;
  text-align: center;
}

#mainBodyContent h2 {
  font-size: 12px;
  font-weight: normal;
  text-transform: uppercase;
  display: block;;
  margin: 0 0 10px;
}

#mainBodyContent .clear {
  clear: both;
  width: 0;
  height: 0;
  line-height: 0;
  font-size: 1px;
  display: block
}

#mainBodyContent .nostyle {
  margin: 0;
  padding: 0;
  border: 0;
}

#mainBodyContent .divider {
  border-top: 1px solid #ccc;
  padding-top: 15px;
  margin-top: 15px;
  clear: both;
}

#mainBodyContent ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

#mainBodyContent ul li {
  padding: 5px;
}

#mainBodyContent .btn, #emailAFriend #sendEmail {
  border: 0;
  padding: 10px;
  text-transform: uppercase;
}

#mainBodyContent .btn._disabled, #mainBodyContent .btn._disabled:hover {
  background-color: #ccc;
  color: #fff;
  cursor: default
}

#mainBodyContent #share .btn._disabled, #mainBodyContent #share .btn._disabled:hover {
  background: transparent url('/images/social-media_disabled.jpg') no-repeat !important;
  height: 305px;
  height: 115px;
}

#mainBodyContent #share .btn {
  background: transparent url('/images/social-media_active.jpg') no-repeat !important;
  height: 305px;
  height: 115px;
}

#mainBodyContent .errorMsg {
  background: transparent url('/images/icon_error.png') 50% 50% no-repeat;
  display: block;
  width: 25px;
  height: 25px;
  z-index: 2147483647;
  position: absolute;
  top: 8px;
  left: -30px;
}

#mainBodyContent .errorMsg ul {
  display: none;
  z-index: 2147483647;
  width: 195px;
  position: absolute;
  bottom: 15px;
  right: 15px;
  background-color: #ed2024;
}

#mainBodyContent .errorMsg:hover ul {
  display: block;
}

#mainBodyContent .errorMsg:hover ul li {
  color: #fff !important;
}

#mainBodyContent .errorMsg ul li span.engravingName {
  display: none;
}

#mainBodyContent input,
#mainBodyContent textarea,
#mainBodyContent select,
#mainBodyContent #metalTypes div,
#mainBodyContent .dropdown,
#emailAFriend input,
#emailAFriend textarea {
  border: 1px solid #ccc;
  padding: 3px;
  vertical-align: middle;
}

#mainBodyContent .price,
#mainBodyContent .itemPrice,
#mainBodyContent .collapseIcon,
#mainBodyContent span.info span,
#emailAFriend h1 {
  color: #399;
  font-weight: bold;
}

#mainBodyContent .btn:hover,
#mainBodyContent #metalTypes div span:hover,
#mainBodyContent .selections li:hover,
#emailAFriend #sendEmail:hover {
  background-color: #399;
  color: #fff;
}

#mainBodyContent .btn,
#mainBodyContent .selection._selected,
#mainBodyContent .stone_options.selected .stone_number,
#emailAFriend #sendEmail {
  background-color: #7bb;
  color: #fff;
  font-weight: bold;
}

#mainBodyContent .btn,
#mainBodyContent #itemProperties,
#mainBodyContent #stones .info,
#emailAFriend #sendEmail {
  font-size: 11px;
}

#mainBodyContent .btn,
#mainBodyContent .collapsing h2,
#mainBodyContent #metalTypes div span,
#mainBodyContent .selections li,
#mainBodyContent .errorMsg,
#emailAFriend #sendEmail {
  cursor: pointer;
}

#mainBodyContent .stone_options.selected._error .stone_number {
  background-color: #b77;
  color: #fff;
  font-weight: bold;
}

#mainBodyContent #engravingCounts li,
#mainBodyContent #stoneCounts li,
#mainBodyContent #metalTypes div,
#mainBodyContent #metalTypes div span,
#mainBodyContent #stones .stone_number {
  float: left;
  padding: 5px;
  text-align: center;
}

.startingFrom {
  display: block;
  margin-top: 0.5em;
  font-size: 11px;
  text-transform: uppercase;
}

#mainBodyContent #leftColumn, #mainBodyContent #configurator, #mainBodyContent .left, #mainBodyContent .leftEnd {
  display: inline-block;
  zoom: 1;
  *display: inline;
  vertical-align: top;
  text-align: left;
}

/*Left Column*/
#mainBodyContent #leftColumn {
  max-width: 305px;
  margin-right: 5%;
}

#mainBodyContent #leftColumn .price, #mainBodyContent .itemPrice {
  font-size: 25px;
}

#mainBodyContent .collapsing h2 {
  position: relative;
}

#mainBodyContent .collapseIcon {
  position: absolute;
  top: -5px;
  right: 0;
  padding: 0;
  margin: 0;
  line-height: 20px;
  width: 20px;
  font-size: 20px;
}

#mainBodyContent .collapseIcon.close {
  top: -8px
}

#mainBodyContent .collapsing .collapseIcon.open, #mainBodyContent .collapsing.collapsed .collapseIcon.close {
  display: none;
}

#mainBodyContent .collapsing .collapseIcon.close, #mainBodyContent .collapsing.collapsed .collapseIcon.open {
  display: block;
}

#mainBodyContent #engraving_errors .engravingName {
  font-weight: bold;
  color: #900;
}

#mainBodyContent #engraving_errors li {
  background-color: #ffeaea;
  color: #c00;
  text-align: center;
  margin-top: 5px;
}

/**Item Summary**/
#mainBodyContent #itemProperties li {
  padding: 0 0 10px;
  line-height: 12px
}

#mainBodyContent #itemProperties label {
  float: left;
  text-transform: uppercase;
  color: #999;
  width: 150px;
  display: block;
  text-align: right;
  padding-right: 10px
}

#mainBodyContent #itemProperties span {
  float: left;
  display: block;
  width: 145px
}

/**Share**/
#mainBodyContent #share a {
  display: block;
  float: left;
  margin-right: 8px
}

#mainBodyContent #shrEmail {
  background: url('/images/share_email.png') no-repeat;
  width: 67px;
  height: 20px;
  margin-left: 15px;
}

#mainBodyContent #shrTwitter {
  width: 66px;
  height: 20px;
  float: left;
  margin-left: 5px;
}

#mainBodyContent #shrPinterest {
  width: 48px;
  height: 20px;
  float: left;
  margin-left: 5px;
}

#mainBodyContent #shrFacebook {
  width: 78px;
  height: 20px;
  position: relative;
  float: left;
  margin-left: 5px;
}

#emailAFriend {
  font: normal 12px Helvetica, Arial, sans-serif;
  color: #666;
  text-transform: uppercase;
}

#emailAFriend h1 {
  margin-top: 0;
  font-weight: normal;
  font-size: 26px;
}

#emailAFriend .fields div {
  padding: 10px 0;
}

#emailAFriend .fields div input, #emailAFriend .fields div textarea {
  display: block;
  width: 300px;
  margin-top: 4px;
  font: normal 12px Helvetica, Arial, sans-serif;
  color: #666;
}

#emailAFriend .fields div textarea {
  height: 100px;
}

#emailAFriend .prodImg {
  width: 310px;
  float: right;
}

#emailAFriend .fields {
  float: left;
  width: 360px;
  padding: 0 10px;
}

/*Configurator*/
#mainBodyContent #configurator {
  max-width: 555px;
  width: 60%;
}

#mainBodyContent #configurator .price, #mainBodyContent #configurator .itemPrice {
  font-size: 20px;
  width: 25%
}

#mainBodyContent .section {
  background-color: #f5f5f5;
  padding: 15px;
  margin-bottom: 15px;
}

#mainBodyContent .section input {
  height: 30px;
}

#mainBodyContent .section .left {
  width: 55%;
  margin-right: 5%
}

#mainBodyContent .section .leftEnd {
  width: 34%;
}

#mainBodyContent .section .leftEnd input {
  width: 187px;
}

#mainBodyContent .selection._disabled {
  background-color: #ccc;
}

/**Number of stones**/
#mainBodyContent #stoneCounts li,
#mainBodyContent #engravingCounts li {
  width: 16px
}

/**Choose metal**/
#metalTypes div, #metalTypes .TwoTone {
  margin: 0 10px 10px 0;
  background-color: #fff;
  min-height: 52px
}

#metalTypes div label, #metalTypes .TwoTone div {
  padding: 5px;
  display: block;
  line-height: 12px;
  margin-bottom: 4px;
  position: relative;
}

#metalTypes div span {
  display: block;
  line-height: 16px;
}

#metalTypes .TwoTone {
  padding: 0;
  height: 62px
}

#metalTypes .TwoTone div {
  margin: 0;
  height: auto;
  float: left;
  padding: 8px 3px 11px;
  border: 0;
}

#metalTypes .TwoTone .metalTitleLeft {
  text-align: right;
  width: 55px;
}

#metalTypes .TwoTone .metalTitleRight {
  text-align: left;
  width: 55px;
}

#metalTypes .TwoTone .choiceWrap {
  margin: 0;
  width: auto;
  height: auto;
  padding: 0 5px;
}

#metalTypes #YellowGold label, #metalTypes #YellowWhite .metalTitleLeft {
  background-color: #f2d681;
}

#metalTypes #WhiteGold label, #metalTypes #YellowWhite .metalTitleRight {
  background-color: #f3f1ea;
}

#metalTypes #RoseGold label {
  background-color: #f9dcd3;
}

#metalTypes #SterlingSilver label {
  background-color: #eee;
}

#metalTypes #BaseMetal label {
  background-color: #f1f1f1;
}

#metalTypes #TwoTone label {
}

#metalTypes #Sterling span, #metalTypes #TwoTone span {
  float: none;
  width: auto
}

/**Choose stones**/
#mainBodyContent #stones .stone_number {
  display: block;
  width: auto;
  min-width: 20px;
  height: 23px;
  padding-top: 12px;
  margin-right: 5px
}

#mainBodyContent #stones .stone_options, #engravings .engraving_options {
  margin-bottom: 8px
}

#mainBodyContent #stones .dropdown {
  width: 220px;
  height: 32px;
  float: left
}

#mainBodyContent #stones ul.stone-list > li {
  display: inline-block;
  margin: 5px;
  float: left;
  width: 30px;
  height: 30px;
}

#mainBodyContent #stones ul.stone-list > li.ui-selectee, #mainBodyContent #stones ul.stone-list > li.ui-selectee.ui-selected {
  padding: 1px
}

#mainBodyContent #stones ul.stone-list > li.ui-selectee.ui-selected {
  border: 2px solid #666;
  border-radius: 50%;
  margin: 3px;
}

/*engraving*/
#mainBodyContent #engravings .engraving_options, #mainBodyContent #engravings .engraving_options input {
  position: relative;
  z-index: 1
}

#mainBodyContent #engravings .engraving_options:hover {
  z-index: 100
}

#mainBodyContent #preview {
  position: relative;
  overflow: hidden;
}

#mainBodyContent #preview * {
  position: absolute;
}

#mainBodyContent #preview #oldTemplate {
  z-index: 2147483603;
}

#mainBodyContent #preview #template {
  z-index: 2147483602;
}

#mainBodyContent #preview .stone {
  z-index: 2147483601;
}

#mainBodyContent #preview .engraving {
  z-index: 2147483604;
  width: 100%;
  height: 100%;
}

#itemProperties span.required {
  font-size: 90%;
  color: #b77;
}

#preview span.stone {
  position: absolute !important;
  top: -5px;
  left: -5px;
  padding: 0;
  border: 0;
}

#fancybox-loading {
  z-index: 2147483648 !important;
}

#fancybox-overlay {
  z-index: 2147483648 !important;
}

#fancybox-wrap {
  z-index: 2147483650 !important;
}

#fancybox-content #emailPreview {
  position: relative;
  overflow: hidden;
}

#fancybox-content #emailPreview * {
  position: absolute;
}

#fancybox-content #emailPreview #oldTemplate {
  z-index: 2147483643;
}

#fancybox-content #emailPreview #template {
  z-index: 2147483642;
}

#fancybox-content #emailPreview .stone {
  z-index: 2147483641;
}

#fancybox-content #emailPreview .engraving {
  z-index: 2147483644;
  width: 100%;
  height: 100%;
}

#fancybox-content #emailPreview span.stone {
  position: absolute !important;
  top: -5px;
  left: -5px;
  padding: 0;
  border: 0;
}

#previewWrapper {
  overflow: hidden;
}

#zoom .ui-slider-handle {
  border: 0px;
  background-color: transparent;
  background-image: url(/images/zoom-marker.png);
  background-repeat: no-repeat;
  background-position: 50% 50%;
  width: 16px;
  height: 20px;
  display: block;
  position: absolute;
  cursor: pointer;
  top: -.3em;
  margin-left: -.6em;
  z-index: 2147483602;
}

#zoom {
  border: 0px;
  background-color: transparent;
  background-image: url(/images/zoom-bar.png);
  background-repeat: no-repeat;
  background-position: 50% 100%;
  width: 289px;
  height: 17px;
  margin-top: 25px;
  position: relative;
}

#zoomWrapper {
  position: relative;
  height: 50px;
}

#zoomPlus, #zoomMinus {
  position: absolute;
  width: 18px;
  height: 18px;
  cursor: pointer;
}

#zoomPlus {
  background-image: url(/images/zoom-plus.png);
  right: -8px;
}

#zoomMinus {
  background-image: url(/images/zoom-minus.png);
  left: -8px;
}

#loading {
  position: absolute;
  z-index: 2147483640;
  width: 305px;
  text-transform: uppercase;
  font-size: 11px;
  background-color: #fff;
  opacity: 0.9;
  filter: alpha(opacity=90);
  display: table-cell;
}

#previewWrapper {
  height: 100px;
}

#loadingWrapper {
  padding-bottom: 10px;
  text-align: center;
  vertical-align: middle;
  width: 305px;
}

#loadingWrapper div {
  vertical-align: middle;
  display: inline-block;
}

#loadingWrapper img {
  vertical-align: middle;
  margin: auto;
}

#loadingWrapper span {
  display: inline-block;
}

#shareItem {
  width: 100%;
}

#shareLoading {
  background-image: url(/images/share_bg.jpg);
  background-repeat: no-repeat;
  height: 188px;
  width: 305px;
  padding-top: 117px;
}

#shareSection {
  background-image: url(/images/share_bg.jpg);
  background-repeat: no-repeat;
  height: 188px;
  width: 305px;
  padding-top: 117px;
}

#share {
  display: none;
}

#configurator-buttons {
  float: right
}

.hide {
  display: none
}

.text-center {
  text-align: center;
}

p.stone-name-selector {
  display: none;
}

/*If we update these max-widths, also update function browserLikeMobile*/
@media only screen and (max-width: 56.25em) {
  #mainBodyContent #configurator {
    width: 47%
  }

  #mainBodyContent .section .left, #mainBodyContent .section .leftEnd {
    width: 100%;
    margin: 5px 0;
  }
}

@media only screen and (max-width: 41.25em) {
  #mainBodyContent #leftColumn {
    margin: 0;
  }

  #mainBodyContent #configurator {
    width: 100%;
  }

  #share {
    margin-bottom: 15px;
  }

  #mainBodyContent #stones ul.stone-list > li {
    width: 48%;
    margin: 5px 0;
  }

  #mainBodyContent #stones ul.stone-list > li > img.stone-img-selector {
    float: left;
    margin-right: 5px;
  }

  p.stone-name-selector {
    display: block;
    margin: 0;
  }

  p.option-description {
    display: none;
  }

  .ui-accordion .ui-accordion-content {
    padding: 1em 1.5em;
  }
}

/* Jquery Accordion */
.ui-icon-caret-1-s {
  float: right;
  margin-top: 6px;
}

.stone-option-header .stone-number-header {
  margin-top: 8px;
}

.stone-option-header .stone-option-header-description,
.stone-option-header img.stone-img-header,
.stone-option-header .stone-number-header {
  float: left;
  margin-right: 8px;
}

.stone-option-header-description {
  /*padding-left: 5px;*/
}

#mainBodyContent #stones .stone-number-header {
  /*width: auto;*/
  /*height: 30px;*/
  /*line-height: 30px;*/
  /*min-width: 20px;*/
  /*height: 23px;*/
  /*margin-right: 5px;*/
}

.stone-option-header.ui-state-active {
  border: 1px solid #c5c5c5;
  background: #fff;
  color: #454545;
}

.engraving_style_option {
  cursor: pointer;
  padding: 5px;
}

#engraving_style_list .ui-icon {
  margin-top: 0;
}

.option-description {
  min-height: 29px;
  margin: 0;
}

#priceAndDescriptionRight {
  background-color: inherit !important;
  max-width: 305px;
  display: none;
}

#priceAndDescriptionRight .price {
  background-color: inherit !important;
}

#customUserImage .slim {
  margin: 0 auto;
}

.slim-label p {
  font-size: 14px;
  line-height: 20px;
}

.slim-crop-area .slim-crop-mask {

}

.slim-mask-oval {
  -webkit-mask-image: url(/images/oval-mask.png);
  mask-image: url(/images/oval-mask.png);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}

#media-thumbs {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.thumb {
    width: 80px;
    height: 80px;
    object-fit: cover;
    margin-right: 10px;
    cursor: pointer;
}

#imageOverlay {
    position: fixed; /* Sit on top of the page content */
    display: none; /* Hidden by default */
    width: 100%; /* Full width (cover the whole page) */
    height: 100%; /* Full height (cover the whole page) */
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0,0,0,0.5); /* Black background with opacity */
    z-index: 2; /* Specify a stack order in case you're using a different order for other elements */
    cursor: pointer; /* Add a pointer on hover */
}

.preview-image-container img {
  width: 100%;
}

.content-height {
    visibility: hidden;
    background-color: rgba(255, 255, 255, 0);
    color: rgba(255, 255, 255, 0);
    height: 1px;
    width: 1px;
}
