/* ------- CSS for SiteTemplate_Sample_White.vfp ---------------- */
:root {
    --template-page-grid-max-column-width: 12rem;
    --template-formstone-grid-max-width: 800px;
}

.pc_page_content {
    margin: 0px auto 20px auto;
    }
.pc_page_content_inner {
    padding:0px 20px;
}

.pc_formstone_container {
    max-width:var(--template-formstone-grid-max-width,800px); 
    margin-left:auto;
    margin-right:auto;
}
.pc_record_listing_table td, .pc_record_listing_table th,
.pc_opp_line_item_table td, .pc_opp_line_item_table th,
.pc_cart_item_table td, .pc_cart_item_table th {
   padding:7px;
}
/* Nav bar styling overrides */   
/* Menu bar background and text color */
.stellarnav.light {
  background: transparent;
}
/* submenu background color and border */
.stellarnav.light ul ul {
  background: white;
  border: 1px solid #808080; /* optional */
  }
.stellarnav ul > li > a {
    padding:15px;
}
/* submenu item text color */
.stellarnav.light ul ul li a {
  color: black;
  
}
/* submenu item hover */
.stellarnav.light ul ul li :hover {
  color: white;
  background: #808080;
  
}
.stellarnav.mobile.light ul ul {
  background: white;
  border: inherit; /* optional */
  }
.stellarnav.mobile ul ul li a {
  color:black;
}
.stellarnav.mobile ul ul li a :hover {
  color:white;
}

/* responsive content margins */
@media all and (max-width: 500px) {
.pc_page_content_inner {
   padding-left: 5px;
   padding-right: 5px;
}

}
/* advanced layout grid and fixed header styling */
.wrapper {
    display: grid;
    grid-template: auto 1fr minmax(1rem, auto) auto / 100%;
    min-height: 100vh;
}

.header {
    order: 1;
    z-index: 10;
}

.header--inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #fff;
    border-bottom: 1px solid #ccc;
}

.logo {
    
}

.logo--link {
    display: block;
}

.logo--image {
    display: block;
}

.nav {
    margin-top: 1rem;
    
    text-align:center;
    width:100%;
}

.main {
    order: 2;
    padding: 1rem;
    background-color: #fff;
}

.footer {
    order: 3;
    padding: 1rem;
    border-top: 0px solid #ccc;
    background-color: #595959;
    color: white;
}
@media (min-width: 775px) { /* navigation break point */  
    .wrapper {
        grid-template: 5rem 1fr auto / 1fr repeat(6, minmax(auto, var(--template-page-grid-max-column-width,12rem))) 1fr;
    }
    .header {
        grid-column: span 8;
        padding: 1rem;
    }
    .header--inner {
        flex-direction: row;
        position: fixed;
        width: 100%;
        height: 5rem;
        top: 0;
        left: 0;
        right: 0;
        z-index: 1;
    }
   .nav {
        margin-top: 0px;
        margin-left: auto;
        text-align:right;
        width:auto;
   }
   .main {
        /* order: 2; */
        grid-column: 2/8;
        padding: 2rem;
        border-right: 0px solid #ccc;
        border-left: 0px solid #ccc;
   }
   .footer {
        grid-column: span 8;
   }
}

// Setup
* {
    box-sizing: border-box;
}

html {
    background-color: #fff;
}

