/*-------- MAIN --------*/
body {
  font-family: 'Quicksand', sans-serif;
  font-weight: 400;
}

.h1, .h2, .h3, .h4, .h5, .h6,
h1, h2, h3, h4, h5, h6 {
  font-weight: 500;
  /*color: #3959a1;*/
}

/* Chrome, Safari, Edge, Opera remove arrows input */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
input[type=number] {
  -moz-appearance: textfield;
}

.md-form.md-outline label {
  top: -2px;
}

button.btn {
  font-weight: 500;
}

.custom-control-label {
  cursor: pointer;
}

/* Change Autocomplete styles in Chrome*/
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover,
textarea:-webkit-autofill:focus,
select:-webkit-autofill,
select:-webkit-autofill:hover,
select:-webkit-autofill:focus {
  box-shadow: 0 0 0px 1000px #fff inset !important;
  -webkit-box-shadow: 0 0 0px 1000px #fff inset !important;
}

.alert {
  margin-top: .25rem;
}

.custom-file {
  cursor: pointer;
}

.custom-file .custom-file-label {
  overflow: hidden;
}

option:disabled {
  color: #e8e8e8;
}

/*-------- Colors --------*/
/*-------- end Colors --------*/
/*-------- Typography --------*/
.heading-line {
  width: max-content;
  position: relative;
}

.heading-line.mx-auto:after {
  margin: 0 auto;
}

.heading-line:after {
  position: relative;
  display: block;
  left: 0;
  bottom: -5px;
  width: 40%;
  max-width: 150px;
  height: 1px;
  content: "";
  background: linear-gradient(40deg, #45cafc, #303f9f);
}

.heading-line .info-button {
  position: absolute;
  top: -7px;
  padding: 2px 8px;
  font-size: 10px;
  border-radius: 50%;
  margin: 0;
  right: -23px;
  width: 19px;
}

.heading-line.heading-line-center {
  margin: 0 auto;
}

.heading-line.heading-line-center:after {
  margin: 0 auto;
}

/*-------- end Typography --------*/
/*-------- Buttons --------*/
.btn {
  border-radius: 4px;
  padding: .62rem 2.14rem;
}

@media (max-width: 768px) {
  .btn {
    width: 100%;
  }
}

.form-check.radio-materials-colors {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  padding: 0 !important;
}

.form-check.radio-materials-colors .radio-materials, .form-check.radio-materials-colors .radio-colors {
  margin: 0px;
}

.form-check input {
  transform: scale(1.5);
  cursor: pointer;
}

.form-check .form-check-label {
  padding-left: 5px;
  cursor: pointer;
}

#addNewPart {
  border-radius: 40px;
  padding: 10px 20px;
  margin-bottom: 20px;
}

.addNewMaterial {
  border-radius: 40px;
  padding: 10px 20px;
  margin-bottom: 20px;
}

#addAnotherPart {
  border-radius: 40px;
  padding: 10px 20px;
  margin-bottom: 20px;
}

.modal .close:focus, .modal .close:hover {
  outline: none;
}

.popover-header {
  background-color: #33b5e5;
  color: #fff;
  border-bottom: 1px solid #33b5e5;
}

/*-------- end Buttons --------*/
/*-------- New Product - CMS --------*/
.projectInfo .md-form.md-outline {
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}

.projectInfo .disabled input {
  background-color: #cccccc !important;
}

@media (max-width: 1200px) {
  #productInfo #loadParts {
    padding: 10px 0;
  }
}

#productInfo .modal .modal-content .modal-body .btn-group-toggle label {
  margin-bottom: 6px;
  padding: 8px 20px;
}

#productInfo .modal .modal-content .modal-body .btn-group-toggle label .fa-plus {
  margin-right: 4px;
  font-size: 15px;
}

#productInfo .modal .modal-content .modal-body .btn-group-toggle label .fa-check {
  display: none;
  margin-right: 2px;
  font-size: 15px;
}

#productInfo .modal .modal-content .modal-body .btn-group-toggle label.active {
  background-color: #33b5e5 !important;
  color: #fff !important;
}

#productInfo .modal .modal-content .modal-body .btn-group-toggle label.active .fa-plus {
  display: none;
}

#productInfo .modal .modal-content .modal-body .btn-group-toggle label.active .fa-check {
  display: inline-block;
}

.newProductImg {
  display: flex;
  justify-content: center;
}

@media (max-width: 768px) {
  .newProductImg {
    width: auto;
  }
}

.newProductImg label {
  padding: 0;
  margin: 0;
}

.newProductImg img {
  max-width: 200px;
  max-height: 200px;
  cursor: pointer;
}

.newProductFrom .md-form.md-outline, .newProductFrom select {
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}

.newProductFrom .md-form.md-outline label, .newProductFrom select label {
  top: -2px;
}

.md-form textarea.md-textarea + label {
  top: -2px;
}

.disabled_class {
  opacity: 0.35;
  pointer-events: none;
}

.manager-parts {
  transition: all .6s ease;
  -webkit-transition: all .6s ease;
}

.manager-parts .part-manager .arranged-material {
  margin-bottom: 10px;
}

.manager-parts .part-manager .arranged-material > div {
  margin: 5px 0;
}

.manager-parts .part-manager .arranged-material button {
  margin-top: 0;
  margin-bottom: 0;
}

@media (max-width: 370px) {
  .manager-parts .part-manager .arranged-material button {
    padding: 10px 0;
  }
}

.manager-parts .part-manager .modal .modal-content .modal-body .btn-group-toggle label {
  margin-bottom: 6px;
  padding: 8px 20px;
}

.manager-parts .part-manager .modal .modal-content .modal-body .btn-group-toggle label .fa-plus {
  margin-right: 4px;
  font-size: 15px;
}

.manager-parts .part-manager .modal .modal-content .modal-body .btn-group-toggle label .fa-check {
  display: none;
  margin-right: 2px;
  font-size: 15px;
}

.manager-parts .part-manager .modal .modal-content .modal-body .btn-group-toggle label.active {
  background-color: #33b5e5 !important;
  color: #fff !important;
}

.manager-parts .part-manager .modal .modal-content .modal-body .btn-group-toggle label.active .fa-plus {
  display: none;
}

.manager-parts .part-manager .modal .modal-content .modal-body .btn-group-toggle label.active .fa-check {
  display: inline-block;
}

#parts {
  margin-bottom: 10px;
}

#parts .newParts {
  margin-bottom: 10px;
}

#parts .newParts > div {
  margin: 5px 0;
}

#parts .newParts .form-check {
  padding-left: 30px;
  padding-right: 8px;
}

@media (max-width: 370px) {
  #parts .newParts .form-check {
    max-width: 125px;
    display: flex;
    align-items: center;
  }
}

#parts .newParts .delete-btn {
  padding: 6px 2px 5px 2px;
  font-size: 20px;
  width: 36px;
  line-height: 1;
}

#parts .newParts:after {
  position: relative;
  display: block;
  left: 0;
  bottom: -5px;
  width: 100%;
  height: 1px;
  content: "";
  background: #33b5e5;
}

#parts .newParts button {
  margin-top: 0;
  margin-bottom: 0;
}

@media (max-width: 480px) {
  #parts .newParts button {
    padding: 10px 0;
  }
}

#parts .newParts .image-file {
  overflow: hidden;
}

#parts .newParts .selectParts option:disabled {
  color: #e8e8e8;
}

#parts .newParts .swap-group {
  background: rgba(131, 207, 238, 0.5);
  transition: all .3s ease;
  -webkit-transition: all .3s ease;
}

#parts .newParts .swap-group .input-group {
  transition: all .3s ease;
  -webkit-transition: all .3s ease;
}

#parts .newParts .swap-group .image-file {
  transition: all .3s ease;
  -webkit-transition: all .3s ease;
}

#parts .newParts .swap-group .swap-default {
  margin-right: 4px;
}

.sp-palette-container {
  display: none;
}

#variantsModals .modal .materials {
  margin-bottom: 10px;
}

#variantsModals .modal .materials .newMaterial {
  margin-bottom: 10px;
}

#variantsModals .modal .materials .newMaterial > div {
  margin: 5px 0;
}

#variantsModals .modal .materials .newMaterial .form-check {
  padding-left: 30px;
  padding-right: 8px;
}

@media (max-width: 370px) {
  #variantsModals .modal .materials .newMaterial .form-check {
    max-width: 125px;
    display: flex;
    align-items: center;
  }
}

#variantsModals .modal .materials .newMaterial:after {
  position: relative;
  display: block;
  left: 0;
  bottom: -5px;
  width: 100%;
  height: 1px;
  content: "";
  background: #33b5e5;
}

#variantsModals .modal .materials .newMaterial button {
  margin-top: 0;
  margin-bottom: 0;
}

@media (max-width: 480px) {
  #variantsModals .modal .materials .newMaterial button {
    padding: 10px 0;
  }
}

#variantsModals .modal .materials .newMaterial .open-colors-btn {
  display: flex;
  align-items: center;
  justify-content: center;
}

#variantsModals .modal .materials .newMaterial .open-colors-btn .animated-icon-color {
  width: 12px;
  height: 14px;
  position: relative;
  margin: 0px;
  transform: rotate(0deg);
  transition: .5s ease-in-out;
  cursor: pointer;
  margin-left: 10px;
}

#variantsModals .modal .materials .newMaterial .open-colors-btn .animated-icon-color span {
  display: block;
  position: absolute;
  height: 2px;
  width: 100%;
  border-radius: 10px;
  opacity: 1;
  left: 0;
  transform: rotate(0deg);
  transition: .25s ease-in-out;
  background: white;
}

#variantsModals .modal .materials .newMaterial .open-colors-btn .animated-icon-color span:nth-child(1) {
  top: 6px;
}

#variantsModals .modal .materials .newMaterial .open-colors-btn .animated-icon-color span:nth-child(2) {
  top: 6px;
  transform: rotate(90deg);
}

#variantsModals .modal .materials .newMaterial .open-colors-btn .animated-icon-color.open span:nth-child(2) {
  transform: rotate(0deg);
}

#variantsModals .modal .materials .newMaterial .collapseColors {
  margin: 0;
}

#variantsModals .modal .materials .newMaterial .collapseColors .collapseBack {
  padding: 10px 0;
  background: aliceblue;
  margin: 5px 0;
  border-radius: 5px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

#variantsModals .modal .materials .newMaterial .collapseColors .collapseBack .form-row {
  margin: 5px 0;
}

#variantsModals .modal .materials .newMaterial .collapseColors .collapseBack .addNewColor {
  margin: 5px 15px;
  padding: 5px 30px;
  width: auto;
}

#variantsModals .modal .materials .newMaterial .select-material option:disabled {
  color: #e8e8e8;
}

#variantsModals .modal .materials .newMaterial .delete-btn {
  padding: 6px 2px 5px 2px;
  font-size: 16px;
  width: 32px;
  line-height: 1;
}

@media (max-width: 768px) {
  #variantsModals .modal .modal-footer .btn {
    width: 40%;
  }
}

/*-------- end New Product - CMS --------*/
/*-------- Product List - CMS --------*/
.product-list .card {
  box-shadow: 2px 4px 10px -4px rgba(0, 0, 0, 0.2);
  -webkit-box-shadow: 2px 4px 10px -4px rgba(0, 0, 0, 0.2);
}

.product-list .card .card-header {
  background: linear-gradient(40deg, rgba(48, 63, 159, 0.02), rgba(69, 202, 252, 0.2));
  padding: .25rem 1.25rem;
}

@media (max-width: 768px) {
  .product-list .card .card-header {
    padding: 1rem 1.25rem;
  }
}

.product-list .card .card-header .form-row > div {
  margin: 3px 0;
}

.product-list .card .card-header img {
  border: 2px solid #fff;
}

.product-list .card .card-header .btn {
  padding: 10px 20px;
}

.product-list .card .card-header .btn.delete-btn {
  padding: 6px 2px 5px 2px;
  font-size: 20px;
  width: 36px;
  line-height: 1;
}

.product-list .card .card-header .btn.open-product-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.product-list .card .card-header .btn.open-product-btn .fa-chevron-down {
  transition: all .3s ease;
  -webkit-transition: all .3s ease;
  font-size: 16px;
}

.product-list .card .card-header .btn.open-product-btn.collapsed .fa-chevron-down {
  transform: rotateZ(90deg);
}

.product-list .card .card-header .card-title {
  margin-bottom: 0;
}

.product-list .card .card-img-top {
  max-width: 348px;
}

.product-list .card .card-body .product-3d-image {
  height: 400px;
}

@media (max-width: 768px) {
  .product-list .card .card-body .product-3d-image {
    height: 250px;
  }
}

.product-list .card .card-body .generated-products {
  background: linear-gradient(40deg, rgba(5, 255, 163, 0.2), rgba(32, 150, 255, 0.2));
  border-radius: 10px;
}

.product-list .card .card-body .generated-products h6 {
  padding: 5px 10px;
  border: 1px solid;
  border-radius: 5px;
  align-items: center;
  margin: 5px;
  background-color: #fff;
  font-size: 14px;
}

.product-list .card .card-body .generated-products h6 .fa-times {
  font-size: 18px;
  color: #ff3547;
  cursor: pointer;
}

.product-list .card .card-body .product-list_variants input, .product-list .card .card-body .product-list_variants select {
  font-size: 14px;
}

.product-list .card .card-body .product-list_variants .toggle-variants {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
}

@media (max-width: 768px) {
  .product-list .card .card-body .product-list_variants .toggle-variants {
    flex-direction: row;
    flex-wrap: nowrap;
    overflow-x: scroll;
    min-height: min-content;
  }
}

.product-list .card .card-body .product-list_variants .toggle-variants .product-list_variants-btn {
  margin: 15px 1.5% 0;
  min-height: 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 10px 4px 5px;
  border: 1px solid #ced4da;
  width: 30%;
  min-width: 30%;
}

.product-list .card .card-body .product-list_variants .toggle-variants .product-list_variants-btn.active {
  border: 2px solid #33b5e5;
  box-shadow: none;
}

.product-list .card .card-body .product-list_variants .toggle-variants .product-list_variants-btn.active span {
  font-weight: 600;
}

.product-list .card .card-body .product-list_variants .toggle-variants .product-list_variants-btn .product-list_variants-btn-color {
  width: 30px;
  height: 30px;
  background: #4285f4;
  border-radius: 50%;
}

.product-list .card .card-body .product-list_variants .toggle-variants .product-list_variants-btn span {
  font-size: 10px;
  line-height: 1;
}

/*-------- end Product List - CMS --------*/
/*-------- Settings - CMS --------*/
.settings_product-layout {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-start;
}

@media (max-width: 768px) {
  .settings_product-layout {
    justify-content: space-around;
  }
}

.settings_product-layout .btn {
  padding: 4px;
  max-width: fit-content;
}

.settings_product-layout .btn img {
  border-radius: 5px;
  opacity: 0.5;
}

.settings_product-layout .btn.active {
  background: linear-gradient(40deg, #45cafc, #303f9f);
}

.settings_product-layout .btn.active img {
  opacity: 1;
}

.settings_product-layout .btn.focus {
  box-shadow: none;
}

.settings-button-changer {
  padding: 10px 15px;
}

@media (max-width: 768px) {
  .settings-button-changer {
    padding: 10px;
  }
}

.settings-button-changer > input {
  max-width: 180px;
  margin: 0 auto;
}

.settings-logo {
  text-align: center;
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
}

@media (max-width: 768px) {
  .settings-logo {
    align-items: center;
    display: flex;
    justify-content: space-around;
    max-width: 400px;
  }
}

.settings-logo .btn {
  padding: 0;
  width: auto;
}

.settings-logo img {
  max-width: 220px;
  max-height: 220px;
  cursor: pointer;
}

@media (max-width: 768px) {
  .settingsRadioButtons .heading-line {
    width: 100%;
  }
}

.buttonColors .text-md-right {
  font-weight: 600;
  font-size: 16px;
}

.buttonColors input {
  margin-bottom: 5px;
}

/*-------- end Settings - CMS --------*/
/*-------- Connect Existing Product - CMS --------*/
#existing-products {
  transition: all .6s ease;
  -webkit-transition: all .6s ease;
  height: 52px;
  margin-bottom: 10px;
}

@media (max-width: 1200px) {
  #existing-products {
    height: 100px;
  }
}

@media (max-width: 768px) {
  #existing-products {
    height: 150px;
  }
}

#existing-products .connectProduct {
  margin-bottom: 10px;
}

#existing-products .connectProduct > div {
  margin: 5px 0;
}

#existing-products .connectProduct > div:first-child {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  /* autoprefixer: off */
}

#existing-products .connectProduct .form-check {
  padding-left: 30px;
  padding-right: 8px;
}

@media (max-width: 370px) {
  #existing-products .connectProduct .form-check {
    max-width: 125px;
    display: flex;
    align-items: center;
  }
}

#existing-products .connectProduct .delete-btn {
  padding: 6px 2px 5px 2px;
  font-size: 20px;
  width: 36px;
  line-height: 1;
}

#existing-products .connectProduct:after {
  position: relative;
  display: block;
  left: 0;
  bottom: -5px;
  width: 100%;
  height: 1px;
  content: "";
  background: #33b5e5;
}

#existing-products .connectProduct button {
  margin-top: 0;
  margin-bottom: 0;
}

@media (max-width: 370px) {
  #existing-products .connectProduct button {
    padding: 10px 0;
  }
}

/*-------- end Connect Existing Product - CMS --------*/
