/*
Theme Name: Dupere Law Offices
Theme URI: https://annecampbelldesign.com/
Template: astra
Author: Anne Campbell Design
Author URI: https://annecampbelldesign.com/
Description: Customized child theme for Dupere Law Offices, P.C.
Tags: custom-menu,custom-logo,entertainment,one-column,two-columns,
left-sidebar,e-commerce,right-sidebar,custom-colors,editor-style,
featured-images,full-width-template,microformats,post-formats,
rtl-language-support,theme-options,threaded-comments,translation-ready,blog
Version: 4.8.3.1730409143
Updated: 2024-10-31 17:12:23

*/

/* Color scheme: 
darkest blue: #114b5f
mid blue:     #456990
light taupe:  #d9d4c3
*/

/* ------------- GENERAL TEXT STYLES -------------- */

body {
    font-family: "mrs-eaves", serif!important;
    font-size: 24px;
}

h1, h2, h3, h4, h5, h6,
p, li, div, span, th, td { 
  letter-spacing: -0.05rem; 
  line-height: 140%;
}

#content em, #content i { letter-spacing: 0; }

#content p {  }

#content h1, #content h2, #content h3, 
#content h4, #content h5, #content h6 { 
  color: #456990; 
  margin-bottom: 2rem;
  /*font-weight: normal;*/
  letter-spacing: -0.07rem;
  line-height: 110%; 
}

#content h1, span.site-title { 
  font-family: "mrs-eaves-roman-small-caps", serif!important; 
  font-weight: normal;
  letter-spacing: 0.05rem; 
}

#content h1 { font-size: 2.8rem; }
#content h2 { font-size: 2.4rem; }
#content h3 { font-size: 2.2rem; }
#content h4 { font-size: 2.0rem; }
#content h5 { font-size: 1.8rem; }
#content h6 { font-size: 1.6rem; }

#content li h4 { margin-bottom: 0.5rem; }
#content li p { margin-bottom: 2rem; }


/* Buttons */
#content button,
#content a.button,
#content a.button,
#content .ast-the-content-more-link a,
#content form.forminator-ui button,
form#forminator-module-59.forminator-ui.forminator-custom-form.forminator-custom-form-59 button.forminator-button { 
  /*background: #456990; 
  color: white;*/
  color: #114b5f;
  background: white;
  border: 1px solid #114b5f;
  border-bottom: 5px solid #114b5f;
  text-decoration: none;
  font-size: 1.5rem!important;
  font-weight: bold;
  /*border-radius: 0.25rem;*/
  border-radius: 0;
  display: inline-block;
  padding: 0.7rem 1.5rem;
  margin: 0 1rem 1rem 0;
}

#content button:hover,
#content a.button:hover,
form#forminator-module-59.forminator-ui.forminator-custom-form.forminator-custom-form-59 button.forminator-button:hover,
#content button:active,
#content a.button:active,
form#forminator-module-59.forminator-ui.forminator-custom-form.forminator-custom-form-59 button.forminator-button:active { 
  background: #456990;
  box-shadow: none;
  color: white;
}


/* Images in content */
#content img { xborder: 2px dotted red; }



/* --------------- GENERAL LAYOUT ---------------- */

/* body,
body #page,
body #page #content,
body #page #content div.ast-container,
body #page #content div.ast-container #primary,
body #page #content div.ast-container #primary #main,
body #page #content div.ast-container #primary #main article,
body #page #content div.ast-container #primary #main article div.entry-content,
body #page #content div.ast-container #primary #main article div.entry-content p { 
	xborder: 5px dotted black;
}

body { border-color: yellow; }
body #page { border-color: orange; }
body #page #content { border-color: red; background: #D9D4C3; }
body #page #content div.ast-container { border-color: purple; }
body #page #content div.ast-container #primary { border-color: blue; }
body #page #content div.ast-container #primary #main { border-color: green; }
body #page #content div.ast-container #primary #main article { border-color: yellow; }
body #page #content div.ast-container #primary #main article div.entry-content { border-color: orange; }
body #page #content div.ast-container #primary #main article div.entry-content p { border-color: red; }
*/


#content { background: #D9D4C3; }

#content div.ast-container { 
  border-top: 10px solid #456990; 
  background: white; 
  margin: 2rem auto; 
  padding: 0rem 4rem 4rem 4rem; 
}

#content div.ast-container #primary { margin-bottom: 0; }



/* Layout changes for mobile */
@media screen and (max-width: 1040px) { 
  #content div.ast-container { margin: 0 auto; padding: 0; xbackground: pink; } 
  #page #content #primary #main article { padding: 2rem; }
  #content div.ast-container #primary #main article div.entry-content { padding-top: 0; }
}



@media screen and (max-width: 1040px) { 
  #page #content div.ast-container { 
    margin-top: 0; 
    border-top: none; 
  }
}




/* ----------------- HEADER ------------------- */

/* Logo and site title on desktop */
#ast-desktop-header div.site-branding { text-align: center; }
#ast-desktop-header img.custom-logo { margin-bottom: 0.4rem;}
#ast-desktop-header span.site-title { 
    font-size: 2rem; 
    line-height: 150%; 
}
#ast-desktop-header span.site-title a { font-weight: normal; }


/* Left and right columns of mobile header */
#ast-mobile-header div.site-header-primary-section-right,
#ast-mobile-header div.site-header-primary-section-left { 
  padding: 0 1rem 0 0; 
}

/* Logo and site title on mobile */
#ast-mobile-header img.ast-mobile-header-logo { 
  width: 100%; 
  max-width: 300px; 
}


/* Toggle button for mobile menu */

#ast-mobile-header div.ast-button-wrap button.menu-toggle {  
  padding: 0.5rem 1rem;
}
@media screen and (max-width: 500px) { 
  #ast-mobile-header div.ast-button-wrap button.menu-toggle span.mobile-menu-wrap { margin: 0; }
  #ast-mobile-header div.ast-button-wrap button.menu-toggle { padding: 1rem; }
  #ast-mobile-header button.menu-toggle span.mobile-menu { display: none; }
}



/* ----------------- TOP NAVIGATION MENU ON DESKTOP ------------------- */

/* translucent bar */
#ast-desktop-header div.ast-primary-header-bar { background: #eceae2; }

/* wrapper around top nav */
#ast-desktop-header .site-primary-header-wrap { min-height: 4rem; }

/* each menu item */
#ast-desktop-header ul#ast-hf-menu-1 li.menu-item { 
  line-height: 140%;
  min-height: 4rem;
}
div#ast-desktop-header ul#ast-hf-menu-1 li.menu-item:hover { background: white; }




/* --------------- TWO-COLUMN LAYOUT (e.g. contact page) ----------------*/

@media screen and (min-width: 1000px) { 
  #content div.twocol { 
    display: flex;
    column-gap: 6%;
    margin-bottom: 2rem;
  }
  #content div.twocol > div { 
    flex-basis: 50%;
  }
}



/* --------------- TOP OF HOMEPAGE ---------------- */

#content div.hometop {  
  text-align: center; 
  background-image: url('https://duperelawoffices.com/wp-content/uploads/massachusetts-law-books.webp');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  margin: 3rem 0;
}
@media screen and (max-width: 1040px) { 
  #content div.hometop { margin-top: 0; }
}

#content div.hometop h1,
#content div.hometop h2 { 
  background: rgba(17,75,95,0.75);
  margin: 0; padding: 3rem 2rem; 
  color: #d9d4c3;
}

#content div.hometop h1 { padding-bottom: 1rem; }
#content div.hometop h1 img { 
  max-width: 8rem; 
  margin-bottom: 1rem;
}

#content div.hometop h2 { padding-top: 1rem; }




/* --------------- FORMINATOR (contact form) -------------- */

#content form.forminator-ui { 
  border: 1px solid #d9d4c3; 
  padding: 2rem 2rem 0 2rem!important;
}

#content form.forminator-ui * { 
  font-family: 'mrs-eaves', serif!important;
  font-size: 26px!important;
}

/* Field labels */
#content form.forminator-ui label { 
  font-weight: bold; 
  color: #114b5f!important;
}

/* Submit button */
#content form.forminator-ui button.forminator-button.forminator-button-submit { 
  background-color: #114b5f; 
  font-weight: bold;
  letter-spacing: -0.03rem;
}
#content form.forminator-ui button.forminator-button.forminator-button-submit:hover { 
  background-color: #456990; 
}

@media screen and (max-width: 1000px) { 
  #content form.forminator-ui button.forminator-button.forminator-button-submit { 
    font-size: 1.8rem!important; 
    width: auto;
  }
}



/* --------------- BLOG POSTS (attorneys on About page & job postings on Careers) ----------------- */

/*#content ul.display-posts-listing,
#content ul.display-posts-listing li.listing-item,
#content ul.display-posts-listing li.listing-item a.title,
#content ul.display-posts-listing li.listing-item a.image,
#content ul.display-posts-listing li.listing-item a.image img.attachment-thumbnail { border: 4px dashed black; }

#content ul.display-posts-listing { border-color: red; }
#content ul.display-posts-listing li.listing-item { border-color: orange; }
#content ul.display-posts-listing li.listing-item a.title { border-color: yellow; }
#content ul.display-posts-listing li.listing-item a.image { border-color: green; }
#content ul.display-posts-listing li.listing-item a.image img.attachment-thumbnail { border-color: blue; }*/

/* List of blog posts in general */
#content ul.display-posts-listing { 
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 2rem;
}

/* Each post */
#content ul.display-posts-listing li.listing-item { 
  text-align: center;
  display: flex;
  flex-direction: column;
  border: 1px solid #114b5f;
  border-bottom: 6px solid #114b5f;
  background: #d9d4c3;
  flex-grow: 1;
}
#content ul.display-posts-listing li.listing-item:hover { 
  background: #eceae1; 
  transition-duration: 0.5s;
  transition-timing-function: ease-in-out; 
}

/* Attorney photo */
#content ul.display-posts-listing li.listing-item a.image img { 
  width: 90%;
  max-width: 250px;
  margin-top: 1rem;
  z-index: 1;
}
#content ul.display-posts-listing li.listing-item a.image img:hover { opacity: 0.9; }

/* Attorney name */
#content ul.display-posts-listing li.listing-item a.title { 
  background: rgba(255,255,255,0.9); 
  margin-top: -3.1rem;
  padding: 0.5rem;
  font-family: "mrs-eaves-roman-small-caps", serif!important; 
  letter-spacing: 0.05rem; 
  font-size: 1.8rem;
  text-decoration: none;
  z-index: 2;
}
#content ul.display-posts-listing li.listing-item a.title:hover { text-decoration: underline; }


/* Job postings on Careers page */

/* Each posting */
#content ul.display-posts-listing.jobs li.listing-item { flex-basis: 40%;  }

/* Job title */
#content ul.display-posts-listing.jobs li.listing-item a.title { 
  margin: 0; 
  font-family: "mrs-eaves", serif!important;
  font-weight: bold;
  font-size: 2rem;
  letter-spacing: -0.07rem;
  background: #d9d4c3;
  padding: 2rem 2rem 0.5rem 2rem;
}

/* Container for post content */
#content ul.display-posts-listing.jobs li.listing-item div.content { 
  text-align: left; 
  background: #fbfbf9; 
  padding: 0 2rem 0 2rem;
}

/* Subtitle for job posting */
#content ul.display-posts-listing.jobs li.listing-item div.content h3 { 
  text-align: center; 
  font-size: 1.7rem;
  background: #d9d4c3; 
  color: #114b5f;
  margin: 0 -2rem 2rem -2rem;
  padding: 0 2rem 2rem 2rem;
}

/* Read more button for job posting */
#content ul.display-posts-listing.jobs .ast-the-content-more-link a { 
  background: #114b5f; 
  color: white; 
  border-color: #d9d4c3;  
}
#content ul.display-posts-listing.jobs .ast-the-content-more-link a:hover { 
  background-color: #456990; 
}


/* ------------ Single blog posts (each individual attorney's page) -------------- */

/* hide post navigation */
body.single nav.post-navigation { display: none; }

/*#content div.ast-container #primary #main article,
#content div.ast-container #primary #main article div.ast-post-format-.single-layout-1,
#content div.ast-container #primary #main article div.ast-post-format-.single-layout-1 header.entry-header,
#content div.ast-container #primary #main article div.ast-post-format-.single-layout-1 header.entry-header div.post-thumb-img-content,
#content div.ast-container #primary #main article div.ast-post-format-.single-layout-1 header.entry-header div.post-thumb-img-content img { 
  border: 6px dotted black; }

#content div.ast-container #primary #main article.ast-article-single { border-color: red!important; }
#content div.ast-container #primary #main article.ast-article-single div.ast-post-format-.single-layout-1 { border-color: orange; }
#content div.ast-container #primary #main article.ast-article-single div.ast-post-format-.single-layout-1 header.entry-header { border-color: yellow;  }
#content div.ast-container #primary #main article.ast-article-single div.ast-post-format-.single-layout-1 header.entry-header div.post-thumb-img-content { border-color: green; }
#content div.ast-container #primary #main article.ast-article-single div.ast-post-format-.single-layout-1 header.entry-header div.post-thumb-img-content img { border-color: blue; }
*/

#content div.ast-container #primary #main article.ast-article-single { padding: 0; }
 
/* container for photo of attorney on single page */
#content header.entry-header div.post-thumb-img-content { 
  width: 40%; 
  display: inline-block;
  float: left;
  margin: 0 3rem 2rem 0;
  padding: 1rem 1rem 0 1rem;
  background: #d9d4c3;
  border: 1px solid #114b5f;
  border-bottom: 6px solid #114b5f;
}
@media screen and (max-width: 670px) { 
  #content header.entry-header div.post-thumb-img-content { 
    float: none; 
    display: block;
    margin: 0 0 2rem 0;
    width: 100%; 
    max-width: 400px;
  }
}

/* photo of attorney on single page */
#content header.entry-header div.post-thumb-img-content img { 
  aspect-ratio: auto;  
}

/* attorney's name on single page */
#content div.ast-post-format- header.entry-header h1.entry-title { 
  display: inline-block; 
  margin-bottom: 0;
}



/* Related posts (on individual attorney pages only) */ 

/* Hide on all pages except attorney posts */
body.single #content div.ast-single-related-posts-container { display: none; }


/* outermost wrapper for related posts */
body.single.postid-85 #content div.ast-single-related-posts-container,
body.single.postid-76 #content div.ast-single-related-posts-container,
body.single.postid-74 #content div.ast-single-related-posts-container { 
  display: block;
  margin: 2rem auto 0 auto; 
  padding: 0 0 2rem 0;
} 
@media screen and (max-width: 1040px) { 
  body.single #content div.ast-single-related-posts-container { margin: 2rem 2rem 0 2rem; }
}

/* More Attorneys header */
body.single #content div.ast-single-related-posts-container h2 { 
  margin: 2rem 0 0 0; padding: 1rem 0 0 0;
  text-align: center; 
  border-top: 1px solid #114b5f;
}

/* basic wrapper for related posts */
body.single #content div.ast-related-posts-wrapper { 
  display: flex; 
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: 2rem;
}

/* each related post */
body.single #content div.ast-related-posts-wrapper article.ast-related-post {  
  text-align: center;
  display: flex;
  flex-direction: column;
  border: 1px solid #114b5f;
  border-bottom: 6px solid #114b5f;
  background: #d9d4c3;
  flex-grow: 1;
  max-width: 230px;
  padding: 0!important;
}


/* Attorney photo in related posts */
#content div.ast-related-post-featured-section { 
  width: 90%;
  max-width: 200px;
  margin: 1rem auto 0 auto;
  display: block; 
}
#content div.ast-related-post-featured-section:hover { 
  opacity: 0.9; 
  transition-duration: 0.5s;
  transition-timing-function: ease-in-out; 
}

/* Container for name of attorney */
#content div.ast-related-post-content header.entry-header { 
  margin: -3.2rem 0 0 0;
  position: relative; 
  z-index: 10; 
}
#content div.ast-related-post-content header h3.ast-related-post-title { margin: 0 0 -1rem 0!important; }

/* Attorney's name */
#content div.ast-related-post-content header.entry-header h3.ast-related-post-title a { 
  background: rgba(255,255,255,0.9); 
  padding: 0.5rem;
  font-family: "mrs-eaves-roman-small-caps", serif!important; 
  letter-spacing: 0.05rem; 
  font-size: 1.5rem;
  text-decoration: none;
  display: block;
}
#content div.ast-related-post-content header h3.ast-related-post-title a:hover { text-decoration: underline; }

#content div.ast-container #primary,
#content div.ast-container #primary #main,
#content div.ast-container #primary #main
div.ast-single-related-posts-container.ast-container--,
#content div.ast-container #primary #main
div.ast-single-related-posts-container.ast-container-- 
div.ast-related-posts-wrapper { xborder: 5px solid red; xmargin: 0; xpadding: 0; }




/* ------------------ FOOTER ------------------ */

/* footer width (both rows) */
footer#colophon div.ast-builder-footer-grid-columns { 
  margin: 0 auto; 
  padding: 1rem;
  width: 100%; 
  max-width: calc(1040px + 2rem); 
}


/* all 3 columns */
footer#colophon div.site-primary-footer-wrap div.site-footer-section {  }

/* Paragraphs in footer */
footer#colophon div.site-primary-footer-wrap p {  
  font-size: 1.4rem; 
  line-height: 130%; 
  color: #d9d4c3;
}

/* column 1 */
footer#colophon div.site-primary-footer-wrap div.site-footer-primary-section-1 {  }

/* Paragraph in column 1 */
footer#colophon div.site-primary-footer-wrap 
div.site-footer-primary-section-1 p { text-align: left; }

/* Logo in column 1 */
footer#colophon a.logo img { 
  width: 100%; 
  max-width: 16rem;
  margin: 0;
}

/* column 2 */
footer#colophon div.site-primary-footer-wrap div.site-footer-primary-section-2 {  }

/* column 3 */
footer#colophon div.site-primary-footer-wrap div.site-footer-primary-section-3 {  }

/* Paragraph in column 3 */
footer#colophon div.site-primary-footer-wrap 
div.site-footer-primary-section-3 p { 
  text-align: right; 
  margin: 0; 
}

/* Phone and email buttons */
footer#colophon a.button { 
  margin: 0.5rem 0 0.5rem 1rem; 
  padding: 0.5rem 1rem; 
  font-size: 1.3rem; 
  display: inline-block;
  background: transparent;
  color: white; 
  border: 1px solid #d9d4c3;
  border-bottom: 4px solid #d9d4c3;
  border-radius: 0;
}
footer#colophon a.button:hover { 
  background: #d9d4c3; 
  color: #114b5f; 
}



/* Main footer for mobile */
@media screen and (max-width: 900px) { 
  footer#colophon.site-footer div.ast-builder-footer-grid-columns { 
    margin: 0 auto;
    display: block; 
  }
    footer#colophon div.ast-builder-footer-grid-columns div.site-footer-section p { text-align: center; }
    footer#colophon div.ast-builder-footer-grid-columns p img { margin: 0 auto; }
}



/* --- Bottom-most footer (navigation and copyright) --- */

footer#colophon div.site-below-footer-wrap div.footer-widget-area { margin: 0; }

/* Links in bottom-most footer */
footer#colophon div.site-below-footer-wrap a { 
  color: #d9d4c3!important; 
  text-decoration: underline;
}
footer#colophon div.site-below-footer-wrap a:hover { color: #d9d4c3; }


/* Footer navigation */
footer#colophon ul#astra-footer-menu { display: block; xborder: 1px solid red; }
footer#colophon ul#astra-footer-menu li { display: inline-block; }
footer#colophon ul#astra-footer-menu li a { line-height: 100%; color: #d9d4c3!important; }

/* copyright */
footer#colophon div.site-below-footer-wrap p { text-align: right; }
footer#colophon div.site-below-footer-wrap p a { display: inline-block; }


/* Bottom-most footer for mobile */
@media screen and (max-width: 1039px) { 
  footer#colophon ul#astra-footer-menu { 
      text-align: center; 
      margin-bottom: 0.5rem; 
  }
  footer#colophon div.site-below-footer-wrap p { text-align: center; }
}






/* Color scheme: 
darkest blue: #114b5f
mid blue:     #456990
light taupe:  #d9d4c3
*/