.resource-filter-nav {
  background-color: #000;
  padding: 25px 0 15px;
}

.page-template-roadshow .resource-filter-nav {
  padding: 25px 0 20px;
}

.resource-filter-nav.resource-page-nav {
  background-color: #ebebeb;
  padding: 20px 0 0
}

.resource-filter-nav li a,
.letter-drop {
  position: relative;
  font-size: 18px;
  color: #fff;
  font-weight: 600;
  opacity: 1;
  -webkit-transform: scale(1);
  -ms-transform: scale(1);
  transform: scale(1);
  display: inline-block;
  line-height: 22px;
}

/* .resource-filter-nav .navigation-wrapper .search-form {
  position: absolute;
  top: 13px;
  right: 0;
  left: auto;
  width: 20%;
  max-width: 213px;
  height: 50px;
  margin-right: 30px;
  padding-left: 70px;
  -webkit-transform: none;
  -ms-transform: none;
  transform: none;
  opacity: 0;
  z-index: -1
} */

.resource-filter-nav.resource-page-nav .navigation-wrapper .search-form {
  position: static;
  width: 100%;
  opacity: 1;
  pointer-events: all;
  padding: 0;
  max-width: unset;
  height: auto
}

.resource-filter-nav.resource-page-nav .navigation-wrapper .search-form form {
  position: relative;
  overflow: hidden
}

/* .resource-filter-nav .navigation-wrapper .search-form.grid-search-bar {
  top: 10px;
  right: 25px;
  width: 100%;
  max-width: 213px
} */

/* 
.resource-filter-nav .navigation-wrapper .top-menu {
  width: 80%
} */

.hide-filter.resource-filter-nav .navigation-wrapper .search-form {
  padding-left: 0;
  opacity: 1;
  z-index: 8;
  visibility: visible;
  -webkit-transition: all .4s linear;
  transition: all .4s linear;
  -webkit-transition-delay: .3s, .3s;
  transition-delay: .3s, .3s;
  pointer-events: all
}

.resource-filter-nav .navigation-wrapper .search-form input:focus {
  /* -webkit-box-shadow: inset 0 0 0 2px #1274e0, inset 0 0 0 25px #fff !important;
  box-shadow: inset 0 0 0 2px #1274e0, inset 0 0 0 25px #fff !important;
  -webkit-text-fill-color: #3a3a3a !important; */
  color: #fff
}

.resource-filter-nav.resource-page-nav .search-form form input::-webkit-input-placeholder {
  color: #fff
}

.resource-filter-nav.resource-page-nav .search-form form input::-moz-placeholder {
  color: #fff
}

.resource-filter-nav.resource-page-nav .search-form form input:-ms-input-placeholder {
  color: #fff
}

.resource-filter-nav.resource-page-nav .search-form form input::-ms-input-placeholder {
  color: #fff
}

.resource-filter-nav.resource-page-nav .search-form form input::placeholder {
  color: #fff
}

.search.search-info {
  padding: 0 5px
}

.search.search-info.search-off {
  display: none !important
}

.resource-filter-nav .navigation-wrapper .search-form.search-active input {
  padding: 8px 90px 8px 20px
}

.resource-filter-nav.resource-page-nav .navigation-wrapper .search-form .search-icon {
  position: absolute;
  width: 25px;
  top: 50%;
  right: 14px;
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
  color: #616161
}

.resource-filter-nav.resource-page-nav .navigation-wrapper .search-form .search-icon:hover {
  color: #1274e0
}

.resource-filter-nav.resource-page-nav .navigation-wrapper .search-form.search-active .search-icon {
  right: 70px
}

.resource-filter-nav.resource-page-nav .navigation-wrapper .search-form .cancel-search {
  display: none;
  position: absolute;
  width: 55px;
  top: 50%;
  right: 1px;
  transform: translateY(-50%);
  cursor: pointer;
  color: #fff;
  background: #1274e0;
  padding: 10px 16px
}

.resource-filter-nav.resource-page-nav .navigation-wrapper .search-form.search-active .cancel-search {
  display: block
}

.resource-filter-nav .navigation-wrapper .search-form {
  position: relative;
}

.resource-filter-nav .navigation-wrapper .search-form input {
  padding: 0 30px 0 0;
  width: 225px;
  height: 25px;
  text-overflow: ellipsis;
  background: none;
  border: none;
  border-bottom: 2px solid #fff;
  font-size: 22px;
  color: #fff;
}

.resource-filter-nav.resource-page-nav .navigation-wrapper .search-form input {
  background-color: #fff;
  color: #3a3a3a;
  height: auto;
  min-height: 41px;
  padding: 8px 50px 8px 20px
}

.search-form form input:-webkit-autofill,
.search-form form input:-webkit-autofill:hover {
  -webkit-box-shadow: 0 0 0 30px #fff inset !important;
  box-shadow: inset 0 0 0 30px #fff !important;
  -webkit-text-fill-color: #3a3a3a !important
}

/* .resource-filter-nav .navigation-wrapper .search-form.grid-search-bar input {
  padding: 0 15px;
  width: 100%
} */

.search-form.grid-search-bar button.submit {
  display: none
}

.resource-filter-nav .navigation-wrapper.hide-top-nav .search-form {
  padding-left: 0;
  opacity: 1;
  z-index: 100;
  -webkit-transition: all .4s linear;
  transition: all .4s linear;
  -webkit-transition-delay: .3s, .3s;
  transition-delay: .3s, .3s
}

.resource-filter-nav li a:before,
.letter-drop::before {
  content: "";
  position: absolute;
  bottom: 3px;
  right: -20px;
  background-image: url(../../images/White_Caret.svg);
  width: 16px;
  height: 11px;
  background-size: cover
}

.resource-filter-nav .mobile-btn {
  display: none
}

.resource-filter-nav .top-menu>li {
  position: relative;
  padding: 0;
  margin-bottom: 25px;
  display: block;
  clear: both;
  float: left;
}

.resource-filter-nav .navigation-drop:before {
  content: '';
  position: absolute;
  width: 100%;
  height: 25px;
  /* background: red; */
  top: 18px;
}

.resource-filter-nav .top-menu>li.menu-active>a {
  color: #e81c21
}

.resource-filter-nav .top-menu>li>a {
  transform: rotateY(0);
  display: inline-block;
  transition: all .4s linear;
}

.resource-filter-nav .top-menu>li>a:hover {
  text-decoration: none;
}

.resource-filter-nav .top-menu>li>a:after,
.letter-drop:after {
  position: absolute;
  color: #e81d21;
  top: 0;
  left: 0;
  overflow: hidden;
  content: attr(data-letters);
  -webkit-transition: all .3s ease;
  transition: all .3s ease;
  -webkit-transform: scale(1.2);
  -ms-transform: scale(1.2);
  transform: scale(1.2);
  opacity: 0
}

.menu-active .letter-drop:after {
  -webkit-transform: scale(1);
  -ms-transform: scale(1);
  transform: scale(1);
  opacity: 1
}

.resource-filter-nav .top-menu>li:first-child {
  padding: 0
}

.resource-filter-nav .top-menu>li.menu-active:first-child a,
.resource-filter-nav .top-menu>li.menu-active:first-child a:hover,
.resource-filter-nav .top-menu>li:first-child a:hover {
  color: #fff
}

.resource-filter-nav li:first-child a:before {
  display: none
}

.resource-filter-nav li:first-child a.active:before {
  content: "";
  display: none;
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 100%;
  height: 1px;
  background: #fff
}

.resource-filter-nav .navigation-wrapper {
  position: relative
}

.resource-filter-nav .navigation-wrapper:after {
  content: "";
  clear: both;
  display: block
}

.resource-filter-nav .search-box {
  float: right;
  position: relative;
  top: 25px;
  z-index: 8;
  margin-right: 10px
}

.resource-filter-nav .search-box .close1 .element {
  border-color: #fff;
  -webkit-box-shadow: 0 0 2px #fff;
  box-shadow: 0 0 2px #fff
}

.resource-filter-nav .search-box .animated-circle {
  display: block;
  cursor: pointer;
  padding-top: 4px;
  width: 11px;
  height: 20px
}

.resource-filter-nav .search-box .close1 {
  padding-top: 0;
  position: relative;
  top: -3px
}

/* 
.resource-filter-nav .search-form {
  z-index: -1
} */

.resource-filter-nav .element {
  width: 0;
  height: 15px;
  position: relative;
  margin-bottom: 5px;
  border: 1px solid #4287d6
}

.resource-filter-nav .circle-search {
  border: 2px solid #4287d6;
  width: 15px;
  border-radius: 50%;
  left: -11px;
  top: -6px;
  -webkit-box-shadow: 0 0 2px #4287d6;
  box-shadow: 0 0 2px #4287d6
}

.resource-filter-nav .circle-search,
.resource-filter-nav .line-search {
  -webkit-transform: rotate(-45deg);
  -ms-transform: rotate(-45deg);
  transform: rotate(-45deg)
}

.resource-filter-nav .line-search {
  background: #4287d6;
  position: relative;
  left: 3px;
  top: -15px;
  height: 7px;
  width: 3px
}

.resource-filter-nav .close1 .line-search {
  height: 15px;
  width: 0
}


.resource-filter-nav .sub-menu li {
  padding: 0;
}

.resource-filter-nav .sub-menu label {
  color: #fff;
  font-size: 16px;
  font-weight: 400;
  cursor: pointer;
  display: inline-block;
  padding: 15px 15px 15px 50px;
  text-transform: capitalize;
  position: relative;
  width: auto;
}

.ie-all .resource-filter-nav .sub-menu .checkbox {
  position: relative
}

.ie-all .resource-filter-nav .sub-menu input[type=checkbox] {
  top: -5px
}

.touch .resource-filter-nav .sub-menu input[type=checkbox] {
  height: 0
}

.resource-filter-nav .sub-menu input[type=checkbox] {
  background: rgba(0, 0, 0, 0);
  width: auto;
  padding: 0;
  height: 23px;
  float: left;
  -webkit-appearance: none;
  -moz-appearance: none;
  -o-appearance: none;
  appearance: none;
  cursor: pointer;
}

.resource-filter-nav .sub-menu input[type=checkbox]:before {
  content: "";
  border: 1px solid #fff;
  height: 23px;
  width: 23px;
  display: block;
  position: absolute;
  top: 0;
  bottom: 0;
  margin: auto;
  left: 15px;
}

.resource-filter-nav .sub-menu input[type=checkbox]:checked:after {
  content: "L";
  color: #39c695;
  font-weight: 500;
  -ms-transform: scaleX(-1) rotate(-35deg) translate(5px, -14px);
  -webkit-transform: scaleX(-1) rotate(-35deg) translate(1px, -4px);
  transform: scaleX(-1) rotate(-45deg) translateY(-4px);
  display: block;
  position: absolute;
  left: 9px;
  height: 30px;
  width: 30px;
  font-size: 20px;
  text-align: center;
  top: 0;
  bottom: 0;
  margin: auto;
}

.resource-page-content .resource-menu .blue-icon {
  display: none;
}

.resource-page-content .resource-menu .active-card .gray-icon {
  display: none;
}

.resource-page-content .resource-menu .active-card .blue-icon {
  display: block;
}

@media all and (max-width: 991px) {
  .filter-nav_wrap {
    position: fixed;
    background: #000;
    top: 0;
    bottom: 0;
    right: -100%;
    /* left: 40px; */
    padding: 65px 20px 20px 25px;
    color: #fff;
    width: 320px;
    transition: right .4s linear;
    z-index: 9992;
  }

  .filter-nav_wrap.active {
    right: 0;
  }

  .resource-filter-nav .top-menu>li.search-form:first-child {
    display: none;
  }

  .resource-filter-nav .listNav {
    display: none;
    margin-top: 20px;
  }

  .close-filter {
    position: absolute;
    right: 30px;
    top: 25px;
    font-size: 30px;
    font-weight: 500;
  }

  .filters-list {
    height: 80%;
    overflow-y: auto;
    overflow-x: hidden;
  }

}

@media screen and (min-width:789px) {
  /* .resource-filter-nav .navigation-wrapper .search-form {
    margin-right: 30px;
    top: 10px
  } */

  .resource-filter-nav .search-box {
    margin-right: 30px;
    top: 23px
  }
}

@media screen and (min-width:992px) {

  .letter-drop,
  .close-filter,
  .filter-nav_wrap h4 {
    display: none;
  }

  .resource-filter-nav .sub-menu label {
    display: flex;
    align-items: center;
  }

  .resource-filter-nav .top-menu>li {
    display: inline-block;
    padding: 0 30px;
    vertical-align: top;
    clear: none;
    float: none;
  }

  .resource-filter-nav .top-menu>li:hover>a:after,
  .letter-drop:hover:after {
    -webkit-transform: scale(1);
    -ms-transform: scale(1);
    transform: scale(1);
    opacity: 1
  }

  .resource-filter-nav .sub-menu {
    opacity: 0;
    visibility: hidden;
    display: block !important;
    position: absolute;
    width: 252px;
    left: 55px;
    top: 40px;
    z-index: 2;
    background: #000;
    padding: 0;
    -webkit-box-shadow: 0 10px 10px 0 rgba(0, 0, 0, .42);
    box-shadow: 0 10px 10px 0 rgba(0, 0, 0, .42)
  }


  .resource-filter-nav .sub-menu li:hover {
    background: #333;
  }

  .resource-filter-nav .top-menu>li:hover .sub-menu {
    opacity: 1;
    left: 35px;
    visibility: visible;
    -webkit-transition: all .5s;
    transition: all .5s
  }

  .resource-filter-nav .navigation-wrapper.hide-top-nav ul>li:first-child a {
    -webkit-animation-delay: 105ms, 105ms;
    animation-delay: 105ms, 105ms
  }

  .resource-filter-nav .navigation-wrapper.hide-top-nav ul>li:nth-child(2) a {
    -webkit-animation-delay: 70ms, 70ms;
    animation-delay: 70ms, 70ms
  }

  .resource-filter-nav .navigation-wrapper.hide-top-nav ul>li:nth-child(3) a {
    -webkit-animation-delay: 40ms, 40ms;
    animation-delay: 40ms, 40ms
  }

  .resource-filter-nav .navigation-wrapper.hide-top-nav ul>li:nth-child(4) a {
    -webkit-animation-delay: 30ms, 30ms;
    animation-delay: 30ms, 30ms
  }

  .resource-filter-nav .navigation-wrapper.hide-top-nav ul>li:nth-child(5) a {
    -webkit-animation-delay: 20ms, 20ms;
    animation-delay: 20ms, 20ms
  }

  .resource-filter-nav .navigation-wrapper.hide-top-nav ul>li:nth-child(6) a,
  .resource-filter-nav .navigation-wrapper.show-top-nav ul>li:first-child a {
    -webkit-animation-delay: 0s, 0s;
    animation-delay: 0s, 0s
  }

  .resource-filter-nav .navigation-wrapper.show-top-nav ul>li:nth-child(2) a {
    -webkit-animation-delay: 20ms, 20ms;
    animation-delay: 20ms, 20ms
  }

  .resource-filter-nav .navigation-wrapper.show-top-nav ul>li:nth-child(3) a {
    -webkit-animation-delay: 30ms, 30ms;
    animation-delay: 30ms, 30ms
  }

  .resource-filter-nav .navigation-wrapper.show-top-nav ul>li:nth-child(4) a {
    -webkit-animation-delay: 40ms, 40ms;
    animation-delay: 40ms, 40ms
  }

  .resource-filter-nav .navigation-wrapper.show-top-nav ul>li:nth-child(5) a {
    -webkit-animation-delay: 70ms, 70ms;
    animation-delay: 70ms, 70ms
  }

  .resource-filter-nav .navigation-wrapper.show-top-nav ul>li:nth-child(6) a {
    -webkit-animation-delay: 105ms, 105ms;
    animation-delay: 105ms, 105ms
  }

  .resource-filter-nav .navigation-wrapper.hide-top-nav a {
    -webkit-animation: hidetopnav .2s both;
    animation: hidetopnav .2s both;
    pointer-events: none
  }

  .resource-filter-nav .navigation-wrapper.show-top-nav a {
    -webkit-animation: showtopnav .2s both;
    animation: showtopnav .2s both
  }

  .filters-list .top-menu {
    display: flex;
    align-content: center;
  }

  .filter-overlay {
    display: none !important;
  }

  .resource-filter-nav .navigation-wrapper .search-form input {
    width: 250px;
  }
}

@media screen and (min-width:1241px) {
  .resource-filter-nav .navigation-wrapper .search-form input {
    width: 275px;
  }
  .resource-filter-nav .top-menu>li{
    margin: 0;
  }
}

@media screen and (max-width:1279px) and (min-width:1225px) {

  .resource-filter-nav .top-menu>li:hover .sub-menu {
    left: 25px
  }

}

@media screen and (max-width:1224px) and (min-width:1025px) {
  .resource-filter-nav .top-menu>li:hover .sub-menu {
    left: 25px
  }

  .resource-filter-nav li a,
  .letter-drop {
    font-size: 16px
  }
}

/* @media screen and (max-width:1224px) and (min-width:1201px) {
  .resource-filter-nav .navigation-wrapper .search-form {
    right: 16px;
    top: 13px
  }
} */

@media screen and (max-width:1200px) and (min-width:992px) {

  .search-form button.submit {
    width: 30px;
    padding: 13px 8px
  }

  /* .resource-filter-nav .navigation-wrapper .search-form {
    right: 0
  } */
}

@media screen and (max-width:1224px) {

  .resource-filter-nav li a,
  .letter-drop {
    font-size: 16px
  }
}


@media screen and (max-width:1024px) and (min-width:992px) {
  .resource-filter-nav .sub-menu {
    width: 185px
  }

  .resource-filter-nav .top-menu>li:hover .sub-menu {
    left: 25px
  }

  /* 
  .resource-filter-nav .sub-menu {
    top: 65px
  } */
}

@media screen and (max-width:991px) {
  /* .resource-filter-nav .navigation-wrapper .search-form.grid-search-bar {
    top: -31px
  } */

  .search-form.grid-search-bar button.submit {
    left: auto;
    right: 0;
    display: none
  }

  .search-box.grid-search-box {
    display: block !important
  }

  .resource-filter-nav {
    padding: 24px 0 25px
  }

  .resource-filter-nav .sub-menu {
    display: none;
    position: absolute;
    width: 252px;
    left: 35px;
    top: 45px;
    z-index: 2;
    background: #333;
    padding: 0 0 20px
  }

  .resource-filter-nav .sub-menu label {
    padding: 0 0 0 35px;
  }

  .resource-filter-nav .sub-menu input[type=checkbox]:before {
    left: 1px;
  }

  .resource-filter-nav .sub-menu input[type=checkbox]:checked:after {
    left: -4px;
  }

  .resource-filter-nav .sub-menu li {
    margin: 15px 0;
    display: block;
    float: left;
    clear: both;
    width: 100%;
  }

  .resource-filter-nav .mobile-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
  }

  .resource-filter-nav .mobile-btn p {
    font-size: 16px;
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    line-height: 1;
    padding-bottom: 0;
  }

  .resource-filter-nav .top-menu.active {
    right: 0
  }

  .resource-filter-nav .sub-menu {
    position: relative;
    left: 10px;
    top: 0;
    background: rgba(0, 0, 0, 0);
    padding: 0;
    width: 100%
  }

  /* .resource-filter-nav .navigation-wrapper .search-form {
    top: -15px
  } */

  .resource-filter-nav .search-box {
    top: 2px
  }
}

@media screen and (max-width:480px) {
  .resource-filter-nav .navigation-wrapper .search-form input::-webkit-input-placeholder {
    font-size: 14px
  }

  .resource-filter-nav .navigation-wrapper .search-form input::-moz-placeholder {
    font-size: 14px
  }

  .resource-filter-nav .navigation-wrapper .search-form input::-ms-input-placeholder {
    font-size: 14px
  }

  .resource-filter-nav .search-form input {
    width: calc(100% - 25px)
  }

  /* .resource-filter-nav .navigation-wrapper .search-form.grid-search-bar {
    max-width: 160px;
    margin-right: 10px
  } */
}

@media (max-width:991px) and (min-width:768px) {
  .search-form.grid-search-bar button.submit {
    left: auto;
    right: 0;
    display: none
  }
}


@media all and (min-width: 992px) {

  .resource-filter-nav .sub-menu {
    max-height: 400px;
    overflow-y: auto;
    overflow-x: hidden;
    margin: 0;
  }

  .resource-filter-nav .sub-menu::-webkit-scrollbar {
    width: 6px;
    height: 0;
    background-color: transparent;
  }

  .resource-filter-nav .sub-menu::-webkit-scrollbar-thumb {
    box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
    background-color: #fff;
    border-radius: 3px;
  }

}

/* style for search on whitepaper */
.page-template-cbcommon-template .resource-filter-nav .top-menu>li.desktop-searchbar {
  display: none;
}

/* 
.page-template-cbcommon-template .resource-filter-nav {
  padding: 22px 0;
} */

.page-template-cbcommon-template .search-container {
  display: flex;
  align-items: center;
}

.page-template-cbcommon-template .search-container input {
  width: 85px;
  background: none;
  border: none;
  line-height: 21px;
  font-size: 18px;
  font-weight: 700;
  padding: 0 5px;
  text-align: right;
  color: #fff;
}

.page-template-cbcommon-template .search-container input::placeholder {
  font-size: 0px;
}

.search-icon {
  width: 20px;
}

.page-template-cbcommon-template .search-icon {
  width: 17px;
}

.page-template-cbcommon-template .filters-list,
.page-template-cbcommon-template .filters-list ul.top-menu {
  width: 100%;
}



@media all and (min-width: 768px) {
  .page-template-cbcommon-template .search-container input::placeholder {
    font-size: 18px;
  }

}

@media all and (min-width: 992px) {
  .page-template-cbcommon-template .resource-filter-nav .top-menu>li.desktop-searchbar {
    display: block;
    float: right;
    padding: 0;
  }

  .page-template-cbcommon-template .search-container input {
    width: 195px;
  }

  .filters-list ul.right-aligned-searchbar li:last-child {
    margin-left: auto;
  }

  /* .resource-filter-nav .top-menu.right-aligned-searchbar>li{
    padding: 6px 30px;
  }
  .resource-filter-nav .top-menu.right-aligned-searchbar>li:first-child {
    padding-top: 6px;
    padding-left: 0;
  } */
}