html {
    overflow: visible;
}

a {
    outline: none;
}

.popup_visible .img-option-div {
    transform: translateX(0) translateY(0);
    -o-transform: translateX(0) translateY(0);
    -moz-transform: translateX(0) translateY(0);
    -webkit-transform: translateX(0) translateY(0);
}

.popup_visible .popup_background {
    opacity: 1 !important;
    background-color: #0005 !important;
    backdrop-filter: blur(10px) !important;
}

.img-option-div {
    transform: translateX(0) translateY(-40%);
    -o-transform: translateX(0) translateY(-40%);
    -moz-transform: translateX(0) translateY(-40%);
    -webkit-transform: translateX(0) translateY(-40%);

    display: none;
    /*overflow: hidden;*/
    /*background: #fff;*/
    width: 63%;
    /*padding: 31px 10px 14px;*/
    /*border-radius: 8px;*/
    text-align: center !important;
    z-index: 10000;
}

.img-option-div .close-img-option-div-container {
    height: 36px;
    position: relative;
}

.img-option-div .close-img-option-div {
    position: absolute;
    right: 0;
    top: 0;
    width: 36px;
    height: 36px;
    cursor: pointer;
    z-index: 8040;
    background-image: url(fancybox_spriteR.png);
    opacity: 0.8;
}

.img-option-div .close-img-option-div:hover {
    opacity: 1;
}

.img-option-div {
    max-width: 700px;
    margin-top: 160px;
    vertical-align: top !important;
}

.img-option-div-content {
    box-shadow: 0 0 15px #555 !important;
    background-color: #fff;
}


@media (max-width: 768px) {
    .img-option-div {
        width: 95%;
    }
}

@media (min-width: 769px) and (max-width: 1366px) {
    .img-option-div {
        width: 75%;
    }
}


.img-option-div .close {
    opacity: 1.0;
    position: relative;
    display: block;
    top: 6px;
    background: #eee;
    border: solid 1px #ddd;
    padding: 13px;
    border-radius: 27%;
    cursor: pointer;

}
.header-img-option span {
    font-size: 13px;
    color: #b97c7c;
}

.header-img-option {
    /*line-height: 21px; */
    background: #f0f0f0;
    /* padding-left: 17px; */
    /* padding-right: 17px; */
    font-size: 22px;
    color: #2b2b2b;
    text-align: left;
    padding: 13px;
}

.img-option-div .close:hover {
    background: #ddd;
}

.option {
    /*margin-top: 10px;
    margin-bottom: 0px;*/
}

.option > b {
    display: inline-block;
    margin-right: 12px;
}

.popup_options {
    float: left;
    /*width: 40%;*/
    position: relative;
    /*left: 71px;*/
}

.popup_options > div:first-child {
    /* display: block;
     float: left;
     width: 32.5%;
     text-align: right;*/
}

/*.popup_options > div:nth-child(2), .popup_options > div:nth-child(3) {*/
/*display: inline-block;*/
/*vertical-align: middle;*/
/*}*/

.popup_options input[type='radio'] {
    display: none;
}

.popup_img_options > div {
    position: relative;
    display: table-cell;
    vertical-align: middle;
    padding: 0 5px 0 0;
}

.popup_img_options > div:nth-child(3) {
    padding: 0;
    min-width: 30px;
}

.popup_img_options > div:nth-child(4) {
    display: none;
}

.popup_img_options input[type='radio'] {
    display: none !important;
}

.opt_img {
    height: 75px;
    width: 75px;
    background: #fff;
    border-radius: 50%;
    z-index: 999;
    margin-top: 4px;
    /*animation-name: opt_img_hover_anim_rev;*/
    /*animation-duration: .3s;*/
    /*animation-fill-mode: forwards;*/
}

.opt_img:hover {
    /*animation-name: opt_img_hover_anim;*/
    /*animation-duration: .3s;*/
    /*-moz-animation-name: opt_img_hover_anim;*/
    /*!*animation-duration: .3s;*!*/
    /*!*transition: all ease .3s;*!*/
    /*-webkit-animation-fill-mode: forwards; !* Safari 4.0 - 8.0 *!*/
    /*animation-fill-mode: forwards;*/
}

@keyframes opt_img_hover_anim {
    from {
        height: 28px;
        padding: 0;
    }
    to {
        margin-top: -40px;
        height: 100px;
        padding: 6px;
        position: absolute;
    }
}

@keyframes opt_img_hover_anim_rev {
    from {
        margin-top: -40px;
        height: 100px;
        padding: 6px;
        position: absolute;
    }
    to {
        margin-top: 0;
        height: 28px;
        padding: 0;
    }

}

.img_block {
    /*position: relative;*/
    display: inline-block;
    overflow: hidden;
    vertical-align: top;
    margin: 10px;
    border-top-right-radius: 60px;
    /*transition: all ease-in-out .1s;*/

}

.descr {
    display: none;
    margin-left: 116px;
    margin-top: -210px;
    background: #f3f3f3;
    height: 240px;
    width: 240px;
    -moz-box-shadow: 0 5px 5px rgba(0, 0, 0, 0.3);
    -webkit-box-shadow: 0 5px 5px rgba(0, 0, 0, 0.3);
    box-shadow: 0 5px 5px rgba(0, 0, 0, 0.3);
    border: 2px double white;
    overflow: hidden;
    border-radius: 100%;
}


.descr > img {
    width: 100%;
    height: 100%;
    max-width: 150%;
}


.cloth-label {
    text-align: right;
    right: 5px;
    float: left;
    text-transform: uppercase;
    padding-top: 22px;
}

.cloth-label > div{
    margin: 0 0 0 auto;
    text-align: center;
    max-width: 73px;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.product-options > [id^='input-option']:nth-child(3n+2) > .cloth-label {
    width: 75px;
}

.img_block label > * {
    display: block;
    text-align: center;
    cursor: pointer;
    margin: 10px;
}

.img_block label img {
    margin: 0 auto 10px auto;
    border-radius: 100%;
    opacity: 1;


}

.img_block > .label-label.popup_image_border > label img {
    padding: 4px;
    border: 1px solid #a60000;
}

.img_block > .label-label.popup_image_border {
    border: none;

}

.img_block > .label-label.popup_image_border > label > span {
    color: #a60000;
}

.img_block label {
    display: block;
    text-align: center;
    cursor: pointer;
    position: relative;
}


.img_block .awaiting-label{
    display: none;
    position: absolute;
    top: -10px;
    left: 0;
    right: 0;
    height: 130px;
    background-color: #ffffffb3;
    margin: 10px;
    border-radius: 50%;

    justify-content: center;
    align-items: center;
    color: #444;
}

.img_block.disabled .awaiting-label{
    display: flex;
}

.img_block .opt_name {
    max-width: 180px;
    color: #413739;
    font-size: 10px;
    word-wrap: break-word;
    margin: 0 auto;
}

.img_block .opt_name span {
    color: #888;
}

.sel-option {
    display: inline !important;
    font-size: 12px;
    cursor: pointer;
    text-decoration: none;
    border-bottom: dashed 1px;
}

.sel-option:hover {
    text-decoration: none;
}

.opt-button {
    display: inline-block;
    vertical-align: middle;
    /*overflow: hidden;*/
    border-radius: 50%;
    border: 1px solid #d5d5d5;
    float: left;
    height: 85px;
    width: 85px;
    text-align: center;
    cursor: pointer;
    position: relative;


}

i.fa.fa-search {
    font-size: 25px;
    color: rgba(255, 255, 255, 0.68);
    position: absolute;
    left: 30px;
    top: 30px;
}

.opt-button:hover {
    border: 1px solid #c4c4c4;

}

.opt-button b {
    color: #444;
}

.opt-button span {
    display: table-cell;
    vertical-align: middle;
    color: black;
    cursor: pointer;
    text-align: center;
    font-size: 11px;
    height: 30px;
    line-height: 40px;

    box-sizing: content-box;
    /*width:100px;*/

}

.opt-button span:nth-child(1) {
    padding: 0 11px 0 9px;
    color: #555;

}

.opt-button span:nth-child(2) {
    width: 24px;
    float: none;
    border-left: solid 1px #ccc;
    background: #e5e5e5;
    box-shadow: inset 1px 1px 0 #f2f2f2;
}

.opt-button span:nth-child(2) img {
    display: inline-block;
    margin: 0;
    float: none;
    padding: 0;
    opacity: 1;
}

.opt-button span:hover {
    /*background: #e2e2e2;*/
    box-shadow: none;
}

.opt-button span:nth-child(2):hover {
    border-left: solid 1px #c5c5c5;
    background: #ddd;
}

.img-option-span {
    /* position:relative; */
    height: 28px;
    /*margin: 0 0 0 4px;*/
}

.span-option-wrapper {
    /*margin-top: 6px; */
    /* display: inline-block; */
    /* margin-right: 6px; */
    /* width: auto; */
    /* float: left; */
    /* margin: auto; */
    height: 100%;

    position: relative;
}
.span-option-wrapper:before {
    content: '';
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50%;
    box-shadow: 0 0 5px 3px #005eb8;
    /*-webkit-animation: scaleUpTo .5s ease 1s both;*/
    /*-moz-animation: scaleUpTo .5s ease 1s both;*/

}

.span-option-wrapper.animated:before {
    -webkit-animation: highlightImageOptions 2s ease 1s both;
    -moz-animation: highlightImageOptions 2s ease 1s both;
    animation: highlightImageOptions 2s ease 1s both;
}

@-webkit-keyframes highlightImageOptions {
    0%{opacity: 0}
    20%{opacity: 1}
    40%{opacity: 0}
    60%{opacity: 1}
    100%{opacity: 0}
}
@-moz-keyframes highlightImageOptions {
    0%{opacity: 0}
    20%{opacity: 1}
    40%{opacity: 0}
    60%{opacity: 1}
    100%{opacity: 0}
}
@keyframes highlightImageOptions {
    0%{opacity: 0}
    20%{opacity: 1}
    40%{opacity: 0}
    60%{opacity: 1}
    100%{opacity: 0}
}


.btn-option-wrapper {
    float: left;
}

.popup_image_border {
    border-bottom: solid 2px;
    border-bottom-color: #a60000;

}

h4.panel-title {
    font-family: 'Play Bold', Arial, Sans-serif, serif;
    font-size: 18px;
}

.panel-heading.collapsed:hover {
    background-color: #85858538;
}

@media not screen and (min-width: 340px) {
.opt-button {
	height: 75px;
    width: 75px;

}
.opt_img {
	height: 65px;
    width: 65px;
}
}
