/*
 Theme Name:   Deda Core Theme
 Description:  Bootscore Child Theme
 Author:       Bootscore
 Author URI:   https://deda.digita.com
 Template:     bootscore
 Version:      6.0.0
 Requires at least: 5.0
 Tested up to: 6.6
 Requires PHP: 7.4
 License: MIT License
 Text Domain:  deda
*/

/* 
All style editing is done via /assets/scss/_bootscore_custom.scss
*/

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@100..900&display=swap');
@import url('assets/css/bootstrap-overrides.css');

:root {
  --header-height: 100px;
  --wp--preset--spacing--80: 8rem;
  --wp--preset--spacing--70: 6.5rem;
  --wp--preset--spacing--60: 5rem;
  --wp--preset--spacing--50: 3rem;
  --wp--preset--spacing--40: 1.5rem;
  --wp--preset--spacing--30: 1rem;
  --wp--preset--spacing--20: 0.5rem;
  --wp--preset--spacing--10: 0.25rem;
  --wp--style--global--content-size: calc(1350px - 1rem);
  --wp--custom--carousel-block--pagination-bullet-size: 16px;
  --swiper-pagination-bullet-horizontal-gap: 12px;
  --wp--custom--carousel-block--pagination-bullet-horizontal-gap: 12px;
  --wp--custom--carousel-block--pagination-bullet-color: #d9d9d9;
  --wp--custom--carousel-block--pagination-bullet-active-color: var(--bs-primary);
  --wp--custom--carousel-block--pagination-bullet-opacity: 1;
  --wp--custom--carousel-block--pagination-bullet-active-opacity: 1;
  --wp--custom--carousel-block--navigation-color: var(--bs-primary);
  --wp--custom--carousel-block--navigation-size: 2.5rem;
  --fa-font-family: "Font Awesome 6 Pro";

}

body:not(.wp-admin) {
  font-family: 'Outfit', Arial, sans-serif;
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.5;
  color: #4e4e4e;
  background-color: #fff;
}

#page {
  background-image: var(--page-background);
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
  background-position: 50%;
}


h1,
h2 {
  font-weight: 100;
  /*color: var(--bs-primary);*/
}

.semi-transparent {
  --bs-bg-opacity: 0.67;
}

.entry-content {
  font-size: 20px;
}

#footer,
#footer a {
  color: #fff;
}

.entry-content .alignfull,
.footer_widget .alignfull {
  width: 100vw;
  margin-left: -50vw;
  left: 50%;
  position: relative;
  overflow-x: hidden;
}

.footer-info .menu li {
  display: inline-block;
}

.footer-info-menus a {
  padding: 0;
  color: #fff;
}

.footer_widget .menu .menu-item {
  display: inline-block;
  margin: 0 1rem 0.5rem 0;
}

.entry-content>.alignfull:first-child {
  background-size: cover !important;
  background-attachment: revert !important;
  background-position: 100% 50%;
  background-repeat: no-repeat;
}

.fs-lg {
  font-size: calc(3.375rem + 1.5vw) !important;
}

@media (min-width: 1200px) {
  .fs-lg {
    font-size: 6.5rem !important;
  }
}

.editor-styles-wrapper blockquote,
blockquote.blockquote {
  font-size: 70px;
  font-weight: 100;
  color: var(--bs-primary);
  max-width: 920px !important;
  margin: 0 auto;
  border: none;
  line-height: 1;
}

.editor-styles-wrapper blockquote>p:before,
blockquote.blockquote>p:before {
  content: "“";
  font-weight: 100;
  margin-right: 0.25rem;
}

.editor-styles-wrapper blockquote>p:after,
blockquote.blockquote>p:after {
  content: "”";
  font-weight: 100;
  margin-left: 0.25rem;
}

.editor-styles-wrapper blockquote>p,
blockquote.blockquote>p {
  display: inline-block;
}


/* Default: show .logo_default, dark text, white header background */
.logo_clear,
.logo.clear_colored {
  opacity: 0;
}

#masthead {
  background-color: #fff;
  color: #212529;
  box-shadow: 0 0 0px #0000;
  transition: all 0.3s ease-in-out;
  left: 0;
  z-index: 99999;
  width: 100%;
  transition: all 0.3s ease-in-out;
}

#masthead .logo {
  display: block;
  opacity: 1;
  position: relative;
  transition: all 0.3s ease-in-out;
  max-width: 142px;
}

#offcanvas-navbar .main-menu-hidden {
  display: none;
}

/* If html has .clear or .clear_colored: transparent header, white text, show .logo_clear or .clear_colored */
html.clear #masthead,
html.clear_colored #masthead {
  background-color: transparent;
  box-shadow: 0 0 0px #0000;
}

html.clear #masthead #nav-main *,
html.clear_colored #masthead #nav-main * {
  color: #fff !important;
}

/* On scroll: body.scrolled, revert to default (white header, dark text, show .logo_default) */
/* On hover: #masthead:hover, revert to default (white header, dark text, show .logo_default) */
body.scrolled #masthead,
#masthead:hover,
html.clear #masthead:hover,
html.clear_colored #masthead:hover {
  background-color: #fff;
}

body.scrolled #masthead {
  box-shadow: 0 0 10px #0002;
}

html.clear #masthead #nav-main .btn[class*="btn-outline"]:hover,
html.clear_colored #masthead #nav-main .btn[class*="btn-outline"]:hover {
  color: var(--bs-btn-hover-color) !important;
}


.logo-icons .logo .color {
  transition: all 0.2s ease-in-out;
  filter: grayscale(1) contrast(0);
}

.logo-icons .logo:hover .color {
  filter: none;
}

.logo-icons .logo .bw {
  display: none;
}

/* menu */

.dropdown-toggle::after {
  content: "";
}

#bootscore-navbar .menu-item-has-children>a::after {
  content: "\f107";
  font-family: var(--fa-font-family);
  border: 0 none;
  margin: 0;
  vertical-align: text-top;
  padding-left: 0.3em;
}

#bootscore-navbar {
  --bs-dropdown-link-color: var(--bs-primary);
  --bs-nav-link-color: var(--bs-primary);
  --bs-nav-link-hover-color: #EB4300;
  --bs-navbar-active-color: var(--bs-nav-link-hover-color);
  --bs-nav-link-font-size: 1.125rem;
}

#bootscore-navbar .dropdown-menu {
  --bs-dropdown-border-radius: 0 0 0.6rem 0.6rem;
  --bs-dropdown-box-shadow: 0 0 10px #0002;
  --bs-dropdown-link-color: var(--bs-primary);
  --bs-dropdown-link-hover-color: #EB4300;
  --bs-dropdown-font-size: 1.125rem;
  --bs-dropdown-border-color: #eef;
  border-top: 0;
}

#bootscore-navbar .dropdown-menu {
  display: block;
  z-index: -1;
  opacity: 0;
  text-align: center;
  transform: rotateX(90deg) translateY(-10px);
  transition: transform 0.2s ease-in-out, opacity 0.2s ease-in-out;
  left: -50%;
}

#bootscore-navbar .menu-item:hover .dropdown-menu {
  z-index: 200 !important;
}

#bootscore-navbar .dropdown-menu.show {
  opacity: 1;
  transform: rotateX(0deg) translateY(0px);
  z-index: 105;
}


.gblock.accordion_compatto .accordion-button {
  font-size: 1.75rem;
  font-weight: 600;
}

.wp-block-button.is-style-icon-link .wp-block-button__link,
.wp-block-button.is-style-icon-link a {
  background: transparent;
  margin: 0;
  box-shadow: none;
  color: var(--bs-primary);
}

.wp-block-button > a.btn {
	width: 100%;
}

ul.wp-block-list {
  list-style-type: "";
  padding-left: 2.5rem;
}

ul.wp-block-list li {
  position: relative;
}

ul.wp-block-list li::before {
  content: "\f111";
  font: var(--fa-font-solid);
  display: inline-block;
  position: absolute;
  left: -2rem;
  font-size: 0.2em;
  line-height: 4em;
  top: 2em;
}

.dot-separator {
  font-size: 5px;
  line-height: 1.5rem;
}

.link-arrow::after {
	content: "\f061";
	font: var(--fa-font-light);
	padding-left: 0.5em;
	font-size: 1.2em;
	transition: all 0.3s ease-in-out;
	vertical-align: text-bottom;
}

.slick-next::before,
.slick-prev::before {
  display: none;
}

.slick-dots li button::before {
  font-size: 1rem;
}

.slick-dots li.slick-active button::before,
.slick-dots li button:hover::before,
.slick-dots li button:focus::before {
  opacity: .75;
  color: var(--bs-primary);
}

.slick-dots.custom_dots {
  position: relative;
  bottom: 0;
  margin: 0;
  padding: 0;
  top: 0;
}


.deda-breadcrumbs,
.deda-breadcrumbs a {
  color: var(--bs-silver);
}

html.clear .deda-breadcrumbs,
html.clear_colored .deda-breadcrumbs,
html.clear .deda-breadcrumbs a,
html.clear_colored .deda-breadcrumbs a {
  color: #fff !important;
}

.wp-block-search.wp-block-search__button-only .wp-block-search__button {
  box-sizing: border-box;
  display: flex;
  flex-shrink: 0;
  justify-content: center;
  margin-left: 0;
  max-width: 100%;
  align-content: center;
  align-items: center;
}


/** mobile menu **/

#menu-mobile.mm-menu.mm-menu--offcanvas {
  display: block !important;
}

.admin-bar #menu-mobile {
  top: var(--wp-admin--admin-bar--height);
}

.mm-navbar__title>span:first-child {
  display: block;
  width: 100%;
}

.mm-blocker {
  position: fixed;
}


/** video iframes **/
.wp-block-embed__wrapper>iframe {
  width: 100%;
  height: auto;
  border-radius: var(--bs-border-radius);
}

.wp-embed-aspect-16-9 .wp-block-embed__wrapper>iframe {
  aspect-ratio: 16/9;
}

/** tabs **/


.wp-block-ub-tabbed-content-pills .wp-block-ub-tabbed-content-tab-title-wrap {
  border-radius: 100px;
  border: 1px solid;
  margin-right: 2rem;
}


/** post grid filters **/
.filter_label {
  cursor: pointer;
  transition: all 0.3s ease-in-out;
}

.filter_checkbox:checked+.filter_label {
  color: var(--bs-primary);
  text-decoration: underline;
}


/** single post image dimensions **/

.wp-post-image {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  object-position: center;
}

/** swiper module carousel block **/
.wp-block-cb-carousel-v2 .swiper-button-prev::after,
.wp-block-cb-carousel-v2 .swiper-rtl .swiper-button-next::after {
  content: "\f0a8";
  font-family: "Font Awesome 6 Pro";
  font-weight: 100;
}

.wp-block-cb-carousel-v2 .swiper-button-next::after,
.wp-block-cb-carousel-v2 .swiper-rtl .swiper-button-prev::after {
  content: "\f0a9";
  font-family: "Font Awesome 6 Pro";
  font-weight: 100;
}

.header-image {
  background-image: var(--header-image);
  background-size: cover;
  background-position: center;
  min-height: 37vw;
}

.single-post .header-image {
  min-height: 20vh;
}

/** counters **/
.counter-reset {
  counter-reset: section;
}

.counter::before {
  counter-increment: section;
  content: counter(section);
  background: #fff;
  width: 3rem;
  height: 3rem;
  display: inline-block;
  text-align: center;
  margin-right: 0.5rem;
  padding: 8px;
  font-weight: 300;
  line-height: 1em;
  font-size: 1.1em;
}

/** landing page menu **/

.landing-page-menu {
  position: sticky;
  z-index: 5;
  top: calc(var(--header-height) + var(--wp-admin--admin-bar--height, 0px));
  overflow: hidden;
}


@media (max-width: 575px) {
  #masthead .navbar-brand .logo {
    max-width: 100px;
  }

  #masthead .logo-icons .logo {
    max-width: 30px;
  }


}

@media (max-width: 767px) {
  .landing-page-menu .wrapper {
    --lp-icon-size: 3rem;
    left: 100%;
    right: auto;
    position: relative;
    transition: all ease-in 0.3s;
    padding: 0 25px;
    width: 100vw;
  }

  .landing-page-menu ul li {
    text-align: right;
    justify-content: end;
    padding: 5px 0;
  }

  .landing-page-menu ul li .dot-separator {
    display: none;

  }

  .landing-page-menu .wrapper::before {
    content: "\f0c9";
    height: var(--lp-icon-size);
    position: absolute;
    right: 100%;
    top: 0;
    background: inherit;
    color: #fff;
    text-align: center;
    font: var(--fa-font-regular);
    display: block;
    width:var(--lp-icon-size);
    line-height: var(--lp-icon-size);
  }

  .landing-page-menu .wrapper:hover,
  .landing-page-menu .wrapper.open {
    left: 0;
  }
}