/* DigiPrint brand layer on top of the Mariam theme.
   Green  #7AC244 (logo "Digi")   Navy  #333092 (logo "Print")   Light green #98CB4F */
:root { --dp-green: #7AC244; --dp-green-dark: #5f9e30; --dp-navy: #333092; --dp-navy-dark: #23216b; }

body { font-family: 'Merriweather', Georgia, serif; }

/* header */
.navbar-brand { padding-top: 10px; padding-bottom: 10px; }
.navbar-brand img.dp-logo { height: 58px; width: auto; }
.header-top-line { background: var(--dp-navy) !important; }
.header-top-line span, .header-top-line a, .header-top-line i { color: #fff !important; }
.header-top-line a:hover { color: var(--dp-green) !important; text-decoration: none; }
.top-actions a { display: inline-block; margin-left: 18px; font-size: 13px; line-height: 40px; }
.navbar-nav > li > a.active, .navbar-nav > li > a:hover { color: var(--dp-green) !important; }

/* section titles and banners */
.title-section h1, .services-content h2, .about-content h1, .dp-panel h2 { color: var(--dp-navy); }
.page-banner-section2 { background: var(--dp-navy) !important; }
.page-banner-section2 ul li a { color: #c9c8f0 !important; }
.banner-text1-section { background: var(--dp-navy) !important; }
.banner-text1-section a { background: var(--dp-green) !important; border-color: #fff !important; color: #fff !important; }
.btn-primary { background: var(--dp-green); border-color: var(--dp-green); }
.btn-primary:hover { background: var(--dp-green-dark); border-color: var(--dp-green-dark); }

/* slider */
.tp-caption.large_bold_white { text-shadow: 0 2px 12px rgba(0,0,0,.45); }
.tp-caption.medium_thin_grey { color: #fff !important; text-shadow: 0 1px 8px rgba(0,0,0,.6); }

/* footer */
footer .up-footer { background: var(--dp-navy-dark) !important; }
footer .footer-logo { height: 54px; width: auto; margin-bottom: 18px; }
footer .footer-contact, footer .footer-links { list-style: none; margin: 0; padding: 0; }
footer .footer-contact li, footer .footer-links li { color: #d5d4f2; margin-bottom: 10px; font-size: 13px; }
footer .footer-contact i { color: var(--dp-green); width: 18px; }
footer .footer-contact a, footer .footer-links a { color: #d5d4f2; }
footer .footer-contact a:hover, footer .footer-links a:hover { color: var(--dp-green); text-decoration: none; }
footer .footer-line span { color: var(--dp-green); }

/* content helpers */
.dp-section { padding: 70px 0; }
.dp-section.alt { background: #f7f7f7; }
.dp-lead { font-size: 16px; line-height: 30px; color: #555; }
.dp-photo { width: 100%; height: auto; display: block; border-radius: 4px; box-shadow: 0 10px 30px rgba(0,0,0,.12); }
.dp-panel { background: #fff; border-top: 4px solid var(--dp-green); padding: 26px 28px; box-shadow: 0 2px 14px rgba(0,0,0,.06); margin-bottom: 30px; }
.dp-panel h2 { font-size: 18px; margin: 0 0 14px; }
.dp-panel p, .dp-panel li { font-size: 14px; line-height: 26px; color: #666; }
.dp-panel ul { padding-left: 18px; }
.dp-service-detail { margin-bottom: 50px; }
.dp-service-detail h2 { color: var(--dp-navy); font-size: 22px; margin: 0 0 14px; }
.dp-service-detail .fa { color: var(--dp-green); font-size: 28px; margin-right: 10px; }
.dp-facts { list-style: none; padding: 0; margin: 20px 0 0; }
.dp-facts li { display: inline-block; margin: 0 24px 12px 0; color: var(--dp-navy); font-weight: 700; }
.dp-facts li .fa { color: var(--dp-green); margin-right: 6px; }

/* forms (Mariam contact styling, reused) */
.contact-section form h2 { color: var(--dp-navy); }
.contact-section input[type=text], .contact-section input[type=email], .contact-section input[type=tel],
.contact-section input[type=date], .contact-section select, .contact-section textarea {
	width: 100%; border: 1px solid #ddd; padding: 12px 14px; margin-bottom: 18px; font-size: 14px; background: #fff; border-radius: 0; }
.contact-section label { font-size: 13px; color: #555; font-weight: 700; margin-bottom: 6px; display: block; }
.contact-section .req { color: #c0392b; }
.contact-section .submit-area input[type=submit] { background: var(--dp-green); border: 0; color: #fff; padding: 12px 30px; cursor: pointer; }
.contact-section .submit-area input[type=submit]:hover { background: var(--dp-green-dark); }
.contact-section .submit-area input[type=submit]:disabled { opacity: .6; cursor: wait; }
.dp-form-msg { display: none; margin-top: 14px; padding: 10px 14px; font-size: 14px; }
.dp-form-msg.success { background: #ecf7e3; color: #3d6b1d; }
.dp-form-msg.error { background: #fbeaea; color: #a12a2a; }
.contact-information .information-list i { color: var(--dp-green); }

/* upload page */
.dp-drop { border: 2px dashed #c4c4c4; padding: 34px 16px; text-align: center; margin: 4px 0 14px; cursor: pointer; color: #555; background: #fafafa; }
.dp-drop.over, .dp-drop:focus { border-color: var(--dp-green); background: #f3faec; outline: none; }
.dp-drop .fa { font-size: 34px; color: var(--dp-green); display: block; margin-bottom: 8px; }
.dp-link { color: var(--dp-navy); text-decoration: underline; }
.dp-list { list-style: none; margin: 0 0 12px; padding: 0; }
.dp-list li { padding: 8px 0; border-bottom: 1px solid #eee; font-size: 14px; }
.dp-list .dp-row { display: flex; justify-content: space-between; gap: 10px; }
.dp-list .dp-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dp-list .dp-size { color: #888; white-space: nowrap; }
.dp-list button { border: 0; background: none; color: #b33; cursor: pointer; padding: 0 4px; }
.dp-bar { height: 6px; background: #eee; border-radius: 3px; margin-top: 6px; overflow: hidden; }
.dp-bar span { display: block; height: 100%; width: 0; background: var(--dp-green); transition: width .2s; }
#dpMsg .alert { margin: 10px 0; padding: 10px 14px; }
#dpMsg .alert-info { background: #eef0fb; color: var(--dp-navy); }
#dpMsg .alert-error { background: #fbeaea; color: #a12a2a; }
#dpDone { background: #ecf7e3; padding: 26px; border-top: 4px solid var(--dp-green); }

/* privacy / text pages */
.dp-text h2 { color: var(--dp-navy); font-size: 20px; margin: 34px 0 12px; }
.dp-text p, .dp-text li { font-size: 14px; line-height: 26px; color: #555; }

/* fixes */
#up_files { display: none !important; }
.services-box2 .row, .services-box3 .row { display: flex; flex-wrap: wrap; }

/* loading screen: DigiPrint logo on black */
.preloader { background: #000 !important; display: flex; align-items: center; justify-content: center; }
.preloader img { width: 320px; max-width: 70vw; height: auto; }

/* boxed slider using the original DigiPrint slide photos */
#slider { background: #111; }
#slider .tp-banner-container { max-width: 1140px; margin: 0 auto; }
#slider .tp-caption.dp-cap {
	background: rgba(35,33,107,.88); padding: 8px 16px; text-shadow: none; }
#slider .tp-caption.large_bold_white { font-size: 40px !important; line-height: 52px !important; }

/* Slider photo shade. The template darkens every slide by 48%.
   0 = photos at full brightness; raise to e.g. .15 for a light tint. */
:root { --dp-slider-shade: 0; }
#slider .slotholder:after { background: rgba(0, 0, 0, var(--dp-slider-shade)) !important; }
#slider .tp-caption .btn { background: var(--dp-green) !important; border-color: var(--dp-green) !important; color: #fff !important; }
