/*! normalize.css v8.0.0 | MIT License | github.com/necolas/normalize.css */button,hr,input{overflow:visible}progress,sub,sup{vertical-align:baseline}[type=checkbox],[type=radio],legend{box-sizing:border-box;padding:0}html{line-height:1.15;-webkit-text-size-adjust:100%}body{margin:0}h1{font-size:2em;margin:.67em 0}hr{box-sizing:content-box;height:0}code,kbd,pre,samp{font-family:monospace,monospace;font-size:1em}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted}b,strong{font-weight:bolder}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0}button,select{text-transform:none}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button::-moz-focus-inner{border-style:none;padding:0}[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring,button:-moz-focusring{outline:ButtonText dotted 1px}fieldset{padding:.35em .75em .625em}legend{color:inherit;display:table;max-width:100%;white-space:normal}textarea{overflow:auto}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}details{display:block}summary{display:list-item}[hidden],template{display:none}

/*! lightslider - v1.1.3 - 2015-04-14
* https://github.com/sachinchoolur/lightslider
* Copyright (c) 2015 Sachin N; Licensed MIT */.lSSlideWrapper,.lSSlideWrapper .lSFade{position:relative}.lSSlideWrapper .lSSlide,.lSSlideWrapper.usingCss .lSFade>*{-webkit-transition-timing-function:inherit!important;transition-timing-function:inherit!important;-webkit-transition-duration:inherit!important;transition-duration:inherit!important}.lSSlideOuter,.lSSlideOuter .lSPager.lSGallery{-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;-webkit-touch-callout:none;-webkit-user-select:none}.lSSlideOuter .lSPager.lSGallery:after,.lSSlideWrapper>.lightSlider:after{clear:both}.lSSlideOuter{overflow:hidden;user-select:none}.lightSlider:after,.lightSlider:before{content:" ";display:table}.lightSlider{overflow:hidden;margin:0}.lSSlideWrapper{max-width:100%;overflow:hidden}.lSSlideWrapper .lSSlide{-webkit-transform:translate(0,0);-ms-transform:translate(0,0);transform:translate(0,0);-webkit-transition:all 1s;-webkit-transition-property:-webkit-transform,height;-moz-transition-property:-moz-transform,height;transition-property:transform,height}.lSSlideWrapper .lSFade>*{position:absolute!important;top:0;left:0;z-index:9;margin-right:0;width:100%}.lSSlideWrapper.usingCss .lSFade>*{opacity:0;-webkit-transition-delay:0s;transition-delay:0s;-webkit-transition-property:opacity;transition-property:opacity}.lSSlideWrapper .lSFade>.active{z-index:10}.lSSlideWrapper.usingCss .lSFade>.active{opacity:1}.lSSlideOuter .lSPager.lSpg{margin:10px 0 0;padding:0;text-align:center}.lSSlideOuter .lSPager.lSpg>li{cursor:pointer;display:inline-block;padding:0 5px}.lSSlideOuter .lSPager.lSpg>li a{background-color:#222;border-radius:30px;display:inline-block;height:8px;overflow:hidden;text-indent:-999em;width:8px;position:relative;z-index:99;-webkit-transition:all .5s linear 0s;transition:all .5s linear 0s}.lSSlideOuter .lSPager.lSpg>li.active a,.lSSlideOuter .lSPager.lSpg>li:hover a{background-color:#428bca}.lSSlideOuter .media{opacity:.8}.lSSlideOuter .media.active{opacity:1}.lSSlideOuter .lSPager.lSGallery{list-style:none;padding-left:0;margin:0;overflow:hidden;transform:translate3d(0,0,0);-moz-transform:translate3d(0,0,0);-ms-transform:translate3d(0,0,0);-webkit-transform:translate3d(0,0,0);-o-transform:translate3d(0,0,0);-webkit-transition-property:-webkit-transform;-moz-transition-property:-moz-transform;user-select:none}.lSSlideOuter .lSPager.lSGallery li{overflow:hidden;-webkit-transition:border-radius .12s linear 0s .35s linear 0s;transition:border-radius .12s linear 0s .35s linear 0s}.lSSlideOuter .lSPager.lSGallery li.active,.lSSlideOuter .lSPager.lSGallery li:hover{border-radius:5px}.lSSlideOuter .lSPager.lSGallery img{display:block;height:auto;max-width:100%}.lSSlideOuter .lSPager.lSGallery:after,.lSSlideOuter .lSPager.lSGallery:before{content:" ";display:table}.lSAction>a{width:32px;display:block;top:50%;height:32px;background-image:url(/img/controls.png);cursor:pointer;position:absolute;z-index:99;margin-top:-16px;opacity:.5;-webkit-transition:opacity .35s linear 0s;transition:opacity .35s linear 0s}.lSAction>a:hover{opacity:1}.lSAction>.lSPrev{background-position:0 0;left:10px}.lSAction>.lSNext{background-position:-32px 0;right:10px}.lSAction>a.disabled{pointer-events:none}.cS-hidden{height:1px;opacity:0;filter:alpha(opacity=0);overflow:hidden}.lSSlideOuter.vertical{position:relative}.lSSlideOuter.vertical.noPager{padding-right:0!important}.lSSlideOuter.vertical .lSGallery{position:absolute!important;right:0;top:0}.lSSlideOuter.vertical .lightSlider>*{width:100%!important;max-width:none!important}.lSSlideOuter.vertical .lSAction>a{left:50%;margin-left:-14px;margin-top:0}.lSSlideOuter.vertical .lSAction>.lSNext{background-position:31px -31px;bottom:10px;top:auto}.lSSlideOuter.vertical .lSAction>.lSPrev{background-position:0 -31px;bottom:auto;top:10px}.lSSlideOuter.lSrtl{direction:rtl}.lSSlideOuter .lSPager,.lSSlideOuter .lightSlider{padding-left:0;list-style:none}.lSSlideOuter.lSrtl .lSPager,.lSSlideOuter.lSrtl .lightSlider{padding-right:0}.lSSlideOuter .lSGallery li,.lSSlideOuter .lightSlider>*{float:left}.lSSlideOuter.lSrtl .lSGallery li,.lSSlideOuter.lSrtl .lightSlider>*{float:right!important}@-webkit-keyframes rightEnd{0%,100%{left:0}50%{left:-15px}}@keyframes rightEnd{0%,100%{left:0}50%{left:-15px}}@-webkit-keyframes topEnd{0%,100%{top:0}50%{top:-15px}}@keyframes topEnd{0%,100%{top:0}50%{top:-15px}}@-webkit-keyframes leftEnd{0%,100%{left:0}50%{left:15px}}@keyframes leftEnd{0%,100%{left:0}50%{left:15px}}@-webkit-keyframes bottomEnd{0%,100%{bottom:0}50%{bottom:-15px}}@keyframes bottomEnd{0%,100%{bottom:0}50%{bottom:-15px}}.lSSlideOuter .rightEnd{-webkit-animation:rightEnd .3s;animation:rightEnd .3s;position:relative}.lSSlideOuter .leftEnd{-webkit-animation:leftEnd .3s;animation:leftEnd .3s;position:relative}.lSSlideOuter.vertical .rightEnd{-webkit-animation:topEnd .3s;animation:topEnd .3s;position:relative}.lSSlideOuter.vertical .leftEnd{-webkit-animation:bottomEnd .3s;animation:bottomEnd .3s;position:relative}.lSSlideOuter.lSrtl .rightEnd{-webkit-animation:leftEnd .3s;animation:leftEnd .3s;position:relative}.lSSlideOuter.lSrtl .leftEnd{-webkit-animation:rightEnd .3s;animation:rightEnd .3s;position:relative}.lightSlider.lsGrab>*{cursor:-webkit-grab;cursor:-moz-grab;cursor:-o-grab;cursor:-ms-grab;cursor:grab}.lightSlider.lsGrabbing>*{cursor:move;cursor:-webkit-grabbing;cursor:-moz-grabbing;cursor:-o-grabbing;cursor:-ms-grabbing;cursor:grabbing}

@font-face {
    font-family: 'Quotes-and-text';
    src: url('/fonts/quotesandtexts-webfont.eot');
    src: url('/fonts/quotesandtexts-webfont.eot?#iefix') format('embedded-opentype'),
         url('/fonts/quotesandtexts-webfont.woff2') format('woff2'),
         url('/fonts/quotesandtexts-webfont.woff') format('woff'),
         url('/fonts/quotesandtexts-webfont.ttf') format('truetype'),
         url('/fonts/quotesandtexts-webfont.svg#quotes_and_textsregular') format('svg');
    font-weight: normal;
    font-style: normal;
}

/*! HTML5 Boilerplate v6.1.0 | 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
   ========================================================================== */

:root{
    --primary: #000;
    --secondary: #f5f5f5;
    --mid-teal: #43A3A2;
    --dark-teal: #166665;
    --purple: #AC5F99;
    --off-white: #F9F2EA;
    --gold: #DCA225;
    --tangerine: #FF825C;
    --off-white-2: rgba(249, 242, 234, 0.65);
    --quotes: 'Quotes-and-text';
    --head: 64px;
    --head: 56px;
    --sub-head: 32px;
    --sub-head: 28px;
    --large-text: 24px;
    --large-text: 20px;
    --reg-text: 20px;
    --reg-text: 16px;
    --small-text: 15px;
}

* {
    box-sizing:border-box;
    -moz-box-sizing:border-box;
    -webkit-box-sizing:border-box;
    -o-box-sizing:border-box;
}

html {
    color: #222;
    font-size: 1em;
    line-height: 1.7;
    font-family: "Quicksand", sans-serif;;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * Vendor-prefixed and regular ::selection selectors cannot be combined:
 * https://stackoverflow.com/a/16982510/7133471
 *
 * Customize the background color to match your design.
 */

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

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

/*
 * A better looking default horizontal rule
 */

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

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

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

/*
 * Remove default fieldset styles.
 */

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

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

section {
    width: 100%;
}

#mask {
    background-color: rgba(41, 47, 51, 0.9);
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 120%;
    z-index: 40;
    display: none;
}

.content {
    margin: 0 auto;
    max-width: 1200px;
    width: 88%;
}

img{
    max-width: 100%;
}

.tc{
    text-align: center;
}

.flex{
    display: flex;
    display: -moz-flex;
    display: -webkit-flex;
    display: -o-flex;
    display: -ms-flex;
}

.jsb{
    justify-content: space-between;
    -moz-justify-content: space-between;
    -webkit-justify-content: space-between;
    -o-justify-content: space-between;
    -ms-justify-content: space-between;
}

.jc{
    justify-content: center;
    -moz-justify-content: center;
    -webkit-justify-content: center;
    -o-justify-content: center;
    -ms-justify-content: center;
}

.ac{
    align-items: center;
    -moz-align-items: center;
    -webkit-align-items: center;
    -o-align-items: center;
    -ms-align-items: center;
}

.afe{
    align-items: flex-end;
    -moz-align-items: flex-end;
    -webkit-align-items: flex-end;
    -o-align-items: flex-end;
    -ms-align-items: flex-end;
}

/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */

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

/* ==========================================================================
   Typography
   ========================================================================== */

h1 {

}

h2 {

}

h3 {
    color:var(--dark-teal);
}

h4 {
    color:var(--dark-teal);
}

h5 {

}

h6 {

}

p {

}

p a {

}

h2 a {

}

ul {

}

ul li {

}

ul li a {

}

/* ==========================================================================
   Flex Box Grid System
   ========================================================================== */

.grid {
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
    list-style: none;
    margin: 0;
    padding: 0;
}

.grid-cell {
    -webkit-box-flex: 1 1 auto;
    -webkit-flex: 1 1 auto;
    flex: 1 1 auto;
}

.grid--half>.grid-cell {
    -webkit-box-flex: 0;
    -webkit-flex: 0 0 50%;
    flex: 0 0 50%;
}
.grid--third>.grid-cell {
    -webkit-box-flex: 0;
    -webkit-flex: 0 0 33.3333%;
    flex: 0 0 33.3333%;
}
.grid--quarter>.grid-cell {
    -webkit-box-flex: 0;
    -webkit-flex: 0 0 25%;
    flex: 0 0 25%;
}

.grid--gutters {
    margin: -1em 0 1em -1em;
}

    .grid--gutters>.grid-cell {
        padding: 1em 0 0 1em;
    }

.small--gutters {
    margin: -0.5em 0 0.5em -0.5em;
}

    .small--gutters>.grid-cell {
        padding: 0.5em 0 0 0.5em;
    }

.double--gutters {
    margin: -2em 0 2em -2em;
}

    .double--gutters>.grid-cell {
        padding: 2em 0 0 2em;
    }

.triple--gutters {
    margin: -3em 0 3em -3em;
}

    .triple--gutters>.grid-cell {
        padding: 3em 0 0 3em;
    }

.gs-half {
    width: 50%!important;
}

.gs-third {
    width: 33.3333%!important;
}

.gs-third, .gs-twothirds {
    -webkit-box-flex: 0!important;
    -webkit-flex: none!important;
    flex: none!important;
}

.gs-twothirds {
    width: 66.6667%!important;
}

.gs-quarter {
    width: 25%!important;
}

.gs-quarter, .gs-threequarters {
    -webkit-box-flex: 0!important;
    -webkit-flex: none!important;
    flex: none!important;
}

.gs-threequarters {
    width: 75%!important;
}

.gs-1{
    width: 8.333333%!important;
}

.gs-2{
    width: 16.6666667%!important;
}

.gs-3{
    width: 25%!important;
}

.gs-4{
    width: 33.333333%!important;
}

.gs-5{
    width: 41.6666667%!important;
}

.gs-6{
    width: 50%!important;
}

.gs-7{
    width: 58.333333%!important;
}

.gs-8{
    width: 66.6666667%!important;
}

.gs-9{
    width: 75%!important;
}

.gs-10{
    width: 83.333333%!important;
}

.gs-11{
    width: 91.6666667%!important;
}

.gs-12{
    width: 100%!important;
}

.demo {
    background-color: rgba(0,0,0,0.2);
    text-align: center;
}

/* ==========================================================================
   Contact form standard code
   ========================================================================== */


.standard-page .fail-response{
    position: fixed;
    bottom: 20px;
    left: 20px;
    background: #cc0000;
    padding: 20px;
    color: #fff;
    max-width: 250px;
}

.standard-page .success-response{
    position: fixed;
    bottom: 20px;
    left: 20px;
    background: var(--dark-teal);
    padding: 20px;
    color: #fff;
    max-width: 250px;
}

    .standard-page .fail-close img{
        width: 15px;
        position: absolute;
        top: 10px;
        right: 10px;
        cursor: pointer;
    }

    .standard-page .form-response h2{
        font-size: 1.2em;
        margin: 0;
        color: #fff;
    }

    .standard-page .form-response h2:after{
        display: none;
    }

    .standard-page .form-response p{
        color: #fff;
        margin: 0;
        font-size: 0.9em;
    }


#contact_form {
    background-color: #F9F9F9;
    background-color: var(--mid-teal);
    padding: 1em 1.8em;
    border: 1px solid #DDD;
    margin-top: 2em;
}

    #contact_form .grid{
        margin-top: 0;
    }

    #contact_form .formRow.grid-cell{
        padding-top: 0;
        margin-bottom: 0;
    }

    .formRow {
        display: block;
        margin: 1em 0;
    }

        .formRow label {
            display: block;
            font-size: 0.9em;
            font-weight: 600;
            margin: 0 0 5px 0;
            color: #FFF;
        }

        .formRow input {
            display: block;
            width: 100%;
            margin: 10px 0;
            border: 1px solid #DDD;
            padding: 6px;
            height: 37px;
            font-size: 0.9em;
            border-radius: 8px;
        }

        .formRow textarea {
            display: block;
            width: 100%;
            margin: 10px 0;
            border: 1px solid #DDD;
            padding: 6px;
            height: 214px;
            font-size: 0.9em;
            border-radius: 8px;
        }

        .formRow select{
            display: block;
            margin: 10px 0;
            border: 1px solid #DDD;
            padding: 6px;
            height: 37px;
            font-size: 0.9em;
            border-radius: 8px;
            width: 100%;
            max-width: 175px;
        }

        .formRow button {
            display: block;
            background-color: #333;
            color: #FFF;
            text-align: center;
            border: none;
            width: 100%;
            cursor: pointer;
            background: var(--dark-teal);
            padding: 13px 10px 15px;
            margin: 24px 0 0;
            border-radius: 8px;
            transition: all 0.3s ease 0s;
        }

        .formRow button:hover {
            background: #fff;
            color: var(--dark-teal);
        }

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

/*========== All Pages ==========*/
.mob-menu{
    position: fixed;
    top: 0;
    right: -300px;
    bottom: 0;
    width: 300px;
    background: rgba(255, 255, 255, 0.95);
    padding: 50px 35px 30px;
    overflow: auto;
    z-index: 10;
    transition: all ease-in-out 0.3s;
    -moz-transition: all ease-in-out 0.3s;
    -webkit-transition: all ease-in-out 0.3s;
    -o-transition: all ease-in-out 0.3s;
    -ms-transition: all ease-in-out 0.3s;
}

    .menu-close{
        position: absolute;
        top: 12px;
        left: 15px;
        cursor: pointer;
    }

    .menu-logo{
        width: 130px;
    }

    .mob-search-btn{
        height: 40px;
    }

    .mob-menu ul{
        list-style: none;
        padding: 0;
    }

        .mob-menu li{
            margin: 10px 0;
        }

            .mob-menu li a{
                text-decoration: none;
                color: rgba(0, 0, 0, 0.7);
                font-size: var(--large-text);
            }

            .mob-menu li a:hover{
                color: var(--mid-teal);
            }

            .mob-menu li.active > a{
                color: var(--mid-teal);
            }

/*=== Header ===*/
header{
    padding: 78px 0;
    padding: 48px 0;
}

    header nav{
        position: relative;
    }

        .search-btn{
            position: absolute;
            top: -36px;
            top: -26px;
            left: 0;
        }

            .search-btn img{
                height: 40px;
                height: 28px;
            }

        header nav ul{
            list-style: none;
            margin: 0;
            padding: 0;
        }

            .logo-container{
                width: 300px;
                width: 235px;
                max-width: 25%;
                min-width: 150px;
            }

            header nav li{
                position: relative;
            }

                header nav li a{
                    text-decoration: none;
                    color: rgba(0, 0, 0, 0.7);
                    font-size: var(--large-text);
                }

                header nav li a:hover, header nav li.active > a{
                    color: var(--mid-teal);
                }

                    header nav li a span, .mob-menu li a span{
                        position: relative;
                        padding-bottom: 5px;
                    }

                    header nav li a span:after, .mob-menu li a span:after{
                        display: block;
                        content: "";
                        position: absolute;
                        bottom: 0;
                        left: 0;
                        right: 0;
                        background: #fff;
                        height: 1px;
                    }

                    header nav li.active a span:after, .mob-menu li.active a span:after{
                        background: var(--mid-teal);
                    }

                    header nav li img{
                        margin-right: 14px;
                    }

                header ul.subnav{
                    width: 330px;
                    position: absolute;
                    left: -20px;
                    padding: 35px 40px;
                    background: #fff;
                    display: none;
                    z-index: 2;
                }

                header li:hover .subnav{
                    display: block;
                }

                    header ul.subnav li:first-of-type{
                        margin-top: 0;
                    }

            .menu-btn{
                display: none;
                cursor: pointer;
            }

.banner{
    overflow: hidden;
}

    .banner a:hover{
        text-decoration: none;
    }

/*=== Hero ===*/
.hero img{
    width: 100%;
}

/*=== Footer ===*/
footer{
    background: var(--mid-teal);
    color: #fff;
    overflow: hidden;
}

    .footer-main{
        padding: 82px 0;
        padding: 62px 0;
    }

        .footer-main .content{
            position: relative;
        }

            .social-icons{
                margin-bottom: 58px;
                margin-bottom: 38px;
            }

                .social-icons a{
                    display: block;
                    margin-right: 23px;
                }

                .social-icons a:last-of-type{
                    margin-right: 0;
                }

            .crafted-logo{
                position: absolute;
                top: -40px;
                top: -30px;
                right: 0;
                width: 150px;
            }

            .foot-grid{
                margin-bottom: 0;
                font-size: var(--large-text);
            }

                .foot-grid ul{
                    list-style: none;
                    padding: 0;
                }

                    .foot-grid li a{
                        text-decoration: none;
                        color: #fff;
                    }

        .foot-form{
            max-width: 500px;
            float: right;
        }

            .foot-form h3{
                font-size: var(--head);
                margin: 0;
                line-height: 1.1;
                font-weight: 400;
                font-family: var(--quotes);
            }

            .foot-form p{
                margin-top: 5px;
            }

            footer input{
                background: rgb(249, 242, 234, 0.65);
                height: 62px;
                border-radius: 8px;
                border: 0;
                color: rgba(0, 0, 0, 0.5);
                padding: 0 19px;
                width: 100%;
                margin-right: 15px;
            }

            footer button, footer input[type=submit]{
                background: var(--dark-teal);
                color: #fff;
                border: 0;
                border-radius: 8px;
                height: 62px;
                min-width: 125px;
                max-width: 125px;
                margin-right: 0;
                cursor: pointer;
                transition: all ease-in-out 0.3s;
                -moz-transition: all ease-in-out 0.3s;
                -webkit-transition: all ease-in-out 0.3s;
                -o-transition: all ease-in-out 0.3s;
                -ms-transition: all ease-in-out 0.3s;
            }

            footer button:hover, footer input[type=submit]:hover{
                background: #fff;
                color: var(--dark-teal);
            }

            #mc_embed_signup div.mce_inline_error{
                position: absolute!important;
                left: 0!important;
                bottom: -35px!important;
                margin-bottom: 0!important;
                font-size: var(--reg-text)!important;
                font-weight: 400!important;
                padding: 3px 10px!important;
                line-height: 1.4!important;
            }

            #mce-success-response{
                margin-top: 10px;
            }

    .copyright{
        background: var(--dark-teal);
        color: #fff;
        text-align: center;
        overflow: hidden;
    }

        .copyright p{
            font-size: var(--large-text);
        }

/*========== Home Page ==========*/
/*=== Slider ===*/
.standard{
    overflow: hidden;
    padding: 3.4em 0;
}

    .home-sliders h2{
        font-size: var(--head);
        text-align: center;
        color: rgba(0, 0, 0, 0.5);
        margin: 1.1em 0 0.9em;
        margin: 1.1em 0 0.6em;
        line-height: 1.1;
        font-family: var(--quotes);
        font-weight: 400;
    }

    .home-sliders h2:first-of-type{
        margin-top: 0;
    }

    .slider-container{
        position: relative;
    }

        .slider{
            list-style: none;
            margin: 0;
            padding: 0 40px;
            min-width: 100%;
        }

            .slide-container{
                display: block;
                width: 100%;
                padding-bottom: 100%;
                height: 0;
                background: var(--off-white-2);
                position: relative;
            }

                .slide-container img{
                    position: absolute;
                    top: 0;
                    right: 0;
                    bottom: 0;
                    left: 0;
                    margin: auto;
                    max-width: 85%;
                    max-height: 85%;
                    -webkit-box-shadow: 0px 4px 4px 0px rgba(0,0,0,0.25);
                    -moz-box-shadow: 0px 4px 4px 0px rgba(0,0,0,0.25);
                    box-shadow: 0px 4px 4px 0px rgba(0,0,0,0.25);
                }

        .prevSlide{
            position: absolute;
            left: -40px;
            top: 0;
            bottom: 0;
            margin: auto;
            cursor: pointer;
            transition: all ease-in-out 0.3s;
            -moz-transition: all ease-in-out 0.3s;
            -webkit-transition: all ease-in-out 0.3s;
            -o-transition: all ease-in-out 0.3s;
            -ms-transition: all ease-in-out 0.3s;
        }

        .nextSlide{
            position: absolute;
            right: -40px;
            top: 0;
            bottom: 0;
            margin: auto;
            cursor: pointer;
            transition: all ease-in-out 0.3s;
            -moz-transition: all ease-in-out 0.3s;
            -webkit-transition: all ease-in-out 0.3s;
            -o-transition: all ease-in-out 0.3s;
            -ms-transition: all ease-in-out 0.3s;
        }

        .prevSlide:hover, .nextSlide:hover{
            opacity: 0.7;
        }

/*========== Books Page ==========*/
.off-white{
    background: var(--off-white-2);
}

/*=== Book Grid ===*/
.book-grid img{
    -webkit-box-shadow: 0px 4px 4px 0px rgba(0,0,0,0.25);
    -moz-box-shadow: 0px 4px 4px 0px rgba(0,0,0,0.25);
    box-shadow: 0px 4px 4px 0px rgba(0,0,0,0.25);
    display: block;
    margin: auto;
    max-width: 500px;
    width: 100%;
}

.book-grid h2, h1{
    color: var(--dark-teal);
    font-size: var(--sub-head);
    margin-top: 0;
    font-weight: 600;
    line-height: 1.4;
}

.title-image{
    padding: 3em 0 1em;
    text-align: center;
}

.grid-container{
    padding: 2em 0;
}

.grid-container.border-bottom{
    padding: 4em 0;
    border-bottom: 1.5px solid var(--dark-teal);
}

.grid-container.border-bottom + .grid-container{
    padding-top: 4em;
}

    .grid-container .grid{
        margin-bottom: 0;
    }

        .standard-page h1{
            margin-top: 1em;
        }

        .standard-page h2{
            color: var(--dark-teal);
            margin: 1em 0 0.5em;
        }

        .standard-page p, .standard-page ul, .standard-page ol{
            font-size: var(--small-text);
            color: var(--dark-teal);
        }

            .standard-page p a, .standard-page ul a, .standard-page ol a{
                color: inherit;
                font-weight: bold;
                text-decoration: underline;
            }

            .standard-page p a:hover{
                text-decoration: none;
            }

        .standard-page .side-image{
            border-radius: 46px;
        }

        .standard-page img{
            max-width: 100%;
        /*    width: auto;*/
            height: auto!important;
        }

.book-grid h3{
    font-size: var(--large-text);
    color: var(--dark-teal);
    font-weight: 500;
    max-width: 400px;
    line-height: 1.4;
}

.book-grid p.author{
    font-size: var(--reg-text);
    color: var(--dark-teal);
    font-weight: 700;
    text-transform: uppercase;
}

.book-grid hr{
    height: 2px;
    background: var(--mid-teal);
    border-top: 0;
    margin: 32px 0 25px;
}

.book-grid p, .book-grid ul, .book-grid ol{
    color: var(--dark-teal);
    font-size: var(--reg-text);
    line-height: 1.4;
}

.book-details p {
    margin: 0;
    line-height: 1.6;
}

/*=== Slider ===*/
.book-grid + .slider-container{
    margin-top: 1em;
}

    #bookSlider li{
        padding-right: 25px;
    }

        #bookSlider li img{
            -webkit-box-shadow: 10px 10px 10px 6px rgba(0,0,0,0.1);
            -moz-box-shadow: 10px 10px 10px 6px rgba(0,0,0,0.1);
            box-shadow: 10px 10px 10px 6px rgba(0,0,0,0.1);
            width: 100%;
            margin-bottom: 25px;
        }

/*=== Big Btns ===*/
.big-btns-grid{
    margin-top: 4em;
    justify-content: center;
}

    .big-btns-grid h2{
        padding-top: 0!important;
        font-size: var(--head);
        text-align: center;
        color: rgba(0, 0, 0, 0.5);
        margin: 0 0 0.2em;
        line-height: 1.1;
        font-family: var(--quotes);
        font-weight: 400;
        margin-bottom: 0;
    }

    .big-btns-grid .gs-4{
        max-width: 33.33333%;
    }

        .big-btns-grid p{
            margin: 0;
        }

            .big-btns-grid a{
                display: block;
                text-align: center;
                background: var(--mid-teal);
                color: #fff;
                text-decoration: none;
                font-size: var(--sub-head);
                font-weight: 500;
                padding: 22px 0;
                padding: 15px 0;
                transition: all ease-in-out 0.3s;
                -moz-transition: all ease-in-out 0.3s;
                -webkit-transition: all ease-in-out 0.3s;
                -o-transition: all ease-in-out 0.3s;
                -ms-transition: all ease-in-out 0.3s;
            }

            .big-btns-grid a:hover{
                background: var(--dark-teal);
            }

/*========== News Grid ==========*/
.news-page{
    padding-top: 0;
}

    .news-grid a{
        display: block;
        position: relative;
        color: inherit;
        text-decoration: none;
        overflow: hidden;
        border-radius: 15px;
    }

    .news-grid a + a{
        margin-top: 2em;
    }

    .short-news{
        height: 278px;
    }

    .mid-height-news{
        height: 399px;
    }

    .tall-news{
        height: 581px;
    }

        .news-grid a img{
            width: 100%;
            height: 100%;
            transform: scale(1.0);
            object-fit: cover;
            -moz-object-fit: cover;
            -webkit-object-fit: cover;
            -o-object-fit: cover;
            -ms-object-fit: cover;
            transition: all ease-in-out 0.8s;
            -moz-transition: all ease-in-out 0.8s;
            -webkit-transition: all ease-in-out 0.8s;
            -o-transition: all ease-in-out 0.8s;
            -ms-transition: all ease-in-out 0.8s;
        }

        .news-grid a:hover img{
            transform: scale(1.1);
        }

        .news-overlay{
            position: absolute;
            left: 0;
            bottom: 35px;
            max-width: 95%;
        }

            .news-overlay h2{
                margin: 0;
                display: inline-block;
                font-size: var(--head);
                font-family: var(--quotes);
                line-height: 1;
                line-height: 0.7;
                padding: 10px 20px 10px 30px;
                padding: 5px 20px 5px 30px;
                font-weight: 400;
                color: var(--dark-teal);
                background: var(--off-white);
            }

            .news-overlay p{
                margin-bottom: 0;
                font-size: var(--large-text);
                color: var(--dark-teal);
                padding: 15px 30px;
                padding: 10px 30px;
                line-height: 1.4;
                background: var(--off-white);
            }

            .pagination{
                text-align: center;
                padding: 0;
                font-family: var(--sofia);
                margin-top: 2em;
                margin-bottom: 0;
                display: flex;
                justify-content: center;
            }
                .pagination li{
                    display: inline-block;
                    margin: 3px;
                    border-radius: 15px;
                }
                .pagination li a{        
                    background-color: #fff;
                    border: 2px solid #D9D8D9;
                    text-decoration: none;
                    color: #000;
                    display: block;
                    padding: 3px 12px; 
                    transition: all 0.2s cubic-bezier(.46,.03,.52,.96) 0s;       
                }
                .pagination li a:hover{
                    text-decoration: none;
                    background-color: var(--mid-teal);
                    border: 2px solid var(--mid-teal);
                    color: #fff;
                }
                .pagination li.current_page{
                    text-decoration: none;
                    background-color: var(--mid-teal);
                    color: #fff;
                    border: 2px solid var(--mid-teal);
                    text-decoration: none;
                    padding: 3px 12px; 
                    transition: all 0.2s cubic-bezier(.46,.03,.52,.96) 0s; 
                }

.article .content{
    max-width: 1000px;
}

    .standard-page img.article-image{
        height: 0!important;
        width: 100%;
        object-fit: cover;
        border-radius: 15px;
        padding-bottom: 54%;
        background-position: center;
        background-size: cover;
    }

/*========== Inner ==========*/
/*=== Book Grid ===*/
.inner-book-detail{
    padding: 63px 0 71px;
}

    .inner-book-grid{
        margin-bottom: 0;
        flex-wrap: nowrap;
    }

        .inner-book-grid .gs-3{
            min-width: 312px;
        }

        .inner-book-grid .gs-9{
            position: relative;
            padding-bottom: 45px;
        }

            .inner-book-grid h3{
                max-width: 100%;
            }

            .description-box{
                overflow: hidden;
                max-height: 145px;
                transition: all ease-in-out 0.7s;
                -moz-transition: all ease-in-out 0.7s;
                -webkit-transition: all ease-in-out 0.7s;
                -o-transition: all ease-in-out 0.7s;
                -ms-transition: all ease-in-out 0.7s;
            }

            .description-box.full-height{
                max-height: 1000000px;
            }

            .inner-book-grid p{
                max-width: 485px;
            }

            .inner-book-grid p.more-description{
                position: absolute;
                bottom: 0;
                margin-bottom: 0;
            }

                .inner-book-grid p.more-description a{
                    color: inherit;
                    font-weight: 600;
                    text-decoration: none;
                }

                    .hide-extra .less-text{
                        display: none;
                    }

                    .hide-extra .more-text{
                        display: block;
                    }

                    .more-text{
                        display: none;
                    }

/*=== Inner Info ===*/
.inner-info, .standard-page{
    padding: 64px 0;
}

header + .standard-page{
    padding-top: 0;
}

    .inner-info .grid img{
        -webkit-box-shadow: 10px 10px 10px 6px rgba(0,0,0,0.1);
        -moz-box-shadow: 10px 10px 10px 6px rgba(0, 0, 0, 0.1);
        box-shadow: 10px 10px 10px 6px rgba(0,0,0,0.1);
        width: 100%;
    }

    .inner-info .grid + p{
        margin-top: 4em;
    }

    .inner-info p{
        font-size: var(--reg-text);
        color: var(--dark-teal);
    }

    .inner-info p:last-of-type, .standard-page p:last-of-type{
        margin-bottom: 0;
    }

/*=== Downloads ===*/
.downloads{
    padding-bottom: 70px;
}

    .downloads h2{
        margin-top: 0;
        font-family: var(--quotes);
        color: rgba(0, 0, 0, 0.5);
        line-height: 1;
        font-size: var(--head);
        margin-bottom: 30px;
    }

    .downloads .grid{
        margin-bottom: 0;
    }

        .downloads .gs-4{
            max-width: 33.33333%;
        }

            .download-box{
                width: 100%;
                height: 0;
                padding-bottom: 93%;
                background: #D9D9D9;
            }

/*========== Books Page ==========*/
.search_box {
    position: relative;
}

    aside .search_box input {
        background-color: #FFF;
        border: 2px solid rgba(0,0,0,0.1);
        color: #121212;
        border-radius: 0;    
        padding: 6px 45px 6px 16px;
        font-size: 0.9em;
        height: 39px;
        width: 100%;
    }

    aside .search_box input::placeholder {
        color: rgba(0,0,0,0.4);
    }

    .search_box button {
        position: absolute;
        background: transparent;
        border: none;
        margin: auto;
        padding: 4px;
        right: 6px;
        top: 0;
        cursor: pointer;
        bottom: 0;
        transition: all 0.3s ease 0s;
        -webkit-transition: all 0.3s ease 0s;
        opacity: 1;
    }

    .search_box button:hover {
        opacity: 0.6;
    }

        .search_box button img {
            width: 27px;
        }

.custom_label {
    position: relative;
    display: block;
    cursor: pointer;
}
.custom_label input {
    position: absolute;
    opacity: 0;
}

.custom_label span {
    display: block;
    font-size: 0.85em;
    font-weight: 600;
    padding: 8px 20px 8px 0;
    position: relative;
    color: var(--dark-teal);
}
.custom_label span img {
    width: 0;
    height: 22px;
    opacity: 0;
    transition: all 0.28s ease 0s;
    position: absolute;
    right: -6px;
    top: 6px;
    z-index: 5;
}

.custom_label input:checked ~ span {
    color: var(--gold);
}

.custom_label input:checked ~ span img {
    opacity: 1;
    width: 22px;
}

.custom_label span::after {
    display: block;
    content: "";
    width: 16px;
    height: 16px;
    right: 0;
    top: 10px;
    position: absolute;
    border: 1px solid #464646;
    border-radius: 15px;
}

.text_box h3{
    margin-bottom: 0;
    margin-top: 1.5em;
    margin-top: 1em;
}

.text_box .category_list {
    padding-left: 0;
    list-style: none;
    margin-top: 0;
}

.text_box .category_list li {
    margin: 0;
    padding: 2px 0;
    border-bottom: 0.5px solid var(--dark-teal);
}

.text_box .category_list li:last-of-type{
    border-bottom: 0;
}

.text_box .category_list li ul {
    padding-left: 16px;
}

.text_box .category_list li ul li span {
    color: #6b6a6a;  
}

.text_box .category_list li ul li .custom_label input:checked ~ span {
    color: var(--gold);
}

aside select{
    border: 2px solid rgba(0, 0, 0, 0.1);
    padding: 5px 10px;
    font-size: 0.9em;
    max-width: 100%;
    background-color: #fff;;
}

.small-input{
    border: 2px solid rgba(0, 0, 0, 0.1);
    padding: 5px 10px;
    font-size: 0.9em;
    width: 100px;
}

aside .flex p{
    margin: 0;
}

aside button.btn{
    display: block;
    width: 100%;
    border: 0;
    padding: 7px;
    background: var(--mid-teal);
    color: #fff;
    text-transform: uppercase;
    cursor: pointer;
    margin-top: 1em;
    transition: all ease-in-out 0.3s;
    -moz-transition: all ease-in-out 0.3s;
    -webkit-transition: all ease-in-out 0.3s;
    -o-transition: all ease-in-out 0.3s;
    -ms-transition: all ease-in-out 0.3s;
}

aside button.btn:hover{
    background: var(--dark-teal);
}

.list_tools {
    display: flex;
    display: -webkit-flex;
    flex-flow: row wrap;
    -webkit-flex-flow: row wrap;
    justify-content: space-between;
    padding: 8px 0 32px 0;
    justify-content: flex-end;
}

    .breadcrumb {
        margin: 0;
        padding: 0;
        list-style-type: none;
    }

        .breadcrumb li {
            display: inline-block;
            font-weight: 600;
            color: #8D8D8D;
            font-size: 0.9em;
            margin-right: 5px;
        }

            .breadcrumb li a {
                color: #6C6C6C;
                text-decoration: none;
            }


    .ordering_tools {}
    .ordering_tools form {
        display: flex;
        display: -webkit-flex;
        flex-flow: row wrap;
        -webkit-flex-flow: row wrap;
        justify-content: space-between;
        -webkit-justify-content: space-between;

    }
    
    .ordering_tools form label:nth-of-type(1) {
/*        margin-right: 16px;*/
    }


    .ordering_tools form label:nth-of-type(1) select {
/*        margin-right: 8px;*/
    }

    .ordering_tools form label {
        color: #555454;
        font-size: 0.9em;
    }
    .ordering_tools form label select {
        margin-left: 8px;
        padding: 3px 15px;
        border: 1px solid;
        cursor: pointer;
    }

    #aside_container .show_filters {
        transform: rotate(180deg);
        -webkit-transform: rotate(180deg);
    }

    .show_filters {
        display: none;
        position: absolute;
        top: 24px;
        right: 24px;
        z-index: 20;
    }

        .show_filters img {
            width: 32px;
            cursor: pointer;
        }

.main_grid aside{
    padding-right: 1em;
}

    aside .card{
        padding: 15px;
        background: var(--off-white-2);
    }

        aside .card > h3 {
            position: relative;
            padding: 12px 0 24px;
            margin: 0;
        }

#aside_container > h3 {
    position: relative;
    padding: 24px;
    display: none;
}

.books-grid{

}

    .books-grid .card{
        background: var(--off-white-2);
        padding: 15px;
        position: relative;
        height: 100%;
    }

        .books-grid .image_box{
            position: relative;
        }

            .books-grid .card img{
                -webkit-box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
                -moz-box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
                box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
            }

            .coming_soon{
                background: rgb(67, 163, 162, 0.7);
                color: #fff;
                text-align: center;
                display: inline-block;
                padding: 3px 10px;
                font-size: 0.8em;
                position: absolute;
                bottom: 10px;
                left: 0;
                right: 0;
                width: 100px;
                max-width: 90%;
                margin: auto;
            }

        .books-grid h4{
            margin: 15px 0 0;
            font-weight: 600;
            text-align: center;
        }

            .books-grid h4 a{
                text-decoration: none;
                color: inherit;
            }

            .books-grid h4 a:hover{
                color: var(--mid-teal);
            }

.az-grid{
    flex-wrap: nowrap;
    flex-direction: row-reverse;
}

#az-rail {
    position: sticky;
    top: 2em;
    margin-top: 2em;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 18px;
    z-index: 200;
    touch-action: none;
    user-select: none;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.az-ltr { 
    font-size: 12px; 
    font-weight: 600; 
    line-height: 1; 
    padding: 3px 3px;
    border-radius: 3px; 
    color: #999; 
    text-align: center; 
    width: 100%;
}

.az-ltr.has { 
    color: #333; 
}

.az-ltr.on  { 
    background: var(--mid-teal); 
    color: #fff; 
    border-radius: 50%; 
}

.az-ltr.no  { 
    color: #ccc; 
    pointer-events: none; 
}

#az-bubble { 
    position: fixed; 
    right: 34px; 
    width: 42px; 
    height: 42px;
    border-radius: 50% 50% 0 50%; 
    transform: rotate(45deg);
    background: #c0392b; 
    display: flex; 
    align-items: center; 
    justify-content: center;
    pointer-events: none; 
    opacity: 0; 
    transition: opacity 0.12s; 
    z-index: 199; 
}

#az-bubble span { 
    transform: rotate(-45deg); 
    font-size: 20px;
    font-weight: 700; 
    color: #fff; 
}

#az-bubble.show { 
    opacity: 1; 
}

/*===================== Responsive Styling =========================*/
@media only screen and (max-width: 1100px) {

    /*========== Header ==========*/
    header{
        padding: 40px 0;
    }

        nav ul li, .search-btn{
            display: none;
        }

        .menu-btn{
            display: block;
        }

    /*========== Footer ==========*/
    .foot-grid{
        margin-top: 0;
    }

        footer .tab-gs-12{
            width: 100%!important;
            padding-top: 0!important;
        }

            footer ul{
                margin: 0;
            }

            .foot-form{
                float: left;
                margin-top: 1em;
            }

}

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

    /*========== Books ==========*/
    .book-grid{
        margin-bottom: 1em;
    }

        .book-grid .gs-5, .book-grid .gs-7{
            width: 100%!important;
        }

        .book-grid + .slider-container{
            display: none;
        }

    .big-btns-grid{
        margin-top: 0;
    }

        .big-btns-grid a{
            font-size: 20px;
            padding: 15px 0;
        }

    .slider-controls{
        text-align: center;
        margin-top: 1em;
    }

        .prevSlide, .nextSlide{
            position: relative;
            left: auto;
            top: auto;
            bottom: auto;
            right: auto;
            margin: 0 6px;
        }

    /*========== News Page ==========*/
    .news-grid .grid-cell{
        width: 100%!important;
    }

        .news-grid a{
            height: 375px;
        }

            .news-overlay p{
                display: none;
            }

}

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

    .main_grid aside{
        padding-right: 0;
    }

        aside .card > h3{
            display: flex;
            align-items: center;
            padding: 0;
        }

    .main_grid, .mobile_book {
        display: block;
    }

    .main_grid > .grid-cell {
        width: 100% !important;
    }

    .side_image {
        max-width: 300px;
    }

    aside .card .text_box .gs-half {
        width: 50% !important;
        flex: 1;
        -webkit-flex: 1;
    }

    .author_box .image_box img {
        height: auto;
    }

    .show_filters {
        display: block;
        margin: 0 0 0 auto;
        position: relative;
        top: 0;
        right: 0;
    }

    #aside_container {
        display: none;
        padding-top: 1em;
    }

    .list_tools {
        flex-flow: column wrap;
        -webkit-flex-flow: column wrap;
    }

    .ordering_tools label {
        margin-top: 24px;
    }

    #aside_container > h3 {
        display: flex;
        padding: 0;
    }

    .search_results {
        width: 100%;    
    }

}

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

    /*========== Inner Page ==========*/
    .inner-book-grid{
        flex-wrap: wrap;
    }

        .inner-book-grid .grid-cell{
            width: 100%!important;
        }

        .inner-book-grid .gs-9{
            padding-bottom: 0;
        }

            .inner-book-grid p{
                max-width: 100%;
            }

            .inner-book-grid p:last-of-type{
                position: relative;
            }

    .inner-info .gs-6{
        width: 100%!important;
    }

    .downloads .triple--gutters{
        margin: -1.5em 0 1.5em -1.5em;
    }

        .downloads .triple--gutters > .grid-cell{
            padding: 1.5em 0 0 1.5em;
        }

    .title-image{
        padding: 2em 0 0;
    }

    .grid-container .gs-6{
        width: 100%!important;
    }

    .mob-order-1{
        order: 1;
    }

    .mob-order-2{
        order: 2;
    }

    .grid-container h1, .grid-container h2{
        margin-top: 0;
    }

    .standard-page .side-image {
        margin: 0 auto;
        display: block;
    }

    #contact_form .grid{
        margin-bottom: 0;
        margin-top: 0;
    }

        #contact_form .gs-4{
            width: 100%!important;
            padding-top: 0;
            margin-bottom: 0;
        }

}

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

    .books-grid .gs-quarter{
        width: 50%!important;
        max-width: 50%;
    }

}

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

    .big-btns-grid .grid-cell{
        width: 100%!important;
        max-width: 100%;
    }

        .big-btns-grid a{
            padding: 9px 0;
        }

    .downloads .gs-4{
        width: 100%!important;
        max-width: 100%;
    }

}

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

    :root{
        --large-text: 20px;
        --reg-text: 15px;
    }

    /*========== Home Page ==========*/
    .home-sliders h2{
        margin: 0.7em 0 0;
    }

    /*========== News Page ==========*/
    .news-grid a{
        height: 234px;
    }

        .news-grid h2{
            font-size: 32px;
        }

    /*=== Footer ===*/
    .social-icons img{
        height: 38px;
    }

    .crafted-logo{
        top: -20px;
        width: 150px;
    }

    .foot-grid{
    }

        .foot-form{
            max-width: 100%;
        }

            footer form.flex{
                display: block;
            }

            footer input{
                margin-right: 0;
            }

            footer button{
                margin: 1em auto 0;
                display: block;
            }

}

@media only screen and (max-width: 568px) {}

@media only screen and (max-width: 480px) {}

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

    .copyright p{
        max-width: 215px;
        margin: 1em auto;
    }

}

@media only screen and (max-width: 320px) {}


/* ==========================================================================
   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);
    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;
    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:
   https://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after {
        background: transparent !important;
        color: #000 !important; /* Black prints faster */
        -webkit-box-shadow: none !important;
        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;
    }
}


/* ==========================================================================
   MEDIA QUERIES
   ========================================================================== */

   @media only screen and (max-width : 1000px) {}
   @media only screen and (max-width : 768px) {}
   @media only screen and (max-width : 660px) {}
   @media only screen and (max-width : 460px) {}
   @media only screen and (max-width : 380px) {}

