/*! HTML5 Boilerplate v6.0.1 | MIT License | https://html5boilerplate.com/ */

/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html {
    color: #222;
    font-size: 1em;
    line-height: 1.4;
}

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #E76120;
    margin: 0;
    padding: 0;
}

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

textarea {
    resize: vertical;
}

.browserupgrade {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ============ Custom Styles  =================== */

body {
    font-family: 'Cormorant Garamond', serif;
    background-color: #DBB9D4;
    background-image: url(../images/lavenderNew2.jpg);
    background-repeat: repeat;
}
#container {
    display: block;
    width:100%;
    max-width: 680px;
    margin: 30px auto 20px;
    position: relative;
}

/* ~~ Element/tag selectors ~~ */
ul, ol, dl { 
    padding: 0;
    margin: 0 0 2em 3em;
    list-style-type: circle;
    list-style-position: inside;
}
li { 
    margin-left: 20px;
    padding-bottom:.4em; 
}
h1, h2, h3, h4, h5, h6, p {
    margin: 0;
    padding: 0;
}
h1,h2,h3,h4,h5,h6 {
    font-weight: 700;
    letter-spacing: .04em;
    text-align:center;
}
h1 {
    font-size: 2.2em;
    width:100%;
    line-height:1;
    color: #0A8489;
    padding-bottom:1.2em;
}
h2 {
    font-size: 1.8em;
    padding: 0 0 1em 0;
    color: #0A8489;
    letter-spacing: 1px;
}
h3 { 
    font-size: .8em; 
}
p {
    color: #444;
    font-family: 'Cormorant Garamond', serif;
    position: relative;
    padding:0 3em 2em;
}
p,
#mainContent ul li {
    font-size:1.3em;
}
a:link {
    text-decoration: none;
    color: #444;
}
a:visited {
    text-decoration: none;
    color: #444;
}
a:hover {
    text-decoration: none;
    color: #18A6AA;
}
a:active {
    text-decoration: none;
    color: #81CCEB;
}

#header {
    height: 110px;
    width:100%;
    display: block;
    position: relative;
    float: left;
    background:#fff;
    border-radius:10px;
    margin-right: 0;
    box-shadow: 6px 6px 6px #B595B7;

}
hr.headerHor {
    border-top: 1px solid #E56020;
    width: 100%;
    margin-top: 60px;
    padding:0;
}
.logo-title  {
    display: block;
    position: absolute;
    height: 100px;
    width: 100%;
    padding: 0px;
    left: 20px;
    clear: left;
    float: left;
    bottom: 0px;
}
.logo {
    display: block;
    position: absolute;
}
.headTitle {
    position: absolute;
    height: 83px;
    width: 475px;
    left: 135px;
    bottom: 10px;
    padding-top: 7px;
    padding-right: 40px;
}
.headerVert {
    height: 110px;
    width: 65px;
    border-right: 1px solid #E56020;
    position:absolute;
    top:0;    
}

#navbar {
    text-align: center;
    display: block;
    position: relative;
    clear: left;
    margin: 0;
    padding:1em 0;
}
#navbar ul {
    width: 100%
    list-style-type: none;
    display: inline-block;
    text-align:center;
    position: relative;
    font-weight: bold;
    padding: 0;
    margin: 0;
}
#navbar ul li {
    display: inline-block;
    position: relative;
    font-family: 'IBM Plex Sans Condensed', sans-serif;
    font-size: 1em;
    margin: 0 .2em;
    text-transform: uppercase;
    white-space: nowrap;
    width: auto;
    line-height: 2;
    letter-spacing: normal;
    font-variant: normal;
    overflow: hidden;
    padding:.5em .4em 0;
}
#navbar ul li a {
    color: #5c4bb1;
    text-decoration: none;
}
#navbar ul li a:hover { 
    color: #8978db; 
}
#mainContent {
    display: block;
    position: relative;
    width:100%;
    height: auto;
    background-color: #FFF;
    clear:both;
    border-radius:6px;
    margin-bottom:2.5em;
    padding: 2em 0;
    box-shadow: 6px 6px 6px #B595B7;
}   
blockquote {
    font-weight:normal;
    padding:0 2em;
    font-size:1.5em;
    color:#33A1D2;
    margin-top:0;
}
blockquote::before {
    content: open-quote;
    font-size: 3em;
    font-weight:700;
    font-family:'Cormorant Garamond', georgia, serif;
    position: absolute;
    margin-left: -27px;
    margin-top: -20px;
    color: #80C9EA;
}
blockquote::after {
    content: close-quote;
    display: inline-block;
    font-size: 3em;
    font-weight: 700;
    font-family: 'Cormorant Garamond', georgia, serif;
    color: #80C9EA;
    line-height: .1;
    margin-left: 10px;
    position: relative;
    bottom: -18px;
    float: right;
}
cite {
    font-weight:normal;
    font-size:80%;
}

/* ~~ The footer ~~ */
#footer {
    height: 100px;
    width: 100%;
    position: relative;
    display: block;
    background-color:#fff;
    background-image: url(../images/krigfoot.png);
    background-repeat: no-repeat;
    background-position: 0px 0px;
    background-size:cover;
    clear: both;
    text-align: center;
    border-radius:10px;
    box-shadow: 6px 6px 6px #B595B7;

}
.copyright {
    font-family: Verdana, sans-serif;
    font-size: 10px;
    color: #BBB;
    position: relative;
    display: block;
    float: left;
    line-height: 1.7em;
    background-color: #FFF;
    letter-spacing: normal;
    margin-top: 43px;
    margin-right: 0;
    margin-bottom: 0;
    margin-left: 0px;
    padding-top: 0;
    padding-right: 2px;
    padding-bottom: 0;
    padding-left: 2px;
    left: 60px;
}

.footerContact {
    font-family: 'Cormorant Garamond', serif;
    font-weight:700;
    font-size: 1.2em;
    color: #E76120;
    display: block;
    position: relative;
    line-height: 40px;
    float: left;
    background-color: #FFF;
    padding:0 6px 0;
    clear: none;
    margin-top: 30px;
    left: 100px;
}

.initialCap {
    font-size: 71px;
    color: #0A8489;
    display: block;
    position: relative;
    float: left;
    font-weight: normal;
    text-decoration: none;
    margin: 0 4px 0 0;
    padding: 0;
    line-height: .5;
    top: 11px;
}

.alignleft {
    display: block;
    float: left;
    position: relative;
    margin: 5px 1em .5em 0;
}
.alignright {
    display: block;
    float: right;
    position: relative;
    margin: 0 0 .5em 1em;
}
.aligncenter {
    display:block;
    margin:0 auto .5em;
}
.border {
    padding: 3px;
    border: 1px solid #CCC;
}

@media screen and (max-width: 652px) {

    body {
        background-color: #fff;
        background-image: none;
    }
    #header {
        height:145px;
        box-shadow: none;
    }

    .logo-title {
        display: block;
        position: relative;
        height: 100px;
        width: 100%;
        padding: 0px;
        left: 0px;
        clear: left;
        float: left;
        background-image: none;
        background-repeat: no-repeat;
        background-position: center top;
        bottom: 0px;
    }
   .headTitle {
        width: 95%;
        left: 0;
        bottom: 0;
        padding: 4px 0;
        margin:0 auto;
        display:block;
        clear:both;
        position:relative;

    }
    .logo {
        display: block;
        position: relative;
        left: 0px;
        bottom: 0;
        padding-right: 0;
        padding-left: 0;
        display: block;
        margin:0 auto;
    }
   #header hr {
        margin-top: 50px;
        position: absolute;
    }
    .headerVert {
        position: absolute;
        height: 111px;
        width: 50%;
        border-right: 1px solid #E56020;
        z-index: 3;
        left: 0;
        margin-top: 0;
        padding-bottom: 0;
        top: -1em;
    }
    #navbar:before {
        content:"•";
        text-align:center;
        font-size:2em;
        display:block;
        margin-top:1em;
        line-height:1.5;
        color:#5c4bb1;
    }
    #navbar:after {
        content:"•";
        text-align:center;
        font-size:2em;
        display:block;
        line-height:1.5;
        color:#5c4bb1;
    }
    
    #mainContent {
        box-shadow: none;
        padding-top:0;
    }
    #footer {
        background-image:none;
        box-shadow: none;
    }
    .footerContact {
        line-height: 40px;
        float: none;
        padding-top: 1em;
        padding-right: 0;
        padding-bottom: 0;
        padding-left: 0;
        clear: none;
        margin-top: 1em;
        left: 0;

    }
    .copyright {
        float: none;
        line-height: 1.7em;
        margin: 43px 0 0 0;
        padding: 0;
        left: 0;
        width:100%;
        text-align: center;
        position:absolute;
        bottom:2em;

    }
    #mainContent {
        margin-bottom:1em;
    }
    body {
        margin:0;
    }
    p {

        padding: 0 1.5em 2em;
    }
        #container {
            margin:1em 0;
    }
 blockquote {
    padding:0;
    }
    .alignright,
    .alignleft,
    .aligncenter {
        margin: 0 auto 1em;
        float: none;
    }
    #emdrLogo,
    #ifsLogo,
    #erickLogo {
    margin-bottom:0;
    }
    .initialCap {
        clear:both;
}
}














/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers
 */

.hidden {
    display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 *
 * 1. For long content, line feeds are not interpreted as spaces and small width
 *    causes content to wrap 1 word per line:
 *    https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    -webkit-clip-path: inset(50%);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    white-space: nowrap; /* 1 */
}

/*
 * Extends the .visuallyhidden class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    -webkit-clip-path: none;
    clip-path: none;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
    white-space: inherit;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@media print,
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 1.25dppx),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   http://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after {
        background: transparent !important;
        color: #000 !important; /* Black prints faster:
                                   http://www.sanbeiji.com/archives/953 */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links that are fragment identifiers,
     * or use the `javascript:` pseudo protocol
     */

    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: "";
    }

    pre {
        white-space: pre-wrap !important;
    }
    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    /*
     * Printing Tables:
     * http://css-discuss.incutio.com/wiki/Printing_Tables
     */

    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}
