/**
 * Image Selector Control CSS.
 */

.elementor-label-block .elementor-control-image-selector-wrapper {
    width: 100%;
    margin-top: 5px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

.elementor-control-image-selector-wrapper input[type=radio] {
    display: none;
}

.elementor-control-image-selector-wrapper .image-selector-inner {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 calc(33.33% - 4px);
    flex: 0 0 calc(33.33% - 4px);
    max-width: calc(33.33% - 4px);
    margin: 0 2px 4px;
}

.elementor-control-image-selector-wrapper .elementor-image-selector-label {
    display: inline-block;
    border: 3px solid rgba(164, 175, 184, 0.6);
    cursor: pointer;
    position: relative;
    background: #fff;
    will-change: transform;
    -webkit-transition: -webkit-transform 0.3s;
    transition: -webkit-transform 0.3s;
    transition: transform 0.3s;
    transition: transform 0.3s, -webkit-transform 0.3s;
    overflow: hidden;
}

.elementor-control-image-selector-wrapper .elementor-image-selector-label:hover {
    -webkit-transform: translateY(-3px);
    -ms-transform: translateY(-3px);
    transform: translateY(-3px);
}

.elementor-control-image-selector-wrapper input:checked + .elementor-image-selector-label {
    border: 3px solid #93003c;
}

.elementor-control-image-selector-wrapper .elementor-image-selector-label.is-pro {
    pointer-events: none;
    cursor: not-allowed;
}

.elementor-control.rttm-pro-field::before,
.elementor-control-image-selector-wrapper .elementor-image-selector-label.is-pro::before {
    content: "";
    position: absolute;
    left: -4px;
    top: -4px;
    width: calc(100% + 8px);
    height: calc(100% + 8px);
    background: rgba(255, 255, 255, 0.4);
    cursor: not-allowed;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    pointer-events: none;
    z-index: 99;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
}

.elementor-control.rttm-pro-field::before {
    width: calc(100% - 4px);
    height: calc(100% - 4px);
    top: 0;
    background: rgba(255, 255, 255, 0.2);
}

.elementor-control.elementor-control-rttm_el_filter_promo::before {
    content: "";
}

.elementor-control.rttm-pro-field.is-pro::before {
    background: rgba(255, 255, 255, 0.8);
}

.elementor-control.rttm-pro-field {
    overflow: hidden;
}

.elementor-control.rttm-pro-field > .elementor-control-content {
    pointer-events: none;
}

.elementor-control.rttm-pro-field > .elementor-control-content > .elementor-control-field > .elementor-control-title {
    padding-left: 12px;
}

.elementor-control.rttm-pro-field > .elementor-control-content::after {
    content: "PRO";
    font-family: Roboto, Arial, Helvetica, Verdana, sans-serif;
    position: absolute;
    top: 6px;
    left: -35px;
    color: #fff;
    z-index: 100;
    width: 100px;
    height: 20px;
    line-height: 20px;
    text-align: center;
    background: #93003c;
    font-weight: 500;
    -webkit-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    transform: rotate(-45deg);
    font-size: 10px;
}

.elementor-control-image-selector-wrapper .elementor-image-selector-label.is-pro::after {
    content: "PRO";
    font-family: Roboto, Arial, Helvetica, Verdana, sans-serif;
    position: absolute;
    top: 2px;
    left: -40px;
    color: #fff;
    z-index: 100;
    width: 100px;
    height: 15px;
    line-height: 15px;
    text-align: center;
    background: #93003c;
    font-weight: 500;
    -webkit-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    transform: rotate(-45deg);
    font-size: 9px;
}

.rttm-pro-field.is-pro::after,
.rttm-pro.is-pro {
    -webkit-animation: rttm-shake 0.82s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
    animation: rttm-shake 0.82s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-perspective: 1000px;
    perspective: 1000px;
}

@-webkit-keyframes rttm-shake {

    10%,90% {
        -webkit-transform: translate3d(-1px, 0, 0);
        transform: translate3d(-1px, 0, 0);
    }

    20%,80% {
        -webkit-transform: translate3d(2px, 0, 0);
        transform: translate3d(2px, 0, 0);
    }

    30%,50%,70% {
        -webkit-transform: translate3d(-4px, 0, 0);
        transform: translate3d(-4px, 0, 0);
    }

    40%,60% {
        -webkit-transform: translate3d(4px, 0, 0);
        transform: translate3d(4px, 0, 0);
    }
}

@keyframes rttm-shake {

    10%,90% {
        -webkit-transform: translate3d(-1px, 0, 0);
        transform: translate3d(-1px, 0, 0);
    }

    20%,80% {
        -webkit-transform: translate3d(2px, 0, 0);
        transform: translate3d(2px, 0, 0);
    }

    30%,50%,70% {
        -webkit-transform: translate3d(-4px, 0, 0);
        transform: translate3d(-4px, 0, 0);
    }

    40%,60% {
        -webkit-transform: translate3d(4px, 0, 0);
        transform: translate3d(4px, 0, 0);
    }
}

