/*
 Theme Name:   GeneratePress Child Classic 2
 Theme URI:    https://generatepress.com
 Description:  Classic Car Library child theme (manual library, no WooCommerce)
 Author:       Andrew C.
 Author URI:   https://tomusborne.com
 Template:     generatepress
 Version:      2.0.0
*/



/* GeneratePress Site CSS */ /* Typography */

.single-post .entry-content *+h2 {
    margin-top: 48px;
  }
  
  h2.large-heading {
    font-size: calc(28px + (64 - 28)*(100vw - 400px)/(1600 - 400));
    line-height: 1.1em;
  }
  
  .single-post .entry-header {
    text-align: center;
  }
  
  ::selection {
    background: #1dd19b;
  }
  
  /*-- Buttons and input elements --*/
  
  a.button,
  .wp-block-button__link {
    -webkit-box-shadow: 0 4px 6px rgba(50, 50, 93, .11), 0 1px 3px rgba(0, 0, 0, .08);
    box-shadow: 0 4px 6px rgba(50, 50, 93, .11), 0 1px 3px rgba(0, 0, 0, .08);
    -webkit-transition: all .15s ease;
    transition: all .15s ease;
    border-radius: 4px !important;
  }
  
  a.button:hover,
  a.wp-block-button__link:hover {
    -webkit-box-shadow: 0 7px 14px rgba(50, 50, 93, .1), 0 3px 6px rgba(0, 0, 0, .08);
    box-shadow: 0 7px 14px rgba(50, 50, 93, .1), 0 3px 6px rgba(0, 0, 0, .08);
    -webkit-transform: translateY(-1px);
    transform: translateY(-1px);
  }
  
  /* Block Styling */
  
  .bg-grey {
    background-color: #f2f3f4;
  }
  
  .column-banner {
    padding: 64px 56px 64px 16px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
  
  }
  
  .center-vertical {
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
  }
  
  hr {
    height: 3px;
  }
  
  @media (min-width: 769px) {
    .forty-sixty-columns .wp-block-column {
        -webkit-box-flex: 1;
        -ms-flex: 1 0 55%;
        flex: 1 0 55%;
    }
  
    .forty-sixty-columns .wp-block-column:first-child {
        -webkit-box-flex: 1;
        -ms-flex: 1 0 35%;
        flex: 1 0 35%;
    }
  
    .sixty-forty-columns .wp-block-column {
        -webkit-box-flex: 1;
        -ms-flex: 1 0 35%;
        flex: 1 0 35%;
    }
  
    .sixty-forty-columns .wp-block-column:first-child {
        -webkit-box-flex: 1;
        -ms-flex: 1 0 55%;
        flex: 1 0 55%;
    }
  }
  
  /*-- Headers, Page Heros and Entry Header */
  
  .inside-header {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
  }
  
  .header-wrap .site-header {
    border-bottom: 1px solid transparent;
  }
  
  .site-header {
    border-bottom: 1px solid rgba(0,0,0,0.1);
  }
  
  /* Navigation and Links */
  
  @media (min-width: 768px) {
    .main-navigation .menu>.menu-item>a:before,
    .main-navigation .menu>.current-menu-item:not(.wc-menu-item)>a:before,
    .loud-link a:before {
        content: "";
        position: absolute;
        display: block;
        bottom: 1em;
        width: 0%;
        height: 2px;
        background-color: currentColor;
        -webkit-transition: 0.3s width ease;
        transition: 0.3s width ease;
    }
  
    .main-navigation .menu>.menu-item:hover>a:before,
    .main-navigation .menu>.menu-item.sfHover>a:before,
    .main-navigation .menu>.current-menu-item:not(.wc-menu-item)>a:before,
    .loud-link a:hover:before {
        width: calc(100% - 40px);
  
    }
  
    .loud-link a {
        position: relative;
        padding-right: 40px;
    }
  
    .loud-link a:hover:before {
        width: calc(100% - 64px);
  
    }
  
    .loud-link a:before {
        bottom: -0.5em;
    }
  }
  
  .loud-link a:after {
    content: '\21e2';
    margin-left: 5px;
  }
  
  /* Custom Single Post Header */
  
  .custom-post-header {
    text-align: center;
    padding: 4%;
    max-width: 680px !important;
    margin-right: auto;
  }
  
  .custom-post-header .entry-subtitle {
    margin-top: 1em;
  }
  
  /* WPSP related Posts */
  
  .wpsp-related-posts {
    background-color: rgba(0,0,0,.03);
    padding: 64px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
  }
  
  .wpsp-related-posts h2 {
    text-align: center;
    margin-bottom: 1em;
  }
  
  /*-- Right Sidebar --*/
  
  @media (min-width: 768px) {
    #right-sidebar {
        border-left: 1px solid rgba(0,0,0,0.1);
    }
  
    #right-sidebar .widget {
        margin-bottom: 0;
    }
  
    #right-sidebar aside:first-child {
        padding-top: 0;
    }
  
    #right-sidebar aside:not(:first-child) {
        border-top: 1px solid rgba(0,0,0,0.1);
    }
  }
  
  @media (max-width: 768px) {
  
    .slideout-navigation.do-overlay .slideout-exit {
      position: static;
      text-align: center;
    }
  }
  
  /* Media Queries Various */

  @media (max-width: 768px) {

    .wpsp-related-posts,
    .wp-block-columns.column-banner {
        padding: 32px 16px;
    }

    .sixty-forty-columns,
    .forty-sixty-columns {
        padding: 0;
    }

    .wp-block-columns .wp-block-column {
        margin-bottom: 10px;
    }

    .mobile-column-reverse {
        -webkit-box-orient: vertical;
        -webkit-box-direction: reverse;
        -ms-flex-direction: column-reverse;
        flex-direction: column-reverse;
    }
  }

  .widget {
  margin: 0 0 0 0px;
  }
  
  .widget-area .widget {
    padding: 20px 0 20px 40px;
  }
  
  button, input, select, textarea {
  
    margin: 5px;
  }
  button, input, select, textarea {
    margin: 5px 0;
  }
  body > div.page-hero.grid-container.grid-parent > div {
  background-color: rgba(0,0,0,0);
  padding: 10px;
  
  /*max-width:500px*/
  }
  
  p.loud-link{
  display:none;
  }
 
    @media print {
      body {
          display: none;
      }
  }

  /* End GeneratePress Site CSS */
