.page-template-bdthemes-template-manager-page .tm-main.bdt-section {
    background-color: #e8eded;
}

.bdt-template-library {
    margin-top: 25px
}

.bdt-template-library .bdt-badge {
    padding: 10px 6px;
    border-radius: 3px;
    font-size: 11px;
    line-height: 11px;
    text-transform: uppercase;
    background-color: #08aeeb;
}

.bdt-template-library .bdt-template-library-sort .bdt-select {
    padding: 0 24px 0 16px;
    color: #666;
    background-size: 24px 24px;
    font-size: 14px;
    border: 1px solid #abcfef;
}

.bdt-template-library .bdt-subnav-pill > * > :first-child {
    padding: 10px 20px
}

.bdt-template-library .bdt-sidebar-container {
    background-color: white;
    border-radius: 4px;
    padding: 15px;
    box-shadow: 0 2px 10px 0 rgba(0, 0, 0, 0.09)
}

.bdt-template-library .bdt-sidebar-container .bdt-sidebar-header {
    background: #08aeeb;
    background-image: linear-gradient(145deg, #20e2ad 0, #08aeec 100%);
    color: #fff;
    padding: 25px;
    margin: -15px -15px 15px;
    border-radius: 5px 5px 0 0
}

.bdt-template-library .bdt-sidebar-container .bdt-sidebar-header h3 {
    color: #fff;
    margin: 0 0 15px;
    font-size: 24px
}

.bdt-template-library .bdt-sidebar-container .bdt-sidebar-header p {
    font-size: 14px;
    margin: 0;
}

.bdt-template-library .bdt-sidebar-container ul{
    z-index: 1;
}
.bdt-template-library .bdt-sidebar-container ul li a {
    position: relative;
    text-decoration: none;
    font-size: 16px;
    padding: 2px;
    display: block;
    color: #08aeeb;
    outline: none
}

.bdt-template-library .bdt-sidebar-container > ul > li.bdt-parent > a > span.bdt-badge {
    right: 0px;
    background: none;
    border: 1px solid #08aeeb;
    color: #000;
}

.bdt-template-library .bdt-sidebar-container .bdt-tmpl-sub-category {
    margin-top: 15px;
}

.bdt-template-library .bdt-sidebar-container .bdt-tmpl-sub-category li a {
    font-size: 14px;
    border-top: 1px solid #0000001a;
    padding: 7px 0;
    color: #87939e;
}

.bdt-template-library .bdt-sidebar-container .bdt-tmpl-sub-category li a:hover {
    color: #616a73;
}

.bdt-template-library .bdt-sidebar-container .bdt-tmpl-sub-category li.bdt-active a {
    color: #1f2225;
}

.bdt-template-library .bdt-sidebar-container ul li.bdt-active a span.bdt-badge {
    background-color: #20e1ae;
}

.bdt-template-library .bdt-subnav {
    margin-top: 0
}

.bdt-template-library .bdt-subnav li {
    margin-bottom: 0
}

.bdt-template-library .bdt-subnav li a {
    text-decoration: none;
    color: #08aeeb;
    transition: all .3s cubic-bezier(.3, .36, .25, 1);
    border: 1px solid rgba(30, 135, 240, 0.3);
    border-radius: 3px;
    outline: none;
    font-size: 14px;
    font-weight: 500
}

.bdt-template-library .bdt-subnav li a:hover {
    background: #08aeeb;
    color: #fff
}

.bdt-template-library .bdt-subnav li.bdt-active a {
    background: #08aeeb;
    color: #fff;
    box-shadow: 0 5px 10px rgba(30, 135, 240, 0.3)
}

.bdt-template-library .bdt-subnav li.bdt-filter-free a {
    border-color: rgba(173, 200, 101, 0.3);
    color: #9bc865
}

.bdt-template-library .bdt-subnav li.bdt-filter-free a:hover {
    background: #9bc865;
    color: #fff
}

.bdt-template-library .bdt-subnav li.bdt-filter-free.bdt-active a {
    background: #9bc865;
    color: #fff;
    box-shadow: 0 5px 10px rgba(173, 200, 101, 0.3)
}

.bdt-template-library .bdt-subnav li.bdt-filter-pro a {
    border-color: rgba(255, 65, 77, 0.3);
    color: #FF414D
}

.bdt-template-library .bdt-subnav li.bdt-filter-pro a:hover {
    background: #FF414D;
    color: #fff
}

.bdt-template-library .bdt-subnav li.bdt-filter-pro.bdt-active a {
    background: #FF414D;
    color: #fff;
    box-shadow: 0 5px 10px rgba(255, 65, 77, 0.3)
}

.bdt-template-library .bdt-template-search .bdt-search-input {
    height: 40px;
    border: 1px solid rgba(255, 65, 77, 0.3);
    padding: 10px 15px;
    font-size: 14px;
    border-radius: 3px;
}

.bdt-template-library .bdt-template-search .bdt-search-input:focus {
    outline: none !important;
    box-shadow: none
}

.bdt-template-library .bdt-template-library-item {
    position: relative;
    overflow: hidden;
    border-radius: 5px;
    transition: all .3s cubic-bezier(.3, .36, .25, 1);
    background-color: #fff
}

.bdt-template-library .bdt-template-library-item .bdt-badge {
    padding: 13px 10px;
    font-weight: 700;
}

.bdt-template-library .bdt-template-library-item .bdt-badge.bdt-background-pro {
    background-color: #ef233c
}

.bdt-template-library .bdt-template-library-item .bdt-badge.bdt-background-free {
    background-color: #6dab00
}

.bdt-template-library .bdt-template-library-item.new-template:before {
    background-color: #FF414D;
    content: 'NEW';
    width: 70px;
    height: 20px;
    color: #fff;
    position: absolute;
    transform: rotate(-45deg);
    text-align: center;
    line-height: 20px;
    font-size: 9px;
    left: -20px;
    top: 4px;
    z-index: 1
}

.bdt-template-library .bdt-template-library-item .bdt-card-footer h2 {
    margin: 5px 0 5px;
    line-height: 1.2;
    color: #23282d;
    font-size: 16px;
    font-weight: 500;
}

.bdt-template-library .bdt-template-library-item .demo-template-action {
    opacity: 0;
    transform: translateY(100%);
    transition: all .3s ease
}

.bdt-template-library .bdt-template-library-item .demo-template-action > div {
    width: 50%;     
}

.bdt-template-library .bdt-template-library-item .demo-template-action .bdt-button {
    font-size: 11px;
    padding: 0 10px;
    width: 100%;
    font-weight: 700;
    text-transform: uppercase;
}


.bdt-template-library .bdt-template-library-item .demo-template-action .bdt-button-danger {
    border-radius: 4px 0 0 4px
}
.bdt-template-library .bdt-template-library-item .demo-template-action .bdt-button-primary {
    border-radius: 0 4px 4px 0;
}

.demo-template-action .bdt-button svg {
    width: 20px;
    color: #fff;
    fill: #fff;
}


.bdt-template-library .bdt-template-library-item .thumbnail {
    overflow: hidden;
    border-radius: 5px 5px 0 0
}

.bdt-template-library .bdt-template-library-item .thumbnail img {
    width: 100%
}

.bdt-template-library .bdt-template-library-item .thumbnail:before {
    content: '';
    position: absolute;
    background: rgba(0, 0, 0, 0.5);
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    transition: all .3s ease;
    opacity: 0
}

.bdt-template-library .bdt-template-library-item:hover {
    transform: translateY(-1px)
}

.bdt-template-library .bdt-template-library-item:hover.bdt-pro {
    box-shadow: 0 16px 16px rgba(255, 65, 77, 0.05)
}

.bdt-template-library .bdt-template-library-item:hover.bdt-free {
    box-shadow: 0 -1px 0 0 rgba(155, 200, 101, 0.06), 0 1px 1px rgba(155, 200, 101, 0.06), 0 2px 2px rgba(155, 200, 101, 0.06), 0 4px 4px rgba(155, 200, 101, 0.06), 0 8px 8px rgba(155, 200, 101, 0.06), 0 16px 16px rgba(155, 200, 101, 0.06)
}

.bdt-template-library .bdt-template-library-item:hover .demo-template-action {
    opacity: 1;
    transform: translateY(0)
}

.bdt-template-library .bdt-template-library-item:hover .thumbnail:before {
    opacity: 1
}

#bdt-template-loading-data {
    font-size: 18px;
    display: block;
    width: 100%;
    text-align: center;
    padding: 35px;
}

@media (max-width: 1280px ) {
    .bdt-template-library .bdt-template-library-item .demo-template-action .bdt-button {
        font-size: 11px;
        padding: 0 4px;
    }
}

@media (max-width: 959px) {
    .bdt-template-library .bdt-sidebar-container ul li > ul li {
        display: inline-block;
        margin: 0 10px;
        border: none;
        font-size: 14px;
    }

    .bdt-template-library .bdt-sidebar-container ul li a .bdt-badge {
        display: none
    }

    .bdt-template-library .bdt-sidebar-container ul li.bdt-active {
        text-decoration: underline
    }

    .bdt-template-library .bdt-search {
        display: block;
    }


}

@media (min-width: 960px) {
    .bdt-template-library .bdt-sidebar-container {
        padding: 35px
    }

    .bdt-template-library .bdt-sidebar-container .bdt-sidebar-header {
        padding: 35px;
        margin: -35px -35px 25px
    }

    .bdt-template-library .bdt-sidebar-container ul {
        padding-bottom: 30px
    }

    .bdt-template-library .bdt-sidebar-container ul li a:hover {
        color: #0f6ecd
    }

    .bdt-template-library .bdt-sidebar-container ul li a:focus {
        box-shadow: none
    }

    .bdt-template-library .bdt-sidebar-container ul li a .bdt-badge {
        position: absolute;
        right: 0;
        font-size: 11px
    }

    .bdt-template-library .bdt-sidebar-container li.bdt-active a:after {
        content: '';
        width: 16px;
        height: 16px;
        background: #e8eded;
        position: absolute;
        transform: rotate(136deg);
        right: -43px;
        top: calc(42%);
        box-shadow: -2px -2px 2px 0 inset rgba(0, 0, 0, 0.1)
    }
}