/* bug fix */

.btn:focus:not([class*="btn-outline-"]:focus) { color: var(--t4-btn-hover-color); }

/* HTML video border artifacts fix */

video {
    -webkit-mask-image: -webkit-radial-gradient(white, black);
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
}

/* cookies */

.jb-cookie {
	border-top: 0 !important;
	box-shadow: 0 0 5px #333;
}

.jb-cookie div.jb-cookie-bg {
    opacity: 0.95;
}

.jb-cookie p.jb-cookie-title {
    font-size: 17px;
    font-weight: normal;
}

.jb-cookie p {
    font-size: 17px;
}

.jb-cookie a {
	opacity: .8;
    display: inline-block;
	cursor: pointer;
	text-decoration: underline;
}

.jb-cookie a:hover {
    opacity: 1;
	color: #fefefe;
	text-decoration: underline;
}

.jb-cookie a, .jb-cookie a:active, .jb-cookie a:visited {
    color: rgb(255, 255, 255);
}

/* category title margins */

.content-category h1 {
  margin-top: 0 !important;
}

/* t4-bg-opacity and t4-text-opacity*/
.bg-primary {
  background-color: rgba(var(--t4-primary-rgb), var(--t4-bg-opacity)) !important;
}
.bg-secondary {
  background-color: rgba(var(--t4-secondary-rgb), var(--t4-bg-opacity)) !important;
}
.bg-success {
  background-color: rgba(var(--t4-success-rgb), var(--t4-bg-opacity)) !important;
}
.bg-info {
  background-color: rgba(var(--t4-info-rgb), var(--t4-bg-opacity)) !important;
}
.bg-warning {
  background-color: rgba(var(--t4-warning-rgb), var(--t4-bg-opacity)) !important;
}
.bg-danger {
  background-color: rgba(var(--t4-danger-rgb), var(--t4-bg-opacity)) !important;
}
.bg-light {
  background-color: rgba(var(--t4-light-rgb), var(--t4-bg-opacity)) !important;
}
.bg-dark, .module-dark {
  background-color: rgba(var(--t4-dark-rgb), var(--t4-bg-opacity)) !important;
}
.bg-black {
  background-color: rgba(var(--t4-black-rgb), var(--t4-bg-opacity)) !important;
}
.bg-white {
  background-color: rgba(var(--t4-white-rgb), var(--t4-bg-opacity)) !important;
}
.text-primary {
  color: rgba(var(--t4-primary-rgb), var(--t4-text-opacity)) !important;
}
.text-secondary {
  color: rgba(var(--t4-secondary-rgb), var(--t4-text-opacity)) !important;
}
.text-success {
  color: rgba(var(--t4-success-rgb), var(--t4-text-opacity)) !important;
}
.text-info {
  color: rgba(var(--t4-info-rgb), var(--t4-text-opacity)) !important;
}
.text-warning {
  color: rgba(var(--t4-warning-rgb), var(--t4-text-opacity)) !important;
}
.text-danger {
  color: rgba(var(--t4-danger-rgb), var(--t4-text-opacity)) !important;
}
.text-light {
  color: rgba(var(--t4-light-rgb), var(--t4-text-opacity)) !important;
}
.text-dark {
  color: rgba(var(--t4-dark-rgb), var(--t4-text-opacity)) !important;
}
.text-black {
  color: rgba(var(--t4-black-rgb), var(--t4-text-opacity)) !important;
}
.text-white {
  color: rgba(var(--t4-white-rgb), var(--t4-text-opacity)) !important;
}
.text-body {
  color: rgba(var(--t4-body-color-rgb), var(--t4-text-opacity)) !important;
}

/* share this */
span.a2a_svg.a2a_s__default.a2a_s_email{
	background-color: rgb(213, 1, 1) !important;
}
span.a2a_svg.a2a_s__default.a2a_s_facebook {
	background-color: #36609f !important;
}
.t4-share-this h3.module-title {
	color: #6c757d !important;
}
@media (min-width: 768px) {
  #t4-share-this.t4-section.sec-spacing-lg .t4-section-inner {
    padding-top: 2rem !important;
  }
}

/* CC logo size and font adjustment */
@media (min-width: 992px) and (max-width: 1190px) {
  .t4-megamenu .navbar-nav > li > a,
  .t4-megamenu .navbar-nav > li > .nav-link {
    font-size: 0.85rem !important;
  }
}

@media (max-width: 319px) {
	.swiper-home-slider .swiper-home-videos .overlay {
	display: none;
	}	
}

.alert-warning {
  color: #856404 !important;
  border-color: #f6edb9 !important;
}

/* adjust NINV logo */

.navbar-brand img.logo-img {
	margin-bottom: 0;
}

.logo-img-sm {
	margin-bottom: 7px;
}

.navbar-brand.logo-control img.logo-img {
	width: auto;
}

.navbar-brand img.logo-img {
	width: 130px;
}

/*@media (min-width: 992px) and (max-width: 1190px) {
  .navbar-brand img.logo-img {
    margin-bottom: 5px !important;
    width: 55px
  }
}*/

/* start NINV styling */

/* header */

.t4-header {
    background-color: #f5f6fa;
	border-bottom: 1px solid #dfe2e1;
}

.t4-megamenu .navbar-nav > li > a, .t4-megamenu .navbar-nav > li > .nav-link {
	font-weight: 500;
}

.t4-megamenu .nav > .dropdown > .nav-link .item-caret,
.t4-megamenu .nav > .dropdown > .dropdown-toggle .item-caret {
  border-top: 4px solid #25262d;
}

.t4-megamenu .navbar-nav > li > a::before, .t4-megamenu .navbar-nav > li > span::before {
  background: #5d65b2;
}

.t4-megamenu .dropdown-menu li.nav-item::after {
  background-color: #d5d7d6;
}

.t4-megamenu .dropdown-menu li > a:hover,
.t4-megamenu .dropdown-menu li > a:focus,
.t4-megamenu .dropdown-menu li > a:active,
.t4-megamenu .dropdown-menu li > .nav-link:hover,
.t4-megamenu .dropdown-menu li > .nav-link:focus,
.t4-megamenu .dropdown-menu li > .nav-link:active,
.t4-megamenu .dropdown-menu li .dropdown-item:hover,
.t4-megamenu .dropdown-menu li .dropdown-item:focus,
.t4-megamenu .dropdown-menu li .dropdown-item:active {
  color: #d5d7d6;
}

.t4-megamenu .dropdown-menu li.active > a {
  color: #d5d7d6 !important;
}

.t4-megamenu .navbar-nav > li.active > a::before,
.t4-megamenu .navbar-nav > li.active > span::before,
.t4-megamenu .navbar-nav > li.show > a::before,
.t4-megamenu .navbar-nav > li.show > span::before {
  height: 4px;
}
.t4-megamenu .navbar-nav > li > a:hover::before,
.t4-megamenu .navbar-nav > li > a:focus::before,
.t4-megamenu .navbar-nav > li > a:active::before,
.t4-megamenu .navbar-nav > li > span:hover::before,
.t4-megamenu .navbar-nav > li > span:focus::before,
.t4-megamenu .navbar-nav > li > span:active::before {
  height: 4px;
}

.t4-megamenu .dropdown-menu li > a,
.t4-megamenu .dropdown-menu li > .nav-link,
.t4-megamenu .dropdown-menu li .dropdown-item {
  color: #fff;
}

.t4-megamenu .dropdown-menu {
  background: #25262d;
  min-width: 10rem;
}

.t4-navbar .nav-item {
  margin: 0 10px;
}

/* offcanvas */

.t4-offcanvas {
  background: #25262d;
}

.t4-offcanvas .t4-off-canvas-header {
  background-color: #25262d;
}

.t4-offcanvas-toggle {
  color: #25262d;
}

.t4-offcanvas-toggle:hover,
.t4-offcanvas-toggle:focus,
.t4-offcanvas-toggle:active {
  color: #848484;
}

.t4-offcanvas .t4-off-canvas-header a img {
  max-height: 2.75rem;
  margin-bottom: 3px;
}

.t4-offcanvas .t4-off-canvas-header .close {
    margin-left: auto;
}

.t4-offcanvas .t4-off-canvas-header .close span {
    line-height: 29px;
}

.t4-offcanvas .t4-off-canvas-body .navbar .btn-toggle.is-active::after {
  color: #7d83c1;
}

.t4-offcanvas .t4-off-canvas-body {
    height: calc(100% - 91px);
}

/* end offcanvas */

/* root adjustments */

:root {
	/* set these vars in \templates\citizencard\scss\_variables.scss and recompile SCSS in admin 
	$blue: #5d65b2 !important;
	$primary-soft: #f3f5ff !important;
	*/	
	--footer-link-color: #28262e;
	--footer-link-hover-color: #6e6e6e;
	--footer-bg-color: #f5f6fa;
	--t4-nav-link-font-weight: 400;
	--heading-font-weight: 600;
}

/* end root adjustments */

/* footer adjustments apart of "root" */

.t4-footer {
  color: #28262e;
  border-top: 1px solid #dfe2e1;
}

.t4-footer .terms-links a {
  border-bottom: 1px solid rgba(0, 0, 0, 0.15);
}

.t4-footer .terms-links a:hover,
.t4-footer .terms-links a:focus,
.t4-footer .terms-links a:active {
  border-bottom-color: rgba(0, 0, 0, 0.3);
}

.t4-footnav .footnav-1 .module-ct, 
.t4-footnav .footnav-2 .module-ct,
.t4-footnav .footnav-3 .module-ct {
  padding-top: 0;
}

.t4-footnav h3, .t4-footnav .h3 {
  color: #28262e;
  font-size: 1.1rem;
}

.t4-footnav {
  border-top: 1px solid #dfe2e1;
}

.t4-footnav .footnav-1 a,
.t4-footnav .footnav-2 a {
  font-size: 17px;
}

.t4-footnav a {
	font-weight: 400;
}

.t4-footnav .t4-module .module-title::before {
  content: "";
  display: inline-block;
  position: relative;
  top: calc(-.1 * 0.9em);
  vertical-align: middle;
  height: calc(4px + .9em);
  margin-right: calc(5px + .2em);
  border-left: calc(1px + .14em) solid #5d65b2;
}

.t4-footnav .container {
	padding-bottom: 2.1rem;
}

@media (max-width: 991.98px) {
  .t4-footnav .container {
    padding-bottom: 10px;
  }
}

.t4-footnav .t4-module .navbar .nav > li a.nav-link:before {
  margin-right: 5px;
  /*top: -0.03rem*/
}

/* end footer adjustments */

/* other */

hr {
	color: #9d9f9e;
}

#t4-footer {
  .social-list li a {
	background-color: #000;
	color: #fff;
   }
  .social-list li a:hover, .social-list li a:focus, .social-list li a:active {
	background-color: var(--body-link-color);
  }
}

#off-canvas-right {
  .social-list li a {
	line-height: 35px;
  }
}

.ui.form .field > label {
  font-weight: 600 !important;
}

.text-dark {
  color: #28262e !important;
}

.feature-icon2 {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 1.5rem;
  background-color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-link a {
  transition: all 0.25s;
}

.feature-link a:hover,
.feature-link a:focus,
.feature-link a:active {
  text-decoration: underline;
  letter-spacing: 0.5px;
}

.feature-link .link-light:hover,
.feature-link .link-light:focus,
.feature-link .link-light:active {
  color: #eaeaea !important;
}

.feature-desc-dark {
  border-bottom: 1px solid #565c74;
  padding-bottom: 1rem;
}

.heading-line {
  overflow:hidden
}

.heading-line > * {
  display:inline-block;
  position:relative
}

.heading-line > ::after,
.heading-line > ::before {
  content: "";
  position: absolute;
  top: calc(50% - (calc(.6px + .04em)/ 2));
  width: 2000px;
  opacity: 0.25;
  border-bottom: 1px solid #9d9f9e
}

.heading-line > ::before {
  right: 100%;
  margin-right: calc(5px + .3em)
}

.heading-line > ::after {
  left: 100%;
  margin-left: calc(5px + .3em)
}

.feature-icon-3 {
  width: 42px;
  height: 42px;
}

@media (max-width: 365px) {
	.list-checks {
		display: inline-block!important;
	}
}

@media (min-width: 365px) and (max-width: 576px) {
	.list-checks .flex-column {
		margin: 0 0.6rem;
	}
}

@media (min-width: 576px) and (max-width: 768px) {
	.w-sm-80 {
		width: 80%;
	}
}

@media (min-width: 768px) and (max-width: 991.98px) {
	.w-md-65 {
		width: 65%;
	}
}

.t4-section.sec-spacing-lg-top .t4-section-inner {
    padding-top: 2.5rem;
}

@media (min-width: 768px) {
	.t4-section.sec-spacing-lg-top .t4-section-inner {
		padding-top: 6rem;
	}
}

.t4-section.sec-spacing-lg-bottom .t4-section-inner {
    padding-bottom: 2.5rem;
}

@media (min-width: 768px) {
	.t4-section.sec-spacing-lg-bottom .t4-section-inner {
		padding-bottom: 6rem;
	}
}

/* end other */

/* adjust size of form fields */ 

@media (min-width: 991.98px) {
	#contact-form {
	  input#full_name, input#email, input#confirm_email {
		  width: 60%
	  }
	  input#subject {
		  width: 80%
	  }
	}  
}

/* end adjust size of form fields */ 

/* shift footer to the bottom of the page */

.t4-content-inner {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.t4-footnav {
    margin-top: auto;
}

/* end shift footer to the bottom of the page */

/* swiper */

.swiper-cc-slide .swiper-pagination-bullet-active {
  background: var(--color-primary);
}

.swiper-cc-slide .swiper-button-next,
.swiper-cc-slide .swiper-button-prev {
  color: var(--color-primary);
}

.swiper-cc-slide .swiper-button-next:hover,
.swiper-cc-slide .swiper-button-next:active,
.swiper-cc-slide .swiper-button-prev:hover,
.swiper-cc-slide .swiper-button-prev:active {
  background-color: var(--color-primary) !important;
}

.swiper-cc-slide .swiper-button-next,
.swiper-cc-slide .swiper-button-prev {
  background-color: var(--color-light);
}

