/**
 * Copyright © 2016 Magento. All rights reserved.
 * See COPYING.txt for license details.
 */

.swatch-attribute-label {
    color: black;
    font-family: 'Oswald', sans-serif;
    font-size: 16px;
    line-height: 24px;
    position: relative;
    font-weight: normal;
    display: inline-block;
    margin: 0 0 5px;
    text-transform: uppercase;
}

.swatch-attribute-label.required {
    padding-right: 10px;
}

.swatch-attribute-label[data-required="1"]:after {
    content: '*';
    color: red;
    position: absolute;
    right: -11px;
    top: -2px;
    font-weight: bold;
    font-size: 1em;
}

.swatch-attribute-selected-option {
    display: none;
}

.swatch-attribute-options {
    height: 35px;
}

.swatch-option {
    float: left;
    width: 30px;
    height: 30px;
    margin: 5px 6px 0 0;
    text-align: center;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    text-overflow: ellipsis;
    border: 2px solid #FFF;
    border-radius: 50%;
}

.swatch-option span {
    display: block;
    width: 100%;
    height: 100%;
    border: 2px solid #D8D8D8;
    border-radius: 50%;

}

.swatch-option.text {
    background: #F2F2F2;
    color: #7F7F7F;
    font-size: 12px;
    font-weight: 700;
    line-height: 20px;
    padding: 4px 8px;
    min-width: 22px;
    margin-right: 7px;
}

.swatch-option.selected {
    position: relative;
    color: #333;
    border-color: white;
}

.swatch-option.selected {
    border: 2px solid #EF4123;
}

.swatch-option.selected span {
    border-color: #FFF;
}

.clearfix:after {
    content: " "; /* Older browser do not support empty content */
    visibility: hidden;
    display: block;
    height: 0;
    clear: both;
}

.swatch-attribute.size .swatch-option,
.swatch-attribute.manufacturer .swatch-option {
    background: rgb(240, 240, 240);
    color: rgb(148, 148, 148);
}

.swatch-attribute.size .swatch-option.selected,
.swatch-attribute.manufacturer .swatch-option.selected {
    color: black;
    background: #fff;
    border: 1px solid #fff;
}

.swatch-option.disabled {
    position: relative;
}
.swatch-option.disabled:before {
    width: 30px;
    height: 30px;
    top: 0;
    left: 0;
    position: absolute;
    content: "";
    background-image: url('../images/kreska.svg');
    background-position: 5px 3px;
    background-repeat: no-repeat;
}
.swatch-option.disabled:after {
    width: 30px;
    height: 30px;
    top: 0;
    left: 0;
    position: absolute;
    content: "";
    background-color: #D8D8D8;
    opacity: .3;
}

.swatch-option-tooltip {
    max-width: 280px;
    width: 100%;
    max-height: 100%;
    min-height: 20px;
    min-width: 20px;
    position: absolute;
    padding: 10px;
    color: rgb(148, 148, 148);
    background-color: #F4F4F4;
    display: none;
    z-index: 999;
    text-align: center;
    border-radius: 20px;
}
.swatch-option-tooltip .disabled-info{
    display: none;
}
.swatch-option-tooltip.disabled .disabled-info{
    display: block;
    margin-top: 15px;
    color: #EF4123;
    font-size: 12px;
    background: url(../images/info.svg) 0 0 no-repeat;
    padding-left: 30px;
    line-height: 1.5;
    font-size: 12px;
    font-weight: bold;
    text-align: left;
    font-family: 'Lato';
    text-transform: none;
}

.swatch-option-tooltip div {
    display: table-cell;
    vertical-align: middle;
}

.swatch-option-tooltip .corner,
.swatch-option-tooltip-layered .corner {
    left: 40%;
    position: absolute;
    bottom: 0;
    height: 8px;
}

.swatch-option-tooltip .image {
    border-radius: 50%;
    -moz-border-radius: 50%;
    -webkit-border-radius: 50%;
}

.swatch-option-tooltip .image,
.swatch-option-tooltip-layered .image {
    height: 140px;
    width: 140px;
    margin: 0 auto;
}

.swatch-option-tooltip .title {
    max-width: 120px;
    min-height: 20px;
    max-height: 200px;
    font-family: 'Oswald', sans-serif;
    font-size: 16px;
    line-height: 24px;
    text-transform: uppercase;
    color: black;
    overflow: hidden;
    padding-left: 10px;
    text-align: left;
    word-wrap: break-word;
}

.swatch-option-tooltip.tooltip-big {
    max-width: 500px;
    padding: 20px;
}

.swatch-option-tooltip.tooltip-big .image {
    height: 260px;
    width: 260px;
    border-radius: 50%;
    -moz-border-radius: 50%;
    -webkit-border-radius: 50%;
}

.swatch-option-tooltip.tooltip-big .title {
    max-width: 180px;
    max-height: 260px;
    font-size: 26px;
    line-height: 36px;
    padding-left: 20px;
}

.swatch-opt .swatch-attribute {
    border-top: 1px solid #D8D8D8;
    padding: 10px 0;
    position: relative;
}

.swatch-opt .swatch-attribute.mage-error-swatch:before {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: -2px -10px;
    border: 2px solid #EF4123;
}

.swatch-opt .swatch-attribute.mage-error-swatch .swatch-attribute-label {
    color: #EF4123;
}

.swatch-more {
    width: 30px;
    height: 30px;
    display: inline-block;
    margin: 5px 0 0;
    text-decoration: none !important;
    z-index: 1;
    box-sizing: border-box;
    position: relative;
    text-indent: -999em;
    background: url('../images/sprite_arrows.svg') 9px -81px no-repeat;
}

.swatch-more:before {
    width: 26px;
    height: 26px;
    content: '';
    border: 2px solid #D8D8D8;
    position: absolute;
    display: block;
    border-radius: 50%;
    -moz-border-radius: 50%;
    -webkit-border-radius: 50%;
    top: 2px;
    left: 2px;
}

/* Layered Features */
.swatch-option-link-layered {
    position: relative;
    margin: 0 !important;
    padding: 0 !important;
}

.swatch-option-tooltip-layered {
    width: 140px;
    position: absolute;
    background: #fff;
    color: rgb(148, 148, 148);
    border: 1px solid #adadad;
    display: none;
    z-index: 999;
    left: -47px;
}

.swatch-visual-tooltip-layered {
    height: 160px;
    top: -170px;
}

.swatch-textual-tooltip-layered {
    height: 30px;
    top: -40px;
}

.swatch-option-link-layered:hover > .swatch-option-tooltip-layered {
    display: block;
}

.swatch-attribute-options .swatch-option-tooltip-layered .title {
    width: 100%;
    height: 20px;
    position: absolute;
    bottom: -5px;
    left: 0;
    color: rgb(40, 40, 40);
    text-align: center;
    margin-bottom: 10px;
}

.swatch-option-disabled {
    outline: none !important;
    cursor: default;
    border: 0;
}

.swatch-option-disabled:after {
    content: '';
    position: absolute;
    width: 42px;
    height: 2px;
    background: red;
    transform: rotate(-30deg);
    -o-transform: rotate(-30deg);
    -moz-transform: rotate(-30deg);
    -ms-transform: rotate(-30deg);
    -webkit-transform: rotate(-30deg);
    z-index: 995;
    left: -4px;
    top: 10px;
}

/* Bugfix for Add To Cart button */
.swatch-opt-listing {
    margin-bottom: 10px;
}

.swatch-option-loading {
    content: url("../images/loader-2.gif");
}


@media only screen and (max-width: 991px) {

    .swatch-option-tooltip.tooltip-big {
        max-width: 300px;
        padding: 10px;
    }

    .swatch-option-tooltip.tooltip-big .image {
        height: 150px;
        width: 150px;
        border-radius: 50%;
        -moz-border-radius: 50%;
        -webkit-border-radius: 50%;
    }

    .swatch-option-tooltip.tooltip-big .title {
        max-width: 150px;
        max-height: 150px;
        font-size: 16px;
        line-height: 24px;
        padding-left: 10px;
    }
}