.vc_templates-panel .vc_general.vc_ui-tabs-line > .vc_active > .vc_ui-tabs-line-trigger,
.vc_templates-panel .vc_ui-panel-content-container {
    background: #f1f1f1 !important;
}

.wp-admin #vc_ui-panel-templates {
    width: 80%;
    min-height: 90vh;
    max-height: 90vh;
    top: 5vh;
}

.wp-admin .vc_active.vc_templates-panel:before {
    content: '';
    display: inline-block;
    width: 100vw;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, .7)
}

.wp-admin .gsf-templates-cat-wrap {
    width: 200px !important;
    height: 100%;
    margin-bottom: 0;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 9999;
    border-right: 1px solid #e1e1e1;
    -webkit-box-shadow: 1px 0 2px 0 rgba(0, 0, 0, .08);
    -moz-box-shadow: 1px 0 2px 0 rgba(0, 0, 0, .08);
    box-shadow: 1px 0 2px 0 rgba(0, 0, 0, .08);
    visibility: hidden;
    overflow-x: hidden;
    overflow-y: auto;
    background-color: #f1f1f1
}

.wp-admin .gsf-templates-cat-wrap .gsf-templates-cat-inner {
    display: block;
    padding: .5em 0;
    margin: 0 -15px
}

.wp-admin .gsf-templates-cat-wrap .gsf-templates-cat-inner ul {
    display: block;
    width: 100%;
    margin: 0;
    padding: 1.5em 0;
    -webkit-box-sizing: border-box;
    box-sizing: border-box
}

.wp-admin .gsf-templates-cat-wrap .gsf-templates-cat-inner li {
    display: block;
    padding: 1em 40px 1em 20px;
    border-left: 3px solid transparent;
    margin: 0;
    position: relative;
    font-size: 13px;
    line-height: 1.5;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

.wp-admin .gsf-templates-cat-wrap .gsf-templates-cat-inner li.active,
.wp-admin .gsf-templates-cat-wrap .gsf-templates-cat-inner li:hover {
    background-color: #fff;
    border-color: #0473AA;
    -webkit-box-shadow: 0 2px 3px 0 rgba(0, 0, 0, .1);
    -moz-box-shadow: 0 2px 3px 0 rgba(0, 0, 0, .1);
    box-shadow: 0 2px 3px 0 rgba(0, 0, 0, .1)
}

.wp-admin .gsf-templates-cat-wrap .gsf-templates-cat-inner li a {
    color: #30373b;
    text-decoration: none;
}

.wp-admin .gsf-templates-cat-wrap .gsf-templates-cat-inner li.active a,
.wp-admin .gsf-templates-cat-wrap .gsf-templates-cat-inner li:hover a {
    color: #182631;
}

.wp-admin .vc_templates-panel.vc_active .gsf-templates-cat-wrap {
    visibility: visible
}

.wp-admin .gsf-templates-wrap {
    padding-top: 42px;
    margin: -35px -17px -35px -35px;
    padding-left: 244px;
    max-height: 81vh;
    height: 100vh;
    overflow-x: hidden;
    overflow-y: auto
}

.wp-admin .gsf-templates-wrap .gsf-templates-inner {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    padding: 0 20px
}

.wp-admin .gsf-templates-wrap .gsf-templates-inner:after,
.wp-admin .gsf-templates-wrap .gsf-templates-inner:before {
    content: "";
    display: table
}

.wp-admin .gsf-templates-wrap .gsf-templates-inner:after {
    clear: both
}

.wp-admin .gsf-templates-wrap .vc_ui-template {
    float: left;
    width: calc(25% - 30px);
    padding: 0 15px;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0)
}

.wp-admin .gsf-templates-wrap .vc_ui-template.hidden {
    display: none !important;
}

.wp-admin .gsf-templates-wrap .vc_ui-list-bar-item {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    overflow: hidden;
    background: #fff;
    border: 2px solid #e5e5e5;
    margin-bottom: 30px;
    -webkit-transition: all .3s ease-in-out;
    -moz-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;
    transition: all .3s ease
}

.wp-admin .gsf-templates-wrap .vc_ui-list-bar-item:hover {
    position: relative;
    transform: translateY(-20px);
    -webkit-box-shadow: 0 10px 20px 0 #e1e1e1;
    -moz-box-shadow: 0 10px 20px 0 #e1e1e1;
    box-shadow: 0 10px 20px 0 #e1e1e1;
    -webkit-transition: all .3s ease-in-out;
    -moz-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out
}

.wp-admin .gsf-templates-wrap .gsf-template-thumbnail {
    width: 100%;
    position: relative;
    overflow: hidden;
    line-height: 0;
    border-bottom: 1px solid #e1e1e1
}

.wp-admin .gsf-templates-wrap .gsf-template-thumbnail img {
    width: 100%;
    height: auto;
    max-width: 100%;
    position: relative;
    z-index: 2
}

.wp-admin .gsf-templates-wrap .gsf-template-item-name {
    width: 100%;
    padding: 15px 20px;
    font-weight: 700;
    font-size: 14px;
    color: #30373b;
    line-height: 1.5em;
    white-space: normal;
    text-align: center;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.wp-admin .gsf-templates-wrap .vc_ui-panel-template-download-button {
    display: block;
    width: 100%;
    height: 100%;
    padding: 0;
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 3;
    opacity: 1;
    visibility: visible
}

.wp-admin .gsf-templates-wrap .vc_ui-panel-template-download-button i {
    display: none !important;
}

.gsf-templates-wrap::-webkit-scrollbar {
    width: 12px;
    display: none
}

.gsf-templates-wrap::-webkit-scrollbar-track {
    display: none;
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, .3);
    -webkit-border-radius: 10px;
    border-radius: 10px
}

.wp-admin .gsf-templates-cat-wrap .gsf-templates-cat-inner li span {
    position: absolute;
    right: 15px;
    background: #f4516c;
    color: #fff;
    font-size: 11px;
    text-align: center;
    border-radius: 4px;
    display: inline-block;
    padding: 0 2px;
    min-width: 20px;
    min-height: 20px;
    line-height: 20px;
    vertical-align: middle;
}
.mfp-bg, .mfp-wrap {
    z-index: 999999!important;
}
.vc_element-icon.fa,
.vc_element-icon.fab,
.vc_element-icon.far,
.vc_element-icon.fas,
.vc_element-icon.fal {
    background-image: none;
    color: #0bf;
    font-size: 30px;
}