/*
 Theme Name:   Kindred Affiliates Child Theme
 Theme URI:    http://example.com/twenty-fifteen-child/
 Description:  Kindred Affiliates Child Theme
 Author:       Kes team
 Author URI:   http://example.com
 Template:     Kindred Affiliates
 Version:      1.0.1
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Tags:         light, dark, two-columns, right-sidebar, responsive-layout, accessibility-ready
 Text Domain:  Kindred Affiliates child
*/

/* -- Roboto-Family -- */

@font-face {
  font-family: "Chance-Bold";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("assets/fonts/Chance-Bold.ttf") format("truetype");
}

@font-face {
  font-family: "Chance-Medium";
  src: url("assets/fonts/Chance-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Chance-Light";
  src: url("assets/fonts/Chance-Light.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

#main {
  margin-top: 0;
}

body {
  color: #040458 !important;
}

h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
  font-family: "Chance-Bold" !important;
}

.menu-text,
b,
strong {
  font-family: "Chance-Medium" !important;
}
p,
span,
li {
  font-size: 1rem;
  line-height: 1.7em;
  font-family: "Chance-Light" !important;
}

/* buttons */
.btn,
.join-btn,
.login-btn,
.wp-block-post-excerpt__more-link {
  font-family: "Chance-Medium" !important;
  border-radius: 4px !important;
}

td,
tr,
table {
  font-family: "Chance-Light" !important;
  color: #040458 !important;
}

th {
  font-family: "Chance-Bold" !important;
  color: #040458 !important;
}

.slider-content .btn,
.btn,
.wp-block-post-excerpt__more-link {
  display: inline-flex;
  max-width: 100%;
  padding: 0.375rem 1.25rem;
  border-radius: 0.5rem;
  background-color: #040458 !important;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: #fff !important;
  outline-offset: 2px;
  font-family: "Chance-Medium" !important;
  border-radius: 4px !important;
  font-size: 16px;
}

.slide-text-url span,
.slide-text-url a {
  color: #040458 !important;
}

.btn:hover,
.wp-block-post-excerpt__more-link:hover,
.wp-block-button__links:hover {
  box-shadow: inset 0 0 0 2px #fff, 0 0 0 2px #040458;
  transition: box-shadow 0.2s ease;
}

.login-btn {
  border: 2px solid #008dee !important;
  color: #008dee !important;
}
html {
  overflow-y: scroll;
  overflow-x: hidden;
}

body a {
  color: #040458;
}

/* colors */
.text-primary {
  color: #040458 !important;
}

footer {
  overflow: hidden;
  background: #040458;
  color: #fff;
}

footer p {
  color: #fff !important;
}
.container-fluid {
  width: 100%;
  max-width: 1200px;
}

footer .menu {
  display: flex;
  column-gap: 4%;
}

footer .menu .menu-item {
  justify-content: space-between !important;
}

footer .menu-item .nav-link {
  color: inherit;
  text-decoration: none;
  font-size: 1.2rem;
  position: relative;
  z-index: 5;
}

footer .menu-item .nav-link:after {
  content: "";
  display: inline-block;
  position: absolute;
  z-index: 4;
  bottom: 0.3rem;
  transform: translateX(19%);
  width: 2.25rem;
  height: 2.25rem;
  background-size: cover;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 100 100' version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink'%3E%3Cg id='Page-1' stroke='none' stroke-width='1' fill='none' fill-rule='evenodd' stroke-linecap='round'%3E%3Cg id='icon-arrow-right' stroke='%23FFFFFF' stroke-width='3'%3E%3Cg id='Group-11' transform='translate(8.000000, 20.000000)'%3E%3Cpath d='M0.492912067,29.5 L71.0388822,29.5' id='Line'%3E%3C/path%3E%3Cg id='Group-2' transform='translate(58.000000, 0.000000)' stroke-linejoin='round'%3E%3Cpath d='M0.148729062,57.4940535 L27.2918079,29.3815789' id='Line'%3E%3C/path%3E%3Cpath d='M0.299898939,0.588150703 L27.2956518,28.6970116 L0.299898939,0.588150703 Z' id='Line'%3E%3C/path%3E%3C/g%3E%3C/g%3E%3C/g%3E%3C/g%3E%3C/svg%3E%0A");
  opacity: 0.38;
  transition: 0.1s ease-in-out opacity;
}

footer .footer-bottom {
  min-height: 8rem;
  background-color: #040458;
}
footer .social-bar .social-bar__item {
  background: #040458;
  height: 2rem;
  width: 2rem;
  margin-left: 0.5rem;
}

footer .social-bar .social-bar__item img {
  width: 100%;
  height: auto;
  opacity: 0.5;
}

a {
  font-family: "Chance-Medium", serif;
}

#main {
  max-width: 100%;
  margin: 0 !important;
}

p.description {
  font-size: 12px !important;
}

.header {
  background-color: #040458;
  height: 110px;
}

.cta-brand-page span.text-primary {
  color: #fff !important;
}

.navbar-brand img {
  height: 75px !important;
  width: auto;
}

.navbar-toggler {
  background-color: #040458;
}

.header-icon-container {
  width: 90px;
  background-color: #040458 !important;
}

.text-white {
  color: #fff !important;
}
.header i {
  font-size: 50px;
  height: 40px;
  color: #ffffff;
}

.logo-container {
  padding-left: 6rem;
}

.header-main {
  padding: -0.5rem 5vw 1rem;
}

.nav-menu ul li {
  padding: 0.5rem 0.5rem;
  border-bottom: 1px solid #e0e0e0;
  transition: background 1s;
  list-style-type: none;
}

.nav-menu ul li a {
  font-size: 19px;
  color: #000000;
  line-height: 1.5em;
  text-transform: capitalize;
}

.nav-menu ul {
  margin-top: 10%;
}

.join-btn {
  margin-right: 20px;
  width: 110px;
}

.login-btn {
  outline: 0;
  width: 110px;
  border: 2px solid #d4d4d4;
}

/*menu-button-line*/
.menubutton__line {
  height: 3px;
  background-color: #ffffff;
  margin-bottom: 0.8rem;
}

.menu-show .menubutton__line {
  visibility: hidden;
}

.menubutton__line-x {
  visibility: hidden;
}

.cursor-pointer {
  cursor: pointer;
}

.menubutton {
  background: #040458;
  padding: 0.5rem;
  width: 3.5rem;
}

.menubutton__line-x {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 65%;
  transform: translate(-50%, -50%);
}

.menubutton__line-x div:first-child {
  transform: rotate(-45deg);
  margin-bottom: -0.1rem;
}

.menubutton__line-x div:last-child {
  transform: rotate(45deg);
}

.menu-show .menubutton__line-x > div {
  background-color: #ffffff;
  visibility: visible;
  height: 3px;
}

.btn-container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
}

.nav-menu {
  position: fixed;
  top: 0;
  height: 100vh;
  background: #ffffff;
  width: 80vw;
  transform: translateX(-100%);
  transition: transform 0.3s;
  z-index: 1000;
  border-right: 1px solid #e0e0e0;
}
.nav-menu .btn-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  width: 100%;
}

.nav-menu .btn-container {
  width: 100%;
  margin: 0 !important;
  visibility: hidden;
}

@media (max-width: 600px) {
  .nav-menu .btn-container {
    width: 100%;
    margin: 0 !important;
    visibility: visible;
  }
}

.menu-show .nav-menu {
  transform: translateX(0);
}

.main {
  flex-grow: 1;
}

.hero-banner {
  height: 200vh;
  background-color: #040458;
}

.scaling {
  transform-origin: top right;
  transition: transform 0.3s, height 0.3s;
}

.text-justify {
  text-align: justify;
}

@media (min-width: 1024px) {
  .nav-menu {
    width: 20%;
    transform: translateX(-100%);
    line-height: 1.2rem;
    font-size: 0.8rem;
  }

  .menu-show .scaling {
    transform: scale(0.8);
  }

  .menu-show main {
    height: 125%;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .menu-show .scaling {
    transform: scale(0.7);
  }

  .menu-show main {
    height: 144%;
  }

  /*.page main {*/
  /*    position: fixed;*/
  /*    width: 100%;*/
  /*    height: 100%;*/
  /*    overflow-y: auto;*/
  /*}*/
  .nav-menu {
    width: 30%;
    transform: translateX(-100%);
  }

  .nav-menu ul {
    margin-top: 20%;
  }
}

@media (min-width: 1300px) {
  .menu-show .menubutton__line-x {
    width: 90%;
  }
}

@media (min-width: 1025px) {
  .menu-show .header-icon-container {
    left: -25%;
    position: relative;
  }
}

@media (max-width: 767px) {
  .menu-show .header-icon-container {
    width: 70px;
  }

  .header {
    height: 90px;
  }

  .menu-show .header-outer-container {
    transform: translateX(80vw);
  }

  .header-outer-container {
    position: fixed;
    z-index: 9999;

    height: 90px;
  }

  .menu-show div#menubutton {
    position: fixed;
    z-index: 9999;
    right: 13%;
  }
}

@media (max-width: 600px) {
  .nav-menu .btn-container a:first-child {
    margin-bottom: 15px;
  }

  #main.container .btn-container {
    display: none;
  }

  .nav-menu .btn-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    flex-direction: column;
  }

  .nav-menu .btn-container a {
    margin: 0;
    width: 80%;
    height: 45px;
    align-items: center;
    justify-content: center;
    display: flex;
  }

  .navbar-brand img {
    height: 60px !important;
  }
}

/*End Nevigation Menu*/
/*Common Block Styling*/
h1.title {
  font-size: 45px;
  text-align: center;
}

.grid-items {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  line-height: 1.7;
}

.grid-items > div {
  padding-left: 15px;
  padding-right: 15px;
}

h3.subtitle {
  padding-bottom: 30px;
}

/*End Common block styling*/
/*Testimonial Section */

.testimonial-container .grid-container:nth-child(2n) {
  background-color: #f4f4f4;
}

.testimonial-container .testimonial-quote {
  text-align: center;
}

.testimonial-container .company-author {
  font-size: 20px;
  font-family: "Chance-Light" !important;
}

.testimonial-container .company-url {
  font-size: 20px;
}

.testimonial-container .company-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  word-break: break-word;
}

.testimonial-container .grid-container.row {
  position: relative;
  padding: 20px 0px;
}

/*end testimonial section*/

/*Contact form Styling*/
@media (min-width: 320px) and (max-width: 1200px) {
  .wpcf7 {
    max-width: 75% !important;
    padding-top: 30px;
  }
}

input.wpcf7-form-control.wpcf7-text,
.wpcf7-select {
  width: 100%;
  height: 45px;
  padding-top: 0;
  padding-bottom: 0;
  border: 1px solid #d2d2d2;
  background-color: #ffffff;
  padding: 8px 15px;
  width: 100%;
}

.wpcf7-select {
  padding: 8px 15px;
  border: 1px solid #dadada;
  position: relative;
  -webkit-appearance: none;
  -moz-appearance: none;
}

input,
select,
textarea,
p {
  font-family: "Chance-Light" !important;
  font-size: 16px !important;
  font-weight: 300;
}

.wpcf7-form input[type="submit"] {
  font-family: "Chance-Light" !important;
  font-weight: 400;
  letter-spacing: 0px;
  border-radius: 2px;
  -webkit-border-radius: 2px;
  border-width: 0px;
  border-style: solid;
  border-color: #ffffff;
  padding: 13px 29px;
  line-height: 17px;
  background: #040458;
  text-align: center;
  text-transform: uppercase;
  color: #ffffff !important;
}

.select-arrow {
  position: absolute;
  right: 0;
  height: 43px;
  top: -12px;
  border-left: 1px solid #dadada;
  width: 43px;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.select-arrow::after {
  font-family: FontAwesome;
  content: "\f053";
  margin-right: 20px;
  font-weight: 900;
  font-size: 12px;
  color: #d2d2d2;
  transform: rotate(-90deg);
  position: absolute;
  left: 17px;
}

textarea.wpcf7-form-control.wpcf7-textarea {
  height: auto;
  width: 100%;
  border: 1px solid #d2d2d2;
  padding: 8px 15px;
  background-color: #ffffff;
}

.wpcf7,
textarea.wpcf7-form-control.wpcf7-textarea {
  max-width: 1200px;
  margin: 0 auto;
}

/*End contact form*/

/*Contact form Arrow*/
.select-arrow i {
  font-size: 20px;
  color: #dadada;
}

/*End contact form*/

/* news */
.single-news article.news .container.featured-image img {
  width: 100%;
  max-height: 30vh;
  object-fit: cover;
}
@media (min-width: 600px) and (max-width: 992px) {
  .news {
    -webkit-box-orient: vertical;
    -ms-flex-direction: column;
    flex-direction: column;
  }
  .news.wp-block-columns > .wp-block-column:not(:only-child) {
    flex-basis: 100% !important;
    flex-grow: 0;
  }
}
.latest-news .wp-block-post-template > li {
  box-shadow: 1px 1px 8px 4px #f4f4f4;
}
@media (min-width: 320px) and (max-width: 599px) {
  .single-news article.type-news table {
    width: 100%;
  }
}

/* latest-news */
.latest-news {
  width: 100%;
}

.latest-news .wp-block-group {
  height: 100%;
}

.latest-news .wp-block-post-featured-image {
  width: 100%;
  height: 100px;
  text-align: center;
}
.latest-news .wp-block-post-featured-image a {
  height: 100%;
  width: 100%;
}

.latest-news .wp-block-post-featured-image img {
  height: 100%;
  width: 100%;
  max-height: 100px;
  object-fit: cover;
}

.latest-news .wp-block-post-title {
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
}

.latest-news .wp-block-post-excerpt .wp-block-post-excerpt__excerpt {
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  height: 110px;
}

.latest-news .wp-block-post-excerpt__more-text {
  text-align: center;
}
.latest-news .post-thumbnail img {
  width: 100%;
  object-fit: cover;
  min-height: 100px;
}

.latest-news .wp-block-post-excerpt__more-text a {
  font-size: 0.8rem;
  border-radius: 0;
  width: 100%;
  padding: 2px;
  background: #040458;
  color: #ffffff;
}

@media (min-width: 600px) {
  .latest-news .wp-block-post-template.is-flex-container.columns-3 > li {
    width: calc(100% / 2 - 0.834em);
  }

  .latest-news .wp-block-group__inner-container {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
}

@media (min-width: 992px) {
  .latest-news .wp-block-post-template.is-flex-container.columns-3 > li {
    width: calc(100% / 3 - 0.834em);
  }
}

/* hero block on news single template */
.hero-container {
  background-size: cover;
  background-position: center;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  text-align: center;
  color: #ffffff;
}

.hero-container .hero-title {
  font-size: 3rem;
}

.hero-container .hero-content-inner p {
  font-size: 1rem;
}

@media screen and (min-width: 576px) {
  .hero-container {
    min-height: 350px;
  }
}

.hero-container .entry-meta,
.hero-container .entry-meta a {
  font-size: 1rem;
  color: var(--bs-body-color);
}

.hero-container .entry-meta .category a {
  color: #040458;
}

.hero-container .entry-meta .by-author {
  display: none;
}
/* end hero block on news single template */

/*News Taxonomy Pages*/
.wrapper-articles {
  flex-basis: 80% !important;
}
.wrapper-sidebar {
  flex-basis: 20% !important;
  margin-left: var(--wp--style--block-gap, 2em);
}
.wp-block-column.articles {
  flex-direction: row;
  display: flex;
  flex-wrap: wrap;
  gap: 1.25em;
}
.wp-block-column.sidebar {
  flex-basis: 20% !important;
}
.wp-block-column.articles article {
  padding: 30px 30px;
  box-shadow: 1px 1px 8px 4px #f4f4f4;
  width: calc(100% / 3 - 0.834em);
}
.wp-block-column.container.news {
  display: inline-flex;
}
h2.card-title.wp-block-post-title {
  font-size: 22px;
}
.wp-block-column.sidebar .sidebar-widget {
  width: 100%;
}
.wrapper-news.latest-news {
  margin-top: 30px;
}
.wp-block-post-excerpt__excerpt {
  text-align: left;
}
.wp-block-post-date {
  font-size: 1rem;
  line-height: 1.7em;
  font-family: "Chance-Light" !important;
}

.wp-block-buttons .wp-block-button .wp-block-button__link {
  font-size: 12px;
  border-radius: 0;
  border: none;
  padding: 15px 30px;
}

@media (min-width: 992px) and (max-width: 1199px) {
  .wp-block-column.articles article {
    flex-basis: 47%;
  }
}
@media (min-width: 782px) and (max-width: 991px) {
  .wp-block-column.articles article {
    flex-basis: 48%;
  }
}

@media (min-width: 320px) and (max-width: 781px) {
  .wp-block-column.articles article {
    flex-basis: 100%;
  }
  .wrapper-articles,
  .wrapper-sidebar {
    flex-basis: 100% !important;
  }
}

/*End News Taxonomy */

/* from subscribe */
.wpcf7-form .category {
  font-size: 20px;
  font-weight: bold;
}

.wpcf7-form .wpcf7-list-item {
  display: inline-block;
  margin: 0 0 0 1em;
}

/*404 page */
.error-message {
  color: var(--bs-gray-300);
  font-size: 170px;
}

/*login-join blocks*/
.post-57998 .markets-selection .market-item,
.post-58027 .markets-selection .market-item {
  height: 310px;
}
@media (min-width: 767px) {
  .post-57998 .markets-selection .row .grid-items > div,
  .post-58027 .markets-selection .row .grid-items > div {
    flex-basis: 40%;
  }
}

.filter-menu .filter-item a {
  color: #040458 !important;
}
