/*
Theme Name: Baklon Child
Description: This is a child theme for Baklon Theme
Author: Dahz
Template: baklon
Version: 1.0.0
*/

/*************** ADD CUSTOM CSS HERE.   ***************/
.logo-section {
  width: 25%;
  padding-top: 20px;
  padding-bottom: 20px;
}
.search-icon-section {
  width: 15%;
  float: right;
}
.search-icon-section > .uk-grid {
  position: relative;
}
.search-icon-section > .uk-grid::after {
  background-image: url(https://detersforgovernor.com/wp-content/uploads/2021/12/ky-outline-deters.png);
  background-repeat: no-repeat;
  background-size: contain;
  width: 120px;
  height: 70px;
  content: '';
  position: absolute;
  right: 40px;
  top: -20px;
}
body #header-section2 li.state-logo-display span,
body #header-section2 li.state-logo-display a {
  color: transparent !important;
}
body .de-footer__section li.state-logo-display span {
  display: none !important;
}
body #header-section2 li.state-logo-display {
  color: transparent !important;
  background-image: url(https://detersforgovernor.com/wp-content/uploads/2021/12/ky-outline-deters.png);
  background-repeat: no-repeat;
  background-size: contain;
  width: 120px;
  height: 70px;
  display: none !important;
}
.site-header.transparent-light .de-header__section *,
.uk-light *:not(.uk-button) {
  color: #e61937 !important;
}

.uk-drop.de-dropdown__container {
  z-index: 1020 !important;
  box-sizing: border-box !important;
  width: 300px !important;
}

.main-menu-item .main-menu-link span {
  color: #004276 !important;
  font-weight: bold;
}

.de-dropdown__container {
  top: 80px !important;
}

.uk-card-body .menu-item-type-custom {
  margin-top: 0 !important;
}
.menu-item-type-custom .sub-menu-link span {
  font-weight: bold;
  color: #004276 !important;
}
body .uk-box-shadow-small {
  padding: 0 !important;
}
.de-footer-menu li.state-logo-display {
  display: none !important;
}
#masthead .sub-menu-item.sub-menu-item a {
  padding: 5px 20px;
}
#masthead .sub-menu-item.sub-menu-item {
  margin: 0;
}

html.js_active.vc_desktop.vc_transform.vc_transform {
  overflow: unset !important;
}
.page-id-1110 .endorsements-popups .uk-inline .uk-button {
  height: 200px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 25px;
}
.page-id-1110 .uk-width-1-1.uk-padding-large.uk-modal-body.de-sc-modal-popup__content {
    padding: 0 25px;
}
.page-id-1110 img.size-medium.wp-image-516.aligncenter {
    width: 100%;
}
.de-sc-modal-popup__heading.uk-modal-header h5 {
    text-align: center;
}
.rl-basicgrid-gallery .rl-gallery-item {
    width: 100% !important;
}
.rl-basicgrid-gallery {
    box-shadow: 1px 2px 5px 0px #ccc;
}
.rl-gallery-title {
    text-align: center;
    font-size: 32px;
    font-weight: 800;
}
/*************** ADD MOBILE ONLY CSS HERE  ***************/

@media only screen and (max-width: 959px) {
  body #menu-deters-for-governor-2 li.state-logo-display {
    display: block !important;
    color: transparent !important;
    background-image: url(https://detersforgovernor.com/wp-content/uploads/2021/12/ky-outline-deters.png);
    background-repeat: no-repeat;
    background-size: contain;
    width: 120px;
    height: 70px;
  }
  body #menu-deters-for-governor-2 li.state-logo-display span,
  body #menu-deters-for-governor-2 li.state-logo-display a {
    color: transparent !important;
  }
  .de-column.uk-position-relative.uk-width-1-2\@m.uk-first-column.uk-scrollspy-inview.uk-animation-slide-bottom-medium {
    margin-top: -5vh !important;
  }
}

@media (max-width: 767px) {
    .uk-heading-primary {
        font-size: 30px !important;
    }
}