/* PAGE HAS SCROLLED: From the Customizer, enable the "Scroll Detection" feature to be able to use the classes:

body.scroll-position-at-top  {background:lime}
body.scroll-position-not-at-top {background:red}

*/

* {
  -webkit-font-smoothing: antialiased;
}

:root {
  --bs-body-font-family: Roboto;
  --header-height: 90px;
  --admin-bar-height: 32px;
}

@media only screen and (max-width: 782px) {
  :root {
    --admin-bar-height: 46px;
    --header-height: 80px;
  }
}

h1,
.h1,
h2,
.h2,
h3,
.h3,
h4,
.h4,
h5,
.h5,
h6,
.h6 {
  color: #212537;
}

/* Fix horizontal scrolling due to absulate elements */
html,
body {
  overflow-x: clip;
}

/* Header fix in logged in*/
/* Move header down 32px when admin bar is present */
body.admin-bar #lc-header {
  top: var(--admin-bar-height) !important;
}

body.admin-bar #theme-main {
  margin-top: calc(var(--admin-bar-height) + var(--header-height));
}

/*Scroll fix */
body {
  scroll-margin-top: calc(var(--admin-bar-height) + var(--header-height));
}

#theme-main {
  margin-top: var(--header-height);
}

/* Hero pages */
.page-template-hero #theme-main {
  margin-top: 0 !important;
}

.page-template-hero #lc-header {
  background: transparent;
}

/* Header footer container width */
@media (min-width: 1400px) {

  #lc-header .container,
  #lc-footer .container {
    max-width: 1450px;
  }
}

.page-template-hero .fixed-header {
  background: #071C2C !important;
}

/* Top Fixed Header */
#lc-header {
  background: #071C2C;
  position: fixed;
  z-index: 999;
  left: 0;
  top: 0;
  width: 100%;
  transition: all 0.5s ease !important;
  padding: 10px 0 !important;
  border-bottom: 1px solid #ffffff15;
}

.hide-header {
  opacity: 0;
  margin-top: -102px !important;
}

.show-header {
  opacity: 1;
  margin-top: 0px !important;
}

/* Mobile Slide menu */
@media only screen and (max-width: 340px) {
  #menu-main-menu {
    width: 100%;
    margin-left: 0;
  }
}

@media only screen and (min-width: 341px) and (max-width: 480px) {
  #menu-main-menu {
    width: 260px;
    margin-left: calc(100% - 260px);
  }
}

@media only screen and (min-width: 481px) and (max-width: 1199px) {
  #menu-main-menu {
    width: 320px;
    margin-left: calc(100% - 320px);
  }
}

/* Top Fixed Header end */
@media only screen and (min-width: 1200px) {
  .navbar-expand-xl .navbar-nav .nav-link {
    padding: 0 1rem !important;
  }

  /* header menu Hover effect */
  .navbar-nav {
    --bs-nav-link-color: #fff;
    letter-spacing: .4px;
    font-size: 18px;
    font-weight: 300;
  }

  .nav-menu ul>.menu-item>a::after {
    content: "";
    display: block;
    margin: 30px 0 -30px 0;
    height: 2px;
    width: 0;
    transition: width 0.5s ease, background-color 0.5s ease;
    padding-bottom: 0;
  }

  .nav-menu .btn {
    margin-top: -0.375rem;
  }

  .navbar-expand-xl .navbar-nav .nav-link {
    padding: 0 1.5rem;
  }

  .nav-menu ul li.current-menu-item a,
  .nav-menu ul .menu-item:hover>a {
    color: var(--bs-white);
  }

  .nav-menu>ul>li>a:not(.dropdown-toggle):hover::after,
  .nav-menu li.current-menu-item>a::after {
    width: 100%;
    background: #fff
  }

  /* Hover effect end*/
}

@media only screen and (max-width: 1199px) {
  #lc-header {
    padding: 5px 0 !important;
  }

  .menubar {
    z-index: 9999;
    position: relative;
    width: 40px;
    height: 40px;
    display: inline-block;
    cursor: pointer;
    background-image: url('/wp-content/uploads/2023/06/menubar-close.svg');
    
  }

  .collapsed .menubar {
    background-image: url('/wp-content/uploads/2023/06/menubar.svg');
  }

  #menu-main-menu {
    height: 100%;
    top: 0;
    right: 0;
    position: fixed;
    z-index: 999;
    padding-top: 20px;
    margin-top: 79px;
  }

  .nav-link {
    color: var(--bs-white);
  }

  .nav-link .d-none {
    display: inline-block !important;
    color: #fff;
  }

  .navbar-nav li a {
    width: 100%;
    text-align: left;
    margin: 5px 0;
    transition: 0.4s;
    padding: 10px 20px;
    white-space: normal;
  }

  .navbar-collapse ul#menu-main-menu .current_page_item>a {
    color: #fff !important;
    background-color: rgba(255, 255, 255, 0.1);
  }

  .navbar-collapse:not(.show) #menu-main-menu {
    transform: translateX(100%);
    backface-visibility: hidden;
    transition: transform 0.4s 0s;
    background: rgba(51, 51, 51, 0.9) !important;
  }

  .navbar-collapse.show #menu-main-menu {
    background: #282C34 !important;
    transform: translateX(0);
    transition: transform 0.4s 0s;
  }

  .nav-menu .btn {
    width: initial;
    margin: 30px 12%;
  }
}
.footer-nav a {
    color: rgb(156, 163, 175);
}
.footer-nav a:hover {
    color: #fff;
}
/* Bootstrap gap fix */
a {
  text-decoration: none;
}

:focus,
:focus-visible {
  box-shadow: none !important;
  outline: none !important;
}

.sticky-top {
  top: calc(20px + var(--header-height));
}

.link-white a {
  color: #fff;
}

.text-primary a {
  color: var(--bs-primary);
}

.link-header a {
  color: var(--bs-dark);
  line-height: 1.5;
  font-size: 20px;
}

.link-header a:hover {
  color: var(--bs-link-hover-color);
}

a.link-dark:hover {
  color: var(--bs-link-hover-color) !important;
}

/* Button */
/*ripple effect */
.btn {
  position: relative;
  overflow: hidden;
}

.ripple {
  position: absolute;
  width: 2px;
  height: 2px;
  animation-name: ripple;
  animation-duration: 600ms;
  opacity: 0;
  border-radius: 50%;
}

@keyframes ripple {

  0% {
    opacity: .4;
    transform: scale(0);
    background: #000;
  }

  100% {
    opacity: 0;
    transform: scale(100);
    background: #000;
  }
}

/* ripple end */
.btn {letter-spacing: 1px;}
.btn-secondary,
.btn-success,
.btn-info,
.btn-danger {
  --bs-btn-color: #fff;
}

.btn-secondary:hover,
.btn-primary:hover,
.btn-success:hover,
.btn-info:hover,
.btn-warning:hover,
.btn-danger:hover {
  color: var(--bs-btn-color);
}

.btn-outline-warning:hover {
  color: initial;
  background: var(--bs-warning);
}

.btn-transparent {
    color: var(--bs-btn-color);
    border: 1px solid var(--bs-btn-color);
}
.btn-transparent:hover {
    color: var(--bs-primary);
    border: 1px solid var(--bs-primary);
    background: var(--bs-btn-color);
}
.btn-translight {
    color: var(--bs-primary);
    border: 1px solid var(--bs-primary);
}
.btn-translight:hover {
    color: var(--bs-btn-color);
    border: 1px solid var(--bs-btn-color);
    background: var(--bs-primary);
}
/*
* Responsive CSS start here
*/
@media only screen and (max-width: 576px) {

  .container,
  .container-fluid,
  .container-sm,
  .container-md,
  .container-lg,
  .container-xl,
  .container-xxl {
    --bs-gutter-x: 3rem;
  }
}

@media only screen and (max-width: 768px) {
  .console-container {
    font-size: 2em;
  }

}

/* SELECT2 */
.form-control {
  display: block;
  width: 100%;
}

.gform_body input,
.gform_body textarea {
  border: 1px solid #e5e5e5;
}

.gform_footer input.button {
  background: var(--bs-success);
  border: 0;
  padding: 0.7rem 1.5rem;
  border-radius: 7px;
  color: #fff;
}

/* Dropdown menu fix */
@media (min-width: 1200px) {
  .navbar-expand-xl .navbar-nav .dropdown-menu {
    margin-top: 30px !important;
  }

}
@media (max-width: 1199px) {
  .dropdown .dropdown-menu {
    position: static !important;
    padding-left: 20px !important;
  }
}

.dropdown {
  position: relative;
  display: inline-block;
}
/* Hover gap fix */
.dropdown::before {
	content: "";
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	height: 30px;
}
.dropdown-toggle {
  white-space: nowrap;
  cursor: pointer;
}

.dropdown-toggle::after {
  display: inline-block !important;
  margin: 0 0 0 0.5em !important;
  content: "" !important;
  vertical-align: 0.255em;
  border-top: 0.3em solid;
  border-right: 0.3em solid transparent;
  border-bottom: 0;
  border-left: 0.3em solid transparent
}

.dropdown-toggle:empty::after {
  margin-left: 0
}

.dropdown .dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  font-size: 1.0625rem;
  color: #fff;
  background-color: #282C34F5;
  min-width: 150px;
  z-index: 1000;
  max-height: 0;
  overflow: hidden;
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0;
  list-style: none;
  white-space: nowrap;
  border-radius: 0 0 5px 5px;
}
.dropdown-item {
  display: block;
  width: 100%;
  padding: 10px 25px;
  clear: both;
  font-weight: 400;
  color: #fff;
  text-align: inherit;
  text-decoration: none;
  border-bottom: 1px solid #00cc6615;
  transition: background-color 0.15s ease;
}

.dropdown-item:hover,
.dropdown-item:focus {
  color: #fff;
  background-color: #00000050;
}

.dropdown-menu.show, .dropdown:hover .dropdown-menu {
	max-height: 200px !important;
}

/* custom line height */
.lh-14 {
  line-height: 1.4;
}