/* Rest API Templates */
#uabb-templates-wrap > h3 {
    display: none;
}
.template-meta > h3 {
    font-size: 1rem;
    margin: 1em 0 1em 0;
}
#uabb-templates-wrap .site-single:hover .view-demo-wrap {
    opacity: 1;
    visibility: visible;
    background: rgba(24, 10, 47, 0.35);
}
#uabb-templates-wrap .view-demo-wrap {
    opacity: 0;
    visibility: hidden;
    position: absolute;
    left: 0;
    cursor: pointer;
    top: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.72);
    transition: all ease 0.3s;
}
.view-demo {
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    position: absolute;
    -webkit-font-smoothing: antialiased;
    text-align: center;
    -webkit-border-radius: 3px;
    border-radius: 3px;
    -webkit-transition: opacity 0.1s ease-in-out;
    transition: opacity 0.1s ease-in-out;
    background: #f7f6fb;
    text-shadow: none;
    font-weight: 400;
    color: #3a3840;
    padding: 0.5em 1em;
}
.site-single .site-preview {
    position: relative;
    display: block;
}
#uabb-templates-wrap .site-single .inner:hover {
    box-shadow: 0px 22px 30px -5px rgba(0, 0, 0, 0.3);
}
#uabb-templates-wrap .site-single .inner {
	display: inline-block;
	width: 100%;
    box-shadow: 0 0 13px 0px rgba(0, 0, 0, 0.11);
    -webkit-transition: all 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
    transition: all 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

#uabb-templates-wrap .inner img {
	width: 100%;
	height: auto;
}

*,
*:before,
*:after {
    -webkit-box-sizing: inherit;
    -moz-box-sizing: inherit;
    box-sizing: inherit;
}

/* Filters */
.filter-links li {
    margin: 0;
    display: inline-block;
}
.filter-links li a {
    cursor: pointer;
    display: inline-block;
    margin: 0 10px;
    padding: 0px;
    -webkit-transition: color .3s ease-in-out;
    transition: color .3s ease-in-out;
    color: #9998a0;
    font-size: 13px;
    font-weight: 500;
    line-height: 20px;
    text-transform: uppercase;
}
.filter-links a,
.filter-links a:active,
.filter-links a:focus {
    outline: none;
}
.filter-links li a:hover,
.filter-links li a.active {
    color: #444;
    transition: color 0.3s ease;
}
.filter-links li a.hover,
.filter-links li a.active {
    border-bottom: 1px solid #222;
    color: #333;
}
.site-single {
    margin-bottom: 50px;
    text-align: center;
    transition: none !important;
}

#uabb-templates-loadmore .button {
	font-size: 14px;
    padding: 8px 22px;
    transition: all linear 150ms;
}

.site-loading {
    display: none;
    position: absolute;
    left: 50%;
    top: 45%;
    text-align: center;
    color: #555;
    transform: translate(-50%, -45%);
}

.site-loading h3 {
    font-size: 33px;
    font-weight: 600;
    margin: 0 0 10px 0;
}

.site-loading p {
    margin: 0;
}

.thickbox-loading .site-loading {
    display: block;
}

.thickbox-loading:before {
    content: "";
    background: #fff;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
}

.loadmore {
    clear: both;
	text-align: center;
}
.page-id-11742 .loadmore {
	position: absolute;
	top: 92%;
	left: 50%;
	transform: translateX(-50%);
}
.loadmore .loadmore-inner {
	display: inline-block;							
}
.loadmore-inner .button {
    padding: 8px 16px;
    border: 1px solid #525252;
    background: #525252;
    color: #fff;
    font-family: Raleway;
    font-weight: 500;
    font-size: 13px;
    border-radius: 4px;
    cursor: pointer;
    transition: none !important;
}
.loadmore-inner i {
    font-size: 20px;
    color: #525252;
    transition: none !important;
}
.loadmore-icon  {
	opacity: 0
}
.loadmore-inner i {
	/*display: block;*/
	-webkit-animation: cssAnimation 550ms ease infinite;
    -moz-animation: cssAnimation 550ms ease infinite;
    -o-animation: cssAnimation 550ms ease infinite;
}
#uabb-templates-loadmore .button {
    transition: none !important;
}

@-webkit-keyframes cssAnimation {
   from { -webkit-transform: rotate(0); }
   to { -webkit-transform: rotate(360deg); }
}
@-moz-keyframes cssAnimation {
   from { -moz-transform: rotate(0); }
   to { -moz-transform: rotate(360deg); }
}
@-o-keyframes cssAnimation {
    from { -o-transform: rotate(0); }
    to { -o-transform: rotate(360deg); }
}

/**
 * Full Width
 */
#TB_window {
    width: 100% !important;
    margin: 0 !important;
    text-align: center !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
}

#TB_iframeContent {
    width: 100% !important;
    height: 100% !important;
}

.desktop #TB_iframeContent-wrapper {
    position: fixed;
    right: 0;
    bottom: 50px;
    left: 0;
    top: 0;
}

/* For general iPad layouts */
@media only screen and (min-device-width : 320px) and (max-device-width : 1024px) {
    #TB_iframeContent-wrapper {
        position: fixed;
        right: 0;
        bottom: 50px;
        left: 0;
        top: 0;
        overflow-y: scroll;
        -webkit-overflow-scrolling: touch;
    }
}

.thickbox-loading #TB_iframeContent,
.thickbox-loading #TB_iframeContent-wrapper {
    display: none;
}

#TB_window #TB_ajaxWindowTitle {
    line-height: 50px;
    font-size: 1.2rem;
    display: inline-block;
    width: auto;
}

#TB_window #TB_closeWindowButton {
    height: 60px;
    width: 50px;
    position: relative;
    vertical-align: middle;
}

#TB_window .tb-close-icon {
    line-height: 50px;
    height: 50px;
    width: 50px;
}
.tb-close-icon:before {
    vertical-align: middle;
}

/**
 * Popup
 */
#TB_window {
    text-align: center;
}
#TB_iframeContent.tablet {
    width: 768px !important;
    height: 1024px !important;
    background: #111;
    padding: 40px 10px 70px;
    border-radius: 30px;
}
#TB_iframeContent.tablet.landscape {
    width: 1024px !important;
}
#TB_iframeContent.mobile {
    width: 360px !important;
    height: 640px !important;
    background: #111;
    padding: 40px 10px 70px;
    border-radius: 30px;
}
#TB_iframeContent.mobile.landscape {
    width: 360px !important;
}


/**
 * Responsive Buttons.
 */
.responsive-view .dashicons.active,
.responsive-view .dashicons:hover {
    background: #cccccc;
}

/**
 * NEW
 */
#uabb-templates-filters .filter-count {
    background: #fafafa;
    height: 2.5em;
    width: 2.5em;
    font-weight: bold;
    line-height: 2.5em;
    margin-right: 2em;
    color: #888;
    box-shadow: 0px 0px 0px 1px #eaeaea;
}
#uabb-templates-filters {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 auto 5em auto;
    background: #ffffff;
    box-shadow: 0 0 1px 1px #f3f3f3;
    padding: 1.4em 1em;
    flex-wrap: wrap;
    box-shadow: 0 4px 12px 0px rgba(0, 0, 0, 0.05);
}
#uabb-templates-wrap {
    text-align: center;
    min-height: 100vh;
}
#uabb-templates-filters .filters-wrap {
    flex: 1;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}
#uabb-templates-filters .search-form {
    display: inline-block;
    margin-left: 1em;
}
#uabb-templates-filters .search-form input {
    font-size: 12px;
    outline: none;
    color: #999;
    border-color: #e7e6ea;
    border-radius: 2px;
    background: #fcfbfd;
}
#uabb-templates-filters .search-form input:focus {
    border-color: #c0bfc5;
}
#uabb-templates-wrap .filter-links {
    margin: 0;
}
.astra-showcase-not-found {
    font-size: 1.2em;
    padding: 4em 0 6em 0;

    /** To avoid masonry position **/
    position: relative !important;
}
.astra-showcase-not-found .description {
    font-size: 1rem;
}
.site-type.premium {
    font-size: 12px;
    background: #f06262;
    color: #fff;
    padding: 2px 8px;
    text-transform: capitalize;
    display: inline-block;
    margin-left: 0.5em;
    border-radius: 2px;
}
.site-type {
    display: none;
}
/*#uabb-templates {
    min-height: 200px;
}*/

.uabb-templates-list {
    padding: 0.6em 1em;
    margin-right: 1em;
    border-top: none;
    border-bottom: none;
    border-radius: 0;
}

html.processing {
    overflow: hidden;
}

.responsive-view .actions a {
    color: #666;
    cursor: pointer;
    display: inline-block;
    padding: 1em;
    vertical-align: middle;
}

#TB_closeAjaxWindow {
    float: right;
}

/**
 * Dark Theme
 */
div#TB_window {
    background-color: #333;
    color: #fff;
}
#TB_window.tablet #TB_title,
#TB_window.mobile #TB_title {
    padding-right: 20px;
}
#TB_window #TB_title {
    border: none;
    text-align: left;
    height: 50px;
    bottom: 0;
    left: 0;
    right: 0;
    box-shadow: none;
    background: #222;
    position: fixed;
}
div#TB_window.tablet,
div#TB_window.mobile {
    overflow-y: scroll;
    padding-bottom: 100px;
    padding-top: 50px;
}
.responsive-view .dashicons.active,
.responsive-view .dashicons:hover {
    background: transparent;
    color: #fff;
}
#TB_window #TB_closeWindowButton:focus .tb-close-icon {
    box-shadow: none;
    color: #666;
}

#TB_closeWindowButton:hover .tb-close-icon {
    color: #fff;
}
@media all and (max-width: 768px) {
    .responsive-view {
        display: none;
    }    

    #uabb-templates-filters {
        flex-direction: column;
    }

    #uabb-templates-filters .filter-count {
        margin: 0 0 1em 0;
    }

    #uabb-templates-filters .filters-wrap {
        display: block;
    }

    #uabb-templates .filter-links.uabb-template-type {
        margin: 0;
    }

    #uabb-templates-filters .search-form {
        margin: 0;
    }

    div#uabb-template-type {
        margin-bottom: 0.7em;
    }

    #uabb-template-category {
        margin-bottom: 1.3em;
    }
}

@media all and ( max-width: 768px ) {
    /*#uabb-templates-filters {
        display: block;
    }*/

    #uabb-templates-filters .filter-count {
        display: inline-block;
        margin: 0 0 1em 0;
    }

    #uabb-template-category {
        float: left;
        width: 100%;
        clear: both;
    }

    .filters-wrap > div {
        margin-bottom: 1em;
    }

    #uabb-templates-filters .search-form {
        margin: 0;
    }
    .filters-wrap #uabb-template-category .inner, 
    .filters-wrap #uabb-template-tag .inner {
        display: block;
    }

    #uabb-template-tag select,
    #uabb-template-category select {
        margin-top: 1.2em;
    }
    .filter-links li a {
        margin: 5px 10px;
    }

}

.filters-wrap #uabb-template-category select, 
.filters-wrap #uabb-template-tag select {   
    padding: .4em;
}

.hide-me {
    display: none !important;
}

.spinner.is-active {
    display: inline-block;
}

.spinner {
    -webkit-background-size: 20px 20px;
    background-size: 20px 20px;
    display: none;
    vertical-align: middle;
    opacity: 0.7;
    filter: alpha(opacity=70);
    width: 20px;
    height: 20px;
    margin: 4px 10px 0;
    background-position: center;
    width: 100%;
    background-repeat: no-repeat;
    padding: 2em;
}

.uabb-templates-suggestions:before {
    border: 5px dashed #ccc;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0px;
}

.uabb-templates-suggestions {
    border: none !important;
    background-size: auto;
    background-repeat: no-repeat;
    background-position: center center;
}

.uabb-templates-suggestions a {
    border: none;
    outline: none;
}

.uabb-templates-suggestions .inner {
    border: 3px dashed #e1dfe7 !important;
    padding: 52% 10%;
    text-align: center;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    box-shadow: none !important;
}

.uabb-templates-suggestions p {
    margin: 0;
}

.preview-in-new-window {
    color: #fff;
    display: inline-block;
    padding-right: 1em;
    transition: none;
}

.preview-in-new-window:focus,
.preview-in-new-window:hover {
    color: #fff;
}
.astra-showcase-not-has-items .astra-showcase-load-more-sites,
.astra-showcase-loading .astra-showcase-load-more-sites {
    display: none;
}
#uabb-template-category .inner,
#uabb-template-tag .inner {
    display: flex;
    align-items: center;
}
.astra-showcase-load-more-sites {
    cursor: pointer;
}

/** Hide the Section Heading */
.uabb-template-type-row.site-single .template-meta {
    display: none;
}