/** 상품 상세 */
div.mslens-purchase-option {
    margin: 20px 0;
}

div.purchase-option-item {
    line-height: 30px;
    display: flex;
}

div.purchase-option-item label {
    cursor: pointer;
}

div.purchase-option-item input {
    margin-top: 6px;
}

div.purchase-option-item span.gap {
    background-image: -webkit-linear-gradient(right, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 1) 50%, rgba(255, 255, 255, 0) 51%, rgba(255, 255, 255, 0) 100%), -webkit-linear-gradient(bottom, rgba(128, 128, 128, 1) 0%, rgba(128, 128, 128, 0) 8%, rgba(128, 128, 128, 0) 100%);
    -webkit-background-size: 5px 15px;
    -moz-background-size: 5px 15px;
    -ms-background-size: 5px 15px;
    -o-background-size: 5px 15px;
    background-size: 5px 15px;
    background-repeat: repeat-x;
}

div.purchase-option-item span.gap {
    flex: 1;
    margin: 0 10px;
}

.lens-purchase-button {
    width: 100%;
}

/** 렌즈 선택창 */
div.lens-selector {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999999;
    opacity: 1;
    background-color: white;
    overflow: hidden;
    display: flex;
    flex-flow: column;
}

@media only screen and (max-width: 767px) {
    div.lens-selector {
        overflow: scroll;
    }
}


div.lens-selector .ui.grid + .grid {

}

div.sp_options {
    justify-content: center;
    margin-top: 10px;
    margin-bottom: 10px;
}

div.option-product {
    cursor: pointer;
}

div.option-product.disabled {
    cursor: not-allowed;
}

div.option-product.disabled {
    opacity: 0.5;
}

div.option-product .thumbnail {
    width: 100%;
    height: 150px;
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
}

input[name=close-selector] {
    position: fixed;
    top: 0;
    right: 0;
    margin-top: 25px;
}

div.lens-selector .ui.steps .step.completed {
    cursor: w-resize;
}

div.lens-selector .ui.grid.lens-type,
div.lens-selector .ui.grid.lens-prescription {
    justify-content: center;
    max-width: 1000px;
    margin: 0 auto;
}

div.lens-selector .ui.grid.lens-type .ui.segment,
div.lens-selector .ui.grid.lens-prescription .ui.segment {
    height: 250px;
}

div.lens-selector .ui.grid.lens-type .column,
div.lens-selector .ui.grid.lens-prescription .column {
    width: 400px !important;
    cursor: pointer;
}

div.lens-selector .lens-select-step {
    flex: 1;
    align-items: center;
    padding: 50px !important;
}

div.lens-selector .lens-select-step .column:not(.disabled):hover .ui.segment {
    box-shadow: 1px 1px 1px 1px #5a8034;
}

/*div.lens-selector .ui.grid.lens-select-step {*/
/*    justify-content: center;*/
/*    max-width: 1000px;*/
/*    margin: 0 auto;*/
/*}*/

/*div.lens-selector .ui.grid.lens-select-step .ui.segment {*/
/*    height: 250px;*/
/*}*/

/*div.lens-selector .ui.grid.lens-select-step .column {*/
/*    width: 400px !important;*/
/*    cursor: pointer;*/
/*}*/

div.lens-selector div.review-select {
    height: 100px;
    width: 100%;
    background-color: #f9f9f9;
    display: flex;
}

div.lens-selector div.review-select > div {
    flex: 1;
}

div.lens-selector div.review-select > div.purchase {
    display: flex;
    align-items: center;
    flex-flow: row-reverse;
}

div.lens-selector div.review-select > div.purchase input {
    margin-bottom: 0;
}

div.lens-selector div.review-select > div.purchase input:disabled {
    opacity: 0.5 !important;
    cursor: not-allowed;
}

div.lens-selector div.review-select > div.option {
    text-align: center;
    display: flex;
    flex-flow: column;
    justify-content: center;
}

div.lens-selector div.review-select > div.option span.product {
    font-size: 16px;
    margin-bottom: 10px;
}

div.lens-selector div.review-select > div.option span.amount {
    font-size: 20px;
}

div.lens-selector .header,
div.lens-selector .footer {
    height: 80px;
    padding: 20px;
    min-height: 80px;
}

div.lens-selector .header .logo {
    height: 100%;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    margin: auto;
    background-image: url("https://www.lensgogo.com/wp-content/uploads/2019/08/logo_03.png?resolution=2560,1");
}

.ui.icon.header i.go-back {
    font-size: 20px;
    float: left;
    cursor: pointer;
}

.ui.icon.header p {
    padding-left: 50px;
    padding-right: 50px;
}

div.lens-selector div.lens-prescription.detail-panel.myaccount table tbody tr.row-break td{
    padding: 2px !important;
    background-color: #fbfbfb;
}

div.lens-selector div.lens-prescription.detail-panel.myaccount table tbody tr.row-break:last-child{
    display: none;
}

div.lens-selector div.lens-prescription.detail-panel.myaccount table tfoot.full-width {
    display: table-footer-group;
}

div.lens-selector div.lens-prescription.detail-panel.myaccount table tfoot .icon.button {
    background-color: #2185d0 !important;
    color: #fff !important;
}

div.lens-selector div.lens-prescription.detail-panel.myaccount table td.selector {
    width: 30px;
    text-align: center;
}

div.lens-selector div.lens-prescription.detail-panel.myaccount table td.selector input {
    margin: 0;
    cursor: pointer;
}






div.lens-selector .header.lens-top-header {
    border-bottom: 1px solid #e8e8e8;
}

div.lens-selector .header.lens-top-header .logo {
    background-size: 165px;
}

div.lens-selector .lens-selector-content {
    display: block;
    height: 100%;
}

div.lens-selector .lens-select-step .column:not(.disabled):hover div.ui.segment {
    box-shadow: 0 1px 14px 3px #c3c3c333;
    border: 1px solid #5e9cf5;
}

div.lens-selector .ui.grid {
    align-items: flex-start;
    padding-top: 45px !important;
}

div.lens-selector .ui.grid .description {
    width: calc(100% - 50px);
    font-size: 13px;
    margin: 10px auto 0;
}

div.lens-selector .ui.grid .column .ui.segment {
    height: auto;
    min-height: 525px;
    border: 1px solid white;
    box-shadow: 0px 1px 6px 0 rgba(34,36,38,.15);
    transition: all ease-in-out .3s;
}

div.lens-selector .ui.grid .column .ui.segment ul {
    list-style: none;
}

div.lens-selector .ui.grid .column .ui.segment ol {
    list-style-position: inside;
}

div.lens-selector .ui.grid .column .ui.segment ul li,
div.lens-selector .ui.grid .column .ui.segment ol li {
    margin-left: 0;
}

div.lens-selector .ui.grid .column .ui.segment ul ul {
    margin: 8px 0 0 10px;
}

div.lens-selector .ui.grid .column .ui.segment .header {
    font-size: 21px;
    padding: 10px 10px 20px;
    margin-bottom: 0;
}

div.lens-selector .ui.grid .column .ui.segment .header p {
    padding: 0;
    margin: 0;
}

div.lens-selector .ui.grid .column .ui.segment .header .sub_header {
    font-size: 16px;
    margin-top: 10px;
}

div.lens-selector .ui.grid.lens-type .column .ui.segment,
div.lens-selector .ui.grid.lens-prescription .column .ui.segment {
    height: auto;
    min-height: 180px;
    text-align: center;
}

.lens-pre-mobile {
    display: none;
}

@media (max-width: 767px) {
    div.lens-selector .lens-selector-content {
        height: auto;
    }

    .lens-pre-pc {
        display: none;
    }

    table.lens-pre-mobile {
        display: table;
    }

    tr.lens-pre-mobile {
        display: table-row;
    }

    div.lens-selector .header.lens-top-header {
        height: auto;
        min-height: 65px;
    }

    div.lens-selector .header.lens-top-header .logo {
        background-size: 125px;
    }

    div.lens-selector .header.lens-top-header .button {
        margin-top: 15px;
    }
}

/* Steps */
div.lens-selector .ui.steps {
    width: 100% !important;
    max-width: 1200px;
    margin: 30px auto 0;
    border: none;
}

div.lens-selector .ui.steps .step {
    display: block;
    min-height: 82px;
    padding: 0;
    background-color: transparent;
    border: none;
    text-align: center;
}

div.lens-selector .ui.steps .step:before {
    position: absolute;
    top: 0;
    left: calc(50% - 14px);
    width: 34px;
    height: 34px;
    font-size: 14px;
    line-height: 34px;
    color: rgba(0, 0, 0, .25);
    border-radius: 50%;
    background-color: #e8e8e8;
    z-index: 9;
}

div.lens-selector .ui.steps .step:after {
    content: "";
    top: 16px;
    left: calc(50% + 26px);
    width: calc(100% - 46px);
    height: 2px;
    background-color: #e8e8e8;
    border: none;
    transform: none;
}

div.lens-selector .ui.steps .step[data-step="5"]:after {
    display: none;
}

div.lens-selector .ui.steps .step .content {
    align-self: flex-start;
    width: 100%;
    max-width: calc(100% - 46px);
    margin: 46px auto 0;
}

div.lens-selector .ui.steps .step .content .description {
    font-size: 16px;
}

div.lens-selector .ui.steps .step.active:before {
    background-color: #57b6f9;
    color: #fff;
}

div.lens-selector .ui.steps .step.completed {
    opacity: 0.75;
}

div.lens-selector .ui.steps .step.completed:before,
div.lens-selector .ui.steps .step.completed:after {
    background-color: #79e6aa;
    color: #fff;
}

div.lens-selector .ui.steps .step.completed .content .title {
    color: #4acc62;
}

div.lens-selector .ui.steps .step.active .content .description,
div.lens-selector .ui.steps .step.completed .content .description {
    color: #0d3b69;
}

div.lens-selector .ui.steps .content-mobile {
    display: none;
    position: absolute;
    top: 5px;
    font-size: 18px;
}

@media (max-width: 767px) {
    div.lens-selector .lens-selector-content {
        height: auto;
    }

    div.lens-selector .ui.steps {
        position: relative;
        flex-direction: row;
        justify-content: space-evenly;
        padding: 45px 15px 0;
    }

    div.lens-selector .ui.steps .step {
        max-width: 16px;
        min-height: 34px;
    }

    div.lens-selector .ui.steps .step:before {
        content: "" !important;
        width: 16px;
        height: 16px;
        left: 0;
    }

    div.lens-selector .ui.steps .step .content {
        display: none;
    }

    .ui.steps:not(.unstackable) .step:first-child {
        padding: 0 !important;
    }

    div.lens-selector .ui.steps .step.active~.content-mobile {
        display: block;
    }

    div.lens-selector .ui.steps .step.disabled ~.content-mobile {
        display: none;
    }
}

/* Lens Seletor - Step 2 */
div.lens-selector .ui.grid.lens-prescription .ui.segment .header {
    min-height: 90px;
}

div.lens-selector .ui.grid .column[data-type="later"] .ui.segment {
    background: url('../images/lens-selector/pre-slt-2.png') 50% 44% no-repeat;
    background-size: 34px;
}

div.lens-selector .ui.grid .column[data-type="upload"] .ui.segment {
    background: url('../images/lens-selector/pre-upld-4.png') 50% 44% no-repeat;
    background-size: 34px;
}

div.lens-selector .ui.grid .column[data-type="manual"] .ui.segment {
    background: url('../images/lens-selector/pre-mnl.png') 50% 44% no-repeat;
    background-size: 34px;
}

div.lens-selector .ui.grid .column[data-type="myaccount"] .ui.segment {
    background: url('../images/lens-selector/pre-act-4.png') 50% 44% no-repeat;
    background-size: 34px;
}

/* Detail Panel */
.ui.detail-panel {
    margin: 65px auto 0;
    border: 1px solid #ececec;
    box-shadow: 0 1px 4px 2px #c3c3c333;
}

.ui.detail-panel .ui.segment .ui.header {
    padding: 20px 0 0;
    height: auto;
    min-height: 60px;
}

.ui.detail-panel .ui.segment .ui.header .title {
    line-height: 20px;
}

.lens-prescription {
    padding: 0 20px 20px;
    margin-bottom: 0;
}

/* Upload */
.ui.detail-panel.upload {
    max-width: 560px;
}

.ui.detail-panel.upload .ui.segment .ui.message {
    float: left;
    width: 100%;
}

.ui.detail-panel.upload .ui.segment .ui.upload {
    overflow: hidden;
    background-color: transparent;
}

.ui.detail-panel.upload .ui.segment .ui.upload .upload-file {
    max-width: 500px;
    padding: 70px 20px;
    margin: 0 auto;
    text-align: center;
    border: 4px dotted #dfdfdf;
    border-radius: 10px;
}

.ui.detail-panel.upload .ui.segment .ui.upload .upload-file .upload-file-field {
    margin: 12px 0 18px;
}

.ui.detail-panel.upload .ui.segment .ui.upload .upload-file input {
    padding: 6px 14px;
    cursor: pointer;
}

.ui.detail-panel.upload .ui.segment .ui.upload .description {
    text-align: center;
}

.ui.detail-panel.upload .ui.segment .ui.upload .ui.upload.button {
    width: 100%;
    max-width: 500px;
    margin-top: 30px;
    color: white;
    background-color: #3a9be4;
}

@media (max-width: 767px) {
    .ui.detail-panel.upload {
        max-width: 100%;
    }
}

/* Manual */
.ui.detail-panel.manual {
    max-width: 800px;
}

table.lens-prescription {
    padding: 0;
}

.lens-prescription tr th,
.lens-prescription tr td {
    font-size: 14px;
    font-weight: 400;
    border-bottom: 0;
    text-transform: none;
}

.lens-prescription tr td select {
    height: 32px;
    line-height: 32px;
    margin: 0;
    box-shadow: none;
}

.lens-prescription tr td .button {
    width: 80px;
    font-size: 14px;
    background-color: #3a9be4;
    border-radius: 4px;
    margin: 0;
}

.lens-prescription tr td.right-pd {
    padding-right: .5em;
}

.lens-prescription tr.add-info-header td {
    padding: 25px 0 0;
}

.lens-prescription tr td.near-pd {
    position: relative;
}

.lens-prescription tr td.near-pd:before {
    content: "";
    position: absolute;
    top: 7px;
    left: -1px;
    width: 1px;
    height: calc(100% - 14px);
    background-color: #ddd;
}

.lens-prescription tr td.near-pd select {
    height: 92px;
}

/* OPtions Selector - Step 3, 4, 5 */
div.lens-selector .ui.grid.sp_options {
    max-width: 1200px;
    margin: 0 auto;
}

div.lens-selector .ui.grid.sp_options .option-product {
    max-width: 275px;
    width: 100%;
}

div.lens-selector .ui.grid.sp_options .ui.segment .header {
    font-weight: 400;
}

div.lens-selector .ui.grid.sp_options .field {
    text-align: center;
}

div.lens-selector .ui.grid .more-info-mobile {
    position: absolute;
    display: none;
    right: 15px;
    bottom: 15px;
    text-decoration: underline;
    cursor: pointer;
    font-size: 1.4em;
}

@media (max-width: 767px) {
    div.lens-selector .ui.grid.sp_options .option-product {
        max-width: 100%;
    }
}

/* Lens Selector - My account */
.ui.detail-panel.myaccount {
    max-width: 800px;
}

.ui.detail-panel.myaccount .ui.segment {
    padding-bottom: 0;
}

.ui.detail-panel.myaccount table tr td.selector {
    background-color: transparent !important;
}

@media (max-width: 767px) {
    .lens-prescription.myaccount .table.lens-pre-mobile tbody {
        display: table-row-group !important;
    }

    .lens-prescription.myaccount .table.lens-pre-mobile thead {
        display: table-header-group !important;
    }

    .lens-prescription.myaccount .table.lens-pre-mobile tr {
        display: table-row !important;
    }

    .lens-prescription.myaccount .table.lens-pre-mobile tr th,
    .lens-prescription.myaccount .table.lens-pre-mobile tr td {
        display: table-cell !important;
        padding: 0.7em !important;
    }

    .lens-prescription.myaccount .table.lens-pre-mobile tr.lens-pre-pc {
        display: none !important;
    }

    .ui.detail-panel.myaccount table tr td.selector {
        text-align: right !important;
    }

    .ui.detail-panel.myaccount table tr td.selector input,
    .ui.detail-panel.myaccount table tr td.selector label {
        width: 18px;
        height: 18px;
        margin: 0;
        padding: 0;
    }

    .ui.detail-panel.myaccount table tr td.selector input {
        position: absolute;
        opacity: 0;
        right: 25px;
        cursor: pointer;
        z-index: 2;
    }

    .ui.detail-panel.myaccount table tr td.selector label {
        position: relative;
        display: inline-block;
        border: 1px solid #56b6f9;
        border-radius: 50%;
        cursor: pointer;
    }

    .ui.detail-panel.myaccount table tr td.selector label:before {
        content: "";
        position: absolute;
        display: none;
        top: 3px;
        left: 5px;
        width: 6px;
        height: 8px;
        border-top: 1px solid #56b6f9;
        border-left: 1px solid #56b6f9;
        transform: rotate(-135deg);
    }

    .ui.detail-panel.myaccount table tr td.selector input[type=radio]:checked+label:before {
        display: block;
    }
}

/* My account - prescriptions list */
div.mslens-prescriptions-wrapper div.header {
    z-index: 1;
}

div.mslens-prescriptions-wrapper div.header a {
    font-size: 13px;
    background-color: #3a9be4;
}

div.mslens-list table.prescription-list td.action a,
div.mslens-list table.prescription-list td.action input {
    background-color: #3a9be4;
}

div.mslens-list table.prescription-list tr:nth-child(even) {
    background-color: transparent;
}

/* Lens Selector - Mobile */
@media (max-width: 767px) {
    div.lens-selector .ui.grid {
        padding: 10px 20px 50px !important;
    }

    div.lens-selector .ui.grid .field {
        width: 100%;
    }

    div.lens-selector .ui.grid .column .ui.segment {
        display: flex;
        max-width: 400px;
        min-height: 110px;
        flex-wrap: wrap;
        align-content: center;
        justify-content: flex-end;
        padding: 15px;
        margin: 0 auto;
    }

    div.lens-selector .ui.grid .column .ui.segment .header {
        height: auto;
        min-height: auto;
        font-size: 18px;
        text-align: left;
        padding: 0 !important;
        margin: 0 0 5px !important;
    }

    div.lens-selector .ui.grid .column .ui.segment .header .sub_header {
        position: absolute;
        top: calc(50% + 7px);
        right: 0;
        font-size: 14px;
        color: #4fa7e4;
    }

    div.lens-selector .ui.grid.lens-type .column .ui.segment,
    div.lens-selector .ui.grid.lens-prescription .column .ui.segment {
        min-height: 110px;
        text-align: left;
    }

    div.lens-selector .ui.grid.lens-prescription .column .ui.segment {
        background-position: 95% 50% !important;
        background-size: 27px !important;
    }

    div.lens-prescription .ui.grid .description,
    div.lens-selector .ui.grid .description {
        width: calc(100% - 70px);
        font-size: 13px;
        margin: 0 auto 0 0;
    }

    div.lens-selector .ui.grid.sp_options .column .ui.segment .header {
        width: 60%;
    }

    div.lens-selector .ui.grid.sp_options .field {
        position: absolute;
        display: flex;
        top: 0;
        left: 25px;
        height: 100%;
        max-width: 25%;
        align-items: center;
    }

    div.option-product .thumbnail {
        height: 110px;
    }
}

/* Detail Panel - Mobile */
@media (max-width: 767px) {
    .ui.detail-panel.upload .ui.segment .ui.header {
        height: auto;
        min-height: 50px;
        padding: 20px 20px 10px;
    }

    .ui.detail-panel.upload,
    .ui.detail-panel.manual,
    .ui.detail-panel.myaccount {
        margin: 20px;
        padding: 0;
    }

    .ui.detail-panel.upload .ui.segment .ui.upload .upload-file {
        width: 100%;
        padding: 30px 20px;
        margin-bottom: 20px;
    }

    .ui.detail-panel.upload .ui.segment .ui.upload .upload-file img {
        width: 48px;
    }

    .ui.detail-panel.upload .ui.segment .ui.upload.form {
        padding: 0 10px 10px;
    }

    .ui.detail-panel.upload .ui.segment .ui.upload .ui.upload.button {
        width: 100%;
        margin-top: 4px;
    }

    table.lens-prescription {
        padding: 0 10px 10px;
    }

    .lens-prescription tr td.lp-title {
        width: 70px;
    }

    .lens-prescription tr td .button {
        width: 100%;
    }

    .lens-prescription tr td textarea {
        min-height: 80px;
    }

    .lens-prescription tbody tr th {
        width: 70px;
        letter-spacing: 0;
    }
}

/* More info - Mobile */
@media (max-width: 767px) {
    div.lens-selector .ui.grid .description.more-info {
        display: none;
    }

    div.lens-selector .ui.grid .more-info-mobile {
        display: block;
        z-index: 31;
    }

    div.lens-selector .ui.grid .column .ui.segment.open .more-info {
        display: block;
        margin-right: 0;
        font-size: 12px;
        line-height: 1.4;
        width: 51%;
        padding-left: 1%;
        padding-bottom: 10px;
    }
}

/* Footer Button */
div.lens-selector div.review-select {
    margin-top: 20px;
}

@media (max-width: 767px) {
    div.lens-selector div.review-select {
        height: auto !important;
        flex-wrap: wrap;
        min-height: auto;
    }

    div.lens-selector div.review-select.footer > div.option {
        flex: 0 0 100%;
        text-align: right;
        padding-right: 6px;
    }

    div.lens-selector div.review-select.footer > div.purchase {
        margin-top: 20px;
    }

    div.lens-selector div.review-select.footer > div.purchase input {
        margin: 0 6px;
    }
}

/* My account - prescriptions list - Mobile */
@media (max-width: 767px) {
    div.mslens-list table.prescription-list tr.account-action td {
        padding: .5em 8px 35px 8px;
        border-bottom: none;
    }

    div.mslens-list table.prescription-list tr.account-action a,
    div.mslens-list table.prescription-list tr.account-action input {
        width: calc(50% - 10px);
        float: left;
        margin: 5px !important;
    }

    .woocommerce-account .lens-prescription tr td .button {
        margin-top: 12px;
    }

    .woocommerce-account table.lens-pre-mobile {
        padding-top: 20px;
    }
}

/* Fixed Bottom Section */
div.lens-selector .lens-selector-content {
    padding-bottom: 120px;
}

div.lens-selector div.review-select {
    position: fixed;
    bottom: 0;
    z-index: 99;
    box-shadow: 0px 0px 4px 0 rgba(34,36,38,.15);
}


/* Select Remove border radius */
.lens-prescription tr td select,
.lens-prescription tr td textarea {
    border-radius: 0;
    background-color: transparent;
    background-size: 15px;
}

.lens-prescription tr td select {
    background-size: 15px;
}
