@font-face {
  font-family: "star";
  src: url("../star.html");
  src: url("../stard41d.html?#iefix") format("embedded-opentype"),
    /* url('fonts/star.woff') format('woff'), */
      /* url('fonts/star.ttf') format('truetype'), */ url("../star-2.html#star")
      format("svg");
  font-weight: normal;
  font-style: normal;
}
button {
  color: black; /* Change text color to black */
}

/* iOS specific hack */
@supports (-webkit-overflow-scrolling: touch) {
  button {
   color: black; /* Ensure text is black on iOS */
  }
}
input#submit_form_widget2 {
    width: 190px;
    height: 45px;
    background-color: #f5832b;
    color: white;
    padding: 14px 20px;
    margin: 8px 20px;
    margin-top: 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    font-size: 15px;
    letter-spacing: 1px;
}
.resources {
	display: flex;
	justify-content: space-between;
}
.resources iframe {
	width: 47%;
}
.search .background-image-general {
  display: none;
}
.search h2.center-text,
.search .blog-excerpt {
  display: none;
}
.search .blog__featured-img {
  height: 300px;
}
#display-none {
  display: none;
}
section#guide {
  margin-bottom: -70px;
}
img.woocommerce-placeholder.wp-post-image {
  width: 100%;
  height: auto;
}

.full-width {
  width: 100%;
  height: auto;
}

.part-width {
  width: 75%;
}

main li {
  padding: 8px;
}

.video-course-icons {
  background-color: #e7651f;
  border-radius: 100px;
  padding: 15px;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
}
a {
  color: #408fa7;
  text-decoration: none;
}

a:hover {
  color: #02546d;
  text-decoration: underline;
}

.grey-links {
  color: #767676;
}

.grey-links:hover {
  color: #000;
  text-decoration: underline;
}

.link-container {
  margin: 13px 0;
}

.product-link {
  border-bottom: 1px solid #4a94ab;
  color: #4a94ab;
  display: flex;
  justify-content: space-between;
  margin: 20px 0;
}

.product-link:hover {
  border-bottom: 1px solid #013240;
  color: #013240;
  text-decoration: none;
}

.invisable-link {
  visibility: hidden;
}
#myTopBtn {
  display: none;
  position: fixed;
  bottom: 78px;
  right: 30px;
  z-index: 99;
  border: none;
  outline: none;
  background-color: #ff9f04 !important;
  color: black;
  cursor: pointer;
  padding: 15px;
  border-radius: 400px;
  width: 65px;
  height: 65px;
  padding: 0px;
  font-size: 18px;
  font-weight: bold;
  margin: 0;
}

#myTopBtn:hover {
  background-color: #f5832b !important;
}

.black-to-orange-button {
  display: inline-block;
  background-color: #000;
  color: #fff;
  padding: 15px;
  text-align: center;
  margin-top: 20px;
  margin-bottom: 10px;
  text-align: center;
}

.black-to-orange-button:hover {
  background-color: #b85321;
  color: #fff;
  text-decoration: none;
}

.black-to-black-button {
  display: inline-block;
  background-color: #333;
  color: #fff;
  padding: 15px;
  text-align: center;
  margin-top: 10px;
  margin-bottom: 10px;
  text-align: center;
}

.black-to-black-button:hover {
  background-color: #000;
  color: #fff;
  text-decoration: none;
}

.white-border-button {
  display: inline-block;
  background-color: transparent;
  color: #fff;
  border: solid 2px #fff;
  padding: 15px 55px;
  text-align: center;
  margin-top: 20px;
  margin-bottom: 10px;
  border-radius: 100px;
  text-transform: uppercase;
  font-weight: 600;
  text-align: center;
}

.white-border-button:hover {
  background-color: #fff;
  color: #000;
  text-decoration: none;
}

.black-border-not-round-button {
  display: inline-block;
  background-color: transparent;
  color: #000;
  border: solid 2px #000;
  padding: 15px 55px;
  text-align: center;
  margin-top: 20px;
  margin-bottom: 10px;
  border-radius: 0px;
  text-transform: uppercase;
  font-weight: 600;
  text-align: center;
}

.black-border-not-round-button:hover {
  background-color: #000;
  color: #fff;
  text-decoration: none;
}

.orange-to-orange-button,
.woocommerce #respond input#submit,
.uap-login-template-1 .uap-form-submit input {
  display: inline-block;
  padding: 12px 40px;
  background-color: #f5832b;
  color: #000;
  font-weight: 600;
  text-align: center;
  border: none;
}
button.wpforms-submit,
button.woocommerce-button.button.woocommerce-form-login__submit.wp-element-button {
  display: inline-block;
  padding: 12px 40px !important;
  background-color: #f5832b !important;
  color: #000 !important;
  font-weight: 600 !important;
  text-align: center !important;
}
button.wpforms-submit:hover,
button.woocommerce-button.button.woocommerce-form-login__submit.wp-element-button:hover {
  background-color: #e7651f !important;
  color: #000 !important;
  text-decoration: none !important;
}
.orange-to-orange-button:hover,
.woocommerce #respond input#submit:hover,
.uap-login-template-1 .uap-form-submit input:hover {
  background-color: #e7651f;
  color: #000;
  text-decoration: none;
}

.orange-rounded-corners {
  font-size: 18px;
  font-weight: 500;
  border-radius: 100px;
  padding-top: 12px;
  padding-bottom: 12px;
  background-color: #e7651f;
  color: #fff;
  text-align: center;
}

.orange-rounded-corners:hover {
  background-color: #b85321;
  color: #fff;
  text-decoration: none;
}

.button-border-radius {
  border-radius: 100px;
}
.border-radius {
  border-radius: 5px;
}
.sub-heading {
  font-size: 26px;
  margin-top: 0;
  margin-bottom: 20px;
}

.mini-heading {
  font-size: 20px;
  margin-top: 0;
  margin-bottom: 20px;
}

.like-text {
  font-weight: normal;
  font-size: 16px;
}

.float-right {
  float: right;
}

.two-square-flex {
  display: flex;
  flex-wrap: wrap;
  align-content: center;
  justify-content: space-evenly;
  gap: 15px;
  margin-top: 15px;
}

.two-square-flex > div {
  width: 48%;
  border-radius: 5px;
}

.two-column {
  -moz-column-count: 2;
  column-count: 2;
}
.img-text-cont {
  width: 65%;
}

.img-cont {
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  width: 35%;
}

.video .img-cont {
  background-position: top left;
}
.text-left-flex {
  display: flex;
  gap: 30px;
  align-items: center;
}
.text-left {
  width: 35%;
}
.img-right-flex {
  display: flex;
  gap: 20px;
}

.box-top-grad-line-no-border {
  padding-top: 5px;
  border-radius: 0px;
  width: 100%;
  height: 4px;
  background: linear-gradient(0.25turn, #ed7d31, #ffc000);
}

.flex-box-shadow {
  box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
}

.flex-padding-no-top {
  padding: 20px;
  padding-top: 0;
  margin-top: -15px;
}

.product-image {
  border-radius: 5px 5px 0 0;
}

.product-grid h2 {
  font-size: 16px;
  line-height: 1.3;
}

.product-grid h3 {
  font-weight: 300;
  font-size: 15px;
  line-height: 1.3;
}
.gradient-line {
  width: 100%;
  height: 2px;
  margin-bottom: 20px;
  margin-top: 30px;
  background: linear-gradient(0.25turn, #ed7d31, #ffc000);
}

.gradient-line-thick {
  border-radius: 0px;
  width: 100%;
  height: 5px;
  background: linear-gradient(0.25turn, #ed7d31, #ffc000);
  margin-top: -4px;
}

.dark-orange-line {
  width: 100%;
  height: 3px;
  margin: 8px 0;
  background-color: #b85321;
}

.orange-line {
  width: 100%;
  height: 3px;
  margin: 8px 0;
  background-color: #f5832b;
}

.light-orange-line {
  width: 100%;
  height: 3px;
  margin: 8px 0;
  background-color: #faa74e;
}

.pale-orange-line {
  width: 100%;
  height: 3px;
  margin: 8px 0;
  background-color: #fdd2a4;
}

.grey-line {
  width: 100%;
  height: 3px;
  margin: 8px 0;
  background-color: #e6e7e6;
}

.dark-grey-line {
  width: 100%;
  height: 1.5px;
  margin: 8px 0;
  background-color: #999;
}
.heading-text-cont h2 {
  font-size: 38px;
}

.heading-text-cont {
  display: flex;
  flex-direction: column;
  align-content: center;
  align-items: center;
  margin-bottom: 25px;
}
.course-tab-container {
  display: flex;
  justify-content: space-between;
  align-content: space-between;
}

.course-tab-container .tab {
  display: flex;
  align-content: center;
  justify-content: space-between;
  flex-direction: column;
  width: 20%;
}

.coursetabcontent {
  width: 80%;
  padding: 50px;
  background-image: linear-gradient(
      rgba(229, 229, 229, 0.15),
      rgba(229, 229, 229, 0.15)
    ),
    url(https://cdn1.hardhattraining.com/new-cdn/uploads/MicrosoftTeams-image-5.webp);
  background-size: cover;
  background-position: right;
  background-repeat: no-repeat;
  color: #fff;
  border-radius: 0 5px 5px 0;
  padding-left: 85px;
}

button.coursetablinks {
  border: none;
  margin: 0;
  padding: 15px;
  position: relative;
}

button.coursetablinks:hover {
  cursor: pointer;
}

button.coursetablinks:nth-child(1) {
  background-color: #c45c28;
  border-radius: 5px 0 0 0;
}

button.coursetablinks:nth-child(2) {
  background-color: #f5832b;
}

button.coursetablinks:nth-child(3) {
  background-color: #faa74e;
}

button.coursetablinks:nth-child(4) {
  background-color: #fdd2a4;
  border-radius: 0 0 0 5px;
}

.coursetypeactive::after {
  content: " ";
  height: 0;
  width: 0;
  position: absolute;
  left: 240px;
  top: 0px;
  border-style: solid;
  border-width: 60px 0 60px 55px;
  border-color: transparent transparent transparent #c45c28;
  z-index: 2;
}

.coursetypeactive:nth-child(1)::after {
  border-color: transparent transparent transparent #c45c28;
}

.coursetypeactive:nth-child(2)::after {
  border-color: transparent transparent transparent #f5832b;
}

.coursetypeactive:nth-child(3)::after {
  border-color: transparent transparent transparent #faa74e;
}

.coursetypeactive:nth-child(4)::after {
  border-color: transparent transparent transparent #fdd2a4;
}
#accordion-1 h4 {
  font-size: 20px;
  font-weight: 500;
}

#accordion-1 {
  position: relative;
  margin: 5px 0;
}
.woocommerce #accordion-1 {
  margin: -6px 0;
}
#accordion-1 .accordion-cont {
  background-color: #333;
  color: #fff;
  padding: 20px 30px;
  cursor: pointer;
  transition: 0.2s ease;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.woocommerce #accordion-1 .accordion-cont {
  padding: 0px 30px;
}
#accordion-1 .arrow {
  color: #fff;
  font-size: 60px;
  transition: 0.25s ease;
  opacity: 1;
  transform: rotate(0deg);
}

#accordion-1 .accordion-cont:hover .arrow {
  opacity: 1;
}

#accordion-1 .accordion-cont:hover {
  background-color: #000;
}

#accordion-1 .arrow-animate {
  transform: rotate(90deg);
  opacity: 1;
}

#accordion-1 .accordian-panel {
  background-color: #f4f4f4;
  display: block;
  padding: 20px 30px;
}
.woocommerce #accordion-1 .accordian-panel {
  background-color: white;
}
.popup {
  width: 100%;
  height: 100%;
  display: none;
  position: fixed;
  top: 0px;
  left: 0px;
  background: rgba(0, 0, 0, 0.75);
  z-index: 999;
}

.popup-inner {
  max-width: 1100px;
  width: 90%;
  padding: 40px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0px 2px 6px rgb(0, 0, 0);
  border-radius: 3px;
  background: #fff;
}

.popup-close {
  width: 50px;
  height: 50px;
  padding-top: 4px;
  display: inline-block;
  position: absolute;
  top: 20px;
  right: 20px;
  transition: ease 0.25s all;
  /* transform: translate(50%, -50%); */
  border-radius: 1000px;
  background: rgba(0, 0, 0, 0.3);
  font-family: Arial, sans-serif;
  font-size: 34px;
  text-align: center;
  line-height: 100%;
  color: #fff;
}

.popup-close:hover {
  background: rgba(0, 0, 0, 0.8);
  text-decoration: none;
  color: #fff;
}

.video .four-square-flex > div {
  padding: 15px;
}
.grey-text {
  font-size: 23px;
  font-weight: 700;
  color: #666666;
  text-align: right;
}
.orange-text {
  font-size: 60px;
  font-weight: 800;
  line-height: 1;
  color: #f5832b;
  text-align: right;
}
.catagory-page .course-tab-container {
  flex-direction: column;
}
.catagory-page .course-tab-container .tab {
  flex-direction: row;
  width: 100%;
}
.catagory-page .coursetabcontent {
  width: 100%;
  padding: 30px;
  padding-top: 50px;
  color: black;
}
.catagory-page button.coursetablinks {
  width: 25%;
}
.product-hover {
  transition: all 0.2s ease-in-out;
  text-decoration: none;
  color: black;
}
.product-hover:hover {
  transform: scale(1.02);
  text-decoration: none;
  color: black;
}
.blog .navigation ul,
.search .navigation ul {
  list-style-type: none;
  display: flex;
  justify-content: center;
}
.blog .navigation li,
.search .navigation li {
  background-color: #333;
  font-size: 18px;
  color: white;
  border-radius: 5px;
  margin: 0 5px;
  text-align: center;
  min-width: fit-content;
}
.blog .navigation li:hover,
.search .navigation li:hover {
  background-color: #000;
  text-decoration: none;
}
.blog .navigation li a,
.search .navigation li a {
  color: white;
  padding: 10px;
  text-align: center;
}

div.wpforms-container-full .wpforms-form input.wpforms-field-medium,
div.wpforms-container-full .wpforms-form select.wpforms-field-medium,
div.wpforms-container-full
  .wpforms-form
  .wpforms-field-row.wpforms-field-medium {
  max-width: 100% !important;
}
@media only screen and (max-width: 1250px) {
  .course-tab-container {
    flex-direction: column;
  }
  .course-tab-container .tab {
    flex-direction: row;
    width: 100%;
  }
  button.coursetablinks {
    width: 25%;
  }
  button.coursetablinks:nth-child(4) {
    border-radius: 0 5px 0 0px;
  }
  .coursetabcontent {
    width: 100%;
    border-radius: 0 0px 5px 5px;
    padding-left: 50px;
  }
  .coursetypeactive::after {
    right: 0px;
    left: 35%;
    top: 100px;
    border-width: 55px 55px 55px 25px;
    z-index: 10;
    transform: rotate(90deg);
  }
}
@media only screen and (max-width: 1150px) {
  .part-width {
    width: 100%;
  }
}
@media only screen and (max-width: 950px) {
  .text-left-flex {
    flex-wrap: wrap;
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }
  .text-left {
    width: 100%;
  }
  .orange-text {
    text-align: center;
    font-size: 50px;
  }
  .grey-text {
    text-align: center;
    font-size: 20px;
  }
  .table-contents-flex {
    grid-template-columns: 1fr;
  }
  .img-right-flex {
    display: flex;
    gap: 20px;
    flex-direction: column;
  }
  .img-text-cont {
    width: 100%;
  }
  .img-cont {
    width: 50%;
    min-height: 250px;
  }
}
@media only screen and (max-width: 850px) {
  .coursetypeactive::after {
    left: 35%;
    top: 80px;
    border-width: 45px 35px 45px 25px;
  }
  .coursetablinks img {
    width: 50px;
    height: 50px;
  }
  .two-square-flex {
    flex-wrap: wrap;
    justify-content: center;
  }
  .two-square-flex > div {
    width: 100%;
  }
  .two-column {
    -moz-column-count: 1;
    column-count: 1;
  }
}
@media only screen and (max-width: 740px) {
  .coursetypeactive::after {
    top: 90px;
  }
  .orange-text {
    font-size: 40px;
  }
  .blog .navigation ul,
  .search .navigation ul {
    flex-wrap: wrap;
    gap: 8px;
  }
}
@media only screen and (max-width: 660px) {
  .img-cont {
    width: 100%;
  }
  h1 {
    font-size: 35px;
  }
  .coursetypeactive::after {
    left: 28%;
  }
  .video .popup .four-square-flex > div {
    width: 40%;
    padding: 5px;
    font-size: 15px;
  }
  .video .popup .four-square-flex > div .orange-rounded-corners {
    font-size: 15px;
    padding: 10px;
  }
  .popup-inner {
    padding: 10px;
  }
  .coursetabcontent {
    padding: 25px;
    padding-top: 40px;
  }
  .banner-other-cont {
    padding: 20px;
  }
}
@media only screen and (max-width: 590px) {
  .coursetypeactive::after {
    top: 110px;
  }

  .blog-featured-img {
    float: none;
    max-width: 100%;
    padding: 0;
  }
}
@media only screen and (max-width: 500px) {
  .course-tab-container .tab {
    flex-direction: column;
  }
  button.coursetablinks {
    width: 100%;
  }
  .coursetypeactive::after {
    left: 43%;
    top: 80px;
  }
}
footer {
  background-color: #000;
  color: #fff;
}

.footer-yellow-badge {
  grid-row: 1/3;
}

.footer-4-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 25px;
}

.footer-4-grid h3 {
  color: #fff;
  text-transform: uppercase;
  margin-bottom: 10px;
  letter-spacing: 1px;
  font-size: 18px;
}

.footer-3-link-cont h3 {
  margin-top: 0;
  margin-bottom: 22px;
}

.footer-author {
  margin-top: -6px;
}

.footer-4-grid ul {
  list-style: none;
  padding-left: 0;
}

.footer-4-grid li {
  margin: 14px 0;
}

.footer-4-grid a {
  color: #848484;
  text-transform: none;
  letter-spacing: 0.5px;
  font-size: 16px;
}

.footer-4-grid a:hover {
  color: #fff;
  text-decoration: underline;
}
.bottom-links {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: -25px;
}

.bottom-links a {
  color: #848484;
  text-transform: none;
  letter-spacing: 0.5px;
  font-size: 16px;
}

.bottom-links a:hover {
  color: #fff;
  text-decoration: underline;
}

.footer-socails-cont a {
  border: 2px white solid;
  border-radius: 1000px;
  padding: 8px;
  display: flex;
  align-content: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin: 0 3px;
  opacity: 0.6;
}

.footer-socails-cont a:hover {
  opacity: 1;
}

.footer-socails-cont {
  display: flex;
}
footer section {
  padding-bottom: 70px;
}
@media only screen and (max-width: 1100px) {
  .footer-4-grid {
    grid-template-columns: 1.3fr 1fr 1fr;
  }
  .bottom-links {
    flex-wrap: wrap;
    justify-content: space-around;
  }
  .bottom-links > a {
    margin: 0 35px;
  }
  .resources {
	display: flex;
	flex-direction: column;
  }
	.resources iframe {
		width: 98%;
	}
}

@media only screen and (max-width: 900px) {
  .footer-4-grid li,
  .footer-3-link-cont h3,
  .footer-4-grid h3,
  .footer-4-grid p {
    text-align: center;
  }
  .footer-4-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-yellow-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .footer-socails-cont {
    margin: 0 35px;
  }
}
@media only screen and (max-width: 580px) {
  .footer-4-grid {
    grid-template-columns: 1fr;
  }
  .footer-socails-cont {
    margin-top: 15px;
  }
}
@media only screen and (max-width: 500px) {
  .bottom-links {
    flex-direction: column;
  }
  .bottom-links > a {
    margin: 8px 35px;
  }
}
.blog__featured-img {
  height: 225px;
  width: 100%;
  background-position: center center;
  background-size: cover;
}

.blog_banner-text {
  margin-bottom: 20px;
}

.blog__text-cont {
  padding: 20px 20px 5px 20px;
}

.blog__text-cont h2 {
  font-size: 20px;
  margin-bottom: 15px;
  line-height: 1.1;
  text-transform: uppercase;
  color: #404040;
}

.blog__text-cont p {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: #404040;
}

.blog__post {
  width: 32%;
  background-color: #fff;
  transition: all 0.2s ease-in-out;
  box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.1), 0 4px 15px 0 rgba(0, 0, 0, 0.1);
  border-radius: 5px;
}

.blog__text-cont a,
.blog__post a,
.blog__text-cont a:hover,
.blog-excerpt {
  color: #000;
  text-decoration: none !important;
}

.blog__post:hover {
  transform: scale(1.02);
}

/* CANADA LANDING PAGE */
.logo-grid-cntr {
    margin-top: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
	text-align: justify;
	gap: 20px;
}

.banner-other-cont-canada{
    padding: 45px;
    width: 95%;
    margin: auto;
    color: #000;
}