/*
	Theme Name:   NVTI
	Theme URI:    https://www.inclind.com/
	Template:     generatepress
	Version:      0.1
*/

.gform_page_fields .gfield p {
  margin-top: 2rem;
  margin-bottom: 0;
}

header button.menu-toggle {
  display: flex !important;
}

.icon-menu-bars svg {
  width: 2em !important;
  height: 2em !important;
}

.mb-0 {
  margin-bottom: 0 !important;
}

.w-100 {
  width: 100% !important;
}

.wp-block-social-links li {
  padding: 2px;
  border: 1px solid;
}

.wp-block-social-links li svg {
  width: 20px !important;
  height: 20px !important;
}

.swiper-pagination-clickable {
  z-index: 1000;
}
.swiper-pagination-bullet {
  width: 18px;
  height: 18px;
  border-radius: 9px;
  background-color: transparent;
  border: 1px solid #fff;
  padding: 2px;
  margin: 5px;
  cursor: pointer;
  opacity: 1;
}
.swiper-pagination-bullet-active {
  background-color: #fff !important;
  opacity: 1 !important;
}

.login-banner {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  z-index: unset;
  width: 100%;
  height: 100%;
  max-width: 1390px;
  display: flex;
  margin-left: auto;
  margin-right: auto;
}

.inside-header,
.inside-navigation,
.slider-container,
.page-header-wrapper {
  max-width: 1390px !important;
  margin: auto;
}

nav a:hover,
.page-header a:hover,
header a:hover,
footer a:hover {
  text-decoration: underline;
}

.inside-header {
  justify-content: space-between;
  flex-direction: row;
}

header .wp-block-search__input {
  background: transparent;
  font-size: 14px;
  font-family: Arial;
  padding: 0.5rem 0.85rem;
  padding-left: 2.2rem;
  background-image: url('https://www.nvti.org/app/uploads/2023/08/NVTI_Icons_Top_Search.png');
  background-repeat: no-repeat;
  border: none;
  border-bottom: solid 2px #7d7d7d;
}

.gray-block a {
  font-weight: bold;
}

#primary-menu > ul > li:first-of-type > a,
#primary-menu-2 > ul > li:first-of-type > a {
  padding-left: 0 !important;
}

ul.sub-menu {
  margin-top: 15px;
  padding-top: 5px;
}

li.menu-item-has-children .icon-arrow-right {
  display: none;
}

ul.sub-menu ul.sub-menu:after,
ul.sub-menu ul.sub-menu:before {
  content: none;
}

ul.sub-menu ul.sub-menu {
  margin-top: 0;
  margin-left: 13px;
  width: max-content;
}

ul.sub-menu:after {
  content: '';
  border-left: 15px solid transparent;
  border-right: 15px solid transparent;
  border-bottom: 15px solid #e8e9eb;
  position: absolute;
  bottom: calc(100% - 2px);
  left: 15px;
  right: calc(100% - 13px);
}

ul.sub-menu:before {
  content: '';
  width: 100%;
  height: 15px;
  background-color: transparent;
  position: absolute;
  bottom: 100%;
}

.menu-item-has-children .menu-item-has-children ul.sub-menu:before {
  content: '';
  width: 13px;
  height: 100%;
  right: 100%;
  left: auto;
  top: 0;
}
.menu-item-has-children .menu-item-has-children ul.sub-menu:after {
  content: '';
  border-top: 13px solid transparent;
  border-left: 13px solid #e8e9eb;
  border-right: 13px solid transparent;
  border-bottom: 13px solid transparent;
  bottom: auto;
  top: 7px;
  left: auto;
}
.menu-item-has-children .menu-item-has-children:hover ul.sub-menu:after {
  border-left: 13px solid #cacdd1;
}

.menu-item-has-children .dropdown-menu-toggle {
  transition: all ease-in-out 0.2s;
}

.menu-item-has-children:hover .dropdown-menu-toggle {
  transform: rotate(0.5turn);
  transition: all ease-in-out 0.2s;
  padding-right: 10px !important;
  padding-left: 10px !important;
}

a.button {
  background-color: #bc2032;
  border: none;
  -webkit-box-shadow: none;
  box-shadow: none;
  color: #fff;
  text-transform: uppercase;
  min-width: 210px;
  display: inline-block;
  text-align: center;
  padding: 0.3rem;
  margin: 1.75rem 0 1rem;
}

.mobile-navigation-wrapper {
  display: none;
}

@media (max-width: 1450px) {
  .inside-header,
  .inside-navigation,
  .slider-container,
  .footer-disclaimer,
  footer > div {
    max-width: 1140px !important;
    margin: auto;
  }
  .page-header-wrapper,
  .login-banner {
    max-width: 1140px !important;
  }
}

@media (max-width: 1200px) {
  .hide-on-1200 {
    display: none !important;
  }

  header + .main-navigation a {
    font-size: 14px;
  }

  .inside-header,
  .inside-navigation,
  .slider-container,
  .login-banner,
  footer > div,
  .footer-disclaimer,
  body:not(.home) .grid-container {
    width: 96% !important;
    margin: auto;
  }
  .page-header-wrapper {
    width: 96% !important;
  }
}

@media (max-width: 850px) {
  .page-header-content {
    width: 100% !important;
    margin: auto;
  }
  body > .main-navigation {
    position: absolute;
    top: -1000px;
  }
  .mobile-navigation-wrapper {
    display: block;
  }
  .mobile-navigation-wrapper .main-navigation {
    background-color: transparent;
  }
  .mobile-navigation-wrapper .main-navigation .mobile-menu {
    display: none;
  }
  .mobile-navigation-wrapper .main-navigation .icon-menu-bars {
    color: #000;
  }
  .hide-on-850 {
    display: none !important;
  }

  header.site-header {
    box-shadow: 1px 0px 5px 1px rgba(0, 0, 0, 0.25);
    min-height: 85px;
  }
  nav + div {
    margin-top: 85px;
  }
  .logged-in header {
    top: 32px;
  }
}
@media (max-width: 782px) {
  .logged-in header {
    top: 46px !important;
  }
}

header.site-header {
  position: fixed !important;
  width: 100%;
  z-index: 999;
  top: 0;
}

.logged-in header {
  top: 32px;
}

@media (min-width: 851px) {
  nav:not(.paging-navigation) {
    position: fixed !important;
    width: 100%;
    z-index: 999;
    min-height: 65px;
    top: 107px;
  }
  nav.main-navigation {
    box-shadow: 1px 0px 5px 1px rgba(0, 0, 0, 1);
  }

  .logged-in nav {
    top: 139px;
  }

  header.site-header {
    min-height: 107px;
  }

  nav + div {
    margin-top: 172px;
  }
}
noscript {
  background-color: white;
  color: black;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
body .entry-meta {
  color: #757575;
}

body .asterisk {
  color: #d53a1a;
}
