html {
  scroll-behavior: smooth;
} 
body {
  padding: 76px 0 0;
}
*:focus {
  outline: none;
}
*{
  font-family: "Titillium Web", "sans-serif";
  margin: 0;
  padding: 0;
}


/*  NAVIGATION  */
.hidden {
  display: none;
}
.selected {
  color: #d61f29;
}

.scrollDisable {
  overflow: hidden;
}

header {
  display: flex;
  flex-direction: column;
/*  position: relative;*/
  background: white;
  border-bottom: 1px solid #efefef;
  position: fixed;
  top: 0;
  z-index: 100000;
  box-shadow: 0 0 10px 10px rgba(0, 0, 0, 0.2);
}

header .logo {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 5px 0;
  width: 100vw;
  background: white;
  height: 65px;

}
header .logo img {
  height: 50px;
  cursor: pointer;
}
a span {
  display: none;
}

.topArrow {
  display: none;
}

.header_menu {
  display: none;
  flex-direction: column;
  background: white;
  height: calc(100dvh - 76px);
/*  height: calc(100dvh - 128px);*/
/*  height: calc(100svh - 228px);*/
  overflow: hidden;
  overflow-y: scroll;
  color: #696969;
  font-size: 1.2em;
  font-weight: 600;
}

header .search {
  display: none;
  position: fixed;
  padding: 10px;
  bottom: 0;
  width: calc(100% - 20px);
  background: white;
  border-top: 1px solid #efefef;
}
header .search .search_icon {
  position: absolute;
  width: 15px;
  right: 17px;
  top: 18px;
}
header .search input {
  width: calc(100% - 30px);
  height: 20px;
  border: 1px solid #ccc;
  border-radius: 100px;
  padding: 5px 15px;
} 
.showSearch {
  display: block !important;
}

.insurtech_main, .industries_main, .offerings_main, .products_main, .solutions_main, .bespoke_main, .company_main, .resource_main {
  display: flex;
  padding: 10px 20px;
}

.products_main, .solutions_main, .bespoke_main, .resource_main {
  padding: 10px 20px 10px 50px;
}

.main_link {
  display: flex;
  flex-direction: column;
  border-top: 1px solid #ccc;
}

.down {
  background: url("../../assets/icons/down-arrow-black.svg");
  background-repeat: no-repeat;
  background-position: 97% 50%;
}
.up {
  background: url("../../assets/icons/up-arrow-red.svg");
  background-repeat: no-repeat;
  background-position: 97% 50%;
  color: #d61f29;
}
.plus {
  background: url("../../assets/icons/plus.svg");
  background-repeat: no-repeat;
  background-position: 25px 50%;
}
.minus {
  background: url("../../assets/icons/minus.svg");
  background-repeat: no-repeat;
  background-position: 25px 50%;
  color: #d61f29;
}

.show {
  display: flex;
  flex-direction: column;
}

.insurtech_sub a, .industries_sub a, .offerings_sub a, .bespoke_sub a, .company_sub a, .resource_sub a {
  border-top: 1px solid #EFEFEF;
  text-decoration: none;
  color: black;
  padding: 10px 10px 10px 50px;
  color: #696969;
}

.patents a {
  padding: 10px 20px;
  text-decoration: none;
  color: #696969;
}

.burger {
  background: url("../../assets/icons/burger-open.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 40px 40px;

  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  top: 0;
  z-index: 1001;
  right: 0;
  width: 70px;
  height: 70px;

  cursor: pointer;
}
.icon {
  background: url("../../assets/icons/burger-closed.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 40px 40px;
}

/*  NAVIGATION END  */

/*  WHATS TRENDING  */
  .posts h1 {
    font-weight: 700;
    padding: 25px;
  }
  .posts {
  }
  .post_slider {
    display: flex;
    flex-direction: column;
    row-gap: 100px;
    position: relative;
  }
  .post {
    display: flex;
    flex-direction: column;
    border-radius: 20px;
    position: sticky;
    top: 0;
    background: white;
  }
  .post .post_url {
    text-decoration: none;
    position: relative;
    background: #d61f29;
  }
  .post .post_url img {
    width: 100%;
    transition: all 0.2s ease-out;
    transform: translateY(130px);
  }
  .post .post_url .post_overlay {
    display: flex;
    opacity: 0;
    position: absolute;
    z-index: 10;
    background: linear-gradient(0deg, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 100%);
    width: 100%;
    height: 100%;
    transition: all 0.2s ease-out;
  }
  .post .post_url .post_heading {
    display: flex;
    position: absolute;
    z-index: 20;
    height: 80px;
    font-size: 1.2em;
    font-weight: 500;
    padding: 25px;
    color: white;
    transition: all 0.5s ease-out;
    align-items: center;
  }
  .viewAll {
    display: flex;
    justify-content: right;
  }
  .viewAll a {
    text-decoration: none;
    font-weight: 700;
    color: black;
    padding: 25px;
  }
/*  WHATS TRENDINGEND  */

/* FOOTER */
  footer {
    background: black;
    color: white;
    padding-top: 50px;
  }
  .footer_list {
    padding: 0 25px;
  }
  .link_list {
    display: flex;
    flex-direction: column;
    padding: 25px 0;
  }
  .list_heading {
    display: flex;
    flex-direction: column;
    font-weight: 600;
    font-size: 1.2em;
    padding: 0 0 5px 0;
  }
  .list {
    display: flex;
    flex-wrap: wrap;
    column-gap: 10px;
  }
  .list a {
    padding: 5px 0;
    text-decoration: none;
    color: white;
    min-width: calc(50% - 25px );
    font-size: 0.8em;
  }
  .list a:hover {
    text-decoration: underline;
  }

  .logoSocial {
    display: flex;
    flex-direction: column;
  }
  .logoSocial .footer_logo {
    display: flex;
    justify-content: center;
    padding: 10px 0 20px 0;
  }
  .logoSocial .footer_logo img {
    width: 80%;
  }
  .logoSocial .social {
    display: flex;
    justify-content: center;
    column-gap: 15px;
  }
  .logoSocial .social a {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: white;
  }
  .logoSocial .social a img {
    width: 20px;
    height: 20px;
  }

  .logoSocial .contactDetails {
    display: flex;
    justify-content: center;
    column-gap: 10px;
    padding: 25px 0 0;  
  }
  .logoSocial .contactDetails .contact {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 0.8em;
    border: 1px solid #606060;
    padding: 5px 20px;
    border-radius: 15px;
  }
  .logoSocial .contactDetails .contact a {
    text-decoration: none;
    color: white;
  }

  .footer_copyright {
    display: flex;
    column-gap: 10px;
    padding: 25px;
    align-items: center;
    justify-content: center;
  }
  .footer_copyright .copyright_line {
    display: flex;
    align-items: center;
    font-size: 11px;
  }
  .footer_copyright .footer_disclaimers {
    display: flex;
    font-size: 11px;
    gap: 10px;
  }
  .footer_copyright .footer_disclaimers a {
    text-decoration: none;
    color: white;
  }
/* FOOTER END */

/* CTA BAR */
  .cta_bar {
    display: flex;
    flex-direction: column;
    background: url(../images/cta-bar-bg.jpg);
    background-size: cover;
    margin: 50px 0;
    padding: 50px 0;
  }
  .cta_bar .cta_left {
    font-size: 1.8em;
    font-weight: 600;
    padding: 25px;
    color: white;
  }
  .cta_bar .cta_right {
    padding: 25px;
  }
  .cta_bar .cta_right span {
    display: flex;
    font-style: italic;
    color: white;
  }
  .cta_bar .cta_right a {
    font-weight: 600;
    text-decoration: none;
    display: flex;
    color: white;
    margin: 25px 0 0;
    padding: 10px 20px;
    background: url(../icons/white-arrow.svg);
    background-repeat: no-repeat;
    background-size: 20px;
    background-position: calc(100% - 20px) 50%;
    background-color: #D61F29;
    width: 55%;
    border-radius: 5px;
    transition: all 1s ease-in;
  }
  @keyframes letsConnect {
    from { background-position: -10px 50%; }
    to { background-position: calc(100% - 20px) 50%; }
  }
  .cta_bar .cta_right a:hover {
    background-color: black;
    animation-name: letsConnect;
    animation-duration: 1s;
  }
/* CTA BAR END */

@media only screen and (min-width: 960px) {
  body {
    padding: 70px 0 0;
  }
  .burger {
    display: none;
  }
  header, header .logo, .header_menu, .header_menu, .search, .main_link, .plus{
    all: unset;
  } 
  header {
    -webkit-user-select: none; /* Safari */
    -ms-user-select: none; /* IE 10 and IE 11 */
    user-select: none; /* Standard syntax */

    display: flex;
    flex-direction: row;
    width: 100%;
    justify-content: space-between;
    background: white;
    box-shadow: 0 5px 10px 0px rgba(0, 0, 0, 0.05);
    position: fixed;
    z-index: 100000;
    top: 0;
  }
  header .logo {
    width: 210px;
    height: 70px;
    position: relative;
    display: flex;
    align-items: center;
    padding-left: 5px;
  }
  .topArrow {
    display: flex;
  }
  header .search .search_icon {
    top: 28px;
  }
  
  a span {
    display: inline-block;
/*    padding: 5px;*/
    font-size: 12px;
/*    border-bottom: 1px solid #efefef;*/
  }


  .header_menu {
    display: flex;
    flex-direction: row;
    border-top: none;
    padding: 5px 0 0;
    width: 100%;
    justify-content: space-around;
    align-items: center;
    height: auto;
    font-size: 1.1em;
    font-weight: 600;
    color: #696969;
  }
  .header_menu .search {
    width: 150px;
    border-top: none;
    position: relative;
  }
  .main_link {
    border-top: none;
  }
  .down, .up, .plus, .minus {
    background: none;
  }

/*  span:focus {
    border: 1px solid blue;
  }*/

  /* INSURTECH */
  .insurtech_main {
    cursor: pointer;
  }
  .insurtech_sub, .industries_sub, .offerings_sub, .company_sub {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 65px;
    background: white;
    width: 220px;
    border-radius: 10px;
    box-shadow: 5px 5px 10px 10px rgba(0, 0, 0, 0.1);
    padding: 20px 0;
  }
  .insurtech_sub img, .industries_sub img, .offerings_sub img, .company_sub img {
    position: absolute;
    top: -10px;
    left: 20px;
  }
  .insurtech_sub a, .industries_sub a, .offerings_sub a, .company_sub a {
    border-radius: 0;
    padding: 10px 10px;
    margin: 10px 20px;
    border-top: none;
  }
  .insurtech_sub a:hover, .industries_sub a:hover, .offerings_sub a:hover, .company_sub a:hover {
    background: #efefef;
    border-radius: 10px;
    border-bottom: 1px solid white;
    color: #D61F29;
  }
  .down {
    background: none;
  }
  .insurtech, .industries, .offerings, .company {
    padding: 10px 0;
    background: url("../../assets/icons/down-arrow-black.svg");
    background-repeat: no-repeat;
    background-position: 97% 50%;
  }
  .insurtech:hover, .industries:hover, .offerings:hover, .company:hover {
    background: url("../../assets/icons/up-arrow-red.svg");
    background-repeat: no-repeat;
    background-position: 97% 50%;
    color: #d61f29;
  }
  .patents_sub:hover {
    color: #d61f29;
  }
  .insurtech:hover .insurtech_sub {
    display: flex;
  }
  /* INSURTECH END */

  /* INDUSTRIES */
  .industries_main {
    cursor: pointer;
  }
  .industries {
    padding: 10px 0;
  }
  .industries:hover .industries_sub {
    display: flex;
  }
  /* INDUSTRIES END */

  /* OFFERINGS */
  .offerings_main {
    cursor: pointer;
  }
  .offerings {
    padding: 10px 0;
  }
  .offerings:hover .offerings_sub {
    display: flex;
  }

    /* PRODUCTS */
    .products, .solutions, .bespoke {
      cursor: pointer;
      display: flex;
      border-radius: 20px;
      border: 10px solid white;
      padding: 0 10px;
      background: url(../../assets/icons/side-arrow-black.svg);
      background-repeat: no-repeat;
      background-position: 92% 50%;
      color: #696969;
    }
    .products:hover, .solutions:hover, .bespoke:hover {
      background: url("../../assets/icons/side-arrow-red.svg"), #efefef;
      background-repeat: no-repeat;
      background-position: 92% 50%;
      color: #d61f29;
    }

      .products:hover .products_sub, .solutions:hover .solutions_sub, .bespoke:hover .bespoke_sub {
        display: flex;
      }
    .products_main, .solutions_main, .bespoke_main {
      width: 100%;
      padding: 10px 0;
      border-radius: 5px;
    }
    .products_sub, .solutions_sub {
   /* width */
      &::-webkit-scrollbar {
        width: 4px;
      }

    /* Track */
      &::-webkit-scrollbar-track {
        background: #f1f1f1;
      }

    /* Handle */
      &::-webkit-scrollbar-thumb {
        background: #d61f29;
      }

    /* Handle on hover */
      &::-webkit-scrollbar-thumb:hover {
        background: #555;
      }
    }

    .products_sub, .solutions_sub, .bespoke_sub {
/*      scrollbar-width: none;*/
      position: absolute;
      display: flex;
      overflow: hidden;
      overflow-y: scroll;
      flex-direction: column;
      left: 220px;
      background: white;
      padding: 0 10px;
      border-radius: 10px;
      width: 250px;
      max-height: 450px;
      border-bottom: 10px solid white;
      border-top: 10px solid white;
      box-shadow: 5px 5px 10px 10px rgba(0, 0, 0, 0.1);
      z-index: 10;
    }
    .products_sub {
      top:0;
    }
    .solutions_sub {
      top:55px;
/*      overflow: hidden;*/
    }
    .bespoke_sub {
      top:125px;
      overflow: hidden;
    }
    .products_sub a, .solutions_sub a, .bespoke_sub a {
      border-bottom: 1px solid #dfdddd;
    }
    .products_sub a:last-child, .solutions_sub a:last-child, .bespoke_sub a:last-child {
      border-bottom: none;
    }
    /* PRODUCTS END */

  /* OFFERINGS END */

  /* COMPANY */
  .company_main {
    cursor: pointer;
  }

  .company {
    padding: 10px 0;
  }
  .company:hover .company_sub {
    display: flex;
  }

    /*  RESOURCE HUB  */
    .resource {
      cursor: pointer;
      display: flex;
      border-radius: 20px;
      border: 10px solid white;
      padding: 0;
      background: url(../../assets/icons/side-arrow-black.svg);
      background-repeat: no-repeat;
      background-position: 92% 50%;
      color: #696969;
    }
    .resource:hover {
      background: url("../../assets/icons/side-arrow-red.svg"), #efefef;
      background-repeat: no-repeat;
      background-position: 92% 50%;
      color: #d61f29;
    }
    .resource_main {
      width: 100%;
      padding: 10px 20px;
      border-radius: 5px;
    }
    .resource_sub {
      position: absolute;
      display: flex;
      overflow: hidden;
      flex-direction: column;
      left: 220px;
      top: 345px;
      background: white;
      padding: 0 10px;
      border-radius: 5px;
      width: 180px;
      max-height: 450px;
      border-bottom: 10px solid white;
      border-top: 10px solid white;
      box-shadow: 0 5px 10px 0px rgba(0, 0, 0, 0.05);
    }
    .resource:hover .resource_sub {
      display: flex;
    }
    /*  RESOURCE HUB END  */
  /* COMPANY END */


header .search {
    display: flex;
    position: relative;
    align-items: center;
    padding: 10px;
    width: 250px;
    background: white;
    border-top: 1px solid #efefef;
}


  .hidden {
    display: none;
  }

/* WHATS TRENDING */
  .post_slider {
    flex-direction: row;
    column-gap: 5%;
    justify-content: space-between;
    padding: 0 25px;
  }
  .post_url {
    overflow: hidden;
  }
  .post .post_url .post_heading {
    font-size: 1.3em;
    line-height: 1.6rem;
    font-weight: 700;
  }
  .post_image:hover {
    transform: scale(1.2);
  }
/* WHATS TRENDING END */

/* FOOTER */
  .footer_list {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
  }
  .link_list .list {
    flex-wrap: nowrap;
    flex-direction: column;
  }
  .logoSocial .social a {
    flex-direction: row;
    justify-content: center;
    column-gap: 10px;
  }
/* FOOTER END */

/* CTA BAR */
  .cta_bar {
    flex-direction: row;
    justify-content: center;
    align-items: center;
  } 
  .cta_left {
    width: 300px;
  }
  .cta_right {
    width: 285px;
  }
/* CTA BAR END */

}


@media (min-width: 1600px) {
    .container {
/*        max-width: 1350px;*/
    }
}