:root {
  --primaryColor: #28537e;
  --rwLightgray: #231f20;
  --white: #ffffff;
  --rwlight: #f0f0f0;
  --rwGray: #c6c6c7;
  --rwOffwhite: #cbcccc;
  --primaryFont: "Playfair Display", serif;
  --secondaryFont: "Lato", sans-serif;
}
.divMobile {
  margin-top: 1rem;
  display: none;
}
.detailsHeading h4,
.detailsHeading h4 a {
  margin: 0;
  color: #333535;
  font-size: 1.5rem;
  font-weight: 400;
}
.productDetails h4.heading {
  width: 100%;
  margin-right: 0;
}
.productDetails h4.heading a i {
  color: var(--white);
}
.previewProductImage {
  max-width: 450px;
  max-height: 450px;
  border: 1px solid #c6c6c7;
}
.previewProductImage > img {
  width: 100%;
}
.thumbnailContainer ul {
  list-style: none; 
  padding: 0; 
  margin: 0.875rem 0; 
  max-width: 100%; 
}
.thumbnailContainer ul li {
  padding: 0;
  max-width: 20%;
  margin: 0 1.25rem 1.25rem 0;
}
.thumbnailContainer ul li a {
  display: block;
  border-radius: 5px;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  -ms-border-radius: 5px;
  -o-border-radius: 5px;
  overflow: hidden;
}
.thumbnailContainer ul li a img {
  min-width: 100%;
}
.details {
  padding: 0; 
  font-family: var(--secondaryFont); 
  background: transparent;
}
.detailsColumn {
  padding-left: 3rem !important;
}
.dropdown-menu.show {
  left: -100%;
  min-width: 320px;
  box-shadow: 0px 10px 24px rgba(0, 0, 0, 0.1);
  border: 0;
  padding: 1.25rem;
  border-radius: 0;
}
.dropdown-menu-body {
  min-height: 200px; 
  max-height: 300px; 
  overflow: auto;
}
button.cart {
  background: #fff;
  border: 0;
  padding: 10px 20px;
  border-radius: 0;
}
button.cart::after {
  content: "";
  display: none;
}
button.cart:focus {
  box-shadow: none;
  outline: 0;
}
.details h4 {
  font-size: 2.25rem;
  font-family: var(--primaryFont);
  color: var(--primaryColor);
}
.details h5 {
  font-size: 1.5rem;
  color: rgba(118, 144, 171, 1);
  margin: 0;
}
.btnContainer {
  margin: 1rem 0;
}
.btnContainer button.btn {
  font-size: 0.875rem;
  font-family: var(--secondaryFont);
  margin-right: 1.25rem;
}
.download {
  width: 100%;
  margin: 1rem 0 0;
}
p.sub-title {
  margin: 1.5rem 0;
  font-size: 1.25rem;
  font-weight: 600;
  font-family: var(--secondaryFont);
  padding-top: 0.875rem;
  border-top: 1px solid var(--rwGray);
}
button.btn.rwButtonGray {
  background-color: var(--rwlight);
  color: var(--primaryColor);
  padding: 8px 30px;
  font-weight: 600;
  border: 2px solid var(--primaryColor);
  text-transform: uppercase;
  border-radius: 0;
  -webkit-border-radius: 0;
  -moz-border-radius: 0;
  -ms-border-radius: 0;
  -o-border-radius: 0;
}

button.btn.rwButtonGray:hover {
  background-color: var(--primaryColor);
  color: var(--white);
}
.rwSelect {
  padding: 2px 16px 2px 10px;
  border: 1px solid #333535;
  background-image: url(/themes/user/site/default/asset/img/home/down.png);
  background-repeat: no-repeat;
  background-position: 1.5rem 0.8rem;
  background-size: 12px;
  border-radius: 0;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  min-width: 3rem;
}
.rwSelect:focus {
  outline: 0;
}
.dropdown-menu .cartItem {
  border-bottom: 1px solid #e7e7e7;
  margin-bottom: 0 !important;
  padding: 0.75rem 0;
}
.item-details {
  font-family: var(--secondaryFont);
  font-weight: 700;
  width: 45%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  margin-bottom: 0.75rem;
}
.item-details:nth-child(odd) {
  margin-right: 5%;
}
.item-details small {
  color: #5a5a5a;
  font-weight: 700;
  font-size: 0.725rem;
}
.item-details span {
  font-size: 1.125rem;
  color: #333535;
}

@media only screen and (max-width: 991px) {
  .detailsColumn {
    padding-left: 1rem !important;
  }
  button.btn.rwButtonGray {
    padding: 8px 20px;
  }
  .thumbnailContainer ul li {
    margin: 0 0.5rem 0.5rem 0;
  }
  .dropdown-menu.show {
    left: -75% !important;
  }
}
@media only screen and (max-width:769px){
    .midSection  .container{
        max-width:540px !important;
    }
    .width100{
        flex-basis: 100% !important;
        max-width: 100% !important;
    }
}
@media only screen and (max-width: 768px) {

  /*.divMobile {
    display: block;
  }
  .divDesktop { 
    display: none;
  }*/
  .productDetails div:nth-child(2) {
    padding-right: 0;
  }
  .dropdown-menu.show {
    left: -60% !important;
    padding-right: 1.25rem !important;
  }
  .download {
    max-width: 100%;
  }
  .previewProductImage {
    max-width: 100%;
    max-height: 100%;
  }
}

@media only screen and (max-width: 523px) {
  .productDetails > div:nth-child(2) {
    padding-right: 1rem;
  }
  .detailsHeading div {
    padding-right: 0;
  }
  .midSection .container {
    padding: 0;
  }
  .detailsHeading h4,
  .detailsHeading h4 a {
    font-size: 1.25rem;
  }
  .dropdown-menu.show {
    min-width: 280px;
  }
  button.btn.rwButtonGray {
    width: 100%; 
    margin: 0;
  }
  .item-details {
    width: 100%;
  }
  .btnContainer form { 
  	margin: 1rem 0 0; 
    width:100%;
    }
}
a.downloadButton button { 
	width: 100%; 
}

a.downloadButton { 
	display: block; 
    margin: 1rem 0 0; 
}
.prdouctDetails a .btn.rwButton {
padding: 8px 26px;
}
.btn i.fa {
padding-right: 4px;
}