/* =========================================================
   Niyyah base
   Reproduces the GeneratePress base styles the site was
   designed on top of, so the pages look the same without
   GeneratePress installed. Loaded before style.css.
   ========================================================= */

html { font-family: sans-serif; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; box-sizing: border-box; }
*, *::before, *::after { box-sizing: inherit; }

html, body, div, span, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre,
ol, ul, li, dl, dt, dd, fieldset, legend, figure, hr, textarea {
    border: 0;
    font-size: 100%;
    font-style: inherit;
    font-weight: inherit;
    margin: 0;
    outline: 0;
    padding: 0;
    vertical-align: baseline;
}

article, aside, details, figcaption, figure, footer, header, main, nav, section { display: block; }

body, button, input, select, textarea {
    font-family: -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
    font-weight: 400;
    text-transform: none;
    font-size: 17px;
    line-height: 1.5;
}

p { margin-bottom: 1.5em; }

h1, h2, h3, h4, h5, h6 { font-family: inherit; font-size: 100%; font-style: inherit; font-weight: inherit; }
h1 { font-size: 42px; margin-bottom: 20px; line-height: 1.2em; font-weight: 400; text-transform: none; }
h2 { font-size: 35px; margin-bottom: 20px; line-height: 1.2em; font-weight: 400; text-transform: none; }
h3 { font-size: 29px; margin-bottom: 20px; line-height: 1.2em; font-weight: 400; text-transform: none; }
h4 { font-size: 24px; margin-bottom: 20px; }
h5 { font-size: 20px; margin-bottom: 20px; }
h6 { margin-bottom: 20px; }

@media (max-width: 768px) {
    h1 { font-size: 31px; }
    h2 { font-size: 27px; }
    h3 { font-size: 24px; }
    h4 { font-size: 22px; }
    h5 { font-size: 19px; }
}

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; }

b, strong { font-weight: 700; }
dfn, cite, em, i { font-style: italic; }
small { font-size: 75%; }
sub, sup { font-size: 75%; height: 0; line-height: 0; position: relative; vertical-align: baseline; }
sup { bottom: 1ex; }
sub { top: .5ex; }
mark { background: #ff0; color: #000; }
abbr, acronym { border-bottom: 1px dotted #666; cursor: help; }
pre { background: rgba(0,0,0,.05); font-family: inherit; font-size: inherit; line-height: normal; margin-bottom: 1.5em; padding: 20px; overflow: auto; max-width: 100%; }
code, kbd, tt, var { font: 15px Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace; }
blockquote { border-left: 5px solid rgba(0,0,0,.05); padding: 20px; font-size: 1.2em; font-style: italic; margin: 0 0 1.5em; position: relative; }
hr { background-color: rgba(0,0,0,.1); border: 0; height: 1px; margin-bottom: 40px; margin-top: 40px; }
table { border-collapse: separate; border-spacing: 0; border-width: 1px 0 0 1px; margin: 0 0 1.5em; width: 100%; }
table, th, td { border: 1px solid rgba(0,0,0,.1); }
th, td { padding: 8px; }
th { font-weight: 700; }

img { height: auto; max-width: 100%; }
figure { margin: 0; }

a { transition: color .1s ease-in-out, background-color .1s ease-in-out; }

button,
input[type="button"],
input[type="reset"],
input[type="submit"],
a.button {
    background: #55555e;
    color: #fff;
    border: 1px solid transparent;
    cursor: pointer;
    -webkit-appearance: button;
    padding: 10px 20px;
}

input[type="text"], input[type="email"], input[type="url"], input[type="password"],
input[type="search"], input[type="tel"], input[type="number"], input[type="date"],
select, textarea {
    background-color: #fafafa;
    border: 1px solid #ccc;
    border-radius: 0;
    color: #666;
    padding: 10px 15px;
    box-sizing: border-box;
    max-width: 100%;
}
textarea { overflow: auto; vertical-align: top; width: 100%; }
input[type="file"] { max-width: 100%; box-sizing: border-box; }

.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 !important;
    width: 1px;
    word-wrap: normal !important;
}

.alignleft { float: left; margin-right: 1.5em; }
.alignright { float: right; margin-left: 1.5em; }
.aligncenter { clear: both; display: block; margin: 0 auto; }
