/*
Theme Name: Alpha Child
Theme URI: https://alpha.org/
Author: Max Lyuchin
Author URI: https://heartwp.com/
Description: Child theme for Alpha websites.
Version: 1.0.1
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: alpha
Template: alpha-marketing-theme
*/

form.sf-form {
  font-weight: bold;
  margin: 20px 10px;
}

form.sf-form label {
  font-weight: bold;
}
form.sf-form label,
form.sf-form input,
form.sf-form select,
form.sf-form textarea {
  display: block;
}
form.sf-form input,
form.sf-form select {
  height: 40px;
}

form.sf-form input,
form.sf-form select,
form.sf-form textarea,
form.sf-form .select2-container .select2-selection {
  margin: 4px 0px 20px 0px;
  width: 100%;
  padding: 7px 10px;
  box-sizing: border-box;
  border: 1px solid #bcbcbc;
  background: #fff;
  outline: none;
  box-shadow: none;
  line-height: 1.5;
  font-size: 16px;
  border-radius: 6px;
}
form.sf-form select {
  -webkit-appearance: none;
  -moz-appearance: none;
  background: transparent;
  background-image: url("data:image/svg+xml;utf8,<svg fill='black' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/><path d='M0 0h24v24H0z' fill='none'/></svg>");
  background-repeat: no-repeat;
  background-position-x: calc(100% - 8px);
  background-position-y: 50%;
}
form.sf-form input[type="checkbox"] {
  display: inline-block;
  width: auto;
  height: auto;
  margin-left: 10px;
  transform: scale(1.2);
}
form.sf-form input[type="submit"] {
  width: auto;
  height: auto;
  font-weight: initial;
  background-color: #e42312;
  border-color: #e42312;
  color: #fff;
  margin-top: 20px;
  min-width: 150px;
}
form.sf-form br {
  display: none;
}
form.sf-form .select2-container {
  width: 100% !important;
}

form.sf-form.two-columns {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: [first] 40px calc(50% - 20px) 40px [line2] 40px calc(50% - 20px) 40px [end];
  grid-template-columns: [first] calc(50% - 20px) [line2] calc(50% - 20px) [end];
  gap: 15px 40px;
  grid-auto-flow: column;
}

@media (max-width: 1023px) {
  form.sf-form.two-columns {
    display: block;
  }
}

form.sf-form.two-columns .item.col-1 {
  -ms-grid-column: 1;
  grid-column: 1;
}

form.sf-form.two-columns .item.col-2 {
  -ms-grid-column: 2;
  grid-column: 2;
}
form.sf-form.two-columns .item.long {
  -ms-grid-row-span: 2;
  grid-row-end: span 2;
}

.is-style-outline > .wp-block-button__link,
.wp-block-button__link.is-style-outline {
  padding: 14px 32px;
}

#colophon.site-footer .widget_alpha_cta a.btn.btn-primary {
  white-space: nowrap;
}

@media (min-width: 600px) {
  .no-overlay .alpha-stats-heading {
    width: 230%;
  }
}
@media (min-width: 631px) {
  .no-overlay .alpha-stats-heading {
    width: 95%;
  }
}
@media (min-width: 782px) {
  .no-overlay .alpha-stats-heading {
    width: 230%;
  }
}
@media (min-width: 950px) {
  .no-overlay .alpha-stats-heading {
    width: 95%;
  }
}

.topline-nav {
  z-index: 1001;
}

/*Style for search page*/
body.search-results main {
  padding-bottom: 15px;
}
body.search-results main.site-main,
body.error404 main.site-main {
  margin-top: 20px;
  margin-bottom: 35px;
}
body.search-results article .entry-header {
  margin: 0;
  padding: 0;
}
body.search-results article .entry-header .entry-title {
  margin-bottom: 15px;
}

body.search-results article .entry-footer {
  margin: 0;
  padding: 0;
  padding-bottom: 40px;
}

body.search-results article .entry-footer .read-more-link {
}

body.search-results nav .nav-links {
  display: flex;
}

body.search-results nav .nav-links > * {
  margin-right: 40px;
}

@media (min-width: 600px) {
  .image-position-right .alpha-image-text-content {
    z-index: 1;
  }
  .image-position-right .alpha-image-text-image {
    order: 1;
    z-index: 0;
  }
}

/*-----For desktop auto hide/show primary nav-----*/
@media (min-width: 1024px) {
  .site-header .branding {
    transition: all 0.3s ease;
  }
  .site-header.scrolled .branding {
    margin-top: -112px;
  }
}


article.page.post-password-required {
    margin-top: 125px;
}

@media (max-width: 1300px) and (min-width: 1024px) {
    .branding #header-menu-logo {
        margin-right: 35px;
    }
    .site-header .main-navigation .menu > .menu-item {
        margin-left: 30px;
    }
}
.branding #header-menu-logo {
  margin-top: -10px;
}

.alpha-episodes-preview.hide-watermark > div:before {
  display: none;
}