/*
Theme Name:     Kleo Child
Theme URI:
Description:    Child theme for Kleo
Author:         SeventhQueen
Author URI:     http://seventhqueen.com
Template:       kleo
Tags:  one-column, two-columns, right-sidebar, fluid-layout, custom-menu, featured-images, post-formats, sticky-post, translation-ready
License: GNU General Public License
License URI: license.txt
*/

/*
* Please add your custom styles below
*/

/*
font-family: "archivo-condensed", sans-serif;
font-weight: 600;
font-style: normal;

font-family: "inter-variable", sans-serif;
font-variation-settings: "slnt" 0, "wght" 400;

font-family: "barlow", sans-serif;
font-weight: 400;
font-style: italic;
*/

body {
  font-family: "barlow", sans-serif;
  font-weight: 400;
}

.logo img {
  max-height: 94px !important;
  width: 100%;
  height: auto;
}

.main-color h1 {
  color: #164891 !important;
  font-family: "inter-variable", sans-serif !important;
  font-size: 48px;
  font-style: normal !important;
  font-weight: 700 !important;
  font-variation-settings: "slnt" 0, "wght" 700;
  line-height: normal;
}

.main-color h2 {
  color: #000 !important;
  font-family: "inter-variable", sans-serif !important;
  font-size: 32px;
  font-style: normal;
  font-weight: 700 !important;
  font-variation-settings: "slnt" 0, "wght" 700 !important;
  line-height: normal;
}

.main-color h3 {
  color: #000 !important;
  font-family: "inter-variable", sans-serif !important;
  font-size: 25px;
  font-style: normal;
  font-weight: 500;
  font-variation-settings: "slnt" 0, "wght" 500;
  line-height: normal;
}

.main-color h4 {
  color: #000 !important;
  font-family: "inter-variable", sans-serif !important;
  font-size: 18px;
  font-style: normal;
  font-weight: 800 !important;
  font-variation-settings: "slnt" 0, "wght" 800 !important;
  line-height: normal;
  text-transform: uppercase;
}

body .vertical-separator {
  border-left: 0;
  padding-left: 0;
  margin-left: 0;
  position: relative;
  padding-top: 16px;
}

body .vertical-separator::before {
  position: absolute;
  top: 0;
  left: 0;
  content: '';
  display: inline-block;
  width: 70px;
  border-top: 4px solid #000;
  border-radius: 0;
  background: transparent;
}

body .vertical-separator::after {
  display: none;
}

#header .container {
  max-width: 100%;
}

ul#menu-main > li.menu-item:not(.dropdown) > a {
  position: relative;
  color: #000;
  font-family: "archivo-condensed", sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
  text-transform: uppercase;
  padding: 10px 20px;
  border: 1px solid #000;
  line-height: 1 !important;
  background-color: transparent;
  transition: background-color 0.3s;
}

ul#menu-main > li.menu-item:not(.dropdown) > a[target='_blank']::after {
  content: '';
  position: absolute;
  top: 4px;
  right: 4px;
  width: 9.825px;
  height: 9.826px;
  background-color: #000;
  mask-image: url('/wp-content/themes/kleo-child/assets/icon-external-link.svg');
  mask-size: contain;
  mask-position: center;
  mask-repeat: no-repeat;
}

ul#menu-main > li.menu-item:not(.dropdown) > a:hover,
ul#menu-main > li.menu-item:not(.dropdown) > a:focus {
  background: #FDB913;
}

ul#menu-main li.dropdown a {
  color: #000;
  font-family: "archivo-condensed", sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
  text-transform: uppercase;
}



ul#menu-main li.dropdown .sub-menu a {
  color: #000;
  font-family: "barlow", sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  text-transform: initial;
  border-bottom: 1px solid #D9D9D9;
  padding-right: 1rem;
  transition: font-weight 0.1s;
}

ul#menu-main li.dropdown .sub-menu a:hover,
ul#menu-main li.dropdown .sub-menu a:focus {
  font-weight: 700;
}

ul#menu-main li.dropdown .sub-menu li:last-child > a {
  border-bottom: 0;
}

.kleo-main-header .nav > li.active > a,
.kleo-main-header .nav > li > a:hover {
  box-shadow: none;
}

.kleo-main-header .nav li a .caret {
  @media (min-width: 992px) {
    display: none;
  }
}

.kleo-main-header .nav li a .caret::after {
  content: '+' !important;
  color: #000;
  font-size: 32px !important;
  font-weight: 400 !important;
}

.kleo-main-header .nav li.dropdown.open > a .caret::after,
.kleo-main-header .nav li.dropdown-submenu.open > a .caret::after {
  content: '-' !important;
  font-size: 50px !important;
  font-weight: 400 !important;
  line-height: 30px !important;
}

.kleo-main-header .nav > li.menu-item-has-children:hover > a::after,
.kleo-main-header .nav > li.menu-item-has-children:focus > a::after {
  @media (min-width: 992px) {
    content: '';
    border-bottom: 3px solid #FDB913;
    width: 100%;
    display: block;
    bottom: 35%;
    position: absolute;
  }
}

#header.header-color .kleo-main-header.header-scrolled .nav > li.menu-item-has-children:hover > a::after,
#header.header-color .kleo-main-header.header-scrolled .nav > li.menu-item-has-children:focus > a::after {
  @media (min-width: 992px) {
    bottom: 10px;
  }
}

.kleo-main-header .nav > li.active.menu-item-has-children > a::after {
  @media (min-width: 992px) {
    content: '';
    border-bottom: 3px solid #FDB913;
    width: 100%;
    display: block;
    bottom: 35%;
    position: absolute;
  }
}

#header.header-color .kleo-main-header.header-scrolled .nav > li.active.menu-item-has-children > a::after {
  bottom: 10px;
}

.kleo-main-header .dropdown-menu {
  border-width: 0;
  padding-bottom: 0.5rem;
}

.dropdown-menu li {
  border-bottom: 0;
  padding-top: 0;
}

.dropdown-menu li a {
  padding: 17px 0 17px;
  margin: 0 2rem;
  border-bottom: 1px solid #D9D9D9;
  font-family: "barlow", sans-serif;
  text-transform: initial;
  font-weight: 400;
}

.dropdown-menu li:last-child a {
  border-bottom: 0;
}

body .header-color .dropdown-menu > li a:hover,
body .header-color .dropdown-menu > li a:active {
  background-color: #fff;
}

.footer-color#footer {
  background-color: #0080b9;
  border-color: #0080b9;
}

#footer p {
  color: #fff;
  font-size: 18px;
  font-style: normal;
  font-weight: 300;
  line-height: normal;
}

#footer-sidebar-1 img {
  width: 100%;
}

#footer-sidebar-2 {
  text-align: center;

  @media (min-width: 768px) {
    text-align: left;
  }
}

#footer-sidebar-3 {
  text-align: center;

  @media (min-width: 768px) {
    text-align: left;
  }
}

#footer .ginput_container_email input[type='email'] {
  margin: 0 auto;

  @media (min-width: 768px) {
    margin-left: 0;
  }
}

body .gform_legacy_markup_wrapper .top_label div.ginput_container.ginput_recaptcha > div {
  margin: 0 auto;

  @media (min-width: 768px) {
    margin-left: 0;
  }
}

#footer-sidebar-4 {
  display: none !important;
}
#footer .col-sm-3 {
  width: 33.33333333% !important;
}
@media (max-width: 767px) {
  #footer .col-sm-3 {
    width: 100% !important;
  }
}

#footer .col-sm-3:nth-child(2) {
  @media (min-width: 1024px) {
    padding: 3rem 5rem 0;
  }

  @media (min-width: 1280px) {
    padding: 3rem 9rem 0;
  }
}

#footer .social-link {
  margin-right: 16px;
}

#footer #menu-footer-menu li {
  border: none;
  font-size: 16px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
  text-transform: uppercase;
  font-family: "archivo-condensed", sans-serif;
}

#footer #menu-footer-menu li a {
  border: none;
}

.footer-color .widget_nav_menu .current_page_item > a {
  background-color: transparent;
}

#footer .gform_widget .widget-title {
  font-family: "inter-variable", sans-serif;
  font-variation-settings: "slnt" 0, "wght" 700;
  font-size: 32px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
}
#footer .ginput_container_email input[type='email'] {
  padding: 15px 14px 11px;
  max-width: 304px;
}

#footer .ginput_container_email input[type='email']::placeholder {
  color: #C3C3C3;
}

#footer .gform_legacy_markup_wrapper .gform_footer {
  margin-top: 0;
}

#footer input[type=submit] {
  color: #000;
  font-family: "archivo-condensed", sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
  text-transform: uppercase;
  padding: 10px 20px;
  border: 1px solid #FDB913;
  line-height: 1 !important;
  background: #FDB913;
}

.socket-color#socket {
  background-color: #164891;
  border-color: #164891;
}

.socket-color#socket p {
  text-transform: uppercase;
}

/* Buttons */
body .btn.btn-default {
  position: relative;
  color: #000;
  font-family: "archivo-condensed", sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
  text-transform: uppercase;
  padding: 10px 20px;
  border: 1px solid #FDB913;
  line-height: 1 !important;
  background: #FDB913;
  margin: 0 16px 0 0;
  transition: background-color 0.3s, padding-right 0.3s;
}

body .btn.btn-default::after {
  content: '';
  position: absolute;
  right: 12px;
  top: -1px;
  background-image: url('/wp-content/themes/kleo-child/assets/icon-btn-arrow.svg');
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  width: 16px;
  height: 100%;
  opacity: 0;
  transition: opacity 0.3s;
}

body .btn.btn-default:hover,
body .btn.btn-default:focus {
  padding-right: 40px;
  color: #000;
  border: 1px solid #FDB913;
  background: #FDB913;
}

body .btn.btn-default:hover::after,
body .btn.btn-default:focus::after {
  opacity: 1;
}


body .btn.btn-primary {
  position: relative;
  color: #000;
  font-family: "archivo-condensed", sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
  text-transform: uppercase;
  padding: 10px 20px;
  border: 1px solid #000;
  line-height: 1 !important;
  background-color: transparent;
  margin: 0 16px 0 0;
  transition: background-color 0.3s;
}

body .btn.btn-primary:hover,
body .btn.btn-primary:focus { 
  background: #FDB913;
  color: #000;
}

body.home #header {
  @media (min-width: 992px) {
    position: fixed;
    z-index: 10;
    width: 100%;
  }
}

body.home #header strong.logo a {
  @media (min-width: 992px) {
    background-image: url('/wp-content/themes/kleo-child/assets/ESMC-logo-white.svg');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    width: 197px;
  }
}

body.home #header strong.logo a img {
  @media (min-width: 992px) {
    display: none;
  }
}

#header.header-color .kleo-main-header.header-scrolled strong.logo a {
  background-image: url('/wp-content/themes/kleo-child/assets/esmc-logo-small.svg');
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  width: 100px;
  margin-top: 5px;
}

#header.header-color .kleo-main-header.header-scrolled strong.logo a img {
  display: none;
}

body.home .header-color {
  background-color: transparent;
}

body.home .header-color .kleo-main-header {
  background-color: transparent;
  border-color: transparent;
  transition: background-color 0.3s, border-color 0.3s;
}

body .header-color .kleo-main-header ul#menu-main {
  padding-bottom: 32px;

  @media (min-width: 992px) {
    padding-bottom: 0;
  }
}

body.home .header-color .kleo-main-header ul#menu-main > li.dropdown > a {
  @media (min-width: 992px) {
    color: #fff;
  }
}

body.home .header-color ul#menu-main > li.menu-item:not(.dropdown) > a {
  @media (min-width: 992px) {
    color: #fff;
    border-color: #fff;
  }
}

body.home .header-color ul#menu-main > li.menu-item:not(.dropdown) > a:hover {
  @media (min-width: 992px) {
    color: #000;
    border-color: #000;
  }
}

body.home .header-color ul#menu-main > li.menu-item:not(.dropdown) > a[target='_blank']::after {
  @media (min-width: 992px) {
    background-color: #fff;
  }
}


body.home .header-color .kleo-main-header.header-scrolled {
  @media (min-width: 992px) {
    background-color: #ffffff;
    border-color: #e5e5e5;
  }
}

body.home .header-color .kleo-main-header.header-scrolled ul#menu-main > li.dropdown a {
  color: #000;
}

body.home .header-color .kleo-main-header.header-scrolled ul#menu-main > li.menu-item:not(.dropdown) > a {
  color: #000;
  border-color: #000;
}

body.home .header-color .kleo-main-header.header-scrolled ul#menu-main > li.menu-item:not(.dropdown) > a[target='_blank']::after {
  background-color: #000;
}

#header.header-color .kleo-main-header.header-scrolled li.menu-item.open .dropdown-menu {
  @media (min-width: 991px) {
    top: 70px;
  }
}

#header.header-color .kleo-main-header.header-scrolled li.menu-item.open .dropdown-menu.sub-menu .dropdown-menu.sub-menu {
  @media (min-width: 991px) {
    top: 1px;
  }
}

.kleo-main-header li.menu-item.open .dropdown-menu, .kleo-main-header li .kleo-toggle-submenu {
  @media (min-width: 991px) {
    min-width: 270px;
  }
}

.member-prompt {
  text-align: center;
  font-size: 32px;
  text-transform: uppercase;
  padding: 16px;
  font-family: "inter-variable", sans-serif !important;
  font-weight: 700 !important;
  font-variation-settings: "slnt" 0, "wght" 700;
  background-color: #164891;
  color: #fff;
}

body.um-restricted-page #main {
  @media (min-width: 992px) {
    padding-top: 12px;
  }
}

h1.no-access {
  text-align: center;
  padding: 32px;
}

body.home #home-hero h1{
  color: #fff !important;
}

body.home .wpb-content-wrapper .vertical-col {
  position: relative !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  @media (min-width: 768px) {
    min-height: 800px;
  }
}

body.home .wpb-content-wrapper .vertical-col::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #000;
  opacity: 0.15;
  pointer-events: none;
}

/* Make hero images larger on mobile */
.wpb-content-wrapper .vertical-col .wpb_single_image img {
  object-fit: cover;
  min-height: 250px;
}

body.home #home-hero {
  position: relative;
  z-index: 1;
}

#first-image-cta-row {
  padding-top: 94px;
}

.image-ctas .wpb_row {
  display: flex;
  align-items: center;
  flex-direction: column;
  padding-bottom: 74px;

  @media (min-width: 768px) {
    flex-direction: row;
  }
}

.image-ctas.reverse .wpb_row{
  flex-direction: column-reverse;

  @media (min-width: 768px) {
    flex-direction: row;
  }
}

.image-ctas .container-wrap {
  background-color: #003049;
}

.image-ctas .container-wrap h2,
.image-ctas .container-wrap .kleo_text_column {
  color: #fff !important;
}

.image-ctas .container-wrap h2 {
  font-weight: 700 !important;
}

.image-ctas .container-wrap h2::before {
  border-color: #fff;
}

body .latest-news {
  background-color: #00486b;
}

body .latest-news h2 {
  color: #fff !important;
}

body .latest-news h2::before {
  border-color: #fff;
}

body .latest-news .posts-listing article {
  background-color: transparent;
}

body .latest-news .posts-listing article .post-content {
  border: none;
}

body .latest-news .posts-listing article .post-content:hover {
  box-shadow: none;
}

body .latest-news .posts-listing article .post-content .post-header {
  padding-top: 16px;
}

body .latest-news .posts-listing article .post-content .post-title {
  border: none;
  margin-top: 0;
  padding-left: 0;
  margin-bottom: 10px;
}

body .latest-news .posts-listing article .post-content .post-title a {
  color: #FFF !important;
  font-family: "inter-variable", sans-serif !important;
  font-size: 18px;
  font-style: normal;
  font-weight: 500;
  font-variation-settings: "slnt" 0, "wght" 500;
  line-height: normal;
  padding-left: 0;
}

body .latest-news .posts-listing article .post-content .post-footer {
  border: none;
}

body .latest-news .posts-listing article .post-content .post-footer .item-likes {
  display: none;
}

body .latest-news .posts-listing article .post-content .post-footer a span {
  color: #fff;
  font-family: "archivo-condensed", sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  text-transform: uppercase;
}

body .latest-news .posts-listing article .post-content .post-footer a span::after {
  content: '+';
  display: inline-block;
  margin-left: 6px;
}
