: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;
}

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

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

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

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

.deo-page-header__logo {
  max-width: 111px;
}

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

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

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

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

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

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

.deo-container .deo-title {
  font-size: 1.5rem;
  line-height: 1.2;
  padding: 0;
  margin-bottom: 16px;
}

.deo-section {
  padding-top: 20px;
}

.deo-body {
  background-color: #fff;
  padding: 40px;
  font-size: 0.9375rem;
}

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

.deo-body iframe {
  width: 100%;
}

.deo-intro-text {
  font-size: 1.1875rem;
  max-width: 680px;
}

.deo-text {
  font-size: 1.1875rem;
}

.deo-list {
  margin-bottom: 32px;
}

/* Widgets */
.deo-widget {
  background-color: #fff;
  padding: 24px;
  margin-bottom: 24px;
}

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

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

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

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

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

.deo-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;
}

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

.deo-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;
}

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

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

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

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

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

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

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

/* 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;
}
