/*
Theme Name: Knote Child
Author: CodeGearThemes
Description: Child theme for Knote
Author URI: https://www.codegearthemes.com
Theme URI: https://www.codegearthemes.com/products/knote
Template: knote
Version: 1.0.0
*/

/* Global Style */
:root {
  --white-color: #ffffff;
  --black-color: #000000;
  --sticky-border-active: #2893F7;
	
  --green-color: #00A98F;
  --blue-color: #007BFF;
}

/* Page */
.page .scrolling-sections h2,
.page .scrolling-sections h3,
.page .scrolling-sections h4,
.page .scrolling-sections h5,
.page .scrolling-sections h6{
	font-family: 'DM Sans';
}

/* Hero Marquee */
.designer-marquee-content {
  width: 100%;
}

/* Breadcrumb */
.breadcrumb-item:first-child span {
    font-size:0;
}

.breadcrumb-item:first-child span:before {
    content: "Practical Nursing";
    font-size: 16px;
}

/* Related Posts */
.rel-post {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.rel-post a {
    background-color: #fff;
    padding: 20px 30px;
    border-radius: 30px;
    display: inline-block;
    color: #2893F7;
    font-weight: 600;
	transition: 0.3s all;
}

.rel-post a:hover {
    background-color: #2893F7;
    color: #ffffff;
}


/* Page Sticky scroll */
.scrolling-titles li.active a span {
  color: var(--black-color) !important;
}

.scrolling-titles li.active span {
  padding-left: 20px;
  border-left: 1px solid var(--sticky-border-active);
}

/* Footer */
.footer .menu {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer .menu .menu-item {
  margin-bottom: 2rem;
}

.footer .menu a {
  color: var(--theme--base-color);
  font-size: 1.6rem;
}

.footer .menu a:hover {
  color: var(--theme--primary-color);
}

/* State Link Section */
.state-links .elementor-icon-list-items {
  display: flex;
  flex-wrap: wrap;
}

.state-links .elementor-icon-list-item {
  flex-basis: 50%;
}

.state-links b {
  display: none;
}

/* Salary Card */
.SalaryCompareTemp1 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
	color: var(--white-color);
	gap: 20px;
}

.salary-card{
  padding: 24px 20px;
  text-align: center;
  background: var(--green-color);
  border-radius: 8px;
}

.salary-card.national-card{
  background: var(--blue-color);
}

.salary-card h3{
  font-size: 22px;
  color: var(--white-color);
  font-family: var(--theme--base-font-family);
  min-height: 56px;
  margin-bottom: 0;
}

.salary-card .salary-amount{
  font-size: 36px;
  font-weight: 700;
}

.salary-card .citation,
.salary-card .citation a{
	font-size: 12px;
	color: var(--white-color);
}

.salary-card .citation a{
	text-decoration: underline;
}

/* Media Queries */
@media (min-width: 768px) {
  .sticky-sidebar {
    position: sticky;
    top: 20px;
    height: 100%;
  }
  .state-links b {
    display: inline-block;
    color: var(--theme--primary-color);
    width: 30px;
  }

  .state-links .elementor-icon-list-item {
    flex-basis: 33.33%;
  }
  .footer-scrolltop .icon-text {
    width: 45px !important;
    height: 45px !important;
  }

  .footer-scrolltop[data-position="right"].active {
    right: var(--scroll-offset) !important;
  }
}

@media screen and (min-width: 881px) {
  .sub-menu-toggle svg {
    width: 18px;
    height: 18px;
  }
  .main-navigation ul ul {
    min-width: 270px;
    border-top: 3px solid var(--theme--primary-color);
    padding: 10px 0;
    box-shadow: 0px 10px 20px 13px rgb(0 0 0 / 10%);
    transform: translateY(-20px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s linear, transform 0.2s linear,
      visibility 0.2s linear;
  }

  .main-navigation ul li:hover > ul,
  .main-navigation ul li:focus > ul,
  .main-navigation ul li.focus > ul {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .main-navigation ul li:last-child a {
    padding-right: 0;
  }

  .main-navigation ul ul li a {
    font-size: 1.4rem;
    line-height: 1.2;
    border-bottom: 1px solid #d6d6d6;
  }

  .main-navigation ul ul li:last-child a {
    border-bottom: none;
  }
}

@media (min-width: 1024px) {
  .state-links .elementor-icon-list-item {
    flex-basis: 20%;
  }
}

/* From Client - Compare */
.CompareTemp1 {
  margin: auto;
  font-family: sans-serif;
  color: #000000;
  display: flex;
  flex-direction: column;
  gap: 20px;
}


.CompareTemp1 .comparison-grid {
  display: flex;
  justify-content: space-between;
  position: relative;
	gap: 20px;
}

.CompareTemp1 .comparison-column {
  width: 420px;
  border: 1px solid #DDDDDD;
  border-radius: 15px;
  padding: 20px;
  background-color: #FFFFFF; 
  box-sizing: border-box;
}

.CompareTemp1 .vs-separator {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
}

.CompareTemp1 .vs-circle {
  background-color: #000000;
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
	font-family: 'DM Serif Display';
  font-weight: bold;
}

.CompareTemp1 .comparison-row {
  margin-bottom: 15px;
}

.CompareTemp1 .comparison-row:last-child {
  margin-bottom: 0;
}

.CompareTemp1 .comparison-row h4 {
  margin: 0 0 5px 0;
  font-size: 1em;
  font-weight: bold;
}

.CompareTemp1 .comparison-row p {
  margin: 0;
  font-size: 0.9em;
}

.CompareTemp1 .choose-if-section {
  display: flex;
  justify-content: space-between;
	gap: 20px;
}

.CompareTemp1 .choose-if-box {
  width: 420px;
  border: 1px solid #DDDDDD;
  border-radius: 15px;
  padding: 20px;
  background-color: #F2F3F5;
  box-sizing: border-box;
}

.CompareTemp1 .choose-if-box h3 {
  margin: 0 0 10px 0;
  font-weight: bold;
  font-size: 1.17em; /* Default h3 font size */
}

.CompareTemp1 .choose-if-box ul {
  margin: 0;
  padding-left: 20px;
  list-style-type: disc; 
  list-style-position: outside; 
}

.CompareTemp1 .choose-if-box li {
  margin-bottom: 8px;
}

.CompareTemp1 .choose-if-box li:last-child {
  margin-bottom: 0;
}

.CompareTemp1 .comparison-column > h3 {
  margin-top: 0;
  margin-bottom: 20px;
  font-size: 1.5em;
}

/* From Client - Compare Table */
.CompareTemp5 {
  width: 100%;
  padding: 24px;
  max-width: 1200px;
  margin: auto;
  background-color: #ffffff;
  border: 1px solid #dddddd;
  border-radius: 12px;
  box-sizing: border-box;
  overflow-x: auto;
}

.CompareTemp5 .table-title {
	margin-top: 0;
	margin-bottom: 24px;
	font-size: 24px;
	font-weight: 600;
	color: #1e1e1e;
	display: flex;
	align-items: center;
	gap: 12px;
	font-family: 'DM Sans';
}

.CompareTemp5 .table-title .icon {
  font-size: 20px;
}

.CompareTemp5 table {
  width: 100%;
  border-collapse: collapse;
  border-radius: 4px;
  overflow: hidden;
  table-layout: fixed;
	margin: 0;
}

.CompareTemp5 th,
.CompareTemp5 td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid #eaeaea;
  font-size: 12px;
  word-wrap: break-word;
  white-space: normal;
}

.CompareTemp5 td {
  color: #333;
}

.CompareTemp5 thead th {
  background-color: #f9f9f9;
  font-weight: 600;
  color: #333;
  border-bottom: 2px solid #eaeaea;
}

.CompareTemp5 tbody td:first-child {
  font-weight: 600;
  color: #1e1e1e;
}

.CompareTemp5 .lpn-row {
  background-color: rgba(0, 169, 143, 0.1);
}

.CompareTemp5 .other-career-row {
  background-color: rgba(0, 123, 255, 0.1);
}

/* Post Grid */
.block--posts-grid .read-more{
	display: none;
}

/* Single Template */
.post-template-default .content-inner{
	padding-top: 0;
}

.post-template-default .breadcrumbs{
	flex-wrap: wrap;
}

/* Table of Contents */
.block-table__contents ul{
	padding: 0;
    margin: 0 0 0 -10px;
    list-style: none;
}

.block-table__contents ul li{
	 padding: 10px 0;
}

.block-table__contents ul li a{
	color: #4C4C4C;
    font-size: 1.6rem;
    font-weight: 600;
    display: flex;
}

.block-table__contents ul li a.active{
	padding-left: 20px;
	   color: var(--black-color);
    border-left: 1px solid var(--sticky-border-active);
}

/* Mega Menu */
@media screen and (min-width: 880px){
	.block-mega__menu .sub-menu{
		display: grid !important;
		grid-template-columns: repeat(4, 1fr);
		min-width: 58rem;
		width: 100%;
		z-index: 101;
	}
}

/* Contact Form */
.block-contact-form .grid {
    flex-wrap: wrap !important;
}

/* Responsive */
@media screen and (max-width: 880px){
	.SalaryCompareTemp1,
	.CompareTemp1 .comparison-grid,
	.CompareTemp1 .choose-if-section{
		flex-direction: column;
	}
	
	.CompareTemp1 .comparison-column{
		max-width: 100%;
	}
	
	.CompareTemp5 .table-container{
		overflow-x: scroll;
	}
	
	.CompareTemp5 table{
		min-width: 600px
	}
}

