#page{
    background-color: #f5f5f5;
}
#content{
    margin-top: 20px;
}
@media (min-width: 1200px){
    .container {
        width: 90%;
    }
}

/* Nav */
#afdn_configurator .display-none {
    display: none;
}
#afdn_configurator .step-nav {
    margin-top: 40px;
    margin-bottom: 40px;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin: 10px;
}
#afdn_configurator .step-nav2 {
    display: flex;
    justify-content: right;
}
@media (max-width: 992px) {
    #afdn_configurator .step-nav2 {
        justify-content: center;
    }
}
#afdn_configurator .step-nav2 div.step-button {
    background-color: #C9423B;
    color: white;
    padding: 5px 10px;
    cursor: pointer;
    width: 300px;
    text-align: center;
    margin-left: 1px;;
}
#afdn_configurator .step-nav2 div.step-button:hover {
    opacity: .8;
}
#afdn_configurator .step-nav2 div.step-button:first-child {
    border-top-left-radius: 20px;
}
#afdn_configurator .step-nav2 div.step-button:last-child {
    border-top-right-radius: 20px;
}
#afdn_configurator .step-nav div.step-prev,
#afdn_configurator .step-nav div.step-next {
    background-color: #C9423B;
    color: white;
    padding: 5px 10px;
    border-radius: 20px;
    cursor: pointer;
    width:150px;
    text-align: center;
    margin: 10px;
}
#afdn_configurator .step-nav div.step-prev:hover,
#afdn_configurator .step-nav div.step-next:hover {
    opacity: .8!important;
}
#afdn_configurator .step-nav .step-prev.disable,
#afdn_configurator .step-nav .step-next.disable {
    cursor: default !important;
    opacity: 0!important;
}
#afdn_configurator .step-nav .step-prev.disable:hover,
#afdn_configurator .step-nav .step-next.disable:hover {
    cursor: default !important;
    opacity: 0!important;
}
#afdn_configurator .step-bullets{
    display: flex;
    justify-content: center;
    align-items: center;
}
#afdn_configurator .step-bullet{
    background-color: #C9423B;
    border-radius: 50%;
    cursor: pointer;
    margin: 0 5px;
    height: 10px;
    width: 10px;
}
#afdn_configurator [data-title]:hover:after {
    opacity: 1;
    transition: all 0.1s ease 0.5s;
    visibility: visible;
}

#afdn_configurator [data-title]:after {
    content: attr(data-title);
    background-color: #C9423B;
    color: white;
    padding: 5px 10px;
    white-space: nowrap;
    opacity: 0;
    position: absolute;
    margin-top:40px;
    left:-50%;
    border: none;
    border-radius: 10px;
    z-index: 99999;
    visibility: hidden;
    /*margin-left: calc(100% - 300px);*/
}

#afdn_configurator [data-title] {
    position: relative;
}

/* Show/hide step */
#afdn_configurator div.step:not([data-step="1"]) {
    display: none;
}

/* Global Styling */
#afdn_configurator .step{
    background-color: #DBDBDB;
    /* border: solid 2px #C9423B; */
    border-radius: 20px 0 20px 20px;
    color:black;
    font-family: roboto, sans-serif;
    padding: 40px 0;
}
@media (max-width: 992px) {
    #afdn_configurator .step {
        border-radius: 20px;
    }
}
@media (max-width: 770px) {
    #afdn_configurator .step {
        border-radius: 0;
    }
}

/* Text Styling */
#afdn_configurator h1{
    display: none;
}
#afdn_configurator h2 {
    text-align: center;
    font-size: 30px;
    color:black !important;
}
#afdn_configurator .topBefore h2 {
    font-size: 25px;
}
#afdn_configurator .topBefore span {
    font-size: 25px;
}
#afdn_configurator .topBefore h3 {
    font-size: 25px;
    color: #C9423B!important;
}
#afdn_configurator .topBefore {
    position: absolute;
    margin-top: -110px;
    margin-left: 20px;
    display: inline-flex;
    align-items: baseline;
}
#afdn_configurator h3{
    display: flex;
    justify-content: center;
    font-size: 20px;
    color:black!important;
}
@media (max-width: 1310px) {
    #afdn_configurator .topBefore {
        flex-direction: column;
    }
    #afdn_configurator .topBefore span {
        display: none;
    }
    #afdn_configurator .topBefore h2,
    #afdn_configurator .topBefore h3 {
        padding: 0;
        margin: 0;
    }
}
@media (max-width: 992px) {
    #afdn_configurator .topBefore {
        margin-top: -150px;
        margin-left: 0;
        left: 0;
        width: 100%;
    }
    #afdn_configurator .topBefore h2,
    #afdn_configurator .topBefore h3 {
        width: 100%;
        text-align: center;
    }
}
@media (max-width: 510px) {
    #afdn_configurator .topBefore {
        margin-top: -175px;
    }
}
#afdn_configurator h4{
    display: flex;
    justify-content: center;
    text-align: center;
    font-size: 16px;
    color:black!important;
}
#afdn_configurator p{
    display: flex;
    justify-content: center;
    font-size: 16px;
    color:black!important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}
#afdn_configurator > div.step > p{
    padding: 10px;
    font-size: 25px;
}

/* Card Styling */
#afdn_configurator .cards{
    margin-top:40px;
    margin-bottom:40px;
    display:flex;
    justify-content: space-around;
    flex-flow: row wrap;
}
#afdn_configurator .cards .card{
    background-color: #ededed;
    border:solid 1px #181818;
    padding: 10px 20px;
    border-radius: 30px;
}
#afdn_configurator .cards .card.step-button{
    cursor:pointer;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    font-size: 25px;
    font-weight: bold;
    min-width: 120px;
    text-align: center;
}
#afdn_configurator .cards .card.step-button:hover {
    opacity: .8;
}
#afdn_configurator .cards .card.selected{
    background-color:#181818;
    color:white;
}
#afdn_configurator .cards .card.step-button img {
    /* filter: invert(0%) sepia(98%) saturate(7493%) hue-rotate(16deg) brightness(89%) contrast(99%); */
    height: 60px;
    width: 60px;
    margin-top: -14px;
    margin-right: 10px;
}
#afdn_configurator .cards .card.step-button.selected img {
    filter: invert(100%) sepia(100%) saturate(0%) hue-rotate(143deg) brightness(106%) contrast(101%);
}
#afdn_configurator img.qs1 {
    width: 100px;
    margin-left: calc(100% - 130px);
    display: block;
    position: relative;
}
#afdn_configurator span.qs2 {
    display: flex;
    justify-content: end;
    margin-right: 30px;
}
#afdn_configurator span.qs2 img {
    width: 100px;
}
@media (max-width: 992px) {
    #afdn_configurator img.qs1 {
        margin-left: calc(50% - 50px);
    }
    #afdn_configurator span.qs2 {
        justify-content: center;
        margin-right: 0px;
    }
}
#afdn_configurator .cards .step-product{
    margin: 10px;
    text-align: center;
    /* height: fit-content; */
    border: none;
}

#afdn_configurator .cards .product-text{
    max-width: 300px;
    margin: auto;
    text-align: center;
}

#afdn_configurator .cards .step-product .attachment-woocommerce_thumbnail{
    border-radius: 20px;
    margin-top: 5px;
}

#afdn_configurator .cards .step-product input {
    margin: auto;
    width: 80px;
    border: none;
    color: black;
    border-radius: 10px;
    height: 40px;
    text-align: center;
}
/* Chrome, Safari, Edge, Opera */
#afdn_configurator .cards .step-product input::-webkit-outer-spin-button,
#afdn_configurator .cards .step-product input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
#afdn_configurator .cards .step-product input[type=number] {
  -moz-appearance: textfield;
}
#afdn_configurator .cards .step-product .product-selector .product-number-plus{
    background-color: #C9423B;
    color: white;
    padding: 0px 8px;
    position: absolute;
    margin-left: -26px;
    border-radius: 0 10px 10px 0;
    line-height: 38px;
    cursor: pointer;
    margin-top: 1px;
}
#afdn_configurator .cards .step-product .product-selector .product-number-minus{
    background-color: #C9423B;
    color: white;
    padding: 0px 10px;
    position: absolute;
    border-radius: 10px 0 0 10px;
    line-height: 38px;
    cursor: pointer;
    margin-left: 1px;
    margin-top: 1px;
}

#afdn_configurator .cards .step-product .product-selector{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 30px;
}

#afdn_configurator .cards .step-product .product-color,
#afdn_configurator .step-summary .product-color{
    border: 1px solid lightgray;
    border-radius: 22px;
    display: inline-block;
    height: 42px;
    width: 42px;
    text-align: center;
}
#afdn_configurator .cards .step-product .product-color{
    margin-left: -26px;
    cursor: pointer;
    border: 5px double lightgray;
}
#afdn_configurator .cards .step-product .product-color:hover {
    opacity: .8;
}

#afdn_configurator .cards .step-product .product-color.selected{
    /*border-color: #C9423B;
    border-width: 4px;*/
    background-position: center;
    background-image: var(--wvs-tick);
    background-size: 70%;
    background-repeat: no-repeat;
}

#afdn_configurator .cards .step-product .product-color.white,
#afdn_configurator .step-summary .product-color.white{
    background-color: white;
}

#afdn_configurator .cards .step-product .product-color.white{
    margin-right: 5px;
}

#afdn_configurator .cards .step-product .product-color.black,
#afdn_configurator .step-summary .product-color.black{
    background-color: black;
}

#afdn_configurator .cards .step-product .product-color.black{
    margin-right: 5px;
}

#afdn_configurator .cards .step-product .product-add,
#afdn_configurator .basket-add {
    background-color: #C9423B;
    color: white;
    padding: 10px 20px;
    border-radius: 20px;
    cursor: pointer;
    text-align: center;
    margin: 8px 18px 8px;
    fill: white;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    line-height: normal;
    text-align: center;
}
#afdn_configurator .cards .step-product .product-add {
    display:none;
}
#afdn_configurator .basket-add {
    margin-top: 40px;
}
#afdn_configurator .cards .step-product .product-add:hover,
#afdn_configurator .basket-add:hover {
    opacity: .8;
}
#afdn_configurator .cards .step-product .product-add .sydney-svg-icon,
#afdn_configurator .basket-add .sydney-svg-icon {
    margin-right: 10px;
}

#afdn_configurator .cards .step-product .product-plus {
    fill: black;
    cursor: pointer;
    text-transform: uppercase;
    font-weight: bold;
    border-radius: 20px;
    background-color: #DBDBDB;
    height: 38px;
    width: 180px;
    margin: auto;
    margin-top: 10px;
}
#afdn_configurator .cards .step-product .product-plus:hover {
    opacity: .8;
}

#afdn_configurator .cards .step-product .product-plus span {
    margin-top: -10px;
    display: block;
}
#afdn_configurator .cards .step-product .product-plus.open span {
    margin-top: -20px;
    margin-bottom: 0px;
    display: block;
    rotate: 180deg;
}

#afdn_configurator .cards .step-product .product-description {
    display: none;
}
#afdn_configurator .cards .step-product .product-description.open {
    display: flex;
    max-width: 400px;
    margin: auto;
    margin-top: 10px;
    flex-flow: column;
}
#afdn_configurator .step-summary{
    text-align: center;
}
#afdn_configurator .step-summary table{
    table-layout: fixed;
    background-color: rgb(237, 237, 237);
    border-radius: 20px;
}
#afdn_configurator .step-summary thead{
    text-transform: uppercase;
}
#afdn_configurator .step-summary th,
#afdn_configurator .step-summary td{
    border: none;
    border-bottom: 1px solid lightgray;
}
#afdn_configurator .step-summary table tr:last-child{
    font-weight: bold;
    text-transform: uppercase;
}
#afdn_configurator .step-summary table tr:last-child td{
    border-bottom: none;
}
#afdn_configurator .step-summary .summary-products{
    padding: 0 20px;
}
#afdn_configurator .step-summary .summary-products img{
    border-radius: 20px;
}