/*! Theme Name: mh-fire Theme URI: https://www.spencerwebdesign.com/ Author: Spencer Web Design Alex Pieschel Author URI: https://www.spencerwebdesign.com/ Description: Description Version: 1.0.0 License: GNU General Public License v2 or later License URI: LICENSE Text Domain: mh-fire Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready This theme, like WordPress, is licensed under the GPL. Use it to make something cool, have fun, and share what you've learned with others. mh-fire is based on Underscores https://underscores.me/, (C) 2012-2017 Automattic, Inc. Underscores is distributed under the terms of the GNU GPL v2 or later. Normalizing styles have been helped along thanks to the fine work of Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/ */ /*-------------------------------------------------------------- >>> TABLE OF CONTENTS: ---------------------------------------------------------------- # Normalize # Typography # Elements # Forms # Navigation ## Links ## Menus # Accessibility # Clearings # Widgets # Content ## Posts and pages ## Comments # Media ## Captions ## Galleries --------------------------------------------------------------*/ /*-------------------------------------------------------------- # Normalize --------------------------------------------------------------*/ /* normalize.css v8.0.0 | MIT License | github.com/necolas/normalize.css */ /* Document ========================================================================== */ /** * 1. Correct the line height in all browsers. * 2. Prevent adjustments of font size after orientation changes in iOS. */ html { line-height: 1.15; /* 1 */ } /* Sections ========================================================================== */ /** * Remove the margin in all browsers. */ body { margin: 0; } /** * Correct the font size and margin on `h1` elements within `section` and * `article` contexts in Chrome, Firefox, and Safari. */ h1 { clear: both; margin: 0.67em 0; } /* Grouping content ========================================================================== */ /** * 1. Correct the inheritance and scaling of font size in all browsers. * 2. Correct the odd `em` font sizing in all browsers. */ pre { font-family: monospace, monospace; /* 1 */ } /* Text-level semantics ========================================================================== */ /** * Remove the gray background on active links in IE 10. */ a { background-color: transparent; } /** * Add the correct font weight in Chrome, Edge, and Safari. */ b, strong { font-weight: bolder; } /** * 1. Correct the inheritance and scaling of font size in all browsers. * 2. Correct the odd `em` font sizing in all browsers. */ code, kbd, samp { font-family: monospace, monospace; /* 1 */ } /** * Prevent `sub` and `sup` elements from affecting the line height in * all browsers. */ sub, sup { line-height: 0; position: relative; vertical-align: baseline; } sub { bottom: -0.25em; } sup { top: -0.5em; } /* Embedded content ========================================================================== */ /** * Remove the border on images inside links in IE 10. */ img { border-style: none; } /* Forms ========================================================================== */ /** * 1. Change the font styles in all browsers. * 2. Remove the margin in Firefox and Safari. */ button, input, optgroup, select, textarea { font-family: inherit; /* 1 */ line-height: 1.15; /* 1 */ margin: 0; /* 2 */ } /** * Show the overflow in IE. * 1. Show the overflow in Edge. */ button, input { /* 1 */ overflow: visible; } /** * Remove the inheritance of text transform in Edge, Firefox, and IE. * 1. Remove the inheritance of text transform in Firefox. */ button, select { /* 1 */ text-transform: none; } /** * Correct the padding in Firefox. */ fieldset { padding: 0.35em 0.75em 0.625em; } /** * Add the correct vertical alignment in Chrome, Firefox, and Opera. */ progress { vertical-align: baseline; } /** * Remove the default vertical scrollbar in IE 10+. */ textarea { overflow: auto; } /* Interactive ========================================================================== */ /* * Add the correct display in Edge, IE 10+, and Firefox. */ details { display: block; } /* * Add the correct display in all browsers. */ summary { display: list-item; } /* Misc ========================================================================== */ /** * Add the correct display in IE 10+. */ template { display: none; } .alignleft { float: left; margin-right: 1.5em; margin-bottom: 1.5em; } .alignright { float: right; margin-left: 1.5em; margin-bottom: 1.5em; } /*-------------------------------------------------------------- # Typography --------------------------------------------------------------*/ body, button, input, select, optgroup, textarea { color: #404040; font-family: sans-serif; line-height: 1.5; } p { margin-bottom: 1.5em; } dfn, cite, em, i { font-style: italic; } blockquote { margin: 0 1.5em; } address { margin: 0 0 1.5em; } pre { background: #eee; font-family: "Courier 10 Pitch", Courier, monospace; line-height: 1.6; margin-bottom: 1.6em; max-width: 100%; overflow: auto; padding: 1.6em; } code, kbd, tt, var { font-family: Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace; } mark, ins { background: #fff9c0; text-decoration: none; } /*-------------------------------------------------------------- # Elements --------------------------------------------------------------*/ body { background: #fff; /* Fallback for when there is no custom background color defined. */ } hr { background-color: #ccc; border: 0; height: 1px; margin-bottom: 1.5em; } ul, ol { margin: 0 0 1.5em 3em; } ul { list-style: disc; } ol { list-style: decimal; } li > ul, li > ol { margin-bottom: 0; margin-left: 1.5em; } dt { font-weight: bold; } dd { margin: 0 1.5em 1.5em; } img { height: auto; /* Make sure images are scaled correctly. */ max-width: 100%; /* Adhere to container width. */ } figure { margin: 1em 0; /* Extra wide images within figure tags don't overflow the content area. */ } table { margin: 0 0 1.5em; width: 100%; } /*-------------------------------------------------------------- # Forms --------------------------------------------------------------*/ select { border: 1px solid #ccc; } textarea { width: 100%; } /*-------------------------------------------------------------- # Navigation --------------------------------------------------------------*/ /*-------------------------------------------------------------- ## Links --------------------------------------------------------------*/ a { color: royalblue; } a:visited { color: purple; } a:hover, a:focus, a:active { color: midnightblue; } /*-------------------------------------------------------------- ## Menus --------------------------------------------------------------*/ .main-navigation { clear: both; display: block; float: left; width: 100%; } .main-navigation ul, .top-nav ul { list-style: none; margin: 0; padding-left: 0; } .main-navigation ul ul { background-color: #3D3B3C; box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2); float: left; left: -999em; padding: 10px 0; position: absolute; top: 100%; width: 245px; z-index: 99999; } .main-navigation ul ul li { width: 100%; } .main-navigation ul ul li a { color: white; padding: 5px 12px; width: 100%; } .main-navigation ul ul ul { left: -999em; top: 0; } .main-navigation ul ul li:hover > ul, .main-navigation ul ul li.focus > ul { left: 100%; } .main-navigation ul ul a { width: 200px; } .main-navigation ul li:hover > ul, .main-navigation ul li.focus > ul { left: 38px; } .main-navigation li { float: left; position: relative; } .main-navigation a { display: block; text-decoration: none; } /* Small menu. */ .menu-toggle, .toggled ul { opacity: 1; height: auto; transition: 1s ease all; } .toggled ul li { height: auto; padding: 5px 10px; transition: 1s ease all; } .toggled ul li a { opacity: 1; transition: 1.1s ease-in all; } @media screen and (min-width: 1025px) { .menu-toggle { display: none; } .main-navigation ul { display: block; } .main-navigation ul::after { clear: both; } } .site-main .comment-navigation, .site-main .posts-navigation, .site-main .post-navigation { margin: 0 0 1.5em; overflow: hidden; } .comment-navigation .nav-previous, .posts-navigation .nav-previous, .post-navigation .nav-previous { float: left; width: 50%; } .comment-navigation .nav-next, .posts-navigation .nav-next, .post-navigation .nav-next { float: right; text-align: right; width: 50%; } /*-------------------------------------------------------------- # Accessibility --------------------------------------------------------------*/ /* Text meant only for screen readers. */ .screen-reader-text { border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; word-wrap: normal; /* Many screen reader and browser combinations announce broken words as they would appear visually. */ } .screen-reader-text:focus { background-color: #f1f1f1; border-radius: 3px; box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6); clip: auto; clip-path: none; color: #21759b; display: block; font-weight: bold; height: auto; left: 5px; line-height: normal; padding: 15px 23px 14px; text-decoration: none; top: 5px; width: auto; z-index: 100000; /* Above WP toolbar. */ } /*-------------------------------------------------------------- # Clearings --------------------------------------------------------------*/ .clear:before, .clear:after, .entry-content:before, .entry-content:after, .comment-content:before, .comment-content:after, .site-header:before, .site-header:after, .site-content:before, .site-content:after, .site-footer:before, .site-footer:after { content: ""; display: table; table-layout: fixed; } .clear:after, .entry-content:after, .comment-content:after, .site-header:after, .site-content:after, .site-footer:after { clear: both; } /*-------------------------------------------------------------- # Widgets --------------------------------------------------------------*/ .widget { margin: 0 0 1.5em; /* Make sure select elements fit in widgets. */ } .widget select { max-width: 100%; } /*-------------------------------------------------------------- # Content --------------------------------------------------------------*/ /*-------------------------------------------------------------- ## Posts and pages --------------------------------------------------------------*/ .sticky { display: block; } .hentry { margin: 0 0 1.5em; } .updated:not(.published) { display: none; } .page-content, .entry-content, .entry-summary { margin: 1.5em 0 0; } .page-links { clear: both; margin: 0 0 1.5em; } /*-------------------------------------------------------------- ## Comments --------------------------------------------------------------*/ .comment-content a { word-wrap: break-word; } .bypostauthor { display: block; } /*-------------------------------------------------------------- # Media --------------------------------------------------------------*/ .page-content .wp-smiley, .entry-content .wp-smiley, .comment-content .wp-smiley { border: none; margin-bottom: 0; margin-top: 0; padding: 0; } /* Make sure embeds and iframes fit their containers. */ embed, iframe, object { max-width: 100%; } /* Make sure logo link wraps around logo image. */ .custom-logo-link { display: inline-block; } /*-------------------------------------------------------------- ## Captions --------------------------------------------------------------*/ .wp-caption { margin-bottom: 1.5em; max-width: 100%; } .wp-caption .wp-caption-text { margin: 0.8075em 0; } .wp-caption-text { text-align: center; } /*-------------------------------------------------------------- ## Galleries --------------------------------------------------------------*/ .gallery { margin-bottom: 1.5em; } .gallery-item { display: inline-block; text-align: center; vertical-align: top; width: 100%; } .gallery-columns-2 .gallery-item { max-width: 50%; } .gallery-columns-3 .gallery-item { max-width: 33.33%; } .gallery-columns-4 .gallery-item { max-width: 25%; } .gallery-columns-5 .gallery-item { max-width: 20%; } .gallery-columns-6 .gallery-item { max-width: 16.66%; } .gallery-columns-7 .gallery-item { max-width: 14.28%; } .gallery-columns-8 .gallery-item { max-width: 12.5%; } .gallery-columns-9 .gallery-item { max-width: 11.11%; } .gallery-caption { display: block; } /* =========================== CUSTOM STYLES ================================ */ /* ========== GLOBAL ========== */ body { font-size: 18px; } h2, h2 a { color: #cc0000; text-align: left; text-decoration: none; } h3 { color: #cc0000; } h4 { color: #cc0000; } /* ============== HEADER =============== */ .main-navigation:after, #primary-menu:after, .menu-menu-1-container:after, .menu-top-nav-container li:after { clear: both; } .home .site-header { background-size: cover; height: 800px; position: relative; } .page .entry-header, .blog-header { background: linear-gradient(to bottom, #E9E9E9, #F7F7F7); margin-bottom: 40px; margin-top: 77px; padding: 100px 0; } .logged-in.page .entry-header, .logged-in .blog-header { margin-top: 97px; } .entry-header h1, .blog-header h1 { text-align: center; text-transform: uppercase; } .main-navigation { background: white; position: absolute; top:27px; } .logged-in .main-navigation { top: 59px; } .home .main-navigation { background: rgba(255, 255, 255, 0.75); } .main-navigation ul { float: right; } .main-navigation ul li a { color: black; padding: 20px 40px 20px 40px; text-decoration: none; font-size: 20px; } .main-navigation ul li a:hover { color: #cc0000; } .top-nav { background-color: #9D0000; height: 27px; position: absolute; top: 0; width: 100%; } .logged-in .top-nav { top: 32px; } .home.logged-in .top-nav { top: 0; } .home.logged-in .main-navigation { top: 27px; } .top-nav ul { margin-right: 40px; } .top-nav ul li a { color: white; float: right; text-decoration: none; padding: 1px 0 1px 30px; } .site-branding { margin-left: 20px; position: absolute; z-index: 1; } .newsletter { background-color: #3D3B3C; color: white; display: flex; justify-content: center; padding: 28px 0; } .newsletter a { background-color: #9D0000; color: white; padding: 14px 40px; text-decoration: none; } .newsletter span { padding: 14px 64px 14px 0; } .menu-toggle { background-color: transparent; border: 1px solid #A00000; border-radius: .25rem; cursor: pointer; float: right; line-height: 1; margin: 10px; padding: .25rem .75rem; } .menu-toggle:hover { background-color: grey; border: 1px solid #A00000; } .menu-toggle:focus { border: 1px solid #A00000; } .navbar-toggler-icon { background: no-repeat center center; background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='#A00000' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E"); background-size: 100% 100%; content: ""; display: inline-block; height: 1.5em; vertical-align: middle; width: 1.5em; } /* ========== FOOTER ========== */ .site-info { align-content: center; align-items: center; background: #3D3B3C; display: grid; grid-column-gap: 1%; grid-template-columns: 11% 37% 50%; grid-template-rows: 100%; padding: 30px 100px 20px 100px; } .site-info widget { margin: 0; } .site-info .textwidget { display: flex; flex-direction: column; height: 100%; justify-content: center; } .copyright a, .site-info p, .copyright a:visited, .copyright a:focus { color: white; } footer { position: relative; } .site-info p { line-height: 1.25; margin: 0; } .site-info a, .site-info a:visited { color: white; } .footer-title { font-size: 32px; font-weight: bold; } .phone { color: white; font-size: 24px; line-height: 58px; } .icon { box-sizing: border-box; height: 58px; padding: 12px; width: 58px; } .map { padding-left: 16px; padding-right: 16px; } .icon-wrap { border: 1px solid white; border-radius: 100%; height: 58px; margin-right: 20px; width: 58px; } .line-wrap { display: flex; margin-bottom: 15px; } .copyright-link { display: block; } .facebook { background: 0 0; border-radius: 50px; color: #14141D; height: 40px; line-height: 42px; margin: 0 10px 0 0; padding: 0; text-align: center; width: 40px; } .facebook:hover { background: #3b5998; color: #fff; } .copyright { background-color: #615F60; bottom: 0; box-sizing: border-box; color: white; font-size: 14px; margin: 0; padding: 10px 100px 10px 0; position: absolute; text-align: right; width: 100%; } .copyright span { margin-left: 50px; } /* ========== HOME ============= */ .home-image-container { display: grid; grid-template-columns: 24.75% 24.75% 24.75% 24.75%; grid-column-gap: .333%; margin-top: 14px; } .home-image-container a { color: black; display: block; overflow: hidden; position: relative; } .home-image-container img { object-fit: cover; object-position: center center; width: 100%; height: 470px; } .home-image-container span { align-items: center; background: rgba(250,250,250,.8); display: flex; font-size: 3rem; font-weight: bold; height: 100%; left: 0; justify-content: center; position: absolute; opacity: 0; text-align: center; text-transform: uppercase; transition: .6s ease all; top: 100%; width: 100%; } .home-image-container a:hover span { opacity: 1; top: 0; } .news-section { display: grid; grid-template-columns: 49% 49%; grid-column-gap: 2%; margin: 0 auto; margin-top: 40px; margin-bottom: 80px; width: 86%; } .news-section img { object-fit: cover; object-position: center center; width: 100%; height: 450px; } /* ========== CONTACT ========== */ .wpcf7-form-control { width: 100%; } /* ============ OTHER PAGES ============= */ .post-edit-link { display: none; } .entry-content { margin: 0 auto; width: 80%; } .blog .entry-content, .single .entry-content, .archive .entry-content { width: 100%; } .blog .site-content, .single .site-content, .archive .site-content, .error404 .site-content { display: flex; margin: 0 auto; margin-bottom: 40px; width: 75%; } .blog .content-area, .single .content-area, .archive .content-area { width: 68%; } #secondary { background: #25255F; margin: 40px 0 0 40px; padding: 20px 40px; } #secondary ul { list-style: none; margin: 0; padding: 0; padding-left: 10px; } #secondary h2 { color: white; font-size: 20px; } #secondary a { color: white; } .home .entry-content { background: linear-gradient(to bottom, #E9EBF0, white); box-sizing: border-box; padding: 0 20px; width: 100%; } .home .hentry { margin: 0; } .board { display: flex; justify-content: center; margin-bottom: 50px; margin-top: 20px; } .board div { margin-right: 100px; } .board div:nth-child(3) { margin-right: 0; } .board div p { text-align: center; margin: 0; } .board div img { border-radius: 100%; height: 200px; object-fit: cover; object-position: center top; margin-bottom: 20px; width: 200px; } .command { display: grid; grid-template-columns: 23% 23% 23% 23%; grid-column-gap: 2.666%; } .newsletters { display: grid; grid-column-gap: 2%; grid-template-columns: 49% 49%; justify-content: center; justify-items: center; text-align: center; } .newsletters a { text-align: center; } .nav-links { margin-top: 20px; } /* ========== MEDIA QUERIES ========== */ @media screen and (min-width: 1650px) { .site-branding { margin-left: 200px; } .page-id-60 .entry-content { width: 40%; } } @media screen and (max-width: 1460px) { .main-navigation ul li a { padding-left: 20px; padding-right: 20px; } .home .site-header { height: 600px; } .home-image-container img { height: 350px; } .phone { font-size: 22px; } } @media screen and (max-width: 1380px) { .home .site-header { height: 560px; } } @media screen and (max-width: 1120px) { .main-navigation ul li a { padding-left: 15px; padding-right: 15px; } } @media screen and (max-width: 1024px) { .home .site-header { height: 437px; background-position: 10% bottom !important; } .main-navigation ul { height: 0; transition: 0.5s ease all; } .main-navigation ul li { display: block; width: 100%; padding: 0; height: 0; transition: 0.5s ease all; } .main-navigation ul li a { opacity: 0; } .top-nav ul { margin-right: 5px; } .top-nav ul li a { padding-left: 10px; } .main-navigation ul li a { padding: 0 10px; } .toggled ul li a { box-sizing: border-box; opacity: 1; } .toggled ul, .toggled ul li { height: auto; transition: 0.5s ease all; } .site-branding { margin-left: 5px; margin-top: 0; } .entry-content { width: 90%; } .site-info { padding: 0 20px 100px 20px; grid-template-columns: 100%; grid-template-rows: 30% 30% 30%; } .site-info .widget_media_image { display: flex; justify-content: center; margin: 0; } #custom_html-5 { margin-top: 80px; margin-bottom: 0; } .copyright { padding: 10px; text-align: left; } .newsletter .textwidget { align-items: center; display: flex; flex-direction: column; } .newsletter span { display: block; font-size: 16px; padding-left: 27px; padding-right: 27px; padding-top: 0; } .home-image-container { grid-template-columns: 100%; margin-top: 0; } .home-image-container img, .news-section img { height: 400px; } .home-image-container a span { background: rgba(250,250,250,.5); opacity: 1; top: 0; } .news-section { grid-template-columns: 100%; margin-bottom: 0; margin-top: 0; width: 100%; } .icon { min-width: 58px; } .page .entry-header, .blog-header { box-sizing: border-box; padding: 132px 0px; } .hentry { margin-bottom: 0; } .site-info #custom_html-4 .textwidget { text-align: center; } .logged-in.page .entry-header, .logged-in .blog-header { margin-top: 77px; } .toggled ul { padding-top: 122px; } .logged-in .toggled ul { padding-top: 130px; } } @media screen and (max-width: 919px) { .toggled ul { padding-top: 82px; } .logged-in .toggled ul { padding-top: 90px; } } @media screen and (max-width: 782px) { .copyright span { display: block; margin-left: 0; text-align: center; } .logged-in .top-nav { top: 46px; } .logged-in .main-navigation { top: 73px; } .blog .site-content, .single .site-content, .archive .site-content, .error404 .site-content { display: block; margin-bottom: 0; width: 100%; } .blog .content-area, .single .content-area, .archive .content-area { box-sizing: border-box; padding: 20px; padding-bottom: 0; width: 100%; } #secondary { margin-bottom: 0; margin-left: 0; } .page .entry-header, .blog-header { margin-bottom: 0; } .blog-header h1 { font-size: 1.5em; } .home .site-header { height: 429px; } .newsletter span { padding-left: 64px; padding-right: 64px; } .home-image-container img { height: 350px; } .news-section .widget { margin-bottom: 0; line-height: 0; } } @media screen and (max-width: 400px) { .command { grid-template-columns: 49% 49%; } .page .entry-header, .blog-header { box-sizing: border-box; padding: 140px 20px; } .blog-header h1 { font-size: 1.4em; } .site-branding img { max-width: 75%; } .toggled ul { padding-top: 50px; } .toggled ul li { padding-top: 2.2px; padding-bottom: 2.2px; } .newsletter span { padding-left: 37px; padding-right: 37px; } .newsletter span { font-size: 15px; } .home-image-container span { font-size: 2.5rem; } .copyright { padding: 5px; } .site-info { padding: 0 20px 65px 20px; } .site-info .widget_media_image { margin: 1.5rem 0; } #custom_html-4 { margin-bottom: 0; } .nav-links a { font-size: 13px; } .logged-in .toggled ul { padding-top: 47px; } } @media screen and (max-width: 321px) { .site-branding img { max-width: 70%; } .top-nav { height: 23px; } .top-nav a { font-size: 14px; } .main-navigation { top: 23px; } .toggled ul { padding-top: 54px; } .newsletter span { padding-left: 20px; padding-right: 20px; } .blog-header h1 { font-size: 1.2em; } .blog-header { padding: 149px 20px; } }