#choices-modal {
    max-width: 85vw;
    height: 85vh;
    padding: 0px;
}

#choose-lens {
    display: block;
    background: #bbf9f3;
    color: #004D40;
    width: fit-content;
    padding: 10px 17px;
}

.prescription-upload{
    display: block;
    background: rgba(56,197,175,1);
    color: #fff;
    width: fit-content;
    border-radius: 25px;
    padding: 10px 17px;
    margin-bottom: 12px;
    margin-right: 10px;
}

.prescription-upload:hover{
    background: rgba(43, 43, 43, 1);
    color: #fff;
    cursor: pointer;
}

#optionsContainer {
    margin-left: 20px;
    height: 100%;
    position: relative;
}

.choice-container {
    position: relative;
    height: 93%;
    display: flex;
    flex-direction: row;
}

#choicesContainer {
    /* margin-left: 20px; */
    margin-top: 20px;
    display: flex;
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
}

.choice-products {
    position: relative;
    height: 100%;
    overflow-y: auto;
    min-width: 430px;
    width: 430px;
}

.choice-product {
    border: 1px solid #d1d1d1;
    text-align: center;
    background: #f8f8f8;
    width: 196px;
    display: inline-block;
    vertical-align: top;
    height: 320px;
    margin: 5px;
    box-shadow: 0 1px 1px 0 rgba(85, 95, 110, 0.2);
}

.product-title {
    font-size: 12px;
    line-height: 13px;
    height: 38px;
    overflow: hidden;
    color: #555;
    margin-top: 6px;
    text-transform: capitalize;
}

.product-price {
    margin: 5px 0;
}

#optionsContainer {
    margin-left: 20px;
    display: none;
}

#choicesContainer > div {
    margin: 10px 10px;
    /* width: fit-content; */
    height: 90px;
    width: 270px;
    display: block;
    border: 1px solid #009688;
    padding: 10px 20px;
    float: left;
    /* border-radius: 10px; */
}

div#previousButton {
    position: absolute;
    /* top: 39%; */
    bottom: 7px;
    left: 10px;
    /* width: 30px; */
    background: #474747;
    text-align: center;
    padding: 5px 15px;
    border-radius: 25px;
    color: #fff;
}

.choice-details {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 15px;
}

/* .main-top{
    display: flex;
    flex-direction: row;
    height: 250px;
} */

.product-variations{
    width: 100%;
}

.variation-title{
    font-size: 16px;
}

.variation-box{
    max-height: 165px;
    overflow-y: auto;
    overflow-x: hidden;
    margin-bottom: 5px;
}

.variation-item:hover{
    background-color: rgba(56,197,175,1);
    cursor: pointer;
}

.variation-item {
    background-color: rgb(56, 134, 197);
    padding: 3px 15px;
    color: white;
    border-radius: 12px;
    margin-bottom: 5px;
    line-height: 1rem;
}

.product-header {
    display: flex;
    /* height: 40%; */
    padding-bottom: 10px;
    width: 100%;
}

.choice-details-d-none{
    display: none !important;
}

.choice-details-full-width{
    width: 100% !important;
}

.choice-details .product-image {
    width: 200px;
    height: 200px;
}

.product-image img {
    border: 1px solid #d9d9d9;
}

.product-short-details {
    width: 70%;
    padding: 0px 15px;
}

.product-details-title {
    font-size: 20px;
}

.product-details-price {
    margin: 15px 0;
    font-size: 16px;
    font-weight: bold;
}

.product-description {
    height: auto;
    padding-top: 15px;
    overflow-y: scroll;
    text-align: left;
    display: block;
    margin-bottom: 30px;
}

.button-container {
    height: 30px;
    display: block;
    position: absolute;
    bottom: 0;
    width: 95%;
    background-color: #fff;
    padding-top: 10px;
}

button.select-product.button{
    vertical-align: middle;
    cursor: pointer;
    float: right;
}

.back-to-lens{
    background-color: #555 !important;
}

.btn-selector{
    pointer-events: none;
    background-color: #7c7c7c !important;
}

.view-product-details {
    cursor: pointer;
}

.upload-prescription-text-container {
    margin-top: 30px;
    margin-bottom: 20px;
}

textarea.upload-prescription-text {
    padding: 0px 10px;
    box-sizing: border-box;
    border: 1px solid #676767;
    border-radius: 4px;
    background-color: #f8f8f8;
    font-size: 12px;
    min-width: 323px;
    min-height: 148px;
}

div#choosen-product {
    margin-bottom: 30px;
}

div#choosen-product > div > * {
    display: inline;
    margin-right: 10px;
}

div#choosen-product > div > a {
    font-weight: bold;
    font-size: 11px;
    background: #38c5af;
    color: #fff;
    padding: 1px 12px 2px 15px;
    border-radius: 10px;
}

.choosen_prescription {
    font-size: 13px;
    font-weight: 100;
}

.choosen_prescription a {
    color: #38c5af;
}

.choosen_product_name {
    font-weight: 100;
    font-size: 13px;
}

.choosen_product_cart {
    margin-top: 10px;
}

.toggle-note {
    margin-left: 4px;
    color: #38c5af;
}

.prescription-note {
    display:none;
}

.choosen_product_cart strong {
    margin-right: 5px;
}

@media only screen and (max-width: 575px) {
    #choicesContainer {
        flex-direction: column;
    }
    
    #choicesContainer > div {
        background-size: cover;
        height: 100px;
        width: calc(100% - 40px);
        max-width: 300px;
    }
    
    #choices-modal {
        max-width: 90vw;
    }
    #choices-modal.modal {
        width: 100% !important;
    }

    #choices-modal.modal a.close-modal {
        top: -1px !important;
        right: 0px !important;
        width: 20px !important;
        height: 20px !important;
    }

    .choice-container {
        position: relative;
        height: 90%;
        display: block;
    }
    .choice-products {
        position: relative;
        overflow-x: hidden;
        min-width: 100%;
        width: 100%;
        display: flex;
        overflow-y: auto;
        flex-direction: column;
        margin-left: -10px;
    }
    .choice-product{
        flex: 1 0 50%;
        height: unset;
        width: unset;
        padding-bottom: 10px;
    }
    .product-title{
        height: 26px;
    }
    .choice-details {
        display: block;
        flex-direction: unset;
        height: 100%;
        padding: 15px 15px 15px 0;
        overflow-y: auto;
    }
    .variation-box{
        max-height: unset;
    }

    span.variation-index{
        font-size: 10px;
    }    
}

