/* Variables */
:root {
  --deo-gray-0: #f6f7f7;
  --deo-gray-2: #f0f0f1;
  --deo-gray-5: #dcdcde;
  --deo-gray-20: #a7aaad;
  --deo-gray-50: #646970;
  --deo-gray-80: #2c3338;
  --deo-blue-60: #135e96;
  --deo-green-30: #00ba37;
  --deo-red-50: #d63638;
}

.ocdi__content-container {
  max-width: 1440px;
  margin: 0 auto;
}

/* Admin Styles
-------------------------------------------------------*/
.appearance_page_caeliora-theme #wpcontent,
.toplevel_page_caeliora-theme #wpcontent {
  padding: 0;
}

.caeliora-page-header {
  padding: 10px 20px;
  height: 50px;
  background-color: #fff;
}

.caeliora-page-header__container {
  margin: 0 auto;
  height: 100%;
  max-width: 1140px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.caeliora-page-header__branding {
  display: flex;
  align-items: center;
}

.caeliora-page-header__logo {
  vertical-align: middle;
  max-width: 95px;
}

.caeliora-theme-version {
  background-color: #edf0f0;
  padding: 3px 5px;
  border-radius: 5px;
  margin-left: 10px;
}

.caeliora-page-header__tagline-text a {
  text-decoration: none;
}

/* Content */
.caeliora-grid {
  display: flex;
  flex-wrap: wrap;
  margin-left: -12px;
  margin-right: -12px;
}

.caeliora-grid-content {
  margin-bottom: 24px;
}

.caeliora-grid-content,
.caeliora-grid-sidebar {
  flex: 1 0 0%;
  max-width: 100%;
  padding: 0 12px;
}

@media screen and (min-width: 783px) {
  .caeliora-grid-sidebar {
    max-width: 25%;
    flex: 0 0 25%;
    padding: 0 12px;
  }
}

.caeliora-widget {
  background-color: #fff;
  padding: 24px;
  margin-bottom: 24px;
}

.caeliora-widget-title {
  margin-top: 0;
  margin-bottom: 24px;
}

.caeliora-video-tutorials__item {
  margin-bottom: 16px;
}

.caeliora-video-tutorials__url {
  display: block;
  position: relative;
  border-radius: 5px;
  overflow: hidden;
  transition: ease-in-out box-shadow 0.2s;
}

.caeliora-video-tutorials__url:hover {
  box-shadow: 2px 6px 16px var(--deo-gray-5);
}

.caeliora-video-tutorials__url:hover::after {
  background-color: rgba(0, 0, 0, 0.1);
}

.caeliora-video-tutorials__url::after {
  display: block;
  content: "";
  position: absolute;
  background-color: rgba(0, 0, 0, 0.2);
  bottom: 0;
  right: 0;
  top: 0;
  left: 0;
  width: 100%;
  transition: ease-in-out background-color 0.2s;
}

.caeliora-video-tutorials__img {
  width: 100%;
  display: block;
}

.caeliora-video-tutorials__label {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 50%;
  white-space: nowrap;
  transform: translate(-50%, -50%);
  background-color: #fff;
  color: var(--deo-gray-80);
  padding: 8px 12px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.caeliora-widget-video-tutorials__more-videos {
  margin-top: 24px;
  text-align: center;
}

/* Container
-------------------------------------------------------*/
.caeliora-container {
  max-width: 1140px;
  padding-left: 20px;
  padding-right: 20px;
  margin: 25px auto 20px;
}

.caeliora-container .caeliora-title {
  font-size: 1.5rem;
  line-height: 1.2;
  padding: 0;
}

.caeliora-body {
  background-color: #fff;
  padding: 40px;
}

.caeliora-body ol {
  font-size: 0.9375rem;
}

.caeliora-body iframe {
  max-width: 100%;
  margin-top: 16px;
}

.caeliora-body h3 {
  margin-top: 1.5em;
}

.caeliora-intro-text {
  font-size: 1.1875rem;
}

.caeliora-list {
  line-height: 1.5;
}

/* Buttons
-------------------------------------------------------*/
.caeliora-navigation-buttons {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 2.5em;
  margin-bottom: 2.5em;
}

.caeliora-navigation-buttons__item {
  margin: 0;
}

.caeliora-navigation-buttons__url {
  display: flex;
  padding: 12px;
  border-radius: 5px;
  background-color: #fff;
  border: 1px solid var(--deo-gray-5);
  text-decoration: none;
  transition: ease-in-out box-shadow 0.2s;
}

.caeliora-navigation-buttons__url:hover {
  box-shadow: 2px 6px 16px var(--deo-gray-5);
}

.caeliora-navigation-buttons__icon {
  display: inline-block;
  margin-right: 8px;
  color: var(--deo-gray-50);
}

/* Pro Demos
-------------------------------------------------------*/
.caeliora-section {
  padding-top: 20px;
  margin-top: 40px;
  border-top: 1px solid var(--deo-gray-5);
}

.caeliora-heading {
  font-size: 1.5em;
  margin-bottom: 1.5em;
}

.caeliora-pro-demos {
  display: grid;
  grid-gap: 20px;
  grid-template-columns: repeat(3, 1fr);
  min-height: 0;
  min-width: 0;
}

.caeliora-pro-demos__item {
  min-width: 0;
  margin-bottom: 0;
}

.caeliora-pro-demos__item a {
  text-decoration: none;
  border-radius: 5px;
  display: block;
  overflow: hidden;
  box-shadow: 0 0 4px var(--deo-gray-5);
  transition: ease-in-out box-shadow 0.2s;
}

.caeliora-pro-demos__item a:hover {
  box-shadow: 2px 6px 16px var(--deo-gray-5);
}

.caeliora-pro-demos__item img {
  width: 100%;
  display: block;
}

.caeliora-pro-demos__item-title {
  text-align: center;
  font-size: 1em;
  text-transform: uppercase;
}

/* Comparison Table
-------------------------------------------------------*/
table.caeliora-comparison,
.caeliora-comparison thead td,
.caeliora-comparison thead th {
  border-color: var(--deo-gray-5);
}

table.caeliora-comparison {
  box-shadow: none;
  margin-bottom: 24px;
}

.caeliora-comparison td,
.caeliora-comparison th {
  padding: 12px;
}

.caeliora-comparison tr th:not(:first-child),
.caeliora-comparison tr td:not(:first-child) {
  text-align: center;
}

.caeliora-list-item-icon {
  color: var(--deo-green-30);
}

.caeliora-list-item-icon--no {
  color: var(--deo-red-50);
}

/* Useful Links
-------------------------------------------------------*/
.caeliora-useful-links {
  margin: 0;
}

.caeliora-useful-links a {
  text-decoration: none;
}

.caeliora-addon-list-item {
  -js-display: flex;
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -moz-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-align-content: center;
  -ms-flex-line-pack: center;
  align-content: center;
  justify-content: space-between;
  padding: 12px 0;
  margin-bottom: 0;
  border-top: 1px solid #e6e6e6;
}

.caeliora-addon-list-item-icon {
  color: var(--deo-green-30);
  margin-left: -6px;
  margin-right: 3px;
}

/* Notification
-------------------------------------------------------*/
.caeliora-notification {
  margin: 20px 0 28px;
  padding: 15px;
  border-radius: 3px;
}

/* Disable kirki promotion
-------------------------------------------------------*/
.kirki-settings-panel > div,
.kirki-recommended-plugins-panel {
  display: none !important;
}

.kirki-settings-panel .kirki-clear-font-cache-metabox {
  display: block !important;
}
