.jupiterx-templates-filters-container {
  position: fixed;
  top: 100%;
  left: 0;
  bottom: 0;
  right: 0;
  z-index: 999;
  overflow: auto;
  width: 100%;
  background-color: #fff;
}

@media (min-width: 768px) {
  .jupiterx-templates-filters-container {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    left: auto;
    right: auto;
    bottom: auto;
    overflow: visible;
    background-color: #fff;
    -webkit-box-shadow: 0px 4px 12px 0 rgba(0, 0, 0, 0.08);
    box-shadow: 0px 4px 12px 0 rgba(0, 0, 0, 0.08);
    border-top: solid 1px #ced4da;
    border-bottom: solid 1px #ced4da;
    background-color: #fcfeff;
  }
}

@media (max-width: 767px) {
  .jupiterx-templates-filters-container.show {
    top: 0;
    -webkit-transition: top 0.15s ease-in-out;
    transition: top 0.15s ease-in-out;
  }
}

.jupiterx-templates-filters .jupiterx-templates-filter-hidden,
.jupiterx-templates-filters .jupiterx-templates-filter-content {
  display: none;
}

@media (min-width: 768px) {
  .jupiterx-templates-filters {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    max-width: 1140px;
    margin: 0 auto;
    padding-right: 1px;
  }
  .admin-bar .jupiterx-templates-filters {
    top: 32px;
  }
  .jupiterx-templates-filters .jupiterx-templates-filter {
    width: calc(20% + 1px);
    margin-right: -1px;
    margin-bottom: -1px;
  }
  .jupiterx-templates-filters .jupiterx-templates-filter-content {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    width: calc(40% + 1px);
    margin-top: -1px;
  }
  .jupiterx-templates-filters .jupiterx-templates-filter-category {
    width: calc(60% + 1px);
    margin-top: -1px;
  }
  .jupiterx-templates-filters .jupiterx-templates-search-field {
    border-top: 0;
  }
}

.jupiterx-templates-header {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  padding: 1.333rem;
  border-bottom: 2px solid #ced4da;
}

.jupiterx-templates-header .header-name {
  margin: 0 0 0 auto;
  color: #222;
  font-size: 1rem;
  font-weight: bold;
}

.jupiterx-templates-header .clear-filters {
  margin-left: 1.3rem;
  font-size: 0.875rem;
}

.jupiterx-templates-header .close-button {
  padding: 1.1rem 2.2rem;
  background-color: #222222;
  border: 0;
  border-radius: 0;
  -webkit-box-shadow: none;
  box-shadow: none;
  color: #fff;
  font-size: 1rem;
}

@media (min-width: 768px) {
  .jupiterx-templates-header {
    display: none;
  }
}

.jupiterx-templates-toggle-filters {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-flow: wrap;
  flex-flow: wrap;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  padding: 0 1.25rem;
}

.jupiterx-templates-toggle-filters .toggle-button {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  margin-left: 1rem;
  padding: 0.5rem 0.75rem;
  border: 1px solid #ced4da;
  border-radius: 0;
  background-color: #fff;
  color: #000;
}

.jupiterx-templates-toggle-filters .toggle-button svg {
  width: 1.2rem;
  margin-left: 0.73rem;
}

.jupiterx-templates-toggle-filters .toggle-button div:not(:last-child) {
  margin-left: 0.25rem;
}

.jupiterx-templates-toggle-filters .clear-button {
  position: absolute;
  top: 50%;
  left: 3.5rem;
  display: none;
  margin: -0.5rem 0 0 1rem;
  color: #9ba8b4;
  line-height: 0;
}

.jupiterx-templates-toggle-filters .clear-button:hover {
  color: #000;
}

.jupiterx-templates-toggle-filters .clear-button svg {
  width: 1rem;
  height: 1rem;
}

.jupiterx-templates-toggle-filters .count-templates {
  margin: 0.5rem 0;
  color: #9aa7b3;
}

.jupiterx-templates-search.is-loading .jupiterx-templates-toggle-filters .count-templates {
  display: none;
}

@media (min-width: 768px) {
  .jupiterx-templates-toggle-filters {
    display: none;
  }
}

.jupiterx-templates-results {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  margin: 2rem 0 0;
  padding: 0 0.625rem;
}

.jupiterx-templates-template {
  width: 100%;
  margin: 0 0 1.25rem;
  padding: 0 0.625rem;
  white-space: nowrap;
}

@media (min-width: 576px) {
  .jupiterx-templates-template {
    width: 50%;
  }
}

@media (min-width: 992px) {
  .jupiterx-templates-template {
    width: 25%;
  }
}

@media (min-width: 1440px) {
  .jupiterx-templates-template {
    width: 20%;
  }
}

.jupiterx-templates-template .jupiterx-card {
  position: relative;
  -webkit-transition: 0.15s ease-in-out;
  transition: 0.15s ease-in-out;
}

.jupiterx-templates-template .jupiterx-card:hover {
  -webkit-box-shadow: 0px 7px 14px rgba(0, 0, 0, 0.05), 0px 3px 7px rgba(0, 0, 0, 0.07);
  box-shadow: 0px 7px 14px rgba(0, 0, 0, 0.05), 0px 3px 7px rgba(0, 0, 0, 0.07);
  -webkit-transform: translate(0, -2px);
  transform: translate(0, -2px);
}

@media screen and (max-width: 1440px) {
  .jupiterx-templates-template .jupiterx-card-body > .btn {
    padding: 0.375rem 0.4rem;
    font-size: 0.9rem;
  }
}

@media screen and (max-width: 1199px) {
  .jupiterx-templates-template .jupiterx-card-body > .btn {
    font-size: 0.8rem;
  }
}

.jupiterx-templates-template .jupiterx-card-img-top {
  padding-top: 63%;
  background-size: cover;
  background-color: rgba(0, 123, 255, 0.03);
}

.jupiterx-templates-template h4.jupiterx-card-title {
  display: block;
  margin-bottom: 15px;
  color: #231f20;
  font-size: 20px;
  line-height: 1.4;
}

.jupiterx-templates-template .psd-link,
.jupiterx-templates-template .sketch-link {
  text-transform: uppercase;
}

.jupiterx-templates-template .import-template,
.jupiterx-templates-template .preview-template,
.jupiterx-templates-template .psd-link {
  margin-left: 0.25rem;
}

.rtl .jupiterx-templates-template .import-template, .rtl
.jupiterx-templates-template .preview-template, .rtl
.jupiterx-templates-template .psd-link {
  margin-left: 0;
  margin-right: 0.25rem;
}

.jupiterx-templates-template .jupiterx-pro-badge {
  position: absolute;
  top: -5px;
  left: -5px;
}

.jupiterx-templates-empty {
  width: 100%;
  margin-top: 2rem;
  text-align: center;
}

.jupiterx-templates-empty .sad-tear {
  color: #9ba8b4;
}

.jupiterx-templates-empty .empty-title {
  margin: 0.625rem 0 0.125rem;
  font-size: 1.625rem;
  font-weight: bold;
}

.jupiterx-templates-empty .empty-info {
  margin: 0;
  color: #6c757d;
  font-size: 1.25rem;
}

.jupiterx-templates-search-field {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  width: 100%;
}

.jupiterx-templates-search-field .form-control {
  width: 100%;
  padding: 0.75rem 1.1875rem 0.75rem 2.375rem;
  background-color: transparent;
  outline: none;
  background-color: #f2f6f7;
  border: 1px solid #ced4da;
  border-radius: 0;
  -webkit-box-shadow: none;
  box-shadow: none;
  font-size: 1rem;
  -webkit-transition: background-color 0.15s ease-in-out;
  transition: background-color 0.15s ease-in-out;
}

.jupiterx-templates-search-field .form-control:focus {
  background-color: #f2f5f7;
}

.jupiterx-templates-search-field .search-icon {
  position: absolute;
  top: 0;
  left: 1.0625rem;
  bottom: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  color: #6c757d;
  pointer-events: none;
}

.jupiterx-templates-search-field .search-button {
  width: 3.7rem;
  height: 3.7rem;
  background: #222;
  border: 0;
  border-radius: 0;
  -webkit-box-shadow: none;
  box-shadow: none;
  color: #fff;
  line-height: 0;
}

.jupiterx-templates-search-field.with-button {
  margin-bottom: 1rem;
}

.jupiterx-templates-search-field.with-button .form-control {
  padding-left: 1.1875rem;
  border-left: 0;
  color: #000;
}

@media (min-width: 768px) {
  .jupiterx-templates-search-field .form-control {
    font-size: 0.875rem;
  }
}

@media (min-width: 992px) {
  .jupiterx-templates-search-field .form-control {
    font-size: 1rem;
  }
}

.jupiterx-templates-select-field {
  position: relative;
}

.jupiterx-templates-select-field .control-label {
  padding-left: 0.75rem;
}

.rtl .jupiterx-templates-select-field .control-label {
  padding-left: 0;
  padding-right: 0.75rem;
  text-align: left;
}

.jupiterx-templates-select-field .filter-name {
  font-size: 0.875rem;
  font-weight: bold;
  line-height: 1.58;
  text-transform: uppercase;
}

.jupiterx-templates-select-field .clear-selected {
  display: none;
  margin-right: 0.5rem;
  color: #66aeff;
  font-size: 0.75rem;
}

.jupiterx-templates-select-field .clear-selected.show {
  display: inline;
}

.rtl .jupiterx-templates-select-field .clear-selected.show {
  display: inline-block;
}

.rtl .jupiterx-templates-select-field .clear-selected {
  margin-right: 0;
  margin-left: 0.5rem;
}

.jupiterx-templates-select-field .dropdown-toggle {
  position: relative;
  width: 100%;
  padding: 0.5625rem 0.8125rem 0.5625rem 1.25rem;
  background: #fcfeff;
  outline: none;
  border: 1px solid #ced4da;
  border-radius: 0;
  -webkit-box-shadow: none;
  box-shadow: none;
  font-weight: 400;
  text-align: right;
  white-space: nowrap;
  -webkit-transition: background-color 0.15s ease-in-out;
  transition: background-color 0.15s ease-in-out;
}

.jupiterx-templates-select-field .dropdown-toggle:hover {
  background: #f2f5f7;
}

.jupiterx-templates-select-field .dropdown-toggle:after {
  position: absolute;
  top: 50%;
  left: 1.25rem;
  border-top: 0.4375rem solid;
  border-left: 0.25rem solid transparent;
  border-right: 0.25rem solid transparent;
  color: #495056;
}

.rtl .jupiterx-templates-select-field .dropdown-toggle:after {
  left: initial;
  right: 1.25rem;
}

.jupiterx-templates-select-field.show .dropdown-toggle {
  background: #f2f5f7;
}

.jupiterx-templates-select-field .selected-labels {
  display: block;
  overflow: hidden;
  margin-top: 0.25rem;
  color: #6c757d;
  font-size: 0.875rem;
  line-height: 1.58;
  text-overflow: ellipsis;
}

.jupiterx-templates-select-field div.dropdown-menu {
  min-width: 100%;
  margin: -1px 0 0;
  padding: 0.875rem;
  border: 1px solid #ced4da;
  border-radius: 0;
  background-clip: border-box;
}

.jupiterx-templates-select-field .custom-checkbox {
  padding-right: 1.3125rem;
}

.rtl .jupiterx-templates-select-field .custom-checkbox {
  padding-right: 0;
  padding-left: 1.3125rem;
}

.jupiterx-templates-select-field .custom-checkbox .custom-control-label {
  display: block;
  padding: 1px 0;
  font-size: 1rem;
}

.jupiterx-templates-select-field .custom-checkbox .custom-control-label:before, .jupiterx-templates-select-field .custom-checkbox .custom-control-label:after {
  top: 0.375rem;
  right: -1.3125rem;
  width: 0.75rem;
  height: 0.75rem;
}

.rtl .jupiterx-templates-select-field .custom-checkbox .custom-control-label:before, .rtl .jupiterx-templates-select-field .custom-checkbox .custom-control-label:after {
  right: initial;
  left: -1.3125rem;
}

.rtl .jupiterx-templates-select-field .custom-checkbox .custom-control-label {
  text-align: left;
}

@media (max-width: 767px) {
  .jupiterx-templates-select-field .clear-selected,
  .jupiterx-templates-select-field .selected-labels {
    display: none !important;
  }
  .jupiterx-templates-select-field .filter-name {
    color: #343a40;
    text-transform: none;
  }
  .jupiterx-templates-select-field .dropdown-toggle {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    min-height: 3.567rem;
    padding: 0 1.767rem;
    border-width: 0 0 1px 0;
  }
  .jupiterx-templates-select-field.show .jupiterx-templates-select-field .dropdown-toggle, .jupiterx-templates-select-field .dropdown-toggle:hover, .jupiterx-templates-select-field .dropdown-toggle:focus {
    background: transparent;
  }
  .jupiterx-templates-select-field .dropdown-toggle:after {
    content: url('data:image/svg+xml; utf8, <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 512"><path fill="%239ba8b4" d="M136.5 185.1l116 117.8c4.7 4.7 4.7 12.3 0 17l-7.1 7.1c-4.7 4.7-12.3 4.7-17 0L128 224.7 27.6 326.9c-4.7 4.7-12.3 4.7-17 0l-7.1-7.1c-4.7-4.7-4.7-12.3 0-17l116-117.8c4.7-4.6 12.3-4.6 17 .1z"></path></svg>');
    position: static;
    width: 1rem;
    height: auto;
    margin-top: 0.25rem;
    border: 0;
    -webkit-transition: -webkit-transform 0.1s ease-out;
    transition: -webkit-transform 0.1s ease-out;
    transition: transform 0.1s ease-out;
    transition: transform 0.1s ease-out, -webkit-transform 0.1s ease-out;
  }
  .jupiterx-templates-select-field.show-mobile .dropdown-toggle:after {
    -webkit-transform: rotate(-180deg);
    transform: rotate(-180deg);
  }
  .jupiterx-templates-select-field .dropdown-menu {
    position: static;
    margin: 0;
    float: none;
    padding: 1rem 1.767rem;
    border-width: 0 0 1px 0;
  }
  .jupiterx-templates-select-field .dropdown-menu.show {
    display: none;
  }
  .jupiterx-templates-select-field .dropdown-menu.show-mobile {
    display: block;
  }
  .jupiterx-templates-select-field .custom-checkbox:not(:last-child) {
    margin-bottom: 0.75rem;
  }
  .jupiterx-templates-select-field .custom-checkbox .custom-control-label {
    font-size: 0.875rem;
  }
}

@media (min-width: 768px) {
  .jupiterx-templates-select-field .filter-name {
    font-size: 0.75rem;
  }
  .jupiterx-templates-select-field .selected-labels {
    font-size: 0.8125rem;
  }
}

@media (min-width: 992px) {
  .jupiterx-templates-select-field .filter-name {
    font-size: 0.875rem;
  }
  .jupiterx-templates-select-field .selected-labels {
    font-size: 0.875rem;
  }
}

.jupiterx-templates-loader {
  display: block;
  width: 100%;
  margin-top: 2rem;
  text-align: center;
}

.jupiterx-templates-loader .loader-round {
  width: 3rem;
  height: 3rem;
  display: inline-block;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  position: relative;
}

.jupiterx-templates-loader .loader-round:before {
  content: ' ';
  position: absolute;
  top: 0;
  right: 0;
  display: inline-block;
  width: 3rem;
  height: 3rem;
  border: solid 0.375rem #ced4da;
  border-radius: 50%;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

.jupiterx-templates-loader .loader-round:after {
  content: ' ';
  position: absolute;
  top: 0;
  right: 0;
  display: inline-block;
  width: 3rem;
  height: 3rem;
  border: solid 0.375rem transparent;
  border-top-color: #007bff;
  border-radius: 50%;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-animation: ats-rotate 800ms ease-in-out infinite;
  animation: ats-rotate 800ms ease-in-out infinite;
}

.jupiterx-templates-loadmore {
  width: 100%;
  padding: 0 1rem;
}

.jupiterx-templates-loadmore .button {
  display: block;
  width: 100%;
  padding: 1.125rem 1rem;
  border: 0;
  border-radius: 4px;
  -webkit-box-shadow: none;
  box-shadow: none;
  background-color: #9aa7b3;
  color: #fff;
  font-size: 1.125rem;
  cursor: pointer;
}

.jupiterx-templates-loadmore .button:hover {
  background-color: #848f99;
}

.jupiterx-templates-placeholder .jupiterx-card {
  border: none !important;
  background: none !important;
}

.jupiterx-templates-placeholder .jupiterx-card:hover {
  -webkit-box-shadow: none !important;
  box-shadow: none !important;
  -webkit-transform: none !important;
  transform: none !important;
}

.jupiterx-templates-placeholder .jupiterx-card-title {
  display: block;
  width: 50%;
  height: 1.75rem;
  margin-bottom: 15px;
}

.jupiterx-templates-placeholder .import-template {
  display: inline-block;
  width: 25%;
  height: 1.75rem;
}

.jupiterx-templates-placeholder .jupiterx-card-img-top,
.jupiterx-templates-placeholder .jupiterx-card-title,
.jupiterx-templates-placeholder .import-template {
  background-color: #eee;
  background: darkgray;
  background: -webkit-gradient(linear, right top, left top, color-stop(10%, #eeeeee), color-stop(18%, #dddddd), color-stop(33%, #eeeeee));
  background: linear-gradient(to left, #eeeeee 10%, #dddddd 18%, #eeeeee 33%);
  background-size: 800px 104px;
  -webkit-animation-duration: 1.25s;
  animation-duration: 1.25s;
  -webkit-animation-fill-mode: forwards;
  animation-fill-mode: forwards;
  -webkit-animation-iteration-count: infinite;
  animation-iteration-count: infinite;
  -webkit-animation-name: ats-placeholder;
  animation-name: ats-placeholder;
  -webkit-animation-timing-function: linear;
  animation-timing-function: linear;
}

.jupiterx-templates-custom-install-modal .jupiterx-modal-desc p {
  color: #6c757d;
  font-size: 16px;
}

.jupiterx-templates-custom-install-modal .jupiterx-modal-desc p:first-child {
  margin: 0;
}

.jupiterx-templates-custom-install-modal .jupiterx-modal-footer .btn-primary {
  -webkit-box-ordinal-group: 3;
  -ms-flex-order: 2;
  order: 2;
  margin: 0;
  margin-right: 0.25rem;
}

.jupiterx-templates-custom-install-modal .import-types li p {
  font-size: 14px;
  color: #6c757d;
  margin-right: 25px;
}

.jupiterx-templates-custom-install-modal .custom-control-label {
  color: #6c757d;
  line-height: 1.3;
  font-size: 16px;
}

.jupiterx-templates-custom-install-modal .custom-control-label:before {
  border: 2px solid #dee2e6;
  background: white;
}

.jupiterx-templates-custom-install-modal .custom-radio .custom-control-input:checked ~ .custom-control-label::before,
.jupiterx-templates-custom-install-modal .custom-checkbox .custom-control-input:checked ~ .custom-control-label::before {
  border: 0;
}

@media (max-width: 768px) {
  .jupiterx-templates-block-scroll {
    overflow: hidden;
  }
  .jupiterx-templates-block-scroll .jupiterx-main {
    position: relative;
    z-index: 99999999;
  }
}

@-webkit-keyframes ats-placeholder {
  0% {
    background-position: -468px 0;
  }
  100% {
    background-position: 468px 0;
  }
}

@keyframes ats-placeholder {
  0% {
    background-position: -468px 0;
  }
  100% {
    background-position: 468px 0;
  }
}

@-webkit-keyframes ats-rotate {
  0% {
    -webkit-transform: rotate(0);
    transform: rotate(0);
  }
  100% {
    -webkit-transform: rotate(-360deg);
    transform: rotate(-360deg);
  }
}

@keyframes ats-rotate {
  0% {
    -webkit-transform: rotate(0);
    transform: rotate(0);
  }
  100% {
    -webkit-transform: rotate(-360deg);
    transform: rotate(-360deg);
  }
}
