
/* S51 AP STYLE EDITS */

body {
  overflow-x: hidden;
}

/* ADD SHADOWS TO BOOK COVERS */
.fixed_size{
  max-height: 300px;
}

@media only screen and (max-width: 600px) {
  .fixed_size{
    min-height: auto;
  }
}


.add-shadow, .book_box img, .book-wrapper img, .inner-noteworthy-cover {
  box-shadow: 1px 1px 4px rgba(0,0,0,0.35);
}

.slick-track .slick-slide {
  margin: 0 10px;
}

.new-noteworthy .slider-wrapper .slick-slide img {
  padding: 0;
}

footer .logo-container {
  align-items: center;
}


/* SINGLE BOOK PAGES */

#info-tabContent .handle {
  display: none;
}

#book-content .secondary-handle {
  color: var(--press_pink1);
  font-weight: 700;
}

.viewer-bg {
  background: rgba(0,0,0,0.8);
  top:0; left:0;
  width: 100%;
  height: 100%;
  position: fixed;
  z-index: 99999999;
  opacity: 0;
  pointer-events: none;
  transition: all 0.5s ease;
  display: flex;
  justify-content: center;
  align-items: center;
}

.viewer-canvas {
  position: absolute;
  top:50%; left:50%;
  transform: translate(-50%, -50%);
  width: 90%;
  height: 90vh;
}

.close-viewer {
  color: white;
  font-size: 20px;
  position: absolute;
  right: 30px;
  top: 30px;
  cursor: pointer;
}

.viewer-bg.active {
  opacity: 1;
  pointer-events: all;
}

.at-share-btn-elements {
  margin: 10px auto;
  text-align: center;
}

.card.active a {
  color: #13294B;
}

.card a {
  color: #13294B;
}


/* SINGLE JOURNAL PAGES */

@media(max-width:600px) {

  table {
    width:100% !important;
  }
  #book-content table tr td {
    display: block;
    width: 100%;
  }
  .fixed_size{
    min-height: 0px;
  }
}


/* NEWSLETTER SECTION */

.newsletter-grid {
  margin-top: 48px;
}

.single-newsletter {
  text-align: center;
  margin-bottom: 20px;
}

.single-newsletter p {
  margin-top: 8px;
}

/* CATALOG SECTION */

.catalog-grid {
  margin-top: 48px;
}

.single-catalog {
  text-align: center;
  margin-bottom: 20px;
}

.single-catalog p {
  margin-top: 8px;
}

.single-catalog img {
  width: 180px;
  height: 264px;
}


/* CALENDAR EMBEDS */

.calendar-embed-wrapper ul {
  list-style: none;
  padding: 0;
}

.calendar-embed-wrapper ul a {
  color: #3F5898;
}

#calendar-tabs .nav-pills a.active {
  background-color: #3F5898;
  color: white;
}

#calendar-tabs .nav-pills a {
  color: #3F5898;
  border: 2px solid transparent;
  margin-right: 10px;
}

#calendar-tabs .nav-pills a:hover {
  border: 2px solid #3F5898;
}



/* HOME CALENDAR */

.events-list li {
  margin-bottom: 10px;
}

.events-list .event-date {
  min-height: 100px;
}

.events-list .event-description {
  padding-top: 10px;
}


.events-list .month{

}




/* MAILCHIMP EMBED FORM STYLING */

#mc_embed_signup label{
  display: block;
  font-size: 0.75rem;
  padding:0;
  margin: 6px 0 0 0;
}

#mc_embed_signup .mc-field-group input{
  width: 100%;
  margin-bottom: 12px;
  border-radius: 32px;
  border: 1px solid #ddd;
  padding: 5px 16px;
  margin-top:4px;
  transition: all 0.3s;
  /* float: left; */
}

#mc_embed_signup .mc-field-group input:focus{
  border: 1px solid #3F5898;
}

#mc_embed_signup .mc-field-group input[type="checkbox"]{
  width: auto;
  display: inline;
  margin-right: 10px;
}

#mc_embed_signup .section-2-start {
  margin-top: 24px;
}

#mc_embed_signup .input-group label {
  display: inline;
}

#mc_embed_signup ul, strong {
  width: 100%
}

#mc_embed_signup ul li {
  display: inline-block;
  list-style: none;
  padding-right: 10px;
}

#mc_embed_signup .gdprRequired label {
  display: inline-block;
  margin-right: 20px;
}

#mc_embed_signup .gdprRequired {
  margin-bottom: 32px;
}

p.gdpr-text {
  font-size: 0.75rem ;
}

#mc_embed_signup input[type='submit'] {
  border-radius: 40px;
  padding: 10px 32px;
  background-color: #3F5898;
  border: none;
}



/* JOURNALS BROWSING */

.journals-wrapper {
  column-count: 1;
  font-size: 0.95rem;
  font-weight: 400;
  line-height: 1.2;
}

.journal_display {
  margin-top: 50px;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  justify-content: space-between;
}

.journals-wrapper .book_box {
  display: flex;
  flex-direction: column;
  width: 180px;
  height: 340px;
  border: 0px solid blue;
  justify-content: flex-start;
  margin-top: auto;
}

.journals-wrapper .title_data {
  margin-top: 8px;
  font-size: 0.65em;
  font-family: 'Roboto', sans-serif;
}

.journals-wrapper .title_data span {
  font-size: 0.6rem;
}


@media (min-width: 760px) {
  .journals .book-header {
    display: flex !important;
  }
}


/* SUPPORT PAGES */

.give-now-content {
  margin: 0 auto;

}


/* NEW SUPPORT GRID */

.funds-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.single-fund {
  padding: 20px;
  border: 1px solid #f5f5f5;
  border-radius: 5px;
}

.fund-desc {
  margin: 0;

}

.fund-content {
  display: block;
}

.single-fund img {
  float: left;
  width: 50%;
  max-width: 150px;
  margin-right: 10px;

}

.fund-form {
  display: flex;
  justify-content: left;
  align-items: center;
}

.fund-title {
  background-color: #3F5898;
  text-align: center;
  color: white;
  padding: 20px;
}

.single-fund a {
  color: #3F5898;
  font-size: 1rem;
  clear: both;
  display: block;
  margin-top: 20px;
}

.fund-form p {
  margin: 10px 0 10px 0;
}

.fund-form input[type=text] {
  max-width: 160px;
  border: 1px solid #3F5898;
  padding: 4px 2px;
  border-radius: 4px;
}

.single-fund .btn {
  background-color: #3F5898;
  border: none;
  max-width: 150px;
  color: white;
}

@media (max-width:1000px){
  .funds-grid {
    grid-template-columns: 1fr;

  }
}

@media (max-width:480px){
  .single-fund img {
    float: none;
    width: 100%;
    max-width: 480px;
    margin-right: 0px;
    margin-bottom: 10px

  }

  .fund-form {
    flex-wrap: wrap;
  }
}



/* SINGLE FUND DONATION FORMS */

.single-fund-give-form {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #f5f5f5;
  padding: 20px;
  margin-bottom: 32px;
  margin-top: 20px;
}

.single-fund-give-form h4 {
  color: #414141;
  font-family: 'Montserrat', sans-serif;
  font-weight: bolder;
  margin: 0;
  padding-right: 20px;
}

.single-fund-give-form p {
  margin: 10px 0 10px 0;
}

.single-fund-give-form input[type=text] {
  max-width: 160px;
  border: 1px solid #3F5898;
  padding: 4px 2px;
  border-radius: 4px;
}

.single-fund-give-form .btn {
  background-color: #3F5898;
  border: none;
}




/* WORDPRESS POST GRID */

.banner-decorative-blog h1{
  color:white;
  font-weight: 700;
  text-align: center;
  margin: 0px auto;
  padding: 75px 20px;
}

.banner-decorative-blog {
  height: auto;
  min-height: 300px;
  max-height: 300px;
  background-image: url(../images/blog_banner_desktop.jpg);
}
.logo-head{

}

.banner-decorative h1{
  color:white;
  font-weight: 700;
  text-align: center;
  margin: 0px auto;
  padding: 75px 20px;
}

.banner-decorative {
  height: auto;
  min-height: 300px;
  background-image: linear-gradient(90deg, rgba(0,0,0,0.6), rgba(0,0,0,0.4)), url(../images/header-bg.jpg);
}


.wp-index-main, #archive-wrapper .site-main, #search-wrapper .site-main {
   display: grid;
   grid-template-columns: 1fr 1fr 1fr;
   max-width: 1160px;
   gap: 32px 24px;
   padding: 0 16px;
}

.blog-post {
  cursor: pointer;
}


/* BLOG NAVIGATION BAR */

#wrapper-static-hero .container{
  max-width: 1160px;
  margin: 0 auto;
}

select#cat {
  width: 100%;
}

.wp-embed-responsive #wrapper-hero #categories-3,
.wp-embed-responsive #wrapper-hero #archives-3 {
  width: auto;
}

.wp-embed-responsive #wrapper-hero select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  height: 33px;
  border: none;
  background: transparent;
  cursor: pointer;
  border-bottom: 2px solid #3F5898;
  position: relative;
  /* color: #3F5898; */
}

.wp-embed-responsive #wrapper-hero #categories-3:before,
.wp-embed-responsive #wrapper-hero #archives-3:before {
  content: "\25BC";
  display: block;
  color: #3F5898;
  font-size: 16px;
  position: absolute;
  bottom: 5px;
  right: 1.5em;
}

#searchform .input-group, #archives-dropdown-3 {
  width: 100%;
  max-width: 100%;
}

@media (max-width: 768px){
  #searchform .input-group, #archives-dropdown-3 {
    width: 100%;
    max-width: 355px;
  }
  .wp-embed-responsive #wrapper-hero #categories-3,
  .wp-embed-responsive #wrapper-hero #archives-3 {
    margin-bottom: 24px;
  }

  .wp-embed-responsive #searchform #searchsubmit[type=submit] {
    background-color: #3F5898;
  }
}

/* BREADCRUMB */

.breadcrumb {
  font-size: 0.8rem;
  /* padding: 2px 4px; */
}


/* INDIVIDUAL POST META AND READ MORE */

.posted-on time {
  padding: 4px 8px;
  background: #3F5898;
  color: white;

}
.cat-links a {
  color: #0056b3;
  text-decoration: none;
  display: inline-block;
  padding: 3px 8px;
  background: #f5f5f5;
  border-radius: 20px;
  margin-top: 3px
}

.entry-content .btn.understrap-read-more-link {
  margin-top: 8px;
  padding: 7px 30px;
}

.wp-index-main article {
  border-bottom: 1px solid #efefef;
}

.wp-index-main article footer{
  border: none;
}

.wp_pagination {
  margin: 20px auto;
}

/* SINGLE POSTS */

#single-wrapper .site-main {
  max-width: 800px;
  margin: 0px auto;
}

#single-wrapper .entry-header {
  text-align: center;
  border-bottom: 1px solid rgba(0,0,0, 0.25);
  border-top: 1px solid rgba(0,0,0, 0.25);
  padding-bottom: 24px;
  padding-top: 24px;
  margin-bottom: 48px;
}

#single-wrapper .entry-footer {
  margin-top: 48px;
}


/* WP ARCHIVE PAGES & SEARCH RESULTS */

#archive-wrapper .page-header{
  max-width: 1160px;
  padding: 0 16px;
  width: 100%;
  border-bottom: 3px solid #3F5898;
  margin-bottom: 48px;
}

#search-wrapper .page-header{
  max-width: 1160px;
  padding: 0 16px;
  width: 100%;
  border-bottom: 3px solid #3F5898;
  margin-bottom: 48px;
}


/* WP RESPONSIVE STYLES */

@media(max-width: 768px){
  .wp-index-main, #archive-wrapper .site-main, #search-wrapper .site-main {
     grid-template-columns: 1fr 1fr;
   }
   h1.page-title {
     font-size: 2rem;
   }

}

@media(max-width: 480px){
  .wp-index-main, #archive-wrapper .site-main, #search-wrapper .site-main {
     grid-template-columns: 1fr;
   }
   h1.page-title {
     font-size: 1.5rem;
   }
   h2.entry-title {
     font-size: 1.3rem;
   }
}






















.slick-next {
    transform: translate(0, -50%) rotate(180deg);
}
.browsing #new-noteworthy {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 1fr 1fr 1fr;
}
.browsing #new-noteworthy .slide:nth-of-type(10) {
    display: none;
}

@media (max-width: 767.98px) {
    .book .book-footer {
        margin-top: 30px;
    }
    .book .card .card-header {
        background:transparent;
        padding: 0;
    }
    .book .card .card-header {
        border: 3px solid #13294B;
    }
    .book .card .card-header h5 {
        font-weight: bold;
        text-transform: uppercase;
    }
    .book .card .card-header h5 a {
        padding: 5px 10px;
        display: block;
        padding: 15px 20px;
        color: white;
        background: #13294B;
    }
    .book .card .card-header h5 a.collapsed {
        color: #13294B;
        background: white;
    }
    .book .card a {
        color: #13294B;
    }
    .book .card > .collapse {
        padding: 10px;
    }
    .book #info-tabs {
        display: none;
    }
    .book-header > .col-sm-3 {
        margin-top: 30px;
    }
    .browsing #new-noteworthy {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 1fr;
    }
    .browsing #new-noteworthy .slide:nth-of-type(10) {
        display: block;
    }
    .brand-wrapper a:hover, .brand-wrapper a:focus {
        background: inherit;
    }
    .container {
        width: 100%;
    }
    #header {
        background: #13294B;
        position: fixed;
        width: 100%;
        z-index: 1000;
        top:0;
    }
    .brand-wrapper a.navbar-brand {
        padding: 5px 0;
    }
    /*Navigation*/
    .navbar-collapse {
        position: relative;
        max-height: calc(100vh - 110px);
        overflow-y: scroll;
    }
    .navbar-nav .dropdown-menu {
        position: relative;
        border: none !important;
    }
    #header .nav-item {
        display: block;
    }
    #header .nav-item > a {
        display: inline-block;
        color: #fff;
    }
    #header .col:nth-of-type(2) .menu-header {
        margin-top: 10px;
    }
    .search-form-wrapper {
        left: 0;
        right:0;
    }
    .search-form-wrapper #searchform {
        float: none;
    }
    #searchform input#textsearch {

    }
    #searchform input[type="submit"] {
       background: white;
    }
    .homepage > #slideshow {
        margin-top: 110px;
    }
    #slideshow .slide {
        padding-bottom: 30px;
    }
    #slideshow .slide .slide-content-wrapper .slide-text {
        margin-top: 0;
    }
    #slideshow .slide .slide-content-wrapper .slide-text-wrapper {
        padding: 20px;
    }
    #slideshow .slide .slide-content-wrapper .title {
        line-height: 1;
        font-size: 2rem;
    }
    #slideshow .slide .slide-content-wrapper .subtitle {
        line-height: 1.2;
        font-size: 1.2rem;
    }
    a.button {
        padding: 5px 15px !important;
        font-size: .9rem !important;
        font-family: "Raleway", sans-serif;
    }
    .button-container {
        margin-top: 6px;
        grid-column-gap: 6px;
        grid-row-gap: 6px;
    }
    .button-container a.button {
        font-size: 1rem !important;
        padding: 15px 5px !important;
    }
    .new-content {
        padding-top: 30px;
        padding-bottom: 30px;
    }
    h2.section-title {
        padding-bottom:20px;
        font-size: 1.7rem;
        text-align: center;
    }
    .related-titles .slick-prev,
    .support .testimonial-slider .testimonial-slide-container .slick-prev,
    .new-content .slick-prev {
        left: 5px;
        margin-top: -10px;
        height: 30px;
    }
    .related-titles .slick-next,
    .support .testimonial-slider .testimonial-slide-container .slick-next,
    .new-content .slick-next {
        right: 5px;
        margin-top: -10px;
        height: 30px;
    }
    .slick-next:before, .slick-prev:before {
        font-size: 20px;
    }
    .feeds-section .events-section .event-link .event-excerpt {
        font-size: .8rem;
    }
    .feeds-section .events-section .event-link .event-title {
        font-size: 1rem;
    }
    .feeds-section .events-section .event-link .event-type {
        font-size: .8rem;
    }
    .feeds-section .events-section .event-link .event-date .day {
        font-size: 30px;
    }
    .feeds-section .events-section .event-link .event-date .month {
        font-size: 20px;
    }
    .feeds-section .events-section .event-link {
        grid-template-columns: 80px auto;
    }
    footer .logo-container img {
        max-width: 200px;
    }
    footer p {
        font-size: .8rem;
    }
    footer {
        padding: 20px 0;
    }
    /*General Interior Pages*/
    .banner-decorative {
        margin-top: 110px;
        height: 70px;
    }
    .banner-decorative-blog {
        margin-top: 110px;
        height: 70px;
        background-image: url(../images/blog_banner_mobile.jpg);
    }
    .logo-head{
      display: none;        
    }


    .content-wrapper {
        padding: 20px 0;
    }
    .page.support .content-wrapper {
        padding: 15px;
    }
    .content-wrapper h1 {
        font-size: 1.7rem;
        padding-top: 20px;
    }
    .content-wrapper p.intro {
        font-size: 1rem;
    }
    .content-wrapper p {
        font-size: .9rem;
    }
    .sidebar h2 {
        font-size: 1rem !important;
    }
    .sidebar ul li a {
        font-size: .9rem !important;
    }
    /*Book Pages*/
    .page.book .content-wrapper h1 {
        font-size: 1.5rem;
    }
    .page.book .content-wrapper h2 {
        font-size: 1.3rem !important;
        margin-bottom:10px !important;
        text-align: left;
    }
    .browse-by {
        margin-bottom: 20px;
    }
    .handle {
        font-size: 1rem;
    }
    .content-wrapper {
        font-size: .9rem;
    }
    .new-noteworthy .text-wrapper {
        padding: 20px 15px;
    }
    .new-noteworthy .text-wrapper .text-inner {
        padding: 0;
    }
    .new-noteworthy .text-wrapper p {
        font-size: .9rem;
        margin-bottom: 0;
    }
    .new-noteworthy .text-wrapper .text-inner h2 {
        font-size: 1.5rem;
    }
    .book .content-wrapper, .about .content-wrapper {
        margin-top: 110px;
    }
    /* .book #new-noteworthy {
        display: grid;
        grid-template-columns: 1fr 1fr;
    } */
    .page.book .book-header .cover-image img {
        max-width: 230px!important;
    }
    .page.book .author {
        font-size: 1.2rem;
    }
    .page.book .content-wrapper .subtitle {
        font-size: 1.1rem;
    }
    .page.book .book-header > .col {
        padding-left: 0;
        padding-right: 0;
    }
    .subjects-wrapper, .series-wrapper, .journals-wrapper {
        -webkit-column-gap: 30px;
        -moz-column-gap: 30px;
        column-gap: 30px;
    }
    .subjects-wrapper a, .series-wrapper a, .journals-wrapper a {
        line-height: 1.2;
    }
    .blog-container #blog-section-title h2,
    .feeds-section .events-section #events-section-title h2 {
        padding-bottom: 0;
        margin-bottom: 0;
    }
    .support .support-note .support-content-wrapper .section-title {
        font-size: 2em;
        line-height: 1;
    }
    .support .support-note .support-content-wrapper p {
        font-size: 1rem;
    }
}
.book-header > .col > div {

}
.books-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-gap: 30px;
}
.books-wrapper>a {
    display: block;
    border: 1px solid #efefef;
    padding: 20px;
    -webkit-box-shadow: 3px 4px 8px -3px rgba(0,0,0,0.2);
    box-shadow: 3px 4px 8px -3px rgba(0,0,0,0.2);
}

#adoption-content .books-wrapper .single-book-card {
  display: block;
  border: 1px solid #efefef;
  padding: 20px;
  -webkit-box-shadow: 3px 4px 8px -3px rgba(0,0,0,0.2);
  box-shadow: 3px 4px 8px -3px rgba(0,0,0,0.2);
}

.books-wrapper>a:hover,
.books-wrapper>a:focus {
    background: #eaedf3;
}
#subject-content .book-wrapper, #adoption-content .book-wrapper {
    display: flex;
    flex-direction: column;
}
.book-wrapper .content {
    font-size: .8rem;
    line-height: 1.2;
    padding: 0;
}
#subject-content .book-wrapper h2.book-title, .book-wrapper h2.book-title {
    font-size: 1rem;
}
.page.book .content-wrapper .subtitle {
    font-weight: 400;
}
.book-wrapper .image {
    margin-bottom: 10px;
    max-height: 200px;
    padding: 0;
}
.book-wrapper img {
    max-height: 150px;
    margin: 0 auto;
}
 .book-wrapper {
    margin:0;
    padding: 0;
    border:none;
}
.book-wrapper .content:hover {
    background: transparent;
}

.navbar-expand-lg .navbar-nav a.nav-link.special-menu {
    font-size: .8rem;
}

.sidebar ul li a {
    font-size: 1.2rem;
}

.framed {
    max-width: 1300px;
}

.page.book .content-wrapper h2 {
    font-size: 1.75rem;
    margin-top: 0;
    margin-bottom: .5rem;
    padding:0;
}

.page.book .browse-by {
    margin-bottom: 40px;
}
.browse-books span.nolink {
    font-family: "Montserrat", sans-serif;
    font-size: 1.4rem;
    font-weight: 600;
    color: #888;
    text-decoration: none;
}
.page.book .book-header .format-details {
    font-weight: 500;
}


.page.book .content-wrapper {
    padding-left: 0;
    padding-right: 0;
}

.page.book .book-header .cover-image {
    padding-left: 0;
}

.page.book .book-header .cover-image img {
    max-width: 100%;
    width: 100%;
}

.page.book .content-wrapper .secondary-handle {
    text-transform: none;
    font-weight: 400;
    color: #375a5a;
    margin: 1em 0;
}
.page.book .content-wrapper .books-wrapper > a .subtitle {
   font-size: .9rem;
}
/* .journals .main-content.col {
    min-width:calc(100% - 220px);
} */
.journals .sidebar .journals-list a {
    display: block;
    text-indent: -10px;
    line-height: 1.1;
    margin-bottom: 10px;
}

.journals .sidebar {
    min-width: 220px
}

.journal-wrapper.row {
    margin: 0 0 0 10px
}
#browse {
    display: block;
}
#browse h3 {
    line-height: 1;
    font-size: 1.2rem;
    margin: 0 0 10px 0px;
}
.browse-books .sidebar #seeall {
    justify-content: left;
}

/*Pagination*/
.pagination {
    padding-top: 30px !important;
}
.light-theme .current {
    background: #ddd !important;
    color: #13294B !important;
    border: 1px solid #bbb !important;
    cursor: default;
}

.light-theme a, .light-theme span {
    background-color: transparent !important;
    background: none !important;
    color: #13294B !important;
    box-shadow: none !important;
    font-weight: 800;
}

/*New Browsing*/
.new-content.browsing {
    margin-left: 0;
    padding-left: 0;
    padding-top: 0;
    border-bottom: none;
}
.new-content.browsing .slide {
    padding: 10px 15px;
}

.main-search {
    display: flex;
    padding-bottom: 45px;
}

.main-search .input-wrapper {
    width: 650px;
}
.main-search .input-wrapper input {
    height: 55px;
    border-radius: 0;
}

.main-search .input-wrapper .search-icon-wrapper {
    border-radius: 0;
    width: 56px;
    color: #fff;
    background-color: #173769;
    border-color: #173769;
}

.main-search .input-wrapper .fa-search {
    font-size:25px;
}
.browse-books .sidebar #seeall a {
    font-size: 12px;
    white-space: nowrap;
    width: auto;
    padding: 8px 20px;
}
@media (max-width: 767.98px) {
    .books-wrapper {
        grid-template-columns: 1fr;
    }

}

@media (max-width: 600px) {
    .books-wrapper, .browsing #new-noteworthy{
        grid-template-columns: 1fr;
        justify-content: center;
    }

    .subjects-wrapper, .series-wrapper {
      column-count: 1;
    }

    .main-search .input-wrapper {
    width: 100%;
    }

    .browse-books .row {
      flex-direction: column-reverse;
    }

}



/* Forms */


.ui-form-container #main-content {
  width: 90%;
  max-width: 800px;
  margin: 0 auto;
}

.ui-form-container form input:not([type='submit']):not([type="reset"]):not([type="file"]):not([type="checkbox"]):not([type="radio"]) {
  width: 100%;
  border-radius: 5px;
  border: 1px solid #13294B;
  margin-bottom: 8px;
}

.ui-form-container form input[type="radio"] {
  margin-right: 8px;
}

.ui-form-container form td {
  padding-right: 8px;
}

.ui-form-container form label {
  font-size: 0.9rem;
  margin-bottom: 2px;
  display: block;

}

.ui-form-book-autofill {
  padding: 40px;
  background: #f5f5f5;
}

.ui-form-container .section_head {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 20px;
}


.form-button {
  border-radius: 40px;
  padding: 10px 32px;
  background-color: #3F5898;
  border: 2px solid #3F5898;
  color: white;
  font-weight: 700;
  display: inline-block;
  margin-right: 10px;
  width: auto;
}

.form-button:hover {
  background-color: white;
  color: #3F5898;

}

.ui-form-book-autofill table td{
  padding: 8px 16px !important;
  background: white;
}

.ui-form-book-autofill table .bookhead {
  background: #3F5898;
  color: white;
}

.ui-form-container .intro-text {
  padding-right: 20px;
}




/* FORM PREVIEWS */

.book-form-request-preview {
  display: flex;
  justify-content: flex-start;
  align-items: center;

}

.book-form-request-info {
    padding: 20px;

}

@media(max-width: 680px) {
  .book-form-request-preview {
    flex-direction: column;

  }
}



/* edits to journals page */


.journals-sidebar {
  padding-left: 0;
}

.journal-sidebar-list li a{
  text-indent: -20px;
    padding-left: 20px;
    display: block;
}


.page.book .book-header .button.journal-donate-button {

  background-color: #2F7632;

  border: 2px solid #2F7632;
}
  .page.book .book-header .button.journal-donate-button.journal-donate-button:hover, .page.book .book-header .button.journal-donate-button:focus {
    color: #2F7632;
    background: #fff; }




/* Awards */

.award-years {

  margin-bottom: 20px;

}


.award-years a {
  display: inline-block;
  border-radius: 5px;
  padding: 6px 12px;
  text-align: center;

  border: 2px solid #3F5898;
  color: #3F5898;
  font-weight: 700;
  margin-right: 4px;
  margin-bottom: 4px;
  width: 80px;
}
.award-years a.active {
  background-color: #3F5898;
  color: white;
}



/* Adoption */


/* Book page fixes */

/* .card .card-header {
  display: none;
}
.card .collapse {
  display: block;
  border: none;
} */

.book .constrained {
  max-width: 1300px;
}

#info-tabContent .card {
  border: none;
}

.supplemental-links a {
  display: block;
  line-height: 2;
}


@keyframes flash {
  0% {
    opacity: 1;
    transform:translateY(0%);
    height: auto;
  }
  99% {
    opacity: 0;
    transform:translateY(-100%);
    height: auto;
  }
  100% {
    opacity: 0;
    transform:translateY(-100%);
    height: 0;
  }
}

.flash-success {
  padding: 8px 32px;
  border-radius: 5px;
  border: 2px solid #2F7632;
  color: #2F7632;
  font-weight: 700;
  animation: flash 1s ease 3s forwards;
  width: 100%;
  display: block;
  margin-bottom: 20px;
}


.support .testimonial-slider {
    background-size: cover !important;
    background-position: top !important;
  }

.support .testimonial-slider .testimonial-slide-container .testimonial-slide .testimonial-content{
  font-size: 1.15rem;
}

.support .testimonial-slider .testimonial-slide-container .testimonial-slide .testimonial-author {
  font-size: 1rem;
  padding-top: 10px;
}

@media (max-width:760px){
  .support .testimonial-slider .testimonial-slide-container .testimonial-slide .testimonial-content{
    font-size: 0.9rem;
  }

  .support .testimonial-slider .testimonial-slide-container .testimonial-slide .testimonial-author {
    font-size: 0.8rem;
    padding-top: 10px;
  }
}
