$wp: #2271b1;

body #elementor-mode-switcher {
    width: 35px;
    box-shadow: 3px 3px 10px rgba(0,0,0,.3);
    i {
        font-size: 40px;
    }
}

#elementor-panel-category-fox .elementor-element .icon:after,
#elementor-panel-category-fox_single .elementor-element .icon:after {
    content: "";
    position: absolute;
    z-index: 10;
    top: 4px;
    right: 4px;
    display: block;
    background: url(../images/foxhead-black.png) center no-repeat;
    background-size: 16px;
    width: 16px;
    height: 16px;
    border-radius: 2px;
    overflow: hidden;
}

.fox-studio-header {
    background: $wp;
    color: white;
    
    .elementor-templates-modal__header__logo__title {
        color: white;
    }
    
    .elementor-templates-modal__header__menu-area {
        display: none;
    }
    
    .elementor-templates-modal__header__logo:before {
        background: url(../images/foxhead.png) center no-repeat;
        background-size: 28px;
        width: 32px;
        height: 32px;
        content: "";
        display: block;
        margin-right: 5px;
    }
    
    .elementor-template-library-menu-item {
        padding: 12px 0;
        width: 220px;
        border-radius: 4px;
        color: white;
    }
    .elementor-template-library-menu-item.elementor-active {
        color: white;
        background: none;
        border: 1px solid white;
        background: white;
        color: #2271b1
    }
}

/**
 * list of categories
 */
.elementor-template-library-filter {
    &:after {
        clear: both;
        display: table;
        content: "";
    }
}
.elementor-template-library-filter-item {
    
    display: block;
    float: left;
    margin: 0 5px 5px 0;
    position: relative;
    
    sup {
        // border-radius: 50%;
        // width: 12px;
        height: 12px;
        text-align: center;
        position: absolute;
        z-index: 10;
        line-height: 12px;
        font-size: 10px;
        background: #fff;
        padding: 0 4px;
        color: #000;
        
        top: -3px;
        right: 2px;
    }
    
    span {
        display: block;
        background: #fff;
        color: $wp;
        border: 1px solid $wp;
        font-size: 13px;
        border-radius: 1px;
        line-height: 28px;
        padding: 0 10px;
        cursor: pointer;
        transition: all .1s;
    
        -webkit-user-select: none;
        -moz-user-select: none;
        user-select: none;
        
    }
    
    input {
        display: none;
    }
    
    &:hover {
        span {
            background: $wp;
            color: white;
        }
    }
    
    input:checked + span {
        background: $wp;
        border-color: $wp;
        color: white;
    }
}

/**
 * Search Form
 */
input.fox-studio-search-form {
    border: 1px solid #777;
    border-color: #777 !important;
    border-radius: 2px;
    background: white;
    line-height: 24px;
    padding: 0 5px;
    color: #000;
    font-size: 16px;
    
    &:focus {
        border-color: $wp !important;
        background: #fff;
    }
}

/**
 * templates
 */
.fox-studio-templates-container {
    .elementor-template-library-template-body {
        min-height: 150px;
    }
    .elementor-template-library-template-remote {
        padding: 1px;
        border-radius: 0;
        border: 1px solid #c0c0c0;
        
        &:hover {
            border-color: $wp;
            box-shadow: 0 0 20px rgba(0,0,0,.3);
        }
        
        .elementor-template-library-template-footer {
            align-items: center;
            box-shadow: 0 0 10px rgba(0,0,0,.3);
            border-top: 1px solid #ccc;
            padding: 5px !important;
        }
    }
    
    .xts-elementor-template-library-template-name {
        color: black;
        font-size: 16px;
    }
    
    .elementor-template-library-template-remote .elementor-template-library-template-insert {
        background: $wp;
        color: white;
        font-weight: 400;
        text-transform: none;
        letter-spacing: 0;
        
        padding: 0 16px;
        line-height: 28px;
        border-radius: 0;
        font-size: 16px;
        
        &:hover {
            box-shadow: 0 0 5px rgba(0,0,0,.2);
        }
        
        i {
            display: none;
        }
    }
}