
/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */

 .content .entry {
  margin-bottom: 50px;
}

body:not(.home) .site-container > .site-inner {
  max-width: 900px;
}

.entry .entry-header {
  margin-bottom: 0px;
}

.archive.search.search-results .archive-description {
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: none;
}

.archive.search.search-results .archive-description .archive-title {
  display: none;
}

.collapse {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  display: block;
  max-height: 4em;
  overflow: hidden;
  -webkit-transition: max-height .5s cubic-bezier(0, 1, 0, 1);
  -o-transition: max-height .5s cubic-bezier(0, 1, 0, 1);
  transition: max-height .5s cubic-bezier(0, 1, 0, 1);
  -webkit-filter: blur(4px);
          filter: blur(4px);
}

.collapse:not(.show) {
  pointer-events: none;
}

.collapse.show {
  max-height: 99em;
  -webkit-transition: max-height .5s ease-in-out;
  -o-transition: max-height .5s ease-in-out;
  transition: max-height .5s ease-in-out;
  -webkit-filter: blur(0);
          filter: blur(0);
}

.button-expand,
.expander-collapse {
  min-width: 300px;
  margin-top: 20px;
}

div.pdfemb-viewer {
  border: none !important;
}
.code-block img {
  margin: 0;
}
.code-block {
  margin: 0!important;
}

.ab-block-post-grid-image a::before,
.authority-featured-image::before,
.featuredpost .has-post-thumbnail > a::before,
.wp-block-media-text .wp-block-media-text__media::before,
.wp-block-media-text .wp-block-media-text__media::after,
.wp-block-image.stylized-background::after,
.widget_media_image::after,
.widget_media_image::before,
.hero-section-column.right::after,
.hero-section-column.right::before {
  content: initial !important;
  display: none !important;
}

.wp-block-media-text__media::after,
.wp-block-image.stylized-background::after {
  content: initial !important;
  display: none !important;
}

body:not(.home).full-width-content.single .content,
body:not(.home).full-width-content.page .content,
body:not(.home) .authority-grid .content,
body:not(.home).full-width-content .content  {
  max-width: 840px !important;
  width: 840px !important;
  margin: 0 auto !important;
  float: none !important;
}

iframe {
  width: 100% !important;
}

body:not(.home) .content {
  max-width: 880px!Important;
}

/* Navigation overrides */

/* .genesis-nav-menu .menu-item {
  position: relative;
}

.genesis-nav-menu .sub-menu {
  left: initial;
  right: 0;
}

.genesis-nav-menu .sub-menu .sub-menu {
  margin: -56px 199px 0 0;
} */

/* Search and Filter overrides */

.searchandfilter {
  margin-bottom: 40px;
}

.searchandfilter > ul {
  display: -webkit-box !important;
  display: -ms-flexbox !important;
  display: flex !important;
  width: 100%;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
}

.searchandfilter ul li {
  -ms-flex-preferred-size: auto;
      flex-basis: auto;
          -webkit-box-flex: 0;
              -ms-flex-positive: 0;
                  flex-grow: 0;
  -ms-flex-negative: 0;
      flex-shrink: 0;
  width: 48%
}

.searchandfilter label {
  width: 100% !important;
}

.searchandfilter ul li.sf-field-submit {
  width: 100%;
}

.searchandfilter input[type="submit"] {
  width: 100%;
  padding: 19px 20px;
}

.searchandfilter select {
  width: 100%;
  -webkit-appearance: none;
  border-radius: 0;
  background-position: 97% center;
  background-repeat: no-repeat;
  background-image: url("data:image/svg+xml,%3Csvg height='20' viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M100 100h200L200 300z' fill='%23cccc' stroke-width='0'/%3E%3C/svg%3E");
}

.ab-block-post-grid-image img,
.authority-featured-image img,
.featuredpost .has-post-thumbnail img {
  margin: 0 0 24px 0;
}

/* .cad-media-block {

} */

.authority-featured-image img {
  width: 100%;
}

.wp-block-media-text.cad-media-block .wp-block-media-text__media img {
  border: none;
  -webkit-box-shadow: none;
          box-shadow: none;
  width: 100%;
  height: auto;
  min-width: 100%;
  max-width: 100%;
  margin-left: 0;
}

.cad-dark-bg {
  background-color: #102232!important;
}

.cad-dark-bg * {
  color: #ffffff!important;
}

.cad-news-signup {
  width: 100%;
  background-color: #102232;
  min-width: 100vw;
  max-width: 100vw;
  position: relative;
  left: 0;
  top: 0;
  margin-left: calc(-100vw / 2 + 100% / 2);
  padding: 40px 20px;
}

.cad-news-signup button {
  max-height: 60px;
  background-color: transparent;
}

.cad-news-signup p {
  padding: 20px;
  margin-bottom: 0;
  max-width: 400px;
}

.cad-news-signup a {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-direction: row;
          flex-direction: row;
  text-decoration: none;
  color: white;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
          justify-content: center;
  -ms-flex-line-pack: center;
      align-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
          align-items: center;
}

.cad-news-signup img {
  height: 120px;
}

@media only screen and (min-width: 1075px) {
  .wp-block-media-text.cad-media-block img {
    margin-left: 0!important;
  }
  
  .wp-block-media-text.cad-media-block .wp-block-media-text__content {
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .wp-block-media-text.has-media-on-the-right.cad-media-block .wp-block-media-text__content {
    padding-left: 40px;
  }
}

@media only screen and (max-width: 900px) {
  .cad-news-signup a {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
  }

  .cad-news-signup p {
    text-align: center;
  }
}

@media only screen and (max-width: 1075px) {
  .button-expand,
  .expander-collapse {
    max-width: 100%;
    width: 100%;
  }

  .back-button {
    width: 100%;
  }

  .cad-news-signup img {
    height: 80px;
  }

  body:not(.home).full-width-content.single .content,
  body:not(.home).full-width-content.page .content,
  body:not(.home) .authority-grid .content,
  body:not(.home).full-width-content .content  {
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 auto !important;
    float: none !important;
  }

  .searchandfilter {
    margin-bottom: 20px;
  }

  .searchandfilter ul li {
    -ms-flex-preferred-size: 100%;
        flex-basis: 100%;
  }

  .searchandfilter label {
    width: 100% !important;
  }
  
  .searchandfilter input[type="submit"] {
    width: 100%;
  }

  .cad-ad-block img {
    max-width: 100%;
    height: auto;
  }

  .archive-description, .entry {
    max-width: 100%;
    width: 100%;
  }

  .full-width-content.single .content, .full-width-content.page .content {
    max-width:100% !important;
    width: 100% !important;
  }
  
  .authority-grid .content, .full-width-content .content {
    max-width:100% !important;
    width: 100% !important;
  }
}

@media only screen and (min-width: 1076px) {
  .home .site-inner {
    padding-top: 0;
  }
  
  .ab-block-post-grid .is-list article {
    -ms-grid-columns: 50% 1fr;
    grid-template-columns: 50% 1fr;
  }

  .ab-block-post-grid.dark-bg .is-list article .ab-block-post-grid-image {
    margin-bottom: -8px;
  }



  .ab-block-post-grid.dark-bg .is-list article .ab-block-post-grid-image a img {
    margin-bottom: 0;
  }

  .ab-block-post-grid.dark-bg .is-list article .ab-block-post-grid-text {
    -webkit-box-pack: center;
    -ms-flex-pack: center;
        justify-content: center;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
  }
}

.ab-block-post-grid.dark-bg .is-list article .ab-block-post-grid-image a:hover img {
  -webkit-transform: none;
  -ms-transform: none;
      transform: none;
}

.ab-block-post-grid.dark-bg .is-list article {
  background-color: #102232;
}

.ab-block-post-grid.dark-bg .is-list article .ab-block-post-grid-text * {
  color: #ffffff;
}


/* Josh's Changes */


body.category .site-inner,
body.author .site-inner {
  margin: 0 !important;
  padding-top: 0 !important;
}

body.category .site-inner .wrap,
body.author .site-inner .wrap {
  margin: 0 auto;
  max-width: 100% !important;
}

body.category .site-inner, .wrap,
body.author .site-inner, .wrap {
  margin: 0 auto;
  max-width: 100% !important;
}

body.category article.post,
body.author article.post {
  padding: 0 50px;
}

body.category.site-header, .wrap,
body.author.site-header, .wrap {
  max-width: 1200px !important;
  margin: 0 auto !important;
}