.full-width {
    width: 100%;
}

.feature-card__description ul {
  margin-bottom: 16px;
}

.feature-card__name .icon-info {
  position: relative;
  top: -2px;
  right: -4px;
  font-size: 14px;
}

.feature-card__description ul li {
  margin-bottom: 8px;
  line-height: 16px;
}

.input-suffix {
  position: relative;
}

.input-suffix:after {
  content: 'mm';
  position: absolute;
  right: .75rem;
  top: 2.75rem;
}

.input-suffix input {
  padding-right: 3rem;
}

input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

a {
    cursor: pointer;
}

.debug-window {
    position: fixed;
    bottom: 24px;
    left: 24px;
    max-height: 488px;
    width: 488px;
    background: white;
    z-index: 99;
    overflow-y: auto;
}

.debug-window .pattern-list {
    list-style: none;
    padding-left: 0;
}

.debug-window .pattern-list li {
    margin-bottom: 0;
    padding-left: 0;
}

.debug-window .pattern-list li::before {
    display: none;
}

.feature-card__description {
    font-size: 14px;
    line-height: 18px;
}

.feature-card__description.preview {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
 }

.tooltip-container {
    position: relative;
}

.tooltip-text {
    visibility: hidden;
    font-family: 'Roboto', sans-serif;
    width: 224px;
    background-color: #424242;
    font-size: 14px;
    line-height: 20px;
    font-weight: 400;
    padding: 24px !important;
    color: #fff;
    text-align: left;
    border-radius: 4px;
    padding: 5px 0;
    position: absolute;
    left: -96px;
    bottom: 24px;
    z-index: 10;
}

@media screen and (max-width: 767px) {
    .tooltip-container .tooltip-text {
        left: -190px;
    }

    .tooltip-container .tooltip-text {
      visibility: visible;
    }

  .tooltip-container:hover .tooltip-text {
    visibility: hidden;
  }
}

@media screen and (max-width: 360px) {
  .mobile-table {
    table-layout: fixed;
  }
  .mobile-table th:first-child {
    width: 33%;
  }
}

.tooltip-container:hover .tooltip-text {
    visibility: visible;
}

.tooltip-icon {
    height: 24px;
    width: 24px;
    font-size: 22px;
}

body {
    background-color: #f5f5f5;
}

.btn.btn-primary.active::before {
    display: none;
}

.progress-bar {
    height: 4px;
    width: 100%;
    position: fixed;
    background: #D6D6D6;
    top: 64px;
    z-index: 999999;
}

.progress-bar-fill {
    background: #27B76F;
    height: 4px;
}

.images-modal {
    position: relative;
    max-width: 976px;
    max-height: 680px;
}

.zoom-icon {
    position: absolute;
    right: 16px;
    top: 24px;
}

.alert-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    padding: 16px 24px;
    font-size: 14px;
    width: 100%;
    border-radius: 4px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    -ms-border-radius: 4px;
    -o-border-radius: 4px;
}

.alert-box span {
    max-width: calc(100% - 16px);
    color: #424242;
}

.alert-box i {
    color: #424242;
}

@media (max-width: 767px) {
    .alert-box {
        font-size: 12px;
        max-width: calc(100% - 48px);
        margin-left: auto;
        margin-right: auto;
    }

    .alert-box .icon-close {
        position: absolute;
        right: 16px;
        top: 16px;
    }

    h4.wizard-title {
        font-size: 18px;
        line-height: 32px;
    }
}

.height-100 {
  height: 100%;
}

.preview-image-summary {
  height: 122px;
}

.preview-image-sm {
  height: 60px;
}

.f-size-14 {
    font-size: 14px;
}

.validation-message {
    font-size: 14px;
    color: #F44235;
}

.form-control.invalid {
    border-color: #F44235;
}

.product-wizard {
    background-color: #f5f5f5;
    overflow: hidden;
}

.pill {
    font-size: 14px;
    line-height: 1;
    color: #424242;
    border-radius: 2px;
    border: 1px solid rgba(0, 0, 0, .2);
    background-color: #ffffff;
    white-space: nowrap;
    padding: 8px 16px;
}

.pills-row a:hover {
    text-decoration: none;
}

@media (max-width: 767px) {
    .pill {
        width: 100%;
        border-bottom: none;
        border-left: none;
        border-right: none;
    }

    .pills-row a:first-of-type {
        margin-left: 24px;
    }

    .pills-row a:last-of-type {
        margin-right: 24px;
    }
}

.pill.selected {
    color: #fff;
    background-color: #27B76F;
    border: 1px solid #27B76F;
}

.feature-card .btn.btn-primary:not(:disabled):not(.disabled).active {
    color: #fff;
    font-size: 18px;
    min-width: 96px;
    padding: 5px 16px;
}

.btn.active i {
    height: 20px;
}

.fake-screen {
    position: initial;
}

@media (max-width: 767px) {
    .fake-screen {
        min-height: 100vh;
        margin-left: 12px;
    }

    .add-margin:first-of-type {
        margin-left: 24px;
    }
}

.group-header {
    display: flex;
    align-items: center;
}

.group-header h5 {
    font-family: Roboto, sans-serif;
    line-height: 32px;
    font-weight: 500;
    margin-bottom: 0;
    line-height: 1.3;
}

.group-header i {
    display: none;
}

@media (max-width: 767px) {
    .category-title {
        font-family: Roboto, sans-serif;
        font-size: 18px;
    }

    .group-header {
        position: fixed;
        width: 100%;
        top: 0;
        left: 0;
        padding: 16px 20px;
        background-color: white;
        z-index: 999999;
        box-shadow: 0px 4px 4px rgba(0, 0, 0, .24);
    }

    .group-header h5 {
        font-size: 18px;
        line-height: 32px;
        margin-bottom: 0;
    }

    .group-header i {
        display: block;
        font-size: 20px;
        margin-right: 32px;
        transform: rotate(180deg);
        -webkit-transform: rotate(180deg);
        -moz-transform: rotate(180deg);
        -ms-transform: rotate(180deg);
        -o-transform: rotate(180deg);
    }
}

.product-wizard .navigation-heading {
    font-size: 16px;
    font-weight: 600;
    margin-right: 35px;
}

@media (max-width: 767px) {
    .product-wizard .navigation-heading {
        font-size: 18px;
        margin-right: 0;
        margin-bottom: 20px;
    }

    .summary.expanded {
        animation: summary-expand-mobile 250ms ease-in-out !important;
        -webkit-animation: summary-expand-mobile 250ms ease-in-out !important;
    }

    .summary.expanded .icon-arrow-next {
        transform: rotate(90deg) !important;
        -webkit-transform: rotate(90deg) !important;
        -moz-transform: rotate(90deg) !important;
        -ms-transform: rotate(90deg) !important;
        -o-transform: rotate(90deg) !important;
    }

    .summary .summary-details-table {
        max-height: calc(100vh - 169px) !important;
    }

}

.summary.expanded {
    height: 488px;
    width: 488px;
    animation: summary-expand 250ms ease-in-out;
    -webkit-animation: summary-expand 250ms ease-in-out;
}

.summary.expanded .icon-arrow-next {
    transform: rotate(45deg);
    animation: rotate-icon 250ms ease-in-out;
    -webkit-animation: rotate-icon 250ms ease-in-out;
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    -o-transform: rotate(45deg);
}

.summary {
    position: fixed;
    bottom: 40px;
    right: 5vw;
    background-color: white;
    width: 336px;
    box-shadow: 0px 1px 4px 0px rgba(0, 0, 0, .4);
    z-index: 100;
    overflow: hidden;
}

.summary.fixed-position {
    position: absolute;
    bottom: auto;
}

.summary .summary-content {
    position: relative;
    padding: 24px 32px;
    line-height: 24px;
    font-weight: 600;
}

@media (max-width: 767px) {
    .summary .summary-content {
        padding: 16px 24px;
    }
}

.summary .summary-title {
    display: block;
    font-size: 14px;
    font-weight: 400;
}

@media (max-width: 767px) {
    .summary .summary-title {
        font-size: 12px;
    }

    .summary.expanded {
        height: calc(100vh - 80px);
        width: 100vw;
    }
}

.summary-details {
    height: 100vh;
    width: 100vw;
    background: rgba(0, 0, 0, .38);
    z-index: 999999;
    position: fixed;
    top: 0;
    left: 0;
}

.summary .summary-price {
    font-size: 16px;
}

.summary .summary-details-table {
    border-top: 1px solid #D6D6D6;
    max-height: 384px;
    overflow-y: scroll;
    padding: 0 24px;
}

.summary i {
    position: absolute;
    right: 16px;
    top: 26px;
    font-size: 20px;
    transform: rotate(225deg);
    -webkit-transform: rotate(225deg);
    -moz-transform: rotate(225deg);
    -ms-transform: rotate(225deg);
    -o-transform: rotate(225deg);
}

@media (max-width: 767px) {
    .summary i {
        top: 32px;
        transform: rotate(270deg);
        -webkit-transform: rotate(270deg);
        -moz-transform: rotate(270deg);
        -ms-transform: rotate(270deg);
        -o-transform: rotate(270deg);
    }
}

@media (max-width: 767px) {
    .summary {
        bottom: 0;
        right: 0;
        left: 0;
        width: 100vw;
        box-shadow: 0px -4px 4px rgba(0, 0, 0, .24);
    }
}

@media (max-width: 767px) {
    .card.final-summary .summary-details-table__line {
        display: block;
        padding: 16px 24px;
        margin: 0 -24px;
    }
}

.summary-details-table__line:not(:last-of-type) {
    border-bottom: 1px solid #D6D6D6;
}

.summary-details-table__line {
    display: flex;
    padding: 12px 0;
    font-size: 14px;
}


.summary-details-table__label {
    width: 40%;
}

@media (max-width: 767px) {
    .summary-details-table__label {
        width: 100%;
        margin-bottom: 8px;
    }
}

.summary-details-table__value {
    width: 60%;
    font-weight: 600;
}


@media (max-width: 767px) {
    .summary-details-table__value {
        width: 100%;
    }
}

.summary-details-table__value.warning {
    color: #ff4200;
}


.wizard-step {
    display: block;
    font-size: 16px;
    margin-bottom: 20px;
    white-space: nowrap;
}

.wizard-step span {
    display: inline-block;
    position: relative;
    top: 1px;
    white-space: pre-wrap;
    vertical-align: top;
}

.wizard-step .icon-arrow-next {
    display: inline-block;
    font-size: 20px;
}

@media (max-width: 767px) {
    .wizard-step .icon-arrow-next {
        position: absolute;
        right: 24px;
    }
}

.wizard-step.current-step span:not(.invalid-feedback) {
    font-weight: 500;
}

.wizard-step .invalid-feedback {
    padding-left: 45px;
    color: #F44235;
}

.wizard-step .icon-check {
    font-size: 24px;
}

.wizard-step .icon-check.active {
    color: #27B76F;
}

@media (max-width: 767px) {
    .wizard-step {
        font-size: 16px;
        margin-bottom: 0;
        padding: 17px 24px;
        border-bottom: 1px solid #D6D6D6;
        background-color: white;
    }

    .wizard-step.negative-margin {
        margin: 0 -24px;
    }
}

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

.summary-message img {
    height: 38px;
}

.summary-message h4 {
    margin: 24px 0 16px;
}

.summary-message span {
    font-size: 14px;
    line-height: 24px;
}

@media (max-width: 768px) {
    .summary-message span {
        margin-bottom: 16px;
    }

    .additional-actions {
        font-size: 14px;
    }
}


.total {
    font-size: 16px;
}


.total span {
    display: inline;
    font-weight: 600;
}

.additional-actions a {
    font-weight: 600;
}

.disclaimer {
    font-size: 13px;
    line-height: 20px;
}

.feature-card {
    padding: 24px 0;
    overflow: hidden;
    border: none;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.4);
    cursor: pointer;
}

.additional-actions.card {
    border: none;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.4);
}

@media (max-width: 767px) {
    .additional-actions.card {
        border: 1px solid #D6D6D6;
        box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.08);
    }
}

.additional-actions.card.selected-card {
    border: 1px solid #31A05F;
}


.additional-actions.card.final-summary {
    padding: 48px 40px;
}

@media (max-width: 767px) {
    .additional-actions.card.final-summary {
        padding: 0 24px;
    }


    .additional-actions.card.final-summary h5 {
        display: none;
    }
}


.dimensions {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    padding: 24px;
    text-align: left;
    width: 100%;
}

@media (max-width: 767px) {
    .dimensions {
        width: 100vw;
        margin: 0 -12px;
        padding: 24px 16px;
    }
}

.dimensions form span {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 24px;
}

.dimensions form .dimension-actions {
    width: 100%;
    text-align: right;
}

.feature-card a {
    font-size: 14px;
    color: #3E82F7;
    cursor: pointer;
}

.feature-card__price {
    font-weight: 500;
}

.feature-card__price b {
    font-weight: 500;
}

.feature-card__price span {
    white-space: pre-wrap;
    margin-right: 1rem;
}


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

.feature-card__content {
    text-align: left;
}

.feature-card__actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 16px;
}

@media (max-width: 767px) {
    .feature-card__actions {
        display: block;
        margin-top: 12px;
    }

    .feature-card__actions .feature-action {
        text-align: right;
        margin-top: 16px;
    }
}

.feature-card__image {
    height: 8rem;
    max-width: 100%;
}

.feature-card__name {
    font-size: 16px;
    font-weight: 500;
    line-height: 1.5;
    min-height: 32px;
    letter-spacing: -0.38px;
}


@media (max-width: 767px) {
    .feature-card__name {
        margin: 16px 0 8px;
        min-height: 40px;
        line-height: 20px;
    }
}

@media (max-width: 767px) {
    .product-feature-group {
        overflow: auto;
        width: 100%;
    }
}

.config-content {
    padding: 0 12px;
}

@media (max-width: 767px) {
    .config-content {
        padding: 12px 0 0 0;
        margin-right: -12px;
        margin-left: 0;
    }
}


@keyframes summary-expand {
    0% {
        width: 336px;
        height: 200px;
    }

    100% {
        width: 488px;
        height: 488px;
    }
}

@keyframes summary-expand-mobile {
    0% {
        height: 90px;
    }

    100% {
        height: calc(100vh - 170px);
    }
}

@keyframes rotate-icon {
    0% {
        transform: rotate(225deg);
        -webkit-transform: rotate(225deg);
        -moz-transform: rotate(225deg);
        -ms-transform: rotate(225deg);
        -o-transform: rotate(225deg);
    }

    50% {
        transform: rotate(315deg);
        -webkit-transform: rotate(315deg);
        -moz-transform: rotate(315deg);
        -ms-transform: rotate(315deg);
        -o-transform: rotate(315deg);
    }

    100% {
        transform: rotate(45deg);
        -webkit-transform: rotate(45deg);
        -moz-transform: rotate(45deg);
        -ms-transform: rotate(45deg);
        -o-transform: rotate(45deg);
    }
}

.wizard-modal-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100vw;
    height: 100vh;
    position: fixed;
    background-color: rgba(0, 0, 0, 0.61);
    top: 0;
    left: 0;
    z-index: 1000000;
}

.wizard-modal {
    position: relative;
    padding: 40px;
    background-color: white;
    max-width: 712px;
    max-height: 80vh;
    box-shadow: 0px 24px 24px rgba(0, 0, 0, 0.3);
    border-radius: 4px;
}

.wizard-modal p {
    line-height: 1.5;
}

.wizard-modal .close-modal {
    position: absolute;
    top: 16px;
    right: 16px;
}

.close-image-modal {
    position: absolute;
    top: 24px;
    right: 36px;
    color: white;
}

.dimensions-help .tooltip-icon {
  height: 16px;
  width: 16px;
  font-size: 16px;
  top: -1px;
  left: -4px;
}

.dimensions-help .pills-row a:first-of-type {
  margin-left: 0;
}

.feature-image {
    display: flex;
    justify-content: center;
}

.feature-image img:first-of-type {
  max-height: 160px;
}

.feature-image img:nth-of-type(2) {
  max-height: 168px;
}

@media (max-width: 767px) {
    .feature-image div {
        justify-content: flex-start;
    }

    .feature-image img:first-of-type {
      max-height: 140px;
    }

    .feature-image img:nth-of-type(2) {
      max-height: 146px;
    }

    .wizard-modal {
        max-width: calc(100% - 48px);
        padding: 32px 8px;
    }

    .wizard-modal h5 {
        padding: 0 16px;
    }

    .wizard-modal p {
        max-height: calc(80vh - 119px);
        overflow-y: scroll;
        padding: 0 16px;
    }

    .close-image-modal {
        top: 16px;
        right: 16px;
    }

    .images-modal {
        padding-bottom: 64px;
    }

    .wizard-modal-wrapper {
        padding: 0 24px;
    }

    .wizard-modal-wrapper .close-image-modal {
        top: 24px;
        right: 24px;
    }
}
